1 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
8 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
10 * gdb.base/annota1.exp: Update expected results.
11 * gdb.cp/annota2.exp: Likewise.
12 * gdb.cp/annota3.exp: Likewise.
14 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
16 * gdb.base/style-logging.exp: Remove path from test name.
18 2019-06-14 Tom Tromey <tromey@adacore.com>
21 * gdb.base/style-logging.exp: New file.
23 2019-06-14 Tom Tromey <tromey@adacore.com>
25 * gdb.base/symfile-warn.exp: New file.
26 * gdb.base/symfile-warn.c: New file.
28 2019-06-14 Tom Tromey <tromey@adacore.com>
30 * gdb.base/annotate-symlink.exp: New file.
32 2019-06-14 Tom Tromey <tromey@adacore.com>
34 * gdb.ada/set_wstr.exp: Add reassignment test.
36 2019-06-14 Tom Tromey <tromey@adacore.com>
38 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
39 'unchecked_access and 'unrestricted_access as well.
41 2019-06-14 Tom Tromey <tromey@adacore.com>
44 * gdb.ada/vla.exp: Update tests.
45 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
48 2019-06-13 Pedro Alves <palves@redhat.com>
50 * gdb.base/settings.exp (test-integer): Test junk after
53 2019-06-13 Pedro Alves <palves@redhat.com>
55 * gdb.base/options.exp (test-thread-apply): New.
58 2019-06-13 Pedro Alves <palves@redhat.com>
60 * gdb.base/options.exp (test-frame-apply): New.
61 (top level): Test print commands with different "frame apply"
64 2019-06-13 Pedro Alves <palves@redhat.com>
66 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
67 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
68 'max_completions' parameter and handle it.
69 (test_gdb_completion_offers_commands): New.
71 2019-06-13 Pedro Alves <palves@redhat.com>
73 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
75 2019-06-13 Pedro Alves <palves@redhat.com>
77 * gdb.base/options.exp (test-backtrace): New.
80 2019-06-13 Pedro Alves <palves@redhat.com>
82 * gdb.guile/scm-frame-args.exp: Use "set print
83 raw-frame-arguments" instead of "set print raw frame-arguments".
84 * gdb.python/py-frame-args.exp: Likewise.
86 2019-06-13 Pedro Alves <palves@redhat.com>
88 * gdb.compile/compile.exp: Adjust expected output to option
91 2019-06-13 Pedro Alves <palves@redhat.com>
93 * gdb.base/options.exp: Build executable.
94 (test-print): New procedure.
95 (top level): Call it, once for "print" and another for "compile
98 2019-06-13 Pedro Alves <palves@redhat.com>
100 * gdb.base/options.c: New file.
101 * gdb.base/options.exp: New file.
103 2019-06-13 Pedro Alves <palves@redhat.com>
105 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
106 that "o" is ambiguous.
108 2019-06-13 Pedro Alves <palves@redhat.com>
110 * gdb.base/settings.c: New file.
111 * gdb.base/settings.exp: New file.
113 2019-06-13 Pedro Alves <palves@redhat.com>
115 * gdb.base/completion.exp: Fix comment typo.
117 2019-06-13 Pedro Alves <palves@redhat.com>
119 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
122 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
124 * gdb.fortran/block-data.f: New.
125 * gdb.fortran/block-data.exp: New.
127 2019-06-11 Tom de Vries <tdevries@suse.de>
130 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
133 2019-06-11 Tom de Vries <tdevries@suse.de>
136 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
138 2019-06-11 Tom de Vries <tdevries@suse.de>
140 * boards/readnow.exp: New file.
142 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
144 * gdb.fortran/vla-sizeof.exp: Update expected results.
146 2019-06-06 Amos Bird <amosbird@gmail.com>
148 * gdb.base/annota1.exp (thread_switch): Add test for
149 thread-exited annotation.
151 2019-06-06 Tom Tromey <tromey@adacore.com>
153 * gdb.base/maint.exp: Expect command started/finished output.
155 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
157 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
159 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
161 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
163 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
164 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
165 * gdb.arch/riscv-unwind-long-insn.c: New file.
166 * gdb.arch/riscv-unwind-long-insn.exp: New file.
168 2019-06-04 Christian Biesinger <cbiesinger@google.com>
170 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
172 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
174 * lib/gdb.exp (help_list_trailer): New regexp variable
175 factorizing the help trailer message.
176 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
177 arg to allow to better factorize various tests.
178 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
179 (test_prefix_command_help): Use help_list_trailer.
180 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
181 * gdb.guile/scm-cmd.exp: Likewise.
182 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
183 * gdb.base/help.exp: Use test_user_defined_class_help.
184 * gdb.base/style.exp: Add tests for styling of help and apropos.
185 * lib/gdb-utils.exp (style): Add title and highlight styles.
187 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
189 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
191 * gdb.base/default.exp: Update for new convenience variables.
193 2019-05-29 Tom Tromey <tromey@adacore.com>
195 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
196 to "break complete ada" test case's regexp.
198 2019-05-29 Tom Tromey <tromey@adacore.com>
201 * gdb.cp/constexpr-field.exp: New file.
202 * gdb.cp/constexpr-field.cc: New file.
204 2019-05-29 Tom Tromey <tromey@adacore.com>
206 * gdb.base/finish.exp (finish_no_print): New proc.
207 (finish_tests): Call it.
209 2019-05-24 Tom de Vries <tdevries@suse.de>
211 * gdb.dwarf2/gdb-add-index.exp: New file.
213 2019-05-22 Tom Tromey <tromey@adacore.com>
215 * gdb.base/info-shared.exp (check_info_shared): Use "style".
216 * gdb.base/style.exp: Use "style".
217 * lib/gdb-utils.exp (style): New proc.
219 2019-05-22 Tom de Vries <tdevries@suse.de>
221 * gdb.base/align.exp: Require c++11.
223 2019-05-22 Tom de Vries <tdevries@suse.de>
226 * gdb.python/py-mi-var-info-path-expression.exp: Call
227 mi_skip_python_tests to check if python is supported.
229 2019-05-22 Alan Hayward <alan.hayward@arm.com>
231 * gdb.arch/aarch64-pauth.c: New test.
232 * gdb.arch/aarch64-pauth.exp: New file.
234 2019-05-22 Alan Hayward <alan.hayward@arm.com>
236 * README (Re-running Tests Outside The Testsuite): New section.
238 2019-05-21 Tom de Vries <tdevries@suse.de>
240 * gdb.arch/amd64-eval.exp: Require c++11.
241 * gdb.base/max-depth.exp: Same.
242 * gdb.compile/compile-cplus-array-decay.exp: Same.
243 * gdb.cp/meth-typedefs.exp: Same.
244 * gdb.cp/subtypes.exp: Same.
245 * gdb.cp/temargs.exp: Same.
247 2019-05-21 Alan Hayward <alan.hayward@arm.com>
249 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
251 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
254 * gdb.fortran/complex.exp: Remove setup_kfail calls.
255 * gdb.fortran/printing-types.exp: Add new test.
256 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
258 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
261 2019-05-17 Alan Hayward <alan.hayward@arm.com>
263 * README (Running the Testsuite): Change example.
264 (Testsuite Parameters): Remove TRANSCRIPT.
265 * lib/gdb.exp: Remove TRANSCRIPT check.
267 2019-05-17 Alan Hayward <alan.hayward@arm.com>
269 * README (Testsuite Parameters): Add replay logging to
271 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
272 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
273 as a comma separated list.
274 (gdb_debug_init): Override procedure.
276 2019-05-17 Alan Hayward <alan.hayward@arm.com>
278 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
279 (gdb_write_cmd_file): New procedure.
280 * lib/gdbserver-support.exp (gdbserver_start): Call
281 gdbserver_write_cmd_file.
282 (gdbserver_write_cmd_file): New procedure.
284 2019-05-17 Alan Hayward <alan.hayward@arm.com>
286 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
287 (delete_breakpoints): Likewise.
288 (gdb_run_cmd): Likewise.
289 (gdb_start_cmd): Likewise.
290 (gdb_starti_cmd): Likewise.
291 (gdb_internal_error_resync): Likewise.
292 (gdb_test_multiple): Likewise.
293 (gdb_reinitialize_dir): Likewise.
294 (default_gdb_exit): Likewise.
295 (gdb_file_cmd): Mark kill as optional.
296 (default_gdb_start): Call gdb_stdin_log_init.
297 (send_gdb): Call gdb_stdin_log_write.
298 (rerun_to_main): Mark Y as an answer.
299 (gdb_stdin_log_init): New function.
300 (gdb_stdin_log_write): Likewise.
302 2019-05-17 Alan Hayward <alan.hayward@arm.com>
304 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
305 * gdb.base/debug-expr.exp: Likewise.
306 * gdb.base/foll-fork.exp: Likewise.
307 * gdb.base/foll-vfork.exp: Likewise.
308 * gdb.base/fork-print-inferior-events.exp: Likewise.
309 * gdb.base/gdb-sigterm.exp: Likewise.
310 * gdb.base/gdbinit-history.exp: Likewise.
311 * gdb.base/osabi.exp: Likewise.
312 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
313 * gdb.base/ui-redirect.exp: Likewise.
314 * gdb.gdb/unittest.exp: Likewise.
315 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
316 * gdb.mi/mi-watch.exp: Likewise.
317 * gdb.mi/new-ui-mi-sync.exp: Likewise.
318 * gdb.mi/user-selected-context-sync.exp: Likewise.
319 * gdb.python/python.exp: Disable debug test when debugging.
320 * gdb.threads/check-libthread-db.exp: Disable when debugging.
321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
323 * gdb.threads/stepi-random-signal.exp: Likewise.
325 2019-05-17 Alan Hayward <alan.hayward@arm.com>
327 * Makefile.in: Pass through GDB_DEBUG.
328 * README (Testsuite Parameters): Add GDB_DEBUG.
329 (gdb,debug): Add board setting.
330 * lib/gdb.exp (default_gdb_start): Start debugging.
331 (gdb_debug_enabled): New procedure.
332 (gdb_debug_init): Likewise.
334 2019-05-17 Alan Hayward <alan.hayward@arm.com>
336 * Makefile.in: Pass through GDB_DEBUG.
337 * README (Testsuite Parameters): Add GDB_DEBUG.
338 (gdb,debug): Add board setting.
339 * lib/gdb.exp (default_gdb_start): Start debugging.
340 (gdb_debug_enabled): New procedure.
341 (gdb_debug_init): Likewise.
343 2019-05-17 Alan Hayward <alan.hayward@arm.com>
345 * gdb.base/ui-redirect.exp: Add debug redirect tests.
347 2019-05-17 Alan Hayward <alan.hayward@arm.com>
349 * gdb.base/ui-redirect.exp: Test redirection.
351 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
353 * gdb.mi/mi-complete.exp: New file.
354 * gdb.mi/mi-complete.cc: Likewise.
356 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
358 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
359 indexed and sliced arrays, and pointers to arrays.
361 2019-05-14 Tom Tromey <tromey@adacore.com>
363 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
366 2019-05-14 Tom de Vries <tdevries@suse.de>
368 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
369 selection entry encoding.
371 2019-05-10 Tom Tromey <tromey@adacore.com>
373 * gdb.ada/info_exc.exp: Add "complete" test.
375 2019-05-09 Tom de Vries <tdevries@suse.de>
377 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
380 2019-05-09 Tom de Vries <tdevries@suse.de>
382 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
385 2019-05-08 Joel Brobecker <brobecker@adacore.com>
387 * gdb.ada/frame_arg_lang.exp: New testcase.
388 * gdb.ada/frame_arg_lang/bla.adb: New file.
389 * gdb.ada/frame_arg_lang/pck.ads: New file.
390 * gdb.ada/frame_arg_lang/pck.adb: New file.
391 * gdb.ada/frame_arg_lang/foo.c: New file.
393 2019-05-08 Tom Tromey <tromey@adacore.com>
395 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
397 2019-05-08 Tom Tromey <tromey@adacore.com>
399 * gdb.base/ptype-offsets.exp: Update tests.
401 2019-05-08 Tom Tromey <tromey@adacore.com>
403 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
405 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
408 2019-05-08 Tom Tromey <tromey@adacore.com>
410 * gdb.ada/vla.exp: New file.
411 * gdb.ada/vla/vla.adb: New file.
413 2019-05-07 Tom de Vries <tdevries@suse.de>
415 * gdb.base/index-cache.exp (ls_host): Fix return statement.
417 2019-05-07 Tom de Vries <tdevries@suse.de>
420 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
423 2019-05-07 Tom de Vries <tdevries@suse.de>
426 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
427 .debug_aranges section.
429 2019-05-07 Tom de Vries <tdevries@suse.de>
432 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
434 2019-05-06 Tom de Vries <tdevries@suse.de>
436 * lib/gdb.exp (exec_has_index_section): New proc.
437 * gdb.base/index-cache.exp: Handle case that binfile contains an index
440 2019-05-04 Tom de Vries <tdevries@suse.de>
442 * boards/cc-with-debug-names.exp: New file.
444 2019-05-03 Tom Tromey <tromey@adacore.com>
446 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
447 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
448 * gdb.ada/char_enum.exp: Add test.
450 2019-05-03 Tom de Vries <tdevries@suse.de>
452 * boards/cc-with-gdb-index.exp: New file.
454 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
456 * gdb.rust/simple.exp: Add new test case.
457 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
458 (main): Initialise an instance of the new struct.
460 2019-05-01 Tom Tromey <tromey@adacore.com>
462 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
465 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
468 2019-05-01 Tom Tromey <tromey@adacore.com>
470 * gdb.ada/packed_array_assign.exp: Add packed assignment
473 2019-05-01 Tom de Vries <tdevries@suse.de>
475 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
477 2019-05-01 Tom de Vries <tdevries@suse.de>
479 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
481 2019-04-30 Ali Tamur <tamur@google.com>
483 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
485 2019-04-30 Tom Tromey <tromey@adacore.com>
487 * lib/ada.exp (find_ada_tool): New proc.
488 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
489 * gdb.ada/catch_ex_std.exp: New file.
490 * gdb.ada/catch_ex_std/foo.adb: New file.
491 * gdb.ada/catch_ex_std/some_package.adb: New file.
492 * gdb.ada/catch_ex_std/some_package.ads: New file.
494 2019-04-30 Tom Tromey <tromey@adacore.com>
497 * gdb.cp/temargs.cc: Add test code from PR.
499 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
501 * gdb.fortran/vla-datatypes.exp: Update expected results.
502 * gdb.fortran/vla-ptype.exp: Likewise.
503 * gdb.fortran/vla-type.exp: Likewise.
504 * gdb.fortran/vla-value.exp: Likewise.
506 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
508 * gdb.fortran/ptr-indentation.exp: Update expected results.
509 * gdb.fortran/ptype-on-functions.exp: Likewise.
510 * gdb.fortran/vla-ptr-info.exp: Likewise.
511 * gdb.fortran/vla-value.exp: Likewise.
513 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
515 * gdb.fortran/ptype-on-functions.exp: New file.
516 * gdb.fortran/ptype-on-functions.f90: New file.
518 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
520 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
523 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
525 * gdb.fortran/complex.exp: Expand.
526 * gdb.fortran/complex.f: Renamed to...
527 * gdb.fortran/complex.f90: ...this, and extended to add more
530 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
532 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
535 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
536 Richard Bunt <richard.bunt@arm.com>
538 * gdb.base/max-depth.c: New file.
539 * gdb.base/max-depth.exp: New file.
540 * gdb.python/py-nested-maps.c: New file.
541 * gdb.python/py-nested-maps.exp: New file.
542 * gdb.python/py-nested-maps.py: New file.
543 * gdb.python/py-format-string.exp (test_max_depth): New proc.
544 (test_all_common): Call test_max_depth.
545 * gdb.fortran/max-depth.exp: New file.
546 * gdb.fortran/max-depth.f90: New file.
547 * gdb.go/max-depth.exp: New file.
548 * gdb.go/max-depth.go: New file.
549 * gdb.modula2/max-depth.exp: New file.
550 * gdb.modula2/max-depth.c: New file.
551 * lib/gdb.exp (get_print_expr_at_depths): New proc.
553 2019-04-29 Tom de Vries <tdevries@suse.de>
555 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
557 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
559 * gdb.base/callexit.exp: Test may-call-functions off.
561 2019-04-25 Keith Seitz <keiths@redhat.com>
564 * gdb.cp/meth-typedefs.cc (incomplete_struct)
565 (another_incomplete_struct, test_incomplete): New definitions.
566 (main): Use new definitions.
567 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
570 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
574 * gdb.base/coredump-filter-build-id.exp: New file.
576 2019-04-25 Alan Hayward <alan.hayward@arm.com>
578 * Makefile.in: Pass through GDBSERVER_DEBUG.
579 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
580 (gdbserver,debug): Add board setting.
581 * gdb.trace/tspeed.exp: Skip when debugging.
582 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
583 * lib/gdbserver-support.exp: Likewise
585 2019-04-24 Tom Tromey <tromey@adacore.com>
587 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
590 2019-04-24 Tom Tromey <tromey@adacore.com>
592 * gdb.arch/amd64-eval.exp: Test bitfield return.
593 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
594 (class Foo) <return_bitfields>: New method.
597 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
599 * gdb.cp/many-args.cc: New file.
600 * gdb.cp/many-args.exp: New file.
602 2019-04-23 Tom de Vries <tdevries@suse.de>
605 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
607 2019-04-23 Alan Hayward <alan.hayward@arm.com>
609 * gdb.trace/backtrace.exp: Use nopie flag.
610 * gdb.trace/circ.exp: Likewise.
611 * gdb.trace/collection.exp: Likewise.
612 * gdb.trace/ftrace.exp: Likewise.
613 * gdb.trace/mi-trace-unavailable.exp: Likewise.
614 * gdb.trace/mi-traceframe-changed.exp: Likewise.
615 * gdb.trace/qtro.exp: Likewise.
616 * gdb.trace/read-memory.exp: Likewise.
617 * gdb.trace/report.exp: Likewise.
618 * gdb.trace/tfile.exp: Likewise.
619 * gdb.trace/tfind.exp: Likewise.
620 * gdb.trace/unavailable.exp: Likewise.
622 2019-04-22 Pedro Alves <palves@redhat.com>
624 * gdb.base/solib-probes-nosharedlibrary.c,
625 gdb.base/solib-probes-nosharedlibrary.exp: New files.
627 2019-04-19 Tom Tromey <tromey@adacore.com>
629 * gdb.ada/ptype_union.c: New file.
630 * gdb.ada/ptype_union.exp: New file.
632 2019-04-19 Tom Tromey <tromey@adacore.com>
635 * gdb.base/list0.h (foo): Add a control-l character.
637 2019-04-18 Tom de Vries <tdevries@suse.de>
640 * boards/local-board.exp: Set sysroot to "".
642 2019-04-18 Tom de Vries <tdevries@suse.de>
643 Pedro Alves <palves@redhat.com>
646 * gdb.threads/vfork-follow-child-exec.c: New file.
647 * gdb.threads/vfork-follow-child-exec.exp: New file.
648 * gdb.threads/vfork-follow-child-exit.c: New file.
649 * gdb.threads/vfork-follow-child-exit.exp: New file.
651 2019-04-15 Leszek Swirski <leszeks@google.com>
653 * gdb.arch/amd64-eval.cc: New file.
654 * gdb.arch/amd64-eval.exp: New file.
656 2019-04-11 Alan Hayward <alan.hayward@arm.com>
658 * gdb.server/sysroot.c: New test.
659 * gdb.server/sysroot.exp: New file.
660 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
663 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
665 * gdb.base/align.exp: Extend test to cover structures containing
668 2019-04-11 Tom de Vries <tdevries@suse.de>
670 * boards/cc-with-dwz-m.exp: New file.
671 * boards/cc-with-dwz.exp: New file.
672 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
674 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
676 * gdb.base/start-cpp.exp: New file.
677 * gdb.base/start-cpp.cc: New file.
679 2019-04-08 Kevin Buettner <kevinb@redhat.com>
681 * gdb.python/py-thrhandle.exp: Adjust tests to call
682 thread_from_handle instead of thread_from_thread_handle.
684 2019-04-08 Kevin Buettner <kevinb@redhat.com>
686 * gdb.python/py-thrhandle.exp: Add tests for
687 gdb.InferiorThread.handle.
689 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
691 * gdb.python/py-function.exp: Check calling helper function from
693 * lib/gdb.exp (gdb_supported_languages): New proc.
695 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
697 * gdb.base/complex-parts.c: New file.
698 * gdb.base/complex-parts.exp: New file.
700 2019-04-01 Tom Tromey <tromey@adacore.com>
703 * gdb.dwarf2/dw2-ranges-main.c: New file.
704 * gdb.dwarf2/dw2-ranges-psym.c: New file.
705 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
707 2019-03-30 Simon Marchi <simark@simark.ca>
709 * gdb.base/default.exp: Add values for $_gdb_major and
712 2019-03-29 Tom Tromey <tromey@adacore.com>
714 * gdb.base/help.exp: Tighten apropos regexp.
716 2019-03-29 Keith Seitz <keiths@redhat.com>
718 * gdb.fortran/array-bounds.exp: New file.
719 * gdb.fortran/array-bounds.f90: New file.
721 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
723 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
725 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
727 * gdb.multi/hello.c (main): Increase alarm timer.
729 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
731 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
732 factor when no hardware watchpoint support.
734 2019-03-28 Alan Hayward <alan.hayward@arm.com>
735 Pedro Alves <palves@redhat.com>
737 * boards/local-board.exp: set sysroot to /.
739 2019-03-27 Alan Hayward <alan.hayward@arm.com>
741 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
744 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
746 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
748 (make_container): Initialise new field.
749 * gdb.python/py-prettyprint.exp: Add new tests.
750 * gdb.python/py-prettyprint.py (class ContainerPrinter)
751 <display_hint>: New method.
753 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
755 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
756 gdb_continue_to_breakpoint more throughout this test.
757 (run_lang_tests) Supply unique test names, and use
760 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
762 * gdb.base/finish-pretty.exp: Update expected results.
763 * gdb.base/pretty-print.c: New file.
764 * gdb.base/pretty-print.exp: New file.
766 2019-03-25 Pedro Alves <palves@redhat.com>
768 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
769 move comments outside list. Append '-i "" eof' section.
771 2019-03-22 Alan Hayward <alan.hayward@arm.com>
773 * README: Add pie options.
774 * gdb.base/break-interp.exp: Ensure pie is disabled.
775 * gdb.base/dump.exp: Likewise.
776 * lib/gdb.exp (gdb_compile): Add pie option.
778 2019-03-19 Tom Tromey <tromey@adacore.com>
780 * gdb.mi/mi2-cli-display.c: New file.
781 * gdb.mi/mi2-cli-display.exp: New file.
783 2019-03-18 Joel Brobecker <brobecker@adacore.com>
784 Tom Tromey <tromey@adacore.com>
786 * gdb.ada/ptype_array/pck.adb: New file.
787 * gdb.ada/ptype_array/pck.ads: New file.
788 * gdb.ada/ptype_array/foo.adb: New file.
789 * gdb.ada/ptype_array.exp: New file.
791 2019-03-14 Tom Tromey <tromey@adacore.com>
793 * gdb.base/style.exp: Add "set style sources" test.
795 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
797 * mi-breakpoint-location-ena-dis.exp: Rename to ...
798 * mi-breakpoint-multiple-locations.exp: ... this.
799 (make_breakpoints_pattern): New proc.
800 (do_test): Add mi_version parameter, test -break-insert,
801 -break-info and =breakpoint-created.
803 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
805 * config/default.exp: Remove 'load_lib gdb.exp'.
806 * config/monitor.exp: Likewise.
807 * config/sid.exp: Likewise.
808 * config/sim.exp: Likewise.
809 * config/slite.exp: Likewise.
810 * config/unix.exp: Likewise.
811 * gdb.base/default.exp: Remove unhelpful comment.
813 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
815 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
817 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
819 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
821 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
823 * gdb.fortran/type-kinds.exp: Update expected results.
825 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
827 * gdb.fortran/type-kinds.exp: Test new integer type kind.
829 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
831 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
833 (test_basic_parsing_of_type_kinds): Expand types tested.
834 (test_parsing_invalid_type_kinds): New function.
836 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
838 * gdb.fortran/intrinsics.exp: New file.
839 * gdb.fortran/intrinsics.f90: New file.
840 * gdb.fortran/type-kinds.exp: New file.
842 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
844 * gdb.fortran/dot-ops.exp: New file.
846 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
848 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
849 Check upper and lower case logical literals.
851 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
853 * gdb.fortran/types.exp (test_float_literal_types_accepted):
854 Remove duplicate tests.
856 2019-03-06 Alan Hayward <alan.hayward@arm.com>
858 * lib/gdb.exp (builtin_cd): rename of cd.
859 (cd): Override builtin.
861 2019-03-06 Richard Bunt <richard.bunt@arm.com>
863 * gdb.fortran/function-calls.exp: New file.
864 * gdb.fortran/function-calls.f90: New test.
866 2019-03-04 Richard Bunt <richard.bunt@arm.com>
868 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
869 on user program standard output.
870 * gdb.fortran/short-circuit-argument-list.f90: Record function
873 2019-02-28 Alan Hayward <alan.hayward@arm.com>
875 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
878 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
881 * gdb.base/interrupt-daemon-attach.c,
882 gdb.base/interrupt-daemon-attach.exp: New test.
884 2019-02-27 Pedro Alves <palves@redhat.com>
886 * gdb.base/page.exp: Add tests for "set width/height -1".
888 2019-02-27 Pedro Alves <palves@redhat.com>
890 * gdb.base/page.exp: Add tests for "set/show width/height" with
893 2019-02-27 Tom Tromey <tromey@adacore.com>
895 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
897 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
900 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
902 * gdb.base/align.exp: Extend to compile in both C and C++, and add
903 tests for structs with static members.
905 2019-02-26 Tom Tromey <tromey@adacore.com>
907 * gdb.python/py-value.exp (test_value_from_buffer): Check for
908 ValueError, not TypeError.
910 2019-02-26 Kevin Buettner <kevinb@redhat.com>
912 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
913 call from main program.
915 2019-02-23 Joel Brobecker <brobecker@adacore.com>
917 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
918 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
919 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
920 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
921 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
923 2019-02-22 Keith Seitz <keiths@redhat.com>
926 * gdb.base/symlink-sourcefile.c: New file.
927 * gdb.base/symlink-sourcefile.exp: New file.
929 2019-02-20 Tom Tromey <tom@tromey.com>
931 * gdb.base/info_qt.exp: Update.
933 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
935 * gdb.base/source.exp: Move "error in sourced script" code to
937 * gdb.base/source-error.gdb: Move contents to
938 source-error-1.gdb. Add new code to source source-error-1.gdb.
939 * gdb.base/source-error-1.gdb: New file, from previous
942 2019-02-17 Tom Tromey <tom@tromey.com>
944 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
946 * gdb.base/style.c (SOME_MACRO): New macro.
948 2019-02-17 Tom Tromey <tom@tromey.com>
950 * gdb.base/style.exp: Add line-wrapping tests.
951 * gdb.base/page.exp: Add test for quitting during pagination.
953 2019-02-17 Joel Brobecker <brobecker@adacore.com>
955 * gdb.ada/big_packed_array: New testcase.
956 * gdb.ada/homonym.exp: Fix incorrect expected output for
957 "break <homonym__get_value>" test.
959 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
962 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
963 and prepare_for_testing. Add comment.
964 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
965 redundant cleanup call. Clean up comment.
967 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
970 * gdb.arch/aarch64-dbreg-contents.exp: New file.
971 * gdb.arch/aarch64-dbreg-contents.c: New file.
973 2019-02-10 Joel Brobecker <brobecker@adacore.com>
975 * gdb.ada/mi_ref_changeable: New testcase.
977 2019-02-07 Alan Hayward <alan.hayward@arm.com>
979 * gdb.base/attach.exp: Add double attach test.
981 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
983 * lib/gdb.exp (default_gdb_start): Don't match pagination
985 (gdb_init): Set stty_init.
987 2019-01-27 Tom Tromey <tom@tromey.com>
989 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
992 2019-01-24 Alan Hayward <alan.hayward@arm.com>
994 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
996 (struct struct_static_02_02): Likewise.
997 (struct struct_static_02_03): Likewise.
998 (struct struct_static_02_04): Likewise.
999 (struct struct_static_04_01): Likewise.
1000 (struct struct_static_04_02): Likewise.
1001 (struct struct_static_04_03): Likewise.
1002 (struct struct_static_04_04): Likewise.
1003 (struct struct_static_06_01): Likewise.
1004 (struct struct_static_06_02): Likewise.
1005 (struct struct_static_06_03): Likewise.
1006 (struct struct_static_06_04): Likewise.
1007 (cmp_struct_static_02_01): Likewise.
1008 (cmp_struct_static_02_02): Likewise.
1009 (cmp_struct_static_02_03): Likewise.
1010 (cmp_struct_static_02_04): Likewise.
1011 (cmp_struct_static_04_01): Likewise.
1012 (cmp_struct_static_04_02): Likewise.
1013 (cmp_struct_static_04_03): Likewise.
1014 (cmp_struct_static_04_04): Likewise.
1015 (cmp_struct_static_06_01): Likewise.
1016 (cmp_struct_static_06_02): Likewise.
1017 (cmp_struct_static_06_03): Likewise.
1018 (cmp_struct_static_06_04): Likewise.
1019 (call_all): Test new structs.
1020 * gdb.base/infcall-nested-structs.exp: Likewise.
1022 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1023 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1025 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1026 * gdb.base/stack-protector.c: New test.
1027 * gdb.base/stack-protector.exp: New file.
1028 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1029 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1031 (gdb_compile): Remove stack protector for GCC and prevent
1034 2019-01-16 Keith Seitz <keiths@redhat.com>
1037 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1039 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1041 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1043 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1045 * gdb.arch/powerpc-vector-regs.c: New file.
1046 * gdb.arch/powerpc-vector-regs.exp: New file.
1048 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1050 * gdb.arch/altivec-regs.exp: Fix the list passed to
1051 gdb_expect_list when testing "info vector".
1053 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1055 * gdb.base/style.exp: Don't include path in testname.
1057 2019-01-10 Keith Seitz <keiths@redhat.com>
1061 * gdb.dwarf2/multidictionary.exp: New file.
1063 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1065 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1066 (test_gnuv3_style_demangling): ... this.
1067 (test_lucid_style_demangling): Remove.
1068 (test_arm_style_demangling): Remove.
1069 (test_hp_style_demangling): Remove.
1070 (do_tests): Remove calls to the above.
1072 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1074 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1077 2019-01-06 Tom Tromey <tom@tromey.com>
1080 * gdb.dwarf2/typedef-void-finish.exp: New file.
1082 2018-12-28 Tom Tromey <tom@tromey.com>
1083 Simon Marchi <simark@simark.ca>
1085 * gdb.base/jit-exec.exp: New file.
1086 * gdb.base/jit-exec.c: New file.
1087 * gdb.base/jit-execd.c: New file.
1089 2018-12-28 Tom Tromey <tom@tromey.com>
1091 * gdb.base/style.exp: Update test to check for address styling.
1093 2018-12-28 Tom Tromey <tom@tromey.com>
1095 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1098 2018-12-28 Tom Tromey <tom@tromey.com>
1100 * gdb.base/style.exp: Add test for version number styling.
1102 2018-12-28 Tom Tromey <tom@tromey.com>
1104 * gdb.base/style.exp: Add test for print_address_symbolic.
1106 2018-12-28 Tom Tromey <tom@tromey.com>
1108 * gdb.base/style.exp: Add test for breakpoint setting.
1110 2018-12-28 Tom Tromey <tom@tromey.com>
1112 * gdb.base/style.exp: Add test for variable names.
1114 2018-12-28 Tom Tromey <tom@tromey.com>
1116 * gdb.base/style.exp: New file.
1117 * gdb.base/style.c: New file.
1119 2018-12-28 Tom Tromey <tom@tromey.com>
1121 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1123 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1124 the TERM environment variable.
1126 2018-12-27 Tom Tromey <tom@tromey.com>
1128 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1131 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1133 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1134 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1136 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1138 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1139 Filename a.adb changed to bp_fun_addr.adb.
1140 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1142 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1144 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1145 non-PIE executables.
1146 * README: Mention the gdb,nopie_flag board setting.
1147 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1149 * gdb.arch/amd64-entry-value.exp: Likewise.
1150 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1151 * gdb.arch/i386-float.exp: Likewise.
1152 * gdb.arch/i386-signal.exp: Likewise.
1153 * gdb.mi/mi-reg-undefined.exp: Likewise.
1155 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1158 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1160 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1162 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1163 Update order of results accordingly.
1165 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1167 * gdb.base/annota1.exp: Update a test regexp.
1169 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1171 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1173 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1175 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1176 (reuse_time): Initialize to REUSE_TIME_CAP.
1177 (check_rc): New function.
1178 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1179 Check pthread_create rc.
1180 (spawner_thread_func): Check pthread_create and pthread_join rc.
1182 2018-12-08 Pedro Alves <palves@redhat.com>
1184 * gdb.base/list.exp (test_forward_search): Rename to ...
1185 (test_forward_reverse_search): ... this. Also test reverse-search
1186 and the forward-search alias.
1188 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1190 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1191 local timeout variable before return, and remove all local timeout
1193 (gdb_load): Likewise.
1195 2018-12-01 Tom de Vries <tdevries@suse.de>
1197 * gdb.base/gdb-caching-proc.exp: New file.
1199 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1201 * Makefile.in (TIMESTAMP): New variable.
1202 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1204 (check-single-racy): Likewise.
1205 (check/%.exp): Likewise.
1206 (check-racy/%.exp): Likewise.
1207 (workers/%.worker): Likewise.
1208 (build-perf): Likewise.
1209 (check-perf): Likewise.
1210 * README: Describe new "TS" and "TS_FORMAT" variables.
1211 * print-ts.py: New file.
1213 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1216 * gdb.python/python.exp: Test command repetition after
1219 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1221 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1222 is correctly aligned.
1224 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1226 * gdb.ada/info_auto_lang.exp: New testcase.
1227 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1228 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1229 * gdb.ada/info_auto_lang/some_c.c: New file.
1231 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1233 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1234 FUNC_lang language syntax.
1236 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1238 * gdb.base/info_minsym.c: New file.
1239 * gdb.base/info_minsym.exp: New file.
1241 2018-11-19 Tom Tromey <tom@tromey.com>
1244 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1245 * gdb.rust/expr.exp: Update expected output. Change one test.
1247 2018-11-19 Tom Tromey <tom@tromey.com>
1249 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1251 2018-11-19 Pedro Alves <palves@redhat.com>
1253 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1254 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1255 see the expected warning.
1257 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1260 * gdb.cp/infcall-nodebug-lib.c: New test.
1261 * gdb.cp/infcall-nodebug-main.c: New test.
1262 * gdb.cp/infcall-nodebug.exp: New file.
1264 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1266 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1269 2018-11-09 Tom de Vries <tdevries@suse.de>
1271 * gdb.base/msym-lang.c: New test.
1272 * gdb.base/msym-lang.exp: New file.
1273 * gdb.base/msym-lang-main.c: New test.
1275 2018-11-08 Tom Tromey <tom@tromey.com>
1279 * gdb.base/warning.exp: New file.
1281 2018-11-08 Jan Beulich <jbeulich@suse.com>
1283 * testsuite/gdb.arch/i386-avx512.c,
1284 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1286 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1288 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1291 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1293 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1294 * gdb.dwarf2/missing-type-name.exp: New file.
1296 2018-11-06 Tom de Vries <tdevries@suse.de>
1298 * gdb.base/many-headers.c: New test.
1299 * gdb.base/many-headers.exp: New file.
1301 2018-11-06 Jim Wilson <jimw@sifive.com>
1303 * gdb.base/code_elim.exp: For riscv, set additional_flags
1304 to include -msmall-data-limit=0.
1306 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1308 * gdb.ada/watch_minus_l: New testcase.
1310 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1312 * gdb.arch/aix-sighandle.c: New file.
1313 * gdb.arch/aix-sighandle.exp: New file.
1315 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1317 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1318 registers being unions.
1320 2018-10-31 Tom de Vries <tdevries@suse.de>
1322 * lib/valgrind.exp: New file.
1323 (vgdb_start, vgdb_stop): New procs, factored out of ...
1324 * gdb.base/valgrind-bt.exp: ... here, ...
1325 * gdb.base/valgrind-disp-step.exp: ... here and ...
1326 * gdb.base/valgrind-infcall.exp: ... here.
1328 2018-10-31 Tom de Vries <tdevries@suse.de>
1330 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1332 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1334 * gdb.dwarf2/void-type.c: New file.
1335 * gdb.dwarf2/void-type.exp: New file.
1337 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1339 * gdb.base/info_qt.c: New file.
1340 * gdb.base/info_qt.exp: New file.
1342 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1344 * gdb.arch/powerpc-htm-regs.c: New file.
1345 * gdb.arch/powerpc-htm-regs.exp: New file.
1347 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1349 * gdb.arch/powerpc-tar.c: New file.
1350 * gdb.arch/powerpc-tar.exp: New file.
1352 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1354 * gdb.arch/powerpc-ppr-dscr.c: New file.
1355 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1357 2018-10-25 Tom de Vries <tdevries@suse.de>
1359 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1361 2018-10-24 Tom de Vries <tdevries@suse.de>
1363 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1364 longer exists error.
1366 2018-10-24 Tom de Vries <tdevries@suse.de>
1368 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1370 2018-10-24 Tom de Vries <tdevries@suse.de>
1372 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1373 --db-attach in valgrind.
1375 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1377 * gdb.arch/riscv-reg-aliases.c: New file.
1378 * gdb.arch/riscv-reg-aliases.exp: New file.
1380 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1382 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1384 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1386 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1388 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1390 * gdb.cp/ovldbreak.exp: Fix regexps.
1392 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1394 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1396 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1399 * gdb.base/restore.exp: New test to check if "restore" with an
1400 invalid file doesn't segfault.
1402 2018-10-18 Tom de Vries <tdevries@suse.de>
1404 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1405 * gdb.ada/excep_handle.exp: Same.
1406 * gdb.ada/mi_string_access.exp: Same.
1407 * gdb.ada/mi_var_union.exp: Same.
1408 * gdb.arch/arc-analyze-prologue.exp: Same.
1409 * gdb.arch/arc-decode-insn.exp: Same.
1410 * gdb.base/readnever.exp: Same.
1411 * gdb.fortran/printing-types.exp: Same.
1412 * gdb.guile/scm-lazy-string.exp: Same.
1414 2018-10-16 Tom de Vries <tdevries@suse.de>
1417 * gdb.base/catch-follow-exec.c: Add copyright notice.
1418 * gdb.base/catch-follow-exec.exp: Rewrite to use
1419 gdb_spawn_with_cmdline_opts. Require gdb-native.
1421 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1423 * gdb.trace/actions-changed.exp: Check for arch support.
1424 * gdb.trace/actions.exp: Likewise.
1425 * gdb.trace/ax.exp: Likewise.
1426 * gdb.trace/backtrace.exp: Likewise.
1427 * gdb.trace/change-loc.exp: Likewise.
1428 * gdb.trace/deltrace.exp: Likewise.
1429 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1430 * gdb.trace/ftrace.exp: Likewise.
1431 * gdb.trace/infotrace.exp: Check for arch support.
1432 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1433 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1434 * gdb.trace/mi-tsv-changed.exp: Likewise.
1435 * gdb.trace/packetlen.exp: Likewise.
1436 * gdb.trace/passc-dyn.exp: Likewise.
1437 * gdb.trace/passcount.exp: Likewise.
1438 * gdb.trace/pending.exp: Likewise.
1439 * gdb.trace/range-stepping.exp: Check for shlib support.
1440 * gdb.trace/report.exp: Check for arch support.
1441 * gdb.trace/save-trace.exp: Likewise.
1442 * gdb.trace/signal.exp: Check for signal support.
1443 * gdb.trace/tfind.exp: Check for arch support.
1444 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1445 * gdb.trace/trace-common.h: Add comment.
1446 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1447 * gdb.trace/trace-enable-disable.exp: Likewise.
1448 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1449 * gdb.trace/tracecmd.exp: Check for arch support.
1450 * gdb.trace/tspeed.exp: Check for shlib and target support.
1451 * gdb.trace/tstatus.exp: Check for arch support.
1452 * gdb.trace/tsv.exp: Likewise.
1453 * gdb.trace/while-dyn.exp: Likewise.
1454 * gdb.trace/while-stepping.exp: Likewise.
1455 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1457 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1459 * gdb.trace/tspeed.exp: Remove nowarnings.
1460 (prepare_for_trace_test): Declare "global ipalib".
1461 * gdb.trace/tspeed.c: Include unistd.h.
1462 (main): Remove superfluous printf argument.
1464 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1466 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1467 directory prefix on the filename.
1469 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1471 * gdb.gdb/unittest.exp: Update expected message informing that
1472 selftests have been disabled.
1473 * gdb.server/unittest.exp: Likewise.
1475 2018-10-09 Tom de Vries <tdevries@suse.de>
1477 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1480 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1483 * gdb.cp/virtbase2.cc: New file.
1484 * gdb.cp/virtbase2.exp: New file.
1486 2018-10-06 Tom Tromey <tom@tromey.com>
1489 * gdb.python/py-inferior.exp: Add architecture test.
1491 2018-10-06 Tom Tromey <tom@tromey.com>
1493 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1494 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1496 2018-10-06 Tom Tromey <tom@tromey.com>
1498 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1499 of a "throw" catchpoint.
1501 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1503 * gdb.base/info-proc.exp: Update string expected from "help info
1506 2018-10-04 Tom Tromey <tom@tromey.com>
1508 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1509 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1510 (test_initial_complaints, test_empty_complaints): Update.
1511 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1513 2018-10-04 Tom Tromey <tom@tromey.com>
1516 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1517 * lib/gdb.exp (gdb_file_cmd): Update.
1518 * gdb.stabs/weird.exp (print_weird_var): Update.
1519 * gdb.server/solib-list.exp: Update.
1520 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1521 * gdb.mi/mi-cli.exp: Update.
1522 * gdb.linespec/linespec.exp: Update.
1523 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1524 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1525 * gdb.cp/cp-relocate.exp: Update.
1526 * gdb.base/sym-file.exp: Update.
1527 * gdb.base/relocate.exp: Update.
1528 * gdb.base/readnever.exp: Update.
1529 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1530 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1531 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1532 * gdb.base/code_elim.exp: Update.
1533 * gdb.base/break-unload-file.exp (test_break): Update.
1534 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1535 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1537 * gdb.base/attach.exp (do_attach_tests): Update.
1538 * gdb.base/sepdebug.exp: Update.
1539 * gdb.python/py-section-script.exp: Update.
1541 2018-10-04 Tom Tromey <tom@tromey.com>
1544 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1545 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1548 2018-10-04 Tom Tromey <tom@tromey.com>
1550 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1551 set width and height to 0.
1552 (test_command_line_attach_run): Use -quiet.
1554 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1556 * lib/gdb.exp (skip_ifunc_tests): New.
1557 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1558 other compile failures.
1559 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1561 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1563 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1564 is_amd64_regs_target.
1566 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1568 * gdb.arch/aarch64-sighandler-regs.c: New test.
1569 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1570 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1572 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1574 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1577 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1579 * gdb.base/frame-selection.exp: New file.
1580 * gdb.base/frame-selection.c: New file.
1582 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1584 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1588 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.base/large-frame-1.c: New file.
1591 * gdb.base/large-frame-2.c: New file.
1592 * gdb.base/large-frame.exp: New file.
1593 * gdb.base/large-frame.h: New file.
1595 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1598 * gdb.base/write_mem.exp: New test.
1599 * gdb.base/write_mem.c: Likewise.
1601 2018-09-23 Tom Tromey <tom@tromey.com>
1604 * gdb.python/py-parameter.exp: Add test for parameter that throws
1607 2018-09-23 Tom Tromey <tom@tromey.com>
1610 * gdb.python/py-template.exp (test_template_arg): Add test for
1611 negative template argument number.
1613 2018-09-23 Tom Tromey <tom@tromey.com>
1616 * gdb.python/python.exp: Add test for post_event error.
1618 2018-09-23 Tom Tromey <tom@tromey.com>
1621 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1622 convert pointers to int and long.
1624 2018-09-23 Tom Tromey <tom@tromey.com>
1627 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1628 signed-ness conversion tests.
1630 2018-09-23 Tom Tromey <tom@tromey.com>
1633 * gdb.python/py-value.exp (test_float_conversion): New proc.
1636 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1638 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1640 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1642 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1644 * gdb.base/utf8-identifiers.exp: Likewise.
1645 * gdb.cp/cpcompletion.exp: Likewise.
1646 * gdb.linespec/cpcompletion.exp: Likewise.
1647 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1648 * gdb.linespec/cpls-ops.exp: Likewise.
1650 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1651 Chris January <chris.january@arm.com>
1653 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1654 * gdb.fortran/short-circuit-argument-list.exp: New file.
1655 * gdb.fortran/short-circuit-argument-list.f90: New test.
1657 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1659 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1660 "arch=" keyword when executing "-stack-list-frames".
1662 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1664 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1665 "arch=" keyword when executing "-stack-list-frames".
1667 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1669 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1672 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1675 * gdb.python/python.exp: Test gdb.execute("show commands").
1677 2018-09-16 Tom Tromey <tom@tromey.com>
1679 * gdb.base/new-ui.exp (do_execution_tests): Update.
1680 * gdb.base/dbx.exp (test_breakpoints): Update.
1682 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1684 * lib/gdb.exp (gdb_simple_compile): Add proc.
1685 (is_elf_target): Use gdb_simple_compile.
1686 (skip_altivec_tests): Likewise.
1687 (skip_vsx_tests): Likewise.
1688 (skip_tsx_tests): Likewise.
1689 (skip_btrace_tests): Likewise.
1690 (skip_btrace_pt_tests): Likewise.
1691 (gdb_can_simple_compile): Likewise.
1692 (gdb_has_argv0): Likewise.
1693 (gdb_target_symbol_prefix): Likewise.
1694 (target_supports_scheduler_locking): Likewise.
1696 2018-09-13 Tom Tromey <tom@tromey.com>
1698 * Makefile.in (TAGS): Recognize proc_with_prefix and
1701 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1703 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1706 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1708 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1709 and a few other Inferior properties when the Inferior is no
1712 2018-09-13 Tom Tromey <tom@tromey.com>
1715 * gdb.rust/simple.exp: Add test for enum field access error.
1717 2018-09-13 Tom Tromey <tom@tromey.com>
1720 * gdb.rust/simple.rs (EmptyEnum): New type.
1722 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1724 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1726 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1727 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1728 * gdb.python/py-symtab.exp: Update test printing an objfile.
1730 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1732 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1735 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1737 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1738 (support_complex_tests): Use gdb_can_simple_compile.
1739 (is_ilp32_target): Likewise.
1740 (is_lp64_target): Likewise.
1741 (is_64_target): Likewise.
1742 (is_amd64_regs_target): Likewise.
1743 (is_aarch32_target): Likewise.
1744 (gdb_int128_helper): Likewise.
1746 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1750 2018-09-10 Jerome Guitton <guitton@adacore.com>
1752 * gdb.ada/same_component_name: Add test for case of tagged record
1753 with variable-length fields.
1755 2018-09-10 Xavier Roirand <roirand@adacore.com>
1757 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1758 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1759 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1760 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1762 2018-09-10 Xavier Roirand <roirand@adacore.com>
1764 * gdb.ada/mi_string_access.exp: New testcase.
1765 * gdb.ada/mi_string_access/bar.adb: New file.
1766 * gdb.ada/mi_string_access/pck.adb: New file.
1767 * gdb.ada/mi_string_access/pck.asd: New file.
1769 2018-09-10 Xavier Roirand <roirand@adacore.com>
1771 * gdb.ada/mi_var_union.exp: New testcase.
1772 * gdb.ada/mi_var_union/bar.adb: New file.
1773 * gdb.ada/mi_var_union/pck.adb: New file.
1774 * gdb.ada/mi_var_union/pck.asd: New file.
1776 2018-09-08 Tom Tromey <tom@tromey.com>
1778 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1780 2018-09-08 Tom Tromey <tom@tromey.com>
1783 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1784 (register_pretty_printers): Register new printer.
1785 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1787 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1788 (an_int_type3): New global.
1790 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1792 * gdb.ada/expr_with_funcall: New testcase.
1794 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1796 * gdb.ada/packed_array_assign: New testcase.
1798 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1800 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1801 names, and add test prefixes to make test names unique.
1803 2018-09-05 Tom de Vries <tdevries@suse.de>
1805 * gdb.dwarf2/varval.exp: Add test.
1807 2018-09-04 Gary Benson <gbenson@redhat.com>
1809 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1810 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1812 2018-08-31 Tom Tromey <tom@tromey.com>
1814 * gdb.rust/simple.rs: Rename second variable "v".
1816 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1818 * gdb.base/funcargs.c (use_a): New function.
1819 (recurse): Call use_a.
1821 2018-08-29 Keith Seitz <keiths@redhat.com>
1823 * gdb.compile/compile-cplus-anonymous.cc: New file.
1824 * gdb.compile/compile-cplus-anonymous.exp: New file.
1825 * gdb.compile/compile-cplus-array-decay.cc: New file.
1826 * gdb.compile/compile-cplus-array-decay.exp: New file.
1827 * gdb.compile/compile-cplus-inherit.cc: New file.
1828 * gdb.compile/compile-cplus-inherit.exp: New file.
1829 * gdb.compile/compile-cplus-member.cc: New file.
1830 * gdb.compile/compile-cplus-member.exp: New file.
1831 * gdb.compile/compile-cplus-method.cc: New file.
1832 * gdb.compile/compile-cplus-method.exp: New file.
1833 * gdb.compile/compile-cplus-mod.c: "New" file.
1834 * gdb.compile/compile-cplus-namespace.cc: New file.
1835 * gdb.compile/compile-cplus-namespace.exp: New file.
1836 * gdb.compile/compile-cplus-nested.cc: New file.
1837 * gdb.compile/compile-cplus-nested.exp: New file.
1838 * gdb.compile/compile-cplus-print.c: "New" file.
1839 * gdb.compile/compile-cplus-print.exp: "New" file.
1840 * gdb.compile/compile-cplus-virtual.cc: New file.
1841 * gdb.compile/compile-cplus-virtual.exp: New file.
1842 * gdb.compile/compile-cplus.c: "New" file.
1843 * gdb.compile/compile-cplus.exp: "New" file.
1844 * lib/compile-support.exp: New file.
1846 2018-08-16 Gary Benson <gbenson@redhat.com>
1849 * gdb.base/batch-exit-status.exp: New file.
1850 * gdb.base/batch-exit-status.good-commands: Likewise.
1851 * gdb.base/batch-exit-status.bad-commands: Likewise.
1853 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1855 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1856 (struct struct02): Likewise.
1857 (struct struct03): Likewise.
1858 (struct struct04): Likewise.
1859 (struct struct_01_01): New struct.
1860 (struct struct_01_02): Likewise.
1861 (struct struct_01_03): Likewise.
1862 (struct struct_01_04): Likewise.
1863 (struct struct_02_01): Likewise.
1864 (struct struct_02_02): Likewise.
1865 (struct struct_02_03): Likewise.
1866 (struct struct_02_04): Likewise.
1867 (struct struct_04_01): Likewise.
1868 (struct struct_04_02): Likewise.
1869 (struct struct_04_03): Likewise.
1870 (struct struct_04_04): Likewise.
1871 (struct struct_05_01): Likewise.
1872 (struct struct_05_02): Likewise.
1873 (struct struct_05_03): Likewise.
1874 (struct struct_05_04): Likewise.
1875 (cmp_struct01): Remove function.
1876 (cmp_struct02): Likewise.
1877 (cmp_struct03): Likewise.
1878 (cmp_struct04): Likewise.
1879 (cmp_struct_01_01): Add Function.
1880 (cmp_struct_01_02): Likewise.
1881 (cmp_struct_01_03): Likewise.
1882 (cmp_struct_01_04): Likewise.
1883 (cmp_struct_02_01): Likewise.
1884 (cmp_struct_02_02): Likewise.
1885 (cmp_struct_02_03): Likewise.
1886 (cmp_struct_02_04): Likewise.
1887 (cmp_struct_04_01): Likewise.
1888 (cmp_struct_04_02): Likewise.
1889 (cmp_struct_04_03): Likewise.
1890 (cmp_struct_04_04): Likewise.
1891 (cmp_struct_05_01): Likewise.
1892 (cmp_struct_05_02): Likewise.
1893 (cmp_struct_05_03): Likewise.
1894 (cmp_struct_05_04): Likewise.
1895 (call_all): Add new structs.
1896 * gdb.base/infcall-nested-structs.exp: Likewise.
1898 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1900 * gdb.python/py-framefilter-mi.exp: Update regexp to
1901 check for "arch" field in frame output.
1903 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1905 * gdb.dwarf2/dw2-ranges-func.c: New file.
1906 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1908 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1910 * gdb.base/term.exp: Compare terminal settings with values from
1912 * gdb.base/term.c: Get and set terminal settings.
1914 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1916 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1917 accommodate new "arch" field in frame output.
1918 * gdb.mi/mi-return.exp: Likewise.
1919 * gdb.mi/mi-stack.exp: Likewise.
1920 * gdb.mi/mi-syn-frame.exp: Likewise.
1921 * gdb.mi/user-selected-context-sync.exp: Likewise.
1923 2018-08-19 Michael Spang <spang@google.com>
1926 * gdb.base/gcore-tls-pie.c: New file.
1927 * gdb.base/gcore-tls-pie.exp: New file.
1929 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1931 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1932 * gdb.dwarf2/varval.c: New file.
1933 * gdb.dwarf2/varval.exp: New file.
1935 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1938 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1940 2018-08-16 Keith Seitz <keiths@redhat.com>
1942 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1943 tests expected to pass.
1945 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1947 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1948 -data-disassemble -a.
1949 (test_disassembly_bogus_args): Likewise.
1951 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1953 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1955 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1957 * gdb.base/vla-optimized-out.exp: Add new test.
1959 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1961 * gdb.base/vla-optimized-out-o3.exp: Delete.
1962 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1963 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1966 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1969 * gdb.server/extended-remote-restart.c: New file.
1970 * gdb.server/extended-remote-restart.exp: New file.
1972 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1974 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1975 "set variable index = 42".
1977 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1979 * boards/index-cache-gdb.exp: New file.
1980 * gdb.dwarf2/index-cache.exp: New file.
1981 * gdb.dwarf2/index-cache.c: New file.
1982 * gdb.base/maint.exp: Check if we are using the index cache.
1984 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1986 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1989 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1991 * dg-extract-results.sh: Move to toplevel contrib.
1992 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1993 * Makefile.in (check-parallel-racy): Likewise.
1995 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1997 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1998 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1999 tests if the target supports scheduler locking.
2001 2018-08-04 Tom de Vries <tdevries@suse.de>
2003 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2005 2018-08-02 Tom Tromey <tom@tromey.com>
2008 * gdb.cp/temargs.exp: Test "info address" of a template
2011 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2013 * gdb.python/py-mi-var-info-path-expression.c: New file.
2014 * gdb.python/py-mi-var-info-path-expression.py: New file.
2015 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2017 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2019 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2020 error after "cannot resolve name" string.
2022 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2024 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2026 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2028 2018-07-28 Tom de Vries <tdevries@suse.de>
2030 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2032 2018-07-26 Tom de Vries <tdevries@suse.de>
2034 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2036 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2038 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2041 2018-07-26 Tom de Vries <tdevries@suse.de>
2043 PR breakpoints/23366
2044 * gdb.base/catch-follow-exec.c: New test.
2045 * gdb.base/catch-follow-exec.exp: New file.
2047 2018-07-25 Tom de Vries <tdevries@suse.de>
2049 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2050 vla-optimized-out.c.
2052 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2054 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2055 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2057 2018-07-20 Tom de Vries <tdevries@suse.de>
2059 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2061 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2063 2018-07-19 Tom de Vries <tdevries@suse.de>
2065 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2068 2018-07-18 Tom de Vries <tdevries@suse.de>
2070 * gdb.base/vla-optimized-out.c: New test.
2071 * gdb.base/vla-optimized-out.exp: New file.
2073 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2075 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2076 message "No address associated with hostname" when gdbserver
2077 cannot resolve the hostname.
2079 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2081 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2082 Add some test prefixes to make tests unique.
2084 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2086 * gdb.base/frameapply.c: New file.
2087 * gdb.base/frameapply.exp: New file.
2089 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2091 * gdb.base/skip.exp: Update expected error message.
2093 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2094 Jan Kratochvil <jan.kratochvil@redhat.com>
2095 Paul Fertser <fercerpav@gmail.com>
2096 Tsutomu Seki <sekiriki@gmail.com>
2098 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2100 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2102 * boards/native-gdbserver.exp: Likewise.
2103 * gdb.server/run-without-local-binary.exp: Improve regexp used
2104 for detecting when a remote debugging connection succeeds.
2105 * gdb.server/server-connect.exp: New file.
2106 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2107 Do not prefix the port number with ":".
2108 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2109 support for detecting and using it. Add '$debughost_gdbserver'
2110 to the list of arguments used to start gdbserver. Handle case
2111 when gdbserver cannot resolve a network name.
2113 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2116 * gdb.base/ptype-offsets.cc (struct static_member): New
2118 (main) <stmember>: New variable.
2119 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2120 with a static member in it.
2122 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2124 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2125 watchpoints enabled and disabled.
2127 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2129 * gdb.base/examine-backward.exp: Still run tests around address
2130 0x0, even if address 0x0 is not readable. Update the pattern for
2131 matching address 0x0 in expected output.
2133 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2135 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2138 2018-07-04 Tom de Vries <tdevries@suse.de>
2140 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2142 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2145 * gdb.arch/mips-disassembler-options.exp: New test.
2146 * gdb.arch/mips-disassembler-options.s: New test source.
2148 2018-06-29 Pedro Alves <palves@redhat.com>
2150 * gdb.threads/names.exp: Adjust expected "info threads" output.
2152 2018-06-29 Pedro Alves <palves@redhat.com>
2154 * gdb.opt/inline-break.exp (line number, address): Add "info
2157 2018-06-29 Pedro Alves <palves@redhat.com>
2159 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2160 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2161 number and address and running to them.
2163 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2165 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2167 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2169 * lib/compiler.c: Remove executable permission flag.
2171 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2173 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2175 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2177 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2179 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2181 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2183 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2184 address argument is omitted.
2186 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2188 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2190 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2193 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2194 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2196 2018-06-26 Tom Tromey <tom@tromey.com>
2199 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2200 * gdb.rust/simple.rs (struct SimpleLayout): New.
2202 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2204 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2205 "info registers" output.
2207 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2209 * gdb.base/watchpoint-hw-attach.c: New test.
2210 * gdb.base/watchpoint-hw-attach.exp: New file.
2212 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2214 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2216 * boards/dwarf4-gdb-index.exp: Likewise.
2217 * boards/fission-dwp.exp: Likewise.
2219 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2221 * gdb.base/float128.exp: Add comment and improved fail message
2222 to the failure case of "print large128" test.
2224 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2226 * configure.ac: Remove AC_PREREQ.
2227 * configure: Re-generate.
2229 2018-06-19 Pedro Alves <palves@redhat.com>
2231 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2232 (func_extern_caller): New.
2233 (main): Call func_extern_caller.
2234 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2237 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2240 * gdb.cp/typedef-base.cc: New file.
2241 * gdb.cp/typedef-base.exp: New file.
2243 2018-06-18 Tom de Vries <tdevries@suse.de>
2245 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2247 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2248 Richard Bunt <Richard.Bunt@arm.com>
2250 * gdb.threads/attach-slow-waitpid.c: New file.
2251 * gdb.threads/attach-slow-waitpid.exp: New file.
2252 * gdb.threads/slow-waitpid.c: New file.
2254 2018-06-14 Pedro Alves <palves@redhat.com>
2256 * gdb.base/fork-running-state.c: Include <errno.h>.
2257 (exit_if_relative_exits): New.
2258 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2260 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2263 2018-06-14 Tom de Vries <tdevries@suse.de>
2266 * gdb.base/finish-pretty.c: New test.
2267 * gdb.base/finish-pretty.exp: New file.
2269 2018-06-14 Pedro Alves <palves@redhat.com>
2271 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2272 gdb's expected startup output.
2274 2018-06-14 Pedro Alves <palves@redhat.com>
2276 * lib/selftest-support.exp (selftest_setup): Remove inlined
2279 2018-06-14 Tom de Vries <tdevries@suse.de>
2281 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2282 matching of breakpoint printing.
2284 2018-06-13 Tom de Vries <tdevries@suse.de>
2287 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2288 (fork_child): ... here, and ...
2289 (fork_parent): ... here.
2291 2018-06-12 Tom de Vries <tdevries@suse.de>
2293 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2295 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2296 Stephen Roberts <stephen.roberts@arm.com>
2298 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2299 rewrite test to describe action performed, rather than possible
2302 2018-06-08 Gary Benson <gbenson@redhat.com>
2304 * gdb.threads/check-libthread-db.exp: New file.
2305 * gdb.threads/check-libthread-db.c: Likewise.
2307 2018-06-05 Tom Tromey <tom@tromey.com>
2309 * gdb.base/default.exp: Update expected "show version" output.
2311 2018-06-05 Tom Tromey <tom@tromey.com>
2314 * gdb.cp/static-print-quit.exp: Update.
2315 * lib/gdb.exp (pagination_prompt): Update.
2316 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2317 * gdb.python/python.exp: Update.
2319 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2321 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2323 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2325 * gdb.ada/bp_fun_addr: New testcase.
2327 2018-06-01 Tom Tromey <tom@tromey.com>
2329 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2331 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2332 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2333 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2334 * gdb.base/maint.exp (maint_pass_if): Update.
2336 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2338 * gdb.base/endian.exp: New test.
2339 * gdb.base/endian.c: New test source.
2341 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2344 * gdb.base/bt-selected-frame.c: New file.
2345 * gdb.base/bt-selected-frame.exp: New file.
2346 * lib/gdb.exp (get_current_frame_number): New function.
2348 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2349 Pedro Alves <palves@redhat.com>
2351 * gdb.threads/tls-core.c: Include <stdlib.h>
2352 (thread_proc): Call `abort'.
2353 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2354 (tls_core_test): New procedure, bits factored out from ...
2355 (top level): ... here. Test both native cores and gcore cores.
2357 2018-05-23 Tom Tromey <tom@tromey.com>
2359 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2361 2018-05-23 Tom Tromey <tom@tromey.com>
2363 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2365 (test_short_complaints): Likewise.
2366 (test_empty_complaints): Likewise.
2367 (test_initial_complaints): Update.
2369 2018-05-23 Tom Tromey <tom@tromey.com>
2371 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2373 2018-05-23 Tom Tromey <tom@tromey.com>
2375 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2376 (test_short_complaints): Update.
2378 2018-05-22 Pedro Alves <palves@redhat.com>
2380 * gdb.base/remote.exp: Only gdb_start after compiling the
2381 testcase. Issue "disconnect" before testing "set remote" command
2382 defaults. Issue clean_restart before running to main.
2384 2018-05-22 Pedro Alves <palves@redhat.com>
2386 * gdb.base/remote.exp: Adjust expected output of "show remote
2387 memory-write-packet-size". Add tests for "set remote
2388 memory-write-packet-size 0" and "set remote
2389 memory-write-packet-size fixed/limit".
2391 2018-05-22 Pedro Alves <palves@redhat.com>
2394 * gdb.base/utf8-identifiers.c: New file.
2395 * gdb.base/utf8-identifiers.exp: New file.
2397 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2399 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2401 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2403 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2405 2018-05-18 Tom Tromey <tom@tromey.com>
2407 * gdb.base/ptype-offsets.exp: Update.
2409 2018-05-17 Keith Seitz <keiths@redhat.com>
2411 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2412 in expected breakpoint stop locations.
2413 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2414 move to proper scope to test variable values.
2415 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2416 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2418 (main): Call not_inline_func3.
2419 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2420 inline_func1, inline_func2, and inline_func3. Test that when each
2421 breakpoint is hit, GDB properly reports both the stop location
2422 and the backtrace. Repeat tests for temporary breakpoints.
2424 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2426 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2427 rather then trying to access it in determining whether the PID
2428 of `gdbserver' could have been retrieved.
2430 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2432 * gdb.arch/amd64-init-x87-values.S: New file.
2433 * gdb.arch/amd64-init-x87-values.exp: New file.
2435 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2437 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2439 2018-05-04 Tom Tromey <tom@tromey.com>
2442 * gdb.python/python.exp: Test multi-line execute.
2444 2018-05-04 Tom Tromey <tom@tromey.com>
2447 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2449 2018-05-04 Tom Tromey <tom@tromey.com>
2452 * gdb.base/define.exp: Test defining a user command inside a user
2454 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2456 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2457 Pedro Alves <palves@redhat.com>
2459 PR breakpoints/19806 and support for PR external/20207.
2460 * gdb.base/watchpoint-unaligned.c: New file.
2461 * gdb.base/watchpoint-unaligned.exp: New file.
2463 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2465 * gdb.base/maint.exp: Make test names unique, use
2466 test_prefix_command_help to test 'help maint info', and remove
2467 repeated test of 'help maint'.
2469 2018-05-04 Tom Tromey <tom@tromey.com>
2472 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2475 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2477 * gdb.base/maint.exp: Process output from 'maint print registers'
2480 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2482 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2485 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2487 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2490 2018-05-02 Pedro Alves <palves@redhat.com>
2492 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2493 to_log_command renames.
2494 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2496 2018-05-02 Tom Tromey <tom@tromey.com>
2498 * gdb.python/py-parameter.exp: Set test message.
2500 2018-05-02 Tom Tromey <tom@tromey.com>
2503 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2504 PARAM_ZUINTEGER_UNLIMITED tests.
2506 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2509 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2512 2018-04-30 Tom Tromey <tom@tromey.com>
2514 * gdb.python/py-type.exp: Check align attribute.
2515 * gdb.python/py-type.c: New "aligncheck" global.
2517 2018-04-30 Tom Tromey <tom@tromey.com>
2520 * gdb.dwarf2/dw2-align.exp: New file.
2521 * gdb.cp/align.exp: New file.
2522 * gdb.base/align.exp: New file.
2523 * lib/gdb.exp (gdb_int128_helper): New proc.
2524 (has_int128_c, has_int128_cxx): New caching procs.
2526 2018-04-27 Tom Tromey <tom@tromey.com>
2529 * gdb.rust/simple.exp: Add inclusive range tests.
2531 2018-04-26 Pedro Alves <palves@redhat.com>
2533 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2534 ifunc breakpoint locations correctly of ifunc breakpoints set
2535 while the program resolves the ifunc.
2537 2018-04-26 Pedro Alves <palves@redhat.com>
2539 * gdb.base/gnu-ifunc-final.c: New file.
2540 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2541 * gdb.base/gnu-ifunc.exp (executable): Delete.
2542 (staticexecutable): Adjust.
2543 (lib_opts, exec_opts): Delete.
2544 (make_binsuffix, build, set-break): New procedures.
2545 (misc_tests): New, with tests factored out from the top level.
2546 (top level): Test different combinations of ifunc resolver name,
2547 resolver with and with debug info, and ifunc target with and
2548 without debug info. Wrap static tests with with_target_prefix.
2550 2018-04-26 Pedro Alves <palves@redhat.com>
2552 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2553 return type" warnings.
2555 2018-04-25 Pedro Alves <palves@redhat.com>
2557 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2559 * gdb.base/kill-after-signal.exp: Likewise.
2560 * gdb.threads/kill.exp: Likewise.
2562 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2563 Sergio Durigan Junior <sergiodj@redhat.com>
2564 Pedro Alves <palves@redhat.com>
2566 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2567 regexps to expect for '[Inferior ... detached]' as well.
2568 * gdb.base/attach.exp: Likewise.
2569 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2570 "gdb_continue_to_end".
2571 (test_catch_syscall_with_wrong_args): Likewise.
2572 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2573 ']'. Don't set 'verbose' on.
2574 * gdb.base/foll-vfork.exp: Likewise.
2575 * gdb.base/fork-print-inferior-events.c: New file.
2576 * gdb.base/fork-print-inferior-events.exp: New file.
2577 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2578 '[Inferior ... has been killed]' message.
2579 * gdb.base/kill-after-signal.exp: Likewise.
2580 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2582 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2584 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2585 regexps to expect for '[Inferior ... detached]' as well.
2586 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2588 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2591 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2593 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2595 * gdb.threads/multiple-successive-infcall.c: New test.
2596 * gdb.threads/multiple-successive-infcall.exp: New file.
2598 2018-04-17 Tom Tromey <tom@tromey.com>
2600 * gdb.rust/simple.rs (Union): New type.
2601 (main): New local "u".
2602 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2604 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2606 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2607 number information in output of "whereis" command.
2608 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2610 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2612 * gdb.ada/info_types.exp: Adjust expected output to the line
2613 numbers now printed by "info var/func/type".
2614 * gdb.base/completion.exp: Likewise.
2615 * gdb.base/included.exp: Likewise.
2616 * gdb.cp/cp-relocate.exp: Likewise.
2617 * gdb.cp/cplusfuncs.exp: Likewise.
2618 * gdb.cp/namespace.exp: Likewise.
2619 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2621 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2623 * gdb.btrace/cpu.exp: New.
2625 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2627 * gdb.base/step-indirect-call-thunk.exp: New.
2628 * gdb.base/step-indirect-call-thunk.c: New.
2629 * gdb.reverse/step-indirect-call-thunk.exp: New.
2630 * gdb.reverse/step-indirect-call-thunk.c: New.
2632 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2634 * gdb.base/pie-fork.c: New file.
2635 * gdb.base/pie-fork.exp: New file.
2637 2018-04-11 Tom Tromey <tom@tromey.com>
2639 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2641 2018-04-10 Pedro Alves <palves@redhat.com>
2643 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2644 exits. Instead loop running forever.
2645 (fork_parent): Run forever too.
2647 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2649 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2650 mi_continue_to_line.
2651 * gdb.mi/mi-stack.c (callee4): Add comment.
2653 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2655 * gdb.mi/mi-stack.exp: Fix indentation.
2657 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2660 * gdb.arch/amd64-osabi.exp: New file.
2662 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2665 * gdb.base/osabi.exp: New file.
2667 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2669 * gdb.cp/static-typedef-print.exp: New file.
2670 * gdb.cp/static-typedef-print.cc: New file.
2672 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2674 * gdb.ada/varsize_limit: New testcase.
2676 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2678 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2680 * gdb.ada/notcplusplus: New testcase.
2682 * gdb.base/c-linkage-name.c: New file.
2683 * gdb.base/c-linkage-name.exp: New testcase.
2685 2018-03-26 Tom Tromey <tom@tromey.com>
2687 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2688 * gdb.python/py-framefilter.py (name_error): New global.
2689 (ErrorInName.function): Use name_error.
2691 2018-03-26 Tom Tromey <tom@tromey.com>
2694 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2696 2018-03-23 Keith Seitz <keiths@redhat.com>
2699 * gdb.cp/subtypes.exp: New file.
2700 * gdb.cp/subtypes.h: New file.
2701 * gdb.cp/subtypes.cc: New file.
2702 * gdb.cp/subtypes-2.cc: New file.
2704 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2706 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2707 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2708 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2709 -nostartfiles when compiling the test. Confirm that all registers
2710 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2712 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2714 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2715 option, syntax was wrong anyway.
2716 * gdb.arch/arm-disp-step.exp: Likewise.
2717 * gdb.arch/sparc64-regs.exp: Likewise.
2718 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2719 option, syntax was wrong anyway, switch to use
2720 prepare_for_testing.
2721 * gdb.arch/i386-disp-step.exp: Likewise.
2723 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2725 * gdb.ada/exec_changed.exp: Replace "target_info exists
2726 use_gdb_stub" by "use_gdb_stub".
2727 * gdb.ada/start.exp: Likewise.
2728 * gdb.base/async-shell.exp: Likewise.
2729 * gdb.base/attach-pie-misread.exp: Likewise.
2730 * gdb.base/attach-wait-input.exp: Likewise.
2731 * gdb.base/break-entry.exp: Likewise.
2732 * gdb.base/break-interp.exp: Likewise.
2733 * gdb.base/dprintf-detach.exp: Likewise.
2734 * gdb.base/nostdlib.exp: Likewise.
2735 * gdb.base/solib-nodir.exp: Likewise.
2736 * gdb.base/statistics.exp: Likewise.
2737 * gdb.base/testenv.exp: Likewise.
2738 * gdb.mi/mi-exec-run.exp: Likewise.
2739 * gdb.mi/mi-start.exp: Likewise.
2740 * gdb.multi/dummy-frame-restore.exp: Likewise.
2741 * gdb.multi/multi-arch-exec.exp: Likewise.
2742 * gdb.multi/multi-arch.exp: Likewise.
2743 * gdb.multi/tids.exp: Likewise.
2744 * gdb.multi/watchpoint-multi.exp: Likewise.
2745 * gdb.python/py-events.exp: Likewise.
2746 * gdb.threads/attach-into-signal.exp: Likewise.
2747 * gdb.threads/attach-stopped.exp: Likewise.
2748 * gdb.threads/threadapply.exp: Likewise.
2749 * lib/selftest-support.exp: Likewise.
2751 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2753 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2755 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2757 * gdb.perf/template-breakpoints.cc: New file.
2758 * gdb.perf/template-breakpoints.exp: New file.
2759 * gdb.perf/template-breakpoints.py: New file.
2761 2018-03-19 Tom Tromey <tom@tromey.com>
2763 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2765 * gdb.rust/simple.exp: Test bare identifier form of struct
2768 2018-03-19 Tom Tromey <tom@tromey.com>
2770 * gdb.gdb/observer.exp: Remove.
2772 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2774 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2775 "qualified" option when setting breakpoints.
2776 * gdb.trace/backtrace.exp: Likewise.
2777 * gdb.trace/circ.exp: Likewise.
2778 * gdb.trace/collection.exp: Likewise.
2779 * gdb.trace/disconnected-tracing.exp: Likewise.
2780 * gdb.trace/ftrace-lock.exp: Likewise.
2781 * gdb.trace/ftrace.exp: Likewise.
2782 * gdb.trace/infotrace.exp: Likewise.
2783 * gdb.trace/packetlen.exp: Likewise.
2784 * gdb.trace/passc-dyn.exp: Likewise.
2785 * gdb.trace/qtro.exp: Likewise.
2786 * gdb.trace/read-memory.exp: Likewise.
2787 * gdb.trace/report.exp: Likewise.
2788 * gdb.trace/signal.exp: Likewise.
2789 * gdb.trace/status-stop.exp: Likewise.
2790 * gdb.trace/strace.exp: Likewise.
2791 * gdb.trace/tfind.exp: Likewise.
2792 * gdb.trace/trace-break.exp: Likewise.
2793 * gdb.trace/trace-condition.exp: Likewise.
2794 * gdb.trace/trace-mt.exp: Likewise.
2795 * gdb.trace/tstatus.exp: Likewise.
2796 * gdb.trace/tsv.exp: Likewise.
2797 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2798 * gdb.trace/unavailable.exp: Likewise.
2799 * gdb.trace/while-dyn.exp: Likewise.
2801 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2803 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2804 that libinproctrace is copied to the target.
2806 2018-03-14 Tom Tromey <tom@tromey.com>
2809 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2811 * gdb.base/wchar.exp: Likewise.
2813 2018-03-14 Tom Tromey <tom@tromey.com>
2816 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2819 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2822 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2823 "target" to remote_exec.
2825 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2828 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2829 ${board}_upload): Remove.
2831 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2833 * gdb.cp/watch-cp.cc: New test.
2834 * gdb.cp/watch-cp.exp: New file.
2836 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2838 * gdb.base/infcall-nested-structs.exp: New file.
2839 * gdb.base/infcall-nested-structs.c: New file.
2840 * gdb.base/float.exp: Add riscv support.
2842 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2844 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2845 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2847 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2849 * gdb.server/abspath.exp: New file.
2850 * lib/gdb.exp (with_cwd): New procedure.
2852 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2854 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2856 (gdb_is_target_remote_prompt): New proc.
2857 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2858 (gdb_is_target_native): Pass prompt parameter to
2861 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2863 * gdb.base/load-command.c: New file.
2864 * gdb.base/load-command.exp: New file.
2865 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2866 (gdb_is_target_1): ...this, and generalize for other targets
2868 (gdb_is_target_remote): Use gdb_is_target_1.
2869 (gdb_is_target_native): use gdb_is_target_1.
2871 2018-02-26 Tom Tromey <tom@tromey.com>
2874 * gdb.python/py-framefilter.exp: Update test.
2876 2018-02-26 Tom Tromey <tom@tromey.com>
2878 * gdb.dwarf2/variant.c: New file.
2879 * gdb.dwarf2/variant.exp: New file.
2881 2018-02-26 Tom Tromey <tom@tromey.com>
2883 * gdb.rust/simple.exp: Accept more possible results in enum test.
2885 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2887 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2890 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2892 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2893 name of a variable: $actual_linejj -> $actual_line.
2895 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2897 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2899 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2901 * gdb.btrace/buffer-size.exp: Do not force BTS.
2903 2018-02-14 Pedro Alves <palves@redhat.com>
2905 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2908 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2910 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2913 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2915 * gdb.cp/m-static.exp: Check type of optimized out static
2918 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2920 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2921 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2923 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2924 Leszek Swirski <leszeks@google.com>
2926 * gdb.python/py-prettyprint.c
2927 (struct to_string_returns_value_inner,
2928 struct to_string_returns_value_wrapper): New.
2929 (main): Add tsrvw variable.
2930 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2931 ToStringReturnsValueWrapper): New classes.
2932 (register_pretty_printers): Register new pretty-printers.
2933 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2934 recursive pretty printer.
2935 * gdb.python/py-mi.exp: Likewise.
2937 2018-02-01 Leszek Swirski <leszeks@google.com>
2939 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2940 functions with the same name as an include file are parsed
2943 2018-02-01 Yao Qi <yao.qi@linaro.org>
2945 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2948 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2950 * gdb.arch/powerpc-prologue-frame.s: New file.
2951 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2952 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2954 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2956 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2958 2018-01-30 Pedro Alves <palves@redhat.com>
2961 * gdb.base/interrupt-daemon.c: New.
2962 * gdb.base/interrupt-daemon.exp: New.
2963 * gdb.multi/multi-term-settings.c: New.
2964 * gdb.multi/multi-term-settings.exp: New.
2966 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2968 * gdb.base/break.exp: Save the location where the breakpoint
2969 on break.c:47 was actually inserted when debugging the version
2970 compiled at -O2 and use it in the expected output of the "info
2971 break" test performed soon after.
2973 2018-01-22 Pedro Alves <palves@redhat.com>
2974 Sergio Durigan Junior <sergiodj@redhat.com>
2976 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2977 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2979 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2981 * gdb.base/break-include.c, gdb.base/break-include.inc,
2982 gdb.base/break-include.exp: New files.
2983 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2984 line number now being the actual line number where the breakpoint
2986 * gdb.mi/mi-break.exp: Likewise.
2987 * gdb.mi/mi-reverse.exp: Likewise.
2988 * gdb.mi/mi-simplerun.exp: Ditto.
2990 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2992 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2994 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2996 2018-01-21 Don Breazeal <donb@codesourcery.com>
2997 Andrew Burgess <andrew.burgess@embecosm.com>
2999 * gdb.mi/basics.c: Add new global.
3000 * gdb.mi/mi-frame-regs.exp: New file.
3001 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3004 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3006 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3007 non-parameter, and on an unknown symbol.
3009 2018-01-19 Tom Tromey <tom@tromey.com>
3011 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3012 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3014 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3016 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3017 setrlimit and chdir to int.
3019 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3021 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3023 (my_tend): Likewise.
3024 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3025 rationale of avoiding FP- and vector instructions.
3027 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3029 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3030 "info reg" with "\[ \t\]*".
3031 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3033 * gdb.arch/s390-multiarch.exp: Ditto.
3034 * gdb.base/pc-fp.exp: Ditto.
3035 * gdb.reverse/i386-precsave.exp: Ditto.
3036 * gdb.reverse/i386-reverse.exp: Ditto.
3037 * gdb.reverse/i387-env-reverse.exp: Ditto.
3038 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3040 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3042 * lib/gdb.exp (gdb_compile): Re-enable use of
3043 universal_compile_options for languages other than Rust.
3045 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3047 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3049 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3052 * gdb.base/solib-vanish.exp: New.
3053 * gdb.base/solib-vanish-main.c: New.
3054 * gdb.base/solib-vanish-lib1.c: New.
3055 * gdb.base/solib-vanish-lib2.c: New.
3057 2018-01-17 Yao Qi <yao.qi@linaro.org>
3059 * gdb.compile/compile.exp: Match the address printed for
3060 frame in the output of command "bt".
3062 2018-01-15 Tom Tromey <tom@tromey.com>
3064 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3067 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3069 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3071 (prepare): Return 0 on error, 1 on success.
3073 2018-01-12 Pedro Alves <palves@redhat.com>
3075 * gdb.base/continue-after-aborted-step-over.c: New.
3076 * gdb.base/continue-after-aborted-step-over.exp: New.
3078 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3080 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3081 options when not creating an executable.
3083 2018-01-11 Pedro Alves <palves@redhat.com>
3086 * gdb.server/stop-reply-no-thread.c: New file.
3087 * gdb.server/stop-reply-no-thread.exp: New file.
3089 2018-01-10 Pedro Alves <palves@redhat.com>
3092 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3093 functions too. Test setting breakpoints and printing C functions
3094 with no debug info too.
3095 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3097 2018-01-10 Pedro Alves <palves@redhat.com>
3100 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3103 2018-01-10 Pedro Alves <palves@redhat.com>
3106 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3108 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3110 * gdb.server/unittest.exp: Match the output in non-development
3113 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3115 * gdb.gdb/unittest.exp: Match output in non-development mode.
3117 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3119 * gdb.ada/access_tagged_param.exp: Relax expected output
3120 for value of "ObjL" in "continue" to pck.inspect breakpoint
3123 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3125 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3126 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3128 2018-01-05 Pedro Alves <palves@redhat.com>
3131 * gdb.base/libsegfault.exp: New.
3133 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3136 * gdb.ada/access_tagged_param.exp: New file.
3137 * gdb.ada/access_tagged_param/foo.adb: New file.
3139 2018-01-05 Pedro Alves <palves@redhat.com>
3142 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3143 exercise lower case too, and to exercise both full matching and
3146 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3148 * gdb.ada/rename_subscript_param: New testcase.
3150 2018-01-05 Jerome Guitton <guitton@adacore.com>
3152 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3154 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3156 * gdb.ada/convvar_comp: New testcase.
3158 2018-01-05 Xavier Roirand <roirand@adacore.com>
3160 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3161 (My_Table): New global variable.
3162 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3164 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3167 * gdb.ada/maint_with_ada: New testcase.
3169 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3172 * gdb.ada/bp_c_mixed_case: New testcase.
3174 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3177 * gdb.ada/complete.exp: Add "complete break ada" test.
3179 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3182 * gdb.ada/info_addr_mixed_case: New testcase.
3184 2018-01-03 Xavier Roirand <roirand@adacore.com>
3186 * gdb.ada/excep_handle.exp: New testcase.
3187 * gdb.ada/excep_handle/foo.adb: New file.
3188 * gdb.ada/excep_handle/pck.ads: New file.
3190 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3192 * gdb.base/step-line.c: Add extra empty line in copyright header.
3193 * gdb.base/step-line.inp: Likewise.
3195 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3197 * gdb.ada/dyn_stride.exp: Add slice test.
3199 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3201 * gdb.ada/dyn_stride: New testcase.
3203 2017-12-27 Stafford Horne <shorne@gmail.com>
3205 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3206 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3208 2017-12-27 Stafford Horne <shorne@gmail.com>
3210 * gdb.base/reggroups.c: New file.
3211 * gdb.base/reggroups.exp: New file.
3213 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3215 * gdb.dwarf2/ada-valprint-error.c: New file.
3216 * gdb.dwarf2/ada-valprint-error.exp: New file.
3218 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3220 * gdb.ada/assign_arr: New testcase.
3222 2017-12-18 Xavier Roirand <roirand@adacore.com>
3224 * gdb.ada/funcall_ptr: New testcase.
3226 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3229 * gdb.base/ptype-offsets.cc: New file.
3230 * gdb.base/ptype-offsets.exp: New file.
3232 2017-12-15 Yao Qi <yao.qi@linaro.org>
3234 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3237 2017-12-15 Xavier Roirand <roirand@adacore.com>
3239 * gdb.ada/same_component_name: New testcase.
3241 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3243 * gdb.ada/str_binop_equal: New testcase.
3245 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3247 * gdb.ada/task_switch_in_core: New testcase.
3249 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3251 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3252 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3253 call test_bkpt_qualified.
3254 (test_bkpt_qualified): New proc.
3256 2017-12-13 Pedro Alves <palves@redhat.com>
3258 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3259 Tighten regexp by matching with an anchor.
3261 2017-12-13 Pedro Alves <palves@redhat.com>
3263 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3264 ("expression with namespace"): New set of tests.
3265 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3266 (Nested::Test_NS::qux): New.
3267 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3268 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3270 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3272 * gdb.base/server-del-break.c: New file.
3273 * gdb.base/server-del-break.exp: New file.
3275 2017-12-12 Stafford Horne <shorne@gmail.com>
3277 * gdb.xml/tdesc-regs.exp: Add or1k support.
3279 2017-12-12 Stafford Horne <shorne@gmail.com>
3281 * gdb.base/bp-permanent.c: Define nop of or1k.
3283 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3285 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3286 output with components being reordered.
3288 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3290 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3291 output with components being reordered.
3293 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3294 Pedro Alves <palves@redhat.com>
3296 * gdb.base/maint.exp (check for .gdb_index): Check also for
3298 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3299 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3300 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3301 (.gdb_index used after symbol reloading): Support also .debug_names.
3302 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3304 2017-12-08 Yao Qi <yao.qi@linaro.org>
3306 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3307 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3309 2017-12-08 Yao Qi <yao.qi@linaro.org>
3311 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3312 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3314 2017-12-08 Yao Qi <yao.qi@linaro.org>
3316 * gdb.arch/aarch64-tagged-pointer.c: New file.
3317 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3319 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3321 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3324 2017-12-07 Keith Seitz <keiths@redhat.com>
3326 PR breakpoints/22569
3327 * gdb.linespec/ls-errs.exp: Change expected result of "break
3328 -source this file has spaces.c -line 3".
3329 Check that an explicit source file followed by whitespace is
3330 identified as an invalid explicit location.
3332 2017-12-07 Keith Seitz <keiths@redhat.com>
3334 * gdb.cp/nested-types.cc: New file.
3335 * gdb.cp/nested-types.exp: New file.
3336 * lib/cp-support.exp: Load data-structures.exp library.
3337 (debug_cp_test_ptype_class): New global.
3338 (cp_ptype_class_verbose, next_line): New procedures.
3339 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3340 Add and document new return value.
3341 Switch the list of lines to a queue.
3342 Add support for new `type' key for nested type definitions.
3343 Add debugging/troubleshooting messages.
3344 * lib/data-structures.exp: New file.
3346 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3348 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3349 with proc_with_prefix, don't use with_test_prefix.
3351 2017-12-07 Tom Tromey <tom@tromey.com>
3353 * gdb.base/break.exp: Add test for empty "commands".
3355 2017-12-07 Yao Qi <yao.qi@linaro.org>
3357 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3358 malloc and catch syscall.
3360 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3362 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3363 tests for explicit locations.
3365 2017-12-06 Pedro Alves <palves@redhat.com>
3367 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3368 force-disabling XML descriptions.
3370 2017-12-04 Pedro Alves <palves@redhat.com>
3373 * gdb.arch/amd64-disp-step-avx.S: New file.
3374 * gdb.arch/amd64-disp-step-avx.exp: New file.
3376 2017-12-03 Pedro Alves <palves@redhat.com>
3378 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3380 (parent_function): Print distinct messages when waitpid fails, or
3381 the child exits with a signal, or the child exits for an unhandled
3383 * gdb.threads/process-dies-while-detaching.exp
3384 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3385 it. Wait for both inferior output and GDB's prompt. Use an
3386 indirect spawn id list.
3387 (do_detach): New parameter 'child_exit'. Use it to compute
3388 expected inferior output.
3389 (test_detach, test_detach_watch, test_detach_killed_outside):
3390 Adjust to pass down the expected child exit kind.
3392 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3393 Sergio Durigan Junior <sergiodj@redhat.com>
3394 Pedro Alves <palves@redhat.com>
3396 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3398 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3400 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3401 to 'symbol-file' and 'add-symbol-file' can be
3402 position-independent.
3404 2017-12-01 Yao Qi <yao.qi@linaro.org>
3406 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3407 the URL in copyright header.
3408 * gdb.arch/aarch64-fp.exp: Likewise.
3409 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3410 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3411 * gdb.base/expand-psymtabs.exp: Likewise.
3412 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3413 * gdb.fortran/common-block.exp: Likewise.
3414 * gdb.fortran/common-block.f90: Likewise.
3415 * gdb.fortran/logical.exp: Likewise.
3416 * gdb.fortran/vla-datatypes.f90: Likewise.
3417 * gdb.fortran/vla-sub.f90: Likewise.
3419 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3421 * gdb.ada/repeat_dyn: New testcase.
3423 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3425 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3426 Update for changed thread numbering.
3427 * gdb.cell/bt.exp: Update for changed GDB output.
3429 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3431 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3432 setting isremote by hand.
3433 * boards/dwarf4-gdb-index.exp: Likewise.
3434 * boards/fission.exp: Likewise.
3435 * boards/stabs.exp: Likewise.
3437 2017-11-30 Pedro Alves <palves@redhat.com>
3439 * gdb.linespec/cpls-ops.exp
3440 (check_explicit_skips_function_argument): Extract the underlying
3441 type of size_t instead of hardcoding it.
3443 2017-11-29 Pedro Alves <palves@redhat.com>
3446 * gdb.linespec/cpls-abi-tag.cc: New file.
3447 * gdb.linespec/cpls-abi-tag.exp: New file.
3449 2017-11-29 Pedro Alves <palves@redhat.com>
3451 * gdb.base/langs.exp: Use -qualified.
3452 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3454 * gdb.cp/namespace.exp: Use -qualified.
3455 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3456 (overload-3, template-overload, template-ret-type, const-overload)
3457 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3459 (test_driver): Call them.
3460 * gdb.cp/save-bp-qualified.cc: New.
3461 * gdb.cp/save-bp-qualified.exp: New.
3462 * gdb.linespec/explicit.exp: Test -qualified.
3463 * lib/completion-support.exp (completion::explicit_opts_list): Add
3465 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3467 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3469 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3471 2017-11-29 Tom Tromey <tom@tromey.com>
3473 * gdb.base/relocate.exp: Update invalid argument test.
3474 Add new tests for invalid arguments.
3476 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3478 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3480 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3482 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3484 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3485 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3486 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3488 * gdb.cp/shadow.cc (B.func): Return 0.
3490 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3492 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3493 expected output in gdb_expect call to allow the exception
3494 message to be present as well. Fix syntax confusion to avoid
3495 TCL thinking that exception_name is an array.
3497 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3499 * gdb.arch/spu-info.c: Include <unistd.h>.
3500 (do_signal_test): Fix broken calls to write.
3501 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3502 Fix checks for empty mailboxes. Update signal tests for corrected
3503 do_signal_test routine. Allow nonzero event status.
3504 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3505 * gdb.cell/arch.exp: Use standard_output_file.
3506 * gdb.cell/break.exp: Likewise.
3507 * gdb.cell/bt.exp: Likewise.
3508 * gdb.cell/core.exp: Likewise.
3509 * gdb.cell/dwarfaddr.exp: Likewise.
3510 * gdb.cell/ea-cache.exp: Likewise.
3511 * gdb.cell/ea-standalone.exp: Likewise.
3512 * gdb.cell/f-regs.exp: Likewise.
3513 * gdb.cell/fork.exp: Likewise.
3514 * gdb.cell/gcore.exp: Likewise.
3515 * gdb.cell/mem-access.exp: Likewise.
3516 * gdb.cell/ptype.exp: Likewise.
3517 * gdb.cell/registers.exp: Likewise.
3518 * gdb.cell/sizeof.exp: Likewise.
3519 * gdb.cell/solib-symbol.exp: Likewise.
3520 * gdb.cell/solib.exp: Likewise.
3522 2017-11-25 Pedro Alves <palves@redhat.com>
3524 * gdb.base/complete-empty.exp: New file.
3525 * gdb.base/completion.exp: Adjust.
3527 2017-11-25 Pedro Alves <palves@redhat.com>
3529 * gdb.linespec/cpls-ops.cc: New file.
3530 * gdb.linespec/cpls-ops.exp: New file.
3531 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3532 factored out from ...
3533 (test_complete_prefix_range): ... this.
3535 2017-11-24 Pedro Alves <palves@redhat.com>
3537 * gdb.linespec/cpcompletion.exp: New file.
3538 * gdb.linespec/cpls-hyphen.cc: New file.
3539 * gdb.linespec/cpls.cc: New file.
3540 * gdb.linespec/cpls2.cc: New file.
3541 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3542 test to use test_gdb_complete_unique. Add label completion,
3543 keyword completion and explicit location completion tests.
3544 * lib/completion-support.exp: New file.
3546 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3548 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3549 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3550 when hitting an exception catchpoint.
3552 2017-11-22 Yao Qi <yao.qi@linaro.org>
3554 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3556 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3558 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3559 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3560 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3562 2017-11-22 Yao Qi <yao.qi@linaro.org>
3564 * gdb.base/info-os.exp: Pass pthreads.
3565 * gdb.multi/multi-attach.exp: Likewise.
3567 2017-11-22 Yao Qi <yao.qi@linaro.org>
3569 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3572 2017-11-22 Yao Qi <yao.qi@linaro.org>
3574 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3575 * gdb.base/break-interp.exp: Likewise.
3576 * gdb.base/jit-attach-pie.exp: Likewise.
3578 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3580 * gdb.base/float128.c (large128): New variable.
3581 * gdb.base/float128.exp: Add test to print largest __float128 value.
3583 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3585 * gdb.arch/vsx-regs.exp: Update register content checks.
3587 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3589 * gdb.arch/ppc-longdouble.exp: New file.
3590 * gdb.arch/ppc-longdouble.c: Likewise.
3592 2017-11-21 Pedro Alves <palves@redhat.com>
3594 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3596 2017-11-20 Pedro Alves <palves@redhat.com>
3598 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3599 (long_double_typedef): New typedefs.
3600 Use DEF on double and long double.
3601 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3603 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3604 and 'long_double_ptr_same_size' locals. Use them to decide
3605 whether cast from array/function to float is valid/invalid.
3607 2017-11-17 Tom Tromey <tom@tromey.com>
3609 * gdb.rust/traits.rs: New file.
3610 * gdb.rust/traits.exp: New file.
3612 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3614 * gdb.ada/minsyms: New testcase.
3616 2017-11-16 Pedro Alves <palves@redhat.com>
3618 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3619 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3621 2017-11-16 Pedro Alves <palves@redhat.com>
3623 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3624 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3626 2017-11-16 Pedro Alves <palves@redhat.com>
3628 * gdb.server/reconnect-ctrl-c.c: New file.
3629 * gdb.server/reconnect-ctrl-c.exp: New file.
3631 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3633 * gdb.python/py-rbreak.exp: New file.
3634 * gdb.python/py-rbreak.c: New file.
3635 * gdb.python/py-rbreak-func2.c: New file.
3637 2017-11-16 Pedro Alves <palves@redhat.com>
3639 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3641 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3644 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3646 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3649 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3651 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3654 2017-11-09 Pedro Alves <palves@redhat.com>
3656 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3657 factored out from ...
3658 (top level): ... here, and adjusted to avoid expecting beyond the
3659 prompt in a single gdb_test_multiple.
3661 2017-11-09 Pedro Alves <palves@redhat.com>
3663 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3665 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3666 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3667 * gdb.server/ext-run.exp ("kill" test): Likewise.
3668 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3670 2017-11-09 Pedro Alves <palves@redhat.com>
3672 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3673 match till end of line.
3675 2017-11-09 Pedro Alves <palves@redhat.com>
3677 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3679 2017-11-09 Pedro Alves <palves@redhat.com>
3681 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3682 New procedures, factored out from ...
3683 (top level): ... here, and adjusted to avoid expecting beyond the
3686 2017-11-09 Pedro Alves <palves@redhat.com>
3688 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3689 output. Fix '?' match.
3691 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3693 * gdb.ada/scoped_watch: New testcase.
3694 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3695 which is actually correct.
3696 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3697 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3699 2017-11-08 Pedro Alves <palves@redhat.com>
3701 * gdb.gdb/complaints.exp (test_initial_complaints)
3702 (test_serial_complaints, test_short_complaints): Call
3703 complaint_internal instead of complaint.
3705 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3707 * gdb.threads/tls-core.c: New file.
3708 * gdb.threads/tls-core.exp: Likewise.
3710 2017-11-08 Pedro Alves <palves@redhat.com>
3712 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3713 (p Exported_Capitalized): New test.
3714 (p exported_capitalized): New test.
3716 2017-11-07 Pedro Alves <palves@redhat.com>
3718 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3720 2017-11-07 Pedro Alves <palves@redhat.com>
3722 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3723 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3724 (disable_invalid, disable_inverted, disable_negative): New
3726 ("bad numbers"): New set of tests.
3728 2017-11-07 Pedro Alves <palves@redhat.com>
3730 * gdb.cp/ena-dis-br-range.exp: Add tests.
3732 2017-11-07 Pedro Alves <palves@redhat.com>
3734 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3736 2017-11-07 Xavier Roirand <roirand@adacore.com>
3737 Pedro Alves <palves@redhat.com>
3739 * gdb.base/ena-dis-br.exp: Add reference to
3740 gdb.cp/ena-dis-br-range.exp.
3741 * gdb.cp/ena-dis-br-range.exp: New file.
3742 * gdb.cp/ena-dis-br-range.cc: New file.
3744 2017-11-06 Pedro Alves <palves@redhat.com>
3746 * gdb.base/attach-non-pgrp-leader.c: New.
3747 * gdb.base/attach-non-pgrp-leader.exp: New.
3749 2017-11-06 Pedro Alves <palves@redhat.com>
3751 * configure.ac: No longer check for termio.h and sgtty.h.
3752 * configure: Regenerate.
3753 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3754 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3755 Remove termio and sgtty code.
3757 2017-11-03 Yao Qi <yao.qi@linaro.org>
3759 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3762 2017-11-03 Yao Qi <yao.qi@linaro.org>
3764 * gdb.python/py-thrhandle.exp: Skip it if python is not
3767 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3769 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3770 as a breakpoint command.
3772 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3775 * gdb.python/py-infthread.exp: Test calling
3776 InferiorThread.inferior () multiple times in a row.
3778 2017-10-27 Keith Seitz <keiths@redhat.com>
3780 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3781 Test "info break" for every inlined function breakpoint.
3783 2017-10-27 Yao Qi <yao.qi@linaro.org>
3785 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3787 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3789 * gdb.cp/classes.exp (test_static_members): Test printing
3791 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3792 (Inner::instance, Outer::instance): New.
3794 2017-10-24 Pedro Alves <palves@redhat.com>
3796 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3797 extra console" test in two stages.
3799 2017-10-24 Pedro Alves <palves@redhat.com>
3801 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3803 2017-10-24 Pedro Alves <palves@redhat.com>
3805 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3808 2017-10-24 Pedro Alves <palves@redhat.com>
3810 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3811 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3813 2017-10-24 Pedro Alves <palves@redhat.com>
3815 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3816 parameter and handle it. Don't output read value in test name.
3818 2017-10-24 Pedro Alves <palves@redhat.com>
3820 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3823 2017-10-24 Pedro Alves <palves@redhat.com>
3825 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3826 include the unstable output directory name in the test's name.
3827 (initial_setup_simple) <'set args'>: Use custom test name.
3829 2017-10-24 Pedro Alves <palves@redhat.com>
3831 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3832 with explicit test name.
3834 2017-10-20 Pedro Alves <palves@redhat.com>
3836 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3837 'wait -i'. Use gdb_assert and remote_close.
3839 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3841 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3842 number from variable rather than hard-coded.
3844 2017-10-19 Pedro Alves <palves@redhat.com>
3846 * gdb.base/long-inferior-output.c: New file.
3847 * gdb.base/long-inferior-output.exp: New file.
3849 2017-11-18 Keith Seitz <keiths@redhat.com>
3851 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3854 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3855 Add additional user-defined conversion operator tests.
3857 2017-10-17 Pedro Alves <palves@redhat.com>
3859 * boards/native-stdio-gdbserver.exp: Load "local-board".
3861 2017-10-17 Pedro Alves <palves@redhat.com>
3863 * gdb.base/quit-live.c: New file.
3864 * gdb.base/quit-live.exp: New file.
3866 2017-10-16 Keith Seitz <keiths@redhat.com>
3868 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3869 (class_with_protected_typedef, class_with_private_typedef)
3870 (struct_with_public_typedef, struct_with_protected_typedef)
3871 (struct_with_private_typedef): New classes/structs.
3872 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3873 typedefs and access specifiers.
3875 2017-10-16 Pedro Alves <palves@redhat.com>
3876 Simon Marchi <simon.marchi@polymtl.ca>
3878 * README (Local vs Remote vs Native): New section.
3879 * boards/local-board.exp: New file, with bits factored out from
3881 * boards/native-extended-gdbserver.exp: ... here. Load
3883 * boards/native-gdbserver.exp: Load "local-board".
3884 (${board}_spawn, ${board}_exec): Delete.
3885 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3887 * boards/stdio-gdbserver-base.exp: ... this new file.
3888 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3889 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3891 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3892 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3893 stdio_gdbserver_command.
3894 (${board}_get_remote_address, ${board}_get_comm_port)
3895 (${board}_download, ${board}_upload): Delete.
3896 (get_target_remote_pipe_cmd): New.
3898 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3900 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3901 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3902 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3903 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3904 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3905 remove with_test_prefix.
3907 2017-10-13 Pedro Alves <palves@redhat.com>
3909 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3910 * gdb.base/annota1.exp: Use it instead of is_remote.
3911 * gdb.base/annota3.exp: Use it instead of is_remote.
3912 * gdb.cp/annota2.exp: Use it instead of is_remote.
3913 * gdb.cp/annota3.exp: Use it instead of is_remote.
3914 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3916 2017-10-13 Pedro Alves <palves@redhat.com>
3918 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3919 (test_num_test_vars, run_and_count_vars, find_env)
3920 (test_set_unset_env, test_inherit_env_var): New procedures.
3921 (top level): Use them.
3923 2017-10-13 Pedro Alves <palves@redhat.com>
3925 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3926 also skip on stub-like targets.
3928 2017-10-13 Pedro Alves <palves@redhat.com>
3931 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3932 (top level): Move some tests to ...
3933 (test_not_found): ... this new procedure.
3934 (top level): Call it.
3936 2017-10-13 Pedro Alves <palves@redhat.com>
3938 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3939 expect different "info terminal" output if testing with a
3942 2017-10-13 Pedro Alves <palves@redhat.com>
3943 Simon Marchi <simon.marchi@polymtl.ca>
3946 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3948 2017-10-13 Pedro Alves <palves@redhat.com>
3950 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3953 2017-10-13 Pedro Alves <palves@redhat.com>
3955 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3958 2017-10-13 Pedro Alves <palves@redhat.com>
3960 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3963 2017-10-13 Pedro Alves <palves@redhat.com>
3965 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3967 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3968 instead of is_remote.
3970 2017-10-13 Pedro Alves <palves@redhat.com>
3972 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3973 (top level): Add comment.
3975 2017-10-13 Pedro Alves <palves@redhat.com>
3977 * gdb.base/remote.exp (top level): Fix comment typo and add
3980 2017-10-13 Pedro Alves <palves@redhat.com>
3981 Simon Marchi <simon.marchi@polymtl.ca>
3983 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3984 calls and add comments. Skip test if use_gdb_stub is set.
3985 (top level): Use "set cwd" command instead of "cd" command.
3987 2017-10-13 Pedro Alves <palves@redhat.com>
3989 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3990 is_remote target check.
3992 2017-10-13 Pedro Alves <palves@redhat.com>
3994 * gdb.base/scope.exp: Use build_executable + clean_restart +
3995 gdb_file_cmd instead of prepare_for_testing and no longer skip
3996 "before run" tests on is_remote target boards. Update comments.
3997 * boards/native-extended-gdbserver.exp
3998 (extended_gdbserver_load_last_file): New, factored out from ...
3999 (gdb_load): ... this. Move further below and add comment.
4000 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4002 2017-10-12 Pedro Alves <palves@redhat.com>
4004 * gdb.base/attach.exp: Remove references to gdb64.
4005 * gdb.base/dbx.exp: Remove references to gdb64.
4007 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4008 Pedro Alves <palves@redhat.com>
4010 * gdb.base/label.exp: Remove is_remote target check.
4012 2017-10-12 Pedro Alves <palves@redhat.com>
4014 * gdb.base/auvx.exp (coredir): Update comment.
4015 (top level) <core_works>: Use "set cwd" command instead of "cd"
4018 2017-10-12 Pedro Alves <palves@redhat.com>
4019 Simon Marchi <simon.marchi@polymtl.ca>
4021 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4024 2017-10-12 Pedro Alves <palves@redhat.com>
4025 Simon Marchi <simon.marchi@polymtl.ca>
4027 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4028 Instead skip if there's any gdb_protocol set.
4030 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4031 Pedro Alves <palves@redhat.com>
4033 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4035 2017-10-12 Pedro Alves <palves@redhat.com>
4036 Simon Marchi <simon.marchi@polymtl.ca>
4038 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4039 instead of on dejagnu remote boards.
4041 2017-10-12 Pedro Alves <palves@redhat.com>
4042 Simon Marchi <simon.marchi@polymtl.ca>
4044 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4045 checks. Use build_executable + clean_restart instead of
4046 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4047 of enabling non-stop after starting gdb.
4049 2017-10-12 Pedro Alves <palves@redhat.com>
4051 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4052 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4053 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4054 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4056 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4058 * gdb.arch/arc-tdesc-cpu.exp: New file.
4059 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4061 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4063 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4065 2017-10-10 Pedro Alves <palves@redhat.com>
4067 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4070 2017-10-10 Pedro Alves <palves@redhat.com>
4072 * lib/selftest-support.exp (selftest_setup): Update for
4073 captured_command_loop's prototype change.
4075 2017-10-09 Pedro Alves <palves@redhat.com>
4077 Test both arch1=>arch2 and arch2=>arch1.
4079 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4080 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4082 (append_arch1_options, append_arch2_options, append_arch_options)
4083 (build_executables): New procedures.
4084 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4086 (top level): Add new 'first_arch' testing axis.
4088 2017-10-09 Pedro Alves <palves@redhat.com>
4090 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4092 (thread_start, all_started): New functions.
4093 (main): Spawn new thread and wait until it is scheduled.
4094 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4096 (do_test): Add 'selected_thread' parameter. Run to all_started
4097 instead of main. Explicitly set the breakpoint at main. Switch
4098 to the SELECTED_THREAD thread.
4099 (top level): Test handling the exec event with either the main
4100 thread or the second thread selected.
4102 2017-10-09 Pedro Alves <palves@redhat.com>
4104 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4105 logic. Move STOP marker after the value checks.
4106 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4109 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4111 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4113 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4115 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4116 integer-to-dfp conversion.
4117 * gdb.base/dfp-test.exp: Likewise.
4119 2017-10-04 Pedro Alves <palves@redhat.com>
4121 * gdb.multi/hangout.c: Include <unistd.h>.
4122 (hangout_loop): New function.
4123 (main): Call alarm. Call hangout_loop in a loop.
4124 * gdb.multi/hello.c: Include <unistd.h>.
4125 (hello_loop): New function.
4126 (main): Call alarm. Call hangout_loop in a loop.
4127 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4128 inferior with the other selected.
4130 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4132 * gdb.mi/list-thread-groups-available.exp: New file.
4133 * gdb.mi/list-thread-groups-available.c: New file.
4135 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4137 * gdb.base/set-cwd.exp: Make it available on
4138 native-extended-gdbserver.
4140 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4142 * gdb.base/set-cwd.c: New file.
4143 * gdb.base/set-cwd.exp: Likewise.
4145 2017-10-02 Tom Tromey <tom@tromey.com>
4148 * gdb.rust/simple.rs (main): New variable "fslice".
4149 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4151 2017-10-02 Tom Tromey <tom@tromey.com>
4153 * gdb.rust/simple.exp: Test ptype of a slice.
4155 2017-10-02 Tom Tromey <tom@tromey.com>
4157 * gdb.rust/simple.exp: Test index of slice.
4159 2017-09-27 Tom Tromey <tom@tromey.com>
4161 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4163 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4164 Pedro Alves <palves@redhat.com>
4166 * gdb.base/compare-sections.exp (get value of read-only section): Read
4168 (corrupt read-only section): Likewise and don't set written if patching
4171 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4173 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4176 2017-09-20 Pedro Alves <palves@redhat.com>
4178 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4179 symbol names in gdb's output.
4180 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4182 2017-09-20 Pedro Alves <palves@redhat.com>
4184 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4186 (test_list_ambiguous_symbol): ... this and add a symbol name
4188 (test_list_ambiguous_function): Reimplement on top of
4189 test_list_ambiguous_symbol and also test listing ambiguous
4191 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4192 (ambiguous_fun): ... this.
4193 (ambiguous_var): New.
4194 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4195 (ambiguous_fun): ... this.
4196 (ambiguous_var): New.
4198 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4200 * gdb.base/starti.c: New file.
4201 * gdb.base/starti.exp: New file.
4202 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4204 2017-09-14 Pedro Alves <palves@redhat.com>
4206 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4207 (top level): Use it instead of runto.
4209 2017-09-11 Tom Tromey <tom@tromey.com>
4211 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4213 2017-09-11 Tom Tromey <tom@tromey.com>
4215 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4216 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4218 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4220 * gdb.fortran/printing-types.exp: New file.
4221 * gdb.fortran/printing-types.exp: New file.
4223 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4225 * gdb.fortran/vla-ptype.exp: Fix typos.
4226 * gdb.fortran/vla-value.exp: Same.
4228 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4230 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4231 * gdb.mi/mi-var-child-f.exp: Likewise.
4232 * gdb.mi/mi-vla-fortran.exp: Likewise.
4234 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4235 Christoph Weinmann <christoph.t.weinmann@intel.com>
4236 Bernhard Heckel <bernhard.heckel@intel.com>
4238 * gdb.fortran/ptr-indentation.f90: New file.
4239 * gdb.fortran/ptr-indentation.exp: New file.
4241 2017-09-05 Tom Tromey <tom@tromey.com>
4244 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4246 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4248 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4250 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4252 * gdb.threads/tls-nodebug-pie.c: New file.
4253 * gdb.threads/tls-nodebug-pie.exp: New file.
4255 2017-09-05 Tom Tromey <tom@tromey.com>
4257 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4260 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4262 * gdb.multi/multi-arch-exec.exp: Test with different
4263 "follow-exec-mode" settings.
4264 (do_test): New procedure.
4266 2017-09-04 Pedro Alves <palves@redhat.com>
4268 * gdb.base/func-static.c (S::method const, S::method volatile)
4269 (S::method volatile const): New methods.
4270 (c_s, v_s, cv_s): New instances.
4271 (main): Call method() on them.
4272 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4273 (cannot_resolve): New procedure.
4274 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4275 print-quote-unquoted columns.
4276 (do_test): Test printing each scope too.
4278 2017-09-04 Pedro Alves <palves@redhat.com>
4280 * gdb.base/local-static.exp: Also test with
4281 class::method::variable wholly quoted.
4282 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4284 2017-09-04 Pedro Alves <palves@redhat.com>
4286 * gdb.base/local-static.c: New.
4287 * gdb.base/local-static.cc: New.
4288 * gdb.base/local-static.exp: New.
4290 2017-09-04 Pedro Alves <palves@redhat.com>
4292 * gdb.asm/asm-source.exp: Add casts to int.
4293 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4294 (dataglobal64_1, dataglobal64_2): New globals.
4295 * gdb.base/nodebug.exp: Test different expressions involving the
4296 new globals, with print, whatis and ptype. Add casts to int.
4297 * gdb.base/solib-display.exp: Add casts to int.
4298 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4299 * gdb.cp/m-static.exp: Add cast to int.
4300 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4301 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4302 tls variable with no debug info without a cast. Test with a cast
4304 * gdb.trace/entry-values.exp: Add casts.
4306 2017-09-04 Pedro Alves <palves@redhat.com>
4308 * gdb.base/nodebug.exp: Test that ptype's error about functions
4309 with unknown return type includes the function name too.
4311 2017-09-04 Pedro Alves <palves@redhat.com>
4313 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4314 return type of munmap in infcall.
4315 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4316 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4317 type of ftell in infcall.
4318 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4319 type of getpid in infcall.
4320 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4322 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4323 Bail on failure to extract the pid.
4324 * gdb.base/nodebug.c: #include <stdint.h>.
4325 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4327 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4328 Change expected output of print/whatis/ptype with functions with
4329 no debug info. Test all supported languages. Call
4330 test_call_promotion.
4331 * gdb.compile/compile.exp: Adjust expected output to expect
4333 * gdb.threads/siginfo-threads.exp: Likewise.
4335 2017-09-04 Pedro Alves <palves@redhat.com>
4337 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4338 "prototypes". Test calling float functions via prototyped and
4339 unprototyped function pointers.
4340 (perform_all_tests): New parameter "prototypes". Pass it down.
4341 (top level): Pass down "prototypes" parameter to
4344 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4346 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4347 Test with nested loops.
4349 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4351 * gdb.base/commands.exp: Call the new procedures.
4352 (loop_break_test, loop_continue_test): New procedures.
4354 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4356 * gdb.base/commands.exp: Call new procedure.
4357 (define_if_without_arg_test): New procedure.
4359 2017-09-04 Pedro Alves <palves@redhat.com>
4361 * gdb.base/list-ambiguous.exp: New file.
4362 * gdb.base/list-ambiguous0.c: New file.
4363 * gdb.base/list-ambiguous1.c: New file.
4364 * gdb.base/list.exp (test_list_range): Adjust expected output.
4366 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4368 * gdb.base/share-env-with-gdbserver.c: New file.
4369 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4371 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4373 * gdb.base/commands.exp (gdbvar_simple_if_test,
4374 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4375 progvar_simple_if_test, progvar_simple_while_test,
4376 progvar_complex_if_while_test, user_defined_command_test,
4377 user_defined_command_args_eval,
4378 user_defined_command_args_stack_test,
4379 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4380 temporary_breakpoint_commands,
4381 gdb_test_no_prompt, redefine_hook_test,
4382 redefine_backtrace_test): Remove "global gdb_prompt".
4384 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4386 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4387 New proc, call it from toplevel.
4389 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4392 * gdb.server/normal.c: New file, copied from gdb.base.
4393 * gdb.server/run-without-local-binary.exp: New file.
4395 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4397 * gdb.arch/sparc64-adi.exp: New file.
4398 * gdb.arch/sparc64-adi.c: New file.
4400 2017-08-22 Pedro Alves <palves@redhat.com>
4402 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4403 (top level): Add "list all overloads" tests.
4405 2017-08-22 Tom Tromey <tom@tromey.com>
4407 * gdb.gdb/xfullpath.exp: Remove.
4409 2017-08-21 Pedro Alves <palves@redhat.com>
4412 * gdb.base/symbol-alias.c: New.
4413 * gdb.base/symbol-alias2.c: New.
4414 * gdb.base/symbol-alias.exp: New.
4416 2017-08-21 Pedro Alves <palves@redhat.com>
4418 * gdb.base/dfp-test.c
4419 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4420 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4421 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4422 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4423 * gdb.base/whatis-ptype-typedefs.c: New.
4424 * gdb.base/whatis-ptype-typedefs.exp: New.
4425 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4426 (an_int, an_int_type, an_int_type2): New globals.
4427 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4428 involving typedefs and cast expressions.
4429 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4430 (lookup_typedefs_function): New.
4431 (typedefs_pretty_printers_dict): New.
4432 (top level): Register lookup_typedefs_function in
4433 gdb.pretty_printers.
4435 2017-08-18 Yao Qi <yao.qi@linaro.org>
4437 * gdb.server/unittest.exp: New.
4439 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4442 * gdb.base/environ.exp: Add test to check if 'unset environment'
4445 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4447 * lib/gdb.exp (universal_compile_options): New caching proc.
4448 (gdb_compile): Suppress GCC's coloring of messages.
4450 2017-08-14 Tom Tromey <tom@tromey.com>
4453 * gdb.base/printcmds.exp (test_radices): New function.
4454 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4455 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4456 * lib/gdb.exp (get_integer_valueof): Use p/d.
4458 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4460 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4463 2017-08-05 Tom Tromey <tom@tromey.com>
4465 * gdb.rust/simple.exp: Allow String to appear in a different
4468 2017-07-26 Yao Qi <yao.qi@linaro.org>
4470 * gdb.gdb/unittest.exp: Invoke command
4471 "maintenance check xml-descriptions".
4473 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4475 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4477 (hex128): Drop erroneous calculation of parameters.
4479 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4481 * gdb.python/py-unwind.exp: Disable stack protection when
4484 2017-07-20 Pedro Alves <palves@redhat.com>
4486 * gdb.base/default.exp (set language): Adjust expected output.
4488 2017-07-20 Pedro Alves <palves@redhat.com>
4490 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4491 (test_minsym): ... this, and make static.
4492 (get_pck__foo__bar__minsym): Rename to ...
4493 (get_test_minsym): ... this.
4494 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4495 symbol names and comments.
4496 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4497 (get_test_minsym): ... this.
4498 (pck__foo__bar__minsym__2): Rename to ...
4499 (test_minsym): ... this.
4502 2017-07-17 Pedro Alves <palves@redhat.com>
4504 * gdb.base/completion.exp: Adjust expected output.
4505 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4506 the completer works.
4508 2017-07-17 Pedro Alves <palves@redhat.com>
4510 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4512 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4514 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4516 2017-07-14 Tom Tromey <tom@tromey.com>
4519 * gdb.rust/simple.exp: Add tests.
4521 2017-07-14 Tom Tromey <tom@tromey.com>
4523 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4525 2017-07-14 Pedro Alves <palves@redhat.com>
4527 * gdb.linespec/base/one/thefile.cc (z1): New function.
4528 * gdb.linespec/base/two/thefile.cc (z2): New function.
4529 * gdb.linespec/linespec.exp: Add tests.
4531 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4533 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4534 to mi_create_breakpoint.
4536 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4538 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4539 mi_create_breakpoint.
4541 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4543 * gdb.dlang/demangle.exp: Update for demangling changes.
4545 2017-07-09 Tom Tromey <tom@tromey.com>
4547 * gdb.dwarf2/shortpiece.exp: New file.
4549 2017-07-06 David Blaikie <dblaikie@gmail.com>
4551 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4552 built from fissiont-multi-cu{1,2}.c.
4553 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4554 except putting 'main' and 'func' in separate CUs in the same DWO file.
4555 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4557 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4560 2017-07-06 Pedro Alves <palves@redhat.com>
4562 * gdb.python/py-unwind.exp: Test flushregs.
4564 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4567 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4568 tests for alias commands and trailing whitespace.
4570 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4573 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4576 2017-06-29 Pedro Alves <palves@redhat.com>
4578 * gdb.base/printcmds.exp: Add tests.
4580 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4583 * gdb.base/reread-readsym.exp: New file.
4584 * gdb.base/reread-readsym.c: New file.
4586 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4588 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4591 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4593 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4595 * gdb.arch/powerpc-power9.s: Likewise.
4597 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4599 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4600 on 32-bit x86 targets. Exploit is_*_target macros where
4603 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4608 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4610 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4611 located in one or more DWARF pieces.
4613 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615 * lib/gdb.exp (get_endianness): New proc.
4616 * gdb.arch/aarch64-fp.exp: Use it.
4617 * gdb.arch/altivec-regs.exp: Likewise.
4618 * gdb.arch/e500-regs.exp: Likewise.
4619 * gdb.arch/vsx-regs.exp: Likewise.
4620 * gdb.base/dump.exp: Likewise.
4621 * gdb.base/funcargs.exp: Likewise.
4622 * gdb.base/gnu_vector.exp: Likewise.
4623 * gdb.dwarf2/formdata16.exp: Likewise.
4624 * gdb.dwarf2/implptrpiece.exp: Likewise.
4625 * gdb.dwarf2/nonvar-access.exp: Likewise.
4626 * gdb.python/py-inferior.exp: Likewise.
4627 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4629 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4633 stack value pieces are taken from the LSB end.
4635 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4637 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4638 variable at nonzero offset.
4640 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642 * gdb.dwarf2/var-access.c: New file.
4643 * gdb.dwarf2/var-access.exp: New test.
4644 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4646 2017-06-12 Tom Tromey <tom@tromey.com>
4648 * gdb.dwarf2/formdata16.exp: Add tests.
4650 2017-06-12 Tom Tromey <tom@tromey.com>
4652 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4654 2017-06-12 Tom Tromey <tom@tromey.com>
4657 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4658 * gdb.arch/vsx-regs.exp: Update tests.
4659 * gdb.arch/s390-vregs.exp (hex128): New proc.
4661 * gdb.arch/altivec-regs.exp: Update tests.
4663 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4665 * gdb.base/startup-with-shell.c: New file.
4666 * gdb.base/startup-with-shell.exp: Likewise.
4668 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4670 * gdb.server/non-existing-program.exp: Update regex in order to
4671 reflect the fact that gdbserver is now using fork_inferior (with a
4672 shell) to startup the inferior.
4674 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4676 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4677 support function calls from GDB.
4679 2017-05-21 Tom Tromey <tom@tromey.com>
4682 * gdb.rust/unsized.exp: New file.
4683 * gdb.rust/unsized.rs: New file.
4685 2017-05-19 Tom Tromey <tom@tromey.com>
4688 * gdb.rust/watch.exp: New file.
4689 * gdb.rust/watch.rs: New file.
4691 2017-05-18 Tom Tromey <tom@tromey.com>
4693 * gdb.rust/simple.exp: Allow Box to be qualified.
4695 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4697 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4699 2017-05-18 Pedro Alves <palves@redhat.com>
4701 * gdb.base/fileio.c (test_write, test_read, test_close)
4702 (test_fstat): Don't print 'ret' in the fail path.
4704 2017-05-18 Pedro Alves <palves@redhat.com>
4706 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4707 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4708 (test_system, test_rename, test_unlink, test_time): Change
4710 * gdb.base/fileio.exp (stop_msg): Adjust.
4712 2017-05-18 Pedro Alves <palves@redhat.com>
4714 * gdb.base/fileio.c (null_str): New global.
4715 (test_stat): Use it.
4716 * gdb.base/fileio.exp: Remove nowarnings.
4718 2017-05-17 Yao Qi <yao.qi@linaro.org>
4720 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4722 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4724 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4726 (top-level): Invoke test_set_inferior_tty.
4728 2017-05-04 Pedro Alves <palves@redhat.com>
4730 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4731 Add parens to print call for Python 3.
4733 2017-05-03 Keith Seitz <keiths@redhat.com>
4735 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4738 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4740 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4743 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4745 * gdb.python/py-record-btrace.exp: Remove test for
4746 gdb.BtraceInstruction.error.
4748 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4750 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4752 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4754 * gdb.python/py-record-btrace-threads.c: New file.
4755 * gdb.python/py-record-btrace-threads.exp: New file.
4757 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4760 * gdb.base/environ.exp: Make test available in all architectures.
4761 Move bits related to "info program" testing to
4762 gdb.base/info-program.exp. Rewrite tests to use the two new
4763 procedures mentione below.
4764 (test_set_show_env_var) New procedure.
4765 (test_set_show_env_var_equal): Likewise.
4766 * gdb.base/info-program.exp: New file.
4768 2017-04-27 Keith Seitz <keiths@redhat.com>
4770 * gdb.cp/oranking.cc (test15): New function.
4771 (main): Call test15 and declare additional variables for testing.
4772 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4773 "p foo101('abc')" tests.
4774 Add tests for cv qualifier overloads.
4775 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4776 "lvalue reference overload" test.
4777 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4778 "print value of f1 on Child&& in f2" test.
4780 2017-04-19 Pedro Alves <palves@redhat.com>
4782 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4784 (top level): Call it.
4785 * lib/gdb.exp (gdb_define_cmd): New procedure.
4787 2017-04-12 Pedro Alves <palves@redhat.com>
4790 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4791 (wchar): New global.
4792 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4793 (do_test_wide_char, wide_char_types_no_program, top level): Add
4796 2017-04-12 Pedro Alves <palves@redhat.com>
4799 * gdb.cp/wide_char_types.c: New file.
4800 * gdb.cp/wide_char_types.exp: New file.
4802 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4805 * gdb.trace/tsv.exp: Add test for "tsave -r".
4807 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4809 * gdb.dlang/watch-loc.c: New file.
4810 * gdb.dlang/watch-loc.exp: New file.
4812 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4814 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4816 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4818 * gdb.arch/arc-analyze-prologue.S: New file.
4819 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4821 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4823 * gdb.arch/arc-decode-insn.S: New file.
4824 * gdb.arch/arc-decode-insn.exp: Likewise.
4826 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4829 * gdb.arch/sparc64-regs.exp: New file.
4830 * gdb.arch/sparc64-regs.S: Likewise.
4832 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4834 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4835 and memory view on Python 3.
4837 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4838 Keith Seitz <keiths@redhat.com>
4841 * gdb.cp/demangle.exp: Add rvalue reference tests.
4842 * gdb.cp/rvalue-ref-casts.cc: New file.
4843 * gdb.cp/rvalue-ref-casts.exp: New file.
4844 * gdb.cp/rvalue-ref-overload.cc: New file.
4845 * gdb.cp/rvalue-ref-overload.exp: New file.
4846 * gdb.cp/rvalue-ref-params.cc: New file.
4847 * gdb.cp/rvalue-ref-params.exp: New file.
4848 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4849 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4850 * gdb.cp/rvalue-ref-types.cc: New file.
4851 * gdb.cp/rvalue-ref-types.exp: New file.
4852 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4853 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4855 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4857 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4860 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4862 * lib/mi-support.exp (mi_gdb_test): Add additional message
4863 for unexpected output.
4865 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4867 * gdb.base/examine-backward.c (Barrier): New character array
4868 constant, to ensure that TestStrings is preceded by a string
4871 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4873 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4874 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4875 and implicit pointer into such a location.
4877 2017-03-16 Doug Evans <dje@google.com>
4879 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4881 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4883 * gdb.cp/m-static.exp: Fix expectation for prototype of
4884 test5.single_constructor and single_constructor::single_constructor.
4886 2017-03-16 Doug Evans <dje@google.com>
4888 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4889 * gdb.guile/scm-lazy-string.c: New file.
4890 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4891 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4892 for pointer, array, typedef lazy strings.
4894 2017-03-16 Doug Evans <dje@google.com>
4896 PR python/17728, python/18439, python/18779
4897 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4898 * gdb.python/py-lazy-string.c (pointer): New typedef.
4899 (main): New locals ptr, array, typedef_ptr.
4900 * gdb.python/py-value.exp: Move lazy string tests to ...
4901 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4902 array, typedef lazy strings.
4904 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4906 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4907 Add optional 'test' parameter.
4909 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4911 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4912 Skip for versions of DejaGnu < 1.5.
4914 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4916 * lib/gdb.exp (dejagnu_version): New proc.
4917 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4918 Use dejagnu_version.
4920 2017-03-10 Keith Seitz <keiths@redhat.com>
4923 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4924 type from destructor regexps.
4925 Add a branch which actually passes the test.
4926 Adjust "ptype t5i" test names.
4928 2017-03-08 Pedro Alves <palves@redhat.com>
4930 * gdb.base/step-over-exit.exp: Add explicit test message.
4932 2017-03-08 Pedro Alves <palves@redhat.com>
4935 * gdb.threads/interrupt-while-step-over.c: New file.
4936 * gdb.threads/interrupt-while-step-over.exp: New file.
4938 2017-03-08 Pedro Alves <palves@redhat.com>
4940 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4941 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4943 2017-03-08 Pedro Alves <palves@redhat.com>
4945 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4946 PKRU as not supported as a PASS.
4948 2017-03-08 Pedro Alves <palves@redhat.com>
4950 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4951 prefix instead of $binfile1/$binfile2.
4952 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4954 * gdb.python/py-completion.exp: Use "load python file" as test
4955 messages instead of unstable path names.
4957 2017-03-08 Pedro Alves <palves@redhat.com>
4958 Jan Kratochvil <jan.kratochvil@redhat.com>
4961 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4963 (top level): Call it.
4965 2017-03-08 Pedro Alves <palves@redhat.com>
4968 * gdb.tui/tui-nl-filtered-output.exp: New file.
4970 2017-03-08 Pedro Alves <palves@redhat.com>
4972 * gdb.base/completion.exp: Move TUI completion tests to ...
4973 * gdb.tui/completion.exp: ... this new file.
4975 2017-03-08 Pedro Alves <palves@redhat.com>
4977 * gdb.base/tui-disasm-long-lines.c,
4978 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4979 gdb.base/tui-layout.exp: Move to ...
4980 * gdb.tui/: ... this new directory.
4982 2017-03-07 Pedro Alves <palves@redhat.com>
4984 * gdb.base/tui-layout.c: New file.
4985 * gdb.base/tui-layout.exp: New file.
4987 2017-03-07 Pedro Alves <palves@redhat.com>
4989 * gdb.base/tui-layout.c: Rename to ...
4990 * gdb.base/tui-disasm-long-lines.c: ... this.
4991 * gdb.base/tui-layout.exp: Rename to ...
4992 * gdb.base/tui-disasm-long-lines.exp: ... this.
4994 2017-03-07 Pedro Alves <palves@redhat.com>
4996 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4998 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5000 * i386-mpx-call.c: New file.
5001 * i386-mpx-call.exp: New file.
5003 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5005 * gdb.arch/powerpc-power.exp: Delete test.
5006 * gdb.arch/powerpc-power.s: Likewise.
5007 * gdb.disasm/disassembler-options.exp: New test.
5008 * gdb.arch/powerpc-altivec.exp: Likewise.
5009 * gdb.arch/powerpc-altivec.s: Likewise.
5010 * gdb.arch/powerpc-altivec2.exp: Likewise.
5011 * gdb.arch/powerpc-altivec2.s: Likewise.
5012 * gdb.arch/powerpc-altivec3.exp: Likewise.
5013 * gdb.arch/powerpc-altivec3.s: Likewise.
5014 * gdb.arch/powerpc-power7.exp: Likewise.
5015 * gdb.arch/powerpc-power7.s: Likewise.
5016 * gdb.arch/powerpc-power8.exp: Likewise.
5017 * gdb.arch/powerpc-power8.s: Likewise.
5018 * gdb.arch/powerpc-power9.exp: Likewise.
5019 * gdb.arch/powerpc-power9.s: Likewise.
5020 * gdb.arch/powerpc-vsx.exp: Likewise.
5021 * gdb.arch/powerpc-vsx.s: Likewise.
5022 * gdb.arch/powerpc-vsx2.exp: Likewise.
5023 * gdb.arch/powerpc-vsx2.s: Likewise.
5024 * gdb.arch/powerpc-vsx3.exp: Likewise.
5025 * gdb.arch/powerpc-vsx3.s: Likewise.
5026 * gdb.arch/arm-disassembler-options.exp: Likewise.
5027 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5028 * gdb.arch/s390-disassembler-options.exp: Likewise.
5030 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5032 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5033 (check_supported_features): ... this. Changed return type to void.
5034 (supports_rdseed): New static global.
5035 (rdseed): Check supports_rdseed.
5036 (initialize): Call check_supported_features.
5038 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5040 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5041 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5043 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5044 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5046 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5048 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5051 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5053 * gdb.dwarf2/formdata16.c: New file.
5054 * gdb.dwarf2/formdata16.exp: New file.
5055 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5057 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5059 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5060 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5061 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5062 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5065 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5067 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5069 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5072 * gdb.base/maint.exp: Add testcases for when the commands do
5075 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5077 * gdb.cp/chained-calls.exp: Use p instead of P.
5079 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5081 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5082 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5084 2017-02-14 Tom Tromey <tom@tromey.com>
5087 * gdb.python/py-events.exp: Add before_prompt event tests.
5089 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5091 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5093 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5095 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5096 (main): Call my_unique_function_name.
5097 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5098 completion of patterns with a single match.
5099 Add missing -re switches to gdb_test_multiple calls.
5101 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5103 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5104 return if core file is not recognized.
5106 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5108 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5111 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5113 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5116 2017-02-10 Tom Tromey <tom@tromey.com>
5118 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5120 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5123 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5125 2017-02-08 Jerome Guitton <guitton@adacore.com>
5127 * gdb.base/define.exp: Add test for command abbreviations
5130 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5132 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5133 * gdb.reverse/insn-reverse-x86.c: New file.
5135 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5138 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5140 2017-02-03 Tom Tromey <tom@tromey.com>
5143 * gdb.rust/simple.exp: Add new tests.
5145 2017-02-02 Pedro Alves <palves@redhat.com>
5147 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5150 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5152 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5153 taking a 2-byte value out of a 4-byte DWARF implicit value on
5155 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5156 logic. Add test cases for DW_OP_implicit.
5158 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5160 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5162 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5164 * gdb.btrace/enable.exp: Call gdb_exit before
5165 skip_gdbserver_tests.
5167 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5169 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5172 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5174 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5175 the test is skipped.
5176 * gdb.btrace/data.exp: Likewise.
5177 * gdb.btrace/delta.exp: Likewise.
5178 * gdb.btrace/dlopen.exp: Likewise.
5179 * gdb.btrace/enable-running.exp: Likewise.
5180 * gdb.btrace/enable.exp: Likewise.
5181 * gdb.btrace/exception.exp: Likewise.
5182 * gdb.btrace/function_call_history.exp: Likewise.
5183 * gdb.btrace/gcore.exp: Likewise.
5184 * gdb.btrace/instruction_history.exp: Likewise.
5185 * gdb.btrace/multi-thread-step.exp: Likewise.
5186 * gdb.btrace/nohist.exp: Likewise.
5187 * gdb.btrace/non-stop.exp: Likewise.
5188 * gdb.btrace/reconnect.exp: Likewise.
5189 * gdb.btrace/record_goto-step.exp: Likewise.
5190 * gdb.btrace/record_goto.exp: Likewise.
5191 * gdb.btrace/rn-dl-bind.exp: Likewise.
5192 * gdb.btrace/segv.exp: Likewise.
5193 * gdb.btrace/step.exp: Likewise.
5194 * gdb.btrace/stepi.exp: Likewise.
5195 * gdb.btrace/tailcall-only.exp: Likewise.
5196 * gdb.btrace/tailcall.exp: Likewise.
5197 * gdb.btrace/tsx.exp: Likewise.
5198 * gdb.btrace/unknown_functions.exp: Likewise.
5199 * gdb.btrace/vdso.exp: Likewise.
5201 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5203 * gdb.btrace/enable-running.c: New.
5204 * gdb.btrace/enable-running.exp: New.
5206 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5208 * gdb.arch/amd64-gs_base.c: New file.
5209 * gdb.arch/amd64-gs_base.exp: New file.
5211 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5213 * lib/memory.exp: Remove spurious empty newlines.
5215 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5217 * gdb.python/py-bad-printers.exp: Load python file using "source".
5218 * gdb.python/py-events.exp: Likewise.
5219 * gdb.python/py-evsignal.exp: Likewise.
5220 * gdb.python/py-evthreads.exp: Likewise.
5221 * gdb.python/py-frame-args.exp: Likewise.
5222 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5223 * gdb.python/py-framefilter-mi.exp: Likewise.
5224 * gdb.python/py-framefilter.exp: Likewise.
5225 * gdb.python/py-mi.exp: Likewise.
5226 * gdb.python/py-pp-maint.exp: Likewise.
5227 * gdb.python/py-pp-registration.exp: Likewise.
5228 * gdb.python/py-prettyprint.exp: Likewise.
5229 (run_lang_tests): Likewise.
5230 * gdb.python/py-typeprint.exp: Likewise.
5232 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5234 * lib/memory.exp: New file.
5235 * lib/gdb.exp: Load memory.exp.
5236 * gdb.base/memattr.exp (delete_memory): Move proc to
5237 lib/memory.exp and rename to delete_memory_regions.
5238 Replace delete_memory with delete_memory_regions.
5239 Cleanup memory regions before tests.
5240 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5243 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5245 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5247 (initialize): New function conditionally defined.
5248 (testcases): Move within conditional block.
5249 (main): Call initialize.
5250 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5251 of gdb.reverse/insn-reverse.c.
5252 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5253 gdb.reverse/insn-reverse.c.
5255 2017-01-26 Yao Qi <yao.qi@linaro.org>
5257 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5258 disassemble on address 0.
5260 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5261 Yao Qi <yao.qi@linaro.org>
5263 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5264 * gdb.dwarf2/implptr-64bit.S: Remove.
5265 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5266 variables in caller's context. Add DW_OP_implicit_value.
5268 2017-01-25 Yao Qi <yao.qi@linaro.org>
5270 * lib/dwarf.exp (Dwarf::_location): Handle
5271 DW_OP_GNU_implicit_pointer with proper size.
5273 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5275 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5276 and add untested calls.
5278 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5280 * gdb.python/python.exp: Check line number against what GDB thinks
5281 the line number is for func1.
5283 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5285 * gdb.dlang/debug-expr.exp: New file.
5287 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5289 Fix test names for the following files:
5291 * gdb.ada/exec_changed.exp
5292 * gdb.ada/info_types.exp
5293 * gdb.arch/aarch64-atomic-inst.exp
5294 * gdb.arch/aarch64-fp.exp
5295 * gdb.arch/altivec-abi.exp
5296 * gdb.arch/altivec-regs.exp
5297 * gdb.arch/amd64-byte.exp
5298 * gdb.arch/amd64-disp-step.exp
5299 * gdb.arch/amd64-dword.exp
5300 * gdb.arch/amd64-entry-value-inline.exp
5301 * gdb.arch/amd64-entry-value-param.exp
5302 * gdb.arch/amd64-entry-value-paramref.exp
5303 * gdb.arch/amd64-entry-value.exp
5304 * gdb.arch/amd64-i386-address.exp
5305 * gdb.arch/amd64-invalid-stack-middle.exp
5306 * gdb.arch/amd64-invalid-stack-top.exp
5307 * gdb.arch/amd64-optimout-repeat.exp
5308 * gdb.arch/amd64-prologue-skip.exp
5309 * gdb.arch/amd64-prologue-xmm.exp
5310 * gdb.arch/amd64-stap-special-operands.exp
5311 * gdb.arch/amd64-stap-wrong-subexp.exp
5312 * gdb.arch/amd64-tailcall-cxx.exp
5313 * gdb.arch/amd64-tailcall-noret.exp
5314 * gdb.arch/amd64-tailcall-ret.exp
5315 * gdb.arch/amd64-tailcall-self.exp
5316 * gdb.arch/amd64-word.exp
5317 * gdb.arch/arm-bl-branch-dest.exp
5318 * gdb.arch/arm-disp-step.exp
5319 * gdb.arch/arm-neon.exp
5320 * gdb.arch/arm-single-step-kernel-helper.exp
5321 * gdb.arch/avr-flash-qualifier.exp
5322 * gdb.arch/disp-step-insn-reloc.exp
5323 * gdb.arch/e500-abi.exp
5324 * gdb.arch/e500-regs.exp
5325 * gdb.arch/ftrace-insn-reloc.exp
5326 * gdb.arch/i386-avx512.exp
5327 * gdb.arch/i386-bp_permanent.exp
5328 * gdb.arch/i386-byte.exp
5329 * gdb.arch/i386-cfi-notcurrent.exp
5330 * gdb.arch/i386-disp-step.exp
5331 * gdb.arch/i386-dr3-watch.exp
5332 * gdb.arch/i386-float.exp
5333 * gdb.arch/i386-gnu-cfi.exp
5334 * gdb.arch/i386-mpx-map.exp
5335 * gdb.arch/i386-mpx-sigsegv.exp
5336 * gdb.arch/i386-mpx-simple_segv.exp
5337 * gdb.arch/i386-mpx.exp
5338 * gdb.arch/i386-permbkpt.exp
5339 * gdb.arch/i386-prologue.exp
5340 * gdb.arch/i386-signal.exp
5341 * gdb.arch/i386-size-overlap.exp
5342 * gdb.arch/i386-unwind.exp
5343 * gdb.arch/i386-word.exp
5344 * gdb.arch/mips-fcr.exp
5345 * gdb.arch/powerpc-d128-regs.exp
5346 * gdb.arch/powerpc-stackless.exp
5347 * gdb.arch/ppc64-atomic-inst.exp
5348 * gdb.arch/s390-stackless.exp
5349 * gdb.arch/s390-tdbregs.exp
5350 * gdb.arch/s390-vregs.exp
5351 * gdb.arch/sparc-sysstep.exp
5352 * gdb.arch/thumb-bx-pc.exp
5353 * gdb.arch/thumb-singlestep.exp
5354 * gdb.arch/thumb2-it.exp
5355 * gdb.arch/vsx-regs.exp
5356 * gdb.asm/asm-source.exp
5357 * gdb.base/a2-run.exp
5358 * gdb.base/advance.exp
5359 * gdb.base/all-bin.exp
5362 * gdb.base/arithmet.exp
5363 * gdb.base/async-shell.exp
5364 * gdb.base/async.exp
5365 * gdb.base/attach-pie-noexec.exp
5366 * gdb.base/attach-twice.exp
5367 * gdb.base/auto-load.exp
5369 * gdb.base/bitfields.exp
5370 * gdb.base/break-always.exp
5371 * gdb.base/break-caller-line.exp
5372 * gdb.base/break-entry.exp
5373 * gdb.base/break-inline.exp
5374 * gdb.base/break-on-linker-gcd-function.exp
5375 * gdb.base/break-probes.exp
5376 * gdb.base/break.exp
5377 * gdb.base/breakpoint-shadow.exp
5378 * gdb.base/call-ar-st.exp
5379 * gdb.base/call-sc.exp
5380 * gdb.base/call-signal-resume.exp
5381 * gdb.base/call-strs.exp
5382 * gdb.base/callfuncs.exp
5383 * gdb.base/catch-fork-static.exp
5384 * gdb.base/catch-gdb-caused-signals.exp
5385 * gdb.base/catch-load.exp
5386 * gdb.base/catch-signal-fork.exp
5387 * gdb.base/catch-signal.exp
5388 * gdb.base/catch-syscall.exp
5389 * gdb.base/charset.exp
5390 * gdb.base/checkpoint.exp
5391 * gdb.base/chng-syms.exp
5392 * gdb.base/code-expr.exp
5393 * gdb.base/code_elim.exp
5394 * gdb.base/commands.exp
5395 * gdb.base/completion.exp
5396 * gdb.base/complex.exp
5397 * gdb.base/cond-expr.exp
5398 * gdb.base/condbreak.exp
5399 * gdb.base/consecutive.exp
5400 * gdb.base/continue-all-already-running.exp
5401 * gdb.base/coredump-filter.exp
5402 * gdb.base/corefile.exp
5404 * gdb.base/debug-expr.exp
5405 * gdb.base/define.exp
5407 * gdb.base/disabled-location.exp
5408 * gdb.base/disasm-end-cu.exp
5409 * gdb.base/disasm-optim.exp
5410 * gdb.base/display.exp
5411 * gdb.base/duplicate-bp.exp
5412 * gdb.base/ena-dis-br.exp
5413 * gdb.base/ending-run.exp
5414 * gdb.base/enumval.exp
5415 * gdb.base/environ.exp
5416 * gdb.base/eu-strip-infcall.exp
5417 * gdb.base/eval-avoid-side-effects.exp
5418 * gdb.base/eval-skip.exp
5419 * gdb.base/exitsignal.exp
5420 * gdb.base/expand-psymtabs.exp
5421 * gdb.base/filesym.exp
5422 * gdb.base/find-unmapped.exp
5423 * gdb.base/finish.exp
5424 * gdb.base/float.exp
5425 * gdb.base/foll-exec-mode.exp
5426 * gdb.base/foll-exec.exp
5427 * gdb.base/foll-fork.exp
5428 * gdb.base/fortran-sym-case.exp
5429 * gdb.base/freebpcmd.exp
5430 * gdb.base/func-ptr.exp
5431 * gdb.base/func-ptrs.exp
5432 * gdb.base/funcargs.exp
5433 * gdb.base/gcore-buffer-overflow.exp
5434 * gdb.base/gcore-relro-pie.exp
5435 * gdb.base/gcore-relro.exp
5436 * gdb.base/gcore.exp
5437 * gdb.base/gdb1090.exp
5438 * gdb.base/gdb11530.exp
5439 * gdb.base/gdb11531.exp
5440 * gdb.base/gdb1821.exp
5441 * gdb.base/gdbindex-stabs.exp
5442 * gdb.base/gdbvars.exp
5443 * gdb.base/hbreak.exp
5444 * gdb.base/hbreak2.exp
5445 * gdb.base/included.exp
5446 * gdb.base/infcall-input.exp
5447 * gdb.base/inferior-died.exp
5448 * gdb.base/infnan.exp
5449 * gdb.base/info-macros.exp
5450 * gdb.base/info-os.exp
5451 * gdb.base/info-proc.exp
5452 * gdb.base/info-shared.exp
5453 * gdb.base/info-target.exp
5454 * gdb.base/infoline.exp
5455 * gdb.base/interp.exp
5456 * gdb.base/interrupt.exp
5457 * gdb.base/jit-reader.exp
5458 * gdb.base/jit-simple.exp
5459 * gdb.base/kill-after-signal.exp
5460 * gdb.base/kill-detach-inferiors-cmd.exp
5461 * gdb.base/label.exp
5462 * gdb.base/langs.exp
5463 * gdb.base/ldbl_e308.exp
5464 * gdb.base/line-symtabs.exp
5465 * gdb.base/linespecs.exp
5467 * gdb.base/long_long.exp
5468 * gdb.base/longest-types.exp
5469 * gdb.base/maint.exp
5470 * gdb.base/max-value-size.exp
5471 * gdb.base/memattr.exp
5472 * gdb.base/mips_pro.exp
5473 * gdb.base/morestack.exp
5474 * gdb.base/moribund-step.exp
5475 * gdb.base/multi-forks.exp
5476 * gdb.base/nested-addr.exp
5477 * gdb.base/nextoverexit.exp
5478 * gdb.base/noreturn-finish.exp
5479 * gdb.base/noreturn-return.exp
5480 * gdb.base/nostdlib.exp
5481 * gdb.base/offsets.exp
5482 * gdb.base/opaque.exp
5483 * gdb.base/pc-fp.exp
5484 * gdb.base/permissions.exp
5485 * gdb.base/print-symbol-loading.exp
5486 * gdb.base/prologue-include.exp
5487 * gdb.base/psymtab.exp
5488 * gdb.base/ptype.exp
5489 * gdb.base/random-signal.exp
5490 * gdb.base/randomize.exp
5491 * gdb.base/range-stepping.exp
5492 * gdb.base/readline-ask.exp
5493 * gdb.base/recpar.exp
5494 * gdb.base/recurse.exp
5495 * gdb.base/relational.exp
5496 * gdb.base/restore.exp
5497 * gdb.base/return-nodebug.exp
5498 * gdb.base/return.exp
5499 * gdb.base/run-after-attach.exp
5500 * gdb.base/save-bp.exp
5501 * gdb.base/scope.exp
5502 * gdb.base/sect-cmd.exp
5503 * gdb.base/set-lang-auto.exp
5504 * gdb.base/set-noassign.exp
5505 * gdb.base/setvar.exp
5506 * gdb.base/sigall.exp
5507 * gdb.base/sigbpt.exp
5508 * gdb.base/siginfo-addr.exp
5509 * gdb.base/siginfo-infcall.exp
5510 * gdb.base/siginfo-obj.exp
5511 * gdb.base/siginfo.exp
5512 * gdb.base/signals-state-child.exp
5513 * gdb.base/signest.exp
5514 * gdb.base/sigstep.exp
5515 * gdb.base/sizeof.exp
5517 * gdb.base/solib-corrupted.exp
5518 * gdb.base/solib-nodir.exp
5519 * gdb.base/solib-search.exp
5520 * gdb.base/stack-checking.exp
5521 * gdb.base/stale-infcall.exp
5522 * gdb.base/stap-probe.exp
5523 * gdb.base/start.exp
5524 * gdb.base/step-break.exp
5525 * gdb.base/step-bt.exp
5526 * gdb.base/step-line.exp
5527 * gdb.base/step-over-exit.exp
5528 * gdb.base/step-over-syscall.exp
5529 * gdb.base/step-resume-infcall.exp
5530 * gdb.base/step-test.exp
5531 * gdb.base/store.exp
5532 * gdb.base/structs3.exp
5533 * gdb.base/sym-file.exp
5534 * gdb.base/symbol-without-target_section.exp
5536 * gdb.base/testenv.exp
5537 * gdb.base/ui-redirect.exp
5538 * gdb.base/until.exp
5539 * gdb.base/unwindonsignal.exp
5540 * gdb.base/value-double-free.exp
5541 * gdb.base/vla-datatypes.exp
5542 * gdb.base/vla-ptr.exp
5543 * gdb.base/vla-sideeffect.exp
5544 * gdb.base/volatile.exp
5545 * gdb.base/watch-cond-infcall.exp
5546 * gdb.base/watch-cond.exp
5547 * gdb.base/watch-non-mem.exp
5548 * gdb.base/watch-read.exp
5549 * gdb.base/watch-vfork.exp
5550 * gdb.base/watchpoint-cond-gone.exp
5551 * gdb.base/watchpoint-delete.exp
5552 * gdb.base/watchpoint-hw-hit-once.exp
5553 * gdb.base/watchpoint-hw.exp
5554 * gdb.base/watchpoint-stops-at-right-insn.exp
5555 * gdb.base/watchpoints.exp
5556 * gdb.base/wchar.exp
5557 * gdb.base/whatis-exp.exp
5558 * gdb.btrace/buffer-size.exp
5559 * gdb.btrace/data.exp
5560 * gdb.btrace/delta.exp
5561 * gdb.btrace/dlopen.exp
5562 * gdb.btrace/enable.exp
5563 * gdb.btrace/exception.exp
5564 * gdb.btrace/function_call_history.exp
5565 * gdb.btrace/gcore.exp
5566 * gdb.btrace/instruction_history.exp
5567 * gdb.btrace/nohist.exp
5568 * gdb.btrace/reconnect.exp
5569 * gdb.btrace/record_goto-step.exp
5570 * gdb.btrace/record_goto.exp
5571 * gdb.btrace/rn-dl-bind.exp
5572 * gdb.btrace/segv.exp
5573 * gdb.btrace/step.exp
5574 * gdb.btrace/stepi.exp
5575 * gdb.btrace/tailcall-only.exp
5576 * gdb.btrace/tailcall.exp
5577 * gdb.btrace/tsx.exp
5578 * gdb.btrace/unknown_functions.exp
5579 * gdb.btrace/vdso.exp
5580 * gdb.compile/compile-ifunc.exp
5581 * gdb.compile/compile-ops.exp
5582 * gdb.compile/compile-print.exp
5583 * gdb.compile/compile-setjmp.exp
5584 * gdb.cp/abstract-origin.exp
5585 * gdb.cp/ambiguous.exp
5586 * gdb.cp/annota2.exp
5587 * gdb.cp/annota3.exp
5588 * gdb.cp/anon-ns.exp
5589 * gdb.cp/anon-struct.exp
5590 * gdb.cp/anon-union.exp
5591 * gdb.cp/arg-reference.exp
5592 * gdb.cp/baseenum.exp
5594 * gdb.cp/breakpoint.exp
5595 * gdb.cp/bs15503.exp
5598 * gdb.cp/chained-calls.exp
5600 * gdb.cp/classes.exp
5601 * gdb.cp/cmpd-minsyms.exp
5602 * gdb.cp/converts.exp
5603 * gdb.cp/cp-relocate.exp
5604 * gdb.cp/cpcompletion.exp
5605 * gdb.cp/cpexprs.exp
5606 * gdb.cp/cplabel.exp
5607 * gdb.cp/cplusfuncs.exp
5608 * gdb.cp/cpsizeof.exp
5610 * gdb.cp/derivation.exp
5611 * gdb.cp/destrprint.exp
5612 * gdb.cp/dispcxx.exp
5613 * gdb.cp/enum-class.exp
5614 * gdb.cp/exception.exp
5615 * gdb.cp/exceptprint.exp
5616 * gdb.cp/expand-psymtabs-cxx.exp
5617 * gdb.cp/expand-sals.exp
5618 * gdb.cp/extern-c.exp
5619 * gdb.cp/filename.exp
5620 * gdb.cp/formatted-ref.exp
5621 * gdb.cp/fpointer.exp
5622 * gdb.cp/gdb1355.exp
5623 * gdb.cp/gdb2495.exp
5625 * gdb.cp/impl-this.exp
5626 * gdb.cp/infcall-dlopen.exp
5627 * gdb.cp/inherit.exp
5628 * gdb.cp/iostream.exp
5632 * gdb.cp/m-static.exp
5633 * gdb.cp/mb-ctor.exp
5634 * gdb.cp/mb-inline.exp
5635 * gdb.cp/mb-templates.exp
5636 * gdb.cp/member-name.exp
5637 * gdb.cp/member-ptr.exp
5638 * gdb.cp/meth-typedefs.exp
5640 * gdb.cp/method2.exp
5641 * gdb.cp/minsym-fallback.exp
5643 * gdb.cp/namelessclass.exp
5644 * gdb.cp/namespace-enum.exp
5645 * gdb.cp/namespace-nested-import.exp
5646 * gdb.cp/namespace.exp
5647 * gdb.cp/nextoverthrow.exp
5648 * gdb.cp/no-dmgl-verbose.exp
5649 * gdb.cp/non-trivial-retval.exp
5650 * gdb.cp/noparam.exp
5652 * gdb.cp/nsimport.exp
5653 * gdb.cp/nsnested.exp
5654 * gdb.cp/nsnoimports.exp
5655 * gdb.cp/nsrecurs.exp
5656 * gdb.cp/nsstress.exp
5657 * gdb.cp/nsusing.exp
5658 * gdb.cp/operator.exp
5659 * gdb.cp/oranking.exp
5660 * gdb.cp/overload-const.exp
5661 * gdb.cp/overload.exp
5662 * gdb.cp/ovldbreak.exp
5664 * gdb.cp/paren-type.exp
5665 * gdb.cp/parse-lang.exp
5666 * gdb.cp/pass-by-ref.exp
5667 * gdb.cp/pr-1023.exp
5668 * gdb.cp/pr-1210.exp
5670 * gdb.cp/pr10687.exp
5671 * gdb.cp/pr12028.exp
5672 * gdb.cp/pr17132.exp
5673 * gdb.cp/pr17494.exp
5677 * gdb.cp/printmethod.exp
5679 * gdb.cp/psymtab-parameter.exp
5680 * gdb.cp/ptype-cv-cp.exp
5681 * gdb.cp/ptype-flags.exp
5682 * gdb.cp/re-set-overloaded.exp
5683 * gdb.cp/ref-types.exp
5685 * gdb.cp/scope-err.exp
5688 * gdb.cp/static-method.exp
5689 * gdb.cp/static-print-quit.exp
5690 * gdb.cp/temargs.exp
5691 * gdb.cp/templates.exp
5692 * gdb.cp/try_catch.exp
5693 * gdb.cp/typedef-operator.exp
5695 * gdb.cp/userdef.exp
5696 * gdb.cp/using-crash.exp
5697 * gdb.cp/var-tag.exp
5698 * gdb.cp/virtbase.exp
5699 * gdb.cp/virtfunc.exp
5700 * gdb.cp/virtfunc2.exp
5701 * gdb.cp/vla-cxx.exp
5702 * gdb.disasm/t01_mov.exp
5703 * gdb.disasm/t02_mova.exp
5704 * gdb.disasm/t03_add.exp
5705 * gdb.disasm/t04_sub.exp
5706 * gdb.disasm/t05_cmp.exp
5707 * gdb.disasm/t06_ari2.exp
5708 * gdb.disasm/t07_ari3.exp
5709 * gdb.disasm/t08_or.exp
5710 * gdb.disasm/t09_xor.exp
5711 * gdb.disasm/t10_and.exp
5712 * gdb.disasm/t11_logs.exp
5713 * gdb.disasm/t12_bit.exp
5714 * gdb.disasm/t13_otr.exp
5715 * gdb.dlang/circular.exp
5716 * gdb.dwarf2/arr-stride.exp
5717 * gdb.dwarf2/arr-subrange.exp
5718 * gdb.dwarf2/atomic-type.exp
5719 * gdb.dwarf2/bad-regnum.exp
5720 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5721 * gdb.dwarf2/callframecfa.exp
5722 * gdb.dwarf2/clztest.exp
5723 * gdb.dwarf2/corrupt.exp
5724 * gdb.dwarf2/data-loc.exp
5725 * gdb.dwarf2/dup-psym.exp
5726 * gdb.dwarf2/dw2-anon-mptr.exp
5727 * gdb.dwarf2/dw2-anonymous-func.exp
5728 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5729 * gdb.dwarf2/dw2-bad-unresolved.exp
5730 * gdb.dwarf2/dw2-basic.exp
5731 * gdb.dwarf2/dw2-canonicalize-type.exp
5732 * gdb.dwarf2/dw2-case-insensitive.exp
5733 * gdb.dwarf2/dw2-common-block.exp
5734 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5735 * gdb.dwarf2/dw2-compressed.exp
5736 * gdb.dwarf2/dw2-const.exp
5737 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5738 * gdb.dwarf2/dw2-cu-size.exp
5739 * gdb.dwarf2/dw2-dup-frame.exp
5740 * gdb.dwarf2/dw2-entry-value.exp
5741 * gdb.dwarf2/dw2-icycle.exp
5742 * gdb.dwarf2/dw2-ifort-parameter.exp
5743 * gdb.dwarf2/dw2-inline-break.exp
5744 * gdb.dwarf2/dw2-inline-param.exp
5745 * gdb.dwarf2/dw2-intercu.exp
5746 * gdb.dwarf2/dw2-intermix.exp
5747 * gdb.dwarf2/dw2-lexical-block-bare.exp
5748 * gdb.dwarf2/dw2-linkage-name-trust.exp
5749 * gdb.dwarf2/dw2-minsym-in-cu.exp
5750 * gdb.dwarf2/dw2-noloc.exp
5751 * gdb.dwarf2/dw2-op-call.exp
5752 * gdb.dwarf2/dw2-op-out-param.exp
5753 * gdb.dwarf2/dw2-opt-structptr.exp
5754 * gdb.dwarf2/dw2-param-error.exp
5755 * gdb.dwarf2/dw2-producer.exp
5756 * gdb.dwarf2/dw2-ranges-base.exp
5757 * gdb.dwarf2/dw2-ref-missing-frame.exp
5758 * gdb.dwarf2/dw2-reg-undefined.exp
5759 * gdb.dwarf2/dw2-regno-invalid.exp
5760 * gdb.dwarf2/dw2-restore.exp
5761 * gdb.dwarf2/dw2-restrict.exp
5762 * gdb.dwarf2/dw2-single-line-discriminators.exp
5763 * gdb.dwarf2/dw2-strp.exp
5764 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5765 * gdb.dwarf2/dw2-unresolved.exp
5766 * gdb.dwarf2/dw2-var-zero-addr.exp
5767 * gdb.dwarf2/dw4-sig-types.exp
5768 * gdb.dwarf2/dwz.exp
5769 * gdb.dwarf2/dynarr-ptr.exp
5770 * gdb.dwarf2/enum-type.exp
5771 * gdb.dwarf2/gdb-index.exp
5772 * gdb.dwarf2/implptr-64bit.exp
5773 * gdb.dwarf2/implptr-optimized-out.exp
5774 * gdb.dwarf2/implptr.exp
5775 * gdb.dwarf2/implref-array.exp
5776 * gdb.dwarf2/implref-const.exp
5777 * gdb.dwarf2/implref-global.exp
5778 * gdb.dwarf2/implref-struct.exp
5779 * gdb.dwarf2/mac-fileno.exp
5780 * gdb.dwarf2/main-subprogram.exp
5781 * gdb.dwarf2/member-ptr-forwardref.exp
5782 * gdb.dwarf2/method-ptr.exp
5783 * gdb.dwarf2/missing-sig-type.exp
5784 * gdb.dwarf2/nonvar-access.exp
5785 * gdb.dwarf2/opaque-type-lookup.exp
5786 * gdb.dwarf2/pieces-optimized-out.exp
5787 * gdb.dwarf2/pieces.exp
5788 * gdb.dwarf2/pr10770.exp
5789 * gdb.dwarf2/pr13961.exp
5790 * gdb.dwarf2/staticvirtual.exp
5791 * gdb.dwarf2/subrange.exp
5792 * gdb.dwarf2/symtab-producer.exp
5793 * gdb.dwarf2/trace-crash.exp
5794 * gdb.dwarf2/typeddwarf.exp
5795 * gdb.dwarf2/valop.exp
5796 * gdb.dwarf2/watch-notconst.exp
5797 * gdb.fortran/array-element.exp
5798 * gdb.fortran/charset.exp
5799 * gdb.fortran/common-block.exp
5800 * gdb.fortran/complex.exp
5801 * gdb.fortran/derived-type-function.exp
5802 * gdb.fortran/derived-type.exp
5803 * gdb.fortran/logical.exp
5804 * gdb.fortran/module.exp
5805 * gdb.fortran/multi-dim.exp
5806 * gdb.fortran/nested-funcs.exp
5807 * gdb.fortran/print-formatted.exp
5808 * gdb.fortran/subarray.exp
5809 * gdb.fortran/vla-alloc-assoc.exp
5810 * gdb.fortran/vla-datatypes.exp
5811 * gdb.fortran/vla-history.exp
5812 * gdb.fortran/vla-ptr-info.exp
5813 * gdb.fortran/vla-ptype-sub.exp
5814 * gdb.fortran/vla-ptype.exp
5815 * gdb.fortran/vla-sizeof.exp
5816 * gdb.fortran/vla-type.exp
5817 * gdb.fortran/vla-value-sub-arbitrary.exp
5818 * gdb.fortran/vla-value-sub-finish.exp
5819 * gdb.fortran/vla-value-sub.exp
5820 * gdb.fortran/vla-value.exp
5821 * gdb.fortran/whatis_type.exp
5823 * gdb.go/handcall.exp
5825 * gdb.go/integers.exp
5826 * gdb.go/methods.exp
5827 * gdb.go/package.exp
5828 * gdb.go/strings.exp
5831 * gdb.guile/scm-arch.exp
5832 * gdb.guile/scm-block.exp
5833 * gdb.guile/scm-breakpoint.exp
5834 * gdb.guile/scm-cmd.exp
5835 * gdb.guile/scm-disasm.exp
5836 * gdb.guile/scm-equal.exp
5837 * gdb.guile/scm-frame-args.exp
5838 * gdb.guile/scm-frame-inline.exp
5839 * gdb.guile/scm-frame.exp
5840 * gdb.guile/scm-iterator.exp
5841 * gdb.guile/scm-math.exp
5842 * gdb.guile/scm-objfile.exp
5843 * gdb.guile/scm-ports.exp
5844 * gdb.guile/scm-symbol.exp
5845 * gdb.guile/scm-symtab.exp
5846 * gdb.guile/scm-value-cc.exp
5847 * gdb.guile/types-module.exp
5848 * gdb.linespec/break-ask.exp
5849 * gdb.linespec/cpexplicit.exp
5850 * gdb.linespec/explicit.exp
5851 * gdb.linespec/keywords.exp
5852 * gdb.linespec/linespec.exp
5853 * gdb.linespec/ls-dollar.exp
5854 * gdb.linespec/ls-errs.exp
5855 * gdb.linespec/skip-two.exp
5856 * gdb.linespec/thread.exp
5857 * gdb.mi/mi-async.exp
5858 * gdb.mi/mi-basics.exp
5859 * gdb.mi/mi-break.exp
5860 * gdb.mi/mi-catch-load.exp
5862 * gdb.mi/mi-cmd-param-changed.exp
5863 * gdb.mi/mi-console.exp
5864 * gdb.mi/mi-detach.exp
5865 * gdb.mi/mi-disassemble.exp
5866 * gdb.mi/mi-eval.exp
5867 * gdb.mi/mi-file-transfer.exp
5868 * gdb.mi/mi-file.exp
5869 * gdb.mi/mi-fill-memory.exp
5870 * gdb.mi/mi-inheritance-syntax-error.exp
5871 * gdb.mi/mi-linespec-err-cp.exp
5872 * gdb.mi/mi-logging.exp
5873 * gdb.mi/mi-memory-changed.exp
5874 * gdb.mi/mi-read-memory.exp
5875 * gdb.mi/mi-record-changed.exp
5876 * gdb.mi/mi-reg-undefined.exp
5877 * gdb.mi/mi-regs.exp
5878 * gdb.mi/mi-return.exp
5879 * gdb.mi/mi-reverse.exp
5880 * gdb.mi/mi-simplerun.exp
5881 * gdb.mi/mi-solib.exp
5882 * gdb.mi/mi-stack.exp
5883 * gdb.mi/mi-stepi.exp
5884 * gdb.mi/mi-syn-frame.exp
5885 * gdb.mi/mi-until.exp
5886 * gdb.mi/mi-var-block.exp
5887 * gdb.mi/mi-var-child.exp
5888 * gdb.mi/mi-var-cmd.exp
5889 * gdb.mi/mi-var-cp.exp
5890 * gdb.mi/mi-var-display.exp
5891 * gdb.mi/mi-var-invalidate.exp
5892 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5893 * gdb.mi/mi-vla-fortran.exp
5894 * gdb.mi/mi-watch.exp
5895 * gdb.mi/mi2-var-child.exp
5896 * gdb.mi/user-selected-context-sync.exp
5897 * gdb.modula2/unbounded-array.exp
5898 * gdb.multi/dummy-frame-restore.exp
5899 * gdb.multi/multi-arch-exec.exp
5900 * gdb.multi/multi-arch.exp
5901 * gdb.multi/tids.exp
5902 * gdb.multi/watchpoint-multi.exp
5903 * gdb.opencl/callfuncs.exp
5904 * gdb.opencl/convs_casts.exp
5905 * gdb.opencl/datatypes.exp
5906 * gdb.opencl/operators.exp
5907 * gdb.opencl/vec_comps.exp
5908 * gdb.opt/clobbered-registers-O2.exp
5909 * gdb.opt/inline-break.exp
5910 * gdb.opt/inline-bt.exp
5911 * gdb.opt/inline-cmds.exp
5912 * gdb.opt/inline-locals.exp
5913 * gdb.pascal/case-insensitive-symbols.exp
5914 * gdb.pascal/floats.exp
5915 * gdb.pascal/gdb11492.exp
5916 * gdb.python/lib-types.exp
5917 * gdb.python/py-arch.exp
5918 * gdb.python/py-as-string.exp
5919 * gdb.python/py-bad-printers.exp
5920 * gdb.python/py-block.exp
5921 * gdb.python/py-breakpoint-create-fail.exp
5922 * gdb.python/py-breakpoint.exp
5923 * gdb.python/py-caller-is.exp
5924 * gdb.python/py-cmd.exp
5925 * gdb.python/py-explore-cc.exp
5926 * gdb.python/py-explore.exp
5927 * gdb.python/py-finish-breakpoint.exp
5928 * gdb.python/py-finish-breakpoint2.exp
5929 * gdb.python/py-frame-args.exp
5930 * gdb.python/py-frame-inline.exp
5931 * gdb.python/py-frame.exp
5932 * gdb.python/py-framefilter-mi.exp
5933 * gdb.python/py-infthread.exp
5934 * gdb.python/py-lazy-string.exp
5935 * gdb.python/py-linetable.exp
5936 * gdb.python/py-mi-events.exp
5937 * gdb.python/py-mi-objfile.exp
5938 * gdb.python/py-mi.exp
5939 * gdb.python/py-objfile.exp
5940 * gdb.python/py-pp-integral.exp
5941 * gdb.python/py-pp-maint.exp
5942 * gdb.python/py-pp-re-notag.exp
5943 * gdb.python/py-pp-registration.exp
5944 * gdb.python/py-recurse-unwind.exp
5945 * gdb.python/py-strfns.exp
5946 * gdb.python/py-symbol.exp
5947 * gdb.python/py-symtab.exp
5948 * gdb.python/py-sync-interp.exp
5949 * gdb.python/py-typeprint.exp
5950 * gdb.python/py-unwind-maint.exp
5951 * gdb.python/py-unwind.exp
5952 * gdb.python/py-value-cc.exp
5953 * gdb.python/py-xmethods.exp
5954 * gdb.reverse/amd64-tailcall-reverse.exp
5955 * gdb.reverse/break-precsave.exp
5956 * gdb.reverse/break-reverse.exp
5957 * gdb.reverse/consecutive-precsave.exp
5958 * gdb.reverse/consecutive-reverse.exp
5959 * gdb.reverse/finish-precsave.exp
5960 * gdb.reverse/finish-reverse-bkpt.exp
5961 * gdb.reverse/finish-reverse.exp
5962 * gdb.reverse/fstatat-reverse.exp
5963 * gdb.reverse/getresuid-reverse.exp
5964 * gdb.reverse/i386-precsave.exp
5965 * gdb.reverse/i386-reverse.exp
5966 * gdb.reverse/i386-sse-reverse.exp
5967 * gdb.reverse/i387-env-reverse.exp
5968 * gdb.reverse/i387-stack-reverse.exp
5969 * gdb.reverse/insn-reverse.exp
5970 * gdb.reverse/machinestate-precsave.exp
5971 * gdb.reverse/machinestate.exp
5972 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5973 * gdb.reverse/pipe-reverse.exp
5974 * gdb.reverse/readv-reverse.exp
5975 * gdb.reverse/recvmsg-reverse.exp
5976 * gdb.reverse/rerun-prec.exp
5977 * gdb.reverse/s390-mvcle.exp
5978 * gdb.reverse/step-precsave.exp
5979 * gdb.reverse/step-reverse.exp
5980 * gdb.reverse/time-reverse.exp
5981 * gdb.reverse/until-precsave.exp
5982 * gdb.reverse/until-reverse.exp
5983 * gdb.reverse/waitpid-reverse.exp
5984 * gdb.reverse/watch-precsave.exp
5985 * gdb.reverse/watch-reverse.exp
5986 * gdb.rust/generics.exp
5987 * gdb.rust/methods.exp
5988 * gdb.rust/modules.exp
5989 * gdb.rust/simple.exp
5990 * gdb.server/connect-with-no-symbol-file.exp
5991 * gdb.server/ext-attach.exp
5992 * gdb.server/ext-restart.exp
5993 * gdb.server/ext-wrapper.exp
5994 * gdb.server/file-transfer.exp
5995 * gdb.server/server-exec-info.exp
5996 * gdb.server/server-kill.exp
5997 * gdb.server/server-mon.exp
5998 * gdb.server/wrapper.exp
5999 * gdb.stabs/exclfwd.exp
6000 * gdb.stabs/gdb11479.exp
6001 * gdb.threads/clone-new-thread-event.exp
6002 * gdb.threads/corethreads.exp
6003 * gdb.threads/current-lwp-dead.exp
6004 * gdb.threads/dlopen-libpthread.exp
6005 * gdb.threads/gcore-thread.exp
6006 * gdb.threads/sigstep-threads.exp
6007 * gdb.threads/watchpoint-fork.exp
6008 * gdb.trace/actions-changed.exp
6009 * gdb.trace/backtrace.exp
6010 * gdb.trace/change-loc.exp
6011 * gdb.trace/circ.exp
6012 * gdb.trace/collection.exp
6013 * gdb.trace/disconnected-tracing.exp
6014 * gdb.trace/ftrace.exp
6015 * gdb.trace/mi-trace-frame-collected.exp
6016 * gdb.trace/mi-trace-unavailable.exp
6017 * gdb.trace/mi-traceframe-changed.exp
6018 * gdb.trace/mi-tsv-changed.exp
6019 * gdb.trace/no-attach-trace.exp
6020 * gdb.trace/passc-dyn.exp
6021 * gdb.trace/qtro.exp
6022 * gdb.trace/range-stepping.exp
6023 * gdb.trace/read-memory.exp
6024 * gdb.trace/save-trace.exp
6025 * gdb.trace/signal.exp
6026 * gdb.trace/status-stop.exp
6027 * gdb.trace/tfile.exp
6028 * gdb.trace/trace-break.exp
6029 * gdb.trace/trace-buffer-size.exp
6030 * gdb.trace/trace-condition.exp
6031 * gdb.trace/tracefile-pseudo-reg.exp
6032 * gdb.trace/tstatus.exp
6033 * gdb.trace/unavailable.exp
6034 * gdb.trace/while-dyn.exp
6035 * gdb.trace/while-stepping.exp
6037 2016-12-22 Doug Evans <xdje42@gmail.com>
6039 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6042 2016-12-19 Yao Qi <yao.qi@linaro.org>
6044 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6045 (test_with_self): Don't call do_steps_and_nexts, and remove
6046 code about stepping into xmalloc.
6048 2016-12-09 Yao Qi <yao.qi@linaro.org>
6050 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6052 2016-12-09 Yao Qi <yao.qi@linaro.org>
6054 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6056 2016-12-09 Pedro Alves <palves@redhat.com>
6058 * gdb.base/all-architectures-0.exp: New file.
6059 * gdb.base/all-architectures-1.exp: New file.
6060 * gdb.base/all-architectures-2.exp: New file.
6061 * gdb.base/all-architectures-3.exp: New file.
6062 * gdb.base/all-architectures-4.exp: New file.
6063 * gdb.base/all-architectures-5.exp: New file.
6064 * gdb.base/all-architectures-6.exp: New file.
6065 * gdb.base/all-architectures-7.exp: New file.
6066 * gdb.base/all-architectures.exp.in: New file.
6068 2016-12-09 Yao Qi <yao.qi@linaro.org>
6070 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6072 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6074 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6076 Remove useless pattern-matching code.
6078 2016-12-02 Pedro Alves <palves@redhat.com>
6080 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6082 (top level): Call it.
6084 2016-12-02 Pedro Alves <palves@redhat.com>
6086 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6088 (top level): Call it.
6090 2016-12-02 Pedro Alves <palves@redhat.com>
6093 * gdb.base/commands.exp (user_defined_command_args_eval): New
6095 (top level): Call it.
6097 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6099 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6102 2016-12-02 Tom Tromey <tom@tromey.com>
6104 * gdb.dwarf2/main-subprogram.c: New file.
6105 * gdb.dwarf2/main-subprogram.exp: New file.
6107 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6109 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6110 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6111 gdb_test_no_output for a couple of cases.
6112 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6114 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6116 Fix test names and standardize compilation error messages throughout
6117 the following files:
6120 * gdb.arch/alpha-step.exp
6121 * gdb.arch/e500-prologue.exp
6122 * gdb.arch/ftrace-insn-reloc.exp
6123 * gdb.arch/gdb1291.exp
6124 * gdb.arch/gdb1431.exp
6125 * gdb.arch/gdb1558.exp
6126 * gdb.arch/i386-dr3-watch.exp
6127 * gdb.arch/i386-sse-stack-align.exp
6128 * gdb.arch/ia64-breakpoint-shadow.exp
6129 * gdb.arch/pa-nullify.exp
6130 * gdb.arch/powerpc-aix-prologue.exp
6131 * gdb.arch/thumb-bx-pc.exp
6132 * gdb.base/annota1.exp
6133 * gdb.base/annota3.exp
6134 * gdb.base/arrayidx.exp
6135 * gdb.base/assign.exp
6136 * gdb.base/attach.exp
6139 * gdb.base/bfp-test.exp
6140 * gdb.base/bigcore.exp
6141 * gdb.base/bitfields2.exp
6142 * gdb.base/break-fun-addr.exp
6143 * gdb.base/break-probes.exp
6144 * gdb.base/call-rt-st.exp
6145 * gdb.base/callexit.exp
6146 * gdb.base/catch-fork-kill.exp
6147 * gdb.base/charset.exp
6148 * gdb.base/checkpoint.exp
6149 * gdb.base/comprdebug.exp
6150 * gdb.base/constvars.exp
6151 * gdb.base/coredump-filter.exp
6152 * gdb.base/cursal.exp
6153 * gdb.base/cvexpr.exp
6154 * gdb.base/detach.exp
6155 * gdb.base/display.exp
6156 * gdb.base/dmsym.exp
6157 * gdb.base/dprintf-pending.exp
6158 * gdb.base/dso2dso.exp
6159 * gdb.base/dtrace-probe.exp
6161 * gdb.base/enum_cond.exp
6162 * gdb.base/exe-lock.exp
6163 * gdb.base/exec-invalid-sysroot.exp
6164 * gdb.base/execl-update-breakpoints.exp
6165 * gdb.base/exprs.exp
6166 * gdb.base/fileio.exp
6168 * gdb.base/finish.exp
6169 * gdb.base/fixsection.exp
6170 * gdb.base/foll-vfork.exp
6171 * gdb.base/frame-args.exp
6172 * gdb.base/gcore.exp
6173 * gdb.base/gdb1250.exp
6174 * gdb.base/global-var-nested-by-dso.exp
6175 * gdb.base/gnu-ifunc.exp
6176 * gdb.base/hashline1.exp
6177 * gdb.base/hashline2.exp
6178 * gdb.base/hashline3.exp
6179 * gdb.base/hbreak-in-shr-unsupported.exp
6181 * gdb.base/infcall-input.exp
6182 * gdb.base/info-fun.exp
6183 * gdb.base/info-shared.exp
6184 * gdb.base/jit-simple.exp
6185 * gdb.base/jit-so.exp
6188 * gdb.base/label.exp
6189 * gdb.base/lineinc.exp
6190 * gdb.base/logical.exp
6191 * gdb.base/longjmp.exp
6192 * gdb.base/macscp.exp
6193 * gdb.base/miscexprs.exp
6194 * gdb.base/new-ui-echo.exp
6195 * gdb.base/new-ui-pending-input.exp
6196 * gdb.base/new-ui.exp
6197 * gdb.base/nodebug.exp
6198 * gdb.base/nofield.exp
6199 * gdb.base/offsets.exp
6200 * gdb.base/overlays.exp
6201 * gdb.base/pending.exp
6202 * gdb.base/pointers.exp
6203 * gdb.base/pr11022.exp
6204 * gdb.base/printcmds.exp
6205 * gdb.base/prologue.exp
6206 * gdb.base/ptr-typedef.exp
6207 * gdb.base/realname-expand.exp
6208 * gdb.base/relativedebug.exp
6209 * gdb.base/relocate.exp
6210 * gdb.base/remote.exp
6211 * gdb.base/reread.exp
6212 * gdb.base/return2.exp
6213 * gdb.base/savedregs.exp
6215 * gdb.base/sepdebug.exp
6216 * gdb.base/sepsymtab.exp
6217 * gdb.base/set-inferior-tty.exp
6218 * gdb.base/setshow.exp
6219 * gdb.base/shlib-call.exp
6220 * gdb.base/sigaltstack.exp
6221 * gdb.base/siginfo-addr.exp
6222 * gdb.base/signals.exp
6223 * gdb.base/signull.exp
6224 * gdb.base/sigrepeat.exp
6225 * gdb.base/so-impl-ld.exp
6226 * gdb.base/solib-display.exp
6227 * gdb.base/solib-overlap.exp
6228 * gdb.base/solib-search.exp
6229 * gdb.base/solib-symbol.exp
6230 * gdb.base/structs.exp
6231 * gdb.base/structs2.exp
6232 * gdb.base/symtab-search-order.exp
6233 * gdb.base/twice.exp
6234 * gdb.base/unload.exp
6235 * gdb.base/varargs.exp
6236 * gdb.base/watchpoint-solib.exp
6237 * gdb.base/watchpoint.exp
6238 * gdb.base/whatis.exp
6239 * gdb.base/wrong_frame_bt_full.exp
6240 * gdb.btrace/dlopen.exp
6241 * gdb.cell/ea-standalone.exp
6242 * gdb.cell/ea-test.exp
6243 * gdb.cp/dispcxx.exp
6244 * gdb.cp/gdb2384.exp
6245 * gdb.cp/method2.exp
6246 * gdb.cp/nextoverthrow.exp
6247 * gdb.cp/pr10728.exp
6248 * gdb.disasm/am33.exp
6249 * gdb.disasm/h8300s.exp
6250 * gdb.disasm/mn10300.exp
6251 * gdb.disasm/sh3.exp
6252 * gdb.dwarf2/dw2-dir-file-name.exp
6253 * gdb.fortran/complex.exp
6254 * gdb.fortran/library-module.exp
6255 * gdb.guile/scm-pretty-print.exp
6256 * gdb.guile/scm-symbol.exp
6257 * gdb.guile/scm-type.exp
6258 * gdb.guile/scm-value.exp
6259 * gdb.linespec/linespec.exp
6262 * gdb.mi/mi-breakpoint-changed.exp
6263 * gdb.mi/mi-dprintf-pending.exp
6264 * gdb.mi/mi-dprintf.exp
6265 * gdb.mi/mi-exit-code.exp
6266 * gdb.mi/mi-pending.exp
6267 * gdb.mi/mi-solib.exp
6268 * gdb.mi/new-ui-mi-sync.exp
6269 * gdb.mi/pr11022.exp
6270 * gdb.mi/user-selected-context-sync.exp
6271 * gdb.opt/solib-intra-step.exp
6272 * gdb.python/py-events.exp
6273 * gdb.python/py-finish-breakpoint.exp
6274 * gdb.python/py-mi.exp
6275 * gdb.python/py-prettyprint.exp
6276 * gdb.python/py-shared.exp
6277 * gdb.python/py-symbol.exp
6278 * gdb.python/py-template.exp
6279 * gdb.python/py-type.exp
6280 * gdb.python/py-value.exp
6281 * gdb.reverse/solib-precsave.exp
6282 * gdb.reverse/solib-reverse.exp
6283 * gdb.server/solib-list.exp
6284 * gdb.stabs/weird.exp
6285 * gdb.threads/reconnect-signal.exp
6286 * gdb.threads/stepi-random-signal.exp
6287 * gdb.trace/actions.exp
6289 * gdb.trace/backtrace.exp
6290 * gdb.trace/change-loc.exp
6291 * gdb.trace/deltrace.exp
6292 * gdb.trace/ftrace-lock.exp
6293 * gdb.trace/ftrace.exp
6294 * gdb.trace/infotrace.exp
6295 * gdb.trace/mi-tracepoint-changed.exp
6296 * gdb.trace/packetlen.exp
6297 * gdb.trace/passcount.exp
6298 * gdb.trace/pending.exp
6299 * gdb.trace/range-stepping.exp
6300 * gdb.trace/report.exp
6301 * gdb.trace/stap-trace.exp
6302 * gdb.trace/tfind.exp
6303 * gdb.trace/trace-break.exp
6304 * gdb.trace/trace-condition.exp
6305 * gdb.trace/trace-enable-disable.exp
6306 * gdb.trace/trace-mt.exp
6307 * gdb.trace/tracecmd.exp
6308 * gdb.trace/tspeed.exp
6312 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6314 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6315 with gdb_test_no_output.
6316 Use command as test name.
6318 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6320 Fix test names starting with uppercase throughout the files.
6322 * gdb.ada/assign_1.exp
6323 * gdb.ada/boolean_expr.exp
6324 * gdb.base/arrayidx.exp
6326 * gdb.base/gcore-buffer-overflow.exp
6327 * gdb.base/testenv.exp
6328 * gdb.compile/compile.exp
6329 * gdb.python/py-framefilter-invalidarg.exp
6330 * gdb.python/py-framefilter.exp
6332 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6334 Fix test names starting with uppercase throughout the files.
6336 * gdb.ada/array_return.exp
6337 * gdb.ada/expr_delims.exp
6338 * gdb.ada/mi_dyn_arr.exp
6339 * gdb.ada/mi_interface.exp
6340 * gdb.ada/mi_var_array.exp
6341 * gdb.ada/watch_arg.exp
6342 * gdb.arch/alpha-step.exp
6343 * gdb.arch/altivec-regs.exp
6344 * gdb.arch/e500-regs.exp
6345 * gdb.arch/powerpc-d128-regs.exp
6346 * gdb.base/arrayidx.exp
6347 * gdb.base/break.exp
6348 * gdb.base/checkpoint.exp
6349 * gdb.base/debug-expr.exp
6350 * gdb.base/dmsym.exp
6351 * gdb.base/radix.exp
6352 * gdb.base/sepdebug.exp
6353 * gdb.base/testenv.exp
6354 * gdb.base/watch_thread_num.exp
6355 * gdb.base/watchpoint-cond-gone.exp
6356 * gdb.cell/break.exp
6357 * gdb.cell/ea-cache.exp
6358 * gdb.compile/compile.exp
6359 * gdb.cp/gdb2495.exp
6360 * gdb.gdb/selftest.exp
6361 * gdb.gdb/xfullpath.exp
6363 * gdb.go/integers.exp
6364 * gdb.objc/basicclass.exp
6365 * gdb.pascal/hello.exp
6366 * gdb.pascal/integers.exp
6367 * gdb.python/py-breakpoint.exp
6368 * gdb.python/py-cmd.exp
6369 * gdb.python/py-linetable.exp
6370 * gdb.python/py-xmethods.exp
6371 * gdb.python/python.exp
6372 * gdb.reverse/consecutive-precsave.exp
6373 * gdb.reverse/finish-precsave.exp
6374 * gdb.reverse/i386-precsave.exp
6375 * gdb.reverse/machinestate-precsave.exp
6376 * gdb.reverse/sigall-precsave.exp
6377 * gdb.reverse/solib-precsave.exp
6378 * gdb.reverse/step-precsave.exp
6379 * gdb.reverse/until-precsave.exp
6380 * gdb.reverse/watch-precsave.exp
6381 * gdb.threads/leader-exit.exp
6382 * gdb.threads/pthreads.exp
6383 * gdb.threads/wp-replication.exp
6384 * gdb.trace/actions.exp
6385 * gdb.trace/mi-tsv-changed.exp
6388 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6390 Fix test names starting with uppercase throughout the files.
6392 * gdb.arch/i386-bp_permanent.exp
6393 * gdb.arch/i386-gnu-cfi.exp
6394 * gdb.base/disasm-end-cu.exp
6395 * gdb.base/macscp.exp
6396 * gdb.base/pending.exp
6397 * gdb.base/watch_thread_num.exp
6398 * gdb.cp/exception.exp
6399 * gdb.cp/gdb2495.exp
6401 * gdb.python/py-evsignal.exp
6402 * gdb.python/python.exp
6403 * gdb.trace/tracecmd.exp
6405 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6407 Fix test names starting with uppercase throughout the files.
6409 * gdb.base/charset.exp
6411 * gdb.base/multi-forks.exp
6412 * gdb.guile/scm-progspace.exp
6413 * gdb.opencl/datatypes.exp
6414 * gdb.python/py-block.exp
6415 * gdb.python/py-function.exp
6416 * gdb.python/py-symbol.exp
6417 * gdb.python/py-symtab.exp
6418 * gdb.python/py-xmethods.exp
6419 * gdb.reverse/break-precsave.exp
6420 * gdb.reverse/break-reverse.exp
6421 * gdb.reverse/consecutive-precsave.exp
6422 * gdb.reverse/consecutive-reverse.exp
6423 * gdb.reverse/finish-precsave.exp
6424 * gdb.reverse/finish-reverse-bkpt.exp
6425 * gdb.reverse/finish-reverse.exp
6426 * gdb.reverse/fstatat-reverse.exp
6427 * gdb.reverse/getresuid-reverse.exp
6428 * gdb.reverse/i386-precsave.exp
6429 * gdb.reverse/i386-reverse.exp
6430 * gdb.reverse/i386-sse-reverse.exp
6431 * gdb.reverse/i387-stack-reverse.exp
6432 * gdb.reverse/insn-reverse.exp
6433 * gdb.reverse/machinestate-precsave.exp
6434 * gdb.reverse/machinestate.exp
6435 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6436 * gdb.reverse/pipe-reverse.exp
6437 * gdb.reverse/readv-reverse.exp
6438 * gdb.reverse/recvmsg-reverse.exp
6439 * gdb.reverse/rerun-prec.exp
6440 * gdb.reverse/s390-mvcle.exp
6441 * gdb.reverse/sigall-precsave.exp
6442 * gdb.reverse/sigall-reverse.exp
6443 * gdb.reverse/solib-precsave.exp
6444 * gdb.reverse/solib-reverse.exp
6445 * gdb.reverse/step-precsave.exp
6446 * gdb.reverse/step-reverse.exp
6447 * gdb.reverse/time-reverse.exp
6448 * gdb.reverse/until-precsave.exp
6449 * gdb.reverse/until-reverse.exp
6450 * gdb.reverse/waitpid-reverse.exp
6451 * gdb.reverse/watch-precsave.exp
6452 * gdb.reverse/watch-reverse.exp
6454 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6456 Fix test names starting with uppercase throughout the files.
6458 * gdb.arch/i386-mpx-simple_segv.exp
6459 * gdb.arch/i386-mpx.exp
6460 * gdb.arch/i386-permbkpt.exp
6461 * gdb.arch/pa-nullify.exp
6462 * gdb.arch/powerpc-d128-regs.exp
6463 * gdb.arch/vsx-regs.exp
6464 * gdb.base/bfp-test.exp
6465 * gdb.base/break.exp
6466 * gdb.base/breakpoint-shadow.exp
6467 * gdb.base/callfuncs.exp
6468 * gdb.base/charset.exp
6469 * gdb.base/commands.exp
6470 * gdb.base/completion.exp
6471 * gdb.base/dfp-test.exp
6473 * gdb.base/ending-run.exp
6475 * gdb.base/expand-psymtabs.exp
6476 * gdb.base/float128.exp
6477 * gdb.base/floatn.exp
6478 * gdb.base/foll-exec-mode.exp
6479 * gdb.base/gdb1056.exp
6480 * gdb.base/gdb11531.exp
6481 * gdb.base/kill-after-signal.exp
6482 * gdb.base/multi-forks.exp
6483 * gdb.base/overlays.exp
6484 * gdb.base/pending.exp
6485 * gdb.base/sepdebug.exp
6486 * gdb.base/testenv.exp
6487 * gdb.base/valgrind-db-attach.exp
6488 * gdb.base/watch_thread_num.exp
6489 * gdb.base/watchpoint-cond-gone.exp
6490 * gdb.base/watchpoint.exp
6491 * gdb.base/watchpoints.exp
6492 * gdb.cp/arg-reference.exp
6493 * gdb.cp/baseenum.exp
6494 * gdb.cp/operator.exp
6496 * gdb.dwarf2/dw2-op-out-param.exp
6497 * gdb.dwarf2/dw2-reg-undefined.exp
6500 * gdb.go/integers.exp
6501 * gdb.go/methods.exp
6502 * gdb.go/package.exp
6503 * gdb.guile/scm-parameter.exp
6504 * gdb.guile/scm-progspace.exp
6505 * gdb.guile/scm-value.exp
6506 * gdb.mi/mi-pending.exp
6507 * gdb.mi/user-selected-context-sync.exp
6508 * gdb.multi/multi-attach.exp
6509 * gdb.multi/tids.exp
6510 * gdb.opt/clobbered-registers-O2.exp
6511 * gdb.pascal/floats.exp
6512 * gdb.pascal/integers.exp
6513 * gdb.python/py-block.exp
6514 * gdb.python/py-events.exp
6515 * gdb.python/py-parameter.exp
6516 * gdb.python/py-symbol.exp
6517 * gdb.python/py-symtab.exp
6518 * gdb.python/py-type.exp
6519 * gdb.python/py-value.exp
6520 * gdb.python/py-xmethods.exp
6521 * gdb.python/python.exp
6522 * gdb.reverse/break-precsave.exp
6523 * gdb.reverse/consecutive-precsave.exp
6524 * gdb.reverse/finish-precsave.exp
6525 * gdb.reverse/i386-precsave.exp
6526 * gdb.reverse/machinestate-precsave.exp
6527 * gdb.reverse/sigall-precsave.exp
6528 * gdb.reverse/solib-precsave.exp
6529 * gdb.reverse/step-precsave.exp
6530 * gdb.reverse/until-precsave.exp
6531 * gdb.reverse/watch-precsave.exp
6532 * gdb.server/ext-attach.exp
6533 * gdb.server/ext-restart.exp
6534 * gdb.server/ext-run.exp
6535 * gdb.server/ext-wrapper.exp
6536 * gdb.stabs/gdb11479.exp
6537 * gdb.stabs/weird.exp
6538 * gdb.threads/attach-many-short-lived-threads.exp
6539 * gdb.threads/kill.exp
6540 * gdb.threads/watchpoint-fork.exp
6542 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6544 Fix test names starting with uppercase throughout all the files below.
6546 * gdb.ada/array_return.exp
6547 * gdb.ada/catch_ex.exp
6548 * gdb.ada/info_exc.exp
6549 * gdb.ada/mi_catch_ex.exp
6550 * gdb.ada/mi_dyn_arr.exp
6551 * gdb.ada/mi_ex_cond.exp
6552 * gdb.ada/mi_exc_info.exp
6553 * gdb.ada/mi_interface.exp
6554 * gdb.ada/mi_task_arg.exp
6555 * gdb.ada/mi_task_info.exp
6556 * gdb.ada/mi_var_array.exp
6557 * gdb.arch/alpha-step.exp
6558 * gdb.arch/amd64-disp-step.exp
6559 * gdb.arch/arm-disp-step.exp
6560 * gdb.arch/disp-step-insn-reloc.exp
6561 * gdb.arch/e500-prologue.exp
6562 * gdb.arch/ftrace-insn-reloc.exp
6563 * gdb.arch/gdb1558.exp
6564 * gdb.arch/i386-bp_permanent.exp
6565 * gdb.arch/i386-disp-step.exp
6566 * gdb.arch/i386-float.exp
6567 * gdb.arch/i386-gnu-cfi.exp
6568 * gdb.arch/ia64-breakpoint-shadow.exp
6569 * gdb.arch/mips16-thunks.exp
6570 * gdb.arch/pa-nullify.exp
6571 * gdb.arch/powerpc-aix-prologue.exp
6572 * gdb.arch/powerpc-power.exp
6573 * gdb.arch/ppc-dfp.exp
6574 * gdb.arch/s390-tdbregs.exp
6575 * gdb.arch/spu-info.exp
6576 * gdb.arch/spu-ls.exp
6577 * gdb.arch/thumb-bx-pc.exp
6578 * gdb.base/advance.exp
6579 * gdb.base/annota-input-while-running.exp
6580 * gdb.base/arrayidx.exp
6581 * gdb.base/asmlabel.exp
6582 * gdb.base/async.exp
6583 * gdb.base/attach-wait-input.exp
6584 * gdb.base/auto-connect-native-target.exp
6585 * gdb.base/batch-preserve-term-settings.exp
6586 * gdb.base/bfp-test.exp
6587 * gdb.base/bigcore.exp
6588 * gdb.base/bp-permanent.exp
6589 * gdb.base/break-always.exp
6590 * gdb.base/break-fun-addr.exp
6591 * gdb.base/break-idempotent.exp
6592 * gdb.base/break-main-file-remove-fail.exp
6593 * gdb.base/break-probes.exp
6594 * gdb.base/break-unload-file.exp
6595 * gdb.base/break.exp
6596 * gdb.base/call-ar-st.exp
6597 * gdb.base/call-rt-st.exp
6598 * gdb.base/call-sc.exp
6599 * gdb.base/call-signal-resume.exp
6600 * gdb.base/call-strs.exp
6601 * gdb.base/callexit.exp
6602 * gdb.base/callfuncs.exp
6603 * gdb.base/catch-gdb-caused-signals.exp
6604 * gdb.base/catch-signal-siginfo-cond.exp
6605 * gdb.base/catch-syscall.exp
6606 * gdb.base/compare-sections.exp
6607 * gdb.base/cond-eval-mode.exp
6608 * gdb.base/condbreak-call-false.exp
6609 * gdb.base/consecutive-step-over.exp
6610 * gdb.base/cursal.exp
6611 * gdb.base/disabled-location.exp
6612 * gdb.base/disasm-end-cu.exp
6613 * gdb.base/display.exp
6614 * gdb.base/double-prompt-target-event-error.exp
6615 * gdb.base/dprintf-bp-same-addr.exp
6616 * gdb.base/dprintf-detach.exp
6617 * gdb.base/dprintf-next.exp
6618 * gdb.base/dprintf-non-stop.exp
6619 * gdb.base/dprintf-pending.exp
6620 * gdb.base/dso2dso.exp
6621 * gdb.base/ending-run.exp
6622 * gdb.base/enum_cond.exp
6623 * gdb.base/examine-backward.exp
6624 * gdb.base/exe-lock.exp
6625 * gdb.base/exec-invalid-sysroot.exp
6626 * gdb.base/execl-update-breakpoints.exp
6627 * gdb.base/execution-termios.exp
6628 * gdb.base/fileio.exp
6629 * gdb.base/fixsection.exp
6630 * gdb.base/foll-exec-mode.exp
6631 * gdb.base/foll-exec.exp
6632 * gdb.base/fork-running-state.exp
6633 * gdb.base/frame-args.exp
6634 * gdb.base/fullpath-expand.exp
6635 * gdb.base/func-ptr.exp
6636 * gdb.base/gcore-relro-pie.exp
6637 * gdb.base/gdb1090.exp
6638 * gdb.base/gdb1555.exp
6639 * gdb.base/global-var-nested-by-dso.exp
6640 * gdb.base/gnu-ifunc.exp
6641 * gdb.base/hbreak-in-shr-unsupported.exp
6642 * gdb.base/hbreak-unmapped.exp
6643 * gdb.base/hook-stop.exp
6644 * gdb.base/infcall-input.exp
6645 * gdb.base/info-fun.exp
6646 * gdb.base/info-shared.exp
6647 * gdb.base/interrupt-noterm.exp
6648 * gdb.base/jit-so.exp
6650 * gdb.base/line-symtabs.exp
6652 * gdb.base/longjmp.exp
6653 * gdb.base/macscp.exp
6654 * gdb.base/max-value-size.exp
6655 * gdb.base/nodebug.exp
6656 * gdb.base/nofield.exp
6657 * gdb.base/overlays.exp
6658 * gdb.base/paginate-after-ctrl-c-running.exp
6659 * gdb.base/paginate-bg-execution.exp
6660 * gdb.base/paginate-inferior-exit.exp
6661 * gdb.base/pending.exp
6662 * gdb.base/pr11022.exp
6663 * gdb.base/printcmds.exp
6664 * gdb.base/ptr-typedef.exp
6665 * gdb.base/ptype.exp
6666 * gdb.base/randomize.exp
6667 * gdb.base/range-stepping.exp
6668 * gdb.base/realname-expand.exp
6669 * gdb.base/relativedebug.exp
6670 * gdb.base/remote.exp
6671 * gdb.base/savedregs.exp
6672 * gdb.base/sepdebug.exp
6673 * gdb.base/set-noassign.exp
6674 * gdb.base/shlib-call.exp
6675 * gdb.base/shreloc.exp
6676 * gdb.base/sigaltstack.exp
6677 * gdb.base/sigbpt.exp
6678 * gdb.base/siginfo-addr.exp
6679 * gdb.base/siginfo-obj.exp
6680 * gdb.base/siginfo-thread.exp
6681 * gdb.base/signest.exp
6682 * gdb.base/signull.exp
6683 * gdb.base/sigrepeat.exp
6685 * gdb.base/so-impl-ld.exp
6686 * gdb.base/solib-corrupted.exp
6687 * gdb.base/solib-disc.exp
6688 * gdb.base/solib-display.exp
6689 * gdb.base/solib-overlap.exp
6690 * gdb.base/solib-search.exp
6691 * gdb.base/solib-symbol.exp
6692 * gdb.base/source-execution.exp
6693 * gdb.base/sss-bp-on-user-bp-2.exp
6694 * gdb.base/sss-bp-on-user-bp.exp
6695 * gdb.base/stack-checking.exp
6696 * gdb.base/stale-infcall.exp
6697 * gdb.base/step-break.exp
6698 * gdb.base/step-line.exp
6699 * gdb.base/step-over-exit.exp
6700 * gdb.base/step-test.exp
6701 * gdb.base/structs.exp
6702 * gdb.base/sym-file.exp
6703 * gdb.base/symtab-search-order.exp
6705 * gdb.base/type-opaque.exp
6706 * gdb.base/unload.exp
6707 * gdb.base/until-nodebug.exp
6708 * gdb.base/until.exp
6709 * gdb.base/unwindonsignal.exp
6710 * gdb.base/watch-cond.exp
6711 * gdb.base/watch-non-mem.exp
6712 * gdb.base/watch_thread_num.exp
6713 * gdb.base/watchpoint-reuse-slot.exp
6714 * gdb.base/watchpoint-solib.exp
6715 * gdb.base/watchpoint.exp
6716 * gdb.btrace/dlopen.exp
6718 * gdb.cell/break.exp
6722 * gdb.cell/dwarfaddr.exp
6723 * gdb.cell/ea-cache.exp
6724 * gdb.cell/ea-standalone.exp
6725 * gdb.cell/ea-test.exp
6726 * gdb.cell/f-regs.exp
6728 * gdb.cell/gcore.exp
6729 * gdb.cell/mem-access.exp
6730 * gdb.cell/ptype.exp
6731 * gdb.cell/registers.exp
6732 * gdb.cell/sizeof.exp
6733 * gdb.cell/solib-symbol.exp
6734 * gdb.cell/solib.exp
6735 * gdb.compile/compile-tls.exp
6736 * gdb.cp/exception.exp
6737 * gdb.cp/gdb2495.exp
6739 * gdb.cp/mb-inline.exp
6740 * gdb.cp/mb-templates.exp
6741 * gdb.cp/pr10687.exp
6743 * gdb.cp/scope-err.exp
6744 * gdb.cp/templates.exp
6745 * gdb.cp/virtfunc.exp
6746 * gdb.dwarf2/dw2-dir-file-name.exp
6747 * gdb.dwarf2/dw2-single-line-discriminators.exp
6748 * gdb.fortran/complex.exp
6749 * gdb.fortran/library-module.exp
6750 * gdb.guile/guile.exp
6751 * gdb.guile/scm-cmd.exp
6752 * gdb.guile/scm-frame-inline.exp
6753 * gdb.guile/scm-objfile.exp
6754 * gdb.guile/scm-pretty-print.exp
6755 * gdb.guile/scm-symbol.exp
6756 * gdb.guile/scm-type.exp
6757 * gdb.guile/scm-value.exp
6758 * gdb.linespec/keywords.exp
6759 * gdb.linespec/ls-errs.exp
6760 * gdb.linespec/macro-relative.exp
6761 * gdb.linespec/thread.exp
6762 * gdb.mi/mi-breakpoint-changed.exp
6763 * gdb.mi/mi-dprintf-pending.exp
6764 * gdb.mi/mi-fullname-deleted.exp
6765 * gdb.mi/mi-logging.exp
6766 * gdb.mi/mi-pending.exp
6767 * gdb.mi/mi-solib.exp
6768 * gdb.mi/new-ui-mi-sync.exp
6769 * gdb.mi/user-selected-context-sync.exp
6770 * gdb.multi/dummy-frame-restore.exp
6771 * gdb.multi/multi-arch-exec.exp
6772 * gdb.multi/remove-inferiors.exp
6773 * gdb.multi/watchpoint-multi-exit.exp
6774 * gdb.opt/solib-intra-step.exp
6775 * gdb.perf/backtrace.exp
6776 * gdb.perf/single-step.exp
6777 * gdb.perf/skip-command.exp
6778 * gdb.perf/skip-prologue.exp
6779 * gdb.perf/solib.exp
6780 * gdb.python/lib-types.exp
6781 * gdb.python/py-as-string.exp
6782 * gdb.python/py-bad-printers.exp
6783 * gdb.python/py-block.exp
6784 * gdb.python/py-breakpoint.exp
6785 * gdb.python/py-cmd.exp
6786 * gdb.python/py-events.exp
6787 * gdb.python/py-evthreads.exp
6788 * gdb.python/py-finish-breakpoint.exp
6789 * gdb.python/py-finish-breakpoint2.exp
6790 * gdb.python/py-frame-inline.exp
6791 * gdb.python/py-frame.exp
6792 * gdb.python/py-inferior.exp
6793 * gdb.python/py-infthread.exp
6794 * gdb.python/py-mi.exp
6795 * gdb.python/py-objfile.exp
6796 * gdb.python/py-pp-maint.exp
6797 * gdb.python/py-pp-registration.exp
6798 * gdb.python/py-prettyprint.exp
6799 * gdb.python/py-recurse-unwind.exp
6800 * gdb.python/py-shared.exp
6801 * gdb.python/py-symbol.exp
6802 * gdb.python/py-symtab.exp
6803 * gdb.python/py-template.exp
6804 * gdb.python/py-type.exp
6805 * gdb.python/py-unwind-maint.exp
6806 * gdb.python/py-unwind.exp
6807 * gdb.python/py-value.exp
6808 * gdb.python/python.exp
6809 * gdb.reverse/finish-reverse-bkpt.exp
6810 * gdb.reverse/insn-reverse.exp
6811 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6812 * gdb.reverse/solib-precsave.exp
6813 * gdb.reverse/solib-reverse.exp
6814 * gdb.stabs/gdb11479.exp
6815 * gdb.stabs/weird.exp
6816 * gdb.threads/fork-child-threads.exp
6817 * gdb.threads/fork-plus-threads.exp
6818 * gdb.threads/fork-thread-pending.exp
6819 * gdb.threads/forking-threads-plus-breakpoint.exp
6820 * gdb.threads/hand-call-in-threads.exp
6821 * gdb.threads/interrupted-hand-call.exp
6822 * gdb.threads/linux-dp.exp
6823 * gdb.threads/local-watch-wrong-thread.exp
6824 * gdb.threads/next-while-other-thread-longjmps.exp
6825 * gdb.threads/non-ldr-exit.exp
6826 * gdb.threads/pending-step.exp
6827 * gdb.threads/print-threads.exp
6828 * gdb.threads/process-dies-while-detaching.exp
6829 * gdb.threads/process-dies-while-handling-bp.exp
6830 * gdb.threads/pthreads.exp
6831 * gdb.threads/queue-signal.exp
6832 * gdb.threads/reconnect-signal.exp
6833 * gdb.threads/signal-command-handle-nopass.exp
6834 * gdb.threads/signal-command-multiple-signals-pending.exp
6835 * gdb.threads/signal-delivered-right-thread.exp
6836 * gdb.threads/signal-sigtrap.exp
6837 * gdb.threads/sigthread.exp
6838 * gdb.threads/staticthreads.exp
6839 * gdb.threads/stepi-random-signal.exp
6840 * gdb.threads/thread-unwindonsignal.exp
6841 * gdb.threads/thread_check.exp
6842 * gdb.threads/thread_events.exp
6843 * gdb.threads/tid-reuse.exp
6844 * gdb.threads/tls-nodebug.exp
6845 * gdb.threads/tls-shared.exp
6846 * gdb.threads/tls-so_extern.exp
6847 * gdb.threads/tls.exp
6848 * gdb.threads/wp-replication.exp
6849 * gdb.trace/actions-changed.exp
6850 * gdb.trace/actions.exp
6851 * gdb.trace/backtrace.exp
6852 * gdb.trace/change-loc.exp
6853 * gdb.trace/collection.exp
6854 * gdb.trace/deltrace.exp
6855 * gdb.trace/disconnected-tracing.exp
6856 * gdb.trace/entry-values.exp
6857 * gdb.trace/ftrace-lock.exp
6858 * gdb.trace/ftrace.exp
6859 * gdb.trace/infotrace.exp
6860 * gdb.trace/mi-trace-frame-collected.exp
6861 * gdb.trace/mi-trace-unavailable.exp
6862 * gdb.trace/mi-traceframe-changed.exp
6863 * gdb.trace/mi-tracepoint-changed.exp
6864 * gdb.trace/mi-tsv-changed.exp
6865 * gdb.trace/no-attach-trace.exp
6866 * gdb.trace/packetlen.exp
6867 * gdb.trace/passc-dyn.exp
6868 * gdb.trace/passcount.exp
6869 * gdb.trace/pending.exp
6870 * gdb.trace/pr16508.exp
6871 * gdb.trace/qtro.exp
6872 * gdb.trace/range-stepping.exp
6873 * gdb.trace/read-memory.exp
6874 * gdb.trace/report.exp
6875 * gdb.trace/save-trace.exp
6876 * gdb.trace/signal.exp
6877 * gdb.trace/stap-trace.exp
6878 * gdb.trace/status-stop.exp
6879 * gdb.trace/strace.exp
6880 * gdb.trace/tfile.exp
6881 * gdb.trace/tfind.exp
6882 * gdb.trace/trace-break.exp
6883 * gdb.trace/trace-condition.exp
6884 * gdb.trace/trace-enable-disable.exp
6885 * gdb.trace/trace-mt.exp
6886 * gdb.trace/tracecmd.exp
6887 * gdb.trace/tracefile-pseudo-reg.exp
6888 * gdb.trace/tspeed.exp
6889 * gdb.trace/tstatus.exp
6891 * gdb.trace/unavailable.exp
6892 * gdb.trace/while-dyn.exp
6893 * gdb.trace/while-stepping.exp
6896 * lib/mi-support.exp
6899 * lib/prelink-support.exp
6900 * lib/selftest-support.exp
6902 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6904 * Makefile.in: Include disable-implicit-rules.mk.
6906 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6908 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6909 non-byte-aligned bit fields.
6911 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6914 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6915 respects the DW_AT_data_bit_offset attribute.
6917 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6919 * gdb.base/default.exp: Fix output of "set language".
6921 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6923 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6924 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6926 * configure.ac: Remove checks for the make program.
6927 * configure: Re-generate.
6929 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6931 * gdb.python/py-recurse-unwind.c (main): Add loop.
6932 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6933 to read_register() and gdb.parse_and_eval(). Make each code
6934 call a separate case that can be individually tested.
6935 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6936 proc. Call cont_and_backtrace for each of the code paths that
6937 we want to test in the unwinder.
6939 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6941 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6942 the definition of struct S.
6944 2016-11-11 Catherine Moore <clm@codesourcery.com>
6946 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6948 2016-11-09 Pedro Alves <palves@redhat.com>
6950 * gdb.base/commands.exp (runto_or_return): New procedure.
6951 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6952 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6953 (progvar_simple_while_test, progvar_complex_if_while_test)
6954 (if_while_breakpoint_command_test)
6955 (infrun_breakpoint_command_test, breakpoint_command_test)
6956 (user_defined_command_test, watchpoint_command_test)
6957 (test_command_prompt_position, redefine_hook_test)
6958 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6959 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6960 multi_line_input and multi_line. Remove gdb_expect and
6961 gdb_stop_suppressing_tests uses.
6962 * lib/gdb.exp (valnum_re): New global.
6963 (multi_line_input): New procedure.
6965 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6967 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6969 (test_setup): Define with proc_with_prefix.
6970 (test_cli_inferior): Likewise.
6971 (test_cli_thread): Likewise.
6972 (test_cli_frame): Likewise.
6973 (test_cli_select_frame): Likewise.
6974 (test_cli_up_down): Likewise.
6975 (test_mi_thread_select): Likewise.
6976 (test_mi_stack_select_frame): Likewise.
6977 (test_cli_in_mi_inferior): Likewise.
6978 (test_cli_in_mi_thread): Likewise.
6979 (test_cli_in_mi_frame): Likewise.
6980 (top level): Do not use with_test_prefix_procname.
6982 2016-11-09 Pedro Alves <palves@redhat.com>
6984 * gdb.base/commands.exp (gdbvar_simple_if_test)
6985 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6986 (progvar_simple_if_test, progvar_simple_while_test)
6987 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6988 (infrun_breakpoint_command_test, breakpoint_command_test)
6989 (user_defined_command_test, watchpoint_command_test)
6990 (test_command_prompt_position, deprecated_command_test)
6991 (bp_deleted_in_command, temporary_breakpoint_commands)
6992 (stray_arg0_test, source_file_with_indented_comment)
6993 (recursive_source_test, if_commands_test)
6994 (error_clears_commands_left, redefine_hook_test)
6995 (redefine_backtrace_test): Use proc_with_prefix.
6996 * lib/gdb.exp (proc_with_prefix): New proc.
6998 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7000 * gdb.base/tui-layout.c: New file.
7001 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7002 disassembly window contains very long lines.
7004 2016-11-08 Tom Tromey <tom@tromey.com>
7006 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7009 2016-11-08 Tom Tromey <tom@tromey.com>
7011 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7014 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7016 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7018 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7020 * gdb.rust/simple.rs: Add test for univariant enums without
7021 discriminants and for encoded struct-like enums.
7023 2016-10-28 Pedro Alves <palves@redhat.com>
7025 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7026 gdb_test_multiple, tighten regexps and match symtabs and line
7027 tables incrementally.
7029 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7031 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7034 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7036 * gdb.base/exec-invalid-sysroot.exp: New file.
7038 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7040 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7042 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7044 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7046 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7048 * gdb.base/killed-outside.exp: Remove $options from a call to
7049 `prepare_for_testing'.
7051 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7053 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7054 Change test message.
7056 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7058 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7061 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7063 * gdb.trace/mi-trace-save.exp: New file.
7065 2016-10-13 Yao Qi <yao.qi@linaro.org>
7067 * gdb.base/code_elim.exp (get_var_address): Remove.
7068 * gdb.base/relocate.exp: Likewise.
7069 * gdb.base/shreloc.exp: Likewise.
7070 * lib/gdb.exp (get_var_address): New.
7072 2016-10-13 Yao Qi <yao.qi@linaro.org>
7074 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7075 floating point tests if $skip_float_test is false.
7077 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7079 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7080 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7082 Add 1 to argc so we guarantee distinct initial/modified argc values.
7084 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7086 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7088 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7090 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7091 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7092 * gdb.arch/vsx-regs.exp: Likewise.
7094 2016-10-07 Yao Qi <yao.qi@linaro.org>
7096 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7098 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7100 * gdb.python/python.exp: Test decode_line("*0").
7102 2016-10-06 Doug Evans <dje@google.com>
7104 * gdb.python/py-value.exp (test_value_creation): Add test for large
7105 unsigned 64-bit value.
7107 2016-10-06 Tom Tromey <tom@tromey.com>
7109 * gdb.compile/compile.exp: Change java tests to rust.
7110 * gdb.base/setshow.exp: Change java tests to rust.
7111 * gdb.base/default.exp: Remove java from language list.
7112 * README (Examples): Update language example.
7113 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7115 * lib/gdb.exp (skip_java_tests): Remove.
7116 * lib/java.exp: Remove.
7119 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7121 * gdb.arch/mips-fcr.exp: New test.
7122 * gdb.arch/mips-fcr.c: Source for the new test.
7124 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7126 * gdb.base/solib-disc.exp: Use `standard_output_file'
7129 2016-10-06 Pedro Alves <palves@redhat.com>
7131 * gdb.base/jit-simple-dl.c: New file.
7132 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7133 * gdb.base/jit-simple.c: ... this.
7134 * gdb.base/jit-simple.exp (jit_run): Delete.
7135 (build_jit): New proc.
7136 (jit_test_reread): Recompile either the main program or the shared
7137 library, depending on what is being tested. Skip changing address
7138 if caller wants to. Compare before/after addresses. If testing
7139 standalone, explicitly load the binary. Test "maint info
7141 (top level): Add "standalone vs shared lib" and "change address"
7142 vs "same address" axes.
7144 2016-10-06 Pedro Alves <palves@redhat.com>
7146 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7149 (jit_test_reread): Use with_test_prefix. Reload the main binary
7150 explicitly. Compare the before/after addresses of the JIT
7153 2016-08-15 Doug Evans <dje@google.com>
7155 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7156 for single bitfields is bool.
7157 * gdb.xml/tdesc-regs.exp: Ditto.
7159 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7161 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7163 2016-10-05 Yao Qi <yao.qi@linaro.org>
7165 * lib/gdb.exp (support_complex_tests): Return zero if
7166 gdb_skip_float_test return true.
7168 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7169 Simon Marchi <simon.marchi@ericsson.com>
7172 * gdb.mi/user-selected-context-sync.exp: New file.
7173 * gdb.mi/user-selected-context-sync.c: New file.
7175 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7176 Simon Marchi <simon.marchi@ericsson.com>
7179 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7180 =thread-select-event check.
7182 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7184 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7185 the compulsory L operand changes.
7186 * gdb.arch/powerpc-power.s: Likewise.
7188 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7190 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7191 * gdb.base/jit-attach-pie.c: New file.
7192 * gdb.base/jit-attach-pie.exp: New file.
7194 2016-09-28 Pedro Alves <palves@redhat.com>
7196 * gdb.base/infcall-input.c: New file.
7197 * gdb.base/infcall-input.exp: New file.
7199 2016-09-22 Yao Qi <yao.qi@linaro.org>
7201 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7202 (gdb_exit): Rename it to ...
7203 (gdbserver_gdb_exit): ... Close GDBserver.
7204 (gdb_exit): New proc, call gdbserver_gdb_exit.
7205 (mi_gdb_exit): Likewise.
7207 2016-09-22 Yao Qi <yao.qi@linaro.org>
7209 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7211 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7214 2016-09-22 Yao Qi <yao.qi@linaro.org>
7216 * lib/gdbserver-support.exp: Check the existence of
7217 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7219 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7221 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7223 2016-09-21 Tom Tromey <tom@tromey.com>
7226 * gdb.base/quit.exp: New file.
7228 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7230 * .gitignore: New file.
7232 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7234 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7237 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7239 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7241 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7243 * gdb.cp/casts.cc (decltype): Move it ...
7244 (main): ... with its call to ...
7245 * gdb.cp/casts03.cc: ... a new file.
7246 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7248 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7250 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7252 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7254 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7255 and sync up the test with tests in gas/testsuite/gas/ppc.
7256 * gdb.arch/powerpc-power.exp: Likewise.
7258 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7260 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7262 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7263 Jan Kratochvil <jan.kratochvil@redhat.com>
7265 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7266 make m1's definition to be different from m2's. Use 'dummy' as an
7267 argument for probe 'two'.
7269 2016-09-10 Jon Beniston <jon@beniston.com>
7271 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7274 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7276 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7277 variable declaration.
7278 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7279 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7280 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7281 received HWCAP as its argument.
7283 2016-09-06 Pedro Alves <palves@redhat.com>
7285 * gdb.base/new-ui-pending-input.c: New file.
7286 * gdb.base/new-ui-pending-input.exp: New file.
7287 * gdb.exp (clear_gdb_spawn_id): New procedure.
7288 (with_spawn_id): Check whether gdb_spawn_id exists before
7289 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7292 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7294 * gdb.base/float128.c: New file.
7295 * gdb.base/float128.exp: Likewise.
7296 * gdb.base/floatn.c: Likewise.
7297 * gdb.base/floatn.exp: Likewise.
7299 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7301 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7303 2016-09-05 Pedro Alves <palves@redhat.com>
7306 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7307 unwinders are immediately called as side effect of "source" or
7308 "disable unwinder" commands.
7309 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7311 2016-09-02 Yao Qi <yao.qi@linaro.org>
7313 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7314 is true and $type is "float" or "double".
7316 2016-09-02 Yao Qi <yao.qi@linaro.org>
7318 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7320 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7321 * gdb.base/call-rt-st.exp: Likewise.
7322 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7323 return value instead of gdb,skip_float_test.
7324 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7325 (do_function_calls): Use its return value instead of
7326 gdb,skip_float_test.
7327 * gdb.base/finish.exp: Likewise.
7328 * gdb.base/funcargs.exp: Likewise.
7329 * gdb.base/return.exp: Likewise.
7330 * gdb.base/return2.exp: Likewise.
7331 * gdb.base/varargs.exp: Likewise.
7332 * lib/gdb.exp (gdb_skip_float_test): Change it to
7333 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7335 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7337 * gdb.multi/tids.exp: Test "thread apply all".
7339 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7341 * gdb.base/default.exp (tty): Remove.
7343 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7345 * gdb.python/py-recurse-unwind.c: New file.
7346 * gdb.python/py-recurse-unwind.py: New file.
7347 * gdb.python/py-recurse-unwind.exp: New file.
7349 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7351 * gdb.base/set-inferior-tty.exp: New file.
7352 * gdb.base/set-inferior-tty.c: New file.
7354 2016-08-23 Pedro Alves <palves@redhat.com>
7357 * gdb.base/new-ui-echo.c: New file.
7358 * gdb.base/new-ui-echo.exp: New file.
7360 2016-08-23 Yao Qi <yao.qi@linaro.org>
7362 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7364 * gdb.server/connect-without-multi-process.exp (do_test):
7367 2016-08-23 Yao Qi <yao.qi@linaro.org>
7369 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7370 standalone_txt. Delete gdb_txt and standalone_txt on host
7371 and target. Spawn the binary on target. Copy files from
7374 2016-08-22 Pedro Alves <palves@redhat.com>
7377 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7378 with_test_prefix. Factor out bits to ...
7379 (test_no_vdso): ... this new procedure.
7381 2016-08-19 Carl Love <cel@us.ibm.com>
7383 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7384 maintaining separate logic for constructing the output path.
7385 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7386 * gdb.arch/ppc-dfp.exp: Likewise.
7387 * gdb.arch/ppc-fp.exp: Likewise.
7388 * gdb.arch/vsx-regs.exp: Likewise.
7389 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7390 binprefix for generating the additional binary files.
7392 2016-08-19 Pedro Alves <palves@redhat.com>
7394 * gdb.trace/mi-trace-frame-collected.exp
7395 (test_trace_frame_collected): On x32, expect two registers.
7397 2016-08-18 Carl Love <cel@us.ibm.com>
7399 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7400 and sync up the test with tests in gas/testsuite/gas/ppc.
7401 * gdb.arch/powerpc-power.exp: Likewise.
7403 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7405 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7406 expected error message.
7408 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7410 * gdb.multi/remove-inferiors.exp: New file.
7411 * gdb.multi/remove-inferiors.c: New file.
7413 2016-08-12 Yao Qi <yao.qi@linaro.org>
7415 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7418 2016-08-10 Pedro Alves <palves@redhat.com>
7421 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7424 2016-08-09 Pedro Alves <palves@redhat.com>
7425 Simon Marchi <simon.marchi@ericsson.com>
7428 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7429 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7431 2016-08-09 Pedro Alves <palves@redhat.com>
7434 * gdb.mi/mi-cmd-error.exp: New file.
7436 2016-08-09 Pedro Alves <palves@redhat.com>
7439 * gdb.base/signals-state-child.c: New file.
7440 * gdb.base/signals-state-child.exp: New file.
7441 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7443 2016-08-09 Pedro Alves <palves@redhat.com>
7445 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7447 2016-08-03 Tom Tromey <tom@tromey.com>
7450 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7452 2016-08-01 Yao Qi <yao.qi@linaro.org>
7454 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7455 variable mode to "multi-process" if $multi_process is 1, otherwise
7456 set it to "single-process".
7458 2016-08-01 Yao Qi <yao.qi@linaro.org>
7460 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7461 * gdb.cp/cpexprs.exp: Likewise.
7462 * gdb.cp/m-static.exp: Likewise.
7464 2016-07-26 Tom Tromey <tom@tromey.com>
7467 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7470 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7472 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7473 selecting assembly source files.
7474 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7475 assembly source files.
7476 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7477 assembly source files.
7478 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7479 selecting assembly source files.
7481 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7483 * gdb.base/new-ui.exp (do_test_invalid_args): New
7486 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7488 * gdb.btrace/reconnect.c: New file.
7489 * gdb.btrace/reconnect.exp: New file.
7491 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7493 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7494 to test_catch_syscall_group.
7495 (test_catch_syscall_group): New.
7497 2016-07-21 Tom Tromey <tom@tromey.com>
7499 * gdb.rust/simple.rs (main): Use empty struct expression.
7500 * gdb.rust/simple.exp: Add tests for empty struct expression.
7502 2016-07-21 Yao Qi <yao.qi@linaro.org>
7504 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7505 if gdb_skip_xml_test is true on some targets.
7507 2016-07-21 Yao Qi <yao.qi@linaro.org>
7509 * gdb.server/solib-list.exp: Unset last_loaded_file.
7511 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7513 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7514 "step into captured_main (args)".
7516 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7518 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7520 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7522 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7524 2016-07-19 Pedro Alves <palves@redhat.com>
7526 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7527 * gdb.opt/inline-bt.exp: Likewise.
7528 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7529 additional_flags=-Winline.
7530 * gdb.opt/inline-locals.exp: Likewise.
7531 * gdb.opt/inline-markers.c (ATTR): Define.
7532 (inlined_fn): Use it.
7534 2016-07-19 Yao Qi <yao.qi@linaro.org>
7536 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7537 (test_with_self): Remove some code. Remove argument executable.
7538 (top-level): Use do_self_tests.
7540 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7541 Don Breazeal <donb@codesourcery.com>
7543 * gdb.base/maint.exp: Escape paths used in regular expressions.
7544 * gdb.stabs/weird.exp: Likewise.
7546 2016-07-13 Tom Tromey <tom@tromey.com>
7548 PR python/15620, PR python/18620:
7549 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7550 (test_bkpt_events): New procs.
7552 2016-07-13 Tom Tromey <tom@tromey.com>
7555 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7557 (test_watchpoints): Likewise.
7558 (test_bkpt_pending): New proc.
7560 2016-07-13 Tom Tromey <tom@tromey.com>
7563 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7566 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7568 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7569 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7570 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7572 (g): Rename g_end_lbl to g_label.
7573 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7575 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7577 2016-07-12 Tom Tromey <tom@tromey.com>
7580 * gdb.python/py-unwind-maint.exp: Update tests.
7582 2016-07-12 Yao Qi <yao.qi@linaro.org>
7584 * lib/selftest-support.exp (selftest_setup): Match the output
7585 when captured_main is inlined.
7587 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7589 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7591 (print this%a, print this%b, print this): New tests.
7592 * gdb.fortran/derived-types.f90 (this): New object and
7595 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7597 * gdb.ada/arraydim.exp: Remove extra directory level in build
7600 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7602 * lib/ada.exp: Remove extra directory level in build directory.
7603 * gdb.ada/cond_lang.exp: Likewise.
7604 * gdb.ada/exec_changed.exp: Likewise.
7605 * gdb.ada/lang_switch.exp: Likewise.
7607 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7609 * simple.rs: Add test for raw pointer subscripting.
7610 * simple.exp: Add test expectations.
7612 2016-07-05 Yao Qi <yao.qi@linaro.org>
7614 * gdb.mi/mi-reverse.exp: Match =record-started output.
7616 2016-07-01 Pedro Alves <palves@redhat.com>
7618 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7620 (jit_reader_test): Test the jit reader's unwinder.
7621 * gdb.base/jithost.c (jit_function_00_code): New global.
7622 (main): Use memcpy to fill in the mmapped code, instead of poking
7623 bytes manually here.
7624 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7626 (read_debug_info): Save the function's range.
7627 (read_sp): New function.
7628 (unwind_frame): Use it. Also unwind RBP.
7629 (get_frame_id): Use read_sp.
7630 (gdb_init_reader): Use calloc instead of malloc.
7631 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7632 parameter. Use gdb_test_multiple.
7634 2016-07-01 Pedro Alves <palves@redhat.com>
7635 Antoine Tremblay <antoine.tremblay@ericsson.com>
7637 * gdb.threads/process-dies-while-detaching.c: New file.
7638 * gdb.threads/process-dies-while-detaching.exp: New file.
7640 2016-07-01 Pedro Alves <palves@redhat.com>
7642 * gdb.multi/watchpoint-multi-exit.c: New file.
7643 * gdb.multi/watchpoint-multi-exit.exp: New file.
7645 2016-06-30 Pedro Alves <palves@redhat.com>
7647 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7648 unset inferior_spawn_id.
7650 2016-06-30 Pedro Alves <palves@redhat.com>
7652 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7653 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7655 2016-06-29 Yao Qi <yao.qi@linaro.org>
7657 * gdb.base/return.c: Add copyright header.
7659 2016-06-29 Tom Tromey <tom@tromey.com>
7662 * gdb.python/py-framefilter.exp: Add tests for setting priority
7663 and disabling of non-existent frame filter.
7665 2016-06-29 Yao Qi <yao.qi@linaro.org>
7667 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7670 2016-06-28 Yao Qi <yao.qi@linaro.org>
7672 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7673 triplets. Start gdb, execute catch syscall, and continue. Check
7674 gdb's output to determine catch syscall is supported.
7676 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7678 * gdb.rust/simple.rs: Add test for returning unit in a function.
7679 * gdb.rust/simple.exp: Add expectation for functions returning
7682 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7684 * gdb.python/py-breakpoint-create-fail.c,
7685 gdb.python/py-breakpoint-create-fail.exp,
7686 gdb.python/py-breakpoint-create-fail.py: New testcase.
7688 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7691 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7692 * gdb.rust/simple.exp: Add test expectations for new NonZero
7695 2016-06-24 David Taylor <dtaylor@emc.com>
7697 * gdb.base/offsets.exp: New file.
7698 * gdb.base/offsets.c: New file.
7700 2016-06-23 Tom Tromey <tom@tromey.com>
7703 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7704 before any filters are loaded.
7706 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7708 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7709 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7711 * gdb.fortran/derived-type-function.exp: New file.
7712 * gdb.fortran/derived-type-function.f90: New file.
7715 2016-06-21 Pedro Alves <palves@redhat.com>
7717 * gdb.base/new-ui.exp: New file.
7718 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7719 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7720 (with_spawn_id): New procedure.
7722 2016-06-21 Pedro Alves <palves@redhat.com>
7724 * gdb.mi/mi-exec-run.exp: New file.
7726 2016-06-21 Pedro Alves <palves@redhat.com>
7728 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7729 breakpoint command's output on the main UI.
7730 (test_break): New procedure, factored out from calls in the top
7732 (top level): Use foreach_with_prefix to test MI as main UI and as
7735 2016-06-21 Pedro Alves <palves@redhat.com>
7737 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7738 (test_awatch_creation_and_listing)
7739 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7740 Remove 'type' parameter.
7741 (test_watchpoint_all): New parameter mi_mode. Remove
7743 (top level): Use foreach_with_prefix, and add main/separate UI MI
7746 2016-06-21 Pedro Alves <palves@redhat.com>
7748 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7749 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7750 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7751 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7752 (gdb_main_spawn_id, mi_spawn_id): Declare and
7754 (mi_create_inferior_pty): New procedure,
7755 factored out from default_mi_gdb_start.
7756 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7758 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7759 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7760 Use mi_create_inferior_pty.
7761 (mi_gdb_start): Use eval to pass down args list.
7763 2016-06-21 Pedro Alves <palves@redhat.com>
7765 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7766 * gdb.opt/inline-cmds.exp: Add MI tests.
7768 2016-06-21 Pedro Alves <palves@redhat.com>
7770 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7772 2016-06-21 Pedro Alves <palves@redhat.com>
7774 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7775 (top level): Use it instead of mi_execute_to.
7777 2016-06-21 Pedro Alves <palves@redhat.com>
7779 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7780 (cont_handler_str): New.
7781 (signal_stop_handler): Set stop_handler_str instead of printing to
7783 (continue_handler): Set cont_handler_str instead of printing to
7785 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7786 mi_send_resuming_command. Print stop_handler_str and
7787 cont_handler_str instead of expecting the python events print
7790 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7792 * gdb.base/jit-reader.exp: New file.
7793 * gdb.base/jithost.c: New file.
7794 * gdb.base/jithost.h: New file.
7795 * gdb.base/jitreader.c : New file.
7796 * gdb.base/jit-protocol.h: New file.
7798 2016-06-17 Yao Qi <yao.qi@linaro.org>
7800 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7801 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7802 and detach-on-fork. Adjust tests.
7803 (top level): Invoke break_cond_on_syscall with combinations of
7804 syscall, follow-fork-mode and detach-on-fork.
7806 2016-06-17 Yao Qi <yao.qi@linaro.org>
7808 * gdb.base/step-over-exit.c: New.
7809 * gdb.base/step-over-exit.exp: New.
7811 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7813 * gdb.base/float.exp: Add target check for nds32*-*-*.
7814 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7816 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7818 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7819 for unsupported target features.
7820 * gdb.base/call-rt-st.exp: Likewise.
7821 * gdb.base/call-sc.exp: Likewise.
7822 * gdb.base/call-signal-resume.exp: Likewise.
7823 * gdb.base/call-strs.exp: Likewise.
7824 * gdb.base/callexit.exp: Likewise.
7825 * gdb.base/callfuncs.exp: Likewise.
7826 * gdb.base/nodebug.exp: Likewise.
7827 * gdb.base/printcmds.exp: Likewise.
7828 * gdb.base/ptype.exp: Likewise.
7829 * gdb.base/structs.exp: Likewise.
7830 * gdb.base/unwindonsignal.exp: Likewise.
7831 * gdb.cp/gdb2495.exp: Likewise.
7832 * gdb.cp/templates.exp: Likewise.
7833 * gdb.cp/virtfunc.exp: Likewise.
7834 * gdb.threads/hand-call-in-threads.exp: Likewise.
7835 * gdb.threads/interrupted-hand-call.exp: Likewise.
7836 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7838 2016-06-10 Tom Tromey <tom@tromey.com>
7841 * gdb.rust/expr.exp: Add test for integer constant larger than
7844 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7846 * gdb.fortran/nested-funcs.exp: New.
7847 * gdb.fortran/nested-funcs.f90: New.
7849 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7851 * gdb.base/examine-backward.c: New file.
7852 * gdb.base/examine-backward.exp: New file.
7854 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7856 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7859 2016-06-02 Tom Tromey <tom@tromey.com>
7862 * gdb.python/py-shared.exp: Add solib_name test.
7864 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7866 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7868 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7871 * gdb.dwarf2/implref.exp: Rename to...
7872 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7873 * gdb.dwarf2/implref-array.c: New file.
7874 * gdb.dwarf2/implref-array.exp: Likewise.
7875 * gdb.dwarf2/implref-global.c: Likewise.
7876 * gdb.dwarf2/implref-global.exp: Likewise.
7877 * gdb.dwarf2/implref-struct.c: Likewise.
7878 * gdb.dwarf2/implref-struct.exp: Likewise.
7880 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7882 * gdb.trace/trace-condition.exp: Add 64bit tests.
7884 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7886 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7888 (main): Adapt to 8 to 64 bits types.
7889 * gdb.trace/trace-condition.exp: Add new tests.
7891 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7893 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7895 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7897 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7898 Move condition tests...
7899 * gdb.trace/trace-condition.exp: Here.
7901 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7903 * gdb.trace/trace-condition.exp: Add counter-case tests.
7905 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7908 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7909 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7911 2016-05-27 Pedro Alves <palves@redhat.com>
7913 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7915 (top level): Call it, and bail out of DejaGnu is known to be bad.
7917 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7919 * gdb.base/whatis.c: Extend the test case.
7920 * gdb.base/whatis.exp: Add additional tests.
7922 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7924 * gdb.fortran/type.f90: Add pointer variable.
7925 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7927 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7929 * gdb.fortran/vla-type.exp: Fix testcase name.
7931 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7933 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7935 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7937 * gdb.fortran/type.f90: Add nested structures.
7938 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7939 * gdb.fortran/derived-type.exp: Adapt expected output.
7940 * gdb.fortran/vla-type.exp: Adapt expected output.
7942 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7944 * gdb.fortran/whatis_type.exp: Adapt expected output.
7946 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7948 * gdb.fortran/print_type.exp: Fix expected output.
7949 * gdb.fortran/whatis_type.exp: Fix expected output.
7951 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7953 * gdb.fortran/whatis_type.exp: Use multi_line.
7955 2016-05-24 Tom Tromey <tom@tromey.com>
7958 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7959 use value as an index.
7961 2016-05-23 Tom Tromey <tom@tromey.com>
7964 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7967 2016-05-24 Pedro Alves <palves@redhat.com>
7970 * gdb.threads/clone-attach-detach.c: New file.
7971 * gdb.threads/clone-attach-detach.exp: New file.
7973 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7975 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7977 2016-05-23 Tom Tromey <tom@tromey.com>
7979 PR python/19438, PR python/18393:
7980 * gdb.python/py-progspace.exp: Add "dir" test.
7981 * gdb.python/py-objfile.exp: Add "dir" test.
7983 2016-05-23 Yao Qi <yao.qi@linaro.org>
7985 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7986 * gdb.arch/thumb2-it.exp: Likewise.
7988 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7990 * gdb.mi/mi-threads-interrupt.c: New file.
7991 * gdb.mi/mi-threads-interrupt.exp: New file.
7993 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7996 * gdb.mi/mi-async-run.exp: New file.
7997 * gdb.mi/mi-async-run.c: New file.
7999 2016-05-17 Tom Tromey <tom@tromey.com>
8000 Manish Goregaokar <manishsmail@gmail.com>
8002 * lib/rust-support.exp: New file.
8003 * lib/gdb.exp (skip_rust_tests): New proc.
8004 (build_executable_from_specs): Handle rust.
8005 * lib/future.exp (gdb_find_rustc): New proc.
8006 (gdb_default_target_compile): Handle rust.
8007 * gdb.rust/expr.exp: New file.
8008 * gdb.rust/generics.exp: New file.
8009 * gdb.rust/generics.rs: New file.
8010 * gdb.rust/methods.exp: New file.
8011 * gdb.rust/methods.rs: New file.
8012 * gdb.rust/modules.exp: New file.
8013 * gdb.rust/modules.rs: New file.
8014 * gdb.rust/simple.exp: New file.
8015 * gdb.rust/simple.rs: New file.
8017 2016-05-17 Tom Tromey <tom@tromey.com>
8019 * gdb.base/default.exp (set language): Add rust.
8021 2016-05-17 Tom Tromey <tom@tromey.com>
8023 * gdb.gdb/unittest.exp: New file.
8025 2016-05-16 Yao Qi <yao.qi@linaro.org>
8027 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8028 shell_prompt. Update shell_prompt_re.
8030 2016-05-12 Doug Evans <dje@google.com>
8033 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8034 $options when building executable.
8035 * gdb.dwarf2/fission-loclists-pie.S: New file.
8036 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8038 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8040 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
8041 of [is_remote target],
8043 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8045 * lib/gdb.exp (use_gdb_stub): New procedure.
8047 2016-05-03 Yunlian Jiang <yunlian@google.com>
8048 Doug Evans <dje@google.com>
8051 * gdb.dwarf2/dwp-sepdebug.c: New file.
8052 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8054 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8056 * gdb.base/detach.exp: Remove is_remote check.
8058 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8060 * gdb.base/annota-input-while-running.exp: Don't check for
8061 [is_remote target]. Enable annotations after running to main.
8062 Remove unused "set test..." line.
8064 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8066 * gdb.trace/trace-enable-disable.exp: New file.
8067 * gdb.trace/trace-enable-disable.c: New file.
8069 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8071 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8072 use it in info sharedlibrary test.
8073 * gdb.trace/ftrace-lock.exp: Likewise.
8074 * gdb.trace/ftrace.exp: Likewise.
8075 * gdb.trace/range-stepping.exp: Likewise.
8076 * gdb.trace/trace-break.exp: Likewise.
8077 * gdb.trace/trace-condition.exp: Likewise.
8078 * gdb.trace/trace-mt.exp: Likewise.
8080 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8082 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8083 (gdb_load_shlib): ... this.
8084 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8086 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8087 * gdb.base/ctxobj.exp: Likewise.
8088 * gdb.base/dprintf-pending.exp: Likewise.
8089 * gdb.base/dso2dso.exp: Likewise.
8090 * gdb.base/fixsection.exp: Likewise.
8091 * gdb.base/gcore-relro.exp: Likewise.
8092 * gdb.base/gdb1555.exp: Likewise.
8093 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8094 * gdb.base/gnu-ifunc.exp: Likewise.
8095 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8096 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8097 * gdb.base/pending.exp: Likewise.
8098 * gdb.base/print-file-var.exp: Likewise.
8099 * gdb.base/print-symbol-loading.exp: Likewise.
8100 * gdb.base/shlib-call.exp: Likewise.
8101 * gdb.base/shreloc.exp: Likewise.
8102 * gdb.base/so-impl-ld.exp: Likewise.
8103 * gdb.base/solib-disc.exp: Likewise.
8104 * gdb.base/solib-nodir.exp: Likewise.
8105 * gdb.base/solib-overlap.exp: Likewise.
8106 * gdb.base/solib-symbol.exp: Likewise.
8107 * gdb.base/solib-weak.exp (do_test): Likewise.
8108 * gdb.base/sym-file.exp: Likewise.
8109 * gdb.base/symtab-search-order.exp: Likewise.
8110 * gdb.base/type-opaque.exp: Likewise.
8111 * gdb.base/unload.exp: Likewise.
8112 * gdb.base/watchpoint-solib.exp: Likewise.
8113 * gdb.compile/compile.exp: Likewise.
8114 * gdb.cp/gdb2384.exp: Likewise.
8115 * gdb.cp/infcall-dlopen.exp: Likewise.
8116 * gdb.cp/re-set-overloaded.exp: Likewise.
8117 * gdb.fortran/library-module.exp: Likewise.
8118 * gdb.opt/solib-intra-step.exp: Likewise.
8119 * gdb.python/py-finish-breakpoint.exp: Likewise.
8120 * gdb.python/py-shared.exp: Likewise.
8121 * gdb.reverse/solib-precsave.exp: Likewise.
8122 * gdb.reverse/solib-reverse.exp: Likewise.
8123 * gdb.server/solib-list.exp: Likewise.
8124 * gdb.threads/dlopen-libpthread.exp: Likewise.
8125 * gdb.threads/tls-shared.exp: Likewise.
8126 * gdb.threads/tls-so_extern.exp: Likewise.
8127 * gdb.trace/change-loc.exp: Likewise.
8128 * gdb.trace/ftrace-lock.exp: Likewise.
8129 * gdb.trace/ftrace.exp: Likewise.
8130 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8131 * gdb.trace/pending.exp: Likewise.
8132 * gdb.trace/range-stepping.exp: Likewise.
8133 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8134 (strace_info_marker): Likewise.
8135 (strace_probe_marker): Likewise.
8136 (strace_trace_on_same_addr): Likewise.
8137 (strace_trace_on_diff_addr): Likewise.
8138 * gdb.trace/trace-break.exp: Likewise.
8139 * gdb.trace/trace-condition.exp: Likewise.
8140 * gdb.trace/trace-mt.exp: Likewise.
8142 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8144 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8145 result of gdb_remote_download.
8146 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8147 * gdb.base/dso2dso.exp: Likewise.
8148 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8149 * gdb.base/print-file-var.exp: Likewise.
8150 * gdb.base/shlib-call.exp: Likewise.
8151 * gdb.base/shreloc.exp: Likewise.
8152 * gdb.base/solib-overlap.exp: Likewise.
8153 * gdb.base/solib-weak.exp (do_test): Likewise.
8154 * gdb.base/unload.exp: Likewise.
8156 2016-04-27 Yao Qi <yao.qi@linaro.org>
8158 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8161 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8163 * vla-type.exp: Print structure from toplevel.
8165 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8167 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8169 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8172 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8174 * gdb.fortran/vla-type.f90: New file.
8175 * gdb.fortran/vla-type.exp: New file.
8177 2016-04-25 Yao Qi <yao.qi@linaro.org>
8179 * gdb.base/branch-to-self.c: New file.
8180 * gdb.base/branch-to-self.exp: New file.
8182 2016-04-22 Yao Qi <yao.qi@linaro.org>
8184 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8187 2016-04-22 Yao Qi <yao.qi@linaro.org>
8189 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8190 * gdb.base/annota3.exp: Likewise.
8192 2016-04-22 Yao Qi <yao.qi@linaro.org>
8194 * gdb.reverse/step-precsave.exp: Do one step and test program
8195 stops in "callee" and do multiple steps until program goes out
8197 * gdb.reverse/step-reverse.exp: Likewise.
8199 2016-04-22 Yao Qi <yao.qi@linaro.org>
8201 * gdb.trace/signal.exp: Also pass if
8202 $tracepoint_hits($i) > $iterations.
8204 2016-04-22 Yao Qi <yao.qi@linaro.org>
8206 * gdb.trace/signal.c: New file.
8207 * gdb.trace/signal.exp: New file.
8209 2016-04-19 Doug Evans <xdje42@gmail.com>
8211 * gdb.base/bad-file.exp: New file.
8213 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8215 * gdb.dwarf2/implref.exp: New file.
8217 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8219 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8220 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8221 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8222 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8223 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8224 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8225 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8226 * lib/fortran.exp (fortran_int4): New procedure.
8227 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8228 (fortran_logical4): Likewise.
8230 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8232 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8234 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8236 * lib/compiler.c: Add Intel specific preprocessor macros.
8237 * lib/compiler.cc: Likewise.
8239 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8241 * gdb.server/connect-with-no-symbol-file.c: New file.
8242 * gdb.server/connect-with-no-symbol-file.exp: New file.
8244 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8246 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8248 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8250 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8251 standard output directory.
8253 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8255 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8257 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8259 * gdb.btrace/instruction_history.c (loop): Add declaration.
8261 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8263 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8265 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8267 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8268 parentheses to print.
8269 (continue_handler): Likewise.
8271 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8273 * gdb.server/solib-list.exp: Remove is_remote check.
8274 Pass shlib= to gdb_compile. Don't link shared library with
8275 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8276 Run binary filename through "readlink -f" on the target.
8278 2016-04-08 Pedro Alves <palves@redhat.com>
8280 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8281 interpreter filename as argument to gdbserver_spawn.
8282 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8283 Return empty if $last_loaded_file does not exist.
8285 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8287 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8288 * gdb.base/jit-main.c: Use exit after usage.
8290 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8292 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8293 GDBHISTSIZE prior to the tests.
8294 * gdb.base/gdbinit-history.exp: Likewise.
8296 2016-04-07 Pedro Alves <palves@redhat.com>
8298 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8299 instead of build_executable. Use gdb_load_shlibs.
8301 2016-04-07 Yao Qi <yao.qi@linaro.org>
8303 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8304 Execute "si" command.
8306 2016-04-07 Yao Qi <yao.qi@linaro.org>
8308 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8309 number instead of the comments on some line.
8311 2016-04-06 Don Breazeal <donb@codesourcery.com>
8313 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8314 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8316 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8318 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8319 standard_output_file. Remove unused binfile variable.
8321 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8323 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8324 * gdb.python/py-mi-objfile.exp: Match "list main" output
8327 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8329 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8332 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8334 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8336 * gdb.trace/ftrace.exp: Likewise.
8337 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8339 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8340 (gdb_load_shlibs): Copy libraries to test directory when testing
8341 natively. Only set solib-search-path if testing remotely.
8342 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8344 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8346 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8347 gdb_download. Use it even if the target is not remote.
8348 * gdb.base/jit.exp (compile_jit_test): Likewise.
8349 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8350 output directory if the destination board is local, otherwise use
8351 the standard remote_download from DejaGnu.
8352 (gdb_download): Remove.
8353 (gdb_load_shlibs): Use gdb_remote_download instead of
8355 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8356 Use gdb_remote_download instead of gdb_download. Use it even if
8357 the target is not remote.
8358 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8359 instead of gdb_download.
8361 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8363 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8364 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8367 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8370 * gdb.base/printcmds.exp: Add artificial arrays tests.
8372 2016-03-31 Pedro Alves <palves@redhat.com>
8375 * gdb.base/jit-main.c: Include unistd.h.
8376 (ATTACH): Define to 0 if not already defined.
8377 (wait_for_gdb, mypid): New globals.
8378 (WAIT_FOR_GDB): New macro.
8379 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8380 some breakpoint locations.
8381 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8383 (one_jit_test): Add REATTACH parameter, and handle it. Use
8384 continue_to_test_location.
8385 (top level): Test attach, and adjusts calls to one_jit_test.
8387 2016-03-31 Pedro Alves <palves@redhat.com>
8390 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8391 BINSUFFIX parameter, and handle it.
8392 (top level): Adjust calls compile_jit_test.
8394 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8397 * gdb.python/py-mi-events-gdb.py: New file.
8398 * gdb.python/py-mi-events.c: New file.
8399 * gdb.python/py-mi-events.exp: New file.
8401 2016-03-30 Yao Qi <yao.qi@linaro.org>
8403 * gdb.reverse/until-precsave.exp: Match function name only.
8404 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8405 Move malloc to a condition block.
8406 * gdb.reverse/until-reverse.exp: Match function name only.
8408 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8410 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8411 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8412 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8413 variable for GPR 0 instead of assuming it is register 0.
8414 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8415 * lib/trace-support.exp: Add s390 registers.
8417 2016-03-29 Yao Qi <yao.qi@linaro.org>
8419 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8421 2016-03-24 Yao Qi <yao.qi@linaro.org>
8423 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8426 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8428 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8429 maintaining separate logic for constructing the output path.
8431 2016-03-16 Don Breazeal <donb@codesourcery.com>
8433 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8434 Retry fork and waitpid on interrupted system call errors.
8435 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8436 Use with_timeout_factor to increase timeout by factor of 10.
8438 2016-03-15 Don Breazeal <donb@codesourcery.com>
8440 * gdb.cp/scope-err.cc: New test program.
8441 * gdb.cp/scope-err.exp: New test script.
8442 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8443 lines and "set breakpoint here" comment.
8444 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8445 Fixed some whitespace and format issues.
8446 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8447 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8449 2016-03-15 Doug Evans <dje@google.com>
8451 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8452 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8453 All callers updated. Add tests for enums, mixed flags register.
8455 2016-03-15 Doug Evans <dje@google.com>
8457 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8458 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8460 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8462 * gdb.base/default.exp: Add $_as_string to the list of expected
8463 convenience functions.
8465 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8467 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8469 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8471 * gdb.python/py-as-string.exp: New file.
8472 * gdb.python/py-as-string.c: New file.
8474 2016-03-09 Pedro Alves <palves@redhat.com>
8476 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8477 signal" -> "Thread NN received signal" output change.
8478 * gdb.threads/ia64-sigill.exp: Likewise.
8479 * gdb.threads/linux-dp.exp: Likewise.
8480 * gdb.threads/manythreads.exp: Likewise.
8481 * gdb.threads/pending-step.exp: Likewise.
8482 * gdb.threads/print-threads.exp: Likewise.
8483 * gdb.threads/sigstep-threads.exp: Likewise.
8484 * gdb.threads/staticthreads.exp: Likewise.
8485 * gdb.threads/tls.exp: Likewise.
8487 2016-03-09 Pedro Alves <palves@redhat.com>
8489 * gdb.base/command-line-input.exp: New file.
8491 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8493 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8494 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8495 * gdb.trace/pending.exp: Accept leading dot before function name.
8496 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8497 * lib/trace-support.exp: Set registers for ppc.
8499 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8501 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8502 use it for disassembly; accept .main in addition to main in backtrace.
8504 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8505 Marcin Kościelnicki <koriakin@0x04.net>
8507 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8508 (gdb_recursion_test_ptr): New global variable.
8509 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8511 (gdb_c_test): Ditto.
8513 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8515 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8518 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8520 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8521 (bar): Add bar_start_lbl label.
8522 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8523 of foo/bar for emitting DWARF and tracing.
8525 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8527 * analyze-racy-logs.py: Set executable bit.
8529 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8531 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8532 (CHECK_TARGET_TMP): Likewise.
8533 (check-single-racy): New rule.
8534 (check-parallel-racy): Likewise.
8535 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8536 (do-check-parallel-racy): New rule.
8537 (check-racy/%.exp): Likewise.
8538 * README (Racy testcases): New section.
8539 * analyze-racy-logs.py: New file.
8541 2016-03-03 Doug Evans <dje@google.com>
8543 * gdb.base/skip.exp: Use with_test_prefix.
8545 2016-03-03 Yao Qi <yao.qi@linaro.org>
8547 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8548 Invoke step_over_syscall "clone" and break_cond_on_syscall
8550 * gdb.base/step-over-clone.c: New file.
8552 2016-03-03 Yao Qi <yao.qi@linaro.org>
8554 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8557 2016-03-03 Yao Qi <yao.qi@linaro.org>
8559 * gdb.base/disp-step-fork.c: Rename to ...
8560 * gdb.base/step-over-fork.c: ... it. New file.
8561 * gdb.base/disp-step-vfork.c: Rename to ...
8562 * gdb.base/step-over-vfork.c: ... it. New file.
8563 * gdb.base/disp-step-syscall.exp: Rename to ...
8564 * gdb.base/step-over-syscall.exp: ... it. New file.
8565 (disp_step_cross_syscall): Rename to ...
8566 (step_over_syscall): ... it.
8568 2016-03-03 Yao Qi <yao.qi@linaro.org>
8570 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8571 If target supports condition evaluation on target, invoke
8572 break_cond_on_syscall for fork and vfork.
8574 2016-03-03 Yao Qi <yao.qi@linaro.org>
8576 * gdb.base/disp-step-syscall.exp: Don't invoke
8577 support_displaced_stepping.
8578 (disp_step_cross_syscall): Test with displaced stepping off and
8581 2016-03-03 Yao Qi <yao.qi@linaro.org>
8583 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8586 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8589 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8591 * gdb.fortran/vla-history.exp: Remove breakpoint.
8593 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8595 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8598 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8600 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8603 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8605 * gdb.mi/vla.f90: Nullify pointer after declaration.
8607 2016-03-01 Pedro Alves <palves@redhat.com>
8609 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8611 2016-03-01 Pedro Alves <palves@redhat.com>
8613 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8614 before anything else.
8615 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8617 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8618 before anything else.
8619 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8621 2016-03-01 Pedro Alves <palves@redhat.com>
8623 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8625 2016-03-01 Yao Qi <yao.qi@linaro.org>
8627 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8628 prepare_for_testing.
8630 2016-03-01 Yao Qi <yao.qi@linaro.org>
8632 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8634 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8636 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8637 manually constructing the output path.
8639 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8641 * gdb.arch/s390-stackless.S: New.
8642 * gdb.arch/s390-stackless.exp: New.
8644 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8646 * gdb.dlang/circular.c: New file.
8647 * gdb.dlang/circular.exp: New file.
8649 2016-02-26 Yao Qi <yao.qi@linaro.org>
8651 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8652 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8653 (testcases): Update.
8655 2016-02-26 Yao Qi <yao.qi@linaro.org>
8657 * gdb.reverse/aarch64.c: Rename to ...
8658 * gdb.reverse/insn-reverse.c: ... it.
8659 * gdb.reverse/aarch64.exp: Rename to ...
8660 * gdb.reverse/insn-reverse.exp: ... it.
8662 2016-02-26 Yao Qi <yao.qi@linaro.org>
8664 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8665 (testcase_ftype): New.
8666 (testcases): New array.
8668 (main): Call each element in testcases.
8669 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8670 (read_testcase): New.
8671 Do the tests in a loop.
8673 2016-02-25 Yao Qi <yao.qi@linaro.org>
8675 * gdb.base/branches.c: Remove.
8677 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8680 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8682 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8684 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8686 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8688 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8689 change x86_64 call_insn to 'callq'.
8691 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8693 * gdb.trace/tfile-avx.c: Move to...
8694 * gdb.trace/tracefile-pseudo-reg.c: Here.
8695 * gdb.trace/tfile-avx.exp: Move to...
8696 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8698 2016-02-24 Gary Benson <gbenson@redhat.com>
8700 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8703 2016-02-23 Doug Evans <dje@google.com>
8705 * gdb.base/skip.c (test_skip): New function.
8706 (end_test_skip_file_and_function): New function.
8707 (test_skip_file_and_function): New function.
8708 * gdb.base/skip1.c (test_skip): New function.
8709 (skip1_test_skip_file_and_function): New function.
8710 * gdb.base/skip.exp: Add tests for new skip options.
8711 * gdb.base/skip-solib.exp: Update expected output.
8712 * gdb.perf/skip-command.cc: New file.
8713 * gdb.perf/skip-command.exp: New file.
8714 * gdb.perf/skip-command.py: New file.
8716 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8718 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8719 info registers pattern.
8721 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8723 * lib/future.exp: Add D support.
8724 (gdb_find_gdc): New proc.
8725 (gdb_default_target_compile): Add D support.
8727 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8729 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8731 (trace_speed_test): Determine the iteration count for a time
8732 between 15..30 seconds.
8734 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8736 * gdb.arch/i386-mpx-sigsegv.c: New file.
8737 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8738 * gdb.arch/i386-mpx-simple_segv.c: New file.
8739 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8741 2016-02-18 Yao Qi <yao.qi@linaro.org>
8743 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8744 Don't call setup_kfail.
8746 2016-02-18 Yao Qi <yao.qi@linaro.org>
8748 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8749 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8751 2016-02-16 Doug Evans <dje@google.com>
8753 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8754 * gdb.base/skip1.c: Ditto.
8755 * gdb.base/skip.exp: Whitespace cleanup.
8757 2016-02-16 Don Breazeal <donb@codesourcery.com>
8760 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8761 Remove kfail for PR remote/19496.
8763 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8765 * lib/gdb.exp (standard_temp_file): Return a path specific to
8766 the runtest invocation.
8768 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8770 * gdb.trace/save-trace.exp: Change relative path to be in the
8771 standard output directory.
8773 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8775 * gdb.arch/i386-prologue.c: Add missing prototypes.
8777 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8779 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8780 * gdb.arch/i386-prologue.exp: Likewise.
8781 * gdb.arch/i386-size.exp: Likewise.
8783 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8785 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8786 define object file path.
8787 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8789 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8790 standard_output_file to define binfile.
8792 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8794 Fix compatibility with recent gfortran-5.3.1.
8795 * gdb.fortran/vla-history.exp (print vla1 allocated)
8796 (print vla2 allocated, print $2, print $3): Remove
8797 (print $4): Rename to ...
8798 (print $2): ... here.
8799 (print $9): Rename to ...
8800 (print $5): ... here.
8801 (print $10): Rename to ...
8802 (print $6): ... here.
8803 * gdb.fortran/vla.f90: Add pvla initialization.
8805 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8807 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8809 * gdb.fortran/vla-value-sub.exp: Likewise.
8811 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8813 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8815 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8817 * i386-biarch-core.exp: Define corefile using
8818 standard_output_file.
8820 2016-02-12 Yao Qi <yao.qi@linaro.org>
8822 * gdb.arch/arm-single-step-kernel-helper.c: New.
8823 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8825 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8827 * gdb.btrace/tailcall-only.exp: New.
8828 * gdb.btrace/tailcall-only.c: New.
8829 * gdb.btrace/x86_64-tailcall-only.S: New.
8830 * gdb.btrace/i686-tailcall-only.S: New.
8832 2016-02-11 Pedro Alves <palves@redhat.com>
8834 * README (Parallel testing): Add missing double quotes.
8836 2016-02-11 Pedro Alves <palves@redhat.com>
8838 * README (Parallel testing): New section.
8839 (GDB_PARALLEL): Rewrite.
8840 (FORCE_PARALLEL): Document.
8842 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8844 * gdb.trace/tfile-avx.c: New test.
8845 * gdb.trace/tfile-avx.exp: New test.
8847 2016-02-09 Keith Seitz <keiths@redhat.com>
8849 PR breakpoints/19546
8850 * gdb.base/infcall-exec.c: New file.
8851 * gdb.base/infcall-exec2.c: New file.
8852 * gdb.base/infcall-exec.exp: New file.
8854 2016-02-09 Keith Seitz <keiths@redhat.com>
8856 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8857 (toplevel): Call test_bkpt_address.
8859 2016-02-09 Keith Seitz <keiths@redhat.com>
8862 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8863 (toplevel): Call test_bkpt_address.
8865 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8867 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8869 * configure: Regenerate.
8871 2016-02-09 Pedro Alves <palves@redhat.com>
8873 PR breakpoints/19548
8874 * gdb.base/execl-update-breakpoints.c (some_function): New
8877 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8878 Tighten expected GDB output.
8880 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8882 * Makefile.in (ALL_SUBDIRS): Remove.
8883 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8884 (distclean maintainer-clean realclean): Likewise.
8885 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8886 * configure: Regenerate.
8887 * gdb.ada/Makefile.in: Delete.
8888 * gdb.arch/Makefile.in: Likewise.
8889 * gdb.asm/Makefile.in: Likewise.
8890 * gdb.base/Makefile.in: Likewise.
8891 * gdb.btrace/Makefile.in: Likewise.
8892 * gdb.cell/Makefile.in: Likewise.
8893 * gdb.compile/Makefile.in: Likewise.
8894 * gdb.cp/Makefile.in: Likewise.
8895 * gdb.disasm/Makefile.in: Likewise.
8896 * gdb.dlang/Makefile.in: Likewise.
8897 * gdb.dwarf2/Makefile.in: Likewise.
8898 * gdb.fortran/Makefile.in: Likewise.
8899 * gdb.gdb/Makefile.in: Likewise.
8900 * gdb.go/Makefile.in: Likewise.
8901 * gdb.guile/Makefile.in: Likewise.
8902 * gdb.java/Makefile.in: Likewise.
8903 * gdb.linespec/Makefile.in: Likewise.
8904 * gdb.mi/Makefile.in: Likewise.
8905 * gdb.modula2/Makefile.in: Likewise.
8906 * gdb.multi/Makefile.in: Likewise.
8907 * gdb.objc/Makefile.in: Likewise.
8908 * gdb.opencl/Makefile.in: Likewise.
8909 * gdb.opt/Makefile.in: Likewise.
8910 * gdb.pascal/Makefile.in: Likewise.
8911 * gdb.perf/Makefile.in: Likewise.
8912 * gdb.python/Makefile.in: Likewise.
8913 * gdb.reverse/Makefile.in: Likewise.
8914 * gdb.server/Makefile.in: Likewise.
8915 * gdb.stabs/Makefile.in: Likewise.
8916 * gdb.threads/Makefile.in: Likewise.
8917 * gdb.trace/Makefile.in: Likewise.
8918 * gdb.xml/Makefile.in: Likewise.
8919 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8921 (standard_output_file): Remove check for GDB_PARALLEL, always
8922 return path in outputs/$subdir/$testname.
8924 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8926 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8927 (site.exp): Assign abs_srcdir to tcl's srcdir.
8929 2016-02-04 Yao Qi <yao.qi@linaro.org>
8931 * gdb.base/foll-exec-mode.c: Include limits.h.
8932 (main): Add parameters argc and argv. Get directory from
8934 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8936 * gdb.base/foll-exec.c: Include limits.h.
8937 (main): Add parameters argc and argv.
8938 Get directory from argv[0].
8939 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8940 Adjust tests on the number of lines as source code changed.
8941 * gdb.base/foll-vfork-exit.c: Include limits.h.
8942 (main): Add one line of statement before vfork.
8943 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8944 (main): Add parameters argc and argv. Get directory from
8946 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8947 (setup_gdb): Set tbreak to skip some source lines.
8948 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8949 (main): Add parameters argc and argv. Get directory from
8951 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8953 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8954 (main): Add parameters argc and argv. Get directory from
8956 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8959 2016-02-01 Doug Evans <dje@google.com>
8961 * gdb.base/skip.exp: Clean up multiple references to same test name.
8963 2016-02-01 Pedro Alves <palves@redhat.com>
8966 * gdb.threads/forking-threads-plus-breakpoint.exp
8967 (displaced_stepping_supported): New global.
8968 (probe_displaced_stepping_support): New procedure.
8969 (do_test): Add 'displaced' parameter, and use it.
8970 (top level): Check for displaced stepping support. Add displaced
8971 stepping on/off testing axis.
8973 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8975 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8976 pointer. Don't perform further tests on the unassociated pointer
8977 if the first test fails.
8979 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8981 * gdb.base/max-value-size.c: New file.
8982 * gdb.base/max-value-size.exp: New file.
8983 * gdb.base/huge.exp: Disable max-value-size for this test.
8985 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8987 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8989 2016-01-28 Yao Qi <yao.qi@linaro.org>
8991 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8993 2016-01-25 Pedro Alves <palves@redhat.com>
8996 * gdb.base/fork-running-state.c: New file.
8997 * gdb.base/fork-running-state.exp: New file.
8999 2016-01-25 Pedro Alves <palves@redhat.com>
9002 * gdb.base/catch-fork-kill.c: New file.
9003 * gdb.base/catch-fork-kill.exp: New file.
9005 2016-01-25 Pedro Alves <palves@redhat.com>
9007 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9008 Delete, moved to lib/gdb.exp.
9009 * gdb.threads/forking-threads-plus-breakpoint.exp
9010 (foreach_with_prefix): Likewise.
9011 * gdb.threads/process-dies-while-handling-bp.exp
9012 (foreach_with_prefix): Likewise.
9013 * lib/gdb.exp (foreach_with_prefix): New procedure.
9015 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9017 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9018 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9020 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9022 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9025 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9026 Pedro Alves <palves@redhat.com>
9028 Fix testsuite compatibility with Guile.
9029 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9032 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9034 Fix testsuite compatibility with Guile.
9035 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9036 (thread 1): New test for backtrace through signal handler.
9038 2016-01-22 Yao Qi <yao.qi@linaro.org>
9041 * gdb.base/multi-forks.c: Include
9042 ../lib/unbuffer_output.c
9043 (main): Call gdb_unbuffer_output.
9045 2016-01-21 Doug Evans <dje@google.com>
9047 * lib/ada.exp (gdb_compile_ada): Fix typo.
9049 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9051 * gdb.base/break-fun-addr.exp: New file.
9052 * gdb.base/break-fun-addr1.c: New file.
9053 * gdb.base/break-fun-addr2.c: New file.
9055 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9057 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9058 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9061 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9063 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9064 when GDB can not set the vector return value. Add more comments
9067 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9069 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9072 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9074 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9076 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9078 * Makefile.in (check-single): Pass --status to runtest.
9079 (check/%.exp): Likewise.
9081 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9083 * Makefile.in (check-parallel): Propagate return code from make
9086 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9088 * gdb.trace/ftrace.exp: Fix expected message on continue.
9089 * gdb.trace/pending.exp: Fix expected message on continue.
9090 * gdb.trace/trace-break.exp: Fix expected message on continue.
9092 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9094 * lib/gdb.exp (gdb_test): Remove unused global references.
9096 2016-01-18 Pedro Alves <palves@redhat.com>
9098 * gdb.base/async-shell.exp: Adjust expected output.
9099 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9100 * gdb.base/siginfo-thread.exp: Adjust expected output.
9101 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9102 * gdb.java/jnpe.exp: Adjust expected output.
9103 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9104 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9105 * gdb.threads/leader-exit.exp: Adjust expected output.
9106 * gdb.threads/manythreads.exp: Adjust expected output.
9107 * gdb.threads/pthreads.exp: Adjust expected output.
9108 * gdb.threads/schedlock.exp: Adjust expected output.
9109 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9110 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9112 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9114 * gdb.threads/sigthread.exp: Adjust expected output.
9115 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9117 2016-01-18 Yao Qi <yao.qi@linaro.org>
9119 * gdb.guile/scm-section-script.c: Replace @progbits with
9121 * gdb.python/py-section-script.c: Likewise.
9123 2016-01-15 Pedro Alves <palves@redhat.com>
9125 * gdb.multi/tids.exp: Test star wildcard ranges.
9127 2016-01-15 Pedro Alves <palves@redhat.com>
9129 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9130 command from "thread apply" invocation.
9131 (thr_apply_info_thr_invalid): Default the expected output to the
9133 (top level): Add tests that use convenience variables. Add tests
9134 for "thread apply" with a valid TID list, but missing the command.
9136 2016-01-13 Pedro Alves <palves@redhat.com>
9138 * gdb.base/default.exp: Expect $_gthread as well.
9139 * gdb.multi/tids.exp: Test $_gthread.
9140 * gdb.threads/thread-specific.exp: Test $_gthread.
9142 2016-01-13 Pedro Alves <palves@redhat.com>
9144 * gdb.multi/tids.exp: Test "info threads -gid".
9146 2016-01-13 Pedro Alves <palves@redhat.com>
9148 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9150 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9152 2016-01-07 Pedro Alves <palves@redhat.com>
9154 * gdb.base/break.exp: Adjust to output changes.
9155 * gdb.base/hbreak2.exp: Likewise.
9156 * gdb.base/sepdebug.exp: Likewise.
9157 * gdb.base/watch_thread_num.exp: Likewise.
9158 * gdb.linespec/keywords.exp: Likewise.
9159 * gdb.multi/info-threads.exp: Likewise.
9160 * gdb.threads/thread-find.exp: Likewise.
9161 * gdb.multi/tids.c: New file.
9162 * gdb.multi/tids.exp: New file.
9164 2016-01-13 Pedro Alves <palves@redhat.com>
9166 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9168 2016-01-13 Pedro Alves <palves@redhat.com>
9170 * gdb.base/default.exp: Expect $_inferior as well.
9171 * gdb.multi/base.exp: Test $_inferior.
9173 2016-01-13 Pedro Alves <palves@redhat.com>
9175 PR breakpoints/19388
9176 * gdb.base/catch-signal-siginfo-cond.c: New file.
9177 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9179 2016-01-12 Josh Stone <jistone@redhat.com>
9180 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9182 * gdb.base/catch-syscall.c (do_execve): New variable.
9183 (main): Conditionally trigger an execve.
9184 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9185 (test_catch_syscall_execve): New, check entry/return across execve.
9186 (do_syscall_tests): Call test_catch_syscall_execve.
9188 2016-01-12 Pedro Alves <palves@redhat.com>
9190 * gdb.base/random-signal.exp (do_test): New procedure, with body
9191 of testcase moved in.
9193 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9194 Pedro Alves <palves@redhat.com>
9196 * gdb.base/funcargs.exp (finish from indirectly called function):
9197 Reintroduce the case for 'First'.
9199 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9200 Pedro Alves <palves@redhat.com>
9202 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9203 (tcatch_vfork_then_child_follow_exec)
9204 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9207 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9209 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9210 and repeats to unlimited.
9211 * gdb.python/py-value.exp: Likewise.
9212 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9213 and repeats to unlimited.
9215 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9217 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9218 and reordering the functions.
9219 * gdb.multi/hangout.c: Likewise.
9220 * gdb.multi/hello.c: Likewise.
9222 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9224 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9226 (SingleStatisticTestResult.report): Use dict.keys instead of
9229 2016-01-06 Pedro Alves <palves@redhat.com>
9231 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9233 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9235 * gdb.btrace/dlopen.exp: New.
9236 * gdb.btrace/dlopen.c: New.
9237 * gdb.btrace/dlopen-dso.c: New.
9239 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9241 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9242 PATTERN argument is optional.
9244 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9246 * lib/ada.exp (target_compile_ada_from_dir): New function.
9247 (gdb_compile_ada): Reimplement avoiding the use of project files.
9248 * gdb.ada/gnat_ada.gpr: Delete.
9249 * gdb.ada/cond_lang.exp: Adjust test to make path before
9251 * gdb.ada/small_reg_param.exp: Likewise.
9253 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9255 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9257 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9259 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9262 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9264 * gdb.base/break.exp: Remove dead code.
9265 * gdb.base/sepdebug.exp: Likewise.
9267 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9269 * gdb.asm/asm-source.exp: Remove HP-UX references.
9270 * gdb.base/annota1.exp: Likewise.
9271 * gdb.base/annota3.exp: Likewise.
9272 * gdb.base/attach.exp: Likewise.
9273 * gdb.base/bigcore.exp: Likewise.
9274 * gdb.base/break.exp: Likewise.
9275 * gdb.base/call-ar-st.exp: Likewise.
9276 * gdb.base/callfuncs.exp: Likewise.
9277 * gdb.base/catch-fork-static.exp: Likewise.
9278 * gdb.base/display.exp: Likewise.
9279 * gdb.base/foll-exec-mode.exp: Likewise.
9280 * gdb.base/foll-exec.exp: Likewise.
9281 * gdb.base/foll-fork.exp: Likewise.
9282 * gdb.base/foll-vfork.exp: Likewise.
9283 * gdb.base/funcargs.exp: Likewise.
9284 * gdb.base/hbreak2.exp: Likewise.
9285 * gdb.base/inferior-died.exp: Likewise.
9286 * gdb.base/interrupt.exp: Likewise.
9287 * gdb.base/multi-forks.exp: Likewise.
9288 * gdb.base/nodebug.exp: Likewise.
9289 * gdb.base/sepdebug.exp: Likewise.
9290 * gdb.base/solib1.c: Likewise.
9291 * gdb.base/step-test.exp: Likewise.
9292 * gdb.mi/non-stop.c: Likewise.
9293 * gdb.mi/pthreads.c: Likewise.
9294 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9295 * gdb.threads/pthreads.c: Likewise.
9296 * gdb.threads/staticthreads.exp: Likewise.
9297 * lib/future.exp: Likewise.
9298 * lib/gdb.exp: Likewise.
9299 * gdb.base/so-indr-cl.c: Remove.
9300 * gdb.base/so-indr-cl.exp: Likewise.
9301 * gdb.base/solib.c: Likewise.
9302 * gdb.base/solib.exp: Likewise.
9303 * gdb.base/solib2.c: Likewise.
9305 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9307 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9308 * gdb.base/call-ar-st.exp: Likewise.
9309 * gdb.base/callfuncs.exp: Likewise.
9310 * gdb.base/condbreak.exp: Likewise.
9311 * gdb.base/constvars.exp: Likewise.
9312 * gdb.base/hbreak2.exp: Likewise.
9313 * gdb.base/langs.exp: Likewise.
9314 * gdb.base/list.exp: Likewise.
9315 * gdb.base/long_long.exp: Likewise.
9316 * gdb.base/ptype.exp: Likewise.
9317 * gdb.base/scope.exp: Likewise.
9318 * gdb.base/signals.exp: Likewise.
9319 * gdb.base/so-impl-ld.exp: Likewise.
9320 * gdb.base/varargs.exp: Likewise.
9321 * gdb.base/volatile.exp: Likewise.
9322 * gdb.base/whatis.exp: Likewise.
9323 * gdb.cp/cplusfuncs.exp: Likewise.
9324 * gdb.cp/inherit.exp: Likewise.
9325 * gdb.cp/local.exp: Likewise.
9326 * gdb.cp/member-ptr.exp: Likewise.
9327 * gdb.cp/method.exp: Likewise.
9328 * gdb.cp/overload.exp: Likewise.
9329 * gdb.cp/templates.exp: Likewise.
9330 * gdb.stabs/weird.exp: Likewise.
9331 * lib/compiler.c: Likewise.
9332 * lib/compiler.cc: Likewise.
9333 * lib/cp-support.exp: Likewise.
9334 * lib/gdb.exp: Likewise.
9336 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9338 * configure.ac: Remove HP-UX case.
9339 * configure: Regenerate.
9341 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9343 * lib/gdb.exp (gdb_compile): Add function doc.
9345 2015-12-17 Pedro Alves <palves@redhat.com>
9348 * gdb.multi/info-threads.exp: New file.
9350 2015-12-15 Yao Qi <yao.qi@linaro.org>
9352 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9355 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9357 * gdb.base/history-duplicates.exp: Skip if no readline support.
9359 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9361 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9363 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9365 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9367 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9369 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9370 ctrl-C if nointerrupts target property is set.
9371 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9372 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9373 * gdb.base/paginate-bg-execution.exp: Likewise.
9374 * gdb.base/paginate-execution-startup.exp: Likewise.
9375 * gdb.base/random-signal.exp: Likewise.
9376 * gdb.base/range-stepping.exp: Likewise.
9377 * gdb.cp/annota2.exp: Likewise.
9378 * gdb.cp/annota3.exp: Likewise.
9379 * gdb.gdb/selftest.exp: Likewise.
9380 * gdb.threads/continue-pending-status.exp: Likewise.
9381 * gdb.threads/leader-exit.exp: Likewise.
9382 * gdb.threads/manythreads.exp: Likewise.
9383 * gdb.threads/pthreads.exp: Likewise.
9384 * gdb.threads/schedlock.exp: Likewise.
9385 * gdb.threads/sigthread.exp: Likewise.
9387 2015-12-11 Don Breazeal <donb@codesourcery.com>
9389 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9391 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9392 * gdb.base/foll-exec.exp (main): Enable for target remote.
9393 * gdb.base/foll-fork.exp (main): Likewise.
9394 * gdb.base/foll-vfork.exp (main): Likewise.
9395 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9396 (proc continue_to_exit_bp_loc): Use clean_restart.
9397 * gdb.base/pie-execl.exp (main): Disable for target remote.
9398 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9399 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9400 * gdb.threads/execl.exp (main): Likewise.
9401 * gdb.threads/fork-child-threads.exp (main): Likewise.
9402 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9404 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9406 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9407 pid.tid style ptids, instead of just tid.
9408 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9409 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9410 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9411 ptids, instead of just tid.
9413 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9415 * gdb.base/list.exp (test_list_forward): Add end of file error
9417 (test_repeat_list_command): Add end of file error test.
9418 (test_list_backwards): Add beginning of file error test.
9420 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9422 * gdb.base/list.exp (test_list_invalid_args): New function,
9423 defined, and called.
9425 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9427 * gdb.base/list.exp (test_list): Make test names unique.
9429 2015-12-11 Yao Qi <yao.qi@linaro.org>
9431 * gdb.base/coremaker2.c: Remove.
9433 2015-12-10 Pedro Alves <palves@redhat.com>
9435 * gdb.multi/base.exp: Remove stale "spaces" references.
9437 2015-12-10 Pedro Alves <palves@redhat.com>
9439 * gdb.multi/base.exp: Don't use nowarnings.
9440 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9441 * gdb.multi/hangout.c: Include stdio.h.
9442 * gdb.multi/hello.c: Include stdlib.h.
9443 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9444 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9445 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9447 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9449 * gdb.dwarf2/dw2-ranges-base.c: New file.
9450 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9451 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9452 support additional line table, and debug ranges generation.
9453 (Dwarf::ranges): New function, generate .debug_ranges.
9454 (Dwarf::lines): Support generating simple line table programs.
9455 (Dwarf::assemble): Initialise new namespace variables.
9457 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9459 * gdb.base/async.exp (proc test_background): Add case for
9460 asynchronous execution not supported.
9462 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9464 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9465 format and change test names to make them unique.
9467 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9468 Pedro Alves <pedro@redhat.com>
9471 Add checking of floatformats setup on x86_64 hosts.
9472 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9473 (smallval, bigval): New labels/constants.
9474 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9475 float" after loading bigval and smallval.
9477 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9479 * gdb.ada/fun_overload_menu.exp: New testcase.
9480 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9482 2015-12-04 Josh Stone <jistone@redhat.com>
9484 * gdb.base/catch-fork-static.exp: New.
9486 2015-12-03 Yao Qi <yao.qi@linaro.org>
9488 * gdb.base/sizeof.c: Don't include stdio.h and
9489 ../lib/unbuffer_output.c.
9490 (main): New variable 'size' and 'value'. Remove printf and
9491 gdb_unbuffer_output. Assign return value to size and value.
9492 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9494 (check_sizeof): Check the result by printing variable 'size'.
9495 (check_valueof): Check the result by printing variable 'value'.
9497 2015-12-01 Yao Qi <yao.qi@linaro.org>
9499 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9500 for aarch64*-*-linux* target.
9502 2015-11-30 Pedro Alves <palves@redhat.com>
9504 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9506 2015-11-30 Pedro Alves <palves@redhat.com>
9508 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9509 Handle non-stop mode vCont replies.
9511 2015-11-30 Pedro Alves <palves@redhat.com>
9513 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9514 prepare_for_testing. Start gdb with "set non-stop on" appended to
9515 GDBFLAGS. Lax expected stop output.
9517 2015-11-27 Yao Qi <yao.qi@linaro.org>
9519 * gdb.arch/arm-neon.exp: New.
9520 * gdb.arch/arm-neon.c: New.
9522 2015-11-27 Yao Qi <yao.qi@linaro.org>
9524 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9526 2015-11-27 Yao Qi <yao.qi@linaro.org>
9528 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9529 frames-invalid annotation.
9531 2015-11-27 Yao Qi <yao.qi@linaro.org>
9533 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9535 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9537 * gdb.threads/names.exp: New file.
9538 * gdb.threads/names.c: New file.
9539 * README: Mention gdb,no_thread_names.
9541 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9544 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9547 2015-11-24 Pedro Alves <palves@redhat.com>
9550 * gdb.base/display.exp: Expect displays to be sorted in ascending
9551 order. Use multi_line.
9552 * gdb.base/solib-display.exp: Likewise.
9554 2015-11-24 Pedro Alves <palves@redhat.com>
9557 * gdb.base/display.exp: Expect displays to be sorted in ascending
9558 order. Use multi_line.
9559 * gdb.base/solib-display.exp: Likewise.
9561 2015-11-24 Pedro Alves <palves@redhat.com>
9564 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9565 threads in ascending order.
9566 * gdb.base/foll-fork.exp: Likewise.
9567 * gdb.base/foll-vfork.exp: Likewise.
9568 * gdb.base/multi-forks.exp: Likewise.
9569 * gdb.mi/mi-nonstop.exp: Likewise.
9570 * gdb.mi/mi-nsintrall.exp: Likewise.
9571 * gdb.multi/base.exp: Likewise.
9572 * gdb.multi/multi-arch.exp: Likewise.
9573 * gdb.python/py-inferior.exp: Likewise.
9574 * gdb.threads/break-while-running.exp: Likewise.
9575 * gdb.threads/execl.exp: Likewise.
9576 * gdb.threads/gcore-thread.exp: Likewise.
9577 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9578 * gdb.threads/kill.exp: Likewise.
9579 * gdb.threads/linux-dp.exp: Likewise.
9580 * gdb.threads/multiple-step-overs.exp: Likewise.
9581 * gdb.threads/next-bp-other-thread.exp: Likewise.
9582 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9583 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9584 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9585 * gdb.threads/thread-find.exp: Likewise.
9586 * gdb.threads/tls.exp: Likewise.
9587 * lib/mi-support.exp (mi_reverse_list): Delete.
9588 (mi_check_thread_states): No longer reverse list.
9590 2015-11-24 Pedro Alves <palves@redhat.com>
9592 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9595 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9597 * gdb.trace/actions.c: Include trace-common.h.
9598 (main): Add a location for a fast tracepoint.
9599 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9600 the normal tracepoints.
9601 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9603 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9605 * save-trace.exp: Factor out code to these...
9606 (gdb_save_tracepoints): New.
9607 (gdb_load_tracepoints): New.
9608 (do_save_load_test): New.
9610 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9612 * gdb.base/asmlabel.exp: New test.
9613 * gdb.base/asmlabel.c: New test case.
9615 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9617 * gdb.base/wrong_frame_bt_full-main.c: New file.
9618 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9619 * gdb.base/wrong_frame_bt_full.exp: New file.
9621 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9623 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9625 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9627 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9628 pstate register when comparing registers values in
9629 sparc64-*-linux-gnu targets to avoid spurious differences.
9631 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9633 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9635 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9637 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9638 as type argument to gdb_compile.
9639 * gdb.base/nested-subp2.exp: Likewise.
9640 * gdb.base/nested-subp3.exp: Likewise.
9642 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9644 * lib/dwarf.exp (_note): Fix left shift of negative value.
9645 * gdb.trace/trace-condition.exp: Likewise.
9647 2015-11-13 Yao Qi <yao.qi@linaro.org>
9649 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9650 comments about d10v.
9651 (test_scalar_returns): Likewise.
9652 * gdb.base/d10v.ld: Remove.
9653 * gdb.base/overlays.exp: Remove the target triplet checking for
9655 * gdb.base/structs.exp (test_struct_returns): Remove the
9656 comments about d10v.
9657 (test_struct_calls): Likewise.
9659 2015-11-13 Yao Qi <yao.qi@linaro.org>
9661 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9662 * gdb.base/gnu_vector.c: Don't include stdio.h.
9663 (main): Don't print res and call add_some_intvecs.
9665 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9667 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9670 (func4): Use FAST_TRACEPOINT_LABEL.
9671 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9674 (thread_function): Use FAST_TRACEPOINT_LABEL.
9675 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9677 (marker): Use FAST_TRACEPOINT_LABEL.
9678 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9679 (pendfunc1): Remove.
9680 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9681 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9683 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9684 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9687 (marker): Use FAST_TRACEPOINT_LABEL.
9688 * gdb.trace/trace-common.h: New header.
9689 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9692 (marker): Use FAST_TRACEPOINT_LABEL.
9693 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9695 (thread_function): Use FAST_TRACEPOINT_LABEL.
9697 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9699 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9701 * gdb.trace/change-loc.exp: Use global pcreg definition.
9702 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9703 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9705 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9706 * gdb.trace/pending.exp: Likewise.
9707 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9708 * gdb.trace/trace-break.exp: Likewise.
9709 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9711 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9712 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9714 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9716 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9718 * gdb.ada/fin_fun_out: New testcase.
9720 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9722 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9723 value associated with DW_AT_byte_size.
9724 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9725 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9728 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9730 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9731 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9733 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9734 gdb.dwarf2/dw2-canonicalize-type.exp,
9735 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9736 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9737 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9738 provided by gdb_target_symbol_prefix_flags_asm.
9739 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9740 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9741 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9742 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9743 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9744 macros where needed). Use this macro for symbols which require
9745 the prefix provided by SYMBOL_PREFIX.
9747 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9749 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9751 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9752 representing expressions, of more than one list element.
9753 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9754 to prepend linker symbol prefix to f.
9755 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9756 table_1 and table_2.
9757 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9758 Likewise, for f and g.
9759 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9761 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9763 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9764 table_1_ptr and table_2_ptr.
9766 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9767 Joel Brobecker <brobecker@adacore.com>
9769 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9771 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9773 * gdb.reverse/s390-mvcle.c: New test.
9774 * gdb.reverse/s390-mvcle.exp: New file.
9775 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9777 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9779 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9781 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9783 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9785 * gdb.reverse/getresuid-reverse.exp: Likewise.
9786 * gdb.reverse/pipe-reverse.exp: Likewise.
9787 * gdb.reverse/readv-reverse.exp: Likewise.
9788 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9789 * gdb.reverse/time-reverse.exp: Likewise.
9790 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9792 2015-10-30 Yao Qi <yao.qi@linaro.org>
9794 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9795 (empty_cycle): Remove.
9796 (main): Don't call empty_cycle. Don't use watch_count_done.
9797 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9798 empty_cycle. Rewrite the code counting HW watchpoints.
9800 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9802 * gdb.reverse/fstatat-reverse.c: New test.
9803 * gdb.reverse/fstatat-reverse.exp: New file.
9804 * gdb.reverse/getresuid-reverse.c: New test.
9805 * gdb.reverse/getresuid-reverse.exp: New file.
9806 * gdb.reverse/pipe-reverse.c: New test.
9807 * gdb.reverse/pipe-reverse.exp: New file.
9808 * gdb.reverse/readv-reverse.c: New test.
9809 * gdb.reverse/readv-reverse.exp: New file.
9810 * gdb.reverse/recvmsg-reverse.c: New test.
9811 * gdb.reverse/recvmsg-reverse.exp: New file.
9812 * gdb.reverse/time-reverse.c: New test.
9813 * gdb.reverse/time-reverse.exp: New file.
9814 * gdb.reverse/waitpid-reverse.c: New test.
9815 * gdb.reverse/waitpid-reverse.exp: New file.
9817 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9819 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9821 2015-10-26 Doug Evans <dje@google.com>
9824 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9825 * gdb.dwarf2/bad-regnum.c: New file.
9826 * gdb.dwarf2/bad-regnum.exp: New file.
9828 2015-10-26 Doug Evans <dje@google.com>
9831 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9834 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9836 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9837 for a change by "Mention language in compile error message".
9839 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9842 * gdb.python/py-type.c (C::a_method): New.
9843 (C::a_const_method): New.
9844 (C::a_static_method): New.
9846 * gdb.python/py-type.exp (test_fields): Test getting fields
9847 from function and method.
9849 2015-10-21 Keven Boell <keven.boell@intel.com>
9851 * gdb.fortran/vla-alloc-assoc.exp: New file.
9852 * gdb.fortran/vla-datatypes.exp: New file.
9853 * gdb.fortran/vla-datatypes.f90: New file.
9854 * gdb.fortran/vla-history.exp: New file.
9855 * gdb.fortran/vla-ptype-sub.exp: New file.
9856 * gdb.fortran/vla-ptype.exp: New file.
9857 * gdb.fortran/vla-sizeof.exp: New file.
9858 * gdb.fortran/vla-sub.f90: New file.
9859 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9860 * gdb.fortran/vla-value-sub-finish.exp: New file.
9861 * gdb.fortran/vla-value-sub.exp: New file.
9862 * gdb.fortran/vla-value.exp: New file.
9863 * gdb.fortran/vla-ptr-info.exp: New file.
9864 * gdb.mi/mi-vla-fortran.exp: New file.
9865 * gdb.mi/vla.f90: New file.
9867 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9869 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9870 of hardwired timeout value.
9872 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9873 Pedro Alves <palves@redhat.com>
9875 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9876 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9878 2015-10-19 Josh Stone <jistone@redhat.com>
9880 * gdb.base/catch-syscall.c: Include <sched.h>.
9881 (unknown_syscall): New variable.
9882 (main): Trigger a vfork and an unknown syscall.
9883 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9884 (unknown_syscall_number): Likewise.
9885 (check_call_to_syscall): Accept an optional syscall pattern.
9886 (check_return_from_syscall): Likewise.
9887 (check_continue): Likewise.
9888 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9889 (test_catch_syscall_skipping_return): New test toggling off 'catch
9890 syscall' to step over the syscall return, then toggling back on.
9891 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9892 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9893 (do_syscall_tests): Call test_catch_syscall_without_args and
9894 test_catch_syscall_mid_vfork.
9895 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9896 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9898 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9900 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9901 print g_vE): Add new pass patterns.
9902 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9903 print various symbol names for vptr fields.
9905 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9907 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9910 2015-10-12 Yao Qi <yao.qi@linaro.org>
9912 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9914 2015-10-12 Yao Qi <yao.qi@linaro.org>
9916 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9917 is aarch64*-*-linux*.
9919 2015-10-12 Yao Qi <yao.qi@linaro.org>
9921 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9922 (can_relocate_bcond_true): ... it.
9923 (can_relocate_bcond_false): New function.
9925 (can_relocate_bl): Likewise.
9926 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9929 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9931 * gdb.base/nested-addr.c: New file.
9932 * gdb.base/nested-addr.exp: New testcase.
9934 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9936 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9937 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9938 its output. Ignore the output of "record goto begin" and instead
9939 check that GDB is replaying.
9941 2015-10-09 Pedro Alves <palves@redhat.com>
9943 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9944 (top level): Use it in the run with no args test.
9946 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9948 * gdb.dlang/properties.exp: New file.
9950 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9952 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9953 whether or not address 0x1000 is mapped on the target.
9955 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9957 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9960 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9962 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9963 instruction-history test.
9965 2015-09-28 Doug Evans <dje@google.com>
9967 * gdb.base/gcore.c (array_func): Add reference to static_array.
9969 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9971 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9974 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9976 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9977 short or char as base type.
9979 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9981 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9982 to allow any size enum.
9984 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9986 * gdb.ada/array_ptr_renaming.exp: New testcase.
9987 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9988 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9990 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9992 * gdb.trace/ftrace-lock.c: New file.
9993 * gdb.trace/ftrace-lock.exp: New file.
9995 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9997 * gdb.arch/insn-reloc.c: New file.
9998 * gdb.arch/ftrace-insn-reloc.exp: New file.
10000 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10002 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10004 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10005 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10006 * gdb.trace/range-stepping.c: Likewise.
10007 * gdb.trace/trace-break.c: Likewise.
10008 * gdb.trace/trace-mt.c (thread_function): Likewise.
10009 * gdb.trace/ftrace.c (marker): Likewise.
10010 * gdb.trace/trace-condition.c (marker): Likewise.
10011 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10012 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10015 2015-09-18 Doug Evans <xdje42@gmail.com>
10017 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10018 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10020 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10022 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10025 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10027 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10028 the pending breakpoint. Remove timeout override for "Run till
10029 MI pending breakpoint on pendfunc3 on thread 2" test.
10031 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10033 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10036 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10038 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10039 in breakpoint filename pattern.
10041 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10043 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10045 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10047 * gdb.linespec/explicit.exp: Check for readline support for
10048 tab-completion tests. Fix obvious typo.
10050 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10052 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10055 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10057 * gdb.btrace/non-stop.c: New.
10058 * gdb.btrace/non-stop.exp: New.
10060 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10061 Yao Qi <yao.qi@linaro.org>
10063 * gdb.trace/trace-condition.c: New file.
10064 * gdb.trace/trace-condition.exp: New file.
10066 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10068 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10069 for testing bytecode compilation.
10071 2015-09-16 Pedro Alves <palves@redhat.com>
10072 Sandra Loosemore <sandra@codesourcery.com>
10074 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10075 (SECONDS): Redefine.
10076 (main): Call pthread_kill and alarm early.
10077 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10079 (test): If the target can't hardware step and doesn't support
10080 displaced stepping, increase the timeout.
10082 2015-09-16 Pedro Alves <palves@redhat.com>
10084 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10085 (enable_debug): New procedures.
10086 (test): Use them. Bail out if waiting for threads fails.
10087 (top level): Bail out if a test fails.
10089 2015-09-16 Yao Qi <yao.qi@linaro.org>
10091 * gdb.asm/asm-source.exp: Set asm-arch for
10092 aarch64*-*-* target.
10093 * gdb.asm/aarch64.inc: New file.
10095 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10097 * gdb.ada/array_of_variable_length.exp: New testcase.
10098 * gdb.ada/array_of_variable_length/foo.adb: New file.
10099 * gdb.ada/array_of_variable_length/pck.adb: New file.
10100 * gdb.ada/array_of_variable_length/pck.ads: New file.
10102 2015-09-15 Doug Evans <dje@google.com>
10104 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10105 of function static local variable.
10107 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10109 * gdb.threads/tls-so_extern.exp: New test file.
10110 * gdb.threads/tls-so_extern.c: New test file.
10111 * gdb.threads/tls-so_extern_main.c: New test file.
10113 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10115 * gdb.opt/solib-intra-step-lib.c: New file.
10116 * gdb.opt/solib-intra-step-main.c: New file.
10117 * gdb.opt/solib-intra-step.exp: New file.
10119 2015-09-15 Pedro Alves <palves@redhat.com>
10121 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10122 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10124 2015-09-14 Pedro Alves <palves@redhat.com>
10126 * gdb.base/hook-stop-continue.c: Delete.
10127 * gdb.base/hook-stop-continue.exp: Delete.
10128 * gdb.base/hook-stop-frame.c: Delete.
10129 * gdb.base/hook-stop-frame.exp: Delete.
10130 * gdb.base/hook-stop.c: New file.
10131 * gdb.base/hook-stop.exp: New file.
10133 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10135 * gdb.ada/access_to_packed_array.exp: New testcase.
10136 * gdb.ada/access_to_packed_array/foo.adb: New file.
10137 * gdb.ada/access_to_packed_array/pack.adb: New file.
10138 * gdb.ada/access_to_packed_array/pack.ads: New file.
10140 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10142 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10145 2015-09-11 Don Breazeal <donb@codesourcery.com>
10147 * gdb.base/foll-exec.c: Add copyright header. Fix
10149 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10150 (do_exec_tests): Use clean_restart in place of zap_session,
10151 and for test initialization. Fix formatting issues. Use
10152 fail in place of perror.
10153 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10154 an expect statement to match an expression with output from
10155 the program under debug.
10156 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10157 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10158 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10159 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10160 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10162 2015-09-09 Doug Evans <dje@google.com>
10164 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10166 2015-09-09 Doug Evans <dje@google.com>
10168 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10170 2015-09-09 Doug Evans <dje@google.com>
10172 * gdb.base/savedregs.exp: Fix typo.
10174 2015-09-09 Pedro Alves <palves@redhat.com>
10176 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10178 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10180 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10181 command actually switches threads. Give up on remaining
10182 tests if target fails to stop at breakpoint.
10184 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10186 * gdb.ada/funcall_char.exp: New testcase.
10187 * gdb.ada/funcall_char/foo.adb: New file.
10189 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10191 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10192 expected outputs. Add two testcases for completing ambiguous
10194 * gdb.ada/complete/aux_pck.adb: New file.
10195 * gdb.ada/complete/aux_pck.ads: New file.
10196 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10197 Ambiguous_Func functions.
10198 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10199 * gdb.ada/complete/pck.adb: Likewise.
10201 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10203 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10204 failures to run the test program under GDB.
10206 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10208 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10211 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10213 * gdb.base/run-after-attach.exp: New test file.
10214 * gdb.base/run-after-attach.c: New test file.
10216 2015-08-26 Don Breazeal <donb@codesourcery.com>
10218 * gdb.base/foll-exec-2.c: New test program.
10219 * gdb.base/foll-exec-2.exp: New test.
10221 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10223 * gdb.base/nested-subp1.exp: New file.
10224 * gdb.base/nested-subp1.c: New file.
10225 * gdb.base/nested-subp2.exp: New file.
10226 * gdb.base/nested-subp2.c: New file.
10227 * gdb.base/nested-subp3.exp: New file.
10228 * gdb.base/nested-subp3.c: New file.
10230 2015-08-24 Pedro Alves <palves@redhat.com>
10232 * gdb.server/connect-without-multi-process.c: New file.
10233 * gdb.server/connect-without-multi-process.exp: New file.
10235 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10237 * gdb.opt/inline-markers.c: Make z int.
10239 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10241 * gdb.opt/inline-markers.c: Make z volatile.
10243 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10245 * gdb.opt/inline-bt.c: New volatile global z.
10246 * gdb.opt/inline-cmds.c: Likewise.
10247 * gdb.opt/inline-locals.c: Likewise.
10248 * gdb.opt/inline-markers.c: New extern global z.
10250 (inline_fn): Likewise.
10252 2015-08-24 Pedro Alves <palves@redhat.com>
10254 * config/m32r-stub.exp: Remove file.
10255 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10256 * gdb.base/call-rt-st.exp: Likewise.
10257 * gdb.base/call-strs.exp: Likewise.
10258 * gdb.base/default.exp: Remove references to h8300-*-hms and
10260 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10262 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10264 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10265 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10266 and "return" use KFAIL when GDB can not read/write the vector
10269 2015-08-21 Gary Benson <gbenson@redhat.com>
10271 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10273 2015-08-20 Pedro Alves <palves@redhat.com>
10275 * gdb.server/solib-list.exp: No longer expect an interior stop in
10278 2015-08-20 Pedro Alves <palves@redhat.com>
10280 * gdb.server/connect-stopped-target.c: New file.
10281 * gdb.server/connect-stopped-target.exp: New file.
10283 2015-08-20 Pedro Alves <palves@redhat.com>
10285 * gdb.dwarf2/comp-unit-lang.exp: New file.
10286 * gdb.dwarf2/comp-unit-lang.c: New file.
10288 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10290 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10291 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10293 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10295 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10296 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10298 2015-08-18 Doug Evans <dje@google.com>
10299 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10301 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10302 skip_python_tests. New arg prompt_regexp.
10303 (skip_python_tests): New function.
10304 * lib/mi-support.exp (mi_skip_python_tests): New function.
10305 * gdb.python/py-mi-objfile-gdb.py: New file.
10306 * gdb.python/py-mi-objfile.c: New file.
10307 * gdb.python/py-mi-objfile.exp: New file.
10309 2015-08-17 Keith Seitz <keiths@redhat.com>
10311 * gdb.linespec/explicit.exp: Move strace test from here ...
10312 * gdb.trace/strace.exp: ... to here.
10314 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10316 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10317 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10319 2015-08-14 Doug Evans <xdje42@gmail.com>
10321 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10322 inferior before selecting a new file.
10324 2015-08-14 Doug Evans <xdje42@gmail.com>
10326 * gdb.mi/mi-disassemble.exp: Update.
10327 * gdb.base/disasm-optim.S: New file.
10328 * gdb.base/disasm-optim.c: New file.
10329 * gdb.base/disasm-optim.h: New file.
10330 * gdb.base/disasm-optim.exp: New file.
10332 2015-08-14 Keith Seitz <keiths@redhat.com>
10334 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10337 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10339 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10341 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10343 * gdb.ada/fun_renaming.exp: New testcase.
10344 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10345 * gdb.ada/fun_renaming/pack.adb: New file.
10346 * gdb.ada/fun_renaming/pack.ads: New file.
10348 2015-08-12 Keith Seitz <keiths@redhat.com>
10350 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10351 gdb_get_line_number.
10353 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10355 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10356 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10357 gdb.base/dso2dso.exp: New files.
10359 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10360 Pedro Alves <palves@redhat.com>
10361 Keith Seitz <keiths@redhat.com>
10363 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10366 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10368 * gdb.base/gdbhistsize-history.exp
10369 (test_histsize_history_setting): Use save_vars.
10370 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10372 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10373 * gdb.base/readline.exp: Use save_vars.
10375 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10377 * lib/gdb.exp (save_vars): New proc.
10379 2015-08-11 Keith Seitz <keiths@redhat.com>
10381 * gdb.base/help.exp: Update help_breakpoint_text.
10383 2015-08-11 Keith Seitz <keiths@redhat.com>
10385 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10386 (at toplevel): Call test_explicit_breakpoints.
10387 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10389 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10390 breakpoint conditions, "-cond".
10392 2015-08-11 Keith Seitz <keiths@redhat.com>
10394 * gdb.linespec/3explicit.c: New file.
10395 * gdb.linespec/cpexplicit.cc: New file.
10396 * gdb.linespec/cpexplicit.exp: New file.
10397 * gdb.linespec/explicit.c: New file.
10398 * gdb.linespec/explicit.exp: New file.
10399 * gdb.linespec/explicit2.c: New file.
10400 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10401 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10402 before using in the matching pattern.
10403 Clarify that `prefix' is a regular expression.
10405 2015-08-11 Keith Seitz <keiths@redhat.com>
10407 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10409 Add tests for missing ",FMT" and ",".
10411 2015-08-10 Doug Evans <dje@google.com>
10412 Keith Seitz <keiths@redhat.com>
10415 * gdb.base/completion.exp: Add location completer tests.
10417 2015-08-07 Pedro Alves <palves@redhat.com>
10419 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10421 (top level): Run do_test with and without displaced stepping.
10423 2015-08-07 Pedro Alves <palves@redhat.com>
10425 * gdb.base/valgrind-disp-step.c: New file.
10426 * gdb.base/valgrind-disp-step.exp: New file.
10428 2015-08-07 Pedro Alves <palves@redhat.com>
10430 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10432 (main): Add alarm. Run an infinite loop instead of calling
10434 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10436 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10438 (main): Add alarm. Run an infinite loop instead of calling
10440 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10443 2015-08-07 Pedro Alves <palves@redhat.com>
10445 * gdb.base/checkpoint-ns.exp: New file.
10446 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10449 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10451 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10452 * gdb.btrace/instruction_history.exp: Update.
10453 * gdb.btrace/tsx.exp: New.
10454 * gdb.btrace/tsx.c: New.
10456 2015-08-06 Pedro Alves <palves@redhat.com>
10458 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10460 * gdb.reverse/until-precsave.exp: Bump timeouts.
10462 2015-08-06 Pedro Alves <palves@redhat.com>
10464 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10466 2015-08-06 Pedro Alves <palves@redhat.com>
10469 * gdb.threads/process-dies-while-handling-bp.c: New file.
10470 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10472 2015-08-06 Pedro Alves <palves@redhat.com>
10474 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10475 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10477 2015-08-05 Pedro Alves <palves@redhat.com>
10479 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10480 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10482 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10484 * gdb.base/bp-permanent.exp: Report test as unsupported if
10485 the target cannot stop at the permanent breakpoint.
10487 2015-08-03 Doug Evans <dje@google.com>
10489 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10492 2015-08-03 Doug Evans <dje@google.com>
10494 * Makefile.in (workers/%.worker, build-perf): New rule.
10495 (GDB_PERFTEST_MODE): New variable.
10496 (check-perf): Use it.
10497 (clean): Clean up gdb.perf parallel build subdirs.
10498 * lib/build-piece.exp: New file.
10499 * lib/gdb.exp (make_gdb_parallel_path): New function
10500 (standard_output_file, standard_temp_file): Call it.
10501 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10503 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10505 2015-08-03 Doug Evans <dje@google.com>
10507 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10508 (LOG_FILE_NAME): New global.
10509 (TextReporter.__init__): Initialize self.txt_sum.
10510 (TextReporter.report): Add support for multiple data-points.
10511 Move report to perftest.sum, put raw data in perftest.log.
10512 (TextReporter.start): Open sum and log files.
10513 (TextReporter.end): Close sum and log files.
10514 * gdb.perf/lib/perftest/testresult.py
10515 (SingleStatisticTestResult.record): Handle multiple data-points.
10517 2015-07-31 Pedro Alves <palves@redhat.com>
10519 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10520 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10521 kill_wait_spawned_process instead of explicit "kill -9".
10522 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10523 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10524 kill_wait_spawned_process.
10525 * gdb.base/attach-twice.exp: Likewise.
10526 * gdb.base/attach.exp: Likewise.
10527 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10529 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10530 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10531 kill_wait_spawned_process.
10532 * gdb.base/valgrind-infcall.exp: Likewise.
10533 * gdb.multi/multi-attach.exp: Likewise.
10534 * gdb.python/py-prompt.exp: Likewise.
10535 * gdb.python/py-sync-interp.exp: Likewise.
10536 * gdb.server/ext-attach.exp: Likewise.
10537 * gdb.threads/attach-into-signal.exp (corefunc): Use
10538 spawn_wait_for_attach, spawn_id_get_pid and
10539 kill_wait_spawned_process.
10540 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10541 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10542 spawn_id_get_pid and kill_wait_spawned_process.
10543 * gdb.threads/attach-stopped.exp (corefunc): Use
10544 spawn_wait_for_attach, spawn_id_get_pid and
10545 kill_wait_spawned_process.
10546 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10547 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10548 kill_wait_spawned_process instead of explicit "kill -9".
10549 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10550 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10551 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10552 processes. Don't map cygwin/windows pids here. Now returns a
10555 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10557 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10558 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10561 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10563 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10565 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10568 2014-05-21 Mark Wielaard <mjw@redhat.com>
10570 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10572 2015-07-30 Pedro Alves <palves@redhat.com>
10574 * linux-low.c (handle_extended_wait): Set the child's last
10575 reported status to TARGET_WAITKIND_STOPPED.
10577 2015-07-30 Pedro Alves <palves@redhat.com>
10580 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10581 only shows inferior 1.
10583 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10584 Pedro Alves <palves@redhat.com>
10587 * gdb.threads/fork-plus-threads.c: New file.
10588 * gdb.threads/fork-plus-threads.exp: New file.
10590 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10592 * gdb.base/batch-preserve-term-settings.exp
10593 (test_terminal_settings_preserved_after_cli_exit): Use
10596 2015-07-29 Pedro Alves <palves@redhat.com>
10597 Don Breazeal <donb@codesourcery.com>
10599 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10600 output from both inferior_spawn_id and gdb_spawn_id.
10602 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10604 * gdb.threads/attach-into-signal.exp (corefunc): Use
10605 with_test_prefix on nested loops, uniquefying the test messages.
10607 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10609 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10612 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10614 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10616 (test_terminal_settings_preserved_after_sigterm): New test.
10618 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10620 * gdb.base/batch-preserve-term-settings.exp
10621 (test_terminal_settings_preserved_after_cli_exit): New test.
10623 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10625 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10626 manipulation of saved_gdbflags.
10627 (test_terminal_settings_preserved): Remove global declaration of
10628 the unused variable pagination_prompt. Remove manipulation of
10629 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10632 2015-07-29 Pedro Alves <palves@redhat.com>
10634 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10636 2015-07-29 Pedro Alves <palves@redhat.com>
10638 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10641 2015-07-29 Pedro Alves <palves@redhat.com>
10643 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10644 (main): Call gdb_unbuffer_output.
10645 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10646 (main): Call gdb_unbuffer_output.
10647 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10648 (main): Call gdb_unbuffer_output.
10649 * gdb.base/call-strs.exp: Adjust to step over the
10650 gdb_unbuffer_output call.
10651 * gdb.base/catch-gdb-caused-signals.c: Include
10652 "../lib/unbuffer_output.c".
10653 (main): Call gdb_unbuffer_output.
10654 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10655 (main): Call gdb_unbuffer_output.
10656 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10657 (main): Call gdb_unbuffer_output.
10658 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10659 (main): Call gdb_unbuffer_output.
10660 * gdb.base/shlib-call.exp: Adjust to step over the
10661 gdb_unbuffer_output call.
10662 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10663 (main): Call gdb_unbuffer_output.
10664 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10665 (main): Call gdb_unbuffer_output.
10666 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10667 (main): Rename to ...
10669 (main): Reimplement.
10670 * gdb.base/varargs.exp: Run to test instead of to main.
10671 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10672 (main): Call gdb_unbuffer_output.
10674 2015-07-29 Pedro Alves <palves@redhat.com>
10676 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10677 factore out from mi_continue_dprintf. For call-style dprintfs,
10678 expect dprintf output out of $inferior_spawn_id.
10679 (mi_continue_dprintf): Use mi_expect_dprintf.
10680 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10681 (main): Call gdb_unbuffer_output.
10683 2015-07-29 Pedro Alves <palves@redhat.com>
10685 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10686 (default_mi_gdb_start): Set inferior_spawn_id instead of
10687 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10689 (mi_gdb_test): Always expect inferior output from both
10690 $inferior_spawn_id and $gdb_spawn_id.
10692 2015-07-29 Pedro Alves <palves@redhat.com>
10694 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10695 send_inferior and $inferior_spawn_id.
10697 2015-07-29 Pedro Alves <palves@redhat.com>
10699 * gdb.gdb/complaints.exp (test_initial_complaints)
10700 (test_serial_complaints, test_short_complaints): Use
10702 (test_empty_complaint): Handle $inferior_spawn_id !=
10705 2015-07-29 Pedro Alves <palves@redhat.com>
10707 * gdb.base/varargs.exp: Use gdb_test_stdio.
10709 2015-07-29 Pedro Alves <palves@redhat.com>
10711 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10713 2015-07-29 Pedro Alves <palves@redhat.com>
10715 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10717 2015-07-29 Pedro Alves <palves@redhat.com>
10719 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10720 parameter into two new parameters, "inf_result" and "gdb_result".
10721 Expect inferior output and gdb output from $inferior_spawn_id and
10722 $gdb_spawn_id, respectively. Adjust all callers.
10724 2015-07-29 Pedro Alves <palves@redhat.com>
10726 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10727 of gdb_test_sequence.
10729 2015-07-29 Pedro Alves <palves@redhat.com>
10731 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10732 (saw_spurious_output): Expect inferior output from
10733 $inferior_spawn_id. Use gdb_test_stdio.
10735 2015-07-29 Pedro Alves <palves@redhat.com>
10737 * gdb.base/dprintf.exp: Use standard_testfile. Change
10738 prepare_for_testing call.
10739 (srcfile): Don't set.
10740 (restart): New procedure.
10741 (test_dprintf): New procecure, use to continue over dprintfs.
10742 (test_call, test_agent): New procedures, tests moved here.
10743 Restart gdb and recreate dprintfs. Adjust expected output.
10745 2015-07-29 Pedro Alves <palves@redhat.com>
10747 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10749 2015-07-29 Pedro Alves <palves@redhat.com>
10751 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10753 2015-07-29 Pedro Alves <palves@redhat.com>
10755 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10758 2015-07-29 Pedro Alves <palves@redhat.com>
10760 * lib/gdb.exp (gdb_test_stdio): New procedure.
10762 2015-07-29 Pedro Alves <palves@redhat.com>
10764 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10766 2015-07-29 Pedro Alves <palves@redhat.com>
10768 * gdb.base/call-signal-resume.exp: Remove check for
10769 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10770 * gdb.base/unwindonsignal.exp: Likewise.
10771 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10772 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10774 2015-07-29 Pedro Alves <palves@redhat.com>
10776 * gdb.base/siginfo-addr.c (pass): New function.
10777 (handler): Call it iff si_addr is correct.
10778 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10779 Set a breakpoint at "pass" and continue to it.
10781 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10783 * gdb.python/py-objfile.exp: Make some tests have unique names.
10784 * gdb.python/py-pp-registration.exp: Likewise.
10786 2015-07-28 Pedro Alves <palves@redhat.com>
10788 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10790 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10792 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10794 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10796 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10798 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10800 * gdb.base/gdb-sigterm-2.exp: New test.
10802 2015-07-25 Doug Evans <xdje42@gmail.com>
10805 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10806 (workers/%.worker, build-perf): New rule.
10807 (GDB_PERFTEST_MODE): New variable.
10808 (check-perf): Use it.
10809 (clean): Clean up gdb.perf parallel build subdirs.
10810 * lib/build-piece.exp: New file.
10811 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10812 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10814 (standard_temp_file): Ditto.
10815 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10818 2015-07-24 Doug Evans <dje@google.com>
10820 * gdb.perf/lib/perftest/utils.py: New file.
10821 * gdb.perf/gm-hello.cc: New file.
10822 * gdb.perf/gm-pervasive-typedef.cc: New file.
10823 * gdb.perf/gm-pervasive-typedef.h: New file.
10824 * gdb.perf/gm-std.cc: New file.
10825 * gdb.perf/gm-std.h: New file.
10826 * gdb.perf/gm-use-cerr.cc: New file.
10827 * gdb.perf/gm-utils.h: New file.
10828 * gdb.perf/gmonster-null-lookup.py: New file.
10829 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10830 * gdb.perf/gmonster-print-cerr.py: New file.
10831 * gdb.perf/gmonster-ptype-string.py: New file.
10832 * gdb.perf/gmonster-runto-main.py: New file.
10833 * gdb.perf/gmonster-select-file.py: New file.
10834 * gdb.perf/gmonster1-null-lookup.exp: New file.
10835 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10836 * gdb.perf/gmonster1-print-cerr.exp: New file.
10837 * gdb.perf/gmonster1-ptype-string.exp: New file.
10838 * gdb.perf/gmonster1-runto-main.exp: New file.
10839 * gdb.perf/gmonster1-select-file.exp: New file.
10840 * gdb.perf/gmonster1.cc: New file.
10841 * gdb.perf/gmonster1.exp: New file.
10842 * gdb.perf/gmonster2-null-lookup.exp: New file.
10843 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10844 * gdb.perf/gmonster2-print-cerr.exp: New file.
10845 * gdb.perf/gmonster2-ptype-string.exp: New file.
10846 * gdb.perf/gmonster2-runto-main.exp: New file.
10847 * gdb.perf/gmonster2-select-file.exp: New file.
10848 * gdb.perf/gmonster2.cc: New file.
10849 * gdb.perf/gmonster2.exp: New file.
10851 2015-07-24 Doug Evans <dje@google.com>
10853 * gdb.perf/README: New file.
10854 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10855 * lib/gen-perf-test.exp: New file.
10857 2015-07-24 Doug Evans <dje@google.com>
10859 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10860 (PerfTest::startup): New function.
10861 (PerfTest::run): Return result of calling body.
10862 (PerfTest::assemble): Rewrite.
10863 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10864 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10865 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10866 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10867 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10869 2015-07-24 Doug Evans <dje@google.com>
10871 * lib/gdb.exp (clean_restart): Make executable optional.
10873 2015-07-24 Doug Evans <dje@google.com>
10875 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10876 compiler_info references.
10877 * gdb.cp/temargs.exp: Ditto.
10878 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10879 (get_compiler_info): Early exit if already computed. Set compiler_info
10880 to "unknown" if there was a problem.
10881 (test_compiler_info): Add function comment. Call get_compiler_info.
10883 2015-07-24 Doug Evans <dje@google.com>
10885 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10886 (workers/%.worker, build-perf): New rule.
10887 (GDB_PERFTEST_MODE): New variable.
10888 (check-perf): Use it.
10889 (clean): Clean up gdb.perf parallel build subdirs.
10890 * lib/build-piece.exp: New file.
10891 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10892 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10894 (standard_temp_file): Ditto.
10895 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10898 2015-07-24 Doug Evans <dje@google.com>
10900 * lib/future.exp (gdb_default_target_compile): New option
10902 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10905 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10907 * gdb.base/catch-syscall.exp: Call gdb_exit before
10910 2015-07-24 Pedro Alves <palves@redhat.com>
10912 * gdb.python/py-events.exp: Accept output between the stop event
10914 * gdb.python/py-evsignal.exp: Likewise.
10915 * gdb.python/py-evthreads.exp: Likewise.
10917 2015-07-24 Pedro Alves <palves@redhat.com>
10920 * gdb.threads/non-ldr-exit.c: New file.
10921 * gdb.threads/non-ldr-exit.exp: New file.
10923 2015-07-24 Yao Qi <yao.qi@linaro.org>
10925 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10926 restarting process.
10928 2015-07-24 Yao Qi <yao.qi@linaro.org>
10930 * gdb.server/ext-restart.exp: New file.
10932 2015-07-24 Yao Qi <yao.qi@linaro.org>
10934 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10936 * gdb.server/ext-wrapper.exp: New file.
10938 2015-07-23 Doug Evans <dje@google.com>
10940 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10941 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10943 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10945 * gdb.ada/var_arr_typedef.exp: New testcase.
10946 * gdb.ada/var_arr_typedef/pack.adb: New file.
10947 * gdb.ada/var_arr_typedef/pack.ads: New file.
10948 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10950 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10952 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10954 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10956 * gdb.arch/i386-biarch-core.exp: Replace istarget
10957 by "complete set gnutarget". Remove expectation for the "core-file"
10960 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10962 Revert the previous commit:
10963 Tests for validate symbol file using build-id.
10965 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10967 Tests for validate symbol file using build-id.
10968 * gdb.base/solib-mismatch-lib.c: New file.
10969 * gdb.base/solib-mismatch-libmod.c: New file.
10970 * gdb.base/solib-mismatch.c: New file.
10971 * gdb.base/solib-mismatch.exp: New file.
10973 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10975 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10977 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10978 * gdb.base/siginfo.exp: Likewise.
10979 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10981 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10983 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10985 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10987 * gdb.trace/range-stepping.exp: Check that the target supports
10990 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10992 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10994 2015-07-14 Pedro Alves <palves@redhat.com>
10996 * gdb.base/killed-outside.exp: New file.
10997 * gdb.base/killed-outside.c: New file.
10999 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11001 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11003 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11005 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11007 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11008 infcall tests instead of setting up for KFAIL.
11010 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11012 * gdb.btrace/record_goto-step.exp: New.
11014 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11017 * gdb.compile/compile.c (struct struct_type): Add volatile to
11019 * gdb.compile/compile.exp
11020 (compile code struct_object.selffield = &struct_object): Skip further
11021 struct_object tests if this one xfails.
11023 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11026 * gdb.trace/ax.exp: Add test.
11028 2015-07-07 Yao Qi <yao.qi@linaro.org>
11030 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11031 instead of istarget "aarch64*-*-*".
11032 * gdb.arch/aarch64-fp.exp: Likewise.
11033 * gdb.base/float.exp: Likewise.
11034 * gdb.reverse/aarch64.exp: Likewise.
11035 * lib/gdb.exp (is_aarch64_target): New proc.
11037 2015-07-07 Yao Qi <yao.qi@linaro.org>
11039 * lib/gdb.exp (is_aarch32_target): New proc.
11040 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11041 instead of "istarget "arm*-*-*"".
11042 * gdb.arch/arm-disp-step.exp: Likewise.
11043 * gdb.arch/thumb-bx-pc.exp: Likewise.
11044 * gdb.arch/thumb-prologue.exp: Likewise.
11045 * gdb.arch/thumb-singlestep.exp: Likewise.
11046 * gdb.base/disp-step-syscall.exp: Likewise.
11047 * gdb.base/float.exp: Likewise.
11049 2015-07-07 Yao Qi <yao.qi@linaro.org>
11051 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11052 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11054 2015-07-07 Yao Qi <yao.qi@linaro.org>
11056 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11057 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11059 * gdb.multi/multi-arch.exp: Likewise.
11061 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11063 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11066 2015-07-07 Yao Qi <yao.qi@linaro.org>
11068 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11070 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11072 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11073 '[' and ']' characters.
11075 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11077 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11079 2015-06-29 Pedro Alves <palves@redhat.com>
11082 * gdb.threads/hand-call-new-thread.c: New file.
11083 * gdb.threads/hand-call-new-thread.c: New file.
11085 2015-06-26 Keith Seitz <keiths@redhat.com>
11086 Doug Evans <dje@google.com>
11089 * gdb.cp/var-tag-2.cc: New file.
11090 * gdb.cp/var-tag-3.cc: New file.
11091 * gdb.cp/var-tag-4.cc: New file.
11092 * gdb.cp/var-tag.cc: New file.
11093 * gdb.cp/var-tag.exp: New file.
11095 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11097 * gdb.base/history-duplicates.exp: New test.
11099 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11101 * gdb.base/completion.exp: Test the completion of the "focus"
11104 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11106 * gdb.arch/amd64-prologue-skip.S: New file.
11107 * gdb.arch/amd64-prologue-skip.exp: New file.
11109 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11111 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11112 is_address_zero_readable check.
11114 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11116 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11117 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11119 2015-06-24 Yao Qi <yao.qi@linaro.org>
11121 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11124 2015-06-24 Yao Qi <yao.qi@linaro.org>
11126 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11127 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11128 * gdb.base/siginfo-thread.exp: Likewise.
11130 2015-06-22 Yao Qi <yao.qi@linaro.org>
11132 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11134 2015-06-22 Yao Qi <yao.qi@linaro.org>
11136 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11138 (skip_hw_watchpoint_tests): Likewise.
11140 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11142 * gdb.base/gdbinit-history.exp: Test the interaction between
11143 setting GDBHISTSIZE and setting the history size via .gdbinit.
11145 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11148 * gdb.base/gdbhistsize-history.exp: New test.
11150 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11152 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11154 * gdb.base/readline.exp: Likewise.
11156 2015-06-17 Yao Qi <yao.qi@linaro.org>
11158 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11161 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11163 * gdb.base/gdbinit-history.exp: Add test case to check that
11164 an unlimited history file does not get truncated on exit.
11166 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11168 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11169 (VECTOR): New macro. Use it...
11170 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11171 ...for these typedefs.
11172 (int8, char1, int1, double1): New typedefs.
11173 (struct just_int2, struct two_int2): New structures.
11174 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11175 (add_structvecs, add_singlevecs): New functions.
11176 (main): Call add_some_intvecs twice.
11177 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11178 the compile and exit upon failure. Try compiling for the "native"
11179 architecture. Test inferior function calls with vector arguments
11180 and vector return value handling with "finish" and "return".
11182 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11184 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11185 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11187 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11189 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11191 PR breakpoints/16465
11192 * gdb.mi/mi-dprintf-pending.c: New file.
11193 * gdb.mi/mi-dprintf-pending.exp: New test.
11194 * gdb.mi/mi-dprintf-pendshr.c: New file.
11196 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11197 Mircea Gherzan <mircea.gherzan@intel.com>
11199 * gdb.arch/i386-mpx-map.c: New file.
11200 * gdb.arch/i386-mpx-map.exp: New File.
11202 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11204 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11205 * gdb.arch/i386-mpx.exp: Indentation fixed.
11207 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11209 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11210 function and improved indentation.
11211 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11212 gdb_test_multiple. Added additional tests to skip the test.
11214 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11216 * gdb.arch/i386-avx512.c: Change path in include file.
11217 * gdb.arch/i386-avx512.exp: Change include dir path
11219 * gdb.arch/i386-mpx.c: Change path in include file.
11220 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11223 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11225 * gdb.compile/compile-print.exp (compile print *vararray@3)
11226 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11228 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11230 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11231 (do not keep jit in memory): ... this.
11232 (expect 5): Change it to ...
11233 (expect no 5): ... this.
11235 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11238 * gdb.mi/mi-detach.exp: New file.
11240 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11243 * gdb.arch/amd64-tailcall-self.S: New file.
11244 * gdb.arch/amd64-tailcall-self.c: New file.
11245 * gdb.arch/amd64-tailcall-self.exp: New file.
11247 2015-05-28 Don Breazeal <donb@codesourcery.com>
11249 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11250 tests for remote targets by checking is_target_gdbserver.
11252 2015-05-27 Doug Evans <dje@google.com>
11254 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11255 * gdb.dwarf2/opaque-type-lookup.c: New file.
11256 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11258 2015-05-26 Doug Evans <dje@google.com>
11260 * gdb.cp/iostream.cc: New file.
11261 * gdb.cp/iostream.exp: New file.
11263 2015-05-26 Doug Evans <dje@google.com>
11265 * gdb.dwarf2/dw2-op-call.exp: Update.
11266 * gdb.dwarf2/dw4-sig-types.exp: Update.
11267 * gdb.dwarf2/implptr.exp: Update.
11268 * gdb.mi/mi-cmd-param-changed.exp: Update.
11270 2015-05-26 Doug Evans <dje@google.com>
11272 * gdb.python/py-lazy-string.c: New file.
11273 * gdb.python/py-lazy-string.exp: New file.
11274 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11275 (main): Update. Add estring3.
11276 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11277 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11279 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11280 Yao Qi <yao.qi@linaro.org>
11282 * gdb.reverse/aarch64.c: New.
11283 * gdb.reverse/aarch64.exp: New.
11285 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11287 * lib/gdb.exp (supports_process_record): Return true for
11289 (supports_reverse): Likewise.
11291 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11293 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11294 Use with_test_prefix.
11296 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11298 * gdb.base/completion.exp: Add test for completion of layout
11301 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11303 * lib/gdb.exp (skip_tui_tests): New proc.
11304 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11306 2015-05-19 Pedro Alves <palves@redhat.com>
11308 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11309 Save the whole env array instead of just HOME. Unset HISTSIZE in
11310 the environment while testing. Restore whole environment
11313 2015-05-16 Doug Evans <xdje42@gmail.com>
11315 * gdb.guile/scm-ports.c: New file.
11316 * gdb.guile/scm-ports.exp: Add memory port tests.
11318 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11320 * gdb.compile/compile-print.c: New file.
11321 * gdb.compile/compile-print.exp: New file.
11323 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11325 * gdb.compile/compile-ops.exp: Cast param to void.
11326 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11327 (compile code struct_object.selffield = &struct_object): Add xfail.
11329 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11331 * gdb.ada/arr_enum_with_gap: New testcase.
11333 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11335 * gdb.ada/byte_packed_arr: New testcase.
11337 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11339 * gdb.ada/pckd_neg: New testcase.
11341 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11344 * gdb.base/gdbinit-history.exp: New test.
11345 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11346 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11348 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11350 * gdb.python/py-xmethods.cc: Enhance test case.
11351 * gdb.python/py-xmethods.exp: New tests.
11352 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11354 (B_indexoper): Likewise.
11355 (global_dm_list) : Add new xmethod worker functions.
11357 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11359 * gdb.base/coredump-filter.exp: Correctly unset
11360 "coredump_var_addr" array.
11362 2015-05-08 Pedro Alves <palves@redhat.com>
11364 * gdb.server/non-existing-program.exp: Unset spawn_id.
11366 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11369 * gdb.python/py-xmethods.exp: Add tests.
11371 2015-05-08 Yao Qi <yao.qi@linaro.org>
11374 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11375 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11376 function set_coredump_filter, and remove remote_exec call.
11377 Remove argument ipid. Callers update.
11378 (top level): Don't get inferior's PID.
11380 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11382 * gdb.base/watch_thread_num.exp: Skip test on targets without
11383 access watchpoints.
11385 2015-05-06 Pedro Alves <palves@redhat.com>
11388 * gdb.server/non-existing-program.exp: New file.
11390 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11392 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11394 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11396 * gdb.ada/out_of_line_in_inlined: New testcase.
11398 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11400 * gdb.ada/var_rec_arr: New testcase.
11402 2015-04-30 Yao Qi <yao.qi@linaro.org>
11404 * gdb.base/break-idempotent.exp: If
11405 skip_hw_watchpoint_multi_tests returns true, skip the tests
11406 on "rwatch" and "awatch".
11408 2015-04-30 Yao Qi <yao.qi@linaro.org>
11410 * gdb.base/relativedebug.exp: Invoke gdb command
11411 "info sharedlibrary", and if libc.so doesn't have debug info,
11414 2015-04-29 Doug Evans <dje@google.com>
11416 * gdb.python/py-xmethods.exp: Add ptype tests.
11417 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11418 get_result_type method.
11420 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11422 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11423 the target does not support hardware watchpoints.
11425 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11427 * gdb.base/break-always.exp: Abort testing if writing to memory
11430 2015-04-28 Doug Evans <dje@google.com>
11432 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11433 * gdb.python/py-pp-registration.exp: ... here. New file.
11434 * gdb.python/py-pp-registration.c: New file.
11435 * gdb.python/py-pp-registration.py: New file.
11437 2015-04-28 Doug Evans <dje@google.com>
11439 * gdb.python/py-bad-printers.c: New file.
11440 * gdb.python/py-bad-printers.py: New file.
11441 * gdb.python/py-bad-printers.exp: New file.
11443 2015-04-28 Sasha Smundak <asmundak@google.com>
11445 * gdb.python/py-type.exp: New test.
11447 2015-04-28 Andy Wingo <wingo@igalia.com>
11449 * gdb.python/py-parameter.exp:
11450 * gdb.guile/scm-parameter.exp: Escape the path that we are
11451 matching against, as it might contain characters that are special
11452 to regular expressions.
11454 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11456 * gdb.ada/rec_comp: New testcase.
11458 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11460 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11463 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11465 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11466 new tests for verilog output.
11468 2015-04-24 Yao Qi <yao.qi@linaro.org>
11470 * boards/remote-gdbserver-on-localhost.exp: New file.
11472 2015-04-23 Pedro Alves <palves@redhat.com>
11474 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11475 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11476 "end of file", remove $inferior_spawn_id from the indirect list.
11478 2015-04-23 Pedro Alves <palves@redhat.com>
11480 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11482 2015-04-23 Pedro Alves <palves@redhat.com>
11484 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11485 on $any_spawn_id instead of only on $gdb_spawn_id.
11487 2015-04-21 Pierre Muller <muller@sourceware.org>
11490 * lib/pascal.exp (gpc_compile): Add new option "class".
11491 (fpc_compile): Likewise.
11492 * gdb.pascal/case-insensitive-symbols.pas: New file.
11493 * gdb.pascal/case-insensitive-symbols.exp: New file.
11495 2015-04-20 Gary Benson <gbenson@redhat.com>
11497 * gdb.base/attach.exp: Fix three extended remote failures.
11499 2015-04-17 Gary Benson <gbenson@redhat.com>
11501 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11502 the main executable over the remote protocol.
11504 2015-04-16 Pedro Alves <palves@redhat.com>
11506 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11507 a new gdbserver if gdbserver_reconnect_p is set.
11509 2015-04-16 Pedro Alves <palves@redhat.com>
11511 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11512 is set, don't exit gdbserver.
11514 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11516 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11517 appropriate .insn, such that an older assembler can be used.
11518 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11519 the z/Architecture instruction set on 31-bit targets as well.
11521 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11523 * gdb.go/handcall.exp: Remove all logic related to the first
11524 breakpoint and rely on go_runto_main instead.
11525 * gdb.go/strings.exp: Likewise.
11526 * gdb.go/unsafe.exp: Likewise.
11527 * gdb.go/hello.exp: Likewise. Also rename the remaining
11528 breakpoint marker to "breakpoint 1".
11529 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11530 * gdb.go/strings.go: Likewise.
11531 * gdb.go/unsafe.go: Likewise.
11532 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11533 "set breakpoint 2 here" and rename the remaining breakpoint marker
11536 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11538 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11539 if itertools.imap is not present.
11540 * gdb.python/py-objfile.exp: Add parentheses.
11541 * gdb.python/py-type.exp: Same.
11542 * gdb.python/py-unwind-maint.py: Same.
11544 2015-04-15 Yao Qi <yao.qi@linaro.org>
11546 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11547 of ":$ptr_size" and set its form explicitly.
11549 2015-04-15 Pedro Alves <palves@redhat.com>
11550 Yao Qi <yao.qi@linaro.org>
11552 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11553 timeout by factor of 4.
11554 (test_regular_watch): Likewise.
11555 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11556 * gdb.reverse/sigall-reverse.exp: Likewise.
11557 * gdb.reverse/until-precsave.exp: Likewise.
11558 * lib/gdb.exp (with_timeout_factor): New proc.
11559 (gdb_expect): Move some code to ...
11560 (get_largest_timeout): ... here. New procedure.
11562 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11564 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11566 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11568 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11569 to write to the .text section.
11571 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11573 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11574 Handle the case of targets that do not provide PID information.
11576 2015-04-13 Yao Qi <yao.qi@linaro.org>
11578 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11579 and use expect instead of gdb_expect.
11581 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11583 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11584 "coredump_var_addr" to avoid naming conflict with other testcases.
11586 2015-04-10 Pedro Alves <palves@redhat.com>
11588 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11589 gdb_test_sequence and gdb_assert.
11591 2015-04-10 Pedro Alves <palves@redhat.com>
11593 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11594 test messages that don't include the breakpoint address.
11596 2015-04-10 Yao Qi <yao.qi@linaro.org>
11598 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11599 false for some offset and width combinations which aren't
11600 supported by linux kernel.
11602 2015-04-10 Pedro Alves <palves@redhat.com>
11604 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11605 procedure, factored out from ...
11606 (top level): ... here. Add "set displaced-stepping" testing axis.
11607 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11608 parameter "displaced". Use it.
11609 (top level): Use foreach and add "set displaced-stepping" testing
11612 2015-04-10 Pedro Alves <palves@redhat.com>
11614 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11616 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11617 both the address of the instruction that triggers the watchpoint
11618 and the address of the instruction immediately after, and use
11619 those addresses for the test. Fix comment.
11621 2015-04-10 Pedro Alves <palves@redhat.com>
11623 * gdb.base/sigstep.exp (breakpoint_to_handler)
11624 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11625 Test "backtrace" in handler.
11626 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11627 (top level): Add new "displaced" test axis to
11628 breakpoint_to_handler, breakpoint_to_handler_entry and
11629 breakpoint_over_handler.
11631 2015-04-10 Pedro Alves <palves@redhat.com>
11634 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11636 2015-04-10 Yao Qi <yao.qi@linaro.org>
11638 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11639 (test_add_rn_pc): New function.
11640 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11641 (top level): Invoke test_add_rn_pc.
11643 2015-04-10 Pedro Alves <palves@redhat.com>
11646 * gdb.base/step-over-no-symbols.exp: New file.
11648 2015-04-09 Andy Wingo <wingo@igalia.com>
11650 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11651 after the Python tests.
11653 2015-04-08 Keith Seitz <keiths@redhat.com>
11656 * gdb.python/py-completion.exp: New tests for completion.
11657 * gdb.python/py-completion.py (CompleteLimit1): New class.
11658 (CompleteLimit2): Likewise.
11659 (CompleteLimit3): Likewise.
11660 (CompleteLimit4): Likewise.
11661 (CompleteLimit5): Likewise.
11662 (CompleteLimit6): Likewise.
11663 (CompleteLimit7): Likewise.
11665 2015-04-08 Pedro Alves <palves@redhat.com>
11669 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11671 (main): Install it as SIGUSR1 handler.
11672 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11673 parameter. Always use "setup" as prefix. Toggle "set
11674 displaced-stepping" off/on depending on global. Don't switch to
11676 (top level): Add displaced stepping "off/on" test axis. Update
11677 "setup" calls. Wrap each subtest with with_test_prefix. Test
11678 continuing with a queued signal in each thread.
11680 2015-04-08 Pedro Alves <palves@redhat.com>
11682 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11683 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11684 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11685 Return early if running to main fails.
11686 * gdb.trace/while-stepping.exp: Likewise.
11688 2015-04-07 Pedro Alves <palves@redhat.com>
11690 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11691 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11692 interact with inferior program.
11694 2015-04-07 Pedro Alves <palves@redhat.com>
11696 * lib/gdb.exp (inferior_spawn_id): New global.
11697 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11698 spawn id after processing the user code.
11699 (default_gdb_start): Set inferior_spawn_id.
11700 (send_inferior): New procedure.
11701 * lib/gdbserver-support.exp (gdbserver_start): Set
11703 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11705 2015-04-07 Pedro Alves <palves@redhat.com>
11707 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11708 * lib/gdbserver-support.exp (gdbserver_start): Make
11709 $server_spawn_id global.
11710 (gdbserver_start): Don't wait for gdbserver's spawn id with
11712 (close_gdbserver): New procedure.
11713 (gdb_exit): Rename the default version and reimplement.
11715 2015-04-07 Pedro Alves <palves@redhat.com>
11717 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11718 append the substituted item, not the original item.
11720 2015-04-07 Pedro Alves <palves@redhat.com>
11722 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11725 2015-04-07 Pedro Alves <palves@redhat.com>
11727 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11728 output appearing once only.
11730 2015-04-07 Pedro Alves <palves@redhat.com>
11732 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11733 that doesn't expect anything. Return early if running to main
11736 2015-04-07 Yao Qi <yao.qi@linaro.org>
11738 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11739 (child_function): Call alarm.
11740 (main): Move call to alarm into the loop.
11741 * gdb.threads/non-stop-fair-events.exp: Build program with
11742 -DTIMEOUT=$timeout.
11744 2015-04-06 Doug Evans <xdje42@gmail.com>
11746 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11747 Fix dest parameter to board_info.
11748 (fpc_compile): Ditto.
11749 (gdb_compile_pascal): Rename dest arg to destfile.
11751 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11753 * gdb.ada/funcall_ref.exp: New file.
11754 * gdb.ada/funcall_ref/foo.adb: New file.
11756 2015-04-02 Yao Qi <yao.qi@linaro.org>
11758 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11761 2015-04-02 Gary Benson <gbenson@redhat.com>
11763 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11765 2015-04-01 Sasha Smundak <asmundak@google.com>
11767 * gdb.python/py-unwind-maint.c: New file.
11768 * gdb.python/py-unwind-maint.exp: New test.
11769 * gdb.python/py-unwind-maint.py: New file.
11770 * gdb.python/py-unwind.c: New file.
11771 * gdb.python/py-unwind.exp: New test.
11772 * gdb.python/py-unwind.py: New test.
11774 2015-04-01 Pedro Alves <palves@redhat.com>
11776 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11777 to fail instead of non-existent $test.
11779 2015-04-01 Pedro Alves <palves@redhat.com>
11781 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11782 GDBFLAGS if not empty.
11784 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11786 * gdb.ada/complete.exp: Remove "multi_line".
11787 * gdb.ada/info_exc.exp: Remove "multi_line".
11788 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11789 * gdb.ada/ptype_field.exp: Remove "multi_line".
11790 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11791 * gdb.ada/tagged.exp: Remove "multi_line".
11792 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11794 * gdb.btrace/delta.exp: Likewise.
11795 * gdb.btrace/exception.exp: Likewise.
11796 * gdb.btrace/function_call_history.exp: Likewise.
11797 * gdb.btrace/instruction_history.exp: Likewise.
11798 * gdb.btrace/nohist.exp: Likewise.
11799 * gdb.btrace/record_goto.exp: Likewise.
11800 * gdb.btrace/segv.exp: Likewise.
11801 * gdb.btrace/stepi.exp: Likewise.
11802 * gdb.btrace/tailcall.exp: Likewise.
11803 * gdb.btrace/unknown_functions.exp: Likewise.
11804 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11805 * lib/gdb.exp: Add the "multi_line" helper.
11807 2015-04-01 Pedro Alves <palves@redhat.com>
11809 * gdb.threads/tid-reuse.c: New file.
11810 * gdb.threads/tid-reuse.exp: New file.
11812 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11815 * gdb.base/coredump-filter.c: New file.
11816 * gdb.base/coredump-filter.exp: Likewise.
11818 2015-03-27 Petr Machata <pmachata@redhat.com>
11820 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11821 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11822 (Dwarf::assemble): Initialize them.
11823 (Dwarf::lines): New function.
11825 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11827 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11828 SYMBOL_PREFIX for x86_64-*-cygwin.
11830 2015-03-26 Andy Wingo <wingo@igalia.com>
11833 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11834 const_value but not a location.
11835 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11836 location defined in non-main CUs are visible.
11838 2015-03-26 Yao Qi <yao.qi@linaro.org>
11841 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11842 Add a line number entry for the same line.
11843 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11844 Add a line number entry for the same line.
11846 2015-03-26 Yao Qi <yao.qi@linaro.org>
11848 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11850 (func): Likewise. Add .Lfunc_1 label.
11851 Use .Lfunc_1 label.
11852 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11855 Use .Lfunc_1 label.
11857 2015-03-26 Yao Qi <yao.qi@linaro.org>
11859 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11860 Call gdb_compile instead to compile each .s files without debug
11863 2015-03-26 Yao Qi <yao.qi@linaro.org>
11865 * gdb.base/savedregs.exp (process_saved_regs): Make
11866 "Saved registers:" optional in the pattern.
11868 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11870 * gdb.btrace/next.exp: Merged into step.exp.
11871 * gdb.btrace/finish.exp: Merged into step.exp.
11872 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11873 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11874 "record goto" and checking the exact replay position.
11875 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11876 check for "Recording format" in "info record" output.
11877 * gdb.btrace/record_goto.exp: Choose test file based on target.
11878 * gdb.btrace/x86-record_goto.S: Renamed into ...
11879 * gdb.btrace/x86_64-record_goto.S: ... this.
11880 * gdb.btrace/i686-record_goto.S: New.
11881 * gdb.btrace/x86-tailcall.S: Renamed into ...
11882 * gdb.btrace/x86_64-tailcall.S: ... this.
11883 * gdb.btrace/i686-tailcall.S: New.
11884 * gdb.btrace/x86-tailcall.c: Renamed into ...
11885 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11886 separate statements. Update test.
11887 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11888 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11889 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11890 * gdb.btrace/tailcall.exp: Choose test file based on target.
11891 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11893 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11895 * gdb.btrace/exception.exp: Increase BTS buffer size.
11897 2015-03-24 Pedro Alves <palves@redhat.com>
11899 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11901 2015-03-24 Pedro Alves <palves@redhat.com>
11903 * gdb.threads/schedlock.exp (test_step): No longer expect that
11904 "set scheduler-locking step" with "next" over a function call runs
11907 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11909 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11911 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11913 PR breakpoints/16466
11914 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11915 * gdb.mi/mi-pending.c (thread_func): New function.
11916 (int main): Add threading support required.
11917 * gdb.mi/mi-pending.exp: Add tests for this issue.
11918 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11919 (pendfunc2): Remove stdio dependency.
11920 * gdb.mi/mi-pendshr2.c: New file.
11922 2015-03-23 Keith Seitz <keiths@redhat.com>
11924 * gdb.linespec/keywords.c: New file.
11925 * gdb.linespec/keywords.exp: New file.
11927 2015-03-23 Keith Seitz <keiths@redhat.com>
11930 * gdb.dwarf2/staticvirtual.exp: New test.
11932 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11934 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11935 * README: Remove HP-UX and gdb.hp.
11937 * configure: Regenerate.
11938 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11939 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11940 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11941 gdb.hp/gdb.defects/Makefile.
11942 * gdb.hp/Makefile.in: File deleted.
11943 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11944 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11945 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11946 * gdb.hp/gdb.aCC/run.c: File deleted.
11947 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11948 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11949 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11950 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11951 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11952 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11953 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11954 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11955 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11956 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11957 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11958 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11959 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11960 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11961 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11962 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11963 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11964 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11965 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11966 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11967 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11968 * gdb.hp/gdb.compat/average.c: File deleted.
11969 * gdb.hp/gdb.compat/sum.c: File deleted.
11970 * gdb.hp/gdb.compat/xdb.c: File deleted.
11971 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11972 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11973 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11974 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11975 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11976 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11977 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11978 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11979 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11980 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11981 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11982 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11983 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11984 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11985 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11986 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11987 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11988 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11989 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11990 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11991 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11992 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11993 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11994 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11995 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11996 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11997 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11998 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11999 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12000 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12001 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12002 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12003 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12004 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12005 * gdb.hp/tools/odump: File deleted.
12007 2015-03-19 Pedro Alves <palves@redhat.com>
12009 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12010 (saw_thread_3): New globals.
12011 (top level): Increment them when an event for the corresponding
12013 (no thread starvation): New test.
12015 2015-03-19 Pedro Alves <palves@redhat.com>
12017 * gdb.threads/continue-pending-status.c: New file.
12018 * gdb.threads/continue-pending-status.exp: New file.
12020 2015-03-18 Pedro Alves <palves@redhat.com>
12022 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12023 Use gdb_is_target_remote instead of is_remote. Use
12024 gdb_test_multiple instead of gdb_expect. Exit early if
12025 gdb_test_multiple hits its internal matches. Tighten stepi tests
12026 expected output. Fail on exit with any signal, instead of just
12029 2015-03-18 Yao Qi <yao.qi@linaro.org>
12032 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12034 * gdb.base/catch-syscall.exp: Don't skip it on
12035 aarch64*-*-linux* target. Remove elements in all_syscalls.
12036 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12038 (setup_all_syscalls): New proc.
12040 2015-03-16 Yao Qi <yao.qi@linaro.org>
12042 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12043 (top level): Skip tests if valid_addr_p returns false for
12046 2015-03-11 Andy Wingo <wingo@igalia.com>
12048 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12050 2015-03-11 Yao Qi <yao.qi@linaro.org>
12052 * gdb.base/catch-syscall.exp: Fix typo in comments.
12054 2015-03-11 Yao Qi <yao.qi@linaro.org>
12056 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12058 2015-03-09 Pedro Alves <palves@redhat.com>
12060 * dg-extract-results.py: Delete.
12062 2015-03-09 Pedro Alves <palves@redhat.com>
12064 Merge dg-extract-results.sh from GCC upstream (r218843).
12066 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12067 * dg-extract-results.sh: Use --text with grep to avoid issues with
12068 binary files. Fall back to cat -v, if that doesn't work.
12070 2015-03-05 Pedro Alves <palves@redhat.com>
12072 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12074 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12076 * lib/mi-support.exp (mi_expect_interrupt): Accept
12077 alternative event for when in all-stop mode.
12079 2015-03-04 Pedro Alves <palves@redhat.com>
12081 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12083 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12085 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12087 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12089 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12090 regexps for GDB's current line display, accept a hex address
12091 preceding the line number.
12093 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12095 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12096 the 'arch1' variable for "s390*-linux*" targets.
12098 2015-03-04 Pedro Alves <palves@redhat.com>
12100 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12101 (main): Pass missing retval argument to pthread_join call.
12103 2015-03-02 Pedro Alves <palves@redhat.com>
12105 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12106 (top level): Call do_test with non-stop as well.
12108 2015-03-02 Pedro Alves <palves@redhat.com>
12110 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12113 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12115 * gdb.arch/s390-vregs.exp: New test.
12116 * gdb.arch/s390-vregs.S: New file.
12118 2015-02-27 Pedro Alves <palves@redhat.com>
12120 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12121 call to catch_command_errors.
12122 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12123 catch_command_errors.
12125 2015-02-27 Pedro Alves <palves@redhat.com>
12127 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12128 "true" for boolean result.
12129 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12132 2015-02-27 Pedro Alves <palves@redhat.com>
12134 * lib/unbuffer_output.c: New file.
12135 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12136 (main): Call gdb_unbuffer_output.
12138 2015-02-27 Yao Qi <yao.qi@linaro.org>
12140 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12143 2015-02-26 Doug Evans <dje@google.com>
12145 * gdb.cp/class2.cc (Dbase, D): New classes.
12146 (main): New local delta.
12147 * gdb.cp/class2.exp: Test printing delta.
12148 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12149 (dynbar): New global.
12150 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12152 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12154 * gdb.compile/compile-ifunc.c: New file.
12155 * gdb.compile/compile-ifunc.exp: New file.
12157 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12159 * gdb.base/structs.exp: Check for correct struct on finish.
12161 2015-02-26 Yao Qi <yao.qi@linaro.org>
12163 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12166 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12168 * gdb.arch/cordic.ko.bz2: New file.
12169 * gdb.arch/cordic.ko.debug.bz2: New file.
12170 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12172 2015-02-25 Yao Qi <yao.qi@linaro.org>
12174 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12175 aarch64*-*-* target.
12177 2015-02-23 Pedro Alves <palves@redhat.com>
12179 * lib/gdb.exp (delete_breakpoints): Rewrite using
12182 2015-02-23 Pedro Alves <palves@redhat.com>
12184 * gdb.base/info-os.c: Include stdlib.h.
12186 2015-02-22 Doug Evans <xdje42@gmail.com>
12189 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12190 is read after symbols have been re-read.
12191 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12192 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12194 2015-02-21 Doug Evans <dje@google.com>
12196 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12198 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12201 * gdb.arch/i386-biarch-core.core.bz2: New file.
12202 * gdb.arch/i386-biarch-core.exp: New file.
12204 2015-02-21 Pedro Alves <palves@redhat.com>
12206 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12209 2015-02-20 Pedro Alves <palves@redhat.com>
12211 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12214 2015-02-20 Pedro Alves <palves@redhat.com>
12216 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12218 2015-02-20 Pedro Alves <palves@redhat.com>
12220 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12221 clean_restart before gdb_target_supports_trace.
12223 2015-02-20 Pedro Alves <palves@redhat.com>
12226 * gdb.threads/clone-thread_db.c: New file.
12227 * gdb.threads/clone-thread_db.exp: New file.
12229 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12231 PR breakpoints/16812
12232 * gdb.base/catch-gdb-caused-signals.c: New file.
12233 * gdb.base/catch-gdb-caused-signals.exp: New file.
12235 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12237 * configure: Regenerated.
12238 * configure.ac: Use GDB_AC_TRANSFORM.
12239 * aclocal.m4: sinclude ../transform.m4.
12241 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12243 * lib/dtrace.exp: New file.
12244 * gdb.base/dtrace-probe.exp: Likewise.
12245 * gdb.base/dtrace-probe.d: Likewise.
12246 * gdb.base/dtrace-probe.c: Likewise.
12247 * lib/pdtrace.in: Likewise.
12248 * configure.ac: Output variables with the transformed names of
12249 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12250 * configure: Regenerated.
12252 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12254 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12255 expected message when trying to access $_probe_* convenience
12256 variables while not on a probe.
12258 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12260 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12262 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12264 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12265 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12267 2015-02-10 Doug Evans <xdje42@gmail.com>
12269 * lib/gdb.exp (gdb_load): Always return a result.
12271 2015-02-10 Pedro Alves <palves@redhat.com>
12273 * gdb.threads/signal-sigtrap.c: New file.
12274 * gdb.threads/signal-sigtrap.exp: New file.
12276 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12278 * gdb.trace/no-attach-trace.c: New file.
12279 * gdb.trace/no-attach-trace.exp: New file.
12281 2015-02-09 Mark Wielaard <mjw@redhat.com>
12283 * gdb.dwarf2/atomic.c: New file.
12284 * gdb.dwarf2/atomic-type.exp: Likewise.
12286 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12288 * gdb.btrace/buffer-size.exp: Update "info record" output.
12289 * gdb.btrace/delta.exp: Update "info record" output.
12290 * gdb.btrace/enable.exp: Update "info record" output.
12291 * gdb.btrace/finish.exp: Update "info record" output.
12292 * gdb.btrace/instruction_history.exp: Update "info record" output.
12293 * gdb.btrace/next.exp: Update "info record" output.
12294 * gdb.btrace/nexti.exp: Update "info record" output.
12295 * gdb.btrace/step.exp: Update "info record" output.
12296 * gdb.btrace/stepi.exp: Update "info record" output.
12297 * gdb.btrace/nohist.exp: Update "info record" output.
12299 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12301 * gdb.btrace/buffer-size: New.
12303 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12305 * gdb.btrace/delta.exp: Update "info record" output.
12306 * gdb.btrace/enable.exp: Update "info record" output.
12307 * gdb.btrace/finish.exp: Update "info record" output.
12308 * gdb.btrace/instruction_history.exp: Update "info record" output.
12309 * gdb.btrace/next.exp: Update "info record" output.
12310 * gdb.btrace/nexti.exp: Update "info record" output.
12311 * gdb.btrace/step.exp: Update "info record" output.
12312 * gdb.btrace/stepi.exp: Update "info record" output.
12313 * gdb.btrace/nohist.exp: Update "info record" output.
12315 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12318 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12320 2015-02-06 Pedro Alves <palves@redhat.com>
12322 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12324 (seconds_left, again): New globals.
12325 (main): Wait seconds_left in a 1-second sleep loop instead of
12326 sleeping 180 seconds. If 'again' is set, reset the seconds
12328 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12329 'again' in the inferior before detaching. Print the seconds left.
12330 (options): New global.
12331 (top level): Build program with -DTIMEOUT=$timeout.
12333 2015-02-06 Pedro Alves <palves@redhat.com>
12335 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12336 determine how many seconds to pass to 'alarm'.
12337 * gdb.base/gdb-sigterm.exp (top level): Build program with
12338 -DTIMEOUT=$timeout.
12339 (do_test): Return success/failure indication. Add more verbose
12340 logging. Don't fail if 200 single steps are seen. Instead, fail
12341 when the test times out.
12342 (passes): New global.
12343 (top level): Break the testing loop if testing fails on any
12344 iteration. Use gdb_assert.
12346 2015-02-04 Don Breazeal <donb@codesourcery.com>
12348 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12349 and initialize them.
12350 (ipc_cleanup): New function.
12351 (main): Don't declare shmid, semid, and msqid. Add a call to
12352 atexit so that we call ipc_cleanup on exit.
12354 2015-02-04 Pedro Alves <palves@redhat.com>
12356 * boards/native-extended-gdbserver.exp: Remove any target variant
12357 specifications from the board name before clearing the isremote
12358 flag from board_info.
12360 2015-01-31 Doug Evans <xdje42@gmail.com>
12362 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12364 2015-01-31 Gary Benson <gbenson@redhat.com>
12366 * gdb.base/completion.exp: Disable completion limiting for
12367 existing tests. Add new tests to check completion limiting.
12368 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12370 2015-01-31 Doug Evans <xdje42@gmail.com>
12372 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12374 2015-01-31 Doug Evans <xdje42@gmail.com>
12376 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12377 entries. Duplicate file section script entries.
12378 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12379 inlined entries. Add test for safe-path rejection.
12380 * gdb.python/py-section-script.c: Add duplicate inlined section script
12381 entries. Duplicate file section script entries.
12382 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12383 inlined entries. Add test for safe-path rejection.
12385 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12387 * gdb.ada/disc_arr_bound: New testcase.
12389 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12391 * gdb.ada/mi_var_array: New testcase.
12393 2015-01-27 Doug Evans <dje@google.com>
12395 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12396 Add test for objfile.filename, objfile.username after objfile
12399 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12401 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12402 the second test to print the name attribute of value
12403 returned by the call to gdb.lookup_type, and adjust
12404 the expected output accordingly.
12406 2015-01-25 Mark Wielaard <mjw@redhat.com>
12408 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12409 * gdb.base/disp-step-fork.c: Include unistd.h.
12410 * gdb.base/siginfo-obj.c: Include stdio.h.
12411 * gdb.base/siginfo-thread.c: Likewise.
12412 * gdb.mi/non-stop.c: Include unistd.h.
12413 * gdb.mi/nsthrexec.c: Include stdio.h.
12414 * gdb.mi/pthreads.c: Include unistd.h.
12415 * gdb.modula2/unbounded1.c (main): Declare returns int.
12416 * gdb.reverse/consecutive-reverse.c: Likewise.
12417 * gdb.threads/create-fail.c: Include unistd.h.
12418 * gdb.threads/killed.c: Likewise.
12419 * gdb.threads/linux-dp.c: Likewise.
12420 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12421 * gdb.threads/non-ldr-exc-2.c: Likewise.
12422 * gdb.threads/non-ldr-exc-3.c: Likewise.
12423 * gdb.threads/non-ldr-exc-4.c: Likewise.
12424 * gdb.threads/pthreads.c: Include unistd.h.
12425 (main): Declare returns int.
12426 * gdb.threads/tls-main.c (foo): New declaration.
12427 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12429 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12431 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12432 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12434 2015-01-15 Mark Wielaard <mjw@redhat.com>
12436 * gdb.base/noreturn-return.c: New file.
12437 * gdb.base/noreturn-return.exp: New file.
12438 * gdb.base/noreturn-finish.c: New file.
12439 * gdb.base/noreturn-finish.exp: New file.
12441 2015-01-23 Pedro Alves <palves@redhat.com>
12443 * gdb.threads/continue-pending-after-query.c: New file.
12444 * gdb.threads/continue-pending-after-query.exp: New file.
12446 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12447 Simon Marchi <simon.marchi@ericsson.com>
12449 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12450 * gdb.base/valgrind-db-attach.exp: Same.
12451 * gdb.base/valgrind-infcall.exp: Same.
12452 * lib/mi-support.exp (default_mi_gdb_start): Same.
12453 * lib/prompt.exp (default_prompt_gdb_start): Same.
12454 * lib/gdb.exp (default_gdb_spawn): Same.
12455 (gdb_interact): New.
12458 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12460 * gdb.compile/compile.exp (pointer to jit function): New test.
12462 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12464 * lib/gdb.exp (supports_process_record): Return true for
12466 (supports_reverse): Likewise.
12468 2015-01-15 Don Breazeal <donb@codesourcery.com>
12470 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12471 instead of checking whether the target board is remote and
12472 use spawn_wait_for_attach instead of exec/sleep.
12473 * gdb.base/attach-twice.exp: Likewise.
12475 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12477 * gdb.ada/var_arr_attrs: New testcase.
12479 2015-01-14 Pedro Alves <palves@redhat.com>
12480 Joel Brobecker <brobecker@adacore.com>
12483 * gdb.base/bp-cmds-execution-x-script.c: New file.
12484 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12485 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12487 2015-01-14 Pedro Alves <palves@redhat.com>
12490 * gdb.base/batch-preserve-term-settings.c: New file.
12491 * gdb.base/batch-preserve-term-settings.exp: New file.
12493 2015-01-13 Doug Evans <dje@google.com>
12495 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12498 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12500 * Makefile.in (clean mostlyclean): Do not delete *.py.
12502 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12504 * gdb.python/py-lookup-type.exp: New file.
12506 2015-01-12 Pedro Alves <palves@redhat.com>
12508 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12509 restore GDBFLAGS before returning.
12511 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12513 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12514 is_amd64_regs_target and is_x86_like_target.
12516 2015-01-11 Doug Evans <xdje42@gmail.com>
12518 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12519 is given without an explicit form.
12520 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12522 * gdb.dwarf/corrupt.exp: Ditto.
12523 * gdb.dwarf2/enum-type.exp: Ditto.
12524 * gdb.trace/entry-values.exp: Ditto.
12525 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12527 2015-01-11 Doug Evans <xdje42@gmail.com>
12530 * gdb.base/maint.exp: Remove references to "maint demangle".
12531 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12532 Add tests for explicitly specifying language to demangle.
12533 * gdb.dlang/demangle.exp: Ditto.
12535 2015-01-09 Pedro Alves <palves@redhat.com>
12537 * gdb.threads/non-stop-fair-events.c: New file.
12538 * gdb.threads/non-stop-fair-events.exp: New file.
12540 2015-01-09 Pedro Alves <palves@redhat.com>
12542 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12543 the global scope. Set a breakpoint after all threads are started
12544 rather than stepping over two source lines. Expect the prompt.
12545 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12548 (main): Use threads_started_barrier to wait for all threads to
12549 start. Main thread no longer calls thread_function. Exit after
12551 (loop): New function.
12552 (thread_function): Wait on threads_started_barrier barrier. Call
12553 'loop' at each iteration.
12554 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12555 threads have started, instead of hardcoding number of "next"
12556 steps. Use an access watchpoint instead of a write watchpoint.
12558 2015-01-09 Pedro Alves <palves@redhat.com>
12560 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12561 (thread_func): Wait on barrier.
12562 (main): Wait for all threads to start before stopping GDB.
12563 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12565 (thread1_func, thread2_func): Wait on barrier.
12566 (main): Wait for all threads to start before stopping GDB.
12567 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12569 (thread1_func, thread2_func): Wait on barrier.
12570 (main): Wait for all threads to start before stopping GDB.
12572 2015-01-09 Pedro Alves <palves@redhat.com>
12574 * gdb.threads/attach-many-short-lived-threads.c: New file.
12575 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12577 2014-01-09 Pedro Alves <palves@redhat.com>
12579 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12580 instead of to thread 2.
12581 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12582 Add barrier around each pthread_create call instead of around all
12584 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12585 Set a break on thread_function and have the child threads hit it
12588 2015-01-09 Pedro Alves <palves@redhat.com>
12590 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12591 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12593 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12594 checking whether the target board is remote.
12595 * gdb.multi/multi-attach.exp: Likewise.
12596 * gdb.python/py-sync-interp.exp: Likewise.
12597 * gdb.server/ext-attach.exp: Likewise.
12598 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12599 tests that need to attach, instead of checking whether the target
12600 board is remote at the top of the file.
12602 2015-01-08 Yao Qi <yao@codesourcery.com>
12604 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12606 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12608 Fix testcase compilation.
12609 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12611 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12613 * gdb.python/py-type.exp: Add a couple test about empty
12614 array creation, and negative-length array creation.
12616 2015-01-02 Doug Evans <xdje42@gmail.com>
12618 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12620 2015-01-02 Doug Evans <dje@google.com>
12622 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12624 2014-12-29 Yao Qi <yao@codesourcery.com>
12626 * gdb.trace/entry-values.exp: Update comments. Rename variable
12627 bar_call_foo to returned_from_foo.
12629 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12632 * gdb.linespec/break-asm-file.c: New file.
12633 * gdb.linespec/break-asm-file.exp: New file.
12634 * gdb.linespec/break-asm-file0.s: New file.
12635 * gdb.linespec/break-asm-file1.s: New file.
12637 2014-12-18 Nigel Stephens <nigel@mips.com>
12638 Maciej W. Rozycki <macro@codesourcery.com>
12640 * gdb.base/float.exp: Handle the new output from "info float" on
12643 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12645 Fix MinGW compilation.
12646 * gdb.compile/compile-ops.exp: Update untested message if
12647 !skip_compile_feature_tests.
12648 * gdb.compile/compile-setjmp.exp: Likewise.
12649 * gdb.compile/compile-tls.exp: Likewise.
12650 * gdb.compile/compile.exp: Likewise.
12651 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12652 supported on this host".
12654 2014-12-16 Doug Evans <xdje42@gmail.com>
12656 * boards/stabs.exp: New file.
12658 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12660 * gdb.base/completion.exp: Adjust to format changes of "maint
12661 print user-registers".
12663 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12666 * gdb.arch/aarch64-fp.c: New file.
12667 * gdb.arch/aarch64-fp.exp: New file.
12669 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12671 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12672 r210637, r210913, r211666, r215400, r215817).
12674 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12675 * dg-extract-results.py: New file.
12676 * dg-extract-results.sh: Use it if the environment seems
12679 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12681 * dg-extract-results.py (parse_run): Handle warnings that
12682 are printed before a test harness is run.
12684 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12686 * dg-extract-results.py (Named): Remove __cmp__ method.
12687 (output_variation): Use a key to sort variation.harnesses.
12689 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12691 * dg-extract-results.py: For Python 3, force sys.stdout to
12692 handle surrogate escape sequences.
12693 (safe_open): New function.
12694 (output_segment, main): Use it.
12696 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12698 * dg-extract-results.py (Prog.result_re): Include options
12701 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12703 * dg-extract-results.py (output_variation): Always sort if
12706 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12708 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12709 as long as we get pagination notifications.
12711 2014-12-15 Jason Merrill <jason@redhat.com>
12713 * Makefile.in (check-gdb.%): Restore.
12714 * README: Mention it.
12716 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12718 * gdb.ada/str_uninit: New testcase.
12720 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12723 * gdb.base/vla-stub-define.c: New file.
12724 * gdb.base/vla-stub.c: New file.
12725 * gdb.base/vla-stub.exp: New file.
12727 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12728 Jan Kratochvil <jan.kratochvil@redhat.com>
12729 Tom Tromey <tromey@redhat.com>
12731 * configure.ac: Add gdb.compile/.
12732 * configure: Regenerate.
12733 * gdb.compile/Makefile.in: New file.
12734 * gdb.compile/compile-ops.exp: New file.
12735 * gdb.compile/compile-ops.c: New file.
12736 * gdb.compile/compile-tls.c: New file.
12737 * gdb.compile/compile-tls.exp: New file.
12738 * gdb.compile/compile-constvar.S: New file.
12739 * gdb.compile/compile-constvar.c: New file.
12740 * gdb.compile/compile-mod.c: New file.
12741 * gdb.compile/compile-nodebug.c: New file.
12742 * gdb.compile/compile-setjmp-mod.c: New file.
12743 * gdb.compile/compile-setjmp.c: New file.
12744 * gdb.compile/compile-setjmp.exp: New file.
12745 * gdb.compile/compile-shlib.c: New file.
12746 * gdb.compile/compile.c: New file.
12747 * gdb.compile/compile.exp: New file.
12748 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12750 2014-12-12 Tom Tromey <tromey@redhat.com>
12752 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12753 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12755 2014-12-12 Doug Evans <dje@google.com>
12757 * lib/gdb-python.exp (get_python_valueof): New function.
12758 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12760 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12762 * gdb.base/completion.exp: Add test for completion of "info
12765 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12767 * gdb.base/func-ptrs.c: New file.
12768 * gdb.base/func-ptrs.exp: New file.
12770 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12772 PR breakpoints/17012
12773 * gdb.base/dprintf-detach.c: New file.
12774 * gdb.base/dprintf-detach.exp: New file.
12776 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12778 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12779 * lib/gdb.exp (target_is_gdbserver): New procedure.
12781 2014-12-08 Doug Evans <dje@google.com>
12783 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12785 2014-12-05 Yao Qi <yao@codesourcery.com>
12787 * gdb.guile/scm-error.exp: Remove the third argument to
12788 gdb_remote_download.
12789 * gdb.guile/scm-frame-args.exp: Likewise.
12790 * gdb.guile/scm-section-script.exp: Likewise.
12792 2014-12-05 Yao Qi <yao@codesourcery.com>
12794 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12796 2014-12-04 Doug Evans <dje@google.com>
12798 * gdb.python/py-objfile.exp: Add tests for
12799 objfile.add_separate_debug_file.
12801 2014-12-04 Doug Evans <dje@google.com>
12803 * lib/gdb.exp (get_build_id): New function.
12804 (build_id_debug_filename_get): Rewrite to use it.
12805 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12807 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12809 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12810 `method(long)', not just 0x0.
12811 * gdb.cp/nsalias.exp: Align code labels to 4.
12812 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12813 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12814 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12815 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12816 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12817 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12819 2014-12-02 Doug Evans <dje@google.com>
12822 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12823 * gdb.cp/anon-ns2.cc: ... here. New file.
12824 * gdb.cp/anon-ns.exp: Update.
12826 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12828 * gdb.python/py-events.py (inferior_call_handler): New.
12829 (register_changed_handler, memory_changed_handler): New.
12830 (test_events.invoke): Register new handlers.
12831 * gdb.python/py-events.exp: Add tests for inferior call,
12832 memory_changed and register_changed events.
12834 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12836 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12837 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12838 if the linker doesn't understand this.
12840 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12842 * gdb.python/python.exp: Change expected reply to help().
12844 2014-12-01 Yao Qi <yao@codesourcery.com>
12846 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12847 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12848 * configure: Re-generated.
12850 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12852 * gdb.cp/chained-calls.cc: New file.
12853 * gdb.cp/chained-calls.exp: New file.
12854 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12856 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12858 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12859 * gdb.dwarf2/symtab-producer.exp: Same.
12860 * gdb.gdb/python-interrupts.exp: Same.
12861 * gdb.gdb/python-selftest.exp: Same.
12862 * gdb.python/py-linetable.exp: Same.
12863 * gdb.python/py-type.exp: Same.
12864 * gdb.python/py-value-cc.exp: Same.
12865 * gdb.python/py-value.exp: Same.
12867 2014-11-28 Yao Qi <yao@codesourcery.com>
12869 * gdb.base/break-probes.exp: Match library name prefixed with
12872 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12874 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12875 test expected output. Add parentheses for the call to print.
12876 Remove L suffix from integers.
12878 2014-11-26 Doug Evans <dje@google.com>
12880 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12882 2014-11-22 Yao Qi <yao@codesourcery.com>
12884 * gdb.trace/entry-values.c: Remove asms.
12885 (foo): Add foo_label.
12886 (bar): Add bar_label.
12887 * gdb.trace/entry-values.exp: Remove code computing foo's
12888 length and bar's length.
12889 (Dwarf::assemble): Invoke function_range for bar and use
12890 MACRO_AT_func for foo.
12892 2014-11-22 Yao Qi <yao@codesourcery.com>
12894 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12895 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12896 Use .Lgcc43_procstart instead of gcc43.
12898 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12900 * gdb.ada/n_arr_bound: New testcase.
12902 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12904 PR breakpoints/10737
12905 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12906 test_catch_syscall_multi_arch.
12907 (test_catch_syscall_multi_arch): New function.
12909 2014-11-20 Doug Evans <xdje42@gmail.com>
12911 * gdb.base/maint.exp: Update expected output.
12913 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12915 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12916 4-byte instruction on S390.
12918 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12920 * gdb.ada/arr_arr: New testcase.
12922 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12924 * gdb.ada/pkd_arr_elem: New Testcase.
12926 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12928 * gdb.reverse/break-precsave: Expect completion message for
12930 * gdb.reverse/consecutive-precsave.exp: Likewise.
12931 * gdb.reverse/finish-precsave.exp: Likewise.
12932 * gdb.reverse/i386-precsave.exp: Likewise.
12933 * gdb.reverse/machinestate-precsave.exp: Likewise.
12934 * gdb.reverse/sigall-precsave.exp: Likewise.
12935 * gdb.reverse/solib-precsave.exp: Likewise.
12936 * gdb.reverse/step-precsave.exp: Likewise.
12937 * gdb.reverse/until-precsave.exp: Likewise.
12938 * gdb.reverse/watch-precsave.exp: Likewise.
12940 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12942 * gdb.base/bp-permanent.c: Include unistd.h.
12943 * gdb.python/py-framefilter-mi.c (main): Add return type.
12944 * gdb.python/py-framefilter.c (main): Likewise.
12945 * gdb.trace/actions-changed.c (main): Likewise.
12947 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12949 * gdb.mi/until.c: Add eye-catchers.
12950 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12953 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12955 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12956 function header variants in break1.c.
12957 * gdb.base/ena-dis-br.exp: Likewise.
12958 * gdb.base/hbreak2.exp: Likewise.
12959 * gdb.reverse/until-precsave.exp: Drop references to removed
12960 non-prototype function header variants in ur1.c.
12961 * gdb.reverse/until-reverse.exp: Likewise.
12963 2014-11-17 Petr Machata <pmachata@redhat.com>
12965 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12966 ${_cu_offset_size} bytes abbrev offset.
12968 2014-11-15 Doug Evans <xdje42@gmail.com>
12971 * gdb.base/line-symtabs.exp: New file.
12972 * gdb.base/line-symtabs.c: New file.
12973 * gdb.base/line-symtabs.h: New file.
12975 2014-11-14 Yao Qi <yao@codesourcery.com>
12977 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12978 (func): Add label func_label.
12979 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12980 Replace low_pc and high_pc with MACRO_AT_range.
12981 Replace name, low_pc and high_pc with MACRO_AT_func.
12983 2014-11-14 Yao Qi <yao@codesourcery.com>
12985 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12986 Replace name, low_pc and high_pc with MACRO_AT_func.
12988 2014-11-14 Yao Qi <yao@codesourcery.com>
12990 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12991 produce debug information.
12992 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12994 2014-11-14 Yao Qi <yao@codesourcery.com>
12996 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12997 object and get function length.
12998 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12999 with MACRO_AT_func.
13000 (top-level): Replace gdb_compile and clean_restart with
13001 prepare_for_testing.
13002 * gdb.dwarf2/main.c (main): Add label main_label.
13004 2014-11-14 Yao Qi <yao@codesourcery.com>
13006 * lib/dwarf.exp (function_range): New procedure.
13007 (Dwarf::_handle_macro_at_func): New procedure.
13008 (Dwarf::_handle_macro_at_range): New procedure.
13009 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13011 2014-11-14 Yao Qi <yao@codesourcery.com>
13013 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13014 (_handle_attribute): New procedure.
13016 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13018 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13019 * gdb.base/call-sc.c (zed): Likewise.
13020 * gdb.base/checkpoint.c (main): Likewise.
13021 * gdb.base/dump.c (main): Likewise.
13022 * gdb.base/gcore.c (main): Likewise.
13023 * gdb.base/huge.c (main): Likewise.
13024 * gdb.base/multi-forks.c (main): Likewise.
13025 * gdb.base/pr10179-a.c (main): Likewise.
13026 * gdb.base/savedregs.c (main): Likewise.
13027 * gdb.base/sigaltstack.c (main): Likewise.
13028 * gdb.base/siginfo.c (main): Likewise.
13029 * gdb.base/structs.c (zed): Likewise.
13030 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13031 * gdb.mi/mi-syn-frame.c (main): Likewise.
13032 * gdb.mi/until.c (foo, main): Likewise.
13033 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13034 * gdb.base/solib-weak.c (foo): Declare.
13035 * gdb.base/attach-twice.c: Include stdio.h.
13036 * gdb.base/weaklib1.c: Likewise.
13037 * gdb.base/weaklib2.c: Likewise.
13038 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13039 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13041 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13042 * gdb.mi/mi-exit-code.c: Likewise.
13043 * gdb.base/break-interp-lib.c: Include string.h.
13044 * gdb.base/coremaker.c: Likewise.
13045 * gdb.base/testenv.c: Likewise.
13046 * gdb.python/py-finish-breakpoint.c: Likewise.
13047 * gdb.base/inferior-died.c: Include sys/wait.h.
13048 * gdb.base/fileio.c: Include time.h.
13049 * gdb.base/async-shell.c: Include unistd.h.
13050 * gdb.base/dprintf-non-stop.c: Likewise.
13051 * gdb.base/info-os.c: Likewise.
13052 * gdb.mi/mi-console.c: Likewise.
13053 * gdb.mi/watch-nonstop.c: Likewise.
13054 * gdb.python/py-events.c: Likewise.
13055 * gdb.base/async.c (baz): Move up before its invocation.
13056 * gdb.base/code_elim2.c (my_global_func): Likewise.
13057 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13058 * gdb.base/advance.c (func2): Likewise.
13060 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13062 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13064 * gdb.base/annota3.c: Likewise.
13065 * gdb.base/async.c: Likewise.
13066 * gdb.base/average.c: Likewise.
13067 * gdb.base/call-ar-st.c: Likewise.
13068 * gdb.base/call-rt-st.c: Likewise.
13069 * gdb.base/call-sc.c: Likewise.
13070 * gdb.base/call-strs.c: Likewise.
13071 * gdb.base/ending-run.c: Likewise.
13072 * gdb.base/execd-prog.c: Likewise.
13073 * gdb.base/exprs.c: Likewise.
13074 * gdb.base/foll-exec.c: Likewise.
13075 * gdb.base/foll-fork.c: Likewise.
13076 * gdb.base/foll-vfork.c: Likewise.
13077 * gdb.base/funcargs.c: Likewise.
13078 * gdb.base/gcore.c: Likewise.
13079 * gdb.base/jump.c: Likewise.
13080 * gdb.base/langs0.c: Likewise.
13081 * gdb.base/langs1.c: Likewise.
13082 * gdb.base/langs2.c: Likewise.
13083 * gdb.base/mips_pro.c: Likewise.
13084 * gdb.base/nodebug.c: Likewise.
13085 * gdb.base/opaque0.c: Likewise.
13086 * gdb.base/opaque1.c: Likewise.
13087 * gdb.base/recurse.c: Likewise.
13088 * gdb.base/run.c: Likewise.
13089 * gdb.base/scope0.c: Likewise.
13090 * gdb.base/scope1.c: Likewise.
13091 * gdb.base/setshow.c: Likewise.
13092 * gdb.base/setvar.c: Likewise.
13093 * gdb.base/shmain.c: Likewise.
13094 * gdb.base/shr1.c: Likewise.
13095 * gdb.base/shr2.c: Likewise.
13096 * gdb.base/sigall.c: Likewise.
13097 * gdb.base/signals.c: Likewise.
13098 * gdb.base/so-indr-cl.c: Likewise.
13099 * gdb.base/solib2.c: Likewise.
13100 * gdb.base/structs.c: Likewise.
13101 * gdb.base/sum.c: Likewise.
13102 * gdb.base/vforked-prog.c: Likewise.
13103 * gdb.base/watchpoint.c: Likewise.
13104 * gdb.reverse/shr2.c: Likewise.
13105 * gdb.reverse/until-reverse.c: Likewise.
13106 * gdb.reverse/ur1.c: Likewise.
13107 * gdb.reverse/watch-reverse.c: Likewise.
13109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13111 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13113 * gdb.base/sepdebug.exp: Drop references to removed code.
13115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13117 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13118 variant. Preserve original line numbering.
13119 * gdb.base/list1.c: Likewise.
13121 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13123 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13125 * gdb.base/break1.c: Likewise.
13126 * gdb.base/break.exp: Drop references to removed code.
13128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13130 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13135 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13137 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13139 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13140 logic into perform_all_tests() and invoke it with and without
13141 function header prototypes.
13142 (do_function_calls): Remove conditional XFAIL for PR 5318.
13143 (rerun_and_prepare): Remove duplicate code.
13144 (perform_all_tests): New. Main logic moved here.
13146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13148 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13149 code guarded by #ifdef NO_PROTOTYPES.
13150 (t_double_many_args): Likewise.
13151 (DEF_FUNC_MANY_ARGS_1): Likewise.
13152 (DEF_FUNC_VALUES_1): Likewise.
13153 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13154 guarded by #ifdef PROTOTYPES.
13156 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13158 * gdb.mi/mi-console.c: Add eye-catcher.
13159 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13160 instead of literal line number.
13162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13164 * gdb.base/shr2.c: Add eye-catcher.
13165 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13168 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13170 * gdb.base/jump.c: Add eye-catchers.
13171 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13174 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13176 * gdb.base/execd-prog.c: Add eye-catchers.
13177 * gdb.base/foll-exec.c: Likewise.
13178 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13183 * gdb.base/ending-run.c: Add eye-catchers.
13184 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13185 literal line numbers.
13187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13189 * gdb.base/call-rt-st.c: Add eye-catchers.
13190 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13191 literal line numbers.
13193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13195 * gdb.base/call-ar-st.c: Add eye-catchers.
13196 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13197 literal line numbers.
13199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13201 * gdb.base/average.c: Add eye-catchers.
13202 * gdb.base/sum.c: Likewise.
13203 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13204 regexps dynamically.
13206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13208 * gdb.base/solib1.c: Add eye-catchers.
13209 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13210 literal line numbers.
13212 2014-11-12 Pedro Alves <palves@redhat.com>
13214 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13217 2014-11-12 Pedro Alves <palves@redhat.com>
13219 * gdb.arch/i386-bp_permanent.c: New file.
13220 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13221 (srcfile): Set to i386-bp_permanent.c.
13222 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13223 that stepi does not execute the 'leave' instruction, instead of
13224 testing it does execute.
13225 * gdb.base/bp-permanent.c: New file.
13226 * gdb.base/bp-permanent.exp: New file.
13228 2014-11-10 Doug Evans <xdje42@gmail.com>
13231 * gdb.base/symtab-search-order.exp: New file.
13232 * gdb.base/symtab-search-order.c: New file.
13233 * gdb.base/symtab-search-order-1.c: New file.
13234 * gdb.base/symtab-search-order-shlib-1.c: New file.
13236 2014-11-07 Pedro Alves <palves@redhat.com>
13239 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13242 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13245 * gdb.cp/pr17494.cc: New file.
13246 * gdb.cp/pr17494.exp: New file.
13248 2014-11-02 Yao Qi <yao@codesourcery.com>
13250 * gdb.python/python.exp: Get working directory and match the
13251 output of "set extended-prompt \\w " with it.
13253 2014-10-30 Doug Evans <dje@google.com>
13255 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13257 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13260 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13262 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13263 * gdb.base/realname-expand.exp: Likewise.
13264 * gdb.linespec/macro-relative.exp: Likewise.
13266 2014-10-29 Pedro Alves <palves@redhat.com>
13269 * gdb.threads/schedlock.c (some_function): New function.
13270 (call_function): New global.
13271 (MAYBE_CALL_SOME_FUNCTION): New macro.
13272 (thread_function): Call it.
13273 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13274 and use it instead of a global counter. Adjust all callers.
13275 (get_current_thread): Use "find current thread" for test message
13276 here rather than having all callers pass down the same string.
13277 (goto_loop): New procedure, factored out from ...
13278 (my_continue): ... this.
13279 (step_ten_loops): Change parameter from test message to command to
13281 (list_count): Delete global.
13282 (check_result): New procedure, factored out from duplicate top
13284 (continue tests): Wrap in with_test_prefix.
13285 (test_step): New procedure, factored out from duplicate top level
13287 (top level): Test "step" in combination with all scheduler-locking
13288 modes. Test "next" in combination with all scheduler-locking
13289 modes, and in combination with stepping over a function call or
13291 * gdb.threads/next-bp-other-thread.c: New file.
13292 * gdb.threads/next-bp-other-thread.exp: New file.
13294 2014-10-29 Pedro Alves <palves@redhat.com>
13297 * gdb.python/python.exp: Test a multi-line command that spawns
13298 interactive Python.
13299 * gdb.base/multi-line-starts-subshell.exp: New file.
13301 2014-10-29 Yao Qi <yao@codesourcery.com>
13303 * gdb.base/fileio.exp: Make directories on host.
13305 2014-10-29 Yao Qi <yao@codesourcery.com>
13307 * gdb.base/fileio.c (test_write): Close the file.
13309 2014-10-28 Pedro Alves <palves@redhat.com>
13312 * gdb.base/sigstep.c (no_handler): New global.
13313 (main): If 'no_handler is true, set the signal handlers to
13315 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13316 with_sw_watch and no_handler parameters. Handle them.
13317 (top level) <stepping over handler when stopped at a breakpoint
13318 test>: Add a test axis for testing with a software watchpoint, and
13319 another for testing with the signal handler set to SIG_IGN.
13320 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13321 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13323 2014-10-28 Pedro Alves <palves@redhat.com>
13326 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13327 * gdb.base/sigstep.exp (other_handler_location): New global.
13328 (advance): Support stepping into the signal handler, and running
13329 commands while in the handler.
13330 (in_handler_map): New global.
13331 (top level): In the advance test, add combinations for getting
13332 into the handler with stepping commands, and for running commands
13333 in the handler. Add comment descripting the advancei tests.
13335 2014-10-28 Pedro Alves <palves@redhat.com>
13337 * gdb.base/sigstep.exp: Use build_executable instead of
13338 prepare_for_testing.
13339 (top level): Move code that starts GDB, runs to main and creates a
13341 (restart): ... this new procedure.
13342 (top level): Move backtrace from signal handler test to ...
13343 (validate_backtrace): ... this new procedure.
13344 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13345 with_test_prefix. Always restart GDB.
13346 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13347 with_test_prefix. Always restart GDB. No need to delete
13348 breakpoints after the test.
13349 (test_skip_handler): Remove prefix parameter.
13350 (skip_over_handler, breakpoint_to_handler)
13351 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13352 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13353 restart GDB. No need to delete breakpoints after the test.
13354 (top level): Use foreach to call the test procedures with
13355 different commands.
13357 2014-10-28 Pedro Alves <palves@redhat.com>
13359 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13360 instead of GNATS numbers.
13361 * gdb.base/sigbpt.exp: Likewise.
13362 * gdb.base/siginfo.exp: Likewise.
13363 * gdb.base/sigstep.exp: Likewise.
13365 2014-10-27 Pedro Alves <palves@redhat.com>
13367 * gdb.base/sigstep.c (dummy): New global.
13368 (main): Issue a couple writes to the new global.
13369 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13371 (skip_over_handler): Use test_skip_handler.
13372 (top level): Call skip_over_handler for stepi and nexti too.
13373 (breakpoint_over_handler): Use test_skip_handler.
13374 (top level): Call breakpoint_over_handler for stepi and nexti too.
13376 2014-10-27 Yao Qi <yao@codesourcery.com>
13378 * gdb.trace/tfile.c (adjust_function_address)
13379 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13380 function descriptor.
13382 2014-10-24 Don Breazeal <donb@codesourcery.com>
13384 * gdb.base/foll-fork.exp (test_follow_fork,
13385 catch_fork_child_follow): Check for updated fork messages emitted
13387 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13388 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13389 vfork_and_exec_child_follow_through_step): Check for updated vfork
13390 messages emitted from infrun.c.
13392 2014-10-24 Pedro Alves <palves@redhat.com>
13394 * gdb.base/corefile.exp: Remove references to ultrix.
13395 * gdb.base/interrupt.exp: Likewise.
13396 * gdb.base/whatis.exp: Likewise.
13397 * gdb.gdb/selftest.exp: Likewise.
13398 * gdb.threads/manythreads.exp: Likewise.
13399 * gdb.threads/print-threads.exp: Likewise.
13400 * gdb.threads/pthreads.exp:: Likewise.
13401 * gdb.threads/schedlock.exp: Likewise.
13403 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13405 * gdb.cp/non-trivial-retval.cc: Add a test case.
13406 * gdb.cp/non-trivial-retval.exp: Add a test.
13408 2014-10-20 Yao Qi <yao@codesourcery.com>
13410 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13411 * gdb.python/py-objfile-script-gdb.py: New file.
13412 * gdb.python/py-objfile-script.exp: Update reference to
13413 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13414 of remote_download. Remove the dest file.
13416 2014-10-20 Yao Qi <yao@codesourcery.com>
13418 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13419 * gdb.base/step-line.exp: Likewise.
13420 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13421 * gdb.dwarf2/dw2-basic.exp: Likewise.
13422 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13423 * gdb.dwarf2/dw2-filename.exp: Likewise.
13424 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13425 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13426 * gdb.dwarf2/dw2-producer.exp: Likewise.
13427 * gdb.dwarf2/mac-fileno.exp: Likewise.
13428 * gdb.python/py-frame-args.exp: Likewise.
13429 * gdb.python/py-framefilter.exp: Likewise.
13430 * gdb.python/py-mi.exp: Likewise.
13431 * gdb.python/py-objfile-script.exp: Likewise
13432 * gdb.python/py-pp-integral.exp: Likewise.
13433 * gdb.python/py-pp-re-notag.exp: Likewise.
13434 * gdb.python/py-prettyprint.exp: Likewise.
13435 * gdb.python/py-section-script.exp: Likewise.
13436 * gdb.python/py-typeprint.exp: Likewise.
13437 * gdb.python/py-xmethods.exp: Likewise.
13438 * gdb.stabs/weird.exp: Likewise.
13439 * gdb.xml/tdesc-regs.exp: Likewise.
13441 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13443 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13444 (out_cu): Use addr_len for the size of addresses.
13445 (out_line): Likewise. Size DW_LNE_set_address instruction
13446 according to addr_len.
13447 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13448 (FUNC): Add START_INSNS to definition.
13450 2014-10-18 Yao Qi <yao@codesourcery.com>
13452 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13453 gdb_has_argv0 return true.
13454 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13455 check [target_info exists noargs], check [gdb_has_argv0]
13457 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13458 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13461 2014-10-17 Doug Evans <dje@google.com>
13463 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13465 * gdb.python/py-events.py: Add clear_objfiles event.
13467 2014-10-17 Doug Evans <dje@google.com>
13469 * gdb.python/py-objfile.exp: Test progspace attribute.
13471 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13473 * gdb.guile/scm-breakpoint.exp: Do not assume any
13474 directory separators when matching source file paths.
13475 * gdb.python/py-breakpoint.exp: Likewise.
13476 * gdb.reverse/break-precsave.exp: Likewise.
13477 * gdb.reverse/break-reverse.exp: Likewise.
13478 * gdb.reverse/consecutive-precsave.exp: Likewise.
13479 * gdb.reverse/finish-precsave.exp: Likewise.
13480 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13481 * gdb.reverse/finish-reverse.exp: Likewise.
13482 * gdb.reverse/i386-precsave.exp: Likewise.
13483 * gdb.reverse/i387-env-reverse.exp: Likewise.
13484 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13485 * gdb.reverse/machinestate-precsave.exp: Likewise.
13486 * gdb.reverse/machinestate.exp: Likewise.
13487 * gdb.reverse/sigall-precsave.exp: Likewise.
13488 * gdb.reverse/solib-precsave.exp: Likewise.
13489 * gdb.reverse/step-precsave.exp: Likewise.
13490 * gdb.reverse/until-precsave.exp: Likewise.
13491 * gdb.reverse/watch-precsave.exp: Likewise.
13492 * gdb.reverse/watch-reverse.exp: Likewise.
13494 2014-10-17 Yao Qi <yao@codesourcery.com>
13496 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13497 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13499 2014-10-17 Pedro Alves <palves@redhat.com>
13502 * gdb.base/bg-execution-repeat.c: New file.
13503 * gdb.base/bg-execution-repeat.exp: New file.
13505 2014-10-17 Pedro Alves <palves@redhat.com>
13508 * gdb.base/continue-all-already-running.c: New file.
13509 * gdb.base/continue-all-already-running.exp: New file.
13511 2014-10-17 Pedro Alves <palves@redhat.com>
13514 * gdb.base/annota-input-while-running.c: New file.
13515 * gdb.base/annota-input-while-running.exp: New file.
13517 2014-10-17 Pedro Alves <palves@redhat.com>
13519 * gdb.base/callfuncs.exp: emove references to osf.
13520 * gdb.base/sigall.exp: Likewise.
13521 * gdb.gdb/selftest.exp: Likewise.
13522 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13523 * gdb.mi/non-stop.c: Likewise.
13524 * gdb.mi/pthreads.c: Likewise.
13525 * gdb.reverse/sigall-precsave.exp: Likewise.
13526 * gdb.reverse/sigall-reverse.exp: Likewise.
13527 * gdb.threads/pthreads.c: Likewise.
13528 * gdb.threads/pthreads.exp: Likewise.
13530 2014-10-17 Yao Qi <yao@codesourcery.com>
13532 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13533 check 'target_info exists noargs'.
13534 (test_command_prompt_position): Likewise.
13535 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13537 (progvar_simple_while_test): Likewise.
13538 (progvar_complex_if_while_test): Likewise.
13539 (if_while_breakpoint_command_test): Likewise.
13540 (infrun_breakpoint_command_test): Likewise.
13541 (breakpoint_command_test): Likewise.
13542 (watchpoint_command_test): Likewise.
13543 (bp_deleted_in_command_test): Likewise.
13544 (temporary_breakpoint_commands): Likewise.
13546 2014-10-16 Yao Qi <yao@codesourcery.com>
13548 * gdb.base/remotetimeout.exp: Remove noargs checking.
13550 2014-10-15 Pedro Alves <palves@redhat.com>
13552 PR breakpoints/9649
13553 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13554 * gdb.base/breakpoint-in-ro-region.exp
13555 (probe_target_hardware_step): New procedure.
13556 (top level): Probe hardware stepping and hardware breakpoint
13557 support. Test stepping through a read-only region, with both
13558 "breakpoint auto-hw" on and off and both "always-inserted" on and
13561 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13563 * gdb.dlang/demangle.exp: Update for demangling changes.
13565 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13567 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13568 * gdb.cp/non-trivial-retval.exp: Add new tests.
13570 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13574 * gdb.cp/non-trivial-retval.cc: New file.
13575 * gdb.cp/non-trivial-retval.exp: New file.
13577 2014-10-15 Yao Qi <yao@codesourcery.com>
13579 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13582 2014-10-15 Yao Qi <yao@codesourcery.com>
13584 * gdb.python/py-symbol.exp: Match file base name if host is
13585 remote, otherwise match file name with dir name.
13586 * gdb.python/py-symtab.exp: Likewise.
13587 * gdb.python/python.exp: Likewise.
13589 2014-10-15 Yao Qi <yao@codesourcery.com>
13591 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13593 * gdb.python/py-symtab.exp: Likewise.
13594 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13597 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13599 * gdb.ada/addr_arith: New testcase.
13601 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13603 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13604 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13605 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13606 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13608 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13610 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13611 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13612 * gdb.arch/stap-eval-lang-ada.exp: New file.
13614 2014-10-14 Yao Qi <yao@codesourcery.com>
13616 * gdb.mi/mi-var-child.c (nothing1): New function.
13617 (nothing2): New function.
13618 (do_children_tests): Set function pointers by nothing1 and
13620 * gdb.mi/mi-var-child.exp: Step over new added statements.
13621 Update test to match the new output.
13622 * gdb.mi/var-cmd.c (nothing1): New function.
13623 (nothing2): New function.
13624 (do_children_tests): Set function pointers by nothing1 and
13626 * gdb.mi/mi-var-display.exp: Update test to match output.
13627 Step to the line specified by $line_dct_nothing.
13628 Increase the number of lines to step.
13630 2014-10-14 Yao Qi <yao@codesourcery.com>
13632 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13634 * gdb.mi/mi2-var-child.exp: Likewise.
13636 2014-10-13 Doug Evans <dje@google.com>
13638 * gdb.python/py-objfile.exp: Change name of file name test.
13640 2014-10-13 Doug Evans <dje@google.com>
13642 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13643 from the start of the CU.
13645 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13646 Yao Qi <yao@codesourcery.com>
13648 Fix "save breakpoints" for "catch" command.
13649 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13650 Remove -nonewline. Match also the added "main" line.
13652 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13654 Fix "save breakpoints" for "disable $bpnum" command.
13655 * gdb.base/save-bp.c (main): Add label.
13656 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13658 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13660 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13662 2014-10-11 Yao Qi <yao@codesourcery.com>
13664 * gdb.server/server-kill.exp: Execute command
13665 "set remote trace-status-packet on" before "tstatus".
13667 2014-10-11 Yao Qi <yao@codesourcery.com>
13669 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13670 (main): Call getppid.
13671 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13672 and continue to it. Read variable "server_pid".
13674 2014-10-11 Yao Qi <yao@codesourcery.com>
13676 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13678 2014-10-11 Yao Qi <yao@codesourcery.com>
13680 * gdb.threads/thread-find.exp: Don't execute command
13682 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13683 * gdb.threads/linux-dp.exp: Don't check the condition
13684 $threads_created equals to zero.
13686 2014-10-10 Pedro Alves <palves@redhat.com>
13688 * gdb.base/bigcore.exp: Remove references to IRIX.
13689 * gdb.base/funcargs.exp: Likewise.
13690 * gdb.base/interrupt.exp: Likewise.
13691 * gdb.base/mips_pro.exp: Likewise.
13692 * gdb.base/nodebug.exp: Likewise.
13693 * gdb.base/setvar.exp: Likewise.
13694 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13696 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13697 Pedro Alves <palves@redhat.com>
13700 * gdb.base/vdso-warning.c: New file.
13701 * gdb.base/vdso-warning.exp: New file.
13703 2014-10-02 Doug Evans <dje@google.com>
13705 * gdb.base/structs.c (main): Don't run forever.
13707 2014-10-02 Pedro Alves <palves@redhat.com>
13709 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13710 (top level) <stop threads 1, stop threads 2>: Use it.
13712 2014-10-02 Pedro Alves <palves@redhat.com>
13714 * gdb.threads/break-while-running.exp (test): Add new
13715 'update_thread_list' argument. Skip "info threads" if false.
13716 (top level): Add new 'update_thread_list' axis.
13718 2014-10-02 Pedro Alves <palves@redhat.com>
13720 PR breakpoints/17431
13721 * gdb.base/execl-update-breakpoints.c: New file.
13722 * gdb.base/execl-update-breakpoints.exp: New file.
13724 2014-10-01 Pedro Alves <palves@redhat.com>
13726 * gdb.base/breakpoint-in-ro-region.c: New file.
13727 * gdb.base/breakpoint-in-ro-region.exp: New file.
13729 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13731 * gdb.mi/mi-exit-code.exp: New file.
13732 * gdb.mi/mi-exit-code.c: New file.
13734 2014-09-30 Yao Qi <yao@codesourcery.com>
13736 * lib/prelink-support.exp (build_executable_own_libs): Error if
13737 the target isn't native.
13739 2014-09-30 Yao Qi <yao@codesourcery.com>
13741 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13744 2014-09-22 Pedro Alves <palves@redhat.com>
13746 * gdb.threads/break-while-running.exp: New file.
13747 * gdb.threads/break-while-running.c: New file.
13749 2014-09-19 Yao Qi <yao@codesourcery.com>
13751 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13752 Invoke test. Restart GDB with --readnow and invoke test again.
13754 2014-09-19 Yao Qi <yao@codesourcery.com>
13756 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13757 proc set_breakpoint_on_gcd_function. Invoke
13758 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13759 invoke set_breakpoint_on_gcd_function again.
13761 2014-09-18 Doug Evans <dje@google.com>
13763 * gdb.dwarf2/symtab-producer.exp: New file.
13765 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13767 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13768 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13769 * gdb.base/global-var-nested-by-dso.c: Likewise.
13770 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13772 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13773 Pedro Alves <palves@redhat.com>
13775 * gdb.base/watch-bitfields.exp: Pass string other than test file
13776 name to prepare_for_testing.
13777 (watch): New procedure.
13778 (expect_watchpoint): Use with_test_prefix.
13779 (top level): Factor out tests to ...
13780 (test_watch_location, test_regular_watch): ... these new
13781 procedures, and use with_test_prefix and gdb_continue_to_end.
13783 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13785 PR breakpoints/12526
13786 * gdb.base/watch-bitfields.exp: New file.
13787 * gdb.base/watch-bitfields.c: New file.
13789 2014-09-16 Pedro Alves <palves@redhat.com>
13791 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13792 software and hardware addresses, not software address against
13795 2014-09-16 Pedro Alves <palves@redhat.com>
13797 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13798 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13800 2014-09-16 Pedro Alves <palves@redhat.com>
13802 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13804 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13805 "*-*-vxworks*" throughout.
13806 * gdb.base/break.exp: Likewise.
13807 * gdb.base/default.exp: Likewise.
13808 * gdb.base/scope.exp: Likewise.
13809 * gdb.base/sepdebug.exp: Likewise.
13810 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13812 * gdb.base/run.c: Likewise.
13813 * gdb.base/sepdebug.c: Likewise.
13814 * gdb.hp/gdb.aCC/run.c: Likewise.
13815 * gdb.reverse/until-reverse.c: Likewise.
13816 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13818 2014-09-16 Yao Qi <yao@codesourcery.com>
13820 * boards/local-remote-host-native.exp: New file.
13822 2014-09-14 Doug Evans <xdje42@gmail.com>
13824 * gdb.threads/queue-signal.c (thread_count): New variable.
13825 (thread_count_mutex, thread_count_condvar): New variables.
13826 (incr_thread_count, wait_all_threads_running): New functions.
13827 (main): Wait for all threads to be in their thread functions.
13829 2014-09-13 Doug Evans <xdje42@gmail.com>
13831 * gdb.threads/queue-signal.c: New file.
13832 * gdb.threads/queue-signal.exp: New file.
13834 2014-09-13 Doug Evans <xdje42@gmail.com>
13836 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13837 be consistent with what default_gdb_init uses.
13838 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13839 the plain text of the prompt. Add some logging printfs.
13840 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13842 2014-09-12 Pedro Alves <palves@redhat.com>
13844 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13845 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13846 * gdb.arch/i386-size-overlap.exp: Likewise.
13847 * gdb.arch/i386-size.exp: Likewise.
13848 * gdb.arch/i386-unwind.exp: Likewise.
13849 * gdb.base/a2-run.exp: Likewise.
13850 * gdb.base/break.exp: Likewise.
13851 * gdb.base/charset.exp: Likewise.
13852 * gdb.base/chng-syms.exp: Likewise.
13853 * gdb.base/commands.exp: Likewise.
13854 * gdb.base/dbx.exp: Likewise.
13855 * gdb.base/find.exp: Likewise.
13856 * gdb.base/funcargs.exp: Likewise.
13857 * gdb.base/jit-simple.exp: Likewise.
13858 * gdb.base/reread.exp: Likewise.
13859 * gdb.base/sepdebug.exp: Likewise.
13860 * gdb.base/step-bt.exp: Likewise.
13861 * gdb.cp/mb-inline.exp: Likewise.
13862 * gdb.cp/mb-templates.exp: Likewise.
13863 * gdb.objc/basicclass.exp: Likewise.
13864 * gdb.threads/killed.exp: Likewise.
13866 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13869 * gdb.arch/powerpc-stackless.S: New file.
13870 * gdb.arch/powerpc-stackless.exp: New file.
13872 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13874 * gdb.base/attach.c: Include unistd.h.
13875 (main): Call alarm. Add label postloop.
13876 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13877 gdb_breakpoint, gdb_continue_to_breakpoint.
13878 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13880 2014-09-11 Pedro Alves <palves@redhat.com>
13883 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13884 * gdb.base/attach.exp (test_command_line_attach_run): New
13886 (top level): Call it.
13888 2014-09-11 Pedro Alves <palves@redhat.com>
13890 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13891 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13892 (do_command_attach_tests): Use spawn_wait_for_attach.
13893 * gdb.base/solib-overlap.exp: Likewise.
13894 * gdb.multi/multi-attach.exp: Likewise.
13895 * gdb.python/py-prompt.exp: Likewise.
13896 * gdb.python/py-sync-interp.exp: Likewise.
13897 * gdb.server/ext-attach.exp: Likewise.
13899 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13901 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13902 command in testcase. Simplify testcase.
13904 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13906 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13908 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13910 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13912 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13914 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13916 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13918 * gdb.dwarf2/dynarr-ptr.c: New file.
13919 * gdb.dwarf2/dynarr-ptr.exp: New file.
13921 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13923 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13924 of 30 rather than hardcoding 120 for a slow test case. Take the
13925 `gdb,timeout' target setting into account for this calculation.
13926 Don't extend the timeout for the test cases that don't need it.
13928 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13930 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13931 a factor of 2 for a slow test case. Take the `gdb,timeout'
13932 target setting into account for this calculation.
13933 * gdb.reverse/until-precsave.exp: Increase the timeout by
13934 a factor of 15 and 3 respectively rather than adding 120
13935 for a pair of slow test cases. Take the `gdb,timeout'
13936 target setting into account for this calculation.
13938 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13940 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13941 timeout, don't pass one down to gdb_expect.
13942 (gdb_expect): Rework timeout selection.
13944 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13946 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13947 exception on timeout.
13948 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13949 (gdbserver_start_extended): Catch any `gdbserver_start' error
13951 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13952 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13953 `gdbserver_gdb_load' error exceptions.
13955 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13957 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13958 120 on waiting for the TCP socket to open.
13960 2014-09-09 Doug Evans <xdje42@gmail.com>
13962 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13963 _caller_matches, _any_caller_is, _any_caller_matches.
13965 2014-09-09 Doug Evans <xdje42@gmail.com>
13967 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13969 2014-09-09 Yao Qi <yao@codesourcery.com>
13971 * gdb.mi/mi-var-display.exp: Set print symbol off.
13973 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13976 * gdb.base/commands.exp: Add tests to verify user-defined
13977 commands with empty bodies.
13978 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13979 python commands in `show user command`.
13980 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13981 scheme commands in `show user command`.
13983 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13986 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13987 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13988 * gdb.python/py-framefilter-invalidarg.exp: New file.
13989 * gdb.python/py-framefilter-invalidarg.py: New file.
13991 2014-09-06 Doug Evans <xdje42@gmail.com>
13994 * gdb.python/py-caller-is.c: New file.
13995 * gdb.python/py-caller-is.exp: New file.
13997 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14000 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14001 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14003 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14006 * gdb.fortran/print-formatted.exp: New file.
14007 * gdb.fortran/print-formatted.f90: Likewise.
14009 2014-09-03 Sasha Smundak <asmundak@google.com>
14011 * gdb.python/py-frame.exp: Test Frame.read_register.
14013 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14016 * gdb.python/py-completion.exp: New file.
14017 * gdb.python/py-completion.py: Likewise.
14019 2014-08-28 Doug Evans <dje@google.com>
14021 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14022 eax,etc. are live with values set by gdb and thus the compiler can't
14024 * gdb.arch/i386-pseudo.c (main): Ditto.
14026 2014-08-27 Doug Evans <dje@google.com>
14028 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14030 2014-08-25 Doug Evans <dje@google.com>
14032 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14035 2014-08-25 Doug Evans <dje@google.com>
14037 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14039 2014-08-24 Yao Qi <yao@codesourcery.com>
14041 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14043 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14045 2014-08-22 Doug Evans <dje@google.com>
14048 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14049 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14050 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14052 2014-08-22 Yao Qi <yao@codesourcery.com>
14054 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14055 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14056 * gdb.python/python.exp: Likewise. Use .py file on the host
14057 instead of the build.
14059 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14061 * gdb.threads/gcore-stale-thread.c: New file.
14062 * gdb.threads/gcore-stale-thread.exp: New file.
14064 2014-08-21 Pedro Alves <palves@redhat.com>
14066 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14067 * gdb.base/gcore-relro-pie.exp: Likewise.
14068 * gdb.base/gcore-relro.exp: Likewise.
14069 * gdb.base/gcore.exp: Likewise.
14070 * gdb.base/print-symbol-loading.exp: Likewise.
14071 * gdb.threads/gcore-thread.exp: Likewise.
14072 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14074 2014-08-20 Pedro Alves <palves@redhat.com>
14075 Jan Kratochvil <jan.kratochvil@redhat.com>
14077 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14079 (EXPECT): Handle READ1 being set.
14080 (all): Depend on EXTRA_RULES.
14081 (check-read1, expect-read1, read1.so, read1): New rules.
14082 * README (Testsuite Parameters): Document the READ1 make variable.
14083 (Race detection): New section.
14084 * configure: Regenerate.
14085 * configure.ac: If build==host==target, and running under a
14086 GNU/glibc system, add read1 to the extra Makefile rules.
14087 (EXTRA_RULES): AC_SUBST it.
14088 * lib/read1.c: New file.
14090 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14092 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14093 the handling of variables declared as a typedef to an array
14094 which a DW_AT_data_location attribute.
14096 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14097 Pedro Alves <palves@redhat.com>
14101 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14104 2014-08-19 Pedro Alves <palves@redhat.com>
14106 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14108 2014-08-19 Yao Qi <yao@codesourcery.com>
14110 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14113 2014-08-18 David Blaikie <dblaikie@gmail.com>
14115 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14117 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14119 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14120 attribute in array range.
14122 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14124 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14126 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14129 * gdb.cp/pr17132.cc: New file.
14130 * gdb.cp/pr17132.exp: New file.
14132 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14134 * gdb.python/py-xmethods.py (A_getarrayind)
14135 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14136 Use 'print' with function call syntax.
14137 (E_method_matcher.match): Fix tab vs space indentation mixup.
14139 2014-08-15 Yao Qi <yao@codesourcery.com>
14141 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14144 2014-08-15 Yao Qi <yao@codesourcery.com>
14146 * gdb.cp/casts.exp: Set print symbol off.
14147 * gdb.cp/class2.exp: Likewise.
14148 * gdb.cp/overload.exp: Likewise.
14149 * gdb.cp/templates.exp: Likewise.
14151 2014-08-11 Doug Evans <dje@google.com>
14153 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14154 (test_load_shlib): Update.
14156 2014-08-09 Yao Qi <yao@codesourcery.com>
14158 * gdb.base/display.exp: Invoke is_address_zero_readable.
14159 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14160 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14161 * gdb.base/hbreak-unmapped.exp: Return if
14162 is_address_zero_readable returns true.
14163 * gdb.base/signest.exp: Likewise.
14164 * gdb.base/signull.exp: Likewise.
14165 * gdb.base/sigbpt.exp: Likewise.
14166 * gdb.guile/scm-disasm.exp: Do the test if
14167 is_address_zero_readable returns false.
14168 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14169 * gdb.python/py-arch.exp: Likewise.
14170 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14171 * lib/gdb.exp (is_address_zero_readable): New proc.
14173 2014-08-09 Yao Qi <yao@codesourcery.com>
14176 * gdb.mi/mi-var-display.exp: Make test messages unique.
14178 2014-08-04 Tom Tromey <tromey@redhat.com>
14180 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14183 2014-08-04 Tom Tromey <tromey@redhat.com>
14185 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14188 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14190 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14191 inner_vla_struct_object_size.
14192 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14195 2014-07-30 Pedro Alves <palves@redhat.com>
14197 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14200 2014-07-29 Yao Qi <yao@codesourcery.com>
14203 * gdb.base/until-nodebug.exp: New.
14205 2014-07-28 Doug Evans <xdje42@gmail.com>
14208 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14209 previously existing parameter, and previously ambiguously spelled
14212 2014-07-28 Will Newton <will.newton@linaro.org>
14214 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14216 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14217 Doug Evans <xdje42@gmail.com>
14220 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14222 2014-07-25 Pedro Alves <palves@redhat.com>
14224 * gdb.threads/signal-command-handle-nopass.c: New file.
14225 * gdb.threads/signal-command-handle-nopass.exp: New file.
14226 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14227 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14228 * gdb.threads/signal-delivered-right-thread.c: New file.
14229 * gdb.threads/signal-delivered-right-thread.exp: New file.
14231 2014-07-25 Pedro Alves <palves@redhat.com>
14233 * gdb.base/double-prompt-target-event-error.exp
14234 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14236 (cancel_pagination_in_target_event): Rework double prompt
14238 * gdb.base/paginate-after-ctrl-c-running.exp
14239 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14241 * gdb.base/paginate-bg-execution.exp
14242 (test_bg_execution_pagination_return)
14243 (test_bg_execution_pagination_cancel): Remove '-notransfer
14245 * gdb.base/paginate-execution-startup.exp
14246 (test_fg_execution_pagination_return)
14247 (test_fg_execution_pagination_cancel): Remove '-notransfer
14249 * gdb.base/paginate-inferior-exit.exp
14250 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14252 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14253 * lib/gdb.exp (pagination_prompt): Run text through
14255 (gdb_test_multiple): Match $pagination_prompt instead of
14257 (string_to_regexp): Move to lib/gdb-utils.exp.
14259 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14261 * gdb.arch/amd64-entry-value-paramref.S: New file.
14262 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14263 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14264 * gdb.arch/amd64-optimout-repeat.S: New file.
14265 * gdb.arch/amd64-optimout-repeat.c: New file.
14266 * gdb.arch/amd64-optimout-repeat.exp: New file.
14268 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14271 * gdb.base/statistics.exp: New file.
14273 2014-07-17 Doug Evans <dje@google.com>
14276 * gdb.base/maint.exp: Update testing of per-command stats.
14278 2014-07-16 Pedro Alves <palves@redhat.com>
14280 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14281 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14282 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14283 (tfile_write_buf): New functions.
14284 (add_memory_block): Rewrite using the above.
14285 (adjust_function_address): New function.
14286 (FUNCTION_ADDRESS): New macro.
14287 (write_basic_trace_file): Remove short_x local, and use
14288 tfile_write_16. Change type of func_addr local to unsigned long
14289 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14290 here. Cast argument of add_memory_block to char pointer.
14291 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14292 (main): Remove parameters.
14293 * gdb.trace/tfile.exp: Remove nowarnings.
14295 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14297 * gdb.base/debug-expr.exp: Test string evaluation with
14298 "debug expression" on.
14300 2014-07-15 Pedro Alves <palves@redhat.com>
14302 * gdb.base/reread.exp: Use clean_restart.
14304 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14306 * gdb.arch/avr-flash-qualifer.c: New.
14307 * gdb.arch/avr-flash-qualifer.exp: New.
14309 2014-07-14 Pedro Alves <palves@redhat.com>
14311 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14312 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14314 2014-07-14 Pedro Alves <palves@redhat.com>
14316 * gdb.base/double-prompt-target-event-error.c: New file.
14317 * gdb.base/double-prompt-target-event-error.exp: New file.
14319 2014-07-14 Pedro Alves <palves@redhat.com>
14322 * gdb.base/paginate-inferior-exit.c: New file.
14323 * gdb.base/paginate-inferior-exit.exp: New file.
14325 2014-07-14 Pedro Alves <palves@redhat.com>
14328 * gdb.base/paginate-bg-execution.c: New file.
14329 * gdb.base/paginate-bg-execution.exp: New file.
14331 2014-07-14 Pedro Alves <palves@redhat.com>
14334 * gdb.base/paginate-execution-startup.c: New file.
14335 * gdb.base/paginate-execution-startup.exp: New file.
14336 * lib/gdb.exp (pagination_prompt): New global.
14337 (default_gdb_spawn): New procedure, factored out from
14339 (default_gdb_start): Adjust to call default_gdb_spawn.
14340 (gdb_spawn): New procedure.
14342 2014-07-14 Pedro Alves <palves@redhat.com>
14344 * lib/gdb.exp (gdb_assert): New procedure.
14345 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14347 2014-07-14 Pedro Alves <palves@redhat.com>
14349 * gdb.base/execution-termios.c: New file.
14350 * gdb.base/execution-termios.exp: New file.
14352 2014-07-14 Tom Tromey <tromey@redhat.com>
14354 * gdb.cp/vla-cxx.cc: New file.
14355 * gdb.cp/vla-cxx.exp: New file.
14357 2014-07-14 Tom Tromey <tromey@redhat.com>
14359 * gdb.reverse/rerun-prec.c: New file.
14360 * gdb.reverse/rerun-prec.exp: New file.
14362 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14363 Maciej W. Rozycki <macro@codesourcery.com>
14365 * lib/gdb-utils.exp: New file.
14366 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14367 inline `gdb_init_command' processing.
14368 (gdb_start_cmd): Likewise.
14369 * lib/mi-support.exp (mi_run_cmd): Likewise.
14370 * README: Document `gdb_init_command' and `gdb_init_commands'.
14372 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14374 Fix false FAIL running under a very long directory name.
14375 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14376 and "set print elements 10000". Twice.
14378 2014-07-11 Yao Qi <yao@codesourcery.com>
14380 * gdb.base/exprs.exp: "set print symbol off".
14382 2014-07-11 Pedro Alves <palves@redhat.com>
14384 * gdb.threads/kill.c: New file.
14385 * gdb.threads/kill.exp: New file.
14387 2014-07-10 Yao Qi <yao@codesourcery.com>
14389 * gdb.trace/tfile.c (write_basic_trace_file)
14390 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14391 address written to trace file.
14393 2014-07-09 Pedro Alves <palves@redhat.com>
14395 * gdb.base/attach-wait-input.exp: New file.
14396 * gdb.base/attach-wait-input.c: New file.
14398 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14400 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14401 setting up test structures.
14402 (main): Call new test function.
14403 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14404 test function, continue into test function and walk test
14407 2014-07-02 Yao Qi <yao@codesourcery.com>
14409 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14410 'bar_start' at the beginning of functions 'foo' and 'bar'
14412 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14413 instead of 'foo' and 'bar'.
14415 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14417 * gdb.btrace/segv.exp: New.
14418 * gdb.btrace/segv.c: New.
14420 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14422 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14425 2014-06-30 Mark Wielaard <mjw@redhat.com>
14427 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14428 vulture, vilify, villar): New volatile array constants.
14429 (vindictive, vegetation): New const volatile array constants.
14430 * gdb.base/volatile.exp: Test volatile and const volatile array
14433 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14435 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14436 target lacks support for awatch, rwatch, or hbreak.
14438 2014-06-27 Yao Qi <yao@codesourcery.com>
14440 * gdb.multi/dummy-frame-restore.exp: New.
14441 * gdb.multi/dummy-frame-restore.c: New.
14443 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14445 * gdb.btrace/gcore.exp: New.
14447 2014-06-23 Pedro Alves <palves@redhat.com>
14449 * gdb.base/watchpoint-reuse-slot.c: New file.
14450 * gdb.base/watchpoint-reuse-slot.exp: New file.
14452 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14454 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14455 progspace's filename in 'info', 'enable' and 'disable' command
14458 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14460 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14461 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14462 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14464 2014-06-20 Gary Benson <gbenson@redhat.com>
14466 * gdb.arch/i386-avx.exp: Fix include file location.
14467 * gdb.arch/i386-sse.exp: Likewise.
14469 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14471 * gdb.dlang/expression.exp: New file.
14473 2014-06-19 Pedro Alves <palves@redhat.com>
14475 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14477 (top level): ... here. Iterate running tests under different
14478 scheduler-locking settings.
14480 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14482 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14483 to DW_FORM_addr and use non-zero addresses.
14485 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14488 * gdb.python/py-xmethods.cc: Add global function call counters and
14489 increment them in their respective functions. Remove "cout"
14491 * gdb.python/py-xmethods.exp: Make tests check the global function
14492 call counters instead of depending on inferior IO.
14494 2014-06-18 Don Breazeal <donb@codesourcery.com>
14496 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14498 (explicit_fork_parent_follow): Deleted procedure.
14499 (explicit_fork_child_follow): Deleted procedure.
14500 (test_follow_fork): New procedure.
14501 (do_fork_tests): Replace calls to deleted procedures with
14502 calls to test_follow_fork and reset GDB for subsequent
14505 2014-06-17 Yao Qi <yao@codesourcery.com>
14507 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14510 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14512 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14513 Initialize ptr and S explicitly.
14514 (skip_type_update_when_not_use_rtti_test): Likewise.
14516 2014-06-16 Keith Seitz <keiths@redhat.com>
14519 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14520 the inferior is started.
14522 2014-06-16 Pedro Alves <palves@redhat.com>
14524 * gdb.base/break-main-file-remove-fail.c: New file.
14525 * gdb.base/break-main-file-remove-fail.exp: New file.
14526 * gdb.base/break-unload-file.exp: Use build_executable instead of
14527 prepare_for_testing.
14528 (test_break): New parameter "initial_load". Handle it.
14529 (top level): Add initial_load cmdline/file axis.
14531 2014-06-12 Tom Tromey <tromey@redhat.com>
14533 * gdb.base/completion.exp: Don't use directory name in test.
14535 2014-06-09 Gary Benson <gbenson@redhat.com>
14537 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14538 separate the always-available ANSI-standard signals from the
14539 signals that require checking.
14541 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14545 2014-06-07 Keith Seitz <keiths@redhat.com>
14549 * gdb.cp/var-tag.cc: New file.
14550 * gdb.cp/var-tag.exp: New file.
14551 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14552 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14553 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14554 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14556 2014-06-06 Doug Evans <xdje42@gmail.com>
14558 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14560 2014-06-06 Pedro Alves <palves@redhat.com>
14562 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14563 in target debug output instead of looking at RSP packets,
14564 disabling the test on any target that uses hardware stepping.
14567 2014-06-06 Pedro Alves <palves@redhat.com>
14569 * gdb.base/break-unload-file.exp: Fix typo.
14571 2014-06-06 Yao Qi <yao@codesourcery.com>
14573 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14574 from "jit_function" to "^jit_function".
14576 2014-06-06 Yao Qi <yao@codesourcery.com>
14578 * gdb.base/async.c (foo): Add one statement.
14579 * gdb.base/async.exp: Get the next instruction address and
14580 match the output of "nexti" by instruction address. Match
14581 the hex address in the output of "finish".
14583 2014-06-06 Gary Benson <gbenson@redhat.com>
14585 * gdb.base/call-signals.c: Remove preprocessor conditionals
14586 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14587 SIGSEGV and SIGTERM.
14588 * gdb.base/sigall.c: Likewise.
14589 * gdb.base/unwindonsignal.c: Likewise.
14590 * gdb.reverse/sigall-reverse.c: Likewise.
14592 2014-06-06 Yao Qi <yao@codesourcery.com>
14594 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14595 readable, skip the test.
14597 2014-06-06 Yao Qi <yao@codesourcery.com>
14599 * gdb.threads/staticthreads.c (thread_function): Move the line
14600 setting breakpoint on forward.
14601 * gdb.threads/staticthreads.exp: Update comments.
14603 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14605 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14606 "history-append! type error".
14608 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14610 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14611 erroneous dprintf expected input.
14613 2014-06-04 Doug Evans <xdje42@gmail.com>
14615 * gdb.guile/scm-generics.exp: Delete.
14617 2014-06-04 Doug Evans <xdje42@gmail.com>
14619 * gdb.guile/scm-breakpoint.exp: Update.
14620 Add tests for breakpoint registration.
14622 2014-06-04 Tom Tromey <tromey@redhat.com>
14624 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14626 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14627 inner_vla_struct, vla_union types. Initialize objects of those
14628 types and compute their sizes.
14630 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14631 Hui Zhu <hui@codesourcery.com>
14633 * gdb.base/fileio.exp: Add test for shell not available as well as
14635 * gdb.base/fileio.c (test_system): Check for shell twice.
14637 2014-06-04 Yao Qi <yao@codesourcery.com>
14639 * gdb.base/auto-connect-native-target.exp: Remove redundant
14640 space from the regexp pattern.
14642 2014-06-04 Yao Qi <yao@codesourcery.com>
14644 * gdb.base/default.exp: Replace "child" with "native" in
14647 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14649 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14650 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14651 * gdb.python/py-xmethods.py: Python script supporting the
14652 new testcase and tests.
14654 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14655 Pedro Alves <palves@redhat.com>
14657 PR breakpoints/17000
14658 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14659 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14661 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14663 * gdb.base/subst.exp: Add tests to verify partial path matching
14666 2014-06-03 Pedro Alves <palves@redhat.com>
14668 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14669 target that doesn't use software single-stepping.
14671 2014-06-03 Pedro Alves <palves@redhat.com>
14673 PR breakpoints/17000
14674 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14675 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14677 2014-06-02 Doug Evans <xdje42@gmail.com>
14679 * gdb.guile/scm-parameter.exp: New file.
14681 2014-06-02 Doug Evans <xdje42@gmail.com>
14683 * gdb.guile/scm-cmd.c: New file.
14684 * gdb.guile/scm-cmd.exp: New file.
14686 2014-06-02 Doug Evans <xdje42@gmail.com>
14688 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14689 pretty-printer lookup.
14690 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14691 (make-pp_s-printer): Call it.
14692 (make-pretty-printer-from-dict): New function.
14693 (lookup-pretty-printer-maker-from-dict): New function.
14694 (*pretty-printer*): Simplify.
14695 (make-objfile-pp_s-printer): New function.
14696 (install-objfile-pretty-printers!): New function.
14697 (make-progspace-pp_s-printer): New function.
14698 (install-progspace-pretty-printers!): New function.
14699 * gdb.guile/scm-progspace.c: New file.
14700 * gdb.guile/scm-progspace.exp: New file.
14702 2014-06-02 Pedro Alves <palves@redhat.com>
14704 * gdb.base/dprintf-bp-same-addr.c: New file.
14705 * gdb.base/dprintf-bp-same-addr.exp: New file.
14707 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14709 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14710 * gdb.arch/powerpc-power.s: Likewise.
14712 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14714 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14716 2014-06-01 Yao Qi <yao@codesourcery.com>
14718 * gdb.base/watchpoint.exp (test_watch_location): Check null
14719 pointer can be dereferenced. If not, do the test, otherwise
14722 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14724 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14726 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14728 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14730 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14731 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14732 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14733 * gdb.arch/amd64-invalid-stack-top.c: New file.
14734 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14736 2014-05-30 Pedro Alves <palves@redhat.com>
14738 PR breakpoints/17000
14739 * gdb.base/sss-bp-on-user-bp.c: New file.
14740 * gdb.base/sss-bp-on-user-bp.exp: New file.
14742 2014-05-30 David Blaikie <dblaikie@gmail.com>
14744 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14745 gnu_inline semantics via attribute.
14746 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14747 source explicitly specifies the required semantics.
14749 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14751 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14753 2014-05-29 Pedro Alves <palves@redhat.com>
14754 Tom Tromey <tromey@redhat.com>
14756 * gdb.base/async-shell.exp: Don't enable target-async.
14757 * gdb.base/async.exp
14758 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14760 (top level): Don't test with "target-async".
14761 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14762 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14763 * gdb.base/inferior-died.exp: Don't enable target-async.
14764 * gdb.base/interrupt-noterm.exp: Likewise.
14765 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14766 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14767 * gdb.mi/mi-nonstop.exp: Likewise.
14768 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14769 * gdb.mi/mi-nsintrall.exp: Likewise.
14770 * gdb.mi/mi-nsmoribund.exp: Likewise.
14771 * gdb.mi/mi-nsthrexec.exp: Likewise.
14772 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14773 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14774 * gdb.python/py-evsignal.exp: Don't enable target-async.
14775 * gdb.python/py-evthreads.exp: Likewise.
14776 * gdb.python/py-prompt.exp: Likewise.
14777 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14778 * gdb.server/solib-list.exp: Don't enable target-async.
14779 * gdb.threads/thread-specific-bp.exp: Likewise.
14780 * lib/mi-support.exp: Adjust to use mi-async.
14782 2014-05-29 Pedro Alves <palves@redhat.com>
14785 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14786 reason, even in sync mode.
14788 2014-05-29 Pedro Alves <palves@redhat.com>
14789 Hui Zhu <hui@codesourcery.com>
14792 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14793 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14794 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14795 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14797 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14799 * config/monitor.exp (gdb_target_monitor): Replace use of
14800 "set remotebaud" by "set serial baud".
14802 2014-05-26 Andy Wingo <wingo@igalia.com>
14804 * gdb.guile/scm-breakpoint.exp:
14805 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14806 properties instead of gdb-object-properties.
14808 2014-05-26 Yao Qi <yao@codesourcery.com>
14810 * gdb.server/no-thread-db.exp: Specify source file name
14811 explicitly when setting a breakpoint.
14813 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14815 * gdb.btrace/vdso.c: New.
14816 * gdb.btrace/vdso.exp: New.
14818 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14820 * gdb.base/gcore.exp (capture_command_output): Move ...
14821 * lib/gdb.exp (capture_command_output): ... here.
14823 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14825 * gdb.btrace/data.exp: Test memory access during btrace replay.
14827 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14829 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14831 2014-05-21 Pedro Alves <palves@redhat.com>
14834 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14835 (top level): Test that output related to execution commands is
14836 sent to the console with CLI commands, but not with MI commands.
14837 Test that breakpoint events are always mirrored to the console.
14838 Also expect the new source line to be output after a "next" in
14839 async mode too. Make it a pass/fail test.
14840 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14842 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14844 2014-05-21 Pedro Alves <palves@redhat.com>
14846 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14847 Use them to test variations of "list" after reaching a breakpoint.
14848 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14849 Test "list" with listsize 10 after reaching a breakpoint.
14850 * gdb.python/python.exp (decode_line current location line
14851 number): Adjust expected line number.
14853 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14855 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14856 behavior for $args, pass it directly to "run".
14858 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14860 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14863 2014-05-21 Pedro Alves <palves@redhat.com>
14865 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14866 auto-connect-native-target off".
14867 * gdb.base/auto-connect-native-target.c: New file.
14868 * gdb.base/auto-connect-native-target.exp: New file.
14870 2014-05-21 Pedro Alves <palves@redhat.com>
14872 * gdb.base/default.exp: Test "target native" instead of "target
14875 2014-05-21 Mark Wielaard <mjw@redhat.com>
14877 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14879 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14881 Fix TLS access for -static -pthread.
14882 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14883 <HAVE_TLS> (thread_function, main): Initialize it.
14884 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14886 <$have_tls != "">: Check TLSVAR.
14888 2014-05-21 Pedro Alves <palves@redhat.com>
14890 * gdb.base/dcache-line-read-error.c: New.
14891 * gdb.base/dcache-line-read-error.exp: New.
14893 2014-05-20 Pedro Alves <palves@redhat.com>
14895 * gdb.base/compare-sections.c: New file.
14896 * gdb.base/compare-sections.exp: New file.
14898 2014-05-20 Pedro Alves <palves@redhat.com>
14900 * gdb.base/break-idempotent.c: New file.
14901 * gdb.base/break-idempotent.exp: New file.
14903 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14905 * gdb.btrace/nohist.exp: New.
14907 2014-05-20 Yao Qi <yao@codesourcery.com>
14909 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14910 gdb.reverse directory and gdb_reverse_timeout exists in board
14912 * README: Document gdb_reverse_timeout.
14914 2014-05-20 Yao Qi <yao@codesourcery.com>
14916 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14917 'test_file_name'. Treat args as a string instead of a list.
14918 (gdb_init): Rename argument 'args' by 'test_file_name'.
14920 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14922 * gdb.arch/powerpc-power.exp: New file.
14923 * gdb.arch/powerpc-power.s: New file.
14925 2014-05-16 Doug Evans <dje@google.com>
14927 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14928 * gdb.base/completion.exp: Check that all expected files exist
14929 before doing file completion.
14931 2014-05-16 Doug Evans <dje@google.com>
14933 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14935 (do_syscall_tests_without_xml): Update.
14937 2014-05-16 Pedro Alves <palves@redhat.com>
14939 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14940 instead of "unknown output after running".
14942 2014-05-16 Yao Qi <yao@codesourcery.com>
14944 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14945 file1.txt from host at the end.
14946 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14948 2014-05-15 Doug Evans <dje@google.com>
14950 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14951 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14952 loading file. Add test for TU lookup.
14954 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14956 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14957 calling "-exec-arguments" or "set args" before running the
14960 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14962 * lib/mi-support.exp (mi_expect_stop): Expect message for
14963 inferiors that exit with non-zero exit code.
14965 2014-05-14 Yao Qi <yao@codesourcery.com>
14967 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14968 match absolute path on remote host.
14969 (test_file_list_exec_source_files): Remove "/" from the
14972 2014-05-14 Yao Qi <yao@codesourcery.com>
14974 * boards/local-remote-host-notty.exp (${board}_file): New
14977 2014-05-07 Kyle McMartin <kyle@redhat.com>
14979 Pushed by Joel Brobecker <brobecker@adacore.com>.
14980 * gdb.arch/aarch64-atomic-inst.c: New file.
14981 * gdb.arch/aarch64-atomic-inst.exp: New file.
14983 2014-05-07 Yao Qi <yao@codesourcery.com>
14985 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14986 in current context" too.
14988 2014-05-05 Keith Seitz <keiths@redhat.com>
14990 * gdb.linespec/ls-dollar.exp: Add test for linespec
14991 file:convenience_variable.
14993 2014-05-05 Yao Qi <yao@codesourcery.com>
14995 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14996 traceframes into tfile and ctf trace files. Read data from
14997 trace file and test collected data.
14998 (gdb_collect_locals_test): Likewise.
14999 (gdb_unavailable_registers_test): Likewise.
15000 (gdb_unavailable_floats): Likewise.
15001 (gdb_collect_globals_test): Likewise.
15002 (top-level): Append "ctf" to trace_file_targets if GDB
15005 2014-05-05 Yao Qi <yao@codesourcery.com>
15007 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15009 (gdb_collect_args_test_1): ... it. New proc.
15010 (gdb_collect_locals_test): Move some code to ...
15011 (gdb_collect_locals_test_1): ... it. New proc.
15012 (gdb_unavailable_registers_test): Move some code to ...
15013 (gdb_unavailable_registers_test_1): ... it. New proc.
15014 (gdb_unavailable_floats): Move some code to ...
15015 (gdb_unavailable_floats_1): ... it. New proc.
15017 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15019 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15020 probes to test for bitness recognition.
15021 * gdb.arch/amd64-stap-optional-prefix.exp
15022 (test_probe_value_without_reg): New procedure.
15023 Add code to test for different kinds of bitness.
15025 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15027 PR breakpoints/16889
15028 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15029 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15031 2014-05-01 Pedro Alves <palves@redhat.com>
15033 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15034 gdb_file_cmd if no file is specified.
15035 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15036 last_loaded_file to set the remote exec-file.
15038 2014-05-01 Pedro Alves <palves@redhat.com>
15040 * boards/local-remote-host.exp: New file.
15042 2014-05-01 Pedro Alves <palves@redhat.com>
15044 * boards/local-remote-host.exp: Rename to ...
15045 * boards/local-remote-host-notty.exp: ... this.
15047 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15049 * gdb.ada/dyn_arrayidx: New testcase.
15051 2014-04-26 Yao Qi <yao@codesourcery.com>
15053 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15054 and compute the length of function main. Save it in
15056 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15057 (top-level): Use gdb_compile to compile objects into
15058 executable and restart GDB. Remove invocation to
15059 prepare_for_testing.
15061 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15062 Pedro Alves <palves@redhat.com>
15065 * gdb.multi/multi-attach.c: New file.
15066 * gdb.multi/multi-attach.exp: New file.
15068 2014-04-25 Pedro Alves <palves@redhat.com>
15070 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15072 (top level): Test that "set remote conditional-breakpoints-packet
15073 off" works as intended.
15074 * gdb.base/dprintf.exp: Test that "set remote
15075 breakpoint-commands-packet off" works as intended.
15076 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15078 (top level): Call it.
15079 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15080 remote fast-tracepoints-packet off" works as intended.
15081 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15082 * lib/gdb.exp (gdb_is_target_remote): ... here.
15084 2014-04-24 David Blaikie <dblaikie@gmail.com>
15086 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15087 ensure clang would not discard them.
15088 * gdb.base/gdbvars.c: Ditto.
15089 * gdb.base/memattr.c: Ditto.
15090 * gdb.base/whatis.c: Ditto.
15091 * gdb.python/py-prettyprint.c: Ditto.
15092 * gdb.trace/actions.c: Ditto.
15093 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15094 ensure clang would not discard it.
15096 2014-04-24 David Blaikie <dblaikie@gmail.com>
15098 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15099 clang to emit the full definition of type required by the test
15100 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15102 2014-04-24 David Blaikie <dblaikie@gmail.com>
15104 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15105 coax Clang into emitting the definition of the type.
15106 * gdb.cp/pr10728-x.h (y): Ditto.
15107 * gdb.cp/pr10728-y.cc (y): Ditto.
15109 2014-04-24 David Blaikie <dblaikie@gmail.com>
15111 * gdb.base/label.exp: XFAIL label related tests under Clang.
15112 * gdb.cp/cplabel.exp: Ditto.
15113 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15114 under Clang those using labels.
15116 2014-04-25 Yao Qi <yao@codesourcery.com>
15118 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15120 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15121 partial_label and double_label.
15123 2014-04-24 David Blaikie <dblaikie@gmail.com>
15125 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15127 2014-04-24 David Blaikie <dblaikie@gmail.com>
15129 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15130 of the function to work across GCC and Clang.
15131 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15132 pointer types (const void ** const V void **).
15134 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15135 Walfred Tedeschi <walfred.tedeschi@intel.com>
15137 * Makefile.in (EXECUTABLES): Added i386-avx512.
15138 * gdb.arch/i386-avx512.c: New file.
15139 * gdb.arch/i386-avx512.exp: Likewise.
15141 2014-04-23 Keith Seitz <keiths@redhat.com>
15143 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15144 (mi_make_breakpoint_table): New procedure.
15145 (mi_create_breakpoint): Use mi_make_breakpoint
15146 and return the result.
15147 (mi_make_breakpoint): New procedure.
15148 (mi_build_kv_pairs): New procedure.
15150 * gdb.mi/mi-break.exp: Remove unused globals,
15151 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15152 All callers updated.
15153 * gdb.mi/mi-dprintf.exp: Use variable to track command
15155 Update all callers of mi_create_breakpoint and use
15156 mi_make_breakpoint_table.
15157 Remove any unused global variables.
15158 * gdb.mi/mi-nonstop.exp: Likewise.
15159 * gdb.mi/mi-nsintrall.exp: Likewise.
15160 * gdb.mi/mi-nsmoribund.exp: Likewise.
15161 * gdb.mi/mi-nsthrexec.exp: Likewise.
15162 * gdb.mi/mi-reverse.exp: Likewise.
15163 * gdb.mi/mi-simplerun.exp: Likewise.
15164 * gdb.mi/mi-stepn.exp: Likewise.
15165 * gdb.mi/mi-syn-frame.exp: Likewise.
15166 * gdb.mi/mi-until.exp: Likewise.
15167 * gdb.mi/mi-var-cp.exp: Likewise.
15168 * gdb.mi/mi-var-display.exp: Likewise.
15169 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15170 * gdb.mi/mi2-var-child.exp: Likewise.
15171 * gdb.mi/mi-vla-c99.exp: Likewise.
15172 * lib/mi-support.exp: Likewise.
15174 From Ian Lance Taylor <iant@cygnus.com>:
15175 * lib/gdb.exp (parse_args): New procedure.
15177 2014-04-23 Pedro Alves <palves@redhat.com>
15179 * gdb.base/break-unload-file.c: New file.
15180 * gdb.base/break-unload-file.exp: New file.
15181 * gdb.base/sym-file-lib.c (baz): New function.
15182 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15184 (load): Store the segment's mapped size.
15185 (unload): New function.
15186 (unload_shlib): New function.
15187 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15188 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15189 set a breakpoint at baz, and call it.
15190 * gdb.base/sym-file.exp: New tests for stale breakpoint
15193 2014-04-23 Pedro Alves <palves@redhat.com>
15195 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15196 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15197 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15198 * gdb.base/hbreak-unmapped.c: New file.
15199 * gdb.base/hbreak-unmapped.exp: New file.
15200 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15201 * lib/gdb.exp (gdb_is_target_remote): ... here.
15203 2014-04-22 Pedro Alves <palves@redhat.com>
15205 * gdb.base/consecutive-step-over.c: New file.
15206 * gdb.base/consecutive-step-over.exp: New file.
15208 2014-04-22 Pedro Alves <palves@redhat.com>
15210 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15211 instead of send_gdb/gdb_expect.
15213 2014-04-22 Yao Qi <yao@codesourcery.com>
15215 * lib/trace-support.exp (generate_tracefile): New procedure.
15216 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15218 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15219 if generate_tracefile returns 1.
15221 2014-04-18 Tom Tromey <palves@redhat.com>
15222 Pedro alves <tromey@redhat.com>
15225 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15226 with a backtrace limit.
15227 * gdb.python/py-frame-inline.exp: Test running to an inline
15228 function with a backtrace limit, and printing the newest frame.
15229 * gdb.python/py-frame-inline.c (main): Call f.
15231 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15233 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15235 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15237 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15238 Drop prefix from unsupported source file path.
15240 2014-04-17 Yao Qi <yao@codesourcery.com>
15242 * lib/gdb.exp (with_target_charset): New proc.
15243 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15244 with_target_charset.
15245 (test_print_strings): Likewise.
15246 (test_repeat_bytes): Likewise.
15247 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15250 2014-04-16 Keith Seitz <keiths@redhat.com>
15253 * gdb.dwarf2/corrupt.c: New file.
15254 * gdb.dwarf2/corrupt.exp: New file.
15256 2014-04-16 Keith Seitz <keiths@redhat.com>
15259 * gdb.cp/namelessclass.cc: New file.
15260 * gdb.cp/namelessclass.exp: New file.
15261 * gdb.cp/namelessclass.S: New file.
15263 2014-04-16 Doug Evans <dje@google.com>
15265 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15267 (gdbserver_default_get_comm_port): New function.
15268 (gdbserver_start): Check if board file provided
15269 "gdbserver,get_comm_port" and use it if so.
15270 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15271 (gdb,socketport): Set to "stdio".
15272 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15273 (stdio_gdbserver_template): Delete.
15274 (${board}_get_remote_address): Update.
15275 (${board}_build_remote_cmd): Delete.
15276 (${board}_get_comm_port): New function.
15277 (${board}_spawn): Update.
15278 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15280 (${board}_get_remote_address): Update.
15281 (${board}_get_comm_port): New function.
15283 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15285 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15286 appearing in any order.
15288 2014-04-15 Doug Evans <dje@google.com>
15290 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15291 uninitialized value of "description".
15293 2014-04-15 Keith Seitz <keiths@redhat.com>
15295 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15296 Remove unused globals.
15297 (test_running_the_program): Likewise.
15298 (test_controlled_execution): Likewise.
15299 (test_controlling_breakpoints): Likewise.
15300 (test_program_termination): Likewise.
15302 2014-04-15 Keith Seitz <keiths@redhat.com>
15304 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15306 (test_rbreak_creation_and_listing): Likewise.
15307 (test_ignore_count): Likewise.
15308 (test_error): Likewise.
15310 2014-04-15 Pedro Alves <palves@redhat.com>
15312 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15313 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15315 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15316 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15317 to sym-file-loader.c.
15318 (struct library): Forward declare.
15319 (load_shlib, lookup_function): Change prototypes.
15320 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15321 (translate_offset): Remove declarations.
15322 (get_text_addr): New declaration.
15323 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15324 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15326 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15327 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15328 here from sym-file-loader.h.
15329 (struct library): New structure.
15330 (load_shlib, lookup_function): Change prototypes and adjust to
15331 work with a struct library.
15332 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15333 (translate_offset): Make static.
15334 (get_text_addr): New function.
15335 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15337 2014-04-15 Pedro Alves <palves@redhat.com>
15339 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15341 2014-04-15 Pedro Alves <palves@redhat.com>
15343 * gdb.base/sym-file-loader.c: Include <limits.h>.
15344 (SELF_LINK): New define.
15345 (get_origin): New function.
15346 (load_shlib): Use it.
15347 * gdb.base/sym-file.exp: Don't early return if the target is
15348 remote. Use runto_main, and issue fail is that fails. Use
15350 (shlib_name): Delete.
15351 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15353 2014-04-15 Pedro Alves <palves@redhat.com>
15355 * gdb.base/sym-file.exp: Remove regex characters from test
15356 message. Don't refer to breakpoint numbers in test messages.
15358 2014-04-14 Keith Seitz <keiths@redhat.com>
15361 * gdb.cp/var-tag.cc: New file.
15362 * gdb.cp/var-tag.exp: New file.
15363 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15364 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15365 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15366 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15368 2014-04-14 Tom Tromey <tromey@redhat.com>
15370 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15371 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15373 * gdb.cp/enum-class.exp: New file.
15374 * gdb.cp/enum-class.cc: New file.
15376 2014-04-14 Tom Tromey <tromey@redhat.com>
15378 * gdb.dwarf2/enum-type.exp: New file.
15380 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15382 * gdb.mi/mi-vla-c99.exp: New file.
15383 * gdb.mi/vla.c: New file.
15385 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15387 * gdb.base/vla-datatypes.c: New file.
15388 * gdb.base/vla-datatypes.exp: New file.
15390 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15392 * gdb.base/vla-ptr.c: New file.
15393 * gdb.base/vla-ptr.exp: New file.
15395 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15397 * gdb.dwarf2/count.exp: New file.
15399 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15401 * gdb.base/vla-sideeffect.c: New file.
15402 * gdb.base/vla-sideeffect.exp: New file.
15404 2014-04-14 David Blaikie <dblaikie@gmail.com>
15406 * gdb.mi/non-stop.c: Add return value for non-void function return
15408 * gdb.threads/staticthreads.c: Ditto.
15410 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15411 Doug Evans <xdje42@gmail.com>
15413 * gdb.guile/scm-value.c: Improve test case.
15414 * gdb.guile/scm-value.exp: Add new test.
15416 2014-04-11 David Blaikie <dblaikie@gmail.com>
15418 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15419 override Clang's default.
15421 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15423 Revert the following changes (regressions):
15425 * gdb.base/vla-sideeffect.c: New file.
15426 * gdb.base/vla-sideeffect.exp: New file.
15428 * gdb.dwarf2/count.exp: New file.
15430 * gdb.base/vla-multi.c: New file.
15431 * gdb.base/vla-multi.exp: New file.
15433 * gdb.base/vla-ptr.c: New file.
15434 * gdb.base/vla-ptr.exp: New file.
15436 * gdb.base/vla-datatypes.c: New file.
15437 * gdb.base/vla-datatypes.exp: New file.
15439 * gdb.mi/mi-vla-c99.exp: New file.
15440 * gdb.mi/vla.c: New file.
15442 2014-04-11 Keith Seitz <keiths@redhat.com>
15445 * gdb.cp/cpsizeof.exp: New file.
15446 * gdb.cp/cpsizeof.cc: New file.
15448 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15450 * gdb.mi/mi-vla-c99.exp: New file.
15451 * gdb.mi/vla.c: New file.
15453 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15455 * gdb.base/vla-datatypes.c: New file.
15456 * gdb.base/vla-datatypes.exp: New file.
15458 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15460 * gdb.base/vla-ptr.c: New file.
15461 * gdb.base/vla-ptr.exp: New file.
15463 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15465 * gdb.base/vla-multi.c: New file.
15466 * gdb.base/vla-multi.exp: New file.
15468 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15470 * gdb.dwarf2/count.exp: New file.
15472 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15474 * gdb.base/vla-sideeffect.c: New file.
15475 * gdb.base/vla-sideeffect.exp: New file.
15477 2014-04-11 Yao Qi <yao@codesourcery.com>
15479 * gdb.base/completion.exp: Check file exists before running tests
15480 on file completion.
15482 2014-04-10 Pedro Alves <palves@redhat.com>
15484 * gdb.base/cond-eval-mode.c: New file.
15485 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15486 prepare_for_testing to build the new file. Check result of
15488 (test_break, test_watch): New procedures.
15489 (top level): Use them.
15491 2014-04-08 Pierre Muller <muller@sourceware.org>
15493 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15494 Ctrl-V use for mingw hosts.
15496 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15498 * gdb.python/py-value.c: Improve test case.
15499 * gdb.python/py-value.exp: Add new test.
15501 2014-04-07 David Blaikie <dblaikie@gmail.com>
15503 * lib/compiler.c: Identify the clang compiler.
15504 * lib/compiler.cc: Ditto.
15506 2014-04-03 Yao Qi <yao@codesourcery.com>
15508 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15510 2014-04-01 Anton Blanchard <anton@samba.org>
15512 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15515 2014-04-01 Anton Blanchard <anton@samba.org>
15517 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15518 prepare_for_testing.
15520 2014-04-01 Anton Blanchard <anton@samba.org>
15522 * gdb.arch/ppc64-atomic-inst.c: Remove.
15523 * gdb.arch/ppc64-atomic-inst.S: New file.
15524 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15526 2014-03-31 Doug Evans <dje@google.com>
15528 * gdb.base/print-symbol-loading-lib.c: New file.
15529 * gdb.base/print-symbol-loading-main.c: New file.
15530 * gdb.base/print-symbol-loading.exp: New file.
15532 2014-03-31 Yao Qi <yao@codesourcery.com>
15534 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15536 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15538 * gdb.ada/mi_dyn_arr: New testcase.
15540 2014-03-27 Doug Evans <dje@google.com>
15542 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15544 2014-03-27 Yao Qi <yao@codesourcery.com>
15546 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15547 if target is nios2-*-*.
15549 2014-03-26 Yao Qi <yao@codesourcery.com>
15551 * lib/gdb.exp (readline_is_used): New proc.
15552 * gdb.base/completion.exp: Move tests on command complete up.
15553 Skip the rest of tests if readline is not used.
15554 * gdb.ada/complete.exp: Skp the test if readline is not
15556 * gdb.base/filesym.exp: Likewise.
15557 * gdb.base/macscp.exp: Likewise.
15558 * gdb.base/readline-ask.exp: Likewise.
15559 * gdb.base/readline.exp: Likewise.
15560 * gdb.python/py-cmd.exp: Likewise.
15561 * gdb.trace/tfile.exp: Likewise.
15563 2014-03-26 Yao Qi <yao@codesourcery.com>
15565 * gdb.base/macscp.exp: Fix code format issues.
15567 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15569 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15570 * gdb.asm/powerpc64le.inc: New file.
15572 2014-03-25 Pedro Alves <palves@redhat.com>
15573 Doug Evans <dje@google.com>
15575 * gdb.base/source-execution.c: New file.
15576 * gdb.base/source-execution.exp: New file.
15577 * gdb.base/source-execution.gdb: New file.
15579 2014-03-24 Doug Evans <dje@google.com>
15581 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15584 2014-03-24 Hui Zhu <hui@codesourcery.com>
15585 Pedro Alves <palves@redhat.com>
15587 PR breakpoints/16101
15588 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15589 test pass/fail messages. Detect missing support for dprintf when
15590 breakpoints are actually inserted.
15591 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15592 breakpoints are actually inserted.
15593 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15596 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15598 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15600 2014-03-22 Doug Evans <xdje42@gmail.com>
15602 * gdb.python/python.exp (python not supported): Verify multi-line
15603 python command issues an error.
15604 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15605 guile command issues an error.
15607 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15609 * gdb.threads/thread-specific.exp: Handle the lack of usable
15610 $this_breakpoint and $this_thread.
15612 2014-03-21 Hui Zhu <hui@codesourcery.com>
15614 * gdb.base/attach.exp (do_command_attach_tests): New.
15616 2014-03-20 Tom Tromey <tromey@redhat.com>
15617 Pedro Alves <palves@redhat.com>
15620 * gdb.base/condbreak-call-false.c: New file.
15621 * gdb.base/condbreak-call-false.exp: New file.
15623 2014-03-20 Pedro Alves <palves@redhat.com>
15625 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15627 (block_signals, unblock_signals): Delete.
15628 (child_function_2, main): Remove references to deleted variable
15631 2014-03-20 Pedro Alves <palves@redhat.com>
15633 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15634 Use pthread_kill to signal thread 2.
15635 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15636 Adjust to make the test send itself a signal rather than using the
15637 host's "kill" command.
15639 2014-03-20 Pedro Alves <palves@redhat.com>
15641 * gdb.threads/multiple-step-overs.c: New file.
15642 * gdb.threads/multiple-step-overs.exp: New file.
15643 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15644 Adjust expected infrun debug output.
15646 2014-03-20 Pedro Alves <palves@redhat.com>
15648 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15649 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15651 2014-03-20 Pedro Alves <palves@redhat.com>
15653 PR breakpoints/7143
15654 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15655 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15656 of gdb_test_multiple.
15657 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15658 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15660 2014-03-20 Pedro Alves <palves@redhat.com>
15662 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15663 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15665 2014-03-19 Pedro Alves <palves@redhat.com>
15667 * gdb.base/async.exp: Remove early return.
15669 2014-03-19 Pedro Alves <palves@redhat.com>
15671 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15673 2014-03-19 Pedro Alves <palves@redhat.com>
15675 * gdb.base/async.exp (test_background): Expect \r\n after
15676 "completed." in the fail pattern.
15678 2014-03-19 Pedro Alves <palves@redhat.com>
15680 * gdb.base/async.exp (test_background): New procedure.
15681 Use it for all background execution command tests.
15683 2014-03-19 Pedro Alves <palves@redhat.com>
15685 * gdb.base/async.exp: Use prepare_for_testing.
15687 2014-03-19 Pedro Alves <palves@redhat.com>
15689 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15692 2014-03-19 Pedro Alves <palves@redhat.com>
15694 * gdb.base/async.c (main): Add "jump here" and "until here" line
15696 * gdb.base/async.exp (jump_here): New global.
15697 (jump& test): Use it.
15698 (until_here): New global.
15699 (until& test): Use it.
15701 2014-03-19 Pedro Alves <palves@redhat.com>
15703 * gdb.base/async.exp: Don't frob gdb_protocol.
15705 2014-03-18 Doug Evans <xdje42@gmail.com>
15707 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15708 Fix spelling of exec-done-display.
15710 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15713 * gdb.base/gdb-sigterm.c: New file.
15714 * gdb.base/gdb-sigterm.exp: New file.
15716 2014-03-18 Pedro Alves <palves@redhat.com>
15719 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15720 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15723 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15725 * gdb.ada/pckd_arr_ren: New testcase.
15727 2014-03-13 Doug Evans <xdje42@gmail.com>
15730 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15731 collect after discarding symbols.
15733 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15734 Doug Evans <xdje42@gmail.com>
15736 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15737 to history survives a gc.
15739 2014-03-13 Pedro Alves <palves@redhat.com>
15741 * gdb.base/default.exp: Don't test "target procfs".
15743 2014-03-13 Pedro Alves <palves@redhat.com>
15745 * gdb.base/default.exp: Update "target child" and "target procfs"
15746 tests to not expect "Unix".
15748 2014-03-12 Tom Tromey <tromey@redhat.com>
15750 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15751 New procs. Add target-async tests.
15752 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15753 Add target-async tests.
15755 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15757 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15758 'func_start' and 'func_end' for the beginning and end of the
15759 function code, respectively.
15760 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15761 'func_end' instead of 'func' and 'main'.
15763 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15765 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15766 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15767 generate the debug info assembler source.
15769 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15771 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15772 * gdb.dwarf2/arr-subrange.exp: Likewise.
15773 * gdb.dwarf2/dwz.exp: Likewise.
15774 * gdb.dwarf2/method-ptr.exp: Likewise.
15775 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15776 * gdb.dwarf2/subrange.exp: Likewise.
15777 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15778 * gdb.dwarf2/implptrpiece.exp: Likewise.
15779 * gdb.dwarf2/nostaticblock.exp: Likewise.
15781 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15783 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15784 directory to absolute path name arguments.
15786 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15788 * gdb.ada/tagged_access: New testcase.
15790 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15792 * gdb.btrace/data.exp: Update expected output.
15794 2014-03-06 Yao Qi <yao@codesourcery.com>
15796 * gdb.trace/pr16508.exp: New file.
15798 2014-03-05 Pedro Alves <palves@redhat.com>
15801 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15803 (top level): Adjust to use it. Add tests that exercise breakpoint
15804 interaction with the code-cache.
15806 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15808 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15809 test for 'history-append!'.
15811 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15813 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15814 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15815 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15816 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15817 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15818 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15820 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15822 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15823 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15824 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15826 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15828 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15830 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15832 * gdb.dwarf2/arr-stride.c: New file.
15833 * gdb.dwarf2/arr-stride.exp: New file.
15835 2014-02-26 Pedro Alves <palves@redhat.com>
15837 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15838 that won't ever trigger. Make sure that GDB reports the correct
15839 breakpoint that caused the stop.
15841 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15844 * gdb.base/auto-load-script: New file.
15845 * gdb.base/auto-load.c: New file.
15846 * gdb.base/auto-load.exp: New file.
15849 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15851 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15853 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15854 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15856 2014-02-24 Doug Evans <dje@google.com>
15858 * lib/gdb.exp (run_on_host): Log error output if program fails.
15860 2014-02-21 Pedro Alves <palves@redhat.com>
15862 * gdb.threads/step-after-sr-lock.c: Rename to ...
15863 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15864 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15865 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15868 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15871 * gdb.arch/amd64-stap-special-operands.exp: New file.
15872 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15873 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15874 * gdb.arch/amd64-stap-triplet.S: Likewise.
15875 * gdb.arch/amd64-stap-triplet.c: Likewise.
15877 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15879 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15880 in .section pseudo-op.
15882 2014-02-20 lin zuojian <manjian2006@gmail.com>
15883 Joel Brobecker <brobecker@adacore.com>
15884 Doug Evans <xdje42@gmail.com>
15887 * gdb.dwarf2/dw2-icycle.S: New file.
15888 * gdb.dwarf2/dw2-icycle.c: New file.
15889 * gdb.dwarf2/dw2-icycle.exp: New file.
15891 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15893 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15894 operations on gdb.Value objects.
15895 * gdb.python/py-value-cc.exp: Add new test to test operations on
15898 2014-02-18 Doug Evans <dje@google.com>
15900 * Makefile.in (TESTS): New variable.
15901 (expanded_tests, expanded_tests_or_none): New variables
15902 (check-single): Pass $(expanded_tests_or_none) to runtest.
15903 (check-parallel): Only run tests in $(TESTS) if non-empty.
15904 (check/no-matching-tests-found): New rule.
15905 * README: Document TESTS makefile variable.
15907 2014-02-18 Doug Evans <dje@google.com>
15909 * Makefile.in (check-parallel): rm -rf outputs temp.
15911 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15913 Fix "ERROR: no fileid for" in the testsuite.
15914 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15916 2014-02-12 Doug Evans <dje@google.com>
15918 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15919 (MISCELLANEOUS): New variable.
15920 (clean): rm -rf $(MISCELLANEOUS).
15921 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15922 dwp live in the same directory as symlinks, with each symlink pointed
15923 to a differently named file in a different directory.
15925 2014-02-11 Doug Evans <dje@google.com>
15927 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15928 of Tcl file commands.
15930 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15932 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15933 "kill -SIGUSR1 -1".
15935 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15937 * gdb.ada/tick_length_array_enum_idx: New testcase.
15939 2014-02-10 Doug Evans <xdje42@gmail.com>
15941 * configure.ac (AC_OUTPUT): Add gdb.guile.
15942 * configure: Regenerate.
15943 * lib/gdb-guile.exp: New file.
15944 * lib/gdb.exp (get_target_charset): New function.
15945 * gdb.base/help.exp: Update expected output from "apropos apropos".
15946 * gdb.guile/Makefile.in: New file.
15947 * gdb.guile/guile.exp: New file.
15948 * gdb.guile/scm-arch.c: New file.
15949 * gdb.guile/scm-arch.exp: New file.
15950 * gdb.guile/scm-block.c: New file.
15951 * gdb.guile/scm-block.exp: New file.
15952 * gdb.guile/scm-breakpoint.c: New file.
15953 * gdb.guile/scm-breakpoint.exp: New file.
15954 * gdb.guile/scm-disasm.c: New file.
15955 * gdb.guile/scm-disasm.exp: New file.
15956 * gdb.guile/scm-equal.c: New file.
15957 * gdb.guile/scm-equal.exp: New file.
15958 * gdb.guile/scm-error.exp: New file.
15959 * gdb.guile/scm-error.scm: New file.
15960 * gdb.guile/scm-frame-args.c: New file.
15961 * gdb.guile/scm-frame-args.exp: New file.
15962 * gdb.guile/scm-frame-args.scm: New file.
15963 * gdb.guile/scm-frame-inline.c: New file.
15964 * gdb.guile/scm-frame-inline.exp: New file.
15965 * gdb.guile/scm-frame.c: New file.
15966 * gdb.guile/scm-frame.exp: New file.
15967 * gdb.guile/scm-generics.exp: New file.
15968 * gdb.guile/scm-gsmob.exp: New file.
15969 * gdb.guile/scm-iterator.c: New file.
15970 * gdb.guile/scm-iterator.exp: New file.
15971 * gdb.guile/scm-math.c: New file.
15972 * gdb.guile/scm-math.exp: New file.
15973 * gdb.guile/scm-objfile-script-gdb.in: New file.
15974 * gdb.guile/scm-objfile-script.c: New file.
15975 * gdb.guile/scm-objfile-script.exp: New file.
15976 * gdb.guile/scm-objfile.c: New file.
15977 * gdb.guile/scm-objfile.exp: New file.
15978 * gdb.guile/scm-ports.exp: New file.
15979 * gdb.guile/scm-pretty-print.c: New file.
15980 * gdb.guile/scm-pretty-print.exp: New file.
15981 * gdb.guile/scm-pretty-print.scm: New file.
15982 * gdb.guile/scm-section-script.c: New file.
15983 * gdb.guile/scm-section-script.exp: New file.
15984 * gdb.guile/scm-section-script.scm: New file.
15985 * gdb.guile/scm-symbol.c: New file.
15986 * gdb.guile/scm-symbol.exp: New file.
15987 * gdb.guile/scm-symtab-2.c: New file.
15988 * gdb.guile/scm-symtab.c: New file.
15989 * gdb.guile/scm-symtab.exp: New file.
15990 * gdb.guile/scm-type.c: New file.
15991 * gdb.guile/scm-type.exp: New file.
15992 * gdb.guile/scm-value-cc.cc: New file.
15993 * gdb.guile/scm-value-cc.exp: New file.
15994 * gdb.guile/scm-value.c: New file.
15995 * gdb.guile/scm-value.exp: New file.
15996 * gdb.guile/source2.scm: New file.
15997 * gdb.guile/types-module.cc: New file.
15998 * gdb.guile/types-module.exp: New file.
16000 2014-02-10 Yao Qi <yao@codesourcery.com>
16003 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16004 * configure: Regenerated.
16005 * Makefile.in: New file.
16007 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16009 * gdb.python/py-framefilter.exp: Fix typo.
16011 2014-02-08 Yao Qi <yao@codesourcery.com>
16013 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16014 that no =breakpoint-modified is emitted when breakpoints are
16015 modified through MI commands.
16017 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16018 Pedro Alves <palves@redhat.com>
16020 * gdb.threads/step-after-sr-lock.c: New file.
16021 * gdb.threads/step-after-sr-lock.exp: New file.
16023 2014-02-07 Pedro Alves <palves@redhat.com>
16025 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16027 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16029 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16030 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16032 2014-02-06 Doug Evans <xdje42@gmail.com>
16034 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16037 * gdb.gdb/python-interrupts.exp: New file.
16039 2014-02-05 Yao Qi <yao@codesourcery.com>
16041 * gdb.trace/report.exp (use_collected_data): Test the output
16042 of "info threads" and "info inferiors".
16044 2014-02-05 Yao Qi <yao@codesourcery.com>
16048 2013-05-24 Yao Qi <yao@codesourcery.com>
16050 * gdb.trace/tfile.exp: Test inferior and thread.
16052 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16054 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16056 * gdb.base/step-bt.c: Call hello via function pointer to make
16057 sure its first instruction is executed on powerpc64le-linux.
16059 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16061 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16063 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16065 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16066 of the test patterns for use on little-endian systems.
16068 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16070 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16071 (decimal_vector): Fix for little-endian.
16073 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16075 * gdb.arch/sparc-sysstep.exp: New file.
16076 * gdb.arch/sparc-sysstep.c: Likewise.
16078 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16080 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16082 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16084 2014-01-23 Tom Tromey <tromey@redhat.com>
16086 * gdb.ada/array_char_idx: New testcase.
16088 2014-01-23 Tom Tromey <tromey@redhat.com>
16091 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16092 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16095 2014-01-23 Tom Tromey <tromey@redhat.com>
16098 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16099 string from an inferior frame.
16100 * gdb.python/py-framefilter-mi.exp: Update.
16102 2014-01-22 Doug Evans <dje@google.com>
16104 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16106 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16108 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16110 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16112 * gdb.trace/entry-values.exp: Remove excess space character from
16113 regex patterns. Handle s390 call instruction.
16115 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16117 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16118 define "*_start" label. Make "name" static.
16119 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16120 ${name} by references to ${name}_start.
16122 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16124 * gdb.base/info-macros.exp: Remove "debug" from the compile
16127 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16129 * gdb.dlang/demangle.exp: New file.
16131 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16133 * gdb.dlang/primitive-types.exp: New file.
16135 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16137 * configure.ac: Create gdb.dlang/Makefile.
16138 * configure: Regenerate.
16139 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16140 * gdb.dlang/Makefile.in: New file.
16141 * lib/d-support.exp: New file.
16142 * lib/gdb.exp (skip_d_tests): New proc.
16144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16146 * gdb.btrace/delta.exp: Check reverse stepi.
16147 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16148 * gdb.btrace/finish.exp: New.
16149 * gdb.btrace/next.exp: New.
16150 * gdb.btrace/nexti.exp: New.
16151 * gdb.btrace/record_goto.c: Add comments.
16152 * gdb.btrace/step.exp: New.
16153 * gdb.btrace/stepi.exp: New.
16154 * gdb.btrace/multi-thread-step.c: New.
16155 * gdb.btrace/multi-thread-step.exp: New.
16156 * gdb.btrace/rn-dl-bind.c: New.
16157 * gdb.btrace/rn-dl-bind.exp: New.
16158 * gdb.btrace/data.c: New.
16159 * gdb.btrace/data.exp: New.
16160 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16164 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16165 * gdb.btrace/exception.exp: Update.
16166 * gdb.btrace/instruction_history.exp: Update.
16167 * gdb.btrace/record_goto.exp: Update.
16168 * gdb.btrace/tailcall.exp: Update.
16169 * gdb.btrace/unknown_functions.exp: Update.
16170 * gdb.btrace/delta.exp: New.
16172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16174 * gdb.btrace/record_goto.exp: Add backtrace test.
16175 * gdb.btrace/tailcall.exp: Add backtrace test.
16177 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16179 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16180 * gdb.btrace/record_goto.c: New.
16181 * gdb.btrace/record_goto.exp: New.
16182 * gdb.btrace/x86-record_goto.S: New.
16184 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16186 * gdb.btrace/function_call_history.exp: Update tests.
16187 * gdb.btrace/instruction_history.exp: Update tests.
16189 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16191 * gdb.btrace/function_call_history.exp: Fix expected field
16192 order for "record function-call-history".
16193 Add new tests for "record function-call-history /c".
16194 * gdb.btrace/exception.cc: New.
16195 * gdb.btrace/exception.exp: New.
16196 * gdb.btrace/tailcall.exp: New.
16197 * gdb.btrace/x86-tailcall.S: New.
16198 * gdb.btrace/x86-tailcall.c: New.
16199 * gdb.btrace/unknown_functions.c: New.
16200 * gdb.btrace/unknown_functions.exp: New.
16201 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16205 * gdb.btrace/instruction_history.exp: Update.
16206 * gdb.btrace/function_call_history.exp: Update.
16208 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16210 * gdb.btrace/function_call_history.exp: Fix expected function
16212 * gdb.btrace/instruction_history.exp: Initialize traced.
16213 Remove traced_functions.
16215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16217 * gdb.btrace/function_call_history.exp: Update
16218 * gdb.btrace/instruction_history.exp: Update.
16220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16222 * gdb.btrace/enable.exp: Update expected text.
16224 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16226 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16229 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16231 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16233 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16235 * lib/gdb.exp (supports_process_record): Return true for
16236 arm*-linux*. (supports_reverse): Likewise.
16238 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16242 * gdb.python/py-type.c: Enhance test case.
16243 * gdb.python/py-value-cc.cc: Likewise
16244 * gdb.python/py-type.exp: Add new tests.
16245 * gdb.python/py-value-cc.exp: Likewise
16247 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16248 Pedro Alves <palves@redhat.com>
16250 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16251 Make "name" extern.
16252 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16253 references to ${name}_start by references to ${name}.
16255 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16257 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16259 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16261 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16263 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16264 Pedro Alves <palves@redhat.com>
16266 * gdb.mi/mi-info-os.exp: Connect to the target with
16267 mi_gdb_target_load.
16269 2014-01-08 Pedro Alves <palves@redhat.com>
16271 * gdb.threads/reconnect-signal.c: New file.
16272 * gdb.threads/reconnect-signal.exp: New file.
16274 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16276 * gdb.base/source-dir.exp: New file.
16278 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16280 * gdb.ada/mi_interface: New testcase.
16282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16284 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16285 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16286 gdb.ada/pp-rec-component/pck.ads: New files.
16288 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16290 * gdb.python/py-pp-integral.c: New file.
16291 * gdb.python/py-pp-integral.py: New file.
16292 * gdb.python/py-pp-integral.exp: New file.
16294 For older changes see ChangeLog-1993-2013.
16296 ;; Local Variables:
16297 ;; mode: change-log
16300 ;; version-control: never
16303 Copyright 2014-2019 Free Software Foundation, Inc.
16304 Copying and distribution of this file, with or without modification,
16305 are permitted provided the copyright notice and this notice are preserved.