1 2019-10-13 Tom de Vries <tdevries@suse.de>
4 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5 * gdb.reverse/sigall-reverse.exp: Same.
6 * gdb.reverse/solib-precsave.exp: Same.
7 * gdb.reverse/solib-reverse.exp: Same.
8 * gdb.reverse/step-precsave.exp: Same.
9 * gdb.reverse/until-precsave.exp: Same.
10 * gdb.reverse/until-reverse.exp: Same.
11 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
13 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
15 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
16 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
17 (cmp_struct_05_01, cmp_struct_static_02_01)
18 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
21 2019-10-10 Tom de Vries <tdevries@suse.de>
24 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
27 2019-10-09 Tom de Vries <tdevries@suse.de>
30 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
32 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
34 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
35 exceptions due to missing debug information.
37 2019-10-07 Tom de Vries <tdevries@suse.de>
39 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
41 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
43 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
44 * gdb.base/annota1.exp: Update to use gdb_test_name.
46 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
48 * gdb.base/ctf-whatis.exp: New file.
49 * gdb.base/ctf-whatis.c: New file.
50 * gdb.base/ctf-ptype.exp: New file.
51 * gdb.base/ctf-ptype.c: New file.
52 * gdb.base/ctf-constvars.exp: New file.
53 * gdb.base/ctf-constvars.c: New file.
54 * gdb.base/ctf-cvexpr.exp: New file.
56 2019-10-04 Tom de Vries <tdevries@suse.de>
58 * gdb.cp/local-static.c (main): Move declaration of int i out of the
61 2019-10-03 Tom Tromey <tom@tromey.com>
64 * gdb.rust/simple.rs (Union2): New type.
66 * gdb.rust/simple.exp: Add test.
68 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
70 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
71 nested function prefix.
73 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
74 Richard Bunt <richard.bunt@arm.com>
75 Andrew Burgess <andrew.burgess@embecosm.com>
77 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
79 * gdb.fortran/nested-funcs.f90: Update expected results.
80 * gdb.fortran/nested-funcs-2.exp: New file.
81 * gdb.fortran/nested-funcs-2.f90: New file.
83 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
85 * gdb.python/py-parameter.exp: Make test names unique.
86 * gdb.python/py-template.exp: Likewise.
87 * gdb.python/py-value.exp: Likewise.
89 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
91 * gdb.base/break-interp.exp: Reduce test name duplication.
92 * gdb.base/call-sc.exp: Likewise.
93 * gdb.base/callfuncs.exp: Likewise.
94 * gdb.base/charset.exp: Likewise.
95 * gdb.base/dump.exp: Likewise.
96 * gdb.base/ena-dis-br.exp: Likewise.
97 * gdb.base/relational.exp: Likewise.
98 * gdb.base/step-over-syscall.exp: Likewise.
99 * gdb.base/structs.exp: Likewise.
101 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
103 * gdb.linespec/explicit.exp: Make test names unique.
104 * gdb.linespec/ls-errs.exp: Likewise.
106 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
108 * gdb.reverse/break-precsave.exp: Make test names unique.
109 * gdb.reverse/break-reverse.exp: Likewise.
110 * gdb.reverse/finish-precsave.exp: Likewise.
111 * gdb.reverse/finish-reverse.exp: Likewise.
112 * gdb.reverse/machinestate-precsave.exp: Likewise.
113 * gdb.reverse/machinestate.exp: Likewise.
114 * gdb.reverse/readv-reverse.exp: Likewise.
115 * gdb.reverse/recvmsg-reverse.exp: Likewise.
116 * gdb.reverse/sigall-precsave.exp: Likewise.
117 * gdb.reverse/sigall-reverse.exp: Likewise.
118 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
119 * gdb.reverse/watch-precsave.exp: Likewise.
120 * gdb.reverse/watch-reverse.exp: Likewise.
122 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
124 * gdb.threads/stop-with-handle.c: New file.
125 * gdb.threads/stop-with-handle.exp: New file.
127 2019-10-03 Tom de Vries <tdevries@suse.de>
130 * gdb.base/list-missing-source.exp: Allowing the "Compilation
131 directory" line to be missing.
133 2019-10-03 Tom de Vries <tdevries@suse.de>
136 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
139 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
141 * gdb.python/py-format-string.c (string.h): New include.
142 (main): Fill a_struct_with_union.the_union.an_int with bytes of
143 the same value, for endianness-independence.
144 * gdb.python/py-format-string.exp (default_regexp_dict)
145 (test_pretty_structs, test_format): Adjust expected output to the
146 changed initialization.
148 2019-10-02 Tom Tromey <tromey@adacore.com>
150 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
152 2019-10-02 Pedro Alves <palves@redhat.com>
153 Andrew Burgess <andrew.burgess@embecosm.com>
155 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
157 (this_version_id) Use ATTRIBUTE_VISIBILITY.
158 (get_version_1): Print this_version_id and its address.
159 Add extern "C" wrappers around interface functions.
160 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
162 (this_version_id) Use ATTRIBUTE_VISIBILITY.
163 (get_version_2): Print this_version_id and its address.
164 Add extern "C" wrappers around interface functions.
165 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
166 <stddef.h> and "print-file-var.h".
167 Add extern "C" wrappers around interface functions.
168 [VERSION_ID_MAIN] (this_version_id): Define.
169 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
170 * gdb.base/print-file-var.h: Add some #defines to simplify setting
171 up extern "C" blocks.
172 * gdb.base/print-file-var.exp (test): New, factored out from top
174 (top level): Test all combinations of attribute hidden or not,
175 dlopen or not, and this_version_id symbol in main file or not.
176 Compile tests as both C++ and C, make test names unique.
178 2019-10-01 Tom Tromey <tom@tromey.com>
180 * gdb.base/style.exp: Test "show logging filename".
182 2019-10-01 Tom Tromey <tom@tromey.com>
184 * lib/gdb-utils.exp (style): Handle "metadata" argument.
185 * gdb.base/style.exp: Add metadata style test.
187 2019-10-01 Tom Tromey <tom@tromey.com>
189 * gdb.base/style.exp: Test "pwd".
191 2019-10-01 Tom Tromey <tom@tromey.com>
193 * gdb.base/style.exp: Update tests.
195 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
197 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
199 (s1): Initialize fields 'four' and 'six' instead of 'three' and
200 'five'. Use an all-ones bit pattern for each.
201 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
202 to its changed values.
204 2019-09-30 Tom Tromey <tromey@adacore.com>
206 * gdb.rust/traits.rs: Disable all warnings.
208 2019-09-29 Tom de Vries <tdevries@suse.de>
210 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
212 2019-09-29 Tom de Vries <tdevries@suse.de>
214 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
216 2019-09-27 Tom de Vries <tdevries@suse.de>
218 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
220 2019-09-27 Tom de Vries <tdevries@suse.de>
223 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
225 2019-09-26 Tom Tromey <tromey@adacore.com>
227 * gdb.ada/py_taft.exp: New file.
228 * gdb.ada/py_taft/main.adb: New file.
229 * gdb.ada/py_taft/pkg.adb: New file.
230 * gdb.ada/py_taft/pkg.ads: New file.
232 2019-09-24 Tom de Vries <tdevries@suse.de>
235 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
237 2019-09-22 Tom de Vries <tdevries@suse.de>
239 * gdb.base/restore.exp: Allow register variables to be optimized out at
242 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
244 * gdb.arch/spu-info.exp: Remove file.
245 * gdb.arch/spu-info.c: Remove file.
246 * gdb.arch/spu-ls.exp: Remove file.
247 * gdb.arch/spu-ls.c: Remove file.
249 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
250 * gdb.asm/spu.inc: Remove file.
252 * gdb.base/dump.exp: Remove support for spu*-*-*.
253 * gdb.base/stack-checking.exp: Likewise.
254 * gdb.base/overlays.exp: Likewise.
255 * gdb.base/ovlymgr.c: Likewise.
256 * gdb.base/spu.ld: Remove file.
258 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
259 * gdb.cp/cpexprs.exp: Likewise.
260 * gdb.cp/exception.exp: Likewise.
261 * gdb.cp/gdb2495.exp: Likewise.
262 * gdb.cp/mb-templates.exp: Likewise.
263 * gdb.cp/pr9167.exp: Likewise.
264 * gdb.cp/userdef.exp: Likewise.
266 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
268 * gdb.cell: Remove directory.
269 * lib/cell.exp: Remove file.
271 2019-09-19 Tom de Vries <tdevries@suse.de>
273 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
275 2019-09-19 Tom de Vries <tdevries@suse.de>
277 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
279 2019-09-19 Tom de Vries <tdevries@suse.de>
281 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
282 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
283 (gdb_target_cmd): ... here.
284 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
287 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
289 * gdb.base/source-dir.exp: Avoid having directory names in test
292 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
294 * gdb.base/source-dir.exp: Add extra test for mapped compilation
297 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
299 * gdb.base/list-missing-source.exp: New file.
301 2019-09-14 Tom de Vries <tdevries@suse.de>
304 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
305 * lib/ada.exp (gnatmake_version_at_least): New proc.
307 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
309 * gdb.base/maint.exp: Use exec_has_index_section.
311 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
313 * gdb.base/maint.exp: Add test for 'maint info sections'.
315 2019-09-12 Tom de Vries <tdevries@suse.de>
317 * gdb.base/store.exp: Allow register variables to be optimized out at
320 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
322 * gdb.ada/rdv_wait.exp: Update to new task names.
323 * gdb.base/task_switch_in_core.exp: Likewise.
324 * gdb.base/info_sources_base.c: Likewise.
326 2019-09-10 Tom Tromey <tromey@adacore.com>
328 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
330 2019-09-10 Tom Tromey <tromey@adacore.com>
332 * gdb.ada/dgopt.exp: New file.
333 * gdb.ada/dgopt/x.adb: New file.
335 2019-09-08 Tom Tromey <tom@tromey.com>
337 * gdb.tui/resize.exp: Remove setup_xfail.
338 * gdb.tui/regs.exp: Remove setup_xfail.
339 * gdb.tui/basic.exp: Remove setup_xfail.
341 2019-09-06 David Blaikie <dblaikie@gmail.com>
343 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
344 * gdb.cp/cplabel.exp: Ditto.
345 * gdb.linespec/ls-errs.exp: Ditto.
347 2019-09-05 Tom de Vries <tdevries@suse.de>
349 * lib/gdb.exp (cmp_file_string): New proc.
350 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
351 runto_main. Verify save breakpoints output.
353 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
355 * gdb.base/info-var.exp: Test info variables without running
356 to main, to avoid expect's buffer overflow.
358 2019-09-03 Tom Tromey <tromey@adacore.com>
360 * gdb.ada/bias.exp: New file.
361 * gdb.ada/bias/bias.adb: New file.
362 * gdb.ada/print_chars.exp: Add regression test.
363 * gdb.ada/print_chars/foo.adb (My_Character): New type.
366 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
368 * gdb.base/argv0-symlink.exp: Run only on native target
371 2019-08-29 Tom de Vries <tdevries@suse.de>
373 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
375 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
377 2019-08-28 Tom de Vries <tdevries@suse.de>
379 * gdb.base/info-var.exp: Allow info variables to print info for files
380 other than info-var-f1.c and info-var-f2.c.
382 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
384 * gdb.fortran/info-types.exp: Add module.
385 * gdb.fortran/info-types.f90: Update expected results.
387 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
389 * gdb.fortran/info-types.exp: New file.
390 * gdb.fortran/info-types.f90: New file.
391 * lib/fortran.exp (fortran_character1): New proc.
393 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
395 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
396 functions'. Reindent as needed.
397 * gdb.base/info-var-f1.c: New file.
398 * gdb.base/info-var-f2.c: New file.
399 * gdb.base/info-var.exp: New file.
400 * gdb.base/info-var.h: New file.
402 2019-08-26 Tom de Vries <tdevries@suse.de>
405 * gdb.cp/no-libstdcxx-probe.exp: New test.
407 2019-08-26 Tom de Vries <tdevries@suse.de>
409 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
410 * tests need to be skipped.
411 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
412 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
413 mi_skip_libstdcxx_probe_tests.
415 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
417 * gdb.python/py-xmethods.exp: Use raw strings when passing
418 arguments to SimpleXMethodMatcher.
420 2019-08-22 Tom de Vries <tdevries@suse.de>
422 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
425 2019-08-21 Pedro Alves <palves@redhat.com>
427 * gdb.base/with.exp: Test "with" with no arguments.
429 2019-08-21 Tom de Vries <tdevries@suse.de>
431 * gdb.base/gdb-caching-proc.exp: Sort files.
433 2019-08-20 Tom de Vries <tdevries@suse.de>
435 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
438 2019-08-16 Tom de Vries <tdevries@suse.de>
440 * gdb.base/compare-sections.exp ("after run to main"): Allow
441 mismatched read-only sections for PIE executables.
443 2019-08-16 Tom Tromey <tom@tromey.com>
445 * lib/tuiterm.exp (_csi_Z): New proc.
446 * gdb.tui/basic.exp: Update window positions.
447 * gdb.tui/empty.exp: Update window positions.
449 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
451 * gdb.base/examine-backward.exp: Correct regexp for
452 "examine 3 bytes backward from ${address_zero}".
454 2019-08-15 Tom Tromey <tom@tromey.com>
456 * gdb.tui/empty.exp: Enable resizing tests.
458 2019-08-15 Tom Tromey <tromey@adacore.com>
460 * gdb.ada/char_enum.exp: Add regression tests.
461 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
463 (Char, Gchar): Update.
464 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
466 2019-08-15 Christian Biesinger <cbiesinger@google.com>
468 * gdb.python/python.exp: Expect a leading underscore on
469 GdbOutput{,Error}File.
471 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
473 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
476 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
478 * gdb.base/batch-preserve-term-settings.exp
479 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
481 2019-08-15 Christian Biesinger <cbiesinger@google.com>
483 * lib/gdb.exp: When running on a mingw target, replace
486 2019-08-14 Alan Hayward <alan.hayward@arm.com>
488 * gdb.arch/aarch64-prologue.c: New test.
489 * gdb.arch/aarch64-prologue.exp: New file.
491 2019-08-13 Tom de Vries <tdevries@suse.de>
493 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
496 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
498 * gdb.python/py-completion.exp: Download the .py file to the host
499 and use its host pathname. Conditionalize tests that use
500 tab completion and manipulate files on the build machine.
501 * gdb.python/py-events.exp: Download the .py file to the host
502 and use its host pathname.
503 * gdb.python/py-evsignal.exp: Likewise.
504 * gdb.python/py-evthreads.exp: Likewise.
505 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
507 * gdb.python/py-framefilter.exp: Download the .py file to the right
508 place on the host. Match Windows pathname syntax.
509 * gdb.python/py-mi-var-info-path-expression.exp: Download the
510 .py file to the host and use its host pathname.
511 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
512 * gdb.python/py-objfile.exp: Expect a host pathname, not a
513 build pathname. Skip symlink test on Windows host. Add missing
514 newline at end of file.
515 * gdb.python/py-pp-maint.exp: Download the .py file to the host
516 and use its host pathname.
517 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
518 * gdb.python/py-section-script.exp: Use host location of binfile
519 on safe-path. Use correct path separator on Windows host.
520 Reorder alternatives in gdb_test_multiple to prevent matching
521 the wrong alternative on success.
522 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
524 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
526 * gdb.gdb/selftest.exp (test_with_self): Update test to now
527 expect the GDB inferior to no longer immediately stop after
528 being resumed with "signal SIGINT".
530 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
532 * gdb.linespec/break-ask.exp: Generalize regexps to match
533 Windows pathnames too.
535 2019-08-08 Tom de Vries <tdevries@suse.de>
538 * lib/tuiterm.exp (_accept): Fix CSI regexp.
540 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
542 * gdb.base/style.exp: Update tests for help doc new invariants.
543 * gdb.base/help.exp: Likewise.
545 2019-08-06 Tom Tromey <tom@tromey.com>
547 * gdb.base/style.exp: Add disassemble test.
548 * gdb.base/style.c (some_called_function): New function.
551 2019-08-05 Christian Biesinger <cbiesinger@google.com>
553 * gdb.python/py-block.exp: Test dictionary access on blocks.
555 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
558 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
559 -list-thread-groups --available test when running under
562 2019-08-05 Tom de Vries <tdevries@suse.de>
565 * lib/gdb.exp (with_read1_timeout_factor): New proc.
566 * gdb.base/help.exp: Use with_read1_timeout_factor.
567 * gdb.base/info-macros.exp: Same.
568 * gdb.cp/nested-types.exp: Same.
570 2019-08-05 Tom de Vries <tdevries@suse.de>
572 * lib/gdb.exp (version_at_least): Factor out of ...
573 (tcl_version_at_least): ... here.
574 (gdb_compile): Fail if pie results in non-PIE executable.
575 (readelf_version, readelf_prints_pie): New proc.
576 (exec_is_pie): Return -1 if unknown.
578 2019-08-05 Tom de Vries <tdevries@suse.de>
580 * lib/gdb.exp (tcl_version_at_least): Fix typo.
582 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
584 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
586 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
588 * lib/completion-support.exp (test_gdb_complete_none): Skip
589 tab completion tests if no readline support.
590 (test_gdb_complete_unique_re): Likewise.
591 (test_gdb_complete_multiple): Likewise.
593 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
595 * gdb.base/info_sources.exp: New file.
596 * gdb.base/info_sources.c: New file.
597 * gdb.base/info_sources_base.c: New file.
599 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
601 * gdb.base/batch-exit-status.exp: Call test_exit_status with
603 (test_exit_status): Add prefix argument.
605 2019-08-01 Tom de Vries <tdevries@suse.de>
608 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
609 calling exp_continue for new thread and thread exited messages.
611 2019-08-01 Tom de Vries <tdevries@suse.de>
614 * gdb.base/structs.exp: Fix check-read1 timeout using
616 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
618 2019-08-01 Tom de Vries <tdevries@suse.de>
621 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
624 2019-08-01 Tom de Vries <tdevries@suse.de>
627 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
629 2019-07-30 Tom Tromey <tromey@adacore.com>
631 * gdb.ada/display_nested.exp: New file.
632 * gdb.ada/display_nested/foo.adb: New file.
633 * gdb.ada/display_nested/pack.adb: New file.
634 * gdb.ada/display_nested/pack.ads: New file.
636 2019-07-30 Christian Biesinger <cbiesinger@google.com>
638 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
640 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
642 2019-07-30 Tom de Vries <tdevries@suse.de>
644 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
647 2019-07-30 Tom de Vries <tdevries@suse.de>
650 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
651 (exec_is_pie): New proc.
653 2019-07-29 Christian Biesinger <cbiesinger@google.com>
655 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
657 2019-07-29 Christian Biesinger <cbiesinger@google.com>
659 * gdb.python/py-objfile.c: Add global and static vars.
660 * gdb.python/py-objfile.exp: Test new functions Objfile.
661 lookup_global_symbol and lookup_static_symbol.
663 2019-07-29 Tom Tromey <tom@tromey.com>
665 * lib/tuiterm.exp (Term::_csi_@): New proc.
666 (Term::_csi_X): Don't move cursor.
668 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
670 * gdb.base/options.exp: Update backtrace - completion to
671 new option -frame-info.
672 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
673 Test new 'set print frame-info'. Test backtrace -frame-info
674 overriding 'set print frame-info'.
675 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
676 Test new 'set print frame-info'.
677 Verify consistency of backtrace with and without filters, with and
679 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
682 2019-07-29 Tom de Vries <tdevries@suse.de>
684 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
687 2019-07-29 Tom de Vries <tdevries@suse.de>
689 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
690 is a substring of the first for "complete non-unique file name".
692 2019-07-29 Tom de Vries <tdevries@suse.de>
694 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
697 2019-07-29 Tom de Vries <tdevries@suse.de>
699 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
700 Pass prompt_regexp parameter to gdb_test_multiple calls.
702 2019-07-29 Tom de Vries <tdevries@suse.de>
704 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
705 print registers" regexps.
707 2019-07-29 Tom de Vries <tdevries@suse.de>
709 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
711 2019-07-29 Tom de Vries <tdevries@suse.de>
714 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
715 (skip_python_tests_prompt): Add prompt_regexp argument to
716 gdb_test_multiple calls.
718 2019-07-27 Tom Tromey <tom@tromey.com>
720 * gdb.tui/main.exp: New file.
722 2019-07-27 Tom Tromey <tom@tromey.com>
724 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
726 * gdb.tui/empty.exp: New file.
728 2019-07-27 Tom Tromey <tom@tromey.com>
730 * lib/tuiterm.exp (spawn): New proc.
731 (Term::resize): New proc.
732 * gdb.tui/resize.exp: New file.
734 2019-07-27 Tom Tromey <tom@tromey.com>
736 * gdb.tui/list.exp: New file.
738 2019-07-27 Tom Tromey <tom@tromey.com>
740 * gdb.tui/regs.exp: New file.
742 2019-07-27 Tom Tromey <tom@tromey.com>
744 * gdb.tui/basic.exp: Add "layout split" test.
746 2019-07-27 Tom Tromey <tom@tromey.com>
748 * gdb.tui/basic.exp: Add "layout asm" test.
750 2019-07-27 Tom Tromey <tom@tromey.com>
752 * lib/tuiterm.exp: New file.
753 * gdb.tui/basic.exp: New file.
755 2019-07-27 Kevin Buettner <kevinb@redhat.com>
757 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
758 Enable tests associated with this flag. Adjust regex
759 referencing "foo_low" to now refer to "foo_cold" instead.
761 2019-07-27 Kevin Buettner <kevinb@redhat.com>
763 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
764 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
765 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
766 foo_cold. Revise comments to match.
767 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
768 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
769 were wrapped into this proc; Call do_test in loop from outermost
771 (foo_low): Rename all occurrences to "foo_cold".
772 (backtrace from baz): New test.
773 (x2/i foo_cold): New test.
774 (info line *foo_cold): New test.
776 2019-07-26 Tom de Vries <tdevries@suse.de>
778 * gdb.arch/i386-pkru.exp: Fix unterminated string.
780 2019-07-25 Tom de Vries <tdevries@suse.de>
783 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
784 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
785 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
786 (skip_libstdcxx_probe_tests): ... here.
787 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
789 2019-07-24 Tom de Vries <tdevries@suse.de>
792 * gdb.objc/basicclass.m: Include stdio.h.
793 * gdb.objc/nondebug.m: Same.
794 * gdb.objc/objcdecode.m: Same.
796 2019-07-24 Tom de Vries <tdevries@suse.de>
799 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
802 2019-07-24 Tom de Vries <tdevries@suse.de>
805 * gdb.multi/tids.exp: Update error messages for info threads.
807 2019-07-24 Tom de Vries <tdevries@suse.de>
809 * gdb.base/info-types.exp: Allow info types to print info for more than
812 2019-07-23 Tom de Vries <tdevries@suse.de>
815 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
816 gdb_spawn_with_cmdline_opts.
818 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
820 * gdb.arch/arm-cmse-sgstubs.c: New test.
821 * gdb.arch/arm-cmse-sgstubs.exp: New file.
823 2019-07-23 Tom de Vries <tdevries@suse.de>
826 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
827 issuing next command.
829 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
831 * gdb.ada/info_auto_lang.exp: Update expected results.
832 * gdb.base/info-types.c: Add additional types to check.
833 * gdb.base/info-types.exp: Update expected results.
835 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
837 * gdb.base/info-types.c: New file.
838 * gdb.base/info-types.exp: New file.
840 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
842 * gdb.arch/riscv-bp-infcall.c: New file.
843 * gdb.arch/riscv-bp-infcall.exp: New file.
845 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
848 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
850 2019-07-14 Tom de Vries <tdevries@suse.de>
853 * gdb.objc/basicclass.exp: Fix unterminated string.
855 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
856 Andrew Burgess <andrew.burgess@embecosm.com>
858 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
859 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
861 * gdb.fortran/vla-value.exp: Print elements of an array with
863 * gdb.fortran/vla.f90: Setup an array with negative bounds for
866 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
868 * gdb.base/options.exp (expect_string): Dequote strings in
870 (test-string): Test strings with different quoting and reindent.
872 2019-07-10 Tom Tromey <tromey@adacore.com>
874 * gdb.ada/mi_ex_cond.exp: Update expected results.
875 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
876 * gdb.ada/mi_catch_ex.exp: Update expected results.
877 * gdb.ada/mi_catch_assert.exp: Update expected results.
878 * gdb.ada/catch_ex.exp (catch_exception_info)
879 (catch_exception_entry, catch_assert_entry)
880 (catch_unhandled_entry): Update.
881 * gdb.ada/catch_assert_if.exp: Update expected results.
883 2019-07-10 Richard Bunt <richard.bunt@arm.com>
884 Stephen Roberts <stephen.roberts@arm.com>
886 * gdb.base/define.exp: Restore original prompt.
888 2019-07-09 Pedro Alves <palves@redhat.com>
890 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
892 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
893 * gdb.python/py-breakpoint.exp: No longer expect that "catch
894 throw" creates breakpoint.
895 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
898 2019-07-09 Pedro Alves <palves@redhat.com>
901 * gdb.cp/except-multi-location-lib.cc: New.
902 * gdb.cp/except-multi-location-main.cc: New.
903 * gdb.cp/except-multi-location.exp: New.
905 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
907 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
908 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
909 argument and update callers.
911 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
913 * gdb.arch/amd64-break-on-asm-line.S: New file.
914 * gdb.arch/amd64-break-on-asm-line.exp: New file.
916 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
918 * gdb.base/printcmds.exp: Test printing C string and
919 C wide string convenience vars without transiting via the inferior.
920 Also make test names unique.
922 2019-07-08 Alan Hayward <alan.hayward@arm.com>
925 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
927 2019-07-04 Pedro Alves <palves@redhat.com>
929 * lib/gdb.exp (foreach_with_prefix): Don't return early if
930 body returned ok(0), break(3) or continue(4).
931 * gdb.testsuite/foreach_with_prefix.exp: New file.
933 2019-07-04 Alan Hayward <alan.hayward@arm.com>
935 * gdb.server/unittest.exp: Allow 0 unit tests to run.
937 2019-07-03 Pedro Alves <palves@redhat.com>
939 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
942 2019-07-03 Pedro Alves <palves@redhat.com>
945 * gdb.base/shell.exp: Load completion-support.exp.
946 Adjust expected error output. Add completion tests.
948 2019-07-03 Pedro Alves <palves@redhat.com>
950 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
953 2019-07-03 Pedro Alves <palves@redhat.com>
955 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
956 (expect_integer): Adjust to expect "-string".
957 (expect_string): New.
958 (all_options): Expect "-string".
959 (test-flag, test-boolean): Adjust to expect "-string".
960 (test-string): New proc.
961 (top level): Call it.
963 2019-07-03 Pedro Alves <palves@redhat.com>
965 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
966 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
967 the expected output in the success.
969 2019-07-03 Pedro Alves <palves@redhat.com>
971 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
972 Split one gdb_test_multiple call in two to avoid a race.
974 2019-07-03 Pedro Alves <palves@redhat.com>
976 * gdb.base/with.c: New file.
977 * gdb.base/with.exp: New file.
979 2019-07-03 Pedro Alves <palves@redhat.com>
981 * gdb.base/settings.exp: Replace all references to "maint
982 test-settings set" with references to "maint set test-settings",
983 and all references to "maint test-settings show" with references
984 to "maint show test-settings".
986 2019-07-03 Pedro Alves <palves@redhat.com>
988 * gdb.base/settings.exp (test-string): Adjust expected out when
989 testing "maint test-settings show filename"
991 2019-07-02 Pedro Alves <palves@redhat.com>
993 * gdb.base/options.exp (test-info-threads): New procedure.
994 (top level): Call it.
996 2019-06-28 Tom Tromey <tromey@adacore.com>
998 * gdb.dwarf2/ada-linkage-name.c: New file.
999 * gdb.dwarf2/ada-linkage-name.exp: New file.
1001 2019-06-27 Tom Tromey <tromey@adacore.com>
1003 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1005 2019-06-26 Tom de Vries <tdevries@suse.de>
1007 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1009 2019-06-26 Tom de Vries <tdevries@suse.de>
1011 * gdb.base/index-cache.exp: Add back missing debug option.
1013 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1015 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1017 2019-06-25 Tom de Vries <tdevries@suse.de>
1020 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1022 2019-06-24 Tom de Vries <tdevries@suse.de>
1024 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1026 2019-06-24 Tom de Vries <tdevries@suse.de>
1028 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1029 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1030 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1032 2019-06-24 Tom de Vries <tdevries@suse.de>
1034 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1036 2019-06-21 Tom de Vries <tdevries@suse.de>
1038 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1040 2019-06-21 Tom de Vries <tdevries@suse.de>
1044 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1047 2019-06-19 Tom Tromey <tromey@adacore.com>
1049 * gdb.ada/length_cond.exp: Add intro comment.
1051 2019-06-19 Tom Tromey <tromey@adacore.com>
1053 * gdb.ada/length_cond.exp: New file.
1054 * gdb.ada/length_cond/length_cond.adb: New file.
1055 * gdb.ada/length_cond/pck.adb: New file.
1056 * gdb.ada/length_cond/pck.ads: New file.
1058 2019-06-18 Tom de Vries <tdevries@suse.de>
1060 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1062 2019-06-18 Tom Tromey <tromey@adacore.com>
1064 * gdb.base/list0.h: Add comment explaining control character.
1066 2019-06-18 Tom de Vries <tdevries@suse.de>
1068 * boards/fission.exp: Break up long debug_flags line.
1070 2019-06-16 Tom de Vries <tdevries@suse.de>
1073 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1076 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1079 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1080 improve detection of bug gdb/24541.
1082 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1085 * gdb.base/index-cache.exp (uses_readnow,
1086 expecting_index_cache_use): Define global variable.
1087 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1088 expecting_index_cache_use.
1090 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1091 Andrew Burgess <andrew.burgess@embecosm.com>
1093 * gdb.fortran/pointers.f90: New file.
1094 * gdb.fortran/print_type.exp: New file.
1095 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1096 * gdb.fortran/vla-type.exp: Likewise.
1097 * gdb.fortran/vla-value.exp: Likewise.
1098 * gdb.mi/mi-vla-fortran.exp: Likewise.
1100 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1102 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1103 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1104 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1107 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1109 * gdb.base/annota1.exp: Update expected results.
1110 * gdb.cp/annota2.exp: Likewise.
1111 * gdb.cp/annota3.exp: Likewise.
1113 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1115 * gdb.base/style-logging.exp: Remove path from test name.
1117 2019-06-14 Tom Tromey <tromey@adacore.com>
1120 * gdb.base/style-logging.exp: New file.
1122 2019-06-14 Tom Tromey <tromey@adacore.com>
1124 * gdb.base/symfile-warn.exp: New file.
1125 * gdb.base/symfile-warn.c: New file.
1127 2019-06-14 Tom Tromey <tromey@adacore.com>
1129 * gdb.base/annotate-symlink.exp: New file.
1131 2019-06-14 Tom Tromey <tromey@adacore.com>
1133 * gdb.ada/set_wstr.exp: Add reassignment test.
1135 2019-06-14 Tom Tromey <tromey@adacore.com>
1137 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1138 'unchecked_access and 'unrestricted_access as well.
1140 2019-06-14 Tom Tromey <tromey@adacore.com>
1143 * gdb.ada/vla.exp: Update tests.
1144 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1147 2019-06-13 Pedro Alves <palves@redhat.com>
1149 * gdb.base/settings.exp (test-integer): Test junk after
1152 2019-06-13 Pedro Alves <palves@redhat.com>
1154 * gdb.base/options.exp (test-thread-apply): New.
1155 (top level): Call it.
1157 2019-06-13 Pedro Alves <palves@redhat.com>
1159 * gdb.base/options.exp (test-frame-apply): New.
1160 (top level): Test print commands with different "frame apply"
1163 2019-06-13 Pedro Alves <palves@redhat.com>
1165 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1166 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1167 'max_completions' parameter and handle it.
1168 (test_gdb_completion_offers_commands): New.
1170 2019-06-13 Pedro Alves <palves@redhat.com>
1172 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1174 2019-06-13 Pedro Alves <palves@redhat.com>
1176 * gdb.base/options.exp (test-backtrace): New.
1177 (top level): Call it.
1179 2019-06-13 Pedro Alves <palves@redhat.com>
1181 * gdb.guile/scm-frame-args.exp: Use "set print
1182 raw-frame-arguments" instead of "set print raw frame-arguments".
1183 * gdb.python/py-frame-args.exp: Likewise.
1185 2019-06-13 Pedro Alves <palves@redhat.com>
1187 * gdb.compile/compile.exp: Adjust expected output to option
1190 2019-06-13 Pedro Alves <palves@redhat.com>
1192 * gdb.base/options.exp: Build executable.
1193 (test-print): New procedure.
1194 (top level): Call it, once for "print" and another for "compile
1197 2019-06-13 Pedro Alves <palves@redhat.com>
1199 * gdb.base/options.c: New file.
1200 * gdb.base/options.exp: New file.
1202 2019-06-13 Pedro Alves <palves@redhat.com>
1204 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1205 that "o" is ambiguous.
1207 2019-06-13 Pedro Alves <palves@redhat.com>
1209 * gdb.base/settings.c: New file.
1210 * gdb.base/settings.exp: New file.
1212 2019-06-13 Pedro Alves <palves@redhat.com>
1214 * gdb.base/completion.exp: Fix comment typo.
1216 2019-06-13 Pedro Alves <palves@redhat.com>
1218 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1221 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1223 * gdb.fortran/block-data.f: New.
1224 * gdb.fortran/block-data.exp: New.
1226 2019-06-11 Tom de Vries <tdevries@suse.de>
1229 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1232 2019-06-11 Tom de Vries <tdevries@suse.de>
1235 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1237 2019-06-11 Tom de Vries <tdevries@suse.de>
1239 * boards/readnow.exp: New file.
1241 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1243 * gdb.fortran/vla-sizeof.exp: Update expected results.
1245 2019-06-06 Amos Bird <amosbird@gmail.com>
1247 * gdb.base/annota1.exp (thread_switch): Add test for
1248 thread-exited annotation.
1250 2019-06-06 Tom Tromey <tromey@adacore.com>
1252 * gdb.base/maint.exp: Expect command started/finished output.
1254 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1256 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1258 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1260 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1262 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1263 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1264 * gdb.arch/riscv-unwind-long-insn.c: New file.
1265 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1267 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1269 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1271 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1273 * lib/gdb.exp (help_list_trailer): New regexp variable
1274 factorizing the help trailer message.
1275 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1276 arg to allow to better factorize various tests.
1277 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1278 (test_prefix_command_help): Use help_list_trailer.
1279 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1280 * gdb.guile/scm-cmd.exp: Likewise.
1281 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1282 * gdb.base/help.exp: Use test_user_defined_class_help.
1283 * gdb.base/style.exp: Add tests for styling of help and apropos.
1284 * lib/gdb-utils.exp (style): Add title and highlight styles.
1286 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1288 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1290 * gdb.base/default.exp: Update for new convenience variables.
1292 2019-05-29 Tom Tromey <tromey@adacore.com>
1294 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1295 to "break complete ada" test case's regexp.
1297 2019-05-29 Tom Tromey <tromey@adacore.com>
1300 * gdb.cp/constexpr-field.exp: New file.
1301 * gdb.cp/constexpr-field.cc: New file.
1303 2019-05-29 Tom Tromey <tromey@adacore.com>
1305 * gdb.base/finish.exp (finish_no_print): New proc.
1306 (finish_tests): Call it.
1308 2019-05-24 Tom de Vries <tdevries@suse.de>
1310 * gdb.dwarf2/gdb-add-index.exp: New file.
1312 2019-05-22 Tom Tromey <tromey@adacore.com>
1314 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1315 * gdb.base/style.exp: Use "style".
1316 * lib/gdb-utils.exp (style): New proc.
1318 2019-05-22 Tom de Vries <tdevries@suse.de>
1320 * gdb.base/align.exp: Require c++11.
1322 2019-05-22 Tom de Vries <tdevries@suse.de>
1325 * gdb.python/py-mi-var-info-path-expression.exp: Call
1326 mi_skip_python_tests to check if python is supported.
1328 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1330 * gdb.arch/aarch64-pauth.c: New test.
1331 * gdb.arch/aarch64-pauth.exp: New file.
1333 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1335 * README (Re-running Tests Outside The Testsuite): New section.
1337 2019-05-21 Tom de Vries <tdevries@suse.de>
1339 * gdb.arch/amd64-eval.exp: Require c++11.
1340 * gdb.base/max-depth.exp: Same.
1341 * gdb.compile/compile-cplus-array-decay.exp: Same.
1342 * gdb.cp/meth-typedefs.exp: Same.
1343 * gdb.cp/subtypes.exp: Same.
1344 * gdb.cp/temargs.exp: Same.
1346 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1348 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1350 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1353 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1354 * gdb.fortran/printing-types.exp: Add new test.
1355 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1357 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1360 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1362 * README (Running the Testsuite): Change example.
1363 (Testsuite Parameters): Remove TRANSCRIPT.
1364 * lib/gdb.exp: Remove TRANSCRIPT check.
1366 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1368 * README (Testsuite Parameters): Add replay logging to
1370 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1371 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1372 as a comma separated list.
1373 (gdb_debug_init): Override procedure.
1375 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1377 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1378 (gdb_write_cmd_file): New procedure.
1379 * lib/gdbserver-support.exp (gdbserver_start): Call
1380 gdbserver_write_cmd_file.
1381 (gdbserver_write_cmd_file): New procedure.
1383 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1385 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1386 (delete_breakpoints): Likewise.
1387 (gdb_run_cmd): Likewise.
1388 (gdb_start_cmd): Likewise.
1389 (gdb_starti_cmd): Likewise.
1390 (gdb_internal_error_resync): Likewise.
1391 (gdb_test_multiple): Likewise.
1392 (gdb_reinitialize_dir): Likewise.
1393 (default_gdb_exit): Likewise.
1394 (gdb_file_cmd): Mark kill as optional.
1395 (default_gdb_start): Call gdb_stdin_log_init.
1396 (send_gdb): Call gdb_stdin_log_write.
1397 (rerun_to_main): Mark Y as an answer.
1398 (gdb_stdin_log_init): New function.
1399 (gdb_stdin_log_write): Likewise.
1401 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1403 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1404 * gdb.base/debug-expr.exp: Likewise.
1405 * gdb.base/foll-fork.exp: Likewise.
1406 * gdb.base/foll-vfork.exp: Likewise.
1407 * gdb.base/fork-print-inferior-events.exp: Likewise.
1408 * gdb.base/gdb-sigterm.exp: Likewise.
1409 * gdb.base/gdbinit-history.exp: Likewise.
1410 * gdb.base/osabi.exp: Likewise.
1411 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1412 * gdb.base/ui-redirect.exp: Likewise.
1413 * gdb.gdb/unittest.exp: Likewise.
1414 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1415 * gdb.mi/mi-watch.exp: Likewise.
1416 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1417 * gdb.mi/user-selected-context-sync.exp: Likewise.
1418 * gdb.python/python.exp: Disable debug test when debugging.
1419 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1420 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1422 * gdb.threads/stepi-random-signal.exp: Likewise.
1424 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1426 * Makefile.in: Pass through GDB_DEBUG.
1427 * README (Testsuite Parameters): Add GDB_DEBUG.
1428 (gdb,debug): Add board setting.
1429 * lib/gdb.exp (default_gdb_start): Start debugging.
1430 (gdb_debug_enabled): New procedure.
1431 (gdb_debug_init): Likewise.
1433 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1435 * Makefile.in: Pass through GDB_DEBUG.
1436 * README (Testsuite Parameters): Add GDB_DEBUG.
1437 (gdb,debug): Add board setting.
1438 * lib/gdb.exp (default_gdb_start): Start debugging.
1439 (gdb_debug_enabled): New procedure.
1440 (gdb_debug_init): Likewise.
1442 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1444 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1446 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1448 * gdb.base/ui-redirect.exp: Test redirection.
1450 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1452 * gdb.mi/mi-complete.exp: New file.
1453 * gdb.mi/mi-complete.cc: Likewise.
1455 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1457 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1458 indexed and sliced arrays, and pointers to arrays.
1460 2019-05-14 Tom Tromey <tromey@adacore.com>
1462 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1465 2019-05-14 Tom de Vries <tdevries@suse.de>
1467 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1468 selection entry encoding.
1470 2019-05-10 Tom Tromey <tromey@adacore.com>
1472 * gdb.ada/info_exc.exp: Add "complete" test.
1474 2019-05-09 Tom de Vries <tdevries@suse.de>
1476 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1479 2019-05-09 Tom de Vries <tdevries@suse.de>
1481 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1484 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1486 * gdb.ada/frame_arg_lang.exp: New testcase.
1487 * gdb.ada/frame_arg_lang/bla.adb: New file.
1488 * gdb.ada/frame_arg_lang/pck.ads: New file.
1489 * gdb.ada/frame_arg_lang/pck.adb: New file.
1490 * gdb.ada/frame_arg_lang/foo.c: New file.
1492 2019-05-08 Tom Tromey <tromey@adacore.com>
1494 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1496 2019-05-08 Tom Tromey <tromey@adacore.com>
1498 * gdb.base/ptype-offsets.exp: Update tests.
1500 2019-05-08 Tom Tromey <tromey@adacore.com>
1502 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1504 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1507 2019-05-08 Tom Tromey <tromey@adacore.com>
1509 * gdb.ada/vla.exp: New file.
1510 * gdb.ada/vla/vla.adb: New file.
1512 2019-05-07 Tom de Vries <tdevries@suse.de>
1514 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1516 2019-05-07 Tom de Vries <tdevries@suse.de>
1519 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1522 2019-05-07 Tom de Vries <tdevries@suse.de>
1525 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1526 .debug_aranges section.
1528 2019-05-07 Tom de Vries <tdevries@suse.de>
1531 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1533 2019-05-06 Tom de Vries <tdevries@suse.de>
1535 * lib/gdb.exp (exec_has_index_section): New proc.
1536 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1539 2019-05-04 Tom de Vries <tdevries@suse.de>
1541 * boards/cc-with-debug-names.exp: New file.
1543 2019-05-03 Tom Tromey <tromey@adacore.com>
1545 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1546 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1547 * gdb.ada/char_enum.exp: Add test.
1549 2019-05-03 Tom de Vries <tdevries@suse.de>
1551 * boards/cc-with-gdb-index.exp: New file.
1553 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1555 * gdb.rust/simple.exp: Add new test case.
1556 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1557 (main): Initialise an instance of the new struct.
1559 2019-05-01 Tom Tromey <tromey@adacore.com>
1561 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1563 (NPR): New variable.
1564 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1567 2019-05-01 Tom Tromey <tromey@adacore.com>
1569 * gdb.ada/packed_array_assign.exp: Add packed assignment
1572 2019-05-01 Tom de Vries <tdevries@suse.de>
1574 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1576 2019-05-01 Tom de Vries <tdevries@suse.de>
1578 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1580 2019-04-30 Ali Tamur <tamur@google.com>
1582 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1584 2019-04-30 Tom Tromey <tromey@adacore.com>
1586 * lib/ada.exp (find_ada_tool): New proc.
1587 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1588 * gdb.ada/catch_ex_std.exp: New file.
1589 * gdb.ada/catch_ex_std/foo.adb: New file.
1590 * gdb.ada/catch_ex_std/some_package.adb: New file.
1591 * gdb.ada/catch_ex_std/some_package.ads: New file.
1593 2019-04-30 Tom Tromey <tromey@adacore.com>
1596 * gdb.cp/temargs.cc: Add test code from PR.
1598 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1600 * gdb.fortran/vla-datatypes.exp: Update expected results.
1601 * gdb.fortran/vla-ptype.exp: Likewise.
1602 * gdb.fortran/vla-type.exp: Likewise.
1603 * gdb.fortran/vla-value.exp: Likewise.
1605 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1607 * gdb.fortran/ptr-indentation.exp: Update expected results.
1608 * gdb.fortran/ptype-on-functions.exp: Likewise.
1609 * gdb.fortran/vla-ptr-info.exp: Likewise.
1610 * gdb.fortran/vla-value.exp: Likewise.
1612 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1614 * gdb.fortran/ptype-on-functions.exp: New file.
1615 * gdb.fortran/ptype-on-functions.f90: New file.
1617 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1619 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1622 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1624 * gdb.fortran/complex.exp: Expand.
1625 * gdb.fortran/complex.f: Renamed to...
1626 * gdb.fortran/complex.f90: ...this, and extended to add more
1629 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1631 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1634 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1635 Richard Bunt <richard.bunt@arm.com>
1637 * gdb.base/max-depth.c: New file.
1638 * gdb.base/max-depth.exp: New file.
1639 * gdb.python/py-nested-maps.c: New file.
1640 * gdb.python/py-nested-maps.exp: New file.
1641 * gdb.python/py-nested-maps.py: New file.
1642 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1643 (test_all_common): Call test_max_depth.
1644 * gdb.fortran/max-depth.exp: New file.
1645 * gdb.fortran/max-depth.f90: New file.
1646 * gdb.go/max-depth.exp: New file.
1647 * gdb.go/max-depth.go: New file.
1648 * gdb.modula2/max-depth.exp: New file.
1649 * gdb.modula2/max-depth.c: New file.
1650 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1652 2019-04-29 Tom de Vries <tdevries@suse.de>
1654 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1656 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1658 * gdb.base/callexit.exp: Test may-call-functions off.
1660 2019-04-25 Keith Seitz <keiths@redhat.com>
1663 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1664 (another_incomplete_struct, test_incomplete): New definitions.
1665 (main): Use new definitions.
1666 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1669 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1673 * gdb.base/coredump-filter-build-id.exp: New file.
1675 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1677 * Makefile.in: Pass through GDBSERVER_DEBUG.
1678 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1679 (gdbserver,debug): Add board setting.
1680 * gdb.trace/tspeed.exp: Skip when debugging.
1681 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1682 * lib/gdbserver-support.exp: Likewise
1684 2019-04-24 Tom Tromey <tromey@adacore.com>
1686 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1689 2019-04-24 Tom Tromey <tromey@adacore.com>
1691 * gdb.arch/amd64-eval.exp: Test bitfield return.
1692 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1693 (class Foo) <return_bitfields>: New method.
1696 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1698 * gdb.cp/many-args.cc: New file.
1699 * gdb.cp/many-args.exp: New file.
1701 2019-04-23 Tom de Vries <tdevries@suse.de>
1704 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1706 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1708 * gdb.trace/backtrace.exp: Use nopie flag.
1709 * gdb.trace/circ.exp: Likewise.
1710 * gdb.trace/collection.exp: Likewise.
1711 * gdb.trace/ftrace.exp: Likewise.
1712 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1713 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1714 * gdb.trace/qtro.exp: Likewise.
1715 * gdb.trace/read-memory.exp: Likewise.
1716 * gdb.trace/report.exp: Likewise.
1717 * gdb.trace/tfile.exp: Likewise.
1718 * gdb.trace/tfind.exp: Likewise.
1719 * gdb.trace/unavailable.exp: Likewise.
1721 2019-04-22 Pedro Alves <palves@redhat.com>
1723 * gdb.base/solib-probes-nosharedlibrary.c,
1724 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1726 2019-04-19 Tom Tromey <tromey@adacore.com>
1728 * gdb.ada/ptype_union.c: New file.
1729 * gdb.ada/ptype_union.exp: New file.
1731 2019-04-19 Tom Tromey <tromey@adacore.com>
1734 * gdb.base/list0.h (foo): Add a control-l character.
1736 2019-04-18 Tom de Vries <tdevries@suse.de>
1739 * boards/local-board.exp: Set sysroot to "".
1741 2019-04-18 Tom de Vries <tdevries@suse.de>
1742 Pedro Alves <palves@redhat.com>
1745 * gdb.threads/vfork-follow-child-exec.c: New file.
1746 * gdb.threads/vfork-follow-child-exec.exp: New file.
1747 * gdb.threads/vfork-follow-child-exit.c: New file.
1748 * gdb.threads/vfork-follow-child-exit.exp: New file.
1750 2019-04-15 Leszek Swirski <leszeks@google.com>
1752 * gdb.arch/amd64-eval.cc: New file.
1753 * gdb.arch/amd64-eval.exp: New file.
1755 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1757 * gdb.server/sysroot.c: New test.
1758 * gdb.server/sysroot.exp: New file.
1759 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1762 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1764 * gdb.base/align.exp: Extend test to cover structures containing
1767 2019-04-11 Tom de Vries <tdevries@suse.de>
1769 * boards/cc-with-dwz-m.exp: New file.
1770 * boards/cc-with-dwz.exp: New file.
1771 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1773 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1775 * gdb.base/start-cpp.exp: New file.
1776 * gdb.base/start-cpp.cc: New file.
1778 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1780 * gdb.python/py-thrhandle.exp: Adjust tests to call
1781 thread_from_handle instead of thread_from_thread_handle.
1783 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1785 * gdb.python/py-thrhandle.exp: Add tests for
1786 gdb.InferiorThread.handle.
1788 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1790 * gdb.python/py-function.exp: Check calling helper function from
1792 * lib/gdb.exp (gdb_supported_languages): New proc.
1794 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1796 * gdb.base/complex-parts.c: New file.
1797 * gdb.base/complex-parts.exp: New file.
1799 2019-04-01 Tom Tromey <tromey@adacore.com>
1802 * gdb.dwarf2/dw2-ranges-main.c: New file.
1803 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1804 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1806 2019-03-30 Simon Marchi <simark@simark.ca>
1808 * gdb.base/default.exp: Add values for $_gdb_major and
1811 2019-03-29 Tom Tromey <tromey@adacore.com>
1813 * gdb.base/help.exp: Tighten apropos regexp.
1815 2019-03-29 Keith Seitz <keiths@redhat.com>
1817 * gdb.fortran/array-bounds.exp: New file.
1818 * gdb.fortran/array-bounds.f90: New file.
1820 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1822 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1824 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1826 * gdb.multi/hello.c (main): Increase alarm timer.
1828 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1830 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1831 factor when no hardware watchpoint support.
1833 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1834 Pedro Alves <palves@redhat.com>
1836 * boards/local-board.exp: set sysroot to /.
1838 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1840 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1843 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1845 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1847 (make_container): Initialise new field.
1848 * gdb.python/py-prettyprint.exp: Add new tests.
1849 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1850 <display_hint>: New method.
1852 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1854 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1855 gdb_continue_to_breakpoint more throughout this test.
1856 (run_lang_tests) Supply unique test names, and use
1859 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1861 * gdb.base/finish-pretty.exp: Update expected results.
1862 * gdb.base/pretty-print.c: New file.
1863 * gdb.base/pretty-print.exp: New file.
1865 2019-03-25 Pedro Alves <palves@redhat.com>
1867 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1868 move comments outside list. Append '-i "" eof' section.
1870 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1873 * README: Add pie options.
1874 * gdb.base/break-interp.exp: Ensure pie is disabled.
1875 * gdb.base/dump.exp: Likewise.
1876 * lib/gdb.exp (gdb_compile): Add pie option.
1878 2019-03-19 Tom Tromey <tromey@adacore.com>
1880 * gdb.mi/mi2-cli-display.c: New file.
1881 * gdb.mi/mi2-cli-display.exp: New file.
1883 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1884 Tom Tromey <tromey@adacore.com>
1886 * gdb.ada/ptype_array/pck.adb: New file.
1887 * gdb.ada/ptype_array/pck.ads: New file.
1888 * gdb.ada/ptype_array/foo.adb: New file.
1889 * gdb.ada/ptype_array.exp: New file.
1891 2019-03-14 Tom Tromey <tromey@adacore.com>
1893 * gdb.base/style.exp: Add "set style sources" test.
1895 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1897 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1898 * mi-breakpoint-multiple-locations.exp: ... this.
1899 (make_breakpoints_pattern): New proc.
1900 (do_test): Add mi_version parameter, test -break-insert,
1901 -break-info and =breakpoint-created.
1903 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1905 * config/default.exp: Remove 'load_lib gdb.exp'.
1906 * config/monitor.exp: Likewise.
1907 * config/sid.exp: Likewise.
1908 * config/sim.exp: Likewise.
1909 * config/slite.exp: Likewise.
1910 * config/unix.exp: Likewise.
1911 * gdb.base/default.exp: Remove unhelpful comment.
1913 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1915 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1917 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1919 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1921 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1923 * gdb.fortran/type-kinds.exp: Update expected results.
1925 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1927 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1929 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1931 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1933 (test_basic_parsing_of_type_kinds): Expand types tested.
1934 (test_parsing_invalid_type_kinds): New function.
1936 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1938 * gdb.fortran/intrinsics.exp: New file.
1939 * gdb.fortran/intrinsics.f90: New file.
1940 * gdb.fortran/type-kinds.exp: New file.
1942 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1944 * gdb.fortran/dot-ops.exp: New file.
1946 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1948 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1949 Check upper and lower case logical literals.
1951 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1953 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1954 Remove duplicate tests.
1956 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1958 * lib/gdb.exp (builtin_cd): rename of cd.
1959 (cd): Override builtin.
1961 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1963 * gdb.fortran/function-calls.exp: New file.
1964 * gdb.fortran/function-calls.f90: New test.
1966 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1968 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1969 on user program standard output.
1970 * gdb.fortran/short-circuit-argument-list.f90: Record function
1973 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1975 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1978 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1981 * gdb.base/interrupt-daemon-attach.c,
1982 gdb.base/interrupt-daemon-attach.exp: New test.
1984 2019-02-27 Pedro Alves <palves@redhat.com>
1986 * gdb.base/page.exp: Add tests for "set width/height -1".
1988 2019-02-27 Pedro Alves <palves@redhat.com>
1990 * gdb.base/page.exp: Add tests for "set/show width/height" with
1993 2019-02-27 Tom Tromey <tromey@adacore.com>
1995 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1997 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2000 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2002 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2003 tests for structs with static members.
2005 2019-02-26 Tom Tromey <tromey@adacore.com>
2007 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2008 ValueError, not TypeError.
2010 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2012 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2013 call from main program.
2015 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2017 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2018 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2019 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2020 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2021 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2023 2019-02-22 Keith Seitz <keiths@redhat.com>
2026 * gdb.base/symlink-sourcefile.c: New file.
2027 * gdb.base/symlink-sourcefile.exp: New file.
2029 2019-02-20 Tom Tromey <tom@tromey.com>
2031 * gdb.base/info_qt.exp: Update.
2033 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2035 * gdb.base/source.exp: Move "error in sourced script" code to
2037 * gdb.base/source-error.gdb: Move contents to
2038 source-error-1.gdb. Add new code to source source-error-1.gdb.
2039 * gdb.base/source-error-1.gdb: New file, from previous
2042 2019-02-17 Tom Tromey <tom@tromey.com>
2044 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2046 * gdb.base/style.c (SOME_MACRO): New macro.
2048 2019-02-17 Tom Tromey <tom@tromey.com>
2050 * gdb.base/style.exp: Add line-wrapping tests.
2051 * gdb.base/page.exp: Add test for quitting during pagination.
2053 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2055 * gdb.ada/big_packed_array: New testcase.
2056 * gdb.ada/homonym.exp: Fix incorrect expected output for
2057 "break <homonym__get_value>" test.
2059 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2061 PR breakpoints/21870
2062 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2063 and prepare_for_testing. Add comment.
2064 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2065 redundant cleanup call. Clean up comment.
2067 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2069 PR breakpoints/21870
2070 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2071 * gdb.arch/aarch64-dbreg-contents.c: New file.
2073 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2075 * gdb.ada/mi_ref_changeable: New testcase.
2077 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2079 * gdb.base/attach.exp: Add double attach test.
2081 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2083 * lib/gdb.exp (default_gdb_start): Don't match pagination
2085 (gdb_init): Set stty_init.
2087 2019-01-27 Tom Tromey <tom@tromey.com>
2089 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2092 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2094 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2096 (struct struct_static_02_02): Likewise.
2097 (struct struct_static_02_03): Likewise.
2098 (struct struct_static_02_04): Likewise.
2099 (struct struct_static_04_01): Likewise.
2100 (struct struct_static_04_02): Likewise.
2101 (struct struct_static_04_03): Likewise.
2102 (struct struct_static_04_04): Likewise.
2103 (struct struct_static_06_01): Likewise.
2104 (struct struct_static_06_02): Likewise.
2105 (struct struct_static_06_03): Likewise.
2106 (struct struct_static_06_04): Likewise.
2107 (cmp_struct_static_02_01): Likewise.
2108 (cmp_struct_static_02_02): Likewise.
2109 (cmp_struct_static_02_03): Likewise.
2110 (cmp_struct_static_02_04): Likewise.
2111 (cmp_struct_static_04_01): Likewise.
2112 (cmp_struct_static_04_02): Likewise.
2113 (cmp_struct_static_04_03): Likewise.
2114 (cmp_struct_static_04_04): Likewise.
2115 (cmp_struct_static_06_01): Likewise.
2116 (cmp_struct_static_06_02): Likewise.
2117 (cmp_struct_static_06_03): Likewise.
2118 (cmp_struct_static_06_04): Likewise.
2119 (call_all): Test new structs.
2120 * gdb.base/infcall-nested-structs.exp: Likewise.
2122 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2123 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2125 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2126 * gdb.base/stack-protector.c: New test.
2127 * gdb.base/stack-protector.exp: New file.
2128 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2129 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2131 (gdb_compile): Remove stack protector for GCC and prevent
2134 2019-01-16 Keith Seitz <keiths@redhat.com>
2137 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2139 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2141 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2143 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2145 * gdb.arch/powerpc-vector-regs.c: New file.
2146 * gdb.arch/powerpc-vector-regs.exp: New file.
2148 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2150 * gdb.arch/altivec-regs.exp: Fix the list passed to
2151 gdb_expect_list when testing "info vector".
2153 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2155 * gdb.base/style.exp: Don't include path in testname.
2157 2019-01-10 Keith Seitz <keiths@redhat.com>
2161 * gdb.dwarf2/multidictionary.exp: New file.
2163 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2165 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2166 (test_gnuv3_style_demangling): ... this.
2167 (test_lucid_style_demangling): Remove.
2168 (test_arm_style_demangling): Remove.
2169 (test_hp_style_demangling): Remove.
2170 (do_tests): Remove calls to the above.
2172 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2174 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2177 2019-01-06 Tom Tromey <tom@tromey.com>
2180 * gdb.dwarf2/typedef-void-finish.exp: New file.
2182 2018-12-28 Tom Tromey <tom@tromey.com>
2183 Simon Marchi <simark@simark.ca>
2185 * gdb.base/jit-exec.exp: New file.
2186 * gdb.base/jit-exec.c: New file.
2187 * gdb.base/jit-execd.c: New file.
2189 2018-12-28 Tom Tromey <tom@tromey.com>
2191 * gdb.base/style.exp: Update test to check for address styling.
2193 2018-12-28 Tom Tromey <tom@tromey.com>
2195 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2198 2018-12-28 Tom Tromey <tom@tromey.com>
2200 * gdb.base/style.exp: Add test for version number styling.
2202 2018-12-28 Tom Tromey <tom@tromey.com>
2204 * gdb.base/style.exp: Add test for print_address_symbolic.
2206 2018-12-28 Tom Tromey <tom@tromey.com>
2208 * gdb.base/style.exp: Add test for breakpoint setting.
2210 2018-12-28 Tom Tromey <tom@tromey.com>
2212 * gdb.base/style.exp: Add test for variable names.
2214 2018-12-28 Tom Tromey <tom@tromey.com>
2216 * gdb.base/style.exp: New file.
2217 * gdb.base/style.c: New file.
2219 2018-12-28 Tom Tromey <tom@tromey.com>
2221 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2223 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2224 the TERM environment variable.
2226 2018-12-27 Tom Tromey <tom@tromey.com>
2228 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2231 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2233 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2234 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2236 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2238 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2239 Filename a.adb changed to bp_fun_addr.adb.
2240 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2242 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2244 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2245 non-PIE executables.
2246 * README: Mention the gdb,nopie_flag board setting.
2247 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2249 * gdb.arch/amd64-entry-value.exp: Likewise.
2250 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2251 * gdb.arch/i386-float.exp: Likewise.
2252 * gdb.arch/i386-signal.exp: Likewise.
2253 * gdb.mi/mi-reg-undefined.exp: Likewise.
2255 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2258 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2260 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2262 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2263 Update order of results accordingly.
2265 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2267 * gdb.base/annota1.exp: Update a test regexp.
2269 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2271 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2273 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2275 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2276 (reuse_time): Initialize to REUSE_TIME_CAP.
2277 (check_rc): New function.
2278 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2279 Check pthread_create rc.
2280 (spawner_thread_func): Check pthread_create and pthread_join rc.
2282 2018-12-08 Pedro Alves <palves@redhat.com>
2284 * gdb.base/list.exp (test_forward_search): Rename to ...
2285 (test_forward_reverse_search): ... this. Also test reverse-search
2286 and the forward-search alias.
2288 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2290 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2291 local timeout variable before return, and remove all local timeout
2293 (gdb_load): Likewise.
2295 2018-12-01 Tom de Vries <tdevries@suse.de>
2297 * gdb.base/gdb-caching-proc.exp: New file.
2299 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2301 * Makefile.in (TIMESTAMP): New variable.
2302 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2304 (check-single-racy): Likewise.
2305 (check/%.exp): Likewise.
2306 (check-racy/%.exp): Likewise.
2307 (workers/%.worker): Likewise.
2308 (build-perf): Likewise.
2309 (check-perf): Likewise.
2310 * README: Describe new "TS" and "TS_FORMAT" variables.
2311 * print-ts.py: New file.
2313 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2316 * gdb.python/python.exp: Test command repetition after
2319 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2321 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2322 is correctly aligned.
2324 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2326 * gdb.ada/info_auto_lang.exp: New testcase.
2327 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2328 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2329 * gdb.ada/info_auto_lang/some_c.c: New file.
2331 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2333 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2334 FUNC_lang language syntax.
2336 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2338 * gdb.base/info_minsym.c: New file.
2339 * gdb.base/info_minsym.exp: New file.
2341 2018-11-19 Tom Tromey <tom@tromey.com>
2344 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2345 * gdb.rust/expr.exp: Update expected output. Change one test.
2347 2018-11-19 Tom Tromey <tom@tromey.com>
2349 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2351 2018-11-19 Pedro Alves <palves@redhat.com>
2353 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2354 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2355 see the expected warning.
2357 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2360 * gdb.cp/infcall-nodebug-lib.c: New test.
2361 * gdb.cp/infcall-nodebug-main.c: New test.
2362 * gdb.cp/infcall-nodebug.exp: New file.
2364 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2366 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2369 2018-11-09 Tom de Vries <tdevries@suse.de>
2371 * gdb.base/msym-lang.c: New test.
2372 * gdb.base/msym-lang.exp: New file.
2373 * gdb.base/msym-lang-main.c: New test.
2375 2018-11-08 Tom Tromey <tom@tromey.com>
2379 * gdb.base/warning.exp: New file.
2381 2018-11-08 Jan Beulich <jbeulich@suse.com>
2383 * testsuite/gdb.arch/i386-avx512.c,
2384 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2386 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2388 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2391 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2393 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2394 * gdb.dwarf2/missing-type-name.exp: New file.
2396 2018-11-06 Tom de Vries <tdevries@suse.de>
2398 * gdb.base/many-headers.c: New test.
2399 * gdb.base/many-headers.exp: New file.
2401 2018-11-06 Jim Wilson <jimw@sifive.com>
2403 * gdb.base/code_elim.exp: For riscv, set additional_flags
2404 to include -msmall-data-limit=0.
2406 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2408 * gdb.ada/watch_minus_l: New testcase.
2410 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2412 * gdb.arch/aix-sighandle.c: New file.
2413 * gdb.arch/aix-sighandle.exp: New file.
2415 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2417 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2418 registers being unions.
2420 2018-10-31 Tom de Vries <tdevries@suse.de>
2422 * lib/valgrind.exp: New file.
2423 (vgdb_start, vgdb_stop): New procs, factored out of ...
2424 * gdb.base/valgrind-bt.exp: ... here, ...
2425 * gdb.base/valgrind-disp-step.exp: ... here and ...
2426 * gdb.base/valgrind-infcall.exp: ... here.
2428 2018-10-31 Tom de Vries <tdevries@suse.de>
2430 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2432 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2434 * gdb.dwarf2/void-type.c: New file.
2435 * gdb.dwarf2/void-type.exp: New file.
2437 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2439 * gdb.base/info_qt.c: New file.
2440 * gdb.base/info_qt.exp: New file.
2442 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2444 * gdb.arch/powerpc-htm-regs.c: New file.
2445 * gdb.arch/powerpc-htm-regs.exp: New file.
2447 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2449 * gdb.arch/powerpc-tar.c: New file.
2450 * gdb.arch/powerpc-tar.exp: New file.
2452 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2454 * gdb.arch/powerpc-ppr-dscr.c: New file.
2455 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2457 2018-10-25 Tom de Vries <tdevries@suse.de>
2459 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2461 2018-10-24 Tom de Vries <tdevries@suse.de>
2463 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2464 longer exists error.
2466 2018-10-24 Tom de Vries <tdevries@suse.de>
2468 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2470 2018-10-24 Tom de Vries <tdevries@suse.de>
2472 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2473 --db-attach in valgrind.
2475 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2477 * gdb.arch/riscv-reg-aliases.c: New file.
2478 * gdb.arch/riscv-reg-aliases.exp: New file.
2480 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2482 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2484 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2486 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2488 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2490 * gdb.cp/ovldbreak.exp: Fix regexps.
2492 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2494 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2496 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2499 * gdb.base/restore.exp: New test to check if "restore" with an
2500 invalid file doesn't segfault.
2502 2018-10-18 Tom de Vries <tdevries@suse.de>
2504 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2505 * gdb.ada/excep_handle.exp: Same.
2506 * gdb.ada/mi_string_access.exp: Same.
2507 * gdb.ada/mi_var_union.exp: Same.
2508 * gdb.arch/arc-analyze-prologue.exp: Same.
2509 * gdb.arch/arc-decode-insn.exp: Same.
2510 * gdb.base/readnever.exp: Same.
2511 * gdb.fortran/printing-types.exp: Same.
2512 * gdb.guile/scm-lazy-string.exp: Same.
2514 2018-10-16 Tom de Vries <tdevries@suse.de>
2517 * gdb.base/catch-follow-exec.c: Add copyright notice.
2518 * gdb.base/catch-follow-exec.exp: Rewrite to use
2519 gdb_spawn_with_cmdline_opts. Require gdb-native.
2521 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2523 * gdb.trace/actions-changed.exp: Check for arch support.
2524 * gdb.trace/actions.exp: Likewise.
2525 * gdb.trace/ax.exp: Likewise.
2526 * gdb.trace/backtrace.exp: Likewise.
2527 * gdb.trace/change-loc.exp: Likewise.
2528 * gdb.trace/deltrace.exp: Likewise.
2529 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2530 * gdb.trace/ftrace.exp: Likewise.
2531 * gdb.trace/infotrace.exp: Check for arch support.
2532 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2533 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2534 * gdb.trace/mi-tsv-changed.exp: Likewise.
2535 * gdb.trace/packetlen.exp: Likewise.
2536 * gdb.trace/passc-dyn.exp: Likewise.
2537 * gdb.trace/passcount.exp: Likewise.
2538 * gdb.trace/pending.exp: Likewise.
2539 * gdb.trace/range-stepping.exp: Check for shlib support.
2540 * gdb.trace/report.exp: Check for arch support.
2541 * gdb.trace/save-trace.exp: Likewise.
2542 * gdb.trace/signal.exp: Check for signal support.
2543 * gdb.trace/tfind.exp: Check for arch support.
2544 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2545 * gdb.trace/trace-common.h: Add comment.
2546 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2547 * gdb.trace/trace-enable-disable.exp: Likewise.
2548 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2549 * gdb.trace/tracecmd.exp: Check for arch support.
2550 * gdb.trace/tspeed.exp: Check for shlib and target support.
2551 * gdb.trace/tstatus.exp: Check for arch support.
2552 * gdb.trace/tsv.exp: Likewise.
2553 * gdb.trace/while-dyn.exp: Likewise.
2554 * gdb.trace/while-stepping.exp: Likewise.
2555 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2557 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2559 * gdb.trace/tspeed.exp: Remove nowarnings.
2560 (prepare_for_trace_test): Declare "global ipalib".
2561 * gdb.trace/tspeed.c: Include unistd.h.
2562 (main): Remove superfluous printf argument.
2564 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2566 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2567 directory prefix on the filename.
2569 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2571 * gdb.gdb/unittest.exp: Update expected message informing that
2572 selftests have been disabled.
2573 * gdb.server/unittest.exp: Likewise.
2575 2018-10-09 Tom de Vries <tdevries@suse.de>
2577 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2580 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2583 * gdb.cp/virtbase2.cc: New file.
2584 * gdb.cp/virtbase2.exp: New file.
2586 2018-10-06 Tom Tromey <tom@tromey.com>
2589 * gdb.python/py-inferior.exp: Add architecture test.
2591 2018-10-06 Tom Tromey <tom@tromey.com>
2593 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2594 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2596 2018-10-06 Tom Tromey <tom@tromey.com>
2598 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2599 of a "throw" catchpoint.
2601 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2603 * gdb.base/info-proc.exp: Update string expected from "help info
2606 2018-10-04 Tom Tromey <tom@tromey.com>
2608 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2609 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2610 (test_initial_complaints, test_empty_complaints): Update.
2611 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2613 2018-10-04 Tom Tromey <tom@tromey.com>
2616 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2617 * lib/gdb.exp (gdb_file_cmd): Update.
2618 * gdb.stabs/weird.exp (print_weird_var): Update.
2619 * gdb.server/solib-list.exp: Update.
2620 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2621 * gdb.mi/mi-cli.exp: Update.
2622 * gdb.linespec/linespec.exp: Update.
2623 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2624 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2625 * gdb.cp/cp-relocate.exp: Update.
2626 * gdb.base/sym-file.exp: Update.
2627 * gdb.base/relocate.exp: Update.
2628 * gdb.base/readnever.exp: Update.
2629 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2630 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2631 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2632 * gdb.base/code_elim.exp: Update.
2633 * gdb.base/break-unload-file.exp (test_break): Update.
2634 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2635 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2637 * gdb.base/attach.exp (do_attach_tests): Update.
2638 * gdb.base/sepdebug.exp: Update.
2639 * gdb.python/py-section-script.exp: Update.
2641 2018-10-04 Tom Tromey <tom@tromey.com>
2644 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2645 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2648 2018-10-04 Tom Tromey <tom@tromey.com>
2650 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2651 set width and height to 0.
2652 (test_command_line_attach_run): Use -quiet.
2654 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2656 * lib/gdb.exp (skip_ifunc_tests): New.
2657 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2658 other compile failures.
2659 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2661 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2663 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2664 is_amd64_regs_target.
2666 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2668 * gdb.arch/aarch64-sighandler-regs.c: New test.
2669 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2670 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2672 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2674 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2677 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2679 * gdb.base/frame-selection.exp: New file.
2680 * gdb.base/frame-selection.c: New file.
2682 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2684 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2688 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2690 * gdb.base/large-frame-1.c: New file.
2691 * gdb.base/large-frame-2.c: New file.
2692 * gdb.base/large-frame.exp: New file.
2693 * gdb.base/large-frame.h: New file.
2695 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2698 * gdb.base/write_mem.exp: New test.
2699 * gdb.base/write_mem.c: Likewise.
2701 2018-09-23 Tom Tromey <tom@tromey.com>
2704 * gdb.python/py-parameter.exp: Add test for parameter that throws
2707 2018-09-23 Tom Tromey <tom@tromey.com>
2710 * gdb.python/py-template.exp (test_template_arg): Add test for
2711 negative template argument number.
2713 2018-09-23 Tom Tromey <tom@tromey.com>
2716 * gdb.python/python.exp: Add test for post_event error.
2718 2018-09-23 Tom Tromey <tom@tromey.com>
2721 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2722 convert pointers to int and long.
2724 2018-09-23 Tom Tromey <tom@tromey.com>
2727 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2728 signed-ness conversion tests.
2730 2018-09-23 Tom Tromey <tom@tromey.com>
2733 * gdb.python/py-value.exp (test_float_conversion): New proc.
2736 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2738 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2740 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2742 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2744 * gdb.base/utf8-identifiers.exp: Likewise.
2745 * gdb.cp/cpcompletion.exp: Likewise.
2746 * gdb.linespec/cpcompletion.exp: Likewise.
2747 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2748 * gdb.linespec/cpls-ops.exp: Likewise.
2750 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2751 Chris January <chris.january@arm.com>
2753 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2754 * gdb.fortran/short-circuit-argument-list.exp: New file.
2755 * gdb.fortran/short-circuit-argument-list.f90: New test.
2757 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2759 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2760 "arch=" keyword when executing "-stack-list-frames".
2762 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2764 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2765 "arch=" keyword when executing "-stack-list-frames".
2767 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2769 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2772 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2775 * gdb.python/python.exp: Test gdb.execute("show commands").
2777 2018-09-16 Tom Tromey <tom@tromey.com>
2779 * gdb.base/new-ui.exp (do_execution_tests): Update.
2780 * gdb.base/dbx.exp (test_breakpoints): Update.
2782 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2784 * lib/gdb.exp (gdb_simple_compile): Add proc.
2785 (is_elf_target): Use gdb_simple_compile.
2786 (skip_altivec_tests): Likewise.
2787 (skip_vsx_tests): Likewise.
2788 (skip_tsx_tests): Likewise.
2789 (skip_btrace_tests): Likewise.
2790 (skip_btrace_pt_tests): Likewise.
2791 (gdb_can_simple_compile): Likewise.
2792 (gdb_has_argv0): Likewise.
2793 (gdb_target_symbol_prefix): Likewise.
2794 (target_supports_scheduler_locking): Likewise.
2796 2018-09-13 Tom Tromey <tom@tromey.com>
2798 * Makefile.in (TAGS): Recognize proc_with_prefix and
2801 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2803 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2806 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2808 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2809 and a few other Inferior properties when the Inferior is no
2812 2018-09-13 Tom Tromey <tom@tromey.com>
2815 * gdb.rust/simple.exp: Add test for enum field access error.
2817 2018-09-13 Tom Tromey <tom@tromey.com>
2820 * gdb.rust/simple.rs (EmptyEnum): New type.
2822 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2824 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2826 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2827 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2828 * gdb.python/py-symtab.exp: Update test printing an objfile.
2830 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2832 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2835 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2837 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2838 (support_complex_tests): Use gdb_can_simple_compile.
2839 (is_ilp32_target): Likewise.
2840 (is_lp64_target): Likewise.
2841 (is_64_target): Likewise.
2842 (is_amd64_regs_target): Likewise.
2843 (is_aarch32_target): Likewise.
2844 (gdb_int128_helper): Likewise.
2846 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2848 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2850 2018-09-10 Jerome Guitton <guitton@adacore.com>
2852 * gdb.ada/same_component_name: Add test for case of tagged record
2853 with variable-length fields.
2855 2018-09-10 Xavier Roirand <roirand@adacore.com>
2857 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2858 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2859 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2860 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2862 2018-09-10 Xavier Roirand <roirand@adacore.com>
2864 * gdb.ada/mi_string_access.exp: New testcase.
2865 * gdb.ada/mi_string_access/bar.adb: New file.
2866 * gdb.ada/mi_string_access/pck.adb: New file.
2867 * gdb.ada/mi_string_access/pck.asd: New file.
2869 2018-09-10 Xavier Roirand <roirand@adacore.com>
2871 * gdb.ada/mi_var_union.exp: New testcase.
2872 * gdb.ada/mi_var_union/bar.adb: New file.
2873 * gdb.ada/mi_var_union/pck.adb: New file.
2874 * gdb.ada/mi_var_union/pck.asd: New file.
2876 2018-09-08 Tom Tromey <tom@tromey.com>
2878 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2880 2018-09-08 Tom Tromey <tom@tromey.com>
2883 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2884 (register_pretty_printers): Register new printer.
2885 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2887 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2888 (an_int_type3): New global.
2890 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2892 * gdb.ada/expr_with_funcall: New testcase.
2894 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2896 * gdb.ada/packed_array_assign: New testcase.
2898 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2900 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2901 names, and add test prefixes to make test names unique.
2903 2018-09-05 Tom de Vries <tdevries@suse.de>
2905 * gdb.dwarf2/varval.exp: Add test.
2907 2018-09-04 Gary Benson <gbenson@redhat.com>
2909 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2910 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2912 2018-08-31 Tom Tromey <tom@tromey.com>
2914 * gdb.rust/simple.rs: Rename second variable "v".
2916 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2918 * gdb.base/funcargs.c (use_a): New function.
2919 (recurse): Call use_a.
2921 2018-08-29 Keith Seitz <keiths@redhat.com>
2923 * gdb.compile/compile-cplus-anonymous.cc: New file.
2924 * gdb.compile/compile-cplus-anonymous.exp: New file.
2925 * gdb.compile/compile-cplus-array-decay.cc: New file.
2926 * gdb.compile/compile-cplus-array-decay.exp: New file.
2927 * gdb.compile/compile-cplus-inherit.cc: New file.
2928 * gdb.compile/compile-cplus-inherit.exp: New file.
2929 * gdb.compile/compile-cplus-member.cc: New file.
2930 * gdb.compile/compile-cplus-member.exp: New file.
2931 * gdb.compile/compile-cplus-method.cc: New file.
2932 * gdb.compile/compile-cplus-method.exp: New file.
2933 * gdb.compile/compile-cplus-mod.c: "New" file.
2934 * gdb.compile/compile-cplus-namespace.cc: New file.
2935 * gdb.compile/compile-cplus-namespace.exp: New file.
2936 * gdb.compile/compile-cplus-nested.cc: New file.
2937 * gdb.compile/compile-cplus-nested.exp: New file.
2938 * gdb.compile/compile-cplus-print.c: "New" file.
2939 * gdb.compile/compile-cplus-print.exp: "New" file.
2940 * gdb.compile/compile-cplus-virtual.cc: New file.
2941 * gdb.compile/compile-cplus-virtual.exp: New file.
2942 * gdb.compile/compile-cplus.c: "New" file.
2943 * gdb.compile/compile-cplus.exp: "New" file.
2944 * lib/compile-support.exp: New file.
2946 2018-08-16 Gary Benson <gbenson@redhat.com>
2949 * gdb.base/batch-exit-status.exp: New file.
2950 * gdb.base/batch-exit-status.good-commands: Likewise.
2951 * gdb.base/batch-exit-status.bad-commands: Likewise.
2953 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2955 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2956 (struct struct02): Likewise.
2957 (struct struct03): Likewise.
2958 (struct struct04): Likewise.
2959 (struct struct_01_01): New struct.
2960 (struct struct_01_02): Likewise.
2961 (struct struct_01_03): Likewise.
2962 (struct struct_01_04): Likewise.
2963 (struct struct_02_01): Likewise.
2964 (struct struct_02_02): Likewise.
2965 (struct struct_02_03): Likewise.
2966 (struct struct_02_04): Likewise.
2967 (struct struct_04_01): Likewise.
2968 (struct struct_04_02): Likewise.
2969 (struct struct_04_03): Likewise.
2970 (struct struct_04_04): Likewise.
2971 (struct struct_05_01): Likewise.
2972 (struct struct_05_02): Likewise.
2973 (struct struct_05_03): Likewise.
2974 (struct struct_05_04): Likewise.
2975 (cmp_struct01): Remove function.
2976 (cmp_struct02): Likewise.
2977 (cmp_struct03): Likewise.
2978 (cmp_struct04): Likewise.
2979 (cmp_struct_01_01): Add Function.
2980 (cmp_struct_01_02): Likewise.
2981 (cmp_struct_01_03): Likewise.
2982 (cmp_struct_01_04): Likewise.
2983 (cmp_struct_02_01): Likewise.
2984 (cmp_struct_02_02): Likewise.
2985 (cmp_struct_02_03): Likewise.
2986 (cmp_struct_02_04): Likewise.
2987 (cmp_struct_04_01): Likewise.
2988 (cmp_struct_04_02): Likewise.
2989 (cmp_struct_04_03): Likewise.
2990 (cmp_struct_04_04): Likewise.
2991 (cmp_struct_05_01): Likewise.
2992 (cmp_struct_05_02): Likewise.
2993 (cmp_struct_05_03): Likewise.
2994 (cmp_struct_05_04): Likewise.
2995 (call_all): Add new structs.
2996 * gdb.base/infcall-nested-structs.exp: Likewise.
2998 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3000 * gdb.python/py-framefilter-mi.exp: Update regexp to
3001 check for "arch" field in frame output.
3003 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3005 * gdb.dwarf2/dw2-ranges-func.c: New file.
3006 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3008 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3010 * gdb.base/term.exp: Compare terminal settings with values from
3012 * gdb.base/term.c: Get and set terminal settings.
3014 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3016 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3017 accommodate new "arch" field in frame output.
3018 * gdb.mi/mi-return.exp: Likewise.
3019 * gdb.mi/mi-stack.exp: Likewise.
3020 * gdb.mi/mi-syn-frame.exp: Likewise.
3021 * gdb.mi/user-selected-context-sync.exp: Likewise.
3023 2018-08-19 Michael Spang <spang@google.com>
3026 * gdb.base/gcore-tls-pie.c: New file.
3027 * gdb.base/gcore-tls-pie.exp: New file.
3029 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3031 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3032 * gdb.dwarf2/varval.c: New file.
3033 * gdb.dwarf2/varval.exp: New file.
3035 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3038 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3040 2018-08-16 Keith Seitz <keiths@redhat.com>
3042 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3043 tests expected to pass.
3045 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3047 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3048 -data-disassemble -a.
3049 (test_disassembly_bogus_args): Likewise.
3051 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3053 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3055 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3057 * gdb.base/vla-optimized-out.exp: Add new test.
3059 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3061 * gdb.base/vla-optimized-out-o3.exp: Delete.
3062 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3063 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3066 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3069 * gdb.server/extended-remote-restart.c: New file.
3070 * gdb.server/extended-remote-restart.exp: New file.
3072 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3074 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3075 "set variable index = 42".
3077 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3079 * boards/index-cache-gdb.exp: New file.
3080 * gdb.dwarf2/index-cache.exp: New file.
3081 * gdb.dwarf2/index-cache.c: New file.
3082 * gdb.base/maint.exp: Check if we are using the index cache.
3084 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3086 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3089 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3091 * dg-extract-results.sh: Move to toplevel contrib.
3092 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3093 * Makefile.in (check-parallel-racy): Likewise.
3095 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3097 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3098 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3099 tests if the target supports scheduler locking.
3101 2018-08-04 Tom de Vries <tdevries@suse.de>
3103 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3105 2018-08-02 Tom Tromey <tom@tromey.com>
3108 * gdb.cp/temargs.exp: Test "info address" of a template
3111 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3113 * gdb.python/py-mi-var-info-path-expression.c: New file.
3114 * gdb.python/py-mi-var-info-path-expression.py: New file.
3115 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3117 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3119 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3120 error after "cannot resolve name" string.
3122 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3124 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3126 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3128 2018-07-28 Tom de Vries <tdevries@suse.de>
3130 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3132 2018-07-26 Tom de Vries <tdevries@suse.de>
3134 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3136 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3138 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3141 2018-07-26 Tom de Vries <tdevries@suse.de>
3143 PR breakpoints/23366
3144 * gdb.base/catch-follow-exec.c: New test.
3145 * gdb.base/catch-follow-exec.exp: New file.
3147 2018-07-25 Tom de Vries <tdevries@suse.de>
3149 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3150 vla-optimized-out.c.
3152 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3154 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3155 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3157 2018-07-20 Tom de Vries <tdevries@suse.de>
3159 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3161 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3163 2018-07-19 Tom de Vries <tdevries@suse.de>
3165 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3168 2018-07-18 Tom de Vries <tdevries@suse.de>
3170 * gdb.base/vla-optimized-out.c: New test.
3171 * gdb.base/vla-optimized-out.exp: New file.
3173 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3175 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3176 message "No address associated with hostname" when gdbserver
3177 cannot resolve the hostname.
3179 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3181 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3182 Add some test prefixes to make tests unique.
3184 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3186 * gdb.base/frameapply.c: New file.
3187 * gdb.base/frameapply.exp: New file.
3189 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3191 * gdb.base/skip.exp: Update expected error message.
3193 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3194 Jan Kratochvil <jan.kratochvil@redhat.com>
3195 Paul Fertser <fercerpav@gmail.com>
3196 Tsutomu Seki <sekiriki@gmail.com>
3198 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3200 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3202 * boards/native-gdbserver.exp: Likewise.
3203 * gdb.server/run-without-local-binary.exp: Improve regexp used
3204 for detecting when a remote debugging connection succeeds.
3205 * gdb.server/server-connect.exp: New file.
3206 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3207 Do not prefix the port number with ":".
3208 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3209 support for detecting and using it. Add '$debughost_gdbserver'
3210 to the list of arguments used to start gdbserver. Handle case
3211 when gdbserver cannot resolve a network name.
3213 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3216 * gdb.base/ptype-offsets.cc (struct static_member): New
3218 (main) <stmember>: New variable.
3219 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3220 with a static member in it.
3222 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3224 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3225 watchpoints enabled and disabled.
3227 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3229 * gdb.base/examine-backward.exp: Still run tests around address
3230 0x0, even if address 0x0 is not readable. Update the pattern for
3231 matching address 0x0 in expected output.
3233 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3235 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3238 2018-07-04 Tom de Vries <tdevries@suse.de>
3240 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3242 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3245 * gdb.arch/mips-disassembler-options.exp: New test.
3246 * gdb.arch/mips-disassembler-options.s: New test source.
3248 2018-06-29 Pedro Alves <palves@redhat.com>
3250 * gdb.threads/names.exp: Adjust expected "info threads" output.
3252 2018-06-29 Pedro Alves <palves@redhat.com>
3254 * gdb.opt/inline-break.exp (line number, address): Add "info
3257 2018-06-29 Pedro Alves <palves@redhat.com>
3259 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3260 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3261 number and address and running to them.
3263 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3265 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3267 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3269 * lib/compiler.c: Remove executable permission flag.
3271 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3273 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3275 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3277 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3279 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3281 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3283 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3284 address argument is omitted.
3286 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3288 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3290 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3293 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3294 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3296 2018-06-26 Tom Tromey <tom@tromey.com>
3299 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3300 * gdb.rust/simple.rs (struct SimpleLayout): New.
3302 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3304 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3305 "info registers" output.
3307 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3309 * gdb.base/watchpoint-hw-attach.c: New test.
3310 * gdb.base/watchpoint-hw-attach.exp: New file.
3312 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3314 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3316 * boards/dwarf4-gdb-index.exp: Likewise.
3317 * boards/fission-dwp.exp: Likewise.
3319 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3321 * gdb.base/float128.exp: Add comment and improved fail message
3322 to the failure case of "print large128" test.
3324 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3326 * configure.ac: Remove AC_PREREQ.
3327 * configure: Re-generate.
3329 2018-06-19 Pedro Alves <palves@redhat.com>
3331 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3332 (func_extern_caller): New.
3333 (main): Call func_extern_caller.
3334 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3337 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3340 * gdb.cp/typedef-base.cc: New file.
3341 * gdb.cp/typedef-base.exp: New file.
3343 2018-06-18 Tom de Vries <tdevries@suse.de>
3345 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3347 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3348 Richard Bunt <Richard.Bunt@arm.com>
3350 * gdb.threads/attach-slow-waitpid.c: New file.
3351 * gdb.threads/attach-slow-waitpid.exp: New file.
3352 * gdb.threads/slow-waitpid.c: New file.
3354 2018-06-14 Pedro Alves <palves@redhat.com>
3356 * gdb.base/fork-running-state.c: Include <errno.h>.
3357 (exit_if_relative_exits): New.
3358 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3360 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3363 2018-06-14 Tom de Vries <tdevries@suse.de>
3366 * gdb.base/finish-pretty.c: New test.
3367 * gdb.base/finish-pretty.exp: New file.
3369 2018-06-14 Pedro Alves <palves@redhat.com>
3371 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3372 gdb's expected startup output.
3374 2018-06-14 Pedro Alves <palves@redhat.com>
3376 * lib/selftest-support.exp (selftest_setup): Remove inlined
3379 2018-06-14 Tom de Vries <tdevries@suse.de>
3381 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3382 matching of breakpoint printing.
3384 2018-06-13 Tom de Vries <tdevries@suse.de>
3387 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3388 (fork_child): ... here, and ...
3389 (fork_parent): ... here.
3391 2018-06-12 Tom de Vries <tdevries@suse.de>
3393 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3395 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3396 Stephen Roberts <stephen.roberts@arm.com>
3398 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3399 rewrite test to describe action performed, rather than possible
3402 2018-06-08 Gary Benson <gbenson@redhat.com>
3404 * gdb.threads/check-libthread-db.exp: New file.
3405 * gdb.threads/check-libthread-db.c: Likewise.
3407 2018-06-05 Tom Tromey <tom@tromey.com>
3409 * gdb.base/default.exp: Update expected "show version" output.
3411 2018-06-05 Tom Tromey <tom@tromey.com>
3414 * gdb.cp/static-print-quit.exp: Update.
3415 * lib/gdb.exp (pagination_prompt): Update.
3416 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3417 * gdb.python/python.exp: Update.
3419 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3421 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3423 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3425 * gdb.ada/bp_fun_addr: New testcase.
3427 2018-06-01 Tom Tromey <tom@tromey.com>
3429 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3431 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3432 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3433 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3434 * gdb.base/maint.exp (maint_pass_if): Update.
3436 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3438 * gdb.base/endian.exp: New test.
3439 * gdb.base/endian.c: New test source.
3441 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3444 * gdb.base/bt-selected-frame.c: New file.
3445 * gdb.base/bt-selected-frame.exp: New file.
3446 * lib/gdb.exp (get_current_frame_number): New function.
3448 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3449 Pedro Alves <palves@redhat.com>
3451 * gdb.threads/tls-core.c: Include <stdlib.h>
3452 (thread_proc): Call `abort'.
3453 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3454 (tls_core_test): New procedure, bits factored out from ...
3455 (top level): ... here. Test both native cores and gcore cores.
3457 2018-05-23 Tom Tromey <tom@tromey.com>
3459 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3461 2018-05-23 Tom Tromey <tom@tromey.com>
3463 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3465 (test_short_complaints): Likewise.
3466 (test_empty_complaints): Likewise.
3467 (test_initial_complaints): Update.
3469 2018-05-23 Tom Tromey <tom@tromey.com>
3471 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3473 2018-05-23 Tom Tromey <tom@tromey.com>
3475 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3476 (test_short_complaints): Update.
3478 2018-05-22 Pedro Alves <palves@redhat.com>
3480 * gdb.base/remote.exp: Only gdb_start after compiling the
3481 testcase. Issue "disconnect" before testing "set remote" command
3482 defaults. Issue clean_restart before running to main.
3484 2018-05-22 Pedro Alves <palves@redhat.com>
3486 * gdb.base/remote.exp: Adjust expected output of "show remote
3487 memory-write-packet-size". Add tests for "set remote
3488 memory-write-packet-size 0" and "set remote
3489 memory-write-packet-size fixed/limit".
3491 2018-05-22 Pedro Alves <palves@redhat.com>
3494 * gdb.base/utf8-identifiers.c: New file.
3495 * gdb.base/utf8-identifiers.exp: New file.
3497 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3499 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3501 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3503 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3505 2018-05-18 Tom Tromey <tom@tromey.com>
3507 * gdb.base/ptype-offsets.exp: Update.
3509 2018-05-17 Keith Seitz <keiths@redhat.com>
3511 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3512 in expected breakpoint stop locations.
3513 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3514 move to proper scope to test variable values.
3515 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3516 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3518 (main): Call not_inline_func3.
3519 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3520 inline_func1, inline_func2, and inline_func3. Test that when each
3521 breakpoint is hit, GDB properly reports both the stop location
3522 and the backtrace. Repeat tests for temporary breakpoints.
3524 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3526 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3527 rather then trying to access it in determining whether the PID
3528 of `gdbserver' could have been retrieved.
3530 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3532 * gdb.arch/amd64-init-x87-values.S: New file.
3533 * gdb.arch/amd64-init-x87-values.exp: New file.
3535 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3537 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3539 2018-05-04 Tom Tromey <tom@tromey.com>
3542 * gdb.python/python.exp: Test multi-line execute.
3544 2018-05-04 Tom Tromey <tom@tromey.com>
3547 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3549 2018-05-04 Tom Tromey <tom@tromey.com>
3552 * gdb.base/define.exp: Test defining a user command inside a user
3554 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3556 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3557 Pedro Alves <palves@redhat.com>
3559 PR breakpoints/19806 and support for PR external/20207.
3560 * gdb.base/watchpoint-unaligned.c: New file.
3561 * gdb.base/watchpoint-unaligned.exp: New file.
3563 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3565 * gdb.base/maint.exp: Make test names unique, use
3566 test_prefix_command_help to test 'help maint info', and remove
3567 repeated test of 'help maint'.
3569 2018-05-04 Tom Tromey <tom@tromey.com>
3572 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3575 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3577 * gdb.base/maint.exp: Process output from 'maint print registers'
3580 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3582 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3585 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3587 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3590 2018-05-02 Pedro Alves <palves@redhat.com>
3592 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3593 to_log_command renames.
3594 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3596 2018-05-02 Tom Tromey <tom@tromey.com>
3598 * gdb.python/py-parameter.exp: Set test message.
3600 2018-05-02 Tom Tromey <tom@tromey.com>
3603 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3604 PARAM_ZUINTEGER_UNLIMITED tests.
3606 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3609 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3612 2018-04-30 Tom Tromey <tom@tromey.com>
3614 * gdb.python/py-type.exp: Check align attribute.
3615 * gdb.python/py-type.c: New "aligncheck" global.
3617 2018-04-30 Tom Tromey <tom@tromey.com>
3620 * gdb.dwarf2/dw2-align.exp: New file.
3621 * gdb.cp/align.exp: New file.
3622 * gdb.base/align.exp: New file.
3623 * lib/gdb.exp (gdb_int128_helper): New proc.
3624 (has_int128_c, has_int128_cxx): New caching procs.
3626 2018-04-27 Tom Tromey <tom@tromey.com>
3629 * gdb.rust/simple.exp: Add inclusive range tests.
3631 2018-04-26 Pedro Alves <palves@redhat.com>
3633 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3634 ifunc breakpoint locations correctly of ifunc breakpoints set
3635 while the program resolves the ifunc.
3637 2018-04-26 Pedro Alves <palves@redhat.com>
3639 * gdb.base/gnu-ifunc-final.c: New file.
3640 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3641 * gdb.base/gnu-ifunc.exp (executable): Delete.
3642 (staticexecutable): Adjust.
3643 (lib_opts, exec_opts): Delete.
3644 (make_binsuffix, build, set-break): New procedures.
3645 (misc_tests): New, with tests factored out from the top level.
3646 (top level): Test different combinations of ifunc resolver name,
3647 resolver with and with debug info, and ifunc target with and
3648 without debug info. Wrap static tests with with_target_prefix.
3650 2018-04-26 Pedro Alves <palves@redhat.com>
3652 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3653 return type" warnings.
3655 2018-04-25 Pedro Alves <palves@redhat.com>
3657 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3659 * gdb.base/kill-after-signal.exp: Likewise.
3660 * gdb.threads/kill.exp: Likewise.
3662 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3663 Sergio Durigan Junior <sergiodj@redhat.com>
3664 Pedro Alves <palves@redhat.com>
3666 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3667 regexps to expect for '[Inferior ... detached]' as well.
3668 * gdb.base/attach.exp: Likewise.
3669 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3670 "gdb_continue_to_end".
3671 (test_catch_syscall_with_wrong_args): Likewise.
3672 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3673 ']'. Don't set 'verbose' on.
3674 * gdb.base/foll-vfork.exp: Likewise.
3675 * gdb.base/fork-print-inferior-events.c: New file.
3676 * gdb.base/fork-print-inferior-events.exp: New file.
3677 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3678 '[Inferior ... has been killed]' message.
3679 * gdb.base/kill-after-signal.exp: Likewise.
3680 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3682 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3684 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3685 regexps to expect for '[Inferior ... detached]' as well.
3686 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3688 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3691 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3693 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3695 * gdb.threads/multiple-successive-infcall.c: New test.
3696 * gdb.threads/multiple-successive-infcall.exp: New file.
3698 2018-04-17 Tom Tromey <tom@tromey.com>
3700 * gdb.rust/simple.rs (Union): New type.
3701 (main): New local "u".
3702 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3704 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3706 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3707 number information in output of "whereis" command.
3708 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3710 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3712 * gdb.ada/info_types.exp: Adjust expected output to the line
3713 numbers now printed by "info var/func/type".
3714 * gdb.base/completion.exp: Likewise.
3715 * gdb.base/included.exp: Likewise.
3716 * gdb.cp/cp-relocate.exp: Likewise.
3717 * gdb.cp/cplusfuncs.exp: Likewise.
3718 * gdb.cp/namespace.exp: Likewise.
3719 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3721 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3723 * gdb.btrace/cpu.exp: New.
3725 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3727 * gdb.base/step-indirect-call-thunk.exp: New.
3728 * gdb.base/step-indirect-call-thunk.c: New.
3729 * gdb.reverse/step-indirect-call-thunk.exp: New.
3730 * gdb.reverse/step-indirect-call-thunk.c: New.
3732 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3734 * gdb.base/pie-fork.c: New file.
3735 * gdb.base/pie-fork.exp: New file.
3737 2018-04-11 Tom Tromey <tom@tromey.com>
3739 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3741 2018-04-10 Pedro Alves <palves@redhat.com>
3743 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3744 exits. Instead loop running forever.
3745 (fork_parent): Run forever too.
3747 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3749 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3750 mi_continue_to_line.
3751 * gdb.mi/mi-stack.c (callee4): Add comment.
3753 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3755 * gdb.mi/mi-stack.exp: Fix indentation.
3757 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3760 * gdb.arch/amd64-osabi.exp: New file.
3762 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3765 * gdb.base/osabi.exp: New file.
3767 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3769 * gdb.cp/static-typedef-print.exp: New file.
3770 * gdb.cp/static-typedef-print.cc: New file.
3772 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3774 * gdb.ada/varsize_limit: New testcase.
3776 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3778 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3780 * gdb.ada/notcplusplus: New testcase.
3782 * gdb.base/c-linkage-name.c: New file.
3783 * gdb.base/c-linkage-name.exp: New testcase.
3785 2018-03-26 Tom Tromey <tom@tromey.com>
3787 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3788 * gdb.python/py-framefilter.py (name_error): New global.
3789 (ErrorInName.function): Use name_error.
3791 2018-03-26 Tom Tromey <tom@tromey.com>
3794 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3796 2018-03-23 Keith Seitz <keiths@redhat.com>
3799 * gdb.cp/subtypes.exp: New file.
3800 * gdb.cp/subtypes.h: New file.
3801 * gdb.cp/subtypes.cc: New file.
3802 * gdb.cp/subtypes-2.cc: New file.
3804 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3806 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3807 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3808 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3809 -nostartfiles when compiling the test. Confirm that all registers
3810 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3812 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3814 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3815 option, syntax was wrong anyway.
3816 * gdb.arch/arm-disp-step.exp: Likewise.
3817 * gdb.arch/sparc64-regs.exp: Likewise.
3818 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3819 option, syntax was wrong anyway, switch to use
3820 prepare_for_testing.
3821 * gdb.arch/i386-disp-step.exp: Likewise.
3823 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3825 * gdb.ada/exec_changed.exp: Replace "target_info exists
3826 use_gdb_stub" by "use_gdb_stub".
3827 * gdb.ada/start.exp: Likewise.
3828 * gdb.base/async-shell.exp: Likewise.
3829 * gdb.base/attach-pie-misread.exp: Likewise.
3830 * gdb.base/attach-wait-input.exp: Likewise.
3831 * gdb.base/break-entry.exp: Likewise.
3832 * gdb.base/break-interp.exp: Likewise.
3833 * gdb.base/dprintf-detach.exp: Likewise.
3834 * gdb.base/nostdlib.exp: Likewise.
3835 * gdb.base/solib-nodir.exp: Likewise.
3836 * gdb.base/statistics.exp: Likewise.
3837 * gdb.base/testenv.exp: Likewise.
3838 * gdb.mi/mi-exec-run.exp: Likewise.
3839 * gdb.mi/mi-start.exp: Likewise.
3840 * gdb.multi/dummy-frame-restore.exp: Likewise.
3841 * gdb.multi/multi-arch-exec.exp: Likewise.
3842 * gdb.multi/multi-arch.exp: Likewise.
3843 * gdb.multi/tids.exp: Likewise.
3844 * gdb.multi/watchpoint-multi.exp: Likewise.
3845 * gdb.python/py-events.exp: Likewise.
3846 * gdb.threads/attach-into-signal.exp: Likewise.
3847 * gdb.threads/attach-stopped.exp: Likewise.
3848 * gdb.threads/threadapply.exp: Likewise.
3849 * lib/selftest-support.exp: Likewise.
3851 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3853 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3855 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3857 * gdb.perf/template-breakpoints.cc: New file.
3858 * gdb.perf/template-breakpoints.exp: New file.
3859 * gdb.perf/template-breakpoints.py: New file.
3861 2018-03-19 Tom Tromey <tom@tromey.com>
3863 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3865 * gdb.rust/simple.exp: Test bare identifier form of struct
3868 2018-03-19 Tom Tromey <tom@tromey.com>
3870 * gdb.gdb/observer.exp: Remove.
3872 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3874 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3875 "qualified" option when setting breakpoints.
3876 * gdb.trace/backtrace.exp: Likewise.
3877 * gdb.trace/circ.exp: Likewise.
3878 * gdb.trace/collection.exp: Likewise.
3879 * gdb.trace/disconnected-tracing.exp: Likewise.
3880 * gdb.trace/ftrace-lock.exp: Likewise.
3881 * gdb.trace/ftrace.exp: Likewise.
3882 * gdb.trace/infotrace.exp: Likewise.
3883 * gdb.trace/packetlen.exp: Likewise.
3884 * gdb.trace/passc-dyn.exp: Likewise.
3885 * gdb.trace/qtro.exp: Likewise.
3886 * gdb.trace/read-memory.exp: Likewise.
3887 * gdb.trace/report.exp: Likewise.
3888 * gdb.trace/signal.exp: Likewise.
3889 * gdb.trace/status-stop.exp: Likewise.
3890 * gdb.trace/strace.exp: Likewise.
3891 * gdb.trace/tfind.exp: Likewise.
3892 * gdb.trace/trace-break.exp: Likewise.
3893 * gdb.trace/trace-condition.exp: Likewise.
3894 * gdb.trace/trace-mt.exp: Likewise.
3895 * gdb.trace/tstatus.exp: Likewise.
3896 * gdb.trace/tsv.exp: Likewise.
3897 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3898 * gdb.trace/unavailable.exp: Likewise.
3899 * gdb.trace/while-dyn.exp: Likewise.
3901 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3903 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3904 that libinproctrace is copied to the target.
3906 2018-03-14 Tom Tromey <tom@tromey.com>
3909 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3911 * gdb.base/wchar.exp: Likewise.
3913 2018-03-14 Tom Tromey <tom@tromey.com>
3916 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3919 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3922 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3923 "target" to remote_exec.
3925 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3928 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3929 ${board}_upload): Remove.
3931 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3933 * gdb.cp/watch-cp.cc: New test.
3934 * gdb.cp/watch-cp.exp: New file.
3936 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3938 * gdb.base/infcall-nested-structs.exp: New file.
3939 * gdb.base/infcall-nested-structs.c: New file.
3940 * gdb.base/float.exp: Add riscv support.
3942 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3944 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3945 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3947 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3949 * gdb.server/abspath.exp: New file.
3950 * lib/gdb.exp (with_cwd): New procedure.
3952 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3954 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3956 (gdb_is_target_remote_prompt): New proc.
3957 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3958 (gdb_is_target_native): Pass prompt parameter to
3961 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3963 * gdb.base/load-command.c: New file.
3964 * gdb.base/load-command.exp: New file.
3965 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3966 (gdb_is_target_1): ...this, and generalize for other targets
3968 (gdb_is_target_remote): Use gdb_is_target_1.
3969 (gdb_is_target_native): use gdb_is_target_1.
3971 2018-02-26 Tom Tromey <tom@tromey.com>
3974 * gdb.python/py-framefilter.exp: Update test.
3976 2018-02-26 Tom Tromey <tom@tromey.com>
3978 * gdb.dwarf2/variant.c: New file.
3979 * gdb.dwarf2/variant.exp: New file.
3981 2018-02-26 Tom Tromey <tom@tromey.com>
3983 * gdb.rust/simple.exp: Accept more possible results in enum test.
3985 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3987 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3990 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3992 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3993 name of a variable: $actual_linejj -> $actual_line.
3995 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3997 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3999 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4001 * gdb.btrace/buffer-size.exp: Do not force BTS.
4003 2018-02-14 Pedro Alves <palves@redhat.com>
4005 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4008 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4010 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4013 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4015 * gdb.cp/m-static.exp: Check type of optimized out static
4018 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4020 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4021 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4023 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4024 Leszek Swirski <leszeks@google.com>
4026 * gdb.python/py-prettyprint.c
4027 (struct to_string_returns_value_inner,
4028 struct to_string_returns_value_wrapper): New.
4029 (main): Add tsrvw variable.
4030 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4031 ToStringReturnsValueWrapper): New classes.
4032 (register_pretty_printers): Register new pretty-printers.
4033 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4034 recursive pretty printer.
4035 * gdb.python/py-mi.exp: Likewise.
4037 2018-02-01 Leszek Swirski <leszeks@google.com>
4039 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4040 functions with the same name as an include file are parsed
4043 2018-02-01 Yao Qi <yao.qi@linaro.org>
4045 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4048 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4050 * gdb.arch/powerpc-prologue-frame.s: New file.
4051 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4052 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4054 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4056 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4058 2018-01-30 Pedro Alves <palves@redhat.com>
4061 * gdb.base/interrupt-daemon.c: New.
4062 * gdb.base/interrupt-daemon.exp: New.
4063 * gdb.multi/multi-term-settings.c: New.
4064 * gdb.multi/multi-term-settings.exp: New.
4066 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4068 * gdb.base/break.exp: Save the location where the breakpoint
4069 on break.c:47 was actually inserted when debugging the version
4070 compiled at -O2 and use it in the expected output of the "info
4071 break" test performed soon after.
4073 2018-01-22 Pedro Alves <palves@redhat.com>
4074 Sergio Durigan Junior <sergiodj@redhat.com>
4076 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4077 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4079 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4081 * gdb.base/break-include.c, gdb.base/break-include.inc,
4082 gdb.base/break-include.exp: New files.
4083 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4084 line number now being the actual line number where the breakpoint
4086 * gdb.mi/mi-break.exp: Likewise.
4087 * gdb.mi/mi-reverse.exp: Likewise.
4088 * gdb.mi/mi-simplerun.exp: Ditto.
4090 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4092 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4094 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4096 2018-01-21 Don Breazeal <donb@codesourcery.com>
4097 Andrew Burgess <andrew.burgess@embecosm.com>
4099 * gdb.mi/basics.c: Add new global.
4100 * gdb.mi/mi-frame-regs.exp: New file.
4101 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4104 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4106 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4107 non-parameter, and on an unknown symbol.
4109 2018-01-19 Tom Tromey <tom@tromey.com>
4111 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4112 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4114 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4116 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4117 setrlimit and chdir to int.
4119 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4121 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4123 (my_tend): Likewise.
4124 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4125 rationale of avoiding FP- and vector instructions.
4127 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4129 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4130 "info reg" with "\[ \t\]*".
4131 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4133 * gdb.arch/s390-multiarch.exp: Ditto.
4134 * gdb.base/pc-fp.exp: Ditto.
4135 * gdb.reverse/i386-precsave.exp: Ditto.
4136 * gdb.reverse/i386-reverse.exp: Ditto.
4137 * gdb.reverse/i387-env-reverse.exp: Ditto.
4138 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4140 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4142 * lib/gdb.exp (gdb_compile): Re-enable use of
4143 universal_compile_options for languages other than Rust.
4145 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4147 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4149 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4152 * gdb.base/solib-vanish.exp: New.
4153 * gdb.base/solib-vanish-main.c: New.
4154 * gdb.base/solib-vanish-lib1.c: New.
4155 * gdb.base/solib-vanish-lib2.c: New.
4157 2018-01-17 Yao Qi <yao.qi@linaro.org>
4159 * gdb.compile/compile.exp: Match the address printed for
4160 frame in the output of command "bt".
4162 2018-01-15 Tom Tromey <tom@tromey.com>
4164 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4167 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4169 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4171 (prepare): Return 0 on error, 1 on success.
4173 2018-01-12 Pedro Alves <palves@redhat.com>
4175 * gdb.base/continue-after-aborted-step-over.c: New.
4176 * gdb.base/continue-after-aborted-step-over.exp: New.
4178 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4180 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4181 options when not creating an executable.
4183 2018-01-11 Pedro Alves <palves@redhat.com>
4186 * gdb.server/stop-reply-no-thread.c: New file.
4187 * gdb.server/stop-reply-no-thread.exp: New file.
4189 2018-01-10 Pedro Alves <palves@redhat.com>
4192 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4193 functions too. Test setting breakpoints and printing C functions
4194 with no debug info too.
4195 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4197 2018-01-10 Pedro Alves <palves@redhat.com>
4200 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4203 2018-01-10 Pedro Alves <palves@redhat.com>
4206 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4208 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4210 * gdb.server/unittest.exp: Match the output in non-development
4213 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4215 * gdb.gdb/unittest.exp: Match output in non-development mode.
4217 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4219 * gdb.ada/access_tagged_param.exp: Relax expected output
4220 for value of "ObjL" in "continue" to pck.inspect breakpoint
4223 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4225 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4226 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4228 2018-01-05 Pedro Alves <palves@redhat.com>
4231 * gdb.base/libsegfault.exp: New.
4233 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4236 * gdb.ada/access_tagged_param.exp: New file.
4237 * gdb.ada/access_tagged_param/foo.adb: New file.
4239 2018-01-05 Pedro Alves <palves@redhat.com>
4242 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4243 exercise lower case too, and to exercise both full matching and
4246 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4248 * gdb.ada/rename_subscript_param: New testcase.
4250 2018-01-05 Jerome Guitton <guitton@adacore.com>
4252 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4254 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4256 * gdb.ada/convvar_comp: New testcase.
4258 2018-01-05 Xavier Roirand <roirand@adacore.com>
4260 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4261 (My_Table): New global variable.
4262 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4264 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4267 * gdb.ada/maint_with_ada: New testcase.
4269 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4272 * gdb.ada/bp_c_mixed_case: New testcase.
4274 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4277 * gdb.ada/complete.exp: Add "complete break ada" test.
4279 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4282 * gdb.ada/info_addr_mixed_case: New testcase.
4284 2018-01-03 Xavier Roirand <roirand@adacore.com>
4286 * gdb.ada/excep_handle.exp: New testcase.
4287 * gdb.ada/excep_handle/foo.adb: New file.
4288 * gdb.ada/excep_handle/pck.ads: New file.
4290 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4292 * gdb.base/step-line.c: Add extra empty line in copyright header.
4293 * gdb.base/step-line.inp: Likewise.
4295 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4297 * gdb.ada/dyn_stride.exp: Add slice test.
4299 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4301 * gdb.ada/dyn_stride: New testcase.
4303 2017-12-27 Stafford Horne <shorne@gmail.com>
4305 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4306 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4308 2017-12-27 Stafford Horne <shorne@gmail.com>
4310 * gdb.base/reggroups.c: New file.
4311 * gdb.base/reggroups.exp: New file.
4313 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4315 * gdb.dwarf2/ada-valprint-error.c: New file.
4316 * gdb.dwarf2/ada-valprint-error.exp: New file.
4318 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4320 * gdb.ada/assign_arr: New testcase.
4322 2017-12-18 Xavier Roirand <roirand@adacore.com>
4324 * gdb.ada/funcall_ptr: New testcase.
4326 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4329 * gdb.base/ptype-offsets.cc: New file.
4330 * gdb.base/ptype-offsets.exp: New file.
4332 2017-12-15 Yao Qi <yao.qi@linaro.org>
4334 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4337 2017-12-15 Xavier Roirand <roirand@adacore.com>
4339 * gdb.ada/same_component_name: New testcase.
4341 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4343 * gdb.ada/str_binop_equal: New testcase.
4345 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4347 * gdb.ada/task_switch_in_core: New testcase.
4349 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4351 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4352 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4353 call test_bkpt_qualified.
4354 (test_bkpt_qualified): New proc.
4356 2017-12-13 Pedro Alves <palves@redhat.com>
4358 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4359 Tighten regexp by matching with an anchor.
4361 2017-12-13 Pedro Alves <palves@redhat.com>
4363 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4364 ("expression with namespace"): New set of tests.
4365 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4366 (Nested::Test_NS::qux): New.
4367 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4368 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4370 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4372 * gdb.base/server-del-break.c: New file.
4373 * gdb.base/server-del-break.exp: New file.
4375 2017-12-12 Stafford Horne <shorne@gmail.com>
4377 * gdb.xml/tdesc-regs.exp: Add or1k support.
4379 2017-12-12 Stafford Horne <shorne@gmail.com>
4381 * gdb.base/bp-permanent.c: Define nop of or1k.
4383 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4385 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4386 output with components being reordered.
4388 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4390 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4391 output with components being reordered.
4393 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4394 Pedro Alves <palves@redhat.com>
4396 * gdb.base/maint.exp (check for .gdb_index): Check also for
4398 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4399 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4400 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4401 (.gdb_index used after symbol reloading): Support also .debug_names.
4402 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4404 2017-12-08 Yao Qi <yao.qi@linaro.org>
4406 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4407 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4409 2017-12-08 Yao Qi <yao.qi@linaro.org>
4411 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4412 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4414 2017-12-08 Yao Qi <yao.qi@linaro.org>
4416 * gdb.arch/aarch64-tagged-pointer.c: New file.
4417 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4419 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4421 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4424 2017-12-07 Keith Seitz <keiths@redhat.com>
4426 PR breakpoints/22569
4427 * gdb.linespec/ls-errs.exp: Change expected result of "break
4428 -source this file has spaces.c -line 3".
4429 Check that an explicit source file followed by whitespace is
4430 identified as an invalid explicit location.
4432 2017-12-07 Keith Seitz <keiths@redhat.com>
4434 * gdb.cp/nested-types.cc: New file.
4435 * gdb.cp/nested-types.exp: New file.
4436 * lib/cp-support.exp: Load data-structures.exp library.
4437 (debug_cp_test_ptype_class): New global.
4438 (cp_ptype_class_verbose, next_line): New procedures.
4439 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4440 Add and document new return value.
4441 Switch the list of lines to a queue.
4442 Add support for new `type' key for nested type definitions.
4443 Add debugging/troubleshooting messages.
4444 * lib/data-structures.exp: New file.
4446 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4448 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4449 with proc_with_prefix, don't use with_test_prefix.
4451 2017-12-07 Tom Tromey <tom@tromey.com>
4453 * gdb.base/break.exp: Add test for empty "commands".
4455 2017-12-07 Yao Qi <yao.qi@linaro.org>
4457 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4458 malloc and catch syscall.
4460 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4462 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4463 tests for explicit locations.
4465 2017-12-06 Pedro Alves <palves@redhat.com>
4467 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4468 force-disabling XML descriptions.
4470 2017-12-04 Pedro Alves <palves@redhat.com>
4473 * gdb.arch/amd64-disp-step-avx.S: New file.
4474 * gdb.arch/amd64-disp-step-avx.exp: New file.
4476 2017-12-03 Pedro Alves <palves@redhat.com>
4478 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4480 (parent_function): Print distinct messages when waitpid fails, or
4481 the child exits with a signal, or the child exits for an unhandled
4483 * gdb.threads/process-dies-while-detaching.exp
4484 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4485 it. Wait for both inferior output and GDB's prompt. Use an
4486 indirect spawn id list.
4487 (do_detach): New parameter 'child_exit'. Use it to compute
4488 expected inferior output.
4489 (test_detach, test_detach_watch, test_detach_killed_outside):
4490 Adjust to pass down the expected child exit kind.
4492 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4493 Sergio Durigan Junior <sergiodj@redhat.com>
4494 Pedro Alves <palves@redhat.com>
4496 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4498 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4500 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4501 to 'symbol-file' and 'add-symbol-file' can be
4502 position-independent.
4504 2017-12-01 Yao Qi <yao.qi@linaro.org>
4506 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4507 the URL in copyright header.
4508 * gdb.arch/aarch64-fp.exp: Likewise.
4509 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4510 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4511 * gdb.base/expand-psymtabs.exp: Likewise.
4512 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4513 * gdb.fortran/common-block.exp: Likewise.
4514 * gdb.fortran/common-block.f90: Likewise.
4515 * gdb.fortran/logical.exp: Likewise.
4516 * gdb.fortran/vla-datatypes.f90: Likewise.
4517 * gdb.fortran/vla-sub.f90: Likewise.
4519 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4521 * gdb.ada/repeat_dyn: New testcase.
4523 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4525 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4526 Update for changed thread numbering.
4527 * gdb.cell/bt.exp: Update for changed GDB output.
4529 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4531 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4532 setting isremote by hand.
4533 * boards/dwarf4-gdb-index.exp: Likewise.
4534 * boards/fission.exp: Likewise.
4535 * boards/stabs.exp: Likewise.
4537 2017-11-30 Pedro Alves <palves@redhat.com>
4539 * gdb.linespec/cpls-ops.exp
4540 (check_explicit_skips_function_argument): Extract the underlying
4541 type of size_t instead of hardcoding it.
4543 2017-11-29 Pedro Alves <palves@redhat.com>
4546 * gdb.linespec/cpls-abi-tag.cc: New file.
4547 * gdb.linespec/cpls-abi-tag.exp: New file.
4549 2017-11-29 Pedro Alves <palves@redhat.com>
4551 * gdb.base/langs.exp: Use -qualified.
4552 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4554 * gdb.cp/namespace.exp: Use -qualified.
4555 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4556 (overload-3, template-overload, template-ret-type, const-overload)
4557 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4559 (test_driver): Call them.
4560 * gdb.cp/save-bp-qualified.cc: New.
4561 * gdb.cp/save-bp-qualified.exp: New.
4562 * gdb.linespec/explicit.exp: Test -qualified.
4563 * lib/completion-support.exp (completion::explicit_opts_list): Add
4565 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4567 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4569 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4571 2017-11-29 Tom Tromey <tom@tromey.com>
4573 * gdb.base/relocate.exp: Update invalid argument test.
4574 Add new tests for invalid arguments.
4576 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4578 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4580 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4582 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4584 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4585 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4586 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4588 * gdb.cp/shadow.cc (B.func): Return 0.
4590 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4592 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4593 expected output in gdb_expect call to allow the exception
4594 message to be present as well. Fix syntax confusion to avoid
4595 TCL thinking that exception_name is an array.
4597 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4599 * gdb.arch/spu-info.c: Include <unistd.h>.
4600 (do_signal_test): Fix broken calls to write.
4601 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4602 Fix checks for empty mailboxes. Update signal tests for corrected
4603 do_signal_test routine. Allow nonzero event status.
4604 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4605 * gdb.cell/arch.exp: Use standard_output_file.
4606 * gdb.cell/break.exp: Likewise.
4607 * gdb.cell/bt.exp: Likewise.
4608 * gdb.cell/core.exp: Likewise.
4609 * gdb.cell/dwarfaddr.exp: Likewise.
4610 * gdb.cell/ea-cache.exp: Likewise.
4611 * gdb.cell/ea-standalone.exp: Likewise.
4612 * gdb.cell/f-regs.exp: Likewise.
4613 * gdb.cell/fork.exp: Likewise.
4614 * gdb.cell/gcore.exp: Likewise.
4615 * gdb.cell/mem-access.exp: Likewise.
4616 * gdb.cell/ptype.exp: Likewise.
4617 * gdb.cell/registers.exp: Likewise.
4618 * gdb.cell/sizeof.exp: Likewise.
4619 * gdb.cell/solib-symbol.exp: Likewise.
4620 * gdb.cell/solib.exp: Likewise.
4622 2017-11-25 Pedro Alves <palves@redhat.com>
4624 * gdb.base/complete-empty.exp: New file.
4625 * gdb.base/completion.exp: Adjust.
4627 2017-11-25 Pedro Alves <palves@redhat.com>
4629 * gdb.linespec/cpls-ops.cc: New file.
4630 * gdb.linespec/cpls-ops.exp: New file.
4631 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4632 factored out from ...
4633 (test_complete_prefix_range): ... this.
4635 2017-11-24 Pedro Alves <palves@redhat.com>
4637 * gdb.linespec/cpcompletion.exp: New file.
4638 * gdb.linespec/cpls-hyphen.cc: New file.
4639 * gdb.linespec/cpls.cc: New file.
4640 * gdb.linespec/cpls2.cc: New file.
4641 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4642 test to use test_gdb_complete_unique. Add label completion,
4643 keyword completion and explicit location completion tests.
4644 * lib/completion-support.exp: New file.
4646 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4648 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4649 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4650 when hitting an exception catchpoint.
4652 2017-11-22 Yao Qi <yao.qi@linaro.org>
4654 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4656 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4658 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4659 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4660 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4662 2017-11-22 Yao Qi <yao.qi@linaro.org>
4664 * gdb.base/info-os.exp: Pass pthreads.
4665 * gdb.multi/multi-attach.exp: Likewise.
4667 2017-11-22 Yao Qi <yao.qi@linaro.org>
4669 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4672 2017-11-22 Yao Qi <yao.qi@linaro.org>
4674 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4675 * gdb.base/break-interp.exp: Likewise.
4676 * gdb.base/jit-attach-pie.exp: Likewise.
4678 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4680 * gdb.base/float128.c (large128): New variable.
4681 * gdb.base/float128.exp: Add test to print largest __float128 value.
4683 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4685 * gdb.arch/vsx-regs.exp: Update register content checks.
4687 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4689 * gdb.arch/ppc-longdouble.exp: New file.
4690 * gdb.arch/ppc-longdouble.c: Likewise.
4692 2017-11-21 Pedro Alves <palves@redhat.com>
4694 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4696 2017-11-20 Pedro Alves <palves@redhat.com>
4698 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4699 (long_double_typedef): New typedefs.
4700 Use DEF on double and long double.
4701 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4703 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4704 and 'long_double_ptr_same_size' locals. Use them to decide
4705 whether cast from array/function to float is valid/invalid.
4707 2017-11-17 Tom Tromey <tom@tromey.com>
4709 * gdb.rust/traits.rs: New file.
4710 * gdb.rust/traits.exp: New file.
4712 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4714 * gdb.ada/minsyms: New testcase.
4716 2017-11-16 Pedro Alves <palves@redhat.com>
4718 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4719 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4721 2017-11-16 Pedro Alves <palves@redhat.com>
4723 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4724 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4726 2017-11-16 Pedro Alves <palves@redhat.com>
4728 * gdb.server/reconnect-ctrl-c.c: New file.
4729 * gdb.server/reconnect-ctrl-c.exp: New file.
4731 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4733 * gdb.python/py-rbreak.exp: New file.
4734 * gdb.python/py-rbreak.c: New file.
4735 * gdb.python/py-rbreak-func2.c: New file.
4737 2017-11-16 Pedro Alves <palves@redhat.com>
4739 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4741 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4744 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4746 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4749 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4751 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4754 2017-11-09 Pedro Alves <palves@redhat.com>
4756 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4757 factored out from ...
4758 (top level): ... here, and adjusted to avoid expecting beyond the
4759 prompt in a single gdb_test_multiple.
4761 2017-11-09 Pedro Alves <palves@redhat.com>
4763 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4765 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4766 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4767 * gdb.server/ext-run.exp ("kill" test): Likewise.
4768 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4770 2017-11-09 Pedro Alves <palves@redhat.com>
4772 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4773 match till end of line.
4775 2017-11-09 Pedro Alves <palves@redhat.com>
4777 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4779 2017-11-09 Pedro Alves <palves@redhat.com>
4781 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4782 New procedures, factored out from ...
4783 (top level): ... here, and adjusted to avoid expecting beyond the
4786 2017-11-09 Pedro Alves <palves@redhat.com>
4788 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4789 output. Fix '?' match.
4791 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4793 * gdb.ada/scoped_watch: New testcase.
4794 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4795 which is actually correct.
4796 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4797 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4799 2017-11-08 Pedro Alves <palves@redhat.com>
4801 * gdb.gdb/complaints.exp (test_initial_complaints)
4802 (test_serial_complaints, test_short_complaints): Call
4803 complaint_internal instead of complaint.
4805 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4807 * gdb.threads/tls-core.c: New file.
4808 * gdb.threads/tls-core.exp: Likewise.
4810 2017-11-08 Pedro Alves <palves@redhat.com>
4812 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4813 (p Exported_Capitalized): New test.
4814 (p exported_capitalized): New test.
4816 2017-11-07 Pedro Alves <palves@redhat.com>
4818 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4820 2017-11-07 Pedro Alves <palves@redhat.com>
4822 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4823 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4824 (disable_invalid, disable_inverted, disable_negative): New
4826 ("bad numbers"): New set of tests.
4828 2017-11-07 Pedro Alves <palves@redhat.com>
4830 * gdb.cp/ena-dis-br-range.exp: Add tests.
4832 2017-11-07 Pedro Alves <palves@redhat.com>
4834 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4836 2017-11-07 Xavier Roirand <roirand@adacore.com>
4837 Pedro Alves <palves@redhat.com>
4839 * gdb.base/ena-dis-br.exp: Add reference to
4840 gdb.cp/ena-dis-br-range.exp.
4841 * gdb.cp/ena-dis-br-range.exp: New file.
4842 * gdb.cp/ena-dis-br-range.cc: New file.
4844 2017-11-06 Pedro Alves <palves@redhat.com>
4846 * gdb.base/attach-non-pgrp-leader.c: New.
4847 * gdb.base/attach-non-pgrp-leader.exp: New.
4849 2017-11-06 Pedro Alves <palves@redhat.com>
4851 * configure.ac: No longer check for termio.h and sgtty.h.
4852 * configure: Regenerate.
4853 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4854 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4855 Remove termio and sgtty code.
4857 2017-11-03 Yao Qi <yao.qi@linaro.org>
4859 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4862 2017-11-03 Yao Qi <yao.qi@linaro.org>
4864 * gdb.python/py-thrhandle.exp: Skip it if python is not
4867 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4869 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4870 as a breakpoint command.
4872 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4875 * gdb.python/py-infthread.exp: Test calling
4876 InferiorThread.inferior () multiple times in a row.
4878 2017-10-27 Keith Seitz <keiths@redhat.com>
4880 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4881 Test "info break" for every inlined function breakpoint.
4883 2017-10-27 Yao Qi <yao.qi@linaro.org>
4885 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4887 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4889 * gdb.cp/classes.exp (test_static_members): Test printing
4891 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4892 (Inner::instance, Outer::instance): New.
4894 2017-10-24 Pedro Alves <palves@redhat.com>
4896 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4897 extra console" test in two stages.
4899 2017-10-24 Pedro Alves <palves@redhat.com>
4901 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4903 2017-10-24 Pedro Alves <palves@redhat.com>
4905 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4908 2017-10-24 Pedro Alves <palves@redhat.com>
4910 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4911 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4913 2017-10-24 Pedro Alves <palves@redhat.com>
4915 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4916 parameter and handle it. Don't output read value in test name.
4918 2017-10-24 Pedro Alves <palves@redhat.com>
4920 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4923 2017-10-24 Pedro Alves <palves@redhat.com>
4925 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4926 include the unstable output directory name in the test's name.
4927 (initial_setup_simple) <'set args'>: Use custom test name.
4929 2017-10-24 Pedro Alves <palves@redhat.com>
4931 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4932 with explicit test name.
4934 2017-10-20 Pedro Alves <palves@redhat.com>
4936 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4937 'wait -i'. Use gdb_assert and remote_close.
4939 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4941 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4942 number from variable rather than hard-coded.
4944 2017-10-19 Pedro Alves <palves@redhat.com>
4946 * gdb.base/long-inferior-output.c: New file.
4947 * gdb.base/long-inferior-output.exp: New file.
4949 2017-11-18 Keith Seitz <keiths@redhat.com>
4951 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4954 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4955 Add additional user-defined conversion operator tests.
4957 2017-10-17 Pedro Alves <palves@redhat.com>
4959 * boards/native-stdio-gdbserver.exp: Load "local-board".
4961 2017-10-17 Pedro Alves <palves@redhat.com>
4963 * gdb.base/quit-live.c: New file.
4964 * gdb.base/quit-live.exp: New file.
4966 2017-10-16 Keith Seitz <keiths@redhat.com>
4968 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4969 (class_with_protected_typedef, class_with_private_typedef)
4970 (struct_with_public_typedef, struct_with_protected_typedef)
4971 (struct_with_private_typedef): New classes/structs.
4972 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4973 typedefs and access specifiers.
4975 2017-10-16 Pedro Alves <palves@redhat.com>
4976 Simon Marchi <simon.marchi@polymtl.ca>
4978 * README (Local vs Remote vs Native): New section.
4979 * boards/local-board.exp: New file, with bits factored out from
4981 * boards/native-extended-gdbserver.exp: ... here. Load
4983 * boards/native-gdbserver.exp: Load "local-board".
4984 (${board}_spawn, ${board}_exec): Delete.
4985 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4987 * boards/stdio-gdbserver-base.exp: ... this new file.
4988 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4989 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4991 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4992 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4993 stdio_gdbserver_command.
4994 (${board}_get_remote_address, ${board}_get_comm_port)
4995 (${board}_download, ${board}_upload): Delete.
4996 (get_target_remote_pipe_cmd): New.
4998 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5000 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5001 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5002 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5003 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5004 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5005 remove with_test_prefix.
5007 2017-10-13 Pedro Alves <palves@redhat.com>
5009 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5010 * gdb.base/annota1.exp: Use it instead of is_remote.
5011 * gdb.base/annota3.exp: Use it instead of is_remote.
5012 * gdb.cp/annota2.exp: Use it instead of is_remote.
5013 * gdb.cp/annota3.exp: Use it instead of is_remote.
5014 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5016 2017-10-13 Pedro Alves <palves@redhat.com>
5018 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5019 (test_num_test_vars, run_and_count_vars, find_env)
5020 (test_set_unset_env, test_inherit_env_var): New procedures.
5021 (top level): Use them.
5023 2017-10-13 Pedro Alves <palves@redhat.com>
5025 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5026 also skip on stub-like targets.
5028 2017-10-13 Pedro Alves <palves@redhat.com>
5031 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5032 (top level): Move some tests to ...
5033 (test_not_found): ... this new procedure.
5034 (top level): Call it.
5036 2017-10-13 Pedro Alves <palves@redhat.com>
5038 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5039 expect different "info terminal" output if testing with a
5042 2017-10-13 Pedro Alves <palves@redhat.com>
5043 Simon Marchi <simon.marchi@polymtl.ca>
5046 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5048 2017-10-13 Pedro Alves <palves@redhat.com>
5050 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5053 2017-10-13 Pedro Alves <palves@redhat.com>
5055 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5058 2017-10-13 Pedro Alves <palves@redhat.com>
5060 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5063 2017-10-13 Pedro Alves <palves@redhat.com>
5065 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5067 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5068 instead of is_remote.
5070 2017-10-13 Pedro Alves <palves@redhat.com>
5072 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5073 (top level): Add comment.
5075 2017-10-13 Pedro Alves <palves@redhat.com>
5077 * gdb.base/remote.exp (top level): Fix comment typo and add
5080 2017-10-13 Pedro Alves <palves@redhat.com>
5081 Simon Marchi <simon.marchi@polymtl.ca>
5083 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5084 calls and add comments. Skip test if use_gdb_stub is set.
5085 (top level): Use "set cwd" command instead of "cd" command.
5087 2017-10-13 Pedro Alves <palves@redhat.com>
5089 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5090 is_remote target check.
5092 2017-10-13 Pedro Alves <palves@redhat.com>
5094 * gdb.base/scope.exp: Use build_executable + clean_restart +
5095 gdb_file_cmd instead of prepare_for_testing and no longer skip
5096 "before run" tests on is_remote target boards. Update comments.
5097 * boards/native-extended-gdbserver.exp
5098 (extended_gdbserver_load_last_file): New, factored out from ...
5099 (gdb_load): ... this. Move further below and add comment.
5100 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5102 2017-10-12 Pedro Alves <palves@redhat.com>
5104 * gdb.base/attach.exp: Remove references to gdb64.
5105 * gdb.base/dbx.exp: Remove references to gdb64.
5107 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5108 Pedro Alves <palves@redhat.com>
5110 * gdb.base/label.exp: Remove is_remote target check.
5112 2017-10-12 Pedro Alves <palves@redhat.com>
5114 * gdb.base/auvx.exp (coredir): Update comment.
5115 (top level) <core_works>: Use "set cwd" command instead of "cd"
5118 2017-10-12 Pedro Alves <palves@redhat.com>
5119 Simon Marchi <simon.marchi@polymtl.ca>
5121 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5124 2017-10-12 Pedro Alves <palves@redhat.com>
5125 Simon Marchi <simon.marchi@polymtl.ca>
5127 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5128 Instead skip if there's any gdb_protocol set.
5130 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5131 Pedro Alves <palves@redhat.com>
5133 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5135 2017-10-12 Pedro Alves <palves@redhat.com>
5136 Simon Marchi <simon.marchi@polymtl.ca>
5138 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5139 instead of on dejagnu remote boards.
5141 2017-10-12 Pedro Alves <palves@redhat.com>
5142 Simon Marchi <simon.marchi@polymtl.ca>
5144 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5145 checks. Use build_executable + clean_restart instead of
5146 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5147 of enabling non-stop after starting gdb.
5149 2017-10-12 Pedro Alves <palves@redhat.com>
5151 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5152 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5153 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5154 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5156 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5158 * gdb.arch/arc-tdesc-cpu.exp: New file.
5159 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5161 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5163 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5165 2017-10-10 Pedro Alves <palves@redhat.com>
5167 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5170 2017-10-10 Pedro Alves <palves@redhat.com>
5172 * lib/selftest-support.exp (selftest_setup): Update for
5173 captured_command_loop's prototype change.
5175 2017-10-09 Pedro Alves <palves@redhat.com>
5177 Test both arch1=>arch2 and arch2=>arch1.
5179 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5180 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5182 (append_arch1_options, append_arch2_options, append_arch_options)
5183 (build_executables): New procedures.
5184 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5186 (top level): Add new 'first_arch' testing axis.
5188 2017-10-09 Pedro Alves <palves@redhat.com>
5190 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5192 (thread_start, all_started): New functions.
5193 (main): Spawn new thread and wait until it is scheduled.
5194 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5196 (do_test): Add 'selected_thread' parameter. Run to all_started
5197 instead of main. Explicitly set the breakpoint at main. Switch
5198 to the SELECTED_THREAD thread.
5199 (top level): Test handling the exec event with either the main
5200 thread or the second thread selected.
5202 2017-10-09 Pedro Alves <palves@redhat.com>
5204 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5205 logic. Move STOP marker after the value checks.
5206 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5209 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5211 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5213 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5215 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5216 integer-to-dfp conversion.
5217 * gdb.base/dfp-test.exp: Likewise.
5219 2017-10-04 Pedro Alves <palves@redhat.com>
5221 * gdb.multi/hangout.c: Include <unistd.h>.
5222 (hangout_loop): New function.
5223 (main): Call alarm. Call hangout_loop in a loop.
5224 * gdb.multi/hello.c: Include <unistd.h>.
5225 (hello_loop): New function.
5226 (main): Call alarm. Call hangout_loop in a loop.
5227 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5228 inferior with the other selected.
5230 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5232 * gdb.mi/list-thread-groups-available.exp: New file.
5233 * gdb.mi/list-thread-groups-available.c: New file.
5235 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5237 * gdb.base/set-cwd.exp: Make it available on
5238 native-extended-gdbserver.
5240 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5242 * gdb.base/set-cwd.c: New file.
5243 * gdb.base/set-cwd.exp: Likewise.
5245 2017-10-02 Tom Tromey <tom@tromey.com>
5248 * gdb.rust/simple.rs (main): New variable "fslice".
5249 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5251 2017-10-02 Tom Tromey <tom@tromey.com>
5253 * gdb.rust/simple.exp: Test ptype of a slice.
5255 2017-10-02 Tom Tromey <tom@tromey.com>
5257 * gdb.rust/simple.exp: Test index of slice.
5259 2017-09-27 Tom Tromey <tom@tromey.com>
5261 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5263 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5264 Pedro Alves <palves@redhat.com>
5266 * gdb.base/compare-sections.exp (get value of read-only section): Read
5268 (corrupt read-only section): Likewise and don't set written if patching
5271 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5273 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5276 2017-09-20 Pedro Alves <palves@redhat.com>
5278 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5279 symbol names in gdb's output.
5280 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5282 2017-09-20 Pedro Alves <palves@redhat.com>
5284 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5286 (test_list_ambiguous_symbol): ... this and add a symbol name
5288 (test_list_ambiguous_function): Reimplement on top of
5289 test_list_ambiguous_symbol and also test listing ambiguous
5291 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5292 (ambiguous_fun): ... this.
5293 (ambiguous_var): New.
5294 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5295 (ambiguous_fun): ... this.
5296 (ambiguous_var): New.
5298 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5300 * gdb.base/starti.c: New file.
5301 * gdb.base/starti.exp: New file.
5302 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5304 2017-09-14 Pedro Alves <palves@redhat.com>
5306 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5307 (top level): Use it instead of runto.
5309 2017-09-11 Tom Tromey <tom@tromey.com>
5311 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5313 2017-09-11 Tom Tromey <tom@tromey.com>
5315 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5316 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5318 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5320 * gdb.fortran/printing-types.exp: New file.
5321 * gdb.fortran/printing-types.exp: New file.
5323 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5325 * gdb.fortran/vla-ptype.exp: Fix typos.
5326 * gdb.fortran/vla-value.exp: Same.
5328 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5330 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5331 * gdb.mi/mi-var-child-f.exp: Likewise.
5332 * gdb.mi/mi-vla-fortran.exp: Likewise.
5334 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5335 Christoph Weinmann <christoph.t.weinmann@intel.com>
5336 Bernhard Heckel <bernhard.heckel@intel.com>
5338 * gdb.fortran/ptr-indentation.f90: New file.
5339 * gdb.fortran/ptr-indentation.exp: New file.
5341 2017-09-05 Tom Tromey <tom@tromey.com>
5344 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5346 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5348 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5350 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5352 * gdb.threads/tls-nodebug-pie.c: New file.
5353 * gdb.threads/tls-nodebug-pie.exp: New file.
5355 2017-09-05 Tom Tromey <tom@tromey.com>
5357 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5360 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5362 * gdb.multi/multi-arch-exec.exp: Test with different
5363 "follow-exec-mode" settings.
5364 (do_test): New procedure.
5366 2017-09-04 Pedro Alves <palves@redhat.com>
5368 * gdb.base/func-static.c (S::method const, S::method volatile)
5369 (S::method volatile const): New methods.
5370 (c_s, v_s, cv_s): New instances.
5371 (main): Call method() on them.
5372 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5373 (cannot_resolve): New procedure.
5374 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5375 print-quote-unquoted columns.
5376 (do_test): Test printing each scope too.
5378 2017-09-04 Pedro Alves <palves@redhat.com>
5380 * gdb.base/local-static.exp: Also test with
5381 class::method::variable wholly quoted.
5382 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5384 2017-09-04 Pedro Alves <palves@redhat.com>
5386 * gdb.base/local-static.c: New.
5387 * gdb.base/local-static.cc: New.
5388 * gdb.base/local-static.exp: New.
5390 2017-09-04 Pedro Alves <palves@redhat.com>
5392 * gdb.asm/asm-source.exp: Add casts to int.
5393 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5394 (dataglobal64_1, dataglobal64_2): New globals.
5395 * gdb.base/nodebug.exp: Test different expressions involving the
5396 new globals, with print, whatis and ptype. Add casts to int.
5397 * gdb.base/solib-display.exp: Add casts to int.
5398 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5399 * gdb.cp/m-static.exp: Add cast to int.
5400 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5401 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5402 tls variable with no debug info without a cast. Test with a cast
5404 * gdb.trace/entry-values.exp: Add casts.
5406 2017-09-04 Pedro Alves <palves@redhat.com>
5408 * gdb.base/nodebug.exp: Test that ptype's error about functions
5409 with unknown return type includes the function name too.
5411 2017-09-04 Pedro Alves <palves@redhat.com>
5413 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5414 return type of munmap in infcall.
5415 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5416 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5417 type of ftell in infcall.
5418 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5419 type of getpid in infcall.
5420 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5422 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5423 Bail on failure to extract the pid.
5424 * gdb.base/nodebug.c: #include <stdint.h>.
5425 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5427 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5428 Change expected output of print/whatis/ptype with functions with
5429 no debug info. Test all supported languages. Call
5430 test_call_promotion.
5431 * gdb.compile/compile.exp: Adjust expected output to expect
5433 * gdb.threads/siginfo-threads.exp: Likewise.
5435 2017-09-04 Pedro Alves <palves@redhat.com>
5437 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5438 "prototypes". Test calling float functions via prototyped and
5439 unprototyped function pointers.
5440 (perform_all_tests): New parameter "prototypes". Pass it down.
5441 (top level): Pass down "prototypes" parameter to
5444 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5446 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5447 Test with nested loops.
5449 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5451 * gdb.base/commands.exp: Call the new procedures.
5452 (loop_break_test, loop_continue_test): New procedures.
5454 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5456 * gdb.base/commands.exp: Call new procedure.
5457 (define_if_without_arg_test): New procedure.
5459 2017-09-04 Pedro Alves <palves@redhat.com>
5461 * gdb.base/list-ambiguous.exp: New file.
5462 * gdb.base/list-ambiguous0.c: New file.
5463 * gdb.base/list-ambiguous1.c: New file.
5464 * gdb.base/list.exp (test_list_range): Adjust expected output.
5466 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5468 * gdb.base/share-env-with-gdbserver.c: New file.
5469 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5471 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5473 * gdb.base/commands.exp (gdbvar_simple_if_test,
5474 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5475 progvar_simple_if_test, progvar_simple_while_test,
5476 progvar_complex_if_while_test, user_defined_command_test,
5477 user_defined_command_args_eval,
5478 user_defined_command_args_stack_test,
5479 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5480 temporary_breakpoint_commands,
5481 gdb_test_no_prompt, redefine_hook_test,
5482 redefine_backtrace_test): Remove "global gdb_prompt".
5484 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5486 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5487 New proc, call it from toplevel.
5489 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5492 * gdb.server/normal.c: New file, copied from gdb.base.
5493 * gdb.server/run-without-local-binary.exp: New file.
5495 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5497 * gdb.arch/sparc64-adi.exp: New file.
5498 * gdb.arch/sparc64-adi.c: New file.
5500 2017-08-22 Pedro Alves <palves@redhat.com>
5502 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5503 (top level): Add "list all overloads" tests.
5505 2017-08-22 Tom Tromey <tom@tromey.com>
5507 * gdb.gdb/xfullpath.exp: Remove.
5509 2017-08-21 Pedro Alves <palves@redhat.com>
5512 * gdb.base/symbol-alias.c: New.
5513 * gdb.base/symbol-alias2.c: New.
5514 * gdb.base/symbol-alias.exp: New.
5516 2017-08-21 Pedro Alves <palves@redhat.com>
5518 * gdb.base/dfp-test.c
5519 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5520 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5521 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5522 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5523 * gdb.base/whatis-ptype-typedefs.c: New.
5524 * gdb.base/whatis-ptype-typedefs.exp: New.
5525 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5526 (an_int, an_int_type, an_int_type2): New globals.
5527 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5528 involving typedefs and cast expressions.
5529 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5530 (lookup_typedefs_function): New.
5531 (typedefs_pretty_printers_dict): New.
5532 (top level): Register lookup_typedefs_function in
5533 gdb.pretty_printers.
5535 2017-08-18 Yao Qi <yao.qi@linaro.org>
5537 * gdb.server/unittest.exp: New.
5539 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5542 * gdb.base/environ.exp: Add test to check if 'unset environment'
5545 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5547 * lib/gdb.exp (universal_compile_options): New caching proc.
5548 (gdb_compile): Suppress GCC's coloring of messages.
5550 2017-08-14 Tom Tromey <tom@tromey.com>
5553 * gdb.base/printcmds.exp (test_radices): New function.
5554 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5555 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5556 * lib/gdb.exp (get_integer_valueof): Use p/d.
5558 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5560 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5563 2017-08-05 Tom Tromey <tom@tromey.com>
5565 * gdb.rust/simple.exp: Allow String to appear in a different
5568 2017-07-26 Yao Qi <yao.qi@linaro.org>
5570 * gdb.gdb/unittest.exp: Invoke command
5571 "maintenance check xml-descriptions".
5573 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5575 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5577 (hex128): Drop erroneous calculation of parameters.
5579 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5581 * gdb.python/py-unwind.exp: Disable stack protection when
5584 2017-07-20 Pedro Alves <palves@redhat.com>
5586 * gdb.base/default.exp (set language): Adjust expected output.
5588 2017-07-20 Pedro Alves <palves@redhat.com>
5590 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5591 (test_minsym): ... this, and make static.
5592 (get_pck__foo__bar__minsym): Rename to ...
5593 (get_test_minsym): ... this.
5594 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5595 symbol names and comments.
5596 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5597 (get_test_minsym): ... this.
5598 (pck__foo__bar__minsym__2): Rename to ...
5599 (test_minsym): ... this.
5602 2017-07-17 Pedro Alves <palves@redhat.com>
5604 * gdb.base/completion.exp: Adjust expected output.
5605 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5606 the completer works.
5608 2017-07-17 Pedro Alves <palves@redhat.com>
5610 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5612 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5614 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5616 2017-07-14 Tom Tromey <tom@tromey.com>
5619 * gdb.rust/simple.exp: Add tests.
5621 2017-07-14 Tom Tromey <tom@tromey.com>
5623 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5625 2017-07-14 Pedro Alves <palves@redhat.com>
5627 * gdb.linespec/base/one/thefile.cc (z1): New function.
5628 * gdb.linespec/base/two/thefile.cc (z2): New function.
5629 * gdb.linespec/linespec.exp: Add tests.
5631 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5633 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5634 to mi_create_breakpoint.
5636 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5638 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5639 mi_create_breakpoint.
5641 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5643 * gdb.dlang/demangle.exp: Update for demangling changes.
5645 2017-07-09 Tom Tromey <tom@tromey.com>
5647 * gdb.dwarf2/shortpiece.exp: New file.
5649 2017-07-06 David Blaikie <dblaikie@gmail.com>
5651 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5652 built from fissiont-multi-cu{1,2}.c.
5653 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5654 except putting 'main' and 'func' in separate CUs in the same DWO file.
5655 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5657 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5660 2017-07-06 Pedro Alves <palves@redhat.com>
5662 * gdb.python/py-unwind.exp: Test flushregs.
5664 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5667 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5668 tests for alias commands and trailing whitespace.
5670 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5673 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5676 2017-06-29 Pedro Alves <palves@redhat.com>
5678 * gdb.base/printcmds.exp: Add tests.
5680 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5683 * gdb.base/reread-readsym.exp: New file.
5684 * gdb.base/reread-readsym.c: New file.
5686 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5688 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5691 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5693 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5695 * gdb.arch/powerpc-power9.s: Likewise.
5697 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5699 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5700 on 32-bit x86 targets. Exploit is_*_target macros where
5703 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5705 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5708 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5710 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5711 located in one or more DWARF pieces.
5713 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5715 * lib/gdb.exp (get_endianness): New proc.
5716 * gdb.arch/aarch64-fp.exp: Use it.
5717 * gdb.arch/altivec-regs.exp: Likewise.
5718 * gdb.arch/e500-regs.exp: Likewise.
5719 * gdb.arch/vsx-regs.exp: Likewise.
5720 * gdb.base/dump.exp: Likewise.
5721 * gdb.base/funcargs.exp: Likewise.
5722 * gdb.base/gnu_vector.exp: Likewise.
5723 * gdb.dwarf2/formdata16.exp: Likewise.
5724 * gdb.dwarf2/implptrpiece.exp: Likewise.
5725 * gdb.dwarf2/nonvar-access.exp: Likewise.
5726 * gdb.python/py-inferior.exp: Likewise.
5727 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5729 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5732 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5733 stack value pieces are taken from the LSB end.
5735 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5737 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5738 variable at nonzero offset.
5740 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5742 * gdb.dwarf2/var-access.c: New file.
5743 * gdb.dwarf2/var-access.exp: New test.
5744 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5746 2017-06-12 Tom Tromey <tom@tromey.com>
5748 * gdb.dwarf2/formdata16.exp: Add tests.
5750 2017-06-12 Tom Tromey <tom@tromey.com>
5752 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5754 2017-06-12 Tom Tromey <tom@tromey.com>
5757 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5758 * gdb.arch/vsx-regs.exp: Update tests.
5759 * gdb.arch/s390-vregs.exp (hex128): New proc.
5761 * gdb.arch/altivec-regs.exp: Update tests.
5763 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5765 * gdb.base/startup-with-shell.c: New file.
5766 * gdb.base/startup-with-shell.exp: Likewise.
5768 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5770 * gdb.server/non-existing-program.exp: Update regex in order to
5771 reflect the fact that gdbserver is now using fork_inferior (with a
5772 shell) to startup the inferior.
5774 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5776 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5777 support function calls from GDB.
5779 2017-05-21 Tom Tromey <tom@tromey.com>
5782 * gdb.rust/unsized.exp: New file.
5783 * gdb.rust/unsized.rs: New file.
5785 2017-05-19 Tom Tromey <tom@tromey.com>
5788 * gdb.rust/watch.exp: New file.
5789 * gdb.rust/watch.rs: New file.
5791 2017-05-18 Tom Tromey <tom@tromey.com>
5793 * gdb.rust/simple.exp: Allow Box to be qualified.
5795 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5797 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5799 2017-05-18 Pedro Alves <palves@redhat.com>
5801 * gdb.base/fileio.c (test_write, test_read, test_close)
5802 (test_fstat): Don't print 'ret' in the fail path.
5804 2017-05-18 Pedro Alves <palves@redhat.com>
5806 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5807 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5808 (test_system, test_rename, test_unlink, test_time): Change
5810 * gdb.base/fileio.exp (stop_msg): Adjust.
5812 2017-05-18 Pedro Alves <palves@redhat.com>
5814 * gdb.base/fileio.c (null_str): New global.
5815 (test_stat): Use it.
5816 * gdb.base/fileio.exp: Remove nowarnings.
5818 2017-05-17 Yao Qi <yao.qi@linaro.org>
5820 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5822 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5824 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5826 (top-level): Invoke test_set_inferior_tty.
5828 2017-05-04 Pedro Alves <palves@redhat.com>
5830 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5831 Add parens to print call for Python 3.
5833 2017-05-03 Keith Seitz <keiths@redhat.com>
5835 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5838 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5840 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5843 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5845 * gdb.python/py-record-btrace.exp: Remove test for
5846 gdb.BtraceInstruction.error.
5848 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5850 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5852 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5854 * gdb.python/py-record-btrace-threads.c: New file.
5855 * gdb.python/py-record-btrace-threads.exp: New file.
5857 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5860 * gdb.base/environ.exp: Make test available in all architectures.
5861 Move bits related to "info program" testing to
5862 gdb.base/info-program.exp. Rewrite tests to use the two new
5863 procedures mentione below.
5864 (test_set_show_env_var) New procedure.
5865 (test_set_show_env_var_equal): Likewise.
5866 * gdb.base/info-program.exp: New file.
5868 2017-04-27 Keith Seitz <keiths@redhat.com>
5870 * gdb.cp/oranking.cc (test15): New function.
5871 (main): Call test15 and declare additional variables for testing.
5872 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5873 "p foo101('abc')" tests.
5874 Add tests for cv qualifier overloads.
5875 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5876 "lvalue reference overload" test.
5877 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5878 "print value of f1 on Child&& in f2" test.
5880 2017-04-19 Pedro Alves <palves@redhat.com>
5882 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5884 (top level): Call it.
5885 * lib/gdb.exp (gdb_define_cmd): New procedure.
5887 2017-04-12 Pedro Alves <palves@redhat.com>
5890 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5891 (wchar): New global.
5892 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5893 (do_test_wide_char, wide_char_types_no_program, top level): Add
5896 2017-04-12 Pedro Alves <palves@redhat.com>
5899 * gdb.cp/wide_char_types.c: New file.
5900 * gdb.cp/wide_char_types.exp: New file.
5902 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5905 * gdb.trace/tsv.exp: Add test for "tsave -r".
5907 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5909 * gdb.dlang/watch-loc.c: New file.
5910 * gdb.dlang/watch-loc.exp: New file.
5912 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5914 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5916 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5918 * gdb.arch/arc-analyze-prologue.S: New file.
5919 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5921 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5923 * gdb.arch/arc-decode-insn.S: New file.
5924 * gdb.arch/arc-decode-insn.exp: Likewise.
5926 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5929 * gdb.arch/sparc64-regs.exp: New file.
5930 * gdb.arch/sparc64-regs.S: Likewise.
5932 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5934 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5935 and memory view on Python 3.
5937 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5938 Keith Seitz <keiths@redhat.com>
5941 * gdb.cp/demangle.exp: Add rvalue reference tests.
5942 * gdb.cp/rvalue-ref-casts.cc: New file.
5943 * gdb.cp/rvalue-ref-casts.exp: New file.
5944 * gdb.cp/rvalue-ref-overload.cc: New file.
5945 * gdb.cp/rvalue-ref-overload.exp: New file.
5946 * gdb.cp/rvalue-ref-params.cc: New file.
5947 * gdb.cp/rvalue-ref-params.exp: New file.
5948 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5949 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5950 * gdb.cp/rvalue-ref-types.cc: New file.
5951 * gdb.cp/rvalue-ref-types.exp: New file.
5952 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5953 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5955 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5957 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5960 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5962 * lib/mi-support.exp (mi_gdb_test): Add additional message
5963 for unexpected output.
5965 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5967 * gdb.base/examine-backward.c (Barrier): New character array
5968 constant, to ensure that TestStrings is preceded by a string
5971 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5973 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5974 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5975 and implicit pointer into such a location.
5977 2017-03-16 Doug Evans <dje@google.com>
5979 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5981 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5983 * gdb.cp/m-static.exp: Fix expectation for prototype of
5984 test5.single_constructor and single_constructor::single_constructor.
5986 2017-03-16 Doug Evans <dje@google.com>
5988 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5989 * gdb.guile/scm-lazy-string.c: New file.
5990 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5991 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5992 for pointer, array, typedef lazy strings.
5994 2017-03-16 Doug Evans <dje@google.com>
5996 PR python/17728, python/18439, python/18779
5997 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5998 * gdb.python/py-lazy-string.c (pointer): New typedef.
5999 (main): New locals ptr, array, typedef_ptr.
6000 * gdb.python/py-value.exp: Move lazy string tests to ...
6001 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6002 array, typedef lazy strings.
6004 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6006 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6007 Add optional 'test' parameter.
6009 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6011 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6012 Skip for versions of DejaGnu < 1.5.
6014 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6016 * lib/gdb.exp (dejagnu_version): New proc.
6017 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6018 Use dejagnu_version.
6020 2017-03-10 Keith Seitz <keiths@redhat.com>
6023 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6024 type from destructor regexps.
6025 Add a branch which actually passes the test.
6026 Adjust "ptype t5i" test names.
6028 2017-03-08 Pedro Alves <palves@redhat.com>
6030 * gdb.base/step-over-exit.exp: Add explicit test message.
6032 2017-03-08 Pedro Alves <palves@redhat.com>
6035 * gdb.threads/interrupt-while-step-over.c: New file.
6036 * gdb.threads/interrupt-while-step-over.exp: New file.
6038 2017-03-08 Pedro Alves <palves@redhat.com>
6040 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6041 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6043 2017-03-08 Pedro Alves <palves@redhat.com>
6045 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6046 PKRU as not supported as a PASS.
6048 2017-03-08 Pedro Alves <palves@redhat.com>
6050 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6051 prefix instead of $binfile1/$binfile2.
6052 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6054 * gdb.python/py-completion.exp: Use "load python file" as test
6055 messages instead of unstable path names.
6057 2017-03-08 Pedro Alves <palves@redhat.com>
6058 Jan Kratochvil <jan.kratochvil@redhat.com>
6061 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6063 (top level): Call it.
6065 2017-03-08 Pedro Alves <palves@redhat.com>
6068 * gdb.tui/tui-nl-filtered-output.exp: New file.
6070 2017-03-08 Pedro Alves <palves@redhat.com>
6072 * gdb.base/completion.exp: Move TUI completion tests to ...
6073 * gdb.tui/completion.exp: ... this new file.
6075 2017-03-08 Pedro Alves <palves@redhat.com>
6077 * gdb.base/tui-disasm-long-lines.c,
6078 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6079 gdb.base/tui-layout.exp: Move to ...
6080 * gdb.tui/: ... this new directory.
6082 2017-03-07 Pedro Alves <palves@redhat.com>
6084 * gdb.base/tui-layout.c: New file.
6085 * gdb.base/tui-layout.exp: New file.
6087 2017-03-07 Pedro Alves <palves@redhat.com>
6089 * gdb.base/tui-layout.c: Rename to ...
6090 * gdb.base/tui-disasm-long-lines.c: ... this.
6091 * gdb.base/tui-layout.exp: Rename to ...
6092 * gdb.base/tui-disasm-long-lines.exp: ... this.
6094 2017-03-07 Pedro Alves <palves@redhat.com>
6096 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6098 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6100 * i386-mpx-call.c: New file.
6101 * i386-mpx-call.exp: New file.
6103 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6105 * gdb.arch/powerpc-power.exp: Delete test.
6106 * gdb.arch/powerpc-power.s: Likewise.
6107 * gdb.disasm/disassembler-options.exp: New test.
6108 * gdb.arch/powerpc-altivec.exp: Likewise.
6109 * gdb.arch/powerpc-altivec.s: Likewise.
6110 * gdb.arch/powerpc-altivec2.exp: Likewise.
6111 * gdb.arch/powerpc-altivec2.s: Likewise.
6112 * gdb.arch/powerpc-altivec3.exp: Likewise.
6113 * gdb.arch/powerpc-altivec3.s: Likewise.
6114 * gdb.arch/powerpc-power7.exp: Likewise.
6115 * gdb.arch/powerpc-power7.s: Likewise.
6116 * gdb.arch/powerpc-power8.exp: Likewise.
6117 * gdb.arch/powerpc-power8.s: Likewise.
6118 * gdb.arch/powerpc-power9.exp: Likewise.
6119 * gdb.arch/powerpc-power9.s: Likewise.
6120 * gdb.arch/powerpc-vsx.exp: Likewise.
6121 * gdb.arch/powerpc-vsx.s: Likewise.
6122 * gdb.arch/powerpc-vsx2.exp: Likewise.
6123 * gdb.arch/powerpc-vsx2.s: Likewise.
6124 * gdb.arch/powerpc-vsx3.exp: Likewise.
6125 * gdb.arch/powerpc-vsx3.s: Likewise.
6126 * gdb.arch/arm-disassembler-options.exp: Likewise.
6127 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6128 * gdb.arch/s390-disassembler-options.exp: Likewise.
6130 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6132 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6133 (check_supported_features): ... this. Changed return type to void.
6134 (supports_rdseed): New static global.
6135 (rdseed): Check supports_rdseed.
6136 (initialize): Call check_supported_features.
6138 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6140 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6141 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6143 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6144 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6146 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6148 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6151 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6153 * gdb.dwarf2/formdata16.c: New file.
6154 * gdb.dwarf2/formdata16.exp: New file.
6155 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6157 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6159 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6160 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6161 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6162 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6165 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6167 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6169 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6172 * gdb.base/maint.exp: Add testcases for when the commands do
6175 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6177 * gdb.cp/chained-calls.exp: Use p instead of P.
6179 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6181 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6182 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6184 2017-02-14 Tom Tromey <tom@tromey.com>
6187 * gdb.python/py-events.exp: Add before_prompt event tests.
6189 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6191 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6193 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6195 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6196 (main): Call my_unique_function_name.
6197 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6198 completion of patterns with a single match.
6199 Add missing -re switches to gdb_test_multiple calls.
6201 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6203 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6204 return if core file is not recognized.
6206 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6208 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6211 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6213 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6216 2017-02-10 Tom Tromey <tom@tromey.com>
6218 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6220 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6223 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6225 2017-02-08 Jerome Guitton <guitton@adacore.com>
6227 * gdb.base/define.exp: Add test for command abbreviations
6230 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6232 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6233 * gdb.reverse/insn-reverse-x86.c: New file.
6235 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6238 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6240 2017-02-03 Tom Tromey <tom@tromey.com>
6243 * gdb.rust/simple.exp: Add new tests.
6245 2017-02-02 Pedro Alves <palves@redhat.com>
6247 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6250 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6252 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6253 taking a 2-byte value out of a 4-byte DWARF implicit value on
6255 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6256 logic. Add test cases for DW_OP_implicit.
6258 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6260 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6262 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6264 * gdb.btrace/enable.exp: Call gdb_exit before
6265 skip_gdbserver_tests.
6267 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6269 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6272 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6274 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6275 the test is skipped.
6276 * gdb.btrace/data.exp: Likewise.
6277 * gdb.btrace/delta.exp: Likewise.
6278 * gdb.btrace/dlopen.exp: Likewise.
6279 * gdb.btrace/enable-running.exp: Likewise.
6280 * gdb.btrace/enable.exp: Likewise.
6281 * gdb.btrace/exception.exp: Likewise.
6282 * gdb.btrace/function_call_history.exp: Likewise.
6283 * gdb.btrace/gcore.exp: Likewise.
6284 * gdb.btrace/instruction_history.exp: Likewise.
6285 * gdb.btrace/multi-thread-step.exp: Likewise.
6286 * gdb.btrace/nohist.exp: Likewise.
6287 * gdb.btrace/non-stop.exp: Likewise.
6288 * gdb.btrace/reconnect.exp: Likewise.
6289 * gdb.btrace/record_goto-step.exp: Likewise.
6290 * gdb.btrace/record_goto.exp: Likewise.
6291 * gdb.btrace/rn-dl-bind.exp: Likewise.
6292 * gdb.btrace/segv.exp: Likewise.
6293 * gdb.btrace/step.exp: Likewise.
6294 * gdb.btrace/stepi.exp: Likewise.
6295 * gdb.btrace/tailcall-only.exp: Likewise.
6296 * gdb.btrace/tailcall.exp: Likewise.
6297 * gdb.btrace/tsx.exp: Likewise.
6298 * gdb.btrace/unknown_functions.exp: Likewise.
6299 * gdb.btrace/vdso.exp: Likewise.
6301 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6303 * gdb.btrace/enable-running.c: New.
6304 * gdb.btrace/enable-running.exp: New.
6306 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6308 * gdb.arch/amd64-gs_base.c: New file.
6309 * gdb.arch/amd64-gs_base.exp: New file.
6311 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6313 * lib/memory.exp: Remove spurious empty newlines.
6315 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6317 * gdb.python/py-bad-printers.exp: Load python file using "source".
6318 * gdb.python/py-events.exp: Likewise.
6319 * gdb.python/py-evsignal.exp: Likewise.
6320 * gdb.python/py-evthreads.exp: Likewise.
6321 * gdb.python/py-frame-args.exp: Likewise.
6322 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6323 * gdb.python/py-framefilter-mi.exp: Likewise.
6324 * gdb.python/py-framefilter.exp: Likewise.
6325 * gdb.python/py-mi.exp: Likewise.
6326 * gdb.python/py-pp-maint.exp: Likewise.
6327 * gdb.python/py-pp-registration.exp: Likewise.
6328 * gdb.python/py-prettyprint.exp: Likewise.
6329 (run_lang_tests): Likewise.
6330 * gdb.python/py-typeprint.exp: Likewise.
6332 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6334 * lib/memory.exp: New file.
6335 * lib/gdb.exp: Load memory.exp.
6336 * gdb.base/memattr.exp (delete_memory): Move proc to
6337 lib/memory.exp and rename to delete_memory_regions.
6338 Replace delete_memory with delete_memory_regions.
6339 Cleanup memory regions before tests.
6340 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6343 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6345 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6347 (initialize): New function conditionally defined.
6348 (testcases): Move within conditional block.
6349 (main): Call initialize.
6350 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6351 of gdb.reverse/insn-reverse.c.
6352 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6353 gdb.reverse/insn-reverse.c.
6355 2017-01-26 Yao Qi <yao.qi@linaro.org>
6357 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6358 disassemble on address 0.
6360 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6361 Yao Qi <yao.qi@linaro.org>
6363 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6364 * gdb.dwarf2/implptr-64bit.S: Remove.
6365 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6366 variables in caller's context. Add DW_OP_implicit_value.
6368 2017-01-25 Yao Qi <yao.qi@linaro.org>
6370 * lib/dwarf.exp (Dwarf::_location): Handle
6371 DW_OP_GNU_implicit_pointer with proper size.
6373 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6375 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6376 and add untested calls.
6378 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6380 * gdb.python/python.exp: Check line number against what GDB thinks
6381 the line number is for func1.
6383 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6385 * gdb.dlang/debug-expr.exp: New file.
6387 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6389 Fix test names for the following files:
6391 * gdb.ada/exec_changed.exp
6392 * gdb.ada/info_types.exp
6393 * gdb.arch/aarch64-atomic-inst.exp
6394 * gdb.arch/aarch64-fp.exp
6395 * gdb.arch/altivec-abi.exp
6396 * gdb.arch/altivec-regs.exp
6397 * gdb.arch/amd64-byte.exp
6398 * gdb.arch/amd64-disp-step.exp
6399 * gdb.arch/amd64-dword.exp
6400 * gdb.arch/amd64-entry-value-inline.exp
6401 * gdb.arch/amd64-entry-value-param.exp
6402 * gdb.arch/amd64-entry-value-paramref.exp
6403 * gdb.arch/amd64-entry-value.exp
6404 * gdb.arch/amd64-i386-address.exp
6405 * gdb.arch/amd64-invalid-stack-middle.exp
6406 * gdb.arch/amd64-invalid-stack-top.exp
6407 * gdb.arch/amd64-optimout-repeat.exp
6408 * gdb.arch/amd64-prologue-skip.exp
6409 * gdb.arch/amd64-prologue-xmm.exp
6410 * gdb.arch/amd64-stap-special-operands.exp
6411 * gdb.arch/amd64-stap-wrong-subexp.exp
6412 * gdb.arch/amd64-tailcall-cxx.exp
6413 * gdb.arch/amd64-tailcall-noret.exp
6414 * gdb.arch/amd64-tailcall-ret.exp
6415 * gdb.arch/amd64-tailcall-self.exp
6416 * gdb.arch/amd64-word.exp
6417 * gdb.arch/arm-bl-branch-dest.exp
6418 * gdb.arch/arm-disp-step.exp
6419 * gdb.arch/arm-neon.exp
6420 * gdb.arch/arm-single-step-kernel-helper.exp
6421 * gdb.arch/avr-flash-qualifier.exp
6422 * gdb.arch/disp-step-insn-reloc.exp
6423 * gdb.arch/e500-abi.exp
6424 * gdb.arch/e500-regs.exp
6425 * gdb.arch/ftrace-insn-reloc.exp
6426 * gdb.arch/i386-avx512.exp
6427 * gdb.arch/i386-bp_permanent.exp
6428 * gdb.arch/i386-byte.exp
6429 * gdb.arch/i386-cfi-notcurrent.exp
6430 * gdb.arch/i386-disp-step.exp
6431 * gdb.arch/i386-dr3-watch.exp
6432 * gdb.arch/i386-float.exp
6433 * gdb.arch/i386-gnu-cfi.exp
6434 * gdb.arch/i386-mpx-map.exp
6435 * gdb.arch/i386-mpx-sigsegv.exp
6436 * gdb.arch/i386-mpx-simple_segv.exp
6437 * gdb.arch/i386-mpx.exp
6438 * gdb.arch/i386-permbkpt.exp
6439 * gdb.arch/i386-prologue.exp
6440 * gdb.arch/i386-signal.exp
6441 * gdb.arch/i386-size-overlap.exp
6442 * gdb.arch/i386-unwind.exp
6443 * gdb.arch/i386-word.exp
6444 * gdb.arch/mips-fcr.exp
6445 * gdb.arch/powerpc-d128-regs.exp
6446 * gdb.arch/powerpc-stackless.exp
6447 * gdb.arch/ppc64-atomic-inst.exp
6448 * gdb.arch/s390-stackless.exp
6449 * gdb.arch/s390-tdbregs.exp
6450 * gdb.arch/s390-vregs.exp
6451 * gdb.arch/sparc-sysstep.exp
6452 * gdb.arch/thumb-bx-pc.exp
6453 * gdb.arch/thumb-singlestep.exp
6454 * gdb.arch/thumb2-it.exp
6455 * gdb.arch/vsx-regs.exp
6456 * gdb.asm/asm-source.exp
6457 * gdb.base/a2-run.exp
6458 * gdb.base/advance.exp
6459 * gdb.base/all-bin.exp
6462 * gdb.base/arithmet.exp
6463 * gdb.base/async-shell.exp
6464 * gdb.base/async.exp
6465 * gdb.base/attach-pie-noexec.exp
6466 * gdb.base/attach-twice.exp
6467 * gdb.base/auto-load.exp
6469 * gdb.base/bitfields.exp
6470 * gdb.base/break-always.exp
6471 * gdb.base/break-caller-line.exp
6472 * gdb.base/break-entry.exp
6473 * gdb.base/break-inline.exp
6474 * gdb.base/break-on-linker-gcd-function.exp
6475 * gdb.base/break-probes.exp
6476 * gdb.base/break.exp
6477 * gdb.base/breakpoint-shadow.exp
6478 * gdb.base/call-ar-st.exp
6479 * gdb.base/call-sc.exp
6480 * gdb.base/call-signal-resume.exp
6481 * gdb.base/call-strs.exp
6482 * gdb.base/callfuncs.exp
6483 * gdb.base/catch-fork-static.exp
6484 * gdb.base/catch-gdb-caused-signals.exp
6485 * gdb.base/catch-load.exp
6486 * gdb.base/catch-signal-fork.exp
6487 * gdb.base/catch-signal.exp
6488 * gdb.base/catch-syscall.exp
6489 * gdb.base/charset.exp
6490 * gdb.base/checkpoint.exp
6491 * gdb.base/chng-syms.exp
6492 * gdb.base/code-expr.exp
6493 * gdb.base/code_elim.exp
6494 * gdb.base/commands.exp
6495 * gdb.base/completion.exp
6496 * gdb.base/complex.exp
6497 * gdb.base/cond-expr.exp
6498 * gdb.base/condbreak.exp
6499 * gdb.base/consecutive.exp
6500 * gdb.base/continue-all-already-running.exp
6501 * gdb.base/coredump-filter.exp
6502 * gdb.base/corefile.exp
6504 * gdb.base/debug-expr.exp
6505 * gdb.base/define.exp
6507 * gdb.base/disabled-location.exp
6508 * gdb.base/disasm-end-cu.exp
6509 * gdb.base/disasm-optim.exp
6510 * gdb.base/display.exp
6511 * gdb.base/duplicate-bp.exp
6512 * gdb.base/ena-dis-br.exp
6513 * gdb.base/ending-run.exp
6514 * gdb.base/enumval.exp
6515 * gdb.base/environ.exp
6516 * gdb.base/eu-strip-infcall.exp
6517 * gdb.base/eval-avoid-side-effects.exp
6518 * gdb.base/eval-skip.exp
6519 * gdb.base/exitsignal.exp
6520 * gdb.base/expand-psymtabs.exp
6521 * gdb.base/filesym.exp
6522 * gdb.base/find-unmapped.exp
6523 * gdb.base/finish.exp
6524 * gdb.base/float.exp
6525 * gdb.base/foll-exec-mode.exp
6526 * gdb.base/foll-exec.exp
6527 * gdb.base/foll-fork.exp
6528 * gdb.base/fortran-sym-case.exp
6529 * gdb.base/freebpcmd.exp
6530 * gdb.base/func-ptr.exp
6531 * gdb.base/func-ptrs.exp
6532 * gdb.base/funcargs.exp
6533 * gdb.base/gcore-buffer-overflow.exp
6534 * gdb.base/gcore-relro-pie.exp
6535 * gdb.base/gcore-relro.exp
6536 * gdb.base/gcore.exp
6537 * gdb.base/gdb1090.exp
6538 * gdb.base/gdb11530.exp
6539 * gdb.base/gdb11531.exp
6540 * gdb.base/gdb1821.exp
6541 * gdb.base/gdbindex-stabs.exp
6542 * gdb.base/gdbvars.exp
6543 * gdb.base/hbreak.exp
6544 * gdb.base/hbreak2.exp
6545 * gdb.base/included.exp
6546 * gdb.base/infcall-input.exp
6547 * gdb.base/inferior-died.exp
6548 * gdb.base/infnan.exp
6549 * gdb.base/info-macros.exp
6550 * gdb.base/info-os.exp
6551 * gdb.base/info-proc.exp
6552 * gdb.base/info-shared.exp
6553 * gdb.base/info-target.exp
6554 * gdb.base/infoline.exp
6555 * gdb.base/interp.exp
6556 * gdb.base/interrupt.exp
6557 * gdb.base/jit-reader.exp
6558 * gdb.base/jit-simple.exp
6559 * gdb.base/kill-after-signal.exp
6560 * gdb.base/kill-detach-inferiors-cmd.exp
6561 * gdb.base/label.exp
6562 * gdb.base/langs.exp
6563 * gdb.base/ldbl_e308.exp
6564 * gdb.base/line-symtabs.exp
6565 * gdb.base/linespecs.exp
6567 * gdb.base/long_long.exp
6568 * gdb.base/longest-types.exp
6569 * gdb.base/maint.exp
6570 * gdb.base/max-value-size.exp
6571 * gdb.base/memattr.exp
6572 * gdb.base/mips_pro.exp
6573 * gdb.base/morestack.exp
6574 * gdb.base/moribund-step.exp
6575 * gdb.base/multi-forks.exp
6576 * gdb.base/nested-addr.exp
6577 * gdb.base/nextoverexit.exp
6578 * gdb.base/noreturn-finish.exp
6579 * gdb.base/noreturn-return.exp
6580 * gdb.base/nostdlib.exp
6581 * gdb.base/offsets.exp
6582 * gdb.base/opaque.exp
6583 * gdb.base/pc-fp.exp
6584 * gdb.base/permissions.exp
6585 * gdb.base/print-symbol-loading.exp
6586 * gdb.base/prologue-include.exp
6587 * gdb.base/psymtab.exp
6588 * gdb.base/ptype.exp
6589 * gdb.base/random-signal.exp
6590 * gdb.base/randomize.exp
6591 * gdb.base/range-stepping.exp
6592 * gdb.base/readline-ask.exp
6593 * gdb.base/recpar.exp
6594 * gdb.base/recurse.exp
6595 * gdb.base/relational.exp
6596 * gdb.base/restore.exp
6597 * gdb.base/return-nodebug.exp
6598 * gdb.base/return.exp
6599 * gdb.base/run-after-attach.exp
6600 * gdb.base/save-bp.exp
6601 * gdb.base/scope.exp
6602 * gdb.base/sect-cmd.exp
6603 * gdb.base/set-lang-auto.exp
6604 * gdb.base/set-noassign.exp
6605 * gdb.base/setvar.exp
6606 * gdb.base/sigall.exp
6607 * gdb.base/sigbpt.exp
6608 * gdb.base/siginfo-addr.exp
6609 * gdb.base/siginfo-infcall.exp
6610 * gdb.base/siginfo-obj.exp
6611 * gdb.base/siginfo.exp
6612 * gdb.base/signals-state-child.exp
6613 * gdb.base/signest.exp
6614 * gdb.base/sigstep.exp
6615 * gdb.base/sizeof.exp
6617 * gdb.base/solib-corrupted.exp
6618 * gdb.base/solib-nodir.exp
6619 * gdb.base/solib-search.exp
6620 * gdb.base/stack-checking.exp
6621 * gdb.base/stale-infcall.exp
6622 * gdb.base/stap-probe.exp
6623 * gdb.base/start.exp
6624 * gdb.base/step-break.exp
6625 * gdb.base/step-bt.exp
6626 * gdb.base/step-line.exp
6627 * gdb.base/step-over-exit.exp
6628 * gdb.base/step-over-syscall.exp
6629 * gdb.base/step-resume-infcall.exp
6630 * gdb.base/step-test.exp
6631 * gdb.base/store.exp
6632 * gdb.base/structs3.exp
6633 * gdb.base/sym-file.exp
6634 * gdb.base/symbol-without-target_section.exp
6636 * gdb.base/testenv.exp
6637 * gdb.base/ui-redirect.exp
6638 * gdb.base/until.exp
6639 * gdb.base/unwindonsignal.exp
6640 * gdb.base/value-double-free.exp
6641 * gdb.base/vla-datatypes.exp
6642 * gdb.base/vla-ptr.exp
6643 * gdb.base/vla-sideeffect.exp
6644 * gdb.base/volatile.exp
6645 * gdb.base/watch-cond-infcall.exp
6646 * gdb.base/watch-cond.exp
6647 * gdb.base/watch-non-mem.exp
6648 * gdb.base/watch-read.exp
6649 * gdb.base/watch-vfork.exp
6650 * gdb.base/watchpoint-cond-gone.exp
6651 * gdb.base/watchpoint-delete.exp
6652 * gdb.base/watchpoint-hw-hit-once.exp
6653 * gdb.base/watchpoint-hw.exp
6654 * gdb.base/watchpoint-stops-at-right-insn.exp
6655 * gdb.base/watchpoints.exp
6656 * gdb.base/wchar.exp
6657 * gdb.base/whatis-exp.exp
6658 * gdb.btrace/buffer-size.exp
6659 * gdb.btrace/data.exp
6660 * gdb.btrace/delta.exp
6661 * gdb.btrace/dlopen.exp
6662 * gdb.btrace/enable.exp
6663 * gdb.btrace/exception.exp
6664 * gdb.btrace/function_call_history.exp
6665 * gdb.btrace/gcore.exp
6666 * gdb.btrace/instruction_history.exp
6667 * gdb.btrace/nohist.exp
6668 * gdb.btrace/reconnect.exp
6669 * gdb.btrace/record_goto-step.exp
6670 * gdb.btrace/record_goto.exp
6671 * gdb.btrace/rn-dl-bind.exp
6672 * gdb.btrace/segv.exp
6673 * gdb.btrace/step.exp
6674 * gdb.btrace/stepi.exp
6675 * gdb.btrace/tailcall-only.exp
6676 * gdb.btrace/tailcall.exp
6677 * gdb.btrace/tsx.exp
6678 * gdb.btrace/unknown_functions.exp
6679 * gdb.btrace/vdso.exp
6680 * gdb.compile/compile-ifunc.exp
6681 * gdb.compile/compile-ops.exp
6682 * gdb.compile/compile-print.exp
6683 * gdb.compile/compile-setjmp.exp
6684 * gdb.cp/abstract-origin.exp
6685 * gdb.cp/ambiguous.exp
6686 * gdb.cp/annota2.exp
6687 * gdb.cp/annota3.exp
6688 * gdb.cp/anon-ns.exp
6689 * gdb.cp/anon-struct.exp
6690 * gdb.cp/anon-union.exp
6691 * gdb.cp/arg-reference.exp
6692 * gdb.cp/baseenum.exp
6694 * gdb.cp/breakpoint.exp
6695 * gdb.cp/bs15503.exp
6698 * gdb.cp/chained-calls.exp
6700 * gdb.cp/classes.exp
6701 * gdb.cp/cmpd-minsyms.exp
6702 * gdb.cp/converts.exp
6703 * gdb.cp/cp-relocate.exp
6704 * gdb.cp/cpcompletion.exp
6705 * gdb.cp/cpexprs.exp
6706 * gdb.cp/cplabel.exp
6707 * gdb.cp/cplusfuncs.exp
6708 * gdb.cp/cpsizeof.exp
6710 * gdb.cp/derivation.exp
6711 * gdb.cp/destrprint.exp
6712 * gdb.cp/dispcxx.exp
6713 * gdb.cp/enum-class.exp
6714 * gdb.cp/exception.exp
6715 * gdb.cp/exceptprint.exp
6716 * gdb.cp/expand-psymtabs-cxx.exp
6717 * gdb.cp/expand-sals.exp
6718 * gdb.cp/extern-c.exp
6719 * gdb.cp/filename.exp
6720 * gdb.cp/formatted-ref.exp
6721 * gdb.cp/fpointer.exp
6722 * gdb.cp/gdb1355.exp
6723 * gdb.cp/gdb2495.exp
6725 * gdb.cp/impl-this.exp
6726 * gdb.cp/infcall-dlopen.exp
6727 * gdb.cp/inherit.exp
6728 * gdb.cp/iostream.exp
6732 * gdb.cp/m-static.exp
6733 * gdb.cp/mb-ctor.exp
6734 * gdb.cp/mb-inline.exp
6735 * gdb.cp/mb-templates.exp
6736 * gdb.cp/member-name.exp
6737 * gdb.cp/member-ptr.exp
6738 * gdb.cp/meth-typedefs.exp
6740 * gdb.cp/method2.exp
6741 * gdb.cp/minsym-fallback.exp
6743 * gdb.cp/namelessclass.exp
6744 * gdb.cp/namespace-enum.exp
6745 * gdb.cp/namespace-nested-import.exp
6746 * gdb.cp/namespace.exp
6747 * gdb.cp/nextoverthrow.exp
6748 * gdb.cp/no-dmgl-verbose.exp
6749 * gdb.cp/non-trivial-retval.exp
6750 * gdb.cp/noparam.exp
6752 * gdb.cp/nsimport.exp
6753 * gdb.cp/nsnested.exp
6754 * gdb.cp/nsnoimports.exp
6755 * gdb.cp/nsrecurs.exp
6756 * gdb.cp/nsstress.exp
6757 * gdb.cp/nsusing.exp
6758 * gdb.cp/operator.exp
6759 * gdb.cp/oranking.exp
6760 * gdb.cp/overload-const.exp
6761 * gdb.cp/overload.exp
6762 * gdb.cp/ovldbreak.exp
6764 * gdb.cp/paren-type.exp
6765 * gdb.cp/parse-lang.exp
6766 * gdb.cp/pass-by-ref.exp
6767 * gdb.cp/pr-1023.exp
6768 * gdb.cp/pr-1210.exp
6770 * gdb.cp/pr10687.exp
6771 * gdb.cp/pr12028.exp
6772 * gdb.cp/pr17132.exp
6773 * gdb.cp/pr17494.exp
6777 * gdb.cp/printmethod.exp
6779 * gdb.cp/psymtab-parameter.exp
6780 * gdb.cp/ptype-cv-cp.exp
6781 * gdb.cp/ptype-flags.exp
6782 * gdb.cp/re-set-overloaded.exp
6783 * gdb.cp/ref-types.exp
6785 * gdb.cp/scope-err.exp
6788 * gdb.cp/static-method.exp
6789 * gdb.cp/static-print-quit.exp
6790 * gdb.cp/temargs.exp
6791 * gdb.cp/templates.exp
6792 * gdb.cp/try_catch.exp
6793 * gdb.cp/typedef-operator.exp
6795 * gdb.cp/userdef.exp
6796 * gdb.cp/using-crash.exp
6797 * gdb.cp/var-tag.exp
6798 * gdb.cp/virtbase.exp
6799 * gdb.cp/virtfunc.exp
6800 * gdb.cp/virtfunc2.exp
6801 * gdb.cp/vla-cxx.exp
6802 * gdb.disasm/t01_mov.exp
6803 * gdb.disasm/t02_mova.exp
6804 * gdb.disasm/t03_add.exp
6805 * gdb.disasm/t04_sub.exp
6806 * gdb.disasm/t05_cmp.exp
6807 * gdb.disasm/t06_ari2.exp
6808 * gdb.disasm/t07_ari3.exp
6809 * gdb.disasm/t08_or.exp
6810 * gdb.disasm/t09_xor.exp
6811 * gdb.disasm/t10_and.exp
6812 * gdb.disasm/t11_logs.exp
6813 * gdb.disasm/t12_bit.exp
6814 * gdb.disasm/t13_otr.exp
6815 * gdb.dlang/circular.exp
6816 * gdb.dwarf2/arr-stride.exp
6817 * gdb.dwarf2/arr-subrange.exp
6818 * gdb.dwarf2/atomic-type.exp
6819 * gdb.dwarf2/bad-regnum.exp
6820 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6821 * gdb.dwarf2/callframecfa.exp
6822 * gdb.dwarf2/clztest.exp
6823 * gdb.dwarf2/corrupt.exp
6824 * gdb.dwarf2/data-loc.exp
6825 * gdb.dwarf2/dup-psym.exp
6826 * gdb.dwarf2/dw2-anon-mptr.exp
6827 * gdb.dwarf2/dw2-anonymous-func.exp
6828 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6829 * gdb.dwarf2/dw2-bad-unresolved.exp
6830 * gdb.dwarf2/dw2-basic.exp
6831 * gdb.dwarf2/dw2-canonicalize-type.exp
6832 * gdb.dwarf2/dw2-case-insensitive.exp
6833 * gdb.dwarf2/dw2-common-block.exp
6834 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6835 * gdb.dwarf2/dw2-compressed.exp
6836 * gdb.dwarf2/dw2-const.exp
6837 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6838 * gdb.dwarf2/dw2-cu-size.exp
6839 * gdb.dwarf2/dw2-dup-frame.exp
6840 * gdb.dwarf2/dw2-entry-value.exp
6841 * gdb.dwarf2/dw2-icycle.exp
6842 * gdb.dwarf2/dw2-ifort-parameter.exp
6843 * gdb.dwarf2/dw2-inline-break.exp
6844 * gdb.dwarf2/dw2-inline-param.exp
6845 * gdb.dwarf2/dw2-intercu.exp
6846 * gdb.dwarf2/dw2-intermix.exp
6847 * gdb.dwarf2/dw2-lexical-block-bare.exp
6848 * gdb.dwarf2/dw2-linkage-name-trust.exp
6849 * gdb.dwarf2/dw2-minsym-in-cu.exp
6850 * gdb.dwarf2/dw2-noloc.exp
6851 * gdb.dwarf2/dw2-op-call.exp
6852 * gdb.dwarf2/dw2-op-out-param.exp
6853 * gdb.dwarf2/dw2-opt-structptr.exp
6854 * gdb.dwarf2/dw2-param-error.exp
6855 * gdb.dwarf2/dw2-producer.exp
6856 * gdb.dwarf2/dw2-ranges-base.exp
6857 * gdb.dwarf2/dw2-ref-missing-frame.exp
6858 * gdb.dwarf2/dw2-reg-undefined.exp
6859 * gdb.dwarf2/dw2-regno-invalid.exp
6860 * gdb.dwarf2/dw2-restore.exp
6861 * gdb.dwarf2/dw2-restrict.exp
6862 * gdb.dwarf2/dw2-single-line-discriminators.exp
6863 * gdb.dwarf2/dw2-strp.exp
6864 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6865 * gdb.dwarf2/dw2-unresolved.exp
6866 * gdb.dwarf2/dw2-var-zero-addr.exp
6867 * gdb.dwarf2/dw4-sig-types.exp
6868 * gdb.dwarf2/dwz.exp
6869 * gdb.dwarf2/dynarr-ptr.exp
6870 * gdb.dwarf2/enum-type.exp
6871 * gdb.dwarf2/gdb-index.exp
6872 * gdb.dwarf2/implptr-64bit.exp
6873 * gdb.dwarf2/implptr-optimized-out.exp
6874 * gdb.dwarf2/implptr.exp
6875 * gdb.dwarf2/implref-array.exp
6876 * gdb.dwarf2/implref-const.exp
6877 * gdb.dwarf2/implref-global.exp
6878 * gdb.dwarf2/implref-struct.exp
6879 * gdb.dwarf2/mac-fileno.exp
6880 * gdb.dwarf2/main-subprogram.exp
6881 * gdb.dwarf2/member-ptr-forwardref.exp
6882 * gdb.dwarf2/method-ptr.exp
6883 * gdb.dwarf2/missing-sig-type.exp
6884 * gdb.dwarf2/nonvar-access.exp
6885 * gdb.dwarf2/opaque-type-lookup.exp
6886 * gdb.dwarf2/pieces-optimized-out.exp
6887 * gdb.dwarf2/pieces.exp
6888 * gdb.dwarf2/pr10770.exp
6889 * gdb.dwarf2/pr13961.exp
6890 * gdb.dwarf2/staticvirtual.exp
6891 * gdb.dwarf2/subrange.exp
6892 * gdb.dwarf2/symtab-producer.exp
6893 * gdb.dwarf2/trace-crash.exp
6894 * gdb.dwarf2/typeddwarf.exp
6895 * gdb.dwarf2/valop.exp
6896 * gdb.dwarf2/watch-notconst.exp
6897 * gdb.fortran/array-element.exp
6898 * gdb.fortran/charset.exp
6899 * gdb.fortran/common-block.exp
6900 * gdb.fortran/complex.exp
6901 * gdb.fortran/derived-type-function.exp
6902 * gdb.fortran/derived-type.exp
6903 * gdb.fortran/logical.exp
6904 * gdb.fortran/module.exp
6905 * gdb.fortran/multi-dim.exp
6906 * gdb.fortran/nested-funcs.exp
6907 * gdb.fortran/print-formatted.exp
6908 * gdb.fortran/subarray.exp
6909 * gdb.fortran/vla-alloc-assoc.exp
6910 * gdb.fortran/vla-datatypes.exp
6911 * gdb.fortran/vla-history.exp
6912 * gdb.fortran/vla-ptr-info.exp
6913 * gdb.fortran/vla-ptype-sub.exp
6914 * gdb.fortran/vla-ptype.exp
6915 * gdb.fortran/vla-sizeof.exp
6916 * gdb.fortran/vla-type.exp
6917 * gdb.fortran/vla-value-sub-arbitrary.exp
6918 * gdb.fortran/vla-value-sub-finish.exp
6919 * gdb.fortran/vla-value-sub.exp
6920 * gdb.fortran/vla-value.exp
6921 * gdb.fortran/whatis_type.exp
6923 * gdb.go/handcall.exp
6925 * gdb.go/integers.exp
6926 * gdb.go/methods.exp
6927 * gdb.go/package.exp
6928 * gdb.go/strings.exp
6931 * gdb.guile/scm-arch.exp
6932 * gdb.guile/scm-block.exp
6933 * gdb.guile/scm-breakpoint.exp
6934 * gdb.guile/scm-cmd.exp
6935 * gdb.guile/scm-disasm.exp
6936 * gdb.guile/scm-equal.exp
6937 * gdb.guile/scm-frame-args.exp
6938 * gdb.guile/scm-frame-inline.exp
6939 * gdb.guile/scm-frame.exp
6940 * gdb.guile/scm-iterator.exp
6941 * gdb.guile/scm-math.exp
6942 * gdb.guile/scm-objfile.exp
6943 * gdb.guile/scm-ports.exp
6944 * gdb.guile/scm-symbol.exp
6945 * gdb.guile/scm-symtab.exp
6946 * gdb.guile/scm-value-cc.exp
6947 * gdb.guile/types-module.exp
6948 * gdb.linespec/break-ask.exp
6949 * gdb.linespec/cpexplicit.exp
6950 * gdb.linespec/explicit.exp
6951 * gdb.linespec/keywords.exp
6952 * gdb.linespec/linespec.exp
6953 * gdb.linespec/ls-dollar.exp
6954 * gdb.linespec/ls-errs.exp
6955 * gdb.linespec/skip-two.exp
6956 * gdb.linespec/thread.exp
6957 * gdb.mi/mi-async.exp
6958 * gdb.mi/mi-basics.exp
6959 * gdb.mi/mi-break.exp
6960 * gdb.mi/mi-catch-load.exp
6962 * gdb.mi/mi-cmd-param-changed.exp
6963 * gdb.mi/mi-console.exp
6964 * gdb.mi/mi-detach.exp
6965 * gdb.mi/mi-disassemble.exp
6966 * gdb.mi/mi-eval.exp
6967 * gdb.mi/mi-file-transfer.exp
6968 * gdb.mi/mi-file.exp
6969 * gdb.mi/mi-fill-memory.exp
6970 * gdb.mi/mi-inheritance-syntax-error.exp
6971 * gdb.mi/mi-linespec-err-cp.exp
6972 * gdb.mi/mi-logging.exp
6973 * gdb.mi/mi-memory-changed.exp
6974 * gdb.mi/mi-read-memory.exp
6975 * gdb.mi/mi-record-changed.exp
6976 * gdb.mi/mi-reg-undefined.exp
6977 * gdb.mi/mi-regs.exp
6978 * gdb.mi/mi-return.exp
6979 * gdb.mi/mi-reverse.exp
6980 * gdb.mi/mi-simplerun.exp
6981 * gdb.mi/mi-solib.exp
6982 * gdb.mi/mi-stack.exp
6983 * gdb.mi/mi-stepi.exp
6984 * gdb.mi/mi-syn-frame.exp
6985 * gdb.mi/mi-until.exp
6986 * gdb.mi/mi-var-block.exp
6987 * gdb.mi/mi-var-child.exp
6988 * gdb.mi/mi-var-cmd.exp
6989 * gdb.mi/mi-var-cp.exp
6990 * gdb.mi/mi-var-display.exp
6991 * gdb.mi/mi-var-invalidate.exp
6992 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6993 * gdb.mi/mi-vla-fortran.exp
6994 * gdb.mi/mi-watch.exp
6995 * gdb.mi/mi2-var-child.exp
6996 * gdb.mi/user-selected-context-sync.exp
6997 * gdb.modula2/unbounded-array.exp
6998 * gdb.multi/dummy-frame-restore.exp
6999 * gdb.multi/multi-arch-exec.exp
7000 * gdb.multi/multi-arch.exp
7001 * gdb.multi/tids.exp
7002 * gdb.multi/watchpoint-multi.exp
7003 * gdb.opencl/callfuncs.exp
7004 * gdb.opencl/convs_casts.exp
7005 * gdb.opencl/datatypes.exp
7006 * gdb.opencl/operators.exp
7007 * gdb.opencl/vec_comps.exp
7008 * gdb.opt/clobbered-registers-O2.exp
7009 * gdb.opt/inline-break.exp
7010 * gdb.opt/inline-bt.exp
7011 * gdb.opt/inline-cmds.exp
7012 * gdb.opt/inline-locals.exp
7013 * gdb.pascal/case-insensitive-symbols.exp
7014 * gdb.pascal/floats.exp
7015 * gdb.pascal/gdb11492.exp
7016 * gdb.python/lib-types.exp
7017 * gdb.python/py-arch.exp
7018 * gdb.python/py-as-string.exp
7019 * gdb.python/py-bad-printers.exp
7020 * gdb.python/py-block.exp
7021 * gdb.python/py-breakpoint-create-fail.exp
7022 * gdb.python/py-breakpoint.exp
7023 * gdb.python/py-caller-is.exp
7024 * gdb.python/py-cmd.exp
7025 * gdb.python/py-explore-cc.exp
7026 * gdb.python/py-explore.exp
7027 * gdb.python/py-finish-breakpoint.exp
7028 * gdb.python/py-finish-breakpoint2.exp
7029 * gdb.python/py-frame-args.exp
7030 * gdb.python/py-frame-inline.exp
7031 * gdb.python/py-frame.exp
7032 * gdb.python/py-framefilter-mi.exp
7033 * gdb.python/py-infthread.exp
7034 * gdb.python/py-lazy-string.exp
7035 * gdb.python/py-linetable.exp
7036 * gdb.python/py-mi-events.exp
7037 * gdb.python/py-mi-objfile.exp
7038 * gdb.python/py-mi.exp
7039 * gdb.python/py-objfile.exp
7040 * gdb.python/py-pp-integral.exp
7041 * gdb.python/py-pp-maint.exp
7042 * gdb.python/py-pp-re-notag.exp
7043 * gdb.python/py-pp-registration.exp
7044 * gdb.python/py-recurse-unwind.exp
7045 * gdb.python/py-strfns.exp
7046 * gdb.python/py-symbol.exp
7047 * gdb.python/py-symtab.exp
7048 * gdb.python/py-sync-interp.exp
7049 * gdb.python/py-typeprint.exp
7050 * gdb.python/py-unwind-maint.exp
7051 * gdb.python/py-unwind.exp
7052 * gdb.python/py-value-cc.exp
7053 * gdb.python/py-xmethods.exp
7054 * gdb.reverse/amd64-tailcall-reverse.exp
7055 * gdb.reverse/break-precsave.exp
7056 * gdb.reverse/break-reverse.exp
7057 * gdb.reverse/consecutive-precsave.exp
7058 * gdb.reverse/consecutive-reverse.exp
7059 * gdb.reverse/finish-precsave.exp
7060 * gdb.reverse/finish-reverse-bkpt.exp
7061 * gdb.reverse/finish-reverse.exp
7062 * gdb.reverse/fstatat-reverse.exp
7063 * gdb.reverse/getresuid-reverse.exp
7064 * gdb.reverse/i386-precsave.exp
7065 * gdb.reverse/i386-reverse.exp
7066 * gdb.reverse/i386-sse-reverse.exp
7067 * gdb.reverse/i387-env-reverse.exp
7068 * gdb.reverse/i387-stack-reverse.exp
7069 * gdb.reverse/insn-reverse.exp
7070 * gdb.reverse/machinestate-precsave.exp
7071 * gdb.reverse/machinestate.exp
7072 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7073 * gdb.reverse/pipe-reverse.exp
7074 * gdb.reverse/readv-reverse.exp
7075 * gdb.reverse/recvmsg-reverse.exp
7076 * gdb.reverse/rerun-prec.exp
7077 * gdb.reverse/s390-mvcle.exp
7078 * gdb.reverse/step-precsave.exp
7079 * gdb.reverse/step-reverse.exp
7080 * gdb.reverse/time-reverse.exp
7081 * gdb.reverse/until-precsave.exp
7082 * gdb.reverse/until-reverse.exp
7083 * gdb.reverse/waitpid-reverse.exp
7084 * gdb.reverse/watch-precsave.exp
7085 * gdb.reverse/watch-reverse.exp
7086 * gdb.rust/generics.exp
7087 * gdb.rust/methods.exp
7088 * gdb.rust/modules.exp
7089 * gdb.rust/simple.exp
7090 * gdb.server/connect-with-no-symbol-file.exp
7091 * gdb.server/ext-attach.exp
7092 * gdb.server/ext-restart.exp
7093 * gdb.server/ext-wrapper.exp
7094 * gdb.server/file-transfer.exp
7095 * gdb.server/server-exec-info.exp
7096 * gdb.server/server-kill.exp
7097 * gdb.server/server-mon.exp
7098 * gdb.server/wrapper.exp
7099 * gdb.stabs/exclfwd.exp
7100 * gdb.stabs/gdb11479.exp
7101 * gdb.threads/clone-new-thread-event.exp
7102 * gdb.threads/corethreads.exp
7103 * gdb.threads/current-lwp-dead.exp
7104 * gdb.threads/dlopen-libpthread.exp
7105 * gdb.threads/gcore-thread.exp
7106 * gdb.threads/sigstep-threads.exp
7107 * gdb.threads/watchpoint-fork.exp
7108 * gdb.trace/actions-changed.exp
7109 * gdb.trace/backtrace.exp
7110 * gdb.trace/change-loc.exp
7111 * gdb.trace/circ.exp
7112 * gdb.trace/collection.exp
7113 * gdb.trace/disconnected-tracing.exp
7114 * gdb.trace/ftrace.exp
7115 * gdb.trace/mi-trace-frame-collected.exp
7116 * gdb.trace/mi-trace-unavailable.exp
7117 * gdb.trace/mi-traceframe-changed.exp
7118 * gdb.trace/mi-tsv-changed.exp
7119 * gdb.trace/no-attach-trace.exp
7120 * gdb.trace/passc-dyn.exp
7121 * gdb.trace/qtro.exp
7122 * gdb.trace/range-stepping.exp
7123 * gdb.trace/read-memory.exp
7124 * gdb.trace/save-trace.exp
7125 * gdb.trace/signal.exp
7126 * gdb.trace/status-stop.exp
7127 * gdb.trace/tfile.exp
7128 * gdb.trace/trace-break.exp
7129 * gdb.trace/trace-buffer-size.exp
7130 * gdb.trace/trace-condition.exp
7131 * gdb.trace/tracefile-pseudo-reg.exp
7132 * gdb.trace/tstatus.exp
7133 * gdb.trace/unavailable.exp
7134 * gdb.trace/while-dyn.exp
7135 * gdb.trace/while-stepping.exp
7137 2016-12-22 Doug Evans <xdje42@gmail.com>
7139 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7142 2016-12-19 Yao Qi <yao.qi@linaro.org>
7144 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7145 (test_with_self): Don't call do_steps_and_nexts, and remove
7146 code about stepping into xmalloc.
7148 2016-12-09 Yao Qi <yao.qi@linaro.org>
7150 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7152 2016-12-09 Yao Qi <yao.qi@linaro.org>
7154 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7156 2016-12-09 Pedro Alves <palves@redhat.com>
7158 * gdb.base/all-architectures-0.exp: New file.
7159 * gdb.base/all-architectures-1.exp: New file.
7160 * gdb.base/all-architectures-2.exp: New file.
7161 * gdb.base/all-architectures-3.exp: New file.
7162 * gdb.base/all-architectures-4.exp: New file.
7163 * gdb.base/all-architectures-5.exp: New file.
7164 * gdb.base/all-architectures-6.exp: New file.
7165 * gdb.base/all-architectures-7.exp: New file.
7166 * gdb.base/all-architectures.exp.in: New file.
7168 2016-12-09 Yao Qi <yao.qi@linaro.org>
7170 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7172 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7174 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7176 Remove useless pattern-matching code.
7178 2016-12-02 Pedro Alves <palves@redhat.com>
7180 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7182 (top level): Call it.
7184 2016-12-02 Pedro Alves <palves@redhat.com>
7186 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7188 (top level): Call it.
7190 2016-12-02 Pedro Alves <palves@redhat.com>
7193 * gdb.base/commands.exp (user_defined_command_args_eval): New
7195 (top level): Call it.
7197 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7199 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7202 2016-12-02 Tom Tromey <tom@tromey.com>
7204 * gdb.dwarf2/main-subprogram.c: New file.
7205 * gdb.dwarf2/main-subprogram.exp: New file.
7207 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7209 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7210 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7211 gdb_test_no_output for a couple of cases.
7212 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7214 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7216 Fix test names and standardize compilation error messages throughout
7217 the following files:
7220 * gdb.arch/alpha-step.exp
7221 * gdb.arch/e500-prologue.exp
7222 * gdb.arch/ftrace-insn-reloc.exp
7223 * gdb.arch/gdb1291.exp
7224 * gdb.arch/gdb1431.exp
7225 * gdb.arch/gdb1558.exp
7226 * gdb.arch/i386-dr3-watch.exp
7227 * gdb.arch/i386-sse-stack-align.exp
7228 * gdb.arch/ia64-breakpoint-shadow.exp
7229 * gdb.arch/pa-nullify.exp
7230 * gdb.arch/powerpc-aix-prologue.exp
7231 * gdb.arch/thumb-bx-pc.exp
7232 * gdb.base/annota1.exp
7233 * gdb.base/annota3.exp
7234 * gdb.base/arrayidx.exp
7235 * gdb.base/assign.exp
7236 * gdb.base/attach.exp
7239 * gdb.base/bfp-test.exp
7240 * gdb.base/bigcore.exp
7241 * gdb.base/bitfields2.exp
7242 * gdb.base/break-fun-addr.exp
7243 * gdb.base/break-probes.exp
7244 * gdb.base/call-rt-st.exp
7245 * gdb.base/callexit.exp
7246 * gdb.base/catch-fork-kill.exp
7247 * gdb.base/charset.exp
7248 * gdb.base/checkpoint.exp
7249 * gdb.base/comprdebug.exp
7250 * gdb.base/constvars.exp
7251 * gdb.base/coredump-filter.exp
7252 * gdb.base/cursal.exp
7253 * gdb.base/cvexpr.exp
7254 * gdb.base/detach.exp
7255 * gdb.base/display.exp
7256 * gdb.base/dmsym.exp
7257 * gdb.base/dprintf-pending.exp
7258 * gdb.base/dso2dso.exp
7259 * gdb.base/dtrace-probe.exp
7261 * gdb.base/enum_cond.exp
7262 * gdb.base/exe-lock.exp
7263 * gdb.base/exec-invalid-sysroot.exp
7264 * gdb.base/execl-update-breakpoints.exp
7265 * gdb.base/exprs.exp
7266 * gdb.base/fileio.exp
7268 * gdb.base/finish.exp
7269 * gdb.base/fixsection.exp
7270 * gdb.base/foll-vfork.exp
7271 * gdb.base/frame-args.exp
7272 * gdb.base/gcore.exp
7273 * gdb.base/gdb1250.exp
7274 * gdb.base/global-var-nested-by-dso.exp
7275 * gdb.base/gnu-ifunc.exp
7276 * gdb.base/hashline1.exp
7277 * gdb.base/hashline2.exp
7278 * gdb.base/hashline3.exp
7279 * gdb.base/hbreak-in-shr-unsupported.exp
7281 * gdb.base/infcall-input.exp
7282 * gdb.base/info-fun.exp
7283 * gdb.base/info-shared.exp
7284 * gdb.base/jit-simple.exp
7285 * gdb.base/jit-so.exp
7288 * gdb.base/label.exp
7289 * gdb.base/lineinc.exp
7290 * gdb.base/logical.exp
7291 * gdb.base/longjmp.exp
7292 * gdb.base/macscp.exp
7293 * gdb.base/miscexprs.exp
7294 * gdb.base/new-ui-echo.exp
7295 * gdb.base/new-ui-pending-input.exp
7296 * gdb.base/new-ui.exp
7297 * gdb.base/nodebug.exp
7298 * gdb.base/nofield.exp
7299 * gdb.base/offsets.exp
7300 * gdb.base/overlays.exp
7301 * gdb.base/pending.exp
7302 * gdb.base/pointers.exp
7303 * gdb.base/pr11022.exp
7304 * gdb.base/printcmds.exp
7305 * gdb.base/prologue.exp
7306 * gdb.base/ptr-typedef.exp
7307 * gdb.base/realname-expand.exp
7308 * gdb.base/relativedebug.exp
7309 * gdb.base/relocate.exp
7310 * gdb.base/remote.exp
7311 * gdb.base/reread.exp
7312 * gdb.base/return2.exp
7313 * gdb.base/savedregs.exp
7315 * gdb.base/sepdebug.exp
7316 * gdb.base/sepsymtab.exp
7317 * gdb.base/set-inferior-tty.exp
7318 * gdb.base/setshow.exp
7319 * gdb.base/shlib-call.exp
7320 * gdb.base/sigaltstack.exp
7321 * gdb.base/siginfo-addr.exp
7322 * gdb.base/signals.exp
7323 * gdb.base/signull.exp
7324 * gdb.base/sigrepeat.exp
7325 * gdb.base/so-impl-ld.exp
7326 * gdb.base/solib-display.exp
7327 * gdb.base/solib-overlap.exp
7328 * gdb.base/solib-search.exp
7329 * gdb.base/solib-symbol.exp
7330 * gdb.base/structs.exp
7331 * gdb.base/structs2.exp
7332 * gdb.base/symtab-search-order.exp
7333 * gdb.base/twice.exp
7334 * gdb.base/unload.exp
7335 * gdb.base/varargs.exp
7336 * gdb.base/watchpoint-solib.exp
7337 * gdb.base/watchpoint.exp
7338 * gdb.base/whatis.exp
7339 * gdb.base/wrong_frame_bt_full.exp
7340 * gdb.btrace/dlopen.exp
7341 * gdb.cell/ea-standalone.exp
7342 * gdb.cell/ea-test.exp
7343 * gdb.cp/dispcxx.exp
7344 * gdb.cp/gdb2384.exp
7345 * gdb.cp/method2.exp
7346 * gdb.cp/nextoverthrow.exp
7347 * gdb.cp/pr10728.exp
7348 * gdb.disasm/am33.exp
7349 * gdb.disasm/h8300s.exp
7350 * gdb.disasm/mn10300.exp
7351 * gdb.disasm/sh3.exp
7352 * gdb.dwarf2/dw2-dir-file-name.exp
7353 * gdb.fortran/complex.exp
7354 * gdb.fortran/library-module.exp
7355 * gdb.guile/scm-pretty-print.exp
7356 * gdb.guile/scm-symbol.exp
7357 * gdb.guile/scm-type.exp
7358 * gdb.guile/scm-value.exp
7359 * gdb.linespec/linespec.exp
7362 * gdb.mi/mi-breakpoint-changed.exp
7363 * gdb.mi/mi-dprintf-pending.exp
7364 * gdb.mi/mi-dprintf.exp
7365 * gdb.mi/mi-exit-code.exp
7366 * gdb.mi/mi-pending.exp
7367 * gdb.mi/mi-solib.exp
7368 * gdb.mi/new-ui-mi-sync.exp
7369 * gdb.mi/pr11022.exp
7370 * gdb.mi/user-selected-context-sync.exp
7371 * gdb.opt/solib-intra-step.exp
7372 * gdb.python/py-events.exp
7373 * gdb.python/py-finish-breakpoint.exp
7374 * gdb.python/py-mi.exp
7375 * gdb.python/py-prettyprint.exp
7376 * gdb.python/py-shared.exp
7377 * gdb.python/py-symbol.exp
7378 * gdb.python/py-template.exp
7379 * gdb.python/py-type.exp
7380 * gdb.python/py-value.exp
7381 * gdb.reverse/solib-precsave.exp
7382 * gdb.reverse/solib-reverse.exp
7383 * gdb.server/solib-list.exp
7384 * gdb.stabs/weird.exp
7385 * gdb.threads/reconnect-signal.exp
7386 * gdb.threads/stepi-random-signal.exp
7387 * gdb.trace/actions.exp
7389 * gdb.trace/backtrace.exp
7390 * gdb.trace/change-loc.exp
7391 * gdb.trace/deltrace.exp
7392 * gdb.trace/ftrace-lock.exp
7393 * gdb.trace/ftrace.exp
7394 * gdb.trace/infotrace.exp
7395 * gdb.trace/mi-tracepoint-changed.exp
7396 * gdb.trace/packetlen.exp
7397 * gdb.trace/passcount.exp
7398 * gdb.trace/pending.exp
7399 * gdb.trace/range-stepping.exp
7400 * gdb.trace/report.exp
7401 * gdb.trace/stap-trace.exp
7402 * gdb.trace/tfind.exp
7403 * gdb.trace/trace-break.exp
7404 * gdb.trace/trace-condition.exp
7405 * gdb.trace/trace-enable-disable.exp
7406 * gdb.trace/trace-mt.exp
7407 * gdb.trace/tracecmd.exp
7408 * gdb.trace/tspeed.exp
7412 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7414 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7415 with gdb_test_no_output.
7416 Use command as test name.
7418 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7420 Fix test names starting with uppercase throughout the files.
7422 * gdb.ada/assign_1.exp
7423 * gdb.ada/boolean_expr.exp
7424 * gdb.base/arrayidx.exp
7426 * gdb.base/gcore-buffer-overflow.exp
7427 * gdb.base/testenv.exp
7428 * gdb.compile/compile.exp
7429 * gdb.python/py-framefilter-invalidarg.exp
7430 * gdb.python/py-framefilter.exp
7432 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7434 Fix test names starting with uppercase throughout the files.
7436 * gdb.ada/array_return.exp
7437 * gdb.ada/expr_delims.exp
7438 * gdb.ada/mi_dyn_arr.exp
7439 * gdb.ada/mi_interface.exp
7440 * gdb.ada/mi_var_array.exp
7441 * gdb.ada/watch_arg.exp
7442 * gdb.arch/alpha-step.exp
7443 * gdb.arch/altivec-regs.exp
7444 * gdb.arch/e500-regs.exp
7445 * gdb.arch/powerpc-d128-regs.exp
7446 * gdb.base/arrayidx.exp
7447 * gdb.base/break.exp
7448 * gdb.base/checkpoint.exp
7449 * gdb.base/debug-expr.exp
7450 * gdb.base/dmsym.exp
7451 * gdb.base/radix.exp
7452 * gdb.base/sepdebug.exp
7453 * gdb.base/testenv.exp
7454 * gdb.base/watch_thread_num.exp
7455 * gdb.base/watchpoint-cond-gone.exp
7456 * gdb.cell/break.exp
7457 * gdb.cell/ea-cache.exp
7458 * gdb.compile/compile.exp
7459 * gdb.cp/gdb2495.exp
7460 * gdb.gdb/selftest.exp
7461 * gdb.gdb/xfullpath.exp
7463 * gdb.go/integers.exp
7464 * gdb.objc/basicclass.exp
7465 * gdb.pascal/hello.exp
7466 * gdb.pascal/integers.exp
7467 * gdb.python/py-breakpoint.exp
7468 * gdb.python/py-cmd.exp
7469 * gdb.python/py-linetable.exp
7470 * gdb.python/py-xmethods.exp
7471 * gdb.python/python.exp
7472 * gdb.reverse/consecutive-precsave.exp
7473 * gdb.reverse/finish-precsave.exp
7474 * gdb.reverse/i386-precsave.exp
7475 * gdb.reverse/machinestate-precsave.exp
7476 * gdb.reverse/sigall-precsave.exp
7477 * gdb.reverse/solib-precsave.exp
7478 * gdb.reverse/step-precsave.exp
7479 * gdb.reverse/until-precsave.exp
7480 * gdb.reverse/watch-precsave.exp
7481 * gdb.threads/leader-exit.exp
7482 * gdb.threads/pthreads.exp
7483 * gdb.threads/wp-replication.exp
7484 * gdb.trace/actions.exp
7485 * gdb.trace/mi-tsv-changed.exp
7488 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7490 Fix test names starting with uppercase throughout the files.
7492 * gdb.arch/i386-bp_permanent.exp
7493 * gdb.arch/i386-gnu-cfi.exp
7494 * gdb.base/disasm-end-cu.exp
7495 * gdb.base/macscp.exp
7496 * gdb.base/pending.exp
7497 * gdb.base/watch_thread_num.exp
7498 * gdb.cp/exception.exp
7499 * gdb.cp/gdb2495.exp
7501 * gdb.python/py-evsignal.exp
7502 * gdb.python/python.exp
7503 * gdb.trace/tracecmd.exp
7505 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7507 Fix test names starting with uppercase throughout the files.
7509 * gdb.base/charset.exp
7511 * gdb.base/multi-forks.exp
7512 * gdb.guile/scm-progspace.exp
7513 * gdb.opencl/datatypes.exp
7514 * gdb.python/py-block.exp
7515 * gdb.python/py-function.exp
7516 * gdb.python/py-symbol.exp
7517 * gdb.python/py-symtab.exp
7518 * gdb.python/py-xmethods.exp
7519 * gdb.reverse/break-precsave.exp
7520 * gdb.reverse/break-reverse.exp
7521 * gdb.reverse/consecutive-precsave.exp
7522 * gdb.reverse/consecutive-reverse.exp
7523 * gdb.reverse/finish-precsave.exp
7524 * gdb.reverse/finish-reverse-bkpt.exp
7525 * gdb.reverse/finish-reverse.exp
7526 * gdb.reverse/fstatat-reverse.exp
7527 * gdb.reverse/getresuid-reverse.exp
7528 * gdb.reverse/i386-precsave.exp
7529 * gdb.reverse/i386-reverse.exp
7530 * gdb.reverse/i386-sse-reverse.exp
7531 * gdb.reverse/i387-stack-reverse.exp
7532 * gdb.reverse/insn-reverse.exp
7533 * gdb.reverse/machinestate-precsave.exp
7534 * gdb.reverse/machinestate.exp
7535 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7536 * gdb.reverse/pipe-reverse.exp
7537 * gdb.reverse/readv-reverse.exp
7538 * gdb.reverse/recvmsg-reverse.exp
7539 * gdb.reverse/rerun-prec.exp
7540 * gdb.reverse/s390-mvcle.exp
7541 * gdb.reverse/sigall-precsave.exp
7542 * gdb.reverse/sigall-reverse.exp
7543 * gdb.reverse/solib-precsave.exp
7544 * gdb.reverse/solib-reverse.exp
7545 * gdb.reverse/step-precsave.exp
7546 * gdb.reverse/step-reverse.exp
7547 * gdb.reverse/time-reverse.exp
7548 * gdb.reverse/until-precsave.exp
7549 * gdb.reverse/until-reverse.exp
7550 * gdb.reverse/waitpid-reverse.exp
7551 * gdb.reverse/watch-precsave.exp
7552 * gdb.reverse/watch-reverse.exp
7554 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7556 Fix test names starting with uppercase throughout the files.
7558 * gdb.arch/i386-mpx-simple_segv.exp
7559 * gdb.arch/i386-mpx.exp
7560 * gdb.arch/i386-permbkpt.exp
7561 * gdb.arch/pa-nullify.exp
7562 * gdb.arch/powerpc-d128-regs.exp
7563 * gdb.arch/vsx-regs.exp
7564 * gdb.base/bfp-test.exp
7565 * gdb.base/break.exp
7566 * gdb.base/breakpoint-shadow.exp
7567 * gdb.base/callfuncs.exp
7568 * gdb.base/charset.exp
7569 * gdb.base/commands.exp
7570 * gdb.base/completion.exp
7571 * gdb.base/dfp-test.exp
7573 * gdb.base/ending-run.exp
7575 * gdb.base/expand-psymtabs.exp
7576 * gdb.base/float128.exp
7577 * gdb.base/floatn.exp
7578 * gdb.base/foll-exec-mode.exp
7579 * gdb.base/gdb1056.exp
7580 * gdb.base/gdb11531.exp
7581 * gdb.base/kill-after-signal.exp
7582 * gdb.base/multi-forks.exp
7583 * gdb.base/overlays.exp
7584 * gdb.base/pending.exp
7585 * gdb.base/sepdebug.exp
7586 * gdb.base/testenv.exp
7587 * gdb.base/valgrind-db-attach.exp
7588 * gdb.base/watch_thread_num.exp
7589 * gdb.base/watchpoint-cond-gone.exp
7590 * gdb.base/watchpoint.exp
7591 * gdb.base/watchpoints.exp
7592 * gdb.cp/arg-reference.exp
7593 * gdb.cp/baseenum.exp
7594 * gdb.cp/operator.exp
7596 * gdb.dwarf2/dw2-op-out-param.exp
7597 * gdb.dwarf2/dw2-reg-undefined.exp
7600 * gdb.go/integers.exp
7601 * gdb.go/methods.exp
7602 * gdb.go/package.exp
7603 * gdb.guile/scm-parameter.exp
7604 * gdb.guile/scm-progspace.exp
7605 * gdb.guile/scm-value.exp
7606 * gdb.mi/mi-pending.exp
7607 * gdb.mi/user-selected-context-sync.exp
7608 * gdb.multi/multi-attach.exp
7609 * gdb.multi/tids.exp
7610 * gdb.opt/clobbered-registers-O2.exp
7611 * gdb.pascal/floats.exp
7612 * gdb.pascal/integers.exp
7613 * gdb.python/py-block.exp
7614 * gdb.python/py-events.exp
7615 * gdb.python/py-parameter.exp
7616 * gdb.python/py-symbol.exp
7617 * gdb.python/py-symtab.exp
7618 * gdb.python/py-type.exp
7619 * gdb.python/py-value.exp
7620 * gdb.python/py-xmethods.exp
7621 * gdb.python/python.exp
7622 * gdb.reverse/break-precsave.exp
7623 * gdb.reverse/consecutive-precsave.exp
7624 * gdb.reverse/finish-precsave.exp
7625 * gdb.reverse/i386-precsave.exp
7626 * gdb.reverse/machinestate-precsave.exp
7627 * gdb.reverse/sigall-precsave.exp
7628 * gdb.reverse/solib-precsave.exp
7629 * gdb.reverse/step-precsave.exp
7630 * gdb.reverse/until-precsave.exp
7631 * gdb.reverse/watch-precsave.exp
7632 * gdb.server/ext-attach.exp
7633 * gdb.server/ext-restart.exp
7634 * gdb.server/ext-run.exp
7635 * gdb.server/ext-wrapper.exp
7636 * gdb.stabs/gdb11479.exp
7637 * gdb.stabs/weird.exp
7638 * gdb.threads/attach-many-short-lived-threads.exp
7639 * gdb.threads/kill.exp
7640 * gdb.threads/watchpoint-fork.exp
7642 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7644 Fix test names starting with uppercase throughout all the files below.
7646 * gdb.ada/array_return.exp
7647 * gdb.ada/catch_ex.exp
7648 * gdb.ada/info_exc.exp
7649 * gdb.ada/mi_catch_ex.exp
7650 * gdb.ada/mi_dyn_arr.exp
7651 * gdb.ada/mi_ex_cond.exp
7652 * gdb.ada/mi_exc_info.exp
7653 * gdb.ada/mi_interface.exp
7654 * gdb.ada/mi_task_arg.exp
7655 * gdb.ada/mi_task_info.exp
7656 * gdb.ada/mi_var_array.exp
7657 * gdb.arch/alpha-step.exp
7658 * gdb.arch/amd64-disp-step.exp
7659 * gdb.arch/arm-disp-step.exp
7660 * gdb.arch/disp-step-insn-reloc.exp
7661 * gdb.arch/e500-prologue.exp
7662 * gdb.arch/ftrace-insn-reloc.exp
7663 * gdb.arch/gdb1558.exp
7664 * gdb.arch/i386-bp_permanent.exp
7665 * gdb.arch/i386-disp-step.exp
7666 * gdb.arch/i386-float.exp
7667 * gdb.arch/i386-gnu-cfi.exp
7668 * gdb.arch/ia64-breakpoint-shadow.exp
7669 * gdb.arch/mips16-thunks.exp
7670 * gdb.arch/pa-nullify.exp
7671 * gdb.arch/powerpc-aix-prologue.exp
7672 * gdb.arch/powerpc-power.exp
7673 * gdb.arch/ppc-dfp.exp
7674 * gdb.arch/s390-tdbregs.exp
7675 * gdb.arch/spu-info.exp
7676 * gdb.arch/spu-ls.exp
7677 * gdb.arch/thumb-bx-pc.exp
7678 * gdb.base/advance.exp
7679 * gdb.base/annota-input-while-running.exp
7680 * gdb.base/arrayidx.exp
7681 * gdb.base/asmlabel.exp
7682 * gdb.base/async.exp
7683 * gdb.base/attach-wait-input.exp
7684 * gdb.base/auto-connect-native-target.exp
7685 * gdb.base/batch-preserve-term-settings.exp
7686 * gdb.base/bfp-test.exp
7687 * gdb.base/bigcore.exp
7688 * gdb.base/bp-permanent.exp
7689 * gdb.base/break-always.exp
7690 * gdb.base/break-fun-addr.exp
7691 * gdb.base/break-idempotent.exp
7692 * gdb.base/break-main-file-remove-fail.exp
7693 * gdb.base/break-probes.exp
7694 * gdb.base/break-unload-file.exp
7695 * gdb.base/break.exp
7696 * gdb.base/call-ar-st.exp
7697 * gdb.base/call-rt-st.exp
7698 * gdb.base/call-sc.exp
7699 * gdb.base/call-signal-resume.exp
7700 * gdb.base/call-strs.exp
7701 * gdb.base/callexit.exp
7702 * gdb.base/callfuncs.exp
7703 * gdb.base/catch-gdb-caused-signals.exp
7704 * gdb.base/catch-signal-siginfo-cond.exp
7705 * gdb.base/catch-syscall.exp
7706 * gdb.base/compare-sections.exp
7707 * gdb.base/cond-eval-mode.exp
7708 * gdb.base/condbreak-call-false.exp
7709 * gdb.base/consecutive-step-over.exp
7710 * gdb.base/cursal.exp
7711 * gdb.base/disabled-location.exp
7712 * gdb.base/disasm-end-cu.exp
7713 * gdb.base/display.exp
7714 * gdb.base/double-prompt-target-event-error.exp
7715 * gdb.base/dprintf-bp-same-addr.exp
7716 * gdb.base/dprintf-detach.exp
7717 * gdb.base/dprintf-next.exp
7718 * gdb.base/dprintf-non-stop.exp
7719 * gdb.base/dprintf-pending.exp
7720 * gdb.base/dso2dso.exp
7721 * gdb.base/ending-run.exp
7722 * gdb.base/enum_cond.exp
7723 * gdb.base/examine-backward.exp
7724 * gdb.base/exe-lock.exp
7725 * gdb.base/exec-invalid-sysroot.exp
7726 * gdb.base/execl-update-breakpoints.exp
7727 * gdb.base/execution-termios.exp
7728 * gdb.base/fileio.exp
7729 * gdb.base/fixsection.exp
7730 * gdb.base/foll-exec-mode.exp
7731 * gdb.base/foll-exec.exp
7732 * gdb.base/fork-running-state.exp
7733 * gdb.base/frame-args.exp
7734 * gdb.base/fullpath-expand.exp
7735 * gdb.base/func-ptr.exp
7736 * gdb.base/gcore-relro-pie.exp
7737 * gdb.base/gdb1090.exp
7738 * gdb.base/gdb1555.exp
7739 * gdb.base/global-var-nested-by-dso.exp
7740 * gdb.base/gnu-ifunc.exp
7741 * gdb.base/hbreak-in-shr-unsupported.exp
7742 * gdb.base/hbreak-unmapped.exp
7743 * gdb.base/hook-stop.exp
7744 * gdb.base/infcall-input.exp
7745 * gdb.base/info-fun.exp
7746 * gdb.base/info-shared.exp
7747 * gdb.base/interrupt-noterm.exp
7748 * gdb.base/jit-so.exp
7750 * gdb.base/line-symtabs.exp
7752 * gdb.base/longjmp.exp
7753 * gdb.base/macscp.exp
7754 * gdb.base/max-value-size.exp
7755 * gdb.base/nodebug.exp
7756 * gdb.base/nofield.exp
7757 * gdb.base/overlays.exp
7758 * gdb.base/paginate-after-ctrl-c-running.exp
7759 * gdb.base/paginate-bg-execution.exp
7760 * gdb.base/paginate-inferior-exit.exp
7761 * gdb.base/pending.exp
7762 * gdb.base/pr11022.exp
7763 * gdb.base/printcmds.exp
7764 * gdb.base/ptr-typedef.exp
7765 * gdb.base/ptype.exp
7766 * gdb.base/randomize.exp
7767 * gdb.base/range-stepping.exp
7768 * gdb.base/realname-expand.exp
7769 * gdb.base/relativedebug.exp
7770 * gdb.base/remote.exp
7771 * gdb.base/savedregs.exp
7772 * gdb.base/sepdebug.exp
7773 * gdb.base/set-noassign.exp
7774 * gdb.base/shlib-call.exp
7775 * gdb.base/shreloc.exp
7776 * gdb.base/sigaltstack.exp
7777 * gdb.base/sigbpt.exp
7778 * gdb.base/siginfo-addr.exp
7779 * gdb.base/siginfo-obj.exp
7780 * gdb.base/siginfo-thread.exp
7781 * gdb.base/signest.exp
7782 * gdb.base/signull.exp
7783 * gdb.base/sigrepeat.exp
7785 * gdb.base/so-impl-ld.exp
7786 * gdb.base/solib-corrupted.exp
7787 * gdb.base/solib-disc.exp
7788 * gdb.base/solib-display.exp
7789 * gdb.base/solib-overlap.exp
7790 * gdb.base/solib-search.exp
7791 * gdb.base/solib-symbol.exp
7792 * gdb.base/source-execution.exp
7793 * gdb.base/sss-bp-on-user-bp-2.exp
7794 * gdb.base/sss-bp-on-user-bp.exp
7795 * gdb.base/stack-checking.exp
7796 * gdb.base/stale-infcall.exp
7797 * gdb.base/step-break.exp
7798 * gdb.base/step-line.exp
7799 * gdb.base/step-over-exit.exp
7800 * gdb.base/step-test.exp
7801 * gdb.base/structs.exp
7802 * gdb.base/sym-file.exp
7803 * gdb.base/symtab-search-order.exp
7805 * gdb.base/type-opaque.exp
7806 * gdb.base/unload.exp
7807 * gdb.base/until-nodebug.exp
7808 * gdb.base/until.exp
7809 * gdb.base/unwindonsignal.exp
7810 * gdb.base/watch-cond.exp
7811 * gdb.base/watch-non-mem.exp
7812 * gdb.base/watch_thread_num.exp
7813 * gdb.base/watchpoint-reuse-slot.exp
7814 * gdb.base/watchpoint-solib.exp
7815 * gdb.base/watchpoint.exp
7816 * gdb.btrace/dlopen.exp
7818 * gdb.cell/break.exp
7822 * gdb.cell/dwarfaddr.exp
7823 * gdb.cell/ea-cache.exp
7824 * gdb.cell/ea-standalone.exp
7825 * gdb.cell/ea-test.exp
7826 * gdb.cell/f-regs.exp
7828 * gdb.cell/gcore.exp
7829 * gdb.cell/mem-access.exp
7830 * gdb.cell/ptype.exp
7831 * gdb.cell/registers.exp
7832 * gdb.cell/sizeof.exp
7833 * gdb.cell/solib-symbol.exp
7834 * gdb.cell/solib.exp
7835 * gdb.compile/compile-tls.exp
7836 * gdb.cp/exception.exp
7837 * gdb.cp/gdb2495.exp
7839 * gdb.cp/mb-inline.exp
7840 * gdb.cp/mb-templates.exp
7841 * gdb.cp/pr10687.exp
7843 * gdb.cp/scope-err.exp
7844 * gdb.cp/templates.exp
7845 * gdb.cp/virtfunc.exp
7846 * gdb.dwarf2/dw2-dir-file-name.exp
7847 * gdb.dwarf2/dw2-single-line-discriminators.exp
7848 * gdb.fortran/complex.exp
7849 * gdb.fortran/library-module.exp
7850 * gdb.guile/guile.exp
7851 * gdb.guile/scm-cmd.exp
7852 * gdb.guile/scm-frame-inline.exp
7853 * gdb.guile/scm-objfile.exp
7854 * gdb.guile/scm-pretty-print.exp
7855 * gdb.guile/scm-symbol.exp
7856 * gdb.guile/scm-type.exp
7857 * gdb.guile/scm-value.exp
7858 * gdb.linespec/keywords.exp
7859 * gdb.linespec/ls-errs.exp
7860 * gdb.linespec/macro-relative.exp
7861 * gdb.linespec/thread.exp
7862 * gdb.mi/mi-breakpoint-changed.exp
7863 * gdb.mi/mi-dprintf-pending.exp
7864 * gdb.mi/mi-fullname-deleted.exp
7865 * gdb.mi/mi-logging.exp
7866 * gdb.mi/mi-pending.exp
7867 * gdb.mi/mi-solib.exp
7868 * gdb.mi/new-ui-mi-sync.exp
7869 * gdb.mi/user-selected-context-sync.exp
7870 * gdb.multi/dummy-frame-restore.exp
7871 * gdb.multi/multi-arch-exec.exp
7872 * gdb.multi/remove-inferiors.exp
7873 * gdb.multi/watchpoint-multi-exit.exp
7874 * gdb.opt/solib-intra-step.exp
7875 * gdb.perf/backtrace.exp
7876 * gdb.perf/single-step.exp
7877 * gdb.perf/skip-command.exp
7878 * gdb.perf/skip-prologue.exp
7879 * gdb.perf/solib.exp
7880 * gdb.python/lib-types.exp
7881 * gdb.python/py-as-string.exp
7882 * gdb.python/py-bad-printers.exp
7883 * gdb.python/py-block.exp
7884 * gdb.python/py-breakpoint.exp
7885 * gdb.python/py-cmd.exp
7886 * gdb.python/py-events.exp
7887 * gdb.python/py-evthreads.exp
7888 * gdb.python/py-finish-breakpoint.exp
7889 * gdb.python/py-finish-breakpoint2.exp
7890 * gdb.python/py-frame-inline.exp
7891 * gdb.python/py-frame.exp
7892 * gdb.python/py-inferior.exp
7893 * gdb.python/py-infthread.exp
7894 * gdb.python/py-mi.exp
7895 * gdb.python/py-objfile.exp
7896 * gdb.python/py-pp-maint.exp
7897 * gdb.python/py-pp-registration.exp
7898 * gdb.python/py-prettyprint.exp
7899 * gdb.python/py-recurse-unwind.exp
7900 * gdb.python/py-shared.exp
7901 * gdb.python/py-symbol.exp
7902 * gdb.python/py-symtab.exp
7903 * gdb.python/py-template.exp
7904 * gdb.python/py-type.exp
7905 * gdb.python/py-unwind-maint.exp
7906 * gdb.python/py-unwind.exp
7907 * gdb.python/py-value.exp
7908 * gdb.python/python.exp
7909 * gdb.reverse/finish-reverse-bkpt.exp
7910 * gdb.reverse/insn-reverse.exp
7911 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7912 * gdb.reverse/solib-precsave.exp
7913 * gdb.reverse/solib-reverse.exp
7914 * gdb.stabs/gdb11479.exp
7915 * gdb.stabs/weird.exp
7916 * gdb.threads/fork-child-threads.exp
7917 * gdb.threads/fork-plus-threads.exp
7918 * gdb.threads/fork-thread-pending.exp
7919 * gdb.threads/forking-threads-plus-breakpoint.exp
7920 * gdb.threads/hand-call-in-threads.exp
7921 * gdb.threads/interrupted-hand-call.exp
7922 * gdb.threads/linux-dp.exp
7923 * gdb.threads/local-watch-wrong-thread.exp
7924 * gdb.threads/next-while-other-thread-longjmps.exp
7925 * gdb.threads/non-ldr-exit.exp
7926 * gdb.threads/pending-step.exp
7927 * gdb.threads/print-threads.exp
7928 * gdb.threads/process-dies-while-detaching.exp
7929 * gdb.threads/process-dies-while-handling-bp.exp
7930 * gdb.threads/pthreads.exp
7931 * gdb.threads/queue-signal.exp
7932 * gdb.threads/reconnect-signal.exp
7933 * gdb.threads/signal-command-handle-nopass.exp
7934 * gdb.threads/signal-command-multiple-signals-pending.exp
7935 * gdb.threads/signal-delivered-right-thread.exp
7936 * gdb.threads/signal-sigtrap.exp
7937 * gdb.threads/sigthread.exp
7938 * gdb.threads/staticthreads.exp
7939 * gdb.threads/stepi-random-signal.exp
7940 * gdb.threads/thread-unwindonsignal.exp
7941 * gdb.threads/thread_check.exp
7942 * gdb.threads/thread_events.exp
7943 * gdb.threads/tid-reuse.exp
7944 * gdb.threads/tls-nodebug.exp
7945 * gdb.threads/tls-shared.exp
7946 * gdb.threads/tls-so_extern.exp
7947 * gdb.threads/tls.exp
7948 * gdb.threads/wp-replication.exp
7949 * gdb.trace/actions-changed.exp
7950 * gdb.trace/actions.exp
7951 * gdb.trace/backtrace.exp
7952 * gdb.trace/change-loc.exp
7953 * gdb.trace/collection.exp
7954 * gdb.trace/deltrace.exp
7955 * gdb.trace/disconnected-tracing.exp
7956 * gdb.trace/entry-values.exp
7957 * gdb.trace/ftrace-lock.exp
7958 * gdb.trace/ftrace.exp
7959 * gdb.trace/infotrace.exp
7960 * gdb.trace/mi-trace-frame-collected.exp
7961 * gdb.trace/mi-trace-unavailable.exp
7962 * gdb.trace/mi-traceframe-changed.exp
7963 * gdb.trace/mi-tracepoint-changed.exp
7964 * gdb.trace/mi-tsv-changed.exp
7965 * gdb.trace/no-attach-trace.exp
7966 * gdb.trace/packetlen.exp
7967 * gdb.trace/passc-dyn.exp
7968 * gdb.trace/passcount.exp
7969 * gdb.trace/pending.exp
7970 * gdb.trace/pr16508.exp
7971 * gdb.trace/qtro.exp
7972 * gdb.trace/range-stepping.exp
7973 * gdb.trace/read-memory.exp
7974 * gdb.trace/report.exp
7975 * gdb.trace/save-trace.exp
7976 * gdb.trace/signal.exp
7977 * gdb.trace/stap-trace.exp
7978 * gdb.trace/status-stop.exp
7979 * gdb.trace/strace.exp
7980 * gdb.trace/tfile.exp
7981 * gdb.trace/tfind.exp
7982 * gdb.trace/trace-break.exp
7983 * gdb.trace/trace-condition.exp
7984 * gdb.trace/trace-enable-disable.exp
7985 * gdb.trace/trace-mt.exp
7986 * gdb.trace/tracecmd.exp
7987 * gdb.trace/tracefile-pseudo-reg.exp
7988 * gdb.trace/tspeed.exp
7989 * gdb.trace/tstatus.exp
7991 * gdb.trace/unavailable.exp
7992 * gdb.trace/while-dyn.exp
7993 * gdb.trace/while-stepping.exp
7996 * lib/mi-support.exp
7999 * lib/prelink-support.exp
8000 * lib/selftest-support.exp
8002 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8004 * Makefile.in: Include disable-implicit-rules.mk.
8006 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8008 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8009 non-byte-aligned bit fields.
8011 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8014 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8015 respects the DW_AT_data_bit_offset attribute.
8017 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8019 * gdb.base/default.exp: Fix output of "set language".
8021 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8023 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8024 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8026 * configure.ac: Remove checks for the make program.
8027 * configure: Re-generate.
8029 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8031 * gdb.python/py-recurse-unwind.c (main): Add loop.
8032 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8033 to read_register() and gdb.parse_and_eval(). Make each code
8034 call a separate case that can be individually tested.
8035 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8036 proc. Call cont_and_backtrace for each of the code paths that
8037 we want to test in the unwinder.
8039 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8041 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8042 the definition of struct S.
8044 2016-11-11 Catherine Moore <clm@codesourcery.com>
8046 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8048 2016-11-09 Pedro Alves <palves@redhat.com>
8050 * gdb.base/commands.exp (runto_or_return): New procedure.
8051 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8052 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8053 (progvar_simple_while_test, progvar_complex_if_while_test)
8054 (if_while_breakpoint_command_test)
8055 (infrun_breakpoint_command_test, breakpoint_command_test)
8056 (user_defined_command_test, watchpoint_command_test)
8057 (test_command_prompt_position, redefine_hook_test)
8058 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8059 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8060 multi_line_input and multi_line. Remove gdb_expect and
8061 gdb_stop_suppressing_tests uses.
8062 * lib/gdb.exp (valnum_re): New global.
8063 (multi_line_input): New procedure.
8065 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8067 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8069 (test_setup): Define with proc_with_prefix.
8070 (test_cli_inferior): Likewise.
8071 (test_cli_thread): Likewise.
8072 (test_cli_frame): Likewise.
8073 (test_cli_select_frame): Likewise.
8074 (test_cli_up_down): Likewise.
8075 (test_mi_thread_select): Likewise.
8076 (test_mi_stack_select_frame): Likewise.
8077 (test_cli_in_mi_inferior): Likewise.
8078 (test_cli_in_mi_thread): Likewise.
8079 (test_cli_in_mi_frame): Likewise.
8080 (top level): Do not use with_test_prefix_procname.
8082 2016-11-09 Pedro Alves <palves@redhat.com>
8084 * gdb.base/commands.exp (gdbvar_simple_if_test)
8085 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8086 (progvar_simple_if_test, progvar_simple_while_test)
8087 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8088 (infrun_breakpoint_command_test, breakpoint_command_test)
8089 (user_defined_command_test, watchpoint_command_test)
8090 (test_command_prompt_position, deprecated_command_test)
8091 (bp_deleted_in_command, temporary_breakpoint_commands)
8092 (stray_arg0_test, source_file_with_indented_comment)
8093 (recursive_source_test, if_commands_test)
8094 (error_clears_commands_left, redefine_hook_test)
8095 (redefine_backtrace_test): Use proc_with_prefix.
8096 * lib/gdb.exp (proc_with_prefix): New proc.
8098 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8100 * gdb.base/tui-layout.c: New file.
8101 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8102 disassembly window contains very long lines.
8104 2016-11-08 Tom Tromey <tom@tromey.com>
8106 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8109 2016-11-08 Tom Tromey <tom@tromey.com>
8111 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8114 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8116 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8118 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8120 * gdb.rust/simple.rs: Add test for univariant enums without
8121 discriminants and for encoded struct-like enums.
8123 2016-10-28 Pedro Alves <palves@redhat.com>
8125 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8126 gdb_test_multiple, tighten regexps and match symtabs and line
8127 tables incrementally.
8129 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8131 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8134 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8136 * gdb.base/exec-invalid-sysroot.exp: New file.
8138 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8140 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8142 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8144 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8146 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8148 * gdb.base/killed-outside.exp: Remove $options from a call to
8149 `prepare_for_testing'.
8151 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8153 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8154 Change test message.
8156 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8158 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8161 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8163 * gdb.trace/mi-trace-save.exp: New file.
8165 2016-10-13 Yao Qi <yao.qi@linaro.org>
8167 * gdb.base/code_elim.exp (get_var_address): Remove.
8168 * gdb.base/relocate.exp: Likewise.
8169 * gdb.base/shreloc.exp: Likewise.
8170 * lib/gdb.exp (get_var_address): New.
8172 2016-10-13 Yao Qi <yao.qi@linaro.org>
8174 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8175 floating point tests if $skip_float_test is false.
8177 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8179 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8180 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8182 Add 1 to argc so we guarantee distinct initial/modified argc values.
8184 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8186 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8188 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8190 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8191 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8192 * gdb.arch/vsx-regs.exp: Likewise.
8194 2016-10-07 Yao Qi <yao.qi@linaro.org>
8196 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8198 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8200 * gdb.python/python.exp: Test decode_line("*0").
8202 2016-10-06 Doug Evans <dje@google.com>
8204 * gdb.python/py-value.exp (test_value_creation): Add test for large
8205 unsigned 64-bit value.
8207 2016-10-06 Tom Tromey <tom@tromey.com>
8209 * gdb.compile/compile.exp: Change java tests to rust.
8210 * gdb.base/setshow.exp: Change java tests to rust.
8211 * gdb.base/default.exp: Remove java from language list.
8212 * README (Examples): Update language example.
8213 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8215 * lib/gdb.exp (skip_java_tests): Remove.
8216 * lib/java.exp: Remove.
8219 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8221 * gdb.arch/mips-fcr.exp: New test.
8222 * gdb.arch/mips-fcr.c: Source for the new test.
8224 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8226 * gdb.base/solib-disc.exp: Use `standard_output_file'
8229 2016-10-06 Pedro Alves <palves@redhat.com>
8231 * gdb.base/jit-simple-dl.c: New file.
8232 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8233 * gdb.base/jit-simple.c: ... this.
8234 * gdb.base/jit-simple.exp (jit_run): Delete.
8235 (build_jit): New proc.
8236 (jit_test_reread): Recompile either the main program or the shared
8237 library, depending on what is being tested. Skip changing address
8238 if caller wants to. Compare before/after addresses. If testing
8239 standalone, explicitly load the binary. Test "maint info
8241 (top level): Add "standalone vs shared lib" and "change address"
8242 vs "same address" axes.
8244 2016-10-06 Pedro Alves <palves@redhat.com>
8246 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8249 (jit_test_reread): Use with_test_prefix. Reload the main binary
8250 explicitly. Compare the before/after addresses of the JIT
8253 2016-08-15 Doug Evans <dje@google.com>
8255 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8256 for single bitfields is bool.
8257 * gdb.xml/tdesc-regs.exp: Ditto.
8259 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8261 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8263 2016-10-05 Yao Qi <yao.qi@linaro.org>
8265 * lib/gdb.exp (support_complex_tests): Return zero if
8266 gdb_skip_float_test return true.
8268 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8269 Simon Marchi <simon.marchi@ericsson.com>
8272 * gdb.mi/user-selected-context-sync.exp: New file.
8273 * gdb.mi/user-selected-context-sync.c: New file.
8275 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8276 Simon Marchi <simon.marchi@ericsson.com>
8279 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8280 =thread-select-event check.
8282 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8284 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8285 the compulsory L operand changes.
8286 * gdb.arch/powerpc-power.s: Likewise.
8288 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8290 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8291 * gdb.base/jit-attach-pie.c: New file.
8292 * gdb.base/jit-attach-pie.exp: New file.
8294 2016-09-28 Pedro Alves <palves@redhat.com>
8296 * gdb.base/infcall-input.c: New file.
8297 * gdb.base/infcall-input.exp: New file.
8299 2016-09-22 Yao Qi <yao.qi@linaro.org>
8301 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8302 (gdb_exit): Rename it to ...
8303 (gdbserver_gdb_exit): ... Close GDBserver.
8304 (gdb_exit): New proc, call gdbserver_gdb_exit.
8305 (mi_gdb_exit): Likewise.
8307 2016-09-22 Yao Qi <yao.qi@linaro.org>
8309 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8311 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8314 2016-09-22 Yao Qi <yao.qi@linaro.org>
8316 * lib/gdbserver-support.exp: Check the existence of
8317 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8319 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8321 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8323 2016-09-21 Tom Tromey <tom@tromey.com>
8326 * gdb.base/quit.exp: New file.
8328 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8330 * .gitignore: New file.
8332 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8334 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8337 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8339 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8341 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8343 * gdb.cp/casts.cc (decltype): Move it ...
8344 (main): ... with its call to ...
8345 * gdb.cp/casts03.cc: ... a new file.
8346 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8348 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8350 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8352 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8354 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8355 and sync up the test with tests in gas/testsuite/gas/ppc.
8356 * gdb.arch/powerpc-power.exp: Likewise.
8358 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8360 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8362 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8363 Jan Kratochvil <jan.kratochvil@redhat.com>
8365 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8366 make m1's definition to be different from m2's. Use 'dummy' as an
8367 argument for probe 'two'.
8369 2016-09-10 Jon Beniston <jon@beniston.com>
8371 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8374 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8376 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8377 variable declaration.
8378 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8379 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8380 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8381 received HWCAP as its argument.
8383 2016-09-06 Pedro Alves <palves@redhat.com>
8385 * gdb.base/new-ui-pending-input.c: New file.
8386 * gdb.base/new-ui-pending-input.exp: New file.
8387 * gdb.exp (clear_gdb_spawn_id): New procedure.
8388 (with_spawn_id): Check whether gdb_spawn_id exists before
8389 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8392 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8394 * gdb.base/float128.c: New file.
8395 * gdb.base/float128.exp: Likewise.
8396 * gdb.base/floatn.c: Likewise.
8397 * gdb.base/floatn.exp: Likewise.
8399 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8401 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8403 2016-09-05 Pedro Alves <palves@redhat.com>
8406 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8407 unwinders are immediately called as side effect of "source" or
8408 "disable unwinder" commands.
8409 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8411 2016-09-02 Yao Qi <yao.qi@linaro.org>
8413 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8414 is true and $type is "float" or "double".
8416 2016-09-02 Yao Qi <yao.qi@linaro.org>
8418 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8420 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8421 * gdb.base/call-rt-st.exp: Likewise.
8422 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8423 return value instead of gdb,skip_float_test.
8424 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8425 (do_function_calls): Use its return value instead of
8426 gdb,skip_float_test.
8427 * gdb.base/finish.exp: Likewise.
8428 * gdb.base/funcargs.exp: Likewise.
8429 * gdb.base/return.exp: Likewise.
8430 * gdb.base/return2.exp: Likewise.
8431 * gdb.base/varargs.exp: Likewise.
8432 * lib/gdb.exp (gdb_skip_float_test): Change it to
8433 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8435 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8437 * gdb.multi/tids.exp: Test "thread apply all".
8439 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8441 * gdb.base/default.exp (tty): Remove.
8443 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8445 * gdb.python/py-recurse-unwind.c: New file.
8446 * gdb.python/py-recurse-unwind.py: New file.
8447 * gdb.python/py-recurse-unwind.exp: New file.
8449 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8451 * gdb.base/set-inferior-tty.exp: New file.
8452 * gdb.base/set-inferior-tty.c: New file.
8454 2016-08-23 Pedro Alves <palves@redhat.com>
8457 * gdb.base/new-ui-echo.c: New file.
8458 * gdb.base/new-ui-echo.exp: New file.
8460 2016-08-23 Yao Qi <yao.qi@linaro.org>
8462 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8464 * gdb.server/connect-without-multi-process.exp (do_test):
8467 2016-08-23 Yao Qi <yao.qi@linaro.org>
8469 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8470 standalone_txt. Delete gdb_txt and standalone_txt on host
8471 and target. Spawn the binary on target. Copy files from
8474 2016-08-22 Pedro Alves <palves@redhat.com>
8477 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8478 with_test_prefix. Factor out bits to ...
8479 (test_no_vdso): ... this new procedure.
8481 2016-08-19 Carl Love <cel@us.ibm.com>
8483 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8484 maintaining separate logic for constructing the output path.
8485 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8486 * gdb.arch/ppc-dfp.exp: Likewise.
8487 * gdb.arch/ppc-fp.exp: Likewise.
8488 * gdb.arch/vsx-regs.exp: Likewise.
8489 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8490 binprefix for generating the additional binary files.
8492 2016-08-19 Pedro Alves <palves@redhat.com>
8494 * gdb.trace/mi-trace-frame-collected.exp
8495 (test_trace_frame_collected): On x32, expect two registers.
8497 2016-08-18 Carl Love <cel@us.ibm.com>
8499 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8500 and sync up the test with tests in gas/testsuite/gas/ppc.
8501 * gdb.arch/powerpc-power.exp: Likewise.
8503 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8505 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8506 expected error message.
8508 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8510 * gdb.multi/remove-inferiors.exp: New file.
8511 * gdb.multi/remove-inferiors.c: New file.
8513 2016-08-12 Yao Qi <yao.qi@linaro.org>
8515 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8518 2016-08-10 Pedro Alves <palves@redhat.com>
8521 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8524 2016-08-09 Pedro Alves <palves@redhat.com>
8525 Simon Marchi <simon.marchi@ericsson.com>
8528 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8529 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8531 2016-08-09 Pedro Alves <palves@redhat.com>
8534 * gdb.mi/mi-cmd-error.exp: New file.
8536 2016-08-09 Pedro Alves <palves@redhat.com>
8539 * gdb.base/signals-state-child.c: New file.
8540 * gdb.base/signals-state-child.exp: New file.
8541 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8543 2016-08-09 Pedro Alves <palves@redhat.com>
8545 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8547 2016-08-03 Tom Tromey <tom@tromey.com>
8550 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8552 2016-08-01 Yao Qi <yao.qi@linaro.org>
8554 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8555 variable mode to "multi-process" if $multi_process is 1, otherwise
8556 set it to "single-process".
8558 2016-08-01 Yao Qi <yao.qi@linaro.org>
8560 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8561 * gdb.cp/cpexprs.exp: Likewise.
8562 * gdb.cp/m-static.exp: Likewise.
8564 2016-07-26 Tom Tromey <tom@tromey.com>
8567 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8570 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8572 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8573 selecting assembly source files.
8574 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8575 assembly source files.
8576 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8577 assembly source files.
8578 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8579 selecting assembly source files.
8581 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8583 * gdb.base/new-ui.exp (do_test_invalid_args): New
8586 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8588 * gdb.btrace/reconnect.c: New file.
8589 * gdb.btrace/reconnect.exp: New file.
8591 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8593 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8594 to test_catch_syscall_group.
8595 (test_catch_syscall_group): New.
8597 2016-07-21 Tom Tromey <tom@tromey.com>
8599 * gdb.rust/simple.rs (main): Use empty struct expression.
8600 * gdb.rust/simple.exp: Add tests for empty struct expression.
8602 2016-07-21 Yao Qi <yao.qi@linaro.org>
8604 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8605 if gdb_skip_xml_test is true on some targets.
8607 2016-07-21 Yao Qi <yao.qi@linaro.org>
8609 * gdb.server/solib-list.exp: Unset last_loaded_file.
8611 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8614 "step into captured_main (args)".
8616 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8618 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8620 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8622 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8624 2016-07-19 Pedro Alves <palves@redhat.com>
8626 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8627 * gdb.opt/inline-bt.exp: Likewise.
8628 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8629 additional_flags=-Winline.
8630 * gdb.opt/inline-locals.exp: Likewise.
8631 * gdb.opt/inline-markers.c (ATTR): Define.
8632 (inlined_fn): Use it.
8634 2016-07-19 Yao Qi <yao.qi@linaro.org>
8636 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8637 (test_with_self): Remove some code. Remove argument executable.
8638 (top-level): Use do_self_tests.
8640 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8641 Don Breazeal <donb@codesourcery.com>
8643 * gdb.base/maint.exp: Escape paths used in regular expressions.
8644 * gdb.stabs/weird.exp: Likewise.
8646 2016-07-13 Tom Tromey <tom@tromey.com>
8648 PR python/15620, PR python/18620:
8649 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8650 (test_bkpt_events): New procs.
8652 2016-07-13 Tom Tromey <tom@tromey.com>
8655 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8657 (test_watchpoints): Likewise.
8658 (test_bkpt_pending): New proc.
8660 2016-07-13 Tom Tromey <tom@tromey.com>
8663 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8666 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8668 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8669 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8670 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8672 (g): Rename g_end_lbl to g_label.
8673 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8675 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8677 2016-07-12 Tom Tromey <tom@tromey.com>
8680 * gdb.python/py-unwind-maint.exp: Update tests.
8682 2016-07-12 Yao Qi <yao.qi@linaro.org>
8684 * lib/selftest-support.exp (selftest_setup): Match the output
8685 when captured_main is inlined.
8687 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8689 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8691 (print this%a, print this%b, print this): New tests.
8692 * gdb.fortran/derived-types.f90 (this): New object and
8695 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8697 * gdb.ada/arraydim.exp: Remove extra directory level in build
8700 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8702 * lib/ada.exp: Remove extra directory level in build directory.
8703 * gdb.ada/cond_lang.exp: Likewise.
8704 * gdb.ada/exec_changed.exp: Likewise.
8705 * gdb.ada/lang_switch.exp: Likewise.
8707 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8709 * simple.rs: Add test for raw pointer subscripting.
8710 * simple.exp: Add test expectations.
8712 2016-07-05 Yao Qi <yao.qi@linaro.org>
8714 * gdb.mi/mi-reverse.exp: Match =record-started output.
8716 2016-07-01 Pedro Alves <palves@redhat.com>
8718 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8720 (jit_reader_test): Test the jit reader's unwinder.
8721 * gdb.base/jithost.c (jit_function_00_code): New global.
8722 (main): Use memcpy to fill in the mmapped code, instead of poking
8723 bytes manually here.
8724 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8726 (read_debug_info): Save the function's range.
8727 (read_sp): New function.
8728 (unwind_frame): Use it. Also unwind RBP.
8729 (get_frame_id): Use read_sp.
8730 (gdb_init_reader): Use calloc instead of malloc.
8731 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8732 parameter. Use gdb_test_multiple.
8734 2016-07-01 Pedro Alves <palves@redhat.com>
8735 Antoine Tremblay <antoine.tremblay@ericsson.com>
8737 * gdb.threads/process-dies-while-detaching.c: New file.
8738 * gdb.threads/process-dies-while-detaching.exp: New file.
8740 2016-07-01 Pedro Alves <palves@redhat.com>
8742 * gdb.multi/watchpoint-multi-exit.c: New file.
8743 * gdb.multi/watchpoint-multi-exit.exp: New file.
8745 2016-06-30 Pedro Alves <palves@redhat.com>
8747 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8748 unset inferior_spawn_id.
8750 2016-06-30 Pedro Alves <palves@redhat.com>
8752 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8753 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8755 2016-06-29 Yao Qi <yao.qi@linaro.org>
8757 * gdb.base/return.c: Add copyright header.
8759 2016-06-29 Tom Tromey <tom@tromey.com>
8762 * gdb.python/py-framefilter.exp: Add tests for setting priority
8763 and disabling of non-existent frame filter.
8765 2016-06-29 Yao Qi <yao.qi@linaro.org>
8767 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8770 2016-06-28 Yao Qi <yao.qi@linaro.org>
8772 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8773 triplets. Start gdb, execute catch syscall, and continue. Check
8774 gdb's output to determine catch syscall is supported.
8776 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8778 * gdb.rust/simple.rs: Add test for returning unit in a function.
8779 * gdb.rust/simple.exp: Add expectation for functions returning
8782 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8784 * gdb.python/py-breakpoint-create-fail.c,
8785 gdb.python/py-breakpoint-create-fail.exp,
8786 gdb.python/py-breakpoint-create-fail.py: New testcase.
8788 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8791 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8792 * gdb.rust/simple.exp: Add test expectations for new NonZero
8795 2016-06-24 David Taylor <dtaylor@emc.com>
8797 * gdb.base/offsets.exp: New file.
8798 * gdb.base/offsets.c: New file.
8800 2016-06-23 Tom Tromey <tom@tromey.com>
8803 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8804 before any filters are loaded.
8806 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8808 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8809 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8811 * gdb.fortran/derived-type-function.exp: New file.
8812 * gdb.fortran/derived-type-function.f90: New file.
8815 2016-06-21 Pedro Alves <palves@redhat.com>
8817 * gdb.base/new-ui.exp: New file.
8818 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8819 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8820 (with_spawn_id): New procedure.
8822 2016-06-21 Pedro Alves <palves@redhat.com>
8824 * gdb.mi/mi-exec-run.exp: New file.
8826 2016-06-21 Pedro Alves <palves@redhat.com>
8828 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8829 breakpoint command's output on the main UI.
8830 (test_break): New procedure, factored out from calls in the top
8832 (top level): Use foreach_with_prefix to test MI as main UI and as
8835 2016-06-21 Pedro Alves <palves@redhat.com>
8837 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8838 (test_awatch_creation_and_listing)
8839 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8840 Remove 'type' parameter.
8841 (test_watchpoint_all): New parameter mi_mode. Remove
8843 (top level): Use foreach_with_prefix, and add main/separate UI MI
8846 2016-06-21 Pedro Alves <palves@redhat.com>
8848 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8849 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8850 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8851 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8852 (gdb_main_spawn_id, mi_spawn_id): Declare and
8854 (mi_create_inferior_pty): New procedure,
8855 factored out from default_mi_gdb_start.
8856 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8858 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8859 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8860 Use mi_create_inferior_pty.
8861 (mi_gdb_start): Use eval to pass down args list.
8863 2016-06-21 Pedro Alves <palves@redhat.com>
8865 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8866 * gdb.opt/inline-cmds.exp: Add MI tests.
8868 2016-06-21 Pedro Alves <palves@redhat.com>
8870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8872 2016-06-21 Pedro Alves <palves@redhat.com>
8874 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8875 (top level): Use it instead of mi_execute_to.
8877 2016-06-21 Pedro Alves <palves@redhat.com>
8879 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8880 (cont_handler_str): New.
8881 (signal_stop_handler): Set stop_handler_str instead of printing to
8883 (continue_handler): Set cont_handler_str instead of printing to
8885 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8886 mi_send_resuming_command. Print stop_handler_str and
8887 cont_handler_str instead of expecting the python events print
8890 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8892 * gdb.base/jit-reader.exp: New file.
8893 * gdb.base/jithost.c: New file.
8894 * gdb.base/jithost.h: New file.
8895 * gdb.base/jitreader.c : New file.
8896 * gdb.base/jit-protocol.h: New file.
8898 2016-06-17 Yao Qi <yao.qi@linaro.org>
8900 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8901 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8902 and detach-on-fork. Adjust tests.
8903 (top level): Invoke break_cond_on_syscall with combinations of
8904 syscall, follow-fork-mode and detach-on-fork.
8906 2016-06-17 Yao Qi <yao.qi@linaro.org>
8908 * gdb.base/step-over-exit.c: New.
8909 * gdb.base/step-over-exit.exp: New.
8911 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8913 * gdb.base/float.exp: Add target check for nds32*-*-*.
8914 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8916 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8918 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8919 for unsupported target features.
8920 * gdb.base/call-rt-st.exp: Likewise.
8921 * gdb.base/call-sc.exp: Likewise.
8922 * gdb.base/call-signal-resume.exp: Likewise.
8923 * gdb.base/call-strs.exp: Likewise.
8924 * gdb.base/callexit.exp: Likewise.
8925 * gdb.base/callfuncs.exp: Likewise.
8926 * gdb.base/nodebug.exp: Likewise.
8927 * gdb.base/printcmds.exp: Likewise.
8928 * gdb.base/ptype.exp: Likewise.
8929 * gdb.base/structs.exp: Likewise.
8930 * gdb.base/unwindonsignal.exp: Likewise.
8931 * gdb.cp/gdb2495.exp: Likewise.
8932 * gdb.cp/templates.exp: Likewise.
8933 * gdb.cp/virtfunc.exp: Likewise.
8934 * gdb.threads/hand-call-in-threads.exp: Likewise.
8935 * gdb.threads/interrupted-hand-call.exp: Likewise.
8936 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8938 2016-06-10 Tom Tromey <tom@tromey.com>
8941 * gdb.rust/expr.exp: Add test for integer constant larger than
8944 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8946 * gdb.fortran/nested-funcs.exp: New.
8947 * gdb.fortran/nested-funcs.f90: New.
8949 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8951 * gdb.base/examine-backward.c: New file.
8952 * gdb.base/examine-backward.exp: New file.
8954 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8956 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8959 2016-06-02 Tom Tromey <tom@tromey.com>
8962 * gdb.python/py-shared.exp: Add solib_name test.
8964 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8966 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8968 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8971 * gdb.dwarf2/implref.exp: Rename to...
8972 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8973 * gdb.dwarf2/implref-array.c: New file.
8974 * gdb.dwarf2/implref-array.exp: Likewise.
8975 * gdb.dwarf2/implref-global.c: Likewise.
8976 * gdb.dwarf2/implref-global.exp: Likewise.
8977 * gdb.dwarf2/implref-struct.c: Likewise.
8978 * gdb.dwarf2/implref-struct.exp: Likewise.
8980 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8982 * gdb.trace/trace-condition.exp: Add 64bit tests.
8984 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8986 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8988 (main): Adapt to 8 to 64 bits types.
8989 * gdb.trace/trace-condition.exp: Add new tests.
8991 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8993 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8995 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8997 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8998 Move condition tests...
8999 * gdb.trace/trace-condition.exp: Here.
9001 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9003 * gdb.trace/trace-condition.exp: Add counter-case tests.
9005 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9008 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9009 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9011 2016-05-27 Pedro Alves <palves@redhat.com>
9013 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9015 (top level): Call it, and bail out of DejaGnu is known to be bad.
9017 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9019 * gdb.base/whatis.c: Extend the test case.
9020 * gdb.base/whatis.exp: Add additional tests.
9022 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9024 * gdb.fortran/type.f90: Add pointer variable.
9025 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9027 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9029 * gdb.fortran/vla-type.exp: Fix testcase name.
9031 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9033 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9035 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9037 * gdb.fortran/type.f90: Add nested structures.
9038 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9039 * gdb.fortran/derived-type.exp: Adapt expected output.
9040 * gdb.fortran/vla-type.exp: Adapt expected output.
9042 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9044 * gdb.fortran/whatis_type.exp: Adapt expected output.
9046 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9048 * gdb.fortran/print_type.exp: Fix expected output.
9049 * gdb.fortran/whatis_type.exp: Fix expected output.
9051 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9053 * gdb.fortran/whatis_type.exp: Use multi_line.
9055 2016-05-24 Tom Tromey <tom@tromey.com>
9058 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9059 use value as an index.
9061 2016-05-23 Tom Tromey <tom@tromey.com>
9064 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9067 2016-05-24 Pedro Alves <palves@redhat.com>
9070 * gdb.threads/clone-attach-detach.c: New file.
9071 * gdb.threads/clone-attach-detach.exp: New file.
9073 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9075 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9077 2016-05-23 Tom Tromey <tom@tromey.com>
9079 PR python/19438, PR python/18393:
9080 * gdb.python/py-progspace.exp: Add "dir" test.
9081 * gdb.python/py-objfile.exp: Add "dir" test.
9083 2016-05-23 Yao Qi <yao.qi@linaro.org>
9085 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9086 * gdb.arch/thumb2-it.exp: Likewise.
9088 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9090 * gdb.mi/mi-threads-interrupt.c: New file.
9091 * gdb.mi/mi-threads-interrupt.exp: New file.
9093 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9096 * gdb.mi/mi-async-run.exp: New file.
9097 * gdb.mi/mi-async-run.c: New file.
9099 2016-05-17 Tom Tromey <tom@tromey.com>
9100 Manish Goregaokar <manishsmail@gmail.com>
9102 * lib/rust-support.exp: New file.
9103 * lib/gdb.exp (skip_rust_tests): New proc.
9104 (build_executable_from_specs): Handle rust.
9105 * lib/future.exp (gdb_find_rustc): New proc.
9106 (gdb_default_target_compile): Handle rust.
9107 * gdb.rust/expr.exp: New file.
9108 * gdb.rust/generics.exp: New file.
9109 * gdb.rust/generics.rs: New file.
9110 * gdb.rust/methods.exp: New file.
9111 * gdb.rust/methods.rs: New file.
9112 * gdb.rust/modules.exp: New file.
9113 * gdb.rust/modules.rs: New file.
9114 * gdb.rust/simple.exp: New file.
9115 * gdb.rust/simple.rs: New file.
9117 2016-05-17 Tom Tromey <tom@tromey.com>
9119 * gdb.base/default.exp (set language): Add rust.
9121 2016-05-17 Tom Tromey <tom@tromey.com>
9123 * gdb.gdb/unittest.exp: New file.
9125 2016-05-16 Yao Qi <yao.qi@linaro.org>
9127 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9128 shell_prompt. Update shell_prompt_re.
9130 2016-05-12 Doug Evans <dje@google.com>
9133 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9134 $options when building executable.
9135 * gdb.dwarf2/fission-loclists-pie.S: New file.
9136 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9138 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9140 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9141 of [is_remote target],
9143 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9145 * lib/gdb.exp (use_gdb_stub): New procedure.
9147 2016-05-03 Yunlian Jiang <yunlian@google.com>
9148 Doug Evans <dje@google.com>
9151 * gdb.dwarf2/dwp-sepdebug.c: New file.
9152 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9154 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9156 * gdb.base/detach.exp: Remove is_remote check.
9158 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9160 * gdb.base/annota-input-while-running.exp: Don't check for
9161 [is_remote target]. Enable annotations after running to main.
9162 Remove unused "set test..." line.
9164 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9166 * gdb.trace/trace-enable-disable.exp: New file.
9167 * gdb.trace/trace-enable-disable.c: New file.
9169 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9171 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9172 use it in info sharedlibrary test.
9173 * gdb.trace/ftrace-lock.exp: Likewise.
9174 * gdb.trace/ftrace.exp: Likewise.
9175 * gdb.trace/range-stepping.exp: Likewise.
9176 * gdb.trace/trace-break.exp: Likewise.
9177 * gdb.trace/trace-condition.exp: Likewise.
9178 * gdb.trace/trace-mt.exp: Likewise.
9180 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9182 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9183 (gdb_load_shlib): ... this.
9184 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9186 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9187 * gdb.base/ctxobj.exp: Likewise.
9188 * gdb.base/dprintf-pending.exp: Likewise.
9189 * gdb.base/dso2dso.exp: Likewise.
9190 * gdb.base/fixsection.exp: Likewise.
9191 * gdb.base/gcore-relro.exp: Likewise.
9192 * gdb.base/gdb1555.exp: Likewise.
9193 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9194 * gdb.base/gnu-ifunc.exp: Likewise.
9195 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9196 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9197 * gdb.base/pending.exp: Likewise.
9198 * gdb.base/print-file-var.exp: Likewise.
9199 * gdb.base/print-symbol-loading.exp: Likewise.
9200 * gdb.base/shlib-call.exp: Likewise.
9201 * gdb.base/shreloc.exp: Likewise.
9202 * gdb.base/so-impl-ld.exp: Likewise.
9203 * gdb.base/solib-disc.exp: Likewise.
9204 * gdb.base/solib-nodir.exp: Likewise.
9205 * gdb.base/solib-overlap.exp: Likewise.
9206 * gdb.base/solib-symbol.exp: Likewise.
9207 * gdb.base/solib-weak.exp (do_test): Likewise.
9208 * gdb.base/sym-file.exp: Likewise.
9209 * gdb.base/symtab-search-order.exp: Likewise.
9210 * gdb.base/type-opaque.exp: Likewise.
9211 * gdb.base/unload.exp: Likewise.
9212 * gdb.base/watchpoint-solib.exp: Likewise.
9213 * gdb.compile/compile.exp: Likewise.
9214 * gdb.cp/gdb2384.exp: Likewise.
9215 * gdb.cp/infcall-dlopen.exp: Likewise.
9216 * gdb.cp/re-set-overloaded.exp: Likewise.
9217 * gdb.fortran/library-module.exp: Likewise.
9218 * gdb.opt/solib-intra-step.exp: Likewise.
9219 * gdb.python/py-finish-breakpoint.exp: Likewise.
9220 * gdb.python/py-shared.exp: Likewise.
9221 * gdb.reverse/solib-precsave.exp: Likewise.
9222 * gdb.reverse/solib-reverse.exp: Likewise.
9223 * gdb.server/solib-list.exp: Likewise.
9224 * gdb.threads/dlopen-libpthread.exp: Likewise.
9225 * gdb.threads/tls-shared.exp: Likewise.
9226 * gdb.threads/tls-so_extern.exp: Likewise.
9227 * gdb.trace/change-loc.exp: Likewise.
9228 * gdb.trace/ftrace-lock.exp: Likewise.
9229 * gdb.trace/ftrace.exp: Likewise.
9230 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9231 * gdb.trace/pending.exp: Likewise.
9232 * gdb.trace/range-stepping.exp: Likewise.
9233 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9234 (strace_info_marker): Likewise.
9235 (strace_probe_marker): Likewise.
9236 (strace_trace_on_same_addr): Likewise.
9237 (strace_trace_on_diff_addr): Likewise.
9238 * gdb.trace/trace-break.exp: Likewise.
9239 * gdb.trace/trace-condition.exp: Likewise.
9240 * gdb.trace/trace-mt.exp: Likewise.
9242 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9244 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9245 result of gdb_remote_download.
9246 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9247 * gdb.base/dso2dso.exp: Likewise.
9248 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9249 * gdb.base/print-file-var.exp: Likewise.
9250 * gdb.base/shlib-call.exp: Likewise.
9251 * gdb.base/shreloc.exp: Likewise.
9252 * gdb.base/solib-overlap.exp: Likewise.
9253 * gdb.base/solib-weak.exp (do_test): Likewise.
9254 * gdb.base/unload.exp: Likewise.
9256 2016-04-27 Yao Qi <yao.qi@linaro.org>
9258 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9261 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9263 * vla-type.exp: Print structure from toplevel.
9265 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9267 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9269 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9272 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9274 * gdb.fortran/vla-type.f90: New file.
9275 * gdb.fortran/vla-type.exp: New file.
9277 2016-04-25 Yao Qi <yao.qi@linaro.org>
9279 * gdb.base/branch-to-self.c: New file.
9280 * gdb.base/branch-to-self.exp: New file.
9282 2016-04-22 Yao Qi <yao.qi@linaro.org>
9284 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9287 2016-04-22 Yao Qi <yao.qi@linaro.org>
9289 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9290 * gdb.base/annota3.exp: Likewise.
9292 2016-04-22 Yao Qi <yao.qi@linaro.org>
9294 * gdb.reverse/step-precsave.exp: Do one step and test program
9295 stops in "callee" and do multiple steps until program goes out
9297 * gdb.reverse/step-reverse.exp: Likewise.
9299 2016-04-22 Yao Qi <yao.qi@linaro.org>
9301 * gdb.trace/signal.exp: Also pass if
9302 $tracepoint_hits($i) > $iterations.
9304 2016-04-22 Yao Qi <yao.qi@linaro.org>
9306 * gdb.trace/signal.c: New file.
9307 * gdb.trace/signal.exp: New file.
9309 2016-04-19 Doug Evans <xdje42@gmail.com>
9311 * gdb.base/bad-file.exp: New file.
9313 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9315 * gdb.dwarf2/implref.exp: New file.
9317 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9319 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9320 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9321 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9322 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9323 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9324 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9325 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9326 * lib/fortran.exp (fortran_int4): New procedure.
9327 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9328 (fortran_logical4): Likewise.
9330 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9332 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9334 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9336 * lib/compiler.c: Add Intel specific preprocessor macros.
9337 * lib/compiler.cc: Likewise.
9339 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9341 * gdb.server/connect-with-no-symbol-file.c: New file.
9342 * gdb.server/connect-with-no-symbol-file.exp: New file.
9344 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9346 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9348 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9350 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9351 standard output directory.
9353 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9355 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9357 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9359 * gdb.btrace/instruction_history.c (loop): Add declaration.
9361 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9363 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9365 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9367 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9368 parentheses to print.
9369 (continue_handler): Likewise.
9371 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9373 * gdb.server/solib-list.exp: Remove is_remote check.
9374 Pass shlib= to gdb_compile. Don't link shared library with
9375 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9376 Run binary filename through "readlink -f" on the target.
9378 2016-04-08 Pedro Alves <palves@redhat.com>
9380 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9381 interpreter filename as argument to gdbserver_spawn.
9382 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9383 Return empty if $last_loaded_file does not exist.
9385 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9387 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9388 * gdb.base/jit-main.c: Use exit after usage.
9390 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9392 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9393 GDBHISTSIZE prior to the tests.
9394 * gdb.base/gdbinit-history.exp: Likewise.
9396 2016-04-07 Pedro Alves <palves@redhat.com>
9398 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9399 instead of build_executable. Use gdb_load_shlibs.
9401 2016-04-07 Yao Qi <yao.qi@linaro.org>
9403 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9404 Execute "si" command.
9406 2016-04-07 Yao Qi <yao.qi@linaro.org>
9408 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9409 number instead of the comments on some line.
9411 2016-04-06 Don Breazeal <donb@codesourcery.com>
9413 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9414 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9416 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9418 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9419 standard_output_file. Remove unused binfile variable.
9421 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9423 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9424 * gdb.python/py-mi-objfile.exp: Match "list main" output
9427 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9429 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9432 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9434 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9436 * gdb.trace/ftrace.exp: Likewise.
9437 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9439 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9440 (gdb_load_shlibs): Copy libraries to test directory when testing
9441 natively. Only set solib-search-path if testing remotely.
9442 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9444 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9446 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9447 gdb_download. Use it even if the target is not remote.
9448 * gdb.base/jit.exp (compile_jit_test): Likewise.
9449 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9450 output directory if the destination board is local, otherwise use
9451 the standard remote_download from DejaGnu.
9452 (gdb_download): Remove.
9453 (gdb_load_shlibs): Use gdb_remote_download instead of
9455 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9456 Use gdb_remote_download instead of gdb_download. Use it even if
9457 the target is not remote.
9458 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9459 instead of gdb_download.
9461 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9463 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9464 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9467 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9470 * gdb.base/printcmds.exp: Add artificial arrays tests.
9472 2016-03-31 Pedro Alves <palves@redhat.com>
9475 * gdb.base/jit-main.c: Include unistd.h.
9476 (ATTACH): Define to 0 if not already defined.
9477 (wait_for_gdb, mypid): New globals.
9478 (WAIT_FOR_GDB): New macro.
9479 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9480 some breakpoint locations.
9481 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9483 (one_jit_test): Add REATTACH parameter, and handle it. Use
9484 continue_to_test_location.
9485 (top level): Test attach, and adjusts calls to one_jit_test.
9487 2016-03-31 Pedro Alves <palves@redhat.com>
9490 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9491 BINSUFFIX parameter, and handle it.
9492 (top level): Adjust calls compile_jit_test.
9494 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9497 * gdb.python/py-mi-events-gdb.py: New file.
9498 * gdb.python/py-mi-events.c: New file.
9499 * gdb.python/py-mi-events.exp: New file.
9501 2016-03-30 Yao Qi <yao.qi@linaro.org>
9503 * gdb.reverse/until-precsave.exp: Match function name only.
9504 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9505 Move malloc to a condition block.
9506 * gdb.reverse/until-reverse.exp: Match function name only.
9508 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9510 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9511 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9512 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9513 variable for GPR 0 instead of assuming it is register 0.
9514 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9515 * lib/trace-support.exp: Add s390 registers.
9517 2016-03-29 Yao Qi <yao.qi@linaro.org>
9519 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9521 2016-03-24 Yao Qi <yao.qi@linaro.org>
9523 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9526 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9528 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9529 maintaining separate logic for constructing the output path.
9531 2016-03-16 Don Breazeal <donb@codesourcery.com>
9533 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9534 Retry fork and waitpid on interrupted system call errors.
9535 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9536 Use with_timeout_factor to increase timeout by factor of 10.
9538 2016-03-15 Don Breazeal <donb@codesourcery.com>
9540 * gdb.cp/scope-err.cc: New test program.
9541 * gdb.cp/scope-err.exp: New test script.
9542 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9543 lines and "set breakpoint here" comment.
9544 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9545 Fixed some whitespace and format issues.
9546 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9547 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9549 2016-03-15 Doug Evans <dje@google.com>
9551 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9552 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9553 All callers updated. Add tests for enums, mixed flags register.
9555 2016-03-15 Doug Evans <dje@google.com>
9557 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9558 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9560 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9562 * gdb.base/default.exp: Add $_as_string to the list of expected
9563 convenience functions.
9565 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9567 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9569 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9571 * gdb.python/py-as-string.exp: New file.
9572 * gdb.python/py-as-string.c: New file.
9574 2016-03-09 Pedro Alves <palves@redhat.com>
9576 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9577 signal" -> "Thread NN received signal" output change.
9578 * gdb.threads/ia64-sigill.exp: Likewise.
9579 * gdb.threads/linux-dp.exp: Likewise.
9580 * gdb.threads/manythreads.exp: Likewise.
9581 * gdb.threads/pending-step.exp: Likewise.
9582 * gdb.threads/print-threads.exp: Likewise.
9583 * gdb.threads/sigstep-threads.exp: Likewise.
9584 * gdb.threads/staticthreads.exp: Likewise.
9585 * gdb.threads/tls.exp: Likewise.
9587 2016-03-09 Pedro Alves <palves@redhat.com>
9589 * gdb.base/command-line-input.exp: New file.
9591 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9593 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9594 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9595 * gdb.trace/pending.exp: Accept leading dot before function name.
9596 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9597 * lib/trace-support.exp: Set registers for ppc.
9599 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9601 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9602 use it for disassembly; accept .main in addition to main in backtrace.
9604 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9605 Marcin Kościelnicki <koriakin@0x04.net>
9607 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9608 (gdb_recursion_test_ptr): New global variable.
9609 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9611 (gdb_c_test): Ditto.
9613 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9615 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9618 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9620 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9621 (bar): Add bar_start_lbl label.
9622 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9623 of foo/bar for emitting DWARF and tracing.
9625 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9627 * analyze-racy-logs.py: Set executable bit.
9629 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9631 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9632 (CHECK_TARGET_TMP): Likewise.
9633 (check-single-racy): New rule.
9634 (check-parallel-racy): Likewise.
9635 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9636 (do-check-parallel-racy): New rule.
9637 (check-racy/%.exp): Likewise.
9638 * README (Racy testcases): New section.
9639 * analyze-racy-logs.py: New file.
9641 2016-03-03 Doug Evans <dje@google.com>
9643 * gdb.base/skip.exp: Use with_test_prefix.
9645 2016-03-03 Yao Qi <yao.qi@linaro.org>
9647 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9648 Invoke step_over_syscall "clone" and break_cond_on_syscall
9650 * gdb.base/step-over-clone.c: New file.
9652 2016-03-03 Yao Qi <yao.qi@linaro.org>
9654 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9657 2016-03-03 Yao Qi <yao.qi@linaro.org>
9659 * gdb.base/disp-step-fork.c: Rename to ...
9660 * gdb.base/step-over-fork.c: ... it. New file.
9661 * gdb.base/disp-step-vfork.c: Rename to ...
9662 * gdb.base/step-over-vfork.c: ... it. New file.
9663 * gdb.base/disp-step-syscall.exp: Rename to ...
9664 * gdb.base/step-over-syscall.exp: ... it. New file.
9665 (disp_step_cross_syscall): Rename to ...
9666 (step_over_syscall): ... it.
9668 2016-03-03 Yao Qi <yao.qi@linaro.org>
9670 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9671 If target supports condition evaluation on target, invoke
9672 break_cond_on_syscall for fork and vfork.
9674 2016-03-03 Yao Qi <yao.qi@linaro.org>
9676 * gdb.base/disp-step-syscall.exp: Don't invoke
9677 support_displaced_stepping.
9678 (disp_step_cross_syscall): Test with displaced stepping off and
9681 2016-03-03 Yao Qi <yao.qi@linaro.org>
9683 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9686 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9689 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9691 * gdb.fortran/vla-history.exp: Remove breakpoint.
9693 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9695 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9698 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9700 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9703 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9705 * gdb.mi/vla.f90: Nullify pointer after declaration.
9707 2016-03-01 Pedro Alves <palves@redhat.com>
9709 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9711 2016-03-01 Pedro Alves <palves@redhat.com>
9713 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9714 before anything else.
9715 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9717 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9718 before anything else.
9719 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9721 2016-03-01 Pedro Alves <palves@redhat.com>
9723 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9725 2016-03-01 Yao Qi <yao.qi@linaro.org>
9727 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9728 prepare_for_testing.
9730 2016-03-01 Yao Qi <yao.qi@linaro.org>
9732 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9734 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9736 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9737 manually constructing the output path.
9739 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9741 * gdb.arch/s390-stackless.S: New.
9742 * gdb.arch/s390-stackless.exp: New.
9744 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9746 * gdb.dlang/circular.c: New file.
9747 * gdb.dlang/circular.exp: New file.
9749 2016-02-26 Yao Qi <yao.qi@linaro.org>
9751 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9752 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9753 (testcases): Update.
9755 2016-02-26 Yao Qi <yao.qi@linaro.org>
9757 * gdb.reverse/aarch64.c: Rename to ...
9758 * gdb.reverse/insn-reverse.c: ... it.
9759 * gdb.reverse/aarch64.exp: Rename to ...
9760 * gdb.reverse/insn-reverse.exp: ... it.
9762 2016-02-26 Yao Qi <yao.qi@linaro.org>
9764 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9765 (testcase_ftype): New.
9766 (testcases): New array.
9768 (main): Call each element in testcases.
9769 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9770 (read_testcase): New.
9771 Do the tests in a loop.
9773 2016-02-25 Yao Qi <yao.qi@linaro.org>
9775 * gdb.base/branches.c: Remove.
9777 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9780 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9782 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9784 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9786 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9788 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9789 change x86_64 call_insn to 'callq'.
9791 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9793 * gdb.trace/tfile-avx.c: Move to...
9794 * gdb.trace/tracefile-pseudo-reg.c: Here.
9795 * gdb.trace/tfile-avx.exp: Move to...
9796 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9798 2016-02-24 Gary Benson <gbenson@redhat.com>
9800 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9803 2016-02-23 Doug Evans <dje@google.com>
9805 * gdb.base/skip.c (test_skip): New function.
9806 (end_test_skip_file_and_function): New function.
9807 (test_skip_file_and_function): New function.
9808 * gdb.base/skip1.c (test_skip): New function.
9809 (skip1_test_skip_file_and_function): New function.
9810 * gdb.base/skip.exp: Add tests for new skip options.
9811 * gdb.base/skip-solib.exp: Update expected output.
9812 * gdb.perf/skip-command.cc: New file.
9813 * gdb.perf/skip-command.exp: New file.
9814 * gdb.perf/skip-command.py: New file.
9816 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9818 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9819 info registers pattern.
9821 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9823 * lib/future.exp: Add D support.
9824 (gdb_find_gdc): New proc.
9825 (gdb_default_target_compile): Add D support.
9827 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9829 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9831 (trace_speed_test): Determine the iteration count for a time
9832 between 15..30 seconds.
9834 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9836 * gdb.arch/i386-mpx-sigsegv.c: New file.
9837 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9838 * gdb.arch/i386-mpx-simple_segv.c: New file.
9839 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9841 2016-02-18 Yao Qi <yao.qi@linaro.org>
9843 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9844 Don't call setup_kfail.
9846 2016-02-18 Yao Qi <yao.qi@linaro.org>
9848 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9849 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9851 2016-02-16 Doug Evans <dje@google.com>
9853 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9854 * gdb.base/skip1.c: Ditto.
9855 * gdb.base/skip.exp: Whitespace cleanup.
9857 2016-02-16 Don Breazeal <donb@codesourcery.com>
9860 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9861 Remove kfail for PR remote/19496.
9863 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9865 * lib/gdb.exp (standard_temp_file): Return a path specific to
9866 the runtest invocation.
9868 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9870 * gdb.trace/save-trace.exp: Change relative path to be in the
9871 standard output directory.
9873 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9875 * gdb.arch/i386-prologue.c: Add missing prototypes.
9877 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9879 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9880 * gdb.arch/i386-prologue.exp: Likewise.
9881 * gdb.arch/i386-size.exp: Likewise.
9883 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9885 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9886 define object file path.
9887 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9889 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9890 standard_output_file to define binfile.
9892 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9894 Fix compatibility with recent gfortran-5.3.1.
9895 * gdb.fortran/vla-history.exp (print vla1 allocated)
9896 (print vla2 allocated, print $2, print $3): Remove
9897 (print $4): Rename to ...
9898 (print $2): ... here.
9899 (print $9): Rename to ...
9900 (print $5): ... here.
9901 (print $10): Rename to ...
9902 (print $6): ... here.
9903 * gdb.fortran/vla.f90: Add pvla initialization.
9905 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9907 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9909 * gdb.fortran/vla-value-sub.exp: Likewise.
9911 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9913 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9915 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9917 * i386-biarch-core.exp: Define corefile using
9918 standard_output_file.
9920 2016-02-12 Yao Qi <yao.qi@linaro.org>
9922 * gdb.arch/arm-single-step-kernel-helper.c: New.
9923 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9925 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9927 * gdb.btrace/tailcall-only.exp: New.
9928 * gdb.btrace/tailcall-only.c: New.
9929 * gdb.btrace/x86_64-tailcall-only.S: New.
9930 * gdb.btrace/i686-tailcall-only.S: New.
9932 2016-02-11 Pedro Alves <palves@redhat.com>
9934 * README (Parallel testing): Add missing double quotes.
9936 2016-02-11 Pedro Alves <palves@redhat.com>
9938 * README (Parallel testing): New section.
9939 (GDB_PARALLEL): Rewrite.
9940 (FORCE_PARALLEL): Document.
9942 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9944 * gdb.trace/tfile-avx.c: New test.
9945 * gdb.trace/tfile-avx.exp: New test.
9947 2016-02-09 Keith Seitz <keiths@redhat.com>
9949 PR breakpoints/19546
9950 * gdb.base/infcall-exec.c: New file.
9951 * gdb.base/infcall-exec2.c: New file.
9952 * gdb.base/infcall-exec.exp: New file.
9954 2016-02-09 Keith Seitz <keiths@redhat.com>
9956 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9957 (toplevel): Call test_bkpt_address.
9959 2016-02-09 Keith Seitz <keiths@redhat.com>
9962 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9963 (toplevel): Call test_bkpt_address.
9965 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9967 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9969 * configure: Regenerate.
9971 2016-02-09 Pedro Alves <palves@redhat.com>
9973 PR breakpoints/19548
9974 * gdb.base/execl-update-breakpoints.c (some_function): New
9977 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9978 Tighten expected GDB output.
9980 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9982 * Makefile.in (ALL_SUBDIRS): Remove.
9983 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9984 (distclean maintainer-clean realclean): Likewise.
9985 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9986 * configure: Regenerate.
9987 * gdb.ada/Makefile.in: Delete.
9988 * gdb.arch/Makefile.in: Likewise.
9989 * gdb.asm/Makefile.in: Likewise.
9990 * gdb.base/Makefile.in: Likewise.
9991 * gdb.btrace/Makefile.in: Likewise.
9992 * gdb.cell/Makefile.in: Likewise.
9993 * gdb.compile/Makefile.in: Likewise.
9994 * gdb.cp/Makefile.in: Likewise.
9995 * gdb.disasm/Makefile.in: Likewise.
9996 * gdb.dlang/Makefile.in: Likewise.
9997 * gdb.dwarf2/Makefile.in: Likewise.
9998 * gdb.fortran/Makefile.in: Likewise.
9999 * gdb.gdb/Makefile.in: Likewise.
10000 * gdb.go/Makefile.in: Likewise.
10001 * gdb.guile/Makefile.in: Likewise.
10002 * gdb.java/Makefile.in: Likewise.
10003 * gdb.linespec/Makefile.in: Likewise.
10004 * gdb.mi/Makefile.in: Likewise.
10005 * gdb.modula2/Makefile.in: Likewise.
10006 * gdb.multi/Makefile.in: Likewise.
10007 * gdb.objc/Makefile.in: Likewise.
10008 * gdb.opencl/Makefile.in: Likewise.
10009 * gdb.opt/Makefile.in: Likewise.
10010 * gdb.pascal/Makefile.in: Likewise.
10011 * gdb.perf/Makefile.in: Likewise.
10012 * gdb.python/Makefile.in: Likewise.
10013 * gdb.reverse/Makefile.in: Likewise.
10014 * gdb.server/Makefile.in: Likewise.
10015 * gdb.stabs/Makefile.in: Likewise.
10016 * gdb.threads/Makefile.in: Likewise.
10017 * gdb.trace/Makefile.in: Likewise.
10018 * gdb.xml/Makefile.in: Likewise.
10019 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10021 (standard_output_file): Remove check for GDB_PARALLEL, always
10022 return path in outputs/$subdir/$testname.
10024 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10026 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10027 (site.exp): Assign abs_srcdir to tcl's srcdir.
10029 2016-02-04 Yao Qi <yao.qi@linaro.org>
10031 * gdb.base/foll-exec-mode.c: Include limits.h.
10032 (main): Add parameters argc and argv. Get directory from
10034 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10036 * gdb.base/foll-exec.c: Include limits.h.
10037 (main): Add parameters argc and argv.
10038 Get directory from argv[0].
10039 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10040 Adjust tests on the number of lines as source code changed.
10041 * gdb.base/foll-vfork-exit.c: Include limits.h.
10042 (main): Add one line of statement before vfork.
10043 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10044 (main): Add parameters argc and argv. Get directory from
10046 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10047 (setup_gdb): Set tbreak to skip some source lines.
10048 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10049 (main): Add parameters argc and argv. Get directory from
10051 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10053 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10054 (main): Add parameters argc and argv. Get directory from
10056 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10059 2016-02-01 Doug Evans <dje@google.com>
10061 * gdb.base/skip.exp: Clean up multiple references to same test name.
10063 2016-02-01 Pedro Alves <palves@redhat.com>
10066 * gdb.threads/forking-threads-plus-breakpoint.exp
10067 (displaced_stepping_supported): New global.
10068 (probe_displaced_stepping_support): New procedure.
10069 (do_test): Add 'displaced' parameter, and use it.
10070 (top level): Check for displaced stepping support. Add displaced
10071 stepping on/off testing axis.
10073 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10075 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10076 pointer. Don't perform further tests on the unassociated pointer
10077 if the first test fails.
10079 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10081 * gdb.base/max-value-size.c: New file.
10082 * gdb.base/max-value-size.exp: New file.
10083 * gdb.base/huge.exp: Disable max-value-size for this test.
10085 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10087 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10089 2016-01-28 Yao Qi <yao.qi@linaro.org>
10091 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10093 2016-01-25 Pedro Alves <palves@redhat.com>
10096 * gdb.base/fork-running-state.c: New file.
10097 * gdb.base/fork-running-state.exp: New file.
10099 2016-01-25 Pedro Alves <palves@redhat.com>
10102 * gdb.base/catch-fork-kill.c: New file.
10103 * gdb.base/catch-fork-kill.exp: New file.
10105 2016-01-25 Pedro Alves <palves@redhat.com>
10107 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10108 Delete, moved to lib/gdb.exp.
10109 * gdb.threads/forking-threads-plus-breakpoint.exp
10110 (foreach_with_prefix): Likewise.
10111 * gdb.threads/process-dies-while-handling-bp.exp
10112 (foreach_with_prefix): Likewise.
10113 * lib/gdb.exp (foreach_with_prefix): New procedure.
10115 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10117 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10118 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10120 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10122 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10125 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10126 Pedro Alves <palves@redhat.com>
10128 Fix testsuite compatibility with Guile.
10129 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10132 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10134 Fix testsuite compatibility with Guile.
10135 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10136 (thread 1): New test for backtrace through signal handler.
10138 2016-01-22 Yao Qi <yao.qi@linaro.org>
10141 * gdb.base/multi-forks.c: Include
10142 ../lib/unbuffer_output.c
10143 (main): Call gdb_unbuffer_output.
10145 2016-01-21 Doug Evans <dje@google.com>
10147 * lib/ada.exp (gdb_compile_ada): Fix typo.
10149 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10151 * gdb.base/break-fun-addr.exp: New file.
10152 * gdb.base/break-fun-addr1.c: New file.
10153 * gdb.base/break-fun-addr2.c: New file.
10155 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10157 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10158 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10161 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10163 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10164 when GDB can not set the vector return value. Add more comments
10167 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10169 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10172 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10174 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10176 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10178 * Makefile.in (check-single): Pass --status to runtest.
10179 (check/%.exp): Likewise.
10181 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10183 * Makefile.in (check-parallel): Propagate return code from make
10186 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10188 * gdb.trace/ftrace.exp: Fix expected message on continue.
10189 * gdb.trace/pending.exp: Fix expected message on continue.
10190 * gdb.trace/trace-break.exp: Fix expected message on continue.
10192 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10194 * lib/gdb.exp (gdb_test): Remove unused global references.
10196 2016-01-18 Pedro Alves <palves@redhat.com>
10198 * gdb.base/async-shell.exp: Adjust expected output.
10199 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10200 * gdb.base/siginfo-thread.exp: Adjust expected output.
10201 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10202 * gdb.java/jnpe.exp: Adjust expected output.
10203 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10204 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10205 * gdb.threads/leader-exit.exp: Adjust expected output.
10206 * gdb.threads/manythreads.exp: Adjust expected output.
10207 * gdb.threads/pthreads.exp: Adjust expected output.
10208 * gdb.threads/schedlock.exp: Adjust expected output.
10209 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10210 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10212 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10214 * gdb.threads/sigthread.exp: Adjust expected output.
10215 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10217 2016-01-18 Yao Qi <yao.qi@linaro.org>
10219 * gdb.guile/scm-section-script.c: Replace @progbits with
10221 * gdb.python/py-section-script.c: Likewise.
10223 2016-01-15 Pedro Alves <palves@redhat.com>
10225 * gdb.multi/tids.exp: Test star wildcard ranges.
10227 2016-01-15 Pedro Alves <palves@redhat.com>
10229 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10230 command from "thread apply" invocation.
10231 (thr_apply_info_thr_invalid): Default the expected output to the
10233 (top level): Add tests that use convenience variables. Add tests
10234 for "thread apply" with a valid TID list, but missing the command.
10236 2016-01-13 Pedro Alves <palves@redhat.com>
10238 * gdb.base/default.exp: Expect $_gthread as well.
10239 * gdb.multi/tids.exp: Test $_gthread.
10240 * gdb.threads/thread-specific.exp: Test $_gthread.
10242 2016-01-13 Pedro Alves <palves@redhat.com>
10244 * gdb.multi/tids.exp: Test "info threads -gid".
10246 2016-01-13 Pedro Alves <palves@redhat.com>
10248 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10250 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10252 2016-01-07 Pedro Alves <palves@redhat.com>
10254 * gdb.base/break.exp: Adjust to output changes.
10255 * gdb.base/hbreak2.exp: Likewise.
10256 * gdb.base/sepdebug.exp: Likewise.
10257 * gdb.base/watch_thread_num.exp: Likewise.
10258 * gdb.linespec/keywords.exp: Likewise.
10259 * gdb.multi/info-threads.exp: Likewise.
10260 * gdb.threads/thread-find.exp: Likewise.
10261 * gdb.multi/tids.c: New file.
10262 * gdb.multi/tids.exp: New file.
10264 2016-01-13 Pedro Alves <palves@redhat.com>
10266 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10268 2016-01-13 Pedro Alves <palves@redhat.com>
10270 * gdb.base/default.exp: Expect $_inferior as well.
10271 * gdb.multi/base.exp: Test $_inferior.
10273 2016-01-13 Pedro Alves <palves@redhat.com>
10275 PR breakpoints/19388
10276 * gdb.base/catch-signal-siginfo-cond.c: New file.
10277 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10279 2016-01-12 Josh Stone <jistone@redhat.com>
10280 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10282 * gdb.base/catch-syscall.c (do_execve): New variable.
10283 (main): Conditionally trigger an execve.
10284 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10285 (test_catch_syscall_execve): New, check entry/return across execve.
10286 (do_syscall_tests): Call test_catch_syscall_execve.
10288 2016-01-12 Pedro Alves <palves@redhat.com>
10290 * gdb.base/random-signal.exp (do_test): New procedure, with body
10291 of testcase moved in.
10293 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10294 Pedro Alves <palves@redhat.com>
10296 * gdb.base/funcargs.exp (finish from indirectly called function):
10297 Reintroduce the case for 'First'.
10299 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10300 Pedro Alves <palves@redhat.com>
10302 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10303 (tcatch_vfork_then_child_follow_exec)
10304 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10307 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10309 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10310 and repeats to unlimited.
10311 * gdb.python/py-value.exp: Likewise.
10312 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10313 and repeats to unlimited.
10315 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10317 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10318 and reordering the functions.
10319 * gdb.multi/hangout.c: Likewise.
10320 * gdb.multi/hello.c: Likewise.
10322 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10324 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10326 (SingleStatisticTestResult.report): Use dict.keys instead of
10329 2016-01-06 Pedro Alves <palves@redhat.com>
10331 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10333 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10335 * gdb.btrace/dlopen.exp: New.
10336 * gdb.btrace/dlopen.c: New.
10337 * gdb.btrace/dlopen-dso.c: New.
10339 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10341 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10342 PATTERN argument is optional.
10344 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10346 * lib/ada.exp (target_compile_ada_from_dir): New function.
10347 (gdb_compile_ada): Reimplement avoiding the use of project files.
10348 * gdb.ada/gnat_ada.gpr: Delete.
10349 * gdb.ada/cond_lang.exp: Adjust test to make path before
10351 * gdb.ada/small_reg_param.exp: Likewise.
10353 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10355 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10357 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10359 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10362 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10364 * gdb.base/break.exp: Remove dead code.
10365 * gdb.base/sepdebug.exp: Likewise.
10367 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10369 * gdb.asm/asm-source.exp: Remove HP-UX references.
10370 * gdb.base/annota1.exp: Likewise.
10371 * gdb.base/annota3.exp: Likewise.
10372 * gdb.base/attach.exp: Likewise.
10373 * gdb.base/bigcore.exp: Likewise.
10374 * gdb.base/break.exp: Likewise.
10375 * gdb.base/call-ar-st.exp: Likewise.
10376 * gdb.base/callfuncs.exp: Likewise.
10377 * gdb.base/catch-fork-static.exp: Likewise.
10378 * gdb.base/display.exp: Likewise.
10379 * gdb.base/foll-exec-mode.exp: Likewise.
10380 * gdb.base/foll-exec.exp: Likewise.
10381 * gdb.base/foll-fork.exp: Likewise.
10382 * gdb.base/foll-vfork.exp: Likewise.
10383 * gdb.base/funcargs.exp: Likewise.
10384 * gdb.base/hbreak2.exp: Likewise.
10385 * gdb.base/inferior-died.exp: Likewise.
10386 * gdb.base/interrupt.exp: Likewise.
10387 * gdb.base/multi-forks.exp: Likewise.
10388 * gdb.base/nodebug.exp: Likewise.
10389 * gdb.base/sepdebug.exp: Likewise.
10390 * gdb.base/solib1.c: Likewise.
10391 * gdb.base/step-test.exp: Likewise.
10392 * gdb.mi/non-stop.c: Likewise.
10393 * gdb.mi/pthreads.c: Likewise.
10394 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10395 * gdb.threads/pthreads.c: Likewise.
10396 * gdb.threads/staticthreads.exp: Likewise.
10397 * lib/future.exp: Likewise.
10398 * lib/gdb.exp: Likewise.
10399 * gdb.base/so-indr-cl.c: Remove.
10400 * gdb.base/so-indr-cl.exp: Likewise.
10401 * gdb.base/solib.c: Likewise.
10402 * gdb.base/solib.exp: Likewise.
10403 * gdb.base/solib2.c: Likewise.
10405 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10407 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10408 * gdb.base/call-ar-st.exp: Likewise.
10409 * gdb.base/callfuncs.exp: Likewise.
10410 * gdb.base/condbreak.exp: Likewise.
10411 * gdb.base/constvars.exp: Likewise.
10412 * gdb.base/hbreak2.exp: Likewise.
10413 * gdb.base/langs.exp: Likewise.
10414 * gdb.base/list.exp: Likewise.
10415 * gdb.base/long_long.exp: Likewise.
10416 * gdb.base/ptype.exp: Likewise.
10417 * gdb.base/scope.exp: Likewise.
10418 * gdb.base/signals.exp: Likewise.
10419 * gdb.base/so-impl-ld.exp: Likewise.
10420 * gdb.base/varargs.exp: Likewise.
10421 * gdb.base/volatile.exp: Likewise.
10422 * gdb.base/whatis.exp: Likewise.
10423 * gdb.cp/cplusfuncs.exp: Likewise.
10424 * gdb.cp/inherit.exp: Likewise.
10425 * gdb.cp/local.exp: Likewise.
10426 * gdb.cp/member-ptr.exp: Likewise.
10427 * gdb.cp/method.exp: Likewise.
10428 * gdb.cp/overload.exp: Likewise.
10429 * gdb.cp/templates.exp: Likewise.
10430 * gdb.stabs/weird.exp: Likewise.
10431 * lib/compiler.c: Likewise.
10432 * lib/compiler.cc: Likewise.
10433 * lib/cp-support.exp: Likewise.
10434 * lib/gdb.exp: Likewise.
10436 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10438 * configure.ac: Remove HP-UX case.
10439 * configure: Regenerate.
10441 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10443 * lib/gdb.exp (gdb_compile): Add function doc.
10445 2015-12-17 Pedro Alves <palves@redhat.com>
10448 * gdb.multi/info-threads.exp: New file.
10450 2015-12-15 Yao Qi <yao.qi@linaro.org>
10452 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10455 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10457 * gdb.base/history-duplicates.exp: Skip if no readline support.
10459 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10461 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10463 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10465 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10467 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10469 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10470 ctrl-C if nointerrupts target property is set.
10471 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10472 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10473 * gdb.base/paginate-bg-execution.exp: Likewise.
10474 * gdb.base/paginate-execution-startup.exp: Likewise.
10475 * gdb.base/random-signal.exp: Likewise.
10476 * gdb.base/range-stepping.exp: Likewise.
10477 * gdb.cp/annota2.exp: Likewise.
10478 * gdb.cp/annota3.exp: Likewise.
10479 * gdb.gdb/selftest.exp: Likewise.
10480 * gdb.threads/continue-pending-status.exp: Likewise.
10481 * gdb.threads/leader-exit.exp: Likewise.
10482 * gdb.threads/manythreads.exp: Likewise.
10483 * gdb.threads/pthreads.exp: Likewise.
10484 * gdb.threads/schedlock.exp: Likewise.
10485 * gdb.threads/sigthread.exp: Likewise.
10487 2015-12-11 Don Breazeal <donb@codesourcery.com>
10489 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10491 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10492 * gdb.base/foll-exec.exp (main): Enable for target remote.
10493 * gdb.base/foll-fork.exp (main): Likewise.
10494 * gdb.base/foll-vfork.exp (main): Likewise.
10495 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10496 (proc continue_to_exit_bp_loc): Use clean_restart.
10497 * gdb.base/pie-execl.exp (main): Disable for target remote.
10498 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10499 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10500 * gdb.threads/execl.exp (main): Likewise.
10501 * gdb.threads/fork-child-threads.exp (main): Likewise.
10502 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10504 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10506 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10507 pid.tid style ptids, instead of just tid.
10508 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10509 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10510 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10511 ptids, instead of just tid.
10513 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10515 * gdb.base/list.exp (test_list_forward): Add end of file error
10517 (test_repeat_list_command): Add end of file error test.
10518 (test_list_backwards): Add beginning of file error test.
10520 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10522 * gdb.base/list.exp (test_list_invalid_args): New function,
10523 defined, and called.
10525 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10527 * gdb.base/list.exp (test_list): Make test names unique.
10529 2015-12-11 Yao Qi <yao.qi@linaro.org>
10531 * gdb.base/coremaker2.c: Remove.
10533 2015-12-10 Pedro Alves <palves@redhat.com>
10535 * gdb.multi/base.exp: Remove stale "spaces" references.
10537 2015-12-10 Pedro Alves <palves@redhat.com>
10539 * gdb.multi/base.exp: Don't use nowarnings.
10540 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10541 * gdb.multi/hangout.c: Include stdio.h.
10542 * gdb.multi/hello.c: Include stdlib.h.
10543 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10544 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10545 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10547 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10549 * gdb.dwarf2/dw2-ranges-base.c: New file.
10550 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10551 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10552 support additional line table, and debug ranges generation.
10553 (Dwarf::ranges): New function, generate .debug_ranges.
10554 (Dwarf::lines): Support generating simple line table programs.
10555 (Dwarf::assemble): Initialise new namespace variables.
10557 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10559 * gdb.base/async.exp (proc test_background): Add case for
10560 asynchronous execution not supported.
10562 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10564 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10565 format and change test names to make them unique.
10567 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10568 Pedro Alves <pedro@redhat.com>
10571 Add checking of floatformats setup on x86_64 hosts.
10572 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10573 (smallval, bigval): New labels/constants.
10574 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10575 float" after loading bigval and smallval.
10577 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10579 * gdb.ada/fun_overload_menu.exp: New testcase.
10580 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10582 2015-12-04 Josh Stone <jistone@redhat.com>
10584 * gdb.base/catch-fork-static.exp: New.
10586 2015-12-03 Yao Qi <yao.qi@linaro.org>
10588 * gdb.base/sizeof.c: Don't include stdio.h and
10589 ../lib/unbuffer_output.c.
10590 (main): New variable 'size' and 'value'. Remove printf and
10591 gdb_unbuffer_output. Assign return value to size and value.
10592 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10594 (check_sizeof): Check the result by printing variable 'size'.
10595 (check_valueof): Check the result by printing variable 'value'.
10597 2015-12-01 Yao Qi <yao.qi@linaro.org>
10599 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10600 for aarch64*-*-linux* target.
10602 2015-11-30 Pedro Alves <palves@redhat.com>
10604 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10606 2015-11-30 Pedro Alves <palves@redhat.com>
10608 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10609 Handle non-stop mode vCont replies.
10611 2015-11-30 Pedro Alves <palves@redhat.com>
10613 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10614 prepare_for_testing. Start gdb with "set non-stop on" appended to
10615 GDBFLAGS. Lax expected stop output.
10617 2015-11-27 Yao Qi <yao.qi@linaro.org>
10619 * gdb.arch/arm-neon.exp: New.
10620 * gdb.arch/arm-neon.c: New.
10622 2015-11-27 Yao Qi <yao.qi@linaro.org>
10624 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10626 2015-11-27 Yao Qi <yao.qi@linaro.org>
10628 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10629 frames-invalid annotation.
10631 2015-11-27 Yao Qi <yao.qi@linaro.org>
10633 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10635 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10637 * gdb.threads/names.exp: New file.
10638 * gdb.threads/names.c: New file.
10639 * README: Mention gdb,no_thread_names.
10641 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10644 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10647 2015-11-24 Pedro Alves <palves@redhat.com>
10650 * gdb.base/display.exp: Expect displays to be sorted in ascending
10651 order. Use multi_line.
10652 * gdb.base/solib-display.exp: Likewise.
10654 2015-11-24 Pedro Alves <palves@redhat.com>
10657 * gdb.base/display.exp: Expect displays to be sorted in ascending
10658 order. Use multi_line.
10659 * gdb.base/solib-display.exp: Likewise.
10661 2015-11-24 Pedro Alves <palves@redhat.com>
10664 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10665 threads in ascending order.
10666 * gdb.base/foll-fork.exp: Likewise.
10667 * gdb.base/foll-vfork.exp: Likewise.
10668 * gdb.base/multi-forks.exp: Likewise.
10669 * gdb.mi/mi-nonstop.exp: Likewise.
10670 * gdb.mi/mi-nsintrall.exp: Likewise.
10671 * gdb.multi/base.exp: Likewise.
10672 * gdb.multi/multi-arch.exp: Likewise.
10673 * gdb.python/py-inferior.exp: Likewise.
10674 * gdb.threads/break-while-running.exp: Likewise.
10675 * gdb.threads/execl.exp: Likewise.
10676 * gdb.threads/gcore-thread.exp: Likewise.
10677 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10678 * gdb.threads/kill.exp: Likewise.
10679 * gdb.threads/linux-dp.exp: Likewise.
10680 * gdb.threads/multiple-step-overs.exp: Likewise.
10681 * gdb.threads/next-bp-other-thread.exp: Likewise.
10682 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10683 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10684 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10685 * gdb.threads/thread-find.exp: Likewise.
10686 * gdb.threads/tls.exp: Likewise.
10687 * lib/mi-support.exp (mi_reverse_list): Delete.
10688 (mi_check_thread_states): No longer reverse list.
10690 2015-11-24 Pedro Alves <palves@redhat.com>
10692 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10695 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10697 * gdb.trace/actions.c: Include trace-common.h.
10698 (main): Add a location for a fast tracepoint.
10699 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10700 the normal tracepoints.
10701 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10703 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10705 * save-trace.exp: Factor out code to these...
10706 (gdb_save_tracepoints): New.
10707 (gdb_load_tracepoints): New.
10708 (do_save_load_test): New.
10710 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10712 * gdb.base/asmlabel.exp: New test.
10713 * gdb.base/asmlabel.c: New test case.
10715 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10717 * gdb.base/wrong_frame_bt_full-main.c: New file.
10718 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10719 * gdb.base/wrong_frame_bt_full.exp: New file.
10721 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10723 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10725 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10727 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10728 pstate register when comparing registers values in
10729 sparc64-*-linux-gnu targets to avoid spurious differences.
10731 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10733 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10735 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10737 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10738 as type argument to gdb_compile.
10739 * gdb.base/nested-subp2.exp: Likewise.
10740 * gdb.base/nested-subp3.exp: Likewise.
10742 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10744 * lib/dwarf.exp (_note): Fix left shift of negative value.
10745 * gdb.trace/trace-condition.exp: Likewise.
10747 2015-11-13 Yao Qi <yao.qi@linaro.org>
10749 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10750 comments about d10v.
10751 (test_scalar_returns): Likewise.
10752 * gdb.base/d10v.ld: Remove.
10753 * gdb.base/overlays.exp: Remove the target triplet checking for
10755 * gdb.base/structs.exp (test_struct_returns): Remove the
10756 comments about d10v.
10757 (test_struct_calls): Likewise.
10759 2015-11-13 Yao Qi <yao.qi@linaro.org>
10761 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10762 * gdb.base/gnu_vector.c: Don't include stdio.h.
10763 (main): Don't print res and call add_some_intvecs.
10765 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10767 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10770 (func4): Use FAST_TRACEPOINT_LABEL.
10771 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10774 (thread_function): Use FAST_TRACEPOINT_LABEL.
10775 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10777 (marker): Use FAST_TRACEPOINT_LABEL.
10778 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10779 (pendfunc1): Remove.
10780 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10781 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10783 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10784 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10787 (marker): Use FAST_TRACEPOINT_LABEL.
10788 * gdb.trace/trace-common.h: New header.
10789 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10792 (marker): Use FAST_TRACEPOINT_LABEL.
10793 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10795 (thread_function): Use FAST_TRACEPOINT_LABEL.
10797 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10799 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10801 * gdb.trace/change-loc.exp: Use global pcreg definition.
10802 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10803 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10805 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10806 * gdb.trace/pending.exp: Likewise.
10807 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10808 * gdb.trace/trace-break.exp: Likewise.
10809 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10811 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10812 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10814 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10816 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10818 * gdb.ada/fin_fun_out: New testcase.
10820 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10822 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10823 value associated with DW_AT_byte_size.
10824 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10825 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10828 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10830 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10831 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10833 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10834 gdb.dwarf2/dw2-canonicalize-type.exp,
10835 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10836 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10837 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10838 provided by gdb_target_symbol_prefix_flags_asm.
10839 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10840 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10841 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10842 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10843 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10844 macros where needed). Use this macro for symbols which require
10845 the prefix provided by SYMBOL_PREFIX.
10847 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10849 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10851 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10852 representing expressions, of more than one list element.
10853 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10854 to prepend linker symbol prefix to f.
10855 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10856 table_1 and table_2.
10857 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10858 Likewise, for f and g.
10859 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10861 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10863 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10864 table_1_ptr and table_2_ptr.
10866 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10867 Joel Brobecker <brobecker@adacore.com>
10869 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10871 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10873 * gdb.reverse/s390-mvcle.c: New test.
10874 * gdb.reverse/s390-mvcle.exp: New file.
10875 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10877 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10879 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10881 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10883 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10885 * gdb.reverse/getresuid-reverse.exp: Likewise.
10886 * gdb.reverse/pipe-reverse.exp: Likewise.
10887 * gdb.reverse/readv-reverse.exp: Likewise.
10888 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10889 * gdb.reverse/time-reverse.exp: Likewise.
10890 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10892 2015-10-30 Yao Qi <yao.qi@linaro.org>
10894 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10895 (empty_cycle): Remove.
10896 (main): Don't call empty_cycle. Don't use watch_count_done.
10897 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10898 empty_cycle. Rewrite the code counting HW watchpoints.
10900 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10902 * gdb.reverse/fstatat-reverse.c: New test.
10903 * gdb.reverse/fstatat-reverse.exp: New file.
10904 * gdb.reverse/getresuid-reverse.c: New test.
10905 * gdb.reverse/getresuid-reverse.exp: New file.
10906 * gdb.reverse/pipe-reverse.c: New test.
10907 * gdb.reverse/pipe-reverse.exp: New file.
10908 * gdb.reverse/readv-reverse.c: New test.
10909 * gdb.reverse/readv-reverse.exp: New file.
10910 * gdb.reverse/recvmsg-reverse.c: New test.
10911 * gdb.reverse/recvmsg-reverse.exp: New file.
10912 * gdb.reverse/time-reverse.c: New test.
10913 * gdb.reverse/time-reverse.exp: New file.
10914 * gdb.reverse/waitpid-reverse.c: New test.
10915 * gdb.reverse/waitpid-reverse.exp: New file.
10917 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10919 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10921 2015-10-26 Doug Evans <dje@google.com>
10924 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10925 * gdb.dwarf2/bad-regnum.c: New file.
10926 * gdb.dwarf2/bad-regnum.exp: New file.
10928 2015-10-26 Doug Evans <dje@google.com>
10931 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10934 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10936 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10937 for a change by "Mention language in compile error message".
10939 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10942 * gdb.python/py-type.c (C::a_method): New.
10943 (C::a_const_method): New.
10944 (C::a_static_method): New.
10946 * gdb.python/py-type.exp (test_fields): Test getting fields
10947 from function and method.
10949 2015-10-21 Keven Boell <keven.boell@intel.com>
10951 * gdb.fortran/vla-alloc-assoc.exp: New file.
10952 * gdb.fortran/vla-datatypes.exp: New file.
10953 * gdb.fortran/vla-datatypes.f90: New file.
10954 * gdb.fortran/vla-history.exp: New file.
10955 * gdb.fortran/vla-ptype-sub.exp: New file.
10956 * gdb.fortran/vla-ptype.exp: New file.
10957 * gdb.fortran/vla-sizeof.exp: New file.
10958 * gdb.fortran/vla-sub.f90: New file.
10959 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10960 * gdb.fortran/vla-value-sub-finish.exp: New file.
10961 * gdb.fortran/vla-value-sub.exp: New file.
10962 * gdb.fortran/vla-value.exp: New file.
10963 * gdb.fortran/vla-ptr-info.exp: New file.
10964 * gdb.mi/mi-vla-fortran.exp: New file.
10965 * gdb.mi/vla.f90: New file.
10967 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10969 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10970 of hardwired timeout value.
10972 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10973 Pedro Alves <palves@redhat.com>
10975 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10976 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10978 2015-10-19 Josh Stone <jistone@redhat.com>
10980 * gdb.base/catch-syscall.c: Include <sched.h>.
10981 (unknown_syscall): New variable.
10982 (main): Trigger a vfork and an unknown syscall.
10983 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10984 (unknown_syscall_number): Likewise.
10985 (check_call_to_syscall): Accept an optional syscall pattern.
10986 (check_return_from_syscall): Likewise.
10987 (check_continue): Likewise.
10988 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10989 (test_catch_syscall_skipping_return): New test toggling off 'catch
10990 syscall' to step over the syscall return, then toggling back on.
10991 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10992 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10993 (do_syscall_tests): Call test_catch_syscall_without_args and
10994 test_catch_syscall_mid_vfork.
10995 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10996 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10998 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11000 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11001 print g_vE): Add new pass patterns.
11002 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11003 print various symbol names for vptr fields.
11005 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11007 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11010 2015-10-12 Yao Qi <yao.qi@linaro.org>
11012 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11014 2015-10-12 Yao Qi <yao.qi@linaro.org>
11016 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11017 is aarch64*-*-linux*.
11019 2015-10-12 Yao Qi <yao.qi@linaro.org>
11021 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11022 (can_relocate_bcond_true): ... it.
11023 (can_relocate_bcond_false): New function.
11025 (can_relocate_bl): Likewise.
11026 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11029 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11031 * gdb.base/nested-addr.c: New file.
11032 * gdb.base/nested-addr.exp: New testcase.
11034 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11036 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11037 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11038 its output. Ignore the output of "record goto begin" and instead
11039 check that GDB is replaying.
11041 2015-10-09 Pedro Alves <palves@redhat.com>
11043 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11044 (top level): Use it in the run with no args test.
11046 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11048 * gdb.dlang/properties.exp: New file.
11050 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11052 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11053 whether or not address 0x1000 is mapped on the target.
11055 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11057 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11060 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11062 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11063 instruction-history test.
11065 2015-09-28 Doug Evans <dje@google.com>
11067 * gdb.base/gcore.c (array_func): Add reference to static_array.
11069 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11071 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11074 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11076 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11077 short or char as base type.
11079 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11081 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11082 to allow any size enum.
11084 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11086 * gdb.ada/array_ptr_renaming.exp: New testcase.
11087 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11088 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11090 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11092 * gdb.trace/ftrace-lock.c: New file.
11093 * gdb.trace/ftrace-lock.exp: New file.
11095 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11097 * gdb.arch/insn-reloc.c: New file.
11098 * gdb.arch/ftrace-insn-reloc.exp: New file.
11100 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11102 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11104 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11105 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11106 * gdb.trace/range-stepping.c: Likewise.
11107 * gdb.trace/trace-break.c: Likewise.
11108 * gdb.trace/trace-mt.c (thread_function): Likewise.
11109 * gdb.trace/ftrace.c (marker): Likewise.
11110 * gdb.trace/trace-condition.c (marker): Likewise.
11111 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11112 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11115 2015-09-18 Doug Evans <xdje42@gmail.com>
11117 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11118 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11120 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11122 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11125 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11127 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11128 the pending breakpoint. Remove timeout override for "Run till
11129 MI pending breakpoint on pendfunc3 on thread 2" test.
11131 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11133 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11136 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11138 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11139 in breakpoint filename pattern.
11141 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11143 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11145 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11147 * gdb.linespec/explicit.exp: Check for readline support for
11148 tab-completion tests. Fix obvious typo.
11150 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11152 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11155 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11157 * gdb.btrace/non-stop.c: New.
11158 * gdb.btrace/non-stop.exp: New.
11160 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11161 Yao Qi <yao.qi@linaro.org>
11163 * gdb.trace/trace-condition.c: New file.
11164 * gdb.trace/trace-condition.exp: New file.
11166 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11168 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11169 for testing bytecode compilation.
11171 2015-09-16 Pedro Alves <palves@redhat.com>
11172 Sandra Loosemore <sandra@codesourcery.com>
11174 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11175 (SECONDS): Redefine.
11176 (main): Call pthread_kill and alarm early.
11177 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11179 (test): If the target can't hardware step and doesn't support
11180 displaced stepping, increase the timeout.
11182 2015-09-16 Pedro Alves <palves@redhat.com>
11184 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11185 (enable_debug): New procedures.
11186 (test): Use them. Bail out if waiting for threads fails.
11187 (top level): Bail out if a test fails.
11189 2015-09-16 Yao Qi <yao.qi@linaro.org>
11191 * gdb.asm/asm-source.exp: Set asm-arch for
11192 aarch64*-*-* target.
11193 * gdb.asm/aarch64.inc: New file.
11195 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11197 * gdb.ada/array_of_variable_length.exp: New testcase.
11198 * gdb.ada/array_of_variable_length/foo.adb: New file.
11199 * gdb.ada/array_of_variable_length/pck.adb: New file.
11200 * gdb.ada/array_of_variable_length/pck.ads: New file.
11202 2015-09-15 Doug Evans <dje@google.com>
11204 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11205 of function static local variable.
11207 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11209 * gdb.threads/tls-so_extern.exp: New test file.
11210 * gdb.threads/tls-so_extern.c: New test file.
11211 * gdb.threads/tls-so_extern_main.c: New test file.
11213 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11215 * gdb.opt/solib-intra-step-lib.c: New file.
11216 * gdb.opt/solib-intra-step-main.c: New file.
11217 * gdb.opt/solib-intra-step.exp: New file.
11219 2015-09-15 Pedro Alves <palves@redhat.com>
11221 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11222 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11224 2015-09-14 Pedro Alves <palves@redhat.com>
11226 * gdb.base/hook-stop-continue.c: Delete.
11227 * gdb.base/hook-stop-continue.exp: Delete.
11228 * gdb.base/hook-stop-frame.c: Delete.
11229 * gdb.base/hook-stop-frame.exp: Delete.
11230 * gdb.base/hook-stop.c: New file.
11231 * gdb.base/hook-stop.exp: New file.
11233 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11235 * gdb.ada/access_to_packed_array.exp: New testcase.
11236 * gdb.ada/access_to_packed_array/foo.adb: New file.
11237 * gdb.ada/access_to_packed_array/pack.adb: New file.
11238 * gdb.ada/access_to_packed_array/pack.ads: New file.
11240 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11242 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11245 2015-09-11 Don Breazeal <donb@codesourcery.com>
11247 * gdb.base/foll-exec.c: Add copyright header. Fix
11249 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11250 (do_exec_tests): Use clean_restart in place of zap_session,
11251 and for test initialization. Fix formatting issues. Use
11252 fail in place of perror.
11253 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11254 an expect statement to match an expression with output from
11255 the program under debug.
11256 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11257 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11258 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11259 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11260 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11262 2015-09-09 Doug Evans <dje@google.com>
11264 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11266 2015-09-09 Doug Evans <dje@google.com>
11268 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11270 2015-09-09 Doug Evans <dje@google.com>
11272 * gdb.base/savedregs.exp: Fix typo.
11274 2015-09-09 Pedro Alves <palves@redhat.com>
11276 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11278 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11280 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11281 command actually switches threads. Give up on remaining
11282 tests if target fails to stop at breakpoint.
11284 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11286 * gdb.ada/funcall_char.exp: New testcase.
11287 * gdb.ada/funcall_char/foo.adb: New file.
11289 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11291 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11292 expected outputs. Add two testcases for completing ambiguous
11294 * gdb.ada/complete/aux_pck.adb: New file.
11295 * gdb.ada/complete/aux_pck.ads: New file.
11296 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11297 Ambiguous_Func functions.
11298 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11299 * gdb.ada/complete/pck.adb: Likewise.
11301 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11303 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11304 failures to run the test program under GDB.
11306 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11308 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11311 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11313 * gdb.base/run-after-attach.exp: New test file.
11314 * gdb.base/run-after-attach.c: New test file.
11316 2015-08-26 Don Breazeal <donb@codesourcery.com>
11318 * gdb.base/foll-exec-2.c: New test program.
11319 * gdb.base/foll-exec-2.exp: New test.
11321 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11323 * gdb.base/nested-subp1.exp: New file.
11324 * gdb.base/nested-subp1.c: New file.
11325 * gdb.base/nested-subp2.exp: New file.
11326 * gdb.base/nested-subp2.c: New file.
11327 * gdb.base/nested-subp3.exp: New file.
11328 * gdb.base/nested-subp3.c: New file.
11330 2015-08-24 Pedro Alves <palves@redhat.com>
11332 * gdb.server/connect-without-multi-process.c: New file.
11333 * gdb.server/connect-without-multi-process.exp: New file.
11335 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11337 * gdb.opt/inline-markers.c: Make z int.
11339 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11341 * gdb.opt/inline-markers.c: Make z volatile.
11343 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11345 * gdb.opt/inline-bt.c: New volatile global z.
11346 * gdb.opt/inline-cmds.c: Likewise.
11347 * gdb.opt/inline-locals.c: Likewise.
11348 * gdb.opt/inline-markers.c: New extern global z.
11350 (inline_fn): Likewise.
11352 2015-08-24 Pedro Alves <palves@redhat.com>
11354 * config/m32r-stub.exp: Remove file.
11355 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11356 * gdb.base/call-rt-st.exp: Likewise.
11357 * gdb.base/call-strs.exp: Likewise.
11358 * gdb.base/default.exp: Remove references to h8300-*-hms and
11360 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11362 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11364 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11365 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11366 and "return" use KFAIL when GDB can not read/write the vector
11369 2015-08-21 Gary Benson <gbenson@redhat.com>
11371 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11373 2015-08-20 Pedro Alves <palves@redhat.com>
11375 * gdb.server/solib-list.exp: No longer expect an interior stop in
11378 2015-08-20 Pedro Alves <palves@redhat.com>
11380 * gdb.server/connect-stopped-target.c: New file.
11381 * gdb.server/connect-stopped-target.exp: New file.
11383 2015-08-20 Pedro Alves <palves@redhat.com>
11385 * gdb.dwarf2/comp-unit-lang.exp: New file.
11386 * gdb.dwarf2/comp-unit-lang.c: New file.
11388 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11390 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11391 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11393 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11395 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11396 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11398 2015-08-18 Doug Evans <dje@google.com>
11399 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11401 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11402 skip_python_tests. New arg prompt_regexp.
11403 (skip_python_tests): New function.
11404 * lib/mi-support.exp (mi_skip_python_tests): New function.
11405 * gdb.python/py-mi-objfile-gdb.py: New file.
11406 * gdb.python/py-mi-objfile.c: New file.
11407 * gdb.python/py-mi-objfile.exp: New file.
11409 2015-08-17 Keith Seitz <keiths@redhat.com>
11411 * gdb.linespec/explicit.exp: Move strace test from here ...
11412 * gdb.trace/strace.exp: ... to here.
11414 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11416 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11417 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11419 2015-08-14 Doug Evans <xdje42@gmail.com>
11421 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11422 inferior before selecting a new file.
11424 2015-08-14 Doug Evans <xdje42@gmail.com>
11426 * gdb.mi/mi-disassemble.exp: Update.
11427 * gdb.base/disasm-optim.S: New file.
11428 * gdb.base/disasm-optim.c: New file.
11429 * gdb.base/disasm-optim.h: New file.
11430 * gdb.base/disasm-optim.exp: New file.
11432 2015-08-14 Keith Seitz <keiths@redhat.com>
11434 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11437 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11439 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11441 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11443 * gdb.ada/fun_renaming.exp: New testcase.
11444 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11445 * gdb.ada/fun_renaming/pack.adb: New file.
11446 * gdb.ada/fun_renaming/pack.ads: New file.
11448 2015-08-12 Keith Seitz <keiths@redhat.com>
11450 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11451 gdb_get_line_number.
11453 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11455 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11456 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11457 gdb.base/dso2dso.exp: New files.
11459 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11460 Pedro Alves <palves@redhat.com>
11461 Keith Seitz <keiths@redhat.com>
11463 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11466 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11468 * gdb.base/gdbhistsize-history.exp
11469 (test_histsize_history_setting): Use save_vars.
11470 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11472 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11473 * gdb.base/readline.exp: Use save_vars.
11475 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11477 * lib/gdb.exp (save_vars): New proc.
11479 2015-08-11 Keith Seitz <keiths@redhat.com>
11481 * gdb.base/help.exp: Update help_breakpoint_text.
11483 2015-08-11 Keith Seitz <keiths@redhat.com>
11485 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11486 (at toplevel): Call test_explicit_breakpoints.
11487 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11489 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11490 breakpoint conditions, "-cond".
11492 2015-08-11 Keith Seitz <keiths@redhat.com>
11494 * gdb.linespec/3explicit.c: New file.
11495 * gdb.linespec/cpexplicit.cc: New file.
11496 * gdb.linespec/cpexplicit.exp: New file.
11497 * gdb.linespec/explicit.c: New file.
11498 * gdb.linespec/explicit.exp: New file.
11499 * gdb.linespec/explicit2.c: New file.
11500 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11501 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11502 before using in the matching pattern.
11503 Clarify that `prefix' is a regular expression.
11505 2015-08-11 Keith Seitz <keiths@redhat.com>
11507 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11509 Add tests for missing ",FMT" and ",".
11511 2015-08-10 Doug Evans <dje@google.com>
11512 Keith Seitz <keiths@redhat.com>
11515 * gdb.base/completion.exp: Add location completer tests.
11517 2015-08-07 Pedro Alves <palves@redhat.com>
11519 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11521 (top level): Run do_test with and without displaced stepping.
11523 2015-08-07 Pedro Alves <palves@redhat.com>
11525 * gdb.base/valgrind-disp-step.c: New file.
11526 * gdb.base/valgrind-disp-step.exp: New file.
11528 2015-08-07 Pedro Alves <palves@redhat.com>
11530 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11532 (main): Add alarm. Run an infinite loop instead of calling
11534 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11536 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11538 (main): Add alarm. Run an infinite loop instead of calling
11540 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11543 2015-08-07 Pedro Alves <palves@redhat.com>
11545 * gdb.base/checkpoint-ns.exp: New file.
11546 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11549 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11551 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11552 * gdb.btrace/instruction_history.exp: Update.
11553 * gdb.btrace/tsx.exp: New.
11554 * gdb.btrace/tsx.c: New.
11556 2015-08-06 Pedro Alves <palves@redhat.com>
11558 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11560 * gdb.reverse/until-precsave.exp: Bump timeouts.
11562 2015-08-06 Pedro Alves <palves@redhat.com>
11564 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11566 2015-08-06 Pedro Alves <palves@redhat.com>
11569 * gdb.threads/process-dies-while-handling-bp.c: New file.
11570 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11572 2015-08-06 Pedro Alves <palves@redhat.com>
11574 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11575 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11577 2015-08-05 Pedro Alves <palves@redhat.com>
11579 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11580 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11582 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11584 * gdb.base/bp-permanent.exp: Report test as unsupported if
11585 the target cannot stop at the permanent breakpoint.
11587 2015-08-03 Doug Evans <dje@google.com>
11589 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11592 2015-08-03 Doug Evans <dje@google.com>
11594 * Makefile.in (workers/%.worker, build-perf): New rule.
11595 (GDB_PERFTEST_MODE): New variable.
11596 (check-perf): Use it.
11597 (clean): Clean up gdb.perf parallel build subdirs.
11598 * lib/build-piece.exp: New file.
11599 * lib/gdb.exp (make_gdb_parallel_path): New function
11600 (standard_output_file, standard_temp_file): Call it.
11601 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11603 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11605 2015-08-03 Doug Evans <dje@google.com>
11607 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11608 (LOG_FILE_NAME): New global.
11609 (TextReporter.__init__): Initialize self.txt_sum.
11610 (TextReporter.report): Add support for multiple data-points.
11611 Move report to perftest.sum, put raw data in perftest.log.
11612 (TextReporter.start): Open sum and log files.
11613 (TextReporter.end): Close sum and log files.
11614 * gdb.perf/lib/perftest/testresult.py
11615 (SingleStatisticTestResult.record): Handle multiple data-points.
11617 2015-07-31 Pedro Alves <palves@redhat.com>
11619 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11620 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11621 kill_wait_spawned_process instead of explicit "kill -9".
11622 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11623 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11624 kill_wait_spawned_process.
11625 * gdb.base/attach-twice.exp: Likewise.
11626 * gdb.base/attach.exp: Likewise.
11627 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11629 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11630 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11631 kill_wait_spawned_process.
11632 * gdb.base/valgrind-infcall.exp: Likewise.
11633 * gdb.multi/multi-attach.exp: Likewise.
11634 * gdb.python/py-prompt.exp: Likewise.
11635 * gdb.python/py-sync-interp.exp: Likewise.
11636 * gdb.server/ext-attach.exp: Likewise.
11637 * gdb.threads/attach-into-signal.exp (corefunc): Use
11638 spawn_wait_for_attach, spawn_id_get_pid and
11639 kill_wait_spawned_process.
11640 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11641 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11642 spawn_id_get_pid and kill_wait_spawned_process.
11643 * gdb.threads/attach-stopped.exp (corefunc): Use
11644 spawn_wait_for_attach, spawn_id_get_pid and
11645 kill_wait_spawned_process.
11646 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11647 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11648 kill_wait_spawned_process instead of explicit "kill -9".
11649 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11650 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11651 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11652 processes. Don't map cygwin/windows pids here. Now returns a
11655 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11657 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11658 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11661 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11663 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11665 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11668 2014-05-21 Mark Wielaard <mjw@redhat.com>
11670 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11672 2015-07-30 Pedro Alves <palves@redhat.com>
11674 * linux-low.c (handle_extended_wait): Set the child's last
11675 reported status to TARGET_WAITKIND_STOPPED.
11677 2015-07-30 Pedro Alves <palves@redhat.com>
11680 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11681 only shows inferior 1.
11683 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11684 Pedro Alves <palves@redhat.com>
11687 * gdb.threads/fork-plus-threads.c: New file.
11688 * gdb.threads/fork-plus-threads.exp: New file.
11690 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11692 * gdb.base/batch-preserve-term-settings.exp
11693 (test_terminal_settings_preserved_after_cli_exit): Use
11696 2015-07-29 Pedro Alves <palves@redhat.com>
11697 Don Breazeal <donb@codesourcery.com>
11699 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11700 output from both inferior_spawn_id and gdb_spawn_id.
11702 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11704 * gdb.threads/attach-into-signal.exp (corefunc): Use
11705 with_test_prefix on nested loops, uniquefying the test messages.
11707 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11709 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11712 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11714 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11716 (test_terminal_settings_preserved_after_sigterm): New test.
11718 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11720 * gdb.base/batch-preserve-term-settings.exp
11721 (test_terminal_settings_preserved_after_cli_exit): New test.
11723 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11725 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11726 manipulation of saved_gdbflags.
11727 (test_terminal_settings_preserved): Remove global declaration of
11728 the unused variable pagination_prompt. Remove manipulation of
11729 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11732 2015-07-29 Pedro Alves <palves@redhat.com>
11734 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11736 2015-07-29 Pedro Alves <palves@redhat.com>
11738 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11741 2015-07-29 Pedro Alves <palves@redhat.com>
11743 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11744 (main): Call gdb_unbuffer_output.
11745 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11746 (main): Call gdb_unbuffer_output.
11747 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11748 (main): Call gdb_unbuffer_output.
11749 * gdb.base/call-strs.exp: Adjust to step over the
11750 gdb_unbuffer_output call.
11751 * gdb.base/catch-gdb-caused-signals.c: Include
11752 "../lib/unbuffer_output.c".
11753 (main): Call gdb_unbuffer_output.
11754 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11755 (main): Call gdb_unbuffer_output.
11756 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11757 (main): Call gdb_unbuffer_output.
11758 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11759 (main): Call gdb_unbuffer_output.
11760 * gdb.base/shlib-call.exp: Adjust to step over the
11761 gdb_unbuffer_output call.
11762 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11763 (main): Call gdb_unbuffer_output.
11764 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11765 (main): Call gdb_unbuffer_output.
11766 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11767 (main): Rename to ...
11769 (main): Reimplement.
11770 * gdb.base/varargs.exp: Run to test instead of to main.
11771 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11772 (main): Call gdb_unbuffer_output.
11774 2015-07-29 Pedro Alves <palves@redhat.com>
11776 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11777 factore out from mi_continue_dprintf. For call-style dprintfs,
11778 expect dprintf output out of $inferior_spawn_id.
11779 (mi_continue_dprintf): Use mi_expect_dprintf.
11780 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11781 (main): Call gdb_unbuffer_output.
11783 2015-07-29 Pedro Alves <palves@redhat.com>
11785 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11786 (default_mi_gdb_start): Set inferior_spawn_id instead of
11787 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11789 (mi_gdb_test): Always expect inferior output from both
11790 $inferior_spawn_id and $gdb_spawn_id.
11792 2015-07-29 Pedro Alves <palves@redhat.com>
11794 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11795 send_inferior and $inferior_spawn_id.
11797 2015-07-29 Pedro Alves <palves@redhat.com>
11799 * gdb.gdb/complaints.exp (test_initial_complaints)
11800 (test_serial_complaints, test_short_complaints): Use
11802 (test_empty_complaint): Handle $inferior_spawn_id !=
11805 2015-07-29 Pedro Alves <palves@redhat.com>
11807 * gdb.base/varargs.exp: Use gdb_test_stdio.
11809 2015-07-29 Pedro Alves <palves@redhat.com>
11811 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11813 2015-07-29 Pedro Alves <palves@redhat.com>
11815 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11817 2015-07-29 Pedro Alves <palves@redhat.com>
11819 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11820 parameter into two new parameters, "inf_result" and "gdb_result".
11821 Expect inferior output and gdb output from $inferior_spawn_id and
11822 $gdb_spawn_id, respectively. Adjust all callers.
11824 2015-07-29 Pedro Alves <palves@redhat.com>
11826 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11827 of gdb_test_sequence.
11829 2015-07-29 Pedro Alves <palves@redhat.com>
11831 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11832 (saw_spurious_output): Expect inferior output from
11833 $inferior_spawn_id. Use gdb_test_stdio.
11835 2015-07-29 Pedro Alves <palves@redhat.com>
11837 * gdb.base/dprintf.exp: Use standard_testfile. Change
11838 prepare_for_testing call.
11839 (srcfile): Don't set.
11840 (restart): New procedure.
11841 (test_dprintf): New procecure, use to continue over dprintfs.
11842 (test_call, test_agent): New procedures, tests moved here.
11843 Restart gdb and recreate dprintfs. Adjust expected output.
11845 2015-07-29 Pedro Alves <palves@redhat.com>
11847 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11849 2015-07-29 Pedro Alves <palves@redhat.com>
11851 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11853 2015-07-29 Pedro Alves <palves@redhat.com>
11855 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11858 2015-07-29 Pedro Alves <palves@redhat.com>
11860 * lib/gdb.exp (gdb_test_stdio): New procedure.
11862 2015-07-29 Pedro Alves <palves@redhat.com>
11864 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11866 2015-07-29 Pedro Alves <palves@redhat.com>
11868 * gdb.base/call-signal-resume.exp: Remove check for
11869 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11870 * gdb.base/unwindonsignal.exp: Likewise.
11871 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11872 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11874 2015-07-29 Pedro Alves <palves@redhat.com>
11876 * gdb.base/siginfo-addr.c (pass): New function.
11877 (handler): Call it iff si_addr is correct.
11878 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11879 Set a breakpoint at "pass" and continue to it.
11881 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11883 * gdb.python/py-objfile.exp: Make some tests have unique names.
11884 * gdb.python/py-pp-registration.exp: Likewise.
11886 2015-07-28 Pedro Alves <palves@redhat.com>
11888 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11890 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11892 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11894 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11896 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11898 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11900 * gdb.base/gdb-sigterm-2.exp: New test.
11902 2015-07-25 Doug Evans <xdje42@gmail.com>
11905 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11906 (workers/%.worker, build-perf): New rule.
11907 (GDB_PERFTEST_MODE): New variable.
11908 (check-perf): Use it.
11909 (clean): Clean up gdb.perf parallel build subdirs.
11910 * lib/build-piece.exp: New file.
11911 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11912 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11914 (standard_temp_file): Ditto.
11915 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11918 2015-07-24 Doug Evans <dje@google.com>
11920 * gdb.perf/lib/perftest/utils.py: New file.
11921 * gdb.perf/gm-hello.cc: New file.
11922 * gdb.perf/gm-pervasive-typedef.cc: New file.
11923 * gdb.perf/gm-pervasive-typedef.h: New file.
11924 * gdb.perf/gm-std.cc: New file.
11925 * gdb.perf/gm-std.h: New file.
11926 * gdb.perf/gm-use-cerr.cc: New file.
11927 * gdb.perf/gm-utils.h: New file.
11928 * gdb.perf/gmonster-null-lookup.py: New file.
11929 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11930 * gdb.perf/gmonster-print-cerr.py: New file.
11931 * gdb.perf/gmonster-ptype-string.py: New file.
11932 * gdb.perf/gmonster-runto-main.py: New file.
11933 * gdb.perf/gmonster-select-file.py: New file.
11934 * gdb.perf/gmonster1-null-lookup.exp: New file.
11935 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11936 * gdb.perf/gmonster1-print-cerr.exp: New file.
11937 * gdb.perf/gmonster1-ptype-string.exp: New file.
11938 * gdb.perf/gmonster1-runto-main.exp: New file.
11939 * gdb.perf/gmonster1-select-file.exp: New file.
11940 * gdb.perf/gmonster1.cc: New file.
11941 * gdb.perf/gmonster1.exp: New file.
11942 * gdb.perf/gmonster2-null-lookup.exp: New file.
11943 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11944 * gdb.perf/gmonster2-print-cerr.exp: New file.
11945 * gdb.perf/gmonster2-ptype-string.exp: New file.
11946 * gdb.perf/gmonster2-runto-main.exp: New file.
11947 * gdb.perf/gmonster2-select-file.exp: New file.
11948 * gdb.perf/gmonster2.cc: New file.
11949 * gdb.perf/gmonster2.exp: New file.
11951 2015-07-24 Doug Evans <dje@google.com>
11953 * gdb.perf/README: New file.
11954 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11955 * lib/gen-perf-test.exp: New file.
11957 2015-07-24 Doug Evans <dje@google.com>
11959 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11960 (PerfTest::startup): New function.
11961 (PerfTest::run): Return result of calling body.
11962 (PerfTest::assemble): Rewrite.
11963 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11964 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11965 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11966 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11967 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11969 2015-07-24 Doug Evans <dje@google.com>
11971 * lib/gdb.exp (clean_restart): Make executable optional.
11973 2015-07-24 Doug Evans <dje@google.com>
11975 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11976 compiler_info references.
11977 * gdb.cp/temargs.exp: Ditto.
11978 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11979 (get_compiler_info): Early exit if already computed. Set compiler_info
11980 to "unknown" if there was a problem.
11981 (test_compiler_info): Add function comment. Call get_compiler_info.
11983 2015-07-24 Doug Evans <dje@google.com>
11985 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11986 (workers/%.worker, build-perf): New rule.
11987 (GDB_PERFTEST_MODE): New variable.
11988 (check-perf): Use it.
11989 (clean): Clean up gdb.perf parallel build subdirs.
11990 * lib/build-piece.exp: New file.
11991 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11992 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11994 (standard_temp_file): Ditto.
11995 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11998 2015-07-24 Doug Evans <dje@google.com>
12000 * lib/future.exp (gdb_default_target_compile): New option
12002 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12005 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12007 * gdb.base/catch-syscall.exp: Call gdb_exit before
12010 2015-07-24 Pedro Alves <palves@redhat.com>
12012 * gdb.python/py-events.exp: Accept output between the stop event
12014 * gdb.python/py-evsignal.exp: Likewise.
12015 * gdb.python/py-evthreads.exp: Likewise.
12017 2015-07-24 Pedro Alves <palves@redhat.com>
12020 * gdb.threads/non-ldr-exit.c: New file.
12021 * gdb.threads/non-ldr-exit.exp: New file.
12023 2015-07-24 Yao Qi <yao.qi@linaro.org>
12025 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12026 restarting process.
12028 2015-07-24 Yao Qi <yao.qi@linaro.org>
12030 * gdb.server/ext-restart.exp: New file.
12032 2015-07-24 Yao Qi <yao.qi@linaro.org>
12034 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12036 * gdb.server/ext-wrapper.exp: New file.
12038 2015-07-23 Doug Evans <dje@google.com>
12040 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12041 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12043 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12045 * gdb.ada/var_arr_typedef.exp: New testcase.
12046 * gdb.ada/var_arr_typedef/pack.adb: New file.
12047 * gdb.ada/var_arr_typedef/pack.ads: New file.
12048 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12050 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12052 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12054 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12056 * gdb.arch/i386-biarch-core.exp: Replace istarget
12057 by "complete set gnutarget". Remove expectation for the "core-file"
12060 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12062 Revert the previous commit:
12063 Tests for validate symbol file using build-id.
12065 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12067 Tests for validate symbol file using build-id.
12068 * gdb.base/solib-mismatch-lib.c: New file.
12069 * gdb.base/solib-mismatch-libmod.c: New file.
12070 * gdb.base/solib-mismatch.c: New file.
12071 * gdb.base/solib-mismatch.exp: New file.
12073 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12075 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12077 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12078 * gdb.base/siginfo.exp: Likewise.
12079 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12081 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12083 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12085 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12087 * gdb.trace/range-stepping.exp: Check that the target supports
12090 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12092 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12094 2015-07-14 Pedro Alves <palves@redhat.com>
12096 * gdb.base/killed-outside.exp: New file.
12097 * gdb.base/killed-outside.c: New file.
12099 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12101 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12103 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12105 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12107 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12108 infcall tests instead of setting up for KFAIL.
12110 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12112 * gdb.btrace/record_goto-step.exp: New.
12114 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12117 * gdb.compile/compile.c (struct struct_type): Add volatile to
12119 * gdb.compile/compile.exp
12120 (compile code struct_object.selffield = &struct_object): Skip further
12121 struct_object tests if this one xfails.
12123 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12126 * gdb.trace/ax.exp: Add test.
12128 2015-07-07 Yao Qi <yao.qi@linaro.org>
12130 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12131 instead of istarget "aarch64*-*-*".
12132 * gdb.arch/aarch64-fp.exp: Likewise.
12133 * gdb.base/float.exp: Likewise.
12134 * gdb.reverse/aarch64.exp: Likewise.
12135 * lib/gdb.exp (is_aarch64_target): New proc.
12137 2015-07-07 Yao Qi <yao.qi@linaro.org>
12139 * lib/gdb.exp (is_aarch32_target): New proc.
12140 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12141 instead of "istarget "arm*-*-*"".
12142 * gdb.arch/arm-disp-step.exp: Likewise.
12143 * gdb.arch/thumb-bx-pc.exp: Likewise.
12144 * gdb.arch/thumb-prologue.exp: Likewise.
12145 * gdb.arch/thumb-singlestep.exp: Likewise.
12146 * gdb.base/disp-step-syscall.exp: Likewise.
12147 * gdb.base/float.exp: Likewise.
12149 2015-07-07 Yao Qi <yao.qi@linaro.org>
12151 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12152 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12154 2015-07-07 Yao Qi <yao.qi@linaro.org>
12156 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12157 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12159 * gdb.multi/multi-arch.exp: Likewise.
12161 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12163 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12166 2015-07-07 Yao Qi <yao.qi@linaro.org>
12168 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12170 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12172 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12173 '[' and ']' characters.
12175 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12177 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12179 2015-06-29 Pedro Alves <palves@redhat.com>
12182 * gdb.threads/hand-call-new-thread.c: New file.
12183 * gdb.threads/hand-call-new-thread.c: New file.
12185 2015-06-26 Keith Seitz <keiths@redhat.com>
12186 Doug Evans <dje@google.com>
12189 * gdb.cp/var-tag-2.cc: New file.
12190 * gdb.cp/var-tag-3.cc: New file.
12191 * gdb.cp/var-tag-4.cc: New file.
12192 * gdb.cp/var-tag.cc: New file.
12193 * gdb.cp/var-tag.exp: New file.
12195 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12197 * gdb.base/history-duplicates.exp: New test.
12199 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12201 * gdb.base/completion.exp: Test the completion of the "focus"
12204 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12206 * gdb.arch/amd64-prologue-skip.S: New file.
12207 * gdb.arch/amd64-prologue-skip.exp: New file.
12209 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12211 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12212 is_address_zero_readable check.
12214 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12216 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12217 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12219 2015-06-24 Yao Qi <yao.qi@linaro.org>
12221 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12224 2015-06-24 Yao Qi <yao.qi@linaro.org>
12226 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12227 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12228 * gdb.base/siginfo-thread.exp: Likewise.
12230 2015-06-22 Yao Qi <yao.qi@linaro.org>
12232 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12234 2015-06-22 Yao Qi <yao.qi@linaro.org>
12236 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12238 (skip_hw_watchpoint_tests): Likewise.
12240 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12242 * gdb.base/gdbinit-history.exp: Test the interaction between
12243 setting GDBHISTSIZE and setting the history size via .gdbinit.
12245 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12248 * gdb.base/gdbhistsize-history.exp: New test.
12250 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12252 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12254 * gdb.base/readline.exp: Likewise.
12256 2015-06-17 Yao Qi <yao.qi@linaro.org>
12258 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12261 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12263 * gdb.base/gdbinit-history.exp: Add test case to check that
12264 an unlimited history file does not get truncated on exit.
12266 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12268 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12269 (VECTOR): New macro. Use it...
12270 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12271 ...for these typedefs.
12272 (int8, char1, int1, double1): New typedefs.
12273 (struct just_int2, struct two_int2): New structures.
12274 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12275 (add_structvecs, add_singlevecs): New functions.
12276 (main): Call add_some_intvecs twice.
12277 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12278 the compile and exit upon failure. Try compiling for the "native"
12279 architecture. Test inferior function calls with vector arguments
12280 and vector return value handling with "finish" and "return".
12282 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12284 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12285 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12287 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12289 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12291 PR breakpoints/16465
12292 * gdb.mi/mi-dprintf-pending.c: New file.
12293 * gdb.mi/mi-dprintf-pending.exp: New test.
12294 * gdb.mi/mi-dprintf-pendshr.c: New file.
12296 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12297 Mircea Gherzan <mircea.gherzan@intel.com>
12299 * gdb.arch/i386-mpx-map.c: New file.
12300 * gdb.arch/i386-mpx-map.exp: New File.
12302 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12304 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12305 * gdb.arch/i386-mpx.exp: Indentation fixed.
12307 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12309 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12310 function and improved indentation.
12311 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12312 gdb_test_multiple. Added additional tests to skip the test.
12314 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12316 * gdb.arch/i386-avx512.c: Change path in include file.
12317 * gdb.arch/i386-avx512.exp: Change include dir path
12319 * gdb.arch/i386-mpx.c: Change path in include file.
12320 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12323 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12325 * gdb.compile/compile-print.exp (compile print *vararray@3)
12326 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12328 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12330 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12331 (do not keep jit in memory): ... this.
12332 (expect 5): Change it to ...
12333 (expect no 5): ... this.
12335 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12338 * gdb.mi/mi-detach.exp: New file.
12340 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12343 * gdb.arch/amd64-tailcall-self.S: New file.
12344 * gdb.arch/amd64-tailcall-self.c: New file.
12345 * gdb.arch/amd64-tailcall-self.exp: New file.
12347 2015-05-28 Don Breazeal <donb@codesourcery.com>
12349 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12350 tests for remote targets by checking is_target_gdbserver.
12352 2015-05-27 Doug Evans <dje@google.com>
12354 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12355 * gdb.dwarf2/opaque-type-lookup.c: New file.
12356 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12358 2015-05-26 Doug Evans <dje@google.com>
12360 * gdb.cp/iostream.cc: New file.
12361 * gdb.cp/iostream.exp: New file.
12363 2015-05-26 Doug Evans <dje@google.com>
12365 * gdb.dwarf2/dw2-op-call.exp: Update.
12366 * gdb.dwarf2/dw4-sig-types.exp: Update.
12367 * gdb.dwarf2/implptr.exp: Update.
12368 * gdb.mi/mi-cmd-param-changed.exp: Update.
12370 2015-05-26 Doug Evans <dje@google.com>
12372 * gdb.python/py-lazy-string.c: New file.
12373 * gdb.python/py-lazy-string.exp: New file.
12374 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12375 (main): Update. Add estring3.
12376 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12377 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12379 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12380 Yao Qi <yao.qi@linaro.org>
12382 * gdb.reverse/aarch64.c: New.
12383 * gdb.reverse/aarch64.exp: New.
12385 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12387 * lib/gdb.exp (supports_process_record): Return true for
12389 (supports_reverse): Likewise.
12391 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12393 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12394 Use with_test_prefix.
12396 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12398 * gdb.base/completion.exp: Add test for completion of layout
12401 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12403 * lib/gdb.exp (skip_tui_tests): New proc.
12404 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12406 2015-05-19 Pedro Alves <palves@redhat.com>
12408 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12409 Save the whole env array instead of just HOME. Unset HISTSIZE in
12410 the environment while testing. Restore whole environment
12413 2015-05-16 Doug Evans <xdje42@gmail.com>
12415 * gdb.guile/scm-ports.c: New file.
12416 * gdb.guile/scm-ports.exp: Add memory port tests.
12418 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12420 * gdb.compile/compile-print.c: New file.
12421 * gdb.compile/compile-print.exp: New file.
12423 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12425 * gdb.compile/compile-ops.exp: Cast param to void.
12426 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12427 (compile code struct_object.selffield = &struct_object): Add xfail.
12429 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12431 * gdb.ada/arr_enum_with_gap: New testcase.
12433 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12435 * gdb.ada/byte_packed_arr: New testcase.
12437 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12439 * gdb.ada/pckd_neg: New testcase.
12441 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12444 * gdb.base/gdbinit-history.exp: New test.
12445 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12446 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12448 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12450 * gdb.python/py-xmethods.cc: Enhance test case.
12451 * gdb.python/py-xmethods.exp: New tests.
12452 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12454 (B_indexoper): Likewise.
12455 (global_dm_list) : Add new xmethod worker functions.
12457 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12459 * gdb.base/coredump-filter.exp: Correctly unset
12460 "coredump_var_addr" array.
12462 2015-05-08 Pedro Alves <palves@redhat.com>
12464 * gdb.server/non-existing-program.exp: Unset spawn_id.
12466 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12469 * gdb.python/py-xmethods.exp: Add tests.
12471 2015-05-08 Yao Qi <yao.qi@linaro.org>
12474 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12475 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12476 function set_coredump_filter, and remove remote_exec call.
12477 Remove argument ipid. Callers update.
12478 (top level): Don't get inferior's PID.
12480 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12482 * gdb.base/watch_thread_num.exp: Skip test on targets without
12483 access watchpoints.
12485 2015-05-06 Pedro Alves <palves@redhat.com>
12488 * gdb.server/non-existing-program.exp: New file.
12490 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12492 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12494 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12496 * gdb.ada/out_of_line_in_inlined: New testcase.
12498 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12500 * gdb.ada/var_rec_arr: New testcase.
12502 2015-04-30 Yao Qi <yao.qi@linaro.org>
12504 * gdb.base/break-idempotent.exp: If
12505 skip_hw_watchpoint_multi_tests returns true, skip the tests
12506 on "rwatch" and "awatch".
12508 2015-04-30 Yao Qi <yao.qi@linaro.org>
12510 * gdb.base/relativedebug.exp: Invoke gdb command
12511 "info sharedlibrary", and if libc.so doesn't have debug info,
12514 2015-04-29 Doug Evans <dje@google.com>
12516 * gdb.python/py-xmethods.exp: Add ptype tests.
12517 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12518 get_result_type method.
12520 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12522 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12523 the target does not support hardware watchpoints.
12525 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12527 * gdb.base/break-always.exp: Abort testing if writing to memory
12530 2015-04-28 Doug Evans <dje@google.com>
12532 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12533 * gdb.python/py-pp-registration.exp: ... here. New file.
12534 * gdb.python/py-pp-registration.c: New file.
12535 * gdb.python/py-pp-registration.py: New file.
12537 2015-04-28 Doug Evans <dje@google.com>
12539 * gdb.python/py-bad-printers.c: New file.
12540 * gdb.python/py-bad-printers.py: New file.
12541 * gdb.python/py-bad-printers.exp: New file.
12543 2015-04-28 Sasha Smundak <asmundak@google.com>
12545 * gdb.python/py-type.exp: New test.
12547 2015-04-28 Andy Wingo <wingo@igalia.com>
12549 * gdb.python/py-parameter.exp:
12550 * gdb.guile/scm-parameter.exp: Escape the path that we are
12551 matching against, as it might contain characters that are special
12552 to regular expressions.
12554 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12556 * gdb.ada/rec_comp: New testcase.
12558 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12560 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12563 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12565 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12566 new tests for verilog output.
12568 2015-04-24 Yao Qi <yao.qi@linaro.org>
12570 * boards/remote-gdbserver-on-localhost.exp: New file.
12572 2015-04-23 Pedro Alves <palves@redhat.com>
12574 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12575 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12576 "end of file", remove $inferior_spawn_id from the indirect list.
12578 2015-04-23 Pedro Alves <palves@redhat.com>
12580 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12582 2015-04-23 Pedro Alves <palves@redhat.com>
12584 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12585 on $any_spawn_id instead of only on $gdb_spawn_id.
12587 2015-04-21 Pierre Muller <muller@sourceware.org>
12590 * lib/pascal.exp (gpc_compile): Add new option "class".
12591 (fpc_compile): Likewise.
12592 * gdb.pascal/case-insensitive-symbols.pas: New file.
12593 * gdb.pascal/case-insensitive-symbols.exp: New file.
12595 2015-04-20 Gary Benson <gbenson@redhat.com>
12597 * gdb.base/attach.exp: Fix three extended remote failures.
12599 2015-04-17 Gary Benson <gbenson@redhat.com>
12601 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12602 the main executable over the remote protocol.
12604 2015-04-16 Pedro Alves <palves@redhat.com>
12606 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12607 a new gdbserver if gdbserver_reconnect_p is set.
12609 2015-04-16 Pedro Alves <palves@redhat.com>
12611 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12612 is set, don't exit gdbserver.
12614 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12616 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12617 appropriate .insn, such that an older assembler can be used.
12618 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12619 the z/Architecture instruction set on 31-bit targets as well.
12621 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12623 * gdb.go/handcall.exp: Remove all logic related to the first
12624 breakpoint and rely on go_runto_main instead.
12625 * gdb.go/strings.exp: Likewise.
12626 * gdb.go/unsafe.exp: Likewise.
12627 * gdb.go/hello.exp: Likewise. Also rename the remaining
12628 breakpoint marker to "breakpoint 1".
12629 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12630 * gdb.go/strings.go: Likewise.
12631 * gdb.go/unsafe.go: Likewise.
12632 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12633 "set breakpoint 2 here" and rename the remaining breakpoint marker
12636 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12638 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12639 if itertools.imap is not present.
12640 * gdb.python/py-objfile.exp: Add parentheses.
12641 * gdb.python/py-type.exp: Same.
12642 * gdb.python/py-unwind-maint.py: Same.
12644 2015-04-15 Yao Qi <yao.qi@linaro.org>
12646 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12647 of ":$ptr_size" and set its form explicitly.
12649 2015-04-15 Pedro Alves <palves@redhat.com>
12650 Yao Qi <yao.qi@linaro.org>
12652 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12653 timeout by factor of 4.
12654 (test_regular_watch): Likewise.
12655 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12656 * gdb.reverse/sigall-reverse.exp: Likewise.
12657 * gdb.reverse/until-precsave.exp: Likewise.
12658 * lib/gdb.exp (with_timeout_factor): New proc.
12659 (gdb_expect): Move some code to ...
12660 (get_largest_timeout): ... here. New procedure.
12662 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12664 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12666 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12668 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12669 to write to the .text section.
12671 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12673 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12674 Handle the case of targets that do not provide PID information.
12676 2015-04-13 Yao Qi <yao.qi@linaro.org>
12678 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12679 and use expect instead of gdb_expect.
12681 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12683 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12684 "coredump_var_addr" to avoid naming conflict with other testcases.
12686 2015-04-10 Pedro Alves <palves@redhat.com>
12688 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12689 gdb_test_sequence and gdb_assert.
12691 2015-04-10 Pedro Alves <palves@redhat.com>
12693 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12694 test messages that don't include the breakpoint address.
12696 2015-04-10 Yao Qi <yao.qi@linaro.org>
12698 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12699 false for some offset and width combinations which aren't
12700 supported by linux kernel.
12702 2015-04-10 Pedro Alves <palves@redhat.com>
12704 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12705 procedure, factored out from ...
12706 (top level): ... here. Add "set displaced-stepping" testing axis.
12707 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12708 parameter "displaced". Use it.
12709 (top level): Use foreach and add "set displaced-stepping" testing
12712 2015-04-10 Pedro Alves <palves@redhat.com>
12714 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12716 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12717 both the address of the instruction that triggers the watchpoint
12718 and the address of the instruction immediately after, and use
12719 those addresses for the test. Fix comment.
12721 2015-04-10 Pedro Alves <palves@redhat.com>
12723 * gdb.base/sigstep.exp (breakpoint_to_handler)
12724 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12725 Test "backtrace" in handler.
12726 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12727 (top level): Add new "displaced" test axis to
12728 breakpoint_to_handler, breakpoint_to_handler_entry and
12729 breakpoint_over_handler.
12731 2015-04-10 Pedro Alves <palves@redhat.com>
12734 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12736 2015-04-10 Yao Qi <yao.qi@linaro.org>
12738 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12739 (test_add_rn_pc): New function.
12740 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12741 (top level): Invoke test_add_rn_pc.
12743 2015-04-10 Pedro Alves <palves@redhat.com>
12746 * gdb.base/step-over-no-symbols.exp: New file.
12748 2015-04-09 Andy Wingo <wingo@igalia.com>
12750 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12751 after the Python tests.
12753 2015-04-08 Keith Seitz <keiths@redhat.com>
12756 * gdb.python/py-completion.exp: New tests for completion.
12757 * gdb.python/py-completion.py (CompleteLimit1): New class.
12758 (CompleteLimit2): Likewise.
12759 (CompleteLimit3): Likewise.
12760 (CompleteLimit4): Likewise.
12761 (CompleteLimit5): Likewise.
12762 (CompleteLimit6): Likewise.
12763 (CompleteLimit7): Likewise.
12765 2015-04-08 Pedro Alves <palves@redhat.com>
12769 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12771 (main): Install it as SIGUSR1 handler.
12772 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12773 parameter. Always use "setup" as prefix. Toggle "set
12774 displaced-stepping" off/on depending on global. Don't switch to
12776 (top level): Add displaced stepping "off/on" test axis. Update
12777 "setup" calls. Wrap each subtest with with_test_prefix. Test
12778 continuing with a queued signal in each thread.
12780 2015-04-08 Pedro Alves <palves@redhat.com>
12782 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12783 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12784 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12785 Return early if running to main fails.
12786 * gdb.trace/while-stepping.exp: Likewise.
12788 2015-04-07 Pedro Alves <palves@redhat.com>
12790 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12791 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12792 interact with inferior program.
12794 2015-04-07 Pedro Alves <palves@redhat.com>
12796 * lib/gdb.exp (inferior_spawn_id): New global.
12797 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12798 spawn id after processing the user code.
12799 (default_gdb_start): Set inferior_spawn_id.
12800 (send_inferior): New procedure.
12801 * lib/gdbserver-support.exp (gdbserver_start): Set
12803 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12805 2015-04-07 Pedro Alves <palves@redhat.com>
12807 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12808 * lib/gdbserver-support.exp (gdbserver_start): Make
12809 $server_spawn_id global.
12810 (gdbserver_start): Don't wait for gdbserver's spawn id with
12812 (close_gdbserver): New procedure.
12813 (gdb_exit): Rename the default version and reimplement.
12815 2015-04-07 Pedro Alves <palves@redhat.com>
12817 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12818 append the substituted item, not the original item.
12820 2015-04-07 Pedro Alves <palves@redhat.com>
12822 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12825 2015-04-07 Pedro Alves <palves@redhat.com>
12827 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12828 output appearing once only.
12830 2015-04-07 Pedro Alves <palves@redhat.com>
12832 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12833 that doesn't expect anything. Return early if running to main
12836 2015-04-07 Yao Qi <yao.qi@linaro.org>
12838 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12839 (child_function): Call alarm.
12840 (main): Move call to alarm into the loop.
12841 * gdb.threads/non-stop-fair-events.exp: Build program with
12842 -DTIMEOUT=$timeout.
12844 2015-04-06 Doug Evans <xdje42@gmail.com>
12846 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12847 Fix dest parameter to board_info.
12848 (fpc_compile): Ditto.
12849 (gdb_compile_pascal): Rename dest arg to destfile.
12851 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12853 * gdb.ada/funcall_ref.exp: New file.
12854 * gdb.ada/funcall_ref/foo.adb: New file.
12856 2015-04-02 Yao Qi <yao.qi@linaro.org>
12858 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12861 2015-04-02 Gary Benson <gbenson@redhat.com>
12863 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12865 2015-04-01 Sasha Smundak <asmundak@google.com>
12867 * gdb.python/py-unwind-maint.c: New file.
12868 * gdb.python/py-unwind-maint.exp: New test.
12869 * gdb.python/py-unwind-maint.py: New file.
12870 * gdb.python/py-unwind.c: New file.
12871 * gdb.python/py-unwind.exp: New test.
12872 * gdb.python/py-unwind.py: New test.
12874 2015-04-01 Pedro Alves <palves@redhat.com>
12876 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12877 to fail instead of non-existent $test.
12879 2015-04-01 Pedro Alves <palves@redhat.com>
12881 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12882 GDBFLAGS if not empty.
12884 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12886 * gdb.ada/complete.exp: Remove "multi_line".
12887 * gdb.ada/info_exc.exp: Remove "multi_line".
12888 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12889 * gdb.ada/ptype_field.exp: Remove "multi_line".
12890 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12891 * gdb.ada/tagged.exp: Remove "multi_line".
12892 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12894 * gdb.btrace/delta.exp: Likewise.
12895 * gdb.btrace/exception.exp: Likewise.
12896 * gdb.btrace/function_call_history.exp: Likewise.
12897 * gdb.btrace/instruction_history.exp: Likewise.
12898 * gdb.btrace/nohist.exp: Likewise.
12899 * gdb.btrace/record_goto.exp: Likewise.
12900 * gdb.btrace/segv.exp: Likewise.
12901 * gdb.btrace/stepi.exp: Likewise.
12902 * gdb.btrace/tailcall.exp: Likewise.
12903 * gdb.btrace/unknown_functions.exp: Likewise.
12904 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12905 * lib/gdb.exp: Add the "multi_line" helper.
12907 2015-04-01 Pedro Alves <palves@redhat.com>
12909 * gdb.threads/tid-reuse.c: New file.
12910 * gdb.threads/tid-reuse.exp: New file.
12912 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12915 * gdb.base/coredump-filter.c: New file.
12916 * gdb.base/coredump-filter.exp: Likewise.
12918 2015-03-27 Petr Machata <pmachata@redhat.com>
12920 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12921 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12922 (Dwarf::assemble): Initialize them.
12923 (Dwarf::lines): New function.
12925 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12927 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12928 SYMBOL_PREFIX for x86_64-*-cygwin.
12930 2015-03-26 Andy Wingo <wingo@igalia.com>
12933 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12934 const_value but not a location.
12935 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12936 location defined in non-main CUs are visible.
12938 2015-03-26 Yao Qi <yao.qi@linaro.org>
12941 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12942 Add a line number entry for the same line.
12943 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12944 Add a line number entry for the same line.
12946 2015-03-26 Yao Qi <yao.qi@linaro.org>
12948 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12950 (func): Likewise. Add .Lfunc_1 label.
12951 Use .Lfunc_1 label.
12952 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12955 Use .Lfunc_1 label.
12957 2015-03-26 Yao Qi <yao.qi@linaro.org>
12959 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12960 Call gdb_compile instead to compile each .s files without debug
12963 2015-03-26 Yao Qi <yao.qi@linaro.org>
12965 * gdb.base/savedregs.exp (process_saved_regs): Make
12966 "Saved registers:" optional in the pattern.
12968 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12970 * gdb.btrace/next.exp: Merged into step.exp.
12971 * gdb.btrace/finish.exp: Merged into step.exp.
12972 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12973 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12974 "record goto" and checking the exact replay position.
12975 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12976 check for "Recording format" in "info record" output.
12977 * gdb.btrace/record_goto.exp: Choose test file based on target.
12978 * gdb.btrace/x86-record_goto.S: Renamed into ...
12979 * gdb.btrace/x86_64-record_goto.S: ... this.
12980 * gdb.btrace/i686-record_goto.S: New.
12981 * gdb.btrace/x86-tailcall.S: Renamed into ...
12982 * gdb.btrace/x86_64-tailcall.S: ... this.
12983 * gdb.btrace/i686-tailcall.S: New.
12984 * gdb.btrace/x86-tailcall.c: Renamed into ...
12985 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12986 separate statements. Update test.
12987 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12988 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12989 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12990 * gdb.btrace/tailcall.exp: Choose test file based on target.
12991 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12993 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12995 * gdb.btrace/exception.exp: Increase BTS buffer size.
12997 2015-03-24 Pedro Alves <palves@redhat.com>
12999 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13001 2015-03-24 Pedro Alves <palves@redhat.com>
13003 * gdb.threads/schedlock.exp (test_step): No longer expect that
13004 "set scheduler-locking step" with "next" over a function call runs
13007 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13009 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13011 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13013 PR breakpoints/16466
13014 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13015 * gdb.mi/mi-pending.c (thread_func): New function.
13016 (int main): Add threading support required.
13017 * gdb.mi/mi-pending.exp: Add tests for this issue.
13018 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13019 (pendfunc2): Remove stdio dependency.
13020 * gdb.mi/mi-pendshr2.c: New file.
13022 2015-03-23 Keith Seitz <keiths@redhat.com>
13024 * gdb.linespec/keywords.c: New file.
13025 * gdb.linespec/keywords.exp: New file.
13027 2015-03-23 Keith Seitz <keiths@redhat.com>
13030 * gdb.dwarf2/staticvirtual.exp: New test.
13032 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13034 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13035 * README: Remove HP-UX and gdb.hp.
13037 * configure: Regenerate.
13038 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13039 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13040 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13041 gdb.hp/gdb.defects/Makefile.
13042 * gdb.hp/Makefile.in: File deleted.
13043 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13044 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13045 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13046 * gdb.hp/gdb.aCC/run.c: File deleted.
13047 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13048 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13049 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13050 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13051 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13052 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13053 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13054 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13055 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13056 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13057 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13058 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13059 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13060 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13061 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13062 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13063 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13064 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13065 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13066 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13067 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13068 * gdb.hp/gdb.compat/average.c: File deleted.
13069 * gdb.hp/gdb.compat/sum.c: File deleted.
13070 * gdb.hp/gdb.compat/xdb.c: File deleted.
13071 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13072 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13073 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13074 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13075 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13076 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13077 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13078 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13079 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13080 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13081 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13082 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13083 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13084 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13085 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13086 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13087 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13088 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13089 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13090 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13091 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13092 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13093 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13094 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13095 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13096 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13097 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13098 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13099 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13100 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13101 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13102 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13103 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13104 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13105 * gdb.hp/tools/odump: File deleted.
13107 2015-03-19 Pedro Alves <palves@redhat.com>
13109 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13110 (saw_thread_3): New globals.
13111 (top level): Increment them when an event for the corresponding
13113 (no thread starvation): New test.
13115 2015-03-19 Pedro Alves <palves@redhat.com>
13117 * gdb.threads/continue-pending-status.c: New file.
13118 * gdb.threads/continue-pending-status.exp: New file.
13120 2015-03-18 Pedro Alves <palves@redhat.com>
13122 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13123 Use gdb_is_target_remote instead of is_remote. Use
13124 gdb_test_multiple instead of gdb_expect. Exit early if
13125 gdb_test_multiple hits its internal matches. Tighten stepi tests
13126 expected output. Fail on exit with any signal, instead of just
13129 2015-03-18 Yao Qi <yao.qi@linaro.org>
13132 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13134 * gdb.base/catch-syscall.exp: Don't skip it on
13135 aarch64*-*-linux* target. Remove elements in all_syscalls.
13136 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13138 (setup_all_syscalls): New proc.
13140 2015-03-16 Yao Qi <yao.qi@linaro.org>
13142 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13143 (top level): Skip tests if valid_addr_p returns false for
13146 2015-03-11 Andy Wingo <wingo@igalia.com>
13148 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13150 2015-03-11 Yao Qi <yao.qi@linaro.org>
13152 * gdb.base/catch-syscall.exp: Fix typo in comments.
13154 2015-03-11 Yao Qi <yao.qi@linaro.org>
13156 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13158 2015-03-09 Pedro Alves <palves@redhat.com>
13160 * dg-extract-results.py: Delete.
13162 2015-03-09 Pedro Alves <palves@redhat.com>
13164 Merge dg-extract-results.sh from GCC upstream (r218843).
13166 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13167 * dg-extract-results.sh: Use --text with grep to avoid issues with
13168 binary files. Fall back to cat -v, if that doesn't work.
13170 2015-03-05 Pedro Alves <palves@redhat.com>
13172 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13174 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13176 * lib/mi-support.exp (mi_expect_interrupt): Accept
13177 alternative event for when in all-stop mode.
13179 2015-03-04 Pedro Alves <palves@redhat.com>
13181 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13183 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13185 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13187 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13189 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13190 regexps for GDB's current line display, accept a hex address
13191 preceding the line number.
13193 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13195 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13196 the 'arch1' variable for "s390*-linux*" targets.
13198 2015-03-04 Pedro Alves <palves@redhat.com>
13200 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13201 (main): Pass missing retval argument to pthread_join call.
13203 2015-03-02 Pedro Alves <palves@redhat.com>
13205 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13206 (top level): Call do_test with non-stop as well.
13208 2015-03-02 Pedro Alves <palves@redhat.com>
13210 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13213 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13215 * gdb.arch/s390-vregs.exp: New test.
13216 * gdb.arch/s390-vregs.S: New file.
13218 2015-02-27 Pedro Alves <palves@redhat.com>
13220 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13221 call to catch_command_errors.
13222 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13223 catch_command_errors.
13225 2015-02-27 Pedro Alves <palves@redhat.com>
13227 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13228 "true" for boolean result.
13229 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13232 2015-02-27 Pedro Alves <palves@redhat.com>
13234 * lib/unbuffer_output.c: New file.
13235 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13236 (main): Call gdb_unbuffer_output.
13238 2015-02-27 Yao Qi <yao.qi@linaro.org>
13240 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13243 2015-02-26 Doug Evans <dje@google.com>
13245 * gdb.cp/class2.cc (Dbase, D): New classes.
13246 (main): New local delta.
13247 * gdb.cp/class2.exp: Test printing delta.
13248 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13249 (dynbar): New global.
13250 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13252 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13254 * gdb.compile/compile-ifunc.c: New file.
13255 * gdb.compile/compile-ifunc.exp: New file.
13257 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13259 * gdb.base/structs.exp: Check for correct struct on finish.
13261 2015-02-26 Yao Qi <yao.qi@linaro.org>
13263 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13266 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13268 * gdb.arch/cordic.ko.bz2: New file.
13269 * gdb.arch/cordic.ko.debug.bz2: New file.
13270 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13272 2015-02-25 Yao Qi <yao.qi@linaro.org>
13274 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13275 aarch64*-*-* target.
13277 2015-02-23 Pedro Alves <palves@redhat.com>
13279 * lib/gdb.exp (delete_breakpoints): Rewrite using
13282 2015-02-23 Pedro Alves <palves@redhat.com>
13284 * gdb.base/info-os.c: Include stdlib.h.
13286 2015-02-22 Doug Evans <xdje42@gmail.com>
13289 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13290 is read after symbols have been re-read.
13291 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13292 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13294 2015-02-21 Doug Evans <dje@google.com>
13296 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13298 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13301 * gdb.arch/i386-biarch-core.core.bz2: New file.
13302 * gdb.arch/i386-biarch-core.exp: New file.
13304 2015-02-21 Pedro Alves <palves@redhat.com>
13306 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13309 2015-02-20 Pedro Alves <palves@redhat.com>
13311 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13314 2015-02-20 Pedro Alves <palves@redhat.com>
13316 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13318 2015-02-20 Pedro Alves <palves@redhat.com>
13320 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13321 clean_restart before gdb_target_supports_trace.
13323 2015-02-20 Pedro Alves <palves@redhat.com>
13326 * gdb.threads/clone-thread_db.c: New file.
13327 * gdb.threads/clone-thread_db.exp: New file.
13329 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13331 PR breakpoints/16812
13332 * gdb.base/catch-gdb-caused-signals.c: New file.
13333 * gdb.base/catch-gdb-caused-signals.exp: New file.
13335 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13337 * configure: Regenerated.
13338 * configure.ac: Use GDB_AC_TRANSFORM.
13339 * aclocal.m4: sinclude ../transform.m4.
13341 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13343 * lib/dtrace.exp: New file.
13344 * gdb.base/dtrace-probe.exp: Likewise.
13345 * gdb.base/dtrace-probe.d: Likewise.
13346 * gdb.base/dtrace-probe.c: Likewise.
13347 * lib/pdtrace.in: Likewise.
13348 * configure.ac: Output variables with the transformed names of
13349 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13350 * configure: Regenerated.
13352 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13354 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13355 expected message when trying to access $_probe_* convenience
13356 variables while not on a probe.
13358 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13360 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13362 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13364 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13365 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13367 2015-02-10 Doug Evans <xdje42@gmail.com>
13369 * lib/gdb.exp (gdb_load): Always return a result.
13371 2015-02-10 Pedro Alves <palves@redhat.com>
13373 * gdb.threads/signal-sigtrap.c: New file.
13374 * gdb.threads/signal-sigtrap.exp: New file.
13376 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13378 * gdb.trace/no-attach-trace.c: New file.
13379 * gdb.trace/no-attach-trace.exp: New file.
13381 2015-02-09 Mark Wielaard <mjw@redhat.com>
13383 * gdb.dwarf2/atomic.c: New file.
13384 * gdb.dwarf2/atomic-type.exp: Likewise.
13386 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13388 * gdb.btrace/buffer-size.exp: Update "info record" output.
13389 * gdb.btrace/delta.exp: Update "info record" output.
13390 * gdb.btrace/enable.exp: Update "info record" output.
13391 * gdb.btrace/finish.exp: Update "info record" output.
13392 * gdb.btrace/instruction_history.exp: Update "info record" output.
13393 * gdb.btrace/next.exp: Update "info record" output.
13394 * gdb.btrace/nexti.exp: Update "info record" output.
13395 * gdb.btrace/step.exp: Update "info record" output.
13396 * gdb.btrace/stepi.exp: Update "info record" output.
13397 * gdb.btrace/nohist.exp: Update "info record" output.
13399 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13401 * gdb.btrace/buffer-size: New.
13403 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13405 * gdb.btrace/delta.exp: Update "info record" output.
13406 * gdb.btrace/enable.exp: Update "info record" output.
13407 * gdb.btrace/finish.exp: Update "info record" output.
13408 * gdb.btrace/instruction_history.exp: Update "info record" output.
13409 * gdb.btrace/next.exp: Update "info record" output.
13410 * gdb.btrace/nexti.exp: Update "info record" output.
13411 * gdb.btrace/step.exp: Update "info record" output.
13412 * gdb.btrace/stepi.exp: Update "info record" output.
13413 * gdb.btrace/nohist.exp: Update "info record" output.
13415 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13418 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13420 2015-02-06 Pedro Alves <palves@redhat.com>
13422 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13424 (seconds_left, again): New globals.
13425 (main): Wait seconds_left in a 1-second sleep loop instead of
13426 sleeping 180 seconds. If 'again' is set, reset the seconds
13428 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13429 'again' in the inferior before detaching. Print the seconds left.
13430 (options): New global.
13431 (top level): Build program with -DTIMEOUT=$timeout.
13433 2015-02-06 Pedro Alves <palves@redhat.com>
13435 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13436 determine how many seconds to pass to 'alarm'.
13437 * gdb.base/gdb-sigterm.exp (top level): Build program with
13438 -DTIMEOUT=$timeout.
13439 (do_test): Return success/failure indication. Add more verbose
13440 logging. Don't fail if 200 single steps are seen. Instead, fail
13441 when the test times out.
13442 (passes): New global.
13443 (top level): Break the testing loop if testing fails on any
13444 iteration. Use gdb_assert.
13446 2015-02-04 Don Breazeal <donb@codesourcery.com>
13448 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13449 and initialize them.
13450 (ipc_cleanup): New function.
13451 (main): Don't declare shmid, semid, and msqid. Add a call to
13452 atexit so that we call ipc_cleanup on exit.
13454 2015-02-04 Pedro Alves <palves@redhat.com>
13456 * boards/native-extended-gdbserver.exp: Remove any target variant
13457 specifications from the board name before clearing the isremote
13458 flag from board_info.
13460 2015-01-31 Doug Evans <xdje42@gmail.com>
13462 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13464 2015-01-31 Gary Benson <gbenson@redhat.com>
13466 * gdb.base/completion.exp: Disable completion limiting for
13467 existing tests. Add new tests to check completion limiting.
13468 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13470 2015-01-31 Doug Evans <xdje42@gmail.com>
13472 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13474 2015-01-31 Doug Evans <xdje42@gmail.com>
13476 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13477 entries. Duplicate file section script entries.
13478 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13479 inlined entries. Add test for safe-path rejection.
13480 * gdb.python/py-section-script.c: Add duplicate inlined section script
13481 entries. Duplicate file section script entries.
13482 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13483 inlined entries. Add test for safe-path rejection.
13485 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13487 * gdb.ada/disc_arr_bound: New testcase.
13489 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13491 * gdb.ada/mi_var_array: New testcase.
13493 2015-01-27 Doug Evans <dje@google.com>
13495 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13496 Add test for objfile.filename, objfile.username after objfile
13499 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13501 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13502 the second test to print the name attribute of value
13503 returned by the call to gdb.lookup_type, and adjust
13504 the expected output accordingly.
13506 2015-01-25 Mark Wielaard <mjw@redhat.com>
13508 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13509 * gdb.base/disp-step-fork.c: Include unistd.h.
13510 * gdb.base/siginfo-obj.c: Include stdio.h.
13511 * gdb.base/siginfo-thread.c: Likewise.
13512 * gdb.mi/non-stop.c: Include unistd.h.
13513 * gdb.mi/nsthrexec.c: Include stdio.h.
13514 * gdb.mi/pthreads.c: Include unistd.h.
13515 * gdb.modula2/unbounded1.c (main): Declare returns int.
13516 * gdb.reverse/consecutive-reverse.c: Likewise.
13517 * gdb.threads/create-fail.c: Include unistd.h.
13518 * gdb.threads/killed.c: Likewise.
13519 * gdb.threads/linux-dp.c: Likewise.
13520 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13521 * gdb.threads/non-ldr-exc-2.c: Likewise.
13522 * gdb.threads/non-ldr-exc-3.c: Likewise.
13523 * gdb.threads/non-ldr-exc-4.c: Likewise.
13524 * gdb.threads/pthreads.c: Include unistd.h.
13525 (main): Declare returns int.
13526 * gdb.threads/tls-main.c (foo): New declaration.
13527 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13529 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13531 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13532 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13534 2015-01-15 Mark Wielaard <mjw@redhat.com>
13536 * gdb.base/noreturn-return.c: New file.
13537 * gdb.base/noreturn-return.exp: New file.
13538 * gdb.base/noreturn-finish.c: New file.
13539 * gdb.base/noreturn-finish.exp: New file.
13541 2015-01-23 Pedro Alves <palves@redhat.com>
13543 * gdb.threads/continue-pending-after-query.c: New file.
13544 * gdb.threads/continue-pending-after-query.exp: New file.
13546 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13547 Simon Marchi <simon.marchi@ericsson.com>
13549 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13550 * gdb.base/valgrind-db-attach.exp: Same.
13551 * gdb.base/valgrind-infcall.exp: Same.
13552 * lib/mi-support.exp (default_mi_gdb_start): Same.
13553 * lib/prompt.exp (default_prompt_gdb_start): Same.
13554 * lib/gdb.exp (default_gdb_spawn): Same.
13555 (gdb_interact): New.
13558 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13560 * gdb.compile/compile.exp (pointer to jit function): New test.
13562 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13564 * lib/gdb.exp (supports_process_record): Return true for
13566 (supports_reverse): Likewise.
13568 2015-01-15 Don Breazeal <donb@codesourcery.com>
13570 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13571 instead of checking whether the target board is remote and
13572 use spawn_wait_for_attach instead of exec/sleep.
13573 * gdb.base/attach-twice.exp: Likewise.
13575 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13577 * gdb.ada/var_arr_attrs: New testcase.
13579 2015-01-14 Pedro Alves <palves@redhat.com>
13580 Joel Brobecker <brobecker@adacore.com>
13583 * gdb.base/bp-cmds-execution-x-script.c: New file.
13584 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13585 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13587 2015-01-14 Pedro Alves <palves@redhat.com>
13590 * gdb.base/batch-preserve-term-settings.c: New file.
13591 * gdb.base/batch-preserve-term-settings.exp: New file.
13593 2015-01-13 Doug Evans <dje@google.com>
13595 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13598 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13600 * Makefile.in (clean mostlyclean): Do not delete *.py.
13602 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13604 * gdb.python/py-lookup-type.exp: New file.
13606 2015-01-12 Pedro Alves <palves@redhat.com>
13608 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13609 restore GDBFLAGS before returning.
13611 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13613 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13614 is_amd64_regs_target and is_x86_like_target.
13616 2015-01-11 Doug Evans <xdje42@gmail.com>
13618 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13619 is given without an explicit form.
13620 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13622 * gdb.dwarf/corrupt.exp: Ditto.
13623 * gdb.dwarf2/enum-type.exp: Ditto.
13624 * gdb.trace/entry-values.exp: Ditto.
13625 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13627 2015-01-11 Doug Evans <xdje42@gmail.com>
13630 * gdb.base/maint.exp: Remove references to "maint demangle".
13631 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13632 Add tests for explicitly specifying language to demangle.
13633 * gdb.dlang/demangle.exp: Ditto.
13635 2015-01-09 Pedro Alves <palves@redhat.com>
13637 * gdb.threads/non-stop-fair-events.c: New file.
13638 * gdb.threads/non-stop-fair-events.exp: New file.
13640 2015-01-09 Pedro Alves <palves@redhat.com>
13642 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13643 the global scope. Set a breakpoint after all threads are started
13644 rather than stepping over two source lines. Expect the prompt.
13645 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13648 (main): Use threads_started_barrier to wait for all threads to
13649 start. Main thread no longer calls thread_function. Exit after
13651 (loop): New function.
13652 (thread_function): Wait on threads_started_barrier barrier. Call
13653 'loop' at each iteration.
13654 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13655 threads have started, instead of hardcoding number of "next"
13656 steps. Use an access watchpoint instead of a write watchpoint.
13658 2015-01-09 Pedro Alves <palves@redhat.com>
13660 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13661 (thread_func): Wait on barrier.
13662 (main): Wait for all threads to start before stopping GDB.
13663 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13665 (thread1_func, thread2_func): Wait on barrier.
13666 (main): Wait for all threads to start before stopping GDB.
13667 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13669 (thread1_func, thread2_func): Wait on barrier.
13670 (main): Wait for all threads to start before stopping GDB.
13672 2015-01-09 Pedro Alves <palves@redhat.com>
13674 * gdb.threads/attach-many-short-lived-threads.c: New file.
13675 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13677 2014-01-09 Pedro Alves <palves@redhat.com>
13679 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13680 instead of to thread 2.
13681 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13682 Add barrier around each pthread_create call instead of around all
13684 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13685 Set a break on thread_function and have the child threads hit it
13688 2015-01-09 Pedro Alves <palves@redhat.com>
13690 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13691 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13693 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13694 checking whether the target board is remote.
13695 * gdb.multi/multi-attach.exp: Likewise.
13696 * gdb.python/py-sync-interp.exp: Likewise.
13697 * gdb.server/ext-attach.exp: Likewise.
13698 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13699 tests that need to attach, instead of checking whether the target
13700 board is remote at the top of the file.
13702 2015-01-08 Yao Qi <yao@codesourcery.com>
13704 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13706 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13708 Fix testcase compilation.
13709 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13711 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13713 * gdb.python/py-type.exp: Add a couple test about empty
13714 array creation, and negative-length array creation.
13716 2015-01-02 Doug Evans <xdje42@gmail.com>
13718 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13720 2015-01-02 Doug Evans <dje@google.com>
13722 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13724 2014-12-29 Yao Qi <yao@codesourcery.com>
13726 * gdb.trace/entry-values.exp: Update comments. Rename variable
13727 bar_call_foo to returned_from_foo.
13729 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13732 * gdb.linespec/break-asm-file.c: New file.
13733 * gdb.linespec/break-asm-file.exp: New file.
13734 * gdb.linespec/break-asm-file0.s: New file.
13735 * gdb.linespec/break-asm-file1.s: New file.
13737 2014-12-18 Nigel Stephens <nigel@mips.com>
13738 Maciej W. Rozycki <macro@codesourcery.com>
13740 * gdb.base/float.exp: Handle the new output from "info float" on
13743 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13745 Fix MinGW compilation.
13746 * gdb.compile/compile-ops.exp: Update untested message if
13747 !skip_compile_feature_tests.
13748 * gdb.compile/compile-setjmp.exp: Likewise.
13749 * gdb.compile/compile-tls.exp: Likewise.
13750 * gdb.compile/compile.exp: Likewise.
13751 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13752 supported on this host".
13754 2014-12-16 Doug Evans <xdje42@gmail.com>
13756 * boards/stabs.exp: New file.
13758 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13760 * gdb.base/completion.exp: Adjust to format changes of "maint
13761 print user-registers".
13763 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13766 * gdb.arch/aarch64-fp.c: New file.
13767 * gdb.arch/aarch64-fp.exp: New file.
13769 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13771 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13772 r210637, r210913, r211666, r215400, r215817).
13774 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13775 * dg-extract-results.py: New file.
13776 * dg-extract-results.sh: Use it if the environment seems
13779 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13781 * dg-extract-results.py (parse_run): Handle warnings that
13782 are printed before a test harness is run.
13784 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13786 * dg-extract-results.py (Named): Remove __cmp__ method.
13787 (output_variation): Use a key to sort variation.harnesses.
13789 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13791 * dg-extract-results.py: For Python 3, force sys.stdout to
13792 handle surrogate escape sequences.
13793 (safe_open): New function.
13794 (output_segment, main): Use it.
13796 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13798 * dg-extract-results.py (Prog.result_re): Include options
13801 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13803 * dg-extract-results.py (output_variation): Always sort if
13806 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13808 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13809 as long as we get pagination notifications.
13811 2014-12-15 Jason Merrill <jason@redhat.com>
13813 * Makefile.in (check-gdb.%): Restore.
13814 * README: Mention it.
13816 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13818 * gdb.ada/str_uninit: New testcase.
13820 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13823 * gdb.base/vla-stub-define.c: New file.
13824 * gdb.base/vla-stub.c: New file.
13825 * gdb.base/vla-stub.exp: New file.
13827 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13828 Jan Kratochvil <jan.kratochvil@redhat.com>
13829 Tom Tromey <tromey@redhat.com>
13831 * configure.ac: Add gdb.compile/.
13832 * configure: Regenerate.
13833 * gdb.compile/Makefile.in: New file.
13834 * gdb.compile/compile-ops.exp: New file.
13835 * gdb.compile/compile-ops.c: New file.
13836 * gdb.compile/compile-tls.c: New file.
13837 * gdb.compile/compile-tls.exp: New file.
13838 * gdb.compile/compile-constvar.S: New file.
13839 * gdb.compile/compile-constvar.c: New file.
13840 * gdb.compile/compile-mod.c: New file.
13841 * gdb.compile/compile-nodebug.c: New file.
13842 * gdb.compile/compile-setjmp-mod.c: New file.
13843 * gdb.compile/compile-setjmp.c: New file.
13844 * gdb.compile/compile-setjmp.exp: New file.
13845 * gdb.compile/compile-shlib.c: New file.
13846 * gdb.compile/compile.c: New file.
13847 * gdb.compile/compile.exp: New file.
13848 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13850 2014-12-12 Tom Tromey <tromey@redhat.com>
13852 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13853 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13855 2014-12-12 Doug Evans <dje@google.com>
13857 * lib/gdb-python.exp (get_python_valueof): New function.
13858 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13860 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13862 * gdb.base/completion.exp: Add test for completion of "info
13865 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13867 * gdb.base/func-ptrs.c: New file.
13868 * gdb.base/func-ptrs.exp: New file.
13870 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13872 PR breakpoints/17012
13873 * gdb.base/dprintf-detach.c: New file.
13874 * gdb.base/dprintf-detach.exp: New file.
13876 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13878 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13879 * lib/gdb.exp (target_is_gdbserver): New procedure.
13881 2014-12-08 Doug Evans <dje@google.com>
13883 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13885 2014-12-05 Yao Qi <yao@codesourcery.com>
13887 * gdb.guile/scm-error.exp: Remove the third argument to
13888 gdb_remote_download.
13889 * gdb.guile/scm-frame-args.exp: Likewise.
13890 * gdb.guile/scm-section-script.exp: Likewise.
13892 2014-12-05 Yao Qi <yao@codesourcery.com>
13894 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13896 2014-12-04 Doug Evans <dje@google.com>
13898 * gdb.python/py-objfile.exp: Add tests for
13899 objfile.add_separate_debug_file.
13901 2014-12-04 Doug Evans <dje@google.com>
13903 * lib/gdb.exp (get_build_id): New function.
13904 (build_id_debug_filename_get): Rewrite to use it.
13905 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13907 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13909 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13910 `method(long)', not just 0x0.
13911 * gdb.cp/nsalias.exp: Align code labels to 4.
13912 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13913 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13914 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13915 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13916 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13917 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13919 2014-12-02 Doug Evans <dje@google.com>
13922 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13923 * gdb.cp/anon-ns2.cc: ... here. New file.
13924 * gdb.cp/anon-ns.exp: Update.
13926 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13928 * gdb.python/py-events.py (inferior_call_handler): New.
13929 (register_changed_handler, memory_changed_handler): New.
13930 (test_events.invoke): Register new handlers.
13931 * gdb.python/py-events.exp: Add tests for inferior call,
13932 memory_changed and register_changed events.
13934 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13936 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13937 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13938 if the linker doesn't understand this.
13940 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13942 * gdb.python/python.exp: Change expected reply to help().
13944 2014-12-01 Yao Qi <yao@codesourcery.com>
13946 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13947 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13948 * configure: Re-generated.
13950 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13952 * gdb.cp/chained-calls.cc: New file.
13953 * gdb.cp/chained-calls.exp: New file.
13954 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13956 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13958 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13959 * gdb.dwarf2/symtab-producer.exp: Same.
13960 * gdb.gdb/python-interrupts.exp: Same.
13961 * gdb.gdb/python-selftest.exp: Same.
13962 * gdb.python/py-linetable.exp: Same.
13963 * gdb.python/py-type.exp: Same.
13964 * gdb.python/py-value-cc.exp: Same.
13965 * gdb.python/py-value.exp: Same.
13967 2014-11-28 Yao Qi <yao@codesourcery.com>
13969 * gdb.base/break-probes.exp: Match library name prefixed with
13972 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13974 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13975 test expected output. Add parentheses for the call to print.
13976 Remove L suffix from integers.
13978 2014-11-26 Doug Evans <dje@google.com>
13980 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13982 2014-11-22 Yao Qi <yao@codesourcery.com>
13984 * gdb.trace/entry-values.c: Remove asms.
13985 (foo): Add foo_label.
13986 (bar): Add bar_label.
13987 * gdb.trace/entry-values.exp: Remove code computing foo's
13988 length and bar's length.
13989 (Dwarf::assemble): Invoke function_range for bar and use
13990 MACRO_AT_func for foo.
13992 2014-11-22 Yao Qi <yao@codesourcery.com>
13994 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13995 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13996 Use .Lgcc43_procstart instead of gcc43.
13998 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14000 * gdb.ada/n_arr_bound: New testcase.
14002 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14004 PR breakpoints/10737
14005 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14006 test_catch_syscall_multi_arch.
14007 (test_catch_syscall_multi_arch): New function.
14009 2014-11-20 Doug Evans <xdje42@gmail.com>
14011 * gdb.base/maint.exp: Update expected output.
14013 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14015 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14016 4-byte instruction on S390.
14018 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14020 * gdb.ada/arr_arr: New testcase.
14022 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14024 * gdb.ada/pkd_arr_elem: New Testcase.
14026 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14028 * gdb.reverse/break-precsave: Expect completion message for
14030 * gdb.reverse/consecutive-precsave.exp: Likewise.
14031 * gdb.reverse/finish-precsave.exp: Likewise.
14032 * gdb.reverse/i386-precsave.exp: Likewise.
14033 * gdb.reverse/machinestate-precsave.exp: Likewise.
14034 * gdb.reverse/sigall-precsave.exp: Likewise.
14035 * gdb.reverse/solib-precsave.exp: Likewise.
14036 * gdb.reverse/step-precsave.exp: Likewise.
14037 * gdb.reverse/until-precsave.exp: Likewise.
14038 * gdb.reverse/watch-precsave.exp: Likewise.
14040 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14042 * gdb.base/bp-permanent.c: Include unistd.h.
14043 * gdb.python/py-framefilter-mi.c (main): Add return type.
14044 * gdb.python/py-framefilter.c (main): Likewise.
14045 * gdb.trace/actions-changed.c (main): Likewise.
14047 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14049 * gdb.mi/until.c: Add eye-catchers.
14050 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14053 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14055 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14056 function header variants in break1.c.
14057 * gdb.base/ena-dis-br.exp: Likewise.
14058 * gdb.base/hbreak2.exp: Likewise.
14059 * gdb.reverse/until-precsave.exp: Drop references to removed
14060 non-prototype function header variants in ur1.c.
14061 * gdb.reverse/until-reverse.exp: Likewise.
14063 2014-11-17 Petr Machata <pmachata@redhat.com>
14065 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14066 ${_cu_offset_size} bytes abbrev offset.
14068 2014-11-15 Doug Evans <xdje42@gmail.com>
14071 * gdb.base/line-symtabs.exp: New file.
14072 * gdb.base/line-symtabs.c: New file.
14073 * gdb.base/line-symtabs.h: New file.
14075 2014-11-14 Yao Qi <yao@codesourcery.com>
14077 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14078 (func): Add label func_label.
14079 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14080 Replace low_pc and high_pc with MACRO_AT_range.
14081 Replace name, low_pc and high_pc with MACRO_AT_func.
14083 2014-11-14 Yao Qi <yao@codesourcery.com>
14085 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14086 Replace name, low_pc and high_pc with MACRO_AT_func.
14088 2014-11-14 Yao Qi <yao@codesourcery.com>
14090 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14091 produce debug information.
14092 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14094 2014-11-14 Yao Qi <yao@codesourcery.com>
14096 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14097 object and get function length.
14098 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14099 with MACRO_AT_func.
14100 (top-level): Replace gdb_compile and clean_restart with
14101 prepare_for_testing.
14102 * gdb.dwarf2/main.c (main): Add label main_label.
14104 2014-11-14 Yao Qi <yao@codesourcery.com>
14106 * lib/dwarf.exp (function_range): New procedure.
14107 (Dwarf::_handle_macro_at_func): New procedure.
14108 (Dwarf::_handle_macro_at_range): New procedure.
14109 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14111 2014-11-14 Yao Qi <yao@codesourcery.com>
14113 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14114 (_handle_attribute): New procedure.
14116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14118 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14119 * gdb.base/call-sc.c (zed): Likewise.
14120 * gdb.base/checkpoint.c (main): Likewise.
14121 * gdb.base/dump.c (main): Likewise.
14122 * gdb.base/gcore.c (main): Likewise.
14123 * gdb.base/huge.c (main): Likewise.
14124 * gdb.base/multi-forks.c (main): Likewise.
14125 * gdb.base/pr10179-a.c (main): Likewise.
14126 * gdb.base/savedregs.c (main): Likewise.
14127 * gdb.base/sigaltstack.c (main): Likewise.
14128 * gdb.base/siginfo.c (main): Likewise.
14129 * gdb.base/structs.c (zed): Likewise.
14130 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14131 * gdb.mi/mi-syn-frame.c (main): Likewise.
14132 * gdb.mi/until.c (foo, main): Likewise.
14133 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14134 * gdb.base/solib-weak.c (foo): Declare.
14135 * gdb.base/attach-twice.c: Include stdio.h.
14136 * gdb.base/weaklib1.c: Likewise.
14137 * gdb.base/weaklib2.c: Likewise.
14138 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14139 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14141 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14142 * gdb.mi/mi-exit-code.c: Likewise.
14143 * gdb.base/break-interp-lib.c: Include string.h.
14144 * gdb.base/coremaker.c: Likewise.
14145 * gdb.base/testenv.c: Likewise.
14146 * gdb.python/py-finish-breakpoint.c: Likewise.
14147 * gdb.base/inferior-died.c: Include sys/wait.h.
14148 * gdb.base/fileio.c: Include time.h.
14149 * gdb.base/async-shell.c: Include unistd.h.
14150 * gdb.base/dprintf-non-stop.c: Likewise.
14151 * gdb.base/info-os.c: Likewise.
14152 * gdb.mi/mi-console.c: Likewise.
14153 * gdb.mi/watch-nonstop.c: Likewise.
14154 * gdb.python/py-events.c: Likewise.
14155 * gdb.base/async.c (baz): Move up before its invocation.
14156 * gdb.base/code_elim2.c (my_global_func): Likewise.
14157 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14158 * gdb.base/advance.c (func2): Likewise.
14160 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14162 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14164 * gdb.base/annota3.c: Likewise.
14165 * gdb.base/async.c: Likewise.
14166 * gdb.base/average.c: Likewise.
14167 * gdb.base/call-ar-st.c: Likewise.
14168 * gdb.base/call-rt-st.c: Likewise.
14169 * gdb.base/call-sc.c: Likewise.
14170 * gdb.base/call-strs.c: Likewise.
14171 * gdb.base/ending-run.c: Likewise.
14172 * gdb.base/execd-prog.c: Likewise.
14173 * gdb.base/exprs.c: Likewise.
14174 * gdb.base/foll-exec.c: Likewise.
14175 * gdb.base/foll-fork.c: Likewise.
14176 * gdb.base/foll-vfork.c: Likewise.
14177 * gdb.base/funcargs.c: Likewise.
14178 * gdb.base/gcore.c: Likewise.
14179 * gdb.base/jump.c: Likewise.
14180 * gdb.base/langs0.c: Likewise.
14181 * gdb.base/langs1.c: Likewise.
14182 * gdb.base/langs2.c: Likewise.
14183 * gdb.base/mips_pro.c: Likewise.
14184 * gdb.base/nodebug.c: Likewise.
14185 * gdb.base/opaque0.c: Likewise.
14186 * gdb.base/opaque1.c: Likewise.
14187 * gdb.base/recurse.c: Likewise.
14188 * gdb.base/run.c: Likewise.
14189 * gdb.base/scope0.c: Likewise.
14190 * gdb.base/scope1.c: Likewise.
14191 * gdb.base/setshow.c: Likewise.
14192 * gdb.base/setvar.c: Likewise.
14193 * gdb.base/shmain.c: Likewise.
14194 * gdb.base/shr1.c: Likewise.
14195 * gdb.base/shr2.c: Likewise.
14196 * gdb.base/sigall.c: Likewise.
14197 * gdb.base/signals.c: Likewise.
14198 * gdb.base/so-indr-cl.c: Likewise.
14199 * gdb.base/solib2.c: Likewise.
14200 * gdb.base/structs.c: Likewise.
14201 * gdb.base/sum.c: Likewise.
14202 * gdb.base/vforked-prog.c: Likewise.
14203 * gdb.base/watchpoint.c: Likewise.
14204 * gdb.reverse/shr2.c: Likewise.
14205 * gdb.reverse/until-reverse.c: Likewise.
14206 * gdb.reverse/ur1.c: Likewise.
14207 * gdb.reverse/watch-reverse.c: Likewise.
14209 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14211 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14213 * gdb.base/sepdebug.exp: Drop references to removed code.
14215 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14217 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14218 variant. Preserve original line numbering.
14219 * gdb.base/list1.c: Likewise.
14221 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14223 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14225 * gdb.base/break1.c: Likewise.
14226 * gdb.base/break.exp: Drop references to removed code.
14228 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14230 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14233 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14235 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14237 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14239 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14240 logic into perform_all_tests() and invoke it with and without
14241 function header prototypes.
14242 (do_function_calls): Remove conditional XFAIL for PR 5318.
14243 (rerun_and_prepare): Remove duplicate code.
14244 (perform_all_tests): New. Main logic moved here.
14246 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14248 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14249 code guarded by #ifdef NO_PROTOTYPES.
14250 (t_double_many_args): Likewise.
14251 (DEF_FUNC_MANY_ARGS_1): Likewise.
14252 (DEF_FUNC_VALUES_1): Likewise.
14253 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14254 guarded by #ifdef PROTOTYPES.
14256 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14258 * gdb.mi/mi-console.c: Add eye-catcher.
14259 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14260 instead of literal line number.
14262 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14264 * gdb.base/shr2.c: Add eye-catcher.
14265 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14268 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14270 * gdb.base/jump.c: Add eye-catchers.
14271 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14276 * gdb.base/execd-prog.c: Add eye-catchers.
14277 * gdb.base/foll-exec.c: Likewise.
14278 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14281 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14283 * gdb.base/ending-run.c: Add eye-catchers.
14284 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14285 literal line numbers.
14287 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14289 * gdb.base/call-rt-st.c: Add eye-catchers.
14290 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14291 literal line numbers.
14293 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14295 * gdb.base/call-ar-st.c: Add eye-catchers.
14296 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14297 literal line numbers.
14299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14301 * gdb.base/average.c: Add eye-catchers.
14302 * gdb.base/sum.c: Likewise.
14303 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14304 regexps dynamically.
14306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14308 * gdb.base/solib1.c: Add eye-catchers.
14309 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14310 literal line numbers.
14312 2014-11-12 Pedro Alves <palves@redhat.com>
14314 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14317 2014-11-12 Pedro Alves <palves@redhat.com>
14319 * gdb.arch/i386-bp_permanent.c: New file.
14320 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14321 (srcfile): Set to i386-bp_permanent.c.
14322 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14323 that stepi does not execute the 'leave' instruction, instead of
14324 testing it does execute.
14325 * gdb.base/bp-permanent.c: New file.
14326 * gdb.base/bp-permanent.exp: New file.
14328 2014-11-10 Doug Evans <xdje42@gmail.com>
14331 * gdb.base/symtab-search-order.exp: New file.
14332 * gdb.base/symtab-search-order.c: New file.
14333 * gdb.base/symtab-search-order-1.c: New file.
14334 * gdb.base/symtab-search-order-shlib-1.c: New file.
14336 2014-11-07 Pedro Alves <palves@redhat.com>
14339 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14342 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14345 * gdb.cp/pr17494.cc: New file.
14346 * gdb.cp/pr17494.exp: New file.
14348 2014-11-02 Yao Qi <yao@codesourcery.com>
14350 * gdb.python/python.exp: Get working directory and match the
14351 output of "set extended-prompt \\w " with it.
14353 2014-10-30 Doug Evans <dje@google.com>
14355 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14357 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14360 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14362 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14363 * gdb.base/realname-expand.exp: Likewise.
14364 * gdb.linespec/macro-relative.exp: Likewise.
14366 2014-10-29 Pedro Alves <palves@redhat.com>
14369 * gdb.threads/schedlock.c (some_function): New function.
14370 (call_function): New global.
14371 (MAYBE_CALL_SOME_FUNCTION): New macro.
14372 (thread_function): Call it.
14373 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14374 and use it instead of a global counter. Adjust all callers.
14375 (get_current_thread): Use "find current thread" for test message
14376 here rather than having all callers pass down the same string.
14377 (goto_loop): New procedure, factored out from ...
14378 (my_continue): ... this.
14379 (step_ten_loops): Change parameter from test message to command to
14381 (list_count): Delete global.
14382 (check_result): New procedure, factored out from duplicate top
14384 (continue tests): Wrap in with_test_prefix.
14385 (test_step): New procedure, factored out from duplicate top level
14387 (top level): Test "step" in combination with all scheduler-locking
14388 modes. Test "next" in combination with all scheduler-locking
14389 modes, and in combination with stepping over a function call or
14391 * gdb.threads/next-bp-other-thread.c: New file.
14392 * gdb.threads/next-bp-other-thread.exp: New file.
14394 2014-10-29 Pedro Alves <palves@redhat.com>
14397 * gdb.python/python.exp: Test a multi-line command that spawns
14398 interactive Python.
14399 * gdb.base/multi-line-starts-subshell.exp: New file.
14401 2014-10-29 Yao Qi <yao@codesourcery.com>
14403 * gdb.base/fileio.exp: Make directories on host.
14405 2014-10-29 Yao Qi <yao@codesourcery.com>
14407 * gdb.base/fileio.c (test_write): Close the file.
14409 2014-10-28 Pedro Alves <palves@redhat.com>
14412 * gdb.base/sigstep.c (no_handler): New global.
14413 (main): If 'no_handler is true, set the signal handlers to
14415 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14416 with_sw_watch and no_handler parameters. Handle them.
14417 (top level) <stepping over handler when stopped at a breakpoint
14418 test>: Add a test axis for testing with a software watchpoint, and
14419 another for testing with the signal handler set to SIG_IGN.
14420 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14421 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14423 2014-10-28 Pedro Alves <palves@redhat.com>
14426 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14427 * gdb.base/sigstep.exp (other_handler_location): New global.
14428 (advance): Support stepping into the signal handler, and running
14429 commands while in the handler.
14430 (in_handler_map): New global.
14431 (top level): In the advance test, add combinations for getting
14432 into the handler with stepping commands, and for running commands
14433 in the handler. Add comment descripting the advancei tests.
14435 2014-10-28 Pedro Alves <palves@redhat.com>
14437 * gdb.base/sigstep.exp: Use build_executable instead of
14438 prepare_for_testing.
14439 (top level): Move code that starts GDB, runs to main and creates a
14441 (restart): ... this new procedure.
14442 (top level): Move backtrace from signal handler test to ...
14443 (validate_backtrace): ... this new procedure.
14444 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14445 with_test_prefix. Always restart GDB.
14446 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14447 with_test_prefix. Always restart GDB. No need to delete
14448 breakpoints after the test.
14449 (test_skip_handler): Remove prefix parameter.
14450 (skip_over_handler, breakpoint_to_handler)
14451 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14452 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14453 restart GDB. No need to delete breakpoints after the test.
14454 (top level): Use foreach to call the test procedures with
14455 different commands.
14457 2014-10-28 Pedro Alves <palves@redhat.com>
14459 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14460 instead of GNATS numbers.
14461 * gdb.base/sigbpt.exp: Likewise.
14462 * gdb.base/siginfo.exp: Likewise.
14463 * gdb.base/sigstep.exp: Likewise.
14465 2014-10-27 Pedro Alves <palves@redhat.com>
14467 * gdb.base/sigstep.c (dummy): New global.
14468 (main): Issue a couple writes to the new global.
14469 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14471 (skip_over_handler): Use test_skip_handler.
14472 (top level): Call skip_over_handler for stepi and nexti too.
14473 (breakpoint_over_handler): Use test_skip_handler.
14474 (top level): Call breakpoint_over_handler for stepi and nexti too.
14476 2014-10-27 Yao Qi <yao@codesourcery.com>
14478 * gdb.trace/tfile.c (adjust_function_address)
14479 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14480 function descriptor.
14482 2014-10-24 Don Breazeal <donb@codesourcery.com>
14484 * gdb.base/foll-fork.exp (test_follow_fork,
14485 catch_fork_child_follow): Check for updated fork messages emitted
14487 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14488 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14489 vfork_and_exec_child_follow_through_step): Check for updated vfork
14490 messages emitted from infrun.c.
14492 2014-10-24 Pedro Alves <palves@redhat.com>
14494 * gdb.base/corefile.exp: Remove references to ultrix.
14495 * gdb.base/interrupt.exp: Likewise.
14496 * gdb.base/whatis.exp: Likewise.
14497 * gdb.gdb/selftest.exp: Likewise.
14498 * gdb.threads/manythreads.exp: Likewise.
14499 * gdb.threads/print-threads.exp: Likewise.
14500 * gdb.threads/pthreads.exp:: Likewise.
14501 * gdb.threads/schedlock.exp: Likewise.
14503 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14505 * gdb.cp/non-trivial-retval.cc: Add a test case.
14506 * gdb.cp/non-trivial-retval.exp: Add a test.
14508 2014-10-20 Yao Qi <yao@codesourcery.com>
14510 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14511 * gdb.python/py-objfile-script-gdb.py: New file.
14512 * gdb.python/py-objfile-script.exp: Update reference to
14513 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14514 of remote_download. Remove the dest file.
14516 2014-10-20 Yao Qi <yao@codesourcery.com>
14518 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14519 * gdb.base/step-line.exp: Likewise.
14520 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14521 * gdb.dwarf2/dw2-basic.exp: Likewise.
14522 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14523 * gdb.dwarf2/dw2-filename.exp: Likewise.
14524 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14525 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14526 * gdb.dwarf2/dw2-producer.exp: Likewise.
14527 * gdb.dwarf2/mac-fileno.exp: Likewise.
14528 * gdb.python/py-frame-args.exp: Likewise.
14529 * gdb.python/py-framefilter.exp: Likewise.
14530 * gdb.python/py-mi.exp: Likewise.
14531 * gdb.python/py-objfile-script.exp: Likewise
14532 * gdb.python/py-pp-integral.exp: Likewise.
14533 * gdb.python/py-pp-re-notag.exp: Likewise.
14534 * gdb.python/py-prettyprint.exp: Likewise.
14535 * gdb.python/py-section-script.exp: Likewise.
14536 * gdb.python/py-typeprint.exp: Likewise.
14537 * gdb.python/py-xmethods.exp: Likewise.
14538 * gdb.stabs/weird.exp: Likewise.
14539 * gdb.xml/tdesc-regs.exp: Likewise.
14541 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14543 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14544 (out_cu): Use addr_len for the size of addresses.
14545 (out_line): Likewise. Size DW_LNE_set_address instruction
14546 according to addr_len.
14547 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14548 (FUNC): Add START_INSNS to definition.
14550 2014-10-18 Yao Qi <yao@codesourcery.com>
14552 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14553 gdb_has_argv0 return true.
14554 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14555 check [target_info exists noargs], check [gdb_has_argv0]
14557 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14558 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14561 2014-10-17 Doug Evans <dje@google.com>
14563 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14565 * gdb.python/py-events.py: Add clear_objfiles event.
14567 2014-10-17 Doug Evans <dje@google.com>
14569 * gdb.python/py-objfile.exp: Test progspace attribute.
14571 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14573 * gdb.guile/scm-breakpoint.exp: Do not assume any
14574 directory separators when matching source file paths.
14575 * gdb.python/py-breakpoint.exp: Likewise.
14576 * gdb.reverse/break-precsave.exp: Likewise.
14577 * gdb.reverse/break-reverse.exp: Likewise.
14578 * gdb.reverse/consecutive-precsave.exp: Likewise.
14579 * gdb.reverse/finish-precsave.exp: Likewise.
14580 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14581 * gdb.reverse/finish-reverse.exp: Likewise.
14582 * gdb.reverse/i386-precsave.exp: Likewise.
14583 * gdb.reverse/i387-env-reverse.exp: Likewise.
14584 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14585 * gdb.reverse/machinestate-precsave.exp: Likewise.
14586 * gdb.reverse/machinestate.exp: Likewise.
14587 * gdb.reverse/sigall-precsave.exp: Likewise.
14588 * gdb.reverse/solib-precsave.exp: Likewise.
14589 * gdb.reverse/step-precsave.exp: Likewise.
14590 * gdb.reverse/until-precsave.exp: Likewise.
14591 * gdb.reverse/watch-precsave.exp: Likewise.
14592 * gdb.reverse/watch-reverse.exp: Likewise.
14594 2014-10-17 Yao Qi <yao@codesourcery.com>
14596 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14597 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14599 2014-10-17 Pedro Alves <palves@redhat.com>
14602 * gdb.base/bg-execution-repeat.c: New file.
14603 * gdb.base/bg-execution-repeat.exp: New file.
14605 2014-10-17 Pedro Alves <palves@redhat.com>
14608 * gdb.base/continue-all-already-running.c: New file.
14609 * gdb.base/continue-all-already-running.exp: New file.
14611 2014-10-17 Pedro Alves <palves@redhat.com>
14614 * gdb.base/annota-input-while-running.c: New file.
14615 * gdb.base/annota-input-while-running.exp: New file.
14617 2014-10-17 Pedro Alves <palves@redhat.com>
14619 * gdb.base/callfuncs.exp: emove references to osf.
14620 * gdb.base/sigall.exp: Likewise.
14621 * gdb.gdb/selftest.exp: Likewise.
14622 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14623 * gdb.mi/non-stop.c: Likewise.
14624 * gdb.mi/pthreads.c: Likewise.
14625 * gdb.reverse/sigall-precsave.exp: Likewise.
14626 * gdb.reverse/sigall-reverse.exp: Likewise.
14627 * gdb.threads/pthreads.c: Likewise.
14628 * gdb.threads/pthreads.exp: Likewise.
14630 2014-10-17 Yao Qi <yao@codesourcery.com>
14632 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14633 check 'target_info exists noargs'.
14634 (test_command_prompt_position): Likewise.
14635 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14637 (progvar_simple_while_test): Likewise.
14638 (progvar_complex_if_while_test): Likewise.
14639 (if_while_breakpoint_command_test): Likewise.
14640 (infrun_breakpoint_command_test): Likewise.
14641 (breakpoint_command_test): Likewise.
14642 (watchpoint_command_test): Likewise.
14643 (bp_deleted_in_command_test): Likewise.
14644 (temporary_breakpoint_commands): Likewise.
14646 2014-10-16 Yao Qi <yao@codesourcery.com>
14648 * gdb.base/remotetimeout.exp: Remove noargs checking.
14650 2014-10-15 Pedro Alves <palves@redhat.com>
14652 PR breakpoints/9649
14653 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14654 * gdb.base/breakpoint-in-ro-region.exp
14655 (probe_target_hardware_step): New procedure.
14656 (top level): Probe hardware stepping and hardware breakpoint
14657 support. Test stepping through a read-only region, with both
14658 "breakpoint auto-hw" on and off and both "always-inserted" on and
14661 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14663 * gdb.dlang/demangle.exp: Update for demangling changes.
14665 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14667 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14668 * gdb.cp/non-trivial-retval.exp: Add new tests.
14670 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14674 * gdb.cp/non-trivial-retval.cc: New file.
14675 * gdb.cp/non-trivial-retval.exp: New file.
14677 2014-10-15 Yao Qi <yao@codesourcery.com>
14679 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14682 2014-10-15 Yao Qi <yao@codesourcery.com>
14684 * gdb.python/py-symbol.exp: Match file base name if host is
14685 remote, otherwise match file name with dir name.
14686 * gdb.python/py-symtab.exp: Likewise.
14687 * gdb.python/python.exp: Likewise.
14689 2014-10-15 Yao Qi <yao@codesourcery.com>
14691 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14693 * gdb.python/py-symtab.exp: Likewise.
14694 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14697 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14699 * gdb.ada/addr_arith: New testcase.
14701 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14703 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14704 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14705 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14706 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14708 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14710 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14711 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14712 * gdb.arch/stap-eval-lang-ada.exp: New file.
14714 2014-10-14 Yao Qi <yao@codesourcery.com>
14716 * gdb.mi/mi-var-child.c (nothing1): New function.
14717 (nothing2): New function.
14718 (do_children_tests): Set function pointers by nothing1 and
14720 * gdb.mi/mi-var-child.exp: Step over new added statements.
14721 Update test to match the new output.
14722 * gdb.mi/var-cmd.c (nothing1): New function.
14723 (nothing2): New function.
14724 (do_children_tests): Set function pointers by nothing1 and
14726 * gdb.mi/mi-var-display.exp: Update test to match output.
14727 Step to the line specified by $line_dct_nothing.
14728 Increase the number of lines to step.
14730 2014-10-14 Yao Qi <yao@codesourcery.com>
14732 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14734 * gdb.mi/mi2-var-child.exp: Likewise.
14736 2014-10-13 Doug Evans <dje@google.com>
14738 * gdb.python/py-objfile.exp: Change name of file name test.
14740 2014-10-13 Doug Evans <dje@google.com>
14742 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14743 from the start of the CU.
14745 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14746 Yao Qi <yao@codesourcery.com>
14748 Fix "save breakpoints" for "catch" command.
14749 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14750 Remove -nonewline. Match also the added "main" line.
14752 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14754 Fix "save breakpoints" for "disable $bpnum" command.
14755 * gdb.base/save-bp.c (main): Add label.
14756 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14758 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14760 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14762 2014-10-11 Yao Qi <yao@codesourcery.com>
14764 * gdb.server/server-kill.exp: Execute command
14765 "set remote trace-status-packet on" before "tstatus".
14767 2014-10-11 Yao Qi <yao@codesourcery.com>
14769 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14770 (main): Call getppid.
14771 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14772 and continue to it. Read variable "server_pid".
14774 2014-10-11 Yao Qi <yao@codesourcery.com>
14776 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14778 2014-10-11 Yao Qi <yao@codesourcery.com>
14780 * gdb.threads/thread-find.exp: Don't execute command
14782 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14783 * gdb.threads/linux-dp.exp: Don't check the condition
14784 $threads_created equals to zero.
14786 2014-10-10 Pedro Alves <palves@redhat.com>
14788 * gdb.base/bigcore.exp: Remove references to IRIX.
14789 * gdb.base/funcargs.exp: Likewise.
14790 * gdb.base/interrupt.exp: Likewise.
14791 * gdb.base/mips_pro.exp: Likewise.
14792 * gdb.base/nodebug.exp: Likewise.
14793 * gdb.base/setvar.exp: Likewise.
14794 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14796 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14797 Pedro Alves <palves@redhat.com>
14800 * gdb.base/vdso-warning.c: New file.
14801 * gdb.base/vdso-warning.exp: New file.
14803 2014-10-02 Doug Evans <dje@google.com>
14805 * gdb.base/structs.c (main): Don't run forever.
14807 2014-10-02 Pedro Alves <palves@redhat.com>
14809 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14810 (top level) <stop threads 1, stop threads 2>: Use it.
14812 2014-10-02 Pedro Alves <palves@redhat.com>
14814 * gdb.threads/break-while-running.exp (test): Add new
14815 'update_thread_list' argument. Skip "info threads" if false.
14816 (top level): Add new 'update_thread_list' axis.
14818 2014-10-02 Pedro Alves <palves@redhat.com>
14820 PR breakpoints/17431
14821 * gdb.base/execl-update-breakpoints.c: New file.
14822 * gdb.base/execl-update-breakpoints.exp: New file.
14824 2014-10-01 Pedro Alves <palves@redhat.com>
14826 * gdb.base/breakpoint-in-ro-region.c: New file.
14827 * gdb.base/breakpoint-in-ro-region.exp: New file.
14829 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14831 * gdb.mi/mi-exit-code.exp: New file.
14832 * gdb.mi/mi-exit-code.c: New file.
14834 2014-09-30 Yao Qi <yao@codesourcery.com>
14836 * lib/prelink-support.exp (build_executable_own_libs): Error if
14837 the target isn't native.
14839 2014-09-30 Yao Qi <yao@codesourcery.com>
14841 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14844 2014-09-22 Pedro Alves <palves@redhat.com>
14846 * gdb.threads/break-while-running.exp: New file.
14847 * gdb.threads/break-while-running.c: New file.
14849 2014-09-19 Yao Qi <yao@codesourcery.com>
14851 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14852 Invoke test. Restart GDB with --readnow and invoke test again.
14854 2014-09-19 Yao Qi <yao@codesourcery.com>
14856 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14857 proc set_breakpoint_on_gcd_function. Invoke
14858 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14859 invoke set_breakpoint_on_gcd_function again.
14861 2014-09-18 Doug Evans <dje@google.com>
14863 * gdb.dwarf2/symtab-producer.exp: New file.
14865 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14867 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14868 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14869 * gdb.base/global-var-nested-by-dso.c: Likewise.
14870 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14872 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14873 Pedro Alves <palves@redhat.com>
14875 * gdb.base/watch-bitfields.exp: Pass string other than test file
14876 name to prepare_for_testing.
14877 (watch): New procedure.
14878 (expect_watchpoint): Use with_test_prefix.
14879 (top level): Factor out tests to ...
14880 (test_watch_location, test_regular_watch): ... these new
14881 procedures, and use with_test_prefix and gdb_continue_to_end.
14883 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14885 PR breakpoints/12526
14886 * gdb.base/watch-bitfields.exp: New file.
14887 * gdb.base/watch-bitfields.c: New file.
14889 2014-09-16 Pedro Alves <palves@redhat.com>
14891 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14892 software and hardware addresses, not software address against
14895 2014-09-16 Pedro Alves <palves@redhat.com>
14897 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14898 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14900 2014-09-16 Pedro Alves <palves@redhat.com>
14902 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14904 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14905 "*-*-vxworks*" throughout.
14906 * gdb.base/break.exp: Likewise.
14907 * gdb.base/default.exp: Likewise.
14908 * gdb.base/scope.exp: Likewise.
14909 * gdb.base/sepdebug.exp: Likewise.
14910 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14912 * gdb.base/run.c: Likewise.
14913 * gdb.base/sepdebug.c: Likewise.
14914 * gdb.hp/gdb.aCC/run.c: Likewise.
14915 * gdb.reverse/until-reverse.c: Likewise.
14916 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14918 2014-09-16 Yao Qi <yao@codesourcery.com>
14920 * boards/local-remote-host-native.exp: New file.
14922 2014-09-14 Doug Evans <xdje42@gmail.com>
14924 * gdb.threads/queue-signal.c (thread_count): New variable.
14925 (thread_count_mutex, thread_count_condvar): New variables.
14926 (incr_thread_count, wait_all_threads_running): New functions.
14927 (main): Wait for all threads to be in their thread functions.
14929 2014-09-13 Doug Evans <xdje42@gmail.com>
14931 * gdb.threads/queue-signal.c: New file.
14932 * gdb.threads/queue-signal.exp: New file.
14934 2014-09-13 Doug Evans <xdje42@gmail.com>
14936 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14937 be consistent with what default_gdb_init uses.
14938 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14939 the plain text of the prompt. Add some logging printfs.
14940 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14942 2014-09-12 Pedro Alves <palves@redhat.com>
14944 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14945 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14946 * gdb.arch/i386-size-overlap.exp: Likewise.
14947 * gdb.arch/i386-size.exp: Likewise.
14948 * gdb.arch/i386-unwind.exp: Likewise.
14949 * gdb.base/a2-run.exp: Likewise.
14950 * gdb.base/break.exp: Likewise.
14951 * gdb.base/charset.exp: Likewise.
14952 * gdb.base/chng-syms.exp: Likewise.
14953 * gdb.base/commands.exp: Likewise.
14954 * gdb.base/dbx.exp: Likewise.
14955 * gdb.base/find.exp: Likewise.
14956 * gdb.base/funcargs.exp: Likewise.
14957 * gdb.base/jit-simple.exp: Likewise.
14958 * gdb.base/reread.exp: Likewise.
14959 * gdb.base/sepdebug.exp: Likewise.
14960 * gdb.base/step-bt.exp: Likewise.
14961 * gdb.cp/mb-inline.exp: Likewise.
14962 * gdb.cp/mb-templates.exp: Likewise.
14963 * gdb.objc/basicclass.exp: Likewise.
14964 * gdb.threads/killed.exp: Likewise.
14966 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14969 * gdb.arch/powerpc-stackless.S: New file.
14970 * gdb.arch/powerpc-stackless.exp: New file.
14972 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14974 * gdb.base/attach.c: Include unistd.h.
14975 (main): Call alarm. Add label postloop.
14976 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14977 gdb_breakpoint, gdb_continue_to_breakpoint.
14978 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14980 2014-09-11 Pedro Alves <palves@redhat.com>
14983 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14984 * gdb.base/attach.exp (test_command_line_attach_run): New
14986 (top level): Call it.
14988 2014-09-11 Pedro Alves <palves@redhat.com>
14990 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14991 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14992 (do_command_attach_tests): Use spawn_wait_for_attach.
14993 * gdb.base/solib-overlap.exp: Likewise.
14994 * gdb.multi/multi-attach.exp: Likewise.
14995 * gdb.python/py-prompt.exp: Likewise.
14996 * gdb.python/py-sync-interp.exp: Likewise.
14997 * gdb.server/ext-attach.exp: Likewise.
14999 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15001 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15002 command in testcase. Simplify testcase.
15004 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15006 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15008 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15010 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15012 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15014 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15016 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15018 * gdb.dwarf2/dynarr-ptr.c: New file.
15019 * gdb.dwarf2/dynarr-ptr.exp: New file.
15021 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15023 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15024 of 30 rather than hardcoding 120 for a slow test case. Take the
15025 `gdb,timeout' target setting into account for this calculation.
15026 Don't extend the timeout for the test cases that don't need it.
15028 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15030 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15031 a factor of 2 for a slow test case. Take the `gdb,timeout'
15032 target setting into account for this calculation.
15033 * gdb.reverse/until-precsave.exp: Increase the timeout by
15034 a factor of 15 and 3 respectively rather than adding 120
15035 for a pair of slow test cases. Take the `gdb,timeout'
15036 target setting into account for this calculation.
15038 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15040 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15041 timeout, don't pass one down to gdb_expect.
15042 (gdb_expect): Rework timeout selection.
15044 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15046 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15047 exception on timeout.
15048 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15049 (gdbserver_start_extended): Catch any `gdbserver_start' error
15051 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15052 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15053 `gdbserver_gdb_load' error exceptions.
15055 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15057 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15058 120 on waiting for the TCP socket to open.
15060 2014-09-09 Doug Evans <xdje42@gmail.com>
15062 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15063 _caller_matches, _any_caller_is, _any_caller_matches.
15065 2014-09-09 Doug Evans <xdje42@gmail.com>
15067 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15069 2014-09-09 Yao Qi <yao@codesourcery.com>
15071 * gdb.mi/mi-var-display.exp: Set print symbol off.
15073 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15076 * gdb.base/commands.exp: Add tests to verify user-defined
15077 commands with empty bodies.
15078 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15079 python commands in `show user command`.
15080 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15081 scheme commands in `show user command`.
15083 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15086 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15087 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15088 * gdb.python/py-framefilter-invalidarg.exp: New file.
15089 * gdb.python/py-framefilter-invalidarg.py: New file.
15091 2014-09-06 Doug Evans <xdje42@gmail.com>
15094 * gdb.python/py-caller-is.c: New file.
15095 * gdb.python/py-caller-is.exp: New file.
15097 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15100 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15101 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15103 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15106 * gdb.fortran/print-formatted.exp: New file.
15107 * gdb.fortran/print-formatted.f90: Likewise.
15109 2014-09-03 Sasha Smundak <asmundak@google.com>
15111 * gdb.python/py-frame.exp: Test Frame.read_register.
15113 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15116 * gdb.python/py-completion.exp: New file.
15117 * gdb.python/py-completion.py: Likewise.
15119 2014-08-28 Doug Evans <dje@google.com>
15121 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15122 eax,etc. are live with values set by gdb and thus the compiler can't
15124 * gdb.arch/i386-pseudo.c (main): Ditto.
15126 2014-08-27 Doug Evans <dje@google.com>
15128 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15130 2014-08-25 Doug Evans <dje@google.com>
15132 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15135 2014-08-25 Doug Evans <dje@google.com>
15137 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15139 2014-08-24 Yao Qi <yao@codesourcery.com>
15141 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15143 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15145 2014-08-22 Doug Evans <dje@google.com>
15148 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15149 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15150 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15152 2014-08-22 Yao Qi <yao@codesourcery.com>
15154 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15155 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15156 * gdb.python/python.exp: Likewise. Use .py file on the host
15157 instead of the build.
15159 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15161 * gdb.threads/gcore-stale-thread.c: New file.
15162 * gdb.threads/gcore-stale-thread.exp: New file.
15164 2014-08-21 Pedro Alves <palves@redhat.com>
15166 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15167 * gdb.base/gcore-relro-pie.exp: Likewise.
15168 * gdb.base/gcore-relro.exp: Likewise.
15169 * gdb.base/gcore.exp: Likewise.
15170 * gdb.base/print-symbol-loading.exp: Likewise.
15171 * gdb.threads/gcore-thread.exp: Likewise.
15172 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15174 2014-08-20 Pedro Alves <palves@redhat.com>
15175 Jan Kratochvil <jan.kratochvil@redhat.com>
15177 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15179 (EXPECT): Handle READ1 being set.
15180 (all): Depend on EXTRA_RULES.
15181 (check-read1, expect-read1, read1.so, read1): New rules.
15182 * README (Testsuite Parameters): Document the READ1 make variable.
15183 (Race detection): New section.
15184 * configure: Regenerate.
15185 * configure.ac: If build==host==target, and running under a
15186 GNU/glibc system, add read1 to the extra Makefile rules.
15187 (EXTRA_RULES): AC_SUBST it.
15188 * lib/read1.c: New file.
15190 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15192 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15193 the handling of variables declared as a typedef to an array
15194 which a DW_AT_data_location attribute.
15196 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15197 Pedro Alves <palves@redhat.com>
15201 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15204 2014-08-19 Pedro Alves <palves@redhat.com>
15206 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15208 2014-08-19 Yao Qi <yao@codesourcery.com>
15210 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15213 2014-08-18 David Blaikie <dblaikie@gmail.com>
15215 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15217 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15219 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15220 attribute in array range.
15222 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15224 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15226 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15229 * gdb.cp/pr17132.cc: New file.
15230 * gdb.cp/pr17132.exp: New file.
15232 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15234 * gdb.python/py-xmethods.py (A_getarrayind)
15235 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15236 Use 'print' with function call syntax.
15237 (E_method_matcher.match): Fix tab vs space indentation mixup.
15239 2014-08-15 Yao Qi <yao@codesourcery.com>
15241 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15244 2014-08-15 Yao Qi <yao@codesourcery.com>
15246 * gdb.cp/casts.exp: Set print symbol off.
15247 * gdb.cp/class2.exp: Likewise.
15248 * gdb.cp/overload.exp: Likewise.
15249 * gdb.cp/templates.exp: Likewise.
15251 2014-08-11 Doug Evans <dje@google.com>
15253 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15254 (test_load_shlib): Update.
15256 2014-08-09 Yao Qi <yao@codesourcery.com>
15258 * gdb.base/display.exp: Invoke is_address_zero_readable.
15259 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15260 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15261 * gdb.base/hbreak-unmapped.exp: Return if
15262 is_address_zero_readable returns true.
15263 * gdb.base/signest.exp: Likewise.
15264 * gdb.base/signull.exp: Likewise.
15265 * gdb.base/sigbpt.exp: Likewise.
15266 * gdb.guile/scm-disasm.exp: Do the test if
15267 is_address_zero_readable returns false.
15268 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15269 * gdb.python/py-arch.exp: Likewise.
15270 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15271 * lib/gdb.exp (is_address_zero_readable): New proc.
15273 2014-08-09 Yao Qi <yao@codesourcery.com>
15276 * gdb.mi/mi-var-display.exp: Make test messages unique.
15278 2014-08-04 Tom Tromey <tromey@redhat.com>
15280 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15283 2014-08-04 Tom Tromey <tromey@redhat.com>
15285 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15288 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15290 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15291 inner_vla_struct_object_size.
15292 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15295 2014-07-30 Pedro Alves <palves@redhat.com>
15297 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15300 2014-07-29 Yao Qi <yao@codesourcery.com>
15303 * gdb.base/until-nodebug.exp: New.
15305 2014-07-28 Doug Evans <xdje42@gmail.com>
15308 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15309 previously existing parameter, and previously ambiguously spelled
15312 2014-07-28 Will Newton <will.newton@linaro.org>
15314 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15316 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15317 Doug Evans <xdje42@gmail.com>
15320 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15322 2014-07-25 Pedro Alves <palves@redhat.com>
15324 * gdb.threads/signal-command-handle-nopass.c: New file.
15325 * gdb.threads/signal-command-handle-nopass.exp: New file.
15326 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15327 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15328 * gdb.threads/signal-delivered-right-thread.c: New file.
15329 * gdb.threads/signal-delivered-right-thread.exp: New file.
15331 2014-07-25 Pedro Alves <palves@redhat.com>
15333 * gdb.base/double-prompt-target-event-error.exp
15334 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15336 (cancel_pagination_in_target_event): Rework double prompt
15338 * gdb.base/paginate-after-ctrl-c-running.exp
15339 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15341 * gdb.base/paginate-bg-execution.exp
15342 (test_bg_execution_pagination_return)
15343 (test_bg_execution_pagination_cancel): Remove '-notransfer
15345 * gdb.base/paginate-execution-startup.exp
15346 (test_fg_execution_pagination_return)
15347 (test_fg_execution_pagination_cancel): Remove '-notransfer
15349 * gdb.base/paginate-inferior-exit.exp
15350 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15352 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15353 * lib/gdb.exp (pagination_prompt): Run text through
15355 (gdb_test_multiple): Match $pagination_prompt instead of
15357 (string_to_regexp): Move to lib/gdb-utils.exp.
15359 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15361 * gdb.arch/amd64-entry-value-paramref.S: New file.
15362 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15363 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15364 * gdb.arch/amd64-optimout-repeat.S: New file.
15365 * gdb.arch/amd64-optimout-repeat.c: New file.
15366 * gdb.arch/amd64-optimout-repeat.exp: New file.
15368 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15371 * gdb.base/statistics.exp: New file.
15373 2014-07-17 Doug Evans <dje@google.com>
15376 * gdb.base/maint.exp: Update testing of per-command stats.
15378 2014-07-16 Pedro Alves <palves@redhat.com>
15380 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15381 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15382 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15383 (tfile_write_buf): New functions.
15384 (add_memory_block): Rewrite using the above.
15385 (adjust_function_address): New function.
15386 (FUNCTION_ADDRESS): New macro.
15387 (write_basic_trace_file): Remove short_x local, and use
15388 tfile_write_16. Change type of func_addr local to unsigned long
15389 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15390 here. Cast argument of add_memory_block to char pointer.
15391 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15392 (main): Remove parameters.
15393 * gdb.trace/tfile.exp: Remove nowarnings.
15395 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15397 * gdb.base/debug-expr.exp: Test string evaluation with
15398 "debug expression" on.
15400 2014-07-15 Pedro Alves <palves@redhat.com>
15402 * gdb.base/reread.exp: Use clean_restart.
15404 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15406 * gdb.arch/avr-flash-qualifer.c: New.
15407 * gdb.arch/avr-flash-qualifer.exp: New.
15409 2014-07-14 Pedro Alves <palves@redhat.com>
15411 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15412 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15414 2014-07-14 Pedro Alves <palves@redhat.com>
15416 * gdb.base/double-prompt-target-event-error.c: New file.
15417 * gdb.base/double-prompt-target-event-error.exp: New file.
15419 2014-07-14 Pedro Alves <palves@redhat.com>
15422 * gdb.base/paginate-inferior-exit.c: New file.
15423 * gdb.base/paginate-inferior-exit.exp: New file.
15425 2014-07-14 Pedro Alves <palves@redhat.com>
15428 * gdb.base/paginate-bg-execution.c: New file.
15429 * gdb.base/paginate-bg-execution.exp: New file.
15431 2014-07-14 Pedro Alves <palves@redhat.com>
15434 * gdb.base/paginate-execution-startup.c: New file.
15435 * gdb.base/paginate-execution-startup.exp: New file.
15436 * lib/gdb.exp (pagination_prompt): New global.
15437 (default_gdb_spawn): New procedure, factored out from
15439 (default_gdb_start): Adjust to call default_gdb_spawn.
15440 (gdb_spawn): New procedure.
15442 2014-07-14 Pedro Alves <palves@redhat.com>
15444 * lib/gdb.exp (gdb_assert): New procedure.
15445 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15447 2014-07-14 Pedro Alves <palves@redhat.com>
15449 * gdb.base/execution-termios.c: New file.
15450 * gdb.base/execution-termios.exp: New file.
15452 2014-07-14 Tom Tromey <tromey@redhat.com>
15454 * gdb.cp/vla-cxx.cc: New file.
15455 * gdb.cp/vla-cxx.exp: New file.
15457 2014-07-14 Tom Tromey <tromey@redhat.com>
15459 * gdb.reverse/rerun-prec.c: New file.
15460 * gdb.reverse/rerun-prec.exp: New file.
15462 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15463 Maciej W. Rozycki <macro@codesourcery.com>
15465 * lib/gdb-utils.exp: New file.
15466 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15467 inline `gdb_init_command' processing.
15468 (gdb_start_cmd): Likewise.
15469 * lib/mi-support.exp (mi_run_cmd): Likewise.
15470 * README: Document `gdb_init_command' and `gdb_init_commands'.
15472 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15474 Fix false FAIL running under a very long directory name.
15475 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15476 and "set print elements 10000". Twice.
15478 2014-07-11 Yao Qi <yao@codesourcery.com>
15480 * gdb.base/exprs.exp: "set print symbol off".
15482 2014-07-11 Pedro Alves <palves@redhat.com>
15484 * gdb.threads/kill.c: New file.
15485 * gdb.threads/kill.exp: New file.
15487 2014-07-10 Yao Qi <yao@codesourcery.com>
15489 * gdb.trace/tfile.c (write_basic_trace_file)
15490 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15491 address written to trace file.
15493 2014-07-09 Pedro Alves <palves@redhat.com>
15495 * gdb.base/attach-wait-input.exp: New file.
15496 * gdb.base/attach-wait-input.c: New file.
15498 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15500 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15501 setting up test structures.
15502 (main): Call new test function.
15503 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15504 test function, continue into test function and walk test
15507 2014-07-02 Yao Qi <yao@codesourcery.com>
15509 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15510 'bar_start' at the beginning of functions 'foo' and 'bar'
15512 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15513 instead of 'foo' and 'bar'.
15515 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15517 * gdb.btrace/segv.exp: New.
15518 * gdb.btrace/segv.c: New.
15520 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15522 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15525 2014-06-30 Mark Wielaard <mjw@redhat.com>
15527 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15528 vulture, vilify, villar): New volatile array constants.
15529 (vindictive, vegetation): New const volatile array constants.
15530 * gdb.base/volatile.exp: Test volatile and const volatile array
15533 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15535 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15536 target lacks support for awatch, rwatch, or hbreak.
15538 2014-06-27 Yao Qi <yao@codesourcery.com>
15540 * gdb.multi/dummy-frame-restore.exp: New.
15541 * gdb.multi/dummy-frame-restore.c: New.
15543 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15545 * gdb.btrace/gcore.exp: New.
15547 2014-06-23 Pedro Alves <palves@redhat.com>
15549 * gdb.base/watchpoint-reuse-slot.c: New file.
15550 * gdb.base/watchpoint-reuse-slot.exp: New file.
15552 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15554 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15555 progspace's filename in 'info', 'enable' and 'disable' command
15558 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15560 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15561 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15562 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15564 2014-06-20 Gary Benson <gbenson@redhat.com>
15566 * gdb.arch/i386-avx.exp: Fix include file location.
15567 * gdb.arch/i386-sse.exp: Likewise.
15569 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15571 * gdb.dlang/expression.exp: New file.
15573 2014-06-19 Pedro Alves <palves@redhat.com>
15575 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15577 (top level): ... here. Iterate running tests under different
15578 scheduler-locking settings.
15580 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15582 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15583 to DW_FORM_addr and use non-zero addresses.
15585 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15588 * gdb.python/py-xmethods.cc: Add global function call counters and
15589 increment them in their respective functions. Remove "cout"
15591 * gdb.python/py-xmethods.exp: Make tests check the global function
15592 call counters instead of depending on inferior IO.
15594 2014-06-18 Don Breazeal <donb@codesourcery.com>
15596 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15598 (explicit_fork_parent_follow): Deleted procedure.
15599 (explicit_fork_child_follow): Deleted procedure.
15600 (test_follow_fork): New procedure.
15601 (do_fork_tests): Replace calls to deleted procedures with
15602 calls to test_follow_fork and reset GDB for subsequent
15605 2014-06-17 Yao Qi <yao@codesourcery.com>
15607 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15610 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15612 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15613 Initialize ptr and S explicitly.
15614 (skip_type_update_when_not_use_rtti_test): Likewise.
15616 2014-06-16 Keith Seitz <keiths@redhat.com>
15619 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15620 the inferior is started.
15622 2014-06-16 Pedro Alves <palves@redhat.com>
15624 * gdb.base/break-main-file-remove-fail.c: New file.
15625 * gdb.base/break-main-file-remove-fail.exp: New file.
15626 * gdb.base/break-unload-file.exp: Use build_executable instead of
15627 prepare_for_testing.
15628 (test_break): New parameter "initial_load". Handle it.
15629 (top level): Add initial_load cmdline/file axis.
15631 2014-06-12 Tom Tromey <tromey@redhat.com>
15633 * gdb.base/completion.exp: Don't use directory name in test.
15635 2014-06-09 Gary Benson <gbenson@redhat.com>
15637 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15638 separate the always-available ANSI-standard signals from the
15639 signals that require checking.
15641 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15645 2014-06-07 Keith Seitz <keiths@redhat.com>
15649 * gdb.cp/var-tag.cc: New file.
15650 * gdb.cp/var-tag.exp: New file.
15651 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15652 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15653 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15654 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15656 2014-06-06 Doug Evans <xdje42@gmail.com>
15658 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15660 2014-06-06 Pedro Alves <palves@redhat.com>
15662 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15663 in target debug output instead of looking at RSP packets,
15664 disabling the test on any target that uses hardware stepping.
15667 2014-06-06 Pedro Alves <palves@redhat.com>
15669 * gdb.base/break-unload-file.exp: Fix typo.
15671 2014-06-06 Yao Qi <yao@codesourcery.com>
15673 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15674 from "jit_function" to "^jit_function".
15676 2014-06-06 Yao Qi <yao@codesourcery.com>
15678 * gdb.base/async.c (foo): Add one statement.
15679 * gdb.base/async.exp: Get the next instruction address and
15680 match the output of "nexti" by instruction address. Match
15681 the hex address in the output of "finish".
15683 2014-06-06 Gary Benson <gbenson@redhat.com>
15685 * gdb.base/call-signals.c: Remove preprocessor conditionals
15686 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15687 SIGSEGV and SIGTERM.
15688 * gdb.base/sigall.c: Likewise.
15689 * gdb.base/unwindonsignal.c: Likewise.
15690 * gdb.reverse/sigall-reverse.c: Likewise.
15692 2014-06-06 Yao Qi <yao@codesourcery.com>
15694 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15695 readable, skip the test.
15697 2014-06-06 Yao Qi <yao@codesourcery.com>
15699 * gdb.threads/staticthreads.c (thread_function): Move the line
15700 setting breakpoint on forward.
15701 * gdb.threads/staticthreads.exp: Update comments.
15703 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15705 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15706 "history-append! type error".
15708 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15710 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15711 erroneous dprintf expected input.
15713 2014-06-04 Doug Evans <xdje42@gmail.com>
15715 * gdb.guile/scm-generics.exp: Delete.
15717 2014-06-04 Doug Evans <xdje42@gmail.com>
15719 * gdb.guile/scm-breakpoint.exp: Update.
15720 Add tests for breakpoint registration.
15722 2014-06-04 Tom Tromey <tromey@redhat.com>
15724 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15726 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15727 inner_vla_struct, vla_union types. Initialize objects of those
15728 types and compute their sizes.
15730 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15731 Hui Zhu <hui@codesourcery.com>
15733 * gdb.base/fileio.exp: Add test for shell not available as well as
15735 * gdb.base/fileio.c (test_system): Check for shell twice.
15737 2014-06-04 Yao Qi <yao@codesourcery.com>
15739 * gdb.base/auto-connect-native-target.exp: Remove redundant
15740 space from the regexp pattern.
15742 2014-06-04 Yao Qi <yao@codesourcery.com>
15744 * gdb.base/default.exp: Replace "child" with "native" in
15747 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15749 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15750 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15751 * gdb.python/py-xmethods.py: Python script supporting the
15752 new testcase and tests.
15754 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15755 Pedro Alves <palves@redhat.com>
15757 PR breakpoints/17000
15758 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15759 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15761 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15763 * gdb.base/subst.exp: Add tests to verify partial path matching
15766 2014-06-03 Pedro Alves <palves@redhat.com>
15768 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15769 target that doesn't use software single-stepping.
15771 2014-06-03 Pedro Alves <palves@redhat.com>
15773 PR breakpoints/17000
15774 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15775 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15777 2014-06-02 Doug Evans <xdje42@gmail.com>
15779 * gdb.guile/scm-parameter.exp: New file.
15781 2014-06-02 Doug Evans <xdje42@gmail.com>
15783 * gdb.guile/scm-cmd.c: New file.
15784 * gdb.guile/scm-cmd.exp: New file.
15786 2014-06-02 Doug Evans <xdje42@gmail.com>
15788 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15789 pretty-printer lookup.
15790 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15791 (make-pp_s-printer): Call it.
15792 (make-pretty-printer-from-dict): New function.
15793 (lookup-pretty-printer-maker-from-dict): New function.
15794 (*pretty-printer*): Simplify.
15795 (make-objfile-pp_s-printer): New function.
15796 (install-objfile-pretty-printers!): New function.
15797 (make-progspace-pp_s-printer): New function.
15798 (install-progspace-pretty-printers!): New function.
15799 * gdb.guile/scm-progspace.c: New file.
15800 * gdb.guile/scm-progspace.exp: New file.
15802 2014-06-02 Pedro Alves <palves@redhat.com>
15804 * gdb.base/dprintf-bp-same-addr.c: New file.
15805 * gdb.base/dprintf-bp-same-addr.exp: New file.
15807 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15809 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15810 * gdb.arch/powerpc-power.s: Likewise.
15812 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15814 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15816 2014-06-01 Yao Qi <yao@codesourcery.com>
15818 * gdb.base/watchpoint.exp (test_watch_location): Check null
15819 pointer can be dereferenced. If not, do the test, otherwise
15822 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15824 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15826 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15828 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15830 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15831 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15832 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15833 * gdb.arch/amd64-invalid-stack-top.c: New file.
15834 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15836 2014-05-30 Pedro Alves <palves@redhat.com>
15838 PR breakpoints/17000
15839 * gdb.base/sss-bp-on-user-bp.c: New file.
15840 * gdb.base/sss-bp-on-user-bp.exp: New file.
15842 2014-05-30 David Blaikie <dblaikie@gmail.com>
15844 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15845 gnu_inline semantics via attribute.
15846 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15847 source explicitly specifies the required semantics.
15849 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15851 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15853 2014-05-29 Pedro Alves <palves@redhat.com>
15854 Tom Tromey <tromey@redhat.com>
15856 * gdb.base/async-shell.exp: Don't enable target-async.
15857 * gdb.base/async.exp
15858 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15860 (top level): Don't test with "target-async".
15861 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15862 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15863 * gdb.base/inferior-died.exp: Don't enable target-async.
15864 * gdb.base/interrupt-noterm.exp: Likewise.
15865 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15866 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15867 * gdb.mi/mi-nonstop.exp: Likewise.
15868 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15869 * gdb.mi/mi-nsintrall.exp: Likewise.
15870 * gdb.mi/mi-nsmoribund.exp: Likewise.
15871 * gdb.mi/mi-nsthrexec.exp: Likewise.
15872 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15873 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15874 * gdb.python/py-evsignal.exp: Don't enable target-async.
15875 * gdb.python/py-evthreads.exp: Likewise.
15876 * gdb.python/py-prompt.exp: Likewise.
15877 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15878 * gdb.server/solib-list.exp: Don't enable target-async.
15879 * gdb.threads/thread-specific-bp.exp: Likewise.
15880 * lib/mi-support.exp: Adjust to use mi-async.
15882 2014-05-29 Pedro Alves <palves@redhat.com>
15885 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15886 reason, even in sync mode.
15888 2014-05-29 Pedro Alves <palves@redhat.com>
15889 Hui Zhu <hui@codesourcery.com>
15892 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15893 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15894 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15895 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15897 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15899 * config/monitor.exp (gdb_target_monitor): Replace use of
15900 "set remotebaud" by "set serial baud".
15902 2014-05-26 Andy Wingo <wingo@igalia.com>
15904 * gdb.guile/scm-breakpoint.exp:
15905 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15906 properties instead of gdb-object-properties.
15908 2014-05-26 Yao Qi <yao@codesourcery.com>
15910 * gdb.server/no-thread-db.exp: Specify source file name
15911 explicitly when setting a breakpoint.
15913 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15915 * gdb.btrace/vdso.c: New.
15916 * gdb.btrace/vdso.exp: New.
15918 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15920 * gdb.base/gcore.exp (capture_command_output): Move ...
15921 * lib/gdb.exp (capture_command_output): ... here.
15923 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15925 * gdb.btrace/data.exp: Test memory access during btrace replay.
15927 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15929 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15931 2014-05-21 Pedro Alves <palves@redhat.com>
15934 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15935 (top level): Test that output related to execution commands is
15936 sent to the console with CLI commands, but not with MI commands.
15937 Test that breakpoint events are always mirrored to the console.
15938 Also expect the new source line to be output after a "next" in
15939 async mode too. Make it a pass/fail test.
15940 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15942 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15944 2014-05-21 Pedro Alves <palves@redhat.com>
15946 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15947 Use them to test variations of "list" after reaching a breakpoint.
15948 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15949 Test "list" with listsize 10 after reaching a breakpoint.
15950 * gdb.python/python.exp (decode_line current location line
15951 number): Adjust expected line number.
15953 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15955 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15956 behavior for $args, pass it directly to "run".
15958 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15960 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15963 2014-05-21 Pedro Alves <palves@redhat.com>
15965 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15966 auto-connect-native-target off".
15967 * gdb.base/auto-connect-native-target.c: New file.
15968 * gdb.base/auto-connect-native-target.exp: New file.
15970 2014-05-21 Pedro Alves <palves@redhat.com>
15972 * gdb.base/default.exp: Test "target native" instead of "target
15975 2014-05-21 Mark Wielaard <mjw@redhat.com>
15977 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15979 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15981 Fix TLS access for -static -pthread.
15982 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15983 <HAVE_TLS> (thread_function, main): Initialize it.
15984 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15986 <$have_tls != "">: Check TLSVAR.
15988 2014-05-21 Pedro Alves <palves@redhat.com>
15990 * gdb.base/dcache-line-read-error.c: New.
15991 * gdb.base/dcache-line-read-error.exp: New.
15993 2014-05-20 Pedro Alves <palves@redhat.com>
15995 * gdb.base/compare-sections.c: New file.
15996 * gdb.base/compare-sections.exp: New file.
15998 2014-05-20 Pedro Alves <palves@redhat.com>
16000 * gdb.base/break-idempotent.c: New file.
16001 * gdb.base/break-idempotent.exp: New file.
16003 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16005 * gdb.btrace/nohist.exp: New.
16007 2014-05-20 Yao Qi <yao@codesourcery.com>
16009 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16010 gdb.reverse directory and gdb_reverse_timeout exists in board
16012 * README: Document gdb_reverse_timeout.
16014 2014-05-20 Yao Qi <yao@codesourcery.com>
16016 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16017 'test_file_name'. Treat args as a string instead of a list.
16018 (gdb_init): Rename argument 'args' by 'test_file_name'.
16020 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16022 * gdb.arch/powerpc-power.exp: New file.
16023 * gdb.arch/powerpc-power.s: New file.
16025 2014-05-16 Doug Evans <dje@google.com>
16027 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16028 * gdb.base/completion.exp: Check that all expected files exist
16029 before doing file completion.
16031 2014-05-16 Doug Evans <dje@google.com>
16033 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16035 (do_syscall_tests_without_xml): Update.
16037 2014-05-16 Pedro Alves <palves@redhat.com>
16039 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16040 instead of "unknown output after running".
16042 2014-05-16 Yao Qi <yao@codesourcery.com>
16044 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16045 file1.txt from host at the end.
16046 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16048 2014-05-15 Doug Evans <dje@google.com>
16050 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16051 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16052 loading file. Add test for TU lookup.
16054 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16056 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16057 calling "-exec-arguments" or "set args" before running the
16060 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16062 * lib/mi-support.exp (mi_expect_stop): Expect message for
16063 inferiors that exit with non-zero exit code.
16065 2014-05-14 Yao Qi <yao@codesourcery.com>
16067 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16068 match absolute path on remote host.
16069 (test_file_list_exec_source_files): Remove "/" from the
16072 2014-05-14 Yao Qi <yao@codesourcery.com>
16074 * boards/local-remote-host-notty.exp (${board}_file): New
16077 2014-05-07 Kyle McMartin <kyle@redhat.com>
16079 Pushed by Joel Brobecker <brobecker@adacore.com>.
16080 * gdb.arch/aarch64-atomic-inst.c: New file.
16081 * gdb.arch/aarch64-atomic-inst.exp: New file.
16083 2014-05-07 Yao Qi <yao@codesourcery.com>
16085 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16086 in current context" too.
16088 2014-05-05 Keith Seitz <keiths@redhat.com>
16090 * gdb.linespec/ls-dollar.exp: Add test for linespec
16091 file:convenience_variable.
16093 2014-05-05 Yao Qi <yao@codesourcery.com>
16095 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16096 traceframes into tfile and ctf trace files. Read data from
16097 trace file and test collected data.
16098 (gdb_collect_locals_test): Likewise.
16099 (gdb_unavailable_registers_test): Likewise.
16100 (gdb_unavailable_floats): Likewise.
16101 (gdb_collect_globals_test): Likewise.
16102 (top-level): Append "ctf" to trace_file_targets if GDB
16105 2014-05-05 Yao Qi <yao@codesourcery.com>
16107 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16109 (gdb_collect_args_test_1): ... it. New proc.
16110 (gdb_collect_locals_test): Move some code to ...
16111 (gdb_collect_locals_test_1): ... it. New proc.
16112 (gdb_unavailable_registers_test): Move some code to ...
16113 (gdb_unavailable_registers_test_1): ... it. New proc.
16114 (gdb_unavailable_floats): Move some code to ...
16115 (gdb_unavailable_floats_1): ... it. New proc.
16117 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16119 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16120 probes to test for bitness recognition.
16121 * gdb.arch/amd64-stap-optional-prefix.exp
16122 (test_probe_value_without_reg): New procedure.
16123 Add code to test for different kinds of bitness.
16125 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16127 PR breakpoints/16889
16128 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16129 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16131 2014-05-01 Pedro Alves <palves@redhat.com>
16133 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16134 gdb_file_cmd if no file is specified.
16135 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16136 last_loaded_file to set the remote exec-file.
16138 2014-05-01 Pedro Alves <palves@redhat.com>
16140 * boards/local-remote-host.exp: New file.
16142 2014-05-01 Pedro Alves <palves@redhat.com>
16144 * boards/local-remote-host.exp: Rename to ...
16145 * boards/local-remote-host-notty.exp: ... this.
16147 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16149 * gdb.ada/dyn_arrayidx: New testcase.
16151 2014-04-26 Yao Qi <yao@codesourcery.com>
16153 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16154 and compute the length of function main. Save it in
16156 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16157 (top-level): Use gdb_compile to compile objects into
16158 executable and restart GDB. Remove invocation to
16159 prepare_for_testing.
16161 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16162 Pedro Alves <palves@redhat.com>
16165 * gdb.multi/multi-attach.c: New file.
16166 * gdb.multi/multi-attach.exp: New file.
16168 2014-04-25 Pedro Alves <palves@redhat.com>
16170 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16172 (top level): Test that "set remote conditional-breakpoints-packet
16173 off" works as intended.
16174 * gdb.base/dprintf.exp: Test that "set remote
16175 breakpoint-commands-packet off" works as intended.
16176 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16178 (top level): Call it.
16179 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16180 remote fast-tracepoints-packet off" works as intended.
16181 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16182 * lib/gdb.exp (gdb_is_target_remote): ... here.
16184 2014-04-24 David Blaikie <dblaikie@gmail.com>
16186 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16187 ensure clang would not discard them.
16188 * gdb.base/gdbvars.c: Ditto.
16189 * gdb.base/memattr.c: Ditto.
16190 * gdb.base/whatis.c: Ditto.
16191 * gdb.python/py-prettyprint.c: Ditto.
16192 * gdb.trace/actions.c: Ditto.
16193 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16194 ensure clang would not discard it.
16196 2014-04-24 David Blaikie <dblaikie@gmail.com>
16198 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16199 clang to emit the full definition of type required by the test
16200 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16202 2014-04-24 David Blaikie <dblaikie@gmail.com>
16204 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16205 coax Clang into emitting the definition of the type.
16206 * gdb.cp/pr10728-x.h (y): Ditto.
16207 * gdb.cp/pr10728-y.cc (y): Ditto.
16209 2014-04-24 David Blaikie <dblaikie@gmail.com>
16211 * gdb.base/label.exp: XFAIL label related tests under Clang.
16212 * gdb.cp/cplabel.exp: Ditto.
16213 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16214 under Clang those using labels.
16216 2014-04-25 Yao Qi <yao@codesourcery.com>
16218 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16220 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16221 partial_label and double_label.
16223 2014-04-24 David Blaikie <dblaikie@gmail.com>
16225 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16227 2014-04-24 David Blaikie <dblaikie@gmail.com>
16229 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16230 of the function to work across GCC and Clang.
16231 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16232 pointer types (const void ** const V void **).
16234 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16235 Walfred Tedeschi <walfred.tedeschi@intel.com>
16237 * Makefile.in (EXECUTABLES): Added i386-avx512.
16238 * gdb.arch/i386-avx512.c: New file.
16239 * gdb.arch/i386-avx512.exp: Likewise.
16241 2014-04-23 Keith Seitz <keiths@redhat.com>
16243 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16244 (mi_make_breakpoint_table): New procedure.
16245 (mi_create_breakpoint): Use mi_make_breakpoint
16246 and return the result.
16247 (mi_make_breakpoint): New procedure.
16248 (mi_build_kv_pairs): New procedure.
16250 * gdb.mi/mi-break.exp: Remove unused globals,
16251 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16252 All callers updated.
16253 * gdb.mi/mi-dprintf.exp: Use variable to track command
16255 Update all callers of mi_create_breakpoint and use
16256 mi_make_breakpoint_table.
16257 Remove any unused global variables.
16258 * gdb.mi/mi-nonstop.exp: Likewise.
16259 * gdb.mi/mi-nsintrall.exp: Likewise.
16260 * gdb.mi/mi-nsmoribund.exp: Likewise.
16261 * gdb.mi/mi-nsthrexec.exp: Likewise.
16262 * gdb.mi/mi-reverse.exp: Likewise.
16263 * gdb.mi/mi-simplerun.exp: Likewise.
16264 * gdb.mi/mi-stepn.exp: Likewise.
16265 * gdb.mi/mi-syn-frame.exp: Likewise.
16266 * gdb.mi/mi-until.exp: Likewise.
16267 * gdb.mi/mi-var-cp.exp: Likewise.
16268 * gdb.mi/mi-var-display.exp: Likewise.
16269 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16270 * gdb.mi/mi2-var-child.exp: Likewise.
16271 * gdb.mi/mi-vla-c99.exp: Likewise.
16272 * lib/mi-support.exp: Likewise.
16274 From Ian Lance Taylor <iant@cygnus.com>:
16275 * lib/gdb.exp (parse_args): New procedure.
16277 2014-04-23 Pedro Alves <palves@redhat.com>
16279 * gdb.base/break-unload-file.c: New file.
16280 * gdb.base/break-unload-file.exp: New file.
16281 * gdb.base/sym-file-lib.c (baz): New function.
16282 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16284 (load): Store the segment's mapped size.
16285 (unload): New function.
16286 (unload_shlib): New function.
16287 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16288 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16289 set a breakpoint at baz, and call it.
16290 * gdb.base/sym-file.exp: New tests for stale breakpoint
16293 2014-04-23 Pedro Alves <palves@redhat.com>
16295 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16296 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16297 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16298 * gdb.base/hbreak-unmapped.c: New file.
16299 * gdb.base/hbreak-unmapped.exp: New file.
16300 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16301 * lib/gdb.exp (gdb_is_target_remote): ... here.
16303 2014-04-22 Pedro Alves <palves@redhat.com>
16305 * gdb.base/consecutive-step-over.c: New file.
16306 * gdb.base/consecutive-step-over.exp: New file.
16308 2014-04-22 Pedro Alves <palves@redhat.com>
16310 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16311 instead of send_gdb/gdb_expect.
16313 2014-04-22 Yao Qi <yao@codesourcery.com>
16315 * lib/trace-support.exp (generate_tracefile): New procedure.
16316 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16318 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16319 if generate_tracefile returns 1.
16321 2014-04-18 Tom Tromey <palves@redhat.com>
16322 Pedro alves <tromey@redhat.com>
16325 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16326 with a backtrace limit.
16327 * gdb.python/py-frame-inline.exp: Test running to an inline
16328 function with a backtrace limit, and printing the newest frame.
16329 * gdb.python/py-frame-inline.c (main): Call f.
16331 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16333 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16335 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16337 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16338 Drop prefix from unsupported source file path.
16340 2014-04-17 Yao Qi <yao@codesourcery.com>
16342 * lib/gdb.exp (with_target_charset): New proc.
16343 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16344 with_target_charset.
16345 (test_print_strings): Likewise.
16346 (test_repeat_bytes): Likewise.
16347 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16350 2014-04-16 Keith Seitz <keiths@redhat.com>
16353 * gdb.dwarf2/corrupt.c: New file.
16354 * gdb.dwarf2/corrupt.exp: New file.
16356 2014-04-16 Keith Seitz <keiths@redhat.com>
16359 * gdb.cp/namelessclass.cc: New file.
16360 * gdb.cp/namelessclass.exp: New file.
16361 * gdb.cp/namelessclass.S: New file.
16363 2014-04-16 Doug Evans <dje@google.com>
16365 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16367 (gdbserver_default_get_comm_port): New function.
16368 (gdbserver_start): Check if board file provided
16369 "gdbserver,get_comm_port" and use it if so.
16370 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16371 (gdb,socketport): Set to "stdio".
16372 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16373 (stdio_gdbserver_template): Delete.
16374 (${board}_get_remote_address): Update.
16375 (${board}_build_remote_cmd): Delete.
16376 (${board}_get_comm_port): New function.
16377 (${board}_spawn): Update.
16378 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16380 (${board}_get_remote_address): Update.
16381 (${board}_get_comm_port): New function.
16383 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16385 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16386 appearing in any order.
16388 2014-04-15 Doug Evans <dje@google.com>
16390 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16391 uninitialized value of "description".
16393 2014-04-15 Keith Seitz <keiths@redhat.com>
16395 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16396 Remove unused globals.
16397 (test_running_the_program): Likewise.
16398 (test_controlled_execution): Likewise.
16399 (test_controlling_breakpoints): Likewise.
16400 (test_program_termination): Likewise.
16402 2014-04-15 Keith Seitz <keiths@redhat.com>
16404 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16406 (test_rbreak_creation_and_listing): Likewise.
16407 (test_ignore_count): Likewise.
16408 (test_error): Likewise.
16410 2014-04-15 Pedro Alves <palves@redhat.com>
16412 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16413 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16415 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16416 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16417 to sym-file-loader.c.
16418 (struct library): Forward declare.
16419 (load_shlib, lookup_function): Change prototypes.
16420 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16421 (translate_offset): Remove declarations.
16422 (get_text_addr): New declaration.
16423 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16424 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16426 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16427 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16428 here from sym-file-loader.h.
16429 (struct library): New structure.
16430 (load_shlib, lookup_function): Change prototypes and adjust to
16431 work with a struct library.
16432 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16433 (translate_offset): Make static.
16434 (get_text_addr): New function.
16435 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16437 2014-04-15 Pedro Alves <palves@redhat.com>
16439 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16441 2014-04-15 Pedro Alves <palves@redhat.com>
16443 * gdb.base/sym-file-loader.c: Include <limits.h>.
16444 (SELF_LINK): New define.
16445 (get_origin): New function.
16446 (load_shlib): Use it.
16447 * gdb.base/sym-file.exp: Don't early return if the target is
16448 remote. Use runto_main, and issue fail is that fails. Use
16450 (shlib_name): Delete.
16451 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16453 2014-04-15 Pedro Alves <palves@redhat.com>
16455 * gdb.base/sym-file.exp: Remove regex characters from test
16456 message. Don't refer to breakpoint numbers in test messages.
16458 2014-04-14 Keith Seitz <keiths@redhat.com>
16461 * gdb.cp/var-tag.cc: New file.
16462 * gdb.cp/var-tag.exp: New file.
16463 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16464 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16465 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16466 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16468 2014-04-14 Tom Tromey <tromey@redhat.com>
16470 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16471 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16473 * gdb.cp/enum-class.exp: New file.
16474 * gdb.cp/enum-class.cc: New file.
16476 2014-04-14 Tom Tromey <tromey@redhat.com>
16478 * gdb.dwarf2/enum-type.exp: New file.
16480 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16482 * gdb.mi/mi-vla-c99.exp: New file.
16483 * gdb.mi/vla.c: New file.
16485 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16487 * gdb.base/vla-datatypes.c: New file.
16488 * gdb.base/vla-datatypes.exp: New file.
16490 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16492 * gdb.base/vla-ptr.c: New file.
16493 * gdb.base/vla-ptr.exp: New file.
16495 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16497 * gdb.dwarf2/count.exp: New file.
16499 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16501 * gdb.base/vla-sideeffect.c: New file.
16502 * gdb.base/vla-sideeffect.exp: New file.
16504 2014-04-14 David Blaikie <dblaikie@gmail.com>
16506 * gdb.mi/non-stop.c: Add return value for non-void function return
16508 * gdb.threads/staticthreads.c: Ditto.
16510 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16511 Doug Evans <xdje42@gmail.com>
16513 * gdb.guile/scm-value.c: Improve test case.
16514 * gdb.guile/scm-value.exp: Add new test.
16516 2014-04-11 David Blaikie <dblaikie@gmail.com>
16518 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16519 override Clang's default.
16521 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16523 Revert the following changes (regressions):
16525 * gdb.base/vla-sideeffect.c: New file.
16526 * gdb.base/vla-sideeffect.exp: New file.
16528 * gdb.dwarf2/count.exp: New file.
16530 * gdb.base/vla-multi.c: New file.
16531 * gdb.base/vla-multi.exp: New file.
16533 * gdb.base/vla-ptr.c: New file.
16534 * gdb.base/vla-ptr.exp: New file.
16536 * gdb.base/vla-datatypes.c: New file.
16537 * gdb.base/vla-datatypes.exp: New file.
16539 * gdb.mi/mi-vla-c99.exp: New file.
16540 * gdb.mi/vla.c: New file.
16542 2014-04-11 Keith Seitz <keiths@redhat.com>
16545 * gdb.cp/cpsizeof.exp: New file.
16546 * gdb.cp/cpsizeof.cc: New file.
16548 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16550 * gdb.mi/mi-vla-c99.exp: New file.
16551 * gdb.mi/vla.c: New file.
16553 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16555 * gdb.base/vla-datatypes.c: New file.
16556 * gdb.base/vla-datatypes.exp: New file.
16558 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16560 * gdb.base/vla-ptr.c: New file.
16561 * gdb.base/vla-ptr.exp: New file.
16563 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16565 * gdb.base/vla-multi.c: New file.
16566 * gdb.base/vla-multi.exp: New file.
16568 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16570 * gdb.dwarf2/count.exp: New file.
16572 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16574 * gdb.base/vla-sideeffect.c: New file.
16575 * gdb.base/vla-sideeffect.exp: New file.
16577 2014-04-11 Yao Qi <yao@codesourcery.com>
16579 * gdb.base/completion.exp: Check file exists before running tests
16580 on file completion.
16582 2014-04-10 Pedro Alves <palves@redhat.com>
16584 * gdb.base/cond-eval-mode.c: New file.
16585 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16586 prepare_for_testing to build the new file. Check result of
16588 (test_break, test_watch): New procedures.
16589 (top level): Use them.
16591 2014-04-08 Pierre Muller <muller@sourceware.org>
16593 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16594 Ctrl-V use for mingw hosts.
16596 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16598 * gdb.python/py-value.c: Improve test case.
16599 * gdb.python/py-value.exp: Add new test.
16601 2014-04-07 David Blaikie <dblaikie@gmail.com>
16603 * lib/compiler.c: Identify the clang compiler.
16604 * lib/compiler.cc: Ditto.
16606 2014-04-03 Yao Qi <yao@codesourcery.com>
16608 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16610 2014-04-01 Anton Blanchard <anton@samba.org>
16612 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16615 2014-04-01 Anton Blanchard <anton@samba.org>
16617 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16618 prepare_for_testing.
16620 2014-04-01 Anton Blanchard <anton@samba.org>
16622 * gdb.arch/ppc64-atomic-inst.c: Remove.
16623 * gdb.arch/ppc64-atomic-inst.S: New file.
16624 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16626 2014-03-31 Doug Evans <dje@google.com>
16628 * gdb.base/print-symbol-loading-lib.c: New file.
16629 * gdb.base/print-symbol-loading-main.c: New file.
16630 * gdb.base/print-symbol-loading.exp: New file.
16632 2014-03-31 Yao Qi <yao@codesourcery.com>
16634 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16636 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16638 * gdb.ada/mi_dyn_arr: New testcase.
16640 2014-03-27 Doug Evans <dje@google.com>
16642 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16644 2014-03-27 Yao Qi <yao@codesourcery.com>
16646 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16647 if target is nios2-*-*.
16649 2014-03-26 Yao Qi <yao@codesourcery.com>
16651 * lib/gdb.exp (readline_is_used): New proc.
16652 * gdb.base/completion.exp: Move tests on command complete up.
16653 Skip the rest of tests if readline is not used.
16654 * gdb.ada/complete.exp: Skp the test if readline is not
16656 * gdb.base/filesym.exp: Likewise.
16657 * gdb.base/macscp.exp: Likewise.
16658 * gdb.base/readline-ask.exp: Likewise.
16659 * gdb.base/readline.exp: Likewise.
16660 * gdb.python/py-cmd.exp: Likewise.
16661 * gdb.trace/tfile.exp: Likewise.
16663 2014-03-26 Yao Qi <yao@codesourcery.com>
16665 * gdb.base/macscp.exp: Fix code format issues.
16667 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16669 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16670 * gdb.asm/powerpc64le.inc: New file.
16672 2014-03-25 Pedro Alves <palves@redhat.com>
16673 Doug Evans <dje@google.com>
16675 * gdb.base/source-execution.c: New file.
16676 * gdb.base/source-execution.exp: New file.
16677 * gdb.base/source-execution.gdb: New file.
16679 2014-03-24 Doug Evans <dje@google.com>
16681 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16684 2014-03-24 Hui Zhu <hui@codesourcery.com>
16685 Pedro Alves <palves@redhat.com>
16687 PR breakpoints/16101
16688 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16689 test pass/fail messages. Detect missing support for dprintf when
16690 breakpoints are actually inserted.
16691 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16692 breakpoints are actually inserted.
16693 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16696 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16698 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16700 2014-03-22 Doug Evans <xdje42@gmail.com>
16702 * gdb.python/python.exp (python not supported): Verify multi-line
16703 python command issues an error.
16704 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16705 guile command issues an error.
16707 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16709 * gdb.threads/thread-specific.exp: Handle the lack of usable
16710 $this_breakpoint and $this_thread.
16712 2014-03-21 Hui Zhu <hui@codesourcery.com>
16714 * gdb.base/attach.exp (do_command_attach_tests): New.
16716 2014-03-20 Tom Tromey <tromey@redhat.com>
16717 Pedro Alves <palves@redhat.com>
16720 * gdb.base/condbreak-call-false.c: New file.
16721 * gdb.base/condbreak-call-false.exp: New file.
16723 2014-03-20 Pedro Alves <palves@redhat.com>
16725 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16727 (block_signals, unblock_signals): Delete.
16728 (child_function_2, main): Remove references to deleted variable
16731 2014-03-20 Pedro Alves <palves@redhat.com>
16733 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16734 Use pthread_kill to signal thread 2.
16735 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16736 Adjust to make the test send itself a signal rather than using the
16737 host's "kill" command.
16739 2014-03-20 Pedro Alves <palves@redhat.com>
16741 * gdb.threads/multiple-step-overs.c: New file.
16742 * gdb.threads/multiple-step-overs.exp: New file.
16743 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16744 Adjust expected infrun debug output.
16746 2014-03-20 Pedro Alves <palves@redhat.com>
16748 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16749 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16751 2014-03-20 Pedro Alves <palves@redhat.com>
16753 PR breakpoints/7143
16754 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16755 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16756 of gdb_test_multiple.
16757 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16758 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16760 2014-03-20 Pedro Alves <palves@redhat.com>
16762 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16763 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16765 2014-03-19 Pedro Alves <palves@redhat.com>
16767 * gdb.base/async.exp: Remove early return.
16769 2014-03-19 Pedro Alves <palves@redhat.com>
16771 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16773 2014-03-19 Pedro Alves <palves@redhat.com>
16775 * gdb.base/async.exp (test_background): Expect \r\n after
16776 "completed." in the fail pattern.
16778 2014-03-19 Pedro Alves <palves@redhat.com>
16780 * gdb.base/async.exp (test_background): New procedure.
16781 Use it for all background execution command tests.
16783 2014-03-19 Pedro Alves <palves@redhat.com>
16785 * gdb.base/async.exp: Use prepare_for_testing.
16787 2014-03-19 Pedro Alves <palves@redhat.com>
16789 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16792 2014-03-19 Pedro Alves <palves@redhat.com>
16794 * gdb.base/async.c (main): Add "jump here" and "until here" line
16796 * gdb.base/async.exp (jump_here): New global.
16797 (jump& test): Use it.
16798 (until_here): New global.
16799 (until& test): Use it.
16801 2014-03-19 Pedro Alves <palves@redhat.com>
16803 * gdb.base/async.exp: Don't frob gdb_protocol.
16805 2014-03-18 Doug Evans <xdje42@gmail.com>
16807 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16808 Fix spelling of exec-done-display.
16810 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16813 * gdb.base/gdb-sigterm.c: New file.
16814 * gdb.base/gdb-sigterm.exp: New file.
16816 2014-03-18 Pedro Alves <palves@redhat.com>
16819 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16820 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16823 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16825 * gdb.ada/pckd_arr_ren: New testcase.
16827 2014-03-13 Doug Evans <xdje42@gmail.com>
16830 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16831 collect after discarding symbols.
16833 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16834 Doug Evans <xdje42@gmail.com>
16836 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16837 to history survives a gc.
16839 2014-03-13 Pedro Alves <palves@redhat.com>
16841 * gdb.base/default.exp: Don't test "target procfs".
16843 2014-03-13 Pedro Alves <palves@redhat.com>
16845 * gdb.base/default.exp: Update "target child" and "target procfs"
16846 tests to not expect "Unix".
16848 2014-03-12 Tom Tromey <tromey@redhat.com>
16850 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16851 New procs. Add target-async tests.
16852 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16853 Add target-async tests.
16855 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16857 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16858 'func_start' and 'func_end' for the beginning and end of the
16859 function code, respectively.
16860 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16861 'func_end' instead of 'func' and 'main'.
16863 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16865 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16866 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16867 generate the debug info assembler source.
16869 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16871 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16872 * gdb.dwarf2/arr-subrange.exp: Likewise.
16873 * gdb.dwarf2/dwz.exp: Likewise.
16874 * gdb.dwarf2/method-ptr.exp: Likewise.
16875 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16876 * gdb.dwarf2/subrange.exp: Likewise.
16877 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16878 * gdb.dwarf2/implptrpiece.exp: Likewise.
16879 * gdb.dwarf2/nostaticblock.exp: Likewise.
16881 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16883 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16884 directory to absolute path name arguments.
16886 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16888 * gdb.ada/tagged_access: New testcase.
16890 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16892 * gdb.btrace/data.exp: Update expected output.
16894 2014-03-06 Yao Qi <yao@codesourcery.com>
16896 * gdb.trace/pr16508.exp: New file.
16898 2014-03-05 Pedro Alves <palves@redhat.com>
16901 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16903 (top level): Adjust to use it. Add tests that exercise breakpoint
16904 interaction with the code-cache.
16906 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16908 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16909 test for 'history-append!'.
16911 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16913 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16914 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16915 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16916 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16917 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16918 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16920 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16922 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16923 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16924 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16926 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16928 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16930 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16932 * gdb.dwarf2/arr-stride.c: New file.
16933 * gdb.dwarf2/arr-stride.exp: New file.
16935 2014-02-26 Pedro Alves <palves@redhat.com>
16937 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16938 that won't ever trigger. Make sure that GDB reports the correct
16939 breakpoint that caused the stop.
16941 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16944 * gdb.base/auto-load-script: New file.
16945 * gdb.base/auto-load.c: New file.
16946 * gdb.base/auto-load.exp: New file.
16949 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16951 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16953 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16954 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16956 2014-02-24 Doug Evans <dje@google.com>
16958 * lib/gdb.exp (run_on_host): Log error output if program fails.
16960 2014-02-21 Pedro Alves <palves@redhat.com>
16962 * gdb.threads/step-after-sr-lock.c: Rename to ...
16963 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16964 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16965 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16968 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16971 * gdb.arch/amd64-stap-special-operands.exp: New file.
16972 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16973 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16974 * gdb.arch/amd64-stap-triplet.S: Likewise.
16975 * gdb.arch/amd64-stap-triplet.c: Likewise.
16977 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16979 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16980 in .section pseudo-op.
16982 2014-02-20 lin zuojian <manjian2006@gmail.com>
16983 Joel Brobecker <brobecker@adacore.com>
16984 Doug Evans <xdje42@gmail.com>
16987 * gdb.dwarf2/dw2-icycle.S: New file.
16988 * gdb.dwarf2/dw2-icycle.c: New file.
16989 * gdb.dwarf2/dw2-icycle.exp: New file.
16991 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16993 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16994 operations on gdb.Value objects.
16995 * gdb.python/py-value-cc.exp: Add new test to test operations on
16998 2014-02-18 Doug Evans <dje@google.com>
17000 * Makefile.in (TESTS): New variable.
17001 (expanded_tests, expanded_tests_or_none): New variables
17002 (check-single): Pass $(expanded_tests_or_none) to runtest.
17003 (check-parallel): Only run tests in $(TESTS) if non-empty.
17004 (check/no-matching-tests-found): New rule.
17005 * README: Document TESTS makefile variable.
17007 2014-02-18 Doug Evans <dje@google.com>
17009 * Makefile.in (check-parallel): rm -rf outputs temp.
17011 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17013 Fix "ERROR: no fileid for" in the testsuite.
17014 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17016 2014-02-12 Doug Evans <dje@google.com>
17018 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17019 (MISCELLANEOUS): New variable.
17020 (clean): rm -rf $(MISCELLANEOUS).
17021 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17022 dwp live in the same directory as symlinks, with each symlink pointed
17023 to a differently named file in a different directory.
17025 2014-02-11 Doug Evans <dje@google.com>
17027 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17028 of Tcl file commands.
17030 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17032 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17033 "kill -SIGUSR1 -1".
17035 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17037 * gdb.ada/tick_length_array_enum_idx: New testcase.
17039 2014-02-10 Doug Evans <xdje42@gmail.com>
17041 * configure.ac (AC_OUTPUT): Add gdb.guile.
17042 * configure: Regenerate.
17043 * lib/gdb-guile.exp: New file.
17044 * lib/gdb.exp (get_target_charset): New function.
17045 * gdb.base/help.exp: Update expected output from "apropos apropos".
17046 * gdb.guile/Makefile.in: New file.
17047 * gdb.guile/guile.exp: New file.
17048 * gdb.guile/scm-arch.c: New file.
17049 * gdb.guile/scm-arch.exp: New file.
17050 * gdb.guile/scm-block.c: New file.
17051 * gdb.guile/scm-block.exp: New file.
17052 * gdb.guile/scm-breakpoint.c: New file.
17053 * gdb.guile/scm-breakpoint.exp: New file.
17054 * gdb.guile/scm-disasm.c: New file.
17055 * gdb.guile/scm-disasm.exp: New file.
17056 * gdb.guile/scm-equal.c: New file.
17057 * gdb.guile/scm-equal.exp: New file.
17058 * gdb.guile/scm-error.exp: New file.
17059 * gdb.guile/scm-error.scm: New file.
17060 * gdb.guile/scm-frame-args.c: New file.
17061 * gdb.guile/scm-frame-args.exp: New file.
17062 * gdb.guile/scm-frame-args.scm: New file.
17063 * gdb.guile/scm-frame-inline.c: New file.
17064 * gdb.guile/scm-frame-inline.exp: New file.
17065 * gdb.guile/scm-frame.c: New file.
17066 * gdb.guile/scm-frame.exp: New file.
17067 * gdb.guile/scm-generics.exp: New file.
17068 * gdb.guile/scm-gsmob.exp: New file.
17069 * gdb.guile/scm-iterator.c: New file.
17070 * gdb.guile/scm-iterator.exp: New file.
17071 * gdb.guile/scm-math.c: New file.
17072 * gdb.guile/scm-math.exp: New file.
17073 * gdb.guile/scm-objfile-script-gdb.in: New file.
17074 * gdb.guile/scm-objfile-script.c: New file.
17075 * gdb.guile/scm-objfile-script.exp: New file.
17076 * gdb.guile/scm-objfile.c: New file.
17077 * gdb.guile/scm-objfile.exp: New file.
17078 * gdb.guile/scm-ports.exp: New file.
17079 * gdb.guile/scm-pretty-print.c: New file.
17080 * gdb.guile/scm-pretty-print.exp: New file.
17081 * gdb.guile/scm-pretty-print.scm: New file.
17082 * gdb.guile/scm-section-script.c: New file.
17083 * gdb.guile/scm-section-script.exp: New file.
17084 * gdb.guile/scm-section-script.scm: New file.
17085 * gdb.guile/scm-symbol.c: New file.
17086 * gdb.guile/scm-symbol.exp: New file.
17087 * gdb.guile/scm-symtab-2.c: New file.
17088 * gdb.guile/scm-symtab.c: New file.
17089 * gdb.guile/scm-symtab.exp: New file.
17090 * gdb.guile/scm-type.c: New file.
17091 * gdb.guile/scm-type.exp: New file.
17092 * gdb.guile/scm-value-cc.cc: New file.
17093 * gdb.guile/scm-value-cc.exp: New file.
17094 * gdb.guile/scm-value.c: New file.
17095 * gdb.guile/scm-value.exp: New file.
17096 * gdb.guile/source2.scm: New file.
17097 * gdb.guile/types-module.cc: New file.
17098 * gdb.guile/types-module.exp: New file.
17100 2014-02-10 Yao Qi <yao@codesourcery.com>
17103 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17104 * configure: Regenerated.
17105 * Makefile.in: New file.
17107 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17109 * gdb.python/py-framefilter.exp: Fix typo.
17111 2014-02-08 Yao Qi <yao@codesourcery.com>
17113 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17114 that no =breakpoint-modified is emitted when breakpoints are
17115 modified through MI commands.
17117 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17118 Pedro Alves <palves@redhat.com>
17120 * gdb.threads/step-after-sr-lock.c: New file.
17121 * gdb.threads/step-after-sr-lock.exp: New file.
17123 2014-02-07 Pedro Alves <palves@redhat.com>
17125 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17127 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17129 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17130 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17132 2014-02-06 Doug Evans <xdje42@gmail.com>
17134 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17137 * gdb.gdb/python-interrupts.exp: New file.
17139 2014-02-05 Yao Qi <yao@codesourcery.com>
17141 * gdb.trace/report.exp (use_collected_data): Test the output
17142 of "info threads" and "info inferiors".
17144 2014-02-05 Yao Qi <yao@codesourcery.com>
17148 2013-05-24 Yao Qi <yao@codesourcery.com>
17150 * gdb.trace/tfile.exp: Test inferior and thread.
17152 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17154 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17156 * gdb.base/step-bt.c: Call hello via function pointer to make
17157 sure its first instruction is executed on powerpc64le-linux.
17159 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17161 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17163 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17165 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17166 of the test patterns for use on little-endian systems.
17168 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17170 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17171 (decimal_vector): Fix for little-endian.
17173 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17175 * gdb.arch/sparc-sysstep.exp: New file.
17176 * gdb.arch/sparc-sysstep.c: Likewise.
17178 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17180 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17182 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17184 2014-01-23 Tom Tromey <tromey@redhat.com>
17186 * gdb.ada/array_char_idx: New testcase.
17188 2014-01-23 Tom Tromey <tromey@redhat.com>
17191 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17192 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17195 2014-01-23 Tom Tromey <tromey@redhat.com>
17198 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17199 string from an inferior frame.
17200 * gdb.python/py-framefilter-mi.exp: Update.
17202 2014-01-22 Doug Evans <dje@google.com>
17204 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17206 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17208 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17210 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17212 * gdb.trace/entry-values.exp: Remove excess space character from
17213 regex patterns. Handle s390 call instruction.
17215 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17217 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17218 define "*_start" label. Make "name" static.
17219 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17220 ${name} by references to ${name}_start.
17222 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17224 * gdb.base/info-macros.exp: Remove "debug" from the compile
17227 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17229 * gdb.dlang/demangle.exp: New file.
17231 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17233 * gdb.dlang/primitive-types.exp: New file.
17235 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17237 * configure.ac: Create gdb.dlang/Makefile.
17238 * configure: Regenerate.
17239 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17240 * gdb.dlang/Makefile.in: New file.
17241 * lib/d-support.exp: New file.
17242 * lib/gdb.exp (skip_d_tests): New proc.
17244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17246 * gdb.btrace/delta.exp: Check reverse stepi.
17247 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17248 * gdb.btrace/finish.exp: New.
17249 * gdb.btrace/next.exp: New.
17250 * gdb.btrace/nexti.exp: New.
17251 * gdb.btrace/record_goto.c: Add comments.
17252 * gdb.btrace/step.exp: New.
17253 * gdb.btrace/stepi.exp: New.
17254 * gdb.btrace/multi-thread-step.c: New.
17255 * gdb.btrace/multi-thread-step.exp: New.
17256 * gdb.btrace/rn-dl-bind.c: New.
17257 * gdb.btrace/rn-dl-bind.exp: New.
17258 * gdb.btrace/data.c: New.
17259 * gdb.btrace/data.exp: New.
17260 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17262 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17264 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17265 * gdb.btrace/exception.exp: Update.
17266 * gdb.btrace/instruction_history.exp: Update.
17267 * gdb.btrace/record_goto.exp: Update.
17268 * gdb.btrace/tailcall.exp: Update.
17269 * gdb.btrace/unknown_functions.exp: Update.
17270 * gdb.btrace/delta.exp: New.
17272 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17274 * gdb.btrace/record_goto.exp: Add backtrace test.
17275 * gdb.btrace/tailcall.exp: Add backtrace test.
17277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17279 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17280 * gdb.btrace/record_goto.c: New.
17281 * gdb.btrace/record_goto.exp: New.
17282 * gdb.btrace/x86-record_goto.S: New.
17284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17286 * gdb.btrace/function_call_history.exp: Update tests.
17287 * gdb.btrace/instruction_history.exp: Update tests.
17289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17291 * gdb.btrace/function_call_history.exp: Fix expected field
17292 order for "record function-call-history".
17293 Add new tests for "record function-call-history /c".
17294 * gdb.btrace/exception.cc: New.
17295 * gdb.btrace/exception.exp: New.
17296 * gdb.btrace/tailcall.exp: New.
17297 * gdb.btrace/x86-tailcall.S: New.
17298 * gdb.btrace/x86-tailcall.c: New.
17299 * gdb.btrace/unknown_functions.c: New.
17300 * gdb.btrace/unknown_functions.exp: New.
17301 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17303 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17305 * gdb.btrace/instruction_history.exp: Update.
17306 * gdb.btrace/function_call_history.exp: Update.
17308 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17310 * gdb.btrace/function_call_history.exp: Fix expected function
17312 * gdb.btrace/instruction_history.exp: Initialize traced.
17313 Remove traced_functions.
17315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17317 * gdb.btrace/function_call_history.exp: Update
17318 * gdb.btrace/instruction_history.exp: Update.
17320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17322 * gdb.btrace/enable.exp: Update expected text.
17324 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17326 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17329 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17331 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17333 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17335 * lib/gdb.exp (supports_process_record): Return true for
17336 arm*-linux*. (supports_reverse): Likewise.
17338 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17342 * gdb.python/py-type.c: Enhance test case.
17343 * gdb.python/py-value-cc.cc: Likewise
17344 * gdb.python/py-type.exp: Add new tests.
17345 * gdb.python/py-value-cc.exp: Likewise
17347 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17348 Pedro Alves <palves@redhat.com>
17350 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17351 Make "name" extern.
17352 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17353 references to ${name}_start by references to ${name}.
17355 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17357 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17359 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17361 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17363 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17364 Pedro Alves <palves@redhat.com>
17366 * gdb.mi/mi-info-os.exp: Connect to the target with
17367 mi_gdb_target_load.
17369 2014-01-08 Pedro Alves <palves@redhat.com>
17371 * gdb.threads/reconnect-signal.c: New file.
17372 * gdb.threads/reconnect-signal.exp: New file.
17374 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17376 * gdb.base/source-dir.exp: New file.
17378 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17380 * gdb.ada/mi_interface: New testcase.
17382 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17384 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17385 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17386 gdb.ada/pp-rec-component/pck.ads: New files.
17388 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17390 * gdb.python/py-pp-integral.c: New file.
17391 * gdb.python/py-pp-integral.py: New file.
17392 * gdb.python/py-pp-integral.exp: New file.
17394 For older changes see ChangeLog-1993-2013.
17396 ;; Local Variables:
17397 ;; mode: change-log
17400 ;; version-control: never
17403 Copyright 2014-2019 Free Software Foundation, Inc.
17404 Copying and distribution of this file, with or without modification,
17405 are permitted provided the copyright notice and this notice are preserved.