1 2021-05-14 Kent Cheung <kent.cheung@arm.com>
2 Andrew Burgess <andrew.burgess@embecosm.com>
4 * gdb.python/py-format-string.c: Added a variable to test.
5 * gdb.python/py-format-string.exp: Check string representation is
6 printed at appropriate max_depth settings.
7 * gdb.python/py-nested-maps.exp: Likewise.
8 * gdb.guile/scm-pretty-print.exp: Add additional tests.
10 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
12 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Give some tests
13 unique names, also wrap proc body in with_test_prefix.
15 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
17 * gdb.guile/scm-frame-args.exp: Add with_test_prefix to resolve
19 * gdb.guile/scm-parameter.exp: Provide test names to avoid
20 duplicate names based on the command being run.
21 * gdb.guile/scm-symbol.exp: Extend test name to make it unique.
22 * gdb.guile/scm-type.exp (restart_gdb): Don't print PASS line when
23 loading a support module.
24 (test_equality): Update test name to match the actual test, making
25 the name unique in the process.
26 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test names
27 to resolve duplicate tests.
28 (test_inferior_function_call): Likewise.
29 (test_subscript_regression): Likewise.
31 2021-05-13 Andrew Burgess <andrew.burgess@embecosm.com>
33 * lib/guile.exp (gdb_scm_load_file): Use empty test name to
35 (gdb_install_guile_module): Likewise.
37 2021-05-12 George Barrett <bob@bob131.so>
39 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
42 2021-05-12 George Barrett <bob@bob131.so>
44 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for
45 value-reference-value. Add test for value-rvalue-reference-value.
47 2021-05-11 Tom de Vries <tdevries@suse.de>
49 * gdb.base/watch_thread_num.exp: Fix "set debug infrun 1" FAILs.
50 Add "set debug infrun 1" commented out.
52 2021-05-11 Tom de Vries <tdevries@suse.de>
54 * gdb.base/gdb-sigterm.exp: Fix exp_continue regexp.
56 2021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com>
58 * gdb.fortran/array-element.exp: Breakpoint location is modified.
60 2021-05-10 Lancelot Six <lsix@lancelotsix.com>
63 * gdb.dwarf2/gdb-add-index-symlink.exp: New test.
65 2021-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
67 * gdb.guile/guile.exp: Don't use the source directory as a
68 temporary HOME directory.
70 2021-05-10 Simon Marchi <simon.marchi@polymtl.ca>
72 * gdb.arch/amd64-osabi.exp (test_osabi_none): Use the
75 2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
77 * gdb.guile/guile.exp: Add an extra test.
79 2021-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
81 * gdb.base/ptype-offsets.exp: Replace use of send_gdb with
84 2021-05-07 Simon Marchi <simon.marchi@polymtl.ca>
86 * Re-format all Python files using black.
87 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust.
89 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
91 * gdb.guile/scm-breakpoint.exp (test_watchpoints): Print the
92 watchpoint object before and after registering it with GDB.
94 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
96 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Convert to
97 'proc_with_prefix', remove use of 'with_test_prefix', and
99 (test_bkpt_deletion): Likewise.
100 (test_bkpt_cond_and_cmds): Likewise.
101 (test_bkpt_invisible): Likewise.
102 (test_watchpoints): Likewise.
103 (test_bkpt_internal): Likewise.
104 (test_bkpt_eval_funcs): Likewise.
105 (test_bkpt_registration): Likewise.
106 (test_bkpt_address): Convert to 'proc_with_prefix'.
107 (test_bkpt_probe): Likewise.
109 2021-05-06 Andrew Burgess <andrew.burgess@embecosm.com>
111 * gdb.guile/scm-breakpoint.exp (test_bkpt_basic): Extend test
112 names to avoid duplicates.
113 (test_bkpt_cond_and_cmds): Likewise.
114 (test_bkpt_eval_funcs): Likewise.
116 2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
118 * gdb.mi/mi-break.exp (test_forced_conditions): Add a test
119 for the -break-condition command's "--force" flag.
121 2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
123 * gdb.mi/mi-break.exp (test_forced_conditions): New proc that
124 is called by the test.
126 2021-05-05 Tom de Vries <tdevries@suse.de>
128 * gdb.threads/detach-step-over.exp: Do exp_continue when encountering
129 "Reading symbols" or "Expanding full symbols" lines. Using timeout
130 factor of 2 for attach.
132 2021-05-05 Tom de Vries <tdevries@suse.de>
134 * gdb.threads/fork-plus-threads.exp: Handle "New LWP <n>" and
135 "LWP <n> exited" messages.
137 2021-05-04 Simon Marchi <simon.marchi@polymtl.ca>
139 * gdb.python/py-type.exp (test_fields): Test calling fields on
142 2021-05-04 Simon Marchi <simon.marchi@efficios.com>
144 * gdb.python/flexible-array-member.exp: Adjust expected range
145 value for member declared with 0 size. Test accessing range
146 tuple through range type.
148 2021-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
151 * gdb.python/py-startup-opt.exp (test_python_settings): Change the
152 expected results when environment variable PYTHONDONTWRITEBYTECODE
155 2021-04-30 Tom Tromey <tromey@adacore.com>
157 * gdb.ada/enum_idx_packed/pck.ads (My_Enum, My_Array_Type)
158 (Confused_Array): New types.
159 * gdb.ada/enum_idx_packed/foo.adb (Confused_Array): New variable.
160 * gdb.ada/enum_idx_packed.exp: Add new tests.
162 2021-04-30 Tom de Vries <tdevries@suse.de>
164 * gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
165 existing timeout factors.
167 2021-04-30 Tom de Vries <tdevries@suse.de>
169 * gdb.mi/mi-sym-info.exp: Remove duplicate test.
171 2021-04-29 Tom de Vries <tdevries@suse.de>
174 * lib/valgrind.exp (vgdb_start): Use set_remotetimeout. Increase
177 2021-04-28 Tom Tromey <tromey@adacore.com>
179 * gdb.ada/null_overload.exp: New file.
180 * gdb.ada/null_overload/foo.adb: New file.
182 2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
184 * gdb.python/py-startup-opt.exp: New file.
186 2021-04-27 Luis Machado <luis.machado@linaro.org>
188 * gdb.base/maint.exp: Drop a pattern that is not needed.
189 * lib/gdb.exp (readnow): Match line-by-line.
191 2021-04-27 Luis Machado <luis.machado@linaro.org>
193 * gdb.xml/tdesc-reload.exp: Pass -lbl.
195 2021-04-27 Michael Weghorn <m.weghorn@posteo.de>
196 Simon Marchi <simon.marchi@polymtl.ca>
198 * gdb.python/libpy-autoloaded-pretty-printers-in-newobjfile-event.so-gdb.py: New test.
199 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.cc: New test.
200 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-lib.h: New test.
201 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event-main.cc: New test.
202 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp: New test.
203 * gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.py: New test.
205 2021-04-26 Tom Tromey <tromey@adacore.com>
208 * gdb.dwarf2/imported-unit-bp.exp: New file.
209 * gdb.dwarf2/imported-unit-bp-main.c: New file.
210 * gdb.dwarf2/imported-unit-bp-alt.c: New file.
212 2021-04-26 Simon Marchi <simon.marchi@polymtl.ca>
215 * gdb.base/dump.exp: Test dump to non-existent dir.
217 2021-04-26 Luis Machado <luis.machado@linaro.org>
219 * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
222 2021-04-25 Lancelot Six <lsix@lancelotsix.com>
225 * gdb.base/ptype-offsets.exp: Add tests to verify the behavior
226 of 'ptype/ox' and 'ptype/od'. Check that 'set print type hex'
227 changes the default behavior of 'ptype/o'. Update to take into
228 account new horizontal layout.
229 * gdb.rust/simple.exp: Update ptype test to check new horizontal
231 * gdb.rust/union.exp: Same.
233 2021-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
235 * gdb.base/info_sources.exp: Add new tests.
237 2021-04-22 Tom Tromey <tom@tromey.com>
239 * gdb.base/ptype-offsets.cc (struct empty_member): New.
240 (main): Use empty_member.
241 * gdb.base/ptype-offsets.exp: Add new test.
243 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
245 * gdb.python/flexible-array-member.exp: Add check for Python
248 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca>
251 * gdb.python/flexible-array-member.c: New test.
252 * gdb.python/flexible-array-member.exp: New test.
253 * gdb.guile/scm-type.exp (test_range): Add test for flexible
255 * gdb.guile/scm-type.c (struct flex_member): New.
258 2021-04-22 Tom Tromey <tom@tromey.com>
260 * gdb.rust/modules.exp: Add checks for syntax errors.
261 * gdb.rust/expr.exp: Add checks for syntax errors.
262 * gdb.rust/simple.exp: Add checks for syntax errors.
264 2021-04-21 Carl Love <cel@us.ibm.com>
266 * gdb.base/valgrind-bt.exp: Add gdb_test "break main".
267 Update expected string for gdb_test "bt".
269 * lib/valgrind.exp: Add set remotetimeout 3.
270 Increase vgdb wait from 1 to 2.
271 Add max-invoke-ms option to vgdb command line.
273 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
275 * gdb.mi/mi-break.exp: Extend with checks for invalid breakpoint
278 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
279 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
281 * gdb.mi/mi-break.exp: Fix the duplicate test names.
283 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com>
285 * gdb.base/address_space_qualifier.exp: New file.
287 2021-04-19 Tom Tromey <tromey@adacore.com>
290 * gdb.opt/inline-locals.exp: Update kfail patterns.
292 2021-04-17 Tom Tromey <tom@tromey.com>
294 * gdb.dwarf2/gdb-index-nodebug.exp: New file.
296 2021-04-16 Tom Tromey <tom@tromey.com>
298 * gdb.rust/simple.exp: Change error text.
299 * gdb.rust/expr.exp: Change error text.
301 2021-04-16 Tom Tromey <tom@tromey.com>
303 * gdb.rust/simple.exp: Add parens to 'as' test.
305 2021-04-16 Simon Marchi <simon.marchi@efficios.com>
307 * boards/simavr.exp: Set debug_flags.
309 2021-04-16 Luis Machado <luis.machado@linaro.org>
311 * gdb.dwarf2/dw2-bfloat16.exp: New file.
313 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
315 * gdb.python/py-parameter.exp: Give a test a proper name to avoid
316 including a path in the test name.
318 2021-04-15 Simon Marchi <simon.marchi@polymtl.ca>
320 * gdb.threads/fork-plus-threads.exp: Use foreach_with_prefix.
322 2021-04-15 Tom Tromey <tromey@adacore.com>
324 * gdb.dwarf2/arr-stride.exp: Add test.
326 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
328 * gdb.base/startup-file.exp: Add more tests.
330 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
333 * gdb.base/early-init-file.c: New file.
334 * gdb.base/early-init-file.exp: New file.
335 * lib/gdb-utils.exp (style): Handle style 'none'.
337 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
339 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: Use
340 @DW_INL_declared_inlined for the inline attribute.
342 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
344 * gdb.opt/inline-locals.c (scoped): New function.
345 (main): Call 'scoped'.
346 * gdb.opt/inline-locals.exp: Update with "info locals" tests
347 for scoped variables.
348 * gdb.dwarf2/dw2-inline-with-lexical-scope.c: New file.
349 * gdb.dwarf2/dw2-inline-with-lexical-scope.exp: New file.
351 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
353 * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
355 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
357 * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.
359 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
361 * gdb.arch/powerpc-plxv-nonrel.s: Testcase using
362 non-relative plxv instructions.
363 * gdb.arch/powerpc-plxv-nonrel.exp: Testcase harness.
365 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
368 * gdb/testsuite/gdb.arch/powerpc-addpcis.exp: Testcase harness to
369 exercise single-stepping over subpcis,lnia,addpcis instructions
371 * gdb/testsuite/gdb.arch/powerpc-addpcis.s: Testcase with stream
372 of addpcis/lnia/subpcis instructions.
373 * gdb/testsuite/gdb.arch/powerpc-lnia.exp: Testcase harness to
374 exercise single-stepping over lnia instructions with displacement.
375 * gdb/testsuite/gdb.arch/powerpc-lnia.s: Testcase with stream of
378 2021-03-31 Will Schmidt <will_schmidt@vnet.ibm.com>
380 * gdb.arch/powerpc-power10.s: New test for instructions.
381 * gdb.arch/powerpc-power10.exp: Harness to run the test.
383 2021-4-12 Carl Love <cel@us.ibm.com>
385 * gdb.arch/vsx-vsr-float128.c: New test file.
386 * gdb.arch/vsx-vsr-float128.exp: New expect file.
388 2021-04-12 Markus Metzger <markus.t.metzger@intel.com>
390 * gdb.btrace/reconnect.exp: Relax expected stepi output.
392 2021-04-07 Weimin Pan <weimin.pan@oracle.com>
394 * gdb.base/ctf-ptype.c: Add struct link containing a forward
396 * gdb.base/ctf-ptype.exp: Add "ptype struct link".
398 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
400 * gdb.fortran/dynamic-ptype-whatis.exp: New file.
401 * gdb.fortran/dynamic-ptype-whatis.f90: New file.
403 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
405 * gdb.cp/rvalue-ref-params.cc (f3): New function.
407 (global_int): New global variable.
408 (global_float): Likeiwse.
409 (main): Call both new functions.
410 * gdb.cp/rvalue-ref-params.exp: Add new tests.
412 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
414 * gdb.dwarf2/fission-relative-dwo.c: New file.
415 * gdb.dwarf2/fission-relative-dwo.exp: New file.
417 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
419 * gdb.dwarf2/fission-absolute-dwo.c: New file.
420 * gdb.dwarf2/fission-absolute-dwo.exp: New file.
421 * gdb.dwarf2/fission-base.exp: Use build_executable_and_dwo_files
422 instead of build_executable_from_fission_assembler.
423 * gdb.dwarf2/fission-loclists-pie.exp: Likewise.
424 * gdb.dwarf2/fission-loclists.exp: Likewise.
426 * gdb.dwarf2/fission-multi-cu.S: Delete file.
427 * gdb.dwarf2/fission-multi-cu.c: New file based on old
428 fission-multi-cu1.c and fission-multi-cu2.c files.
429 * gdb.dwarf2/fission-multi-cu1.c: Delete file.
430 * gdb.dwarf2/fission-multi-cu2.c: Delete file.
431 * gdb.dwarf2/fission-multi-cu.exp: Rewrite to use Dwarf assembler.
432 * gdb.dwarf2/fission-reread.exp: Likewise.
433 * lib/dwarf.exp (extract_dwo_information): New proc.
434 (strip_dwo_information): New proc.
435 (build_executable_and_dwo_files): New proc.
436 (build_executable_from_fission_assembler): Delete.
437 (Dwarf::_debug_addr_index): New variable.
438 (Dwarf::_cu_is_fission): New variable.
439 (Dwarf::_handle_DW_FORM): Handle DW_OP_GNU_addr_index.
440 (Dwarf::_default_form): Supply a default for DW_AT_GNU_addr_base.
441 (Dwarf::_handle_macro_at_range): Use form DW_FORM_GNU_addr_index
442 if this is a fission CU.
443 (Dwarf::_location): Handle DW_OP_GNU_addr_index.
444 (Dwarf::debug_addr_label): New proc.
445 (Dwarf::cu): Initialise _cu_is_fission.
446 (Dwarf::tu): Likewise.
447 (Dwarf::assemble): Initialise _debug_addr_index.
449 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
451 * gdb.dwarf2/dw2-using-debug-str.exp: Add an additional test.
453 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
455 * gdb.python/py-parameter.exp: Add test for reading data-directory
456 using gdb.parameter API.
458 2021-04-06 Tom de Vries <tdevries@suse.de>
461 * gdb.opt/inline-cmds.exp: Remove kfail.
463 2021-04-06 Tom de Vries <tdevries@suse.de>
466 * gdb.threads/gcore-thread.exp: Don't call gdb_core_cmd with core
469 2021-04-01 Egeyar Bagcioglu <egeyar@gmail.com>
471 * lib/pdtrace.in: Fix obvious typo.
473 2021-03-31 Tom Tromey <tromey@adacore.com>
475 * lib/dwarf.exp (Dwarf::_get_args): New proc.
476 (Dwarf::_location): Use it.
478 2021-03-31 Tom de Vries <tdevries@suse.de>
481 * lib/gdb.exp (default_gdb_init): Unset DEBUGINFOD_URLS.
483 2021-03-30 Simon Marchi <simon.marchi@polymtl.ca>
486 * gdb.base/index-cache-load-twice.exp: Remove.
487 * gdb.base/index-cache-load-twice.c: Remove.
488 * gdb.dwarf2/per-bfd-sharing.exp: New.
489 * gdb.dwarf2/per-bfd-sharing.c: New.
491 2021-03-30 Tom de Vries <tdevries@suse.de>
494 * gdb.dwarf2/dw2-cu-size.S: Add missing .debug_abbrev terminator.
496 2021-03-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
498 * gdb.mi/user-selected-context-sync.exp: Spin on a variable in
499 the infinite loop to avoid a Clang bug.
501 2021-03-26 Will Schmidt <will_schmidt@vnet.ibm.com>
503 * gdb.arch/powerpc-disassembler-options.exp: Extend some test
504 names for uniqueness.
505 * gdb.arch/powerpc-fpscr-gcore.exp: Add more test names for
508 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
510 * gdb.python/py-prettyprint.c (struct container): Add 'is_array_p'
512 (make_container): Initialise is_array_p.
513 * gdb.python/py-prettyprint.exp: Add new tests.
514 * gdb.python/py-prettyprint.py (ContainerPrinter.display_hint):
515 Check is_array_p and possibly return 'array'.
517 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
519 * gdb.cp/breakpoint.exp: Extend test names to make them unique.
520 * gdb.cp/casts.exp: Give tests unique names.
521 * gdb.cp/filename.exp: Likewise.
522 * gdb.cp/gdb2495.exp: Likewise.
523 * gdb.cp/mb-ctor.exp: Extend test names to make them unique.
524 * gdb.cp/misc.exp: Rename test to make it unique.
525 * gdb.cp/nsnested.exp: Give tests unique names.
526 * gdb.cp/ovldbreak.exp: Likewise.
527 * gdb.cp/pr17494.exp: Rename test to reflect what is actually
528 being tested. This also removes the duplicate test name.
529 * gdb.cp/ref-types.exp: Likewise.
530 * gdb.cp/temargs.exp: Likewise.
532 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
534 * gdb.cp/cplusfuncs.exp (test_paddr_operator_functions): Escape
535 square brackets in test.
537 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
539 * gdb.cp/maint.exp (test_first_component): Run more tests with a
540 variable number of spaces, this removes the duplicate testing of
541 'operator ->' which existed before.
543 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
545 * gdb.cp/gdb2384.cc (main): Change comments used for breakpoints.
546 * gdb.cp/gdb2384.exp: Change and extend test names to avoid
547 duplicates, and also to avoid having a string inside parentheses
548 at the end of test names.
550 2021-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
552 * gdb.cp/nsusing.exp: Rewrite test, remove a duplicate test block.
553 Avoid repeated uses of 'runto', and instread just progress once
554 through the test stopping at different breakpoints. Give comments
555 a capital letter and full stop. Give duplicate tests unique names.
557 2021-03-25 Pedro Alves <pedro@palves.net>
559 * gdb.server/stop-reply-no-thread-multi.exp (run_test): Add
560 "target_non_stop" parameter and use it.
561 (top level): Add "maint set target-non-stop on/off" testing axis.
563 2021-03-25 Andrew Burgess <andrew.burgess@embecosm.com>
565 * lib/ada.exp (gnat_runtime_has_debug_info): Use -wrap with
568 2021-03-24 Luis Machado <luis.machado@linaro.org>
570 * gdb.arch/aarch64-mte.c: New file.
571 * gdb.arch/aarch64-mte.exp: New test.
572 * gdb.base/memtag.c: New file.
573 * gdb.base/memtag.exp: New test.
574 * lib/gdb.exp (supports_memtag): New function.
576 2021-03-24 Luis Machado <luis.machado@linaro.org>
578 * gdb.base/options.exp: Adjust for new print options.
579 * gdb.base/with.exp: Likewise.
581 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
583 * gdb.dwarf2/dw2-missing-cu-tag.c: New file.
584 * gdb.dwarf2/dw2-missing-cu-tag.exp: New file.
586 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com>
588 * gdb.dwarf2/dw2-using-debug-str.c: New file.
589 * gdb.dwarf2/dw2-using-debug-str.exp: New file.
590 * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section,
593 2021-03-20 Tom Tromey <tom@tromey.com>
595 * gdb.base/maint.exp: Update "maint print statistics" output.
597 2021-03-19 Kevin Buettner <kevinb@redhat.com>
599 * lib/gdbserver-support.exp (gdbserver_exit): Use the
600 "-nowait" flag when waiting for gdbserver to exit.
602 2021-03-19 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
604 * gdb.base/info-macros.exp: Append -fdebug-macro to
605 additional_flags for clang.
606 * gdb.base/macscp.exp: Likewise.
607 * gdb.base/style.exp: Likewise.
608 * gdb.linespec/macro-relative.exp: Likewise.
610 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca>
611 Pedro Alves <pedro@palves.net>
613 * gdb.base/run-attach-while-running.exp: New.
614 * gdb.base/run-attach-while-running.c: New.
616 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
618 * gdb.python/py-framefilter-addr.c: New file.
619 * gdb.python/py-framefilter-addr.exp: New file.
620 * gdb.python/py-framefilter-addr.py: New file.
622 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com>
624 * gdb.threads/execl.exp: Remove duplicate 'info threads' test.
625 Make use of $gdb_test_name instead of creating a separate $test
627 * gdb.threads/print-threads.exp: Add a with_test_prefix instead of
628 adding a '($name)' at the end of each test. This also catches the
629 one place where '($name)' was missing, and so caused a duplicate
631 * gdb.threads/queue-signal.exp: Give tests unique names to avoid
632 duplicate test names based on the command being tested.
633 * gdb.threads/signal-command-multiple-signals-pending.exp:
635 * lib/gdb.exp (gdb_compile_shlib_pthreads): Tweak test name to
636 avoid duplicate testnames when a test script uses this proc and
637 also gdb_compile_pthreads.
638 * lib/prelink-support.exp (build_executable_own_libs): Use
639 with_test_prefix to avoid duplicate test names when we call
640 build_executable twice.
642 2021-03-15 Tom Tromey <tromey@adacore.com>
644 * gdb.ada/fixed_points.exp: Add tests of unary + and -.
646 2021-03-15 Tom Tromey <tromey@adacore.com>
648 * gdb.ada/varsize_limit.exp: Add new test.
649 * gdb.ada/varsize_limit/vsizelim.adb: Update.
651 2021-03-15 Tom Tromey <tromey@adacore.com>
653 * gdb.ada/operator_call/twovecs.ads: New file.
654 * gdb.ada/operator_call/twovecs.adb: New file.
655 * gdb.ada/operator_call/opcall.adb: New file.
656 * gdb.ada/operator_call.exp: New file.
658 2021-03-15 Tom Tromey <tromey@adacore.com>
660 * gdb.ada/enums_overload/enums_overload_main.adb: New file.
661 * gdb.ada/enums_overload/enums_overload.ads: New file.
662 * gdb.ada/enums_overload/enums_overload.adb: New file.
663 * gdb.ada/enums_overload.exp: New file.
665 2021-03-15 Tom Tromey <tromey@adacore.com>
667 * gdb.ada/assign_arr/target_wrapper.ads (IArray, Put, Do_Nothing):
669 * gdb.ada/assign_arr/target_wrapper.adb: New file.
670 * gdb.ada/assign_arr/main_p324_051.adb (IValue): New variable.
672 * gdb.ada/assign_arr.exp: Update.
674 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com>
676 * gdb.python/py-auto-load-chaining-f1.c: New file.
677 * gdb.python/py-auto-load-chaining-f1.o-gdb.py: New file.
678 * gdb.python/py-auto-load-chaining-f2.c: New file.
679 * gdb.python/py-auto-load-chaining-f2.o-gdb.py: New file.
680 * gdb.python/py-auto-load-chaining.c: New file.
681 * gdb.python/py-auto-load-chaining.exp: New file.
683 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
685 * gdb.python/py-bad-printers.exp: Extend test names to make them
687 * gdb.python/py-events.exp: Likewise.
688 * gdb.python/py-finish-breakpoint2.exp: Likewise.
689 * gdb.python/py-frame-inline.exp: Likewise.
690 * gdb.python/py-frame.exp: Likewise.
691 * gdb.python/py-infthread.exp: Likewise.
693 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
695 * gdb.python/py-value-cc.exp: Remove a duplicate test.
697 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
699 * gdb.python/lib-types.exp: Update the test to check the correct
702 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
704 * gdb.python/py-explore-cc.exp: Extend test names to make them
707 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
709 * gdb.python/py-lookup-type.exp: Remove duplicate test.
711 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
713 * gdb.python/py-symtab.exp: Extend test names to make them
716 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
718 * gdb.python/py-prompt.exp: Add with_test_prefix to make test
721 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
723 * gdb.python/py-block.exp: Give tests unique names.
725 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
727 * gdb.python/py-pp-maint.exp: Extend test names to make them
730 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
732 * gdb.python/py-explore.exp: Add with_test_prefix to make test
735 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
737 * gdb.python/py-finish-breakpoint.exp: Make test names unique.
739 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
741 * gdb.python/py-strfns.exp: Use with_test_prefix to make test
744 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
746 * gdb.python/py-format-string.exp: Use proc_with_prefix to make
749 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
751 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
754 2021-03-09 Tom Tromey <tromey@adacore.com>
756 * gdb.base/cast-call.exp: New file.
757 * gdb.base/cast-call.c: New file.
759 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
761 * gdb.gdb/python-helper.exp: New file.
763 2020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
765 * gdb.fortran/intrinsics.exp: Add LOC tests.
767 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
769 * gdb.fortran/shape.exp: New file.
770 * gdb.fortran/shape.f90: New file.
772 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
774 * gdb.fortran/size.exp: New file.
775 * gdb.fortran/size.f90: New file.
777 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
779 * gdb.fortran/rank.exp: New file.
780 * gdb.fortran/rank.f90: New file.
782 2021-03-08 Tom Tromey <tom@tromey.com>
784 * gdb.fortran/debug-expr.exp: Update tests.
786 2021-03-08 Tom Tromey <tom@tromey.com>
788 * gdb.base/debug-expr.exp: Update expected dump output.
790 2021-03-06 Tom Tromey <tom@tromey.com>
792 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
793 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
794 * gdb.dwarf2/dwznolink.exp: New file.
796 2021-03-05 Mark Wielaard <mark@klomp.org>
798 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
800 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
802 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
804 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
806 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
808 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
810 * gdb.btrace/non-stop.exp: Adjust expected source lines.
812 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
814 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
816 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
818 * gdb.btrace/exception.cc (main): Update test source.
819 * gdb.btrace/exception.exp: Update patterns.
820 * gdb.btrace/function_call_history.exp: Likewise.
822 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
824 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
826 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
828 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
829 reverse-continue to breakpoint.
831 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
833 * gdb.btrace/delta.exp: Remove instruction-history and
834 function-call-history checks.
836 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
838 * README (Note): Add nopie_ldflag.
839 * lib/gdb.exp (gdb_compile): Extend nopie handling.
841 2021-03-02 Tom Tromey <tromey@adacore.com>
843 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
846 2021-02-27 Lancelot Six <lsix@lancelotix.com>
849 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
852 2021-02-26 Tom Tromey <tom@tromey.com>
854 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
856 2021-02-26 Jan Vrany <jan.vrany@labware.com>
858 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
859 Remove trailing \n from expected output.
861 2021-02-26 Markus Metzger <markus.t.metzger@intel.com>
863 * lib/gdb.exp (use_gdb_stub): Extend comment.
865 2021-02-25 Jan Matyas <jmatyas@codasip.com>
868 * gdb.server/stop-reply-no-thread.exp: Add two test
869 scenarios that cover remote targets which do not have
870 the concept of threads.
872 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
874 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
876 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
879 * gdb.fortran/call-no-debug-func.f90: New file.
880 * gdb.fortran/call-no-debug-prog.f90: New file.
881 * gdb.fortran/call-no-debug.exp: New file.
883 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
885 * gdb.fortran/associated.exp: New file.
886 * gdb.fortran/associated.f90: New file.
888 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
890 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
892 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
894 * gdb.base/sect-cmd.exp: Update expected results.
896 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
898 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
899 techniques. Enable the test for all targets.
901 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
903 * gdb.base/maint-info-sections.exp: Add new tests.
904 (check_maint_info_target_sections_output): New proc.
906 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
908 * gdb.arch/riscv-default-tdesc.exp: New file.
910 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
912 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
914 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
916 * gdb.arch/i386-biarch-core.exp: Add target check.
918 2021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
920 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
922 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
924 * gdb.fortran/allocated.exp: New file.
925 * gdb.fortran/allocated.f90: New file.
927 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
929 * gdb.fortran/lbound-ubound.exp: Remove old comment.
931 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
933 * gdb.base/maint-info-sections.exp: Update expected output, and
934 add additional tests. Again.
936 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
938 * gdb.base/maint-info-sections.exp: Update expected output, and
939 add additional tests.
941 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
943 * gdb.base/maint-info-sections.exp: New file, content is moved
944 from gdb.base/maint.exp and cleaned up to use latest testsuite
946 * gdb.base/maint.exp: Tests moved out to
947 gdb.base/maint-info-sections.exp.
949 2021-02-10 Simon Marchi <simon.marchi@efficios.com>
951 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
954 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
956 * gdb.fortran/lbound-ubound.F90: New file.
957 * gdb.fortran/lbound-ubound.exp: New file.
959 2021-02-10 Tom de Vries <tdevries@suse.de>
961 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
962 "Restore saved setting of complaints".
964 2021-02-09 Tom de Vries <tdevries@suse.de>
967 * lib/gdb.exp (with_complaints): New proc, factored out of ...
968 (gdb_load_no_complaints): ... here.
969 * gdb.fortran/function-calls.exp: Add test-case.
971 2021-02-09 Abid Qadeer <abidh@codesourcery.com>
973 * gdb.threads/signal-command-handle-nopass.exp: Call
974 'standard_testfile' before using 'testfile'.
975 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
976 * gdb.threads/signal-delivered-right-thread.exp: Likewise
977 * gdb.threads/signal-sigtrap.exp: Likewise
979 2021-02-08 Luis Machado <luis.machado@linaro.org>
981 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
983 2021-02-08 Tom de Vries <tdevries@suse.de>
985 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
987 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
989 * gdb.python/tui-window-disabled.c: New file.
990 * gdb.python/tui-window-disabled.exp: New file.
991 * gdb.python/tui-window-disabled.py: New file.
993 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
995 * gdb.python/tui-window.exp: Add new tests.
996 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
997 TestWindow object into global the_window.
998 <remote_title>: New method.
999 (delete_window_title): New function.
1001 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1003 * gdb.tui/winheight.exp: Add more tests.
1005 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1007 * gdb.python/py-framefilter.exp: Update expected results.
1008 * gdb.python/python.exp: Update expected results.
1010 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1012 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
1013 about bug in GDB, update expected results, and add more tests.
1015 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1017 * gdb.tui/scroll.exp: New file.
1018 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
1019 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
1021 (Term::check_region_contents): New proc.
1022 (Term::check_box_contents): Use check_region_contents.
1024 2021-02-06 Tom de Vries <tdevries@suse.de>
1027 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
1030 2021-02-05 Tom de Vries <tdevries@suse.de>
1032 PR breakpoints/27313
1033 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
1036 2021-02-05 Tom de Vries <tdevries@suse.de>
1038 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
1039 * gdb.fortran/mixed-lang-stack.exp: Same.
1041 2021-02-05 Tom de Vries <tdevries@suse.de>
1044 * gdb.base/complex-parts.exp: Add tests.
1046 2021-02-05 Tom de Vries <tdevries@suse.de>
1049 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
1051 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
1053 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
1055 2021-02-03 Pedro Alves <pedro@palves.net>
1057 * gdb.threads/detach-step-over.c: New file.
1058 * gdb.threads/detach-step-over.exp: New file.
1060 2021-02-03 Pedro Alves <pedro@palves.net>
1062 * gdb.threads/attach-non-stop.c: New file.
1063 * gdb.threads/attach-non-stop.exp: New file.
1065 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1067 * gdb.base/inferior-noarg.c: New test.
1068 * gdb.base/inferior-noarg.exp: New test.
1070 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
1072 * gdb.base/scope.exp: Use proc_with_prefix.
1074 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1076 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
1078 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
1079 .debug_rnglists table without offset array.
1080 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1081 .debug_loclists table without offset array.
1083 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1085 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
1086 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
1087 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
1088 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
1091 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1094 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
1095 (loclists): New proc.
1096 * gdb.dwarf2/loclists-multiple-cus.c: New.
1097 * gdb.dwarf2/loclists-multiple-cus.exp: New.
1098 * gdb.dwarf2/loclists-sec-offset.c: New.
1099 * gdb.dwarf2/loclists-sec-offset.exp: New.
1101 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1103 * lib/dwarf.exp (_location): Add parameters.
1104 (_handle_DW_FORM): Adjust.
1106 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
1109 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
1110 (cu): Generate header for DWARF 5.
1111 (rnglists): New proc.
1112 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
1113 * gdb.dwarf2/rnglists-sec-offset.exp: New.
1115 2021-02-02 Tom de Vries <tdevries@suse.de>
1118 * gdb.dwarf2/fission-reread.exp: Add test-case.
1120 2021-02-01 Tom de Vries <tdevries@suse.de>
1122 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
1123 * gdb.dwarf2/fission-loclists-pie.S: Same.
1124 * gdb.dwarf2/fission-loclists.S: Same.
1125 * gdb.dwarf2/fission-multi-cu.S: Same.
1126 * gdb.dwarf2/fission-reread.S: Same.
1127 * gdb.dwarf2/fission-base.exp: Use DWO.
1128 * gdb.dwarf2/fission-loclists-pie.exp: Same.
1129 * gdb.dwarf2/fission-loclists.exp: Same.
1130 * gdb.dwarf2/fission-multi-cu.exp: Same.
1131 * gdb.dwarf2/fission-reread.exp: Same.
1133 2021-01-29 Tom de Vries <tdevries@suse.de>
1135 PR breakpoints/26063
1136 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
1137 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
1139 2021-01-29 Tom de Vries <tdevries@suse.de>
1141 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
1143 2021-01-28 Tom de Vries <tdevries@suse.de>
1145 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
1146 in the backtrace, and use that in the rest of the test instead of
1147 hardcoded constant 3. Use "frame" instead of "up" for robustness.
1149 2021-01-28 Tom de Vries <tdevries@suse.de>
1151 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
1152 * gdb.arch/i386-sse-stack-align.c: Same.
1153 * gdb.arch/i386-sse-stack-align.exp: Same.
1155 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1157 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
1159 2021-01-28 Tom de Vries <tdevries@suse.de>
1161 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
1163 2021-01-28 Tom de Vries <tdevries@suse.de>
1165 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
1166 "maint info line-table". Make PASS pattern more specific. Make
1167 FAIL pattern work for -m32.
1169 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1172 * gdb.base/ui-redirect.exp: Add test case that ensures that
1173 redirecting both logging and debug does not cause gdb to crash.
1176 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1178 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
1180 2021-01-26 Tom de Vries <tdevries@suse.de>
1182 * gdb.threads/killed-outside.exp: Allow regular output.
1184 2021-01-26 Tom de Vries <tdevries@suse.de>
1186 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
1188 2021-01-25 Tom de Vries <tdevries@suse.de>
1190 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
1191 * lib/gdb.exp: Use gdb_load_no_complaints.
1193 2021-01-25 Tom Tromey <tromey@adacore.com>
1195 * gdb.ada/fixed_points.exp: Add regression test.
1196 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
1197 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
1199 2021-01-25 Tom Tromey <tromey@adacore.com>
1201 * gdb.ada/local-enum.exp: Add enumerator resolution test.
1203 2021-01-25 Tom Tromey <tromey@adacore.com>
1205 * gdb.ada/local-enum.exp: New file.
1206 * gdb.ada/local-enum/local.adb: New file.
1208 2021-01-23 Tom Tromey <tom@tromey.com>
1210 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
1212 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
1214 * gdb.base/line65535.exp: Fix test expectation.
1216 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1218 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
1220 (default_gdb_exit): Likewise.
1221 (default_gdb_spawn): Likewise.
1222 (send_gdb): Likewise.
1223 (gdb_expect): Likewise.
1224 (gdb_expect_list): Likewise.
1225 (default_gdb_init): Likewise.
1226 (gdb_suppress_entire_file): Remove.
1227 (gdb_suppress_tests): Remove.
1228 (gdb_stop_suppressing_tests): Remove.
1229 (gdb_clear_suppressed): Remove.
1230 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
1231 related to test suppression.
1232 (default_mi_gdb_start): Likewise.
1233 (mi_gdb_reinitialize_dir): Likewise.
1234 (mi_gdb_test): Likewise.
1235 (mi_run_cmd_full): Likewise.
1236 (mi_runto_helper): Likewise.
1237 (mi_execute_to): Likewise.
1238 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1239 * gdb.base/bitfields.exp: Likewise.
1240 * gdb.base/bitfields2.exp: Likewise.
1241 * gdb.base/break.exp: Likewise.
1242 * gdb.base/call-sc.exp: Likewise.
1243 * gdb.base/callfuncs.exp: Likewise.
1244 * gdb.base/dfp-test.exp: Likewise.
1245 * gdb.base/endian.exp: Likewise.
1246 * gdb.base/exprs.exp: Likewise.
1247 * gdb.base/funcargs.exp: Likewise.
1248 * gdb.base/hbreak2.exp: Likewise.
1249 * gdb.base/recurse.exp: Likewise.
1250 * gdb.base/scope.exp: Likewise.
1251 * gdb.base/sepdebug.exp: Likewise.
1252 * gdb.base/structs.exp: Likewise.
1253 * gdb.base/until.exp: Likewise.
1254 * gdb.cp/misc.exp: Likewise.
1256 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1259 * gdb.base/style.exp (run_style_tests): Add version string test.
1260 (test_startup_version_string): Use version style name.
1261 * lib/gdb-utils.exp (style): Handle version style name.
1263 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1265 * gdb.base/style.exp (limited_style): New proc.
1266 (clean_restart_and_disable): New proc.
1267 (run_style_tests): New proc. Most of the old tests from this file
1268 are now in this proc.
1269 (test_startup_version_string): New proc. Reamining test from the
1270 old file is in this proc.
1272 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1274 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1275 Adjust to "set debug remote" changes.
1277 2021-01-21 Luis Machado <luis.machado@linaro.org>
1279 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
1282 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1284 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
1286 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
1289 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
1291 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1293 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
1295 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1297 * lib/tuiterm.exp: Add links in comments.
1299 2021-01-20 Tom de Vries <tdevries@suse.de>
1301 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
1304 2021-01-20 Tom de Vries <tdevries@suse.de>
1306 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
1308 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
1310 * gdb.arch/amd64-stap-expressions.S: New file.
1311 * gdb.arch/amd64-stap-expressions.exp: New file.
1313 2021-01-19 Tom de Vries <tdevries@suse.de>
1315 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
1318 2021-01-19 Tom de Vries <tdevries@suse.de>
1320 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
1322 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1324 * gdb.fortran/array-slices.exp (run_test): Avoid including
1325 addresses in test names.
1327 2021-01-15 Tom de Vries <tdevries@suse.de>
1330 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
1333 2021-01-14 Tom de Vries <tdevries@suse.de>
1336 * gdb.base/style.exp: Handle shorter argv in frame command output.
1338 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1341 * gdb.server/stop-reply-no-thread-multi.c: New file.
1342 * gdb.server/stop-reply-no-thread-multi.exp: New file.
1344 2021-01-12 Tom de Vries <tdevries@suse.de>
1346 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
1347 (main): Remove call to have_mpx.
1348 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
1349 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
1350 (main): Remote call to have_mpx.
1351 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
1352 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
1353 (main): Remove call to have_mpx.
1354 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
1355 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
1356 (main): Remove call to have_mpx.
1357 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
1358 * gdb.arch/i386-mpx.c (have_mpx): Remove.
1359 (main): Remote call to have_mpx.
1360 * gdb.arch/i386-mpx.exp: Use have_mpx.
1361 * lib/gdb.exp (have_mpx): New proc.
1363 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1365 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
1367 2021-01-12 Tom de Vries <tdevries@suse.de>
1369 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
1371 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1373 * gdb.fortran/debug-expr.exp: Add new tests.
1375 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1377 * gdb.fortran/dot-ops.exp: Add new tests.
1379 2021-01-11 Tom de Vries <tdevries@suse.de>
1382 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
1383 Move insn setting $eax to before probe point.
1385 2021-01-09 Tom Tromey <tom@tromey.com>
1387 * gdb.trace/ax.exp: Do not require an "ext".
1389 2021-01-08 Tom Tromey <tromey@adacore.com>
1391 * gdb.ada/voidctx/pck.adb: New file.
1392 * gdb.ada/voidctx/pck.ads: New file.
1393 * gdb.ada/voidctx/voidctx.adb: New file.
1394 * gdb.ada/voidctx.exp: New file.
1396 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
1399 * gdb.base/empty-host-env-vars.exp: New test.
1401 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1403 * gdb.base/completion.exp: Add a new test.
1405 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1407 * gdb.fortran/intvar-dynamic-types.exp: New file.
1408 * gdb.fortran/intvar-dynamic-types.f90: New file.
1410 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1412 * gdb.fortran/intvar-array.exp: New file.
1413 * gdb.fortran/intvar-array.f90: New file.
1415 2021-01-07 Tom Tromey <tromey@adacore.com>
1417 * gdb.ada/assign_arr.exp: Add 'others' test.
1419 2021-01-06 Tom Tromey <tromey@adacore.com>
1421 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
1422 (FP4_Type): New type.
1423 (FP4_Var): New variable.
1424 * gdb.ada/fixed_points/fixed_points.adb: Update.
1425 * gdb.ada/fixed_points.exp: Add tests for binary operators.
1427 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
1429 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
1430 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1431 Pass prompt containing debug print to gdb_test_sequence.
1433 2021-01-04 Tom de Vries <tdevries@suse.de>
1435 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
1437 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1441 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1443 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
1444 * gdb.server/connect-without-multi-process.exp: Likewise.
1445 * gdb.server/exit-multiple-threads.exp: Likewise.
1446 * gdb.server/ext-attach.exp: Likewise.
1447 * gdb.server/ext-restart.exp: Likewise.
1448 * gdb.server/ext-run.exp: Likewise.
1449 * gdb.server/ext-wrapper.exp: Likewise.
1450 * gdb.server/multi-ui-errors.exp: Likewise.
1451 * gdb.server/no-thread-db.exp: Likewise.
1452 * gdb.server/reconnect-ctrl-c.exp: Likewise.
1453 * gdb.server/run-without-local-binary.exp: Likewise.
1454 * gdb.server/server-kill.exp: Likewise.
1455 * gdb.server/server-run.exp: Likewise.
1456 * gdb.server/solib-list.exp: Likewise.
1457 * gdb.server/stop-reply-no-thread.exp: Likewise.
1458 * gdb.server/wrapper.exp: Likewise.
1459 * gdb.server/sysroot.exp: Increase timeout when testing the
1462 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1464 * gdb.server/server-run.exp: Use clean_restart.
1466 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1468 * gdb.server/ext-run.exp: Use clean_restart.
1470 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1472 * gdb.server/stop-reply-no-thread.exp: Use build_executable
1473 instead of prepare_for_testing.
1475 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1477 * gdb.server/solib-list.exp: Use clean_restart.
1479 2021-01-04 Tom de Vries <tdevries@suse.de>
1481 * gdb.base/morestack.c: Remove printf.
1482 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
1484 2020-12-31 Tom Tromey <tom@tromey.com>
1486 * gdb.rust/simple.exp: Update output for Rust 1.49.
1488 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
1490 * gdb.cp/step-and-next-inline.exp: Fix test case.
1492 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
1494 * gdb.python/py-frame-args.exp: De-duplicate test names.
1496 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * gdb.dwarf2/dyn-type-unallocated.c: New file.
1500 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
1502 2020-12-21 Peter Waller <p@pwaller.net>
1504 * gdb.base/style-interp-exec-mi.exp: New.
1505 * gdb.base/style-interp-exec-mi.c: New.
1507 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1509 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
1510 gdb_test. Use proc_with_prefix.
1512 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1514 * gdb.btrace/exception.exp: Build with nopie.
1515 * gdb.btrace/function_call_history.exp: Likewise.
1516 * gdb.btrace/unknown_functions.exp: Likewise.
1518 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1520 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
1522 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1524 * gdb.python/py-record-btrace.exp: Make test names unique.
1525 * gdb.python/py-record-full.exp: Likewise.
1527 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1529 * gdb.btrace/data.exp: Make test names unique.
1530 * gdb.btrace/delta.exp: Likewise.
1531 * gdb.btrace/enable.exp: Likewise.
1532 * gdb.btrace/function_call_history.exp: Likewise.
1533 * gdb.btrace/nohist.exp: Likewise.
1534 * gdb.btrace/non-stop.exp: Likewise.
1535 * gdb.btrace/rn-dl-bind.exp: Likewise.
1536 * gdb.btrace/step.exp: Likewise.
1537 * gdb.btrace/stepi.exp: Likewise.
1538 * gdb.btrace/tailcall.exp: Likewise.
1540 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
1542 * gdb.btrace/enable.exp: Update error message.
1543 * gdb.btrace/multi-inferior.exp: Likewise.
1544 * gdb.btrace/reconnect.exp: Likewise.
1545 * gdb.python/py-record-btrace.exp: Likewise.
1546 * gdb.python/py-record-full.exp: Likewise.
1548 2020-12-20 Tom de Vries <tdevries@suse.de>
1550 * lib/gdb.exp (save_target_board_info): New proc.
1551 (gdb_compile_shlib): Use save_target_board_info.
1553 2020-12-19 Tom de Vries <tdevries@suse.de>
1555 * lib/gdb.exp (supports_scalar_storage_order_attribute)
1556 (supports_gnuc): New proc.
1557 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
1558 test_compiler_info calls. Add unsupported message.
1559 * gdb.base/endianity.c: Use TEST_SSO.
1561 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
1564 * gdb.python/compare-enum-type-a.c: New test.
1565 * gdb.python/compare-enum-type-b.c: New test.
1566 * gdb.python/compare-enum-type.exp: New file.
1567 * gdb.python/compare-enum-type.h: New test.
1569 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1571 * gdb.python/py-format-string.exp: Add tests for address keyword.
1573 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
1575 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
1577 2020-12-18 Tom Tromey <tromey@adacore.com>
1579 * gdb.ada/fixed_points.exp: Also run with
1580 -fgnat-encodings=minimal. Update expected output.
1582 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
1584 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
1585 * gdb.base/continue-all-already-running.exp: Likewise.
1586 * gdb.base/moribund-step.exp: Likewise.
1587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
1589 2020-12-16 Tom de Vries <tdevries@suse.de>
1591 * gdb.base/batch-preserve-term-settings.exp:
1593 2020-12-16 Tom de Vries <tdevries@suse.de>
1595 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
1596 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
1598 2020-12-16 Luis Machado <luis.machado@linaro.org>
1600 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
1601 pointer-based memory accesses.
1602 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
1603 hw watchpoint cases.
1605 2020-12-15 Rae Kim <rae.kim@gmail.com>
1607 * gdb.base/document.exp: New test.
1609 2020-12-15 Tom Tromey <tromey@adacore.com>
1611 * gdb.base/style.exp: Add deprecation tests.
1613 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
1615 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
1617 2020-12-14 Mark Wielaard <mark@klomp.org>
1619 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
1620 specially, set attr_form_comment to the actual FORM string used.
1622 2020-12-14 Mark Wielaard <mark@klomp.org>
1624 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
1625 _constants(SPECIAL_expr) here, but set it...
1626 (Dwarf::cu): ...here based on _cu_version.
1628 2020-12-14 Tom de Vries <tdevries@suse.de>
1630 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
1632 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
1633 * gdb.base/break-probes.exp: Same.
1634 * gdb.base/ctxobj.exp: Same.
1635 * gdb.base/dso2dso.exp: Same.
1636 * gdb.base/global-var-nested-by-dso.exp: Same.
1637 * gdb.base/info-shared.exp: Same.
1638 * gdb.base/jit-reader-simple.exp: Same.
1639 * gdb.base/print-file-var.exp: Same.
1640 * gdb.base/skip-solib.exp: Same.
1641 * gdb.btrace/dlopen.exp: Same.
1643 2020-12-14 Tom de Vries <tdevries@suse.de>
1646 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
1648 2020-12-14 Tom de Vries <tdevries@suse.de>
1651 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
1652 cast it to its declared type".
1654 2020-12-14 Tom de Vries <tdevries@suse.de>
1657 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
1660 2020-12-14 Tom Tromey <tromey@adacore.com>
1662 * gdb.ada/nested.exp: Add new tests.
1663 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
1665 2020-12-14 Tom Tromey <tromey@adacore.com>
1667 * gdb.dwarf2/ada-thick-pointer.exp: New file.
1669 2020-12-14 Tom Tromey <tromey@adacore.com>
1671 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
1673 2020-12-13 Tom de Vries <tdevries@suse.de>
1676 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
1677 attribute support if compiler doesn't support it.
1679 2020-12-13 Tom de Vries <tdevries@suse.de>
1681 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
1682 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
1683 source to shared lib. Add ada to options.
1685 2020-12-13 Tom de Vries <tdevries@suse.de>
1687 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
1688 calling gnatbind and gnatlink.
1690 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1692 * gdb.base/dcache-flush.c: New file.
1693 * gdb.base/dcache-flush.exp: New file.
1695 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
1697 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
1699 * gdb.base/killed-outside.exp: Likewise.
1700 * gdb.opt/inline-bt.exp: Likewise.
1701 * gdb.perf/gmonster-null-lookup.py: Likewise.
1702 * gdb.perf/gmonster-print-cerr.py: Likewise.
1703 * gdb.perf/gmonster-ptype-string.py: Likewise.
1704 * gdb.python/py-unwind.exp: Likewise.
1706 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1708 * gdb.base/commands.exp: Update expected results.
1710 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1713 * gdb.base/commands.exp: Add additional tests.
1714 * gdb.base/completion.exp: Add additional tests.
1716 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1718 * gdb.base/completion.exp: Add additional tests.
1720 2020-12-11 Tom de Vries <tdevries@suse.de>
1723 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
1724 violations by setting bounds registers if the bounds are passed in the
1727 2020-12-11 Tom de Vries <tdevries@suse.de>
1730 * gdb.base/float128.exp: Detect and handle no mpfr support.
1732 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
1735 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
1738 2020-12-10 Tom de Vries <tdevries@suse.de>
1741 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
1742 braces for tcl 8.5 and earlier.
1744 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
1747 * gdb.base/flexible-array-member.c: New test.
1748 * gdb.base/flexible-array-member.exp: New test.
1750 2020-12-08 Tom de Vries <tdevries@suse.de>
1752 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1753 using is_amd64_regs_target.
1755 2020-12-08 Tom de Vries <tdevries@suse.de>
1757 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1760 2020-12-07 Pedro Alves <pedro@palves.net>
1762 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1763 'additional_flags' variable.
1765 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1767 * gdb.linespec/explicit.exp: Extend with a test to check completing
1768 '-' after seemingly complete options.
1770 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1772 * gdb.linespec/keywords.exp: Add tests to check positional
1773 flexibility of "-force-condition".
1775 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1777 * gdb.base/bp-cmds-run-with-ex.c: New file.
1778 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1779 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1780 * gdb.gdb/python-interrupts.exp: Update the call to
1781 'catch_command_errors' with the new argument.
1782 * gdb.gdb/python-selftest.exp: Ditto.
1784 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1786 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1787 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1788 * gdb.threads/non-stop-fair-events.exp: Likewise.
1790 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1792 * gdb.threads/step-over-exec.exp: New.
1793 * gdb.threads/step-over-exec.c: New.
1794 * gdb.threads/step-over-exec-execd.c: New.
1795 * lib/my-syscalls.S: New.
1796 * lib/my-syscalls.h: New.
1798 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1800 * lib/dwarf.exp (declare_labels): Use name as text if text is
1803 2020-12-04 Tom de Vries <tdevries@suse.de>
1806 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1809 2020-12-04 Tom de Vries <tdevries@suse.de>
1811 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1814 2020-12-04 Tom de Vries <tdevries@suse.de>
1816 * gdb.reverse/insn-reverse.exp: Fix count handling.
1818 2020-12-04 Tom de Vries <tdevries@suse.de>
1820 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1823 2020-12-04 Tom de Vries <tdevries@suse.de>
1825 * gdb.reverse/insn-reverse.c (test_nr): New var.
1826 (usage, parse_args): New function.
1827 (main): Call parse_args. Only run test for test_nr.
1828 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1829 and bail out. Run subtests individually, using an inferior arg
1830 specifying the subtest.
1832 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1834 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1836 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1838 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1839 update test to use this.
1841 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1843 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1845 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1847 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1848 (do_test): Don't use with_test_prefix.
1849 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1850 (do_test): Don't use with_test_prefix.
1851 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1852 (do_test): Don't use with_test_prefix.
1853 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1854 (do_test): Don't use with_test_prefix.
1856 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1858 * gdb.threads/non-ldr-exit.exp: Fix comment.
1860 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1862 * gdb.xml/maint-xml-dump-03.xml: New file.
1864 2020-11-30 Tom de Vries <tdevries@suse.de>
1867 * gdb.dwarf2/count.exp: Remove kfails.
1869 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1871 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1874 2020-11-24 Joel Brobecker <brobecker@adacore.com>
1876 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1877 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1878 languages. Remove the associated setup_xfail.
1880 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
1882 * lib/gdb.exp (gdb_assert): Show error message on error.
1884 2020-11-23 Tom de Vries <tdevries@suse.de>
1886 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1887 * gdb.ada/mod_from_name.exp: Same.
1888 * gdb.ada/pckd_arr_ren.exp: Same.
1890 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1892 * gdb.base/template.exp: New.
1893 * gdb.base/template.c: New.
1895 2020-11-22 Gary Benson <gbenson@redhat.com>
1898 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1899 is defined using a DW_AT_count which references another DIE.
1901 2020-11-21 Tom de Vries <tdevries@suse.de>
1903 * gdb.base/vla-ptr.exp: Add XFAIL.
1905 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1907 * gdb.fortran/array-slices-bad.exp: New file.
1908 * gdb.fortran/array-slices-bad.f90: New file.
1909 * gdb.fortran/array-slices-sub-slices.exp: New file.
1910 * gdb.fortran/array-slices-sub-slices.f90: New file.
1911 * gdb.fortran/array-slices.exp: Rewrite tests.
1912 * gdb.fortran/array-slices.f90: Rewrite tests.
1913 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1915 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1917 * gdb.base/completion.exp: Add new completion tests.
1919 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1921 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1922 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1923 * gdb.mi/mi-nsintrall.exp: Likewise.
1924 * gdb.mi/mi-nsmoribund.exp: Likewise.
1925 * gdb.mi/mi-nsthrexec.exp: Likewise.
1926 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1928 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1930 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1933 2020-11-18 Joseph Myers <joseph@codesourcery.com>
1935 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1936 $arg.exe exists but $arg does not.
1938 2020-11-17 Gary Benson <gbenson@redhat.com>
1940 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1941 __attribute__ ((used)).
1943 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1945 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1947 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1949 * gdb.base/completion.exp: Add new tests.
1951 2020-11-16 Tom Tromey <tromey@adacore.com>
1953 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1956 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1958 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1959 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1960 (main): Add reference to pck__fp1_var2.
1961 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1963 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1965 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1967 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1969 * gdb.ada/fixed_points.exp: Add ptype tests.
1970 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1972 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1974 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1976 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1978 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1979 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1980 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1982 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1984 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1987 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1990 * gdb.fortran/completion.exp: New file.
1991 * gdb.fortran/completion.f90: New file.
1993 2020-11-12 Joseph Myers <joseph@codesourcery.com>
1995 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1998 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
2000 * gdb.fortran/types.exp: Add more tests.
2002 2020-11-12 Tom Tromey <tom@tromey.com>
2005 * gdb.rust/traits.exp: Remove kfails.
2007 2020-11-12 Gary Benson <gbenson@redhat.com>
2009 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
2012 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
2014 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
2015 always-inserted" axis.
2016 (do_test): Add breakpoint_always_inserted parameter.
2018 2020-11-10 Tom Tromey <tromey@adacore.com>
2020 * gdb.ada/bias.exp: Update.
2021 * gdb.ada/bias/bias.adb (X): Change value.
2023 2020-11-10 Gary Benson <gbenson@redhat.com>
2025 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
2026 regexp fragment in parentheses to prevent false matching.
2028 2020-11-10 Gary Benson <gbenson@redhat.com>
2030 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
2032 2020-11-10 Gary Benson <gbenson@redhat.com>
2034 * gdb.cp/step-and-next-inline.exp: Only require
2035 -gstatement-frontiers when building with GCC.
2036 Only setup KFAIL's for GCC issues when using
2037 a GCC-built executable.
2039 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
2041 * gdb.base/debug-expr.c: Add extra function to allow for an
2043 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
2044 to this proc with gdb_test_debug_expr. Add an extra test.
2045 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
2046 to this proc with gdb_test_debug_expr, give the tests names
2047 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
2048 calls to this proc with gdb_test_debug_expr, give the tests names
2049 * gdb.fortran/debug-expr.exp: New file.
2050 * gdb.fortran/debug-expr.f90: New file.
2051 * lib/gdb.exp (gdb_test_debug_expr): New proc.
2053 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
2055 * lib/dwarf.exp (ranges): Handle "base" and "range" as
2057 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
2058 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
2059 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
2060 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
2061 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
2062 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
2063 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
2064 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
2066 2020-11-04 Tom Tromey <tromey@adacore.com>
2068 * gdb.ada/funcall_ref.exp: Update.
2069 * gdb.ada/var_rec_arr.exp: Update.
2071 2020-11-04 Tom Tromey <tromey@adacore.com>
2073 * gdb.ada/rec_ptype.exp: New file.
2074 * gdb.ada/rec_ptype/main.adb: New file.
2075 * gdb.ada/rec_ptype/p.ads: New file.
2077 2020-11-04 Tom Tromey <tromey@adacore.com>
2079 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
2080 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
2081 (PT_Full): New variable.
2082 * gdb.ada/tick_length_array_enum_idx/pck.adb
2083 (Full_PT): New type.
2085 2020-11-04 Tom Tromey <tromey@adacore.com>
2087 * gdb.ada/array_of_variant.exp: New file.
2088 * gdb.ada/array_of_variant/p.adb: New file.
2089 * gdb.ada/array_of_variant/pck.ads: New file.
2090 * gdb.ada/array_of_variant/pck.adb: New file.
2092 2020-11-04 Tom Tromey <tromey@adacore.com>
2094 * gdb.ada/enum_idx_packed.exp: Add test.
2095 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
2097 * gdb.ada/enum_idx_packed/pck.ads (Short)
2098 (Multi_Dimension, Multi_Dimension_Access): New types.
2100 2020-11-04 Tom Tromey <tromey@adacore.com>
2102 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
2104 2020-11-04 Tom Tromey <tromey@adacore.com>
2106 * gdb.ada/set_pckd_arr_elt.exp: Also test
2107 -fgnat-encodings=minimal. Add tests.
2108 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
2109 Call Update_Small a second time.
2110 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
2111 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
2112 (Variant_Access): New types.
2113 (New_Variant): Declare.
2115 2020-11-04 Tom Tromey <tromey@adacore.com>
2117 * gdb.ada/mod_from_name.exp: Test printing slice.
2119 2020-11-04 Tom Tromey <tromey@adacore.com>
2121 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
2123 * gdb.ada/access_to_unbounded_array.exp: Test different
2124 -fgnat-encodings values.
2125 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
2127 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
2129 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
2131 * gdb.ada/array_of_variable_length.exp: Test different
2132 -fgnat-encodings values.
2133 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
2134 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
2135 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
2137 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
2139 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
2140 * gdb.ada/out_of_line_in_inlined.exp: Test different
2141 -fgnat-encodings values.
2142 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
2144 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
2146 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
2147 -fgnat-encodings values.
2148 * gdb.ada/variant_record_packed_array.exp: Test different
2149 -fgnat-encodings values.
2151 2020-11-04 Tom Tromey <tromey@adacore.com>
2153 * gdb.ada/enum_idx_packed.exp: Add tests.
2154 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
2155 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
2156 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
2159 2020-11-03 Tom de Vries <tdevries@suse.de>
2161 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
2162 terminator comments.
2163 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
2166 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
2168 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
2169 integer format test with regexp.
2171 2020-11-02 Gary Benson <gbenson@redhat.com>
2173 * gdb.base/print-file-var.exp (test): Separate compiler and
2174 linker options, and build using build_executable_from_specs
2175 to accommodate this.
2177 2020-11-02 Gary Benson <gbenson@redhat.com>
2179 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
2180 for .c files compiled as C++ with Clang if any shared
2181 libraries are specified.
2183 2020-11-02 Gary Benson <gbenson@redhat.com>
2185 * lib/attributes.h: New header.
2186 * gdb.base/backtrace.c: Include the above. Replace
2187 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
2188 * gdb.base/infcall-nested-structs.c: Likewise.
2189 * gdb.base/vla-optimized-out.c: Likewise.
2191 2020-11-02 Tom de Vries <tdevries@suse.de>
2193 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
2195 2020-11-01 Joel Brobecker <brobecker@adacore.com>
2197 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
2198 System.Min_Int and System.Max_Int with smaller hardcoded
2201 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2203 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
2204 * configure: Re-generate.
2206 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
2208 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
2211 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2213 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
2215 * gdb.base/paginate-bg-execution.exp: Ditto.
2216 * gdb.base/paginate-inferior-exit.exp: Ditto.
2217 * gdb.base/double-prompt-target-event-error.c: Remove.
2218 * gdb.base/double-prompt-target-event-error.exp: Remove.
2220 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2222 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
2223 inferiors' and 'detach inferiors' do not change the current
2226 2020-10-29 Tom de Vries <tdevries@suse.de>
2228 * gdb.threads/tls.exp: Fix DUPLICATEs.
2230 2020-10-28 Tom de Vries <tdevries@suse.de>
2232 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
2234 2020-10-28 Tom de Vries <tdevries@suse.de>
2236 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
2237 * gdb.base/reread.exp: Same.
2239 2020-10-28 Tom de Vries <tdevries@suse.de>
2241 * lib/gdb.exp (readnow): Handle arg.
2242 * gdb.rust/traits.exp: Add KFAILs for -readnow.
2244 2020-10-28 Tom de Vries <tdevries@suse.de>
2246 * gdb.base/relocate.exp: Update regexp for -readnow.
2248 2020-10-28 Tom de Vries <tdevries@suse.de>
2250 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
2253 2020-10-28 Tom de Vries <tdevries@suse.de>
2256 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
2257 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
2259 2020-10-28 Tom de Vries <tdevries@suse.de>
2261 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
2262 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
2263 complaint during file command for -readnow.
2265 2020-10-28 Tom de Vries <tdevries@suse.de>
2267 * gdb.cp/nsalias.exp: Fix typo in test name.
2269 2020-10-28 Tom de Vries <tdevries@suse.de>
2271 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
2273 2020-10-28 Tom de Vries <tdevries@suse.de>
2275 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
2278 2020-10-27 Tom de Vries <tdevries@suse.de>
2280 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
2282 2020-10-27 Tom de Vries <tdevries@suse.de>
2284 * gdb.base/maint.exp: Update for -readnow.
2286 2020-10-27 Tom de Vries <tdevries@suse.de>
2288 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
2291 2020-10-14 Gary Benson <gbenson@redhat.com>
2293 * gdb.python/py-format-string.exp (test_deref_refs): Treat
2294 "_vptr$Base" as correct, in addition to "_vptr.Base".
2295 (test_mixed): Likewise.
2297 2020-10-27 Gary Benson <gbenson@redhat.com>
2299 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
2300 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
2302 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2304 * gdb.base/condbreak.exp: Update the completion tests to
2305 consider the '-force' flag.
2307 2020-10-27 Tom de Vries <tdevries@suse.de>
2309 * gdb.base/list-ambiguous-readnow.exp: New file.
2311 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2313 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
2315 * gdb.linespec/cpcompletion.exp: Update to consider the
2316 '-force-condition' keyword.
2317 * gdb.linespec/explicit.exp: Ditto.
2318 * lib/completion-support.exp: Ditto.
2320 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2322 * gdb.base/condbreak-multi-context.cc: New file.
2323 * gdb.base/condbreak-multi-context.exp: New file.
2325 2020-10-26 Tom Tromey <tom@tromey.com>
2327 * lib/mi-support.exp (default_mi_gdb_start): Call
2329 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
2330 subtract one from gdb_instances.
2331 (gdb_stdin_log_write): Flush in_file.
2333 2020-10-26 Tom de Vries <tdevries@suse.de>
2335 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
2337 2020-10-26 Tom Tromey <tromey@adacore.com>
2339 * gdb.ada/unsigned_range/foo.adb: New file.
2340 * gdb.ada/unsigned_range/pack.adb: New file.
2341 * gdb.ada/unsigned_range/pack.ads: New file.
2342 * gdb.ada/unsigned_range.exp: New file.
2344 2020-10-26 Tom de Vries <tdevries@suse.de>
2346 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
2348 2020-10-26 Tom de Vries <tdevries@suse.de>
2350 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
2352 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
2354 2020-10-23 Tom de Vries <tdevries@suse.de>
2356 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
2358 (Dwarf::_default_form): New proc.
2359 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
2362 2020-10-23 Tom de Vries <tdevries@suse.de>
2364 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
2365 * gdb.dwarf2/atomic-type.exp: Same.
2366 * gdb.dwarf2/bad-regnum.exp: Same.
2367 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2368 * gdb.dwarf2/dw2-align.exp: Same.
2369 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2370 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2371 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2372 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2373 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2374 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2375 * gdb.dwarf2/enum-type.exp: Same.
2376 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
2377 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2378 * gdb.dwarf2/main-subprogram.exp: Same.
2379 * gdb.dwarf2/missing-type-name.exp: Same.
2380 * gdb.dwarf2/nonvar-access.exp: Same.
2381 * gdb.dwarf2/typedef-void-finish.exp: Same.
2382 * gdb.dwarf2/var-access.exp: Same.
2383 * gdb.dwarf2/void-type.exp: Same.
2385 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
2388 * gdb.dwarf2/template-specification-full-name.exp: New test.
2390 2020-10-22 Luis Machado <luis.machado@linaro.org>
2392 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
2393 expected an offset from the function.
2394 * gdb.base/msym-bp.exp (test): Likewise.
2396 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
2398 * gdb.fortran/array-slices.exp: Add a new test.
2400 2020-10-21 Gary Benson <gbenson@redhat.com>
2402 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
2403 fullname test with Clang. Also expand comments generally.
2405 2020-10-20 Tom de Vries <tdevries@suse.de>
2407 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
2409 2020-10-20 Tom de Vries <tdevries@suse.de>
2411 * gdb.dwarf2/arr-stride.c: Remove.
2412 * gdb.dwarf2/arr-stride.exp: Use main.c.
2413 * gdb.dwarf2/arr-subrange.c: Remove.
2414 * gdb.dwarf2/arr-subrange.exp: Use main.c.
2415 * gdb.dwarf2/bad-regnum.c: Remove.
2416 * gdb.dwarf2/bad-regnum.exp: Use main.c.
2417 * gdb.dwarf2/corrupt.c: Remove.
2418 * gdb.dwarf2/corrupt.exp: Use main.c.
2419 * gdb.dwarf2/dw2-bad-elf.c: Remove.
2420 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
2421 * gdb.dwarf2/dw2-icycle.c: Remove.
2422 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
2423 * gdb.dwarf2/formdata16.c: Remove.
2424 * gdb.dwarf2/formdata16.exp: Use main.c.
2425 * gdb.dwarf2/implptrconst.c: Remove.
2426 * gdb.dwarf2/implptrconst.exp: Use main.c.
2427 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
2428 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
2429 * gdb.dwarf2/opaque-type-lookup.c: Remove.
2430 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
2432 2020-10-20 Tom de Vries <tdevries@suse.de>
2434 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
2436 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
2438 2020-10-20 Tom de Vries <tdevries@suse.de>
2440 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
2441 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2442 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
2443 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2444 * gdb.dwarf2/dw2-ranges.exp: Same.
2445 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2446 * gdb.dwarf2/var-access.exp: Same.
2448 2020-10-19 Tom Tromey <tromey@adacore.com>
2451 * gdb.tui/list.exp: Check source window contents after focus
2454 2020-10-17 Tom de Vries <tdevries@suse.de>
2457 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
2459 2020-10-17 Tom de Vries <tdevries@suse.de>
2461 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
2463 * gdb.dwarf2/atomic.c: Rename to ...
2464 * gdb.dwarf2/atomic-type.c: ... this.
2465 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
2466 * gdb.dwarf2/dw2-ranges-2.c: ... this.
2467 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
2468 * gdb.dwarf2/dw2-ranges-3.c: ... this.
2469 * gdb.dwarf2/fission-mix2.c: Rename to ...
2470 * gdb.dwarf2/fission-mix-2.c: ... this.
2471 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
2473 * gdb.dwarf2/ada-valprint-error.exp: Same.
2474 * gdb.dwarf2/arr-stride.exp: Same.
2475 * gdb.dwarf2/arr-subrange.exp: Same.
2476 * gdb.dwarf2/atomic-type.exp: Same.
2477 * gdb.dwarf2/bad-regnum.exp: Same.
2478 * gdb.dwarf2/break-inline-psymtab.exp: Same.
2479 * gdb.dwarf2/clang-debug-names-2.exp: Same.
2480 * gdb.dwarf2/clang-debug-names.exp: Same.
2481 * gdb.dwarf2/comp-unit-lang.exp: Same.
2482 * gdb.dwarf2/corrupt.exp: Same.
2483 * gdb.dwarf2/count.exp: Same.
2484 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2485 * gdb.dwarf2/data-loc.exp: Same.
2486 * gdb.dwarf2/dw2-align.exp: Same.
2487 * gdb.dwarf2/dw2-bad-elf.exp: Same.
2488 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2489 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
2490 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
2491 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
2492 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2493 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
2494 * gdb.dwarf2/dw2-inline-param.exp: Same.
2495 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2496 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2497 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2498 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2499 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
2500 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
2501 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2502 * gdb.dwarf2/dw2-param-error.exp: Same.
2503 * gdb.dwarf2/dw2-ranges-base.exp: Same.
2504 * gdb.dwarf2/dw2-ranges.exp: Same.
2505 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
2506 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
2507 * gdb.dwarf2/dw4-sig-types.exp: Same.
2508 * gdb.dwarf2/dynarr-ptr.exp: Same.
2509 * gdb.dwarf2/enum-type.exp: Same.
2510 * gdb.dwarf2/fission-mix.exp: Same.
2511 * gdb.dwarf2/formdata16.exp: Same.
2512 * gdb.dwarf2/implptrconst.exp: Same.
2513 * gdb.dwarf2/implptrpiece.exp: Same.
2514 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2515 * gdb.dwarf2/main-subprogram.exp: Same.
2516 * gdb.dwarf2/method-ptr.exp: Same.
2517 * gdb.dwarf2/missing-sig-type.exp: Same.
2518 * gdb.dwarf2/nonvar-access.exp: Same.
2519 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2520 * gdb.dwarf2/shortpiece.exp: Same.
2521 * gdb.dwarf2/staticvirtual.exp: Same.
2522 * gdb.dwarf2/subrange.exp: Same.
2523 * gdb.dwarf2/symtab-producer.exp: Same.
2524 * gdb.dwarf2/typedef-void-finish.exp: Same.
2525 * gdb.dwarf2/var-access.exp: Same.
2526 * gdb.dwarf2/variant.exp: Same.
2527 * gdb.dwarf2/void-type.exp: Same.
2528 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
2530 * gdb.dwarf2/dw2-ranges-main.c: Remove.
2532 2020-10-16 Tom de Vries <tdevries@suse.de>
2534 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
2536 2020-10-16 Tom de Vries <tdevries@suse.de>
2538 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
2540 2020-10-14 Tom de Vries <tdevries@suse.de>
2543 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
2545 * gdb.ada/mi_catch_ex_hand.exp: Same.
2547 2020-10-13 Pedro Alves <pedro@palves.net>
2549 * lib/mi-support.exp (mi_clean_restart): New.
2550 (mi_run_to_main): Delete.
2551 All callers adjust to use mi_clean_restart / mi_runto_main.
2553 2020-10-13 Pedro Alves <pedro@palves.net>
2555 * config/monitor.exp: Use "list -q".
2556 * gdb.arch/gdb1558.exp: Use "break -q".
2557 * gdb.arch/i386-permbkpt.exp: Use "break -q".
2558 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
2559 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
2560 * gdb.base/commands.exp: Use "break -q".
2561 * gdb.base/condbreak.exp: Use "break -q".
2562 * gdb.base/ctf-ptype.exp: Use "list -q".
2563 * gdb.base/define.exp: Use "break -q".
2564 * gdb.base/del.exp: Use "break -q".
2565 * gdb.base/fullname.exp: Use "break -q".
2566 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
2567 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
2568 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
2569 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
2571 * gdb.base/included.exp: Use "list -q".
2572 * gdb.base/label.exp: Use "break -q".
2573 * gdb.base/lineinc.exp: Use "break -q".
2574 * gdb.base/list.exp: Use "list -q".
2575 * gdb.base/macscp.exp: Use "list -q".
2576 * gdb.base/pending.exp: Use "break -q".
2577 * gdb.base/prologue-include.exp: Use "break -q".
2578 * gdb.base/ptype.exp: Use "list -q".
2579 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
2580 * gdb.base/server-del-break.exp: Use "break -q".
2581 * gdb.base/style.exp: Use "break -q".
2582 * gdb.base/symbol-without-target_section.exp: Use "list -q".
2583 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
2584 * gdb.cp/exception.exp: Use "tbreak -q".
2585 * gdb.dwarf2/dw2-error.exp: Use "break -q".
2586 * gdb.dwarf2/fission-mix.exp: Use "break -q".
2587 * gdb.dwarf2/fission-reread.exp: Use "break -q".
2588 * gdb.dwarf2/pr13961.exp: Use "break -q".
2589 * gdb.linespec/explicit.exp: Use "list -q".
2590 * gdb.linespec/linespec.exp: Use "break -q".
2591 * gdb.mi/mi-simplerun.exp: Use "--qualified".
2592 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
2593 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
2594 * gdb.server/connect-without-multi-process.exp: Use "break -q".
2595 * gdb.trace/change-loc.exp: Use "break -q".
2596 * gdb.trace/pending.exp: Use "break -q".
2597 * gdb.tui/basic.exp: Use "list -q".
2598 * gdb.tui/list-before.exp: Use "list -q".
2599 * gdb.tui/list.exp: Use "list -q".
2600 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
2602 2020-10-13 Pedro Alves <pedro@palves.net>
2604 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
2605 saved breakpoints file.
2606 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
2607 inspecting breakpoint list.
2608 * lib/gdb.exp (runto_main): Add "qualified" to options.
2609 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
2611 (mi_runto_main): Pass 1 as qualified argument.
2613 2020-10-13 Pedro Alves <pedro@palves.net>
2615 * lib/mi-support.exp (mi_runto_main): New proc.
2616 (mi_run_to_main): Use it.
2617 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
2618 * gdb.mi/mi-var-cmd.exp: Likewise.
2619 * gdb.mi/mi-var-invalidate.exp: Likewise.
2620 * mi-var-list-children-invalid-grandchild.exp: Likewise.
2621 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2622 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2623 * gdb.mi/user-selected-context-sync.exp: Likewise.
2624 * gdb.opt/inline-cmds.exp: Likewise.
2625 * gdb.python/py-framefilter-mi.exp: Likewise.
2626 * gdb.python/py-mi.exp: Likewise.
2628 2020-10-13 Pedro Alves <pedro@palves.net>
2630 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
2632 * gdb.ada/small_reg_param.exp: Likewise.
2633 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2634 * gdb.base/annota1.exp: Likewise.
2635 * gdb.base/anon.exp: Likewise.
2636 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
2637 * gdb.base/dprintf-non-stop.exp: Likewise.
2638 * gdb.base/dprintf.exp: Likewise.
2639 * gdb.base/gdb11530.exp: Likewise.
2640 * gdb.base/gdb11531.exp: Likewise.
2641 * gdb.base/gnu_vector.exp: Likewise.
2642 * gdb.base/interrupt-noterm.exp: Likewise.
2643 * gdb.base/memattr.exp: Likewise.
2644 * gdb.base/step-over-syscall.exp: Likewise.
2645 * gdb.base/watch-cond-infcall.exp: Likewise.
2646 * gdb.base/watch-read.exp: Likewise.
2647 * gdb.base/watch-vfork.exp: Likewise.
2648 * gdb.base/watch_thread_num.exp: Likewise.
2649 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
2650 * gdb.guile/scm-frame-inline.exp: Likewise.
2651 * gdb.linespec/explicit.exp: Likewise.
2652 * gdb.opt/inline-break.exp: Likewise.
2653 * gdb.python/py-frame-inline.exp: Likewise.
2654 * gdb.reverse/break-precsave.exp: Likewise.
2655 * gdb.reverse/break-reverse.exp: Likewise.
2656 * gdb.reverse/consecutive-precsave.exp: Likewise.
2657 * gdb.reverse/consecutive-reverse.exp: Likewise.
2658 * gdb.reverse/finish-precsave.exp: Likewise.
2659 * gdb.reverse/finish-reverse.exp: Likewise.
2660 * gdb.reverse/fstatat-reverse.exp: Likewise.
2661 * gdb.reverse/getresuid-reverse.exp: Likewise.
2662 * gdb.reverse/i386-precsave.exp: Likewise.
2663 * gdb.reverse/i386-reverse.exp: Likewise.
2664 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2665 * gdb.reverse/i387-env-reverse.exp: Likewise.
2666 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2667 * gdb.reverse/insn-reverse.exp: Likewise.
2668 * gdb.reverse/machinestate-precsave.exp: Likewise.
2669 * gdb.reverse/machinestate.exp: Likewise.
2670 * gdb.reverse/pipe-reverse.exp: Likewise.
2671 * gdb.reverse/readv-reverse.exp: Likewise.
2672 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2673 * gdb.reverse/rerun-prec.exp: Likewise.
2674 * gdb.reverse/s390-mvcle.exp: Likewise.
2675 * gdb.reverse/solib-precsave.exp: Likewise.
2676 * gdb.reverse/solib-reverse.exp: Likewise.
2677 * gdb.reverse/step-precsave.exp: Likewise.
2678 * gdb.reverse/step-reverse.exp: Likewise.
2679 * gdb.reverse/time-reverse.exp: Likewise.
2680 * gdb.reverse/until-precsave.exp: Likewise.
2681 * gdb.reverse/until-reverse.exp: Likewise.
2682 * gdb.reverse/waitpid-reverse.exp: Likewise.
2683 * gdb.reverse/watch-precsave.exp: Likewise.
2684 * gdb.reverse/watch-reverse.exp: Likewise.
2685 * gdb.threads/kill.exp: Likewise.
2686 * gdb.threads/tid-reuse.exp: Likewise.
2688 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
2691 * gdb.base/maint-target-async-off.c: New test.
2692 * gdb.base/maint-target-async-off.exp: New test.
2694 2020-10-13 Alan Modra <amodra@gmail.com>
2696 * gdb.arch/powerpc-altivec.s,
2697 * gdb.arch/powerpc-power7.s,
2698 * gdb.arch/powerpc-power8.s,
2699 * gdb.arch/powerpc-power9.s,
2700 * gdb.arch/powerpc-vsx.s,
2701 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
2702 * gdb.arch/powerpc-altivec.exp,
2703 * gdb.arch/powerpc-power7.exp,
2704 * gdb.arch/powerpc-power8.exp,
2705 * gdb.arch/powerpc-power9.exp,
2706 * gdb.arch/powerpc-vsx.exp,
2707 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
2708 disassembly of mfvsrd/mtvsrd.
2710 2020-10-13 Alan Modra <amodra@gmail.com>
2712 * gdb.arch/arm-disassembler-options.exp: Adjust expected
2713 "target architecture" output.
2714 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2715 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2716 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2717 * gdb.arch/s390-disassembler-options.exp: Likewise.
2719 2020-10-12 Pedro Alves <pedro@palves.net>
2723 * gdb.cp/ambiguous.cc (marker1): Delete.
2724 (main): Initialize all the fields of the locals. Replace marker1
2725 call with a "set breakpoint here" marker.
2726 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
2727 instead of running to marker1. Add tests printing all the
2728 variables and all the fields of the variables.
2729 (test_ambiguous): New proc, expecting the new GDB output when a
2730 field access is ambiguous. Change all "warning: X ambiguous"
2733 2020-10-12 Gary Benson <gbenson@redhat.com>
2735 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
2736 * gdb.base/msym-bp-2.c (foo): Likewise.
2737 * gdb.base/msym-lang.c (foo): Likewise.
2738 * gdb.base/msym-lang-main.c (foo): Likewise.
2739 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
2740 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
2741 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
2742 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
2743 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
2744 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
2745 * gdb.python/py-objfile.c (static_var): Likewise.
2746 * gdb.python/py-symbol.c (rr): Likewise.
2747 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2748 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2750 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2752 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2753 output of backtrace.
2755 2020-10-09 Tom Tromey <tromey@adacore.com>
2757 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2758 (Rec): Add field. Fix range.
2759 * gdb.ada/scalar_storage.exp: Update.
2761 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
2764 * gdb.base/printcmds.exp: Add tests for void results.
2766 2020-10-09 Jan Vrany <jan.vrany@labware.com>
2768 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2769 is emmited for both 'set directories' and 'directory' commands.
2771 2020-10-08 Tom Tromey <tom@tromey.com>
2773 * gdb.base/style.exp: Check that "main"'s name is styled.
2775 2020-10-07 Tom Tromey <tromey@adacore.com>
2777 * gdb.base/find.exp: Rename some tests.
2779 2020-10-06 Gary Benson <gbenson@redhat.com>
2781 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2782 * gdb.base/list1.c (unused): Likewise.
2784 2020-10-06 Gary Benson <gbenson@redhat.com>
2786 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2787 __attribute__ ((used)).
2788 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2790 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2792 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2793 make use of regions throughout.
2794 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2796 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2798 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
2800 * gdb.base/call-sc.c: Fix return struct on stack test case.
2801 * gdb.base/call-sc.exp: Likewise.
2803 2020-10-02 Gary Benson <gbenson@redhat.com>
2805 * README: Fix "paralell".
2807 2020-09-30 Gary Benson <gbenson@redhat.com>
2809 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2810 Convert directive to lowercase.
2811 (.Labbrev1_begin): Add missing label.
2812 (abbrev code 0x1): Remove DW_AT_stmt_list.
2813 (.Ldie_b): Likewise.
2815 2020-09-27 Tom Tromey <tom@tromey.com>
2817 * gdb.tui/new-layout.exp: Use with_test_prefix.
2819 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2822 * gdb.python/python.exp: add test cases for the from_tty
2823 argument to gdb.execute.
2825 2020-09-25 Gary Benson <gbenson@redhat.com>
2827 * gdb.base/infcall-nested-structs.exp.tcl: Add
2828 additional_flags=-Wno-tautological-compare for C++
2829 tests when compiling using Clang.
2831 2020-09-25 Gary Benson <gbenson@redhat.com>
2833 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2836 2020-09-24 Tom Tromey <tromey@adacore.com>
2839 * gdb.tui/list.exp: Check output of "focus next".
2841 2020-09-23 Tom Tromey <tom@tromey.com>
2843 * gdb.dwarf2/intbits.exp: New file.
2844 * gdb.dwarf2/intbits.c: New file.
2846 2020-09-20 Pedro Alves <pedro@palves.net>
2848 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2849 spawn_id before calling remote_close. Close secondary MI channel.
2851 2020-09-20 Pedro Alves <pedro@palves.net>
2853 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2856 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2858 * gdb.fortran/array-slices.exp: Update expected results.
2859 * gdb.fortran/class-allocatable-array.exp: Likewise.
2860 * gdb.fortran/multi-dim.exp: Likewise.
2861 * gdb.fortran/vla-type.exp: Likewise.
2862 * gdb.mi/mi-vla-fortran.exp: Likewise.
2864 2020-09-18 Victor Collod <vcollod@nvidia.com>
2867 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2868 compatible with i386, and move it to...
2869 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2870 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2871 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2873 2020-09-18 Pedro Alves <pedro@palves.net>
2876 * gdb.multi/multi-target-thread-find.exp: New file.
2878 2020-09-18 Pedro Alves <pedro@palves.net>
2880 * gdb.multi/multi-target-continue.exp: New file, factored out from
2882 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2884 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2886 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2888 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2890 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2892 * gdb.multi/multi-target.exp: Delete.
2894 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2896 * gdb.fortran/array-slices.exp: Add missing message data.
2898 2020-09-17 Pedro Alves <pedro@palves.net>
2900 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2902 2020-09-17 Pedro Alves <pedro@palves.net>
2904 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2907 2020-09-17 Pedro Alves <pedro@palves.net>
2909 * gdb.python/py-as-string.c: Add cast.
2911 2020-09-17 Pedro Alves <pedro@palves.net>
2913 * gdb.base/sizeof.c (fill): Add cast.
2915 2020-09-17 Pedro Alves <pedro@palves.net>
2917 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2919 2020-09-17 Pedro Alves <pedro@palves.net>
2921 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2923 * gdb.base/prologue.exp: Use print /d.
2924 * gdb.base/symbol-alias.exp: Handle C++ output.
2925 * gdb.base/symbol-alias2.c: Handle C++ output.
2926 [__cplusplus] (func): Explicitly specify linkage name.
2928 2020-09-17 Pedro Alves <pedro@palves.net>
2930 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2931 (struct my_key_t): ... this. Adjust all references.
2932 (struct value_t): Rename to ...
2933 (struct my_value_t): ... this. Adjust all references.
2934 (create_map, add_map_element, create_map_map)
2935 (add_map_map_element): Add casts.
2937 2020-09-17 Pedro Alves <pedro@palves.net>
2939 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2940 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2942 2020-09-17 Pedro Alves <pedro@palves.net>
2944 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2946 2020-09-17 Pedro Alves <pedro@palves.net>
2948 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2949 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2950 (charfoo, intfoo): Define full prototype.
2951 * gdb.base/ptype1.c (charfoo): Define full prototype.
2952 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2953 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2955 2020-09-17 Pedro Alves <pedro@palves.net>
2957 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2959 (utf_32_string): Compile for both C and C++.
2960 * gdb.base/charset.exp: Use "print /d".
2962 2020-09-17 Pedro Alves <pedro@palves.net>
2964 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2965 (nullptr): Rename to ...
2966 (null_ptr): ... this.
2967 * gdb.base/watchpoint.exp: Adjust to rename.
2969 2020-09-17 Pedro Alves <pedro@palves.net>
2971 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2972 (three_not_flag): Add casts.
2974 2020-09-17 Pedro Alves <pedro@palves.net>
2976 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2978 (main): Add references to Barrier, TestStrings, TestStringsH and
2980 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2981 and expect a full prototype in C++.
2983 2020-09-17 Pedro Alves <pedro@palves.net>
2985 * gdb.base/nested-addr.c (main): Add cast.
2986 * gdb.base/nested-addr.exp: Use "print /d".
2988 2020-09-17 Pedro Alves <pedro@palves.net>
2990 * gdb.base/break.exp (func): New. Use it throughout when
2991 expecting a function name.
2993 2020-09-17 Pedro Alves <pedro@palves.net>
2995 * gdb.base/display.exp: Issue "set print asm-demangle on".
2997 2020-09-17 Pedro Alves <pedro@palves.net>
2999 * gdb.base/find.c: Include <string.h>.
3000 (init_bufs): Add cast.
3001 * gdb.base/find.exp: Issue "set print asm-demangle on".
3003 2020-09-16 Tom Tromey <tromey@adacore.com>
3006 * gdb.base/skipcxx.exp: New file.
3007 * gdb.base/skipcxx.cc: New file.
3009 2020-09-16 Tom de Vries <tdevries@suse.de>
3012 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
3013 WITH_DEBUG_SECTIONS is defined.
3014 (xstr, str): New macro.
3015 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
3016 to get start and size of _Dmain.
3017 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
3018 using additional_flags.
3020 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3022 * gdb.base/bp-cmds-sourced-script.c: New file.
3023 * gdb.base/bp-cmds-sourced-script.exp: New test.
3024 * gdb.base/bp-cmds-sourced-script.gdb: New file.
3026 2020-09-16 Tom de Vries <tdevries@suse.de>
3028 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
3029 get the gdb prompt after issuing "monitor exit".
3031 2020-09-16 Tom de Vries <tdevries@suse.de>
3034 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
3036 2020-09-16 Tom de Vries <tdevries@suse.de>
3039 * gdb.tui/new-layout.exp: Escape unbalanced braces.
3041 2020-09-15 Tom Tromey <tromey@adacore.com>
3044 * lib/rust-support.exp (rust_llvm_version): New proc.
3045 * gdb.rust/simple.exp: Check rust_llvm_version.
3047 2020-09-14 Tom de Vries <tdevries@suse.de>
3049 * gdb.rust/traits.exp: Fix PATH warning.
3051 2020-09-13 Pedro Alves <pedro@palves.net>
3053 * gdb.base/catch-follow-exec.c (main): Add explicit return
3055 * gdb.base/catch-signal.c (main): Likewise.
3056 * gdb.base/condbreak-call-false.c (main): Likewise.
3057 * gdb.base/consecutive.c (main): Add explicit return
3058 statement and return type.
3059 * gdb.base/cursal.c (main): Add explicit return statement.
3060 * gdb.base/cvexpr.c (main): Likewise.
3061 * gdb.base/display.c (main): Add explicit return statement and
3063 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
3064 * gdb.base/endianity.c (main): Likewise.
3065 * gdb.base/execd-prog.c (main): Likewise.
3066 * gdb.base/gdb1090.c (main): Likewise.
3067 * gdb.base/info_qt.c (main): Likewise.
3068 * gdb.base/lineinc.c (main): Likewise.
3069 * gdb.base/load-command.c (main): Likewise.
3070 * gdb.base/macscp1.c (main): Likewise.
3071 * gdb.base/pr10179-a.c (main): Likewise.
3072 * gdb.base/quit-live.c (main): Likewise.
3073 * gdb.base/scope0.c (main): Likewise.
3074 * gdb.base/settings.c (main): Likewise.
3075 * gdb.base/stack-checking.c (main): Return int.
3076 * gdb.base/varargs.c (main): Add explicit return statement.
3077 * gdb.cp/ambiguous.cc (main): Likewise.
3078 * gdb.cp/anon-struct.cc (main): Likewise.
3079 * gdb.cp/anon-union.cc (main): Likewise.
3080 * gdb.cp/bool.cc (main): Likewise.
3081 * gdb.cp/bs15503.cc (main): Likewise.
3082 * gdb.cp/cplusfuncs.cc (main): Likewise.
3083 * gdb.cp/cttiadd.cc (main): Likewise.
3084 * gdb.cp/extern-c.cc (main): Likewise.
3085 * gdb.cp/filename.cc (main): Likewise.
3086 * gdb.cp/formatted-ref.cc (main): Likewise.
3087 * gdb.cp/mb-ctor.cc (main): Likewise.
3088 * gdb.cp/member-ptr.cc (main): Likewise.
3089 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
3090 * gdb.cp/overload-const.cc (main): Likewise.
3091 * gdb.cp/paren-type.cc (main): Likewise.
3092 * gdb.cp/parse-lang.cc (main): Likewise.
3093 * gdb.cp/pr-1023.cc (main): Likewise.
3094 * gdb.cp/psmang1.cc (main): Likewise.
3095 * gdb.cp/readnow-language.cc (main): Likewise.
3096 * gdb.cp/ref-params.cc (main): Likewise.
3097 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
3098 * gdb.cp/virtbase2.cc (main): Likewise.
3099 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
3100 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
3101 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
3102 * gdb.mi/mi-console.c (main): Likewise.
3103 * gdb.mi/mi-read-memory.c (main): Likewise.
3104 * gdb.modula2/multidim.c (main): Likewise.
3105 * gdb.opt/inline-small-func.c (main): Likewise.
3106 * gdb.python/py-rbreak.c (main): Likewise.
3107 * gdb.stabs/exclfwd1.c (main): Likewise.
3108 * gdb.trace/qtro.c (main): Likewise.
3110 2020-09-13 Pedro Alves <pedro@palves.net>
3112 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
3115 2020-09-13 Pedro Alves <pedro@palves.net>
3117 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
3118 instead of spawning GDB with remote_spawn.
3119 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
3120 gdb_spawn instead of spawning GDB with remote_spawn.
3122 2020-09-13 Pedro Alves <pedro@palves.net>
3124 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
3125 file and add calls to first and second.
3126 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
3129 2020-09-13 Pedro Alves <pedro@palves.net>
3131 * gdb.mi/mi-break-qualified.cc: New file.
3132 * gdb.mi/mi-break-qualified.exp: New file.
3133 * lib/mi-support.exp (mi_create_breakpoint_multi)
3134 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
3136 (mi_create_breakpoint_1): New, factored out from
3137 mi_create_breakpoint.
3139 2020-09-13 Pedro Alves <pedro@palves.net>
3141 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
3142 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
3143 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
3144 (register_class): Delete.
3145 (main): Don't call register_class.
3147 2020-09-13 Pedro Alves <pedro@palves.net>
3149 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
3150 (do_tests): Remove "calling method for small class" test.
3151 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
3152 (register_class): Delete.
3153 (main): Don't call register_class.
3154 * gdb.cp/call-method-register.exp: New file, based on bits removed
3156 * gdb.cp/call-method-register.cc: New file, based on bits removed
3159 2020-09-13 Pedro Alves <pedro@palves.net>
3161 * gdb.base/msym-bp-2.c: New.
3162 * gdb.base/msym-bp-shl-lib.c: New file.
3163 * gdb.base/msym-bp-shl-main-2.c: New file.
3164 * gdb.base/msym-bp-shl-main.c: New file.
3165 * gdb.base/msym-bp-shl.exp: New file.
3166 * gdb.base/msym-bp.c: New file.
3167 * gdb.base/msym-bp.exp: New file.
3169 2020-09-13 Joel Brobecker <brobecker@adacore.com>
3171 * gdb.base/default.exp: Change $_gdb_major to 11.
3173 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
3174 Felix Willgerodt <Felix.Willgerodt@intel.com>
3176 * x86-avx512bf16.c: New file.
3177 * x86-avx512bf16.exp: Likewise.
3178 * lib/gdb.exp (skip_avx512bf16_tests): New function.
3180 2020-09-11 Tom de Vries <tdevries@suse.de>
3183 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
3185 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3187 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
3189 2020-09-10 Alan Modra <amodra@gmail.com>
3192 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
3194 2020-09-08 Tom de Vries <tdevries@suse.de>
3196 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
3197 after gdb_starti_cmd.
3199 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3201 * lib/fortran.exp (fortran_complex8): New proc.
3202 (fortran_complex16): New proc.
3203 * gdb.fortran/complex.exp: Use routines from fortran.exp
3204 * gdb.fortran/pointer-to-pointer.exp: Likewise.
3205 * gdb.fortran/vla-ptr-info.exp: Likewise.
3207 2020-09-03 Tom de Vries <tdevries@suse.de>
3210 * gdb.base/label-without-address.exp: Runto main first.
3212 2020-09-02 Tom Tromey <tromey@adacore.com>
3214 * gdb.ada/mi_var_access.exp: Test children of access variable.
3215 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
3216 * gdb.ada/mi_var_array.exp: Update.
3218 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3220 * gdb.base/corefile.exp (warning-free): XFAIL test when running
3221 on docker w/ AUFS storage driver.
3223 2020-08-31 Kevin Buettner <kevinb@redhat.com>
3225 * gdb.base/corefile2.exp (renamed binfile): New tests.
3227 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3229 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
3231 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3233 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
3234 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
3236 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
3238 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
3239 output, printing a "not saved" value from history and printing a
3240 convenience variable created from a "not saved" value.
3242 2020-08-31 Tom de Vries <tdevries@suse.de>
3244 * gdb.base/eh_return.exp: Use nopie.
3246 2020-08-28 Pedro Alves <pedro@palves.net>
3248 * gdb.base/advance-until-multiple-locations.exp
3249 (advance_overload, until_overload): Adjust to match the
3250 frame/function header instead of the source line text.
3252 2020-08-28 Tom de Vries <tdevries@suse.de>
3254 * gdb.base/label-without-address.c: New test.
3255 * gdb.base/label-without-address.exp: New file.
3257 2020-08-27 Pedro Alves <pedro@palves.net>
3261 * gdb.base/advance-until-multiple-locations.cc: New.
3262 * gdb.base/advance-until-multiple-locations.exp: New.
3264 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
3266 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
3268 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3270 * gdb.arch/amd64-byte.exp: Make test names unique, use
3271 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3272 * gdb.arch/amd64-dword.exp: Likewise.
3273 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
3274 * gdb.arch/amd64-stap-special-operands.exp: Make test names
3276 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
3277 * gdb.arch/amd64-word.exp: Make test names unique, use
3278 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
3279 * gdb.arch/i386-byte.exp: Make test names unique, use
3281 * gdb.arch/i386-word.exp: Likewise.
3283 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
3285 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
3287 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
3290 * gdb.threads/stepi-random-signal.exp: Update pattern.
3292 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
3295 * gdb.base/ui-redirect.exp: Update pattern.
3297 2020-08-25 Gary Benson <gbenson@redhat.com>
3299 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
3300 when compiling with clang.
3301 * gdb.dwarf2/dw2-restore.exp: Likewise.
3303 2020-08-25 Gary Benson <gbenson@redhat.com>
3305 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
3306 Add additional_flags=-Wno-inaccessible-base when compiling
3307 with GCC >= 10.1 or clang. Add additional_flags=-w when
3308 compiling with GCC < 10.
3310 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
3313 * gdb.modula2/multidim.c: New file.
3314 * gdb.modula2/multidim.exp: New file.
3316 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
3318 * lib/gdb.exp (runto): Always emit fail on internal error.
3320 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
3322 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
3323 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3325 * gdb.threads/stepi-random-signal.exp: Likewise.
3327 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3329 * gdb.base/print-file-var.exp: Fix typo "breapoint".
3330 * gdb.trace/strace.exp: Ditto.
3332 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3334 * gdb.fortran/vla-type.exp: Skip commands not required for
3335 the Flang compiled binaries after prologue fix.
3337 2020-08-17 Tom de Vries <tdevries@suse.de>
3338 Tom Tromey <tromey@adacore.com>
3341 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
3343 2020-08-17 Tom Tromey <tromey@adacore.com>
3345 * gdb.ada/mi_var_access.exp: New file.
3346 * gdb.ada/mi_var_access/mi_access.adb: New file.
3347 * gdb.ada/mi_var_access/pck.adb: New file.
3348 * gdb.ada/mi_var_access/pck.ads: New file.
3350 2020-08-16 Tom de Vries <tdevries@suse.de>
3353 * gdb.base/eh_return.c: New test.
3354 * gdb.base/eh_return.exp: New file.
3356 2020-08-15 Tom de Vries <tdevries@suse.de>
3358 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
3359 (mixed_func_1d_): Use fortran_charlen_t in decl.
3361 2020-08-15 Tom de Vries <tdevries@suse.de>
3364 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
3365 Update expected pattern.
3367 2020-08-13 Pedro Alves <pedro@palves.net>
3369 * gdb.fortran/complex.exp: Check skip_fortran_tests.
3370 * gdb.fortran/library-module.exp: Likewise.
3371 * gdb.fortran/logical.exp: Likewise.
3372 * gdb.fortran/module.exp: Likewise.
3373 * gdb.fortran/print_type.exp: Likewise.
3374 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3375 * gdb.fortran/vla-datatypes.exp: Likewise.
3376 * gdb.fortran/vla-history.exp: Likewise.
3377 * gdb.fortran/vla-ptr-info.exp: Likewise.
3378 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3379 * gdb.fortran/vla-ptype.exp: Likewise.
3380 * gdb.fortran/vla-sizeof.exp: Likewise.
3381 * gdb.fortran/vla-type.exp: Likewise.
3382 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3383 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3384 * gdb.fortran/vla-value-sub.exp: Likewise.
3385 * gdb.fortran/vla-value.exp: Likewise.
3387 2020-08-13 Pedro Alves <pedro@palves.net>
3389 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
3390 * gdb.ada/access_to_packed_array.exp: Likewise.
3391 * gdb.ada/access_to_unbounded_array.exp: Likewise.
3392 * gdb.ada/addr_arith.exp: Likewise.
3393 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
3394 * gdb.ada/arr_arr.exp: Likewise.
3395 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
3396 * gdb.ada/array_bounds.exp: Likewise.
3397 * gdb.ada/array_of_variable_length.exp: Likewise.
3398 * gdb.ada/array_ptr_renaming.exp: Likewise.
3399 * gdb.ada/array_subscript_addr.exp: Likewise.
3400 * gdb.ada/arraydim.exp: Likewise.
3401 * gdb.ada/arrayparam.exp: Likewise.
3402 * gdb.ada/arrayptr.exp: Likewise.
3403 * gdb.ada/assign_1.exp: Likewise.
3404 * gdb.ada/assign_arr.exp: Likewise.
3405 * gdb.ada/atomic_enum.exp: Likewise.
3406 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3407 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
3408 * gdb.ada/bias.exp: Likewise.
3409 * gdb.ada/boolean_expr.exp: Likewise.
3410 * gdb.ada/bp_c_mixed_case.exp: Likewise.
3411 * gdb.ada/bp_enum_homonym.exp: Likewise.
3412 * gdb.ada/bp_inlined_func.exp: Likewise.
3413 * gdb.ada/bp_on_var.exp: Likewise.
3414 * gdb.ada/bp_range_type.exp: Likewise.
3415 * gdb.ada/bp_reset.exp: Likewise.
3416 * gdb.ada/call_pn.exp: Likewise.
3417 * gdb.ada/catch_assert_if.exp: Likewise.
3418 * gdb.ada/catch_ex.exp: Likewise.
3419 * gdb.ada/catch_ex_std.exp: Likewise.
3420 * gdb.ada/char_enum.exp: Likewise.
3421 * gdb.ada/char_param.exp: Likewise.
3422 * gdb.ada/complete.exp: Likewise.
3423 * gdb.ada/cond_lang.exp: Likewise.
3424 * gdb.ada/convvar_comp.exp: Likewise.
3425 * gdb.ada/dgopt.exp: Likewise.
3426 * gdb.ada/disc_arr_bound.exp: Likewise.
3427 * gdb.ada/display_nested.exp: Likewise.
3428 * gdb.ada/dot_all.exp: Likewise.
3429 * gdb.ada/dyn_loc.exp: Likewise.
3430 * gdb.ada/dyn_stride.exp: Likewise.
3431 * gdb.ada/excep_handle.exp: Likewise.
3432 * gdb.ada/expr_delims.exp: Likewise.
3433 * gdb.ada/expr_with_funcall.exp: Likewise.
3434 * gdb.ada/exprs.exp: Likewise.
3435 * gdb.ada/fin_fun_out.exp: Likewise.
3436 * gdb.ada/fixed_cmp.exp: Likewise.
3437 * gdb.ada/formatted_ref.exp: Likewise.
3438 * gdb.ada/frame_arg_lang.exp: Likewise.
3439 * gdb.ada/frame_args.exp: Likewise.
3440 * gdb.ada/fullname_bp.exp: Likewise.
3441 * gdb.ada/fun_addr.exp: Likewise.
3442 * gdb.ada/fun_in_declare.exp: Likewise.
3443 * gdb.ada/fun_overload_menu.exp: Likewise.
3444 * gdb.ada/fun_renaming.exp: Likewise.
3445 * gdb.ada/funcall_char.exp: Likewise.
3446 * gdb.ada/funcall_param.exp: Likewise.
3447 * gdb.ada/funcall_ptr.exp: Likewise.
3448 * gdb.ada/funcall_ref.exp: Likewise.
3449 * gdb.ada/homonym.exp: Likewise.
3450 * gdb.ada/info_addr_mixed_case.exp: Likewise.
3451 * gdb.ada/info_auto_lang.exp: Likewise.
3452 * gdb.ada/info_exc.exp: Likewise.
3453 * gdb.ada/info_types.exp: Likewise.
3454 * gdb.ada/int_deref.exp: Likewise.
3455 * gdb.ada/interface.exp: Likewise.
3456 * gdb.ada/iwide.exp: Likewise.
3457 * gdb.ada/lang_switch.exp: Likewise.
3458 * gdb.ada/length_cond.exp: Likewise.
3459 * gdb.ada/maint_with_ada.exp: Likewise.
3460 * gdb.ada/mi_catch_assert.exp: Likewise.
3461 * gdb.ada/mi_catch_ex.exp: Likewise.
3462 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
3463 * gdb.ada/mi_dyn_arr.exp: Likewise.
3464 * gdb.ada/mi_ex_cond.exp: Likewise.
3465 * gdb.ada/mi_exc_info.exp: Likewise.
3466 * gdb.ada/mi_interface.exp: Likewise.
3467 * gdb.ada/mi_prot.exp: Likewise.
3468 * gdb.ada/mi_ref_changeable.exp: Likewise.
3469 * gdb.ada/mi_string_access.exp: Likewise.
3470 * gdb.ada/mi_task_arg.exp: Likewise.
3471 * gdb.ada/mi_task_info.exp: Likewise.
3472 * gdb.ada/mi_var_array.exp: Likewise.
3473 * gdb.ada/mi_var_union.exp: Likewise.
3474 * gdb.ada/mi_variant.exp: Likewise.
3475 * gdb.ada/minsyms.exp: Likewise.
3476 * gdb.ada/mod_from_name.exp: Likewise.
3477 * gdb.ada/nested.exp: Likewise.
3478 * gdb.ada/null_array.exp: Likewise.
3479 * gdb.ada/optim_drec.exp: Likewise.
3480 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
3481 * gdb.ada/packed_array_assign.exp: Likewise.
3482 * gdb.ada/packed_tagged.exp: Likewise.
3483 * gdb.ada/pp-rec-component.exp: Likewise.
3484 * gdb.ada/print_chars.exp: Likewise.
3485 * gdb.ada/print_pc.exp: Likewise.
3486 * gdb.ada/ptr_typedef.exp: Likewise.
3487 * gdb.ada/ptype_arith_binop.exp: Likewise.
3488 * gdb.ada/ptype_array.exp: Likewise.
3489 * gdb.ada/ptype_field.exp: Likewise.
3490 * gdb.ada/ptype_tagged_param.exp: Likewise.
3491 * gdb.ada/ptype_union.exp: Likewise.
3492 * gdb.ada/py_range.exp: Likewise.
3493 * gdb.ada/py_taft.exp: Likewise.
3494 * gdb.ada/rdv_wait.exp: Likewise.
3495 * gdb.ada/rec_comp.exp: Likewise.
3496 * gdb.ada/rec_return.exp: Likewise.
3497 * gdb.ada/ref_param.exp: Likewise.
3498 * gdb.ada/ref_tick_size.exp: Likewise.
3499 * gdb.ada/rename_subscript_param.exp: Likewise.
3500 * gdb.ada/repeat_dyn.exp: Likewise.
3501 * gdb.ada/same_component_name.exp: Likewise.
3502 * gdb.ada/same_enum.exp: Likewise.
3503 * gdb.ada/scalar_storage.exp: Likewise.
3504 * gdb.ada/set_wstr.exp: Likewise.
3505 * gdb.ada/small_reg_param.exp: Likewise.
3506 * gdb.ada/str_binop_equal.exp: Likewise.
3507 * gdb.ada/str_ref_cmp.exp: Likewise.
3508 * gdb.ada/str_uninit.exp: Likewise.
3509 * gdb.ada/sub_variant.exp: Likewise.
3510 * gdb.ada/sym_print_name.exp: Likewise.
3511 * gdb.ada/taft_type.exp: Likewise.
3512 * gdb.ada/tagged.exp: Likewise.
3513 * gdb.ada/tagged_access.exp: Likewise.
3514 * gdb.ada/task_bp.exp: Likewise.
3515 * gdb.ada/task_switch_in_core.exp: Likewise.
3516 * gdb.ada/tasks.exp: Likewise.
3517 * gdb.ada/tick_last_segv.exp: Likewise.
3518 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
3519 * gdb.ada/type_coercion.exp: Likewise.
3520 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3521 * gdb.ada/unchecked_union.exp: Likewise.
3522 * gdb.ada/uninitialized_vars.exp: Likewise.
3523 * gdb.ada/var_arr_attrs.exp: Likewise.
3524 * gdb.ada/var_arr_typedef.exp: Likewise.
3525 * gdb.ada/var_rec_arr.exp: Likewise.
3526 * gdb.ada/variant-record.exp: Likewise.
3527 * gdb.ada/variant.exp: Likewise.
3528 * gdb.ada/variant_record_packed_array.exp: Likewise.
3529 * gdb.ada/varsize_limit.exp: Likewise.
3530 * gdb.ada/whatis_array_val.exp: Likewise.
3531 * gdb.ada/widewide.exp: Likewise.
3532 * gdb.ada/win_fu_syms.exp: Likewise.
3534 2020-08-12 Gary Benson <gbenson@redhat.com>
3536 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
3538 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
3540 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
3541 unset the array variable.
3543 2020-08-03 Tom de Vries <tdevries@suse.de>
3546 * lib/dwarf.exp (DW_LNE_user): New proc.
3547 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
3548 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
3550 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3552 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
3554 (inttypes.h): Include.
3556 2020-07-31 Kevin Buettner <kevinb@redhat.com>
3558 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
3560 (C5_8k, C5_64k, C5_256k): New macros.
3561 (buf_ro): Allocate 256 KiB of initialized data.
3563 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3565 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
3566 that attempt to overwrite an existing condition with a condition
3567 that fails parsing and also with a condition that parses fine
3568 but contains junk at the end.
3570 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3572 * gdb.base/condbreak-bad.c: New test.
3573 * gdb.base/condbreak-bad.exp: New file.
3575 2020-07-30 Tom de Vries <tdevries@suse.de>
3577 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
3579 (GDBInfoModuleSymbols::check_entry): ... here.
3580 (GDBInfoModuleSymbols::check_optional_entry): New proc.
3581 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
3582 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
3584 2020-07-30 Tom de Vries <tdevries@suse.de>
3586 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
3587 "__class_some_module_Number_t" optional.
3589 2020-07-29 Tom de Vries <tdevries@suse.de>
3591 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
3594 2020-07-29 Tom de Vries <tdevries@suse.de>
3596 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
3597 rather than function name.
3599 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3602 * gdb.cp/disasm-func-name.cc: New file.
3603 * gdb.cp/disasm-func-name.exp: New file.
3605 2020-07-28 Tom Tromey <tromey@adacore.com>
3607 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
3610 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3612 * gdb.python/py-unwind.py: Update to make use of a register
3615 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3617 * gdb.python/py-arch-reg-names.exp: Add additional tests.
3619 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
3623 * gdb.fortran/class-allocatable-array.exp: New file.
3624 * gdb.fortran/class-allocatable-array.f90: New file.
3625 * gdb.fortran/pointer-to-pointer.exp: New file.
3626 * gdb.fortran/pointer-to-pointer.f90: New file.
3628 2020-07-25 Tom de Vries <tdevries@suse.de>
3631 * gdb.dwarf2/dw2-line-number-zero.c: New test.
3632 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
3634 2020-07-24 Tom de Vries <tdevries@suse.de>
3637 * gdb.ada/mi_prot.exp: Require gnatmake-8.
3639 2020-07-23 Pedro Alves <pedro@palves.net>
3641 * gdb.server/server-kill.exp (prepare): New, factored out from the
3644 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
3645 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
3647 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
3649 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
3651 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
3653 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
3654 Initialize to empty string at top level.
3655 (gdb_wrapper_init): Revert check for file existence on build.
3656 Build the wrapper in its default place, not a build-specific
3657 location. When host == build, make the pathname absolute.
3658 (gdb_compile): Delete leftover declaration of
3659 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
3660 string instead of uninitialized.
3662 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3664 * gdb.base/corefile2.exp: New file.
3665 * gdb.base/coremaker2.exp: New file.
3667 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3669 * gdb.base/coredump-filter.exp: Add second
3670 non-Private-Shared-Anon-File test.
3671 (test_disasm): Rename binfile for test which is expected
3674 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3676 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
3678 * gdb.base/coremaker.c (buf2ro): New global.
3679 (mmapdata): Add a read-only mmap mapping.
3681 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3684 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
3686 * gdb.base/coremaker.c (buf3): New global.
3687 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
3690 2020-07-22 Kevin Buettner <kevinb@redhat.com>
3692 * gdb.base/coremaker.c (filler_ro): New global constant.
3694 2020-07-22 Tom Tromey <tromey@adacore.com>
3696 * gdb.ada/mi_prot.exp: New file.
3697 * gdb.ada/mi_prot/pkg.adb: New file.
3698 * gdb.ada/mi_prot/pkg.ads: New file.
3699 * gdb.ada/mi_prot/prot.adb: New file.
3701 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3703 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
3706 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3708 * gdb.python/py-arch-reg-groups.exp: Additional tests.
3710 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
3712 * gdb.python/py-arch-reg-names.exp: Additional tests.
3714 2020-07-21 Tom de Vries <tdevries@suse.de>
3716 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
3717 breakpoint locations".
3718 * gdb.reverse/solib-reverse.exp: Same.
3720 2020-07-21 Tom de Vries <tdevries@suse.de>
3722 * gdb.reverse/step-reverse.c (callee): Merge statements.
3724 2020-07-21 Tom de Vries <tdevries@suse.de>
3726 * gdb.fortran/info-modules.exp (info module variables): Allow missing
3727 line numbers for some variables.
3729 2020-07-21 Tom de Vries <tdevries@suse.de>
3731 * gdb.opt/inline-locals.c (init_array): New func.
3732 (func1): Use init_array.
3733 * gdb.opt/inline-locals.exp: Update pattern.
3735 2020-07-21 Tom de Vries <tdevries@suse.de>
3737 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
3738 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
3740 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3742 * gdb.guile/source2.scm: Add #f first argument to 'format'.
3743 * gdb.guile/types-module.exp: Remove "ERROR:" from
3744 regexps since Guile 3.0 no longer prints that.
3746 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3748 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3749 error regexp to match on Guile 2.2.
3751 2020-07-20 Gary Benson <gbenson@redhat.com>
3753 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3756 2020-07-20 Tom de Vries <tdevries@suse.de>
3758 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3759 (omp_set_lock_in_order): New function.
3760 (single_scope, multi_scope, nested_func, nested_parallel): Use
3761 omp_set_lock_in_order and omp_unset_lock.
3762 (main): Init and destroy lock and lock2.
3764 2020-07-20 Tom de Vries <tdevries@suse.de>
3766 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3768 2020-07-20 Tom de Vries <tdevries@suse.de>
3770 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3772 2020-07-17 Tom de Vries <tdevries@suse.de>
3774 * gdb.base/valgrind-infcall-2.c: New test.
3775 * gdb.base/valgrind-infcall-2.exp: New file.
3776 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3778 2020-07-17 Tom de Vries <tdevries@suse.de>
3780 * gdb.dlang/circular.c (found): Use found_label as label name.
3781 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3782 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3783 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3784 * gdb.dwarf2/ada-linkage-name.exp: Same.
3785 * gdb.dwarf2/arr-subrange.exp: Same.
3786 * gdb.dwarf2/atomic-type.exp: Same.
3787 * gdb.dwarf2/comp-unit-lang.exp: Same.
3788 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3789 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3790 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3791 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3792 * gdb.dwarf2/implptr-64bit.exp: Same.
3793 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3794 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3795 * gdb.dwarf2/imported-unit.exp: Same.
3796 * gdb.dwarf2/main-subprogram.exp: Same.
3797 * gdb.dwarf2/missing-type-name.exp: Same.
3798 * gdb.dwarf2/nonvar-access.exp: Same.
3799 * gdb.dwarf2/struct-with-sig.exp: Same.
3800 * gdb.dwarf2/typedef-void-finish.exp: Same.
3801 * gdb.dwarf2/void-type.exp: Same.
3803 2020-07-17 Tom de Vries <tdevries@suse.de>
3805 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3807 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3808 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3809 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3810 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3811 * gdb.dwarf2/dwz.exp: Same.
3812 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3813 * gdb.dwarf2/implref-array.exp: Same.
3814 * gdb.dwarf2/implref-const.exp: Same.
3815 * gdb.dwarf2/implref-global.exp: Same.
3816 * gdb.dwarf2/implref-struct.exp: Same.
3817 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3818 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3819 * gdb.dwarf2/var-access.exp: Same.
3820 * gdb.dwarf2/varval.exp: Same.
3821 * gdb.trace/entry-values.exp: Same.
3823 2020-07-17 Tom de Vries <tdevries@suse.de>
3825 * lib/dwarf.exp (Dwarf::extern): Remove.
3826 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3827 * gdb.dlang/circular.exp: Same.
3828 * gdb.dwarf2/comp-unit-lang.exp: Same.
3829 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3830 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3831 * gdb.dwarf2/dwz.exp: Same.
3832 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3833 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3834 * gdb.dwarf2/imported-unit.exp: Same.
3835 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3837 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3839 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3840 Use double quotes instead of single quotes.
3842 2020-07-16 Caroline Tice <cmtice@google.com>
3844 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3845 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3847 2020-07-16 Tom de Vries <tdevries@suse.de>
3849 * lib/dwarf.exp (program): Initialize _line.
3850 (DW_LNE_end_sequence): Reinitialize _line.
3851 (DW_LNS_advance_line): Update _line.
3853 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3854 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3855 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3856 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3857 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3858 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3860 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3862 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3865 2020-07-15 Tom de Vries <tdevries@suse.de>
3867 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3868 is_amd64_regs_target.
3870 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3872 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3873 * gdb.fortran/ptype-on-functions.f90: Likewise.
3875 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3877 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3878 values in documentation for addr_size to 4 and 8.
3880 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3882 * gdb.arch/amd64-osabi.exp: Update.
3883 * gdb.arch/arm-disassembler-options.exp: Update.
3884 * gdb.arch/powerpc-disassembler-options.exp: Update.
3885 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3886 * gdb.arch/s390-disassembler-options.exp: Update.
3887 * gdb.base/all-architectures.exp.tcl: Update.
3888 * gdb.base/attach-pie-noexec.exp: Update.
3889 * gdb.base/catch-syscall.exp: Update.
3890 * gdb.xml/tdesc-arch.exp: Update.
3892 2020-07-14 Tom de Vries <tdevries@suse.de>
3894 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3895 (local_gettid): ... this.
3898 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3900 * gdb.base/info_sources.exp: Skip directory match tests on
3903 2020-07-13 Gary Benson <gbenson@redhat.com>
3905 * gdb.base/savedregs.exp (caller): Use parentheses to
3906 make expected expression evaluation ordering explicit.
3908 2020-07-13 Gary Benson <gbenson@redhat.com>
3910 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3912 2020-07-13 Gary Benson <gbenson@redhat.com>
3914 * gdb.base/bigcore.c (main): Use a volatile pointer when
3915 attempting to trigger a SIGSEGV.
3916 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3917 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3918 * gdb.base/savedregs.c (thrower): Likewise.
3919 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3921 2020-07-13 Gary Benson <gbenson@redhat.com>
3923 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3924 defining and using VLA structure fields into...
3925 * gdb.base/vla-struct-fields.c: New file.
3926 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3928 * gdb.base/vla-struct-fields.exp: New file.
3930 2020-07-13 Tom de Vries <tdevries@suse.de>
3932 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3933 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3934 * gdb.base/gold-gdb-index.exp: Same.
3935 * gdb.base/morestack.exp: Same.
3937 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3940 * gdb.rust/modules.rs: Prevent linker from discarding test
3943 2020-07-10 Pedro Alves <pedro@palves.net>
3946 * gdb.multi/multi-target.c (exit_thread): New.
3947 (thread_start): Break loop if EXIT_THREAD.
3948 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3949 (top level) Call test_no_resumed.
3951 2020-07-08 Tom Tromey <tromey@adacore.com>
3953 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3954 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3956 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3959 * gdb.opt/inline-frame-tailcall.c: New file.
3960 * gdb.opt/inline-frame-tailcall.exp: New file.
3961 * gdb.python/py-unwind-inline.c: New file.
3962 * gdb.python/py-unwind-inline.exp: New file.
3963 * gdb.python/py-unwind-inline.py: New file.
3965 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3967 * gdb.python/py-arch-reg-groups.exp: New file.
3969 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3971 * gdb.python/py-arch-reg-names.exp: New file.
3973 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3975 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3976 gdb.PendingFrame.architecture method.
3978 2020-07-06 Tom de Vries <tdevries@suse.de>
3980 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3982 2020-07-03 Pedro Alves <palves@redhat.com>
3984 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3985 explicitly write negative numbers.
3986 * gdb.base/structs2.exp: Adjust expected output.
3988 2020-07-03 Pedro Alves <palves@redhat.com>
3990 * gdb.base/charset.c (init_string): Change all char parameters to
3991 unsigned char parameters.
3993 2020-07-03 Pedro Alves <palves@redhat.com>
3995 * gdb.base/call-sc.exp (start_scalars_test): Use
3996 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3997 * gdb.base/overlays.c: Remove references to PARAMS.
3998 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3999 * gdb.base/reread.exp: Don't set 'prototypes' global.
4000 * gdb.base/structs.exp (start_structs_test): Use
4001 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4002 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
4003 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
4004 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
4006 * gdb.base/varargs.exp: Don't set 'prototypes' global.
4008 2020-07-03 Pedro Alves <palves@redhat.com>
4010 * gdb.base/m32rovly.c: Delete.
4011 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
4013 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4015 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
4016 of gdb_py_test_multiple.
4017 * gdb.python/py-cmd.exp: Likewise.
4018 * gdb.python/py-events.exp: Likewise.
4019 * gdb.python/py-function.exp: Likewise.
4020 * gdb.python/py-inferior.exp: Likewise.
4021 * gdb.python/py-infthread.exp: Likewise.
4022 * gdb.python/py-linetable.exp: Likewise.
4023 * gdb.python/py-parameter.exp: Likewise.
4024 * gdb.python/py-value.exp: Likewise.
4026 2020-06-30 Tom de Vries <tdevries@suse.de>
4029 * lib/future.exp (gdb_default_target_compile): Detect and handle
4032 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
4034 * boards/simavr.exp (gdb_load): Catch errors when closing
4035 previous connection. Close connection, wait for process and
4036 unset simavr_spawn_id on failure.
4038 2020-06-29 Tom de Vries <tdevries@suse.de>
4040 * lib/gdb.exp (unknown): Make test-case unresolved.
4042 2020-06-29 Tom de Vries <tdevries@suse.de>
4045 * gdb.server/solib-list.exp: Verify that the symbol reload
4046 confirmation question is asked.
4048 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4050 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
4051 have a input seq nr in each pass message.
4052 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
4053 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
4054 * gdb.python/python.exp: Make test names unique,
4055 use gdb_test_multiline instead of gdb_py_test_multiple,
4057 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
4059 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
4061 * configure.ac: Add --enable-libctf.
4062 * aclocal.m4: sinclude ../config/enable.m4.
4063 * Makefile.in (site.exp): Add enable_libctf to site.exp.
4064 * lib/gdb.exp (skip_ctf_tests): Use it.
4065 * gdb.base/ctf-constvars.exp: Error message tweak.
4066 * gdb.base/ctf-ptype.exp: Likewise.
4067 * configure: Regenerate.
4069 2020-06-26 Gary Benson <gbenson@redhat.com>
4071 * gdb.cp/try_catch.cc: Include string.h.
4072 (main): Replace comparison against string literal with
4073 strcmp, avoiding build failure with -Wstring-compare.
4074 Add "marker test-complete".
4075 * gdb.cp/try_catch.exp: Run the test to the above marker,
4076 then verify that the value of "test" is still true.
4078 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4080 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
4082 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4084 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4086 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4088 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
4089 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
4090 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
4091 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
4092 * gdb.arch/riscv-tdesc-loading.exp: New file.
4094 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4096 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
4098 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
4100 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
4101 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
4102 * gdb.arch/riscv-tdesc-regs.c: New file.
4103 * gdb.arch/riscv-tdesc-regs.exp: New file.
4105 2020-06-24 Pedro Alves <palves@redhat.com>
4107 * gdb.arch/amd64-entry-value-paramref.exp: Use
4108 prepare_for_testing_full and don't pass "c++" for the .S file
4110 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
4111 $options, since it's an assembly file. Remove -Wno-deprecated.
4112 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
4113 compiling C++ programs.
4115 2020-06-24 Pedro Alves <palves@redhat.com>
4117 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
4118 Clang, add "-Wno-unknown-warning-option" to the options.
4120 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
4122 * gdb.xml/tdesc-reload.c: New file.
4123 * gdb.xml/tdesc-reload.exp: New file.
4124 * gdb.xml/maint-xml-dump-01.xml: New file.
4125 * gdb.xml/maint-xml-dump-02.xml: New file.
4126 * gdb.xml/maint-xml-dump.exp: New file.
4128 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
4130 * lib/completion-support.exp (test_gdb_completion_offers_commands):
4131 Adjust for omitted commands when TUI is disabled.
4133 2020-06-23 Gary Benson <gbenson@redhat.com>
4134 Pedro Alves <palves@redhat.com>
4136 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
4137 * gdb.cp/nsimport.cc: Likewise.
4138 * gdb.cp/nsnested.cc: Likewise.
4139 * gdb.cp/nsnoimports.cc: Likewise.
4140 * gdb.cp/nsusing.cc: Likewise.
4141 * gdb.cp/smartp.cc: Likewise.
4142 * gdb.python/py-pp-integral.c: Likewise.
4143 * gdb.python/py-pp-re-notag.c: Likewise.
4145 2020-06-23 Gary Benson <gbenson@redhat.com>
4147 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
4148 * gdb.cp/nsimport.cc: Likewise.
4149 * gdb.cp/nsnested.cc: Likewise.
4150 * gdb.cp/nsnoimports.cc: Likewise.
4151 * gdb.cp/nsusing.cc: Likewise.
4152 * gdb.cp/smartp.cc: Likewise.
4153 * gdb.python/py-pp-integral.c: Likewise.
4154 * gdb.python/py-pp-re-notag.c: Likewise.
4156 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4158 * gdb.base/default-args.exp: New test.
4159 * gdb.base/default-args.c: New file.
4160 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
4161 * gdb.base/default.exp: Update to new help text.
4162 * gdb.base/help.exp: Likewise.
4163 * gdb.base/page.exp: Likewise.
4164 * gdb.base/style.exp: Likewise.
4165 * gdb.guile/guile.exp: Likewise.
4166 * gdb.python/python.exp: Likewise.
4168 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
4170 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
4171 remote host. Fix search path syntax on Windows host.
4173 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4175 * gdb.base/attach.exp: Test priority of 'exec-file' changed
4176 over 'exec-file-mismatch'.
4177 * gdb.base/attach.c: Mark should_exit volatile.
4178 * gdb.base/attach2.c: Likewise. Add a comment explaining
4179 why the sleep cannot be big.
4180 * gdb.base/attach3.c: New file.
4182 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4184 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
4187 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
4189 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
4192 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
4193 Hafiz Abid Qadeer <abidh@codesourcery.com>
4195 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
4196 file sent to remote host.
4197 (top level): Allow int32_t as type of 32-bit register.
4199 2020-06-19 Tom de Vries <tdevries@suse.de>
4201 * lib/gdb.exp (gdb_note): New proc.
4202 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
4203 (gdb_default_target_compile): ... here. Only call
4204 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
4205 (use_gdb_compile): Change to array.
4206 (toplevel): Update sets of use_gdb_compile to specify language.
4207 Warn about default_target_compile override. Store dejagnu's version
4208 of default_target_compile in dejagnu_default_target_compile.
4210 2020-06-18 Tom de Vries <tdevries@suse.de>
4212 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
4213 (default_gdb_init): ... here.
4215 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4217 Fix TUI support checks in gdb.tui tests.
4219 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
4220 just say UNSUPPORTED.
4221 * gdb.tui/corefile-run.exp: Likewise.
4222 * gdb.tui/empty.exp: Likewise.
4223 * gdb.tui/list-before.exp: Likewise.
4224 * gdb.tui/list.exp: Likewise.
4225 * gdb.tui/main.exp: Likewise.
4226 * gdb.tui/regs.exp: Likewise.
4227 * gdb.tui/resize.exp: Likewise.
4228 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
4229 * gdb.tui/tui-layout-asm.exp: Likewise.
4230 * gdb.tui/tui-missing-src.exp: Likewise.
4231 * gdb.tui/winheight.exp: Likewise.
4232 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
4234 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
4236 Fix TCL error in gdb.python/py-format-string.exp.
4238 * gdb.python/py-format-string.exp: Move test for python support
4239 earlier, out of function body.
4241 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
4243 * gdb.base/index-cache-load-twice.c: New.
4244 * gdb.base/index-cache-load-twice.exp: New.
4246 2020-06-17 Keith Seitz <keiths@redhat.com>
4248 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
4249 when executing "gdb --configuration".
4251 2020-06-17 Tom de Vries <tdevries@suse.de>
4253 * lib/gdb.exp (gdb_tcl_unknown): New proc.
4254 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
4255 conditional on presence of gdb_tcl_unknown.
4256 (gdb_finish): Make override undo conditional on presence of
4259 2020-06-16 Tom Tromey <tom@tromey.com>
4261 * gdb.python/tui-window.py (failwin): New function. Register it
4262 as a TUI window type.
4263 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
4265 2020-06-16 Gary Benson <gbenson@redhat.com>
4267 * gdb.python/py-nested-maps.c (create_map): Add missing return
4269 (create_map_map): Likewise.
4271 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4273 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
4275 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
4276 and use the already-defined 'options' variable.
4278 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4279 Tom de Vries <tdevries@suse.de>
4281 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
4282 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
4283 (gdb_setup_known_globals): New proc.
4284 (gdb_cleanup_globals): New proc.
4285 * lib/gdb.exp (load_lib): New override proc.
4286 (gdb_stdin_log_init): Set var in_file as persistent global.
4287 * lib/pascal.exp (gdb_stdin_log_init): Set vars
4288 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
4289 fpc_compiler as persistent global.
4291 2020-06-12 Tom de Vries <tdevries@suse.de>
4293 * lib/tuiterm.exp (spawn): Rename to ...
4294 (tui_spawn): ... this.
4295 (toplevel): Move rename of spawn ...
4296 (gdb_init_tuiterm): ... here. New proc.
4297 (gdb_finish_tuiterm): New proc.
4298 * lib/gdb.exp (gdb_finish_hooks): New global var.
4299 (gdb_finish): Handle gdb_finish_hooks.
4300 (tuiterm_env): New proc.
4301 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
4303 * gdb.tui/basic.exp: Same.
4304 * gdb.tui/corefile-run.exp: Same.
4305 * gdb.tui/empty.exp: Same.
4306 * gdb.tui/list-before.exp: Same.
4307 * gdb.tui/list.exp: Same.
4308 * gdb.tui/main.exp: Same.
4309 * gdb.tui/new-layout.exp: Same.
4310 * gdb.tui/regs.exp: Same.
4311 * gdb.tui/resize.exp: Same.
4312 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
4313 * gdb.tui/tui-layout-asm.exp: Same.
4314 * gdb.tui/tui-missing-src.exp: Same.
4315 * gdb.tui/winheight.exp: Same.
4317 2020-06-12 Tom de Vries <tdevries@suse.de>
4320 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
4321 (gdb_finish): Reinstall dejagnu's override of ::unknown.
4323 2020-06-11 Tom Tromey <tom@tromey.com>
4326 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
4327 floating point tests.
4329 2020-06-11 Keith Seitz <keiths@redhat.com>
4332 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
4334 Add new struct vla_typedef and union vla_typedef_union and
4335 corresponding instantiation objects.
4336 Initialize new objects.
4337 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
4338 and vla_typedef_union_object.
4339 Fixup type for vla_struct_object.
4341 2020-06-11 Tom de Vries <tdevries@suse.de>
4343 * lib/gdb.exp (with_override): New proc, factored out of ...
4344 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
4346 2020-06-10 Tom de Vries <tdevries@suse.de>
4348 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
4350 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
4352 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
4353 parameter, update callers.
4355 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
4357 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
4358 * gdb.dwarf2/share-psymtabs-bt.c: New file.
4359 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
4361 2020-06-04 Tom de Vries <tdevries@suse.de>
4363 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
4365 2020-06-04 Tom de Vries <tdevries@suse.de>
4367 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
4370 2020-06-04 Tom de Vries <tdevries@suse.de>
4372 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
4374 2020-06-03 Tom de Vries <tdevries@suse.de>
4377 * gdb.cp/breakpoint-locs-2.cc: New test.
4378 * gdb.cp/breakpoint-locs.cc: New test.
4379 * gdb.cp/breakpoint-locs.exp: New file.
4380 * gdb.cp/breakpoint-locs.h: New test.
4382 2020-06-03 Tom de Vries <tdevries@suse.de>
4385 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
4386 value of global verbose.
4387 * gdb.base/jit-elf.exp: Same.
4388 * gdb.base/jit-reader.exp: Same.
4390 2020-06-02 Tom de Vries <tdevries@suse.de>
4392 * gdb.dwarf2/multidictionary.exp: Don't use
4393 gdb_spawn_with_cmdline_opts.
4395 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
4397 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
4399 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
4400 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
4401 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
4402 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
4403 * gdb.dwarf2/dw2-inline-header.c: New file.
4404 * gdb.dwarf2/dw2-inline-header.h: New file.
4406 2020-05-30 Pedro Alves <palves@redhat.com>
4408 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
4409 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
4411 2020-05-29 Gary Benson <gbenson@redhat.com>
4413 * gdb.compile/compile-cplus.exp (additional_flags): Also
4414 set when building with clang.
4415 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
4416 when building with clang.
4418 2020-05-29 Gary Benson <gbenson@redhat.com>
4420 * gdb.arch/i386-avx.exp (additional_flags): Also set when
4421 building with clang.
4422 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
4424 2020-05-29 Gary Benson <gbenson@redhat.com>
4426 * gdb.cp/koenig.exp (prepare_for_testing): Add
4427 additional_flags=-Wno-unused-comparison.
4428 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
4430 2020-05-28 Gary Benson <gbenson@redhat.com>
4432 * gdb.base/sigaltstack.c (catcher): Add default case to switch
4435 2020-05-28 Gary Benson <gbenson@redhat.com>
4437 * gdb.cp/classes.exp (prepare_for_testing): Add
4438 additional_flags=-Wno-deprecated-register.
4439 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
4440 * gdb.cp/misc.exp: Likewise.
4442 2020-05-28 Gary Benson <gbenson@redhat.com>
4444 * gdb.linespec/cpls-ops.cc (dummy): New static global.
4445 (test_op_new::operator new): Add return statement.
4446 (test_op_new_array::operator new[]): Likewise.
4448 2020-05-27 Pedro Alves <palves@redhat.com>
4450 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
4451 check. Use test_gdb_complete_unique instead of
4452 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
4453 test_gdb_complete_multiple instead of
4454 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
4456 2020-05-27 Luis Machado <luis.machado@linaro.org>
4458 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
4459 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
4460 * gdb.arch/arm-disassembler-options.exp: Likewise.
4461 * gdb.arch/arm-disp-step.exp: Likewise.
4462 * gdb.arch/thumb-prologue.exp: Likewise.
4463 * gdb.base/async.exp: Likewise.
4464 * gdb.base/auxv.exp: Likewise.
4465 * gdb.base/complex-parts.exp: Likewise.
4466 * gdb.base/ena-dis-br.exp: Likewise.
4467 * gdb.base/foll-exec.exp: Likewise.
4468 * gdb.base/permissions.exp: Likewise.
4469 * gdb.base/relocate.exp: Likewise.
4470 * gdb.base/return2.exp: Likewise.
4471 * gdb.base/sigbpt.exp: Likewise.
4472 * gdb.base/siginfo-obj.exp: Likewise.
4473 * gdb.cp/converts.exp: Likewise.
4474 * gdb.cp/exceptprint.exp: Likewise.
4475 * gdb.cp/inherit.exp: Likewise.
4476 * gdb.cp/nsnoimports.exp: Likewise.
4477 * gdb.cp/virtbase2.exp: Likewise.
4478 * gdb.mi/mi-var-cmd.exp: Likewise.
4479 * gdb.mi/var-cmd.c: Likewise.
4481 2020-05-26 Tom Tromey <tromey@adacore.com>
4483 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
4485 2020-05-26 Tom Tromey <tromey@adacore.com>
4487 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
4488 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
4490 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
4493 2020-05-26 Christian Biesinger <cbiesinger@google.com>
4495 * Makefile.in: Use = instead of == for the test command
4498 2020-05-26 Tom de Vries <tdevries@suse.de>
4500 * gdb.base/gold-gdb-index-2.c: New test.
4501 * gdb.base/gold-gdb-index.c: New test.
4502 * gdb.base/gold-gdb-index.exp: New file.
4503 * gdb.base/gold-gdb-index.h: New test.
4505 2020-05-25 Tom de Vries <tdevries@suse.de>
4507 * boards/gold-gdb-index.exp: New file.
4509 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4511 * boards/simavr.exp: New file.
4513 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4515 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
4516 * gdb.base/inferior-args.exp: New file.
4517 * gdb.base/inferior-args.c: New file.
4519 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
4521 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
4522 inferior_args. Pass it to gdb_reload.
4523 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
4525 (gdb_reload): Add inferior_args argument.
4526 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
4527 pass it to gdbserver_run.
4528 * boards/native-gdbserver.exp: Do not set noargs.
4529 * boards/native-extended-gdbserver.exp (gdb_reload): Add
4530 inferior_args argument.
4531 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
4532 * gdb.base/a2-run.exp: Check for use_gdb_stub.
4533 * gdb.base/args.exp: Likewise.
4535 2020-05-25 Tom de Vries <tdevries@suse.de>
4537 * lib/gdb.exp (exec_is_pie): Add comment.
4539 2020-05-25 Tom de Vries <tdevries@suse.de>
4541 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
4542 instead of $binfile in the untested message.
4544 2020-05-25 Tom de Vries <tdevries@suse.de>
4547 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
4549 2020-05-25 Tom de Vries <tdevries@suse.de>
4551 * boards/gold.exp: New file.
4553 2020-05-23 Tom Tromey <tom@tromey.com>
4555 * gdb.base/style.exp: Remove completion styling test.
4556 * lib/gdb-utils.exp (style): Remove completion styles.
4558 2020-05-23 Tom Tromey <tom@tromey.com>
4560 * gdb.base/style.exp: Add completion styling test.
4561 * lib/gdb-utils.exp (style): Add completion styles.
4563 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
4565 * gdb.base/annota1.exp: Update expected results.
4566 * gdb.cp/annota2.exp: Update expected results, remove duplicate
4568 * gdb.cp/annota3.exp: Update expected results.
4570 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
4573 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
4575 * gdb.base/coremaker.c (mmapdata): Likewise.
4576 * gdb.base/jit-reader-host.c (main): Likewise.
4577 * gdb.base/sym-file-loader.c (load): Likewise.
4578 (load_shlib): Likewise.
4580 2020-05-20 Tom Tromey <tromey@adacore.com>
4582 * gdb.ada/array_char_idx.exp: Recognize initialized array.
4584 2020-05-20 Tom de Vries <tdevries@suse.de>
4587 * gdb.base/with-mf-inc.c: New test.
4588 * gdb.base/with-mf-main.c: New test.
4589 * gdb.base/with-mf.exp: New file.
4591 2020-05-19 Tom Tromey <tromey@adacore.com>
4593 * gdb.rust/simple.exp: Restore missing test result.
4595 2020-05-19 Tom de Vries <tdevries@suse.de>
4597 * gdb.base/gdb-caching-proc.exp: Fix typo.
4599 2020-05-19 Tom Tromey <tromey@adacore.com>
4601 * gdb.rust/simple.exp: Add some test descriptions.
4602 (test_one_slice): Use with_test_prefix.
4604 2020-05-18 Tom de Vries <tdevries@suse.de>
4606 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
4608 2020-05-17 Pedro Alves <palves@redhat.com>
4611 * gdb.base/hw-sw-break-same-address.exp: New file.
4613 2020-05-16 Pedro Alves <palves@redhat.com>
4615 * gdb.multi/multi-re-run.exp (test_re_run): Switch
4616 LAST_LOADED_FILE accordingly.
4618 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4620 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
4622 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4624 * gdb.base/help.exp: Test apropos and help for commands
4625 having aliases. Fixed comments not starting with an
4626 upper-case letter or not finishing with a dot.
4628 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4630 * gdb.base/alias.exp: Update help output check.
4632 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4634 * gdb.base/default.exp: Update output following fixes.
4636 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4638 * gdb.base/alias.exp: Test aliases starting with a prefix of
4641 2020-05-15 Gary Benson <gbenson@redhat.com>
4643 * gdb.base/info-os.c (main): Add return statement.
4644 * gdb.base/info_minsym.c (minsym_fun): Likewise.
4645 * gdb.base/large-frame-2.c (func): Likewise.
4646 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
4647 * gdb.base/pr10179-b.c (foo2): Likewise.
4648 * gdb.base/valgrind-disp-step.c (foo): Likewise.
4649 * gdb.base/watch-cond.c (func): Likewise.
4650 * gdb.multi/goodbye.c (verylongfun): Likewise.
4651 * gdb.multi/hello.c (commonfun): Likewise.
4652 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
4653 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
4654 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4656 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
4657 * gdb.threads/interrupt-while-step-over.c (child_function):
4659 * gdb.trace/actions-changed.c (end): Likewise.
4661 2020-05-15 Gary Benson <gbenson@redhat.com>
4663 * gdb.opencl/callfuncs.exp: Report when test skipped.
4664 * gdb.opencl/convs_casts.exp: Likewise.
4665 * gdb.opencl/datatypes.exp: Likewise.
4666 * gdb.opencl/operators.exp: Likewise.
4667 * gdb.opencl/vec_comps.exp: Likewise.
4669 2020-05-15 Tom de Vries <tdevries@suse.de>
4671 * gdb.base/align.exp.in: Rename to ...
4672 * gdb.base/align.exp.tcl: ... this.
4673 * gdb.base/align-c++.exp: Update.
4674 * gdb.base/align-c.exp: Update.
4675 * gdb.base/all-architectures.exp.in: Rename to ...
4676 * gdb.base/all-architectures.exp: ... this.
4677 * gdb.base/all-architectures-0.exp: Update.
4678 * gdb.base/all-architectures-1.exp: Update.
4679 * gdb.base/all-architectures-2.exp: Update.
4680 * gdb.base/all-architectures-3.exp: Update.
4681 * gdb.base/all-architectures-4.exp: Update.
4682 * gdb.base/all-architectures-5.exp: Update.
4683 * gdb.base/all-architectures-6.exp: Update.
4684 * gdb.base/all-architectures-7.exp: Update.
4685 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
4686 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
4687 * gdb.base/infcall-nested-structs-c++.exp: Update.
4688 * gdb.base/infcall-nested-structs-c.exp: Update.
4689 * gdb.base/info-types.exp.in: Rename to ...
4690 * gdb.base/info-types.exp.tcl: ... this.
4691 * gdb.base/info-types-c++.exp: Update.
4692 * gdb.base/info-types-c.exp: Update.
4693 * gdb.base/max-depth.exp.in: Rename to ...
4694 * gdb.base/max-depth.exp.tcl: ... this.
4695 * gdb.base/max-depth-c++.exp: Update.
4696 * gdb.base/max-depth-c.exp: Update.
4697 * gdb.cp/cpexprs.exp.in: Rename to ...
4698 * gdb.cp/cpexprs.exp.tcl: ... this.
4699 * gdb.cp/cpexprs-debug-types.exp: Update.
4700 * gdb.cp/cpexprs.exp: Update.
4701 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
4702 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
4703 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
4704 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
4705 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
4706 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
4707 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
4708 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
4709 * gdb.dwarf2/clang-debug-names-2.exp: Update.
4710 * gdb.dwarf2/clang-debug-names.exp: Update.
4712 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
4714 * lib/check-test-names.exp: Remove code that prevents this file
4715 loading when tests are run in parallel.
4717 2020-05-15 Pedro Alves <palves@redhat.com>
4719 * gdb.multi/multi-kill.exp (start_inferior): Remove
4720 'testpid' parameter. Refer to namespace variable directly.
4721 (testpid): Declare as namespace variable.
4723 2020-05-15 Pedro Alves <palves@redhat.com>
4725 * gdb.multi/multi-kill.exp: Wrap in namespace.
4726 (start_inferior): Add TESTPID parameter. Use it instead of the
4728 (top level): Define empty TESTPID array, and pass it down to
4731 2020-05-14 Tom de Vries <tdevries@suse.de>
4733 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
4736 2020-05-14 Tom de Vries <tdevries@suse.de>
4738 * gdb.base/align.exp: Split into ...
4739 * gdb.base/align.exp.in: ...
4740 * gdb.base/align-c++.exp: ...
4741 * gdb.base/align-c.exp: ... these.
4742 * gdb.base/infcall-nested-structs.exp: Split into ...
4743 * gdb.base/infcall-nested-structs.exp.in: ...
4744 * gdb.base/infcall-nested-structs-c++.exp: ...
4745 * gdb.base/infcall-nested-structs-c.exp: ... these.
4746 * gdb.base/info-types.exp: Split into ...
4747 * gdb.base/info-types.exp.in: ...
4748 * gdb.base/info-types-c++.exp: ...
4749 * gdb.base/info-types-c.exp: ... these.
4750 * gdb.base/max-depth.exp: Split into ...
4751 * gdb.base/max-depth.exp.in: ...
4752 * gdb.base/max-depth-c++.exp: ...
4753 * gdb.base/max-depth-c.exp: ... these.
4754 * gdb.cp/infcall-nodebug.exp: Split into ...
4755 * gdb.cp/infcall-nodebug.exp.in: ...
4756 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4757 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4758 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4759 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4761 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4762 Pedro Alves <palves@redhat.com>
4764 * gdb.multi/multi-exit.c: New file.
4765 * gdb.multi/multi-exit.exp: New file.
4766 * gdb.multi/multi-kill.c: New file.
4767 * gdb.multi/multi-kill.exp: New file.
4769 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4771 * gdb.base/annota1.exp: Update the expected output.
4772 * gdb.cp/annota2.exp: Ditto.
4774 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4776 * lib/check-test-names.exp: Disable when testing is being run in
4779 2020-05-12 Tom de Vries <tdevries@suse.de>
4781 * gdb.base/jit-elf.exp: Fix string concat.
4783 2020-05-12 Tom de Vries <tdevries@suse.de>
4785 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4788 2020-05-12 Tom de Vries <tdevries@suse.de>
4790 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4792 2020-05-12 Tom de Vries <tdevries@suse.de>
4794 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4795 * gdb.ada/mi_catch_ex.exp: Same.
4796 * gdb.ada/mi_catch_ex_hand.exp: Same.
4798 2020-05-12 Tom de Vries <tdevries@suse.de>
4800 * gdb.fortran/complex.exp: Use with_test_prefix.
4802 2020-05-12 Tom de Vries <tdevries@suse.de>
4804 * gdb.trace/passcount.exp: Fix test-names.
4806 2020-05-12 Tom de Vries <tdevries@suse.de>
4808 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4810 2020-05-12 Tom de Vries <tdevries@suse.de>
4812 * gdb.gdb/complaints.exp: Use with_test_prefix.
4813 * gdb.xml/tdesc-regs.exp: Same.
4814 * gdb.opt/inline-locals.exp: Fix test name.
4816 2020-05-12 Tom de Vries <tdevries@suse.de>
4818 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4819 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4820 * gdb.dwarf2/implref-struct.exp: Same.
4821 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4822 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4824 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4826 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4828 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4830 * lib/check-test-names.exp (all_test_names): New module variable.
4831 (counts): Add 'duplicates' field.
4832 (_check_duplicates): New procedure.
4833 (check): Also check for duplicates.
4834 (do_log_summary): Print duplicates count.
4835 (do_reset_vars): Reset counter for duplicate test names, and
4836 discard all know test names.
4838 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4840 * lib/gdb.exp: Include check-test-names.exp library.
4841 * lib/check-test-names.exp: New file.
4843 2020-05-11 Tom de Vries <tdevries@suse.de>
4845 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4847 2020-05-11 Keith Seitz <keiths@redhat.com>
4849 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4851 2020-05-11 Tom de Vries <tdevries@suse.de>
4853 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4854 * gdb.cp/cpexprs.exp.in: .. here.
4855 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4858 2020-05-11 Keith Seitz <keiths@redhat.com>
4860 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4862 * gdb.ada/arrayptr.exp: Likewise.
4863 * gdb.ada/assign_arr.exp: Likewise.
4864 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4865 * gdb.ada/bp_on_var.exp: Likewise.
4866 * gdb.ada/call_pn.exp: Likewise.
4867 * gdb.ada/complete.exp: Likewise.
4868 * gdb.ada/fun_overload_menu.exp: Likewise.
4869 * gdb.ada/funcall_param.exp: Likewise.
4870 * gdb.ada/funcall_ref.exp: Likewise.
4871 * gdb.ada/packed_array_assign.exp: Likewise.
4872 * gdb.ada/same_component_name.exp: Likewise.
4873 * gdb.ada/type_coercion.exp: Likewise.
4874 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4875 * gdb.ada/variant_record_packed_array.exp: Likewise.
4877 2020-05-11 Tom de Vries <tdevries@suse.de>
4880 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4882 * gdb.dwarf2/clang-debug-names.exp: ... here.
4883 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4884 clang-debug-names.exp.in.
4885 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4886 * gdb.dwarf2/clang-debug-names-2.c: New test.
4888 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4890 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4891 (fortran_runto_main): New Proc, fortran version of runto_main.
4892 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4893 * gdb.fortran/array-bounds.exp: Likewise.
4894 * gdb.fortran/array-slices.exp: Likewise.
4895 * gdb.fortran/block-data.exp: Likewise.
4896 * gdb.fortran/charset.exp: Likewise.
4897 * gdb.fortran/common-block.exp: Likewise.
4898 * gdb.fortran/complex.exp: Likewise.
4899 * gdb.fortran/derived-type-function.exp: Likewise.
4900 * gdb.fortran/derived-type.exp: Likewise.
4901 * gdb.fortran/info-modules.exp: Likewise.
4902 * gdb.fortran/info-types.exp: Likewise.
4903 * gdb.fortran/intrinsics.exp: Likewise.
4904 * gdb.fortran/library-module.exp: Likewise.
4905 * gdb.fortran/logical.exp: Likewise.
4906 * gdb.fortran/max-depth.exp: Likewise.
4907 * gdb.fortran/module.exp: Likewise.
4908 * gdb.fortran/multi-dim.exp: Likewise.
4909 * gdb.fortran/nested-funcs.exp: Likewise.
4910 * gdb.fortran/print-formatted.exp: Likewise.
4911 * gdb.fortran/print_type.exp: Likewise.
4912 * gdb.fortran/printing-types.exp: Likewise.
4913 * gdb.fortran/ptr-indentation.exp: Likewise.
4914 * gdb.fortran/ptype-on-functions.exp: Likewise.
4915 * gdb.fortran/subarray.exp: Likewise.
4916 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4917 * gdb.fortran/vla-datatypes.exp: Likewise.
4918 * gdb.fortran/vla-history.exp: Likewise.
4919 * gdb.fortran/vla-ptr-info.exp: Likewise.
4920 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4921 * gdb.fortran/vla-ptype.exp: Likewise.
4922 * gdb.fortran/vla-sizeof.exp: Likewise.
4923 * gdb.fortran/vla-type.exp: Likewise.
4924 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4925 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4926 * gdb.fortran/vla-value-sub.exp: Likewise.
4927 * gdb.fortran/vla-value.exp: Likewise.
4928 * gdb.fortran/whatis_type.exp: Likewise.
4929 * gdb.mi/mi-var-child-f.exp: Likewise.
4931 2020-05-09 Tom de Vries <tdevries@suse.de>
4933 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4935 2020-05-08 Tom de Vries <tdevries@suse.de>
4937 * gdb.dwarf2/clang-debug-names.c: New test.
4938 * gdb.dwarf2/clang-debug-names.exp: New file.
4940 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
4942 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4943 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4945 2020-05-06 Tom de Vries <tdevries@suse.de>
4947 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4948 breakpoint is at a "recommended breakpoint location".
4949 * gdb.reverse/consecutive-reverse.exp: Same.
4951 2020-05-06 Tom de Vries <tdevries@suse.de>
4953 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4956 2020-05-06 Tom de Vries <tdevries@suse.de>
4958 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4960 2020-05-06 Tom de Vries <tdevries@suse.de>
4962 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4965 2020-05-06 Tom de Vries <tdevries@suse.de>
4967 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4970 2020-05-06 Tom de Vries <tdevries@suse.de>
4972 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4975 2020-05-06 Tom de Vries <tdevries@suse.de>
4977 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4979 * gdb.base/async.exp: ... here.
4980 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4981 "recommended breakpoint location".
4983 2020-05-06 Tom de Vries <tdevries@suse.de>
4985 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4987 2020-05-04 Tom de Vries <tdevries@suse.de>
4989 * gdb.base/async.exp: Check whether instruction addresses are a
4990 "recommended breakpoint location".
4992 2020-05-03 Tom Tromey <tom@tromey.com>
4994 * gdb.base/sepdebug.exp: Remove "catch" test.
4995 * gdb.base/break.exp: Remove "catch" test.
4996 * gdb.base/default.exp: Update expected output.
4998 2020-05-02 Tom de Vries <tdevries@suse.de>
5000 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
5001 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
5002 * gdb.arch/i386-mpx-map.exp: Same.
5003 * gdb.arch/i386-mpx-sigsegv.exp: Same.
5004 * gdb.arch/i386-mpx-simple_segv.exp: Same.
5005 * gdb.arch/i386-mpx.exp: Same.
5007 2020-05-02 Tom de Vries <tdevries@suse.de>
5009 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
5011 2020-05-01 Tom de Vries <tdevries@suse.de>
5013 * gdb.ada/operator_bp.exp: Allow more than required amount of
5016 2020-05-01 Tom de Vries <tdevries@suse.de>
5018 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
5020 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
5023 * gdb.cp/stub-array-size.cc: New test.
5024 * gdb.cp/stub-array-size.exp: New file.
5025 * gdb.cp/stub-array-size.h: New test.
5026 * gdb.cp/stub-array-size2.cc: New test.
5028 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
5030 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
5031 output to the new format.
5033 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
5035 * gdb.base/break.exp: Use with_test_prefix.
5037 2020-04-29 Tom de Vries <tdevries@suse.de>
5039 * lib/gdb.exp (debug_types): New proc.
5040 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
5041 * gdb.python/py-symtab.exp: Same.
5043 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
5046 * gdb.base/pretty-array.c: New test.
5047 * gdb.base/pretty-array.exp: New file.
5049 2020-04-29 Tom de Vries <tdevries@suse.de>
5052 * gdb.cp/cpexprs.exp: Adapt for inclusion.
5053 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
5054 and include cpexprs.exp.
5056 2020-04-28 Mark Williams <mark@myosotissp.com>
5059 * dw4-toplevel-types.exp: Test for top level types.
5060 * dw4-toplevel-types.cc: Test for top level types.
5062 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5064 * gdb.threads/stop-with-handle.exp: Fix typo in comment
5065 (theads -> threads).
5067 2020-04-28 Tom de Vries <tdevries@suse.de>
5069 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
5071 2020-04-28 Tom de Vries <tdevries@suse.de>
5073 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
5075 2020-04-28 Tom de Vries <tdevries@suse.de>
5077 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
5079 2020-04-28 Tom de Vries <tdevries@suse.de>
5081 * gdb.dwarf2/main-foo.c: New test.
5082 * gdb.dwarf2/struct-with-sig.exp: New file.
5084 2020-04-25 Tom de Vries <tdevries@suse.de>
5086 * boards/debug-types.exp: New file.
5088 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
5090 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
5092 2020-04-24 Tom Tromey <tom@tromey.com>
5095 * gdb.python/py-symbol.exp: Update expected results for
5097 * gdb.cp/print-demangle.exp: New file.
5098 * gdb.base/c-linkage-name.exp: Fix test.
5099 * gdb.guile/scm-symbol.exp: Update expected results for
5102 2020-04-24 Tom Tromey <tom@tromey.com>
5104 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
5105 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
5106 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
5109 2020-04-24 Tom de Vries <tdevries@suse.de>
5111 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
5114 2020-04-24 Tom Tromey <tromey@adacore.com>
5116 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
5118 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
5119 values. Update test for minimal encodings.
5120 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
5121 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
5122 values. Update test for minimal encodings.
5124 2020-04-24 Tom Tromey <tromey@adacore.com>
5127 * gdb.ada/variant.exp: Add Python checks.
5128 * gdb.rust/simple.exp: Add dynamic type checks.
5130 2020-04-24 Tom Tromey <tromey@adacore.com>
5132 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
5133 Make array type matching more lax.
5134 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
5135 * gdb.ada/mi_variant.exp: New file.
5136 * gdb.ada/mi_variant/pck.ads: New file.
5137 * gdb.ada/mi_variant/pkg.adb: New file.
5138 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
5139 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
5141 2020-04-24 Tom Tromey <tromey@adacore.com>
5143 * gdb.ada/variant.exp: Add dynamic field offset tests.
5144 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
5145 * gdb.ada/variant/pkg.adb: Add new variables.
5147 2020-04-24 Tom Tromey <tromey@adacore.com>
5149 * gdb.ada/variant.exp: New file
5150 * gdb.ada/variant/pkg.adb: New file
5151 * gdb.ada/variant/pck.adb: New file
5153 2020-04-24 Tom de Vries <tdevries@suse.de>
5155 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
5157 2020-04-24 Tom de Vries <tdevries@suse.de>
5159 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
5162 2020-04-24 Tom de Vries <tdevries@suse.de>
5164 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
5166 2020-04-24 Tom de Vries <tdevries@suse.de>
5168 * lib/gdb.exp (default_gdb_start): Handle eof.
5169 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
5171 * gdb.base/readnever.exp: Handle clean_restart failure.
5173 2020-04-23 Tom de Vries <tdevries@suse.de>
5175 * gdb.base/decl-before-def.exp: Run to main and print a again.
5177 2020-04-23 Tom de Vries <tdevries@suse.de>
5179 * gdb.base/decl-before-def-decl.c: New test.
5180 * gdb.base/decl-before-def-def.c: New test.
5181 * gdb.base/decl-before-def.exp: New file.
5183 2020-04-23 Tom de Vries <tdevries@suse.de>
5185 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
5187 2020-04-22 Tom de Vries <tdevries@suse.de>
5189 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
5191 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
5192 before $objsfile in the line line.
5194 2020-04-22 Tom de Vries <tdevries@suse.de>
5196 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
5198 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5200 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
5201 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
5202 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
5203 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
5204 * gdb.base/jit-protocol.h: Update definitions to match all usage
5207 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5209 * gdb.base: Rename all jit related test and source files.
5211 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
5213 * gdb.base/jit-reader.exp: Relax register output check.
5215 2020-04-22 Tom de Vries <tdevries@suse.de>
5218 * gdb.base/psym-external-decl-2.c: New test.
5219 * gdb.base/psym-external-decl.c: New test.
5220 * gdb.base/psym-external-decl.exp: New file.
5221 * gdb.threads/tls.exp: Add PR25807 kfail.
5223 2020-04-22 Tom de Vries <tdevries@suse.de>
5226 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
5227 in "info source" output.
5229 2020-04-22 Tom de Vries <tdevries@suse.de>
5232 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
5233 symtab for imported_unit.c.
5235 2020-04-21 Gary Benson <gbenson@redhat.com>
5237 * gdb.base/advance.c (func): New argument, to match call site.
5238 (func2, func3): Add return statements.
5240 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5242 * gdb.multi/run-only-second-inf.c: New file.
5243 * gdb.multi/run-only-second-inf.exp: New file.
5245 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5247 * gdb.btrace/multi-inferior.c: New test.
5248 * gdb.btrace/multi-inferior.exp: New file.
5250 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
5252 * gdb.btrace/enable-new-thread.c: New test.
5253 * gdb.btrace/enable-new-thread.exp: New file.
5255 2020-04-21 Tom de Vries <tdevries@suse.de>
5258 * gdb.threads/killed-outside.c: New test.
5259 * gdb.threads/killed-outside.exp: New file.
5261 2020-04-20 Gary Benson <gbenson@redhat.com>
5263 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
5264 * gdb.base/nested-subp2.exp: Likewise.
5265 * gdb.base/nested-subp3.exp: Likewise.
5267 2020-04-20 Gary Benson <gbenson@redhat.com>
5269 * gdb.base/nested-subp1.exp: Disable test when using clang.
5270 * gdb.base/nested-subp2.exp: Likewise.
5271 * gdb.base/nested-subp3.exp: Likewise.
5273 2020-04-20 Gary Benson <gbenson@redhat.com>
5275 * gdb.cp/exception.cc: Fix compilation error with clang.
5277 2020-04-20 Gary Benson <gbenson@redhat.com>
5279 * gdb.trace/tspeed.c: Fix compilation error with clang.
5281 2020-04-20 Gary Benson <gbenson@redhat.com>
5283 * gdb.base/jit-main.c: Fix compilation error with clang.
5285 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5287 * gdb.base/attach-twice.c: Include "sys/types.h".
5288 (PTRACE_ATTACH): Add fallback definition.
5289 (main): Pass `0' to the 4th argument of `ptrace'.
5291 2020-04-17 Kamil Rytarowski <n54@gmx.com>
5293 * gdb.base/fork-running-state.c: Include "signal.h".
5295 2020-04-17 Tom Tromey <tromey@adacore.com>
5297 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
5299 * gdb.btrace/cpu.exp: Update tests.
5300 * gdb.base/maint.exp: Update tests.
5301 * gdb.base/default.exp: Update tests.
5302 * gdb.base/completion.exp: Update tests.
5304 2020-04-16 Tom de Vries <tdevries@suse.de>
5307 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
5308 (ensure_gdb_index): and factor out and move ...
5309 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
5310 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
5312 2020-04-16 Tom de Vries <tdevries@suse.de>
5314 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
5317 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
5319 * gdb.base/many-completions.exp: New file.
5321 2020-04-14 Tom de Vries <tdevries@suse.de>
5324 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
5326 2020-04-14 Tom de Vries <tdevries@suse.de>
5329 * gdb.base/maint-expand-symbols-header-file.c: New test.
5330 * gdb.base/maint-expand-symbols-header-file.exp: New file.
5331 * gdb.base/maint-expand-symbols-header-file.h: New test.
5333 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
5335 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
5336 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
5338 (get_func_info): Delete.
5339 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
5340 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
5341 * lib/dwarf.exp (get_func_info): New function.
5343 2020-04-13 Tom de Vries <tdevries@suse.de>
5345 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
5346 to what find_gnatmake does.
5348 2020-04-10 Tom de Vries <tdevries@suse.de>
5350 * gdb.base/style.exp: Expect "Expanding full symbols" message for
5353 2020-04-10 Tom de Vries <tdevries@suse.de>
5356 * gdb.base/style.c: Add leading newlines.
5357 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
5358 Check listing of main's one-line body.
5360 2020-04-08 Tom de Vries <tdevries@suse.de>
5362 * lib/gdb.exp (psymtabs_p): New proc.
5363 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
5364 importing unit" unsupported if there are no partial symbols.
5366 2020-04-08 Tom de Vries <tdevries@suse.de>
5369 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
5371 2020-04-07 Tom de Vries <tdevries@suse.de>
5374 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
5376 2020-04-07 Tom de Vries <tdevries@suse.de>
5378 * gdb.base/check-psymtab.c: New test.
5379 * gdb.base/check-psymtab.exp: New file.
5381 2020-04-06 Tom Tromey <tromey@adacore.com>
5383 * gdb.ada/variant-record/proc.adb: New file.
5384 * gdb.ada/variant-record/value.adb: New file.
5385 * gdb.ada/variant-record/value.s: New file.
5386 * gdb.ada/variant-record.exp: New file.
5388 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
5391 * gdb.cp/typed-enum.cc: New test.
5392 * gdb.cp/typed-enum.exp: New file.
5394 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5396 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
5397 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5398 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
5399 * gdb.dwarf2/dw2-inline-small-func.h: New file.
5400 * gdb.opt/inline-small-func.c: New file.
5401 * gdb.opt/inline-small-func.exp: New file.
5402 * gdb.opt/inline-small-func.h: New file.
5404 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5406 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
5409 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
5411 * lib/dwarf.exp (function_range): Allow compiler options to be
5414 2020-04-02 Tom de Vries <tdevries@suse.de>
5416 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
5417 __attribute__((always_inline)).
5418 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
5420 2020-04-02 Tom de Vries <tdevries@suse.de>
5422 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
5423 (gdbserver_gdb_exit): ... here. Add timeout warning.
5424 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
5425 (connect_target_extended_remote): Append new server_spawn_id to
5427 (cleanup): New proc.
5428 (setup, <toplevel>): Call cleanup.
5430 2020-04-02 Tom de Vries <tdevries@suse.de>
5432 * gdb.base/main-psymtab.exp: New file.
5434 2020-04-02 Tom de Vries <tdevries@suse.de>
5436 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
5438 2020-04-01 Tom Tromey <tom@tromey.com>
5440 * gdb.base/complex-parts.exp: Add type tests.
5442 2020-04-01 Tom Tromey <tom@tromey.com>
5444 * gdb.base/complex-parts.exp: Add arithmetic tests.
5446 2020-04-01 Tom Tromey <tom@tromey.com>
5448 * gdb.compile/compile.exp: Update.
5449 * gdb.compile/compile-cplus.exp: Update.
5450 * gdb.base/varargs.exp: Update.
5451 * gdb.base/floatn.exp: Update.
5452 * gdb.base/endianity.exp: Update.
5453 * gdb.base/callfuncs.exp (do_function_calls): Update.
5454 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
5455 (complex_float_integral_args): Update.
5456 * gdb.base/complex.exp: Update.
5457 * gdb.base/complex-parts.exp: Update.
5459 2020-04-01 Tom Tromey <tromey@adacore.com>
5461 * gdb.rust/union.rs: New file.
5462 * gdb.rust/union.exp: New file.
5463 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
5465 * gdb.rust/simple.exp: Move union tests to union.exp.
5467 2020-04-01 Tom Tromey <tromey@adacore.com>
5469 * gdb.rust/simple.rs (main): Remove "y0".
5471 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5473 * gdb.multi/stop-all-on-exit.c: New test.
5474 * gdb.multi/stop-all-on-exit.exp: New file.
5476 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
5479 * gdb.cp/misc.cc: Add integer reference variable.
5480 * gdb.cp/misc.exp: Add test.
5482 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5484 * gdb.server/stop-reply-no-thread.exp: Enhance the test
5485 scenario to cover execution until the end and also the case
5487 2020-03-31 Tom de Vries <tdevries@suse.de>
5489 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
5490 c. Use "maint info symtabs" to check symtab expansion.
5492 2020-03-30 Tom de Vries <tdevries@suse.de>
5494 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
5496 (verify_psymtab_expanded): Move ...
5497 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
5499 (readnow): New proc.
5501 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5503 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
5506 2020-03-20 Tom Tromey <tromey@adacore.com>
5508 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
5510 2020-03-20 Tom Tromey <tromey@adacore.com>
5512 * gdb.ada/sub_variant/subv.adb: New file.
5513 * gdb.ada/sub_variant.exp: New file.
5515 2020-03-20 Tom de Vries <tdevries@suse.de>
5517 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
5519 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
5521 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5523 * gdb.server/exit-multiple-threads.c: New file.
5524 * gdb.server/exit-multiple-threads.exp: New file.
5526 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5528 * gdb.fortran/mixed-lang-stack.c: New file.
5529 * gdb.fortran/mixed-lang-stack.cpp: New file.
5530 * gdb.fortran/mixed-lang-stack.exp: New file.
5531 * gdb.fortran/mixed-lang-stack.f90: New file.
5533 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
5535 * gdb.linespec/cp-completion-aliases.cc: New file.
5536 * gdb.linespec/cp-completion-aliases.exp: New file.
5538 2020-03-19 Tom de Vries <tdevries@suse.de>
5540 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
5543 2020-03-18 Tom de Vries <tdevries@suse.de>
5545 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
5546 * gdb.dwarf2/break-inline-psymtab.c: New test.
5547 * gdb.dwarf2/break-inline-psymtab.exp: New file.
5549 2020-03-16 Tom de Vries <tdevries@suse.de>
5551 * lib/cache.exp (gdb_do_cache): Add and handle local variables
5552 cache_verify and cache_verify_proc.
5554 2020-03-15 Tom de Vries <tdevries@suse.de>
5556 * gdb.server/solib-list.exp: Handle
5557 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
5559 2020-03-15 Tom de Vries <tdevries@suse.de>
5561 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
5564 2020-03-14 Tom Tromey <tom@tromey.com>
5566 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
5568 2020-03-14 Tom de Vries <tdevries@suse.de>
5570 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
5572 2020-03-14 Tom de Vries <tdevries@suse.de>
5574 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
5575 result in line-by-line fashion.
5577 2020-03-14 Tom de Vries <tdevries@suse.de>
5579 * lib/gdb.exp (supports_statement_frontiers): New proc.
5580 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
5582 2020-03-14 Tom de Vries <tdevries@suse.de>
5584 * gdb.base/printcmds.exp: Add missing quoting for "print
5587 2020-03-13 Tom Tromey <tom@tromey.com>
5589 * gdb.base/printcmds.exp (test_print_strings): Add regression
5591 * gdb.base/printcmds.c (charptr): New typedef.
5592 (teststring2): New global.
5594 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
5596 * gdb.base/break-interp.exp: Use the tail of the filename, not the
5597 full path in the test name.
5598 (test_ld): Add some with_test_prefix blocks to make test names
5601 2020-03-13 Tom de Vries <tdevries@suse.de>
5603 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
5605 2020-03-13 Tom de Vries <tdevries@suse.de>
5607 * gdb.mi/mi-sym-info.exp: Make matching more precise.
5609 2020-03-13 Tom de Vries <tdevries@suse.de>
5612 * gdb.dwarf2/imported-unit.exp: Add test.
5614 2020-03-13 Tom de Vries <tdevries@suse.de>
5616 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
5617 (var1, var2): New variable.
5618 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
5621 2020-03-13 Tom de Vries <tdevries@suse.de>
5623 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
5624 (Term::command): Use prompt prefix.
5625 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
5626 * gdb.tui/tui-layout-asm-short-prog.exp: Use
5627 command_no_prompt_prefix instead of prefix.
5628 * gdb.tui/tui-layout-asm.exp: Same.
5630 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5632 * gdb.base/break-interp.exp: Use foreach_with_prefix.
5634 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
5636 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
5637 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
5638 on" while stepping over the test instruction, match printed
5641 2020-03-12 Tom de Vries <tdevries@suse.de>
5643 * gdb.base/info-types.exp: Use exp_continue during matching of output
5646 2020-03-12 Tom de Vries <tdevries@suse.de>
5648 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
5650 2020-03-12 Tom de Vries <tdevries@suse.de>
5652 * gdb.fortran/module.exp: Use exp_continue during matching of output
5653 of "info variable -n".
5655 2020-03-12 Tom de Vries <tdevries@suse.de>
5657 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
5658 gdb.dwarf2/dw2-ranges-base.c.
5660 2020-03-12 Tom de Vries <tdevries@suse.de>
5662 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
5663 in presence of GLIBC debuginfo.
5665 2020-03-12 Tom de Vries <tdevries@suse.de>
5667 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
5670 2020-03-12 Tom de Vries <tdevries@suse.de>
5672 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
5675 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
5677 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
5678 from Unix to Windows path.
5680 2020-03-11 Tom de Vries <tdevries@suse.de>
5682 * gdb.ada/minsyms.exp: Set language to ada.
5684 2020-03-11 Tom de Vries <tdevries@suse.de>
5686 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
5688 2020-03-11 Tom de Vries <tdevries@suse.de>
5690 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
5692 2020-03-11 Tom Tromey <tromey@adacore.com>
5694 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
5696 2020-03-11 Tom de Vries <tdevries@suse.de>
5698 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
5700 2020-03-11 Tom de Vries <tdevries@suse.de>
5702 * gdb.base/break-interp.exp: Limit verbose scope.
5704 2020-03-11 Tom de Vries <tdevries@suse.de>
5706 * gdb.fortran/logical.f90: Define variable with character type.
5707 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
5709 2020-03-11 Tom de Vries <tdevries@suse.de>
5711 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
5713 2020-03-11 Tom de Vries <tdevries@suse.de>
5715 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
5718 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5719 Bernd Edlinger <bernd.edlinger@hotmail.de>
5721 * gdb.cp/step-and-next-inline.cc: New file.
5722 * gdb.cp/step-and-next-inline.exp: New file.
5723 * gdb.cp/step-and-next-inline.h: New file.
5724 * gdb.dwarf2/dw2-is-stmt.c: New file.
5725 * gdb.dwarf2/dw2-is-stmt.exp: New file.
5726 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
5727 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
5728 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
5730 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
5732 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
5733 is-stmt flag in the line table.
5735 2020-03-09 Tom de Vries <tdevries@suse.de>
5737 * lib/gdb.exp (cached_file): Create cache dir.
5739 2020-03-07 Tom de Vries <tdevries@suse.de>
5741 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
5742 * gdb.cp/rvalue-ref-params.exp: Same.
5744 2020-03-06 Tom de Vries <tdevries@suse.de>
5746 * lib/gdb.exp (tentative_rename, cached_file): New proc.
5747 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5749 2020-03-06 Tom de Vries <tdevries@suse.de>
5751 * README: Fix "the the".
5752 * gdb.base/dprintf.exp: Same.
5754 2020-03-05 Tom de Vries <tdevries@suse.de>
5756 * gdb.base/maint.exp: Update "main print statistics" expected output.
5758 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5760 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5761 (fortran_int8): Likewise.
5762 (fortran_real4): Likewise.
5763 (fortran_real8): Likewise.
5764 (fortran_complex4): Likewise.
5765 (fortran_logical4): Likewise.
5766 (fortran_character1): Likewise.
5768 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5770 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5773 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5775 * gdb.base/printcmds.exp: Add test to verify printf of a
5776 variable holding an address.
5778 2020-03-03 Tom de Vries <tdevries@suse.de>
5780 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5782 2020-03-03 Tom de Vries <tdevries@suse.de>
5784 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5785 gdb_test_multiple call.
5787 2020-03-03 Tom de Vries <tdevries@suse.de>
5789 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5790 gdb_test_multiple calls.
5792 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5794 * gdb.base/default.exp: Remove test of 'set history filename'.
5795 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5796 filename to the empty string.
5797 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5800 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5802 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5805 2020-03-02 Pedro Alves <palves@redhat.com>
5806 Tom de Vries <tdevries@suse.de>
5808 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5809 -prompt prefix, before user_code argument. Add -lbl option likewise.
5810 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5811 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5813 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5814 have "\r\n" at start-of-line, instead of at end-of-line.
5816 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
5818 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5821 2020-02-28 Luis Machado <luis.machado@linaro.org>
5823 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5826 2020-02-28 Luis Machado <luis.machado@linaro.org>
5828 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5829 asm/ptrace.h and error.h.
5831 2020-02-28 Tom de Vries <tdevries@suse.de>
5833 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5834 (struct wrapper, do_something, mundane/symada__cS): Move ...
5835 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5836 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5837 Update "print symada__cS before partial symtab expansion" regexp.
5838 Update breakpoint location. Flush symbol cache after expansion.
5840 2020-02-28 Luis Machado <luis.machado@linaro.org>
5842 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5844 2020-02-27 Tom de Vries <tdevries@suse.de>
5846 * config/sid.exp: Remove unused globals.
5847 * gdb.base/attach.exp: Same.
5848 * gdb.base/catch-load.exp: Same.
5849 * gdb.base/dbx.exp: Same.
5850 * lib/gdb.exp: Same.
5851 * lib/mi-support.exp: Same.
5852 * lib/prompt.exp: Same.
5854 2020-02-27 Tom de Vries <tdevries@suse.de>
5856 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5859 2020-02-26 Aaron Merey <amerey@redhat.com>
5861 * gdb.debuginfod: New directory for debuginfod tests.
5862 * gdb.debuginfod/main.c: New test file.
5863 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5865 2020-02-26 Tom de Vries <tdevries@suse.de>
5868 * gdb.base/persistent-lang.cc: New test.
5869 * gdb.base/persistent-lang.exp: New file.
5871 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5873 * gdb.fortran/derived-type-striding.exp: Add a new test.
5874 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5877 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5879 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5882 2020-02-25 Tom de Vries <tdevries@suse.de>
5885 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5887 2020-02-24 Tom de Vries <tdevries@suse.de>
5890 * gdb.base/info-locals-unused-static-var.c: New test.
5891 * gdb.base/info-locals-unused-static-var.exp: New file.
5893 2020-02-22 Tom Tromey <tom@tromey.com>
5895 * gdb.python/tui-window.exp: New file.
5896 * gdb.python/tui-window.py: New file.
5898 2020-02-22 Tom Tromey <tom@tromey.com>
5901 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5904 2020-02-22 Tom Tromey <tom@tromey.com>
5906 * gdb.tui/new-layout.exp: Add sub-layout tests.
5908 2020-02-22 Tom Tromey <tom@tromey.com>
5910 * gdb.tui/new-layout.exp: New file.
5912 2020-02-22 Tom Tromey <tom@tromey.com>
5914 * gdb.rust/rust-style.rs: New file.
5915 * gdb.rust/rust-style.exp: New file.
5916 * gdb.base/style.exp: Test structure printing.
5917 * gdb.base/style.c (struct some_struct): New type.
5918 (enum etype): New type.
5919 (struct_value): New global.
5921 2020-02-21 Tom de Vries <tdevries@suse.de>
5924 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5925 Remove blanket xfails. Use message argument for gdb_breakpoint.
5926 Make continuing to breakpoint test conditional on setting breakpoint.
5927 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5928 DW_AT_name attribute. Add xfail for GCC PR93866.
5930 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5932 * gdb.dwarf2/cpp-linkage-name.c: New file.
5933 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5935 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
5937 * lib/gdb.exp (gdb_wrapper_init): Reset
5938 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5941 2020-02-20 Tom de Vries <tdevries@suse.de>
5944 * gdb.go/hello.exp: Copy ...
5945 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5946 print of st to print value of global definition. Add xfail for GCC
5948 * gdb.go/hello.exp: Remove printing of st before definition.
5949 * gdb.go/hello.go: Copy ...
5950 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5952 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5954 2020-02-20 Tom de Vries <tdevries@suse.de>
5956 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5957 (gdb_simple_compile): Handle compile_flags go by using .go extension
5959 * gdb.go/chan.exp: Use support_go_compile.
5960 * gdb.go/handcall.exp: Same.
5961 * gdb.go/hello.exp: Same.
5962 * gdb.go/integers.exp: Same.
5963 * gdb.go/max-depth.exp: Same.
5964 * gdb.go/methods.exp: Same.
5965 * gdb.go/package.exp: Same.
5966 * gdb.go/strings.exp: Same.
5967 * gdb.go/types.exp: Same.
5968 * gdb.go/unsafe.exp: Same.
5970 2020-02-19 Tom de Vries <tdevries@suse.de>
5972 * gdb.python/lib-types.exp: Make xfail more strict.
5974 2020-02-19 Tom de Vries <tdevries@suse.de>
5976 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5978 2020-02-19 Doug Evans <dje@google.com>
5981 * gdb.rust/simple.exp: Add test.
5982 * gdb.rust/simple.rs: Add test.
5984 2020-02-19 Tom de Vries <tdevries@suse.de>
5986 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5987 output line-by-line.
5989 2020-02-19 Tom de Vries <tdevries@suse.de>
5991 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5993 2020-02-19 Tom de Vries <tdevries@suse.de>
5995 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5998 2020-02-19 Tom de Vries <tdevries@suse.de>
6000 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
6001 (gdb_do_cache): Use gdb_do_cache_wrap.
6002 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
6004 2020-02-19 Tom de Vries <tdevries@suse.de>
6006 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
6009 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6011 * gdb.base/printcmds.exp (test_print_enums): Update expected
6014 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6016 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6019 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6021 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
6024 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
6026 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
6029 (enum flag_enum_without_zero): New enum.
6030 (flag_enum_without_zero): New variable.
6031 (enum not_flag_enum): New enum.
6032 (three_not_flag): New variable.
6033 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
6034 (test_print_enums): Add more tests for printing flag enums.
6036 2020-02-18 Tom de Vries <tdevries@suse.de>
6038 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
6039 (gdb_compile_ada): ... here.
6040 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
6041 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
6043 2020-02-14 Tom Tromey <tom@tromey.com>
6045 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
6047 * boards/gdbserver-base.exp: Update path to gdbserver.
6049 2020-02-13 Tom de Vries <tdevries@suse.de>
6051 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
6053 2020-02-13 Tom de Vries <tdevries@suse.de>
6055 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
6058 2020-02-13 Tom de Vries <tdevries@suse.de>
6060 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
6063 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
6066 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
6067 * gdb.base/cached-source-file.c: New file.
6068 * gdb.base/cached-source-file.exp: New file.
6070 2020-02-11 Tom de Vries <tdevries@suse.de>
6073 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
6075 2020-02-10 Tom de Vries <tdevries@suse.de>
6077 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
6079 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
6081 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
6082 and $after_addr are both integers before making a comparison.
6084 2020-02-09 Tom de Vries <tdevries@suse.de>
6086 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
6087 command output and paste it into gdb.log. If any, paste catch message
6090 2020-02-07 Tom Tromey <tromey@adacore.com>
6092 PR breakpoints/24915:
6093 * gdb.base/annotate-symlink.exp: Use setup_xfail.
6095 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
6097 * gdb.tui/tui-missing-src.exp: Add the "missing source
6098 file" test for the TUI.
6100 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
6102 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
6103 including a port number in the output.
6105 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
6107 * lib/fortran.exp (fortran_int4): Handle clang.
6108 (fortran_int8): Likewise.
6109 (fortran_real4): Likewise.
6110 (fortran_real8): Likewise.
6111 (fortran_complex4): Likewise.
6112 (fortran_logical4): Likewise.
6113 (fortran_character1): Likewise.
6115 2020-02-04 Tom de Vries <tdevries@suse.de>
6117 * README (Race detection): Add note.
6119 2020-02-04 Tom de Vries <tdevries@suse.de>
6121 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
6123 2020-02-04 Tom de Vries <tdevries@suse.de>
6125 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
6127 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6129 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
6130 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
6131 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
6133 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
6134 binary for blttar, bnetarl.
6135 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
6136 wait instruction. Delete ldmx test.
6137 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
6139 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
6141 * gdb.fortran/array-bounds-high.exp: New file.
6142 * gdb.fortran/array-bounds-high.f90: New file.
6144 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
6146 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
6147 Replace #include of <sys/fcntl.h> by <fcntl.h>.
6149 2020-02-01 Tom de Vries <tdevries@suse.de>
6151 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
6153 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
6156 * gdb.tui/tui-layout-asm-short-prog.S: New file.
6157 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
6159 2020-01-29 Luis Machado <luis.machado@linaro.org>
6161 * gdb.arch/aarch64-brk-patterns.c: New source file.
6162 * gdb.arch/aarch64-brk-patterns.exp: New test.
6164 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6166 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
6168 * gdb.cp/pass-by-ref.exp: Ditto.
6170 2020-01-29 Tom de Vries <tdevries@suse.de>
6172 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
6173 * gdb.threads/watchpoint-fork-mt.c: Same.
6174 * gdb.threads/watchpoint-fork-parent.c: Same.
6175 * gdb.threads/watchpoint-fork-st.c: Same.
6176 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
6178 2020-01-27 Luis Machado <luis.machado@linaro.org>
6180 * gdb.base/step-over-syscall.exp (setup): Check if we're already
6181 sitting at a syscall instruction when we hit the syscall function's
6183 Check PC against one obtained with the x command.
6184 Validate syscall number.
6185 (step_over_syscall): Don't continue to the syscall instruction if
6186 we're already there.
6188 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6190 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
6192 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6194 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
6195 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
6197 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6199 * gdb.dwarf2/dw2-inline-stepping.c: New file.
6200 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
6202 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6204 * gdb.base/maint.exp: Update line table parsing test.
6205 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
6207 2020-01-24 Pedro Alves <palves@redhat.com>
6210 * gdb.multi/multi-re-run-1.c: New.
6211 * gdb.multi/multi-re-run-2.c: New.
6212 * gdb.multi/multi-re-run.exp: New.
6214 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6217 * gdb.server/server-kill-python.exp: New file.
6219 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6221 * gdb.server/multi-ui-errors.c: New file.
6222 * gdb.server/multi-ui-errors.exp: New file.
6224 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
6227 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
6229 2020-01-19 Tom Tromey <tom@tromey.com>
6231 * gdb.tui/main.exp: Add check for plain "file".
6233 2020-01-16 Christian Biesinger <cbiesinger@google.com>
6235 * lib/gdb.exp: Fix spelling error (seperatelly).
6237 2020-01-14 Tom Tromey <tom@tromey.com>
6240 * gdb.python/python.exp: Test decode_line with empty string
6243 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6245 * gdb.base/skip-inline.exp: Extend test.
6247 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6249 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
6250 * gdb.dwarf2/dw2-bad-elf.c: New file.
6251 * gdb.dwarf2/dw2-bad-elf.exp: New file.
6253 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6255 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
6258 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
6260 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
6263 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6265 * gdb.multi/multi-target.exp (setup): Factor out "info
6266 connections" and "info inferiors" tests to ...
6267 (test_info_inferiors): ... this new procedure.
6268 (top level): Run new "info-inferiors" tests.
6270 2020-01-10 Pedro Alves <palves@redhat.com>
6272 * gdb.server/bkpt-other-inferior.exp: New file.
6274 2020-01-10 Pedro Alves <palves@redhat.com>
6276 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
6278 * gdb.base/quit-live.exp: Likewise.
6279 * gdb.base/remote-exec-file.exp: Likewise.
6280 * gdb.guile/scm-progspace.exp: Likewise.
6281 * gdb.linespec/linespec.exp: Likewise.
6282 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6283 * gdb.mi/user-selected-context-sync.exp: Likewise.
6284 * gdb.multi/multi-target.exp (setup): Add "info connection" and
6285 "info inferiors" tests.
6286 * gdb.multi/remove-inferiors.exp: Adjust expected output of
6288 * gdb.multi/watchpoint-multi.exp: Likewise.
6289 * gdb.python/py-inferior.exp: Likewise.
6290 * gdb.server/extended-remote-restart.exp: Likewise.
6291 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
6293 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
6294 * gdb.trace/report.exp: Likewise.
6296 2020-01-10 Pedro Alves <palves@redhat.com>
6298 * gdb.multi/multi-target.c: New file.
6299 * gdb.multi/multi-target.exp: New file.
6300 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
6301 mode requested, but remote does not support non-stop".
6303 2020-01-10 Pedro Alves <palves@redhat.com>
6305 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
6306 disconnect before reconnecting.
6308 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6309 Pedro Alves <palves@redhat.com>
6311 * gdb.server/connect-without-multi-process.exp: Also test
6314 2020-01-10 Pedro Alves <palves@redhat.com>
6316 * gdb.base/remote-exec-file.exp: New file.
6318 2020-01-10 Pedro Alves <palves@redhat.com>
6320 * gdb.base/fork-running-state.exp (do_test): Adjust expected
6322 * gdb.threads/async.c: New.
6323 * gdb.threads/async.exp: New.
6324 * gdb.multi/tids-gid-reset.c: New.
6325 * gdb.multi/tids-gid-reset.exp: New.
6327 2020-01-10 George Barrett <bob@bob131.so>
6329 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
6330 to help in finding the image relocation offset.
6331 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
6332 options in arguments.
6333 (stap_test_no_debuginfo): Likewise.
6334 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
6336 (stap_test): Add null semaphore relocation test.
6338 2020-01-10 George Barrett <bob@bob131.so>
6340 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
6341 * gdb.base/stap-probe.exp: Likewise.
6342 (stap_test): Pass argument as an additional flag.
6343 (stap_test_no_debuginfo): Likewise.
6344 (stap_test): Check `info probes stap' output for semaphore
6345 addresses if the test binary is supposed to have them.
6347 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6349 * gdb.tui/basic.exp: Add more scrolling tests.
6351 2020-01-09 Tom Tromey <tom@tromey.com>
6354 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
6356 (Term::command, Term::resize): Update.
6357 * gdb.tui/basic.exp: Add scrolling test.
6359 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6361 * gdb.tui/tui-layout-asm.exp: New file.
6363 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6365 * lib/tuiterm.exp (Term::check_box_contents): New proc.
6367 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6369 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
6370 (Term::enter_tui): Use Term::prepare_for_tui.
6372 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6374 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
6377 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6379 * gdb.base/skip.exp: Fix race condition in test.
6381 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
6383 * gdb.base/backtrace.c: New file.
6384 * gdb.base/backtrace.exp: New file.
6386 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
6388 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
6390 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6392 * gdb.base/style.exp: Test that warnings are styled.
6394 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
6396 * gdb.base/line65535.exp: New file.
6397 * gdb.base/line65535.c: New file.
6399 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
6401 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
6402 * lib/gnat_debug_info_test.adb: New file.
6403 * gdb.ada/ptype_tagged_param.exp: Use
6404 gnat_runtime_has_debug_info, expect a different output if
6405 runtime does not have debug info.
6407 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6409 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
6410 (another) quote in test name.
6412 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
6414 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
6415 Add quote in test name.
6417 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6419 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
6421 * gdb.cp/pass-by-ref.exp: Extend with more cases.
6422 * gdb.cp/pass-by-ref-2.cc: New file.
6423 * gdb.cp/pass-by-ref-2.exp: New file.
6425 2019-12-20 Tom Tromey <tom@tromey.com>
6427 * gdb.tui/list-before.exp: New file.
6429 2019-12-20 Tom Tromey <tom@tromey.com>
6431 * gdb.tui/list.exp: Check for source on initial listing.
6433 2019-12-11 Tom Tromey <tromey@adacore.com>
6435 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
6438 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
6440 * gdb.base/default.exp: Update value of $_gdb_major.
6442 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6444 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
6446 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
6448 * gdb.base/skip.exp: Whitespace fix.
6450 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6452 * gdb.base/skip-inline.c: New file.
6453 * gdb.base/skip-inline.exp: New file.
6455 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
6457 * gdb.base/jit-reader.exp (jit_reader_test): Rename
6458 jit_function_00 to jit_function_stack_mangle.
6459 * gdb.base/jithost.c (jit_function_t): Rename to...
6460 (jit_function_stack_mangle_t): ... this.
6461 (jit_function_add_t): New typedef.
6462 (jit_function_00_code): Rename to...
6463 (jit_function_stack_mangle_code): ... this, make static.
6464 (jit_function_add_code): New.
6465 (main): Generate "add" function and call it. Adjust to changes
6467 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
6468 (struct jithost_abi) <begin, end>: Remove fields.
6469 <object, function_stack_mangle, function_add>: New fields.
6470 * gdb.base/jitreader.c (struct reader_state) <code_begin,
6471 code_end>: Remove fields.
6472 <func_stack_mangle>: New field.
6473 (read_debug_info): Adjust to renaming, create block for "add"
6475 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
6477 2019-12-11 Tom Tromey <tom@tromey.com>
6479 * gdb.tui/resize.exp: Fix regexp.
6480 * gdb.tui/regs.exp: Fix regexps.
6481 * gdb.tui/main.exp: Fix regexp.
6483 2019-12-11 Tom Tromey <tom@tromey.com>
6485 * gdb.tui/resize.exp: Update.
6486 * gdb.tui/empty.exp (layouts): Update.
6488 2019-12-11 Tom Tromey <tom@tromey.com>
6490 * gdb.tui/regs.exp: Update.
6491 * gdb.tui/empty.exp (layouts): Update.
6492 * gdb.tui/basic.exp: Update.
6493 * lib/tuiterm.exp (_check_box): Don't check bottom border.
6495 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6497 * gdb.base/options.exp: Add -raw-values in the print completion list.
6498 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
6500 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6502 * gdb.threads/omp-par-scope.c: New file.
6503 * gdb/threads/omp-par-scope.exp: New file.
6505 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6507 * lib/gdb.exp (support_nested_function_tests): New proc.
6509 2019-12-10 Kevin Buettner <kevinb@redhat.com>
6511 * lib/gdb.exp (gdb_compile_openmp): New proc.
6512 (build_executable_from_specs): Add an "openmp" option.
6513 (gdb_compile_pthreads): Add non-executable case.
6515 2019-12-10 Tom Tromey <tromey@adacore.com>
6517 * gdb.ada/unchecked_union.exp: New file.
6518 * gdb.ada/unchecked_union/pck.adb: New file.
6519 * gdb.ada/unchecked_union/pck.ads: New file.
6520 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
6521 * gdb-utils.exp (string_to_regexp): Also quote "?".
6523 2019-12-10 George Barrett <bob@bob131.so>
6525 Test scripted probe breakpoints.
6526 * gdb.guile/scm-breakpoint.c (main): Add probe point.
6527 * gdb.python/py-breakpoint.c (main): Likewise.
6528 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
6530 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
6532 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6534 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
6535 an rvalue parameter.
6536 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
6539 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6541 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
6544 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6546 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
6547 broken version of GCC.
6549 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
6551 * gdb.fortran/info-modules.exp: Rewrite to make use of new
6552 sym-info-cmds library.
6553 * gdb.fortran/info-types.exp: Likewise.
6554 * lib/sym-info-cmds.exp: New file.
6556 2019-12-08 Tom de Vries <tdevries@suse.de>
6558 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
6560 2019-12-07 Keith Seitz <keiths@redhat.com>
6562 * gdb.base/corefile-buildid-shlib-shr.c: New file.
6563 * gdb.base/corefile-buildid-shlib.c: New file.
6564 * gdb.base/corefile-buildid.c: New file.
6565 * gdb.base/corefile-buildid.exp: New file.
6567 2019-12-06 Tom de Vries <tdevries@suse.de>
6569 * gdb.dwarf2/varval.exp: Add decl before def test.
6571 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6573 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
6575 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
6577 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
6578 CV and reference conversion for overload resolution.
6579 * gdb.cp/rvalue-ref-overload.exp: Test it.
6581 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6583 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
6584 * gdb.base/frameapply.exp: Test faas without command.
6586 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6588 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
6590 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
6593 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6595 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
6596 casting to type with no kind specified.
6597 (test_basic_parsing_of_type_kinds): Additional tests for types
6598 with no kind specified, and add tests for single/double
6599 precision/complex types.
6601 2019-12-04 Tom Tromey <tromey@adacore.com>
6603 * gdb.base/endianity.c (struct other) <x>: New field.
6604 (main): Initialize it.
6605 * gdb.base/endianity.exp: Update.
6607 2019-12-04 Tom Tromey <tromey@adacore.com>
6609 * gdb.ada/scalar_storage/storage.adb: New file.
6610 * gdb.ada/scalar_storage/pck.adb: New file.
6611 * gdb.ada/scalar_storage/pck.ads: New file.
6612 * gdb.ada/scalar_storage.exp: New file.
6614 2019-12-04 Tom Tromey <tromey@adacore.com>
6616 * gdb.base/endianity.c (struct otherendian) <f>: New field.
6617 (main): Initialize it.
6618 * gdb.base/endianity.exp: Update.
6620 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6622 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
6624 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
6626 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
6627 -symbol-info-module-functions and -symbol-info-module-variables.
6629 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
6631 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
6633 2019-12-01 Richard Bunt <richard.bunt@arm.com>
6634 Andrew Burgess <andrew.burgess@embecosm.com>
6636 * gdb.fortran/derived-type-striding.exp: New file.
6637 * gdb.fortran/derived-type-striding.f90: New file.
6638 * gdb.fortran/array-slices.exp: New file.
6639 * gdb.fortran/array-slices.f90: New file.
6641 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6643 * gdb.base/define.exp: Test . in command names.
6644 * gdb.base/setshow.exp: Update test, as . is now part of
6647 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6649 * gdb.base/define-prefix.exp: New file.
6651 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
6653 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
6655 (skip_btrace_pt_tests): Likewise.
6657 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6659 * gdb.fortran/info-modules.exp: Compile source files in correct
6662 2019-11-27 Kevin Buettner <kevinb@redhat.com>
6664 * gdb.dwarf2/imported-unit.exp: New file.
6665 * gdb.dwarf2/imported-unit.c: New file.
6667 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6669 * gdb.mi/mi-fortran-modules-2.f90: New file.
6670 * gdb.mi/mi-fortran-modules.exp: New file.
6671 * gdb.mi/mi-fortran-modules.f90: New file.
6673 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
6675 * gdb.mi/mi-sym-info-1.c: New file.
6676 * gdb.mi/mi-sym-info-2.c: New file.
6677 * gdb.mi/mi-sym-info.exp: New file.
6679 2019-11-22 Tom Tromey <tromey@adacore.com>
6681 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
6682 * gdb.ada/tasks/foo.adb: Add another stopping location.
6684 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
6686 * gdb.base/endianity.c: New test.
6687 * gdb.base/endianity.exp: New file.
6689 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
6691 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
6693 2019-11-21 Tom de Vries <tdevries@suse.de>
6696 * gdb.base/ui-redirect.exp: Test output of user-defined command.
6698 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
6700 * gdb.python/py-progspace.exp: Add missing parentheses on some
6703 2019-11-19 Tom Tromey <tom@tromey.com>
6705 * gdb.tui/winheight.exp: New file.
6707 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6709 * gdb.base/ctf-whatis.c: Delete.
6710 * gdb.base/ctf-whatis.exp: Delete.
6711 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
6713 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6715 * gdb.base/ctf-cvexpr.exp: Delete.
6716 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
6718 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
6720 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
6721 the compiler. Clean up header comment a little.
6722 * gdb.base/ctf-ptype.exp: Likewise.
6723 * gdb.base/ctf-whatis.exp: Likewise.
6724 * lib/gdb.exp (skip_ctf_tests): New proc.
6726 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
6728 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
6729 * gdb.tui/corefile-run.exp: New file.
6731 2019-11-14 Tom Tromey <tromey@adacore.com>
6733 * gdb.base/gdbvars.exp (test_convenience_variables): Add
6736 2019-11-12 Tom Tromey <tom@tromey.com>
6738 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
6739 after any command. Expect prompt after WAIT_FOR is seen.
6740 (enter_tui): Enable resize messages.
6741 (command): Expect command in output.
6742 (get_line): Avoid error when cursor appears to be off-screen.
6743 (dump_screen): Include screen size in title.
6744 (_do_resize): New proc, from "resize".
6745 (resize): Rewrite. Do resize in two steps.
6746 * gdb.tui/empty.exp (layouts): Fix entries.
6747 (check_boxes): Remove xfail.
6748 (check_text): Dump screen on failure.
6750 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6752 * gdb.python/py-symbol.exp: Add test for
6753 gdb.lookup_static_symbols.
6755 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6757 * gdb.python/py-symbol.c: Declare and call function from new
6759 * gdb.python/py-symbol.exp: Compile both source files, and add new
6760 tests for gdb.lookup_static_symbol.
6761 * gdb.python/py-symbol-2.c: New file.
6763 2019-11-02 Tom de Vries <tdevries@suse.de>
6765 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6766 * gdb.base/anon.exp: Same.
6767 * gdb.base/auto-connect-native-target.exp: Same.
6768 * gdb.base/call-ar-st.exp: Same.
6769 * gdb.base/catch-syscall.exp: Same.
6770 * gdb.base/commands.exp: Same.
6771 * gdb.base/default.exp: Same.
6772 * gdb.base/display.exp: Same.
6773 * gdb.base/float.exp: Same.
6774 * gdb.base/foll-fork.exp: Same.
6775 * gdb.base/help.exp: Same.
6776 * gdb.base/info-macros.exp: Same.
6777 * gdb.base/info-proc.exp: Same.
6778 * gdb.base/info-target.exp: Same.
6779 * gdb.base/long_long.exp: Same.
6780 * gdb.base/macscp.exp: Same.
6781 * gdb.base/memattr.exp: Same.
6782 * gdb.base/nofield.exp: Same.
6783 * gdb.base/pointers.exp: Same.
6784 * gdb.base/printcmds.exp: Same.
6785 * gdb.base/ptype.exp: Same.
6786 * gdb.base/restore.exp: Same.
6787 * gdb.base/return.exp: Same.
6788 * gdb.base/scope.exp: Same.
6789 * gdb.base/set-noassign.exp: Same.
6790 * gdb.base/setshow.exp: Same.
6791 * gdb.base/shlib-call.exp: Same.
6792 * gdb.base/signals.exp: Same.
6793 * gdb.base/sigstep.exp: Same.
6794 * gdb.base/skip.exp: Same.
6795 * gdb.base/solib-symbol.exp: Same.
6796 * gdb.base/stap-probe.exp: Same.
6797 * gdb.base/step-line.exp: Same.
6798 * gdb.base/step-test.exp: Same.
6799 * gdb.base/style.exp: Same.
6800 * gdb.base/varargs.exp: Same.
6801 * gdb.base/vla-datatypes.exp: Same.
6802 * gdb.base/vla-ptr.exp: Same.
6803 * gdb.base/vla-sideeffect.exp: Same.
6804 * gdb.base/volatile.exp: Same.
6805 * gdb.base/watch-cond-infcall.exp: Same.
6806 * gdb.base/watchpoint.exp: Same.
6808 2019-11-02 Tom de Vries <tdevries@suse.de>
6810 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6811 * gdb.cp/cpexprs.exp: Same.
6812 * gdb.cp/except-multi-location.exp: Same.
6813 * gdb.cp/exceptprint.exp: Same.
6814 * gdb.cp/gdb2384.exp: Same.
6815 * gdb.cp/inherit.exp: Same.
6816 * gdb.cp/m-static.exp: Same.
6817 * gdb.cp/meth-typedefs.exp: Same.
6818 * gdb.cp/misc.exp: Same.
6819 * gdb.cp/namespace.exp: Same.
6820 * gdb.cp/non-trivial-retval.exp: Same.
6821 * gdb.cp/overload.exp: Same.
6822 * gdb.cp/pr17132.exp: Same.
6823 * gdb.cp/re-set-overloaded.exp: Same.
6824 * gdb.cp/rvalue-ref-types.exp: Same.
6825 * gdb.cp/templates.exp: Same.
6827 2019-11-01 Luis Machado <luis.machado@linaro.org>
6831 * gdb.arch/pr25124.S: New file.
6832 * gdb.arch/pr25124.exp: New file.
6834 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6836 * gdb.fortran/info-modules.exp: Update expected results, and add
6837 additional tests for 'info module functinos', and 'info module
6839 * gdb.fortran/info-types.exp: Update expected results.
6840 * gdb.fortran/info-types.f90: Extend testcase with additional
6841 module variables and functions.
6843 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6845 * gdb.fortran/info-modules.exp: New file.
6846 * gdb.fortran/info-types.exp: Build with new file.
6847 * gdb.fortran/info-types.f90: Include and use new module.
6848 * gdb.fortran/info-types-2.f90: New file.
6850 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6852 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6853 * gdb.base/settings.exp: Test all settings types using
6854 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6855 that now verifies that the value of "maint show" is the same as
6856 returned by the settings functions. Test the type of the
6857 maintenance settings.
6858 * gdb.base/default.exp: Update show_conv_list.
6860 2019-10-31 Tom de Vries <tdevries@suse.de>
6862 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6864 * gdb.arch/amd64-disp-step.exp: Same.
6865 * gdb.asm/asm-source.exp: Same.
6866 * gdb.btrace/buffer-size.exp: Same.
6867 * gdb.btrace/cpu.exp: Same.
6868 * gdb.btrace/enable.exp: Same.
6869 * gdb.dwarf2/count.exp: Same.
6870 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6871 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6872 * gdb.fortran/vla-datatypes.exp: Same.
6873 * gdb.fortran/vla-history.exp: Same.
6874 * gdb.fortran/vla-ptype.exp: Same.
6875 * gdb.fortran/vla-value.exp: Same.
6876 * gdb.fortran/whatis_type.exp: Same.
6877 * gdb.guile/guile.exp: Same.
6878 * gdb.multi/tids.exp: Same.
6879 * gdb.python/py-finish-breakpoint.exp: Same.
6880 * gdb.python/py-framefilter.exp: Same.
6881 * gdb.python/py-pp-registration.exp: Same.
6882 * gdb.python/py-xmethods.exp: Same.
6883 * gdb.python/python.exp: Same.
6884 * gdb.server/connect-with-no-symbol-file.exp: Same.
6885 * gdb.server/no-thread-db.exp: Same.
6886 * gdb.server/run-without-local-binary.exp: Same.
6887 * gdb.stabs/weird.exp: Same.
6888 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6889 * gdb.threads/thread-find.exp: Same.
6890 * gdb.threads/tls-shared.exp: Same.
6891 * gdb.threads/tls.exp: Same.
6892 * gdb.threads/wp-replication.exp: Same.
6893 * gdb.trace/ax.exp: Same.
6894 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6896 2019-10-31 Tom de Vries <tdevries@suse.de>
6898 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6899 * gdb.ada/array_subscript_addr.exp: Same.
6900 * gdb.ada/arrayidx.exp: Same.
6901 * gdb.ada/arrayparam.exp: Same.
6902 * gdb.ada/arrayptr.exp: Same.
6903 * gdb.ada/boolean_expr.exp: Same.
6904 * gdb.ada/call_pn.exp: Same.
6905 * gdb.ada/complete.exp: Same.
6906 * gdb.ada/fixed_cmp.exp: Same.
6907 * gdb.ada/fun_addr.exp: Same.
6908 * gdb.ada/funcall_param.exp: Same.
6909 * gdb.ada/interface.exp: Same.
6910 * gdb.ada/mod_from_name.exp: Same.
6911 * gdb.ada/null_array.exp: Same.
6912 * gdb.ada/packed_array.exp: Same.
6913 * gdb.ada/packed_tagged.exp: Same.
6914 * gdb.ada/print_chars.exp: Same.
6915 * gdb.ada/print_pc.exp: Same.
6916 * gdb.ada/ptype_arith_binop.exp: Same.
6917 * gdb.ada/ptype_field.exp: Same.
6918 * gdb.ada/ptype_tagged_param.exp: Same.
6919 * gdb.ada/rec_return.exp: Same.
6920 * gdb.ada/ref_tick_size.exp: Same.
6921 * gdb.ada/str_ref_cmp.exp: Same.
6922 * gdb.ada/taft_type.exp: Same.
6923 * gdb.ada/tagged.exp: Same.
6924 * gdb.ada/type_coercion.exp: Same.
6925 * gdb.ada/uninitialized_vars.exp: Same.
6927 2019-10-30 Tom de Vries <tdevries@suse.de>
6929 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6931 2019-10-26 Tom de Vries <tdevries@suse.de>
6933 * gdb.base/bigcore.c: Fix typos in comments.
6934 * gdb.base/ctf-ptype.c: Same.
6935 * gdb.base/long_long.c: Same.
6936 * gdb.dwarf2/dw2-op-out-param.S: Same.
6937 * gdb.python/py-evthreads.c: Same.
6938 * gdb.reverse/i387-stack-reverse.c: Same.
6939 * gdb.trace/tfile.c: Same.
6940 * lib/compiler.c: Same.
6941 * lib/compiler.cc: Same.
6943 2019-10-25 Tom de Vries <tdevries@suse.de>
6945 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6946 gdb_test_multiple calls.
6947 * gdb.reverse/sigall-reverse.exp: Same.
6948 * gdb.reverse/solib-precsave.exp: Same.
6949 * gdb.reverse/solib-reverse.exp: Same.
6950 * gdb.reverse/until-precsave.exp: Same.
6951 * gdb.reverse/until-reverse.exp: Same.
6953 2019-10-24 Tom de Vries <tdevries@suse.de>
6955 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6956 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6957 kfail using -wrap pattern flag and convenience variable
6960 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6962 * gdb.python/py-progspace.exp: Add tests for the
6963 Progspace.block_for_pc method.
6965 2019-10-23 Tom Tromey <tom@tromey.com>
6967 * configure: Rebuild.
6968 * aclocal.m4: Use m4_include, not sinclude.
6970 2019-10-21 Tom de Vries <tdevries@suse.de>
6972 * gdb.base/infcall-nested-structs.c: Add
6973 __attribute__((noinline,noclone)) to all functions.
6974 (call_all): Add missing variable initialization. Simplify return value.
6975 (breakpt): Increment volatile variable, to prevent call from being
6977 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6979 2019-10-17 Tom de Vries <tdevries@suse.de>
6981 * gdb.fortran/module.exp: Allow info variables to print info for files
6982 other than module.f90.
6984 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6986 * gdb.fortran/module.exp: Extend with 'info variables' test.
6988 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6990 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6993 2019-10-16 Tom de Vries <tdevries@suse.de>
6996 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6998 2019-10-16 Tom de Vries <tdevries@suse.de>
7001 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
7002 Add KFAIL for PR tdep/25096.
7004 2019-10-16 Tom de Vries <tdevries@suse.de>
7007 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
7009 2019-10-16 Tom de Vries <tdevries@suse.de>
7011 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
7014 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
7016 * gdb.mi/list-thread-groups-available.exp: Read entries one by
7017 one instead of increasing timeout.
7019 2019-10-13 Tom de Vries <tdevries@suse.de>
7022 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
7023 * gdb.reverse/sigall-reverse.exp: Same.
7024 * gdb.reverse/solib-precsave.exp: Same.
7025 * gdb.reverse/solib-reverse.exp: Same.
7026 * gdb.reverse/step-precsave.exp: Same.
7027 * gdb.reverse/until-precsave.exp: Same.
7028 * gdb.reverse/until-reverse.exp: Same.
7029 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
7031 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
7033 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
7034 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
7035 (cmp_struct_05_01, cmp_struct_static_02_01)
7036 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
7039 2019-10-10 Tom de Vries <tdevries@suse.de>
7042 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7045 2019-10-09 Tom de Vries <tdevries@suse.de>
7048 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
7050 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7052 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
7053 exceptions due to missing debug information.
7055 2019-10-07 Tom de Vries <tdevries@suse.de>
7057 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
7059 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
7061 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
7062 * gdb.base/annota1.exp: Update to use gdb_test_name.
7064 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
7066 * gdb.base/ctf-whatis.exp: New file.
7067 * gdb.base/ctf-whatis.c: New file.
7068 * gdb.base/ctf-ptype.exp: New file.
7069 * gdb.base/ctf-ptype.c: New file.
7070 * gdb.base/ctf-constvars.exp: New file.
7071 * gdb.base/ctf-constvars.c: New file.
7072 * gdb.base/ctf-cvexpr.exp: New file.
7074 2019-10-04 Tom de Vries <tdevries@suse.de>
7076 * gdb.cp/local-static.c (main): Move declaration of int i out of the
7079 2019-10-03 Tom Tromey <tom@tromey.com>
7082 * gdb.rust/simple.rs (Union2): New type.
7084 * gdb.rust/simple.exp: Add test.
7086 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7088 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
7089 nested function prefix.
7091 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
7092 Richard Bunt <richard.bunt@arm.com>
7093 Andrew Burgess <andrew.burgess@embecosm.com>
7095 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
7097 * gdb.fortran/nested-funcs.f90: Update expected results.
7098 * gdb.fortran/nested-funcs-2.exp: New file.
7099 * gdb.fortran/nested-funcs-2.f90: New file.
7101 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7103 * gdb.python/py-parameter.exp: Make test names unique.
7104 * gdb.python/py-template.exp: Likewise.
7105 * gdb.python/py-value.exp: Likewise.
7107 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7109 * gdb.base/break-interp.exp: Reduce test name duplication.
7110 * gdb.base/call-sc.exp: Likewise.
7111 * gdb.base/callfuncs.exp: Likewise.
7112 * gdb.base/charset.exp: Likewise.
7113 * gdb.base/dump.exp: Likewise.
7114 * gdb.base/ena-dis-br.exp: Likewise.
7115 * gdb.base/relational.exp: Likewise.
7116 * gdb.base/step-over-syscall.exp: Likewise.
7117 * gdb.base/structs.exp: Likewise.
7119 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7121 * gdb.linespec/explicit.exp: Make test names unique.
7122 * gdb.linespec/ls-errs.exp: Likewise.
7124 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7126 * gdb.reverse/break-precsave.exp: Make test names unique.
7127 * gdb.reverse/break-reverse.exp: Likewise.
7128 * gdb.reverse/finish-precsave.exp: Likewise.
7129 * gdb.reverse/finish-reverse.exp: Likewise.
7130 * gdb.reverse/machinestate-precsave.exp: Likewise.
7131 * gdb.reverse/machinestate.exp: Likewise.
7132 * gdb.reverse/readv-reverse.exp: Likewise.
7133 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7134 * gdb.reverse/sigall-precsave.exp: Likewise.
7135 * gdb.reverse/sigall-reverse.exp: Likewise.
7136 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
7137 * gdb.reverse/watch-precsave.exp: Likewise.
7138 * gdb.reverse/watch-reverse.exp: Likewise.
7140 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
7142 * gdb.threads/stop-with-handle.c: New file.
7143 * gdb.threads/stop-with-handle.exp: New file.
7145 2019-10-03 Tom de Vries <tdevries@suse.de>
7148 * gdb.base/list-missing-source.exp: Allowing the "Compilation
7149 directory" line to be missing.
7151 2019-10-03 Tom de Vries <tdevries@suse.de>
7154 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
7157 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
7159 * gdb.python/py-format-string.c (string.h): New include.
7160 (main): Fill a_struct_with_union.the_union.an_int with bytes of
7161 the same value, for endianness-independence.
7162 * gdb.python/py-format-string.exp (default_regexp_dict)
7163 (test_pretty_structs, test_format): Adjust expected output to the
7164 changed initialization.
7166 2019-10-02 Tom Tromey <tromey@adacore.com>
7168 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
7170 2019-10-02 Pedro Alves <palves@redhat.com>
7171 Andrew Burgess <andrew.burgess@embecosm.com>
7173 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
7175 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7176 (get_version_1): Print this_version_id and its address.
7177 Add extern "C" wrappers around interface functions.
7178 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
7180 (this_version_id) Use ATTRIBUTE_VISIBILITY.
7181 (get_version_2): Print this_version_id and its address.
7182 Add extern "C" wrappers around interface functions.
7183 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
7184 <stddef.h> and "print-file-var.h".
7185 Add extern "C" wrappers around interface functions.
7186 [VERSION_ID_MAIN] (this_version_id): Define.
7187 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
7188 * gdb.base/print-file-var.h: Add some #defines to simplify setting
7189 up extern "C" blocks.
7190 * gdb.base/print-file-var.exp (test): New, factored out from top
7192 (top level): Test all combinations of attribute hidden or not,
7193 dlopen or not, and this_version_id symbol in main file or not.
7194 Compile tests as both C++ and C, make test names unique.
7196 2019-10-01 Tom Tromey <tom@tromey.com>
7198 * gdb.base/style.exp: Test "show logging filename".
7200 2019-10-01 Tom Tromey <tom@tromey.com>
7202 * lib/gdb-utils.exp (style): Handle "metadata" argument.
7203 * gdb.base/style.exp: Add metadata style test.
7205 2019-10-01 Tom Tromey <tom@tromey.com>
7207 * gdb.base/style.exp: Test "pwd".
7209 2019-10-01 Tom Tromey <tom@tromey.com>
7211 * gdb.base/style.exp: Update tests.
7213 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
7215 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
7217 (s1): Initialize fields 'four' and 'six' instead of 'three' and
7218 'five'. Use an all-ones bit pattern for each.
7219 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
7220 to its changed values.
7222 2019-09-30 Tom Tromey <tromey@adacore.com>
7224 * gdb.rust/traits.rs: Disable all warnings.
7226 2019-09-29 Tom de Vries <tdevries@suse.de>
7228 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
7230 2019-09-29 Tom de Vries <tdevries@suse.de>
7232 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
7234 2019-09-27 Tom de Vries <tdevries@suse.de>
7236 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
7238 2019-09-27 Tom de Vries <tdevries@suse.de>
7241 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
7243 2019-09-26 Tom Tromey <tromey@adacore.com>
7245 * gdb.ada/py_taft.exp: New file.
7246 * gdb.ada/py_taft/main.adb: New file.
7247 * gdb.ada/py_taft/pkg.adb: New file.
7248 * gdb.ada/py_taft/pkg.ads: New file.
7250 2019-09-24 Tom de Vries <tdevries@suse.de>
7253 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
7255 2019-09-22 Tom de Vries <tdevries@suse.de>
7257 * gdb.base/restore.exp: Allow register variables to be optimized out at
7260 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
7262 * gdb.arch/spu-info.exp: Remove file.
7263 * gdb.arch/spu-info.c: Remove file.
7264 * gdb.arch/spu-ls.exp: Remove file.
7265 * gdb.arch/spu-ls.c: Remove file.
7267 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
7268 * gdb.asm/spu.inc: Remove file.
7270 * gdb.base/dump.exp: Remove support for spu*-*-*.
7271 * gdb.base/stack-checking.exp: Likewise.
7272 * gdb.base/overlays.exp: Likewise.
7273 * gdb.base/ovlymgr.c: Likewise.
7274 * gdb.base/spu.ld: Remove file.
7276 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
7277 * gdb.cp/cpexprs.exp: Likewise.
7278 * gdb.cp/exception.exp: Likewise.
7279 * gdb.cp/gdb2495.exp: Likewise.
7280 * gdb.cp/mb-templates.exp: Likewise.
7281 * gdb.cp/pr9167.exp: Likewise.
7282 * gdb.cp/userdef.exp: Likewise.
7284 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
7286 * gdb.cell: Remove directory.
7287 * lib/cell.exp: Remove file.
7289 2019-09-19 Tom de Vries <tdevries@suse.de>
7291 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
7293 2019-09-19 Tom de Vries <tdevries@suse.de>
7295 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
7297 2019-09-19 Tom de Vries <tdevries@suse.de>
7299 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
7300 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
7301 (gdb_target_cmd): ... here.
7302 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
7305 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
7307 * gdb.base/source-dir.exp: Avoid having directory names in test
7310 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7312 * gdb.base/source-dir.exp: Add extra test for mapped compilation
7315 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
7317 * gdb.base/list-missing-source.exp: New file.
7319 2019-09-14 Tom de Vries <tdevries@suse.de>
7322 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
7323 * lib/ada.exp (gnatmake_version_at_least): New proc.
7325 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7327 * gdb.base/maint.exp: Use exec_has_index_section.
7329 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
7331 * gdb.base/maint.exp: Add test for 'maint info sections'.
7333 2019-09-12 Tom de Vries <tdevries@suse.de>
7335 * gdb.base/store.exp: Allow register variables to be optimized out at
7338 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7340 * gdb.ada/rdv_wait.exp: Update to new task names.
7341 * gdb.base/task_switch_in_core.exp: Likewise.
7342 * gdb.base/info_sources_base.c: Likewise.
7344 2019-09-10 Tom Tromey <tromey@adacore.com>
7346 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
7348 2019-09-10 Tom Tromey <tromey@adacore.com>
7350 * gdb.ada/dgopt.exp: New file.
7351 * gdb.ada/dgopt/x.adb: New file.
7353 2019-09-08 Tom Tromey <tom@tromey.com>
7355 * gdb.tui/resize.exp: Remove setup_xfail.
7356 * gdb.tui/regs.exp: Remove setup_xfail.
7357 * gdb.tui/basic.exp: Remove setup_xfail.
7359 2019-09-06 David Blaikie <dblaikie@gmail.com>
7361 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
7362 * gdb.cp/cplabel.exp: Ditto.
7363 * gdb.linespec/ls-errs.exp: Ditto.
7365 2019-09-05 Tom de Vries <tdevries@suse.de>
7367 * lib/gdb.exp (cmp_file_string): New proc.
7368 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
7369 runto_main. Verify save breakpoints output.
7371 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7373 * gdb.base/info-var.exp: Test info variables without running
7374 to main, to avoid expect's buffer overflow.
7376 2019-09-03 Tom Tromey <tromey@adacore.com>
7378 * gdb.ada/bias.exp: New file.
7379 * gdb.ada/bias/bias.adb: New file.
7380 * gdb.ada/print_chars.exp: Add regression test.
7381 * gdb.ada/print_chars/foo.adb (My_Character): New type.
7384 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
7386 * gdb.base/argv0-symlink.exp: Run only on native target
7389 2019-08-29 Tom de Vries <tdevries@suse.de>
7391 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
7393 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
7395 2019-08-28 Tom de Vries <tdevries@suse.de>
7397 * gdb.base/info-var.exp: Allow info variables to print info for files
7398 other than info-var-f1.c and info-var-f2.c.
7400 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7402 * gdb.fortran/info-types.exp: Add module.
7403 * gdb.fortran/info-types.f90: Update expected results.
7405 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
7407 * gdb.fortran/info-types.exp: New file.
7408 * gdb.fortran/info-types.f90: New file.
7409 * lib/fortran.exp (fortran_character1): New proc.
7411 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
7413 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
7414 functions'. Reindent as needed.
7415 * gdb.base/info-var-f1.c: New file.
7416 * gdb.base/info-var-f2.c: New file.
7417 * gdb.base/info-var.exp: New file.
7418 * gdb.base/info-var.h: New file.
7420 2019-08-26 Tom de Vries <tdevries@suse.de>
7423 * gdb.cp/no-libstdcxx-probe.exp: New test.
7425 2019-08-26 Tom de Vries <tdevries@suse.de>
7427 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
7428 * tests need to be skipped.
7429 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
7430 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
7431 mi_skip_libstdcxx_probe_tests.
7433 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
7435 * gdb.python/py-xmethods.exp: Use raw strings when passing
7436 arguments to SimpleXMethodMatcher.
7438 2019-08-22 Tom de Vries <tdevries@suse.de>
7440 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
7443 2019-08-21 Pedro Alves <palves@redhat.com>
7445 * gdb.base/with.exp: Test "with" with no arguments.
7447 2019-08-21 Tom de Vries <tdevries@suse.de>
7449 * gdb.base/gdb-caching-proc.exp: Sort files.
7451 2019-08-20 Tom de Vries <tdevries@suse.de>
7453 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
7456 2019-08-16 Tom de Vries <tdevries@suse.de>
7458 * gdb.base/compare-sections.exp ("after run to main"): Allow
7459 mismatched read-only sections for PIE executables.
7461 2019-08-16 Tom Tromey <tom@tromey.com>
7463 * lib/tuiterm.exp (_csi_Z): New proc.
7464 * gdb.tui/basic.exp: Update window positions.
7465 * gdb.tui/empty.exp: Update window positions.
7467 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7469 * gdb.base/examine-backward.exp: Correct regexp for
7470 "examine 3 bytes backward from ${address_zero}".
7472 2019-08-15 Tom Tromey <tom@tromey.com>
7474 * gdb.tui/empty.exp: Enable resizing tests.
7476 2019-08-15 Tom Tromey <tromey@adacore.com>
7478 * gdb.ada/char_enum.exp: Add regression tests.
7479 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
7481 (Char, Gchar): Update.
7482 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
7484 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7486 * gdb.python/python.exp: Expect a leading underscore on
7487 GdbOutput{,Error}File.
7489 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7491 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
7494 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
7496 * gdb.base/batch-preserve-term-settings.exp
7497 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
7499 2019-08-15 Christian Biesinger <cbiesinger@google.com>
7501 * lib/gdb.exp: When running on a mingw target, replace
7504 2019-08-14 Alan Hayward <alan.hayward@arm.com>
7506 * gdb.arch/aarch64-prologue.c: New test.
7507 * gdb.arch/aarch64-prologue.exp: New file.
7509 2019-08-13 Tom de Vries <tdevries@suse.de>
7511 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
7514 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
7516 * gdb.python/py-completion.exp: Download the .py file to the host
7517 and use its host pathname. Conditionalize tests that use
7518 tab completion and manipulate files on the build machine.
7519 * gdb.python/py-events.exp: Download the .py file to the host
7520 and use its host pathname.
7521 * gdb.python/py-evsignal.exp: Likewise.
7522 * gdb.python/py-evthreads.exp: Likewise.
7523 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
7525 * gdb.python/py-framefilter.exp: Download the .py file to the right
7526 place on the host. Match Windows pathname syntax.
7527 * gdb.python/py-mi-var-info-path-expression.exp: Download the
7528 .py file to the host and use its host pathname.
7529 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
7530 * gdb.python/py-objfile.exp: Expect a host pathname, not a
7531 build pathname. Skip symlink test on Windows host. Add missing
7532 newline at end of file.
7533 * gdb.python/py-pp-maint.exp: Download the .py file to the host
7534 and use its host pathname.
7535 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
7536 * gdb.python/py-section-script.exp: Use host location of binfile
7537 on safe-path. Use correct path separator on Windows host.
7538 Reorder alternatives in gdb_test_multiple to prevent matching
7539 the wrong alternative on success.
7540 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
7542 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
7544 * gdb.gdb/selftest.exp (test_with_self): Update test to now
7545 expect the GDB inferior to no longer immediately stop after
7546 being resumed with "signal SIGINT".
7548 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
7550 * gdb.linespec/break-ask.exp: Generalize regexps to match
7551 Windows pathnames too.
7553 2019-08-08 Tom de Vries <tdevries@suse.de>
7556 * lib/tuiterm.exp (_accept): Fix CSI regexp.
7558 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7560 * gdb.base/style.exp: Update tests for help doc new invariants.
7561 * gdb.base/help.exp: Likewise.
7563 2019-08-06 Tom Tromey <tom@tromey.com>
7565 * gdb.base/style.exp: Add disassemble test.
7566 * gdb.base/style.c (some_called_function): New function.
7569 2019-08-05 Christian Biesinger <cbiesinger@google.com>
7571 * gdb.python/py-block.exp: Test dictionary access on blocks.
7573 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
7576 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
7577 -list-thread-groups --available test when running under
7580 2019-08-05 Tom de Vries <tdevries@suse.de>
7583 * lib/gdb.exp (with_read1_timeout_factor): New proc.
7584 * gdb.base/help.exp: Use with_read1_timeout_factor.
7585 * gdb.base/info-macros.exp: Same.
7586 * gdb.cp/nested-types.exp: Same.
7588 2019-08-05 Tom de Vries <tdevries@suse.de>
7590 * lib/gdb.exp (version_at_least): Factor out of ...
7591 (tcl_version_at_least): ... here.
7592 (gdb_compile): Fail if pie results in non-PIE executable.
7593 (readelf_version, readelf_prints_pie): New proc.
7594 (exec_is_pie): Return -1 if unknown.
7596 2019-08-05 Tom de Vries <tdevries@suse.de>
7598 * lib/gdb.exp (tcl_version_at_least): Fix typo.
7600 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7602 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
7604 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
7606 * lib/completion-support.exp (test_gdb_complete_none): Skip
7607 tab completion tests if no readline support.
7608 (test_gdb_complete_unique_re): Likewise.
7609 (test_gdb_complete_multiple): Likewise.
7611 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7613 * gdb.base/info_sources.exp: New file.
7614 * gdb.base/info_sources.c: New file.
7615 * gdb.base/info_sources_base.c: New file.
7617 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7619 * gdb.base/batch-exit-status.exp: Call test_exit_status with
7621 (test_exit_status): Add prefix argument.
7623 2019-08-01 Tom de Vries <tdevries@suse.de>
7626 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
7627 calling exp_continue for new thread and thread exited messages.
7629 2019-08-01 Tom de Vries <tdevries@suse.de>
7632 * gdb.base/structs.exp: Fix check-read1 timeout using
7634 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
7636 2019-08-01 Tom de Vries <tdevries@suse.de>
7639 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
7642 2019-08-01 Tom de Vries <tdevries@suse.de>
7645 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
7647 2019-07-30 Tom Tromey <tromey@adacore.com>
7649 * gdb.ada/display_nested.exp: New file.
7650 * gdb.ada/display_nested/foo.adb: New file.
7651 * gdb.ada/display_nested/pack.adb: New file.
7652 * gdb.ada/display_nested/pack.ads: New file.
7654 2019-07-30 Christian Biesinger <cbiesinger@google.com>
7656 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
7658 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
7660 2019-07-30 Tom de Vries <tdevries@suse.de>
7662 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
7665 2019-07-30 Tom de Vries <tdevries@suse.de>
7668 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
7669 (exec_is_pie): New proc.
7671 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7673 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
7675 2019-07-29 Christian Biesinger <cbiesinger@google.com>
7677 * gdb.python/py-objfile.c: Add global and static vars.
7678 * gdb.python/py-objfile.exp: Test new functions Objfile.
7679 lookup_global_symbol and lookup_static_symbol.
7681 2019-07-29 Tom Tromey <tom@tromey.com>
7683 * lib/tuiterm.exp (Term::_csi_@): New proc.
7684 (Term::_csi_X): Don't move cursor.
7686 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7688 * gdb.base/options.exp: Update backtrace - completion to
7689 new option -frame-info.
7690 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
7691 Test new 'set print frame-info'. Test backtrace -frame-info
7692 overriding 'set print frame-info'.
7693 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
7694 Test new 'set print frame-info'.
7695 Verify consistency of backtrace with and without filters, with and
7696 without -no-filters.
7697 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
7700 2019-07-29 Tom de Vries <tdevries@suse.de>
7702 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
7705 2019-07-29 Tom de Vries <tdevries@suse.de>
7707 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
7708 is a substring of the first for "complete non-unique file name".
7710 2019-07-29 Tom de Vries <tdevries@suse.de>
7712 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
7715 2019-07-29 Tom de Vries <tdevries@suse.de>
7717 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
7718 Pass prompt_regexp parameter to gdb_test_multiple calls.
7720 2019-07-29 Tom de Vries <tdevries@suse.de>
7722 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
7723 print registers" regexps.
7725 2019-07-29 Tom de Vries <tdevries@suse.de>
7727 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
7729 2019-07-29 Tom de Vries <tdevries@suse.de>
7732 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
7733 (skip_python_tests_prompt): Add prompt_regexp argument to
7734 gdb_test_multiple calls.
7736 2019-07-27 Tom Tromey <tom@tromey.com>
7738 * gdb.tui/main.exp: New file.
7740 2019-07-27 Tom Tromey <tom@tromey.com>
7742 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
7744 * gdb.tui/empty.exp: New file.
7746 2019-07-27 Tom Tromey <tom@tromey.com>
7748 * lib/tuiterm.exp (spawn): New proc.
7749 (Term::resize): New proc.
7750 * gdb.tui/resize.exp: New file.
7752 2019-07-27 Tom Tromey <tom@tromey.com>
7754 * gdb.tui/list.exp: New file.
7756 2019-07-27 Tom Tromey <tom@tromey.com>
7758 * gdb.tui/regs.exp: New file.
7760 2019-07-27 Tom Tromey <tom@tromey.com>
7762 * gdb.tui/basic.exp: Add "layout split" test.
7764 2019-07-27 Tom Tromey <tom@tromey.com>
7766 * gdb.tui/basic.exp: Add "layout asm" test.
7768 2019-07-27 Tom Tromey <tom@tromey.com>
7770 * lib/tuiterm.exp: New file.
7771 * gdb.tui/basic.exp: New file.
7773 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7775 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7776 Enable tests associated with this flag. Adjust regex
7777 referencing "foo_low" to now refer to "foo_cold" instead.
7779 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7781 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7782 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7783 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7784 foo_cold. Revise comments to match.
7785 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7786 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7787 were wrapped into this proc; Call do_test in loop from outermost
7789 (foo_low): Rename all occurrences to "foo_cold".
7790 (backtrace from baz): New test.
7791 (x2/i foo_cold): New test.
7792 (info line *foo_cold): New test.
7794 2019-07-26 Tom de Vries <tdevries@suse.de>
7796 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7798 2019-07-25 Tom de Vries <tdevries@suse.de>
7801 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7802 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7803 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7804 (skip_libstdcxx_probe_tests): ... here.
7805 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7807 2019-07-24 Tom de Vries <tdevries@suse.de>
7810 * gdb.objc/basicclass.m: Include stdio.h.
7811 * gdb.objc/nondebug.m: Same.
7812 * gdb.objc/objcdecode.m: Same.
7814 2019-07-24 Tom de Vries <tdevries@suse.de>
7817 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7820 2019-07-24 Tom de Vries <tdevries@suse.de>
7823 * gdb.multi/tids.exp: Update error messages for info threads.
7825 2019-07-24 Tom de Vries <tdevries@suse.de>
7827 * gdb.base/info-types.exp: Allow info types to print info for more than
7830 2019-07-23 Tom de Vries <tdevries@suse.de>
7833 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7834 gdb_spawn_with_cmdline_opts.
7836 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7838 * gdb.arch/arm-cmse-sgstubs.c: New test.
7839 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7841 2019-07-23 Tom de Vries <tdevries@suse.de>
7844 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7845 issuing next command.
7847 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7849 * gdb.ada/info_auto_lang.exp: Update expected results.
7850 * gdb.base/info-types.c: Add additional types to check.
7851 * gdb.base/info-types.exp: Update expected results.
7853 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7855 * gdb.base/info-types.c: New file.
7856 * gdb.base/info-types.exp: New file.
7858 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7860 * gdb.arch/riscv-bp-infcall.c: New file.
7861 * gdb.arch/riscv-bp-infcall.exp: New file.
7863 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7865 PR breakpoints/24541
7866 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7868 2019-07-14 Tom de Vries <tdevries@suse.de>
7871 * gdb.objc/basicclass.exp: Fix unterminated string.
7873 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7874 Andrew Burgess <andrew.burgess@embecosm.com>
7876 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7877 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7879 * gdb.fortran/vla-value.exp: Print elements of an array with
7881 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7884 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7886 * gdb.base/options.exp (expect_string): Dequote strings in
7888 (test-string): Test strings with different quoting and reindent.
7890 2019-07-10 Tom Tromey <tromey@adacore.com>
7892 * gdb.ada/mi_ex_cond.exp: Update expected results.
7893 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7894 * gdb.ada/mi_catch_ex.exp: Update expected results.
7895 * gdb.ada/mi_catch_assert.exp: Update expected results.
7896 * gdb.ada/catch_ex.exp (catch_exception_info)
7897 (catch_exception_entry, catch_assert_entry)
7898 (catch_unhandled_entry): Update.
7899 * gdb.ada/catch_assert_if.exp: Update expected results.
7901 2019-07-10 Richard Bunt <richard.bunt@arm.com>
7902 Stephen Roberts <stephen.roberts@arm.com>
7904 * gdb.base/define.exp: Restore original prompt.
7906 2019-07-09 Pedro Alves <palves@redhat.com>
7908 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7909 breakpoints" output.
7910 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7911 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7912 throw" creates breakpoint.
7913 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7914 'type="catchpoint"'.
7916 2019-07-09 Pedro Alves <palves@redhat.com>
7919 * gdb.cp/except-multi-location-lib.cc: New.
7920 * gdb.cp/except-multi-location-main.cc: New.
7921 * gdb.cp/except-multi-location.exp: New.
7923 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7925 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7926 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7927 argument and update callers.
7929 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7931 * gdb.arch/amd64-break-on-asm-line.S: New file.
7932 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7934 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7936 * gdb.base/printcmds.exp: Test printing C string and
7937 C wide string convenience vars without transiting via the inferior.
7938 Also make test names unique.
7940 2019-07-08 Alan Hayward <alan.hayward@arm.com>
7942 PR breakpoints/25011
7943 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7945 2019-07-04 Pedro Alves <palves@redhat.com>
7947 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7948 body returned ok(0), break(3) or continue(4).
7949 * gdb.testsuite/foreach_with_prefix.exp: New file.
7951 2019-07-04 Alan Hayward <alan.hayward@arm.com>
7953 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7955 2019-07-03 Pedro Alves <palves@redhat.com>
7957 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7960 2019-07-03 Pedro Alves <palves@redhat.com>
7963 * gdb.base/shell.exp: Load completion-support.exp.
7964 Adjust expected error output. Add completion tests.
7966 2019-07-03 Pedro Alves <palves@redhat.com>
7968 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7971 2019-07-03 Pedro Alves <palves@redhat.com>
7973 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7974 (expect_integer): Adjust to expect "-string".
7975 (expect_string): New.
7976 (all_options): Expect "-string".
7977 (test-flag, test-boolean): Adjust to expect "-string".
7978 (test-string): New proc.
7979 (top level): Call it.
7981 2019-07-03 Pedro Alves <palves@redhat.com>
7983 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7984 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7985 the expected output in the success.
7987 2019-07-03 Pedro Alves <palves@redhat.com>
7989 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7990 Split one gdb_test_multiple call in two to avoid a race.
7992 2019-07-03 Pedro Alves <palves@redhat.com>
7994 * gdb.base/with.c: New file.
7995 * gdb.base/with.exp: New file.
7997 2019-07-03 Pedro Alves <palves@redhat.com>
7999 * gdb.base/settings.exp: Replace all references to "maint
8000 test-settings set" with references to "maint set test-settings",
8001 and all references to "maint test-settings show" with references
8002 to "maint show test-settings".
8004 2019-07-03 Pedro Alves <palves@redhat.com>
8006 * gdb.base/settings.exp (test-string): Adjust expected out when
8007 testing "maint test-settings show filename"
8009 2019-07-02 Pedro Alves <palves@redhat.com>
8011 * gdb.base/options.exp (test-info-threads): New procedure.
8012 (top level): Call it.
8014 2019-06-28 Tom Tromey <tromey@adacore.com>
8016 * gdb.dwarf2/ada-linkage-name.c: New file.
8017 * gdb.dwarf2/ada-linkage-name.exp: New file.
8019 2019-06-27 Tom Tromey <tromey@adacore.com>
8022 * gdb.cp/constexpr-field.exp: Use setup_xfail.
8024 2019-06-26 Tom de Vries <tdevries@suse.de>
8026 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
8028 2019-06-26 Tom de Vries <tdevries@suse.de>
8030 * gdb.base/index-cache.exp: Add back missing debug option.
8032 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8034 * gdb.base/alias.exp: Test non matching/non existing prefixes.
8036 2019-06-25 Tom de Vries <tdevries@suse.de>
8039 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
8041 2019-06-24 Tom de Vries <tdevries@suse.de>
8043 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
8045 2019-06-24 Tom de Vries <tdevries@suse.de>
8047 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
8048 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
8049 * gdb.trace/unavailable-dwarf-piece.exp: Same.
8051 2019-06-24 Tom de Vries <tdevries@suse.de>
8053 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
8055 2019-06-21 Tom de Vries <tdevries@suse.de>
8057 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
8059 2019-06-21 Tom de Vries <tdevries@suse.de>
8063 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
8066 2019-06-19 Tom Tromey <tromey@adacore.com>
8068 * gdb.ada/length_cond.exp: Add intro comment.
8070 2019-06-19 Tom Tromey <tromey@adacore.com>
8072 * gdb.ada/length_cond.exp: New file.
8073 * gdb.ada/length_cond/length_cond.adb: New file.
8074 * gdb.ada/length_cond/pck.adb: New file.
8075 * gdb.ada/length_cond/pck.ads: New file.
8077 2019-06-18 Tom de Vries <tdevries@suse.de>
8079 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
8081 2019-06-18 Tom Tromey <tromey@adacore.com>
8083 * gdb.base/list0.h: Add comment explaining control character.
8085 2019-06-18 Tom de Vries <tdevries@suse.de>
8087 * boards/fission.exp: Break up long debug_flags line.
8089 2019-06-16 Tom de Vries <tdevries@suse.de>
8092 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
8095 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8098 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
8099 improve detection of bug gdb/24541.
8101 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
8104 * gdb.base/index-cache.exp (uses_readnow,
8105 expecting_index_cache_use): Define global variable.
8106 (test_cache_enabled_miss, test_cache_enabled_hit): Use
8107 expecting_index_cache_use.
8109 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
8110 Andrew Burgess <andrew.burgess@embecosm.com>
8112 * gdb.fortran/pointers.f90: New file.
8113 * gdb.fortran/print_type.exp: New file.
8114 * gdb.fortran/vla-ptype.exp: Adapt expected results.
8115 * gdb.fortran/vla-type.exp: Likewise.
8116 * gdb.fortran/vla-value.exp: Likewise.
8117 * gdb.mi/mi-vla-fortran.exp: Likewise.
8119 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8121 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
8122 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
8123 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8126 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8128 * gdb.base/annota1.exp: Update expected results.
8129 * gdb.cp/annota2.exp: Likewise.
8130 * gdb.cp/annota3.exp: Likewise.
8132 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
8134 * gdb.base/style-logging.exp: Remove path from test name.
8136 2019-06-14 Tom Tromey <tromey@adacore.com>
8139 * gdb.base/style-logging.exp: New file.
8141 2019-06-14 Tom Tromey <tromey@adacore.com>
8143 * gdb.base/symfile-warn.exp: New file.
8144 * gdb.base/symfile-warn.c: New file.
8146 2019-06-14 Tom Tromey <tromey@adacore.com>
8148 * gdb.base/annotate-symlink.exp: New file.
8150 2019-06-14 Tom Tromey <tromey@adacore.com>
8152 * gdb.ada/set_wstr.exp: Add reassignment test.
8154 2019-06-14 Tom Tromey <tromey@adacore.com>
8156 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
8157 'unchecked_access and 'unrestricted_access as well.
8159 2019-06-14 Tom Tromey <tromey@adacore.com>
8162 * gdb.ada/vla.exp: Update tests.
8163 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
8166 2019-06-13 Pedro Alves <palves@redhat.com>
8168 * gdb.base/settings.exp (test-integer): Test junk after
8171 2019-06-13 Pedro Alves <palves@redhat.com>
8173 * gdb.base/options.exp (test-thread-apply): New.
8174 (top level): Call it.
8176 2019-06-13 Pedro Alves <palves@redhat.com>
8178 * gdb.base/options.exp (test-frame-apply): New.
8179 (top level): Test print commands with different "frame apply"
8182 2019-06-13 Pedro Alves <palves@redhat.com>
8184 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
8185 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
8186 'max_completions' parameter and handle it.
8187 (test_gdb_completion_offers_commands): New.
8189 2019-06-13 Pedro Alves <palves@redhat.com>
8191 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
8193 2019-06-13 Pedro Alves <palves@redhat.com>
8195 * gdb.base/options.exp (test-backtrace): New.
8196 (top level): Call it.
8198 2019-06-13 Pedro Alves <palves@redhat.com>
8200 * gdb.guile/scm-frame-args.exp: Use "set print
8201 raw-frame-arguments" instead of "set print raw frame-arguments".
8202 * gdb.python/py-frame-args.exp: Likewise.
8204 2019-06-13 Pedro Alves <palves@redhat.com>
8206 * gdb.compile/compile.exp: Adjust expected output to option
8209 2019-06-13 Pedro Alves <palves@redhat.com>
8211 * gdb.base/options.exp: Build executable.
8212 (test-print): New procedure.
8213 (top level): Call it, once for "print" and another for "compile
8216 2019-06-13 Pedro Alves <palves@redhat.com>
8218 * gdb.base/options.c: New file.
8219 * gdb.base/options.exp: New file.
8221 2019-06-13 Pedro Alves <palves@redhat.com>
8223 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
8224 that "o" is ambiguous.
8226 2019-06-13 Pedro Alves <palves@redhat.com>
8228 * gdb.base/settings.c: New file.
8229 * gdb.base/settings.exp: New file.
8231 2019-06-13 Pedro Alves <palves@redhat.com>
8233 * gdb.base/completion.exp: Fix comment typo.
8235 2019-06-13 Pedro Alves <palves@redhat.com>
8237 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
8240 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
8242 * gdb.fortran/block-data.f: New.
8243 * gdb.fortran/block-data.exp: New.
8245 2019-06-11 Tom de Vries <tdevries@suse.de>
8248 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
8251 2019-06-11 Tom de Vries <tdevries@suse.de>
8254 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
8256 2019-06-11 Tom de Vries <tdevries@suse.de>
8258 * boards/readnow.exp: New file.
8260 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
8262 * gdb.fortran/vla-sizeof.exp: Update expected results.
8264 2019-06-06 Amos Bird <amosbird@gmail.com>
8266 * gdb.base/annota1.exp (thread_switch): Add test for
8267 thread-exited annotation.
8269 2019-06-06 Tom Tromey <tromey@adacore.com>
8271 * gdb.base/maint.exp: Expect command started/finished output.
8273 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8275 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
8277 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
8279 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
8281 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
8282 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
8283 * gdb.arch/riscv-unwind-long-insn.c: New file.
8284 * gdb.arch/riscv-unwind-long-insn.exp: New file.
8286 2019-06-04 Christian Biesinger <cbiesinger@google.com>
8288 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
8290 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8292 * lib/gdb.exp (help_list_trailer): New regexp variable
8293 factorizing the help trailer message.
8294 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
8295 arg to allow to better factorize various tests.
8296 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
8297 (test_prefix_command_help): Use help_list_trailer.
8298 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
8299 * gdb.guile/scm-cmd.exp: Likewise.
8300 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
8301 * gdb.base/help.exp: Use test_user_defined_class_help.
8302 * gdb.base/style.exp: Add tests for styling of help and apropos.
8303 * lib/gdb-utils.exp (style): Add title and highlight styles.
8305 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8307 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
8309 * gdb.base/default.exp: Update for new convenience variables.
8311 2019-05-29 Tom Tromey <tromey@adacore.com>
8313 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
8314 to "break complete ada" test case's regexp.
8316 2019-05-29 Tom Tromey <tromey@adacore.com>
8319 * gdb.cp/constexpr-field.exp: New file.
8320 * gdb.cp/constexpr-field.cc: New file.
8322 2019-05-29 Tom Tromey <tromey@adacore.com>
8324 * gdb.base/finish.exp (finish_no_print): New proc.
8325 (finish_tests): Call it.
8327 2019-05-24 Tom de Vries <tdevries@suse.de>
8329 * gdb.dwarf2/gdb-add-index.exp: New file.
8331 2019-05-22 Tom Tromey <tromey@adacore.com>
8333 * gdb.base/info-shared.exp (check_info_shared): Use "style".
8334 * gdb.base/style.exp: Use "style".
8335 * lib/gdb-utils.exp (style): New proc.
8337 2019-05-22 Tom de Vries <tdevries@suse.de>
8339 * gdb.base/align.exp: Require c++11.
8341 2019-05-22 Tom de Vries <tdevries@suse.de>
8344 * gdb.python/py-mi-var-info-path-expression.exp: Call
8345 mi_skip_python_tests to check if python is supported.
8347 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8349 * gdb.arch/aarch64-pauth.c: New test.
8350 * gdb.arch/aarch64-pauth.exp: New file.
8352 2019-05-22 Alan Hayward <alan.hayward@arm.com>
8354 * README (Re-running Tests Outside The Testsuite): New section.
8356 2019-05-21 Tom de Vries <tdevries@suse.de>
8358 * gdb.arch/amd64-eval.exp: Require c++11.
8359 * gdb.base/max-depth.exp: Same.
8360 * gdb.compile/compile-cplus-array-decay.exp: Same.
8361 * gdb.cp/meth-typedefs.exp: Same.
8362 * gdb.cp/subtypes.exp: Same.
8363 * gdb.cp/temargs.exp: Same.
8365 2019-05-21 Alan Hayward <alan.hayward@arm.com>
8367 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
8369 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
8372 * gdb.fortran/complex.exp: Remove setup_kfail calls.
8373 * gdb.fortran/printing-types.exp: Add new test.
8374 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
8376 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
8379 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8381 * README (Running the Testsuite): Change example.
8382 (Testsuite Parameters): Remove TRANSCRIPT.
8383 * lib/gdb.exp: Remove TRANSCRIPT check.
8385 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8387 * README (Testsuite Parameters): Add replay logging to
8389 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
8390 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
8391 as a comma separated list.
8392 (gdb_debug_init): Override procedure.
8394 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8396 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
8397 (gdb_write_cmd_file): New procedure.
8398 * lib/gdbserver-support.exp (gdbserver_start): Call
8399 gdbserver_write_cmd_file.
8400 (gdbserver_write_cmd_file): New procedure.
8402 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8404 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
8405 (delete_breakpoints): Likewise.
8406 (gdb_run_cmd): Likewise.
8407 (gdb_start_cmd): Likewise.
8408 (gdb_starti_cmd): Likewise.
8409 (gdb_internal_error_resync): Likewise.
8410 (gdb_test_multiple): Likewise.
8411 (gdb_reinitialize_dir): Likewise.
8412 (default_gdb_exit): Likewise.
8413 (gdb_file_cmd): Mark kill as optional.
8414 (default_gdb_start): Call gdb_stdin_log_init.
8415 (send_gdb): Call gdb_stdin_log_write.
8416 (rerun_to_main): Mark Y as an answer.
8417 (gdb_stdin_log_init): New function.
8418 (gdb_stdin_log_write): Likewise.
8420 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8422 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
8423 * gdb.base/debug-expr.exp: Likewise.
8424 * gdb.base/foll-fork.exp: Likewise.
8425 * gdb.base/foll-vfork.exp: Likewise.
8426 * gdb.base/fork-print-inferior-events.exp: Likewise.
8427 * gdb.base/gdb-sigterm.exp: Likewise.
8428 * gdb.base/gdbinit-history.exp: Likewise.
8429 * gdb.base/osabi.exp: Likewise.
8430 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8431 * gdb.base/ui-redirect.exp: Likewise.
8432 * gdb.gdb/unittest.exp: Likewise.
8433 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
8434 * gdb.mi/mi-watch.exp: Likewise.
8435 * gdb.mi/new-ui-mi-sync.exp: Likewise.
8436 * gdb.mi/user-selected-context-sync.exp: Likewise.
8437 * gdb.python/python.exp: Disable debug test when debugging.
8438 * gdb.threads/check-libthread-db.exp: Disable when debugging.
8439 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8441 * gdb.threads/stepi-random-signal.exp: Likewise.
8443 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8445 * Makefile.in: Pass through GDB_DEBUG.
8446 * README (Testsuite Parameters): Add GDB_DEBUG.
8447 (gdb,debug): Add board setting.
8448 * lib/gdb.exp (default_gdb_start): Start debugging.
8449 (gdb_debug_enabled): New procedure.
8450 (gdb_debug_init): Likewise.
8452 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8454 * Makefile.in: Pass through GDB_DEBUG.
8455 * README (Testsuite Parameters): Add GDB_DEBUG.
8456 (gdb,debug): Add board setting.
8457 * lib/gdb.exp (default_gdb_start): Start debugging.
8458 (gdb_debug_enabled): New procedure.
8459 (gdb_debug_init): Likewise.
8461 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8463 * gdb.base/ui-redirect.exp: Add debug redirect tests.
8465 2019-05-17 Alan Hayward <alan.hayward@arm.com>
8467 * gdb.base/ui-redirect.exp: Test redirection.
8469 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
8471 * gdb.mi/mi-complete.exp: New file.
8472 * gdb.mi/mi-complete.cc: Likewise.
8474 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
8476 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
8477 indexed and sliced arrays, and pointers to arrays.
8479 2019-05-14 Tom Tromey <tromey@adacore.com>
8481 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
8484 2019-05-14 Tom de Vries <tdevries@suse.de>
8486 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
8487 selection entry encoding.
8489 2019-05-10 Tom Tromey <tromey@adacore.com>
8491 * gdb.ada/info_exc.exp: Add "complete" test.
8493 2019-05-09 Tom de Vries <tdevries@suse.de>
8495 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
8498 2019-05-09 Tom de Vries <tdevries@suse.de>
8500 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
8503 2019-05-08 Joel Brobecker <brobecker@adacore.com>
8505 * gdb.ada/frame_arg_lang.exp: New testcase.
8506 * gdb.ada/frame_arg_lang/bla.adb: New file.
8507 * gdb.ada/frame_arg_lang/pck.ads: New file.
8508 * gdb.ada/frame_arg_lang/pck.adb: New file.
8509 * gdb.ada/frame_arg_lang/foo.c: New file.
8511 2019-05-08 Tom Tromey <tromey@adacore.com>
8513 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
8515 2019-05-08 Tom Tromey <tromey@adacore.com>
8517 * gdb.base/ptype-offsets.exp: Update tests.
8519 2019-05-08 Tom Tromey <tromey@adacore.com>
8521 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
8523 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
8526 2019-05-08 Tom Tromey <tromey@adacore.com>
8528 * gdb.ada/vla.exp: New file.
8529 * gdb.ada/vla/vla.adb: New file.
8531 2019-05-07 Tom de Vries <tdevries@suse.de>
8533 * gdb.base/index-cache.exp (ls_host): Fix return statement.
8535 2019-05-07 Tom de Vries <tdevries@suse.de>
8538 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
8541 2019-05-07 Tom de Vries <tdevries@suse.de>
8544 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
8545 .debug_aranges section.
8547 2019-05-07 Tom de Vries <tdevries@suse.de>
8550 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
8552 2019-05-06 Tom de Vries <tdevries@suse.de>
8554 * lib/gdb.exp (exec_has_index_section): New proc.
8555 * gdb.base/index-cache.exp: Handle case that binfile contains an index
8558 2019-05-04 Tom de Vries <tdevries@suse.de>
8560 * boards/cc-with-debug-names.exp: New file.
8562 2019-05-03 Tom Tromey <tromey@adacore.com>
8564 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
8565 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
8566 * gdb.ada/char_enum.exp: Add test.
8568 2019-05-03 Tom de Vries <tdevries@suse.de>
8570 * boards/cc-with-gdb-index.exp: New file.
8572 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
8574 * gdb.rust/simple.exp: Add new test case.
8575 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
8576 (main): Initialise an instance of the new struct.
8578 2019-05-01 Tom Tromey <tromey@adacore.com>
8580 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
8582 (NPR): New variable.
8583 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
8586 2019-05-01 Tom Tromey <tromey@adacore.com>
8588 * gdb.ada/packed_array_assign.exp: Add packed assignment
8591 2019-05-01 Tom de Vries <tdevries@suse.de>
8593 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
8595 2019-05-01 Tom de Vries <tdevries@suse.de>
8597 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
8599 2019-04-30 Ali Tamur <tamur@google.com>
8601 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
8603 2019-04-30 Tom Tromey <tromey@adacore.com>
8605 * lib/ada.exp (find_ada_tool): New proc.
8606 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
8607 * gdb.ada/catch_ex_std.exp: New file.
8608 * gdb.ada/catch_ex_std/foo.adb: New file.
8609 * gdb.ada/catch_ex_std/some_package.adb: New file.
8610 * gdb.ada/catch_ex_std/some_package.ads: New file.
8612 2019-04-30 Tom Tromey <tromey@adacore.com>
8615 * gdb.cp/temargs.cc: Add test code from PR.
8617 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8619 * gdb.fortran/vla-datatypes.exp: Update expected results.
8620 * gdb.fortran/vla-ptype.exp: Likewise.
8621 * gdb.fortran/vla-type.exp: Likewise.
8622 * gdb.fortran/vla-value.exp: Likewise.
8624 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8626 * gdb.fortran/ptr-indentation.exp: Update expected results.
8627 * gdb.fortran/ptype-on-functions.exp: Likewise.
8628 * gdb.fortran/vla-ptr-info.exp: Likewise.
8629 * gdb.fortran/vla-value.exp: Likewise.
8631 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8633 * gdb.fortran/ptype-on-functions.exp: New file.
8634 * gdb.fortran/ptype-on-functions.f90: New file.
8636 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8638 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
8641 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8643 * gdb.fortran/complex.exp: Expand.
8644 * gdb.fortran/complex.f: Renamed to...
8645 * gdb.fortran/complex.f90: ...this, and extended to add more
8648 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
8650 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
8653 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
8654 Richard Bunt <richard.bunt@arm.com>
8656 * gdb.base/max-depth.c: New file.
8657 * gdb.base/max-depth.exp: New file.
8658 * gdb.python/py-nested-maps.c: New file.
8659 * gdb.python/py-nested-maps.exp: New file.
8660 * gdb.python/py-nested-maps.py: New file.
8661 * gdb.python/py-format-string.exp (test_max_depth): New proc.
8662 (test_all_common): Call test_max_depth.
8663 * gdb.fortran/max-depth.exp: New file.
8664 * gdb.fortran/max-depth.f90: New file.
8665 * gdb.go/max-depth.exp: New file.
8666 * gdb.go/max-depth.go: New file.
8667 * gdb.modula2/max-depth.exp: New file.
8668 * gdb.modula2/max-depth.c: New file.
8669 * lib/gdb.exp (get_print_expr_at_depths): New proc.
8671 2019-04-29 Tom de Vries <tdevries@suse.de>
8673 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
8675 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8677 * gdb.base/callexit.exp: Test may-call-functions off.
8679 2019-04-25 Keith Seitz <keiths@redhat.com>
8682 * gdb.cp/meth-typedefs.cc (incomplete_struct)
8683 (another_incomplete_struct, test_incomplete): New definitions.
8684 (main): Use new definitions.
8685 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
8688 2019-04-25 Ali Tamur <tamur@google.com>
8690 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
8692 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
8696 * gdb.base/coredump-filter-build-id.exp: New file.
8698 2019-04-25 Alan Hayward <alan.hayward@arm.com>
8700 * Makefile.in: Pass through GDBSERVER_DEBUG.
8701 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
8702 (gdbserver,debug): Add board setting.
8703 * gdb.trace/tspeed.exp: Skip when debugging.
8704 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
8705 * lib/gdbserver-support.exp: Likewise
8707 2019-04-24 Tom Tromey <tromey@adacore.com>
8709 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
8712 2019-04-24 Tom Tromey <tromey@adacore.com>
8714 * gdb.arch/amd64-eval.exp: Test bitfield return.
8715 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
8716 (class Foo) <return_bitfields>: New method.
8719 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
8721 * gdb.cp/many-args.cc: New file.
8722 * gdb.cp/many-args.exp: New file.
8724 2019-04-23 Tom de Vries <tdevries@suse.de>
8727 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
8729 2019-04-23 Alan Hayward <alan.hayward@arm.com>
8731 * gdb.trace/backtrace.exp: Use nopie flag.
8732 * gdb.trace/circ.exp: Likewise.
8733 * gdb.trace/collection.exp: Likewise.
8734 * gdb.trace/ftrace.exp: Likewise.
8735 * gdb.trace/mi-trace-unavailable.exp: Likewise.
8736 * gdb.trace/mi-traceframe-changed.exp: Likewise.
8737 * gdb.trace/qtro.exp: Likewise.
8738 * gdb.trace/read-memory.exp: Likewise.
8739 * gdb.trace/report.exp: Likewise.
8740 * gdb.trace/tfile.exp: Likewise.
8741 * gdb.trace/tfind.exp: Likewise.
8742 * gdb.trace/unavailable.exp: Likewise.
8744 2019-04-22 Pedro Alves <palves@redhat.com>
8746 * gdb.base/solib-probes-nosharedlibrary.c,
8747 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8749 2019-04-19 Tom Tromey <tromey@adacore.com>
8751 * gdb.ada/ptype_union.c: New file.
8752 * gdb.ada/ptype_union.exp: New file.
8754 2019-04-19 Tom Tromey <tromey@adacore.com>
8757 * gdb.base/list0.h (foo): Add a control-l character.
8759 2019-04-18 Tom de Vries <tdevries@suse.de>
8762 * boards/local-board.exp: Set sysroot to "".
8764 2019-04-18 Tom de Vries <tdevries@suse.de>
8765 Pedro Alves <palves@redhat.com>
8768 * gdb.threads/vfork-follow-child-exec.c: New file.
8769 * gdb.threads/vfork-follow-child-exec.exp: New file.
8770 * gdb.threads/vfork-follow-child-exit.c: New file.
8771 * gdb.threads/vfork-follow-child-exit.exp: New file.
8773 2019-04-15 Leszek Swirski <leszeks@google.com>
8775 * gdb.arch/amd64-eval.cc: New file.
8776 * gdb.arch/amd64-eval.exp: New file.
8778 2019-04-11 Alan Hayward <alan.hayward@arm.com>
8780 * gdb.server/sysroot.c: New test.
8781 * gdb.server/sysroot.exp: New file.
8782 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8785 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8787 * gdb.base/align.exp: Extend test to cover structures containing
8790 2019-04-11 Tom de Vries <tdevries@suse.de>
8792 * boards/cc-with-dwz-m.exp: New file.
8793 * boards/cc-with-dwz.exp: New file.
8794 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8796 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
8798 * gdb.base/start-cpp.exp: New file.
8799 * gdb.base/start-cpp.cc: New file.
8801 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8803 * gdb.python/py-thrhandle.exp: Adjust tests to call
8804 thread_from_handle instead of thread_from_thread_handle.
8806 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8808 * gdb.python/py-thrhandle.exp: Add tests for
8809 gdb.InferiorThread.handle.
8811 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8813 * gdb.python/py-function.exp: Check calling helper function from
8815 * lib/gdb.exp (gdb_supported_languages): New proc.
8817 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8819 * gdb.base/complex-parts.c: New file.
8820 * gdb.base/complex-parts.exp: New file.
8822 2019-04-01 Tom Tromey <tromey@adacore.com>
8825 * gdb.dwarf2/dw2-ranges-main.c: New file.
8826 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8827 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8829 2019-03-30 Simon Marchi <simark@simark.ca>
8831 * gdb.base/default.exp: Add values for $_gdb_major and
8834 2019-03-29 Tom Tromey <tromey@adacore.com>
8836 * gdb.base/help.exp: Tighten apropos regexp.
8838 2019-03-29 Keith Seitz <keiths@redhat.com>
8840 * gdb.fortran/array-bounds.exp: New file.
8841 * gdb.fortran/array-bounds.f90: New file.
8843 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8845 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8847 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8849 * gdb.multi/hello.c (main): Increase alarm timer.
8851 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8853 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8854 factor when no hardware watchpoint support.
8856 2019-03-28 Alan Hayward <alan.hayward@arm.com>
8857 Pedro Alves <palves@redhat.com>
8859 * boards/local-board.exp: set sysroot to /.
8861 2019-03-27 Alan Hayward <alan.hayward@arm.com>
8863 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8866 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8868 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8870 (make_container): Initialise new field.
8871 * gdb.python/py-prettyprint.exp: Add new tests.
8872 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8873 <display_hint>: New method.
8875 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8877 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8878 gdb_continue_to_breakpoint more throughout this test.
8879 (run_lang_tests) Supply unique test names, and use
8882 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8884 * gdb.base/finish-pretty.exp: Update expected results.
8885 * gdb.base/pretty-print.c: New file.
8886 * gdb.base/pretty-print.exp: New file.
8888 2019-03-25 Pedro Alves <palves@redhat.com>
8890 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8891 move comments outside list. Append '-i "" eof' section.
8893 2019-03-22 Alan Hayward <alan.hayward@arm.com>
8896 * README: Add pie options.
8897 * gdb.base/break-interp.exp: Ensure pie is disabled.
8898 * gdb.base/dump.exp: Likewise.
8899 * lib/gdb.exp (gdb_compile): Add pie option.
8901 2019-03-19 Tom Tromey <tromey@adacore.com>
8903 * gdb.mi/mi2-cli-display.c: New file.
8904 * gdb.mi/mi2-cli-display.exp: New file.
8906 2019-03-18 Joel Brobecker <brobecker@adacore.com>
8907 Tom Tromey <tromey@adacore.com>
8909 * gdb.ada/ptype_array/pck.adb: New file.
8910 * gdb.ada/ptype_array/pck.ads: New file.
8911 * gdb.ada/ptype_array/foo.adb: New file.
8912 * gdb.ada/ptype_array.exp: New file.
8914 2019-03-14 Tom Tromey <tromey@adacore.com>
8916 * gdb.base/style.exp: Add "set style sources" test.
8918 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8920 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8921 * mi-breakpoint-multiple-locations.exp: ... this.
8922 (make_breakpoints_pattern): New proc.
8923 (do_test): Add mi_version parameter, test -break-insert,
8924 -break-info and =breakpoint-created.
8926 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8928 * config/default.exp: Remove 'load_lib gdb.exp'.
8929 * config/monitor.exp: Likewise.
8930 * config/sid.exp: Likewise.
8931 * config/sim.exp: Likewise.
8932 * config/slite.exp: Likewise.
8933 * config/unix.exp: Likewise.
8934 * gdb.base/default.exp: Remove unhelpful comment.
8936 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8938 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8940 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8942 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8944 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8946 * gdb.fortran/type-kinds.exp: Update expected results.
8948 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8950 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8954 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8956 (test_basic_parsing_of_type_kinds): Expand types tested.
8957 (test_parsing_invalid_type_kinds): New function.
8959 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8961 * gdb.fortran/intrinsics.exp: New file.
8962 * gdb.fortran/intrinsics.f90: New file.
8963 * gdb.fortran/type-kinds.exp: New file.
8965 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8967 * gdb.fortran/dot-ops.exp: New file.
8969 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8971 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8972 Check upper and lower case logical literals.
8974 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8976 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8977 Remove duplicate tests.
8979 2019-03-06 Alan Hayward <alan.hayward@arm.com>
8981 * lib/gdb.exp (builtin_cd): rename of cd.
8982 (cd): Override builtin.
8984 2019-03-06 Richard Bunt <richard.bunt@arm.com>
8986 * gdb.fortran/function-calls.exp: New file.
8987 * gdb.fortran/function-calls.f90: New test.
8989 2019-03-04 Richard Bunt <richard.bunt@arm.com>
8991 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8992 on user program standard output.
8993 * gdb.fortran/short-circuit-argument-list.f90: Record function
8996 2019-02-28 Alan Hayward <alan.hayward@arm.com>
8998 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
9001 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9004 * gdb.base/interrupt-daemon-attach.c,
9005 gdb.base/interrupt-daemon-attach.exp: New test.
9007 2019-02-27 Pedro Alves <palves@redhat.com>
9009 * gdb.base/page.exp: Add tests for "set width/height -1".
9011 2019-02-27 Pedro Alves <palves@redhat.com>
9013 * gdb.base/page.exp: Add tests for "set/show width/height" with
9016 2019-02-27 Tom Tromey <tromey@adacore.com>
9018 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
9020 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
9023 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
9025 * gdb.base/align.exp: Extend to compile in both C and C++, and add
9026 tests for structs with static members.
9028 2019-02-26 Tom Tromey <tromey@adacore.com>
9030 * gdb.python/py-value.exp (test_value_from_buffer): Check for
9031 ValueError, not TypeError.
9033 2019-02-26 Kevin Buettner <kevinb@redhat.com>
9035 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
9036 call from main program.
9038 2019-02-23 Joel Brobecker <brobecker@adacore.com>
9040 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
9041 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
9042 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
9043 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
9044 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
9046 2019-02-22 Keith Seitz <keiths@redhat.com>
9049 * gdb.base/symlink-sourcefile.c: New file.
9050 * gdb.base/symlink-sourcefile.exp: New file.
9052 2019-02-20 Tom Tromey <tom@tromey.com>
9054 * gdb.base/info_qt.exp: Update.
9056 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
9058 * gdb.base/source.exp: Move "error in sourced script" code to
9060 * gdb.base/source-error.gdb: Move contents to
9061 source-error-1.gdb. Add new code to source source-error-1.gdb.
9062 * gdb.base/source-error-1.gdb: New file, from previous
9065 2019-02-17 Tom Tromey <tom@tromey.com>
9067 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
9069 * gdb.base/style.c (SOME_MACRO): New macro.
9071 2019-02-17 Tom Tromey <tom@tromey.com>
9073 * gdb.base/style.exp: Add line-wrapping tests.
9074 * gdb.base/page.exp: Add test for quitting during pagination.
9076 2019-02-17 Joel Brobecker <brobecker@adacore.com>
9078 * gdb.ada/big_packed_array: New testcase.
9079 * gdb.ada/homonym.exp: Fix incorrect expected output for
9080 "break <homonym__get_value>" test.
9082 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
9084 PR breakpoints/21870
9085 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
9086 and prepare_for_testing. Add comment.
9087 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
9088 redundant cleanup call. Clean up comment.
9090 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
9092 PR breakpoints/21870
9093 * gdb.arch/aarch64-dbreg-contents.exp: New file.
9094 * gdb.arch/aarch64-dbreg-contents.c: New file.
9096 2019-02-10 Joel Brobecker <brobecker@adacore.com>
9098 * gdb.ada/mi_ref_changeable: New testcase.
9100 2019-02-07 Alan Hayward <alan.hayward@arm.com>
9102 * gdb.base/attach.exp: Add double attach test.
9104 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
9106 * lib/gdb.exp (default_gdb_start): Don't match pagination
9108 (gdb_init): Set stty_init.
9110 2019-01-27 Tom Tromey <tom@tromey.com>
9112 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
9115 2019-01-24 Alan Hayward <alan.hayward@arm.com>
9117 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
9119 (struct struct_static_02_02): Likewise.
9120 (struct struct_static_02_03): Likewise.
9121 (struct struct_static_02_04): Likewise.
9122 (struct struct_static_04_01): Likewise.
9123 (struct struct_static_04_02): Likewise.
9124 (struct struct_static_04_03): Likewise.
9125 (struct struct_static_04_04): Likewise.
9126 (struct struct_static_06_01): Likewise.
9127 (struct struct_static_06_02): Likewise.
9128 (struct struct_static_06_03): Likewise.
9129 (struct struct_static_06_04): Likewise.
9130 (cmp_struct_static_02_01): Likewise.
9131 (cmp_struct_static_02_02): Likewise.
9132 (cmp_struct_static_02_03): Likewise.
9133 (cmp_struct_static_02_04): Likewise.
9134 (cmp_struct_static_04_01): Likewise.
9135 (cmp_struct_static_04_02): Likewise.
9136 (cmp_struct_static_04_03): Likewise.
9137 (cmp_struct_static_04_04): Likewise.
9138 (cmp_struct_static_06_01): Likewise.
9139 (cmp_struct_static_06_02): Likewise.
9140 (cmp_struct_static_06_03): Likewise.
9141 (cmp_struct_static_06_04): Likewise.
9142 (call_all): Test new structs.
9143 * gdb.base/infcall-nested-structs.exp: Likewise.
9145 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9146 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
9148 2019-01-21 Alan Hayward <alan.hayward@arm.com>
9149 * gdb.base/stack-protector.c: New test.
9150 * gdb.base/stack-protector.exp: New file.
9151 * gdb.cp/ovldbreak.exp: Only allow a single break line.
9152 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
9154 (gdb_compile): Remove stack protector for GCC and prevent
9157 2019-01-16 Keith Seitz <keiths@redhat.com>
9160 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
9162 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9164 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
9166 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
9168 * gdb.arch/powerpc-vector-regs.c: New file.
9169 * gdb.arch/powerpc-vector-regs.exp: New file.
9171 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9173 * gdb.arch/altivec-regs.exp: Fix the list passed to
9174 gdb_expect_list when testing "info vector".
9176 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9178 * gdb.base/style.exp: Don't include path in testname.
9180 2019-01-10 Keith Seitz <keiths@redhat.com>
9184 * gdb.dwarf2/multidictionary.exp: New file.
9186 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
9188 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
9189 (test_gnuv3_style_demangling): ... this.
9190 (test_lucid_style_demangling): Remove.
9191 (test_arm_style_demangling): Remove.
9192 (test_hp_style_demangling): Remove.
9193 (do_tests): Remove calls to the above.
9195 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
9197 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
9200 2019-01-06 Tom Tromey <tom@tromey.com>
9203 * gdb.dwarf2/typedef-void-finish.exp: New file.
9205 2018-12-28 Tom Tromey <tom@tromey.com>
9206 Simon Marchi <simark@simark.ca>
9208 * gdb.base/jit-exec.exp: New file.
9209 * gdb.base/jit-exec.c: New file.
9210 * gdb.base/jit-execd.c: New file.
9212 2018-12-28 Tom Tromey <tom@tromey.com>
9214 * gdb.base/style.exp: Update test to check for address styling.
9216 2018-12-28 Tom Tromey <tom@tromey.com>
9218 * gdb.base/style.exp: Add test for styling of "Reading symbols"
9221 2018-12-28 Tom Tromey <tom@tromey.com>
9223 * gdb.base/style.exp: Add test for version number styling.
9225 2018-12-28 Tom Tromey <tom@tromey.com>
9227 * gdb.base/style.exp: Add test for print_address_symbolic.
9229 2018-12-28 Tom Tromey <tom@tromey.com>
9231 * gdb.base/style.exp: Add test for breakpoint setting.
9233 2018-12-28 Tom Tromey <tom@tromey.com>
9235 * gdb.base/style.exp: Add test for variable names.
9237 2018-12-28 Tom Tromey <tom@tromey.com>
9239 * gdb.base/style.exp: New file.
9240 * gdb.base/style.c: New file.
9242 2018-12-28 Tom Tromey <tom@tromey.com>
9244 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
9246 * gdb.base/readline.exp (operate_and_get_next): Save and restore
9247 the TERM environment variable.
9249 2018-12-27 Tom Tromey <tom@tromey.com>
9251 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
9254 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
9256 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
9257 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
9259 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9261 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
9262 Filename a.adb changed to bp_fun_addr.adb.
9263 gdb.ada/bp_fun_addr.exp: Update test accordingly.
9265 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
9267 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
9268 non-PIE executables.
9269 * README: Mention the gdb,nopie_flag board setting.
9270 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
9272 * gdb.arch/amd64-entry-value.exp: Likewise.
9273 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
9274 * gdb.arch/i386-float.exp: Likewise.
9275 * gdb.arch/i386-signal.exp: Likewise.
9276 * gdb.mi/mi-reg-undefined.exp: Likewise.
9278 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
9281 * gdb.base/info-os.exp: Check return for unknown "info os" type.
9283 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9285 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9286 Update order of results accordingly.
9288 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
9290 * gdb.base/annota1.exp: Update a test regexp.
9292 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9294 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
9296 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9298 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
9299 (reuse_time): Initialize to REUSE_TIME_CAP.
9300 (check_rc): New function.
9301 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
9302 Check pthread_create rc.
9303 (spawner_thread_func): Check pthread_create and pthread_join rc.
9305 2018-12-08 Pedro Alves <palves@redhat.com>
9307 * gdb.base/list.exp (test_forward_search): Rename to ...
9308 (test_forward_reverse_search): ... this. Also test reverse-search
9309 and the forward-search alias.
9311 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
9313 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
9314 local timeout variable before return, and remove all local timeout
9316 (gdb_load): Likewise.
9318 2018-12-01 Tom de Vries <tdevries@suse.de>
9320 * gdb.base/gdb-caching-proc.exp: New file.
9322 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
9324 * Makefile.in (TIMESTAMP): New variable.
9325 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
9327 (check-single-racy): Likewise.
9328 (check/%.exp): Likewise.
9329 (check-racy/%.exp): Likewise.
9330 (workers/%.worker): Likewise.
9331 (build-perf): Likewise.
9332 (check-perf): Likewise.
9333 * README: Describe new "TS" and "TS_FORMAT" variables.
9334 * print-ts.py: New file.
9336 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
9339 * gdb.python/python.exp: Test command repetition after
9342 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
9344 * gdb.opt/inline-break.exp: Add test that info breakpoint output
9345 is correctly aligned.
9347 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9349 * gdb.ada/info_auto_lang.exp: New testcase.
9350 * gdb.ada/info_auto_lang/global_pack.ads: New file.
9351 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
9352 * gdb.ada/info_auto_lang/some_c.c: New file.
9354 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9356 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
9357 FUNC_lang language syntax.
9359 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9361 * gdb.base/info_minsym.c: New file.
9362 * gdb.base/info_minsym.exp: New file.
9364 2018-11-19 Tom Tromey <tom@tromey.com>
9367 * gdb.rust/simple.exp: Add ptype test. Update expected output.
9368 * gdb.rust/expr.exp: Update expected output. Change one test.
9370 2018-11-19 Tom Tromey <tom@tromey.com>
9372 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
9374 2018-11-19 Pedro Alves <palves@redhat.com>
9376 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
9377 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
9378 see the expected warning.
9380 2018-11-16 Alan Hayward <alan.hayward@arm.com>
9383 * gdb.cp/infcall-nodebug-lib.c: New test.
9384 * gdb.cp/infcall-nodebug-main.c: New test.
9385 * gdb.cp/infcall-nodebug.exp: New file.
9387 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
9389 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
9392 2018-11-09 Tom de Vries <tdevries@suse.de>
9394 * gdb.base/msym-lang.c: New test.
9395 * gdb.base/msym-lang.exp: New file.
9396 * gdb.base/msym-lang-main.c: New test.
9398 2018-11-08 Tom Tromey <tom@tromey.com>
9402 * gdb.base/warning.exp: New file.
9404 2018-11-08 Jan Beulich <jbeulich@suse.com>
9406 * testsuite/gdb.arch/i386-avx512.c,
9407 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
9409 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
9411 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9414 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
9416 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
9417 * gdb.dwarf2/missing-type-name.exp: New file.
9419 2018-11-06 Tom de Vries <tdevries@suse.de>
9421 * gdb.base/many-headers.c: New test.
9422 * gdb.base/many-headers.exp: New file.
9424 2018-11-06 Jim Wilson <jimw@sifive.com>
9426 * gdb.base/code_elim.exp: For riscv, set additional_flags
9427 to include -msmall-data-limit=0.
9429 2018-11-01 Joel Brobecker <brobecker@adacore.com>
9431 * gdb.ada/watch_minus_l: New testcase.
9433 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
9435 * gdb.arch/aix-sighandle.c: New file.
9436 * gdb.arch/aix-sighandle.exp: New file.
9438 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9440 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9441 registers being unions.
9443 2018-10-31 Tom de Vries <tdevries@suse.de>
9445 * lib/valgrind.exp: New file.
9446 (vgdb_start, vgdb_stop): New procs, factored out of ...
9447 * gdb.base/valgrind-bt.exp: ... here, ...
9448 * gdb.base/valgrind-disp-step.exp: ... here and ...
9449 * gdb.base/valgrind-infcall.exp: ... here.
9451 2018-10-31 Tom de Vries <tdevries@suse.de>
9453 * lib/gdb.exp (get_valueof): Don't output read value in test name.
9455 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
9457 * gdb.dwarf2/void-type.c: New file.
9458 * gdb.dwarf2/void-type.exp: New file.
9460 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9462 * gdb.base/info_qt.c: New file.
9463 * gdb.base/info_qt.exp: New file.
9465 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9467 * gdb.arch/powerpc-htm-regs.c: New file.
9468 * gdb.arch/powerpc-htm-regs.exp: New file.
9470 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9472 * gdb.arch/powerpc-tar.c: New file.
9473 * gdb.arch/powerpc-tar.exp: New file.
9475 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
9477 * gdb.arch/powerpc-ppr-dscr.c: New file.
9478 * gdb.arch/powerpc-ppr-dscr.exp: New file.
9480 2018-10-25 Tom de Vries <tdevries@suse.de>
9482 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
9484 2018-10-24 Tom de Vries <tdevries@suse.de>
9486 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
9487 longer exists error.
9489 2018-10-24 Tom de Vries <tdevries@suse.de>
9491 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
9493 2018-10-24 Tom de Vries <tdevries@suse.de>
9495 * gdb.base/valgrind-db-attach.exp: Handle removed support for
9496 --db-attach in valgrind.
9498 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
9500 * gdb.arch/riscv-reg-aliases.c: New file.
9501 * gdb.arch/riscv-reg-aliases.exp: New file.
9503 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9505 * gdb.python/py-cmd.exp: Check for gdb_prompt.
9507 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9509 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
9511 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9513 * gdb.cp/ovldbreak.exp: Fix regexps.
9515 2018-10-19 Alan Hayward <alan.hayward@arm.com>
9517 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
9519 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
9522 * gdb.base/restore.exp: New test to check if "restore" with an
9523 invalid file doesn't segfault.
9525 2018-10-18 Tom de Vries <tdevries@suse.de>
9527 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
9528 * gdb.ada/excep_handle.exp: Same.
9529 * gdb.ada/mi_string_access.exp: Same.
9530 * gdb.ada/mi_var_union.exp: Same.
9531 * gdb.arch/arc-analyze-prologue.exp: Same.
9532 * gdb.arch/arc-decode-insn.exp: Same.
9533 * gdb.base/readnever.exp: Same.
9534 * gdb.fortran/printing-types.exp: Same.
9535 * gdb.guile/scm-lazy-string.exp: Same.
9537 2018-10-16 Tom de Vries <tdevries@suse.de>
9540 * gdb.base/catch-follow-exec.c: Add copyright notice.
9541 * gdb.base/catch-follow-exec.exp: Rewrite to use
9542 gdb_spawn_with_cmdline_opts. Require gdb-native.
9544 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
9546 * gdb.trace/actions-changed.exp: Check for arch support.
9547 * gdb.trace/actions.exp: Likewise.
9548 * gdb.trace/ax.exp: Likewise.
9549 * gdb.trace/backtrace.exp: Likewise.
9550 * gdb.trace/change-loc.exp: Likewise.
9551 * gdb.trace/deltrace.exp: Likewise.
9552 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
9553 * gdb.trace/ftrace.exp: Likewise.
9554 * gdb.trace/infotrace.exp: Check for arch support.
9555 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
9556 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
9557 * gdb.trace/mi-tsv-changed.exp: Likewise.
9558 * gdb.trace/packetlen.exp: Likewise.
9559 * gdb.trace/passc-dyn.exp: Likewise.
9560 * gdb.trace/passcount.exp: Likewise.
9561 * gdb.trace/pending.exp: Likewise.
9562 * gdb.trace/range-stepping.exp: Check for shlib support.
9563 * gdb.trace/report.exp: Check for arch support.
9564 * gdb.trace/save-trace.exp: Likewise.
9565 * gdb.trace/signal.exp: Check for signal support.
9566 * gdb.trace/tfind.exp: Check for arch support.
9567 * gdb.trace/trace-break.exp: Check for arch and shlib support.
9568 * gdb.trace/trace-common.h: Add comment.
9569 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
9570 * gdb.trace/trace-enable-disable.exp: Likewise.
9571 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
9572 * gdb.trace/tracecmd.exp: Check for arch support.
9573 * gdb.trace/tspeed.exp: Check for shlib and target support.
9574 * gdb.trace/tstatus.exp: Check for arch support.
9575 * gdb.trace/tsv.exp: Likewise.
9576 * gdb.trace/while-dyn.exp: Likewise.
9577 * gdb.trace/while-stepping.exp: Likewise.
9578 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
9580 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
9582 * gdb.trace/tspeed.exp: Remove nowarnings.
9583 (prepare_for_trace_test): Declare "global ipalib".
9584 * gdb.trace/tspeed.c: Include unistd.h.
9585 (main): Remove superfluous printf argument.
9587 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
9589 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
9590 directory prefix on the filename.
9592 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
9594 * gdb.gdb/unittest.exp: Update expected message informing that
9595 selftests have been disabled.
9596 * gdb.server/unittest.exp: Likewise.
9598 2018-10-09 Tom de Vries <tdevries@suse.de>
9600 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
9603 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
9606 * gdb.cp/virtbase2.cc: New file.
9607 * gdb.cp/virtbase2.exp: New file.
9609 2018-10-06 Tom Tromey <tom@tromey.com>
9612 * gdb.python/py-inferior.exp: Add architecture test.
9614 2018-10-06 Tom Tromey <tom@tromey.com>
9616 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
9617 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
9619 2018-10-06 Tom Tromey <tom@tromey.com>
9621 * gdb.python/py-breakpoint.exp (check_last_event): Check location
9622 of a "throw" catchpoint.
9624 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
9626 * gdb.base/info-proc.exp: Update string expected from "help info
9629 2018-10-04 Tom Tromey <tom@tromey.com>
9631 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
9632 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
9633 (test_initial_complaints, test_empty_complaints): Update.
9634 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9636 2018-10-04 Tom Tromey <tom@tromey.com>
9639 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
9640 * lib/gdb.exp (gdb_file_cmd): Update.
9641 * gdb.stabs/weird.exp (print_weird_var): Update.
9642 * gdb.server/solib-list.exp: Update.
9643 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
9644 * gdb.mi/mi-cli.exp: Update.
9645 * gdb.linespec/linespec.exp: Update.
9646 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
9647 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
9648 * gdb.cp/cp-relocate.exp: Update.
9649 * gdb.base/sym-file.exp: Update.
9650 * gdb.base/relocate.exp: Update.
9651 * gdb.base/readnever.exp: Update.
9652 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9653 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
9654 * gdb.base/dbx.exp (gdb_file_cmd): Update.
9655 * gdb.base/code_elim.exp: Update.
9656 * gdb.base/break-unload-file.exp (test_break): Update.
9657 * gdb.base/break-interp.exp (test_attach_gdb): Update.
9658 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
9660 * gdb.base/attach.exp (do_attach_tests): Update.
9661 * gdb.base/sepdebug.exp: Update.
9662 * gdb.python/py-section-script.exp: Update.
9664 2018-10-04 Tom Tromey <tom@tromey.com>
9667 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
9668 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
9671 2018-10-04 Tom Tromey <tom@tromey.com>
9673 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
9674 set width and height to 0.
9675 (test_command_line_attach_run): Use -quiet.
9677 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
9679 * lib/gdb.exp (skip_ifunc_tests): New.
9680 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
9681 other compile failures.
9682 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
9684 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
9686 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
9687 is_amd64_regs_target.
9689 2018-10-01 Alan Hayward <alan.hayward@arm.com>
9691 * gdb.arch/aarch64-sighandler-regs.c: New test.
9692 * gdb.arch/aarch64-sighandler-regs.exp: New file.
9693 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
9695 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
9697 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
9700 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
9702 * gdb.base/frame-selection.exp: New file.
9703 * gdb.base/frame-selection.c: New file.
9705 2018-09-27 Alan Hayward <alan.hayward@arm.com>
9707 * gdb.threads/check-libthread-db.c (thread_routine): Use a
9711 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
9713 * gdb.base/large-frame-1.c: New file.
9714 * gdb.base/large-frame-2.c: New file.
9715 * gdb.base/large-frame.exp: New file.
9716 * gdb.base/large-frame.h: New file.
9718 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
9721 * gdb.base/write_mem.exp: New test.
9722 * gdb.base/write_mem.c: Likewise.
9724 2018-09-23 Tom Tromey <tom@tromey.com>
9727 * gdb.python/py-parameter.exp: Add test for parameter that throws
9730 2018-09-23 Tom Tromey <tom@tromey.com>
9733 * gdb.python/py-template.exp (test_template_arg): Add test for
9734 negative template argument number.
9736 2018-09-23 Tom Tromey <tom@tromey.com>
9739 * gdb.python/python.exp: Add test for post_event error.
9741 2018-09-23 Tom Tromey <tom@tromey.com>
9744 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
9745 convert pointers to int and long.
9747 2018-09-23 Tom Tromey <tom@tromey.com>
9750 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9751 signed-ness conversion tests.
9753 2018-09-23 Tom Tromey <tom@tromey.com>
9756 * gdb.python/py-value.exp (test_float_conversion): New proc.
9759 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9761 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9763 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9765 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9767 * gdb.base/utf8-identifiers.exp: Likewise.
9768 * gdb.cp/cpcompletion.exp: Likewise.
9769 * gdb.linespec/cpcompletion.exp: Likewise.
9770 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9771 * gdb.linespec/cpls-ops.exp: Likewise.
9773 2018-09-19 Richard Bunt <richard.bunt@arm.com>
9774 Chris January <chris.january@arm.com>
9776 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9777 * gdb.fortran/short-circuit-argument-list.exp: New file.
9778 * gdb.fortran/short-circuit-argument-list.f90: New test.
9780 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9782 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9783 "arch=" keyword when executing "-stack-list-frames".
9785 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9787 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9788 "arch=" keyword when executing "-stack-list-frames".
9790 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9792 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9795 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9798 * gdb.python/python.exp: Test gdb.execute("show commands").
9800 2018-09-16 Tom Tromey <tom@tromey.com>
9802 * gdb.base/new-ui.exp (do_execution_tests): Update.
9803 * gdb.base/dbx.exp (test_breakpoints): Update.
9805 2018-09-14 Alan Hayward <alan.hayward@arm.com>
9807 * lib/gdb.exp (gdb_simple_compile): Add proc.
9808 (is_elf_target): Use gdb_simple_compile.
9809 (skip_altivec_tests): Likewise.
9810 (skip_vsx_tests): Likewise.
9811 (skip_tsx_tests): Likewise.
9812 (skip_btrace_tests): Likewise.
9813 (skip_btrace_pt_tests): Likewise.
9814 (gdb_can_simple_compile): Likewise.
9815 (gdb_has_argv0): Likewise.
9816 (gdb_target_symbol_prefix): Likewise.
9817 (target_supports_scheduler_locking): Likewise.
9819 2018-09-13 Tom Tromey <tom@tromey.com>
9821 * Makefile.in (TAGS): Recognize proc_with_prefix and
9824 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9826 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9829 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9831 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9832 and a few other Inferior properties when the Inferior is no
9835 2018-09-13 Tom Tromey <tom@tromey.com>
9838 * gdb.rust/simple.exp: Add test for enum field access error.
9840 2018-09-13 Tom Tromey <tom@tromey.com>
9843 * gdb.rust/simple.rs (EmptyEnum): New type.
9845 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9847 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9849 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9850 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9851 * gdb.python/py-symtab.exp: Update test printing an objfile.
9853 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9855 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9858 2018-09-12 Alan Hayward <alan.hayward@arm.com>
9860 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9861 (support_complex_tests): Use gdb_can_simple_compile.
9862 (is_ilp32_target): Likewise.
9863 (is_lp64_target): Likewise.
9864 (is_64_target): Likewise.
9865 (is_amd64_regs_target): Likewise.
9866 (is_aarch32_target): Likewise.
9867 (gdb_int128_helper): Likewise.
9869 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9871 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9873 2018-09-10 Jerome Guitton <guitton@adacore.com>
9875 * gdb.ada/same_component_name: Add test for case of tagged record
9876 with variable-length fields.
9878 2018-09-10 Xavier Roirand <roirand@adacore.com>
9880 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9881 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9882 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9883 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9885 2018-09-10 Xavier Roirand <roirand@adacore.com>
9887 * gdb.ada/mi_string_access.exp: New testcase.
9888 * gdb.ada/mi_string_access/bar.adb: New file.
9889 * gdb.ada/mi_string_access/pck.adb: New file.
9890 * gdb.ada/mi_string_access/pck.asd: New file.
9892 2018-09-10 Xavier Roirand <roirand@adacore.com>
9894 * gdb.ada/mi_var_union.exp: New testcase.
9895 * gdb.ada/mi_var_union/bar.adb: New file.
9896 * gdb.ada/mi_var_union/pck.adb: New file.
9897 * gdb.ada/mi_var_union/pck.asd: New file.
9899 2018-09-08 Tom Tromey <tom@tromey.com>
9901 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9903 2018-09-08 Tom Tromey <tom@tromey.com>
9906 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9907 (register_pretty_printers): Register new printer.
9908 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9910 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9911 (an_int_type3): New global.
9913 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9915 * gdb.ada/expr_with_funcall: New testcase.
9917 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9919 * gdb.ada/packed_array_assign: New testcase.
9921 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9923 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9924 names, and add test prefixes to make test names unique.
9926 2018-09-05 Tom de Vries <tdevries@suse.de>
9928 * gdb.dwarf2/varval.exp: Add test.
9930 2018-09-04 Gary Benson <gbenson@redhat.com>
9932 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9933 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9935 2018-08-31 Tom Tromey <tom@tromey.com>
9937 * gdb.rust/simple.rs: Rename second variable "v".
9939 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9941 * gdb.base/funcargs.c (use_a): New function.
9942 (recurse): Call use_a.
9944 2018-08-29 Keith Seitz <keiths@redhat.com>
9946 * gdb.compile/compile-cplus-anonymous.cc: New file.
9947 * gdb.compile/compile-cplus-anonymous.exp: New file.
9948 * gdb.compile/compile-cplus-array-decay.cc: New file.
9949 * gdb.compile/compile-cplus-array-decay.exp: New file.
9950 * gdb.compile/compile-cplus-inherit.cc: New file.
9951 * gdb.compile/compile-cplus-inherit.exp: New file.
9952 * gdb.compile/compile-cplus-member.cc: New file.
9953 * gdb.compile/compile-cplus-member.exp: New file.
9954 * gdb.compile/compile-cplus-method.cc: New file.
9955 * gdb.compile/compile-cplus-method.exp: New file.
9956 * gdb.compile/compile-cplus-mod.c: "New" file.
9957 * gdb.compile/compile-cplus-namespace.cc: New file.
9958 * gdb.compile/compile-cplus-namespace.exp: New file.
9959 * gdb.compile/compile-cplus-nested.cc: New file.
9960 * gdb.compile/compile-cplus-nested.exp: New file.
9961 * gdb.compile/compile-cplus-print.c: "New" file.
9962 * gdb.compile/compile-cplus-print.exp: "New" file.
9963 * gdb.compile/compile-cplus-virtual.cc: New file.
9964 * gdb.compile/compile-cplus-virtual.exp: New file.
9965 * gdb.compile/compile-cplus.c: "New" file.
9966 * gdb.compile/compile-cplus.exp: "New" file.
9967 * lib/compile-support.exp: New file.
9969 2018-08-16 Gary Benson <gbenson@redhat.com>
9972 * gdb.base/batch-exit-status.exp: New file.
9973 * gdb.base/batch-exit-status.good-commands: Likewise.
9974 * gdb.base/batch-exit-status.bad-commands: Likewise.
9976 2018-08-29 Alan Hayward <alan.hayward@arm.com>
9978 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9979 (struct struct02): Likewise.
9980 (struct struct03): Likewise.
9981 (struct struct04): Likewise.
9982 (struct struct_01_01): New struct.
9983 (struct struct_01_02): Likewise.
9984 (struct struct_01_03): Likewise.
9985 (struct struct_01_04): Likewise.
9986 (struct struct_02_01): Likewise.
9987 (struct struct_02_02): Likewise.
9988 (struct struct_02_03): Likewise.
9989 (struct struct_02_04): Likewise.
9990 (struct struct_04_01): Likewise.
9991 (struct struct_04_02): Likewise.
9992 (struct struct_04_03): Likewise.
9993 (struct struct_04_04): Likewise.
9994 (struct struct_05_01): Likewise.
9995 (struct struct_05_02): Likewise.
9996 (struct struct_05_03): Likewise.
9997 (struct struct_05_04): Likewise.
9998 (cmp_struct01): Remove function.
9999 (cmp_struct02): Likewise.
10000 (cmp_struct03): Likewise.
10001 (cmp_struct04): Likewise.
10002 (cmp_struct_01_01): Add Function.
10003 (cmp_struct_01_02): Likewise.
10004 (cmp_struct_01_03): Likewise.
10005 (cmp_struct_01_04): Likewise.
10006 (cmp_struct_02_01): Likewise.
10007 (cmp_struct_02_02): Likewise.
10008 (cmp_struct_02_03): Likewise.
10009 (cmp_struct_02_04): Likewise.
10010 (cmp_struct_04_01): Likewise.
10011 (cmp_struct_04_02): Likewise.
10012 (cmp_struct_04_03): Likewise.
10013 (cmp_struct_04_04): Likewise.
10014 (cmp_struct_05_01): Likewise.
10015 (cmp_struct_05_02): Likewise.
10016 (cmp_struct_05_03): Likewise.
10017 (cmp_struct_05_04): Likewise.
10018 (call_all): Add new structs.
10019 * gdb.base/infcall-nested-structs.exp: Likewise.
10021 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
10023 * gdb.python/py-framefilter-mi.exp: Update regexp to
10024 check for "arch" field in frame output.
10026 2018-08-23 Kevin Buettner <kevinb@redhat.com>
10028 * gdb.dwarf2/dw2-ranges-func.c: New file.
10029 * gdb.dwarf2/dw2-ranges-func.exp: New file.
10031 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
10033 * gdb.base/term.exp: Compare terminal settings with values from
10035 * gdb.base/term.c: Get and set terminal settings.
10037 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
10039 * lib/mi-support.exp (mi_expect_stop): Update regexp to
10040 accommodate new "arch" field in frame output.
10041 * gdb.mi/mi-return.exp: Likewise.
10042 * gdb.mi/mi-stack.exp: Likewise.
10043 * gdb.mi/mi-syn-frame.exp: Likewise.
10044 * gdb.mi/user-selected-context-sync.exp: Likewise.
10046 2018-08-19 Michael Spang <spang@google.com>
10049 * gdb.base/gcore-tls-pie.c: New file.
10050 * gdb.base/gcore-tls-pie.exp: New file.
10052 2018-08-18 Kevin Buettner <kevinb@redhat.com>
10054 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
10055 * gdb.dwarf2/varval.c: New file.
10056 * gdb.dwarf2/varval.exp: New file.
10058 2018-08-17 Alan Hayward <alan.hayward@arm.com>
10061 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
10063 2018-08-16 Keith Seitz <keiths@redhat.com>
10065 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
10066 tests expected to pass.
10068 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
10070 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
10071 -data-disassemble -a.
10072 (test_disassembly_bogus_args): Likewise.
10074 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
10076 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
10078 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10080 * gdb.base/vla-optimized-out.exp: Add new test.
10082 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
10084 * gdb.base/vla-optimized-out-o3.exp: Delete.
10085 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
10086 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
10089 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
10092 * gdb.server/extended-remote-restart.c: New file.
10093 * gdb.server/extended-remote-restart.exp: New file.
10095 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
10097 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
10098 "set variable index = 42".
10100 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
10102 * boards/index-cache-gdb.exp: New file.
10103 * gdb.dwarf2/index-cache.exp: New file.
10104 * gdb.dwarf2/index-cache.c: New file.
10105 * gdb.base/maint.exp: Check if we are using the index cache.
10107 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10109 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
10112 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10114 * dg-extract-results.sh: Move to toplevel contrib.
10115 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
10116 * Makefile.in (check-parallel-racy): Likewise.
10118 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
10120 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
10121 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
10122 tests if the target supports scheduler locking.
10124 2018-08-04 Tom de Vries <tdevries@suse.de>
10126 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
10128 2018-08-02 Tom Tromey <tom@tromey.com>
10131 * gdb.cp/temargs.exp: Test "info address" of a template
10134 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
10136 * gdb.python/py-mi-var-info-path-expression.c: New file.
10137 * gdb.python/py-mi-var-info-path-expression.py: New file.
10138 * gdb.python/py-mi-var-info-path-expression.exp: New file.
10140 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
10142 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
10143 error after "cannot resolve name" string.
10145 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
10147 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
10149 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
10151 2018-07-28 Tom de Vries <tdevries@suse.de>
10153 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
10155 2018-07-26 Tom de Vries <tdevries@suse.de>
10157 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
10159 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
10161 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
10164 2018-07-26 Tom de Vries <tdevries@suse.de>
10166 PR breakpoints/23366
10167 * gdb.base/catch-follow-exec.c: New test.
10168 * gdb.base/catch-follow-exec.exp: New file.
10170 2018-07-25 Tom de Vries <tdevries@suse.de>
10172 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
10173 vla-optimized-out.c.
10175 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
10177 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
10178 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
10180 2018-07-20 Tom de Vries <tdevries@suse.de>
10182 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
10184 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
10186 2018-07-19 Tom de Vries <tdevries@suse.de>
10188 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
10189 regular expression.
10191 2018-07-18 Tom de Vries <tdevries@suse.de>
10193 * gdb.base/vla-optimized-out.c: New test.
10194 * gdb.base/vla-optimized-out.exp: New file.
10196 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
10198 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
10199 message "No address associated with hostname" when gdbserver
10200 cannot resolve the hostname.
10202 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10204 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
10205 Add some test prefixes to make tests unique.
10207 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10209 * gdb.base/frameapply.c: New file.
10210 * gdb.base/frameapply.exp: New file.
10212 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10214 * gdb.base/skip.exp: Update expected error message.
10216 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10217 Jan Kratochvil <jan.kratochvil@redhat.com>
10218 Paul Fertser <fercerpav@gmail.com>
10219 Tsutomu Seki <sekiriki@gmail.com>
10221 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
10223 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
10225 * boards/native-gdbserver.exp: Likewise.
10226 * gdb.server/run-without-local-binary.exp: Improve regexp used
10227 for detecting when a remote debugging connection succeeds.
10228 * gdb.server/server-connect.exp: New file.
10229 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
10230 Do not prefix the port number with ":".
10231 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
10232 support for detecting and using it. Add '$debughost_gdbserver'
10233 to the list of arguments used to start gdbserver. Handle case
10234 when gdbserver cannot resolve a network name.
10236 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
10239 * gdb.base/ptype-offsets.cc (struct static_member): New
10241 (main) <stmember>: New variable.
10242 * gdb.base/ptype-offsets.exp: Add test for printing a struct
10243 with a static member in it.
10245 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
10247 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
10248 watchpoints enabled and disabled.
10250 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10252 * gdb.base/examine-backward.exp: Still run tests around address
10253 0x0, even if address 0x0 is not readable. Update the pattern for
10254 matching address 0x0 in expected output.
10256 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
10258 * gdb.base/share-env-with-gdbserver.c (main): Add call to
10261 2018-07-04 Tom de Vries <tdevries@suse.de>
10263 * gdb.dwarf2/dw2-error.exp: Update expected error message.
10265 2018-07-02 Maciej W. Rozycki <macro@mips.com>
10268 * gdb.arch/mips-disassembler-options.exp: New test.
10269 * gdb.arch/mips-disassembler-options.s: New test source.
10271 2018-06-29 Pedro Alves <palves@redhat.com>
10273 * gdb.threads/names.exp: Adjust expected "info threads" output.
10275 2018-06-29 Pedro Alves <palves@redhat.com>
10277 * gdb.opt/inline-break.exp (line number, address): Add "info
10280 2018-06-29 Pedro Alves <palves@redhat.com>
10282 * gdb.opt/inline-break.c (func1): Add "break here" marker.
10283 * gdb.opt/inline-break.exp: Test setting breakpoints by line
10284 number and address and running to them.
10286 2018-06-29 Richard Bunt <richard.bunt@arm.com>
10288 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
10290 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10292 * lib/compiler.c: Remove executable permission flag.
10294 2018-06-28 Richard Bunt <richard.bunt@arm.com>
10296 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
10298 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
10300 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10302 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
10304 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10306 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
10307 address argument is omitted.
10309 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
10311 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
10313 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
10316 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
10317 * gdb.base/infoline-reloc-main-from-zero.c: New file.
10319 2018-06-26 Tom Tromey <tom@tromey.com>
10322 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
10323 * gdb.rust/simple.rs (struct SimpleLayout): New.
10325 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
10327 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
10328 "info registers" output.
10330 2018-06-21 Richard Bunt <richard.bunt@arm.com>
10332 * gdb.base/watchpoint-hw-attach.c: New test.
10333 * gdb.base/watchpoint-hw-attach.exp: New file.
10335 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
10337 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
10339 * boards/dwarf4-gdb-index.exp: Likewise.
10340 * boards/fission-dwp.exp: Likewise.
10342 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
10344 * gdb.base/float128.exp: Add comment and improved fail message
10345 to the failure case of "print large128" test.
10347 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
10349 * configure.ac: Remove AC_PREREQ.
10350 * configure: Re-generate.
10352 2018-06-19 Pedro Alves <palves@redhat.com>
10354 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
10355 (func_extern_caller): New.
10356 (main): Call func_extern_caller.
10357 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
10360 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
10363 * gdb.cp/typedef-base.cc: New file.
10364 * gdb.cp/typedef-base.exp: New file.
10366 2018-06-18 Tom de Vries <tdevries@suse.de>
10368 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
10370 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
10371 Richard Bunt <Richard.Bunt@arm.com>
10373 * gdb.threads/attach-slow-waitpid.c: New file.
10374 * gdb.threads/attach-slow-waitpid.exp: New file.
10375 * gdb.threads/slow-waitpid.c: New file.
10377 2018-06-14 Pedro Alves <palves@redhat.com>
10379 * gdb.base/fork-running-state.c: Include <errno.h>.
10380 (exit_if_relative_exits): New.
10381 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
10383 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
10386 2018-06-14 Tom de Vries <tdevries@suse.de>
10389 * gdb.base/finish-pretty.c: New test.
10390 * gdb.base/finish-pretty.exp: New file.
10392 2018-06-14 Pedro Alves <palves@redhat.com>
10394 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
10395 gdb's expected startup output.
10397 2018-06-14 Pedro Alves <palves@redhat.com>
10399 * lib/selftest-support.exp (selftest_setup): Remove inlined
10402 2018-06-14 Tom de Vries <tdevries@suse.de>
10404 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
10405 matching of breakpoint printing.
10407 2018-06-13 Tom de Vries <tdevries@suse.de>
10410 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
10411 (fork_child): ... here, and ...
10412 (fork_parent): ... here.
10414 2018-06-12 Tom de Vries <tdevries@suse.de>
10416 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
10418 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
10419 Stephen Roberts <stephen.roberts@arm.com>
10421 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
10422 rewrite test to describe action performed, rather than possible
10425 2018-06-08 Gary Benson <gbenson@redhat.com>
10427 * gdb.threads/check-libthread-db.exp: New file.
10428 * gdb.threads/check-libthread-db.c: Likewise.
10430 2018-06-05 Tom Tromey <tom@tromey.com>
10432 * gdb.base/default.exp: Update expected "show version" output.
10434 2018-06-05 Tom Tromey <tom@tromey.com>
10437 * gdb.cp/static-print-quit.exp: Update.
10438 * lib/gdb.exp (pagination_prompt): Update.
10439 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
10440 * gdb.python/python.exp: Update.
10442 2018-06-04 Joel Brobecker <brobecker@adacore.com>
10444 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
10446 2018-06-01 Joel Brobecker <brobecker@adacore.com>
10448 * gdb.ada/bp_fun_addr: New testcase.
10450 2018-06-01 Tom Tromey <tom@tromey.com>
10452 * gdb.xml/tdesc-regs.exp (load_description): Update expected
10454 * gdb.dwarf2/method-ptr.exp: Set language to C++.
10455 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
10456 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
10457 * gdb.base/maint.exp (maint_pass_if): Update.
10459 2018-05-31 Maciej W. Rozycki <macro@mips.com>
10461 * gdb.base/endian.exp: New test.
10462 * gdb.base/endian.c: New test source.
10464 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
10467 * gdb.base/bt-selected-frame.c: New file.
10468 * gdb.base/bt-selected-frame.exp: New file.
10469 * lib/gdb.exp (get_current_frame_number): New function.
10471 2018-05-24 Maciej W. Rozycki <macro@mips.com>
10472 Pedro Alves <palves@redhat.com>
10474 * gdb.threads/tls-core.c: Include <stdlib.h>
10475 (thread_proc): Call `abort'.
10476 * gdb.threads/tls-core.exp: Generate a core with core_find too.
10477 (tls_core_test): New procedure, bits factored out from ...
10478 (top level): ... here. Test both native cores and gcore cores.
10480 2018-05-23 Tom Tromey <tom@tromey.com>
10482 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
10484 2018-05-23 Tom Tromey <tom@tromey.com>
10486 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
10487 symfile_complaints.
10488 (test_short_complaints): Likewise.
10489 (test_empty_complaints): Likewise.
10490 (test_initial_complaints): Update.
10492 2018-05-23 Tom Tromey <tom@tromey.com>
10494 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
10496 2018-05-23 Tom Tromey <tom@tromey.com>
10498 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
10499 (test_short_complaints): Update.
10501 2018-05-22 Pedro Alves <palves@redhat.com>
10503 * gdb.base/remote.exp: Only gdb_start after compiling the
10504 testcase. Issue "disconnect" before testing "set remote" command
10505 defaults. Issue clean_restart before running to main.
10507 2018-05-22 Pedro Alves <palves@redhat.com>
10509 * gdb.base/remote.exp: Adjust expected output of "show remote
10510 memory-write-packet-size". Add tests for "set remote
10511 memory-write-packet-size 0" and "set remote
10512 memory-write-packet-size fixed/limit".
10514 2018-05-22 Pedro Alves <palves@redhat.com>
10517 * gdb.base/utf8-identifiers.c: New file.
10518 * gdb.base/utf8-identifiers.exp: New file.
10520 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10522 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
10524 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
10526 * gdb.arch/powerpc-vsx-gcore.exp: New file.
10528 2018-05-18 Tom Tromey <tom@tromey.com>
10530 * gdb.base/ptype-offsets.exp: Update.
10532 2018-05-17 Keith Seitz <keiths@redhat.com>
10534 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
10535 in expected breakpoint stop locations.
10536 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
10537 move to proper scope to test variable values.
10538 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
10539 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
10541 (main): Call not_inline_func3.
10542 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
10543 inline_func1, inline_func2, and inline_func3. Test that when each
10544 breakpoint is hit, GDB properly reports both the stop location
10545 and the backtrace. Repeat tests for temporary breakpoints.
10547 2018-05-15 Maciej W. Rozycki <macro@mips.com>
10549 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
10550 rather then trying to access it in determining whether the PID
10551 of `gdbserver' could have been retrieved.
10553 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
10555 * gdb.arch/amd64-init-x87-values.S: New file.
10556 * gdb.arch/amd64-init-x87-values.exp: New file.
10558 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10560 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
10562 2018-05-04 Tom Tromey <tom@tromey.com>
10565 * gdb.python/python.exp: Test multi-line execute.
10567 2018-05-04 Tom Tromey <tom@tromey.com>
10570 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
10572 2018-05-04 Tom Tromey <tom@tromey.com>
10575 * gdb.base/define.exp: Test defining a user command inside a user
10577 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
10579 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10580 Pedro Alves <palves@redhat.com>
10582 PR breakpoints/19806 and support for PR external/20207.
10583 * gdb.base/watchpoint-unaligned.c: New file.
10584 * gdb.base/watchpoint-unaligned.exp: New file.
10586 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10588 * gdb.base/maint.exp: Make test names unique, use
10589 test_prefix_command_help to test 'help maint info', and remove
10590 repeated test of 'help maint'.
10592 2018-05-04 Tom Tromey <tom@tromey.com>
10595 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
10598 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10600 * gdb.base/maint.exp: Process output from 'maint print registers'
10603 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
10605 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
10608 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
10610 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
10613 2018-05-02 Pedro Alves <palves@redhat.com>
10615 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
10616 to_log_command renames.
10617 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
10619 2018-05-02 Tom Tromey <tom@tromey.com>
10621 * gdb.python/py-parameter.exp: Set test message.
10623 2018-05-02 Tom Tromey <tom@tromey.com>
10626 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
10627 PARAM_ZUINTEGER_UNLIMITED tests.
10629 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
10632 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
10635 2018-04-30 Tom Tromey <tom@tromey.com>
10637 * gdb.python/py-type.exp: Check align attribute.
10638 * gdb.python/py-type.c: New "aligncheck" global.
10640 2018-04-30 Tom Tromey <tom@tromey.com>
10643 * gdb.dwarf2/dw2-align.exp: New file.
10644 * gdb.cp/align.exp: New file.
10645 * gdb.base/align.exp: New file.
10646 * lib/gdb.exp (gdb_int128_helper): New proc.
10647 (has_int128_c, has_int128_cxx): New caching procs.
10649 2018-04-27 Tom Tromey <tom@tromey.com>
10652 * gdb.rust/simple.exp: Add inclusive range tests.
10654 2018-04-26 Pedro Alves <palves@redhat.com>
10656 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
10657 ifunc breakpoint locations correctly of ifunc breakpoints set
10658 while the program resolves the ifunc.
10660 2018-04-26 Pedro Alves <palves@redhat.com>
10662 * gdb.base/gnu-ifunc-final.c: New file.
10663 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
10664 * gdb.base/gnu-ifunc.exp (executable): Delete.
10665 (staticexecutable): Adjust.
10666 (lib_opts, exec_opts): Delete.
10667 (make_binsuffix, build, set-break): New procedures.
10668 (misc_tests): New, with tests factored out from the top level.
10669 (top level): Test different combinations of ifunc resolver name,
10670 resolver with and with debug info, and ifunc target with and
10671 without debug info. Wrap static tests with with_target_prefix.
10673 2018-04-26 Pedro Alves <palves@redhat.com>
10675 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
10676 return type" warnings.
10678 2018-04-25 Pedro Alves <palves@redhat.com>
10680 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
10682 * gdb.base/kill-after-signal.exp: Likewise.
10683 * gdb.threads/kill.exp: Likewise.
10685 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10686 Sergio Durigan Junior <sergiodj@redhat.com>
10687 Pedro Alves <palves@redhat.com>
10689 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
10690 regexps to expect for '[Inferior ... detached]' as well.
10691 * gdb.base/attach.exp: Likewise.
10692 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
10693 "gdb_continue_to_end".
10694 (test_catch_syscall_with_wrong_args): Likewise.
10695 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
10696 ']'. Don't set 'verbose' on.
10697 * gdb.base/foll-vfork.exp: Likewise.
10698 * gdb.base/fork-print-inferior-events.c: New file.
10699 * gdb.base/fork-print-inferior-events.exp: New file.
10700 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
10701 '[Inferior ... has been killed]' message.
10702 * gdb.base/kill-after-signal.exp: Likewise.
10703 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
10705 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
10707 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
10708 regexps to expect for '[Inferior ... detached]' as well.
10709 * gdb.threads/process-dies-while-detaching.exp: Likewise.
10711 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
10714 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
10716 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
10719 * gdb.base/break-probes.exp: Pass shlib_load to
10720 prepare_for_testing. Set normal_bp to r_debug_state if target is
10723 2018-04-19 Richard Bunt <richard.bunt@arm.com>
10725 * gdb.threads/multiple-successive-infcall.c: New test.
10726 * gdb.threads/multiple-successive-infcall.exp: New file.
10728 2018-04-17 Tom Tromey <tom@tromey.com>
10730 * gdb.rust/simple.rs (Union): New type.
10731 (main): New local "u".
10732 * gdb.rust/simple.exp (test_one_slice): Add new test case.
10734 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10736 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
10737 number information in output of "whereis" command.
10738 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
10740 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10742 * gdb.ada/info_types.exp: Adjust expected output to the line
10743 numbers now printed by "info var/func/type".
10744 * gdb.base/completion.exp: Likewise.
10745 * gdb.base/included.exp: Likewise.
10746 * gdb.cp/cp-relocate.exp: Likewise.
10747 * gdb.cp/cplusfuncs.exp: Likewise.
10748 * gdb.cp/namespace.exp: Likewise.
10749 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10751 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10753 * gdb.btrace/cpu.exp: New.
10755 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10757 * gdb.base/step-indirect-call-thunk.exp: New.
10758 * gdb.base/step-indirect-call-thunk.c: New.
10759 * gdb.reverse/step-indirect-call-thunk.exp: New.
10760 * gdb.reverse/step-indirect-call-thunk.c: New.
10762 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10764 * gdb.base/pie-fork.c: New file.
10765 * gdb.base/pie-fork.exp: New file.
10767 2018-04-11 Tom Tromey <tom@tromey.com>
10769 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10771 2018-04-10 Pedro Alves <palves@redhat.com>
10773 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10774 exits. Instead loop running forever.
10775 (fork_parent): Run forever too.
10777 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10779 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10780 mi_continue_to_line.
10781 * gdb.mi/mi-stack.c (callee4): Add comment.
10783 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10785 * gdb.mi/mi-stack.exp: Fix indentation.
10787 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10790 * gdb.arch/amd64-osabi.exp: New file.
10792 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10795 * gdb.base/osabi.exp: New file.
10797 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
10799 * gdb.cp/static-typedef-print.exp: New file.
10800 * gdb.cp/static-typedef-print.cc: New file.
10802 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10804 * gdb.ada/varsize_limit: New testcase.
10806 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10808 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10810 * gdb.ada/notcplusplus: New testcase.
10812 * gdb.base/c-linkage-name.c: New file.
10813 * gdb.base/c-linkage-name.exp: New testcase.
10815 2018-03-26 Tom Tromey <tom@tromey.com>
10817 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10818 * gdb.python/py-framefilter.py (name_error): New global.
10819 (ErrorInName.function): Use name_error.
10821 2018-03-26 Tom Tromey <tom@tromey.com>
10823 PR backtrace/15582:
10824 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10826 2018-03-23 Keith Seitz <keiths@redhat.com>
10829 * gdb.cp/subtypes.exp: New file.
10830 * gdb.cp/subtypes.h: New file.
10831 * gdb.cp/subtypes.cc: New file.
10832 * gdb.cp/subtypes-2.cc: New file.
10834 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10836 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10837 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10838 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10839 -nostartfiles when compiling the test. Confirm that all registers
10840 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10842 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10844 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10845 option, syntax was wrong anyway.
10846 * gdb.arch/arm-disp-step.exp: Likewise.
10847 * gdb.arch/sparc64-regs.exp: Likewise.
10848 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10849 option, syntax was wrong anyway, switch to use
10850 prepare_for_testing.
10851 * gdb.arch/i386-disp-step.exp: Likewise.
10853 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10855 * gdb.ada/exec_changed.exp: Replace "target_info exists
10856 use_gdb_stub" by "use_gdb_stub".
10857 * gdb.ada/start.exp: Likewise.
10858 * gdb.base/async-shell.exp: Likewise.
10859 * gdb.base/attach-pie-misread.exp: Likewise.
10860 * gdb.base/attach-wait-input.exp: Likewise.
10861 * gdb.base/break-entry.exp: Likewise.
10862 * gdb.base/break-interp.exp: Likewise.
10863 * gdb.base/dprintf-detach.exp: Likewise.
10864 * gdb.base/nostdlib.exp: Likewise.
10865 * gdb.base/solib-nodir.exp: Likewise.
10866 * gdb.base/statistics.exp: Likewise.
10867 * gdb.base/testenv.exp: Likewise.
10868 * gdb.mi/mi-exec-run.exp: Likewise.
10869 * gdb.mi/mi-start.exp: Likewise.
10870 * gdb.multi/dummy-frame-restore.exp: Likewise.
10871 * gdb.multi/multi-arch-exec.exp: Likewise.
10872 * gdb.multi/multi-arch.exp: Likewise.
10873 * gdb.multi/tids.exp: Likewise.
10874 * gdb.multi/watchpoint-multi.exp: Likewise.
10875 * gdb.python/py-events.exp: Likewise.
10876 * gdb.threads/attach-into-signal.exp: Likewise.
10877 * gdb.threads/attach-stopped.exp: Likewise.
10878 * gdb.threads/threadapply.exp: Likewise.
10879 * lib/selftest-support.exp: Likewise.
10881 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10883 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10885 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10887 * gdb.perf/template-breakpoints.cc: New file.
10888 * gdb.perf/template-breakpoints.exp: New file.
10889 * gdb.perf/template-breakpoints.py: New file.
10891 2018-03-19 Tom Tromey <tom@tromey.com>
10893 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10895 * gdb.rust/simple.exp: Test bare identifier form of struct
10898 2018-03-19 Tom Tromey <tom@tromey.com>
10900 * gdb.gdb/observer.exp: Remove.
10902 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10904 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10905 "qualified" option when setting breakpoints.
10906 * gdb.trace/backtrace.exp: Likewise.
10907 * gdb.trace/circ.exp: Likewise.
10908 * gdb.trace/collection.exp: Likewise.
10909 * gdb.trace/disconnected-tracing.exp: Likewise.
10910 * gdb.trace/ftrace-lock.exp: Likewise.
10911 * gdb.trace/ftrace.exp: Likewise.
10912 * gdb.trace/infotrace.exp: Likewise.
10913 * gdb.trace/packetlen.exp: Likewise.
10914 * gdb.trace/passc-dyn.exp: Likewise.
10915 * gdb.trace/qtro.exp: Likewise.
10916 * gdb.trace/read-memory.exp: Likewise.
10917 * gdb.trace/report.exp: Likewise.
10918 * gdb.trace/signal.exp: Likewise.
10919 * gdb.trace/status-stop.exp: Likewise.
10920 * gdb.trace/strace.exp: Likewise.
10921 * gdb.trace/tfind.exp: Likewise.
10922 * gdb.trace/trace-break.exp: Likewise.
10923 * gdb.trace/trace-condition.exp: Likewise.
10924 * gdb.trace/trace-mt.exp: Likewise.
10925 * gdb.trace/tstatus.exp: Likewise.
10926 * gdb.trace/tsv.exp: Likewise.
10927 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10928 * gdb.trace/unavailable.exp: Likewise.
10929 * gdb.trace/while-dyn.exp: Likewise.
10931 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10933 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10934 that libinproctrace is copied to the target.
10936 2018-03-14 Tom Tromey <tom@tromey.com>
10939 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10941 * gdb.base/wchar.exp: Likewise.
10943 2018-03-14 Tom Tromey <tom@tromey.com>
10946 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10949 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10952 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10953 "target" to remote_exec.
10955 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10958 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10959 ${board}_upload): Remove.
10961 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10963 * gdb.cp/watch-cp.cc: New test.
10964 * gdb.cp/watch-cp.exp: New file.
10966 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10968 * gdb.base/infcall-nested-structs.exp: New file.
10969 * gdb.base/infcall-nested-structs.c: New file.
10970 * gdb.base/float.exp: Add riscv support.
10972 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10974 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10975 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10977 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10979 * gdb.server/abspath.exp: New file.
10980 * lib/gdb.exp (with_cwd): New procedure.
10982 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10984 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10986 (gdb_is_target_remote_prompt): New proc.
10987 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10988 (gdb_is_target_native): Pass prompt parameter to
10991 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10993 * gdb.base/load-command.c: New file.
10994 * gdb.base/load-command.exp: New file.
10995 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10996 (gdb_is_target_1): ...this, and generalize for other targets
10998 (gdb_is_target_remote): Use gdb_is_target_1.
10999 (gdb_is_target_native): use gdb_is_target_1.
11001 2018-02-26 Tom Tromey <tom@tromey.com>
11004 * gdb.python/py-framefilter.exp: Update test.
11006 2018-02-26 Tom Tromey <tom@tromey.com>
11008 * gdb.dwarf2/variant.c: New file.
11009 * gdb.dwarf2/variant.exp: New file.
11011 2018-02-26 Tom Tromey <tom@tromey.com>
11013 * gdb.rust/simple.exp: Accept more possible results in enum test.
11015 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
11017 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
11020 2018-02-23 Maciej W. Rozycki <macro@mips.com>
11022 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
11023 name of a variable: $actual_linejj -> $actual_line.
11025 2018-02-21 John Baldwin <jhb@FreeBSD.org>
11027 * gdb.arch/amd64-i386-address.exp: Fix a typo.
11029 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
11031 * gdb.btrace/buffer-size.exp: Do not force BTS.
11033 2018-02-14 Pedro Alves <palves@redhat.com>
11035 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
11038 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
11040 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
11043 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
11045 * gdb.cp/m-static.exp: Check type of optimized out static
11048 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
11050 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
11051 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
11053 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
11054 Leszek Swirski <leszeks@google.com>
11056 * gdb.python/py-prettyprint.c
11057 (struct to_string_returns_value_inner,
11058 struct to_string_returns_value_wrapper): New.
11059 (main): Add tsrvw variable.
11060 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
11061 ToStringReturnsValueWrapper): New classes.
11062 (register_pretty_printers): Register new pretty-printers.
11063 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
11064 recursive pretty printer.
11065 * gdb.python/py-mi.exp: Likewise.
11067 2018-02-01 Leszek Swirski <leszeks@google.com>
11069 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
11070 functions with the same name as an include file are parsed
11073 2018-02-01 Yao Qi <yao.qi@linaro.org>
11075 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
11078 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
11080 * gdb.arch/powerpc-prologue-frame.s: New file.
11081 * gdb.arch/powerpc-prologue-frame.c: Likewise.
11082 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
11084 2018-01-31 Joel Brobecker <brobecker@adacore.com>
11086 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
11088 2018-01-30 Pedro Alves <palves@redhat.com>
11091 * gdb.base/interrupt-daemon.c: New.
11092 * gdb.base/interrupt-daemon.exp: New.
11093 * gdb.multi/multi-term-settings.c: New.
11094 * gdb.multi/multi-term-settings.exp: New.
11096 2018-01-30 Joel Brobecker <brobecker@adacore.com>
11098 * gdb.base/break.exp: Save the location where the breakpoint
11099 on break.c:47 was actually inserted when debugging the version
11100 compiled at -O2 and use it in the expected output of the "info
11101 break" test performed soon after.
11103 2018-01-22 Pedro Alves <palves@redhat.com>
11104 Sergio Durigan Junior <sergiodj@redhat.com>
11106 * gdb.base/whatis.exp: Add tests for 'set print object on' +
11107 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
11109 2018-01-22 Joel Brobecker <brobecker@adacore.com>
11111 * gdb.base/break-include.c, gdb.base/break-include.inc,
11112 gdb.base/break-include.exp: New files.
11113 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
11114 line number now being the actual line number where the breakpoint
11116 * gdb.mi/mi-break.exp: Likewise.
11117 * gdb.mi/mi-reverse.exp: Likewise.
11118 * gdb.mi/mi-simplerun.exp: Ditto.
11120 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11122 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
11124 * gdb.mi/mi-var-create-rtti.exp: Likewise.
11126 2018-01-21 Don Breazeal <donb@codesourcery.com>
11127 Andrew Burgess <andrew.burgess@embecosm.com>
11129 * gdb.mi/basics.c: Add new global.
11130 * gdb.mi/mi-frame-regs.exp: New file.
11131 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
11134 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
11136 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
11137 non-parameter, and on an unknown symbol.
11139 2018-01-19 Tom Tromey <tom@tromey.com>
11141 * gdb.rust/modules.rs (TWENTY_THREE): New global.
11142 * gdb.rust/modules.exp: Add ::-qualified lookup test.
11144 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11146 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
11147 setrlimit and chdir to int.
11149 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11151 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
11153 (my_tend): Likewise.
11154 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
11155 rationale of avoiding FP- and vector instructions.
11157 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
11159 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
11160 "info reg" with "\[ \t\]*".
11161 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
11163 * gdb.arch/s390-multiarch.exp: Ditto.
11164 * gdb.base/pc-fp.exp: Ditto.
11165 * gdb.reverse/i386-precsave.exp: Ditto.
11166 * gdb.reverse/i386-reverse.exp: Ditto.
11167 * gdb.reverse/i387-env-reverse.exp: Ditto.
11168 * gdb.reverse/i387-stack-reverse.exp: Ditto.
11170 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11172 * lib/gdb.exp (gdb_compile): Re-enable use of
11173 universal_compile_options for languages other than Rust.
11175 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
11177 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
11179 2018-01-17 Mike Gulick <mgulick@mathworks.com>
11182 * gdb.base/solib-vanish.exp: New.
11183 * gdb.base/solib-vanish-main.c: New.
11184 * gdb.base/solib-vanish-lib1.c: New.
11185 * gdb.base/solib-vanish-lib2.c: New.
11187 2018-01-17 Yao Qi <yao.qi@linaro.org>
11189 * gdb.compile/compile.exp: Match the address printed for
11190 frame in the output of command "bt".
11192 2018-01-15 Tom Tromey <tom@tromey.com>
11194 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
11197 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
11199 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
11201 (prepare): Return 0 on error, 1 on success.
11203 2018-01-12 Pedro Alves <palves@redhat.com>
11205 * gdb.base/continue-after-aborted-step-over.c: New.
11206 * gdb.base/continue-after-aborted-step-over.exp: New.
11208 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
11210 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
11211 options when not creating an executable.
11213 2018-01-11 Pedro Alves <palves@redhat.com>
11216 * gdb.server/stop-reply-no-thread.c: New file.
11217 * gdb.server/stop-reply-no-thread.exp: New file.
11219 2018-01-10 Pedro Alves <palves@redhat.com>
11222 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
11223 functions too. Test setting breakpoints and printing C functions
11224 with no debug info too.
11225 * gdb.ada/bp_c_mixed_case/qux.c: New file.
11227 2018-01-10 Pedro Alves <palves@redhat.com>
11230 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
11233 2018-01-10 Pedro Alves <palves@redhat.com>
11236 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
11238 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11240 * gdb.server/unittest.exp: Match the output in non-development
11243 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
11245 * gdb.gdb/unittest.exp: Match output in non-development mode.
11247 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11249 * gdb.ada/access_tagged_param.exp: Relax expected output
11250 for value of "ObjL" in "continue" to pck.inspect breakpoint
11253 2018-01-08 Joel Brobecker <brobecker@adacore.com>
11255 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
11256 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
11258 2018-01-05 Pedro Alves <palves@redhat.com>
11261 * gdb.base/libsegfault.exp: New.
11263 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11266 * gdb.ada/access_tagged_param.exp: New file.
11267 * gdb.ada/access_tagged_param/foo.adb: New file.
11269 2018-01-05 Pedro Alves <palves@redhat.com>
11272 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
11273 exercise lower case too, and to exercise both full matching and
11276 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11278 * gdb.ada/rename_subscript_param: New testcase.
11280 2018-01-05 Jerome Guitton <guitton@adacore.com>
11282 * gdb.ada/arr_acc_idx_w_gap: New testcase.
11284 2018-01-05 Joel Brobecker <brobecker@adacore.com>
11286 * gdb.ada/convvar_comp: New testcase.
11288 2018-01-05 Xavier Roirand <roirand@adacore.com>
11290 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
11291 (My_Table): New global variable.
11292 * testsuite/gdb.ada/array_char_idx.exp: Add test.
11294 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11297 * gdb.ada/maint_with_ada: New testcase.
11299 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11302 * gdb.ada/bp_c_mixed_case: New testcase.
11304 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11307 * gdb.ada/complete.exp: Add "complete break ada" test.
11309 2018-01-04 Joel Brobecker <brobecker@adacore.com>
11312 * gdb.ada/info_addr_mixed_case: New testcase.
11314 2018-01-03 Xavier Roirand <roirand@adacore.com>
11316 * gdb.ada/excep_handle.exp: New testcase.
11317 * gdb.ada/excep_handle/foo.adb: New file.
11318 * gdb.ada/excep_handle/pck.ads: New file.
11320 2018-01-03 Joel Brobecker <brobecker@adacore.com>
11322 * gdb.base/step-line.c: Add extra empty line in copyright header.
11323 * gdb.base/step-line.inp: Likewise.
11325 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11327 * gdb.ada/dyn_stride.exp: Add slice test.
11329 2018-01-02 Joel Brobecker <brobecker@adacore.com>
11331 * gdb.ada/dyn_stride: New testcase.
11333 2017-12-27 Stafford Horne <shorne@gmail.com>
11335 * gdb.xml/extra-regs.xml: Add example foo reggroup.
11336 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
11338 2017-12-27 Stafford Horne <shorne@gmail.com>
11340 * gdb.base/reggroups.c: New file.
11341 * gdb.base/reggroups.exp: New file.
11343 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11345 * gdb.dwarf2/ada-valprint-error.c: New file.
11346 * gdb.dwarf2/ada-valprint-error.exp: New file.
11348 2017-12-18 Joel Brobecker <brobecker@adacore.com>
11350 * gdb.ada/assign_arr: New testcase.
11352 2017-12-18 Xavier Roirand <roirand@adacore.com>
11354 * gdb.ada/funcall_ptr: New testcase.
11356 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11359 * gdb.base/ptype-offsets.cc: New file.
11360 * gdb.base/ptype-offsets.exp: New file.
11362 2017-12-15 Yao Qi <yao.qi@linaro.org>
11364 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
11365 if XML is disabled.
11367 2017-12-15 Xavier Roirand <roirand@adacore.com>
11369 * gdb.ada/same_component_name: New testcase.
11371 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11373 * gdb.ada/str_binop_equal: New testcase.
11375 2017-12-14 Joel Brobecker <brobecker@adacore.com>
11377 * gdb.ada/task_switch_in_core: New testcase.
11379 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
11381 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
11382 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
11383 call test_bkpt_qualified.
11384 (test_bkpt_qualified): New proc.
11386 2017-12-13 Pedro Alves <palves@redhat.com>
11388 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
11389 Tighten regexp by matching with an anchor.
11391 2017-12-13 Pedro Alves <palves@redhat.com>
11393 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
11394 ("expression with namespace"): New set of tests.
11395 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
11396 (Nested::Test_NS::qux): New.
11397 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
11398 defaults to 'start_quote_char' and 'end_quote_char' parameters.
11400 2017-12-13 Joel Brobecker <brobecker@adacore.com>
11402 * gdb.base/server-del-break.c: New file.
11403 * gdb.base/server-del-break.exp: New file.
11405 2017-12-12 Stafford Horne <shorne@gmail.com>
11407 * gdb.xml/tdesc-regs.exp: Add or1k support.
11409 2017-12-12 Stafford Horne <shorne@gmail.com>
11411 * gdb.base/bp-permanent.c: Define nop of or1k.
11413 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11415 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
11416 output with components being reordered.
11418 2017-12-11 Joel Brobecker <brobecker@adacore.com>
11420 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
11421 output with components being reordered.
11423 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11424 Pedro Alves <palves@redhat.com>
11426 * gdb.base/maint.exp (check for .gdb_index): Check also for
11428 * gdb.dlang/watch-loc.c (.debug_aranges): New.
11429 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
11430 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
11431 (.gdb_index used after symbol reloading): Support also .debug_names.
11432 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
11434 2017-12-08 Yao Qi <yao.qi@linaro.org>
11436 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11437 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
11439 2017-12-08 Yao Qi <yao.qi@linaro.org>
11441 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
11442 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
11444 2017-12-08 Yao Qi <yao.qi@linaro.org>
11446 * gdb.arch/aarch64-tagged-pointer.c: New file.
11447 * gdb.arch/aarch64-tagged-pointer.exp: New file.
11449 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
11451 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
11454 2017-12-07 Keith Seitz <keiths@redhat.com>
11456 PR breakpoints/22569
11457 * gdb.linespec/ls-errs.exp: Change expected result of "break
11458 -source this file has spaces.c -line 3".
11459 Check that an explicit source file followed by whitespace is
11460 identified as an invalid explicit location.
11462 2017-12-07 Keith Seitz <keiths@redhat.com>
11464 * gdb.cp/nested-types.cc: New file.
11465 * gdb.cp/nested-types.exp: New file.
11466 * lib/cp-support.exp: Load data-structures.exp library.
11467 (debug_cp_test_ptype_class): New global.
11468 (cp_ptype_class_verbose, next_line): New procedures.
11469 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
11470 Add and document new return value.
11471 Switch the list of lines to a queue.
11472 Add support for new `type' key for nested type definitions.
11473 Add debugging/troubleshooting messages.
11474 * lib/data-structures.exp: New file.
11476 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
11478 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
11479 with proc_with_prefix, don't use with_test_prefix.
11481 2017-12-07 Tom Tromey <tom@tromey.com>
11483 * gdb.base/break.exp: Add test for empty "commands".
11485 2017-12-07 Yao Qi <yao.qi@linaro.org>
11487 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
11488 malloc and catch syscall.
11490 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
11492 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
11493 tests for explicit locations.
11495 2017-12-06 Pedro Alves <palves@redhat.com>
11497 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
11498 force-disabling XML descriptions.
11500 2017-12-04 Pedro Alves <palves@redhat.com>
11503 * gdb.arch/amd64-disp-step-avx.S: New file.
11504 * gdb.arch/amd64-disp-step-avx.exp: New file.
11506 2017-12-03 Pedro Alves <palves@redhat.com>
11508 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
11510 (parent_function): Print distinct messages when waitpid fails, or
11511 the child exits with a signal, or the child exits for an unhandled
11513 * gdb.threads/process-dies-while-detaching.exp
11514 (detach_and_expect_exit): New 'inf_output_re' parameter and use
11515 it. Wait for both inferior output and GDB's prompt. Use an
11516 indirect spawn id list.
11517 (do_detach): New parameter 'child_exit'. Use it to compute
11518 expected inferior output.
11519 (test_detach, test_detach_watch, test_detach_killed_outside):
11520 Adjust to pass down the expected child exit kind.
11522 2017-12-01 Joel Brobecker <brobecker@adacore.com>
11523 Sergio Durigan Junior <sergiodj@redhat.com>
11524 Pedro Alves <palves@redhat.com>
11526 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
11528 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
11530 * gdb.base/relocate.exp: Add tests to guarantee that arguments
11531 to 'symbol-file' and 'add-symbol-file' can be
11532 position-independent.
11534 2017-12-01 Yao Qi <yao.qi@linaro.org>
11536 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
11537 the URL in copyright header.
11538 * gdb.arch/aarch64-fp.exp: Likewise.
11539 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
11540 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
11541 * gdb.base/expand-psymtabs.exp: Likewise.
11542 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
11543 * gdb.fortran/common-block.exp: Likewise.
11544 * gdb.fortran/common-block.f90: Likewise.
11545 * gdb.fortran/logical.exp: Likewise.
11546 * gdb.fortran/vla-datatypes.f90: Likewise.
11547 * gdb.fortran/vla-sub.f90: Likewise.
11549 2017-11-30 Joel Brobecker <brobecker@adacore.com>
11551 * gdb.ada/repeat_dyn: New testcase.
11553 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
11555 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
11556 Update for changed thread numbering.
11557 * gdb.cell/bt.exp: Update for changed GDB output.
11559 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
11561 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
11562 setting isremote by hand.
11563 * boards/dwarf4-gdb-index.exp: Likewise.
11564 * boards/fission.exp: Likewise.
11565 * boards/stabs.exp: Likewise.
11567 2017-11-30 Pedro Alves <palves@redhat.com>
11569 * gdb.linespec/cpls-ops.exp
11570 (check_explicit_skips_function_argument): Extract the underlying
11571 type of size_t instead of hardcoding it.
11573 2017-11-29 Pedro Alves <palves@redhat.com>
11576 * gdb.linespec/cpls-abi-tag.cc: New file.
11577 * gdb.linespec/cpls-abi-tag.exp: New file.
11579 2017-11-29 Pedro Alves <palves@redhat.com>
11581 * gdb.base/langs.exp: Use -qualified.
11582 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
11584 * gdb.cp/namespace.exp: Use -qualified.
11585 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
11586 (overload-3, template-overload, template-ret-type, const-overload)
11587 (const-overload-quoted, anon-ns, ambiguous-prefix): New
11589 (test_driver): Call them.
11590 * gdb.cp/save-bp-qualified.cc: New.
11591 * gdb.cp/save-bp-qualified.exp: New.
11592 * gdb.linespec/explicit.exp: Test -qualified.
11593 * lib/completion-support.exp (completion::explicit_opts_list): Add
11595 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
11597 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
11599 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
11601 2017-11-29 Tom Tromey <tom@tromey.com>
11603 * gdb.base/relocate.exp: Update invalid argument test.
11604 Add new tests for invalid arguments.
11606 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11608 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
11609 Return 0 as a long.
11610 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
11612 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
11614 * gdb.cp/breakpoint.cc (bar): Set return type to void.
11615 * gdb.cp/psymtab-parameter.cc (func): Likewise.
11616 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
11618 * gdb.cp/shadow.cc (B.func): Return 0.
11620 2017-11-27 Joel Brobecker <brobecker@adacore.com>
11622 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
11623 expected output in gdb_expect call to allow the exception
11624 message to be present as well. Fix syntax confusion to avoid
11625 TCL thinking that exception_name is an array.
11627 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
11629 * gdb.arch/spu-info.c: Include <unistd.h>.
11630 (do_signal_test): Fix broken calls to write.
11631 * gdb.arch/spu-info.exp: Use prepare_for_testing.
11632 Fix checks for empty mailboxes. Update signal tests for corrected
11633 do_signal_test routine. Allow nonzero event status.
11634 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
11635 * gdb.cell/arch.exp: Use standard_output_file.
11636 * gdb.cell/break.exp: Likewise.
11637 * gdb.cell/bt.exp: Likewise.
11638 * gdb.cell/core.exp: Likewise.
11639 * gdb.cell/dwarfaddr.exp: Likewise.
11640 * gdb.cell/ea-cache.exp: Likewise.
11641 * gdb.cell/ea-standalone.exp: Likewise.
11642 * gdb.cell/f-regs.exp: Likewise.
11643 * gdb.cell/fork.exp: Likewise.
11644 * gdb.cell/gcore.exp: Likewise.
11645 * gdb.cell/mem-access.exp: Likewise.
11646 * gdb.cell/ptype.exp: Likewise.
11647 * gdb.cell/registers.exp: Likewise.
11648 * gdb.cell/sizeof.exp: Likewise.
11649 * gdb.cell/solib-symbol.exp: Likewise.
11650 * gdb.cell/solib.exp: Likewise.
11652 2017-11-25 Pedro Alves <palves@redhat.com>
11654 * gdb.base/complete-empty.exp: New file.
11655 * gdb.base/completion.exp: Adjust.
11657 2017-11-25 Pedro Alves <palves@redhat.com>
11659 * gdb.linespec/cpls-ops.cc: New file.
11660 * gdb.linespec/cpls-ops.exp: New file.
11661 * lib/completion-support.exp (test_complete_prefix_range_re): New,
11662 factored out from ...
11663 (test_complete_prefix_range): ... this.
11665 2017-11-24 Pedro Alves <palves@redhat.com>
11667 * gdb.linespec/cpcompletion.exp: New file.
11668 * gdb.linespec/cpls-hyphen.cc: New file.
11669 * gdb.linespec/cpls.cc: New file.
11670 * gdb.linespec/cpls2.cc: New file.
11671 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
11672 test to use test_gdb_complete_unique. Add label completion,
11673 keyword completion and explicit location completion tests.
11674 * lib/completion-support.exp: New file.
11676 2017-11-24 Joel Brobecker <brobecker@adacore.com>
11678 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
11679 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
11680 when hitting an exception catchpoint.
11682 2017-11-22 Yao Qi <yao.qi@linaro.org>
11684 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
11686 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
11688 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
11689 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
11690 * gdb.dwarf2/info-locals-optimized-out.c: New file.
11692 2017-11-22 Yao Qi <yao.qi@linaro.org>
11694 * gdb.base/info-os.exp: Pass pthreads.
11695 * gdb.multi/multi-attach.exp: Likewise.
11697 2017-11-22 Yao Qi <yao.qi@linaro.org>
11699 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
11702 2017-11-22 Yao Qi <yao.qi@linaro.org>
11704 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
11705 * gdb.base/break-interp.exp: Likewise.
11706 * gdb.base/jit-attach-pie.exp: Likewise.
11708 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11710 * gdb.base/float128.c (large128): New variable.
11711 * gdb.base/float128.exp: Add test to print largest __float128 value.
11713 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
11715 * gdb.arch/vsx-regs.exp: Update register content checks.
11717 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
11719 * gdb.arch/ppc-longdouble.exp: New file.
11720 * gdb.arch/ppc-longdouble.c: Likewise.
11722 2017-11-21 Pedro Alves <palves@redhat.com>
11724 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
11726 2017-11-20 Pedro Alves <palves@redhat.com>
11728 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
11729 (long_double_typedef): New typedefs.
11730 Use DEF on double and long double.
11731 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
11733 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
11734 and 'long_double_ptr_same_size' locals. Use them to decide
11735 whether cast from array/function to float is valid/invalid.
11737 2017-11-17 Tom Tromey <tom@tromey.com>
11739 * gdb.rust/traits.rs: New file.
11740 * gdb.rust/traits.exp: New file.
11742 2017-11-17 Joel Brobecker <brobecker@adacore.com>
11744 * gdb.ada/minsyms: New testcase.
11746 2017-11-16 Pedro Alves <palves@redhat.com>
11748 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11749 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11751 2017-11-16 Pedro Alves <palves@redhat.com>
11753 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11754 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11756 2017-11-16 Pedro Alves <palves@redhat.com>
11758 * gdb.server/reconnect-ctrl-c.c: New file.
11759 * gdb.server/reconnect-ctrl-c.exp: New file.
11761 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11763 * gdb.python/py-rbreak.exp: New file.
11764 * gdb.python/py-rbreak.c: New file.
11765 * gdb.python/py-rbreak-func2.c: New file.
11767 2017-11-16 Pedro Alves <palves@redhat.com>
11769 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11771 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11774 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11776 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11779 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11781 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11784 2017-11-09 Pedro Alves <palves@redhat.com>
11786 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11787 factored out from ...
11788 (top level): ... here, and adjusted to avoid expecting beyond the
11789 prompt in a single gdb_test_multiple.
11791 2017-11-09 Pedro Alves <palves@redhat.com>
11793 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11795 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11796 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11797 * gdb.server/ext-run.exp ("kill" test): Likewise.
11798 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11800 2017-11-09 Pedro Alves <palves@redhat.com>
11802 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11803 match till end of line.
11805 2017-11-09 Pedro Alves <palves@redhat.com>
11807 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11809 2017-11-09 Pedro Alves <palves@redhat.com>
11811 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11812 New procedures, factored out from ...
11813 (top level): ... here, and adjusted to avoid expecting beyond the
11816 2017-11-09 Pedro Alves <palves@redhat.com>
11818 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11819 output. Fix '?' match.
11821 2017-11-08 Joel Brobecker <brobecker@adacore.com>
11823 * gdb.ada/scoped_watch: New testcase.
11824 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11825 which is actually correct.
11826 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11827 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11829 2017-11-08 Pedro Alves <palves@redhat.com>
11831 * gdb.gdb/complaints.exp (test_initial_complaints)
11832 (test_serial_complaints, test_short_complaints): Call
11833 complaint_internal instead of complaint.
11835 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11837 * gdb.threads/tls-core.c: New file.
11838 * gdb.threads/tls-core.exp: Likewise.
11840 2017-11-08 Pedro Alves <palves@redhat.com>
11842 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11843 (p Exported_Capitalized): New test.
11844 (p exported_capitalized): New test.
11846 2017-11-07 Pedro Alves <palves@redhat.com>
11848 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11850 2017-11-07 Pedro Alves <palves@redhat.com>
11852 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11853 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11854 (disable_invalid, disable_inverted, disable_negative): New
11856 ("bad numbers"): New set of tests.
11858 2017-11-07 Pedro Alves <palves@redhat.com>
11860 * gdb.cp/ena-dis-br-range.exp: Add tests.
11862 2017-11-07 Pedro Alves <palves@redhat.com>
11864 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11866 2017-11-07 Xavier Roirand <roirand@adacore.com>
11867 Pedro Alves <palves@redhat.com>
11869 * gdb.base/ena-dis-br.exp: Add reference to
11870 gdb.cp/ena-dis-br-range.exp.
11871 * gdb.cp/ena-dis-br-range.exp: New file.
11872 * gdb.cp/ena-dis-br-range.cc: New file.
11874 2017-11-06 Pedro Alves <palves@redhat.com>
11876 * gdb.base/attach-non-pgrp-leader.c: New.
11877 * gdb.base/attach-non-pgrp-leader.exp: New.
11879 2017-11-06 Pedro Alves <palves@redhat.com>
11881 * configure.ac: No longer check for termio.h and sgtty.h.
11882 * configure: Regenerate.
11883 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11884 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11885 Remove termio and sgtty code.
11887 2017-11-03 Yao Qi <yao.qi@linaro.org>
11889 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11890 in GDB is disabled.
11892 2017-11-03 Yao Qi <yao.qi@linaro.org>
11894 * gdb.python/py-thrhandle.exp: Skip it if python is not
11897 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11899 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11900 as a breakpoint command.
11902 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11905 * gdb.python/py-infthread.exp: Test calling
11906 InferiorThread.inferior () multiple times in a row.
11908 2017-10-27 Keith Seitz <keiths@redhat.com>
11910 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11911 Test "info break" for every inlined function breakpoint.
11913 2017-10-27 Yao Qi <yao.qi@linaro.org>
11915 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11917 2017-10-26 Patrick Frants <osscontribute@gmail.com>
11919 * gdb.cp/classes.exp (test_static_members): Test printing
11921 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11922 (Inner::instance, Outer::instance): New.
11924 2017-10-24 Pedro Alves <palves@redhat.com>
11926 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11927 extra console" test in two stages.
11929 2017-10-24 Pedro Alves <palves@redhat.com>
11931 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11933 2017-10-24 Pedro Alves <palves@redhat.com>
11935 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11938 2017-10-24 Pedro Alves <palves@redhat.com>
11940 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11941 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11943 2017-10-24 Pedro Alves <palves@redhat.com>
11945 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11946 parameter and handle it. Don't output read value in test name.
11948 2017-10-24 Pedro Alves <palves@redhat.com>
11950 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11953 2017-10-24 Pedro Alves <palves@redhat.com>
11955 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11956 include the unstable output directory name in the test's name.
11957 (initial_setup_simple) <'set args'>: Use custom test name.
11959 2017-10-24 Pedro Alves <palves@redhat.com>
11961 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11962 with explicit test name.
11964 2017-10-20 Pedro Alves <palves@redhat.com>
11966 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11967 'wait -i'. Use gdb_assert and remote_close.
11969 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11971 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11972 number from variable rather than hard-coded.
11974 2017-10-19 Pedro Alves <palves@redhat.com>
11976 * gdb.base/long-inferior-output.c: New file.
11977 * gdb.base/long-inferior-output.exp: New file.
11979 2017-11-18 Keith Seitz <keiths@redhat.com>
11981 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11984 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11985 Add additional user-defined conversion operator tests.
11987 2017-10-17 Pedro Alves <palves@redhat.com>
11989 * boards/native-stdio-gdbserver.exp: Load "local-board".
11991 2017-10-17 Pedro Alves <palves@redhat.com>
11993 * gdb.base/quit-live.c: New file.
11994 * gdb.base/quit-live.exp: New file.
11996 2017-10-16 Keith Seitz <keiths@redhat.com>
11998 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11999 (class_with_protected_typedef, class_with_private_typedef)
12000 (struct_with_public_typedef, struct_with_protected_typedef)
12001 (struct_with_private_typedef): New classes/structs.
12002 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
12003 typedefs and access specifiers.
12005 2017-10-16 Pedro Alves <palves@redhat.com>
12006 Simon Marchi <simon.marchi@polymtl.ca>
12008 * README (Local vs Remote vs Native): New section.
12009 * boards/local-board.exp: New file, with bits factored out from
12011 * boards/native-extended-gdbserver.exp: ... here. Load
12013 * boards/native-gdbserver.exp: Load "local-board".
12014 (${board}_spawn, ${board}_exec): Delete.
12015 * boards/native-stdio-gdbserver.exp: Most contents factored out to
12017 * boards/stdio-gdbserver-base.exp: ... this new file.
12018 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
12019 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
12021 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
12022 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
12023 stdio_gdbserver_command.
12024 (${board}_get_remote_address, ${board}_get_comm_port)
12025 (${board}_download, ${board}_upload): Delete.
12026 (get_target_remote_pipe_cmd): New.
12028 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
12030 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
12031 test_bkpt_deletion, test_bkpt_cond_and_cmds,
12032 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
12033 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
12034 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
12035 remove with_test_prefix.
12037 2017-10-13 Pedro Alves <palves@redhat.com>
12039 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
12040 * gdb.base/annota1.exp: Use it instead of is_remote.
12041 * gdb.base/annota3.exp: Use it instead of is_remote.
12042 * gdb.cp/annota2.exp: Use it instead of is_remote.
12043 * gdb.cp/annota3.exp: Use it instead of is_remote.
12044 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
12046 2017-10-13 Pedro Alves <palves@redhat.com>
12048 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
12049 (test_num_test_vars, run_and_count_vars, find_env)
12050 (test_set_unset_env, test_inherit_env_var): New procedures.
12051 (top level): Use them.
12053 2017-10-13 Pedro Alves <palves@redhat.com>
12055 * lib/selftest-support.exp (selftest_setup): Extend comments, and
12056 also skip on stub-like targets.
12058 2017-10-13 Pedro Alves <palves@redhat.com>
12061 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
12062 (top level): Move some tests to ...
12063 (test_not_found): ... this new procedure.
12064 (top level): Call it.
12066 2017-10-13 Pedro Alves <palves@redhat.com>
12068 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
12069 expect different "info terminal" output if testing with a
12072 2017-10-13 Pedro Alves <palves@redhat.com>
12073 Simon Marchi <simon.marchi@polymtl.ca>
12076 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
12078 2017-10-13 Pedro Alves <palves@redhat.com>
12080 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
12083 2017-10-13 Pedro Alves <palves@redhat.com>
12085 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
12088 2017-10-13 Pedro Alves <palves@redhat.com>
12090 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
12093 2017-10-13 Pedro Alves <palves@redhat.com>
12095 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
12097 (corefile_test_attach): Likewise. Check can_spawn_for_attach
12098 instead of is_remote.
12100 2017-10-13 Pedro Alves <palves@redhat.com>
12102 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
12103 (top level): Add comment.
12105 2017-10-13 Pedro Alves <palves@redhat.com>
12107 * gdb.base/remote.exp (top level): Fix comment typo and add
12110 2017-10-13 Pedro Alves <palves@redhat.com>
12111 Simon Marchi <simon.marchi@polymtl.ca>
12113 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
12114 calls and add comments. Skip test if use_gdb_stub is set.
12115 (top level): Use "set cwd" command instead of "cd" command.
12117 2017-10-13 Pedro Alves <palves@redhat.com>
12119 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
12120 is_remote target check.
12122 2017-10-13 Pedro Alves <palves@redhat.com>
12124 * gdb.base/scope.exp: Use build_executable + clean_restart +
12125 gdb_file_cmd instead of prepare_for_testing and no longer skip
12126 "before run" tests on is_remote target boards. Update comments.
12127 * boards/native-extended-gdbserver.exp
12128 (extended_gdbserver_load_last_file): New, factored out from ...
12129 (gdb_load): ... this. Move further below and add comment.
12130 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
12132 2017-10-12 Pedro Alves <palves@redhat.com>
12134 * gdb.base/attach.exp: Remove references to gdb64.
12135 * gdb.base/dbx.exp: Remove references to gdb64.
12137 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12138 Pedro Alves <palves@redhat.com>
12140 * gdb.base/label.exp: Remove is_remote target check.
12142 2017-10-12 Pedro Alves <palves@redhat.com>
12144 * gdb.base/auvx.exp (coredir): Update comment.
12145 (top level) <core_works>: Use "set cwd" command instead of "cd"
12148 2017-10-12 Pedro Alves <palves@redhat.com>
12149 Simon Marchi <simon.marchi@polymtl.ca>
12151 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
12154 2017-10-12 Pedro Alves <palves@redhat.com>
12155 Simon Marchi <simon.marchi@polymtl.ca>
12157 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
12158 Instead skip if there's any gdb_protocol set.
12160 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
12161 Pedro Alves <palves@redhat.com>
12163 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
12165 2017-10-12 Pedro Alves <palves@redhat.com>
12166 Simon Marchi <simon.marchi@polymtl.ca>
12168 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
12169 instead of on dejagnu remote boards.
12171 2017-10-12 Pedro Alves <palves@redhat.com>
12172 Simon Marchi <simon.marchi@polymtl.ca>
12174 * gdb.base/inferior-died.exp: Remove is_remote and isnative
12175 checks. Use build_executable + clean_restart instead of
12176 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
12177 of enabling non-stop after starting gdb.
12179 2017-10-12 Pedro Alves <palves@redhat.com>
12181 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12182 * gdb.threads/non-ldr-exc-2.exp: Ditto.
12183 * gdb.threads/non-ldr-exc-3.exp: Ditto.
12184 * gdb.threads/non-ldr-exc-4.exp: Ditto.
12186 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
12188 * gdb.arch/arc-tdesc-cpu.exp: New file.
12189 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
12191 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
12193 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
12195 2017-10-10 Pedro Alves <palves@redhat.com>
12197 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
12200 2017-10-10 Pedro Alves <palves@redhat.com>
12202 * lib/selftest-support.exp (selftest_setup): Update for
12203 captured_command_loop's prototype change.
12205 2017-10-09 Pedro Alves <palves@redhat.com>
12207 Test both arch1=>arch2 and arch2=>arch1.
12209 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
12210 (srcfile2, binfile2, march1, march2): Remove globals. Largely
12212 (append_arch1_options, append_arch2_options, append_arch_options)
12213 (build_executables): New procedures.
12214 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
12216 (top level): Add new 'first_arch' testing axis.
12218 2017-10-09 Pedro Alves <palves@redhat.com>
12220 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
12222 (thread_start, all_started): New functions.
12223 (main): Spawn new thread and wait until it is scheduled.
12224 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
12226 (do_test): Add 'selected_thread' parameter. Run to all_started
12227 instead of main. Explicitly set the breakpoint at main. Switch
12228 to the SELECTED_THREAD thread.
12229 (top level): Test handling the exec event with either the main
12230 thread or the second thread selected.
12232 2017-10-09 Pedro Alves <palves@redhat.com>
12234 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
12235 logic. Move STOP marker after the value checks.
12236 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
12239 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
12241 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
12243 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
12245 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
12246 integer-to-dfp conversion.
12247 * gdb.base/dfp-test.exp: Likewise.
12249 2017-10-04 Pedro Alves <palves@redhat.com>
12251 * gdb.multi/hangout.c: Include <unistd.h>.
12252 (hangout_loop): New function.
12253 (main): Call alarm. Call hangout_loop in a loop.
12254 * gdb.multi/hello.c: Include <unistd.h>.
12255 (hello_loop): New function.
12256 (main): Call alarm. Call hangout_loop in a loop.
12257 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
12258 inferior with the other selected.
12260 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
12262 * gdb.mi/list-thread-groups-available.exp: New file.
12263 * gdb.mi/list-thread-groups-available.c: New file.
12265 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12267 * gdb.base/set-cwd.exp: Make it available on
12268 native-extended-gdbserver.
12270 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12272 * gdb.base/set-cwd.c: New file.
12273 * gdb.base/set-cwd.exp: Likewise.
12275 2017-10-02 Tom Tromey <tom@tromey.com>
12278 * gdb.rust/simple.rs (main): New variable "fslice".
12279 * gdb.rust/simple.exp: Add slice tests. Update string tests.
12281 2017-10-02 Tom Tromey <tom@tromey.com>
12283 * gdb.rust/simple.exp: Test ptype of a slice.
12285 2017-10-02 Tom Tromey <tom@tromey.com>
12287 * gdb.rust/simple.exp: Test index of slice.
12289 2017-09-27 Tom Tromey <tom@tromey.com>
12291 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12293 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
12294 Pedro Alves <palves@redhat.com>
12296 * gdb.base/compare-sections.exp (get value of read-only section): Read
12298 (corrupt read-only section): Likewise and don't set written if patching
12301 2017-09-21 Kevin Buettner <kevinb@redhat.com>
12303 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
12306 2017-09-20 Pedro Alves <palves@redhat.com>
12308 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
12309 symbol names in gdb's output.
12310 * gdb.cp/overload.exp ("list all overloads"): Likewise.
12312 2017-09-20 Pedro Alves <palves@redhat.com>
12314 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
12316 (test_list_ambiguous_symbol): ... this and add a symbol name
12318 (test_list_ambiguous_function): Reimplement on top of
12319 test_list_ambiguous_symbol and also test listing ambiguous
12321 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
12322 (ambiguous_fun): ... this.
12323 (ambiguous_var): New.
12324 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
12325 (ambiguous_fun): ... this.
12326 (ambiguous_var): New.
12328 2017-09-19 John Baldwin <jhb@FreeBSD.org>
12330 * gdb.base/starti.c: New file.
12331 * gdb.base/starti.exp: New file.
12332 * lib/gdb.exp (gdb_starti_cmd): New procedure.
12334 2017-09-14 Pedro Alves <palves@redhat.com>
12336 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
12337 (top level): Use it instead of runto.
12339 2017-09-11 Tom Tromey <tom@tromey.com>
12341 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
12343 2017-09-11 Tom Tromey <tom@tromey.com>
12345 * gdb.python/py-infthread.exp: Add tests for new_thread event.
12346 * gdb.python/py-inferior.exp: Add tests for new inferior events.
12348 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
12350 * gdb.fortran/printing-types.exp: New file.
12351 * gdb.fortran/printing-types.exp: New file.
12353 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12355 * gdb.fortran/vla-ptype.exp: Fix typos.
12356 * gdb.fortran/vla-value.exp: Same.
12358 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
12360 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
12361 * gdb.mi/mi-var-child-f.exp: Likewise.
12362 * gdb.mi/mi-vla-fortran.exp: Likewise.
12364 2017-09-08 Frank Penczek <frank.penczek@intel.com>
12365 Christoph Weinmann <christoph.t.weinmann@intel.com>
12366 Bernhard Heckel <bernhard.heckel@intel.com>
12368 * gdb.fortran/ptr-indentation.f90: New file.
12369 * gdb.fortran/ptr-indentation.exp: New file.
12371 2017-09-05 Tom Tromey <tom@tromey.com>
12374 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
12376 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
12378 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
12380 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12382 * gdb.threads/tls-nodebug-pie.c: New file.
12383 * gdb.threads/tls-nodebug-pie.exp: New file.
12385 2017-09-05 Tom Tromey <tom@tromey.com>
12387 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
12390 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
12392 * gdb.multi/multi-arch-exec.exp: Test with different
12393 "follow-exec-mode" settings.
12394 (do_test): New procedure.
12396 2017-09-04 Pedro Alves <palves@redhat.com>
12398 * gdb.base/func-static.c (S::method const, S::method volatile)
12399 (S::method volatile const): New methods.
12400 (c_s, v_s, cv_s): New instances.
12401 (main): Call method() on them.
12402 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
12403 (cannot_resolve): New procedure.
12404 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
12405 print-quote-unquoted columns.
12406 (do_test): Test printing each scope too.
12408 2017-09-04 Pedro Alves <palves@redhat.com>
12410 * gdb.base/local-static.exp: Also test with
12411 class::method::variable wholly quoted.
12412 * gdb.cp/m-static.exp (class::method::variable): Remove test.
12414 2017-09-04 Pedro Alves <palves@redhat.com>
12416 * gdb.base/local-static.c: New.
12417 * gdb.base/local-static.cc: New.
12418 * gdb.base/local-static.exp: New.
12420 2017-09-04 Pedro Alves <palves@redhat.com>
12422 * gdb.asm/asm-source.exp: Add casts to int.
12423 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
12424 (dataglobal64_1, dataglobal64_2): New globals.
12425 * gdb.base/nodebug.exp: Test different expressions involving the
12426 new globals, with print, whatis and ptype. Add casts to int.
12427 * gdb.base/solib-display.exp: Add casts to int.
12428 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
12429 * gdb.cp/m-static.exp: Add cast to int.
12430 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
12431 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
12432 tls variable with no debug info without a cast. Test with a cast
12434 * gdb.trace/entry-values.exp: Add casts.
12436 2017-09-04 Pedro Alves <palves@redhat.com>
12438 * gdb.base/nodebug.exp: Test that ptype's error about functions
12439 with unknown return type includes the function name too.
12441 2017-09-04 Pedro Alves <palves@redhat.com>
12443 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
12444 return type of munmap in infcall.
12445 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
12446 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
12447 type of ftell in infcall.
12448 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
12449 type of getpid in infcall.
12450 * gdb.base/infcall-exec.exp: Cast return type of execlp in
12452 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
12453 Bail on failure to extract the pid.
12454 * gdb.base/nodebug.c: #include <stdint.h>.
12455 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
12457 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
12458 Change expected output of print/whatis/ptype with functions with
12459 no debug info. Test all supported languages. Call
12460 test_call_promotion.
12461 * gdb.compile/compile.exp: Adjust expected output to expect
12463 * gdb.threads/siginfo-threads.exp: Likewise.
12465 2017-09-04 Pedro Alves <palves@redhat.com>
12467 * gdb.base/callfuncs.exp (do_function_calls): New parameter
12468 "prototypes". Test calling float functions via prototyped and
12469 unprototyped function pointers.
12470 (perform_all_tests): New parameter "prototypes". Pass it down.
12471 (top level): Pass down "prototypes" parameter to
12474 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12476 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
12477 Test with nested loops.
12479 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12481 * gdb.base/commands.exp: Call the new procedures.
12482 (loop_break_test, loop_continue_test): New procedures.
12484 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12486 * gdb.base/commands.exp: Call new procedure.
12487 (define_if_without_arg_test): New procedure.
12489 2017-09-04 Pedro Alves <palves@redhat.com>
12491 * gdb.base/list-ambiguous.exp: New file.
12492 * gdb.base/list-ambiguous0.c: New file.
12493 * gdb.base/list-ambiguous1.c: New file.
12494 * gdb.base/list.exp (test_list_range): Adjust expected output.
12496 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
12498 * gdb.base/share-env-with-gdbserver.c: New file.
12499 * gdb.base/share-env-with-gdbserver.exp: Likewise.
12501 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12503 * gdb.base/commands.exp (gdbvar_simple_if_test,
12504 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
12505 progvar_simple_if_test, progvar_simple_while_test,
12506 progvar_complex_if_while_test, user_defined_command_test,
12507 user_defined_command_args_eval,
12508 user_defined_command_args_stack_test,
12509 user_defined_command_manyargs_test, bp_deleted_in_command_test,
12510 temporary_breakpoint_commands,
12511 gdb_test_no_prompt, redefine_hook_test,
12512 redefine_backtrace_test): Remove "global gdb_prompt".
12514 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
12516 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
12517 New proc, call it from toplevel.
12519 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
12522 * gdb.server/normal.c: New file, copied from gdb.base.
12523 * gdb.server/run-without-local-binary.exp: New file.
12525 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
12527 * gdb.arch/sparc64-adi.exp: New file.
12528 * gdb.arch/sparc64-adi.c: New file.
12530 2017-08-22 Pedro Alves <palves@redhat.com>
12532 * gdb.cp/overload.exp (line_range_pattern): New procedure.
12533 (top level): Add "list all overloads" tests.
12535 2017-08-22 Tom Tromey <tom@tromey.com>
12537 * gdb.gdb/xfullpath.exp: Remove.
12539 2017-08-21 Pedro Alves <palves@redhat.com>
12542 * gdb.base/symbol-alias.c: New.
12543 * gdb.base/symbol-alias2.c: New.
12544 * gdb.base/symbol-alias.exp: New.
12546 2017-08-21 Pedro Alves <palves@redhat.com>
12548 * gdb.base/dfp-test.c
12549 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
12550 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
12551 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
12552 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
12553 * gdb.base/whatis-ptype-typedefs.c: New.
12554 * gdb.base/whatis-ptype-typedefs.exp: New.
12555 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
12556 (an_int, an_int_type, an_int_type2): New globals.
12557 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
12558 involving typedefs and cast expressions.
12559 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
12560 (lookup_typedefs_function): New.
12561 (typedefs_pretty_printers_dict): New.
12562 (top level): Register lookup_typedefs_function in
12563 gdb.pretty_printers.
12565 2017-08-18 Yao Qi <yao.qi@linaro.org>
12567 * gdb.server/unittest.exp: New.
12569 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
12572 * gdb.base/environ.exp: Add test to check if 'unset environment'
12575 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12577 * lib/gdb.exp (universal_compile_options): New caching proc.
12578 (gdb_compile): Suppress GCC's coloring of messages.
12580 2017-08-14 Tom Tromey <tom@tromey.com>
12583 * gdb.base/printcmds.exp (test_radices): New function.
12584 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
12585 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12586 * lib/gdb.exp (get_integer_valueof): Use p/d.
12588 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
12590 * lib/gdb.exp (get_valueof): Don't capture end-of-line
12593 2017-08-05 Tom Tromey <tom@tromey.com>
12595 * gdb.rust/simple.exp: Allow String to appear in a different
12598 2017-07-26 Yao Qi <yao.qi@linaro.org>
12600 * gdb.gdb/unittest.exp: Invoke command
12601 "maintenance check xml-descriptions".
12603 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12605 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
12607 (hex128): Drop erroneous calculation of parameters.
12609 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
12611 * gdb.python/py-unwind.exp: Disable stack protection when
12612 building test file.
12614 2017-07-20 Pedro Alves <palves@redhat.com>
12616 * gdb.base/default.exp (set language): Adjust expected output.
12618 2017-07-20 Pedro Alves <palves@redhat.com>
12620 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
12621 (test_minsym): ... this, and make static.
12622 (get_pck__foo__bar__minsym): Rename to ...
12623 (get_test_minsym): ... this.
12624 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
12625 symbol names and comments.
12626 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
12627 (get_test_minsym): ... this.
12628 (pck__foo__bar__minsym__2): Rename to ...
12629 (test_minsym): ... this.
12632 2017-07-17 Pedro Alves <palves@redhat.com>
12634 * gdb.base/completion.exp: Adjust expected output.
12635 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
12636 the completer works.
12638 2017-07-17 Pedro Alves <palves@redhat.com>
12640 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
12642 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
12644 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
12646 2017-07-14 Tom Tromey <tom@tromey.com>
12649 * gdb.rust/simple.exp: Add tests.
12651 2017-07-14 Tom Tromey <tom@tromey.com>
12653 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
12655 2017-07-14 Pedro Alves <palves@redhat.com>
12657 * gdb.linespec/base/one/thefile.cc (z1): New function.
12658 * gdb.linespec/base/two/thefile.cc (z2): New function.
12659 * gdb.linespec/linespec.exp: Add tests.
12661 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12663 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
12664 to mi_create_breakpoint.
12666 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
12668 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
12669 mi_create_breakpoint.
12671 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
12673 * gdb.dlang/demangle.exp: Update for demangling changes.
12675 2017-07-09 Tom Tromey <tom@tromey.com>
12677 * gdb.dwarf2/shortpiece.exp: New file.
12679 2017-07-06 David Blaikie <dblaikie@gmail.com>
12681 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
12682 built from fissiont-multi-cu{1,2}.c.
12683 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
12684 except putting 'main' and 'func' in separate CUs in the same DWO file.
12685 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
12687 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
12690 2017-07-06 Pedro Alves <palves@redhat.com>
12692 * gdb.python/py-unwind.exp: Test flushregs.
12694 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12697 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
12698 tests for alias commands and trailing whitespace.
12700 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
12703 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
12704 procedure. Call it.
12706 2017-06-29 Pedro Alves <palves@redhat.com>
12708 * gdb.base/printcmds.exp: Add tests.
12710 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
12713 * gdb.base/reread-readsym.exp: New file.
12714 * gdb.base/reread-readsym.c: New file.
12716 2017-06-21 Kevin Buettner <kevinb@redhat.com>
12718 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
12721 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
12723 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
12725 * gdb.arch/powerpc-power9.s: Likewise.
12727 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12729 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
12730 on 32-bit x86 targets. Exploit is_*_target macros where
12733 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12735 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
12738 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12740 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
12741 located in one or more DWARF pieces.
12743 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12745 * lib/gdb.exp (get_endianness): New proc.
12746 * gdb.arch/aarch64-fp.exp: Use it.
12747 * gdb.arch/altivec-regs.exp: Likewise.
12748 * gdb.arch/e500-regs.exp: Likewise.
12749 * gdb.arch/vsx-regs.exp: Likewise.
12750 * gdb.base/dump.exp: Likewise.
12751 * gdb.base/funcargs.exp: Likewise.
12752 * gdb.base/gnu_vector.exp: Likewise.
12753 * gdb.dwarf2/formdata16.exp: Likewise.
12754 * gdb.dwarf2/implptrpiece.exp: Likewise.
12755 * gdb.dwarf2/nonvar-access.exp: Likewise.
12756 * gdb.python/py-inferior.exp: Likewise.
12757 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12759 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12762 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12763 stack value pieces are taken from the LSB end.
12765 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12767 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12768 variable at nonzero offset.
12770 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12772 * gdb.dwarf2/var-access.c: New file.
12773 * gdb.dwarf2/var-access.exp: New test.
12774 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12776 2017-06-12 Tom Tromey <tom@tromey.com>
12778 * gdb.dwarf2/formdata16.exp: Add tests.
12780 2017-06-12 Tom Tromey <tom@tromey.com>
12782 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12784 2017-06-12 Tom Tromey <tom@tromey.com>
12787 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12788 * gdb.arch/vsx-regs.exp: Update tests.
12789 * gdb.arch/s390-vregs.exp (hex128): New proc.
12791 * gdb.arch/altivec-regs.exp: Update tests.
12793 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12795 * gdb.base/startup-with-shell.c: New file.
12796 * gdb.base/startup-with-shell.exp: Likewise.
12798 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12800 * gdb.server/non-existing-program.exp: Update regex in order to
12801 reflect the fact that gdbserver is now using fork_inferior (with a
12802 shell) to startup the inferior.
12804 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12806 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12807 support function calls from GDB.
12809 2017-05-21 Tom Tromey <tom@tromey.com>
12812 * gdb.rust/unsized.exp: New file.
12813 * gdb.rust/unsized.rs: New file.
12815 2017-05-19 Tom Tromey <tom@tromey.com>
12818 * gdb.rust/watch.exp: New file.
12819 * gdb.rust/watch.rs: New file.
12821 2017-05-18 Tom Tromey <tom@tromey.com>
12823 * gdb.rust/simple.exp: Allow Box to be qualified.
12825 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12827 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12829 2017-05-18 Pedro Alves <palves@redhat.com>
12831 * gdb.base/fileio.c (test_write, test_read, test_close)
12832 (test_fstat): Don't print 'ret' in the fail path.
12834 2017-05-18 Pedro Alves <palves@redhat.com>
12836 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12837 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12838 (test_system, test_rename, test_unlink, test_time): Change
12840 * gdb.base/fileio.exp (stop_msg): Adjust.
12842 2017-05-18 Pedro Alves <palves@redhat.com>
12844 * gdb.base/fileio.c (null_str): New global.
12845 (test_stat): Use it.
12846 * gdb.base/fileio.exp: Remove nowarnings.
12848 2017-05-17 Yao Qi <yao.qi@linaro.org>
12850 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12852 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12854 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12856 (top-level): Invoke test_set_inferior_tty.
12858 2017-05-04 Pedro Alves <palves@redhat.com>
12860 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12861 Add parens to print call for Python 3.
12863 2017-05-03 Keith Seitz <keiths@redhat.com>
12865 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12868 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12870 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12873 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12875 * gdb.python/py-record-btrace.exp: Remove test for
12876 gdb.BtraceInstruction.error.
12878 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12880 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12882 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12884 * gdb.python/py-record-btrace-threads.c: New file.
12885 * gdb.python/py-record-btrace-threads.exp: New file.
12887 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12890 * gdb.base/environ.exp: Make test available in all architectures.
12891 Move bits related to "info program" testing to
12892 gdb.base/info-program.exp. Rewrite tests to use the two new
12893 procedures mentione below.
12894 (test_set_show_env_var) New procedure.
12895 (test_set_show_env_var_equal): Likewise.
12896 * gdb.base/info-program.exp: New file.
12898 2017-04-27 Keith Seitz <keiths@redhat.com>
12900 * gdb.cp/oranking.cc (test15): New function.
12901 (main): Call test15 and declare additional variables for testing.
12902 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12903 "p foo101('abc')" tests.
12904 Add tests for cv qualifier overloads.
12905 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12906 "lvalue reference overload" test.
12907 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12908 "print value of f1 on Child&& in f2" test.
12910 2017-04-19 Pedro Alves <palves@redhat.com>
12912 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12914 (top level): Call it.
12915 * lib/gdb.exp (gdb_define_cmd): New procedure.
12917 2017-04-12 Pedro Alves <palves@redhat.com>
12920 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12921 (wchar): New global.
12922 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12923 (do_test_wide_char, wide_char_types_no_program, top level): Add
12926 2017-04-12 Pedro Alves <palves@redhat.com>
12929 * gdb.cp/wide_char_types.c: New file.
12930 * gdb.cp/wide_char_types.exp: New file.
12932 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12935 * gdb.trace/tsv.exp: Add test for "tsave -r".
12937 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12939 * gdb.dlang/watch-loc.c: New file.
12940 * gdb.dlang/watch-loc.exp: New file.
12942 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12944 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12946 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12948 * gdb.arch/arc-analyze-prologue.S: New file.
12949 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12951 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12953 * gdb.arch/arc-decode-insn.S: New file.
12954 * gdb.arch/arc-decode-insn.exp: Likewise.
12956 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12959 * gdb.arch/sparc64-regs.exp: New file.
12960 * gdb.arch/sparc64-regs.S: Likewise.
12962 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12964 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12965 and memory view on Python 3.
12967 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
12968 Keith Seitz <keiths@redhat.com>
12971 * gdb.cp/demangle.exp: Add rvalue reference tests.
12972 * gdb.cp/rvalue-ref-casts.cc: New file.
12973 * gdb.cp/rvalue-ref-casts.exp: New file.
12974 * gdb.cp/rvalue-ref-overload.cc: New file.
12975 * gdb.cp/rvalue-ref-overload.exp: New file.
12976 * gdb.cp/rvalue-ref-params.cc: New file.
12977 * gdb.cp/rvalue-ref-params.exp: New file.
12978 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12979 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12980 * gdb.cp/rvalue-ref-types.cc: New file.
12981 * gdb.cp/rvalue-ref-types.exp: New file.
12982 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12983 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12985 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12987 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12990 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12992 * lib/mi-support.exp (mi_gdb_test): Add additional message
12993 for unexpected output.
12995 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12997 * gdb.base/examine-backward.c (Barrier): New character array
12998 constant, to ensure that TestStrings is preceded by a string
13001 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13003 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
13004 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
13005 and implicit pointer into such a location.
13007 2017-03-16 Doug Evans <dje@google.com>
13009 * gdb.python/py-lazy-string (pointer): Really add new typedef.
13011 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
13013 * gdb.cp/m-static.exp: Fix expectation for prototype of
13014 test5.single_constructor and single_constructor::single_constructor.
13016 2017-03-16 Doug Evans <dje@google.com>
13018 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
13019 * gdb.guile/scm-lazy-string.c: New file.
13020 * gdb.guile/scm-value.exp: Move lazy string tests to ...
13021 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
13022 for pointer, array, typedef lazy strings.
13024 2017-03-16 Doug Evans <dje@google.com>
13026 PR python/17728, python/18439, python/18779
13027 * gdb.python/py-value.c (main) Delete locals sptr, sn.
13028 * gdb.python/py-lazy-string.c (pointer): New typedef.
13029 (main): New locals ptr, array, typedef_ptr.
13030 * gdb.python/py-value.exp: Move lazy string tests to ...
13031 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
13032 array, typedef lazy strings.
13034 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
13036 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
13037 Add optional 'test' parameter.
13039 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13041 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13042 Skip for versions of DejaGnu < 1.5.
13044 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
13046 * lib/gdb.exp (dejagnu_version): New proc.
13047 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13048 Use dejagnu_version.
13050 2017-03-10 Keith Seitz <keiths@redhat.com>
13053 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
13054 type from destructor regexps.
13055 Add a branch which actually passes the test.
13056 Adjust "ptype t5i" test names.
13058 2017-03-08 Pedro Alves <palves@redhat.com>
13060 * gdb.base/step-over-exit.exp: Add explicit test message.
13062 2017-03-08 Pedro Alves <palves@redhat.com>
13065 * gdb.threads/interrupt-while-step-over.c: New file.
13066 * gdb.threads/interrupt-while-step-over.exp: New file.
13068 2017-03-08 Pedro Alves <palves@redhat.com>
13070 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
13071 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
13073 2017-03-08 Pedro Alves <palves@redhat.com>
13075 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
13076 PKRU as not supported as a PASS.
13078 2017-03-08 Pedro Alves <palves@redhat.com>
13080 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
13081 prefix instead of $binfile1/$binfile2.
13082 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
13084 * gdb.python/py-completion.exp: Use "load python file" as test
13085 messages instead of unstable path names.
13087 2017-03-08 Pedro Alves <palves@redhat.com>
13088 Jan Kratochvil <jan.kratochvil@redhat.com>
13091 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
13093 (top level): Call it.
13095 2017-03-08 Pedro Alves <palves@redhat.com>
13098 * gdb.tui/tui-nl-filtered-output.exp: New file.
13100 2017-03-08 Pedro Alves <palves@redhat.com>
13102 * gdb.base/completion.exp: Move TUI completion tests to ...
13103 * gdb.tui/completion.exp: ... this new file.
13105 2017-03-08 Pedro Alves <palves@redhat.com>
13107 * gdb.base/tui-disasm-long-lines.c,
13108 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
13109 gdb.base/tui-layout.exp: Move to ...
13110 * gdb.tui/: ... this new directory.
13112 2017-03-07 Pedro Alves <palves@redhat.com>
13114 * gdb.base/tui-layout.c: New file.
13115 * gdb.base/tui-layout.exp: New file.
13117 2017-03-07 Pedro Alves <palves@redhat.com>
13119 * gdb.base/tui-layout.c: Rename to ...
13120 * gdb.base/tui-disasm-long-lines.c: ... this.
13121 * gdb.base/tui-layout.exp: Rename to ...
13122 * gdb.base/tui-disasm-long-lines.exp: ... this.
13124 2017-03-07 Pedro Alves <palves@redhat.com>
13126 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
13128 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13130 * i386-mpx-call.c: New file.
13131 * i386-mpx-call.exp: New file.
13133 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
13135 * gdb.arch/powerpc-power.exp: Delete test.
13136 * gdb.arch/powerpc-power.s: Likewise.
13137 * gdb.disasm/disassembler-options.exp: New test.
13138 * gdb.arch/powerpc-altivec.exp: Likewise.
13139 * gdb.arch/powerpc-altivec.s: Likewise.
13140 * gdb.arch/powerpc-altivec2.exp: Likewise.
13141 * gdb.arch/powerpc-altivec2.s: Likewise.
13142 * gdb.arch/powerpc-altivec3.exp: Likewise.
13143 * gdb.arch/powerpc-altivec3.s: Likewise.
13144 * gdb.arch/powerpc-power7.exp: Likewise.
13145 * gdb.arch/powerpc-power7.s: Likewise.
13146 * gdb.arch/powerpc-power8.exp: Likewise.
13147 * gdb.arch/powerpc-power8.s: Likewise.
13148 * gdb.arch/powerpc-power9.exp: Likewise.
13149 * gdb.arch/powerpc-power9.s: Likewise.
13150 * gdb.arch/powerpc-vsx.exp: Likewise.
13151 * gdb.arch/powerpc-vsx.s: Likewise.
13152 * gdb.arch/powerpc-vsx2.exp: Likewise.
13153 * gdb.arch/powerpc-vsx2.s: Likewise.
13154 * gdb.arch/powerpc-vsx3.exp: Likewise.
13155 * gdb.arch/powerpc-vsx3.s: Likewise.
13156 * gdb.arch/arm-disassembler-options.exp: Likewise.
13157 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
13158 * gdb.arch/s390-disassembler-options.exp: Likewise.
13160 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
13162 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
13163 (check_supported_features): ... this. Changed return type to void.
13164 (supports_rdseed): New static global.
13165 (rdseed): Check supports_rdseed.
13166 (initialize): Call check_supported_features.
13168 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13170 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
13171 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13173 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
13174 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
13176 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13178 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
13181 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13183 * gdb.dwarf2/formdata16.c: New file.
13184 * gdb.dwarf2/formdata16.exp: New file.
13185 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
13187 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13189 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
13190 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
13191 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
13192 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
13195 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13197 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
13199 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
13202 * gdb.base/maint.exp: Add testcases for when the commands do
13203 not have arguments.
13205 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
13207 * gdb.cp/chained-calls.exp: Use p instead of P.
13209 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
13211 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
13212 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
13214 2017-02-14 Tom Tromey <tom@tromey.com>
13217 * gdb.python/py-events.exp: Add before_prompt event tests.
13219 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
13221 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
13223 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13225 * gdb.linespec/explicit.c (my_unique_function_name): New function.
13226 (main): Call my_unique_function_name.
13227 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
13228 completion of patterns with a single match.
13229 Add missing -re switches to gdb_test_multiple calls.
13231 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
13233 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
13234 return if core file is not recognized.
13236 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13238 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
13241 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
13243 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
13246 2017-02-10 Tom Tromey <tom@tromey.com>
13248 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
13250 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
13253 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
13255 2017-02-08 Jerome Guitton <guitton@adacore.com>
13257 * gdb.base/define.exp: Add test for command abbreviations
13260 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
13262 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
13263 * gdb.reverse/insn-reverse-x86.c: New file.
13265 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
13268 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
13270 2017-02-03 Tom Tromey <tom@tromey.com>
13273 * gdb.rust/simple.exp: Add new tests.
13275 2017-02-02 Pedro Alves <palves@redhat.com>
13277 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
13280 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13282 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
13283 taking a 2-byte value out of a 4-byte DWARF implicit value on
13284 big-endian targets.
13285 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
13286 logic. Add test cases for DW_OP_implicit.
13288 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13290 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
13292 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13294 * gdb.btrace/enable.exp: Call gdb_exit before
13295 skip_gdbserver_tests.
13297 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13299 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
13302 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13304 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
13305 the test is skipped.
13306 * gdb.btrace/data.exp: Likewise.
13307 * gdb.btrace/delta.exp: Likewise.
13308 * gdb.btrace/dlopen.exp: Likewise.
13309 * gdb.btrace/enable-running.exp: Likewise.
13310 * gdb.btrace/enable.exp: Likewise.
13311 * gdb.btrace/exception.exp: Likewise.
13312 * gdb.btrace/function_call_history.exp: Likewise.
13313 * gdb.btrace/gcore.exp: Likewise.
13314 * gdb.btrace/instruction_history.exp: Likewise.
13315 * gdb.btrace/multi-thread-step.exp: Likewise.
13316 * gdb.btrace/nohist.exp: Likewise.
13317 * gdb.btrace/non-stop.exp: Likewise.
13318 * gdb.btrace/reconnect.exp: Likewise.
13319 * gdb.btrace/record_goto-step.exp: Likewise.
13320 * gdb.btrace/record_goto.exp: Likewise.
13321 * gdb.btrace/rn-dl-bind.exp: Likewise.
13322 * gdb.btrace/segv.exp: Likewise.
13323 * gdb.btrace/step.exp: Likewise.
13324 * gdb.btrace/stepi.exp: Likewise.
13325 * gdb.btrace/tailcall-only.exp: Likewise.
13326 * gdb.btrace/tailcall.exp: Likewise.
13327 * gdb.btrace/tsx.exp: Likewise.
13328 * gdb.btrace/unknown_functions.exp: Likewise.
13329 * gdb.btrace/vdso.exp: Likewise.
13331 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
13333 * gdb.btrace/enable-running.c: New.
13334 * gdb.btrace/enable-running.exp: New.
13336 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
13338 * gdb.arch/amd64-gs_base.c: New file.
13339 * gdb.arch/amd64-gs_base.exp: New file.
13341 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13343 * lib/memory.exp: Remove spurious empty newlines.
13345 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
13347 * gdb.python/py-bad-printers.exp: Load python file using "source".
13348 * gdb.python/py-events.exp: Likewise.
13349 * gdb.python/py-evsignal.exp: Likewise.
13350 * gdb.python/py-evthreads.exp: Likewise.
13351 * gdb.python/py-frame-args.exp: Likewise.
13352 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
13353 * gdb.python/py-framefilter-mi.exp: Likewise.
13354 * gdb.python/py-framefilter.exp: Likewise.
13355 * gdb.python/py-mi.exp: Likewise.
13356 * gdb.python/py-pp-maint.exp: Likewise.
13357 * gdb.python/py-pp-registration.exp: Likewise.
13358 * gdb.python/py-prettyprint.exp: Likewise.
13359 (run_lang_tests): Likewise.
13360 * gdb.python/py-typeprint.exp: Likewise.
13362 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13364 * lib/memory.exp: New file.
13365 * lib/gdb.exp: Load memory.exp.
13366 * gdb.base/memattr.exp (delete_memory): Move proc to
13367 lib/memory.exp and rename to delete_memory_regions.
13368 Replace delete_memory with delete_memory_regions.
13369 Cleanup memory regions before tests.
13370 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
13373 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
13375 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
13377 (initialize): New function conditionally defined.
13378 (testcases): Move within conditional block.
13379 (main): Call initialize.
13380 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
13381 of gdb.reverse/insn-reverse.c.
13382 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
13383 gdb.reverse/insn-reverse.c.
13385 2017-01-26 Yao Qi <yao.qi@linaro.org>
13387 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
13388 disassemble on address 0.
13390 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
13391 Yao Qi <yao.qi@linaro.org>
13393 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
13394 * gdb.dwarf2/implptr-64bit.S: Remove.
13395 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
13396 variables in caller's context. Add DW_OP_implicit_value.
13398 2017-01-25 Yao Qi <yao.qi@linaro.org>
13400 * lib/dwarf.exp (Dwarf::_location): Handle
13401 DW_OP_GNU_implicit_pointer with proper size.
13403 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13405 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
13406 and add untested calls.
13408 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
13410 * gdb.python/python.exp: Check line number against what GDB thinks
13411 the line number is for func1.
13413 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
13415 * gdb.dlang/debug-expr.exp: New file.
13417 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
13419 Fix test names for the following files:
13421 * gdb.ada/exec_changed.exp
13422 * gdb.ada/info_types.exp
13423 * gdb.arch/aarch64-atomic-inst.exp
13424 * gdb.arch/aarch64-fp.exp
13425 * gdb.arch/altivec-abi.exp
13426 * gdb.arch/altivec-regs.exp
13427 * gdb.arch/amd64-byte.exp
13428 * gdb.arch/amd64-disp-step.exp
13429 * gdb.arch/amd64-dword.exp
13430 * gdb.arch/amd64-entry-value-inline.exp
13431 * gdb.arch/amd64-entry-value-param.exp
13432 * gdb.arch/amd64-entry-value-paramref.exp
13433 * gdb.arch/amd64-entry-value.exp
13434 * gdb.arch/amd64-i386-address.exp
13435 * gdb.arch/amd64-invalid-stack-middle.exp
13436 * gdb.arch/amd64-invalid-stack-top.exp
13437 * gdb.arch/amd64-optimout-repeat.exp
13438 * gdb.arch/amd64-prologue-skip.exp
13439 * gdb.arch/amd64-prologue-xmm.exp
13440 * gdb.arch/amd64-stap-special-operands.exp
13441 * gdb.arch/amd64-stap-wrong-subexp.exp
13442 * gdb.arch/amd64-tailcall-cxx.exp
13443 * gdb.arch/amd64-tailcall-noret.exp
13444 * gdb.arch/amd64-tailcall-ret.exp
13445 * gdb.arch/amd64-tailcall-self.exp
13446 * gdb.arch/amd64-word.exp
13447 * gdb.arch/arm-bl-branch-dest.exp
13448 * gdb.arch/arm-disp-step.exp
13449 * gdb.arch/arm-neon.exp
13450 * gdb.arch/arm-single-step-kernel-helper.exp
13451 * gdb.arch/avr-flash-qualifier.exp
13452 * gdb.arch/disp-step-insn-reloc.exp
13453 * gdb.arch/e500-abi.exp
13454 * gdb.arch/e500-regs.exp
13455 * gdb.arch/ftrace-insn-reloc.exp
13456 * gdb.arch/i386-avx512.exp
13457 * gdb.arch/i386-bp_permanent.exp
13458 * gdb.arch/i386-byte.exp
13459 * gdb.arch/i386-cfi-notcurrent.exp
13460 * gdb.arch/i386-disp-step.exp
13461 * gdb.arch/i386-dr3-watch.exp
13462 * gdb.arch/i386-float.exp
13463 * gdb.arch/i386-gnu-cfi.exp
13464 * gdb.arch/i386-mpx-map.exp
13465 * gdb.arch/i386-mpx-sigsegv.exp
13466 * gdb.arch/i386-mpx-simple_segv.exp
13467 * gdb.arch/i386-mpx.exp
13468 * gdb.arch/i386-permbkpt.exp
13469 * gdb.arch/i386-prologue.exp
13470 * gdb.arch/i386-signal.exp
13471 * gdb.arch/i386-size-overlap.exp
13472 * gdb.arch/i386-unwind.exp
13473 * gdb.arch/i386-word.exp
13474 * gdb.arch/mips-fcr.exp
13475 * gdb.arch/powerpc-d128-regs.exp
13476 * gdb.arch/powerpc-stackless.exp
13477 * gdb.arch/ppc64-atomic-inst.exp
13478 * gdb.arch/s390-stackless.exp
13479 * gdb.arch/s390-tdbregs.exp
13480 * gdb.arch/s390-vregs.exp
13481 * gdb.arch/sparc-sysstep.exp
13482 * gdb.arch/thumb-bx-pc.exp
13483 * gdb.arch/thumb-singlestep.exp
13484 * gdb.arch/thumb2-it.exp
13485 * gdb.arch/vsx-regs.exp
13486 * gdb.asm/asm-source.exp
13487 * gdb.base/a2-run.exp
13488 * gdb.base/advance.exp
13489 * gdb.base/all-bin.exp
13490 * gdb.base/anon.exp
13491 * gdb.base/args.exp
13492 * gdb.base/arithmet.exp
13493 * gdb.base/async-shell.exp
13494 * gdb.base/async.exp
13495 * gdb.base/attach-pie-noexec.exp
13496 * gdb.base/attach-twice.exp
13497 * gdb.base/auto-load.exp
13498 * gdb.base/bang.exp
13499 * gdb.base/bitfields.exp
13500 * gdb.base/break-always.exp
13501 * gdb.base/break-caller-line.exp
13502 * gdb.base/break-entry.exp
13503 * gdb.base/break-inline.exp
13504 * gdb.base/break-on-linker-gcd-function.exp
13505 * gdb.base/break-probes.exp
13506 * gdb.base/break.exp
13507 * gdb.base/breakpoint-shadow.exp
13508 * gdb.base/call-ar-st.exp
13509 * gdb.base/call-sc.exp
13510 * gdb.base/call-signal-resume.exp
13511 * gdb.base/call-strs.exp
13512 * gdb.base/callfuncs.exp
13513 * gdb.base/catch-fork-static.exp
13514 * gdb.base/catch-gdb-caused-signals.exp
13515 * gdb.base/catch-load.exp
13516 * gdb.base/catch-signal-fork.exp
13517 * gdb.base/catch-signal.exp
13518 * gdb.base/catch-syscall.exp
13519 * gdb.base/charset.exp
13520 * gdb.base/checkpoint.exp
13521 * gdb.base/chng-syms.exp
13522 * gdb.base/code-expr.exp
13523 * gdb.base/code_elim.exp
13524 * gdb.base/commands.exp
13525 * gdb.base/completion.exp
13526 * gdb.base/complex.exp
13527 * gdb.base/cond-expr.exp
13528 * gdb.base/condbreak.exp
13529 * gdb.base/consecutive.exp
13530 * gdb.base/continue-all-already-running.exp
13531 * gdb.base/coredump-filter.exp
13532 * gdb.base/corefile.exp
13534 * gdb.base/debug-expr.exp
13535 * gdb.base/define.exp
13537 * gdb.base/disabled-location.exp
13538 * gdb.base/disasm-end-cu.exp
13539 * gdb.base/disasm-optim.exp
13540 * gdb.base/display.exp
13541 * gdb.base/duplicate-bp.exp
13542 * gdb.base/ena-dis-br.exp
13543 * gdb.base/ending-run.exp
13544 * gdb.base/enumval.exp
13545 * gdb.base/environ.exp
13546 * gdb.base/eu-strip-infcall.exp
13547 * gdb.base/eval-avoid-side-effects.exp
13548 * gdb.base/eval-skip.exp
13549 * gdb.base/exitsignal.exp
13550 * gdb.base/expand-psymtabs.exp
13551 * gdb.base/filesym.exp
13552 * gdb.base/find-unmapped.exp
13553 * gdb.base/finish.exp
13554 * gdb.base/float.exp
13555 * gdb.base/foll-exec-mode.exp
13556 * gdb.base/foll-exec.exp
13557 * gdb.base/foll-fork.exp
13558 * gdb.base/fortran-sym-case.exp
13559 * gdb.base/freebpcmd.exp
13560 * gdb.base/func-ptr.exp
13561 * gdb.base/func-ptrs.exp
13562 * gdb.base/funcargs.exp
13563 * gdb.base/gcore-buffer-overflow.exp
13564 * gdb.base/gcore-relro-pie.exp
13565 * gdb.base/gcore-relro.exp
13566 * gdb.base/gcore.exp
13567 * gdb.base/gdb1090.exp
13568 * gdb.base/gdb11530.exp
13569 * gdb.base/gdb11531.exp
13570 * gdb.base/gdb1821.exp
13571 * gdb.base/gdbindex-stabs.exp
13572 * gdb.base/gdbvars.exp
13573 * gdb.base/hbreak.exp
13574 * gdb.base/hbreak2.exp
13575 * gdb.base/included.exp
13576 * gdb.base/infcall-input.exp
13577 * gdb.base/inferior-died.exp
13578 * gdb.base/infnan.exp
13579 * gdb.base/info-macros.exp
13580 * gdb.base/info-os.exp
13581 * gdb.base/info-proc.exp
13582 * gdb.base/info-shared.exp
13583 * gdb.base/info-target.exp
13584 * gdb.base/infoline.exp
13585 * gdb.base/interp.exp
13586 * gdb.base/interrupt.exp
13587 * gdb.base/jit-reader.exp
13588 * gdb.base/jit-simple.exp
13589 * gdb.base/kill-after-signal.exp
13590 * gdb.base/kill-detach-inferiors-cmd.exp
13591 * gdb.base/label.exp
13592 * gdb.base/langs.exp
13593 * gdb.base/ldbl_e308.exp
13594 * gdb.base/line-symtabs.exp
13595 * gdb.base/linespecs.exp
13596 * gdb.base/list.exp
13597 * gdb.base/long_long.exp
13598 * gdb.base/longest-types.exp
13599 * gdb.base/maint.exp
13600 * gdb.base/max-value-size.exp
13601 * gdb.base/memattr.exp
13602 * gdb.base/mips_pro.exp
13603 * gdb.base/morestack.exp
13604 * gdb.base/moribund-step.exp
13605 * gdb.base/multi-forks.exp
13606 * gdb.base/nested-addr.exp
13607 * gdb.base/nextoverexit.exp
13608 * gdb.base/noreturn-finish.exp
13609 * gdb.base/noreturn-return.exp
13610 * gdb.base/nostdlib.exp
13611 * gdb.base/offsets.exp
13612 * gdb.base/opaque.exp
13613 * gdb.base/pc-fp.exp
13614 * gdb.base/permissions.exp
13615 * gdb.base/print-symbol-loading.exp
13616 * gdb.base/prologue-include.exp
13617 * gdb.base/psymtab.exp
13618 * gdb.base/ptype.exp
13619 * gdb.base/random-signal.exp
13620 * gdb.base/randomize.exp
13621 * gdb.base/range-stepping.exp
13622 * gdb.base/readline-ask.exp
13623 * gdb.base/recpar.exp
13624 * gdb.base/recurse.exp
13625 * gdb.base/relational.exp
13626 * gdb.base/restore.exp
13627 * gdb.base/return-nodebug.exp
13628 * gdb.base/return.exp
13629 * gdb.base/run-after-attach.exp
13630 * gdb.base/save-bp.exp
13631 * gdb.base/scope.exp
13632 * gdb.base/sect-cmd.exp
13633 * gdb.base/set-lang-auto.exp
13634 * gdb.base/set-noassign.exp
13635 * gdb.base/setvar.exp
13636 * gdb.base/sigall.exp
13637 * gdb.base/sigbpt.exp
13638 * gdb.base/siginfo-addr.exp
13639 * gdb.base/siginfo-infcall.exp
13640 * gdb.base/siginfo-obj.exp
13641 * gdb.base/siginfo.exp
13642 * gdb.base/signals-state-child.exp
13643 * gdb.base/signest.exp
13644 * gdb.base/sigstep.exp
13645 * gdb.base/sizeof.exp
13646 * gdb.base/skip.exp
13647 * gdb.base/solib-corrupted.exp
13648 * gdb.base/solib-nodir.exp
13649 * gdb.base/solib-search.exp
13650 * gdb.base/stack-checking.exp
13651 * gdb.base/stale-infcall.exp
13652 * gdb.base/stap-probe.exp
13653 * gdb.base/start.exp
13654 * gdb.base/step-break.exp
13655 * gdb.base/step-bt.exp
13656 * gdb.base/step-line.exp
13657 * gdb.base/step-over-exit.exp
13658 * gdb.base/step-over-syscall.exp
13659 * gdb.base/step-resume-infcall.exp
13660 * gdb.base/step-test.exp
13661 * gdb.base/store.exp
13662 * gdb.base/structs3.exp
13663 * gdb.base/sym-file.exp
13664 * gdb.base/symbol-without-target_section.exp
13665 * gdb.base/term.exp
13666 * gdb.base/testenv.exp
13667 * gdb.base/ui-redirect.exp
13668 * gdb.base/until.exp
13669 * gdb.base/unwindonsignal.exp
13670 * gdb.base/value-double-free.exp
13671 * gdb.base/vla-datatypes.exp
13672 * gdb.base/vla-ptr.exp
13673 * gdb.base/vla-sideeffect.exp
13674 * gdb.base/volatile.exp
13675 * gdb.base/watch-cond-infcall.exp
13676 * gdb.base/watch-cond.exp
13677 * gdb.base/watch-non-mem.exp
13678 * gdb.base/watch-read.exp
13679 * gdb.base/watch-vfork.exp
13680 * gdb.base/watchpoint-cond-gone.exp
13681 * gdb.base/watchpoint-delete.exp
13682 * gdb.base/watchpoint-hw-hit-once.exp
13683 * gdb.base/watchpoint-hw.exp
13684 * gdb.base/watchpoint-stops-at-right-insn.exp
13685 * gdb.base/watchpoints.exp
13686 * gdb.base/wchar.exp
13687 * gdb.base/whatis-exp.exp
13688 * gdb.btrace/buffer-size.exp
13689 * gdb.btrace/data.exp
13690 * gdb.btrace/delta.exp
13691 * gdb.btrace/dlopen.exp
13692 * gdb.btrace/enable.exp
13693 * gdb.btrace/exception.exp
13694 * gdb.btrace/function_call_history.exp
13695 * gdb.btrace/gcore.exp
13696 * gdb.btrace/instruction_history.exp
13697 * gdb.btrace/nohist.exp
13698 * gdb.btrace/reconnect.exp
13699 * gdb.btrace/record_goto-step.exp
13700 * gdb.btrace/record_goto.exp
13701 * gdb.btrace/rn-dl-bind.exp
13702 * gdb.btrace/segv.exp
13703 * gdb.btrace/step.exp
13704 * gdb.btrace/stepi.exp
13705 * gdb.btrace/tailcall-only.exp
13706 * gdb.btrace/tailcall.exp
13707 * gdb.btrace/tsx.exp
13708 * gdb.btrace/unknown_functions.exp
13709 * gdb.btrace/vdso.exp
13710 * gdb.compile/compile-ifunc.exp
13711 * gdb.compile/compile-ops.exp
13712 * gdb.compile/compile-print.exp
13713 * gdb.compile/compile-setjmp.exp
13714 * gdb.cp/abstract-origin.exp
13715 * gdb.cp/ambiguous.exp
13716 * gdb.cp/annota2.exp
13717 * gdb.cp/annota3.exp
13718 * gdb.cp/anon-ns.exp
13719 * gdb.cp/anon-struct.exp
13720 * gdb.cp/anon-union.exp
13721 * gdb.cp/arg-reference.exp
13722 * gdb.cp/baseenum.exp
13724 * gdb.cp/breakpoint.exp
13725 * gdb.cp/bs15503.exp
13726 * gdb.cp/call-c.exp
13728 * gdb.cp/chained-calls.exp
13729 * gdb.cp/class2.exp
13730 * gdb.cp/classes.exp
13731 * gdb.cp/cmpd-minsyms.exp
13732 * gdb.cp/converts.exp
13733 * gdb.cp/cp-relocate.exp
13734 * gdb.cp/cpcompletion.exp
13735 * gdb.cp/cpexprs.exp
13736 * gdb.cp/cplabel.exp
13737 * gdb.cp/cplusfuncs.exp
13738 * gdb.cp/cpsizeof.exp
13740 * gdb.cp/derivation.exp
13741 * gdb.cp/destrprint.exp
13742 * gdb.cp/dispcxx.exp
13743 * gdb.cp/enum-class.exp
13744 * gdb.cp/exception.exp
13745 * gdb.cp/exceptprint.exp
13746 * gdb.cp/expand-psymtabs-cxx.exp
13747 * gdb.cp/expand-sals.exp
13748 * gdb.cp/extern-c.exp
13749 * gdb.cp/filename.exp
13750 * gdb.cp/formatted-ref.exp
13751 * gdb.cp/fpointer.exp
13752 * gdb.cp/gdb1355.exp
13753 * gdb.cp/gdb2495.exp
13755 * gdb.cp/impl-this.exp
13756 * gdb.cp/infcall-dlopen.exp
13757 * gdb.cp/inherit.exp
13758 * gdb.cp/iostream.exp
13759 * gdb.cp/koenig.exp
13761 * gdb.cp/m-data.exp
13762 * gdb.cp/m-static.exp
13763 * gdb.cp/mb-ctor.exp
13764 * gdb.cp/mb-inline.exp
13765 * gdb.cp/mb-templates.exp
13766 * gdb.cp/member-name.exp
13767 * gdb.cp/member-ptr.exp
13768 * gdb.cp/meth-typedefs.exp
13769 * gdb.cp/method.exp
13770 * gdb.cp/method2.exp
13771 * gdb.cp/minsym-fallback.exp
13773 * gdb.cp/namelessclass.exp
13774 * gdb.cp/namespace-enum.exp
13775 * gdb.cp/namespace-nested-import.exp
13776 * gdb.cp/namespace.exp
13777 * gdb.cp/nextoverthrow.exp
13778 * gdb.cp/no-dmgl-verbose.exp
13779 * gdb.cp/non-trivial-retval.exp
13780 * gdb.cp/noparam.exp
13781 * gdb.cp/nsdecl.exp
13782 * gdb.cp/nsimport.exp
13783 * gdb.cp/nsnested.exp
13784 * gdb.cp/nsnoimports.exp
13785 * gdb.cp/nsrecurs.exp
13786 * gdb.cp/nsstress.exp
13787 * gdb.cp/nsusing.exp
13788 * gdb.cp/operator.exp
13789 * gdb.cp/oranking.exp
13790 * gdb.cp/overload-const.exp
13791 * gdb.cp/overload.exp
13792 * gdb.cp/ovldbreak.exp
13793 * gdb.cp/ovsrch.exp
13794 * gdb.cp/paren-type.exp
13795 * gdb.cp/parse-lang.exp
13796 * gdb.cp/pass-by-ref.exp
13797 * gdb.cp/pr-1023.exp
13798 * gdb.cp/pr-1210.exp
13799 * gdb.cp/pr-574.exp
13800 * gdb.cp/pr10687.exp
13801 * gdb.cp/pr12028.exp
13802 * gdb.cp/pr17132.exp
13803 * gdb.cp/pr17494.exp
13804 * gdb.cp/pr9067.exp
13805 * gdb.cp/pr9167.exp
13806 * gdb.cp/pr9631.exp
13807 * gdb.cp/printmethod.exp
13808 * gdb.cp/psmang.exp
13809 * gdb.cp/psymtab-parameter.exp
13810 * gdb.cp/ptype-cv-cp.exp
13811 * gdb.cp/ptype-flags.exp
13812 * gdb.cp/re-set-overloaded.exp
13813 * gdb.cp/ref-types.exp
13815 * gdb.cp/scope-err.exp
13816 * gdb.cp/shadow.exp
13817 * gdb.cp/smartp.exp
13818 * gdb.cp/static-method.exp
13819 * gdb.cp/static-print-quit.exp
13820 * gdb.cp/temargs.exp
13821 * gdb.cp/templates.exp
13822 * gdb.cp/try_catch.exp
13823 * gdb.cp/typedef-operator.exp
13824 * gdb.cp/typeid.exp
13825 * gdb.cp/userdef.exp
13826 * gdb.cp/using-crash.exp
13827 * gdb.cp/var-tag.exp
13828 * gdb.cp/virtbase.exp
13829 * gdb.cp/virtfunc.exp
13830 * gdb.cp/virtfunc2.exp
13831 * gdb.cp/vla-cxx.exp
13832 * gdb.disasm/t01_mov.exp
13833 * gdb.disasm/t02_mova.exp
13834 * gdb.disasm/t03_add.exp
13835 * gdb.disasm/t04_sub.exp
13836 * gdb.disasm/t05_cmp.exp
13837 * gdb.disasm/t06_ari2.exp
13838 * gdb.disasm/t07_ari3.exp
13839 * gdb.disasm/t08_or.exp
13840 * gdb.disasm/t09_xor.exp
13841 * gdb.disasm/t10_and.exp
13842 * gdb.disasm/t11_logs.exp
13843 * gdb.disasm/t12_bit.exp
13844 * gdb.disasm/t13_otr.exp
13845 * gdb.dlang/circular.exp
13846 * gdb.dwarf2/arr-stride.exp
13847 * gdb.dwarf2/arr-subrange.exp
13848 * gdb.dwarf2/atomic-type.exp
13849 * gdb.dwarf2/bad-regnum.exp
13850 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13851 * gdb.dwarf2/callframecfa.exp
13852 * gdb.dwarf2/clztest.exp
13853 * gdb.dwarf2/corrupt.exp
13854 * gdb.dwarf2/data-loc.exp
13855 * gdb.dwarf2/dup-psym.exp
13856 * gdb.dwarf2/dw2-anon-mptr.exp
13857 * gdb.dwarf2/dw2-anonymous-func.exp
13858 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13859 * gdb.dwarf2/dw2-bad-unresolved.exp
13860 * gdb.dwarf2/dw2-basic.exp
13861 * gdb.dwarf2/dw2-canonicalize-type.exp
13862 * gdb.dwarf2/dw2-case-insensitive.exp
13863 * gdb.dwarf2/dw2-common-block.exp
13864 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13865 * gdb.dwarf2/dw2-compressed.exp
13866 * gdb.dwarf2/dw2-const.exp
13867 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13868 * gdb.dwarf2/dw2-cu-size.exp
13869 * gdb.dwarf2/dw2-dup-frame.exp
13870 * gdb.dwarf2/dw2-entry-value.exp
13871 * gdb.dwarf2/dw2-icycle.exp
13872 * gdb.dwarf2/dw2-ifort-parameter.exp
13873 * gdb.dwarf2/dw2-inline-break.exp
13874 * gdb.dwarf2/dw2-inline-param.exp
13875 * gdb.dwarf2/dw2-intercu.exp
13876 * gdb.dwarf2/dw2-intermix.exp
13877 * gdb.dwarf2/dw2-lexical-block-bare.exp
13878 * gdb.dwarf2/dw2-linkage-name-trust.exp
13879 * gdb.dwarf2/dw2-minsym-in-cu.exp
13880 * gdb.dwarf2/dw2-noloc.exp
13881 * gdb.dwarf2/dw2-op-call.exp
13882 * gdb.dwarf2/dw2-op-out-param.exp
13883 * gdb.dwarf2/dw2-opt-structptr.exp
13884 * gdb.dwarf2/dw2-param-error.exp
13885 * gdb.dwarf2/dw2-producer.exp
13886 * gdb.dwarf2/dw2-ranges-base.exp
13887 * gdb.dwarf2/dw2-ref-missing-frame.exp
13888 * gdb.dwarf2/dw2-reg-undefined.exp
13889 * gdb.dwarf2/dw2-regno-invalid.exp
13890 * gdb.dwarf2/dw2-restore.exp
13891 * gdb.dwarf2/dw2-restrict.exp
13892 * gdb.dwarf2/dw2-single-line-discriminators.exp
13893 * gdb.dwarf2/dw2-strp.exp
13894 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13895 * gdb.dwarf2/dw2-unresolved.exp
13896 * gdb.dwarf2/dw2-var-zero-addr.exp
13897 * gdb.dwarf2/dw4-sig-types.exp
13898 * gdb.dwarf2/dwz.exp
13899 * gdb.dwarf2/dynarr-ptr.exp
13900 * gdb.dwarf2/enum-type.exp
13901 * gdb.dwarf2/gdb-index.exp
13902 * gdb.dwarf2/implptr-64bit.exp
13903 * gdb.dwarf2/implptr-optimized-out.exp
13904 * gdb.dwarf2/implptr.exp
13905 * gdb.dwarf2/implref-array.exp
13906 * gdb.dwarf2/implref-const.exp
13907 * gdb.dwarf2/implref-global.exp
13908 * gdb.dwarf2/implref-struct.exp
13909 * gdb.dwarf2/mac-fileno.exp
13910 * gdb.dwarf2/main-subprogram.exp
13911 * gdb.dwarf2/member-ptr-forwardref.exp
13912 * gdb.dwarf2/method-ptr.exp
13913 * gdb.dwarf2/missing-sig-type.exp
13914 * gdb.dwarf2/nonvar-access.exp
13915 * gdb.dwarf2/opaque-type-lookup.exp
13916 * gdb.dwarf2/pieces-optimized-out.exp
13917 * gdb.dwarf2/pieces.exp
13918 * gdb.dwarf2/pr10770.exp
13919 * gdb.dwarf2/pr13961.exp
13920 * gdb.dwarf2/staticvirtual.exp
13921 * gdb.dwarf2/subrange.exp
13922 * gdb.dwarf2/symtab-producer.exp
13923 * gdb.dwarf2/trace-crash.exp
13924 * gdb.dwarf2/typeddwarf.exp
13925 * gdb.dwarf2/valop.exp
13926 * gdb.dwarf2/watch-notconst.exp
13927 * gdb.fortran/array-element.exp
13928 * gdb.fortran/charset.exp
13929 * gdb.fortran/common-block.exp
13930 * gdb.fortran/complex.exp
13931 * gdb.fortran/derived-type-function.exp
13932 * gdb.fortran/derived-type.exp
13933 * gdb.fortran/logical.exp
13934 * gdb.fortran/module.exp
13935 * gdb.fortran/multi-dim.exp
13936 * gdb.fortran/nested-funcs.exp
13937 * gdb.fortran/print-formatted.exp
13938 * gdb.fortran/subarray.exp
13939 * gdb.fortran/vla-alloc-assoc.exp
13940 * gdb.fortran/vla-datatypes.exp
13941 * gdb.fortran/vla-history.exp
13942 * gdb.fortran/vla-ptr-info.exp
13943 * gdb.fortran/vla-ptype-sub.exp
13944 * gdb.fortran/vla-ptype.exp
13945 * gdb.fortran/vla-sizeof.exp
13946 * gdb.fortran/vla-type.exp
13947 * gdb.fortran/vla-value-sub-arbitrary.exp
13948 * gdb.fortran/vla-value-sub-finish.exp
13949 * gdb.fortran/vla-value-sub.exp
13950 * gdb.fortran/vla-value.exp
13951 * gdb.fortran/whatis_type.exp
13953 * gdb.go/handcall.exp
13955 * gdb.go/integers.exp
13956 * gdb.go/methods.exp
13957 * gdb.go/package.exp
13958 * gdb.go/strings.exp
13960 * gdb.go/unsafe.exp
13961 * gdb.guile/scm-arch.exp
13962 * gdb.guile/scm-block.exp
13963 * gdb.guile/scm-breakpoint.exp
13964 * gdb.guile/scm-cmd.exp
13965 * gdb.guile/scm-disasm.exp
13966 * gdb.guile/scm-equal.exp
13967 * gdb.guile/scm-frame-args.exp
13968 * gdb.guile/scm-frame-inline.exp
13969 * gdb.guile/scm-frame.exp
13970 * gdb.guile/scm-iterator.exp
13971 * gdb.guile/scm-math.exp
13972 * gdb.guile/scm-objfile.exp
13973 * gdb.guile/scm-ports.exp
13974 * gdb.guile/scm-symbol.exp
13975 * gdb.guile/scm-symtab.exp
13976 * gdb.guile/scm-value-cc.exp
13977 * gdb.guile/types-module.exp
13978 * gdb.linespec/break-ask.exp
13979 * gdb.linespec/cpexplicit.exp
13980 * gdb.linespec/explicit.exp
13981 * gdb.linespec/keywords.exp
13982 * gdb.linespec/linespec.exp
13983 * gdb.linespec/ls-dollar.exp
13984 * gdb.linespec/ls-errs.exp
13985 * gdb.linespec/skip-two.exp
13986 * gdb.linespec/thread.exp
13987 * gdb.mi/mi-async.exp
13988 * gdb.mi/mi-basics.exp
13989 * gdb.mi/mi-break.exp
13990 * gdb.mi/mi-catch-load.exp
13991 * gdb.mi/mi-cli.exp
13992 * gdb.mi/mi-cmd-param-changed.exp
13993 * gdb.mi/mi-console.exp
13994 * gdb.mi/mi-detach.exp
13995 * gdb.mi/mi-disassemble.exp
13996 * gdb.mi/mi-eval.exp
13997 * gdb.mi/mi-file-transfer.exp
13998 * gdb.mi/mi-file.exp
13999 * gdb.mi/mi-fill-memory.exp
14000 * gdb.mi/mi-inheritance-syntax-error.exp
14001 * gdb.mi/mi-linespec-err-cp.exp
14002 * gdb.mi/mi-logging.exp
14003 * gdb.mi/mi-memory-changed.exp
14004 * gdb.mi/mi-read-memory.exp
14005 * gdb.mi/mi-record-changed.exp
14006 * gdb.mi/mi-reg-undefined.exp
14007 * gdb.mi/mi-regs.exp
14008 * gdb.mi/mi-return.exp
14009 * gdb.mi/mi-reverse.exp
14010 * gdb.mi/mi-simplerun.exp
14011 * gdb.mi/mi-solib.exp
14012 * gdb.mi/mi-stack.exp
14013 * gdb.mi/mi-stepi.exp
14014 * gdb.mi/mi-syn-frame.exp
14015 * gdb.mi/mi-until.exp
14016 * gdb.mi/mi-var-block.exp
14017 * gdb.mi/mi-var-child.exp
14018 * gdb.mi/mi-var-cmd.exp
14019 * gdb.mi/mi-var-cp.exp
14020 * gdb.mi/mi-var-display.exp
14021 * gdb.mi/mi-var-invalidate.exp
14022 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
14023 * gdb.mi/mi-vla-fortran.exp
14024 * gdb.mi/mi-watch.exp
14025 * gdb.mi/mi2-var-child.exp
14026 * gdb.mi/user-selected-context-sync.exp
14027 * gdb.modula2/unbounded-array.exp
14028 * gdb.multi/dummy-frame-restore.exp
14029 * gdb.multi/multi-arch-exec.exp
14030 * gdb.multi/multi-arch.exp
14031 * gdb.multi/tids.exp
14032 * gdb.multi/watchpoint-multi.exp
14033 * gdb.opencl/callfuncs.exp
14034 * gdb.opencl/convs_casts.exp
14035 * gdb.opencl/datatypes.exp
14036 * gdb.opencl/operators.exp
14037 * gdb.opencl/vec_comps.exp
14038 * gdb.opt/clobbered-registers-O2.exp
14039 * gdb.opt/inline-break.exp
14040 * gdb.opt/inline-bt.exp
14041 * gdb.opt/inline-cmds.exp
14042 * gdb.opt/inline-locals.exp
14043 * gdb.pascal/case-insensitive-symbols.exp
14044 * gdb.pascal/floats.exp
14045 * gdb.pascal/gdb11492.exp
14046 * gdb.python/lib-types.exp
14047 * gdb.python/py-arch.exp
14048 * gdb.python/py-as-string.exp
14049 * gdb.python/py-bad-printers.exp
14050 * gdb.python/py-block.exp
14051 * gdb.python/py-breakpoint-create-fail.exp
14052 * gdb.python/py-breakpoint.exp
14053 * gdb.python/py-caller-is.exp
14054 * gdb.python/py-cmd.exp
14055 * gdb.python/py-explore-cc.exp
14056 * gdb.python/py-explore.exp
14057 * gdb.python/py-finish-breakpoint.exp
14058 * gdb.python/py-finish-breakpoint2.exp
14059 * gdb.python/py-frame-args.exp
14060 * gdb.python/py-frame-inline.exp
14061 * gdb.python/py-frame.exp
14062 * gdb.python/py-framefilter-mi.exp
14063 * gdb.python/py-infthread.exp
14064 * gdb.python/py-lazy-string.exp
14065 * gdb.python/py-linetable.exp
14066 * gdb.python/py-mi-events.exp
14067 * gdb.python/py-mi-objfile.exp
14068 * gdb.python/py-mi.exp
14069 * gdb.python/py-objfile.exp
14070 * gdb.python/py-pp-integral.exp
14071 * gdb.python/py-pp-maint.exp
14072 * gdb.python/py-pp-re-notag.exp
14073 * gdb.python/py-pp-registration.exp
14074 * gdb.python/py-recurse-unwind.exp
14075 * gdb.python/py-strfns.exp
14076 * gdb.python/py-symbol.exp
14077 * gdb.python/py-symtab.exp
14078 * gdb.python/py-sync-interp.exp
14079 * gdb.python/py-typeprint.exp
14080 * gdb.python/py-unwind-maint.exp
14081 * gdb.python/py-unwind.exp
14082 * gdb.python/py-value-cc.exp
14083 * gdb.python/py-xmethods.exp
14084 * gdb.reverse/amd64-tailcall-reverse.exp
14085 * gdb.reverse/break-precsave.exp
14086 * gdb.reverse/break-reverse.exp
14087 * gdb.reverse/consecutive-precsave.exp
14088 * gdb.reverse/consecutive-reverse.exp
14089 * gdb.reverse/finish-precsave.exp
14090 * gdb.reverse/finish-reverse-bkpt.exp
14091 * gdb.reverse/finish-reverse.exp
14092 * gdb.reverse/fstatat-reverse.exp
14093 * gdb.reverse/getresuid-reverse.exp
14094 * gdb.reverse/i386-precsave.exp
14095 * gdb.reverse/i386-reverse.exp
14096 * gdb.reverse/i386-sse-reverse.exp
14097 * gdb.reverse/i387-env-reverse.exp
14098 * gdb.reverse/i387-stack-reverse.exp
14099 * gdb.reverse/insn-reverse.exp
14100 * gdb.reverse/machinestate-precsave.exp
14101 * gdb.reverse/machinestate.exp
14102 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14103 * gdb.reverse/pipe-reverse.exp
14104 * gdb.reverse/readv-reverse.exp
14105 * gdb.reverse/recvmsg-reverse.exp
14106 * gdb.reverse/rerun-prec.exp
14107 * gdb.reverse/s390-mvcle.exp
14108 * gdb.reverse/step-precsave.exp
14109 * gdb.reverse/step-reverse.exp
14110 * gdb.reverse/time-reverse.exp
14111 * gdb.reverse/until-precsave.exp
14112 * gdb.reverse/until-reverse.exp
14113 * gdb.reverse/waitpid-reverse.exp
14114 * gdb.reverse/watch-precsave.exp
14115 * gdb.reverse/watch-reverse.exp
14116 * gdb.rust/generics.exp
14117 * gdb.rust/methods.exp
14118 * gdb.rust/modules.exp
14119 * gdb.rust/simple.exp
14120 * gdb.server/connect-with-no-symbol-file.exp
14121 * gdb.server/ext-attach.exp
14122 * gdb.server/ext-restart.exp
14123 * gdb.server/ext-wrapper.exp
14124 * gdb.server/file-transfer.exp
14125 * gdb.server/server-exec-info.exp
14126 * gdb.server/server-kill.exp
14127 * gdb.server/server-mon.exp
14128 * gdb.server/wrapper.exp
14129 * gdb.stabs/exclfwd.exp
14130 * gdb.stabs/gdb11479.exp
14131 * gdb.threads/clone-new-thread-event.exp
14132 * gdb.threads/corethreads.exp
14133 * gdb.threads/current-lwp-dead.exp
14134 * gdb.threads/dlopen-libpthread.exp
14135 * gdb.threads/gcore-thread.exp
14136 * gdb.threads/sigstep-threads.exp
14137 * gdb.threads/watchpoint-fork.exp
14138 * gdb.trace/actions-changed.exp
14139 * gdb.trace/backtrace.exp
14140 * gdb.trace/change-loc.exp
14141 * gdb.trace/circ.exp
14142 * gdb.trace/collection.exp
14143 * gdb.trace/disconnected-tracing.exp
14144 * gdb.trace/ftrace.exp
14145 * gdb.trace/mi-trace-frame-collected.exp
14146 * gdb.trace/mi-trace-unavailable.exp
14147 * gdb.trace/mi-traceframe-changed.exp
14148 * gdb.trace/mi-tsv-changed.exp
14149 * gdb.trace/no-attach-trace.exp
14150 * gdb.trace/passc-dyn.exp
14151 * gdb.trace/qtro.exp
14152 * gdb.trace/range-stepping.exp
14153 * gdb.trace/read-memory.exp
14154 * gdb.trace/save-trace.exp
14155 * gdb.trace/signal.exp
14156 * gdb.trace/status-stop.exp
14157 * gdb.trace/tfile.exp
14158 * gdb.trace/trace-break.exp
14159 * gdb.trace/trace-buffer-size.exp
14160 * gdb.trace/trace-condition.exp
14161 * gdb.trace/tracefile-pseudo-reg.exp
14162 * gdb.trace/tstatus.exp
14163 * gdb.trace/unavailable.exp
14164 * gdb.trace/while-dyn.exp
14165 * gdb.trace/while-stepping.exp
14167 2016-12-22 Doug Evans <xdje42@gmail.com>
14169 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
14172 2016-12-19 Yao Qi <yao.qi@linaro.org>
14174 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
14175 (test_with_self): Don't call do_steps_and_nexts, and remove
14176 code about stepping into xmalloc.
14178 2016-12-09 Yao Qi <yao.qi@linaro.org>
14180 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
14182 2016-12-09 Yao Qi <yao.qi@linaro.org>
14184 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
14186 2016-12-09 Pedro Alves <palves@redhat.com>
14188 * gdb.base/all-architectures-0.exp: New file.
14189 * gdb.base/all-architectures-1.exp: New file.
14190 * gdb.base/all-architectures-2.exp: New file.
14191 * gdb.base/all-architectures-3.exp: New file.
14192 * gdb.base/all-architectures-4.exp: New file.
14193 * gdb.base/all-architectures-5.exp: New file.
14194 * gdb.base/all-architectures-6.exp: New file.
14195 * gdb.base/all-architectures-7.exp: New file.
14196 * gdb.base/all-architectures.exp.in: New file.
14198 2016-12-09 Yao Qi <yao.qi@linaro.org>
14200 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
14202 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14204 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
14206 Remove useless pattern-matching code.
14208 2016-12-02 Pedro Alves <palves@redhat.com>
14210 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
14212 (top level): Call it.
14214 2016-12-02 Pedro Alves <palves@redhat.com>
14216 * gdb.base/commands.exp (user_defined_command_args_stack_test):
14218 (top level): Call it.
14220 2016-12-02 Pedro Alves <palves@redhat.com>
14223 * gdb.base/commands.exp (user_defined_command_args_eval): New
14225 (top level): Call it.
14227 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
14229 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
14232 2016-12-02 Tom Tromey <tom@tromey.com>
14234 * gdb.dwarf2/main-subprogram.c: New file.
14235 * gdb.dwarf2/main-subprogram.exp: New file.
14237 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14239 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
14240 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
14241 gdb_test_no_output for a couple of cases.
14242 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
14244 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14246 Fix test names and standardize compilation error messages throughout
14247 the following files:
14249 * gdb.ada/start.exp
14250 * gdb.arch/alpha-step.exp
14251 * gdb.arch/e500-prologue.exp
14252 * gdb.arch/ftrace-insn-reloc.exp
14253 * gdb.arch/gdb1291.exp
14254 * gdb.arch/gdb1431.exp
14255 * gdb.arch/gdb1558.exp
14256 * gdb.arch/i386-dr3-watch.exp
14257 * gdb.arch/i386-sse-stack-align.exp
14258 * gdb.arch/ia64-breakpoint-shadow.exp
14259 * gdb.arch/pa-nullify.exp
14260 * gdb.arch/powerpc-aix-prologue.exp
14261 * gdb.arch/thumb-bx-pc.exp
14262 * gdb.base/annota1.exp
14263 * gdb.base/annota3.exp
14264 * gdb.base/arrayidx.exp
14265 * gdb.base/assign.exp
14266 * gdb.base/attach.exp
14267 * gdb.base/auxv.exp
14268 * gdb.base/bang.exp
14269 * gdb.base/bfp-test.exp
14270 * gdb.base/bigcore.exp
14271 * gdb.base/bitfields2.exp
14272 * gdb.base/break-fun-addr.exp
14273 * gdb.base/break-probes.exp
14274 * gdb.base/call-rt-st.exp
14275 * gdb.base/callexit.exp
14276 * gdb.base/catch-fork-kill.exp
14277 * gdb.base/charset.exp
14278 * gdb.base/checkpoint.exp
14279 * gdb.base/comprdebug.exp
14280 * gdb.base/constvars.exp
14281 * gdb.base/coredump-filter.exp
14282 * gdb.base/cursal.exp
14283 * gdb.base/cvexpr.exp
14284 * gdb.base/detach.exp
14285 * gdb.base/display.exp
14286 * gdb.base/dmsym.exp
14287 * gdb.base/dprintf-pending.exp
14288 * gdb.base/dso2dso.exp
14289 * gdb.base/dtrace-probe.exp
14290 * gdb.base/dump.exp
14291 * gdb.base/enum_cond.exp
14292 * gdb.base/exe-lock.exp
14293 * gdb.base/exec-invalid-sysroot.exp
14294 * gdb.base/execl-update-breakpoints.exp
14295 * gdb.base/exprs.exp
14296 * gdb.base/fileio.exp
14297 * gdb.base/find.exp
14298 * gdb.base/finish.exp
14299 * gdb.base/fixsection.exp
14300 * gdb.base/foll-vfork.exp
14301 * gdb.base/frame-args.exp
14302 * gdb.base/gcore.exp
14303 * gdb.base/gdb1250.exp
14304 * gdb.base/global-var-nested-by-dso.exp
14305 * gdb.base/gnu-ifunc.exp
14306 * gdb.base/hashline1.exp
14307 * gdb.base/hashline2.exp
14308 * gdb.base/hashline3.exp
14309 * gdb.base/hbreak-in-shr-unsupported.exp
14310 * gdb.base/huge.exp
14311 * gdb.base/infcall-input.exp
14312 * gdb.base/info-fun.exp
14313 * gdb.base/info-shared.exp
14314 * gdb.base/jit-simple.exp
14315 * gdb.base/jit-so.exp
14317 * gdb.base/jump.exp
14318 * gdb.base/label.exp
14319 * gdb.base/lineinc.exp
14320 * gdb.base/logical.exp
14321 * gdb.base/longjmp.exp
14322 * gdb.base/macscp.exp
14323 * gdb.base/miscexprs.exp
14324 * gdb.base/new-ui-echo.exp
14325 * gdb.base/new-ui-pending-input.exp
14326 * gdb.base/new-ui.exp
14327 * gdb.base/nodebug.exp
14328 * gdb.base/nofield.exp
14329 * gdb.base/offsets.exp
14330 * gdb.base/overlays.exp
14331 * gdb.base/pending.exp
14332 * gdb.base/pointers.exp
14333 * gdb.base/pr11022.exp
14334 * gdb.base/printcmds.exp
14335 * gdb.base/prologue.exp
14336 * gdb.base/ptr-typedef.exp
14337 * gdb.base/realname-expand.exp
14338 * gdb.base/relativedebug.exp
14339 * gdb.base/relocate.exp
14340 * gdb.base/remote.exp
14341 * gdb.base/reread.exp
14342 * gdb.base/return2.exp
14343 * gdb.base/savedregs.exp
14345 * gdb.base/sepdebug.exp
14346 * gdb.base/sepsymtab.exp
14347 * gdb.base/set-inferior-tty.exp
14348 * gdb.base/setshow.exp
14349 * gdb.base/shlib-call.exp
14350 * gdb.base/sigaltstack.exp
14351 * gdb.base/siginfo-addr.exp
14352 * gdb.base/signals.exp
14353 * gdb.base/signull.exp
14354 * gdb.base/sigrepeat.exp
14355 * gdb.base/so-impl-ld.exp
14356 * gdb.base/solib-display.exp
14357 * gdb.base/solib-overlap.exp
14358 * gdb.base/solib-search.exp
14359 * gdb.base/solib-symbol.exp
14360 * gdb.base/structs.exp
14361 * gdb.base/structs2.exp
14362 * gdb.base/symtab-search-order.exp
14363 * gdb.base/twice.exp
14364 * gdb.base/unload.exp
14365 * gdb.base/varargs.exp
14366 * gdb.base/watchpoint-solib.exp
14367 * gdb.base/watchpoint.exp
14368 * gdb.base/whatis.exp
14369 * gdb.base/wrong_frame_bt_full.exp
14370 * gdb.btrace/dlopen.exp
14371 * gdb.cell/ea-standalone.exp
14372 * gdb.cell/ea-test.exp
14373 * gdb.cp/dispcxx.exp
14374 * gdb.cp/gdb2384.exp
14375 * gdb.cp/method2.exp
14376 * gdb.cp/nextoverthrow.exp
14377 * gdb.cp/pr10728.exp
14378 * gdb.disasm/am33.exp
14379 * gdb.disasm/h8300s.exp
14380 * gdb.disasm/mn10300.exp
14381 * gdb.disasm/sh3.exp
14382 * gdb.dwarf2/dw2-dir-file-name.exp
14383 * gdb.fortran/complex.exp
14384 * gdb.fortran/library-module.exp
14385 * gdb.guile/scm-pretty-print.exp
14386 * gdb.guile/scm-symbol.exp
14387 * gdb.guile/scm-type.exp
14388 * gdb.guile/scm-value.exp
14389 * gdb.linespec/linespec.exp
14390 * gdb.mi/gdb701.exp
14391 * gdb.mi/gdb792.exp
14392 * gdb.mi/mi-breakpoint-changed.exp
14393 * gdb.mi/mi-dprintf-pending.exp
14394 * gdb.mi/mi-dprintf.exp
14395 * gdb.mi/mi-exit-code.exp
14396 * gdb.mi/mi-pending.exp
14397 * gdb.mi/mi-solib.exp
14398 * gdb.mi/new-ui-mi-sync.exp
14399 * gdb.mi/pr11022.exp
14400 * gdb.mi/user-selected-context-sync.exp
14401 * gdb.opt/solib-intra-step.exp
14402 * gdb.python/py-events.exp
14403 * gdb.python/py-finish-breakpoint.exp
14404 * gdb.python/py-mi.exp
14405 * gdb.python/py-prettyprint.exp
14406 * gdb.python/py-shared.exp
14407 * gdb.python/py-symbol.exp
14408 * gdb.python/py-template.exp
14409 * gdb.python/py-type.exp
14410 * gdb.python/py-value.exp
14411 * gdb.reverse/solib-precsave.exp
14412 * gdb.reverse/solib-reverse.exp
14413 * gdb.server/solib-list.exp
14414 * gdb.stabs/weird.exp
14415 * gdb.threads/reconnect-signal.exp
14416 * gdb.threads/stepi-random-signal.exp
14417 * gdb.trace/actions.exp
14419 * gdb.trace/backtrace.exp
14420 * gdb.trace/change-loc.exp
14421 * gdb.trace/deltrace.exp
14422 * gdb.trace/ftrace-lock.exp
14423 * gdb.trace/ftrace.exp
14424 * gdb.trace/infotrace.exp
14425 * gdb.trace/mi-tracepoint-changed.exp
14426 * gdb.trace/packetlen.exp
14427 * gdb.trace/passcount.exp
14428 * gdb.trace/pending.exp
14429 * gdb.trace/range-stepping.exp
14430 * gdb.trace/report.exp
14431 * gdb.trace/stap-trace.exp
14432 * gdb.trace/tfind.exp
14433 * gdb.trace/trace-break.exp
14434 * gdb.trace/trace-condition.exp
14435 * gdb.trace/trace-enable-disable.exp
14436 * gdb.trace/trace-mt.exp
14437 * gdb.trace/tracecmd.exp
14438 * gdb.trace/tspeed.exp
14439 * gdb.trace/tsv.exp
14442 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14444 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
14445 with gdb_test_no_output.
14446 Use command as test name.
14448 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14450 Fix test names starting with uppercase throughout the files.
14452 * gdb.ada/assign_1.exp
14453 * gdb.ada/boolean_expr.exp
14454 * gdb.base/arrayidx.exp
14456 * gdb.base/gcore-buffer-overflow.exp
14457 * gdb.base/testenv.exp
14458 * gdb.compile/compile.exp
14459 * gdb.python/py-framefilter-invalidarg.exp
14460 * gdb.python/py-framefilter.exp
14462 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14464 Fix test names starting with uppercase throughout the files.
14466 * gdb.ada/array_return.exp
14467 * gdb.ada/expr_delims.exp
14468 * gdb.ada/mi_dyn_arr.exp
14469 * gdb.ada/mi_interface.exp
14470 * gdb.ada/mi_var_array.exp
14471 * gdb.ada/watch_arg.exp
14472 * gdb.arch/alpha-step.exp
14473 * gdb.arch/altivec-regs.exp
14474 * gdb.arch/e500-regs.exp
14475 * gdb.arch/powerpc-d128-regs.exp
14476 * gdb.base/arrayidx.exp
14477 * gdb.base/break.exp
14478 * gdb.base/checkpoint.exp
14479 * gdb.base/debug-expr.exp
14480 * gdb.base/dmsym.exp
14481 * gdb.base/radix.exp
14482 * gdb.base/sepdebug.exp
14483 * gdb.base/testenv.exp
14484 * gdb.base/watch_thread_num.exp
14485 * gdb.base/watchpoint-cond-gone.exp
14486 * gdb.cell/break.exp
14487 * gdb.cell/ea-cache.exp
14488 * gdb.compile/compile.exp
14489 * gdb.cp/gdb2495.exp
14490 * gdb.gdb/selftest.exp
14491 * gdb.gdb/xfullpath.exp
14493 * gdb.go/integers.exp
14494 * gdb.objc/basicclass.exp
14495 * gdb.pascal/hello.exp
14496 * gdb.pascal/integers.exp
14497 * gdb.python/py-breakpoint.exp
14498 * gdb.python/py-cmd.exp
14499 * gdb.python/py-linetable.exp
14500 * gdb.python/py-xmethods.exp
14501 * gdb.python/python.exp
14502 * gdb.reverse/consecutive-precsave.exp
14503 * gdb.reverse/finish-precsave.exp
14504 * gdb.reverse/i386-precsave.exp
14505 * gdb.reverse/machinestate-precsave.exp
14506 * gdb.reverse/sigall-precsave.exp
14507 * gdb.reverse/solib-precsave.exp
14508 * gdb.reverse/step-precsave.exp
14509 * gdb.reverse/until-precsave.exp
14510 * gdb.reverse/watch-precsave.exp
14511 * gdb.threads/leader-exit.exp
14512 * gdb.threads/pthreads.exp
14513 * gdb.threads/wp-replication.exp
14514 * gdb.trace/actions.exp
14515 * gdb.trace/mi-tsv-changed.exp
14516 * gdb.trace/tsv.exp
14518 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14520 Fix test names starting with uppercase throughout the files.
14522 * gdb.arch/i386-bp_permanent.exp
14523 * gdb.arch/i386-gnu-cfi.exp
14524 * gdb.base/disasm-end-cu.exp
14525 * gdb.base/macscp.exp
14526 * gdb.base/pending.exp
14527 * gdb.base/watch_thread_num.exp
14528 * gdb.cp/exception.exp
14529 * gdb.cp/gdb2495.exp
14531 * gdb.python/py-evsignal.exp
14532 * gdb.python/python.exp
14533 * gdb.trace/tracecmd.exp
14535 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14537 Fix test names starting with uppercase throughout the files.
14539 * gdb.base/charset.exp
14540 * gdb.base/eval.exp
14541 * gdb.base/multi-forks.exp
14542 * gdb.guile/scm-progspace.exp
14543 * gdb.opencl/datatypes.exp
14544 * gdb.python/py-block.exp
14545 * gdb.python/py-function.exp
14546 * gdb.python/py-symbol.exp
14547 * gdb.python/py-symtab.exp
14548 * gdb.python/py-xmethods.exp
14549 * gdb.reverse/break-precsave.exp
14550 * gdb.reverse/break-reverse.exp
14551 * gdb.reverse/consecutive-precsave.exp
14552 * gdb.reverse/consecutive-reverse.exp
14553 * gdb.reverse/finish-precsave.exp
14554 * gdb.reverse/finish-reverse-bkpt.exp
14555 * gdb.reverse/finish-reverse.exp
14556 * gdb.reverse/fstatat-reverse.exp
14557 * gdb.reverse/getresuid-reverse.exp
14558 * gdb.reverse/i386-precsave.exp
14559 * gdb.reverse/i386-reverse.exp
14560 * gdb.reverse/i386-sse-reverse.exp
14561 * gdb.reverse/i387-stack-reverse.exp
14562 * gdb.reverse/insn-reverse.exp
14563 * gdb.reverse/machinestate-precsave.exp
14564 * gdb.reverse/machinestate.exp
14565 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14566 * gdb.reverse/pipe-reverse.exp
14567 * gdb.reverse/readv-reverse.exp
14568 * gdb.reverse/recvmsg-reverse.exp
14569 * gdb.reverse/rerun-prec.exp
14570 * gdb.reverse/s390-mvcle.exp
14571 * gdb.reverse/sigall-precsave.exp
14572 * gdb.reverse/sigall-reverse.exp
14573 * gdb.reverse/solib-precsave.exp
14574 * gdb.reverse/solib-reverse.exp
14575 * gdb.reverse/step-precsave.exp
14576 * gdb.reverse/step-reverse.exp
14577 * gdb.reverse/time-reverse.exp
14578 * gdb.reverse/until-precsave.exp
14579 * gdb.reverse/until-reverse.exp
14580 * gdb.reverse/waitpid-reverse.exp
14581 * gdb.reverse/watch-precsave.exp
14582 * gdb.reverse/watch-reverse.exp
14584 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14586 Fix test names starting with uppercase throughout the files.
14588 * gdb.arch/i386-mpx-simple_segv.exp
14589 * gdb.arch/i386-mpx.exp
14590 * gdb.arch/i386-permbkpt.exp
14591 * gdb.arch/pa-nullify.exp
14592 * gdb.arch/powerpc-d128-regs.exp
14593 * gdb.arch/vsx-regs.exp
14594 * gdb.base/bfp-test.exp
14595 * gdb.base/break.exp
14596 * gdb.base/breakpoint-shadow.exp
14597 * gdb.base/callfuncs.exp
14598 * gdb.base/charset.exp
14599 * gdb.base/commands.exp
14600 * gdb.base/completion.exp
14601 * gdb.base/dfp-test.exp
14602 * gdb.base/echo.exp
14603 * gdb.base/ending-run.exp
14604 * gdb.base/eval.exp
14605 * gdb.base/expand-psymtabs.exp
14606 * gdb.base/float128.exp
14607 * gdb.base/floatn.exp
14608 * gdb.base/foll-exec-mode.exp
14609 * gdb.base/gdb1056.exp
14610 * gdb.base/gdb11531.exp
14611 * gdb.base/kill-after-signal.exp
14612 * gdb.base/multi-forks.exp
14613 * gdb.base/overlays.exp
14614 * gdb.base/pending.exp
14615 * gdb.base/sepdebug.exp
14616 * gdb.base/testenv.exp
14617 * gdb.base/valgrind-db-attach.exp
14618 * gdb.base/watch_thread_num.exp
14619 * gdb.base/watchpoint-cond-gone.exp
14620 * gdb.base/watchpoint.exp
14621 * gdb.base/watchpoints.exp
14622 * gdb.cp/arg-reference.exp
14623 * gdb.cp/baseenum.exp
14624 * gdb.cp/operator.exp
14625 * gdb.cp/shadow.exp
14626 * gdb.dwarf2/dw2-op-out-param.exp
14627 * gdb.dwarf2/dw2-reg-undefined.exp
14630 * gdb.go/integers.exp
14631 * gdb.go/methods.exp
14632 * gdb.go/package.exp
14633 * gdb.guile/scm-parameter.exp
14634 * gdb.guile/scm-progspace.exp
14635 * gdb.guile/scm-value.exp
14636 * gdb.mi/mi-pending.exp
14637 * gdb.mi/user-selected-context-sync.exp
14638 * gdb.multi/multi-attach.exp
14639 * gdb.multi/tids.exp
14640 * gdb.opt/clobbered-registers-O2.exp
14641 * gdb.pascal/floats.exp
14642 * gdb.pascal/integers.exp
14643 * gdb.python/py-block.exp
14644 * gdb.python/py-events.exp
14645 * gdb.python/py-parameter.exp
14646 * gdb.python/py-symbol.exp
14647 * gdb.python/py-symtab.exp
14648 * gdb.python/py-type.exp
14649 * gdb.python/py-value.exp
14650 * gdb.python/py-xmethods.exp
14651 * gdb.python/python.exp
14652 * gdb.reverse/break-precsave.exp
14653 * gdb.reverse/consecutive-precsave.exp
14654 * gdb.reverse/finish-precsave.exp
14655 * gdb.reverse/i386-precsave.exp
14656 * gdb.reverse/machinestate-precsave.exp
14657 * gdb.reverse/sigall-precsave.exp
14658 * gdb.reverse/solib-precsave.exp
14659 * gdb.reverse/step-precsave.exp
14660 * gdb.reverse/until-precsave.exp
14661 * gdb.reverse/watch-precsave.exp
14662 * gdb.server/ext-attach.exp
14663 * gdb.server/ext-restart.exp
14664 * gdb.server/ext-run.exp
14665 * gdb.server/ext-wrapper.exp
14666 * gdb.stabs/gdb11479.exp
14667 * gdb.stabs/weird.exp
14668 * gdb.threads/attach-many-short-lived-threads.exp
14669 * gdb.threads/kill.exp
14670 * gdb.threads/watchpoint-fork.exp
14672 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
14674 Fix test names starting with uppercase throughout all the files below.
14676 * gdb.ada/array_return.exp
14677 * gdb.ada/catch_ex.exp
14678 * gdb.ada/info_exc.exp
14679 * gdb.ada/mi_catch_ex.exp
14680 * gdb.ada/mi_dyn_arr.exp
14681 * gdb.ada/mi_ex_cond.exp
14682 * gdb.ada/mi_exc_info.exp
14683 * gdb.ada/mi_interface.exp
14684 * gdb.ada/mi_task_arg.exp
14685 * gdb.ada/mi_task_info.exp
14686 * gdb.ada/mi_var_array.exp
14687 * gdb.arch/alpha-step.exp
14688 * gdb.arch/amd64-disp-step.exp
14689 * gdb.arch/arm-disp-step.exp
14690 * gdb.arch/disp-step-insn-reloc.exp
14691 * gdb.arch/e500-prologue.exp
14692 * gdb.arch/ftrace-insn-reloc.exp
14693 * gdb.arch/gdb1558.exp
14694 * gdb.arch/i386-bp_permanent.exp
14695 * gdb.arch/i386-disp-step.exp
14696 * gdb.arch/i386-float.exp
14697 * gdb.arch/i386-gnu-cfi.exp
14698 * gdb.arch/ia64-breakpoint-shadow.exp
14699 * gdb.arch/mips16-thunks.exp
14700 * gdb.arch/pa-nullify.exp
14701 * gdb.arch/powerpc-aix-prologue.exp
14702 * gdb.arch/powerpc-power.exp
14703 * gdb.arch/ppc-dfp.exp
14704 * gdb.arch/s390-tdbregs.exp
14705 * gdb.arch/spu-info.exp
14706 * gdb.arch/spu-ls.exp
14707 * gdb.arch/thumb-bx-pc.exp
14708 * gdb.base/advance.exp
14709 * gdb.base/annota-input-while-running.exp
14710 * gdb.base/arrayidx.exp
14711 * gdb.base/asmlabel.exp
14712 * gdb.base/async.exp
14713 * gdb.base/attach-wait-input.exp
14714 * gdb.base/auto-connect-native-target.exp
14715 * gdb.base/batch-preserve-term-settings.exp
14716 * gdb.base/bfp-test.exp
14717 * gdb.base/bigcore.exp
14718 * gdb.base/bp-permanent.exp
14719 * gdb.base/break-always.exp
14720 * gdb.base/break-fun-addr.exp
14721 * gdb.base/break-idempotent.exp
14722 * gdb.base/break-main-file-remove-fail.exp
14723 * gdb.base/break-probes.exp
14724 * gdb.base/break-unload-file.exp
14725 * gdb.base/break.exp
14726 * gdb.base/call-ar-st.exp
14727 * gdb.base/call-rt-st.exp
14728 * gdb.base/call-sc.exp
14729 * gdb.base/call-signal-resume.exp
14730 * gdb.base/call-strs.exp
14731 * gdb.base/callexit.exp
14732 * gdb.base/callfuncs.exp
14733 * gdb.base/catch-gdb-caused-signals.exp
14734 * gdb.base/catch-signal-siginfo-cond.exp
14735 * gdb.base/catch-syscall.exp
14736 * gdb.base/compare-sections.exp
14737 * gdb.base/cond-eval-mode.exp
14738 * gdb.base/condbreak-call-false.exp
14739 * gdb.base/consecutive-step-over.exp
14740 * gdb.base/cursal.exp
14741 * gdb.base/disabled-location.exp
14742 * gdb.base/disasm-end-cu.exp
14743 * gdb.base/display.exp
14744 * gdb.base/double-prompt-target-event-error.exp
14745 * gdb.base/dprintf-bp-same-addr.exp
14746 * gdb.base/dprintf-detach.exp
14747 * gdb.base/dprintf-next.exp
14748 * gdb.base/dprintf-non-stop.exp
14749 * gdb.base/dprintf-pending.exp
14750 * gdb.base/dso2dso.exp
14751 * gdb.base/ending-run.exp
14752 * gdb.base/enum_cond.exp
14753 * gdb.base/examine-backward.exp
14754 * gdb.base/exe-lock.exp
14755 * gdb.base/exec-invalid-sysroot.exp
14756 * gdb.base/execl-update-breakpoints.exp
14757 * gdb.base/execution-termios.exp
14758 * gdb.base/fileio.exp
14759 * gdb.base/fixsection.exp
14760 * gdb.base/foll-exec-mode.exp
14761 * gdb.base/foll-exec.exp
14762 * gdb.base/fork-running-state.exp
14763 * gdb.base/frame-args.exp
14764 * gdb.base/fullpath-expand.exp
14765 * gdb.base/func-ptr.exp
14766 * gdb.base/gcore-relro-pie.exp
14767 * gdb.base/gdb1090.exp
14768 * gdb.base/gdb1555.exp
14769 * gdb.base/global-var-nested-by-dso.exp
14770 * gdb.base/gnu-ifunc.exp
14771 * gdb.base/hbreak-in-shr-unsupported.exp
14772 * gdb.base/hbreak-unmapped.exp
14773 * gdb.base/hook-stop.exp
14774 * gdb.base/infcall-input.exp
14775 * gdb.base/info-fun.exp
14776 * gdb.base/info-shared.exp
14777 * gdb.base/interrupt-noterm.exp
14778 * gdb.base/jit-so.exp
14780 * gdb.base/line-symtabs.exp
14781 * gdb.base/list.exp
14782 * gdb.base/longjmp.exp
14783 * gdb.base/macscp.exp
14784 * gdb.base/max-value-size.exp
14785 * gdb.base/nodebug.exp
14786 * gdb.base/nofield.exp
14787 * gdb.base/overlays.exp
14788 * gdb.base/paginate-after-ctrl-c-running.exp
14789 * gdb.base/paginate-bg-execution.exp
14790 * gdb.base/paginate-inferior-exit.exp
14791 * gdb.base/pending.exp
14792 * gdb.base/pr11022.exp
14793 * gdb.base/printcmds.exp
14794 * gdb.base/ptr-typedef.exp
14795 * gdb.base/ptype.exp
14796 * gdb.base/randomize.exp
14797 * gdb.base/range-stepping.exp
14798 * gdb.base/realname-expand.exp
14799 * gdb.base/relativedebug.exp
14800 * gdb.base/remote.exp
14801 * gdb.base/savedregs.exp
14802 * gdb.base/sepdebug.exp
14803 * gdb.base/set-noassign.exp
14804 * gdb.base/shlib-call.exp
14805 * gdb.base/shreloc.exp
14806 * gdb.base/sigaltstack.exp
14807 * gdb.base/sigbpt.exp
14808 * gdb.base/siginfo-addr.exp
14809 * gdb.base/siginfo-obj.exp
14810 * gdb.base/siginfo-thread.exp
14811 * gdb.base/signest.exp
14812 * gdb.base/signull.exp
14813 * gdb.base/sigrepeat.exp
14814 * gdb.base/skip.exp
14815 * gdb.base/so-impl-ld.exp
14816 * gdb.base/solib-corrupted.exp
14817 * gdb.base/solib-disc.exp
14818 * gdb.base/solib-display.exp
14819 * gdb.base/solib-overlap.exp
14820 * gdb.base/solib-search.exp
14821 * gdb.base/solib-symbol.exp
14822 * gdb.base/source-execution.exp
14823 * gdb.base/sss-bp-on-user-bp-2.exp
14824 * gdb.base/sss-bp-on-user-bp.exp
14825 * gdb.base/stack-checking.exp
14826 * gdb.base/stale-infcall.exp
14827 * gdb.base/step-break.exp
14828 * gdb.base/step-line.exp
14829 * gdb.base/step-over-exit.exp
14830 * gdb.base/step-test.exp
14831 * gdb.base/structs.exp
14832 * gdb.base/sym-file.exp
14833 * gdb.base/symtab-search-order.exp
14834 * gdb.base/term.exp
14835 * gdb.base/type-opaque.exp
14836 * gdb.base/unload.exp
14837 * gdb.base/until-nodebug.exp
14838 * gdb.base/until.exp
14839 * gdb.base/unwindonsignal.exp
14840 * gdb.base/watch-cond.exp
14841 * gdb.base/watch-non-mem.exp
14842 * gdb.base/watch_thread_num.exp
14843 * gdb.base/watchpoint-reuse-slot.exp
14844 * gdb.base/watchpoint-solib.exp
14845 * gdb.base/watchpoint.exp
14846 * gdb.btrace/dlopen.exp
14847 * gdb.cell/arch.exp
14848 * gdb.cell/break.exp
14850 * gdb.cell/core.exp
14851 * gdb.cell/data.exp
14852 * gdb.cell/dwarfaddr.exp
14853 * gdb.cell/ea-cache.exp
14854 * gdb.cell/ea-standalone.exp
14855 * gdb.cell/ea-test.exp
14856 * gdb.cell/f-regs.exp
14857 * gdb.cell/fork.exp
14858 * gdb.cell/gcore.exp
14859 * gdb.cell/mem-access.exp
14860 * gdb.cell/ptype.exp
14861 * gdb.cell/registers.exp
14862 * gdb.cell/sizeof.exp
14863 * gdb.cell/solib-symbol.exp
14864 * gdb.cell/solib.exp
14865 * gdb.compile/compile-tls.exp
14866 * gdb.cp/exception.exp
14867 * gdb.cp/gdb2495.exp
14869 * gdb.cp/mb-inline.exp
14870 * gdb.cp/mb-templates.exp
14871 * gdb.cp/pr10687.exp
14872 * gdb.cp/pr9167.exp
14873 * gdb.cp/scope-err.exp
14874 * gdb.cp/templates.exp
14875 * gdb.cp/virtfunc.exp
14876 * gdb.dwarf2/dw2-dir-file-name.exp
14877 * gdb.dwarf2/dw2-single-line-discriminators.exp
14878 * gdb.fortran/complex.exp
14879 * gdb.fortran/library-module.exp
14880 * gdb.guile/guile.exp
14881 * gdb.guile/scm-cmd.exp
14882 * gdb.guile/scm-frame-inline.exp
14883 * gdb.guile/scm-objfile.exp
14884 * gdb.guile/scm-pretty-print.exp
14885 * gdb.guile/scm-symbol.exp
14886 * gdb.guile/scm-type.exp
14887 * gdb.guile/scm-value.exp
14888 * gdb.linespec/keywords.exp
14889 * gdb.linespec/ls-errs.exp
14890 * gdb.linespec/macro-relative.exp
14891 * gdb.linespec/thread.exp
14892 * gdb.mi/mi-breakpoint-changed.exp
14893 * gdb.mi/mi-dprintf-pending.exp
14894 * gdb.mi/mi-fullname-deleted.exp
14895 * gdb.mi/mi-logging.exp
14896 * gdb.mi/mi-pending.exp
14897 * gdb.mi/mi-solib.exp
14898 * gdb.mi/new-ui-mi-sync.exp
14899 * gdb.mi/user-selected-context-sync.exp
14900 * gdb.multi/dummy-frame-restore.exp
14901 * gdb.multi/multi-arch-exec.exp
14902 * gdb.multi/remove-inferiors.exp
14903 * gdb.multi/watchpoint-multi-exit.exp
14904 * gdb.opt/solib-intra-step.exp
14905 * gdb.perf/backtrace.exp
14906 * gdb.perf/single-step.exp
14907 * gdb.perf/skip-command.exp
14908 * gdb.perf/skip-prologue.exp
14909 * gdb.perf/solib.exp
14910 * gdb.python/lib-types.exp
14911 * gdb.python/py-as-string.exp
14912 * gdb.python/py-bad-printers.exp
14913 * gdb.python/py-block.exp
14914 * gdb.python/py-breakpoint.exp
14915 * gdb.python/py-cmd.exp
14916 * gdb.python/py-events.exp
14917 * gdb.python/py-evthreads.exp
14918 * gdb.python/py-finish-breakpoint.exp
14919 * gdb.python/py-finish-breakpoint2.exp
14920 * gdb.python/py-frame-inline.exp
14921 * gdb.python/py-frame.exp
14922 * gdb.python/py-inferior.exp
14923 * gdb.python/py-infthread.exp
14924 * gdb.python/py-mi.exp
14925 * gdb.python/py-objfile.exp
14926 * gdb.python/py-pp-maint.exp
14927 * gdb.python/py-pp-registration.exp
14928 * gdb.python/py-prettyprint.exp
14929 * gdb.python/py-recurse-unwind.exp
14930 * gdb.python/py-shared.exp
14931 * gdb.python/py-symbol.exp
14932 * gdb.python/py-symtab.exp
14933 * gdb.python/py-template.exp
14934 * gdb.python/py-type.exp
14935 * gdb.python/py-unwind-maint.exp
14936 * gdb.python/py-unwind.exp
14937 * gdb.python/py-value.exp
14938 * gdb.python/python.exp
14939 * gdb.reverse/finish-reverse-bkpt.exp
14940 * gdb.reverse/insn-reverse.exp
14941 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14942 * gdb.reverse/solib-precsave.exp
14943 * gdb.reverse/solib-reverse.exp
14944 * gdb.stabs/gdb11479.exp
14945 * gdb.stabs/weird.exp
14946 * gdb.threads/fork-child-threads.exp
14947 * gdb.threads/fork-plus-threads.exp
14948 * gdb.threads/fork-thread-pending.exp
14949 * gdb.threads/forking-threads-plus-breakpoint.exp
14950 * gdb.threads/hand-call-in-threads.exp
14951 * gdb.threads/interrupted-hand-call.exp
14952 * gdb.threads/linux-dp.exp
14953 * gdb.threads/local-watch-wrong-thread.exp
14954 * gdb.threads/next-while-other-thread-longjmps.exp
14955 * gdb.threads/non-ldr-exit.exp
14956 * gdb.threads/pending-step.exp
14957 * gdb.threads/print-threads.exp
14958 * gdb.threads/process-dies-while-detaching.exp
14959 * gdb.threads/process-dies-while-handling-bp.exp
14960 * gdb.threads/pthreads.exp
14961 * gdb.threads/queue-signal.exp
14962 * gdb.threads/reconnect-signal.exp
14963 * gdb.threads/signal-command-handle-nopass.exp
14964 * gdb.threads/signal-command-multiple-signals-pending.exp
14965 * gdb.threads/signal-delivered-right-thread.exp
14966 * gdb.threads/signal-sigtrap.exp
14967 * gdb.threads/sigthread.exp
14968 * gdb.threads/staticthreads.exp
14969 * gdb.threads/stepi-random-signal.exp
14970 * gdb.threads/thread-unwindonsignal.exp
14971 * gdb.threads/thread_check.exp
14972 * gdb.threads/thread_events.exp
14973 * gdb.threads/tid-reuse.exp
14974 * gdb.threads/tls-nodebug.exp
14975 * gdb.threads/tls-shared.exp
14976 * gdb.threads/tls-so_extern.exp
14977 * gdb.threads/tls.exp
14978 * gdb.threads/wp-replication.exp
14979 * gdb.trace/actions-changed.exp
14980 * gdb.trace/actions.exp
14981 * gdb.trace/backtrace.exp
14982 * gdb.trace/change-loc.exp
14983 * gdb.trace/collection.exp
14984 * gdb.trace/deltrace.exp
14985 * gdb.trace/disconnected-tracing.exp
14986 * gdb.trace/entry-values.exp
14987 * gdb.trace/ftrace-lock.exp
14988 * gdb.trace/ftrace.exp
14989 * gdb.trace/infotrace.exp
14990 * gdb.trace/mi-trace-frame-collected.exp
14991 * gdb.trace/mi-trace-unavailable.exp
14992 * gdb.trace/mi-traceframe-changed.exp
14993 * gdb.trace/mi-tracepoint-changed.exp
14994 * gdb.trace/mi-tsv-changed.exp
14995 * gdb.trace/no-attach-trace.exp
14996 * gdb.trace/packetlen.exp
14997 * gdb.trace/passc-dyn.exp
14998 * gdb.trace/passcount.exp
14999 * gdb.trace/pending.exp
15000 * gdb.trace/pr16508.exp
15001 * gdb.trace/qtro.exp
15002 * gdb.trace/range-stepping.exp
15003 * gdb.trace/read-memory.exp
15004 * gdb.trace/report.exp
15005 * gdb.trace/save-trace.exp
15006 * gdb.trace/signal.exp
15007 * gdb.trace/stap-trace.exp
15008 * gdb.trace/status-stop.exp
15009 * gdb.trace/strace.exp
15010 * gdb.trace/tfile.exp
15011 * gdb.trace/tfind.exp
15012 * gdb.trace/trace-break.exp
15013 * gdb.trace/trace-condition.exp
15014 * gdb.trace/trace-enable-disable.exp
15015 * gdb.trace/trace-mt.exp
15016 * gdb.trace/tracecmd.exp
15017 * gdb.trace/tracefile-pseudo-reg.exp
15018 * gdb.trace/tspeed.exp
15019 * gdb.trace/tstatus.exp
15020 * gdb.trace/tsv.exp
15021 * gdb.trace/unavailable.exp
15022 * gdb.trace/while-dyn.exp
15023 * gdb.trace/while-stepping.exp
15024 * lib/gdb-guile.exp
15026 * lib/mi-support.exp
15029 * lib/prelink-support.exp
15030 * lib/selftest-support.exp
15032 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
15034 * Makefile.in: Include disable-implicit-rules.mk.
15036 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15038 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
15039 non-byte-aligned bit fields.
15041 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15044 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
15045 respects the DW_AT_data_bit_offset attribute.
15047 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
15049 * gdb.base/default.exp: Fix output of "set language".
15051 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
15053 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
15054 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
15056 * configure.ac: Remove checks for the make program.
15057 * configure: Re-generate.
15059 2016-11-16 Kevin Buettner <kevinb@redhat.com>
15061 * gdb.python/py-recurse-unwind.c (main): Add loop.
15062 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
15063 to read_register() and gdb.parse_and_eval(). Make each code
15064 call a separate case that can be individually tested.
15065 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
15066 proc. Call cont_and_backtrace for each of the code paths that
15067 we want to test in the unwinder.
15069 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
15071 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
15072 the definition of struct S.
15074 2016-11-11 Catherine Moore <clm@codesourcery.com>
15076 * gdb.base/dump.exp: Identify verilog format dump tests as such.
15078 2016-11-09 Pedro Alves <palves@redhat.com>
15080 * gdb.base/commands.exp (runto_or_return): New procedure.
15081 (gdbvar_simple_if_test, gdbvar_simple_while_test)
15082 (gdbvar_complex_if_while_test, progvar_simple_if_test)
15083 (progvar_simple_while_test, progvar_complex_if_while_test)
15084 (if_while_breakpoint_command_test)
15085 (infrun_breakpoint_command_test, breakpoint_command_test)
15086 (user_defined_command_test, watchpoint_command_test)
15087 (test_command_prompt_position, redefine_hook_test)
15088 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
15089 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
15090 multi_line_input and multi_line. Remove gdb_expect and
15091 gdb_stop_suppressing_tests uses.
15092 * lib/gdb.exp (valnum_re): New global.
15093 (multi_line_input): New procedure.
15095 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
15097 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
15099 (test_setup): Define with proc_with_prefix.
15100 (test_cli_inferior): Likewise.
15101 (test_cli_thread): Likewise.
15102 (test_cli_frame): Likewise.
15103 (test_cli_select_frame): Likewise.
15104 (test_cli_up_down): Likewise.
15105 (test_mi_thread_select): Likewise.
15106 (test_mi_stack_select_frame): Likewise.
15107 (test_cli_in_mi_inferior): Likewise.
15108 (test_cli_in_mi_thread): Likewise.
15109 (test_cli_in_mi_frame): Likewise.
15110 (top level): Do not use with_test_prefix_procname.
15112 2016-11-09 Pedro Alves <palves@redhat.com>
15114 * gdb.base/commands.exp (gdbvar_simple_if_test)
15115 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
15116 (progvar_simple_if_test, progvar_simple_while_test)
15117 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
15118 (infrun_breakpoint_command_test, breakpoint_command_test)
15119 (user_defined_command_test, watchpoint_command_test)
15120 (test_command_prompt_position, deprecated_command_test)
15121 (bp_deleted_in_command, temporary_breakpoint_commands)
15122 (stray_arg0_test, source_file_with_indented_comment)
15123 (recursive_source_test, if_commands_test)
15124 (error_clears_commands_left, redefine_hook_test)
15125 (redefine_backtrace_test): Use proc_with_prefix.
15126 * lib/gdb.exp (proc_with_prefix): New proc.
15128 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15130 * gdb.base/tui-layout.c: New file.
15131 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
15132 disassembly window contains very long lines.
15134 2016-11-08 Tom Tromey <tom@tromey.com>
15136 * gdb.python/py-value.exp (test_value_creation): Make "long" test
15137 depend on Python 2.
15139 2016-11-08 Tom Tromey <tom@tromey.com>
15141 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
15144 2016-10-29 Manish Goregaokar <manish@mozilla.com>
15146 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
15148 2016-10-27 Manish Goregaokar <manish@mozilla.com>
15150 * gdb.rust/simple.rs: Add test for univariant enums without
15151 discriminants and for encoded struct-like enums.
15153 2016-10-28 Pedro Alves <palves@redhat.com>
15155 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
15156 gdb_test_multiple, tighten regexps and match symtabs and line
15157 tables incrementally.
15159 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
15161 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
15164 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
15166 * gdb.base/exec-invalid-sysroot.exp: New file.
15168 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15170 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
15172 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15174 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
15176 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
15178 * gdb.base/killed-outside.exp: Remove $options from a call to
15179 `prepare_for_testing'.
15181 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15183 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15184 Change test message.
15186 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15188 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
15191 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
15193 * gdb.trace/mi-trace-save.exp: New file.
15195 2016-10-13 Yao Qi <yao.qi@linaro.org>
15197 * gdb.base/code_elim.exp (get_var_address): Remove.
15198 * gdb.base/relocate.exp: Likewise.
15199 * gdb.base/shreloc.exp: Likewise.
15200 * lib/gdb.exp (get_var_address): New.
15202 2016-10-13 Yao Qi <yao.qi@linaro.org>
15204 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
15205 floating point tests if $skip_float_test is false.
15207 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
15209 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
15210 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
15212 Add 1 to argc so we guarantee distinct initial/modified argc values.
15214 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15216 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
15218 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15220 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
15221 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
15222 * gdb.arch/vsx-regs.exp: Likewise.
15224 2016-10-07 Yao Qi <yao.qi@linaro.org>
15226 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
15228 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
15230 * gdb.python/python.exp: Test decode_line("*0").
15232 2016-10-06 Doug Evans <dje@google.com>
15234 * gdb.python/py-value.exp (test_value_creation): Add test for large
15235 unsigned 64-bit value.
15237 2016-10-06 Tom Tromey <tom@tromey.com>
15239 * gdb.compile/compile.exp: Change java tests to rust.
15240 * gdb.base/setshow.exp: Change java tests to rust.
15241 * gdb.base/default.exp: Remove java from language list.
15242 * README (Examples): Update language example.
15243 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
15245 * lib/gdb.exp (skip_java_tests): Remove.
15246 * lib/java.exp: Remove.
15247 * gdb.java: Remove.
15249 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15251 * gdb.arch/mips-fcr.exp: New test.
15252 * gdb.arch/mips-fcr.c: Source for the new test.
15254 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
15256 * gdb.base/solib-disc.exp: Use `standard_output_file'
15259 2016-10-06 Pedro Alves <palves@redhat.com>
15261 * gdb.base/jit-simple-dl.c: New file.
15262 * gdb.base/jit-simple-jit.c: New file, factored out from ...
15263 * gdb.base/jit-simple.c: ... this.
15264 * gdb.base/jit-simple.exp (jit_run): Delete.
15265 (build_jit): New proc.
15266 (jit_test_reread): Recompile either the main program or the shared
15267 library, depending on what is being tested. Skip changing address
15268 if caller wants to. Compare before/after addresses. If testing
15269 standalone, explicitly load the binary. Test "maint info
15271 (top level): Add "standalone vs shared lib" and "change address"
15272 vs "same address" axes.
15274 2016-10-06 Pedro Alves <palves@redhat.com>
15276 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
15279 (jit_test_reread): Use with_test_prefix. Reload the main binary
15280 explicitly. Compare the before/after addresses of the JIT
15283 2016-08-15 Doug Evans <dje@google.com>
15285 * gdb.xml/extra-regs.xml: Update, end field now required, default type
15286 for single bitfields is bool.
15287 * gdb.xml/tdesc-regs.exp: Ditto.
15289 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15291 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
15293 2016-10-05 Yao Qi <yao.qi@linaro.org>
15295 * lib/gdb.exp (support_complex_tests): Return zero if
15296 gdb_skip_float_test return true.
15298 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15299 Simon Marchi <simon.marchi@ericsson.com>
15302 * gdb.mi/user-selected-context-sync.exp: New file.
15303 * gdb.mi/user-selected-context-sync.c: New file.
15305 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
15306 Simon Marchi <simon.marchi@ericsson.com>
15309 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
15310 =thread-select-event check.
15312 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
15314 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
15315 the compulsory L operand changes.
15316 * gdb.arch/powerpc-power.s: Likewise.
15318 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15320 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
15321 * gdb.base/jit-attach-pie.c: New file.
15322 * gdb.base/jit-attach-pie.exp: New file.
15324 2016-09-28 Pedro Alves <palves@redhat.com>
15326 * gdb.base/infcall-input.c: New file.
15327 * gdb.base/infcall-input.exp: New file.
15329 2016-09-22 Yao Qi <yao.qi@linaro.org>
15331 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
15332 (gdb_exit): Rename it to ...
15333 (gdbserver_gdb_exit): ... Close GDBserver.
15334 (gdb_exit): New proc, call gdbserver_gdb_exit.
15335 (mi_gdb_exit): Likewise.
15337 2016-09-22 Yao Qi <yao.qi@linaro.org>
15339 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
15341 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
15342 Remove duplication.
15344 2016-09-22 Yao Qi <yao.qi@linaro.org>
15346 * lib/gdbserver-support.exp: Check the existence of
15347 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
15349 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
15351 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
15353 2016-09-21 Tom Tromey <tom@tromey.com>
15356 * gdb.base/quit.exp: New file.
15358 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
15360 * .gitignore: New file.
15362 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
15364 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
15367 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15369 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
15371 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15373 * gdb.cp/casts.cc (decltype): Move it ...
15374 (main): ... with its call to ...
15375 * gdb.cp/casts03.cc: ... a new file.
15376 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
15378 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15380 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
15382 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
15384 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
15385 and sync up the test with tests in gas/testsuite/gas/ppc.
15386 * gdb.arch/powerpc-power.exp: Likewise.
15388 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15390 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
15392 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
15393 Jan Kratochvil <jan.kratochvil@redhat.com>
15395 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
15396 make m1's definition to be different from m2's. Use 'dummy' as an
15397 argument for probe 'two'.
15399 2016-09-10 Jon Beniston <jon@beniston.com>
15401 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
15404 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15406 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
15407 variable declaration.
15408 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
15409 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
15410 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
15411 received HWCAP as its argument.
15413 2016-09-06 Pedro Alves <palves@redhat.com>
15415 * gdb.base/new-ui-pending-input.c: New file.
15416 * gdb.base/new-ui-pending-input.exp: New file.
15417 * gdb.exp (clear_gdb_spawn_id): New procedure.
15418 (with_spawn_id): Check whether gdb_spawn_id exists before
15419 referencing it. If gdb_spawn_id didn't exist on entry, clear it
15422 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15424 * gdb.base/float128.c: New file.
15425 * gdb.base/float128.exp: Likewise.
15426 * gdb.base/floatn.c: Likewise.
15427 * gdb.base/floatn.exp: Likewise.
15429 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15431 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
15433 2016-09-05 Pedro Alves <palves@redhat.com>
15436 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
15437 unwinders are immediately called as side effect of "source" or
15438 "disable unwinder" commands.
15439 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
15441 2016-09-02 Yao Qi <yao.qi@linaro.org>
15443 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
15444 is true and $type is "float" or "double".
15446 2016-09-02 Yao Qi <yao.qi@linaro.org>
15448 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
15450 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
15451 * gdb.base/call-rt-st.exp: Likewise.
15452 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
15453 return value instead of gdb,skip_float_test.
15454 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
15455 (do_function_calls): Use its return value instead of
15456 gdb,skip_float_test.
15457 * gdb.base/finish.exp: Likewise.
15458 * gdb.base/funcargs.exp: Likewise.
15459 * gdb.base/return.exp: Likewise.
15460 * gdb.base/return2.exp: Likewise.
15461 * gdb.base/varargs.exp: Likewise.
15462 * lib/gdb.exp (gdb_skip_float_test): Change it to
15463 gdb_caching_proc. Detect the broken ptrace on arm-linux.
15465 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15467 * gdb.multi/tids.exp: Test "thread apply all".
15469 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15471 * gdb.base/default.exp (tty): Remove.
15473 2016-08-24 Kevin Buettner <kevinb@redhat.com>
15475 * gdb.python/py-recurse-unwind.c: New file.
15476 * gdb.python/py-recurse-unwind.py: New file.
15477 * gdb.python/py-recurse-unwind.exp: New file.
15479 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
15481 * gdb.base/set-inferior-tty.exp: New file.
15482 * gdb.base/set-inferior-tty.c: New file.
15484 2016-08-23 Pedro Alves <palves@redhat.com>
15487 * gdb.base/new-ui-echo.c: New file.
15488 * gdb.base/new-ui-echo.exp: New file.
15490 2016-08-23 Yao Qi <yao.qi@linaro.org>
15492 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
15494 * gdb.server/connect-without-multi-process.exp (do_test):
15497 2016-08-23 Yao Qi <yao.qi@linaro.org>
15499 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
15500 standalone_txt. Delete gdb_txt and standalone_txt on host
15501 and target. Spawn the binary on target. Copy files from
15504 2016-08-22 Pedro Alves <palves@redhat.com>
15507 * gdb.base/vdso-warning.exp: Test core dumps too. Use
15508 with_test_prefix. Factor out bits to ...
15509 (test_no_vdso): ... this new procedure.
15511 2016-08-19 Carl Love <cel@us.ibm.com>
15513 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
15514 maintaining separate logic for constructing the output path.
15515 * gdb.arch/powerpc-d128-regs.exp: Likewise.
15516 * gdb.arch/ppc-dfp.exp: Likewise.
15517 * gdb.arch/ppc-fp.exp: Likewise.
15518 * gdb.arch/vsx-regs.exp: Likewise.
15519 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
15520 binprefix for generating the additional binary files.
15522 2016-08-19 Pedro Alves <palves@redhat.com>
15524 * gdb.trace/mi-trace-frame-collected.exp
15525 (test_trace_frame_collected): On x32, expect two registers.
15527 2016-08-18 Carl Love <cel@us.ibm.com>
15529 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
15530 and sync up the test with tests in gas/testsuite/gas/ppc.
15531 * gdb.arch/powerpc-power.exp: Likewise.
15533 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15535 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
15536 expected error message.
15538 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
15540 * gdb.multi/remove-inferiors.exp: New file.
15541 * gdb.multi/remove-inferiors.c: New file.
15543 2016-08-12 Yao Qi <yao.qi@linaro.org>
15545 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
15548 2016-08-10 Pedro Alves <palves@redhat.com>
15551 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
15554 2016-08-09 Pedro Alves <palves@redhat.com>
15555 Simon Marchi <simon.marchi@ericsson.com>
15558 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
15559 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
15561 2016-08-09 Pedro Alves <palves@redhat.com>
15564 * gdb.mi/mi-cmd-error.exp: New file.
15566 2016-08-09 Pedro Alves <palves@redhat.com>
15569 * gdb.base/signals-state-child.c: New file.
15570 * gdb.base/signals-state-child.exp: New file.
15571 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
15573 2016-08-09 Pedro Alves <palves@redhat.com>
15575 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
15577 2016-08-03 Tom Tromey <tom@tromey.com>
15580 * gdb.python/py-frame-inline.exp: Add Frame.function test.
15582 2016-08-01 Yao Qi <yao.qi@linaro.org>
15584 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
15585 variable mode to "multi-process" if $multi_process is 1, otherwise
15586 set it to "single-process".
15588 2016-08-01 Yao Qi <yao.qi@linaro.org>
15590 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15591 * gdb.cp/cpexprs.exp: Likewise.
15592 * gdb.cp/m-static.exp: Likewise.
15594 2016-07-26 Tom Tromey <tom@tromey.com>
15597 * gdb.threads/tls.exp (check_thread_local): Add python symbol
15600 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
15602 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
15603 selecting assembly source files.
15604 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
15605 assembly source files.
15606 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
15607 assembly source files.
15608 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
15609 selecting assembly source files.
15611 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
15613 * gdb.base/new-ui.exp (do_test_invalid_args): New
15616 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
15618 * gdb.btrace/reconnect.c: New file.
15619 * gdb.btrace/reconnect.exp: New file.
15621 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
15623 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
15624 to test_catch_syscall_group.
15625 (test_catch_syscall_group): New.
15627 2016-07-21 Tom Tromey <tom@tromey.com>
15629 * gdb.rust/simple.rs (main): Use empty struct expression.
15630 * gdb.rust/simple.exp: Add tests for empty struct expression.
15632 2016-07-21 Yao Qi <yao.qi@linaro.org>
15634 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
15635 if gdb_skip_xml_test is true on some targets.
15637 2016-07-21 Yao Qi <yao.qi@linaro.org>
15639 * gdb.server/solib-list.exp: Unset last_loaded_file.
15641 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
15644 "step into captured_main (args)".
15646 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15648 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
15650 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15652 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
15654 2016-07-19 Pedro Alves <palves@redhat.com>
15656 * gdb.opt/inline-break.exp: Remove optimize=-O2.
15657 * gdb.opt/inline-bt.exp: Likewise.
15658 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
15659 additional_flags=-Winline.
15660 * gdb.opt/inline-locals.exp: Likewise.
15661 * gdb.opt/inline-markers.c (ATTR): Define.
15662 (inlined_fn): Use it.
15664 2016-07-19 Yao Qi <yao.qi@linaro.org>
15666 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
15667 (test_with_self): Remove some code. Remove argument executable.
15668 (top-level): Use do_self_tests.
15670 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
15671 Don Breazeal <donb@codesourcery.com>
15673 * gdb.base/maint.exp: Escape paths used in regular expressions.
15674 * gdb.stabs/weird.exp: Likewise.
15676 2016-07-13 Tom Tromey <tom@tromey.com>
15678 PR python/15620, PR python/18620:
15679 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
15680 (test_bkpt_events): New procs.
15682 2016-07-13 Tom Tromey <tom@tromey.com>
15685 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
15687 (test_watchpoints): Likewise.
15688 (test_bkpt_pending): New proc.
15690 2016-07-13 Tom Tromey <tom@tromey.com>
15693 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15696 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15698 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
15699 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
15700 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
15702 (g): Rename g_end_lbl to g_label.
15703 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
15704 low_pc and high_pc.
15705 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
15707 2016-07-12 Tom Tromey <tom@tromey.com>
15710 * gdb.python/py-unwind-maint.exp: Update tests.
15712 2016-07-12 Yao Qi <yao.qi@linaro.org>
15714 * lib/selftest-support.exp (selftest_setup): Match the output
15715 when captured_main is inlined.
15717 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
15719 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15721 (print this%a, print this%b, print this): New tests.
15722 * gdb.fortran/derived-types.f90 (this): New object and
15725 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15727 * gdb.ada/arraydim.exp: Remove extra directory level in build
15730 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
15732 * lib/ada.exp: Remove extra directory level in build directory.
15733 * gdb.ada/cond_lang.exp: Likewise.
15734 * gdb.ada/exec_changed.exp: Likewise.
15735 * gdb.ada/lang_switch.exp: Likewise.
15737 2016-07-06 Manish Goregaokar <manish@mozilla.com>
15739 * simple.rs: Add test for raw pointer subscripting.
15740 * simple.exp: Add test expectations.
15742 2016-07-05 Yao Qi <yao.qi@linaro.org>
15744 * gdb.mi/mi-reverse.exp: Match =record-started output.
15746 2016-07-01 Pedro Alves <palves@redhat.com>
15748 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15750 (jit_reader_test): Test the jit reader's unwinder.
15751 * gdb.base/jithost.c (jit_function_00_code): New global.
15752 (main): Use memcpy to fill in the mmapped code, instead of poking
15753 bytes manually here.
15754 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15756 (read_debug_info): Save the function's range.
15757 (read_sp): New function.
15758 (unwind_frame): Use it. Also unwind RBP.
15759 (get_frame_id): Use read_sp.
15760 (gdb_init_reader): Use calloc instead of malloc.
15761 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15762 parameter. Use gdb_test_multiple.
15764 2016-07-01 Pedro Alves <palves@redhat.com>
15765 Antoine Tremblay <antoine.tremblay@ericsson.com>
15767 * gdb.threads/process-dies-while-detaching.c: New file.
15768 * gdb.threads/process-dies-while-detaching.exp: New file.
15770 2016-07-01 Pedro Alves <palves@redhat.com>
15772 * gdb.multi/watchpoint-multi-exit.c: New file.
15773 * gdb.multi/watchpoint-multi-exit.exp: New file.
15775 2016-06-30 Pedro Alves <palves@redhat.com>
15777 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15778 unset inferior_spawn_id.
15780 2016-06-30 Pedro Alves <palves@redhat.com>
15782 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15783 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15785 2016-06-29 Yao Qi <yao.qi@linaro.org>
15787 * gdb.base/return.c: Add copyright header.
15789 2016-06-29 Tom Tromey <tom@tromey.com>
15792 * gdb.python/py-framefilter.exp: Add tests for setting priority
15793 and disabling of non-existent frame filter.
15795 2016-06-29 Yao Qi <yao.qi@linaro.org>
15797 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15800 2016-06-28 Yao Qi <yao.qi@linaro.org>
15802 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15803 triplets. Start gdb, execute catch syscall, and continue. Check
15804 gdb's output to determine catch syscall is supported.
15806 2016-06-27 Manish Goregaokar <manish@mozilla.com>
15808 * gdb.rust/simple.rs: Add test for returning unit in a function.
15809 * gdb.rust/simple.exp: Add expectation for functions returning
15812 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15814 * gdb.python/py-breakpoint-create-fail.c,
15815 gdb.python/py-breakpoint-create-fail.exp,
15816 gdb.python/py-breakpoint-create-fail.py: New testcase.
15818 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15821 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15822 * gdb.rust/simple.exp: Add test expectations for new NonZero
15825 2016-06-24 David Taylor <dtaylor@emc.com>
15827 * gdb.base/offsets.exp: New file.
15828 * gdb.base/offsets.c: New file.
15830 2016-06-23 Tom Tromey <tom@tromey.com>
15833 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15834 before any filters are loaded.
15836 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15838 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15839 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15841 * gdb.fortran/derived-type-function.exp: New file.
15842 * gdb.fortran/derived-type-function.f90: New file.
15845 2016-06-21 Pedro Alves <palves@redhat.com>
15847 * gdb.base/new-ui.exp: New file.
15848 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15849 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15850 (with_spawn_id): New procedure.
15852 2016-06-21 Pedro Alves <palves@redhat.com>
15854 * gdb.mi/mi-exec-run.exp: New file.
15856 2016-06-21 Pedro Alves <palves@redhat.com>
15858 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15859 breakpoint command's output on the main UI.
15860 (test_break): New procedure, factored out from calls in the top
15862 (top level): Use foreach_with_prefix to test MI as main UI and as
15865 2016-06-21 Pedro Alves <palves@redhat.com>
15867 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15868 (test_awatch_creation_and_listing)
15869 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15870 Remove 'type' parameter.
15871 (test_watchpoint_all): New parameter mi_mode. Remove
15873 (top level): Use foreach_with_prefix, and add main/separate UI MI
15876 2016-06-21 Pedro Alves <palves@redhat.com>
15878 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15879 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15880 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15881 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15882 (gdb_main_spawn_id, mi_spawn_id): Declare and
15884 (mi_create_inferior_pty): New procedure,
15885 factored out from default_mi_gdb_start.
15886 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15888 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15889 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15890 Use mi_create_inferior_pty.
15891 (mi_gdb_start): Use eval to pass down args list.
15893 2016-06-21 Pedro Alves <palves@redhat.com>
15895 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15896 * gdb.opt/inline-cmds.exp: Add MI tests.
15898 2016-06-21 Pedro Alves <palves@redhat.com>
15900 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15902 2016-06-21 Pedro Alves <palves@redhat.com>
15904 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15905 (top level): Use it instead of mi_execute_to.
15907 2016-06-21 Pedro Alves <palves@redhat.com>
15909 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15910 (cont_handler_str): New.
15911 (signal_stop_handler): Set stop_handler_str instead of printing to
15913 (continue_handler): Set cont_handler_str instead of printing to
15915 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15916 mi_send_resuming_command. Print stop_handler_str and
15917 cont_handler_str instead of expecting the python events print
15920 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15922 * gdb.base/jit-reader.exp: New file.
15923 * gdb.base/jithost.c: New file.
15924 * gdb.base/jithost.h: New file.
15925 * gdb.base/jitreader.c : New file.
15926 * gdb.base/jit-protocol.h: New file.
15928 2016-06-17 Yao Qi <yao.qi@linaro.org>
15930 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15931 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15932 and detach-on-fork. Adjust tests.
15933 (top level): Invoke break_cond_on_syscall with combinations of
15934 syscall, follow-fork-mode and detach-on-fork.
15936 2016-06-17 Yao Qi <yao.qi@linaro.org>
15938 * gdb.base/step-over-exit.c: New.
15939 * gdb.base/step-over-exit.exp: New.
15941 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15943 * gdb.base/float.exp: Add target check for nds32*-*-*.
15944 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15946 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15948 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15949 for unsupported target features.
15950 * gdb.base/call-rt-st.exp: Likewise.
15951 * gdb.base/call-sc.exp: Likewise.
15952 * gdb.base/call-signal-resume.exp: Likewise.
15953 * gdb.base/call-strs.exp: Likewise.
15954 * gdb.base/callexit.exp: Likewise.
15955 * gdb.base/callfuncs.exp: Likewise.
15956 * gdb.base/nodebug.exp: Likewise.
15957 * gdb.base/printcmds.exp: Likewise.
15958 * gdb.base/ptype.exp: Likewise.
15959 * gdb.base/structs.exp: Likewise.
15960 * gdb.base/unwindonsignal.exp: Likewise.
15961 * gdb.cp/gdb2495.exp: Likewise.
15962 * gdb.cp/templates.exp: Likewise.
15963 * gdb.cp/virtfunc.exp: Likewise.
15964 * gdb.threads/hand-call-in-threads.exp: Likewise.
15965 * gdb.threads/interrupted-hand-call.exp: Likewise.
15966 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15968 2016-06-10 Tom Tromey <tom@tromey.com>
15971 * gdb.rust/expr.exp: Add test for integer constant larger than
15974 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15976 * gdb.fortran/nested-funcs.exp: New.
15977 * gdb.fortran/nested-funcs.f90: New.
15979 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15981 * gdb.base/examine-backward.c: New file.
15982 * gdb.base/examine-backward.exp: New file.
15984 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15986 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15989 2016-06-02 Tom Tromey <tom@tromey.com>
15992 * gdb.python/py-shared.exp: Add solib_name test.
15994 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15996 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15998 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
16001 * gdb.dwarf2/implref.exp: Rename to...
16002 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
16003 * gdb.dwarf2/implref-array.c: New file.
16004 * gdb.dwarf2/implref-array.exp: Likewise.
16005 * gdb.dwarf2/implref-global.c: Likewise.
16006 * gdb.dwarf2/implref-global.exp: Likewise.
16007 * gdb.dwarf2/implref-struct.c: Likewise.
16008 * gdb.dwarf2/implref-struct.exp: Likewise.
16010 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16012 * gdb.trace/trace-condition.exp: Add 64bit tests.
16014 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16016 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
16018 (main): Adapt to 8 to 64 bits types.
16019 * gdb.trace/trace-condition.exp: Add new tests.
16021 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16023 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
16025 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16027 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
16028 Move condition tests...
16029 * gdb.trace/trace-condition.exp: Here.
16031 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
16033 * gdb.trace/trace-condition.exp: Add counter-case tests.
16035 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16038 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
16039 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
16041 2016-05-27 Pedro Alves <palves@redhat.com>
16043 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
16045 (top level): Call it, and bail out of DejaGnu is known to be bad.
16047 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
16049 * gdb.base/whatis.c: Extend the test case.
16050 * gdb.base/whatis.exp: Add additional tests.
16052 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16054 * gdb.fortran/type.f90: Add pointer variable.
16055 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
16057 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16059 * gdb.fortran/vla-type.exp: Fix testcase name.
16061 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16063 * gdb.fortran/vla-type.exp: Access elements in nested structs.
16065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16067 * gdb.fortran/type.f90: Add nested structures.
16068 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
16069 * gdb.fortran/derived-type.exp: Adapt expected output.
16070 * gdb.fortran/vla-type.exp: Adapt expected output.
16072 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16074 * gdb.fortran/whatis_type.exp: Adapt expected output.
16076 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16078 * gdb.fortran/print_type.exp: Fix expected output.
16079 * gdb.fortran/whatis_type.exp: Fix expected output.
16081 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
16083 * gdb.fortran/whatis_type.exp: Use multi_line.
16085 2016-05-24 Tom Tromey <tom@tromey.com>
16088 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
16089 use value as an index.
16091 2016-05-23 Tom Tromey <tom@tromey.com>
16094 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
16095 no-breakpoint case.
16097 2016-05-24 Pedro Alves <palves@redhat.com>
16100 * gdb.threads/clone-attach-detach.c: New file.
16101 * gdb.threads/clone-attach-detach.exp: New file.
16103 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
16105 * gdb.base/annota-input-while-running.exp: Fix syntax error.
16107 2016-05-23 Tom Tromey <tom@tromey.com>
16109 PR python/19438, PR python/18393:
16110 * gdb.python/py-progspace.exp: Add "dir" test.
16111 * gdb.python/py-objfile.exp: Add "dir" test.
16113 2016-05-23 Yao Qi <yao.qi@linaro.org>
16115 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
16116 * gdb.arch/thumb2-it.exp: Likewise.
16118 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
16120 * gdb.mi/mi-threads-interrupt.c: New file.
16121 * gdb.mi/mi-threads-interrupt.exp: New file.
16123 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
16126 * gdb.mi/mi-async-run.exp: New file.
16127 * gdb.mi/mi-async-run.c: New file.
16129 2016-05-17 Tom Tromey <tom@tromey.com>
16130 Manish Goregaokar <manishsmail@gmail.com>
16132 * lib/rust-support.exp: New file.
16133 * lib/gdb.exp (skip_rust_tests): New proc.
16134 (build_executable_from_specs): Handle rust.
16135 * lib/future.exp (gdb_find_rustc): New proc.
16136 (gdb_default_target_compile): Handle rust.
16137 * gdb.rust/expr.exp: New file.
16138 * gdb.rust/generics.exp: New file.
16139 * gdb.rust/generics.rs: New file.
16140 * gdb.rust/methods.exp: New file.
16141 * gdb.rust/methods.rs: New file.
16142 * gdb.rust/modules.exp: New file.
16143 * gdb.rust/modules.rs: New file.
16144 * gdb.rust/simple.exp: New file.
16145 * gdb.rust/simple.rs: New file.
16147 2016-05-17 Tom Tromey <tom@tromey.com>
16149 * gdb.base/default.exp (set language): Add rust.
16151 2016-05-17 Tom Tromey <tom@tromey.com>
16153 * gdb.gdb/unittest.exp: New file.
16155 2016-05-16 Yao Qi <yao.qi@linaro.org>
16157 * gdb.base/batch-preserve-term-settings.exp: Remove variable
16158 shell_prompt. Update shell_prompt_re.
16160 2016-05-12 Doug Evans <dje@google.com>
16163 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
16164 $options when building executable.
16165 * gdb.dwarf2/fission-loclists-pie.S: New file.
16166 * gdb.dwarf2/fission-loclists-pie.exp: New file.
16168 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16170 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
16171 of [is_remote target],
16173 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
16175 * lib/gdb.exp (use_gdb_stub): New procedure.
16177 2016-05-03 Yunlian Jiang <yunlian@google.com>
16178 Doug Evans <dje@google.com>
16181 * gdb.dwarf2/dwp-sepdebug.c: New file.
16182 * gdb.dwarf2/dwp-sepdebug.exp: New file.
16184 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16186 * gdb.base/detach.exp: Remove is_remote check.
16188 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
16190 * gdb.base/annota-input-while-running.exp: Don't check for
16191 [is_remote target]. Enable annotations after running to main.
16192 Remove unused "set test..." line.
16194 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16196 * gdb.trace/trace-enable-disable.exp: New file.
16197 * gdb.trace/trace-enable-disable.c: New file.
16199 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
16201 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
16202 use it in info sharedlibrary test.
16203 * gdb.trace/ftrace-lock.exp: Likewise.
16204 * gdb.trace/ftrace.exp: Likewise.
16205 * gdb.trace/range-stepping.exp: Likewise.
16206 * gdb.trace/trace-break.exp: Likewise.
16207 * gdb.trace/trace-condition.exp: Likewise.
16208 * gdb.trace/trace-mt.exp: Likewise.
16210 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16212 * lib/gdb.exp (gdb_load_shlibs): Rename to...
16213 (gdb_load_shlib): ... this.
16214 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
16216 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
16217 * gdb.base/ctxobj.exp: Likewise.
16218 * gdb.base/dprintf-pending.exp: Likewise.
16219 * gdb.base/dso2dso.exp: Likewise.
16220 * gdb.base/fixsection.exp: Likewise.
16221 * gdb.base/gcore-relro.exp: Likewise.
16222 * gdb.base/gdb1555.exp: Likewise.
16223 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16224 * gdb.base/gnu-ifunc.exp: Likewise.
16225 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
16226 * gdb.base/jit-so.exp (one_jit_test): Likewise.
16227 * gdb.base/pending.exp: Likewise.
16228 * gdb.base/print-file-var.exp: Likewise.
16229 * gdb.base/print-symbol-loading.exp: Likewise.
16230 * gdb.base/shlib-call.exp: Likewise.
16231 * gdb.base/shreloc.exp: Likewise.
16232 * gdb.base/so-impl-ld.exp: Likewise.
16233 * gdb.base/solib-disc.exp: Likewise.
16234 * gdb.base/solib-nodir.exp: Likewise.
16235 * gdb.base/solib-overlap.exp: Likewise.
16236 * gdb.base/solib-symbol.exp: Likewise.
16237 * gdb.base/solib-weak.exp (do_test): Likewise.
16238 * gdb.base/sym-file.exp: Likewise.
16239 * gdb.base/symtab-search-order.exp: Likewise.
16240 * gdb.base/type-opaque.exp: Likewise.
16241 * gdb.base/unload.exp: Likewise.
16242 * gdb.base/watchpoint-solib.exp: Likewise.
16243 * gdb.compile/compile.exp: Likewise.
16244 * gdb.cp/gdb2384.exp: Likewise.
16245 * gdb.cp/infcall-dlopen.exp: Likewise.
16246 * gdb.cp/re-set-overloaded.exp: Likewise.
16247 * gdb.fortran/library-module.exp: Likewise.
16248 * gdb.opt/solib-intra-step.exp: Likewise.
16249 * gdb.python/py-finish-breakpoint.exp: Likewise.
16250 * gdb.python/py-shared.exp: Likewise.
16251 * gdb.reverse/solib-precsave.exp: Likewise.
16252 * gdb.reverse/solib-reverse.exp: Likewise.
16253 * gdb.server/solib-list.exp: Likewise.
16254 * gdb.threads/dlopen-libpthread.exp: Likewise.
16255 * gdb.threads/tls-shared.exp: Likewise.
16256 * gdb.threads/tls-so_extern.exp: Likewise.
16257 * gdb.trace/change-loc.exp: Likewise.
16258 * gdb.trace/ftrace-lock.exp: Likewise.
16259 * gdb.trace/ftrace.exp: Likewise.
16260 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
16261 * gdb.trace/pending.exp: Likewise.
16262 * gdb.trace/range-stepping.exp: Likewise.
16263 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
16264 (strace_info_marker): Likewise.
16265 (strace_probe_marker): Likewise.
16266 (strace_trace_on_same_addr): Likewise.
16267 (strace_trace_on_diff_addr): Likewise.
16268 * gdb.trace/trace-break.exp: Likewise.
16269 * gdb.trace/trace-condition.exp: Likewise.
16270 * gdb.trace/trace-mt.exp: Likewise.
16272 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
16274 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
16275 result of gdb_remote_download.
16276 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
16277 * gdb.base/dso2dso.exp: Likewise.
16278 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16279 * gdb.base/print-file-var.exp: Likewise.
16280 * gdb.base/shlib-call.exp: Likewise.
16281 * gdb.base/shreloc.exp: Likewise.
16282 * gdb.base/solib-overlap.exp: Likewise.
16283 * gdb.base/solib-weak.exp (do_test): Likewise.
16284 * gdb.base/unload.exp: Likewise.
16286 2016-04-27 Yao Qi <yao.qi@linaro.org>
16288 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
16291 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16293 * vla-type.exp: Print structure from toplevel.
16295 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16297 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
16299 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
16302 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
16304 * gdb.fortran/vla-type.f90: New file.
16305 * gdb.fortran/vla-type.exp: New file.
16307 2016-04-25 Yao Qi <yao.qi@linaro.org>
16309 * gdb.base/branch-to-self.c: New file.
16310 * gdb.base/branch-to-self.exp: New file.
16312 2016-04-22 Yao Qi <yao.qi@linaro.org>
16314 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
16317 2016-04-22 Yao Qi <yao.qi@linaro.org>
16319 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
16320 * gdb.base/annota3.exp: Likewise.
16322 2016-04-22 Yao Qi <yao.qi@linaro.org>
16324 * gdb.reverse/step-precsave.exp: Do one step and test program
16325 stops in "callee" and do multiple steps until program goes out
16327 * gdb.reverse/step-reverse.exp: Likewise.
16329 2016-04-22 Yao Qi <yao.qi@linaro.org>
16331 * gdb.trace/signal.exp: Also pass if
16332 $tracepoint_hits($i) > $iterations.
16334 2016-04-22 Yao Qi <yao.qi@linaro.org>
16336 * gdb.trace/signal.c: New file.
16337 * gdb.trace/signal.exp: New file.
16339 2016-04-19 Doug Evans <xdje42@gmail.com>
16341 * gdb.base/bad-file.exp: New file.
16343 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
16345 * gdb.dwarf2/implref.exp: New file.
16347 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16349 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
16350 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
16351 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
16352 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
16353 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
16354 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
16355 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
16356 * lib/fortran.exp (fortran_int4): New procedure.
16357 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
16358 (fortran_logical4): Likewise.
16360 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
16362 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
16364 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
16366 * lib/compiler.c: Add Intel specific preprocessor macros.
16367 * lib/compiler.cc: Likewise.
16369 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
16371 * gdb.server/connect-with-no-symbol-file.c: New file.
16372 * gdb.server/connect-with-no-symbol-file.exp: New file.
16374 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16376 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
16378 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
16380 * boards/gdbserver-base.exp (${board}_download): Copy source file to
16381 standard output directory.
16383 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
16385 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
16387 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
16389 * gdb.btrace/instruction_history.c (loop): Add declaration.
16391 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16393 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
16395 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
16397 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
16398 parentheses to print.
16399 (continue_handler): Likewise.
16401 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
16403 * gdb.server/solib-list.exp: Remove is_remote check.
16404 Pass shlib= to gdb_compile. Don't link shared library with
16405 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
16406 Run binary filename through "readlink -f" on the target.
16408 2016-04-08 Pedro Alves <palves@redhat.com>
16410 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
16411 interpreter filename as argument to gdbserver_spawn.
16412 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16413 Return empty if $last_loaded_file does not exist.
16415 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16417 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
16418 * gdb.base/jit-main.c: Use exit after usage.
16420 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16422 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
16423 GDBHISTSIZE prior to the tests.
16424 * gdb.base/gdbinit-history.exp: Likewise.
16426 2016-04-07 Pedro Alves <palves@redhat.com>
16428 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
16429 instead of build_executable. Use gdb_load_shlibs.
16431 2016-04-07 Yao Qi <yao.qi@linaro.org>
16433 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
16434 Execute "si" command.
16436 2016-04-07 Yao Qi <yao.qi@linaro.org>
16438 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
16439 number instead of the comments on some line.
16441 2016-04-06 Don Breazeal <donb@codesourcery.com>
16443 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
16444 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
16446 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
16448 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
16449 standard_output_file. Remove unused binfile variable.
16451 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
16453 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
16454 * gdb.python/py-mi-objfile.exp: Match "list main" output
16457 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
16459 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
16462 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16464 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16466 * gdb.trace/ftrace.exp: Likewise.
16467 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
16469 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
16470 (gdb_load_shlibs): Copy libraries to test directory when testing
16471 natively. Only set solib-search-path if testing remotely.
16472 * lib/mi-support.exp (mi_load_shlibs): Likewise.
16474 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
16476 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16477 gdb_download. Use it even if the target is not remote.
16478 * gdb.base/jit.exp (compile_jit_test): Likewise.
16479 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
16480 output directory if the destination board is local, otherwise use
16481 the standard remote_download from DejaGnu.
16482 (gdb_download): Remove.
16483 (gdb_load_shlibs): Use gdb_remote_download instead of
16485 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
16486 Use gdb_remote_download instead of gdb_download. Use it even if
16487 the target is not remote.
16488 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
16489 instead of gdb_download.
16491 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
16493 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
16494 (test_insert_delete_modify): Call mi_load_shlibs before trying to
16497 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
16500 * gdb.base/printcmds.exp: Add artificial arrays tests.
16502 2016-03-31 Pedro Alves <palves@redhat.com>
16505 * gdb.base/jit-main.c: Include unistd.h.
16506 (ATTACH): Define to 0 if not already defined.
16507 (wait_for_gdb, mypid): New globals.
16508 (WAIT_FOR_GDB): New macro.
16509 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
16510 some breakpoint locations.
16511 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
16513 (one_jit_test): Add REATTACH parameter, and handle it. Use
16514 continue_to_test_location.
16515 (top level): Test attach, and adjusts calls to one_jit_test.
16517 2016-03-31 Pedro Alves <palves@redhat.com>
16520 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
16521 BINSUFFIX parameter, and handle it.
16522 (top level): Adjust calls compile_jit_test.
16524 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
16527 * gdb.python/py-mi-events-gdb.py: New file.
16528 * gdb.python/py-mi-events.c: New file.
16529 * gdb.python/py-mi-events.exp: New file.
16531 2016-03-30 Yao Qi <yao.qi@linaro.org>
16533 * gdb.reverse/until-precsave.exp: Match function name only.
16534 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
16535 Move malloc to a condition block.
16536 * gdb.reverse/until-reverse.exp: Match function name only.
16538 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
16540 * gdb.trace/ftrace.exp: Set arg0exp for s390.
16541 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
16542 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
16543 variable for GPR 0 instead of assuming it is register 0.
16544 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
16545 * lib/trace-support.exp: Add s390 registers.
16547 2016-03-29 Yao Qi <yao.qi@linaro.org>
16549 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
16551 2016-03-24 Yao Qi <yao.qi@linaro.org>
16553 * gdb.reverse/break-reverse.exp: Add quotation mark in the
16556 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16558 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
16559 maintaining separate logic for constructing the output path.
16561 2016-03-16 Don Breazeal <donb@codesourcery.com>
16563 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
16564 Retry fork and waitpid on interrupted system call errors.
16565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16566 Use with_timeout_factor to increase timeout by factor of 10.
16568 2016-03-15 Don Breazeal <donb@codesourcery.com>
16570 * gdb.cp/scope-err.cc: New test program.
16571 * gdb.cp/scope-err.exp: New test script.
16572 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
16573 lines and "set breakpoint here" comment.
16574 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
16575 Fixed some whitespace and format issues.
16576 * gdb.mi/mi-linespec-err-cp.cc: New test program.
16577 * gdb.mi/mi-linespec-err-cp.exp: New test script.
16579 2016-03-15 Doug Evans <dje@google.com>
16581 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
16582 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
16583 All callers updated. Add tests for enums, mixed flags register.
16585 2016-03-15 Doug Evans <dje@google.com>
16587 * gdb.base/skip.c (main): Call test_skip_file_and_function.
16588 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
16590 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
16592 * gdb.base/default.exp: Add $_as_string to the list of expected
16593 convenience functions.
16595 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
16597 * gdb.base/maint.exp: New tests for 'maint info line-table'.
16599 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16601 * gdb.python/py-as-string.exp: New file.
16602 * gdb.python/py-as-string.c: New file.
16604 2016-03-09 Pedro Alves <palves@redhat.com>
16606 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
16607 signal" -> "Thread NN received signal" output change.
16608 * gdb.threads/ia64-sigill.exp: Likewise.
16609 * gdb.threads/linux-dp.exp: Likewise.
16610 * gdb.threads/manythreads.exp: Likewise.
16611 * gdb.threads/pending-step.exp: Likewise.
16612 * gdb.threads/print-threads.exp: Likewise.
16613 * gdb.threads/sigstep-threads.exp: Likewise.
16614 * gdb.threads/staticthreads.exp: Likewise.
16615 * gdb.threads/tls.exp: Likewise.
16617 2016-03-09 Pedro Alves <palves@redhat.com>
16619 * gdb.base/command-line-input.exp: New file.
16621 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16623 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
16624 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
16625 * gdb.trace/pending.exp: Accept leading dot before function name.
16626 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
16627 * lib/trace-support.exp: Set registers for ppc.
16629 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16631 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
16632 use it for disassembly; accept .main in addition to main in backtrace.
16634 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
16635 Marcin Kościelnicki <koriakin@0x04.net>
16637 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
16638 (gdb_recursion_test_ptr): New global variable.
16639 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
16640 gdb_recursion_test.
16641 (gdb_c_test): Ditto.
16643 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16645 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
16648 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
16650 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
16651 (bar): Add bar_start_lbl label.
16652 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
16653 of foo/bar for emitting DWARF and tracing.
16655 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
16657 * analyze-racy-logs.py: Set executable bit.
16659 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
16661 * Makefile.in (DEFAULT_RACY_ITER): New variable.
16662 (CHECK_TARGET_TMP): Likewise.
16663 (check-single-racy): New rule.
16664 (check-parallel-racy): Likewise.
16665 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
16666 (do-check-parallel-racy): New rule.
16667 (check-racy/%.exp): Likewise.
16668 * README (Racy testcases): New section.
16669 * analyze-racy-logs.py: New file.
16671 2016-03-03 Doug Evans <dje@google.com>
16673 * gdb.base/skip.exp: Use with_test_prefix.
16675 2016-03-03 Yao Qi <yao.qi@linaro.org>
16677 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
16678 Invoke step_over_syscall "clone" and break_cond_on_syscall
16680 * gdb.base/step-over-clone.c: New file.
16682 2016-03-03 Yao Qi <yao.qi@linaro.org>
16684 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
16687 2016-03-03 Yao Qi <yao.qi@linaro.org>
16689 * gdb.base/disp-step-fork.c: Rename to ...
16690 * gdb.base/step-over-fork.c: ... it. New file.
16691 * gdb.base/disp-step-vfork.c: Rename to ...
16692 * gdb.base/step-over-vfork.c: ... it. New file.
16693 * gdb.base/disp-step-syscall.exp: Rename to ...
16694 * gdb.base/step-over-syscall.exp: ... it. New file.
16695 (disp_step_cross_syscall): Rename to ...
16696 (step_over_syscall): ... it.
16698 2016-03-03 Yao Qi <yao.qi@linaro.org>
16700 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
16701 If target supports condition evaluation on target, invoke
16702 break_cond_on_syscall for fork and vfork.
16704 2016-03-03 Yao Qi <yao.qi@linaro.org>
16706 * gdb.base/disp-step-syscall.exp: Don't invoke
16707 support_displaced_stepping.
16708 (disp_step_cross_syscall): Test with displaced stepping off and
16711 2016-03-03 Yao Qi <yao.qi@linaro.org>
16713 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
16716 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
16719 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16721 * gdb.fortran/vla-history.exp: Remove breakpoint.
16723 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16725 * gdb.fortran/vla-history.exp: Lookup array elements and printing
16728 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16730 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
16733 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
16735 * gdb.mi/vla.f90: Nullify pointer after declaration.
16737 2016-03-01 Pedro Alves <palves@redhat.com>
16739 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
16741 2016-03-01 Pedro Alves <palves@redhat.com>
16743 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16744 before anything else.
16745 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
16747 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16748 before anything else.
16749 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16751 2016-03-01 Pedro Alves <palves@redhat.com>
16753 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16755 2016-03-01 Yao Qi <yao.qi@linaro.org>
16757 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16758 prepare_for_testing.
16760 2016-03-01 Yao Qi <yao.qi@linaro.org>
16762 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16764 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16766 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16767 manually constructing the output path.
16769 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16771 * gdb.arch/s390-stackless.S: New.
16772 * gdb.arch/s390-stackless.exp: New.
16774 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16776 * gdb.dlang/circular.c: New file.
16777 * gdb.dlang/circular.exp: New file.
16779 2016-02-26 Yao Qi <yao.qi@linaro.org>
16781 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16782 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16783 (testcases): Update.
16785 2016-02-26 Yao Qi <yao.qi@linaro.org>
16787 * gdb.reverse/aarch64.c: Rename to ...
16788 * gdb.reverse/insn-reverse.c: ... it.
16789 * gdb.reverse/aarch64.exp: Rename to ...
16790 * gdb.reverse/insn-reverse.exp: ... it.
16792 2016-02-26 Yao Qi <yao.qi@linaro.org>
16794 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16795 (testcase_ftype): New.
16796 (testcases): New array.
16797 (n_testcases): New.
16798 (main): Call each element in testcases.
16799 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16800 (read_testcase): New.
16801 Do the tests in a loop.
16803 2016-02-25 Yao Qi <yao.qi@linaro.org>
16805 * gdb.base/branches.c: Remove.
16807 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16810 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16812 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16814 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16816 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16818 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16819 change x86_64 call_insn to 'callq'.
16821 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16823 * gdb.trace/tfile-avx.c: Move to...
16824 * gdb.trace/tracefile-pseudo-reg.c: Here.
16825 * gdb.trace/tfile-avx.exp: Move to...
16826 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16828 2016-02-24 Gary Benson <gbenson@redhat.com>
16830 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16833 2016-02-23 Doug Evans <dje@google.com>
16835 * gdb.base/skip.c (test_skip): New function.
16836 (end_test_skip_file_and_function): New function.
16837 (test_skip_file_and_function): New function.
16838 * gdb.base/skip1.c (test_skip): New function.
16839 (skip1_test_skip_file_and_function): New function.
16840 * gdb.base/skip.exp: Add tests for new skip options.
16841 * gdb.base/skip-solib.exp: Update expected output.
16842 * gdb.perf/skip-command.cc: New file.
16843 * gdb.perf/skip-command.exp: New file.
16844 * gdb.perf/skip-command.py: New file.
16846 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16848 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16849 info registers pattern.
16851 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16853 * lib/future.exp: Add D support.
16854 (gdb_find_gdc): New proc.
16855 (gdb_default_target_compile): Add D support.
16857 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
16859 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16861 (trace_speed_test): Determine the iteration count for a time
16862 between 15..30 seconds.
16864 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16866 * gdb.arch/i386-mpx-sigsegv.c: New file.
16867 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16868 * gdb.arch/i386-mpx-simple_segv.c: New file.
16869 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16871 2016-02-18 Yao Qi <yao.qi@linaro.org>
16873 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16874 Don't call setup_kfail.
16876 2016-02-18 Yao Qi <yao.qi@linaro.org>
16878 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16879 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16881 2016-02-16 Doug Evans <dje@google.com>
16883 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16884 * gdb.base/skip1.c: Ditto.
16885 * gdb.base/skip.exp: Whitespace cleanup.
16887 2016-02-16 Don Breazeal <donb@codesourcery.com>
16890 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16891 Remove kfail for PR remote/19496.
16893 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16895 * lib/gdb.exp (standard_temp_file): Return a path specific to
16896 the runtest invocation.
16898 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16900 * gdb.trace/save-trace.exp: Change relative path to be in the
16901 standard output directory.
16903 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16905 * gdb.arch/i386-prologue.c: Add missing prototypes.
16907 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16909 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16910 * gdb.arch/i386-prologue.exp: Likewise.
16911 * gdb.arch/i386-size.exp: Likewise.
16913 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16915 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16916 define object file path.
16917 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16919 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16920 standard_output_file to define binfile.
16922 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16924 Fix compatibility with recent gfortran-5.3.1.
16925 * gdb.fortran/vla-history.exp (print vla1 allocated)
16926 (print vla2 allocated, print $2, print $3): Remove
16927 (print $4): Rename to ...
16928 (print $2): ... here.
16929 (print $9): Rename to ...
16930 (print $5): ... here.
16931 (print $10): Rename to ...
16932 (print $6): ... here.
16933 * gdb.fortran/vla.f90: Add pvla initialization.
16935 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16937 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16939 * gdb.fortran/vla-value-sub.exp: Likewise.
16941 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16943 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16945 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16947 * i386-biarch-core.exp: Define corefile using
16948 standard_output_file.
16950 2016-02-12 Yao Qi <yao.qi@linaro.org>
16952 * gdb.arch/arm-single-step-kernel-helper.c: New.
16953 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16955 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16957 * gdb.btrace/tailcall-only.exp: New.
16958 * gdb.btrace/tailcall-only.c: New.
16959 * gdb.btrace/x86_64-tailcall-only.S: New.
16960 * gdb.btrace/i686-tailcall-only.S: New.
16962 2016-02-11 Pedro Alves <palves@redhat.com>
16964 * README (Parallel testing): Add missing double quotes.
16966 2016-02-11 Pedro Alves <palves@redhat.com>
16968 * README (Parallel testing): New section.
16969 (GDB_PARALLEL): Rewrite.
16970 (FORCE_PARALLEL): Document.
16972 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16974 * gdb.trace/tfile-avx.c: New test.
16975 * gdb.trace/tfile-avx.exp: New test.
16977 2016-02-09 Keith Seitz <keiths@redhat.com>
16979 PR breakpoints/19546
16980 * gdb.base/infcall-exec.c: New file.
16981 * gdb.base/infcall-exec2.c: New file.
16982 * gdb.base/infcall-exec.exp: New file.
16984 2016-02-09 Keith Seitz <keiths@redhat.com>
16986 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16987 (toplevel): Call test_bkpt_address.
16989 2016-02-09 Keith Seitz <keiths@redhat.com>
16992 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16993 (toplevel): Call test_bkpt_address.
16995 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16997 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16999 * configure: Regenerate.
17001 2016-02-09 Pedro Alves <palves@redhat.com>
17003 PR breakpoints/19548
17004 * gdb.base/execl-update-breakpoints.c (some_function): New
17007 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
17008 Tighten expected GDB output.
17010 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17012 * Makefile.in (ALL_SUBDIRS): Remove.
17013 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
17014 (distclean maintainer-clean realclean): Likewise.
17015 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
17016 * configure: Regenerate.
17017 * gdb.ada/Makefile.in: Delete.
17018 * gdb.arch/Makefile.in: Likewise.
17019 * gdb.asm/Makefile.in: Likewise.
17020 * gdb.base/Makefile.in: Likewise.
17021 * gdb.btrace/Makefile.in: Likewise.
17022 * gdb.cell/Makefile.in: Likewise.
17023 * gdb.compile/Makefile.in: Likewise.
17024 * gdb.cp/Makefile.in: Likewise.
17025 * gdb.disasm/Makefile.in: Likewise.
17026 * gdb.dlang/Makefile.in: Likewise.
17027 * gdb.dwarf2/Makefile.in: Likewise.
17028 * gdb.fortran/Makefile.in: Likewise.
17029 * gdb.gdb/Makefile.in: Likewise.
17030 * gdb.go/Makefile.in: Likewise.
17031 * gdb.guile/Makefile.in: Likewise.
17032 * gdb.java/Makefile.in: Likewise.
17033 * gdb.linespec/Makefile.in: Likewise.
17034 * gdb.mi/Makefile.in: Likewise.
17035 * gdb.modula2/Makefile.in: Likewise.
17036 * gdb.multi/Makefile.in: Likewise.
17037 * gdb.objc/Makefile.in: Likewise.
17038 * gdb.opencl/Makefile.in: Likewise.
17039 * gdb.opt/Makefile.in: Likewise.
17040 * gdb.pascal/Makefile.in: Likewise.
17041 * gdb.perf/Makefile.in: Likewise.
17042 * gdb.python/Makefile.in: Likewise.
17043 * gdb.reverse/Makefile.in: Likewise.
17044 * gdb.server/Makefile.in: Likewise.
17045 * gdb.stabs/Makefile.in: Likewise.
17046 * gdb.threads/Makefile.in: Likewise.
17047 * gdb.trace/Makefile.in: Likewise.
17048 * gdb.xml/Makefile.in: Likewise.
17049 * lib/gdb.exp (make_gdb_parallel_path): Add check for
17051 (standard_output_file): Remove check for GDB_PARALLEL, always
17052 return path in outputs/$subdir/$testname.
17054 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
17056 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
17057 (site.exp): Assign abs_srcdir to tcl's srcdir.
17059 2016-02-04 Yao Qi <yao.qi@linaro.org>
17061 * gdb.base/foll-exec-mode.c: Include limits.h.
17062 (main): Add parameters argc and argv. Get directory from
17064 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
17066 * gdb.base/foll-exec.c: Include limits.h.
17067 (main): Add parameters argc and argv.
17068 Get directory from argv[0].
17069 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
17070 Adjust tests on the number of lines as source code changed.
17071 * gdb.base/foll-vfork-exit.c: Include limits.h.
17072 (main): Add one line of statement before vfork.
17073 * gdb.base/foll-vfork.c: Include limits.h and string.h.
17074 (main): Add parameters argc and argv. Get directory from
17076 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
17077 (setup_gdb): Set tbreak to skip some source lines.
17078 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
17079 (main): Add parameters argc and argv. Get directory from
17081 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
17083 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
17084 (main): Add parameters argc and argv. Get directory from
17086 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
17089 2016-02-01 Doug Evans <dje@google.com>
17091 * gdb.base/skip.exp: Clean up multiple references to same test name.
17093 2016-02-01 Pedro Alves <palves@redhat.com>
17096 * gdb.threads/forking-threads-plus-breakpoint.exp
17097 (displaced_stepping_supported): New global.
17098 (probe_displaced_stepping_support): New procedure.
17099 (do_test): Add 'displaced' parameter, and use it.
17100 (top level): Check for displaced stepping support. Add displaced
17101 stepping on/off testing axis.
17103 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17105 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
17106 pointer. Don't perform further tests on the unassociated pointer
17107 if the first test fails.
17109 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
17111 * gdb.base/max-value-size.c: New file.
17112 * gdb.base/max-value-size.exp: New file.
17113 * gdb.base/huge.exp: Disable max-value-size for this test.
17115 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
17117 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17119 2016-01-28 Yao Qi <yao.qi@linaro.org>
17121 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
17123 2016-01-25 Pedro Alves <palves@redhat.com>
17126 * gdb.base/fork-running-state.c: New file.
17127 * gdb.base/fork-running-state.exp: New file.
17129 2016-01-25 Pedro Alves <palves@redhat.com>
17132 * gdb.base/catch-fork-kill.c: New file.
17133 * gdb.base/catch-fork-kill.exp: New file.
17135 2016-01-25 Pedro Alves <palves@redhat.com>
17137 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
17138 Delete, moved to lib/gdb.exp.
17139 * gdb.threads/forking-threads-plus-breakpoint.exp
17140 (foreach_with_prefix): Likewise.
17141 * gdb.threads/process-dies-while-handling-bp.exp
17142 (foreach_with_prefix): Likewise.
17143 * lib/gdb.exp (foreach_with_prefix): New procedure.
17145 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
17147 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
17148 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
17150 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
17152 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
17155 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17156 Pedro Alves <palves@redhat.com>
17158 Fix testsuite compatibility with Guile.
17159 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
17162 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17164 Fix testsuite compatibility with Guile.
17165 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
17166 (thread 1): New test for backtrace through signal handler.
17168 2016-01-22 Yao Qi <yao.qi@linaro.org>
17171 * gdb.base/multi-forks.c: Include
17172 ../lib/unbuffer_output.c
17173 (main): Call gdb_unbuffer_output.
17175 2016-01-21 Doug Evans <dje@google.com>
17177 * lib/ada.exp (gdb_compile_ada): Fix typo.
17179 2016-01-21 Joel Brobecker <brobecker@adacore.com>
17181 * gdb.base/break-fun-addr.exp: New file.
17182 * gdb.base/break-fun-addr1.c: New file.
17183 * gdb.base/break-fun-addr2.c: New file.
17185 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
17187 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
17188 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
17191 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17193 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
17194 when GDB can not set the vector return value. Add more comments
17197 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
17199 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
17202 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17204 * Makefile.in (DO_RUNTEST): Add --status and update usages.
17206 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17208 * Makefile.in (check-single): Pass --status to runtest.
17209 (check/%.exp): Likewise.
17211 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
17213 * Makefile.in (check-parallel): Propagate return code from make
17216 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
17218 * gdb.trace/ftrace.exp: Fix expected message on continue.
17219 * gdb.trace/pending.exp: Fix expected message on continue.
17220 * gdb.trace/trace-break.exp: Fix expected message on continue.
17222 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
17224 * lib/gdb.exp (gdb_test): Remove unused global references.
17226 2016-01-18 Pedro Alves <palves@redhat.com>
17228 * gdb.base/async-shell.exp: Adjust expected output.
17229 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
17230 * gdb.base/siginfo-thread.exp: Adjust expected output.
17231 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
17232 * gdb.java/jnpe.exp: Adjust expected output.
17233 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
17234 * gdb.threads/continue-pending-status.exp: Adjust expected output.
17235 * gdb.threads/leader-exit.exp: Adjust expected output.
17236 * gdb.threads/manythreads.exp: Adjust expected output.
17237 * gdb.threads/pthreads.exp: Adjust expected output.
17238 * gdb.threads/schedlock.exp: Adjust expected output.
17239 * gdb.threads/siginfo-threads.exp: Adjust expected output.
17240 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
17242 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
17244 * gdb.threads/sigthread.exp: Adjust expected output.
17245 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
17247 2016-01-18 Yao Qi <yao.qi@linaro.org>
17249 * gdb.guile/scm-section-script.c: Replace @progbits with
17251 * gdb.python/py-section-script.c: Likewise.
17253 2016-01-15 Pedro Alves <palves@redhat.com>
17255 * gdb.multi/tids.exp: Test star wildcard ranges.
17257 2016-01-15 Pedro Alves <palves@redhat.com>
17259 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
17260 command from "thread apply" invocation.
17261 (thr_apply_info_thr_invalid): Default the expected output to the
17263 (top level): Add tests that use convenience variables. Add tests
17264 for "thread apply" with a valid TID list, but missing the command.
17266 2016-01-13 Pedro Alves <palves@redhat.com>
17268 * gdb.base/default.exp: Expect $_gthread as well.
17269 * gdb.multi/tids.exp: Test $_gthread.
17270 * gdb.threads/thread-specific.exp: Test $_gthread.
17272 2016-01-13 Pedro Alves <palves@redhat.com>
17274 * gdb.multi/tids.exp: Test "info threads -gid".
17276 2016-01-13 Pedro Alves <palves@redhat.com>
17278 * gdb.multi/tids.exp: Test InferiorThread.global_num and
17280 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
17282 2016-01-07 Pedro Alves <palves@redhat.com>
17284 * gdb.base/break.exp: Adjust to output changes.
17285 * gdb.base/hbreak2.exp: Likewise.
17286 * gdb.base/sepdebug.exp: Likewise.
17287 * gdb.base/watch_thread_num.exp: Likewise.
17288 * gdb.linespec/keywords.exp: Likewise.
17289 * gdb.multi/info-threads.exp: Likewise.
17290 * gdb.threads/thread-find.exp: Likewise.
17291 * gdb.multi/tids.c: New file.
17292 * gdb.multi/tids.exp: New file.
17294 2016-01-13 Pedro Alves <palves@redhat.com>
17296 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
17298 2016-01-13 Pedro Alves <palves@redhat.com>
17300 * gdb.base/default.exp: Expect $_inferior as well.
17301 * gdb.multi/base.exp: Test $_inferior.
17303 2016-01-13 Pedro Alves <palves@redhat.com>
17305 PR breakpoints/19388
17306 * gdb.base/catch-signal-siginfo-cond.c: New file.
17307 * gdb.base/catch-signal-siginfo-cond.exp: New file.
17309 2016-01-12 Josh Stone <jistone@redhat.com>
17310 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17312 * gdb.base/catch-syscall.c (do_execve): New variable.
17313 (main): Conditionally trigger an execve.
17314 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
17315 (test_catch_syscall_execve): New, check entry/return across execve.
17316 (do_syscall_tests): Call test_catch_syscall_execve.
17318 2016-01-12 Pedro Alves <palves@redhat.com>
17320 * gdb.base/random-signal.exp (do_test): New procedure, with body
17321 of testcase moved in.
17323 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17324 Pedro Alves <palves@redhat.com>
17326 * gdb.base/funcargs.exp (finish from indirectly called function):
17327 Reintroduce the case for 'First'.
17329 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17330 Pedro Alves <palves@redhat.com>
17332 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17333 (tcatch_vfork_then_child_follow_exec)
17334 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
17337 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17339 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
17340 and repeats to unlimited.
17341 * gdb.python/py-value.exp: Likewise.
17342 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
17343 and repeats to unlimited.
17345 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17347 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
17348 and reordering the functions.
17349 * gdb.multi/hangout.c: Likewise.
17350 * gdb.multi/hello.c: Likewise.
17352 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
17354 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
17356 (SingleStatisticTestResult.report): Use dict.keys instead of
17359 2016-01-06 Pedro Alves <palves@redhat.com>
17361 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
17363 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
17365 * gdb.btrace/dlopen.exp: New.
17366 * gdb.btrace/dlopen.c: New.
17367 * gdb.btrace/dlopen-dso.c: New.
17369 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
17371 * lib/gdb.exp (gdb_test): Update comments to clarify that the
17372 PATTERN argument is optional.
17374 2015-12-24 Joel Brobecker <brobecker@adacore.com>
17376 * lib/ada.exp (target_compile_ada_from_dir): New function.
17377 (gdb_compile_ada): Reimplement avoiding the use of project files.
17378 * gdb.ada/gnat_ada.gpr: Delete.
17379 * gdb.ada/cond_lang.exp: Adjust test to make path before
17381 * gdb.ada/small_reg_param.exp: Likewise.
17383 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
17385 * gdb.base/foll-vork.exp: Remove HP-UX special case.
17387 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
17389 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
17392 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
17394 * gdb.base/break.exp: Remove dead code.
17395 * gdb.base/sepdebug.exp: Likewise.
17397 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17399 * gdb.asm/asm-source.exp: Remove HP-UX references.
17400 * gdb.base/annota1.exp: Likewise.
17401 * gdb.base/annota3.exp: Likewise.
17402 * gdb.base/attach.exp: Likewise.
17403 * gdb.base/bigcore.exp: Likewise.
17404 * gdb.base/break.exp: Likewise.
17405 * gdb.base/call-ar-st.exp: Likewise.
17406 * gdb.base/callfuncs.exp: Likewise.
17407 * gdb.base/catch-fork-static.exp: Likewise.
17408 * gdb.base/display.exp: Likewise.
17409 * gdb.base/foll-exec-mode.exp: Likewise.
17410 * gdb.base/foll-exec.exp: Likewise.
17411 * gdb.base/foll-fork.exp: Likewise.
17412 * gdb.base/foll-vfork.exp: Likewise.
17413 * gdb.base/funcargs.exp: Likewise.
17414 * gdb.base/hbreak2.exp: Likewise.
17415 * gdb.base/inferior-died.exp: Likewise.
17416 * gdb.base/interrupt.exp: Likewise.
17417 * gdb.base/multi-forks.exp: Likewise.
17418 * gdb.base/nodebug.exp: Likewise.
17419 * gdb.base/sepdebug.exp: Likewise.
17420 * gdb.base/solib1.c: Likewise.
17421 * gdb.base/step-test.exp: Likewise.
17422 * gdb.mi/non-stop.c: Likewise.
17423 * gdb.mi/pthreads.c: Likewise.
17424 * gdb.multi/bkpt-multi-exec.ex: Likewise.
17425 * gdb.threads/pthreads.c: Likewise.
17426 * gdb.threads/staticthreads.exp: Likewise.
17427 * lib/future.exp: Likewise.
17428 * lib/gdb.exp: Likewise.
17429 * gdb.base/so-indr-cl.c: Remove.
17430 * gdb.base/so-indr-cl.exp: Likewise.
17431 * gdb.base/solib.c: Likewise.
17432 * gdb.base/solib.exp: Likewise.
17433 * gdb.base/solib2.c: Likewise.
17435 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
17437 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
17438 * gdb.base/call-ar-st.exp: Likewise.
17439 * gdb.base/callfuncs.exp: Likewise.
17440 * gdb.base/condbreak.exp: Likewise.
17441 * gdb.base/constvars.exp: Likewise.
17442 * gdb.base/hbreak2.exp: Likewise.
17443 * gdb.base/langs.exp: Likewise.
17444 * gdb.base/list.exp: Likewise.
17445 * gdb.base/long_long.exp: Likewise.
17446 * gdb.base/ptype.exp: Likewise.
17447 * gdb.base/scope.exp: Likewise.
17448 * gdb.base/signals.exp: Likewise.
17449 * gdb.base/so-impl-ld.exp: Likewise.
17450 * gdb.base/varargs.exp: Likewise.
17451 * gdb.base/volatile.exp: Likewise.
17452 * gdb.base/whatis.exp: Likewise.
17453 * gdb.cp/cplusfuncs.exp: Likewise.
17454 * gdb.cp/inherit.exp: Likewise.
17455 * gdb.cp/local.exp: Likewise.
17456 * gdb.cp/member-ptr.exp: Likewise.
17457 * gdb.cp/method.exp: Likewise.
17458 * gdb.cp/overload.exp: Likewise.
17459 * gdb.cp/templates.exp: Likewise.
17460 * gdb.stabs/weird.exp: Likewise.
17461 * lib/compiler.c: Likewise.
17462 * lib/compiler.cc: Likewise.
17463 * lib/cp-support.exp: Likewise.
17464 * lib/gdb.exp: Likewise.
17466 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
17468 * configure.ac: Remove HP-UX case.
17469 * configure: Regenerate.
17471 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
17473 * lib/gdb.exp (gdb_compile): Add function doc.
17475 2015-12-17 Pedro Alves <palves@redhat.com>
17478 * gdb.multi/info-threads.exp: New file.
17480 2015-12-15 Yao Qi <yao.qi@linaro.org>
17482 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
17485 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17487 * gdb.base/history-duplicates.exp: Skip if no readline support.
17489 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17491 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
17493 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17495 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
17497 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
17499 * gdb.base/completion.exp: Skip tests that interrupt GDB with
17500 ctrl-C if nointerrupts target property is set.
17501 * gdb.base/double-prompt-target-event-error.exp: Likewise.
17502 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
17503 * gdb.base/paginate-bg-execution.exp: Likewise.
17504 * gdb.base/paginate-execution-startup.exp: Likewise.
17505 * gdb.base/random-signal.exp: Likewise.
17506 * gdb.base/range-stepping.exp: Likewise.
17507 * gdb.cp/annota2.exp: Likewise.
17508 * gdb.cp/annota3.exp: Likewise.
17509 * gdb.gdb/selftest.exp: Likewise.
17510 * gdb.threads/continue-pending-status.exp: Likewise.
17511 * gdb.threads/leader-exit.exp: Likewise.
17512 * gdb.threads/manythreads.exp: Likewise.
17513 * gdb.threads/pthreads.exp: Likewise.
17514 * gdb.threads/schedlock.exp: Likewise.
17515 * gdb.threads/sigthread.exp: Likewise.
17517 2015-12-11 Don Breazeal <donb@codesourcery.com>
17519 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
17521 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
17522 * gdb.base/foll-exec.exp (main): Enable for target remote.
17523 * gdb.base/foll-fork.exp (main): Likewise.
17524 * gdb.base/foll-vfork.exp (main): Likewise.
17525 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
17526 (proc continue_to_exit_bp_loc): Use clean_restart.
17527 * gdb.base/pie-execl.exp (main): Disable for target remote.
17528 * gdb.base/watch-vfork.exp (main): Enable for target remote.
17529 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
17530 * gdb.threads/execl.exp (main): Likewise.
17531 * gdb.threads/fork-child-threads.exp (main): Likewise.
17532 * gdb.threads/fork-plus-threads.exp (main): Disable for target
17534 * gdb.threads/fork-thread-pending.exp (main): Enable for target
17536 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
17537 pid.tid style ptids, instead of just tid.
17538 * gdb.threads/thread-execl.exp (main): Enable for target remote.
17539 * gdb.threads/watchpoint-fork.exp (main): Likewise.
17540 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
17541 ptids, instead of just tid.
17543 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17545 * gdb.base/list.exp (test_list_forward): Add end of file error
17547 (test_repeat_list_command): Add end of file error test.
17548 (test_list_backwards): Add beginning of file error test.
17550 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17552 * gdb.base/list.exp (test_list_invalid_args): New function,
17553 defined, and called.
17555 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
17557 * gdb.base/list.exp (test_list): Make test names unique.
17559 2015-12-11 Yao Qi <yao.qi@linaro.org>
17561 * gdb.base/coremaker2.c: Remove.
17563 2015-12-10 Pedro Alves <palves@redhat.com>
17565 * gdb.multi/base.exp: Remove stale "spaces" references.
17567 2015-12-10 Pedro Alves <palves@redhat.com>
17569 * gdb.multi/base.exp: Don't use nowarnings.
17570 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
17571 * gdb.multi/hangout.c: Include stdio.h.
17572 * gdb.multi/hello.c: Include stdlib.h.
17573 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
17574 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
17575 * gdb.multi/multi-arch.exp: Don't use nowarnings.
17577 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
17579 * gdb.dwarf2/dw2-ranges-base.c: New file.
17580 * gdb.dwarf2/dw2-ranges-base.exp: New file.
17581 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
17582 support additional line table, and debug ranges generation.
17583 (Dwarf::ranges): New function, generate .debug_ranges.
17584 (Dwarf::lines): Support generating simple line table programs.
17585 (Dwarf::assemble): Initialise new namespace variables.
17587 2015-12-09 Kevin Buettner <kevinb@redhat.com>
17589 * gdb.base/async.exp (proc test_background): Add case for
17590 asynchronous execution not supported.
17592 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
17594 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
17595 format and change test names to make them unique.
17597 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
17598 Pedro Alves <pedro@redhat.com>
17601 Add checking of floatformats setup on x86_64 hosts.
17602 * gdb.arch/i386-float.S (main): Load bigval and smallval.
17603 (smallval, bigval): New labels/constants.
17604 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
17605 float" after loading bigval and smallval.
17607 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
17609 * gdb.ada/fun_overload_menu.exp: New testcase.
17610 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
17612 2015-12-04 Josh Stone <jistone@redhat.com>
17614 * gdb.base/catch-fork-static.exp: New.
17616 2015-12-03 Yao Qi <yao.qi@linaro.org>
17618 * gdb.base/sizeof.c: Don't include stdio.h and
17619 ../lib/unbuffer_output.c.
17620 (main): New variable 'size' and 'value'. Remove printf and
17621 gdb_unbuffer_output. Assign return value to size and value.
17622 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
17624 (check_sizeof): Check the result by printing variable 'size'.
17625 (check_valueof): Check the result by printing variable 'value'.
17627 2015-12-01 Yao Qi <yao.qi@linaro.org>
17629 * gdb.base/disp-step-syscall.exp: Define syscall instruction
17630 for aarch64*-*-linux* target.
17632 2015-11-30 Pedro Alves <palves@redhat.com>
17634 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
17636 2015-11-30 Pedro Alves <palves@redhat.com>
17638 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
17639 Handle non-stop mode vCont replies.
17641 2015-11-30 Pedro Alves <palves@redhat.com>
17643 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
17644 prepare_for_testing. Start gdb with "set non-stop on" appended to
17645 GDBFLAGS. Lax expected stop output.
17647 2015-11-27 Yao Qi <yao.qi@linaro.org>
17649 * gdb.arch/arm-neon.exp: New.
17650 * gdb.arch/arm-neon.c: New.
17652 2015-11-27 Yao Qi <yao.qi@linaro.org>
17654 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
17656 2015-11-27 Yao Qi <yao.qi@linaro.org>
17658 * gdb.cp/annota2.exp: Allow multiple occurrences of the
17659 frames-invalid annotation.
17661 2015-11-27 Yao Qi <yao.qi@linaro.org>
17663 * gdb.cp/annota2.exp: Use ${frames_invalid}.
17665 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
17667 * gdb.threads/names.exp: New file.
17668 * gdb.threads/names.c: New file.
17669 * README: Mention gdb,no_thread_names.
17671 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
17674 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
17677 2015-11-24 Pedro Alves <palves@redhat.com>
17680 * gdb.base/display.exp: Expect displays to be sorted in ascending
17681 order. Use multi_line.
17682 * gdb.base/solib-display.exp: Likewise.
17684 2015-11-24 Pedro Alves <palves@redhat.com>
17687 * gdb.base/display.exp: Expect displays to be sorted in ascending
17688 order. Use multi_line.
17689 * gdb.base/solib-display.exp: Likewise.
17691 2015-11-24 Pedro Alves <palves@redhat.com>
17694 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
17695 threads in ascending order.
17696 * gdb.base/foll-fork.exp: Likewise.
17697 * gdb.base/foll-vfork.exp: Likewise.
17698 * gdb.base/multi-forks.exp: Likewise.
17699 * gdb.mi/mi-nonstop.exp: Likewise.
17700 * gdb.mi/mi-nsintrall.exp: Likewise.
17701 * gdb.multi/base.exp: Likewise.
17702 * gdb.multi/multi-arch.exp: Likewise.
17703 * gdb.python/py-inferior.exp: Likewise.
17704 * gdb.threads/break-while-running.exp: Likewise.
17705 * gdb.threads/execl.exp: Likewise.
17706 * gdb.threads/gcore-thread.exp: Likewise.
17707 * gdb.threads/info-threads-cur-sal.exp: Likewise.
17708 * gdb.threads/kill.exp: Likewise.
17709 * gdb.threads/linux-dp.exp: Likewise.
17710 * gdb.threads/multiple-step-overs.exp: Likewise.
17711 * gdb.threads/next-bp-other-thread.exp: Likewise.
17712 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
17713 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
17714 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
17715 * gdb.threads/thread-find.exp: Likewise.
17716 * gdb.threads/tls.exp: Likewise.
17717 * lib/mi-support.exp (mi_reverse_list): Delete.
17718 (mi_check_thread_states): No longer reverse list.
17720 2015-11-24 Pedro Alves <palves@redhat.com>
17722 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
17725 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17727 * gdb.trace/actions.c: Include trace-common.h.
17728 (main): Add a location for a fast tracepoint.
17729 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
17730 the normal tracepoints.
17731 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
17733 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
17735 * save-trace.exp: Factor out code to these...
17736 (gdb_save_tracepoints): New.
17737 (gdb_load_tracepoints): New.
17738 (do_save_load_test): New.
17740 2015-11-23 Kevin Buettner <kevinb@redhat.com>
17742 * gdb.base/asmlabel.exp: New test.
17743 * gdb.base/asmlabel.c: New test case.
17745 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17747 * gdb.base/wrong_frame_bt_full-main.c: New file.
17748 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17749 * gdb.base/wrong_frame_bt_full.exp: New file.
17751 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17753 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17755 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17757 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17758 pstate register when comparing registers values in
17759 sparc64-*-linux-gnu targets to avoid spurious differences.
17761 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17763 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17765 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17767 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17768 as type argument to gdb_compile.
17769 * gdb.base/nested-subp2.exp: Likewise.
17770 * gdb.base/nested-subp3.exp: Likewise.
17772 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17774 * lib/dwarf.exp (_note): Fix left shift of negative value.
17775 * gdb.trace/trace-condition.exp: Likewise.
17777 2015-11-13 Yao Qi <yao.qi@linaro.org>
17779 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17780 comments about d10v.
17781 (test_scalar_returns): Likewise.
17782 * gdb.base/d10v.ld: Remove.
17783 * gdb.base/overlays.exp: Remove the target triplet checking for
17785 * gdb.base/structs.exp (test_struct_returns): Remove the
17786 comments about d10v.
17787 (test_struct_calls): Likewise.
17789 2015-11-13 Yao Qi <yao.qi@linaro.org>
17791 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17792 * gdb.base/gnu_vector.c: Don't include stdio.h.
17793 (main): Don't print res and call add_some_intvecs.
17795 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17797 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17800 (func4): Use FAST_TRACEPOINT_LABEL.
17801 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17804 (thread_function): Use FAST_TRACEPOINT_LABEL.
17805 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17807 (marker): Use FAST_TRACEPOINT_LABEL.
17808 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17809 (pendfunc1): Remove.
17810 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17811 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17813 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17814 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17817 (marker): Use FAST_TRACEPOINT_LABEL.
17818 * gdb.trace/trace-common.h: New header.
17819 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17822 (marker): Use FAST_TRACEPOINT_LABEL.
17823 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17825 (thread_function): Use FAST_TRACEPOINT_LABEL.
17827 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17829 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17831 * gdb.trace/change-loc.exp: Use global pcreg definition.
17832 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17833 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17835 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17836 * gdb.trace/pending.exp: Likewise.
17837 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17838 * gdb.trace/trace-break.exp: Likewise.
17839 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17841 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17842 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17844 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17846 2015-11-09 Joel Brobecker <brobecker@adacore.com>
17848 * gdb.ada/fin_fun_out: New testcase.
17850 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17852 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17853 value associated with DW_AT_byte_size.
17854 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17855 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17858 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17860 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17861 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17863 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17864 gdb.dwarf2/dw2-canonicalize-type.exp,
17865 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17866 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17867 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17868 provided by gdb_target_symbol_prefix_flags_asm.
17869 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17870 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17871 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17872 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17873 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17874 macros where needed). Use this macro for symbols which require
17875 the prefix provided by SYMBOL_PREFIX.
17877 2015-11-05 Kevin Buettner <kevinb@redhat.com>
17879 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17881 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17882 representing expressions, of more than one list element.
17883 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17884 to prepend linker symbol prefix to f.
17885 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17886 table_1 and table_2.
17887 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17888 Likewise, for f and g.
17889 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17891 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17893 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17894 table_1_ptr and table_2_ptr.
17896 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17897 Joel Brobecker <brobecker@adacore.com>
17899 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17901 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17903 * gdb.reverse/s390-mvcle.c: New test.
17904 * gdb.reverse/s390-mvcle.exp: New file.
17905 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17907 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17909 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17911 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17913 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17915 * gdb.reverse/getresuid-reverse.exp: Likewise.
17916 * gdb.reverse/pipe-reverse.exp: Likewise.
17917 * gdb.reverse/readv-reverse.exp: Likewise.
17918 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17919 * gdb.reverse/time-reverse.exp: Likewise.
17920 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17922 2015-10-30 Yao Qi <yao.qi@linaro.org>
17924 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17925 (empty_cycle): Remove.
17926 (main): Don't call empty_cycle. Don't use watch_count_done.
17927 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17928 empty_cycle. Rewrite the code counting HW watchpoints.
17930 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17932 * gdb.reverse/fstatat-reverse.c: New test.
17933 * gdb.reverse/fstatat-reverse.exp: New file.
17934 * gdb.reverse/getresuid-reverse.c: New test.
17935 * gdb.reverse/getresuid-reverse.exp: New file.
17936 * gdb.reverse/pipe-reverse.c: New test.
17937 * gdb.reverse/pipe-reverse.exp: New file.
17938 * gdb.reverse/readv-reverse.c: New test.
17939 * gdb.reverse/readv-reverse.exp: New file.
17940 * gdb.reverse/recvmsg-reverse.c: New test.
17941 * gdb.reverse/recvmsg-reverse.exp: New file.
17942 * gdb.reverse/time-reverse.c: New test.
17943 * gdb.reverse/time-reverse.exp: New file.
17944 * gdb.reverse/waitpid-reverse.c: New test.
17945 * gdb.reverse/waitpid-reverse.exp: New file.
17947 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17949 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17951 2015-10-26 Doug Evans <dje@google.com>
17954 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17955 * gdb.dwarf2/bad-regnum.c: New file.
17956 * gdb.dwarf2/bad-regnum.exp: New file.
17958 2015-10-26 Doug Evans <dje@google.com>
17961 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17964 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17966 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17967 for a change by "Mention language in compile error message".
17969 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17972 * gdb.python/py-type.c (C::a_method): New.
17973 (C::a_const_method): New.
17974 (C::a_static_method): New.
17976 * gdb.python/py-type.exp (test_fields): Test getting fields
17977 from function and method.
17979 2015-10-21 Keven Boell <keven.boell@intel.com>
17981 * gdb.fortran/vla-alloc-assoc.exp: New file.
17982 * gdb.fortran/vla-datatypes.exp: New file.
17983 * gdb.fortran/vla-datatypes.f90: New file.
17984 * gdb.fortran/vla-history.exp: New file.
17985 * gdb.fortran/vla-ptype-sub.exp: New file.
17986 * gdb.fortran/vla-ptype.exp: New file.
17987 * gdb.fortran/vla-sizeof.exp: New file.
17988 * gdb.fortran/vla-sub.f90: New file.
17989 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17990 * gdb.fortran/vla-value-sub-finish.exp: New file.
17991 * gdb.fortran/vla-value-sub.exp: New file.
17992 * gdb.fortran/vla-value.exp: New file.
17993 * gdb.fortran/vla-ptr-info.exp: New file.
17994 * gdb.mi/mi-vla-fortran.exp: New file.
17995 * gdb.mi/vla.f90: New file.
17997 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17999 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
18000 of hardwired timeout value.
18002 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18003 Pedro Alves <palves@redhat.com>
18005 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
18006 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
18008 2015-10-19 Josh Stone <jistone@redhat.com>
18010 * gdb.base/catch-syscall.c: Include <sched.h>.
18011 (unknown_syscall): New variable.
18012 (main): Trigger a vfork and an unknown syscall.
18013 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
18014 (unknown_syscall_number): Likewise.
18015 (check_call_to_syscall): Accept an optional syscall pattern.
18016 (check_return_from_syscall): Likewise.
18017 (check_continue): Likewise.
18018 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
18019 (test_catch_syscall_skipping_return): New test toggling off 'catch
18020 syscall' to step over the syscall return, then toggling back on.
18021 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
18022 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
18023 (do_syscall_tests): Call test_catch_syscall_without_args and
18024 test_catch_syscall_mid_vfork.
18025 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
18026 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
18028 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
18030 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
18031 print g_vE): Add new pass patterns.
18032 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
18033 print various symbol names for vptr fields.
18035 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
18037 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
18040 2015-10-12 Yao Qi <yao.qi@linaro.org>
18042 * gdb.arch/disp-step-insn-reloc.exp: New test case.
18044 2015-10-12 Yao Qi <yao.qi@linaro.org>
18046 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
18047 is aarch64*-*-linux*.
18049 2015-10-12 Yao Qi <yao.qi@linaro.org>
18051 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
18052 (can_relocate_bcond_true): ... it.
18053 (can_relocate_bcond_false): New function.
18055 (can_relocate_bl): Likewise.
18056 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
18059 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
18061 * gdb.base/nested-addr.c: New file.
18062 * gdb.base/nested-addr.exp: New testcase.
18064 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
18066 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
18067 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
18068 its output. Ignore the output of "record goto begin" and instead
18069 check that GDB is replaying.
18071 2015-10-09 Pedro Alves <palves@redhat.com>
18073 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
18074 (top level): Use it in the run with no args test.
18076 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
18078 * gdb.dlang/properties.exp: New file.
18080 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
18082 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
18083 whether or not address 0x1000 is mapped on the target.
18085 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
18087 * gdb.python/py-type.exp: Do not run tests if binaries fail to
18090 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
18092 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
18093 instruction-history test.
18095 2015-09-28 Doug Evans <dje@google.com>
18097 * gdb.base/gcore.c (array_func): Add reference to static_array.
18099 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
18101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
18104 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
18106 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
18107 short or char as base type.
18109 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
18111 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
18112 to allow any size enum.
18114 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
18116 * gdb.ada/array_ptr_renaming.exp: New testcase.
18117 * gdb.ada/array_ptr_renaming/foo.adb: New file.
18118 * gdb.ada/array_ptr_renaming/pack.ads: New file.
18120 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18122 * gdb.trace/ftrace-lock.c: New file.
18123 * gdb.trace/ftrace-lock.exp: New file.
18125 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18127 * gdb.arch/insn-reloc.c: New file.
18128 * gdb.arch/ftrace-insn-reloc.exp: New file.
18130 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
18132 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
18134 * gdb.trace/pendshr1.c (pendfunc): Likewise.
18135 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
18136 * gdb.trace/range-stepping.c: Likewise.
18137 * gdb.trace/trace-break.c: Likewise.
18138 * gdb.trace/trace-mt.c (thread_function): Likewise.
18139 * gdb.trace/ftrace.c (marker): Likewise.
18140 * gdb.trace/trace-condition.c (marker): Likewise.
18141 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
18142 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
18145 2015-09-18 Doug Evans <xdje42@gmail.com>
18147 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
18148 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
18150 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18152 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
18155 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18157 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
18158 the pending breakpoint. Remove timeout override for "Run till
18159 MI pending breakpoint on pendfunc3 on thread 2" test.
18161 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18163 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
18166 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18168 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
18169 in breakpoint filename pattern.
18171 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18173 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
18175 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
18177 * gdb.linespec/explicit.exp: Check for readline support for
18178 tab-completion tests. Fix obvious typo.
18180 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18182 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
18185 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
18187 * gdb.btrace/non-stop.c: New.
18188 * gdb.btrace/non-stop.exp: New.
18190 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
18191 Yao Qi <yao.qi@linaro.org>
18193 * gdb.trace/trace-condition.c: New file.
18194 * gdb.trace/trace-condition.exp: New file.
18196 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
18198 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
18199 for testing bytecode compilation.
18201 2015-09-16 Pedro Alves <palves@redhat.com>
18202 Sandra Loosemore <sandra@codesourcery.com>
18204 * gdb.threads/non-stop-fair-events.c (timeout): New global.
18205 (SECONDS): Redefine.
18206 (main): Call pthread_kill and alarm early.
18207 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
18209 (test): If the target can't hardware step and doesn't support
18210 displaced stepping, increase the timeout.
18212 2015-09-16 Pedro Alves <palves@redhat.com>
18214 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
18215 (enable_debug): New procedures.
18216 (test): Use them. Bail out if waiting for threads fails.
18217 (top level): Bail out if a test fails.
18219 2015-09-16 Yao Qi <yao.qi@linaro.org>
18221 * gdb.asm/asm-source.exp: Set asm-arch for
18222 aarch64*-*-* target.
18223 * gdb.asm/aarch64.inc: New file.
18225 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
18227 * gdb.ada/array_of_variable_length.exp: New testcase.
18228 * gdb.ada/array_of_variable_length/foo.adb: New file.
18229 * gdb.ada/array_of_variable_length/pck.adb: New file.
18230 * gdb.ada/array_of_variable_length/pck.ads: New file.
18232 2015-09-15 Doug Evans <dje@google.com>
18234 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
18235 of function static local variable.
18237 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
18239 * gdb.threads/tls-so_extern.exp: New test file.
18240 * gdb.threads/tls-so_extern.c: New test file.
18241 * gdb.threads/tls-so_extern_main.c: New test file.
18243 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18245 * gdb.opt/solib-intra-step-lib.c: New file.
18246 * gdb.opt/solib-intra-step-main.c: New file.
18247 * gdb.opt/solib-intra-step.exp: New file.
18249 2015-09-15 Pedro Alves <palves@redhat.com>
18251 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
18252 gdb_continue_to_breakpoint instead of gdb_test_multiple.
18254 2015-09-14 Pedro Alves <palves@redhat.com>
18256 * gdb.base/hook-stop-continue.c: Delete.
18257 * gdb.base/hook-stop-continue.exp: Delete.
18258 * gdb.base/hook-stop-frame.c: Delete.
18259 * gdb.base/hook-stop-frame.exp: Delete.
18260 * gdb.base/hook-stop.c: New file.
18261 * gdb.base/hook-stop.exp: New file.
18263 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
18265 * gdb.ada/access_to_packed_array.exp: New testcase.
18266 * gdb.ada/access_to_packed_array/foo.adb: New file.
18267 * gdb.ada/access_to_packed_array/pack.adb: New file.
18268 * gdb.ada/access_to_packed_array/pack.ads: New file.
18270 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
18272 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
18275 2015-09-11 Don Breazeal <donb@codesourcery.com>
18277 * gdb.base/foll-exec.c: Add copyright header. Fix
18279 * gdb.base/foll-exec.exp (zap_session): Delete proc.
18280 (do_exec_tests): Use clean_restart in place of zap_session,
18281 and for test initialization. Fix formatting issues. Use
18282 fail in place of perror.
18283 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
18284 an expect statement to match an expression with output from
18285 the program under debug.
18286 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
18287 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
18288 * gdb.threads/non-ldr-exc-2.exp: Likewise.
18289 * gdb.threads/non-ldr-exc-3.exp: Likewise.
18290 * gdb.threads/non-ldr-exc-4.exp: Likewise.
18292 2015-09-09 Doug Evans <dje@google.com>
18294 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
18296 2015-09-09 Doug Evans <dje@google.com>
18298 * gdb.base/pie-execl.exp: Fix result test of build_executable.
18300 2015-09-09 Doug Evans <dje@google.com>
18302 * gdb.base/savedregs.exp: Fix typo.
18304 2015-09-09 Pedro Alves <palves@redhat.com>
18306 * gdb.mi/mi-cli.exp: Add CLI finish tests.
18308 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
18310 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
18311 command actually switches threads. Give up on remaining
18312 tests if target fails to stop at breakpoint.
18314 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
18316 * gdb.ada/funcall_char.exp: New testcase.
18317 * gdb.ada/funcall_char/foo.adb: New file.
18319 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
18321 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
18322 expected outputs. Add two testcases for completing ambiguous
18324 * gdb.ada/complete/aux_pck.adb: New file.
18325 * gdb.ada/complete/aux_pck.ads: New file.
18326 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
18327 Ambiguous_Func functions.
18328 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
18329 * gdb.ada/complete/pck.adb: Likewise.
18331 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
18333 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
18334 failures to run the test program under GDB.
18336 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
18338 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
18341 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
18343 * gdb.base/run-after-attach.exp: New test file.
18344 * gdb.base/run-after-attach.c: New test file.
18346 2015-08-26 Don Breazeal <donb@codesourcery.com>
18348 * gdb.base/foll-exec-2.c: New test program.
18349 * gdb.base/foll-exec-2.exp: New test.
18351 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
18353 * gdb.base/nested-subp1.exp: New file.
18354 * gdb.base/nested-subp1.c: New file.
18355 * gdb.base/nested-subp2.exp: New file.
18356 * gdb.base/nested-subp2.c: New file.
18357 * gdb.base/nested-subp3.exp: New file.
18358 * gdb.base/nested-subp3.c: New file.
18360 2015-08-24 Pedro Alves <palves@redhat.com>
18362 * gdb.server/connect-without-multi-process.c: New file.
18363 * gdb.server/connect-without-multi-process.exp: New file.
18365 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18367 * gdb.opt/inline-markers.c: Make z int.
18369 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18371 * gdb.opt/inline-markers.c: Make z volatile.
18373 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
18375 * gdb.opt/inline-bt.c: New volatile global z.
18376 * gdb.opt/inline-cmds.c: Likewise.
18377 * gdb.opt/inline-locals.c: Likewise.
18378 * gdb.opt/inline-markers.c: New extern global z.
18380 (inline_fn): Likewise.
18382 2015-08-24 Pedro Alves <palves@redhat.com>
18384 * config/m32r-stub.exp: Remove file.
18385 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
18386 * gdb.base/call-rt-st.exp: Likewise.
18387 * gdb.base/call-strs.exp: Likewise.
18388 * gdb.base/default.exp: Remove references to h8300-*-hms and
18390 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
18392 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18394 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
18395 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
18396 and "return" use KFAIL when GDB can not read/write the vector
18399 2015-08-21 Gary Benson <gbenson@redhat.com>
18401 * gdb.trace/pending.exp: Cope with remote transfer warnings.
18403 2015-08-20 Pedro Alves <palves@redhat.com>
18405 * gdb.server/solib-list.exp: No longer expect an interior stop in
18408 2015-08-20 Pedro Alves <palves@redhat.com>
18410 * gdb.server/connect-stopped-target.c: New file.
18411 * gdb.server/connect-stopped-target.exp: New file.
18413 2015-08-20 Pedro Alves <palves@redhat.com>
18415 * gdb.dwarf2/comp-unit-lang.exp: New file.
18416 * gdb.dwarf2/comp-unit-lang.c: New file.
18418 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
18420 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
18421 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
18423 2015-08-19 Kevin Buettner <kevinb@redhat.com>
18425 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
18426 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
18428 2015-08-18 Doug Evans <dje@google.com>
18429 Adrian Sendroiu <adrian.sendroiu@freescale.com>
18431 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
18432 skip_python_tests. New arg prompt_regexp.
18433 (skip_python_tests): New function.
18434 * lib/mi-support.exp (mi_skip_python_tests): New function.
18435 * gdb.python/py-mi-objfile-gdb.py: New file.
18436 * gdb.python/py-mi-objfile.c: New file.
18437 * gdb.python/py-mi-objfile.exp: New file.
18439 2015-08-17 Keith Seitz <keiths@redhat.com>
18441 * gdb.linespec/explicit.exp: Move strace test from here ...
18442 * gdb.trace/strace.exp: ... to here.
18444 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
18446 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
18447 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
18449 2015-08-14 Doug Evans <xdje42@gmail.com>
18451 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
18452 inferior before selecting a new file.
18454 2015-08-14 Doug Evans <xdje42@gmail.com>
18456 * gdb.mi/mi-disassemble.exp: Update.
18457 * gdb.base/disasm-optim.S: New file.
18458 * gdb.base/disasm-optim.c: New file.
18459 * gdb.base/disasm-optim.h: New file.
18460 * gdb.base/disasm-optim.exp: New file.
18462 2015-08-14 Keith Seitz <keiths@redhat.com>
18464 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
18467 2015-08-13 Joel Brobecker <brobecker@adacore.com>
18469 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
18471 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
18473 * gdb.ada/fun_renaming.exp: New testcase.
18474 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
18475 * gdb.ada/fun_renaming/pack.adb: New file.
18476 * gdb.ada/fun_renaming/pack.ads: New file.
18478 2015-08-12 Keith Seitz <keiths@redhat.com>
18480 * gdb.base/dso2dso.exp: Pass basename of source file in call to
18481 gdb_get_line_number.
18483 2015-08-12 Joel Brobecker <brobecker@adacore.com>
18485 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
18486 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
18487 gdb.base/dso2dso.exp: New files.
18489 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
18490 Pedro Alves <palves@redhat.com>
18491 Keith Seitz <keiths@redhat.com>
18493 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
18496 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18498 * gdb.base/gdbhistsize-history.exp
18499 (test_histsize_history_setting): Use save_vars.
18500 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18502 (test_no_truncation_of_unlimited_history_file): Use save_vars.
18503 * gdb.base/readline.exp: Use save_vars.
18505 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
18507 * lib/gdb.exp (save_vars): New proc.
18509 2015-08-11 Keith Seitz <keiths@redhat.com>
18511 * gdb.base/help.exp: Update help_breakpoint_text.
18513 2015-08-11 Keith Seitz <keiths@redhat.com>
18515 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
18516 (at toplevel): Call test_explicit_breakpoints.
18517 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
18519 * lib/mi-support.exp (mi_make_breakpoint): Add support for
18520 breakpoint conditions, "-cond".
18522 2015-08-11 Keith Seitz <keiths@redhat.com>
18524 * gdb.linespec/3explicit.c: New file.
18525 * gdb.linespec/cpexplicit.cc: New file.
18526 * gdb.linespec/cpexplicit.exp: New file.
18527 * gdb.linespec/explicit.c: New file.
18528 * gdb.linespec/explicit.exp: New file.
18529 * gdb.linespec/explicit2.c: New file.
18530 * gdb.linespec/ls-errs.exp: Add explicit location tests.
18531 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
18532 before using in the matching pattern.
18533 Clarify that `prefix' is a regular expression.
18535 2015-08-11 Keith Seitz <keiths@redhat.com>
18537 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
18539 Add tests for missing ",FMT" and ",".
18541 2015-08-10 Doug Evans <dje@google.com>
18542 Keith Seitz <keiths@redhat.com>
18545 * gdb.base/completion.exp: Add location completer tests.
18547 2015-08-07 Pedro Alves <palves@redhat.com>
18549 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
18551 (top level): Run do_test with and without displaced stepping.
18553 2015-08-07 Pedro Alves <palves@redhat.com>
18555 * gdb.base/valgrind-disp-step.c: New file.
18556 * gdb.base/valgrind-disp-step.exp: New file.
18558 2015-08-07 Pedro Alves <palves@redhat.com>
18560 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
18562 (main): Add alarm. Run an infinite loop instead of calling
18564 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
18566 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
18568 (main): Add alarm. Run an infinite loop instead of calling
18570 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
18573 2015-08-07 Pedro Alves <palves@redhat.com>
18575 * gdb.base/checkpoint-ns.exp: New file.
18576 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
18579 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
18581 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
18582 * gdb.btrace/instruction_history.exp: Update.
18583 * gdb.btrace/tsx.exp: New.
18584 * gdb.btrace/tsx.c: New.
18586 2015-08-06 Pedro Alves <palves@redhat.com>
18588 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
18590 * gdb.reverse/until-precsave.exp: Bump timeouts.
18592 2015-08-06 Pedro Alves <palves@redhat.com>
18594 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
18596 2015-08-06 Pedro Alves <palves@redhat.com>
18599 * gdb.threads/process-dies-while-handling-bp.c: New file.
18600 * gdb.threads/process-dies-while-handling-bp.exp: New file.
18602 2015-08-06 Pedro Alves <palves@redhat.com>
18604 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
18605 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
18607 2015-08-05 Pedro Alves <palves@redhat.com>
18609 * gdb.threads/next-while-other-thread-longjmps.c: New file.
18610 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
18612 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
18614 * gdb.base/bp-permanent.exp: Report test as unsupported if
18615 the target cannot stop at the permanent breakpoint.
18617 2015-08-03 Doug Evans <dje@google.com>
18619 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
18622 2015-08-03 Doug Evans <dje@google.com>
18624 * Makefile.in (workers/%.worker, build-perf): New rule.
18625 (GDB_PERFTEST_MODE): New variable.
18626 (check-perf): Use it.
18627 (clean): Clean up gdb.perf parallel build subdirs.
18628 * lib/build-piece.exp: New file.
18629 * lib/gdb.exp (make_gdb_parallel_path): New function
18630 (standard_output_file, standard_temp_file): Call it.
18631 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18633 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
18635 2015-08-03 Doug Evans <dje@google.com>
18637 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
18638 (LOG_FILE_NAME): New global.
18639 (TextReporter.__init__): Initialize self.txt_sum.
18640 (TextReporter.report): Add support for multiple data-points.
18641 Move report to perftest.sum, put raw data in perftest.log.
18642 (TextReporter.start): Open sum and log files.
18643 (TextReporter.end): Close sum and log files.
18644 * gdb.perf/lib/perftest/testresult.py
18645 (SingleStatisticTestResult.record): Handle multiple data-points.
18647 2015-07-31 Pedro Alves <palves@redhat.com>
18649 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
18650 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18651 kill_wait_spawned_process instead of explicit "kill -9".
18652 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
18653 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18654 kill_wait_spawned_process.
18655 * gdb.base/attach-twice.exp: Likewise.
18656 * gdb.base/attach.exp: Likewise.
18657 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
18659 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
18660 returning a spawn id instead of a pid. Use spawn_id_get_pid and
18661 kill_wait_spawned_process.
18662 * gdb.base/valgrind-infcall.exp: Likewise.
18663 * gdb.multi/multi-attach.exp: Likewise.
18664 * gdb.python/py-prompt.exp: Likewise.
18665 * gdb.python/py-sync-interp.exp: Likewise.
18666 * gdb.server/ext-attach.exp: Likewise.
18667 * gdb.threads/attach-into-signal.exp (corefunc): Use
18668 spawn_wait_for_attach, spawn_id_get_pid and
18669 kill_wait_spawned_process.
18670 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
18671 spawn_wait_for_attach returning a spawn id instead of a pid. Use
18672 spawn_id_get_pid and kill_wait_spawned_process.
18673 * gdb.threads/attach-stopped.exp (corefunc): Use
18674 spawn_wait_for_attach, spawn_id_get_pid and
18675 kill_wait_spawned_process.
18676 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
18677 Use spawn_id_get_pid. Wait for spawn id after eof. Use
18678 kill_wait_spawned_process instead of explicit "kill -9".
18679 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
18680 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
18681 (spawn_wait_for_attach): Use spawn instead of exec to spawn
18682 processes. Don't map cygwin/windows pids here. Now returns a
18685 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18687 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
18688 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
18691 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18693 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
18695 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
18698 2014-05-21 Mark Wielaard <mjw@redhat.com>
18700 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18702 2015-07-30 Pedro Alves <palves@redhat.com>
18704 * linux-low.c (handle_extended_wait): Set the child's last
18705 reported status to TARGET_WAITKIND_STOPPED.
18707 2015-07-30 Pedro Alves <palves@redhat.com>
18710 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
18711 only shows inferior 1.
18713 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
18714 Pedro Alves <palves@redhat.com>
18717 * gdb.threads/fork-plus-threads.c: New file.
18718 * gdb.threads/fork-plus-threads.exp: New file.
18720 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18722 * gdb.base/batch-preserve-term-settings.exp
18723 (test_terminal_settings_preserved_after_cli_exit): Use
18726 2015-07-29 Pedro Alves <palves@redhat.com>
18727 Don Breazeal <donb@codesourcery.com>
18729 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
18730 output from both inferior_spawn_id and gdb_spawn_id.
18732 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18734 * gdb.threads/attach-into-signal.exp (corefunc): Use
18735 with_test_prefix on nested loops, uniquefying the test messages.
18737 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
18739 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
18742 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18744 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
18746 (test_terminal_settings_preserved_after_sigterm): New test.
18748 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18750 * gdb.base/batch-preserve-term-settings.exp
18751 (test_terminal_settings_preserved_after_cli_exit): New test.
18753 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18755 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18756 manipulation of saved_gdbflags.
18757 (test_terminal_settings_preserved): Remove global declaration of
18758 the unused variable pagination_prompt. Remove manipulation of
18759 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18762 2015-07-29 Pedro Alves <palves@redhat.com>
18764 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18766 2015-07-29 Pedro Alves <palves@redhat.com>
18768 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18771 2015-07-29 Pedro Alves <palves@redhat.com>
18773 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18774 (main): Call gdb_unbuffer_output.
18775 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18776 (main): Call gdb_unbuffer_output.
18777 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18778 (main): Call gdb_unbuffer_output.
18779 * gdb.base/call-strs.exp: Adjust to step over the
18780 gdb_unbuffer_output call.
18781 * gdb.base/catch-gdb-caused-signals.c: Include
18782 "../lib/unbuffer_output.c".
18783 (main): Call gdb_unbuffer_output.
18784 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18785 (main): Call gdb_unbuffer_output.
18786 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18787 (main): Call gdb_unbuffer_output.
18788 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18789 (main): Call gdb_unbuffer_output.
18790 * gdb.base/shlib-call.exp: Adjust to step over the
18791 gdb_unbuffer_output call.
18792 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18793 (main): Call gdb_unbuffer_output.
18794 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18795 (main): Call gdb_unbuffer_output.
18796 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18797 (main): Rename to ...
18799 (main): Reimplement.
18800 * gdb.base/varargs.exp: Run to test instead of to main.
18801 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18802 (main): Call gdb_unbuffer_output.
18804 2015-07-29 Pedro Alves <palves@redhat.com>
18806 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18807 factore out from mi_continue_dprintf. For call-style dprintfs,
18808 expect dprintf output out of $inferior_spawn_id.
18809 (mi_continue_dprintf): Use mi_expect_dprintf.
18810 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18811 (main): Call gdb_unbuffer_output.
18813 2015-07-29 Pedro Alves <palves@redhat.com>
18815 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18816 (default_mi_gdb_start): Set inferior_spawn_id instead of
18817 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18819 (mi_gdb_test): Always expect inferior output from both
18820 $inferior_spawn_id and $gdb_spawn_id.
18822 2015-07-29 Pedro Alves <palves@redhat.com>
18824 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18825 send_inferior and $inferior_spawn_id.
18827 2015-07-29 Pedro Alves <palves@redhat.com>
18829 * gdb.gdb/complaints.exp (test_initial_complaints)
18830 (test_serial_complaints, test_short_complaints): Use
18832 (test_empty_complaint): Handle $inferior_spawn_id !=
18835 2015-07-29 Pedro Alves <palves@redhat.com>
18837 * gdb.base/varargs.exp: Use gdb_test_stdio.
18839 2015-07-29 Pedro Alves <palves@redhat.com>
18841 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18843 2015-07-29 Pedro Alves <palves@redhat.com>
18845 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18847 2015-07-29 Pedro Alves <palves@redhat.com>
18849 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18850 parameter into two new parameters, "inf_result" and "gdb_result".
18851 Expect inferior output and gdb output from $inferior_spawn_id and
18852 $gdb_spawn_id, respectively. Adjust all callers.
18854 2015-07-29 Pedro Alves <palves@redhat.com>
18856 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18857 of gdb_test_sequence.
18859 2015-07-29 Pedro Alves <palves@redhat.com>
18861 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18862 (saw_spurious_output): Expect inferior output from
18863 $inferior_spawn_id. Use gdb_test_stdio.
18865 2015-07-29 Pedro Alves <palves@redhat.com>
18867 * gdb.base/dprintf.exp: Use standard_testfile. Change
18868 prepare_for_testing call.
18869 (srcfile): Don't set.
18870 (restart): New procedure.
18871 (test_dprintf): New procecure, use to continue over dprintfs.
18872 (test_call, test_agent): New procedures, tests moved here.
18873 Restart gdb and recreate dprintfs. Adjust expected output.
18875 2015-07-29 Pedro Alves <palves@redhat.com>
18877 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18879 2015-07-29 Pedro Alves <palves@redhat.com>
18881 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18883 2015-07-29 Pedro Alves <palves@redhat.com>
18885 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18888 2015-07-29 Pedro Alves <palves@redhat.com>
18890 * lib/gdb.exp (gdb_test_stdio): New procedure.
18892 2015-07-29 Pedro Alves <palves@redhat.com>
18894 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18896 2015-07-29 Pedro Alves <palves@redhat.com>
18898 * gdb.base/call-signal-resume.exp: Remove check for
18899 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18900 * gdb.base/unwindonsignal.exp: Likewise.
18901 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18902 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18904 2015-07-29 Pedro Alves <palves@redhat.com>
18906 * gdb.base/siginfo-addr.c (pass): New function.
18907 (handler): Call it iff si_addr is correct.
18908 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18909 Set a breakpoint at "pass" and continue to it.
18911 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18913 * gdb.python/py-objfile.exp: Make some tests have unique names.
18914 * gdb.python/py-pp-registration.exp: Likewise.
18916 2015-07-28 Pedro Alves <palves@redhat.com>
18918 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18920 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18922 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18924 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18926 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18928 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18930 * gdb.base/gdb-sigterm-2.exp: New test.
18932 2015-07-25 Doug Evans <xdje42@gmail.com>
18935 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18936 (workers/%.worker, build-perf): New rule.
18937 (GDB_PERFTEST_MODE): New variable.
18938 (check-perf): Use it.
18939 (clean): Clean up gdb.perf parallel build subdirs.
18940 * lib/build-piece.exp: New file.
18941 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18942 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18944 (standard_temp_file): Ditto.
18945 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18948 2015-07-24 Doug Evans <dje@google.com>
18950 * gdb.perf/lib/perftest/utils.py: New file.
18951 * gdb.perf/gm-hello.cc: New file.
18952 * gdb.perf/gm-pervasive-typedef.cc: New file.
18953 * gdb.perf/gm-pervasive-typedef.h: New file.
18954 * gdb.perf/gm-std.cc: New file.
18955 * gdb.perf/gm-std.h: New file.
18956 * gdb.perf/gm-use-cerr.cc: New file.
18957 * gdb.perf/gm-utils.h: New file.
18958 * gdb.perf/gmonster-null-lookup.py: New file.
18959 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18960 * gdb.perf/gmonster-print-cerr.py: New file.
18961 * gdb.perf/gmonster-ptype-string.py: New file.
18962 * gdb.perf/gmonster-runto-main.py: New file.
18963 * gdb.perf/gmonster-select-file.py: New file.
18964 * gdb.perf/gmonster1-null-lookup.exp: New file.
18965 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18966 * gdb.perf/gmonster1-print-cerr.exp: New file.
18967 * gdb.perf/gmonster1-ptype-string.exp: New file.
18968 * gdb.perf/gmonster1-runto-main.exp: New file.
18969 * gdb.perf/gmonster1-select-file.exp: New file.
18970 * gdb.perf/gmonster1.cc: New file.
18971 * gdb.perf/gmonster1.exp: New file.
18972 * gdb.perf/gmonster2-null-lookup.exp: New file.
18973 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18974 * gdb.perf/gmonster2-print-cerr.exp: New file.
18975 * gdb.perf/gmonster2-ptype-string.exp: New file.
18976 * gdb.perf/gmonster2-runto-main.exp: New file.
18977 * gdb.perf/gmonster2-select-file.exp: New file.
18978 * gdb.perf/gmonster2.cc: New file.
18979 * gdb.perf/gmonster2.exp: New file.
18981 2015-07-24 Doug Evans <dje@google.com>
18983 * gdb.perf/README: New file.
18984 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18985 * lib/gen-perf-test.exp: New file.
18987 2015-07-24 Doug Evans <dje@google.com>
18989 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18990 (PerfTest::startup): New function.
18991 (PerfTest::run): Return result of calling body.
18992 (PerfTest::assemble): Rewrite.
18993 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18994 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18995 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18996 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18997 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18999 2015-07-24 Doug Evans <dje@google.com>
19001 * lib/gdb.exp (clean_restart): Make executable optional.
19003 2015-07-24 Doug Evans <dje@google.com>
19005 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
19006 compiler_info references.
19007 * gdb.cp/temargs.exp: Ditto.
19008 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
19009 (get_compiler_info): Early exit if already computed. Set compiler_info
19010 to "unknown" if there was a problem.
19011 (test_compiler_info): Add function comment. Call get_compiler_info.
19013 2015-07-24 Doug Evans <dje@google.com>
19015 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
19016 (workers/%.worker, build-perf): New rule.
19017 (GDB_PERFTEST_MODE): New variable.
19018 (check-perf): Use it.
19019 (clean): Clean up gdb.perf parallel build subdirs.
19020 * lib/build-piece.exp: New file.
19021 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
19022 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
19024 (standard_temp_file): Ditto.
19025 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
19028 2015-07-24 Doug Evans <dje@google.com>
19030 * lib/future.exp (gdb_default_target_compile): New option
19032 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
19035 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
19037 * gdb.base/catch-syscall.exp: Call gdb_exit before
19040 2015-07-24 Pedro Alves <palves@redhat.com>
19042 * gdb.python/py-events.exp: Accept output between the stop event
19044 * gdb.python/py-evsignal.exp: Likewise.
19045 * gdb.python/py-evthreads.exp: Likewise.
19047 2015-07-24 Pedro Alves <palves@redhat.com>
19050 * gdb.threads/non-ldr-exit.c: New file.
19051 * gdb.threads/non-ldr-exit.exp: New file.
19053 2015-07-24 Yao Qi <yao.qi@linaro.org>
19055 * gdb.server/ext-wrapper.exp: Test --wrapper option when
19056 restarting process.
19058 2015-07-24 Yao Qi <yao.qi@linaro.org>
19060 * gdb.server/ext-restart.exp: New file.
19062 2015-07-24 Yao Qi <yao.qi@linaro.org>
19064 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
19066 * gdb.server/ext-wrapper.exp: New file.
19068 2015-07-23 Doug Evans <dje@google.com>
19070 * gdb.dwarf2/dw2-dummy-cu.S: New file.
19071 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
19073 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
19075 * gdb.ada/var_arr_typedef.exp: New testcase.
19076 * gdb.ada/var_arr_typedef/pack.adb: New file.
19077 * gdb.ada/var_arr_typedef/pack.ads: New file.
19078 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
19080 2015-07-20 Joel Brobecker <brobecker@adacore.com>
19082 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
19084 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19086 * gdb.arch/i386-biarch-core.exp: Replace istarget
19087 by "complete set gnutarget". Remove expectation for the "core-file"
19090 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
19092 Revert the previous commit:
19093 Tests for validate symbol file using build-id.
19095 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
19097 Tests for validate symbol file using build-id.
19098 * gdb.base/solib-mismatch-lib.c: New file.
19099 * gdb.base/solib-mismatch-libmod.c: New file.
19100 * gdb.base/solib-mismatch.c: New file.
19101 * gdb.base/solib-mismatch.exp: New file.
19103 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
19105 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
19107 * gdb.base/sigbpt.exp (stepi_out): Likewise.
19108 * gdb.base/siginfo.exp: Likewise.
19109 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19111 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
19113 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
19115 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
19117 * gdb.trace/range-stepping.exp: Check that the target supports
19120 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19122 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
19124 2015-07-14 Pedro Alves <palves@redhat.com>
19126 * gdb.base/killed-outside.exp: New file.
19127 * gdb.base/killed-outside.c: New file.
19129 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19131 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
19133 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
19135 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19137 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
19138 infcall tests instead of setting up for KFAIL.
19140 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
19142 * gdb.btrace/record_goto-step.exp: New.
19144 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
19147 * gdb.compile/compile.c (struct struct_type): Add volatile to
19149 * gdb.compile/compile.exp
19150 (compile code struct_object.selffield = &struct_object): Skip further
19151 struct_object tests if this one xfails.
19153 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
19156 * gdb.trace/ax.exp: Add test.
19158 2015-07-07 Yao Qi <yao.qi@linaro.org>
19160 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
19161 instead of istarget "aarch64*-*-*".
19162 * gdb.arch/aarch64-fp.exp: Likewise.
19163 * gdb.base/float.exp: Likewise.
19164 * gdb.reverse/aarch64.exp: Likewise.
19165 * lib/gdb.exp (is_aarch64_target): New proc.
19167 2015-07-07 Yao Qi <yao.qi@linaro.org>
19169 * lib/gdb.exp (is_aarch32_target): New proc.
19170 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
19171 instead of "istarget "arm*-*-*"".
19172 * gdb.arch/arm-disp-step.exp: Likewise.
19173 * gdb.arch/thumb-bx-pc.exp: Likewise.
19174 * gdb.arch/thumb-prologue.exp: Likewise.
19175 * gdb.arch/thumb-singlestep.exp: Likewise.
19176 * gdb.base/disp-step-syscall.exp: Likewise.
19177 * gdb.base/float.exp: Likewise.
19179 2015-07-07 Yao Qi <yao.qi@linaro.org>
19181 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
19182 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
19184 2015-07-07 Yao Qi <yao.qi@linaro.org>
19186 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
19187 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
19189 * gdb.multi/multi-arch.exp: Likewise.
19191 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
19193 * gdb.python/py-lazy-string.exp: Add missing parentheses to
19196 2015-07-07 Yao Qi <yao.qi@linaro.org>
19198 * gdb.arch/thumb-singlestep.exp: Do one more single step.
19200 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
19202 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
19203 '[' and ']' characters.
19205 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
19207 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
19209 2015-06-29 Pedro Alves <palves@redhat.com>
19212 * gdb.threads/hand-call-new-thread.c: New file.
19213 * gdb.threads/hand-call-new-thread.c: New file.
19215 2015-06-26 Keith Seitz <keiths@redhat.com>
19216 Doug Evans <dje@google.com>
19219 * gdb.cp/var-tag-2.cc: New file.
19220 * gdb.cp/var-tag-3.cc: New file.
19221 * gdb.cp/var-tag-4.cc: New file.
19222 * gdb.cp/var-tag.cc: New file.
19223 * gdb.cp/var-tag.exp: New file.
19225 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19227 * gdb.base/history-duplicates.exp: New test.
19229 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
19231 * gdb.base/completion.exp: Test the completion of the "focus"
19234 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19236 * gdb.arch/amd64-prologue-skip.S: New file.
19237 * gdb.arch/amd64-prologue-skip.exp: New file.
19239 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
19241 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
19242 is_address_zero_readable check.
19244 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
19246 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
19247 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
19249 2015-06-24 Yao Qi <yao.qi@linaro.org>
19251 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
19254 2015-06-24 Yao Qi <yao.qi@linaro.org>
19256 * lib/gdb.exp (supports_get_siginfo_type): New proc.
19257 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
19258 * gdb.base/siginfo-thread.exp: Likewise.
19260 2015-06-22 Yao Qi <yao.qi@linaro.org>
19262 * boards/remote-gdbserver-on-localhost.exp: Add comments.
19264 2015-06-22 Yao Qi <yao.qi@linaro.org>
19266 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
19268 (skip_hw_watchpoint_tests): Likewise.
19270 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
19272 * gdb.base/gdbinit-history.exp: Test the interaction between
19273 setting GDBHISTSIZE and setting the history size via .gdbinit.
19275 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19278 * gdb.base/gdbhistsize-history.exp: New test.
19280 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19282 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
19284 * gdb.base/readline.exp: Likewise.
19286 2015-06-17 Yao Qi <yao.qi@linaro.org>
19288 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
19291 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
19293 * gdb.base/gdbinit-history.exp: Add test case to check that
19294 an unlimited history file does not get truncated on exit.
19296 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19298 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
19299 (VECTOR): New macro. Use it...
19300 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
19301 ...for these typedefs.
19302 (int8, char1, int1, double1): New typedefs.
19303 (struct just_int2, struct two_int2): New structures.
19304 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
19305 (add_structvecs, add_singlevecs): New functions.
19306 (main): Call add_some_intvecs twice.
19307 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
19308 the compile and exit upon failure. Try compiling for the "native"
19309 architecture. Test inferior function calls with vector arguments
19310 and vector return value handling with "finish" and "return".
19312 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
19314 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
19315 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
19317 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
19319 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
19321 PR breakpoints/16465
19322 * gdb.mi/mi-dprintf-pending.c: New file.
19323 * gdb.mi/mi-dprintf-pending.exp: New test.
19324 * gdb.mi/mi-dprintf-pendshr.c: New file.
19326 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19327 Mircea Gherzan <mircea.gherzan@intel.com>
19329 * gdb.arch/i386-mpx-map.c: New file.
19330 * gdb.arch/i386-mpx-map.exp: New File.
19332 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19334 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
19335 * gdb.arch/i386-mpx.exp: Indentation fixed.
19337 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19339 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
19340 function and improved indentation.
19341 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
19342 gdb_test_multiple. Added additional tests to skip the test.
19344 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
19346 * gdb.arch/i386-avx512.c: Change path in include file.
19347 * gdb.arch/i386-avx512.exp: Change include dir path
19349 * gdb.arch/i386-mpx.c: Change path in include file.
19350 * gdb.arch/i386-mpx.exp: Change include dir path compilation
19353 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
19355 * gdb.compile/compile-print.exp (compile print *vararray@3)
19356 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
19358 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19360 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
19361 (do not keep jit in memory): ... this.
19362 (expect 5): Change it to ...
19363 (expect no 5): ... this.
19365 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
19368 * gdb.mi/mi-detach.exp: New file.
19370 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19373 * gdb.arch/amd64-tailcall-self.S: New file.
19374 * gdb.arch/amd64-tailcall-self.c: New file.
19375 * gdb.arch/amd64-tailcall-self.exp: New file.
19377 2015-05-28 Don Breazeal <donb@codesourcery.com>
19379 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
19380 tests for remote targets by checking is_target_gdbserver.
19382 2015-05-27 Doug Evans <dje@google.com>
19384 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
19385 * gdb.dwarf2/opaque-type-lookup.c: New file.
19386 * gdb.dwarf2/opaque-type-lookup.exp: New file.
19388 2015-05-26 Doug Evans <dje@google.com>
19390 * gdb.cp/iostream.cc: New file.
19391 * gdb.cp/iostream.exp: New file.
19393 2015-05-26 Doug Evans <dje@google.com>
19395 * gdb.dwarf2/dw2-op-call.exp: Update.
19396 * gdb.dwarf2/dw4-sig-types.exp: Update.
19397 * gdb.dwarf2/implptr.exp: Update.
19398 * gdb.mi/mi-cmd-param-changed.exp: Update.
19400 2015-05-26 Doug Evans <dje@google.com>
19402 * gdb.python/py-lazy-string.c: New file.
19403 * gdb.python/py-lazy-string.exp: New file.
19404 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
19405 (main): Update. Add estring3.
19406 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
19407 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
19409 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19410 Yao Qi <yao.qi@linaro.org>
19412 * gdb.reverse/aarch64.c: New.
19413 * gdb.reverse/aarch64.exp: New.
19415 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
19417 * lib/gdb.exp (supports_process_record): Return true for
19419 (supports_reverse): Likewise.
19421 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
19423 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19424 Use with_test_prefix.
19426 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
19428 * gdb.base/completion.exp: Add test for completion of layout
19431 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
19433 * lib/gdb.exp (skip_tui_tests): New proc.
19434 * gdb.base/tui-layout.exp: Check skip_tui_tests.
19436 2015-05-19 Pedro Alves <palves@redhat.com>
19438 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
19439 Save the whole env array instead of just HOME. Unset HISTSIZE in
19440 the environment while testing. Restore whole environment
19443 2015-05-16 Doug Evans <xdje42@gmail.com>
19445 * gdb.guile/scm-ports.c: New file.
19446 * gdb.guile/scm-ports.exp: Add memory port tests.
19448 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19450 * gdb.compile/compile-print.c: New file.
19451 * gdb.compile/compile-print.exp: New file.
19453 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19455 * gdb.compile/compile-ops.exp: Cast param to void.
19456 * gdb.compile/compile.exp: Complete type for _gdb_expr.
19457 (compile code struct_object.selffield = &struct_object): Add xfail.
19459 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19461 * gdb.ada/arr_enum_with_gap: New testcase.
19463 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19465 * gdb.ada/byte_packed_arr: New testcase.
19467 2015-05-15 Joel Brobecker <brobecker@adacore.com>
19469 * gdb.ada/pckd_neg: New testcase.
19471 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
19474 * gdb.base/gdbinit-history.exp: New test.
19475 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
19476 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
19478 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
19480 * gdb.python/py-xmethods.cc: Enhance test case.
19481 * gdb.python/py-xmethods.exp: New tests.
19482 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
19484 (B_indexoper): Likewise.
19485 (global_dm_list) : Add new xmethod worker functions.
19487 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
19489 * gdb.base/coredump-filter.exp: Correctly unset
19490 "coredump_var_addr" array.
19492 2015-05-08 Pedro Alves <palves@redhat.com>
19494 * gdb.server/non-existing-program.exp: Unset spawn_id.
19496 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
19499 * gdb.python/py-xmethods.exp: Add tests.
19501 2015-05-08 Yao Qi <yao.qi@linaro.org>
19504 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
19505 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
19506 function set_coredump_filter, and remove remote_exec call.
19507 Remove argument ipid. Callers update.
19508 (top level): Don't get inferior's PID.
19510 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
19512 * gdb.base/watch_thread_num.exp: Skip test on targets without
19513 access watchpoints.
19515 2015-05-06 Pedro Alves <palves@redhat.com>
19518 * gdb.server/non-existing-program.exp: New file.
19520 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19522 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
19524 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19526 * gdb.ada/out_of_line_in_inlined: New testcase.
19528 2015-05-05 Joel Brobecker <brobecker@adacore.com>
19530 * gdb.ada/var_rec_arr: New testcase.
19532 2015-04-30 Yao Qi <yao.qi@linaro.org>
19534 * gdb.base/break-idempotent.exp: If
19535 skip_hw_watchpoint_multi_tests returns true, skip the tests
19536 on "rwatch" and "awatch".
19538 2015-04-30 Yao Qi <yao.qi@linaro.org>
19540 * gdb.base/relativedebug.exp: Invoke gdb command
19541 "info sharedlibrary", and if libc.so doesn't have debug info,
19544 2015-04-29 Doug Evans <dje@google.com>
19546 * gdb.python/py-xmethods.exp: Add ptype tests.
19547 * gdb.python/py-xmethods.py (E_method_char_worker): Add
19548 get_result_type method.
19550 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19552 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
19553 the target does not support hardware watchpoints.
19555 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
19557 * gdb.base/break-always.exp: Abort testing if writing to memory
19560 2015-04-28 Doug Evans <dje@google.com>
19562 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
19563 * gdb.python/py-pp-registration.exp: ... here. New file.
19564 * gdb.python/py-pp-registration.c: New file.
19565 * gdb.python/py-pp-registration.py: New file.
19567 2015-04-28 Doug Evans <dje@google.com>
19569 * gdb.python/py-bad-printers.c: New file.
19570 * gdb.python/py-bad-printers.py: New file.
19571 * gdb.python/py-bad-printers.exp: New file.
19573 2015-04-28 Sasha Smundak <asmundak@google.com>
19575 * gdb.python/py-type.exp: New test.
19577 2015-04-28 Andy Wingo <wingo@igalia.com>
19579 * gdb.python/py-parameter.exp:
19580 * gdb.guile/scm-parameter.exp: Escape the path that we are
19581 matching against, as it might contain characters that are special
19582 to regular expressions.
19584 2015-04-27 Joel Brobecker <brobecker@adacore.com>
19586 * gdb.ada/rec_comp: New testcase.
19588 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
19590 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
19593 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
19595 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
19596 new tests for verilog output.
19598 2015-04-24 Yao Qi <yao.qi@linaro.org>
19600 * boards/remote-gdbserver-on-localhost.exp: New file.
19602 2015-04-23 Pedro Alves <palves@redhat.com>
19604 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
19605 $inferior_spawn_id instead of $inferior_spawn_id directly. On
19606 "end of file", remove $inferior_spawn_id from the indirect list.
19608 2015-04-23 Pedro Alves <palves@redhat.com>
19610 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
19612 2015-04-23 Pedro Alves <palves@redhat.com>
19614 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
19615 on $any_spawn_id instead of only on $gdb_spawn_id.
19617 2015-04-21 Pierre Muller <muller@sourceware.org>
19620 * lib/pascal.exp (gpc_compile): Add new option "class".
19621 (fpc_compile): Likewise.
19622 * gdb.pascal/case-insensitive-symbols.pas: New file.
19623 * gdb.pascal/case-insensitive-symbols.exp: New file.
19625 2015-04-20 Gary Benson <gbenson@redhat.com>
19627 * gdb.base/attach.exp: Fix three extended remote failures.
19629 2015-04-17 Gary Benson <gbenson@redhat.com>
19631 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
19632 the main executable over the remote protocol.
19634 2015-04-16 Pedro Alves <palves@redhat.com>
19636 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
19637 a new gdbserver if gdbserver_reconnect_p is set.
19639 2015-04-16 Pedro Alves <palves@redhat.com>
19641 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
19642 is set, don't exit gdbserver.
19644 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19646 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
19647 appropriate .insn, such that an older assembler can be used.
19648 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
19649 the z/Architecture instruction set on 31-bit targets as well.
19651 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
19653 * gdb.go/handcall.exp: Remove all logic related to the first
19654 breakpoint and rely on go_runto_main instead.
19655 * gdb.go/strings.exp: Likewise.
19656 * gdb.go/unsafe.exp: Likewise.
19657 * gdb.go/hello.exp: Likewise. Also rename the remaining
19658 breakpoint marker to "breakpoint 1".
19659 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
19660 * gdb.go/strings.go: Likewise.
19661 * gdb.go/unsafe.go: Likewise.
19662 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
19663 "set breakpoint 2 here" and rename the remaining breakpoint marker
19666 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
19668 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
19669 if itertools.imap is not present.
19670 * gdb.python/py-objfile.exp: Add parentheses.
19671 * gdb.python/py-type.exp: Same.
19672 * gdb.python/py-unwind-maint.py: Same.
19674 2015-04-15 Yao Qi <yao.qi@linaro.org>
19676 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
19677 of ":$ptr_size" and set its form explicitly.
19679 2015-04-15 Pedro Alves <palves@redhat.com>
19680 Yao Qi <yao.qi@linaro.org>
19682 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
19683 timeout by factor of 4.
19684 (test_regular_watch): Likewise.
19685 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
19686 * gdb.reverse/sigall-reverse.exp: Likewise.
19687 * gdb.reverse/until-precsave.exp: Likewise.
19688 * lib/gdb.exp (with_timeout_factor): New proc.
19689 (gdb_expect): Move some code to ...
19690 (get_largest_timeout): ... here. New procedure.
19692 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
19694 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
19696 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19698 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
19699 to write to the .text section.
19701 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
19703 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
19704 Handle the case of targets that do not provide PID information.
19706 2015-04-13 Yao Qi <yao.qi@linaro.org>
19708 * lib/gdbserver-support.exp (gdb_exit): Catch exception
19709 and use expect instead of gdb_expect.
19711 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
19713 * gdb.base/coredump-filter.exp: Rename variable "addr" to
19714 "coredump_var_addr" to avoid naming conflict with other testcases.
19716 2015-04-10 Pedro Alves <palves@redhat.com>
19718 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
19719 gdb_test_sequence and gdb_assert.
19721 2015-04-10 Pedro Alves <palves@redhat.com>
19723 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
19724 test messages that don't include the breakpoint address.
19726 2015-04-10 Yao Qi <yao.qi@linaro.org>
19728 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
19729 false for some offset and width combinations which aren't
19730 supported by linux kernel.
19732 2015-04-10 Pedro Alves <palves@redhat.com>
19734 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
19735 procedure, factored out from ...
19736 (top level): ... here. Add "set displaced-stepping" testing axis.
19737 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
19738 parameter "displaced". Use it.
19739 (top level): Use foreach and add "set displaced-stepping" testing
19742 2015-04-10 Pedro Alves <palves@redhat.com>
19744 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
19746 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
19747 both the address of the instruction that triggers the watchpoint
19748 and the address of the instruction immediately after, and use
19749 those addresses for the test. Fix comment.
19751 2015-04-10 Pedro Alves <palves@redhat.com>
19753 * gdb.base/sigstep.exp (breakpoint_to_handler)
19754 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19755 Test "backtrace" in handler.
19756 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19757 (top level): Add new "displaced" test axis to
19758 breakpoint_to_handler, breakpoint_to_handler_entry and
19759 breakpoint_over_handler.
19761 2015-04-10 Pedro Alves <palves@redhat.com>
19764 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19766 2015-04-10 Yao Qi <yao.qi@linaro.org>
19768 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19769 (test_add_rn_pc): New function.
19770 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19771 (top level): Invoke test_add_rn_pc.
19773 2015-04-10 Pedro Alves <palves@redhat.com>
19776 * gdb.base/step-over-no-symbols.exp: New file.
19778 2015-04-09 Andy Wingo <wingo@igalia.com>
19780 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19781 after the Python tests.
19783 2015-04-08 Keith Seitz <keiths@redhat.com>
19786 * gdb.python/py-completion.exp: New tests for completion.
19787 * gdb.python/py-completion.py (CompleteLimit1): New class.
19788 (CompleteLimit2): Likewise.
19789 (CompleteLimit3): Likewise.
19790 (CompleteLimit4): Likewise.
19791 (CompleteLimit5): Likewise.
19792 (CompleteLimit6): Likewise.
19793 (CompleteLimit7): Likewise.
19795 2015-04-08 Pedro Alves <palves@redhat.com>
19799 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19801 (main): Install it as SIGUSR1 handler.
19802 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19803 parameter. Always use "setup" as prefix. Toggle "set
19804 displaced-stepping" off/on depending on global. Don't switch to
19806 (top level): Add displaced stepping "off/on" test axis. Update
19807 "setup" calls. Wrap each subtest with with_test_prefix. Test
19808 continuing with a queued signal in each thread.
19810 2015-04-08 Pedro Alves <palves@redhat.com>
19812 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19813 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19814 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19815 Return early if running to main fails.
19816 * gdb.trace/while-stepping.exp: Likewise.
19818 2015-04-07 Pedro Alves <palves@redhat.com>
19820 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19821 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19822 interact with inferior program.
19824 2015-04-07 Pedro Alves <palves@redhat.com>
19826 * lib/gdb.exp (inferior_spawn_id): New global.
19827 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19828 spawn id after processing the user code.
19829 (default_gdb_start): Set inferior_spawn_id.
19830 (send_inferior): New procedure.
19831 * lib/gdbserver-support.exp (gdbserver_start): Set
19833 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19835 2015-04-07 Pedro Alves <palves@redhat.com>
19837 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19838 * lib/gdbserver-support.exp (gdbserver_start): Make
19839 $server_spawn_id global.
19840 (gdbserver_start): Don't wait for gdbserver's spawn id with
19842 (close_gdbserver): New procedure.
19843 (gdb_exit): Rename the default version and reimplement.
19845 2015-04-07 Pedro Alves <palves@redhat.com>
19847 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19848 append the substituted item, not the original item.
19850 2015-04-07 Pedro Alves <palves@redhat.com>
19852 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19855 2015-04-07 Pedro Alves <palves@redhat.com>
19857 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19858 output appearing once only.
19860 2015-04-07 Pedro Alves <palves@redhat.com>
19862 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19863 that doesn't expect anything. Return early if running to main
19866 2015-04-07 Yao Qi <yao.qi@linaro.org>
19868 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19869 (child_function): Call alarm.
19870 (main): Move call to alarm into the loop.
19871 * gdb.threads/non-stop-fair-events.exp: Build program with
19872 -DTIMEOUT=$timeout.
19874 2015-04-06 Doug Evans <xdje42@gmail.com>
19876 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19877 Fix dest parameter to board_info.
19878 (fpc_compile): Ditto.
19879 (gdb_compile_pascal): Rename dest arg to destfile.
19881 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19883 * gdb.ada/funcall_ref.exp: New file.
19884 * gdb.ada/funcall_ref/foo.adb: New file.
19886 2015-04-02 Yao Qi <yao.qi@linaro.org>
19888 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19891 2015-04-02 Gary Benson <gbenson@redhat.com>
19893 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19895 2015-04-01 Sasha Smundak <asmundak@google.com>
19897 * gdb.python/py-unwind-maint.c: New file.
19898 * gdb.python/py-unwind-maint.exp: New test.
19899 * gdb.python/py-unwind-maint.py: New file.
19900 * gdb.python/py-unwind.c: New file.
19901 * gdb.python/py-unwind.exp: New test.
19902 * gdb.python/py-unwind.py: New test.
19904 2015-04-01 Pedro Alves <palves@redhat.com>
19906 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19907 to fail instead of non-existent $test.
19909 2015-04-01 Pedro Alves <palves@redhat.com>
19911 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19912 GDBFLAGS if not empty.
19914 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19916 * gdb.ada/complete.exp: Remove "multi_line".
19917 * gdb.ada/info_exc.exp: Remove "multi_line".
19918 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19919 * gdb.ada/ptype_field.exp: Remove "multi_line".
19920 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19921 * gdb.ada/tagged.exp: Remove "multi_line".
19922 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19924 * gdb.btrace/delta.exp: Likewise.
19925 * gdb.btrace/exception.exp: Likewise.
19926 * gdb.btrace/function_call_history.exp: Likewise.
19927 * gdb.btrace/instruction_history.exp: Likewise.
19928 * gdb.btrace/nohist.exp: Likewise.
19929 * gdb.btrace/record_goto.exp: Likewise.
19930 * gdb.btrace/segv.exp: Likewise.
19931 * gdb.btrace/stepi.exp: Likewise.
19932 * gdb.btrace/tailcall.exp: Likewise.
19933 * gdb.btrace/unknown_functions.exp: Likewise.
19934 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19935 * lib/gdb.exp: Add the "multi_line" helper.
19937 2015-04-01 Pedro Alves <palves@redhat.com>
19939 * gdb.threads/tid-reuse.c: New file.
19940 * gdb.threads/tid-reuse.exp: New file.
19942 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19945 * gdb.base/coredump-filter.c: New file.
19946 * gdb.base/coredump-filter.exp: Likewise.
19948 2015-03-27 Petr Machata <pmachata@redhat.com>
19950 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19951 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19952 (Dwarf::assemble): Initialize them.
19953 (Dwarf::lines): New function.
19955 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19957 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19958 SYMBOL_PREFIX for x86_64-*-cygwin.
19960 2015-03-26 Andy Wingo <wingo@igalia.com>
19963 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19964 const_value but not a location.
19965 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19966 location defined in non-main CUs are visible.
19968 2015-03-26 Yao Qi <yao.qi@linaro.org>
19971 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19972 Add a line number entry for the same line.
19973 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19974 Add a line number entry for the same line.
19976 2015-03-26 Yao Qi <yao.qi@linaro.org>
19978 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19980 (func): Likewise. Add .Lfunc_1 label.
19981 Use .Lfunc_1 label.
19982 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19985 Use .Lfunc_1 label.
19987 2015-03-26 Yao Qi <yao.qi@linaro.org>
19989 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19990 Call gdb_compile instead to compile each .s files without debug
19993 2015-03-26 Yao Qi <yao.qi@linaro.org>
19995 * gdb.base/savedregs.exp (process_saved_regs): Make
19996 "Saved registers:" optional in the pattern.
19998 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20000 * gdb.btrace/next.exp: Merged into step.exp.
20001 * gdb.btrace/finish.exp: Merged into step.exp.
20002 * gdb.btrace/nexti.exp: Merged into stepi.exp.
20003 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
20004 "record goto" and checking the exact replay position.
20005 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
20006 check for "Recording format" in "info record" output.
20007 * gdb.btrace/record_goto.exp: Choose test file based on target.
20008 * gdb.btrace/x86-record_goto.S: Renamed into ...
20009 * gdb.btrace/x86_64-record_goto.S: ... this.
20010 * gdb.btrace/i686-record_goto.S: New.
20011 * gdb.btrace/x86-tailcall.S: Renamed into ...
20012 * gdb.btrace/x86_64-tailcall.S: ... this.
20013 * gdb.btrace/i686-tailcall.S: New.
20014 * gdb.btrace/x86-tailcall.c: Renamed into ...
20015 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
20016 separate statements. Update test.
20017 * gdb.btrace/delta.exp: Use record_goto.c as test file.
20018 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
20019 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
20020 * gdb.btrace/tailcall.exp: Choose test file based on target.
20021 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
20023 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
20025 * gdb.btrace/exception.exp: Increase BTS buffer size.
20027 2015-03-24 Pedro Alves <palves@redhat.com>
20029 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
20031 2015-03-24 Pedro Alves <palves@redhat.com>
20033 * gdb.threads/schedlock.exp (test_step): No longer expect that
20034 "set scheduler-locking step" with "next" over a function call runs
20037 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20039 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
20041 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
20043 PR breakpoints/16466
20044 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
20045 * gdb.mi/mi-pending.c (thread_func): New function.
20046 (int main): Add threading support required.
20047 * gdb.mi/mi-pending.exp: Add tests for this issue.
20048 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
20049 (pendfunc2): Remove stdio dependency.
20050 * gdb.mi/mi-pendshr2.c: New file.
20052 2015-03-23 Keith Seitz <keiths@redhat.com>
20054 * gdb.linespec/keywords.c: New file.
20055 * gdb.linespec/keywords.exp: New file.
20057 2015-03-23 Keith Seitz <keiths@redhat.com>
20060 * gdb.dwarf2/staticvirtual.exp: New test.
20062 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
20064 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
20065 * README: Remove HP-UX and gdb.hp.
20067 * configure: Regenerate.
20068 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
20069 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
20070 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
20071 gdb.hp/gdb.defects/Makefile.
20072 * gdb.hp/Makefile.in: File deleted.
20073 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
20074 * gdb.hp/gdb.aCC/optimize.c: File deleted.
20075 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
20076 * gdb.hp/gdb.aCC/run.c: File deleted.
20077 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
20078 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
20079 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
20080 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
20081 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
20082 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
20083 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
20084 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
20085 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
20086 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
20087 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
20088 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
20089 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
20090 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
20091 * gdb.hp/gdb.base-hp/reg.s: File deleted.
20092 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
20093 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
20094 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
20095 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
20096 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
20097 * gdb.hp/gdb.compat/Makefile.in: File deleted.
20098 * gdb.hp/gdb.compat/average.c: File deleted.
20099 * gdb.hp/gdb.compat/sum.c: File deleted.
20100 * gdb.hp/gdb.compat/xdb.c: File deleted.
20101 * gdb.hp/gdb.compat/xdb0.c: File deleted.
20102 * gdb.hp/gdb.compat/xdb0.h: File deleted.
20103 * gdb.hp/gdb.compat/xdb1.c: File deleted.
20104 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
20105 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
20106 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
20107 * gdb.hp/gdb.defects/Makefile.in: File deleted.
20108 * gdb.hp/gdb.defects/bs14602.c: File deleted.
20109 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
20110 * gdb.hp/gdb.defects/solib-d.c: File deleted.
20111 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
20112 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
20113 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
20114 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
20115 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
20116 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
20117 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
20118 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
20119 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
20120 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
20121 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
20122 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
20123 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
20124 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
20125 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
20126 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
20127 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
20128 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
20129 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
20130 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
20131 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
20132 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
20133 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
20134 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
20135 * gdb.hp/tools/odump: File deleted.
20137 2015-03-19 Pedro Alves <palves@redhat.com>
20139 * gdb.threads/continue-pending-status.exp (saw_thread_2)
20140 (saw_thread_3): New globals.
20141 (top level): Increment them when an event for the corresponding
20143 (no thread starvation): New test.
20145 2015-03-19 Pedro Alves <palves@redhat.com>
20147 * gdb.threads/continue-pending-status.c: New file.
20148 * gdb.threads/continue-pending-status.exp: New file.
20150 2015-03-18 Pedro Alves <palves@redhat.com>
20152 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
20153 Use gdb_is_target_remote instead of is_remote. Use
20154 gdb_test_multiple instead of gdb_expect. Exit early if
20155 gdb_test_multiple hits its internal matches. Tighten stepi tests
20156 expected output. Fail on exit with any signal, instead of just
20159 2015-03-18 Yao Qi <yao.qi@linaro.org>
20162 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
20164 * gdb.base/catch-syscall.exp: Don't skip it on
20165 aarch64*-*-linux* target. Remove elements in all_syscalls.
20166 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
20168 (setup_all_syscalls): New proc.
20170 2015-03-16 Yao Qi <yao.qi@linaro.org>
20172 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
20173 (top level): Skip tests if valid_addr_p returns false for
20176 2015-03-11 Andy Wingo <wingo@igalia.com>
20178 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
20180 2015-03-11 Yao Qi <yao.qi@linaro.org>
20182 * gdb.base/catch-syscall.exp: Fix typo in comments.
20184 2015-03-11 Yao Qi <yao.qi@linaro.org>
20186 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
20188 2015-03-09 Pedro Alves <palves@redhat.com>
20190 * dg-extract-results.py: Delete.
20192 2015-03-09 Pedro Alves <palves@redhat.com>
20194 Merge dg-extract-results.sh from GCC upstream (r218843).
20196 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
20197 * dg-extract-results.sh: Use --text with grep to avoid issues with
20198 binary files. Fall back to cat -v, if that doesn't work.
20200 2015-03-05 Pedro Alves <palves@redhat.com>
20202 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
20204 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
20206 * lib/mi-support.exp (mi_expect_interrupt): Accept
20207 alternative event for when in all-stop mode.
20209 2015-03-04 Pedro Alves <palves@redhat.com>
20211 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
20213 2015-03-04 Mark Kettenis <kettenis@gnu.org>
20215 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
20217 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20219 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
20220 regexps for GDB's current line display, accept a hex address
20221 preceding the line number.
20223 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
20225 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
20226 the 'arch1' variable for "s390*-linux*" targets.
20228 2015-03-04 Pedro Alves <palves@redhat.com>
20230 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
20231 (main): Pass missing retval argument to pthread_join call.
20233 2015-03-02 Pedro Alves <palves@redhat.com>
20235 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
20236 (top level): Call do_test with non-stop as well.
20238 2015-03-02 Pedro Alves <palves@redhat.com>
20240 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
20243 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20245 * gdb.arch/s390-vregs.exp: New test.
20246 * gdb.arch/s390-vregs.S: New file.
20248 2015-02-27 Pedro Alves <palves@redhat.com>
20250 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
20251 call to catch_command_errors.
20252 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
20253 catch_command_errors.
20255 2015-02-27 Pedro Alves <palves@redhat.com>
20257 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
20258 "true" for boolean result.
20259 * gdb.gdb/selftest.exp (test_with_self): Also accept full
20262 2015-02-27 Pedro Alves <palves@redhat.com>
20264 * lib/unbuffer_output.c: New file.
20265 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
20266 (main): Call gdb_unbuffer_output.
20268 2015-02-27 Yao Qi <yao.qi@linaro.org>
20270 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
20273 2015-02-26 Doug Evans <dje@google.com>
20275 * gdb.cp/class2.cc (Dbase, D): New classes.
20276 (main): New local delta.
20277 * gdb.cp/class2.exp: Test printing delta.
20278 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
20279 (dynbar): New global.
20280 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
20282 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20284 * gdb.compile/compile-ifunc.c: New file.
20285 * gdb.compile/compile-ifunc.exp: New file.
20287 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
20289 * gdb.base/structs.exp: Check for correct struct on finish.
20291 2015-02-26 Yao Qi <yao.qi@linaro.org>
20293 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
20296 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
20298 * gdb.arch/cordic.ko.bz2: New file.
20299 * gdb.arch/cordic.ko.debug.bz2: New file.
20300 * gdb.arch/ppc64-symtab-cordic.exp: New file.
20302 2015-02-25 Yao Qi <yao.qi@linaro.org>
20304 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
20305 aarch64*-*-* target.
20307 2015-02-23 Pedro Alves <palves@redhat.com>
20309 * lib/gdb.exp (delete_breakpoints): Rewrite using
20312 2015-02-23 Pedro Alves <palves@redhat.com>
20314 * gdb.base/info-os.c: Include stdlib.h.
20316 2015-02-22 Doug Evans <xdje42@gmail.com>
20319 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
20320 is read after symbols have been re-read.
20321 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
20322 * gdb.ada/exec_changed/second.adb (Second): Ditto.
20324 2015-02-21 Doug Evans <dje@google.com>
20326 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
20328 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20331 * gdb.arch/i386-biarch-core.core.bz2: New file.
20332 * gdb.arch/i386-biarch-core.exp: New file.
20334 2015-02-21 Pedro Alves <palves@redhat.com>
20336 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
20339 2015-02-20 Pedro Alves <palves@redhat.com>
20341 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
20344 2015-02-20 Pedro Alves <palves@redhat.com>
20346 * gdb.threads/multi-create-ns-info-thr.exp: New file.
20348 2015-02-20 Pedro Alves <palves@redhat.com>
20350 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
20351 clean_restart before gdb_target_supports_trace.
20353 2015-02-20 Pedro Alves <palves@redhat.com>
20356 * gdb.threads/clone-thread_db.c: New file.
20357 * gdb.threads/clone-thread_db.exp: New file.
20359 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
20361 PR breakpoints/16812
20362 * gdb.base/catch-gdb-caused-signals.c: New file.
20363 * gdb.base/catch-gdb-caused-signals.exp: New file.
20365 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
20367 * configure: Regenerated.
20368 * configure.ac: Use GDB_AC_TRANSFORM.
20369 * aclocal.m4: sinclude ../transform.m4.
20371 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20373 * lib/dtrace.exp: New file.
20374 * gdb.base/dtrace-probe.exp: Likewise.
20375 * gdb.base/dtrace-probe.d: Likewise.
20376 * gdb.base/dtrace-probe.c: Likewise.
20377 * lib/pdtrace.in: Likewise.
20378 * configure.ac: Output variables with the transformed names of
20379 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
20380 * configure: Regenerated.
20382 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20384 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
20385 expected message when trying to access $_probe_* convenience
20386 variables while not on a probe.
20388 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20390 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
20392 2015-02-11 Pedro Alves <pedro@codesourcery.com>
20394 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
20395 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
20397 2015-02-10 Doug Evans <xdje42@gmail.com>
20399 * lib/gdb.exp (gdb_load): Always return a result.
20401 2015-02-10 Pedro Alves <palves@redhat.com>
20403 * gdb.threads/signal-sigtrap.c: New file.
20404 * gdb.threads/signal-sigtrap.exp: New file.
20406 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
20408 * gdb.trace/no-attach-trace.c: New file.
20409 * gdb.trace/no-attach-trace.exp: New file.
20411 2015-02-09 Mark Wielaard <mjw@redhat.com>
20413 * gdb.dwarf2/atomic.c: New file.
20414 * gdb.dwarf2/atomic-type.exp: Likewise.
20416 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20418 * gdb.btrace/buffer-size.exp: Update "info record" output.
20419 * gdb.btrace/delta.exp: Update "info record" output.
20420 * gdb.btrace/enable.exp: Update "info record" output.
20421 * gdb.btrace/finish.exp: Update "info record" output.
20422 * gdb.btrace/instruction_history.exp: Update "info record" output.
20423 * gdb.btrace/next.exp: Update "info record" output.
20424 * gdb.btrace/nexti.exp: Update "info record" output.
20425 * gdb.btrace/step.exp: Update "info record" output.
20426 * gdb.btrace/stepi.exp: Update "info record" output.
20427 * gdb.btrace/nohist.exp: Update "info record" output.
20429 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20431 * gdb.btrace/buffer-size: New.
20433 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
20435 * gdb.btrace/delta.exp: Update "info record" output.
20436 * gdb.btrace/enable.exp: Update "info record" output.
20437 * gdb.btrace/finish.exp: Update "info record" output.
20438 * gdb.btrace/instruction_history.exp: Update "info record" output.
20439 * gdb.btrace/next.exp: Update "info record" output.
20440 * gdb.btrace/nexti.exp: Update "info record" output.
20441 * gdb.btrace/step.exp: Update "info record" output.
20442 * gdb.btrace/stepi.exp: Update "info record" output.
20443 * gdb.btrace/nohist.exp: Update "info record" output.
20445 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
20448 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
20450 2015-02-06 Pedro Alves <palves@redhat.com>
20452 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
20454 (seconds_left, again): New globals.
20455 (main): Wait seconds_left in a 1-second sleep loop instead of
20456 sleeping 180 seconds. If 'again' is set, reset the seconds
20458 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
20459 'again' in the inferior before detaching. Print the seconds left.
20460 (options): New global.
20461 (top level): Build program with -DTIMEOUT=$timeout.
20463 2015-02-06 Pedro Alves <palves@redhat.com>
20465 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
20466 determine how many seconds to pass to 'alarm'.
20467 * gdb.base/gdb-sigterm.exp (top level): Build program with
20468 -DTIMEOUT=$timeout.
20469 (do_test): Return success/failure indication. Add more verbose
20470 logging. Don't fail if 200 single steps are seen. Instead, fail
20471 when the test times out.
20472 (passes): New global.
20473 (top level): Break the testing loop if testing fails on any
20474 iteration. Use gdb_assert.
20476 2015-02-04 Don Breazeal <donb@codesourcery.com>
20478 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
20479 and initialize them.
20480 (ipc_cleanup): New function.
20481 (main): Don't declare shmid, semid, and msqid. Add a call to
20482 atexit so that we call ipc_cleanup on exit.
20484 2015-02-04 Pedro Alves <palves@redhat.com>
20486 * boards/native-extended-gdbserver.exp: Remove any target variant
20487 specifications from the board name before clearing the isremote
20488 flag from board_info.
20490 2015-01-31 Doug Evans <xdje42@gmail.com>
20492 * gdb.base/maint.exp <maint print type argc>: Update expected output.
20494 2015-01-31 Gary Benson <gbenson@redhat.com>
20496 * gdb.base/completion.exp: Disable completion limiting for
20497 existing tests. Add new tests to check completion limiting.
20498 * gdb.linespec/ls-errs.exp: Disable completion limiting.
20500 2015-01-31 Doug Evans <xdje42@gmail.com>
20502 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
20504 2015-01-31 Doug Evans <xdje42@gmail.com>
20506 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
20507 entries. Duplicate file section script entries.
20508 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
20509 inlined entries. Add test for safe-path rejection.
20510 * gdb.python/py-section-script.c: Add duplicate inlined section script
20511 entries. Duplicate file section script entries.
20512 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
20513 inlined entries. Add test for safe-path rejection.
20515 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20517 * gdb.ada/disc_arr_bound: New testcase.
20519 2015-01-29 Joel Brobecker <brobecker@adacore.com>
20521 * gdb.ada/mi_var_array: New testcase.
20523 2015-01-27 Doug Evans <dje@google.com>
20525 * gdb.python/py-objfile.exp: Add tests for objfile.username.
20526 Add test for objfile.filename, objfile.username after objfile
20529 2015-01-26 Joel Brobecker <brobecker@adacore.com>
20531 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
20532 the second test to print the name attribute of value
20533 returned by the call to gdb.lookup_type, and adjust
20534 the expected output accordingly.
20536 2015-01-25 Mark Wielaard <mjw@redhat.com>
20538 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
20539 * gdb.base/disp-step-fork.c: Include unistd.h.
20540 * gdb.base/siginfo-obj.c: Include stdio.h.
20541 * gdb.base/siginfo-thread.c: Likewise.
20542 * gdb.mi/non-stop.c: Include unistd.h.
20543 * gdb.mi/nsthrexec.c: Include stdio.h.
20544 * gdb.mi/pthreads.c: Include unistd.h.
20545 * gdb.modula2/unbounded1.c (main): Declare returns int.
20546 * gdb.reverse/consecutive-reverse.c: Likewise.
20547 * gdb.threads/create-fail.c: Include unistd.h.
20548 * gdb.threads/killed.c: Likewise.
20549 * gdb.threads/linux-dp.c: Likewise.
20550 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
20551 * gdb.threads/non-ldr-exc-2.c: Likewise.
20552 * gdb.threads/non-ldr-exc-3.c: Likewise.
20553 * gdb.threads/non-ldr-exc-4.c: Likewise.
20554 * gdb.threads/pthreads.c: Include unistd.h.
20555 (main): Declare returns int.
20556 * gdb.threads/tls-main.c (foo): New declaration.
20557 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
20559 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
20561 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
20562 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
20564 2015-01-15 Mark Wielaard <mjw@redhat.com>
20566 * gdb.base/noreturn-return.c: New file.
20567 * gdb.base/noreturn-return.exp: New file.
20568 * gdb.base/noreturn-finish.c: New file.
20569 * gdb.base/noreturn-finish.exp: New file.
20571 2015-01-23 Pedro Alves <palves@redhat.com>
20573 * gdb.threads/continue-pending-after-query.c: New file.
20574 * gdb.threads/continue-pending-after-query.exp: New file.
20576 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
20577 Simon Marchi <simon.marchi@ericsson.com>
20579 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
20580 * gdb.base/valgrind-db-attach.exp: Same.
20581 * gdb.base/valgrind-infcall.exp: Same.
20582 * lib/mi-support.exp (default_mi_gdb_start): Same.
20583 * lib/prompt.exp (default_prompt_gdb_start): Same.
20584 * lib/gdb.exp (default_gdb_spawn): Same.
20585 (gdb_interact): New.
20588 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20590 * gdb.compile/compile.exp (pointer to jit function): New test.
20592 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
20594 * lib/gdb.exp (supports_process_record): Return true for
20596 (supports_reverse): Likewise.
20598 2015-01-15 Don Breazeal <donb@codesourcery.com>
20600 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
20601 instead of checking whether the target board is remote and
20602 use spawn_wait_for_attach instead of exec/sleep.
20603 * gdb.base/attach-twice.exp: Likewise.
20605 2015-01-15 Joel Brobecker <brobecker@adacore.com>
20607 * gdb.ada/var_arr_attrs: New testcase.
20609 2015-01-14 Pedro Alves <palves@redhat.com>
20610 Joel Brobecker <brobecker@adacore.com>
20613 * gdb.base/bp-cmds-execution-x-script.c: New file.
20614 * gdb.base/bp-cmds-execution-x-script.exp: New file.
20615 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
20617 2015-01-14 Pedro Alves <palves@redhat.com>
20620 * gdb.base/batch-preserve-term-settings.c: New file.
20621 * gdb.base/batch-preserve-term-settings.exp: New file.
20623 2015-01-13 Doug Evans <dje@google.com>
20625 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
20628 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20630 * Makefile.in (clean mostlyclean): Do not delete *.py.
20632 2015-01-13 Joel Brobecker <brobecker@adacore.com>
20634 * gdb.python/py-lookup-type.exp: New file.
20636 2015-01-12 Pedro Alves <palves@redhat.com>
20638 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
20639 restore GDBFLAGS before returning.
20641 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20643 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
20644 is_amd64_regs_target and is_x86_like_target.
20646 2015-01-11 Doug Evans <xdje42@gmail.com>
20648 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
20649 is given without an explicit form.
20650 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
20652 * gdb.dwarf/corrupt.exp: Ditto.
20653 * gdb.dwarf2/enum-type.exp: Ditto.
20654 * gdb.trace/entry-values.exp: Ditto.
20655 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
20657 2015-01-11 Doug Evans <xdje42@gmail.com>
20660 * gdb.base/maint.exp: Remove references to "maint demangle".
20661 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
20662 Add tests for explicitly specifying language to demangle.
20663 * gdb.dlang/demangle.exp: Ditto.
20665 2015-01-09 Pedro Alves <palves@redhat.com>
20667 * gdb.threads/non-stop-fair-events.c: New file.
20668 * gdb.threads/non-stop-fair-events.exp: New file.
20670 2015-01-09 Pedro Alves <palves@redhat.com>
20672 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
20673 the global scope. Set a breakpoint after all threads are started
20674 rather than stepping over two source lines. Expect the prompt.
20675 * gdb.base/watch_thread_num.c (threads_started_barrier): New
20678 (main): Use threads_started_barrier to wait for all threads to
20679 start. Main thread no longer calls thread_function. Exit after
20681 (loop): New function.
20682 (thread_function): Wait on threads_started_barrier barrier. Call
20683 'loop' at each iteration.
20684 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
20685 threads have started, instead of hardcoding number of "next"
20686 steps. Use an access watchpoint instead of a write watchpoint.
20688 2015-01-09 Pedro Alves <palves@redhat.com>
20690 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
20691 (thread_func): Wait on barrier.
20692 (main): Wait for all threads to start before stopping GDB.
20693 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
20695 (thread1_func, thread2_func): Wait on barrier.
20696 (main): Wait for all threads to start before stopping GDB.
20697 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
20699 (thread1_func, thread2_func): Wait on barrier.
20700 (main): Wait for all threads to start before stopping GDB.
20702 2015-01-09 Pedro Alves <palves@redhat.com>
20704 * gdb.threads/attach-many-short-lived-threads.c: New file.
20705 * gdb.threads/attach-many-short-lived-threads.exp: New file.
20707 2014-01-09 Pedro Alves <palves@redhat.com>
20709 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
20710 instead of to thread 2.
20711 * gdb.threads/signal-command-multiple-signals-pending.c (main):
20712 Add barrier around each pthread_create call instead of around all
20714 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
20715 Set a break on thread_function and have the child threads hit it
20718 2015-01-09 Pedro Alves <palves@redhat.com>
20720 * lib/gdb.exp (can_spawn_for_attach): New procedure.
20721 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
20723 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
20724 checking whether the target board is remote.
20725 * gdb.multi/multi-attach.exp: Likewise.
20726 * gdb.python/py-sync-interp.exp: Likewise.
20727 * gdb.server/ext-attach.exp: Likewise.
20728 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
20729 tests that need to attach, instead of checking whether the target
20730 board is remote at the top of the file.
20732 2015-01-08 Yao Qi <yao@codesourcery.com>
20734 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
20736 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20738 Fix testcase compilation.
20739 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
20741 2015-01-06 Joel Brobecker <brobecker@adacore.com>
20743 * gdb.python/py-type.exp: Add a couple test about empty
20744 array creation, and negative-length array creation.
20746 2015-01-02 Doug Evans <xdje42@gmail.com>
20748 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20750 2015-01-02 Doug Evans <dje@google.com>
20752 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20754 2014-12-29 Yao Qi <yao@codesourcery.com>
20756 * gdb.trace/entry-values.exp: Update comments. Rename variable
20757 bar_call_foo to returned_from_foo.
20759 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20762 * gdb.linespec/break-asm-file.c: New file.
20763 * gdb.linespec/break-asm-file.exp: New file.
20764 * gdb.linespec/break-asm-file0.s: New file.
20765 * gdb.linespec/break-asm-file1.s: New file.
20767 2014-12-18 Nigel Stephens <nigel@mips.com>
20768 Maciej W. Rozycki <macro@codesourcery.com>
20770 * gdb.base/float.exp: Handle the new output from "info float" on
20773 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20775 Fix MinGW compilation.
20776 * gdb.compile/compile-ops.exp: Update untested message if
20777 !skip_compile_feature_tests.
20778 * gdb.compile/compile-setjmp.exp: Likewise.
20779 * gdb.compile/compile-tls.exp: Likewise.
20780 * gdb.compile/compile.exp: Likewise.
20781 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20782 supported on this host".
20784 2014-12-16 Doug Evans <xdje42@gmail.com>
20786 * boards/stabs.exp: New file.
20788 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20790 * gdb.base/completion.exp: Adjust to format changes of "maint
20791 print user-registers".
20793 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
20796 * gdb.arch/aarch64-fp.c: New file.
20797 * gdb.arch/aarch64-fp.exp: New file.
20799 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20801 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20802 r210637, r210913, r211666, r215400, r215817).
20804 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20805 * dg-extract-results.py: New file.
20806 * dg-extract-results.sh: Use it if the environment seems
20809 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20811 * dg-extract-results.py (parse_run): Handle warnings that
20812 are printed before a test harness is run.
20814 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20816 * dg-extract-results.py (Named): Remove __cmp__ method.
20817 (output_variation): Use a key to sort variation.harnesses.
20819 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20821 * dg-extract-results.py: For Python 3, force sys.stdout to
20822 handle surrogate escape sequences.
20823 (safe_open): New function.
20824 (output_segment, main): Use it.
20826 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20828 * dg-extract-results.py (Prog.result_re): Include options
20831 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20833 * dg-extract-results.py (output_variation): Always sort if
20836 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20838 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20839 as long as we get pagination notifications.
20841 2014-12-15 Jason Merrill <jason@redhat.com>
20843 * Makefile.in (check-gdb.%): Restore.
20844 * README: Mention it.
20846 2014-12-13 Joel Brobecker <brobecker@adacore.com>
20848 * gdb.ada/str_uninit: New testcase.
20850 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20853 * gdb.base/vla-stub-define.c: New file.
20854 * gdb.base/vla-stub.c: New file.
20855 * gdb.base/vla-stub.exp: New file.
20857 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20858 Jan Kratochvil <jan.kratochvil@redhat.com>
20859 Tom Tromey <tromey@redhat.com>
20861 * configure.ac: Add gdb.compile/.
20862 * configure: Regenerate.
20863 * gdb.compile/Makefile.in: New file.
20864 * gdb.compile/compile-ops.exp: New file.
20865 * gdb.compile/compile-ops.c: New file.
20866 * gdb.compile/compile-tls.c: New file.
20867 * gdb.compile/compile-tls.exp: New file.
20868 * gdb.compile/compile-constvar.S: New file.
20869 * gdb.compile/compile-constvar.c: New file.
20870 * gdb.compile/compile-mod.c: New file.
20871 * gdb.compile/compile-nodebug.c: New file.
20872 * gdb.compile/compile-setjmp-mod.c: New file.
20873 * gdb.compile/compile-setjmp.c: New file.
20874 * gdb.compile/compile-setjmp.exp: New file.
20875 * gdb.compile/compile-shlib.c: New file.
20876 * gdb.compile/compile.c: New file.
20877 * gdb.compile/compile.exp: New file.
20878 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20880 2014-12-12 Tom Tromey <tromey@redhat.com>
20882 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20883 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20885 2014-12-12 Doug Evans <dje@google.com>
20887 * lib/gdb-python.exp (get_python_valueof): New function.
20888 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20890 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20892 * gdb.base/completion.exp: Add test for completion of "info
20895 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20897 * gdb.base/func-ptrs.c: New file.
20898 * gdb.base/func-ptrs.exp: New file.
20900 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20902 PR breakpoints/17012
20903 * gdb.base/dprintf-detach.c: New file.
20904 * gdb.base/dprintf-detach.exp: New file.
20906 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20908 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20909 * lib/gdb.exp (target_is_gdbserver): New procedure.
20911 2014-12-08 Doug Evans <dje@google.com>
20913 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20915 2014-12-05 Yao Qi <yao@codesourcery.com>
20917 * gdb.guile/scm-error.exp: Remove the third argument to
20918 gdb_remote_download.
20919 * gdb.guile/scm-frame-args.exp: Likewise.
20920 * gdb.guile/scm-section-script.exp: Likewise.
20922 2014-12-05 Yao Qi <yao@codesourcery.com>
20924 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20926 2014-12-04 Doug Evans <dje@google.com>
20928 * gdb.python/py-objfile.exp: Add tests for
20929 objfile.add_separate_debug_file.
20931 2014-12-04 Doug Evans <dje@google.com>
20933 * lib/gdb.exp (get_build_id): New function.
20934 (build_id_debug_filename_get): Rewrite to use it.
20935 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20937 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20939 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20940 `method(long)', not just 0x0.
20941 * gdb.cp/nsalias.exp: Align code labels to 4.
20942 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20943 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20944 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20945 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20946 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20947 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20949 2014-12-02 Doug Evans <dje@google.com>
20952 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20953 * gdb.cp/anon-ns2.cc: ... here. New file.
20954 * gdb.cp/anon-ns.exp: Update.
20956 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
20958 * gdb.python/py-events.py (inferior_call_handler): New.
20959 (register_changed_handler, memory_changed_handler): New.
20960 (test_events.invoke): Register new handlers.
20961 * gdb.python/py-events.exp: Add tests for inferior call,
20962 memory_changed and register_changed events.
20964 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20966 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20967 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20968 if the linker doesn't understand this.
20970 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20972 * gdb.python/python.exp: Change expected reply to help().
20974 2014-12-01 Yao Qi <yao@codesourcery.com>
20976 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20977 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20978 * configure: Re-generated.
20980 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20982 * gdb.cp/chained-calls.cc: New file.
20983 * gdb.cp/chained-calls.exp: New file.
20984 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20986 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20988 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20989 * gdb.dwarf2/symtab-producer.exp: Same.
20990 * gdb.gdb/python-interrupts.exp: Same.
20991 * gdb.gdb/python-selftest.exp: Same.
20992 * gdb.python/py-linetable.exp: Same.
20993 * gdb.python/py-type.exp: Same.
20994 * gdb.python/py-value-cc.exp: Same.
20995 * gdb.python/py-value.exp: Same.
20997 2014-11-28 Yao Qi <yao@codesourcery.com>
20999 * gdb.base/break-probes.exp: Match library name prefixed with
21002 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
21004 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
21005 test expected output. Add parentheses for the call to print.
21006 Remove L suffix from integers.
21008 2014-11-26 Doug Evans <dje@google.com>
21010 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
21012 2014-11-22 Yao Qi <yao@codesourcery.com>
21014 * gdb.trace/entry-values.c: Remove asms.
21015 (foo): Add foo_label.
21016 (bar): Add bar_label.
21017 * gdb.trace/entry-values.exp: Remove code computing foo's
21018 length and bar's length.
21019 (Dwarf::assemble): Invoke function_range for bar and use
21020 MACRO_AT_func for foo.
21022 2014-11-22 Yao Qi <yao@codesourcery.com>
21024 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
21025 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
21026 Use .Lgcc43_procstart instead of gcc43.
21028 2014-11-21 Joel Brobecker <brobecker@adacore.com>
21030 * gdb.ada/n_arr_bound: New testcase.
21032 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
21034 PR breakpoints/10737
21035 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
21036 test_catch_syscall_multi_arch.
21037 (test_catch_syscall_multi_arch): New function.
21039 2014-11-20 Doug Evans <xdje42@gmail.com>
21041 * gdb.base/maint.exp: Update expected output.
21043 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
21045 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
21046 4-byte instruction on S390.
21048 2014-11-19 Joel Brobecker <brobecker@adacore.com>
21050 * gdb.ada/arr_arr: New testcase.
21052 2014-11-19 Joel Brobecker <brobecker@adacore.com>
21054 * gdb.ada/pkd_arr_elem: New Testcase.
21056 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
21058 * gdb.reverse/break-precsave: Expect completion message for
21060 * gdb.reverse/consecutive-precsave.exp: Likewise.
21061 * gdb.reverse/finish-precsave.exp: Likewise.
21062 * gdb.reverse/i386-precsave.exp: Likewise.
21063 * gdb.reverse/machinestate-precsave.exp: Likewise.
21064 * gdb.reverse/sigall-precsave.exp: Likewise.
21065 * gdb.reverse/solib-precsave.exp: Likewise.
21066 * gdb.reverse/step-precsave.exp: Likewise.
21067 * gdb.reverse/until-precsave.exp: Likewise.
21068 * gdb.reverse/watch-precsave.exp: Likewise.
21070 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21072 * gdb.base/bp-permanent.c: Include unistd.h.
21073 * gdb.python/py-framefilter-mi.c (main): Add return type.
21074 * gdb.python/py-framefilter.c (main): Likewise.
21075 * gdb.trace/actions-changed.c (main): Likewise.
21077 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21079 * gdb.mi/until.c: Add eye-catchers.
21080 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
21083 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
21085 * gdb.base/condbreak.exp: Drop references to removed non-prototype
21086 function header variants in break1.c.
21087 * gdb.base/ena-dis-br.exp: Likewise.
21088 * gdb.base/hbreak2.exp: Likewise.
21089 * gdb.reverse/until-precsave.exp: Drop references to removed
21090 non-prototype function header variants in ur1.c.
21091 * gdb.reverse/until-reverse.exp: Likewise.
21093 2014-11-17 Petr Machata <pmachata@redhat.com>
21095 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
21096 ${_cu_offset_size} bytes abbrev offset.
21098 2014-11-15 Doug Evans <xdje42@gmail.com>
21101 * gdb.base/line-symtabs.exp: New file.
21102 * gdb.base/line-symtabs.c: New file.
21103 * gdb.base/line-symtabs.h: New file.
21105 2014-11-14 Yao Qi <yao@codesourcery.com>
21107 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
21108 (func): Add label func_label.
21109 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
21110 Replace low_pc and high_pc with MACRO_AT_range.
21111 Replace name, low_pc and high_pc with MACRO_AT_func.
21113 2014-11-14 Yao Qi <yao@codesourcery.com>
21115 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
21116 Replace name, low_pc and high_pc with MACRO_AT_func.
21118 2014-11-14 Yao Qi <yao@codesourcery.com>
21120 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
21121 produce debug information.
21122 * gdb.dwarf2/implptr-optimized-out.S: Removed.
21124 2014-11-14 Yao Qi <yao@codesourcery.com>
21126 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
21127 object and get function length.
21128 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
21129 with MACRO_AT_func.
21130 (top-level): Replace gdb_compile and clean_restart with
21131 prepare_for_testing.
21132 * gdb.dwarf2/main.c (main): Add label main_label.
21134 2014-11-14 Yao Qi <yao@codesourcery.com>
21136 * lib/dwarf.exp (function_range): New procedure.
21137 (Dwarf::_handle_macro_at_func): New procedure.
21138 (Dwarf::_handle_macro_at_range): New procedure.
21139 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
21141 2014-11-14 Yao Qi <yao@codesourcery.com>
21143 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
21144 (_handle_attribute): New procedure.
21146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21148 * gdb.ada/cond_lang/foo.c (callme): Add return type.
21149 * gdb.base/call-sc.c (zed): Likewise.
21150 * gdb.base/checkpoint.c (main): Likewise.
21151 * gdb.base/dump.c (main): Likewise.
21152 * gdb.base/gcore.c (main): Likewise.
21153 * gdb.base/huge.c (main): Likewise.
21154 * gdb.base/multi-forks.c (main): Likewise.
21155 * gdb.base/pr10179-a.c (main): Likewise.
21156 * gdb.base/savedregs.c (main): Likewise.
21157 * gdb.base/sigaltstack.c (main): Likewise.
21158 * gdb.base/siginfo.c (main): Likewise.
21159 * gdb.base/structs.c (zed): Likewise.
21160 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
21161 * gdb.mi/mi-syn-frame.c (main): Likewise.
21162 * gdb.mi/until.c (foo, main): Likewise.
21163 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
21164 * gdb.base/solib-weak.c (foo): Declare.
21165 * gdb.base/attach-twice.c: Include stdio.h.
21166 * gdb.base/weaklib1.c: Likewise.
21167 * gdb.base/weaklib2.c: Likewise.
21168 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
21169 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
21171 * gdb.base/attach-pie-misread.c: Include stdlib.h.
21172 * gdb.mi/mi-exit-code.c: Likewise.
21173 * gdb.base/break-interp-lib.c: Include string.h.
21174 * gdb.base/coremaker.c: Likewise.
21175 * gdb.base/testenv.c: Likewise.
21176 * gdb.python/py-finish-breakpoint.c: Likewise.
21177 * gdb.base/inferior-died.c: Include sys/wait.h.
21178 * gdb.base/fileio.c: Include time.h.
21179 * gdb.base/async-shell.c: Include unistd.h.
21180 * gdb.base/dprintf-non-stop.c: Likewise.
21181 * gdb.base/info-os.c: Likewise.
21182 * gdb.mi/mi-console.c: Likewise.
21183 * gdb.mi/watch-nonstop.c: Likewise.
21184 * gdb.python/py-events.c: Likewise.
21185 * gdb.base/async.c (baz): Move up before its invocation.
21186 * gdb.base/code_elim2.c (my_global_func): Likewise.
21187 * gdb.base/skip-solib-lib.c (multiply): Likewise.
21188 * gdb.base/advance.c (func2): Likewise.
21190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21192 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
21194 * gdb.base/annota3.c: Likewise.
21195 * gdb.base/async.c: Likewise.
21196 * gdb.base/average.c: Likewise.
21197 * gdb.base/call-ar-st.c: Likewise.
21198 * gdb.base/call-rt-st.c: Likewise.
21199 * gdb.base/call-sc.c: Likewise.
21200 * gdb.base/call-strs.c: Likewise.
21201 * gdb.base/ending-run.c: Likewise.
21202 * gdb.base/execd-prog.c: Likewise.
21203 * gdb.base/exprs.c: Likewise.
21204 * gdb.base/foll-exec.c: Likewise.
21205 * gdb.base/foll-fork.c: Likewise.
21206 * gdb.base/foll-vfork.c: Likewise.
21207 * gdb.base/funcargs.c: Likewise.
21208 * gdb.base/gcore.c: Likewise.
21209 * gdb.base/jump.c: Likewise.
21210 * gdb.base/langs0.c: Likewise.
21211 * gdb.base/langs1.c: Likewise.
21212 * gdb.base/langs2.c: Likewise.
21213 * gdb.base/mips_pro.c: Likewise.
21214 * gdb.base/nodebug.c: Likewise.
21215 * gdb.base/opaque0.c: Likewise.
21216 * gdb.base/opaque1.c: Likewise.
21217 * gdb.base/recurse.c: Likewise.
21218 * gdb.base/run.c: Likewise.
21219 * gdb.base/scope0.c: Likewise.
21220 * gdb.base/scope1.c: Likewise.
21221 * gdb.base/setshow.c: Likewise.
21222 * gdb.base/setvar.c: Likewise.
21223 * gdb.base/shmain.c: Likewise.
21224 * gdb.base/shr1.c: Likewise.
21225 * gdb.base/shr2.c: Likewise.
21226 * gdb.base/sigall.c: Likewise.
21227 * gdb.base/signals.c: Likewise.
21228 * gdb.base/so-indr-cl.c: Likewise.
21229 * gdb.base/solib2.c: Likewise.
21230 * gdb.base/structs.c: Likewise.
21231 * gdb.base/sum.c: Likewise.
21232 * gdb.base/vforked-prog.c: Likewise.
21233 * gdb.base/watchpoint.c: Likewise.
21234 * gdb.reverse/shr2.c: Likewise.
21235 * gdb.reverse/until-reverse.c: Likewise.
21236 * gdb.reverse/ur1.c: Likewise.
21237 * gdb.reverse/watch-reverse.c: Likewise.
21239 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21241 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
21243 * gdb.base/sepdebug.exp: Drop references to removed code.
21245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21247 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
21248 variant. Preserve original line numbering.
21249 * gdb.base/list1.c: Likewise.
21251 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21253 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
21255 * gdb.base/break1.c: Likewise.
21256 * gdb.base/break.exp: Drop references to removed code.
21258 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21260 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
21263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21265 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
21267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21269 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
21270 logic into perform_all_tests() and invoke it with and without
21271 function header prototypes.
21272 (do_function_calls): Remove conditional XFAIL for PR 5318.
21273 (rerun_and_prepare): Remove duplicate code.
21274 (perform_all_tests): New. Main logic moved here.
21276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21278 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
21279 code guarded by #ifdef NO_PROTOTYPES.
21280 (t_double_many_args): Likewise.
21281 (DEF_FUNC_MANY_ARGS_1): Likewise.
21282 (DEF_FUNC_VALUES_1): Likewise.
21283 (t_structs_ldc): Renamed from t_structs_fc in conditional code
21284 guarded by #ifdef PROTOTYPES.
21286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21288 * gdb.mi/mi-console.c: Add eye-catcher.
21289 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
21290 instead of literal line number.
21292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21294 * gdb.base/shr2.c: Add eye-catcher.
21295 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21300 * gdb.base/jump.c: Add eye-catchers.
21301 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
21304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21306 * gdb.base/execd-prog.c: Add eye-catchers.
21307 * gdb.base/foll-exec.c: Likewise.
21308 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
21311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21313 * gdb.base/ending-run.c: Add eye-catchers.
21314 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
21315 literal line numbers.
21317 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21319 * gdb.base/call-rt-st.c: Add eye-catchers.
21320 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
21321 literal line numbers.
21323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21325 * gdb.base/call-ar-st.c: Add eye-catchers.
21326 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
21327 literal line numbers.
21329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21331 * gdb.base/average.c: Add eye-catchers.
21332 * gdb.base/sum.c: Likewise.
21333 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
21334 regexps dynamically.
21336 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
21338 * gdb.base/solib1.c: Add eye-catchers.
21339 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
21340 literal line numbers.
21342 2014-11-12 Pedro Alves <palves@redhat.com>
21344 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
21347 2014-11-12 Pedro Alves <palves@redhat.com>
21349 * gdb.arch/i386-bp_permanent.c: New file.
21350 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
21351 (srcfile): Set to i386-bp_permanent.c.
21352 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
21353 that stepi does not execute the 'leave' instruction, instead of
21354 testing it does execute.
21355 * gdb.base/bp-permanent.c: New file.
21356 * gdb.base/bp-permanent.exp: New file.
21358 2014-11-10 Doug Evans <xdje42@gmail.com>
21361 * gdb.base/symtab-search-order.exp: New file.
21362 * gdb.base/symtab-search-order.c: New file.
21363 * gdb.base/symtab-search-order-1.c: New file.
21364 * gdb.base/symtab-search-order-shlib-1.c: New file.
21366 2014-11-07 Pedro Alves <palves@redhat.com>
21369 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
21372 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
21375 * gdb.cp/pr17494.cc: New file.
21376 * gdb.cp/pr17494.exp: New file.
21378 2014-11-02 Yao Qi <yao@codesourcery.com>
21380 * gdb.python/python.exp: Get working directory and match the
21381 output of "set extended-prompt \\w " with it.
21383 2014-10-30 Doug Evans <dje@google.com>
21385 * gdb.python/py-objfile.exp: Add tests for setting random attributes
21387 * gdb.python/py-progspace.exp: Add tests for setting random attributes
21390 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
21392 * gdb.base/fullpath-expand.exp: Skip for a remote host.
21393 * gdb.base/realname-expand.exp: Likewise.
21394 * gdb.linespec/macro-relative.exp: Likewise.
21396 2014-10-29 Pedro Alves <palves@redhat.com>
21399 * gdb.threads/schedlock.c (some_function): New function.
21400 (call_function): New global.
21401 (MAYBE_CALL_SOME_FUNCTION): New macro.
21402 (thread_function): Call it.
21403 * gdb.threads/schedlock.exp (get_args): Add description parameter,
21404 and use it instead of a global counter. Adjust all callers.
21405 (get_current_thread): Use "find current thread" for test message
21406 here rather than having all callers pass down the same string.
21407 (goto_loop): New procedure, factored out from ...
21408 (my_continue): ... this.
21409 (step_ten_loops): Change parameter from test message to command to
21411 (list_count): Delete global.
21412 (check_result): New procedure, factored out from duplicate top
21414 (continue tests): Wrap in with_test_prefix.
21415 (test_step): New procedure, factored out from duplicate top level
21417 (top level): Test "step" in combination with all scheduler-locking
21418 modes. Test "next" in combination with all scheduler-locking
21419 modes, and in combination with stepping over a function call or
21421 * gdb.threads/next-bp-other-thread.c: New file.
21422 * gdb.threads/next-bp-other-thread.exp: New file.
21424 2014-10-29 Pedro Alves <palves@redhat.com>
21427 * gdb.python/python.exp: Test a multi-line command that spawns
21428 interactive Python.
21429 * gdb.base/multi-line-starts-subshell.exp: New file.
21431 2014-10-29 Yao Qi <yao@codesourcery.com>
21433 * gdb.base/fileio.exp: Make directories on host.
21435 2014-10-29 Yao Qi <yao@codesourcery.com>
21437 * gdb.base/fileio.c (test_write): Close the file.
21439 2014-10-28 Pedro Alves <palves@redhat.com>
21442 * gdb.base/sigstep.c (no_handler): New global.
21443 (main): If 'no_handler is true, set the signal handlers to
21445 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
21446 with_sw_watch and no_handler parameters. Handle them.
21447 (top level) <stepping over handler when stopped at a breakpoint
21448 test>: Add a test axis for testing with a software watchpoint, and
21449 another for testing with the signal handler set to SIG_IGN.
21450 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
21451 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
21453 2014-10-28 Pedro Alves <palves@redhat.com>
21456 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
21457 * gdb.base/sigstep.exp (other_handler_location): New global.
21458 (advance): Support stepping into the signal handler, and running
21459 commands while in the handler.
21460 (in_handler_map): New global.
21461 (top level): In the advance test, add combinations for getting
21462 into the handler with stepping commands, and for running commands
21463 in the handler. Add comment descripting the advancei tests.
21465 2014-10-28 Pedro Alves <palves@redhat.com>
21467 * gdb.base/sigstep.exp: Use build_executable instead of
21468 prepare_for_testing.
21469 (top level): Move code that starts GDB, runs to main and creates a
21471 (restart): ... this new procedure.
21472 (top level): Move backtrace from signal handler test to ...
21473 (validate_backtrace): ... this new procedure.
21474 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
21475 with_test_prefix. Always restart GDB.
21476 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
21477 with_test_prefix. Always restart GDB. No need to delete
21478 breakpoints after the test.
21479 (test_skip_handler): Remove prefix parameter.
21480 (skip_over_handler, breakpoint_to_handler)
21481 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
21482 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
21483 restart GDB. No need to delete breakpoints after the test.
21484 (top level): Use foreach to call the test procedures with
21485 different commands.
21487 2014-10-28 Pedro Alves <palves@redhat.com>
21489 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
21490 instead of GNATS numbers.
21491 * gdb.base/sigbpt.exp: Likewise.
21492 * gdb.base/siginfo.exp: Likewise.
21493 * gdb.base/sigstep.exp: Likewise.
21495 2014-10-27 Pedro Alves <palves@redhat.com>
21497 * gdb.base/sigstep.c (dummy): New global.
21498 (main): Issue a couple writes to the new global.
21499 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
21501 (skip_over_handler): Use test_skip_handler.
21502 (top level): Call skip_over_handler for stepi and nexti too.
21503 (breakpoint_over_handler): Use test_skip_handler.
21504 (top level): Call breakpoint_over_handler for stepi and nexti too.
21506 2014-10-27 Yao Qi <yao@codesourcery.com>
21508 * gdb.trace/tfile.c (adjust_function_address)
21509 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
21510 function descriptor.
21512 2014-10-24 Don Breazeal <donb@codesourcery.com>
21514 * gdb.base/foll-fork.exp (test_follow_fork,
21515 catch_fork_child_follow): Check for updated fork messages emitted
21517 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
21518 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
21519 vfork_and_exec_child_follow_through_step): Check for updated vfork
21520 messages emitted from infrun.c.
21522 2014-10-24 Pedro Alves <palves@redhat.com>
21524 * gdb.base/corefile.exp: Remove references to ultrix.
21525 * gdb.base/interrupt.exp: Likewise.
21526 * gdb.base/whatis.exp: Likewise.
21527 * gdb.gdb/selftest.exp: Likewise.
21528 * gdb.threads/manythreads.exp: Likewise.
21529 * gdb.threads/print-threads.exp: Likewise.
21530 * gdb.threads/pthreads.exp:: Likewise.
21531 * gdb.threads/schedlock.exp: Likewise.
21533 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
21535 * gdb.cp/non-trivial-retval.cc: Add a test case.
21536 * gdb.cp/non-trivial-retval.exp: Add a test.
21538 2014-10-20 Yao Qi <yao@codesourcery.com>
21540 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
21541 * gdb.python/py-objfile-script-gdb.py: New file.
21542 * gdb.python/py-objfile-script.exp: Update reference to
21543 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
21544 of remote_download. Remove the dest file.
21546 2014-10-20 Yao Qi <yao@codesourcery.com>
21548 * gdb.base/checkpoint.exp: Don't remove file copied on host.
21549 * gdb.base/step-line.exp: Likewise.
21550 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21551 * gdb.dwarf2/dw2-basic.exp: Likewise.
21552 * gdb.dwarf2/dw2-compressed.exp: Likewise.
21553 * gdb.dwarf2/dw2-filename.exp: Likewise.
21554 * gdb.dwarf2/dw2-intercu.exp: Likewise.
21555 * gdb.dwarf2/dw2-intermix.exp: Likewise.
21556 * gdb.dwarf2/dw2-producer.exp: Likewise.
21557 * gdb.dwarf2/mac-fileno.exp: Likewise.
21558 * gdb.python/py-frame-args.exp: Likewise.
21559 * gdb.python/py-framefilter.exp: Likewise.
21560 * gdb.python/py-mi.exp: Likewise.
21561 * gdb.python/py-objfile-script.exp: Likewise
21562 * gdb.python/py-pp-integral.exp: Likewise.
21563 * gdb.python/py-pp-re-notag.exp: Likewise.
21564 * gdb.python/py-prettyprint.exp: Likewise.
21565 * gdb.python/py-section-script.exp: Likewise.
21566 * gdb.python/py-typeprint.exp: Likewise.
21567 * gdb.python/py-xmethods.exp: Likewise.
21568 * gdb.stabs/weird.exp: Likewise.
21569 * gdb.xml/tdesc-regs.exp: Likewise.
21571 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
21573 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
21574 (out_cu): Use addr_len for the size of addresses.
21575 (out_line): Likewise. Size DW_LNE_set_address instruction
21576 according to addr_len.
21577 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
21578 (FUNC): Add START_INSNS to definition.
21580 2014-10-18 Yao Qi <yao@codesourcery.com>
21582 * gdb.base/argv0-symlink.exp: Check argv[0] value if
21583 gdb_has_argv0 return true.
21584 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
21585 check [target_info exists noargs], check [gdb_has_argv0]
21587 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21588 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
21591 2014-10-17 Doug Evans <dje@google.com>
21593 * gdb.python/py-events.exp: Update expected output for clear_objfiles
21595 * gdb.python/py-events.py: Add clear_objfiles event.
21597 2014-10-17 Doug Evans <dje@google.com>
21599 * gdb.python/py-objfile.exp: Test progspace attribute.
21601 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
21603 * gdb.guile/scm-breakpoint.exp: Do not assume any
21604 directory separators when matching source file paths.
21605 * gdb.python/py-breakpoint.exp: Likewise.
21606 * gdb.reverse/break-precsave.exp: Likewise.
21607 * gdb.reverse/break-reverse.exp: Likewise.
21608 * gdb.reverse/consecutive-precsave.exp: Likewise.
21609 * gdb.reverse/finish-precsave.exp: Likewise.
21610 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
21611 * gdb.reverse/finish-reverse.exp: Likewise.
21612 * gdb.reverse/i386-precsave.exp: Likewise.
21613 * gdb.reverse/i387-env-reverse.exp: Likewise.
21614 * gdb.reverse/i387-stack-reverse.exp: Likewise.
21615 * gdb.reverse/machinestate-precsave.exp: Likewise.
21616 * gdb.reverse/machinestate.exp: Likewise.
21617 * gdb.reverse/sigall-precsave.exp: Likewise.
21618 * gdb.reverse/solib-precsave.exp: Likewise.
21619 * gdb.reverse/step-precsave.exp: Likewise.
21620 * gdb.reverse/until-precsave.exp: Likewise.
21621 * gdb.reverse/watch-precsave.exp: Likewise.
21622 * gdb.reverse/watch-reverse.exp: Likewise.
21624 2014-10-17 Yao Qi <yao@codesourcery.com>
21626 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
21627 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
21629 2014-10-17 Pedro Alves <palves@redhat.com>
21632 * gdb.base/bg-execution-repeat.c: New file.
21633 * gdb.base/bg-execution-repeat.exp: New file.
21635 2014-10-17 Pedro Alves <palves@redhat.com>
21638 * gdb.base/continue-all-already-running.c: New file.
21639 * gdb.base/continue-all-already-running.exp: New file.
21641 2014-10-17 Pedro Alves <palves@redhat.com>
21644 * gdb.base/annota-input-while-running.c: New file.
21645 * gdb.base/annota-input-while-running.exp: New file.
21647 2014-10-17 Pedro Alves <palves@redhat.com>
21649 * gdb.base/callfuncs.exp: emove references to osf.
21650 * gdb.base/sigall.exp: Likewise.
21651 * gdb.gdb/selftest.exp: Likewise.
21652 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
21653 * gdb.mi/non-stop.c: Likewise.
21654 * gdb.mi/pthreads.c: Likewise.
21655 * gdb.reverse/sigall-precsave.exp: Likewise.
21656 * gdb.reverse/sigall-reverse.exp: Likewise.
21657 * gdb.threads/pthreads.c: Likewise.
21658 * gdb.threads/pthreads.exp: Likewise.
21660 2014-10-17 Yao Qi <yao@codesourcery.com>
21662 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
21663 check 'target_info exists noargs'.
21664 (test_command_prompt_position): Likewise.
21665 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
21667 (progvar_simple_while_test): Likewise.
21668 (progvar_complex_if_while_test): Likewise.
21669 (if_while_breakpoint_command_test): Likewise.
21670 (infrun_breakpoint_command_test): Likewise.
21671 (breakpoint_command_test): Likewise.
21672 (watchpoint_command_test): Likewise.
21673 (bp_deleted_in_command_test): Likewise.
21674 (temporary_breakpoint_commands): Likewise.
21676 2014-10-16 Yao Qi <yao@codesourcery.com>
21678 * gdb.base/remotetimeout.exp: Remove noargs checking.
21680 2014-10-15 Pedro Alves <palves@redhat.com>
21682 PR breakpoints/9649
21683 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
21684 * gdb.base/breakpoint-in-ro-region.exp
21685 (probe_target_hardware_step): New procedure.
21686 (top level): Probe hardware stepping and hardware breakpoint
21687 support. Test stepping through a read-only region, with both
21688 "breakpoint auto-hw" on and off and both "always-inserted" on and
21691 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
21693 * gdb.dlang/demangle.exp: Update for demangling changes.
21695 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21697 * gdb.cp/non-trivial-retval.cc: Add new test cases.
21698 * gdb.cp/non-trivial-retval.exp: Add new tests.
21700 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
21704 * gdb.cp/non-trivial-retval.cc: New file.
21705 * gdb.cp/non-trivial-retval.exp: New file.
21707 2014-10-15 Yao Qi <yao@codesourcery.com>
21709 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
21712 2014-10-15 Yao Qi <yao@codesourcery.com>
21714 * gdb.python/py-symbol.exp: Match file base name if host is
21715 remote, otherwise match file name with dir name.
21716 * gdb.python/py-symtab.exp: Likewise.
21717 * gdb.python/python.exp: Likewise.
21719 2014-10-15 Yao Qi <yao@codesourcery.com>
21721 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
21723 * gdb.python/py-symtab.exp: Likewise.
21724 * gdb.python/python.exp: Remove trailing ".*". Fix typo
21727 2014-10-14 Joel Brobecker <brobecker@adacore.com>
21729 * gdb.ada/addr_arith: New testcase.
21731 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
21733 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
21734 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
21735 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
21736 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
21738 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
21740 * gdb.arch/stap-eval-lang-ada.S: Likewise.
21741 * gdb.arch/stap-eval-lang-ada.c: Likewise.
21742 * gdb.arch/stap-eval-lang-ada.exp: New file.
21744 2014-10-14 Yao Qi <yao@codesourcery.com>
21746 * gdb.mi/mi-var-child.c (nothing1): New function.
21747 (nothing2): New function.
21748 (do_children_tests): Set function pointers by nothing1 and
21750 * gdb.mi/mi-var-child.exp: Step over new added statements.
21751 Update test to match the new output.
21752 * gdb.mi/var-cmd.c (nothing1): New function.
21753 (nothing2): New function.
21754 (do_children_tests): Set function pointers by nothing1 and
21756 * gdb.mi/mi-var-display.exp: Update test to match output.
21757 Step to the line specified by $line_dct_nothing.
21758 Increase the number of lines to step.
21760 2014-10-14 Yao Qi <yao@codesourcery.com>
21762 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21764 * gdb.mi/mi2-var-child.exp: Likewise.
21766 2014-10-13 Doug Evans <dje@google.com>
21768 * gdb.python/py-objfile.exp: Change name of file name test.
21770 2014-10-13 Doug Evans <dje@google.com>
21772 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21773 from the start of the CU.
21775 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21776 Yao Qi <yao@codesourcery.com>
21778 Fix "save breakpoints" for "catch" command.
21779 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21780 Remove -nonewline. Match also the added "main" line.
21782 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21784 Fix "save breakpoints" for "disable $bpnum" command.
21785 * gdb.base/save-bp.c (main): Add label.
21786 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21788 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21790 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21792 2014-10-11 Yao Qi <yao@codesourcery.com>
21794 * gdb.server/server-kill.exp: Execute command
21795 "set remote trace-status-packet on" before "tstatus".
21797 2014-10-11 Yao Qi <yao@codesourcery.com>
21799 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21800 (main): Call getppid.
21801 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21802 and continue to it. Read variable "server_pid".
21804 2014-10-11 Yao Qi <yao@codesourcery.com>
21806 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21808 2014-10-11 Yao Qi <yao@codesourcery.com>
21810 * gdb.threads/thread-find.exp: Don't execute command
21812 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21813 * gdb.threads/linux-dp.exp: Don't check the condition
21814 $threads_created equals to zero.
21816 2014-10-10 Pedro Alves <palves@redhat.com>
21818 * gdb.base/bigcore.exp: Remove references to IRIX.
21819 * gdb.base/funcargs.exp: Likewise.
21820 * gdb.base/interrupt.exp: Likewise.
21821 * gdb.base/mips_pro.exp: Likewise.
21822 * gdb.base/nodebug.exp: Likewise.
21823 * gdb.base/setvar.exp: Likewise.
21824 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21826 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21827 Pedro Alves <palves@redhat.com>
21830 * gdb.base/vdso-warning.c: New file.
21831 * gdb.base/vdso-warning.exp: New file.
21833 2014-10-02 Doug Evans <dje@google.com>
21835 * gdb.base/structs.c (main): Don't run forever.
21837 2014-10-02 Pedro Alves <palves@redhat.com>
21839 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21840 (top level) <stop threads 1, stop threads 2>: Use it.
21842 2014-10-02 Pedro Alves <palves@redhat.com>
21844 * gdb.threads/break-while-running.exp (test): Add new
21845 'update_thread_list' argument. Skip "info threads" if false.
21846 (top level): Add new 'update_thread_list' axis.
21848 2014-10-02 Pedro Alves <palves@redhat.com>
21850 PR breakpoints/17431
21851 * gdb.base/execl-update-breakpoints.c: New file.
21852 * gdb.base/execl-update-breakpoints.exp: New file.
21854 2014-10-01 Pedro Alves <palves@redhat.com>
21856 * gdb.base/breakpoint-in-ro-region.c: New file.
21857 * gdb.base/breakpoint-in-ro-region.exp: New file.
21859 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21861 * gdb.mi/mi-exit-code.exp: New file.
21862 * gdb.mi/mi-exit-code.c: New file.
21864 2014-09-30 Yao Qi <yao@codesourcery.com>
21866 * lib/prelink-support.exp (build_executable_own_libs): Error if
21867 the target isn't native.
21869 2014-09-30 Yao Qi <yao@codesourcery.com>
21871 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21874 2014-09-22 Pedro Alves <palves@redhat.com>
21876 * gdb.threads/break-while-running.exp: New file.
21877 * gdb.threads/break-while-running.c: New file.
21879 2014-09-19 Yao Qi <yao@codesourcery.com>
21881 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21882 Invoke test. Restart GDB with --readnow and invoke test again.
21884 2014-09-19 Yao Qi <yao@codesourcery.com>
21886 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21887 proc set_breakpoint_on_gcd_function. Invoke
21888 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21889 invoke set_breakpoint_on_gcd_function again.
21891 2014-09-18 Doug Evans <dje@google.com>
21893 * gdb.dwarf2/symtab-producer.exp: New file.
21895 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21897 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21898 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21899 * gdb.base/global-var-nested-by-dso.c: Likewise.
21900 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21902 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21903 Pedro Alves <palves@redhat.com>
21905 * gdb.base/watch-bitfields.exp: Pass string other than test file
21906 name to prepare_for_testing.
21907 (watch): New procedure.
21908 (expect_watchpoint): Use with_test_prefix.
21909 (top level): Factor out tests to ...
21910 (test_watch_location, test_regular_watch): ... these new
21911 procedures, and use with_test_prefix and gdb_continue_to_end.
21913 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21915 PR breakpoints/12526
21916 * gdb.base/watch-bitfields.exp: New file.
21917 * gdb.base/watch-bitfields.c: New file.
21919 2014-09-16 Pedro Alves <palves@redhat.com>
21921 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21922 software and hardware addresses, not software address against
21925 2014-09-16 Pedro Alves <palves@redhat.com>
21927 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21928 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21930 2014-09-16 Pedro Alves <palves@redhat.com>
21932 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21934 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21935 "*-*-vxworks*" throughout.
21936 * gdb.base/break.exp: Likewise.
21937 * gdb.base/default.exp: Likewise.
21938 * gdb.base/scope.exp: Likewise.
21939 * gdb.base/sepdebug.exp: Likewise.
21940 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21942 * gdb.base/run.c: Likewise.
21943 * gdb.base/sepdebug.c: Likewise.
21944 * gdb.hp/gdb.aCC/run.c: Likewise.
21945 * gdb.reverse/until-reverse.c: Likewise.
21946 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21948 2014-09-16 Yao Qi <yao@codesourcery.com>
21950 * boards/local-remote-host-native.exp: New file.
21952 2014-09-14 Doug Evans <xdje42@gmail.com>
21954 * gdb.threads/queue-signal.c (thread_count): New variable.
21955 (thread_count_mutex, thread_count_condvar): New variables.
21956 (incr_thread_count, wait_all_threads_running): New functions.
21957 (main): Wait for all threads to be in their thread functions.
21959 2014-09-13 Doug Evans <xdje42@gmail.com>
21961 * gdb.threads/queue-signal.c: New file.
21962 * gdb.threads/queue-signal.exp: New file.
21964 2014-09-13 Doug Evans <xdje42@gmail.com>
21966 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21967 be consistent with what default_gdb_init uses.
21968 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21969 the plain text of the prompt. Add some logging printfs.
21970 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21972 2014-09-12 Pedro Alves <palves@redhat.com>
21974 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21975 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21976 * gdb.arch/i386-size-overlap.exp: Likewise.
21977 * gdb.arch/i386-size.exp: Likewise.
21978 * gdb.arch/i386-unwind.exp: Likewise.
21979 * gdb.base/a2-run.exp: Likewise.
21980 * gdb.base/break.exp: Likewise.
21981 * gdb.base/charset.exp: Likewise.
21982 * gdb.base/chng-syms.exp: Likewise.
21983 * gdb.base/commands.exp: Likewise.
21984 * gdb.base/dbx.exp: Likewise.
21985 * gdb.base/find.exp: Likewise.
21986 * gdb.base/funcargs.exp: Likewise.
21987 * gdb.base/jit-simple.exp: Likewise.
21988 * gdb.base/reread.exp: Likewise.
21989 * gdb.base/sepdebug.exp: Likewise.
21990 * gdb.base/step-bt.exp: Likewise.
21991 * gdb.cp/mb-inline.exp: Likewise.
21992 * gdb.cp/mb-templates.exp: Likewise.
21993 * gdb.objc/basicclass.exp: Likewise.
21994 * gdb.threads/killed.exp: Likewise.
21996 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21999 * gdb.arch/powerpc-stackless.S: New file.
22000 * gdb.arch/powerpc-stackless.exp: New file.
22002 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
22004 * gdb.base/attach.c: Include unistd.h.
22005 (main): Call alarm. Add label postloop.
22006 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
22007 gdb_breakpoint, gdb_continue_to_breakpoint.
22008 (test_command_line_attach_run): Kill ${testpid} in one exit path.
22010 2014-09-11 Pedro Alves <palves@redhat.com>
22013 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
22014 * gdb.base/attach.exp (test_command_line_attach_run): New
22016 (top level): Call it.
22018 2014-09-11 Pedro Alves <palves@redhat.com>
22020 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
22021 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
22022 (do_command_attach_tests): Use spawn_wait_for_attach.
22023 * gdb.base/solib-overlap.exp: Likewise.
22024 * gdb.multi/multi-attach.exp: Likewise.
22025 * gdb.python/py-prompt.exp: Likewise.
22026 * gdb.python/py-sync-interp.exp: Likewise.
22027 * gdb.server/ext-attach.exp: Likewise.
22029 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
22031 * gdb.fortran/array-element.exp: Remove unexpected "continue"
22032 command in testcase. Simplify testcase.
22034 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22036 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
22038 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22040 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
22042 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22044 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
22046 2014-09-10 Joel Brobecker <brobecker@adacore.com>
22048 * gdb.dwarf2/dynarr-ptr.c: New file.
22049 * gdb.dwarf2/dynarr-ptr.exp: New file.
22051 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22053 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
22054 of 30 rather than hardcoding 120 for a slow test case. Take the
22055 `gdb,timeout' target setting into account for this calculation.
22056 Don't extend the timeout for the test cases that don't need it.
22058 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22060 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
22061 a factor of 2 for a slow test case. Take the `gdb,timeout'
22062 target setting into account for this calculation.
22063 * gdb.reverse/until-precsave.exp: Increase the timeout by
22064 a factor of 15 and 3 respectively rather than adding 120
22065 for a pair of slow test cases. Take the `gdb,timeout'
22066 target setting into account for this calculation.
22068 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22070 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
22071 timeout, don't pass one down to gdb_expect.
22072 (gdb_expect): Rework timeout selection.
22074 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22076 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
22077 exception on timeout.
22078 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
22079 (gdbserver_start_extended): Catch any `gdbserver_start' error
22081 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
22082 * lib/mi-support.exp (mi_gdb_target_load): Catch any
22083 `gdbserver_gdb_load' error exceptions.
22085 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22087 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
22088 120 on waiting for the TCP socket to open.
22090 2014-09-09 Doug Evans <xdje42@gmail.com>
22092 * gdb.base/default.exp (show_conv_list): Add _caller_is,
22093 _caller_matches, _any_caller_is, _any_caller_matches.
22095 2014-09-09 Doug Evans <xdje42@gmail.com>
22097 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
22099 2014-09-09 Yao Qi <yao@codesourcery.com>
22101 * gdb.mi/mi-var-display.exp: Set print symbol off.
22103 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
22106 * gdb.base/commands.exp: Add tests to verify user-defined
22107 commands with empty bodies.
22108 * gdb.python/py-cmd.exp: Test that we don't show user-defined
22109 python commands in `show user command`.
22110 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
22111 scheme commands in `show user command`.
22113 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22116 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
22117 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
22118 * gdb.python/py-framefilter-invalidarg.exp: New file.
22119 * gdb.python/py-framefilter-invalidarg.py: New file.
22121 2014-09-06 Doug Evans <xdje42@gmail.com>
22124 * gdb.python/py-caller-is.c: New file.
22125 * gdb.python/py-caller-is.exp: New file.
22127 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
22130 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
22131 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
22133 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
22136 * gdb.fortran/print-formatted.exp: New file.
22137 * gdb.fortran/print-formatted.f90: Likewise.
22139 2014-09-03 Sasha Smundak <asmundak@google.com>
22141 * gdb.python/py-frame.exp: Test Frame.read_register.
22143 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
22146 * gdb.python/py-completion.exp: New file.
22147 * gdb.python/py-completion.py: Likewise.
22149 2014-08-28 Doug Evans <dje@google.com>
22151 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
22152 eax,etc. are live with values set by gdb and thus the compiler can't
22154 * gdb.arch/i386-pseudo.c (main): Ditto.
22156 2014-08-27 Doug Evans <dje@google.com>
22158 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
22160 2014-08-25 Doug Evans <dje@google.com>
22162 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
22165 2014-08-25 Doug Evans <dje@google.com>
22167 * gdb.threads/thread-execl.exp: #include <stdio.h>.
22169 2014-08-24 Yao Qi <yao@codesourcery.com>
22171 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
22173 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
22175 2014-08-22 Doug Evans <dje@google.com>
22178 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
22179 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
22180 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
22182 2014-08-22 Yao Qi <yao@codesourcery.com>
22184 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
22185 * gdb.python/py-finish-breakpoint2.exp: Likewise.
22186 * gdb.python/python.exp: Likewise. Use .py file on the host
22187 instead of the build.
22189 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22191 * gdb.threads/gcore-stale-thread.c: New file.
22192 * gdb.threads/gcore-stale-thread.exp: New file.
22194 2014-08-21 Pedro Alves <palves@redhat.com>
22196 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
22197 * gdb.base/gcore-relro-pie.exp: Likewise.
22198 * gdb.base/gcore-relro.exp: Likewise.
22199 * gdb.base/gcore.exp: Likewise.
22200 * gdb.base/print-symbol-loading.exp: Likewise.
22201 * gdb.threads/gcore-thread.exp: Likewise.
22202 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
22204 2014-08-20 Pedro Alves <palves@redhat.com>
22205 Jan Kratochvil <jan.kratochvil@redhat.com>
22207 * Makefile.in (EXTRA_RULES, CC): New variables, get from
22209 (EXPECT): Handle READ1 being set.
22210 (all): Depend on EXTRA_RULES.
22211 (check-read1, expect-read1, read1.so, read1): New rules.
22212 * README (Testsuite Parameters): Document the READ1 make variable.
22213 (Race detection): New section.
22214 * configure: Regenerate.
22215 * configure.ac: If build==host==target, and running under a
22216 GNU/glibc system, add read1 to the extra Makefile rules.
22217 (EXTRA_RULES): AC_SUBST it.
22218 * lib/read1.c: New file.
22220 2014-08-20 Joel Brobecker <brobecker@adacore.com>
22222 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
22223 the handling of variables declared as a typedef to an array
22224 which a DW_AT_data_location attribute.
22226 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
22227 Pedro Alves <palves@redhat.com>
22231 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
22234 2014-08-19 Pedro Alves <palves@redhat.com>
22236 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
22238 2014-08-19 Yao Qi <yao@codesourcery.com>
22240 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
22243 2014-08-18 David Blaikie <dblaikie@gmail.com>
22245 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
22247 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22249 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
22250 attribute in array range.
22252 2014-08-18 Joel Brobecker <brobecker@adacore.com>
22254 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
22256 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22259 * gdb.cp/pr17132.cc: New file.
22260 * gdb.cp/pr17132.exp: New file.
22262 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
22264 * gdb.python/py-xmethods.py (A_getarrayind)
22265 (E_method_char_worker.__call__, E_method_int_worker.__call__):
22266 Use 'print' with function call syntax.
22267 (E_method_matcher.match): Fix tab vs space indentation mixup.
22269 2014-08-15 Yao Qi <yao@codesourcery.com>
22271 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
22274 2014-08-15 Yao Qi <yao@codesourcery.com>
22276 * gdb.cp/casts.exp: Set print symbol off.
22277 * gdb.cp/class2.exp: Likewise.
22278 * gdb.cp/overload.exp: Likewise.
22279 * gdb.cp/templates.exp: Likewise.
22281 2014-08-11 Doug Evans <dje@google.com>
22283 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
22284 (test_load_shlib): Update.
22286 2014-08-09 Yao Qi <yao@codesourcery.com>
22288 * gdb.base/display.exp: Invoke is_address_zero_readable.
22289 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
22290 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
22291 * gdb.base/hbreak-unmapped.exp: Return if
22292 is_address_zero_readable returns true.
22293 * gdb.base/signest.exp: Likewise.
22294 * gdb.base/signull.exp: Likewise.
22295 * gdb.base/sigbpt.exp: Likewise.
22296 * gdb.guile/scm-disasm.exp: Do the test if
22297 is_address_zero_readable returns false.
22298 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
22299 * gdb.python/py-arch.exp: Likewise.
22300 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
22301 * lib/gdb.exp (is_address_zero_readable): New proc.
22303 2014-08-09 Yao Qi <yao@codesourcery.com>
22306 * gdb.mi/mi-var-display.exp: Make test messages unique.
22308 2014-08-04 Tom Tromey <tromey@redhat.com>
22310 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
22313 2014-08-04 Tom Tromey <tromey@redhat.com>
22315 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
22318 2014-08-01 Joel Brobecker <brobecker@adacore.com>
22320 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
22321 inner_vla_struct_object_size.
22322 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
22325 2014-07-30 Pedro Alves <palves@redhat.com>
22327 * gdb.threads/signal-command-handle-nopass.exp (test): Add
22330 2014-07-29 Yao Qi <yao@codesourcery.com>
22333 * gdb.base/until-nodebug.exp: New.
22335 2014-07-28 Doug Evans <xdje42@gmail.com>
22338 * gdb.guile/scm-parameter.exp: Add tests for trying to create
22339 previously existing parameter, and previously ambiguously spelled
22342 2014-07-28 Will Newton <will.newton@linaro.org>
22344 * gdb.base/varargs.exp: Remove KFAILs for ARM.
22346 2014-07-26 Ludovic Courtès <ludo@gnu.org>
22347 Doug Evans <xdje42@gmail.com>
22350 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22352 2014-07-25 Pedro Alves <palves@redhat.com>
22354 * gdb.threads/signal-command-handle-nopass.c: New file.
22355 * gdb.threads/signal-command-handle-nopass.exp: New file.
22356 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
22357 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
22358 * gdb.threads/signal-delivered-right-thread.c: New file.
22359 * gdb.threads/signal-delivered-right-thread.exp: New file.
22361 2014-07-25 Pedro Alves <palves@redhat.com>
22363 * gdb.base/double-prompt-target-event-error.exp
22364 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
22366 (cancel_pagination_in_target_event): Rework double prompt
22368 * gdb.base/paginate-after-ctrl-c-running.exp
22369 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
22371 * gdb.base/paginate-bg-execution.exp
22372 (test_bg_execution_pagination_return)
22373 (test_bg_execution_pagination_cancel): Remove '-notransfer
22375 * gdb.base/paginate-execution-startup.exp
22376 (test_fg_execution_pagination_return)
22377 (test_fg_execution_pagination_cancel): Remove '-notransfer
22379 * gdb.base/paginate-inferior-exit.exp
22380 (test_paginate_inferior_exited): Remove '-notransfer <return>'
22382 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
22383 * lib/gdb.exp (pagination_prompt): Run text through
22385 (gdb_test_multiple): Match $pagination_prompt instead of
22387 (string_to_regexp): Move to lib/gdb-utils.exp.
22389 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
22391 * gdb.arch/amd64-entry-value-paramref.S: New file.
22392 * gdb.arch/amd64-entry-value-paramref.cc: New file.
22393 * gdb.arch/amd64-entry-value-paramref.exp: New file.
22394 * gdb.arch/amd64-optimout-repeat.S: New file.
22395 * gdb.arch/amd64-optimout-repeat.c: New file.
22396 * gdb.arch/amd64-optimout-repeat.exp: New file.
22398 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
22401 * gdb.base/statistics.exp: New file.
22403 2014-07-17 Doug Evans <dje@google.com>
22406 * gdb.base/maint.exp: Update testing of per-command stats.
22408 2014-07-16 Pedro Alves <palves@redhat.com>
22410 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
22411 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
22412 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
22413 (tfile_write_buf): New functions.
22414 (add_memory_block): Rewrite using the above.
22415 (adjust_function_address): New function.
22416 (FUNCTION_ADDRESS): New macro.
22417 (write_basic_trace_file): Remove short_x local, and use
22418 tfile_write_16. Change type of func_addr local to unsigned long
22419 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
22420 here. Cast argument of add_memory_block to char pointer.
22421 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
22422 (main): Remove parameters.
22423 * gdb.trace/tfile.exp: Remove nowarnings.
22425 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
22427 * gdb.base/debug-expr.exp: Test string evaluation with
22428 "debug expression" on.
22430 2014-07-15 Pedro Alves <palves@redhat.com>
22432 * gdb.base/reread.exp: Use clean_restart.
22434 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
22436 * gdb.arch/avr-flash-qualifer.c: New.
22437 * gdb.arch/avr-flash-qualifer.exp: New.
22439 2014-07-14 Pedro Alves <palves@redhat.com>
22441 * gdb.base/paginate-after-ctrl-c-running.c: New file.
22442 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
22444 2014-07-14 Pedro Alves <palves@redhat.com>
22446 * gdb.base/double-prompt-target-event-error.c: New file.
22447 * gdb.base/double-prompt-target-event-error.exp: New file.
22449 2014-07-14 Pedro Alves <palves@redhat.com>
22452 * gdb.base/paginate-inferior-exit.c: New file.
22453 * gdb.base/paginate-inferior-exit.exp: New file.
22455 2014-07-14 Pedro Alves <palves@redhat.com>
22458 * gdb.base/paginate-bg-execution.c: New file.
22459 * gdb.base/paginate-bg-execution.exp: New file.
22461 2014-07-14 Pedro Alves <palves@redhat.com>
22464 * gdb.base/paginate-execution-startup.c: New file.
22465 * gdb.base/paginate-execution-startup.exp: New file.
22466 * lib/gdb.exp (pagination_prompt): New global.
22467 (default_gdb_spawn): New procedure, factored out from
22469 (default_gdb_start): Adjust to call default_gdb_spawn.
22470 (gdb_spawn): New procedure.
22472 2014-07-14 Pedro Alves <palves@redhat.com>
22474 * lib/gdb.exp (gdb_assert): New procedure.
22475 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
22477 2014-07-14 Pedro Alves <palves@redhat.com>
22479 * gdb.base/execution-termios.c: New file.
22480 * gdb.base/execution-termios.exp: New file.
22482 2014-07-14 Tom Tromey <tromey@redhat.com>
22484 * gdb.cp/vla-cxx.cc: New file.
22485 * gdb.cp/vla-cxx.exp: New file.
22487 2014-07-14 Tom Tromey <tromey@redhat.com>
22489 * gdb.reverse/rerun-prec.c: New file.
22490 * gdb.reverse/rerun-prec.exp: New file.
22492 2014-07-12 Maciej W. Rozycki <macro@mips.com>
22493 Maciej W. Rozycki <macro@codesourcery.com>
22495 * lib/gdb-utils.exp: New file.
22496 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
22497 inline `gdb_init_command' processing.
22498 (gdb_start_cmd): Likewise.
22499 * lib/mi-support.exp (mi_run_cmd): Likewise.
22500 * README: Document `gdb_init_command' and `gdb_init_commands'.
22502 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22504 Fix false FAIL running under a very long directory name.
22505 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
22506 and "set print elements 10000". Twice.
22508 2014-07-11 Yao Qi <yao@codesourcery.com>
22510 * gdb.base/exprs.exp: "set print symbol off".
22512 2014-07-11 Pedro Alves <palves@redhat.com>
22514 * gdb.threads/kill.c: New file.
22515 * gdb.threads/kill.exp: New file.
22517 2014-07-10 Yao Qi <yao@codesourcery.com>
22519 * gdb.trace/tfile.c (write_basic_trace_file)
22520 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
22521 address written to trace file.
22523 2014-07-09 Pedro Alves <palves@redhat.com>
22525 * gdb.base/attach-wait-input.exp: New file.
22526 * gdb.base/attach-wait-input.c: New file.
22528 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
22530 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
22531 setting up test structures.
22532 (main): Call new test function.
22533 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
22534 test function, continue into test function and walk test
22537 2014-07-02 Yao Qi <yao@codesourcery.com>
22539 * gdb.trace/entry-values.c: Define labels 'foo_start' and
22540 'bar_start' at the beginning of functions 'foo' and 'bar'
22542 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
22543 instead of 'foo' and 'bar'.
22545 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
22547 * gdb.btrace/segv.exp: New.
22548 * gdb.btrace/segv.c: New.
22550 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
22552 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
22555 2014-06-30 Mark Wielaard <mjw@redhat.com>
22557 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
22558 vulture, vilify, villar): New volatile array constants.
22559 (vindictive, vegetation): New const volatile array constants.
22560 * gdb.base/volatile.exp: Test volatile and const volatile array
22563 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
22565 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
22566 target lacks support for awatch, rwatch, or hbreak.
22568 2014-06-27 Yao Qi <yao@codesourcery.com>
22570 * gdb.multi/dummy-frame-restore.exp: New.
22571 * gdb.multi/dummy-frame-restore.c: New.
22573 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
22575 * gdb.btrace/gcore.exp: New.
22577 2014-06-23 Pedro Alves <palves@redhat.com>
22579 * gdb.base/watchpoint-reuse-slot.c: New file.
22580 * gdb.base/watchpoint-reuse-slot.exp: New file.
22582 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
22584 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
22585 progspace's filename in 'info', 'enable' and 'disable' command
22588 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
22590 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
22591 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22592 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
22594 2014-06-20 Gary Benson <gbenson@redhat.com>
22596 * gdb.arch/i386-avx.exp: Fix include file location.
22597 * gdb.arch/i386-sse.exp: Likewise.
22599 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
22601 * gdb.dlang/expression.exp: New file.
22603 2014-06-19 Pedro Alves <palves@redhat.com>
22605 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
22607 (top level): ... here. Iterate running tests under different
22608 scheduler-locking settings.
22610 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
22612 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
22613 to DW_FORM_addr and use non-zero addresses.
22615 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
22618 * gdb.python/py-xmethods.cc: Add global function call counters and
22619 increment them in their respective functions. Remove "cout"
22621 * gdb.python/py-xmethods.exp: Make tests check the global function
22622 call counters instead of depending on inferior IO.
22624 2014-06-18 Don Breazeal <donb@codesourcery.com>
22626 * gdb.base/foll-fork.exp (default_fork_parent_follow):
22628 (explicit_fork_parent_follow): Deleted procedure.
22629 (explicit_fork_child_follow): Deleted procedure.
22630 (test_follow_fork): New procedure.
22631 (do_fork_tests): Replace calls to deleted procedures with
22632 calls to test_follow_fork and reset GDB for subsequent
22635 2014-06-17 Yao Qi <yao@codesourcery.com>
22637 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
22640 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
22642 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
22643 Initialize ptr and S explicitly.
22644 (skip_type_update_when_not_use_rtti_test): Likewise.
22646 2014-06-16 Keith Seitz <keiths@redhat.com>
22649 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
22650 the inferior is started.
22652 2014-06-16 Pedro Alves <palves@redhat.com>
22654 * gdb.base/break-main-file-remove-fail.c: New file.
22655 * gdb.base/break-main-file-remove-fail.exp: New file.
22656 * gdb.base/break-unload-file.exp: Use build_executable instead of
22657 prepare_for_testing.
22658 (test_break): New parameter "initial_load". Handle it.
22659 (top level): Add initial_load cmdline/file axis.
22661 2014-06-12 Tom Tromey <tromey@redhat.com>
22663 * gdb.base/completion.exp: Don't use directory name in test.
22665 2014-06-09 Gary Benson <gbenson@redhat.com>
22667 * gdb.base/sigall.c [Functions to send signals]: Reorder to
22668 separate the always-available ANSI-standard signals from the
22669 signals that require checking.
22671 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
22675 2014-06-07 Keith Seitz <keiths@redhat.com>
22679 * gdb.cp/var-tag.cc: New file.
22680 * gdb.cp/var-tag.exp: New file.
22681 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22682 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22683 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22684 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22686 2014-06-06 Doug Evans <xdje42@gmail.com>
22688 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
22690 2014-06-06 Pedro Alves <palves@redhat.com>
22692 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
22693 in target debug output instead of looking at RSP packets,
22694 disabling the test on any target that uses hardware stepping.
22697 2014-06-06 Pedro Alves <palves@redhat.com>
22699 * gdb.base/break-unload-file.exp: Fix typo.
22701 2014-06-06 Yao Qi <yao@codesourcery.com>
22703 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
22704 from "jit_function" to "^jit_function".
22706 2014-06-06 Yao Qi <yao@codesourcery.com>
22708 * gdb.base/async.c (foo): Add one statement.
22709 * gdb.base/async.exp: Get the next instruction address and
22710 match the output of "nexti" by instruction address. Match
22711 the hex address in the output of "finish".
22713 2014-06-06 Gary Benson <gbenson@redhat.com>
22715 * gdb.base/call-signals.c: Remove preprocessor conditionals
22716 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22717 SIGSEGV and SIGTERM.
22718 * gdb.base/sigall.c: Likewise.
22719 * gdb.base/unwindonsignal.c: Likewise.
22720 * gdb.reverse/sigall-reverse.c: Likewise.
22722 2014-06-06 Yao Qi <yao@codesourcery.com>
22724 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
22725 readable, skip the test.
22727 2014-06-06 Yao Qi <yao@codesourcery.com>
22729 * gdb.threads/staticthreads.c (thread_function): Move the line
22730 setting breakpoint on forward.
22731 * gdb.threads/staticthreads.exp: Update comments.
22733 2014-06-05 Ludovic Courtès <ludo@gnu.org>
22735 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
22736 "history-append! type error".
22738 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
22740 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
22741 erroneous dprintf expected input.
22743 2014-06-04 Doug Evans <xdje42@gmail.com>
22745 * gdb.guile/scm-generics.exp: Delete.
22747 2014-06-04 Doug Evans <xdje42@gmail.com>
22749 * gdb.guile/scm-breakpoint.exp: Update.
22750 Add tests for breakpoint registration.
22752 2014-06-04 Tom Tromey <tromey@redhat.com>
22754 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22756 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22757 inner_vla_struct, vla_union types. Initialize objects of those
22758 types and compute their sizes.
22760 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22761 Hui Zhu <hui@codesourcery.com>
22763 * gdb.base/fileio.exp: Add test for shell not available as well as
22765 * gdb.base/fileio.c (test_system): Check for shell twice.
22767 2014-06-04 Yao Qi <yao@codesourcery.com>
22769 * gdb.base/auto-connect-native-target.exp: Remove redundant
22770 space from the regexp pattern.
22772 2014-06-04 Yao Qi <yao@codesourcery.com>
22774 * gdb.base/default.exp: Replace "child" with "native" in
22777 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22779 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22780 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22781 * gdb.python/py-xmethods.py: Python script supporting the
22782 new testcase and tests.
22784 2014-06-03 Joel Brobecker <brobecker@adacore.com>
22785 Pedro Alves <palves@redhat.com>
22787 PR breakpoints/17000
22788 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22789 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22791 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22793 * gdb.base/subst.exp: Add tests to verify partial path matching
22796 2014-06-03 Pedro Alves <palves@redhat.com>
22798 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22799 target that doesn't use software single-stepping.
22801 2014-06-03 Pedro Alves <palves@redhat.com>
22803 PR breakpoints/17000
22804 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22805 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22807 2014-06-02 Doug Evans <xdje42@gmail.com>
22809 * gdb.guile/scm-parameter.exp: New file.
22811 2014-06-02 Doug Evans <xdje42@gmail.com>
22813 * gdb.guile/scm-cmd.c: New file.
22814 * gdb.guile/scm-cmd.exp: New file.
22816 2014-06-02 Doug Evans <xdje42@gmail.com>
22818 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22819 pretty-printer lookup.
22820 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22821 (make-pp_s-printer): Call it.
22822 (make-pretty-printer-from-dict): New function.
22823 (lookup-pretty-printer-maker-from-dict): New function.
22824 (*pretty-printer*): Simplify.
22825 (make-objfile-pp_s-printer): New function.
22826 (install-objfile-pretty-printers!): New function.
22827 (make-progspace-pp_s-printer): New function.
22828 (install-progspace-pretty-printers!): New function.
22829 * gdb.guile/scm-progspace.c: New file.
22830 * gdb.guile/scm-progspace.exp: New file.
22832 2014-06-02 Pedro Alves <palves@redhat.com>
22834 * gdb.base/dprintf-bp-same-addr.c: New file.
22835 * gdb.base/dprintf-bp-same-addr.exp: New file.
22837 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22839 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22840 * gdb.arch/powerpc-power.s: Likewise.
22842 2014-06-02 Joel Brobecker <brobecker@adacore.com>
22844 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22846 2014-06-01 Yao Qi <yao@codesourcery.com>
22848 * gdb.base/watchpoint.exp (test_watch_location): Check null
22849 pointer can be dereferenced. If not, do the test, otherwise
22852 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22854 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22856 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22858 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22860 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22861 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22862 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22863 * gdb.arch/amd64-invalid-stack-top.c: New file.
22864 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22866 2014-05-30 Pedro Alves <palves@redhat.com>
22868 PR breakpoints/17000
22869 * gdb.base/sss-bp-on-user-bp.c: New file.
22870 * gdb.base/sss-bp-on-user-bp.exp: New file.
22872 2014-05-30 David Blaikie <dblaikie@gmail.com>
22874 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22875 gnu_inline semantics via attribute.
22876 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22877 source explicitly specifies the required semantics.
22879 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22881 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22883 2014-05-29 Pedro Alves <palves@redhat.com>
22884 Tom Tromey <tromey@redhat.com>
22886 * gdb.base/async-shell.exp: Don't enable target-async.
22887 * gdb.base/async.exp
22888 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22890 (top level): Don't test with "target-async".
22891 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22892 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22893 * gdb.base/inferior-died.exp: Don't enable target-async.
22894 * gdb.base/interrupt-noterm.exp: Likewise.
22895 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22896 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22897 * gdb.mi/mi-nonstop.exp: Likewise.
22898 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22899 * gdb.mi/mi-nsintrall.exp: Likewise.
22900 * gdb.mi/mi-nsmoribund.exp: Likewise.
22901 * gdb.mi/mi-nsthrexec.exp: Likewise.
22902 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22903 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22904 * gdb.python/py-evsignal.exp: Don't enable target-async.
22905 * gdb.python/py-evthreads.exp: Likewise.
22906 * gdb.python/py-prompt.exp: Likewise.
22907 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22908 * gdb.server/solib-list.exp: Don't enable target-async.
22909 * gdb.threads/thread-specific-bp.exp: Likewise.
22910 * lib/mi-support.exp: Adjust to use mi-async.
22912 2014-05-29 Pedro Alves <palves@redhat.com>
22915 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22916 reason, even in sync mode.
22918 2014-05-29 Pedro Alves <palves@redhat.com>
22919 Hui Zhu <hui@codesourcery.com>
22922 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22923 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22924 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22925 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22927 2014-05-28 Joel Brobecker <brobecker@adacore.com>
22929 * config/monitor.exp (gdb_target_monitor): Replace use of
22930 "set remotebaud" by "set serial baud".
22932 2014-05-26 Andy Wingo <wingo@igalia.com>
22934 * gdb.guile/scm-breakpoint.exp:
22935 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22936 properties instead of gdb-object-properties.
22938 2014-05-26 Yao Qi <yao@codesourcery.com>
22940 * gdb.server/no-thread-db.exp: Specify source file name
22941 explicitly when setting a breakpoint.
22943 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22945 * gdb.btrace/vdso.c: New.
22946 * gdb.btrace/vdso.exp: New.
22948 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22950 * gdb.base/gcore.exp (capture_command_output): Move ...
22951 * lib/gdb.exp (capture_command_output): ... here.
22953 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22955 * gdb.btrace/data.exp: Test memory access during btrace replay.
22957 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22959 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22961 2014-05-21 Pedro Alves <palves@redhat.com>
22964 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22965 (top level): Test that output related to execution commands is
22966 sent to the console with CLI commands, but not with MI commands.
22967 Test that breakpoint events are always mirrored to the console.
22968 Also expect the new source line to be output after a "next" in
22969 async mode too. Make it a pass/fail test.
22970 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22972 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22974 2014-05-21 Pedro Alves <palves@redhat.com>
22976 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22977 Use them to test variations of "list" after reaching a breakpoint.
22978 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22979 Test "list" with listsize 10 after reaching a breakpoint.
22980 * gdb.python/python.exp (decode_line current location line
22981 number): Adjust expected line number.
22983 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22985 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22986 behavior for $args, pass it directly to "run".
22988 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22990 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22993 2014-05-21 Pedro Alves <palves@redhat.com>
22995 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22996 auto-connect-native-target off".
22997 * gdb.base/auto-connect-native-target.c: New file.
22998 * gdb.base/auto-connect-native-target.exp: New file.
23000 2014-05-21 Pedro Alves <palves@redhat.com>
23002 * gdb.base/default.exp: Test "target native" instead of "target
23005 2014-05-21 Mark Wielaard <mjw@redhat.com>
23007 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
23009 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
23011 Fix TLS access for -static -pthread.
23012 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
23013 <HAVE_TLS> (thread_function, main): Initialize it.
23014 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
23016 <$have_tls != "">: Check TLSVAR.
23018 2014-05-21 Pedro Alves <palves@redhat.com>
23020 * gdb.base/dcache-line-read-error.c: New.
23021 * gdb.base/dcache-line-read-error.exp: New.
23023 2014-05-20 Pedro Alves <palves@redhat.com>
23025 * gdb.base/compare-sections.c: New file.
23026 * gdb.base/compare-sections.exp: New file.
23028 2014-05-20 Pedro Alves <palves@redhat.com>
23030 * gdb.base/break-idempotent.c: New file.
23031 * gdb.base/break-idempotent.exp: New file.
23033 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
23035 * gdb.btrace/nohist.exp: New.
23037 2014-05-20 Yao Qi <yao@codesourcery.com>
23039 * lib/gdb.exp (gdb_init): Set timeout if test file is under
23040 gdb.reverse directory and gdb_reverse_timeout exists in board
23042 * README: Document gdb_reverse_timeout.
23044 2014-05-20 Yao Qi <yao@codesourcery.com>
23046 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
23047 'test_file_name'. Treat args as a string instead of a list.
23048 (gdb_init): Rename argument 'args' by 'test_file_name'.
23050 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
23052 * gdb.arch/powerpc-power.exp: New file.
23053 * gdb.arch/powerpc-power.s: New file.
23055 2014-05-16 Doug Evans <dje@google.com>
23057 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
23058 * gdb.base/completion.exp: Check that all expected files exist
23059 before doing file completion.
23061 2014-05-16 Doug Evans <dje@google.com>
23063 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
23065 (do_syscall_tests_without_xml): Update.
23067 2014-05-16 Pedro Alves <palves@redhat.com>
23069 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
23070 instead of "unknown output after running".
23072 2014-05-16 Yao Qi <yao@codesourcery.com>
23074 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
23075 file1.txt from host at the end.
23076 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
23078 2014-05-15 Doug Evans <dje@google.com>
23080 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
23081 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
23082 loading file. Add test for TU lookup.
23084 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23086 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
23087 calling "-exec-arguments" or "set args" before running the
23090 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
23092 * lib/mi-support.exp (mi_expect_stop): Expect message for
23093 inferiors that exit with non-zero exit code.
23095 2014-05-14 Yao Qi <yao@codesourcery.com>
23097 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
23098 match absolute path on remote host.
23099 (test_file_list_exec_source_files): Remove "/" from the
23102 2014-05-14 Yao Qi <yao@codesourcery.com>
23104 * boards/local-remote-host-notty.exp (${board}_file): New
23107 2014-05-07 Kyle McMartin <kyle@redhat.com>
23109 Pushed by Joel Brobecker <brobecker@adacore.com>.
23110 * gdb.arch/aarch64-atomic-inst.c: New file.
23111 * gdb.arch/aarch64-atomic-inst.exp: New file.
23113 2014-05-07 Yao Qi <yao@codesourcery.com>
23115 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
23116 in current context" too.
23118 2014-05-05 Keith Seitz <keiths@redhat.com>
23120 * gdb.linespec/ls-dollar.exp: Add test for linespec
23121 file:convenience_variable.
23123 2014-05-05 Yao Qi <yao@codesourcery.com>
23125 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
23126 traceframes into tfile and ctf trace files. Read data from
23127 trace file and test collected data.
23128 (gdb_collect_locals_test): Likewise.
23129 (gdb_unavailable_registers_test): Likewise.
23130 (gdb_unavailable_floats): Likewise.
23131 (gdb_collect_globals_test): Likewise.
23132 (top-level): Append "ctf" to trace_file_targets if GDB
23135 2014-05-05 Yao Qi <yao@codesourcery.com>
23137 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
23139 (gdb_collect_args_test_1): ... it. New proc.
23140 (gdb_collect_locals_test): Move some code to ...
23141 (gdb_collect_locals_test_1): ... it. New proc.
23142 (gdb_unavailable_registers_test): Move some code to ...
23143 (gdb_unavailable_registers_test_1): ... it. New proc.
23144 (gdb_unavailable_floats): Move some code to ...
23145 (gdb_unavailable_floats_1): ... it. New proc.
23147 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23149 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
23150 probes to test for bitness recognition.
23151 * gdb.arch/amd64-stap-optional-prefix.exp
23152 (test_probe_value_without_reg): New procedure.
23153 Add code to test for different kinds of bitness.
23155 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
23157 PR breakpoints/16889
23158 * gdb.arch/amd64-stap-optional-prefix.S: New file.
23159 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
23161 2014-05-01 Pedro Alves <palves@redhat.com>
23163 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
23164 gdb_file_cmd if no file is specified.
23165 * boards/native-extended-gdbserver.exp (gdb_load): Use the
23166 last_loaded_file to set the remote exec-file.
23168 2014-05-01 Pedro Alves <palves@redhat.com>
23170 * boards/local-remote-host.exp: New file.
23172 2014-05-01 Pedro Alves <palves@redhat.com>
23174 * boards/local-remote-host.exp: Rename to ...
23175 * boards/local-remote-host-notty.exp: ... this.
23177 2014-04-28 Joel Brobecker <brobecker@adacore.com>
23179 * gdb.ada/dyn_arrayidx: New testcase.
23181 2014-04-26 Yao Qi <yao@codesourcery.com>
23183 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
23184 and compute the length of function main. Save it in
23186 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
23187 (top-level): Use gdb_compile to compile objects into
23188 executable and restart GDB. Remove invocation to
23189 prepare_for_testing.
23191 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
23192 Pedro Alves <palves@redhat.com>
23195 * gdb.multi/multi-attach.c: New file.
23196 * gdb.multi/multi-attach.exp: New file.
23198 2014-04-25 Pedro Alves <palves@redhat.com>
23200 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
23202 (top level): Test that "set remote conditional-breakpoints-packet
23203 off" works as intended.
23204 * gdb.base/dprintf.exp: Test that "set remote
23205 breakpoint-commands-packet off" works as intended.
23206 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
23208 (top level): Call it.
23209 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
23210 remote fast-tracepoints-packet off" works as intended.
23211 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
23212 * lib/gdb.exp (gdb_is_target_remote): ... here.
23214 2014-04-24 David Blaikie <dblaikie@gmail.com>
23216 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
23217 ensure clang would not discard them.
23218 * gdb.base/gdbvars.c: Ditto.
23219 * gdb.base/memattr.c: Ditto.
23220 * gdb.base/whatis.c: Ditto.
23221 * gdb.python/py-prettyprint.c: Ditto.
23222 * gdb.trace/actions.c: Ditto.
23223 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
23224 ensure clang would not discard it.
23226 2014-04-24 David Blaikie <dblaikie@gmail.com>
23228 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
23229 clang to emit the full definition of type required by the test
23230 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
23232 2014-04-24 David Blaikie <dblaikie@gmail.com>
23234 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
23235 coax Clang into emitting the definition of the type.
23236 * gdb.cp/pr10728-x.h (y): Ditto.
23237 * gdb.cp/pr10728-y.cc (y): Ditto.
23239 2014-04-24 David Blaikie <dblaikie@gmail.com>
23241 * gdb.base/label.exp: XFAIL label related tests under Clang.
23242 * gdb.cp/cplabel.exp: Ditto.
23243 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
23244 under Clang those using labels.
23246 2014-04-25 Yao Qi <yao@codesourcery.com>
23248 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
23250 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
23251 partial_label and double_label.
23253 2014-04-24 David Blaikie <dblaikie@gmail.com>
23255 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
23257 2014-04-24 David Blaikie <dblaikie@gmail.com>
23259 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
23260 of the function to work across GCC and Clang.
23261 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
23262 pointer types (const void ** const V void **).
23264 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
23265 Walfred Tedeschi <walfred.tedeschi@intel.com>
23267 * Makefile.in (EXECUTABLES): Added i386-avx512.
23268 * gdb.arch/i386-avx512.c: New file.
23269 * gdb.arch/i386-avx512.exp: Likewise.
23271 2014-04-23 Keith Seitz <keiths@redhat.com>
23273 * lib/mi-support.exp (mi_list_breakpoints): Delete.
23274 (mi_make_breakpoint_table): New procedure.
23275 (mi_create_breakpoint): Use mi_make_breakpoint
23276 and return the result.
23277 (mi_make_breakpoint): New procedure.
23278 (mi_build_kv_pairs): New procedure.
23280 * gdb.mi/mi-break.exp: Remove unused globals,
23281 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
23282 All callers updated.
23283 * gdb.mi/mi-dprintf.exp: Use variable to track command
23285 Update all callers of mi_create_breakpoint and use
23286 mi_make_breakpoint_table.
23287 Remove any unused global variables.
23288 * gdb.mi/mi-nonstop.exp: Likewise.
23289 * gdb.mi/mi-nsintrall.exp: Likewise.
23290 * gdb.mi/mi-nsmoribund.exp: Likewise.
23291 * gdb.mi/mi-nsthrexec.exp: Likewise.
23292 * gdb.mi/mi-reverse.exp: Likewise.
23293 * gdb.mi/mi-simplerun.exp: Likewise.
23294 * gdb.mi/mi-stepn.exp: Likewise.
23295 * gdb.mi/mi-syn-frame.exp: Likewise.
23296 * gdb.mi/mi-until.exp: Likewise.
23297 * gdb.mi/mi-var-cp.exp: Likewise.
23298 * gdb.mi/mi-var-display.exp: Likewise.
23299 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
23300 * gdb.mi/mi2-var-child.exp: Likewise.
23301 * gdb.mi/mi-vla-c99.exp: Likewise.
23302 * lib/mi-support.exp: Likewise.
23304 From Ian Lance Taylor <iant@cygnus.com>:
23305 * lib/gdb.exp (parse_args): New procedure.
23307 2014-04-23 Pedro Alves <palves@redhat.com>
23309 * gdb.base/break-unload-file.c: New file.
23310 * gdb.base/break-unload-file.exp: New file.
23311 * gdb.base/sym-file-lib.c (baz): New function.
23312 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
23314 (load): Store the segment's mapped size.
23315 (unload): New function.
23316 (unload_shlib): New function.
23317 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
23318 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
23319 set a breakpoint at baz, and call it.
23320 * gdb.base/sym-file.exp: New tests for stale breakpoint
23323 2014-04-23 Pedro Alves <palves@redhat.com>
23325 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
23326 * gdb.base/hbreak-in-shr-unsupported.c: New file.
23327 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
23328 * gdb.base/hbreak-unmapped.c: New file.
23329 * gdb.base/hbreak-unmapped.exp: New file.
23330 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
23331 * lib/gdb.exp (gdb_is_target_remote): ... here.
23333 2014-04-22 Pedro Alves <palves@redhat.com>
23335 * gdb.base/consecutive-step-over.c: New file.
23336 * gdb.base/consecutive-step-over.exp: New file.
23338 2014-04-22 Pedro Alves <palves@redhat.com>
23340 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
23341 instead of send_gdb/gdb_expect.
23343 2014-04-22 Yao Qi <yao@codesourcery.com>
23345 * lib/trace-support.exp (generate_tracefile): New procedure.
23346 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
23348 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
23349 if generate_tracefile returns 1.
23351 2014-04-18 Tom Tromey <palves@redhat.com>
23352 Pedro alves <tromey@redhat.com>
23355 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
23356 with a backtrace limit.
23357 * gdb.python/py-frame-inline.exp: Test running to an inline
23358 function with a backtrace limit, and printing the newest frame.
23359 * gdb.python/py-frame-inline.c (main): Call f.
23361 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23363 * gdb.java/jnpe.exp: Drop srcdir from untested path.
23365 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
23367 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
23368 Drop prefix from unsupported source file path.
23370 2014-04-17 Yao Qi <yao@codesourcery.com>
23372 * lib/gdb.exp (with_target_charset): New proc.
23373 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
23374 with_target_charset.
23375 (test_print_strings): Likewise.
23376 (test_repeat_bytes): Likewise.
23377 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
23380 2014-04-16 Keith Seitz <keiths@redhat.com>
23383 * gdb.dwarf2/corrupt.c: New file.
23384 * gdb.dwarf2/corrupt.exp: New file.
23386 2014-04-16 Keith Seitz <keiths@redhat.com>
23389 * gdb.cp/namelessclass.cc: New file.
23390 * gdb.cp/namelessclass.exp: New file.
23391 * gdb.cp/namelessclass.S: New file.
23393 2014-04-16 Doug Evans <dje@google.com>
23395 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
23397 (gdbserver_default_get_comm_port): New function.
23398 (gdbserver_start): Check if board file provided
23399 "gdbserver,get_comm_port" and use it if so.
23400 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
23401 (gdb,socketport): Set to "stdio".
23402 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
23403 (stdio_gdbserver_template): Delete.
23404 (${board}_get_remote_address): Update.
23405 (${board}_build_remote_cmd): Delete.
23406 (${board}_get_comm_port): New function.
23407 (${board}_spawn): Update.
23408 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
23410 (${board}_get_remote_address): Update.
23411 (${board}_get_comm_port): New function.
23413 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
23415 * gdb.base/memattr.exp: Improve regexps to handle memory regions
23416 appearing in any order.
23418 2014-04-15 Doug Evans <dje@google.com>
23420 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
23421 uninitialized value of "description".
23423 2014-04-15 Keith Seitz <keiths@redhat.com>
23425 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
23426 Remove unused globals.
23427 (test_running_the_program): Likewise.
23428 (test_controlled_execution): Likewise.
23429 (test_controlling_breakpoints): Likewise.
23430 (test_program_termination): Likewise.
23432 2014-04-15 Keith Seitz <keiths@redhat.com>
23434 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
23436 (test_rbreak_creation_and_listing): Likewise.
23437 (test_ignore_count): Likewise.
23438 (test_error): Likewise.
23440 2014-04-15 Pedro Alves <palves@redhat.com>
23442 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
23443 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
23445 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23446 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23447 to sym-file-loader.c.
23448 (struct library): Forward declare.
23449 (load_shlib, lookup_function): Change prototypes.
23450 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23451 (translate_offset): Remove declarations.
23452 (get_text_addr): New declaration.
23453 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
23454 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
23456 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
23457 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
23458 here from sym-file-loader.h.
23459 (struct library): New structure.
23460 (load_shlib, lookup_function): Change prototypes and adjust to
23461 work with a struct library.
23462 (find_shstrtab, find_strtab, find_shdr, find_symtab)
23463 (translate_offset): Make static.
23464 (get_text_addr): New function.
23465 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
23467 2014-04-15 Pedro Alves <palves@redhat.com>
23469 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
23471 2014-04-15 Pedro Alves <palves@redhat.com>
23473 * gdb.base/sym-file-loader.c: Include <limits.h>.
23474 (SELF_LINK): New define.
23475 (get_origin): New function.
23476 (load_shlib): Use it.
23477 * gdb.base/sym-file.exp: Don't early return if the target is
23478 remote. Use runto_main, and issue fail is that fails. Use
23480 (shlib_name): Delete.
23481 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
23483 2014-04-15 Pedro Alves <palves@redhat.com>
23485 * gdb.base/sym-file.exp: Remove regex characters from test
23486 message. Don't refer to breakpoint numbers in test messages.
23488 2014-04-14 Keith Seitz <keiths@redhat.com>
23491 * gdb.cp/var-tag.cc: New file.
23492 * gdb.cp/var-tag.exp: New file.
23493 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
23494 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23495 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
23496 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
23498 2014-04-14 Tom Tromey <tromey@redhat.com>
23500 * gdb.cp/classes.exp (test_enums): Handle underlying type.
23501 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
23503 * gdb.cp/enum-class.exp: New file.
23504 * gdb.cp/enum-class.cc: New file.
23506 2014-04-14 Tom Tromey <tromey@redhat.com>
23508 * gdb.dwarf2/enum-type.exp: New file.
23510 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23512 * gdb.mi/mi-vla-c99.exp: New file.
23513 * gdb.mi/vla.c: New file.
23515 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23517 * gdb.base/vla-datatypes.c: New file.
23518 * gdb.base/vla-datatypes.exp: New file.
23520 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23522 * gdb.base/vla-ptr.c: New file.
23523 * gdb.base/vla-ptr.exp: New file.
23525 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23527 * gdb.dwarf2/count.exp: New file.
23529 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
23531 * gdb.base/vla-sideeffect.c: New file.
23532 * gdb.base/vla-sideeffect.exp: New file.
23534 2014-04-14 David Blaikie <dblaikie@gmail.com>
23536 * gdb.mi/non-stop.c: Add return value for non-void function return
23538 * gdb.threads/staticthreads.c: Ditto.
23540 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
23541 Doug Evans <xdje42@gmail.com>
23543 * gdb.guile/scm-value.c: Improve test case.
23544 * gdb.guile/scm-value.exp: Add new test.
23546 2014-04-11 David Blaikie <dblaikie@gmail.com>
23548 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
23549 override Clang's default.
23551 2014-04-11 Joel Brobecker <brobecker@adacore.com>
23553 Revert the following changes (regressions):
23555 * gdb.base/vla-sideeffect.c: New file.
23556 * gdb.base/vla-sideeffect.exp: New file.
23558 * gdb.dwarf2/count.exp: New file.
23560 * gdb.base/vla-multi.c: New file.
23561 * gdb.base/vla-multi.exp: New file.
23563 * gdb.base/vla-ptr.c: New file.
23564 * gdb.base/vla-ptr.exp: New file.
23566 * gdb.base/vla-datatypes.c: New file.
23567 * gdb.base/vla-datatypes.exp: New file.
23569 * gdb.mi/mi-vla-c99.exp: New file.
23570 * gdb.mi/vla.c: New file.
23572 2014-04-11 Keith Seitz <keiths@redhat.com>
23575 * gdb.cp/cpsizeof.exp: New file.
23576 * gdb.cp/cpsizeof.cc: New file.
23578 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23580 * gdb.mi/mi-vla-c99.exp: New file.
23581 * gdb.mi/vla.c: New file.
23583 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23585 * gdb.base/vla-datatypes.c: New file.
23586 * gdb.base/vla-datatypes.exp: New file.
23588 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23590 * gdb.base/vla-ptr.c: New file.
23591 * gdb.base/vla-ptr.exp: New file.
23593 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23595 * gdb.base/vla-multi.c: New file.
23596 * gdb.base/vla-multi.exp: New file.
23598 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23600 * gdb.dwarf2/count.exp: New file.
23602 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23604 * gdb.base/vla-sideeffect.c: New file.
23605 * gdb.base/vla-sideeffect.exp: New file.
23607 2014-04-11 Yao Qi <yao@codesourcery.com>
23609 * gdb.base/completion.exp: Check file exists before running tests
23610 on file completion.
23612 2014-04-10 Pedro Alves <palves@redhat.com>
23614 * gdb.base/cond-eval-mode.c: New file.
23615 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
23616 prepare_for_testing to build the new file. Check result of
23618 (test_break, test_watch): New procedures.
23619 (top level): Use them.
23621 2014-04-08 Pierre Muller <muller@sourceware.org>
23623 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
23624 Ctrl-V use for mingw hosts.
23626 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
23628 * gdb.python/py-value.c: Improve test case.
23629 * gdb.python/py-value.exp: Add new test.
23631 2014-04-07 David Blaikie <dblaikie@gmail.com>
23633 * lib/compiler.c: Identify the clang compiler.
23634 * lib/compiler.cc: Ditto.
23636 2014-04-03 Yao Qi <yao@codesourcery.com>
23638 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
23640 2014-04-01 Anton Blanchard <anton@samba.org>
23642 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
23645 2014-04-01 Anton Blanchard <anton@samba.org>
23647 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
23648 prepare_for_testing.
23650 2014-04-01 Anton Blanchard <anton@samba.org>
23652 * gdb.arch/ppc64-atomic-inst.c: Remove.
23653 * gdb.arch/ppc64-atomic-inst.S: New file.
23654 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
23656 2014-03-31 Doug Evans <dje@google.com>
23658 * gdb.base/print-symbol-loading-lib.c: New file.
23659 * gdb.base/print-symbol-loading-main.c: New file.
23660 * gdb.base/print-symbol-loading.exp: New file.
23662 2014-03-31 Yao Qi <yao@codesourcery.com>
23664 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
23666 2014-03-28 Joel Brobecker <brobecker@adacore.com>
23668 * gdb.ada/mi_dyn_arr: New testcase.
23670 2014-03-27 Doug Evans <dje@google.com>
23672 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
23674 2014-03-27 Yao Qi <yao@codesourcery.com>
23676 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
23677 if target is nios2-*-*.
23679 2014-03-26 Yao Qi <yao@codesourcery.com>
23681 * lib/gdb.exp (readline_is_used): New proc.
23682 * gdb.base/completion.exp: Move tests on command complete up.
23683 Skip the rest of tests if readline is not used.
23684 * gdb.ada/complete.exp: Skp the test if readline is not
23686 * gdb.base/filesym.exp: Likewise.
23687 * gdb.base/macscp.exp: Likewise.
23688 * gdb.base/readline-ask.exp: Likewise.
23689 * gdb.base/readline.exp: Likewise.
23690 * gdb.python/py-cmd.exp: Likewise.
23691 * gdb.trace/tfile.exp: Likewise.
23693 2014-03-26 Yao Qi <yao@codesourcery.com>
23695 * gdb.base/macscp.exp: Fix code format issues.
23697 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
23699 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
23700 * gdb.asm/powerpc64le.inc: New file.
23702 2014-03-25 Pedro Alves <palves@redhat.com>
23703 Doug Evans <dje@google.com>
23705 * gdb.base/source-execution.c: New file.
23706 * gdb.base/source-execution.exp: New file.
23707 * gdb.base/source-execution.gdb: New file.
23709 2014-03-24 Doug Evans <dje@google.com>
23711 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
23714 2014-03-24 Hui Zhu <hui@codesourcery.com>
23715 Pedro Alves <palves@redhat.com>
23717 PR breakpoints/16101
23718 * gdb.base/dprintf.exp: Use unsupported rather than changing the
23719 test pass/fail messages. Detect missing support for dprintf when
23720 breakpoints are actually inserted.
23721 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
23722 breakpoints are actually inserted.
23723 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
23726 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
23728 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
23730 2014-03-22 Doug Evans <xdje42@gmail.com>
23732 * gdb.python/python.exp (python not supported): Verify multi-line
23733 python command issues an error.
23734 * gdb.guile/guile.exp (guile not supported): Verify multi-line
23735 guile command issues an error.
23737 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
23739 * gdb.threads/thread-specific.exp: Handle the lack of usable
23740 $this_breakpoint and $this_thread.
23742 2014-03-21 Hui Zhu <hui@codesourcery.com>
23744 * gdb.base/attach.exp (do_command_attach_tests): New.
23746 2014-03-20 Tom Tromey <tromey@redhat.com>
23747 Pedro Alves <palves@redhat.com>
23750 * gdb.base/condbreak-call-false.c: New file.
23751 * gdb.base/condbreak-call-false.exp: New file.
23753 2014-03-20 Pedro Alves <palves@redhat.com>
23755 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23757 (block_signals, unblock_signals): Delete.
23758 (child_function_2, main): Remove references to deleted variable
23761 2014-03-20 Pedro Alves <palves@redhat.com>
23763 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23764 Use pthread_kill to signal thread 2.
23765 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23766 Adjust to make the test send itself a signal rather than using the
23767 host's "kill" command.
23769 2014-03-20 Pedro Alves <palves@redhat.com>
23771 * gdb.threads/multiple-step-overs.c: New file.
23772 * gdb.threads/multiple-step-overs.exp: New file.
23773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23774 Adjust expected infrun debug output.
23776 2014-03-20 Pedro Alves <palves@redhat.com>
23778 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23779 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23781 2014-03-20 Pedro Alves <palves@redhat.com>
23783 PR breakpoints/7143
23784 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23785 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23786 of gdb_test_multiple.
23787 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23788 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23790 2014-03-20 Pedro Alves <palves@redhat.com>
23792 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23793 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23795 2014-03-19 Pedro Alves <palves@redhat.com>
23797 * gdb.base/async.exp: Remove early return.
23799 2014-03-19 Pedro Alves <palves@redhat.com>
23801 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23803 2014-03-19 Pedro Alves <palves@redhat.com>
23805 * gdb.base/async.exp (test_background): Expect \r\n after
23806 "completed." in the fail pattern.
23808 2014-03-19 Pedro Alves <palves@redhat.com>
23810 * gdb.base/async.exp (test_background): New procedure.
23811 Use it for all background execution command tests.
23813 2014-03-19 Pedro Alves <palves@redhat.com>
23815 * gdb.base/async.exp: Use prepare_for_testing.
23817 2014-03-19 Pedro Alves <palves@redhat.com>
23819 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23822 2014-03-19 Pedro Alves <palves@redhat.com>
23824 * gdb.base/async.c (main): Add "jump here" and "until here" line
23826 * gdb.base/async.exp (jump_here): New global.
23827 (jump& test): Use it.
23828 (until_here): New global.
23829 (until& test): Use it.
23831 2014-03-19 Pedro Alves <palves@redhat.com>
23833 * gdb.base/async.exp: Don't frob gdb_protocol.
23835 2014-03-18 Doug Evans <xdje42@gmail.com>
23837 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23838 Fix spelling of exec-done-display.
23840 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23843 * gdb.base/gdb-sigterm.c: New file.
23844 * gdb.base/gdb-sigterm.exp: New file.
23846 2014-03-18 Pedro Alves <palves@redhat.com>
23849 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23850 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23853 2014-03-17 Joel Brobecker <brobecker@adacore.com>
23855 * gdb.ada/pckd_arr_ren: New testcase.
23857 2014-03-13 Doug Evans <xdje42@gmail.com>
23860 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23861 collect after discarding symbols.
23863 2014-03-13 Ludovic Courtès <ludo@gnu.org>
23864 Doug Evans <xdje42@gmail.com>
23866 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23867 to history survives a gc.
23869 2014-03-13 Pedro Alves <palves@redhat.com>
23871 * gdb.base/default.exp: Don't test "target procfs".
23873 2014-03-13 Pedro Alves <palves@redhat.com>
23875 * gdb.base/default.exp: Update "target child" and "target procfs"
23876 tests to not expect "Unix".
23878 2014-03-12 Tom Tromey <tromey@redhat.com>
23880 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23881 New procs. Add target-async tests.
23882 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23883 Add target-async tests.
23885 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23887 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23888 'func_start' and 'func_end' for the beginning and end of the
23889 function code, respectively.
23890 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23891 'func_end' instead of 'func' and 'main'.
23893 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23895 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23896 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23897 generate the debug info assembler source.
23899 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23901 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23902 * gdb.dwarf2/arr-subrange.exp: Likewise.
23903 * gdb.dwarf2/dwz.exp: Likewise.
23904 * gdb.dwarf2/method-ptr.exp: Likewise.
23905 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23906 * gdb.dwarf2/subrange.exp: Likewise.
23907 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23908 * gdb.dwarf2/implptrpiece.exp: Likewise.
23909 * gdb.dwarf2/nostaticblock.exp: Likewise.
23911 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23913 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23914 directory to absolute path name arguments.
23916 2014-03-10 Joel Brobecker <brobecker@adacore.com>
23918 * gdb.ada/tagged_access: New testcase.
23920 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23922 * gdb.btrace/data.exp: Update expected output.
23924 2014-03-06 Yao Qi <yao@codesourcery.com>
23926 * gdb.trace/pr16508.exp: New file.
23928 2014-03-05 Pedro Alves <palves@redhat.com>
23931 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23933 (top level): Adjust to use it. Add tests that exercise breakpoint
23934 interaction with the code-cache.
23936 2014-02-26 Ludovic Courtès <ludo@gnu.org>
23938 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23939 test for 'history-append!'.
23941 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23943 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23944 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23945 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23946 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23947 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23948 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23950 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23952 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23953 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23954 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23956 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23958 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23960 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23962 * gdb.dwarf2/arr-stride.c: New file.
23963 * gdb.dwarf2/arr-stride.exp: New file.
23965 2014-02-26 Pedro Alves <palves@redhat.com>
23967 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23968 that won't ever trigger. Make sure that GDB reports the correct
23969 breakpoint that caused the stop.
23971 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23974 * gdb.base/auto-load-script: New file.
23975 * gdb.base/auto-load.c: New file.
23976 * gdb.base/auto-load.exp: New file.
23979 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23981 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23983 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23984 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23986 2014-02-24 Doug Evans <dje@google.com>
23988 * lib/gdb.exp (run_on_host): Log error output if program fails.
23990 2014-02-21 Pedro Alves <palves@redhat.com>
23992 * gdb.threads/step-after-sr-lock.c: Rename to ...
23993 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23994 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23995 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23998 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
24001 * gdb.arch/amd64-stap-special-operands.exp: New file.
24002 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
24003 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
24004 * gdb.arch/amd64-stap-triplet.S: Likewise.
24005 * gdb.arch/amd64-stap-triplet.c: Likewise.
24007 2014-02-20 Joel Brobecker <brobecker@adacore.com>
24009 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
24010 in .section pseudo-op.
24012 2014-02-20 lin zuojian <manjian2006@gmail.com>
24013 Joel Brobecker <brobecker@adacore.com>
24014 Doug Evans <xdje42@gmail.com>
24017 * gdb.dwarf2/dw2-icycle.S: New file.
24018 * gdb.dwarf2/dw2-icycle.c: New file.
24019 * gdb.dwarf2/dw2-icycle.exp: New file.
24021 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
24023 * gdb.python/py-value-cc.cc: Improve test case to enable testing
24024 operations on gdb.Value objects.
24025 * gdb.python/py-value-cc.exp: Add new test to test operations on
24028 2014-02-18 Doug Evans <dje@google.com>
24030 * Makefile.in (TESTS): New variable.
24031 (expanded_tests, expanded_tests_or_none): New variables
24032 (check-single): Pass $(expanded_tests_or_none) to runtest.
24033 (check-parallel): Only run tests in $(TESTS) if non-empty.
24034 (check/no-matching-tests-found): New rule.
24035 * README: Document TESTS makefile variable.
24037 2014-02-18 Doug Evans <dje@google.com>
24039 * Makefile.in (check-parallel): rm -rf outputs temp.
24041 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24043 Fix "ERROR: no fileid for" in the testsuite.
24044 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
24046 2014-02-12 Doug Evans <dje@google.com>
24048 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
24049 (MISCELLANEOUS): New variable.
24050 (clean): rm -rf $(MISCELLANEOUS).
24051 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
24052 dwp live in the same directory as symlinks, with each symlink pointed
24053 to a differently named file in a different directory.
24055 2014-02-11 Doug Evans <dje@google.com>
24057 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
24058 of Tcl file commands.
24060 2014-02-10 Mark Kettenis <kettenis@gnu.org>
24062 * gdb.threads/step-after-sr-lock.exp: Avoid executing
24063 "kill -SIGUSR1 -1".
24065 2014-02-10 Joel Brobecker <brobecker@adacore.com>
24067 * gdb.ada/tick_length_array_enum_idx: New testcase.
24069 2014-02-10 Doug Evans <xdje42@gmail.com>
24071 * configure.ac (AC_OUTPUT): Add gdb.guile.
24072 * configure: Regenerate.
24073 * lib/gdb-guile.exp: New file.
24074 * lib/gdb.exp (get_target_charset): New function.
24075 * gdb.base/help.exp: Update expected output from "apropos apropos".
24076 * gdb.guile/Makefile.in: New file.
24077 * gdb.guile/guile.exp: New file.
24078 * gdb.guile/scm-arch.c: New file.
24079 * gdb.guile/scm-arch.exp: New file.
24080 * gdb.guile/scm-block.c: New file.
24081 * gdb.guile/scm-block.exp: New file.
24082 * gdb.guile/scm-breakpoint.c: New file.
24083 * gdb.guile/scm-breakpoint.exp: New file.
24084 * gdb.guile/scm-disasm.c: New file.
24085 * gdb.guile/scm-disasm.exp: New file.
24086 * gdb.guile/scm-equal.c: New file.
24087 * gdb.guile/scm-equal.exp: New file.
24088 * gdb.guile/scm-error.exp: New file.
24089 * gdb.guile/scm-error.scm: New file.
24090 * gdb.guile/scm-frame-args.c: New file.
24091 * gdb.guile/scm-frame-args.exp: New file.
24092 * gdb.guile/scm-frame-args.scm: New file.
24093 * gdb.guile/scm-frame-inline.c: New file.
24094 * gdb.guile/scm-frame-inline.exp: New file.
24095 * gdb.guile/scm-frame.c: New file.
24096 * gdb.guile/scm-frame.exp: New file.
24097 * gdb.guile/scm-generics.exp: New file.
24098 * gdb.guile/scm-gsmob.exp: New file.
24099 * gdb.guile/scm-iterator.c: New file.
24100 * gdb.guile/scm-iterator.exp: New file.
24101 * gdb.guile/scm-math.c: New file.
24102 * gdb.guile/scm-math.exp: New file.
24103 * gdb.guile/scm-objfile-script-gdb.in: New file.
24104 * gdb.guile/scm-objfile-script.c: New file.
24105 * gdb.guile/scm-objfile-script.exp: New file.
24106 * gdb.guile/scm-objfile.c: New file.
24107 * gdb.guile/scm-objfile.exp: New file.
24108 * gdb.guile/scm-ports.exp: New file.
24109 * gdb.guile/scm-pretty-print.c: New file.
24110 * gdb.guile/scm-pretty-print.exp: New file.
24111 * gdb.guile/scm-pretty-print.scm: New file.
24112 * gdb.guile/scm-section-script.c: New file.
24113 * gdb.guile/scm-section-script.exp: New file.
24114 * gdb.guile/scm-section-script.scm: New file.
24115 * gdb.guile/scm-symbol.c: New file.
24116 * gdb.guile/scm-symbol.exp: New file.
24117 * gdb.guile/scm-symtab-2.c: New file.
24118 * gdb.guile/scm-symtab.c: New file.
24119 * gdb.guile/scm-symtab.exp: New file.
24120 * gdb.guile/scm-type.c: New file.
24121 * gdb.guile/scm-type.exp: New file.
24122 * gdb.guile/scm-value-cc.cc: New file.
24123 * gdb.guile/scm-value-cc.exp: New file.
24124 * gdb.guile/scm-value.c: New file.
24125 * gdb.guile/scm-value.exp: New file.
24126 * gdb.guile/source2.scm: New file.
24127 * gdb.guile/types-module.cc: New file.
24128 * gdb.guile/types-module.exp: New file.
24130 2014-02-10 Yao Qi <yao@codesourcery.com>
24133 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
24134 * configure: Regenerated.
24135 * Makefile.in: New file.
24137 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
24139 * gdb.python/py-framefilter.exp: Fix typo.
24141 2014-02-08 Yao Qi <yao@codesourcery.com>
24143 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
24144 that no =breakpoint-modified is emitted when breakpoints are
24145 modified through MI commands.
24147 2014-02-07 Pedro Alves <pedro@codesourcery.com>
24148 Pedro Alves <palves@redhat.com>
24150 * gdb.threads/step-after-sr-lock.c: New file.
24151 * gdb.threads/step-after-sr-lock.exp: New file.
24153 2014-02-07 Pedro Alves <palves@redhat.com>
24155 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
24157 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
24159 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24160 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
24162 2014-02-06 Doug Evans <xdje42@gmail.com>
24164 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
24167 * gdb.gdb/python-interrupts.exp: New file.
24169 2014-02-05 Yao Qi <yao@codesourcery.com>
24171 * gdb.trace/report.exp (use_collected_data): Test the output
24172 of "info threads" and "info inferiors".
24174 2014-02-05 Yao Qi <yao@codesourcery.com>
24178 2013-05-24 Yao Qi <yao@codesourcery.com>
24180 * gdb.trace/tfile.exp: Test inferior and thread.
24182 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24184 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
24186 * gdb.base/step-bt.c: Call hello via function pointer to make
24187 sure its first instruction is executed on powerpc64le-linux.
24189 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24191 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
24193 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24195 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
24196 of the test patterns for use on little-endian systems.
24198 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
24200 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
24201 (decimal_vector): Fix for little-endian.
24203 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
24205 * gdb.arch/sparc-sysstep.exp: New file.
24206 * gdb.arch/sparc-sysstep.c: Likewise.
24208 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
24210 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24212 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
24214 2014-01-23 Tom Tromey <tromey@redhat.com>
24216 * gdb.ada/array_char_idx: New testcase.
24218 2014-01-23 Tom Tromey <tromey@redhat.com>
24221 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
24222 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
24225 2014-01-23 Tom Tromey <tromey@redhat.com>
24228 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
24229 string from an inferior frame.
24230 * gdb.python/py-framefilter-mi.exp: Update.
24232 2014-01-22 Doug Evans <dje@google.com>
24234 * gdb.server/server-mon.exp: Add tests for "set debug-format".
24236 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24238 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
24240 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24242 * gdb.trace/entry-values.exp: Remove excess space character from
24243 regex patterns. Handle s390 call instruction.
24245 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24247 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
24248 define "*_start" label. Make "name" static.
24249 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
24250 ${name} by references to ${name}_start.
24252 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
24254 * gdb.base/info-macros.exp: Remove "debug" from the compile
24257 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24259 * gdb.dlang/demangle.exp: New file.
24261 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24263 * gdb.dlang/primitive-types.exp: New file.
24265 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
24267 * configure.ac: Create gdb.dlang/Makefile.
24268 * configure: Regenerate.
24269 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
24270 * gdb.dlang/Makefile.in: New file.
24271 * lib/d-support.exp: New file.
24272 * lib/gdb.exp (skip_d_tests): New proc.
24274 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24276 * gdb.btrace/delta.exp: Check reverse stepi.
24277 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
24278 * gdb.btrace/finish.exp: New.
24279 * gdb.btrace/next.exp: New.
24280 * gdb.btrace/nexti.exp: New.
24281 * gdb.btrace/record_goto.c: Add comments.
24282 * gdb.btrace/step.exp: New.
24283 * gdb.btrace/stepi.exp: New.
24284 * gdb.btrace/multi-thread-step.c: New.
24285 * gdb.btrace/multi-thread-step.exp: New.
24286 * gdb.btrace/rn-dl-bind.c: New.
24287 * gdb.btrace/rn-dl-bind.exp: New.
24288 * gdb.btrace/data.c: New.
24289 * gdb.btrace/data.exp: New.
24290 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24292 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24294 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
24295 * gdb.btrace/exception.exp: Update.
24296 * gdb.btrace/instruction_history.exp: Update.
24297 * gdb.btrace/record_goto.exp: Update.
24298 * gdb.btrace/tailcall.exp: Update.
24299 * gdb.btrace/unknown_functions.exp: Update.
24300 * gdb.btrace/delta.exp: New.
24302 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24304 * gdb.btrace/record_goto.exp: Add backtrace test.
24305 * gdb.btrace/tailcall.exp: Add backtrace test.
24307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24309 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
24310 * gdb.btrace/record_goto.c: New.
24311 * gdb.btrace/record_goto.exp: New.
24312 * gdb.btrace/x86-record_goto.S: New.
24314 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24316 * gdb.btrace/function_call_history.exp: Update tests.
24317 * gdb.btrace/instruction_history.exp: Update tests.
24319 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24321 * gdb.btrace/function_call_history.exp: Fix expected field
24322 order for "record function-call-history".
24323 Add new tests for "record function-call-history /c".
24324 * gdb.btrace/exception.cc: New.
24325 * gdb.btrace/exception.exp: New.
24326 * gdb.btrace/tailcall.exp: New.
24327 * gdb.btrace/x86-tailcall.S: New.
24328 * gdb.btrace/x86-tailcall.c: New.
24329 * gdb.btrace/unknown_functions.c: New.
24330 * gdb.btrace/unknown_functions.exp: New.
24331 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
24333 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24335 * gdb.btrace/instruction_history.exp: Update.
24336 * gdb.btrace/function_call_history.exp: Update.
24338 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24340 * gdb.btrace/function_call_history.exp: Fix expected function
24342 * gdb.btrace/instruction_history.exp: Initialize traced.
24343 Remove traced_functions.
24345 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24347 * gdb.btrace/function_call_history.exp: Update
24348 * gdb.btrace/instruction_history.exp: Update.
24350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24352 * gdb.btrace/enable.exp: Update expected text.
24354 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
24356 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
24359 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
24361 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
24363 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
24365 * lib/gdb.exp (supports_process_record): Return true for
24366 arm*-linux*. (supports_reverse): Likewise.
24368 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
24372 * gdb.python/py-type.c: Enhance test case.
24373 * gdb.python/py-value-cc.cc: Likewise
24374 * gdb.python/py-type.exp: Add new tests.
24375 * gdb.python/py-value-cc.exp: Likewise
24377 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
24378 Pedro Alves <palves@redhat.com>
24380 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
24381 Make "name" extern.
24382 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
24383 references to ${name}_start by references to ${name}.
24385 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24387 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
24389 2014-01-10 Joel Brobecker <brobecker@adacore.com>
24391 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
24393 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
24394 Pedro Alves <palves@redhat.com>
24396 * gdb.mi/mi-info-os.exp: Connect to the target with
24397 mi_gdb_target_load.
24399 2014-01-08 Pedro Alves <palves@redhat.com>
24401 * gdb.threads/reconnect-signal.c: New file.
24402 * gdb.threads/reconnect-signal.exp: New file.
24404 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
24406 * gdb.base/source-dir.exp: New file.
24408 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24410 * gdb.ada/mi_interface: New testcase.
24412 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24414 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
24415 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
24416 gdb.ada/pp-rec-component/pck.ads: New files.
24418 2014-01-07 Joel Brobecker <brobecker@adacore.com>
24420 * gdb.python/py-pp-integral.c: New file.
24421 * gdb.python/py-pp-integral.py: New file.
24422 * gdb.python/py-pp-integral.exp: New file.
24424 For older changes see ChangeLog-1993-2013.
24426 ;; Local Variables:
24427 ;; mode: change-log
24430 ;; version-control: never
24433 Copyright 2014-2021 Free Software Foundation, Inc.
24434 Copying and distribution of this file, with or without modification,
24435 are permitted provided the copyright notice and this notice are preserved.