1 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4 (delete_breakpoints): Likewise.
5 (gdb_run_cmd): Likewise.
6 (gdb_start_cmd): Likewise.
7 (gdb_starti_cmd): Likewise.
8 (gdb_internal_error_resync): Likewise.
9 (gdb_test_multiple): Likewise.
10 (gdb_reinitialize_dir): Likewise.
11 (default_gdb_exit): Likewise.
12 (gdb_file_cmd): Mark kill as optional.
13 (default_gdb_start): Call gdb_stdin_log_init.
14 (send_gdb): Call gdb_stdin_log_write.
15 (rerun_to_main): Mark Y as an answer.
16 (gdb_stdin_log_init): New function.
17 (gdb_stdin_log_write): Likewise.
19 2019-05-17 Alan Hayward <alan.hayward@arm.com>
21 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
22 * gdb.base/debug-expr.exp: Likewise.
23 * gdb.base/foll-fork.exp: Likewise.
24 * gdb.base/foll-vfork.exp: Likewise.
25 * gdb.base/fork-print-inferior-events.exp: Likewise.
26 * gdb.base/gdb-sigterm.exp: Likewise.
27 * gdb.base/gdbinit-history.exp: Likewise.
28 * gdb.base/osabi.exp: Likewise.
29 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
30 * gdb.base/ui-redirect.exp: Likewise.
31 * gdb.gdb/unittest.exp: Likewise.
32 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
33 * gdb.mi/mi-watch.exp: Likewise.
34 * gdb.mi/new-ui-mi-sync.exp: Likewise.
35 * gdb.mi/user-selected-context-sync.exp: Likewise.
36 * gdb.python/python.exp: Disable debug test when debugging.
37 * gdb.threads/check-libthread-db.exp: Disable when debugging.
38 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
40 * gdb.threads/stepi-random-signal.exp: Likewise.
42 2019-05-17 Alan Hayward <alan.hayward@arm.com>
44 * Makefile.in: Pass through GDB_DEBUG.
45 * README (Testsuite Parameters): Add GDB_DEBUG.
46 (gdb,debug): Add board setting.
47 * lib/gdb.exp (default_gdb_start): Start debugging.
48 (gdb_debug_enabled): New procedure.
49 (gdb_debug_init): Likewise.
51 2019-05-17 Alan Hayward <alan.hayward@arm.com>
53 * Makefile.in: Pass through GDB_DEBUG.
54 * README (Testsuite Parameters): Add GDB_DEBUG.
55 (gdb,debug): Add board setting.
56 * lib/gdb.exp (default_gdb_start): Start debugging.
57 (gdb_debug_enabled): New procedure.
58 (gdb_debug_init): Likewise.
60 2019-05-17 Alan Hayward <alan.hayward@arm.com>
62 * gdb.base/ui-redirect.exp: Add debug redirect tests.
64 2019-05-17 Alan Hayward <alan.hayward@arm.com>
66 * gdb.base/ui-redirect.exp: Test redirection.
68 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
70 * gdb.mi/mi-complete.exp: New file.
71 * gdb.mi/mi-complete.cc: Likewise.
73 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
75 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
76 indexed and sliced arrays, and pointers to arrays.
78 2019-05-14 Tom Tromey <tromey@adacore.com>
80 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
83 2019-05-14 Tom de Vries <tdevries@suse.de>
85 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
86 selection entry encoding.
88 2019-05-10 Tom Tromey <tromey@adacore.com>
90 * gdb.ada/info_exc.exp: Add "complete" test.
92 2019-05-09 Tom de Vries <tdevries@suse.de>
94 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
97 2019-05-09 Tom de Vries <tdevries@suse.de>
99 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
102 2019-05-08 Joel Brobecker <brobecker@adacore.com>
104 * gdb.ada/frame_arg_lang.exp: New testcase.
105 * gdb.ada/frame_arg_lang/bla.adb: New file.
106 * gdb.ada/frame_arg_lang/pck.ads: New file.
107 * gdb.ada/frame_arg_lang/pck.adb: New file.
108 * gdb.ada/frame_arg_lang/foo.c: New file.
110 2019-05-08 Tom Tromey <tromey@adacore.com>
112 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
114 2019-05-08 Tom Tromey <tromey@adacore.com>
116 * gdb.base/ptype-offsets.exp: Update tests.
118 2019-05-08 Tom Tromey <tromey@adacore.com>
120 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
122 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
125 2019-05-08 Tom Tromey <tromey@adacore.com>
127 * gdb.ada/vla.exp: New file.
128 * gdb.ada/vla/vla.adb: New file.
130 2019-05-07 Tom de Vries <tdevries@suse.de>
132 * gdb.base/index-cache.exp (ls_host): Fix return statement.
134 2019-05-07 Tom de Vries <tdevries@suse.de>
137 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
140 2019-05-07 Tom de Vries <tdevries@suse.de>
143 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
144 .debug_aranges section.
146 2019-05-07 Tom de Vries <tdevries@suse.de>
149 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
151 2019-05-06 Tom de Vries <tdevries@suse.de>
153 * lib/gdb.exp (exec_has_index_section): New proc.
154 * gdb.base/index-cache.exp: Handle case that binfile contains an index
157 2019-05-04 Tom de Vries <tdevries@suse.de>
159 * boards/cc-with-debug-names.exp: New file.
161 2019-05-03 Tom Tromey <tromey@adacore.com>
163 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
164 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
165 * gdb.ada/char_enum.exp: Add test.
167 2019-05-03 Tom de Vries <tdevries@suse.de>
169 * boards/cc-with-gdb-index.exp: New file.
171 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
173 * gdb.rust/simple.exp: Add new test case.
174 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
175 (main): Initialise an instance of the new struct.
177 2019-05-01 Tom Tromey <tromey@adacore.com>
179 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
182 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
185 2019-05-01 Tom Tromey <tromey@adacore.com>
187 * gdb.ada/packed_array_assign.exp: Add packed assignment
190 2019-05-01 Tom de Vries <tdevries@suse.de>
192 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
194 2019-05-01 Tom de Vries <tdevries@suse.de>
196 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
198 2019-04-30 Ali Tamur <tamur@google.com>
200 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
202 2019-04-30 Tom Tromey <tromey@adacore.com>
204 * lib/ada.exp (find_ada_tool): New proc.
205 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
206 * gdb.ada/catch_ex_std.exp: New file.
207 * gdb.ada/catch_ex_std/foo.adb: New file.
208 * gdb.ada/catch_ex_std/some_package.adb: New file.
209 * gdb.ada/catch_ex_std/some_package.ads: New file.
211 2019-04-30 Tom Tromey <tromey@adacore.com>
214 * gdb.cp/temargs.cc: Add test code from PR.
216 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
218 * gdb.fortran/vla-datatypes.exp: Update expected results.
219 * gdb.fortran/vla-ptype.exp: Likewise.
220 * gdb.fortran/vla-type.exp: Likewise.
221 * gdb.fortran/vla-value.exp: Likewise.
223 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
225 * gdb.fortran/ptr-indentation.exp: Update expected results.
226 * gdb.fortran/ptype-on-functions.exp: Likewise.
227 * gdb.fortran/vla-ptr-info.exp: Likewise.
228 * gdb.fortran/vla-value.exp: Likewise.
230 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
232 * gdb.fortran/ptype-on-functions.exp: New file.
233 * gdb.fortran/ptype-on-functions.f90: New file.
235 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
237 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
240 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
242 * gdb.fortran/complex.exp: Expand.
243 * gdb.fortran/complex.f: Renamed to...
244 * gdb.fortran/complex.f90: ...this, and extended to add more
247 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
249 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
252 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
253 Richard Bunt <richard.bunt@arm.com>
255 * gdb.base/max-depth.c: New file.
256 * gdb.base/max-depth.exp: New file.
257 * gdb.python/py-nested-maps.c: New file.
258 * gdb.python/py-nested-maps.exp: New file.
259 * gdb.python/py-nested-maps.py: New file.
260 * gdb.python/py-format-string.exp (test_max_depth): New proc.
261 (test_all_common): Call test_max_depth.
262 * gdb.fortran/max-depth.exp: New file.
263 * gdb.fortran/max-depth.f90: New file.
264 * gdb.go/max-depth.exp: New file.
265 * gdb.go/max-depth.go: New file.
266 * gdb.modula2/max-depth.exp: New file.
267 * gdb.modula2/max-depth.c: New file.
268 * lib/gdb.exp (get_print_expr_at_depths): New proc.
270 2019-04-29 Tom de Vries <tdevries@suse.de>
272 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
274 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
276 * gdb.base/callexit.exp: Test may-call-functions off.
278 2019-04-25 Keith Seitz <keiths@redhat.com>
281 * gdb.cp/meth-typedefs.cc (incomplete_struct)
282 (another_incomplete_struct, test_incomplete): New definitions.
283 (main): Use new definitions.
284 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
287 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
291 * gdb.base/coredump-filter-build-id.exp: New file.
293 2019-04-25 Alan Hayward <alan.hayward@arm.com>
295 * Makefile.in: Pass through GDBSERVER_DEBUG.
296 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
297 (gdbserver,debug): Add board setting.
298 * gdb.trace/tspeed.exp: Skip when debugging.
299 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
300 * lib/gdbserver-support.exp: Likewise
302 2019-04-24 Tom Tromey <tromey@adacore.com>
304 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
307 2019-04-24 Tom Tromey <tromey@adacore.com>
309 * gdb.arch/amd64-eval.exp: Test bitfield return.
310 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
311 (class Foo) <return_bitfields>: New method.
314 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
316 * gdb.cp/many-args.cc: New file.
317 * gdb.cp/many-args.exp: New file.
319 2019-04-23 Tom de Vries <tdevries@suse.de>
322 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
324 2019-04-23 Alan Hayward <alan.hayward@arm.com>
326 * gdb.trace/backtrace.exp: Use nopie flag.
327 * gdb.trace/circ.exp: Likewise.
328 * gdb.trace/collection.exp: Likewise.
329 * gdb.trace/ftrace.exp: Likewise.
330 * gdb.trace/mi-trace-unavailable.exp: Likewise.
331 * gdb.trace/mi-traceframe-changed.exp: Likewise.
332 * gdb.trace/qtro.exp: Likewise.
333 * gdb.trace/read-memory.exp: Likewise.
334 * gdb.trace/report.exp: Likewise.
335 * gdb.trace/tfile.exp: Likewise.
336 * gdb.trace/tfind.exp: Likewise.
337 * gdb.trace/unavailable.exp: Likewise.
339 2019-04-22 Pedro Alves <palves@redhat.com>
341 * gdb.base/solib-probes-nosharedlibrary.c,
342 gdb.base/solib-probes-nosharedlibrary.exp: New files.
344 2019-04-19 Tom Tromey <tromey@adacore.com>
346 * gdb.ada/ptype_union.c: New file.
347 * gdb.ada/ptype_union.exp: New file.
349 2019-04-19 Tom Tromey <tromey@adacore.com>
352 * gdb.base/list0.h (foo): Add a control-l character.
354 2019-04-18 Tom de Vries <tdevries@suse.de>
357 * boards/local-board.exp: Set sysroot to "".
359 2019-04-18 Tom de Vries <tdevries@suse.de>
360 Pedro Alves <palves@redhat.com>
363 * gdb.threads/vfork-follow-child-exec.c: New file.
364 * gdb.threads/vfork-follow-child-exec.exp: New file.
365 * gdb.threads/vfork-follow-child-exit.c: New file.
366 * gdb.threads/vfork-follow-child-exit.exp: New file.
368 2019-04-15 Leszek Swirski <leszeks@google.com>
370 * gdb.arch/amd64-eval.cc: New file.
371 * gdb.arch/amd64-eval.exp: New file.
373 2019-04-11 Alan Hayward <alan.hayward@arm.com>
375 * gdb.server/sysroot.c: New test.
376 * gdb.server/sysroot.exp: New file.
377 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
380 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
382 * gdb.base/align.exp: Extend test to cover structures containing
385 2019-04-11 Tom de Vries <tdevries@suse.de>
387 * boards/cc-with-dwz-m.exp: New file.
388 * boards/cc-with-dwz.exp: New file.
389 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
391 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
393 * gdb.base/start-cpp.exp: New file.
394 * gdb.base/start-cpp.cc: New file.
396 2019-04-08 Kevin Buettner <kevinb@redhat.com>
398 * gdb.python/py-thrhandle.exp: Adjust tests to call
399 thread_from_handle instead of thread_from_thread_handle.
401 2019-04-08 Kevin Buettner <kevinb@redhat.com>
403 * gdb.python/py-thrhandle.exp: Add tests for
404 gdb.InferiorThread.handle.
406 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
408 * gdb.python/py-function.exp: Check calling helper function from
410 * lib/gdb.exp (gdb_supported_languages): New proc.
412 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
414 * gdb.base/complex-parts.c: New file.
415 * gdb.base/complex-parts.exp: New file.
417 2019-04-01 Tom Tromey <tromey@adacore.com>
420 * gdb.dwarf2/dw2-ranges-main.c: New file.
421 * gdb.dwarf2/dw2-ranges-psym.c: New file.
422 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
424 2019-03-30 Simon Marchi <simark@simark.ca>
426 * gdb.base/default.exp: Add values for $_gdb_major and
429 2019-03-29 Tom Tromey <tromey@adacore.com>
431 * gdb.base/help.exp: Tighten apropos regexp.
433 2019-03-29 Keith Seitz <keiths@redhat.com>
435 * gdb.fortran/array-bounds.exp: New file.
436 * gdb.fortran/array-bounds.f90: New file.
438 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
440 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
442 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
444 * gdb.multi/hello.c (main): Increase alarm timer.
446 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
448 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
449 factor when no hardware watchpoint support.
451 2019-03-28 Alan Hayward <alan.hayward@arm.com>
452 Pedro Alves <palves@redhat.com>
454 * boards/local-board.exp: set sysroot to /.
456 2019-03-27 Alan Hayward <alan.hayward@arm.com>
458 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
461 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
463 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
465 (make_container): Initialise new field.
466 * gdb.python/py-prettyprint.exp: Add new tests.
467 * gdb.python/py-prettyprint.py (class ContainerPrinter)
468 <display_hint>: New method.
470 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
472 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
473 gdb_continue_to_breakpoint more throughout this test.
474 (run_lang_tests) Supply unique test names, and use
477 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
479 * gdb.base/finish-pretty.exp: Update expected results.
480 * gdb.base/pretty-print.c: New file.
481 * gdb.base/pretty-print.exp: New file.
483 2019-03-25 Pedro Alves <palves@redhat.com>
485 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
486 move comments outside list. Append '-i "" eof' section.
488 2019-03-22 Alan Hayward <alan.hayward@arm.com>
490 * README: Add pie options.
491 * gdb.base/break-interp.exp: Ensure pie is disabled.
492 * gdb.base/dump.exp: Likewise.
493 * lib/gdb.exp (gdb_compile): Add pie option.
495 2019-03-19 Tom Tromey <tromey@adacore.com>
497 * gdb.mi/mi2-cli-display.c: New file.
498 * gdb.mi/mi2-cli-display.exp: New file.
500 2019-03-18 Joel Brobecker <brobecker@adacore.com>
501 Tom Tromey <tromey@adacore.com>
503 * gdb.ada/ptype_array/pck.adb: New file.
504 * gdb.ada/ptype_array/pck.ads: New file.
505 * gdb.ada/ptype_array/foo.adb: New file.
506 * gdb.ada/ptype_array.exp: New file.
508 2019-03-14 Tom Tromey <tromey@adacore.com>
510 * gdb.base/style.exp: Add "set style sources" test.
512 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
514 * mi-breakpoint-location-ena-dis.exp: Rename to ...
515 * mi-breakpoint-multiple-locations.exp: ... this.
516 (make_breakpoints_pattern): New proc.
517 (do_test): Add mi_version parameter, test -break-insert,
518 -break-info and =breakpoint-created.
520 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
522 * config/default.exp: Remove 'load_lib gdb.exp'.
523 * config/monitor.exp: Likewise.
524 * config/sid.exp: Likewise.
525 * config/sim.exp: Likewise.
526 * config/slite.exp: Likewise.
527 * config/unix.exp: Likewise.
528 * gdb.base/default.exp: Remove unhelpful comment.
530 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
532 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
534 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
536 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
538 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
540 * gdb.fortran/type-kinds.exp: Update expected results.
542 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
544 * gdb.fortran/type-kinds.exp: Test new integer type kind.
546 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
548 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
550 (test_basic_parsing_of_type_kinds): Expand types tested.
551 (test_parsing_invalid_type_kinds): New function.
553 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
555 * gdb.fortran/intrinsics.exp: New file.
556 * gdb.fortran/intrinsics.f90: New file.
557 * gdb.fortran/type-kinds.exp: New file.
559 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
561 * gdb.fortran/dot-ops.exp: New file.
563 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
565 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
566 Check upper and lower case logical literals.
568 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
570 * gdb.fortran/types.exp (test_float_literal_types_accepted):
571 Remove duplicate tests.
573 2019-03-06 Alan Hayward <alan.hayward@arm.com>
575 * lib/gdb.exp (builtin_cd): rename of cd.
576 (cd): Override builtin.
578 2019-03-06 Richard Bunt <richard.bunt@arm.com>
580 * gdb.fortran/function-calls.exp: New file.
581 * gdb.fortran/function-calls.f90: New test.
583 2019-03-04 Richard Bunt <richard.bunt@arm.com>
585 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
586 on user program standard output.
587 * gdb.fortran/short-circuit-argument-list.f90: Record function
590 2019-02-28 Alan Hayward <alan.hayward@arm.com>
592 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
595 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
598 * gdb.base/interrupt-daemon-attach.c,
599 gdb.base/interrupt-daemon-attach.exp: New test.
601 2019-02-27 Pedro Alves <palves@redhat.com>
603 * gdb.base/page.exp: Add tests for "set width/height -1".
605 2019-02-27 Pedro Alves <palves@redhat.com>
607 * gdb.base/page.exp: Add tests for "set/show width/height" with
610 2019-02-27 Tom Tromey <tromey@adacore.com>
612 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
614 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
617 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
619 * gdb.base/align.exp: Extend to compile in both C and C++, and add
620 tests for structs with static members.
622 2019-02-26 Tom Tromey <tromey@adacore.com>
624 * gdb.python/py-value.exp (test_value_from_buffer): Check for
625 ValueError, not TypeError.
627 2019-02-26 Kevin Buettner <kevinb@redhat.com>
629 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
630 call from main program.
632 2019-02-23 Joel Brobecker <brobecker@adacore.com>
634 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
635 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
636 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
637 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
638 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
640 2019-02-22 Keith Seitz <keiths@redhat.com>
643 * gdb.base/symlink-sourcefile.c: New file.
644 * gdb.base/symlink-sourcefile.exp: New file.
646 2019-02-20 Tom Tromey <tom@tromey.com>
648 * gdb.base/info_qt.exp: Update.
650 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
652 * gdb.base/source.exp: Move "error in sourced script" code to
654 * gdb.base/source-error.gdb: Move contents to
655 source-error-1.gdb. Add new code to source source-error-1.gdb.
656 * gdb.base/source-error-1.gdb: New file, from previous
659 2019-02-17 Tom Tromey <tom@tromey.com>
661 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
663 * gdb.base/style.c (SOME_MACRO): New macro.
665 2019-02-17 Tom Tromey <tom@tromey.com>
667 * gdb.base/style.exp: Add line-wrapping tests.
668 * gdb.base/page.exp: Add test for quitting during pagination.
670 2019-02-17 Joel Brobecker <brobecker@adacore.com>
672 * gdb.ada/big_packed_array: New testcase.
673 * gdb.ada/homonym.exp: Fix incorrect expected output for
674 "break <homonym__get_value>" test.
676 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
679 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
680 and prepare_for_testing. Add comment.
681 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
682 redundant cleanup call. Clean up comment.
684 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
687 * gdb.arch/aarch64-dbreg-contents.exp: New file.
688 * gdb.arch/aarch64-dbreg-contents.c: New file.
690 2019-02-10 Joel Brobecker <brobecker@adacore.com>
692 * gdb.ada/mi_ref_changeable: New testcase.
694 2019-02-07 Alan Hayward <alan.hayward@arm.com>
696 * gdb.base/attach.exp: Add double attach test.
698 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
700 * lib/gdb.exp (default_gdb_start): Don't match pagination
702 (gdb_init): Set stty_init.
704 2019-01-27 Tom Tromey <tom@tromey.com>
706 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
709 2019-01-24 Alan Hayward <alan.hayward@arm.com>
711 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
713 (struct struct_static_02_02): Likewise.
714 (struct struct_static_02_03): Likewise.
715 (struct struct_static_02_04): Likewise.
716 (struct struct_static_04_01): Likewise.
717 (struct struct_static_04_02): Likewise.
718 (struct struct_static_04_03): Likewise.
719 (struct struct_static_04_04): Likewise.
720 (struct struct_static_06_01): Likewise.
721 (struct struct_static_06_02): Likewise.
722 (struct struct_static_06_03): Likewise.
723 (struct struct_static_06_04): Likewise.
724 (cmp_struct_static_02_01): Likewise.
725 (cmp_struct_static_02_02): Likewise.
726 (cmp_struct_static_02_03): Likewise.
727 (cmp_struct_static_02_04): Likewise.
728 (cmp_struct_static_04_01): Likewise.
729 (cmp_struct_static_04_02): Likewise.
730 (cmp_struct_static_04_03): Likewise.
731 (cmp_struct_static_04_04): Likewise.
732 (cmp_struct_static_06_01): Likewise.
733 (cmp_struct_static_06_02): Likewise.
734 (cmp_struct_static_06_03): Likewise.
735 (cmp_struct_static_06_04): Likewise.
736 (call_all): Test new structs.
737 * gdb.base/infcall-nested-structs.exp: Likewise.
739 2019-01-21 Alan Hayward <alan.hayward@arm.com>
740 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
742 2019-01-21 Alan Hayward <alan.hayward@arm.com>
743 * gdb.base/stack-protector.c: New test.
744 * gdb.base/stack-protector.exp: New file.
745 * gdb.cp/ovldbreak.exp: Only allow a single break line.
746 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
748 (gdb_compile): Remove stack protector for GCC and prevent
751 2019-01-16 Keith Seitz <keiths@redhat.com>
754 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
756 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
758 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
760 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
762 * gdb.arch/powerpc-vector-regs.c: New file.
763 * gdb.arch/powerpc-vector-regs.exp: New file.
765 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
767 * gdb.arch/altivec-regs.exp: Fix the list passed to
768 gdb_expect_list when testing "info vector".
770 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
772 * gdb.base/style.exp: Don't include path in testname.
774 2019-01-10 Keith Seitz <keiths@redhat.com>
778 * gdb.dwarf2/multidictionary.exp: New file.
780 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
782 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
783 (test_gnuv3_style_demangling): ... this.
784 (test_lucid_style_demangling): Remove.
785 (test_arm_style_demangling): Remove.
786 (test_hp_style_demangling): Remove.
787 (do_tests): Remove calls to the above.
789 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
791 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
794 2019-01-06 Tom Tromey <tom@tromey.com>
797 * gdb.dwarf2/typedef-void-finish.exp: New file.
799 2018-12-28 Tom Tromey <tom@tromey.com>
800 Simon Marchi <simark@simark.ca>
802 * gdb.base/jit-exec.exp: New file.
803 * gdb.base/jit-exec.c: New file.
804 * gdb.base/jit-execd.c: New file.
806 2018-12-28 Tom Tromey <tom@tromey.com>
808 * gdb.base/style.exp: Update test to check for address styling.
810 2018-12-28 Tom Tromey <tom@tromey.com>
812 * gdb.base/style.exp: Add test for styling of "Reading symbols"
815 2018-12-28 Tom Tromey <tom@tromey.com>
817 * gdb.base/style.exp: Add test for version number styling.
819 2018-12-28 Tom Tromey <tom@tromey.com>
821 * gdb.base/style.exp: Add test for print_address_symbolic.
823 2018-12-28 Tom Tromey <tom@tromey.com>
825 * gdb.base/style.exp: Add test for breakpoint setting.
827 2018-12-28 Tom Tromey <tom@tromey.com>
829 * gdb.base/style.exp: Add test for variable names.
831 2018-12-28 Tom Tromey <tom@tromey.com>
833 * gdb.base/style.exp: New file.
834 * gdb.base/style.c: New file.
836 2018-12-28 Tom Tromey <tom@tromey.com>
838 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
840 * gdb.base/readline.exp (operate_and_get_next): Save and restore
841 the TERM environment variable.
843 2018-12-27 Tom Tromey <tom@tromey.com>
845 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
848 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
850 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
851 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
853 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
855 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
856 Filename a.adb changed to bp_fun_addr.adb.
857 gdb.ada/bp_fun_addr.exp: Update test accordingly.
859 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
861 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
863 * README: Mention the gdb,nopie_flag board setting.
864 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
866 * gdb.arch/amd64-entry-value.exp: Likewise.
867 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
868 * gdb.arch/i386-float.exp: Likewise.
869 * gdb.arch/i386-signal.exp: Likewise.
870 * gdb.mi/mi-reg-undefined.exp: Likewise.
872 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
875 * gdb.base/info-os.exp: Check return for unknown "info os" type.
877 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
879 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
880 Update order of results accordingly.
882 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
884 * gdb.base/annota1.exp: Update a test regexp.
886 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
888 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
890 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
892 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
893 (reuse_time): Initialize to REUSE_TIME_CAP.
894 (check_rc): New function.
895 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
896 Check pthread_create rc.
897 (spawner_thread_func): Check pthread_create and pthread_join rc.
899 2018-12-08 Pedro Alves <palves@redhat.com>
901 * gdb.base/list.exp (test_forward_search): Rename to ...
902 (test_forward_reverse_search): ... this. Also test reverse-search
903 and the forward-search alias.
905 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
907 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
908 local timeout variable before return, and remove all local timeout
910 (gdb_load): Likewise.
912 2018-12-01 Tom de Vries <tdevries@suse.de>
914 * gdb.base/gdb-caching-proc.exp: New file.
916 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
918 * Makefile.in (TIMESTAMP): New variable.
919 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
921 (check-single-racy): Likewise.
922 (check/%.exp): Likewise.
923 (check-racy/%.exp): Likewise.
924 (workers/%.worker): Likewise.
925 (build-perf): Likewise.
926 (check-perf): Likewise.
927 * README: Describe new "TS" and "TS_FORMAT" variables.
928 * print-ts.py: New file.
930 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
933 * gdb.python/python.exp: Test command repetition after
936 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
938 * gdb.opt/inline-break.exp: Add test that info breakpoint output
939 is correctly aligned.
941 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
943 * gdb.ada/info_auto_lang.exp: New testcase.
944 * gdb.ada/info_auto_lang/global_pack.ads: New file.
945 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
946 * gdb.ada/info_auto_lang/some_c.c: New file.
948 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
950 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
951 FUNC_lang language syntax.
953 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
955 * gdb.base/info_minsym.c: New file.
956 * gdb.base/info_minsym.exp: New file.
958 2018-11-19 Tom Tromey <tom@tromey.com>
961 * gdb.rust/simple.exp: Add ptype test. Update expected output.
962 * gdb.rust/expr.exp: Update expected output. Change one test.
964 2018-11-19 Tom Tromey <tom@tromey.com>
966 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
968 2018-11-19 Pedro Alves <palves@redhat.com>
970 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
971 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
972 see the expected warning.
974 2018-11-16 Alan Hayward <alan.hayward@arm.com>
977 * gdb.cp/infcall-nodebug-lib.c: New test.
978 * gdb.cp/infcall-nodebug-main.c: New test.
979 * gdb.cp/infcall-nodebug.exp: New file.
981 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
983 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
986 2018-11-09 Tom de Vries <tdevries@suse.de>
988 * gdb.base/msym-lang.c: New test.
989 * gdb.base/msym-lang.exp: New file.
990 * gdb.base/msym-lang-main.c: New test.
992 2018-11-08 Tom Tromey <tom@tromey.com>
996 * gdb.base/warning.exp: New file.
998 2018-11-08 Jan Beulich <jbeulich@suse.com>
1000 * testsuite/gdb.arch/i386-avx512.c,
1001 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1003 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1005 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1008 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1010 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1011 * gdb.dwarf2/missing-type-name.exp: New file.
1013 2018-11-06 Tom de Vries <tdevries@suse.de>
1015 * gdb.base/many-headers.c: New test.
1016 * gdb.base/many-headers.exp: New file.
1018 2018-11-06 Jim Wilson <jimw@sifive.com>
1020 * gdb.base/code_elim.exp: For riscv, set additional_flags
1021 to include -msmall-data-limit=0.
1023 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1025 * gdb.ada/watch_minus_l: New testcase.
1027 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1029 * gdb.arch/aix-sighandle.c: New file.
1030 * gdb.arch/aix-sighandle.exp: New file.
1032 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1034 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1035 registers being unions.
1037 2018-10-31 Tom de Vries <tdevries@suse.de>
1039 * lib/valgrind.exp: New file.
1040 (vgdb_start, vgdb_stop): New procs, factored out of ...
1041 * gdb.base/valgrind-bt.exp: ... here, ...
1042 * gdb.base/valgrind-disp-step.exp: ... here and ...
1043 * gdb.base/valgrind-infcall.exp: ... here.
1045 2018-10-31 Tom de Vries <tdevries@suse.de>
1047 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1049 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1051 * gdb.dwarf2/void-type.c: New file.
1052 * gdb.dwarf2/void-type.exp: New file.
1054 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1056 * gdb.base/info_qt.c: New file.
1057 * gdb.base/info_qt.exp: New file.
1059 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1061 * gdb.arch/powerpc-htm-regs.c: New file.
1062 * gdb.arch/powerpc-htm-regs.exp: New file.
1064 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1066 * gdb.arch/powerpc-tar.c: New file.
1067 * gdb.arch/powerpc-tar.exp: New file.
1069 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1071 * gdb.arch/powerpc-ppr-dscr.c: New file.
1072 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1074 2018-10-25 Tom de Vries <tdevries@suse.de>
1076 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1078 2018-10-24 Tom de Vries <tdevries@suse.de>
1080 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1081 longer exists error.
1083 2018-10-24 Tom de Vries <tdevries@suse.de>
1085 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1087 2018-10-24 Tom de Vries <tdevries@suse.de>
1089 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1090 --db-attach in valgrind.
1092 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1094 * gdb.arch/riscv-reg-aliases.c: New file.
1095 * gdb.arch/riscv-reg-aliases.exp: New file.
1097 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1099 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1101 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1103 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1105 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1107 * gdb.cp/ovldbreak.exp: Fix regexps.
1109 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1111 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1113 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1116 * gdb.base/restore.exp: New test to check if "restore" with an
1117 invalid file doesn't segfault.
1119 2018-10-18 Tom de Vries <tdevries@suse.de>
1121 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1122 * gdb.ada/excep_handle.exp: Same.
1123 * gdb.ada/mi_string_access.exp: Same.
1124 * gdb.ada/mi_var_union.exp: Same.
1125 * gdb.arch/arc-analyze-prologue.exp: Same.
1126 * gdb.arch/arc-decode-insn.exp: Same.
1127 * gdb.base/readnever.exp: Same.
1128 * gdb.fortran/printing-types.exp: Same.
1129 * gdb.guile/scm-lazy-string.exp: Same.
1131 2018-10-16 Tom de Vries <tdevries@suse.de>
1134 * gdb.base/catch-follow-exec.c: Add copyright notice.
1135 * gdb.base/catch-follow-exec.exp: Rewrite to use
1136 gdb_spawn_with_cmdline_opts. Require gdb-native.
1138 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1140 * gdb.trace/actions-changed.exp: Check for arch support.
1141 * gdb.trace/actions.exp: Likewise.
1142 * gdb.trace/ax.exp: Likewise.
1143 * gdb.trace/backtrace.exp: Likewise.
1144 * gdb.trace/change-loc.exp: Likewise.
1145 * gdb.trace/deltrace.exp: Likewise.
1146 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1147 * gdb.trace/ftrace.exp: Likewise.
1148 * gdb.trace/infotrace.exp: Check for arch support.
1149 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1150 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1151 * gdb.trace/mi-tsv-changed.exp: Likewise.
1152 * gdb.trace/packetlen.exp: Likewise.
1153 * gdb.trace/passc-dyn.exp: Likewise.
1154 * gdb.trace/passcount.exp: Likewise.
1155 * gdb.trace/pending.exp: Likewise.
1156 * gdb.trace/range-stepping.exp: Check for shlib support.
1157 * gdb.trace/report.exp: Check for arch support.
1158 * gdb.trace/save-trace.exp: Likewise.
1159 * gdb.trace/signal.exp: Check for signal support.
1160 * gdb.trace/tfind.exp: Check for arch support.
1161 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1162 * gdb.trace/trace-common.h: Add comment.
1163 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1164 * gdb.trace/trace-enable-disable.exp: Likewise.
1165 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1166 * gdb.trace/tracecmd.exp: Check for arch support.
1167 * gdb.trace/tspeed.exp: Check for shlib and target support.
1168 * gdb.trace/tstatus.exp: Check for arch support.
1169 * gdb.trace/tsv.exp: Likewise.
1170 * gdb.trace/while-dyn.exp: Likewise.
1171 * gdb.trace/while-stepping.exp: Likewise.
1172 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1174 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1176 * gdb.trace/tspeed.exp: Remove nowarnings.
1177 (prepare_for_trace_test): Declare "global ipalib".
1178 * gdb.trace/tspeed.c: Include unistd.h.
1179 (main): Remove superfluous printf argument.
1181 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1183 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1184 directory prefix on the filename.
1186 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1188 * gdb.gdb/unittest.exp: Update expected message informing that
1189 selftests have been disabled.
1190 * gdb.server/unittest.exp: Likewise.
1192 2018-10-09 Tom de Vries <tdevries@suse.de>
1194 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1197 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1200 * gdb.cp/virtbase2.cc: New file.
1201 * gdb.cp/virtbase2.exp: New file.
1203 2018-10-06 Tom Tromey <tom@tromey.com>
1206 * gdb.python/py-inferior.exp: Add architecture test.
1208 2018-10-06 Tom Tromey <tom@tromey.com>
1210 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1211 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1213 2018-10-06 Tom Tromey <tom@tromey.com>
1215 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1216 of a "throw" catchpoint.
1218 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1220 * gdb.base/info-proc.exp: Update string expected from "help info
1223 2018-10-04 Tom Tromey <tom@tromey.com>
1225 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1226 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1227 (test_initial_complaints, test_empty_complaints): Update.
1228 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1230 2018-10-04 Tom Tromey <tom@tromey.com>
1233 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1234 * lib/gdb.exp (gdb_file_cmd): Update.
1235 * gdb.stabs/weird.exp (print_weird_var): Update.
1236 * gdb.server/solib-list.exp: Update.
1237 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1238 * gdb.mi/mi-cli.exp: Update.
1239 * gdb.linespec/linespec.exp: Update.
1240 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1241 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1242 * gdb.cp/cp-relocate.exp: Update.
1243 * gdb.base/sym-file.exp: Update.
1244 * gdb.base/relocate.exp: Update.
1245 * gdb.base/readnever.exp: Update.
1246 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1247 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1248 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1249 * gdb.base/code_elim.exp: Update.
1250 * gdb.base/break-unload-file.exp (test_break): Update.
1251 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1252 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1254 * gdb.base/attach.exp (do_attach_tests): Update.
1255 * gdb.base/sepdebug.exp: Update.
1256 * gdb.python/py-section-script.exp: Update.
1258 2018-10-04 Tom Tromey <tom@tromey.com>
1261 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1262 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1265 2018-10-04 Tom Tromey <tom@tromey.com>
1267 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1268 set width and height to 0.
1269 (test_command_line_attach_run): Use -quiet.
1271 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1273 * lib/gdb.exp (skip_ifunc_tests): New.
1274 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1275 other compile failures.
1276 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1278 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1280 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1281 is_amd64_regs_target.
1283 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1285 * gdb.arch/aarch64-sighandler-regs.c: New test.
1286 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1287 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1289 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1291 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1294 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1296 * gdb.base/frame-selection.exp: New file.
1297 * gdb.base/frame-selection.c: New file.
1299 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1301 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1305 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1307 * gdb.base/large-frame-1.c: New file.
1308 * gdb.base/large-frame-2.c: New file.
1309 * gdb.base/large-frame.exp: New file.
1310 * gdb.base/large-frame.h: New file.
1312 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1315 * gdb.base/write_mem.exp: New test.
1316 * gdb.base/write_mem.c: Likewise.
1318 2018-09-23 Tom Tromey <tom@tromey.com>
1321 * gdb.python/py-parameter.exp: Add test for parameter that throws
1324 2018-09-23 Tom Tromey <tom@tromey.com>
1327 * gdb.python/py-template.exp (test_template_arg): Add test for
1328 negative template argument number.
1330 2018-09-23 Tom Tromey <tom@tromey.com>
1333 * gdb.python/python.exp: Add test for post_event error.
1335 2018-09-23 Tom Tromey <tom@tromey.com>
1338 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1339 convert pointers to int and long.
1341 2018-09-23 Tom Tromey <tom@tromey.com>
1344 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1345 signed-ness conversion tests.
1347 2018-09-23 Tom Tromey <tom@tromey.com>
1350 * gdb.python/py-value.exp (test_float_conversion): New proc.
1353 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1355 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1357 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1359 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1361 * gdb.base/utf8-identifiers.exp: Likewise.
1362 * gdb.cp/cpcompletion.exp: Likewise.
1363 * gdb.linespec/cpcompletion.exp: Likewise.
1364 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1365 * gdb.linespec/cpls-ops.exp: Likewise.
1367 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1368 Chris January <chris.january@arm.com>
1370 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1371 * gdb.fortran/short-circuit-argument-list.exp: New file.
1372 * gdb.fortran/short-circuit-argument-list.f90: New test.
1374 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1376 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1377 "arch=" keyword when executing "-stack-list-frames".
1379 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1381 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1382 "arch=" keyword when executing "-stack-list-frames".
1384 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1386 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1389 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1392 * gdb.python/python.exp: Test gdb.execute("show commands").
1394 2018-09-16 Tom Tromey <tom@tromey.com>
1396 * gdb.base/new-ui.exp (do_execution_tests): Update.
1397 * gdb.base/dbx.exp (test_breakpoints): Update.
1399 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1401 * lib/gdb.exp (gdb_simple_compile): Add proc.
1402 (is_elf_target): Use gdb_simple_compile.
1403 (skip_altivec_tests): Likewise.
1404 (skip_vsx_tests): Likewise.
1405 (skip_tsx_tests): Likewise.
1406 (skip_btrace_tests): Likewise.
1407 (skip_btrace_pt_tests): Likewise.
1408 (gdb_can_simple_compile): Likewise.
1409 (gdb_has_argv0): Likewise.
1410 (gdb_target_symbol_prefix): Likewise.
1411 (target_supports_scheduler_locking): Likewise.
1413 2018-09-13 Tom Tromey <tom@tromey.com>
1415 * Makefile.in (TAGS): Recognize proc_with_prefix and
1418 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1420 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1423 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1425 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1426 and a few other Inferior properties when the Inferior is no
1429 2018-09-13 Tom Tromey <tom@tromey.com>
1432 * gdb.rust/simple.exp: Add test for enum field access error.
1434 2018-09-13 Tom Tromey <tom@tromey.com>
1437 * gdb.rust/simple.rs (EmptyEnum): New type.
1439 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1441 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1443 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1444 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1445 * gdb.python/py-symtab.exp: Update test printing an objfile.
1447 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1449 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1452 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1454 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1455 (support_complex_tests): Use gdb_can_simple_compile.
1456 (is_ilp32_target): Likewise.
1457 (is_lp64_target): Likewise.
1458 (is_64_target): Likewise.
1459 (is_amd64_regs_target): Likewise.
1460 (is_aarch32_target): Likewise.
1461 (gdb_int128_helper): Likewise.
1463 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1465 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1467 2018-09-10 Jerome Guitton <guitton@adacore.com>
1469 * gdb.ada/same_component_name: Add test for case of tagged record
1470 with variable-length fields.
1472 2018-09-10 Xavier Roirand <roirand@adacore.com>
1474 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1475 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1476 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1477 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1479 2018-09-10 Xavier Roirand <roirand@adacore.com>
1481 * gdb.ada/mi_string_access.exp: New testcase.
1482 * gdb.ada/mi_string_access/bar.adb: New file.
1483 * gdb.ada/mi_string_access/pck.adb: New file.
1484 * gdb.ada/mi_string_access/pck.asd: New file.
1486 2018-09-10 Xavier Roirand <roirand@adacore.com>
1488 * gdb.ada/mi_var_union.exp: New testcase.
1489 * gdb.ada/mi_var_union/bar.adb: New file.
1490 * gdb.ada/mi_var_union/pck.adb: New file.
1491 * gdb.ada/mi_var_union/pck.asd: New file.
1493 2018-09-08 Tom Tromey <tom@tromey.com>
1495 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1497 2018-09-08 Tom Tromey <tom@tromey.com>
1500 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1501 (register_pretty_printers): Register new printer.
1502 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1504 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1505 (an_int_type3): New global.
1507 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1509 * gdb.ada/expr_with_funcall: New testcase.
1511 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1513 * gdb.ada/packed_array_assign: New testcase.
1515 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1517 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1518 names, and add test prefixes to make test names unique.
1520 2018-09-05 Tom de Vries <tdevries@suse.de>
1522 * gdb.dwarf2/varval.exp: Add test.
1524 2018-09-04 Gary Benson <gbenson@redhat.com>
1526 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1527 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1529 2018-08-31 Tom Tromey <tom@tromey.com>
1531 * gdb.rust/simple.rs: Rename second variable "v".
1533 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1535 * gdb.base/funcargs.c (use_a): New function.
1536 (recurse): Call use_a.
1538 2018-08-29 Keith Seitz <keiths@redhat.com>
1540 * gdb.compile/compile-cplus-anonymous.cc: New file.
1541 * gdb.compile/compile-cplus-anonymous.exp: New file.
1542 * gdb.compile/compile-cplus-array-decay.cc: New file.
1543 * gdb.compile/compile-cplus-array-decay.exp: New file.
1544 * gdb.compile/compile-cplus-inherit.cc: New file.
1545 * gdb.compile/compile-cplus-inherit.exp: New file.
1546 * gdb.compile/compile-cplus-member.cc: New file.
1547 * gdb.compile/compile-cplus-member.exp: New file.
1548 * gdb.compile/compile-cplus-method.cc: New file.
1549 * gdb.compile/compile-cplus-method.exp: New file.
1550 * gdb.compile/compile-cplus-mod.c: "New" file.
1551 * gdb.compile/compile-cplus-namespace.cc: New file.
1552 * gdb.compile/compile-cplus-namespace.exp: New file.
1553 * gdb.compile/compile-cplus-nested.cc: New file.
1554 * gdb.compile/compile-cplus-nested.exp: New file.
1555 * gdb.compile/compile-cplus-print.c: "New" file.
1556 * gdb.compile/compile-cplus-print.exp: "New" file.
1557 * gdb.compile/compile-cplus-virtual.cc: New file.
1558 * gdb.compile/compile-cplus-virtual.exp: New file.
1559 * gdb.compile/compile-cplus.c: "New" file.
1560 * gdb.compile/compile-cplus.exp: "New" file.
1561 * lib/compile-support.exp: New file.
1563 2018-08-16 Gary Benson <gbenson@redhat.com>
1566 * gdb.base/batch-exit-status.exp: New file.
1567 * gdb.base/batch-exit-status.good-commands: Likewise.
1568 * gdb.base/batch-exit-status.bad-commands: Likewise.
1570 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1572 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1573 (struct struct02): Likewise.
1574 (struct struct03): Likewise.
1575 (struct struct04): Likewise.
1576 (struct struct_01_01): New struct.
1577 (struct struct_01_02): Likewise.
1578 (struct struct_01_03): Likewise.
1579 (struct struct_01_04): Likewise.
1580 (struct struct_02_01): Likewise.
1581 (struct struct_02_02): Likewise.
1582 (struct struct_02_03): Likewise.
1583 (struct struct_02_04): Likewise.
1584 (struct struct_04_01): Likewise.
1585 (struct struct_04_02): Likewise.
1586 (struct struct_04_03): Likewise.
1587 (struct struct_04_04): Likewise.
1588 (struct struct_05_01): Likewise.
1589 (struct struct_05_02): Likewise.
1590 (struct struct_05_03): Likewise.
1591 (struct struct_05_04): Likewise.
1592 (cmp_struct01): Remove function.
1593 (cmp_struct02): Likewise.
1594 (cmp_struct03): Likewise.
1595 (cmp_struct04): Likewise.
1596 (cmp_struct_01_01): Add Function.
1597 (cmp_struct_01_02): Likewise.
1598 (cmp_struct_01_03): Likewise.
1599 (cmp_struct_01_04): Likewise.
1600 (cmp_struct_02_01): Likewise.
1601 (cmp_struct_02_02): Likewise.
1602 (cmp_struct_02_03): Likewise.
1603 (cmp_struct_02_04): Likewise.
1604 (cmp_struct_04_01): Likewise.
1605 (cmp_struct_04_02): Likewise.
1606 (cmp_struct_04_03): Likewise.
1607 (cmp_struct_04_04): Likewise.
1608 (cmp_struct_05_01): Likewise.
1609 (cmp_struct_05_02): Likewise.
1610 (cmp_struct_05_03): Likewise.
1611 (cmp_struct_05_04): Likewise.
1612 (call_all): Add new structs.
1613 * gdb.base/infcall-nested-structs.exp: Likewise.
1615 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1617 * gdb.python/py-framefilter-mi.exp: Update regexp to
1618 check for "arch" field in frame output.
1620 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1622 * gdb.dwarf2/dw2-ranges-func.c: New file.
1623 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1625 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1627 * gdb.base/term.exp: Compare terminal settings with values from
1629 * gdb.base/term.c: Get and set terminal settings.
1631 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1633 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1634 accommodate new "arch" field in frame output.
1635 * gdb.mi/mi-return.exp: Likewise.
1636 * gdb.mi/mi-stack.exp: Likewise.
1637 * gdb.mi/mi-syn-frame.exp: Likewise.
1638 * gdb.mi/user-selected-context-sync.exp: Likewise.
1640 2018-08-19 Michael Spang <spang@google.com>
1643 * gdb.base/gcore-tls-pie.c: New file.
1644 * gdb.base/gcore-tls-pie.exp: New file.
1646 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1648 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1649 * gdb.dwarf2/varval.c: New file.
1650 * gdb.dwarf2/varval.exp: New file.
1652 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1655 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1657 2018-08-16 Keith Seitz <keiths@redhat.com>
1659 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1660 tests expected to pass.
1662 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1664 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1665 -data-disassemble -a.
1666 (test_disassembly_bogus_args): Likewise.
1668 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1670 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1672 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1674 * gdb.base/vla-optimized-out.exp: Add new test.
1676 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1678 * gdb.base/vla-optimized-out-o3.exp: Delete.
1679 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1680 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1683 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1686 * gdb.server/extended-remote-restart.c: New file.
1687 * gdb.server/extended-remote-restart.exp: New file.
1689 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1691 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1692 "set variable index = 42".
1694 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1696 * boards/index-cache-gdb.exp: New file.
1697 * gdb.dwarf2/index-cache.exp: New file.
1698 * gdb.dwarf2/index-cache.c: New file.
1699 * gdb.base/maint.exp: Check if we are using the index cache.
1701 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1703 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1706 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1708 * dg-extract-results.sh: Move to toplevel contrib.
1709 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1710 * Makefile.in (check-parallel-racy): Likewise.
1712 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1714 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1715 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1716 tests if the target supports scheduler locking.
1718 2018-08-04 Tom de Vries <tdevries@suse.de>
1720 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1722 2018-08-02 Tom Tromey <tom@tromey.com>
1725 * gdb.cp/temargs.exp: Test "info address" of a template
1728 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1730 * gdb.python/py-mi-var-info-path-expression.c: New file.
1731 * gdb.python/py-mi-var-info-path-expression.py: New file.
1732 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1734 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1736 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1737 error after "cannot resolve name" string.
1739 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1741 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1743 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1745 2018-07-28 Tom de Vries <tdevries@suse.de>
1747 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1749 2018-07-26 Tom de Vries <tdevries@suse.de>
1751 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1753 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1755 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1758 2018-07-26 Tom de Vries <tdevries@suse.de>
1760 PR breakpoints/23366
1761 * gdb.base/catch-follow-exec.c: New test.
1762 * gdb.base/catch-follow-exec.exp: New file.
1764 2018-07-25 Tom de Vries <tdevries@suse.de>
1766 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1767 vla-optimized-out.c.
1769 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1771 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1772 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1774 2018-07-20 Tom de Vries <tdevries@suse.de>
1776 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1778 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1780 2018-07-19 Tom de Vries <tdevries@suse.de>
1782 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1785 2018-07-18 Tom de Vries <tdevries@suse.de>
1787 * gdb.base/vla-optimized-out.c: New test.
1788 * gdb.base/vla-optimized-out.exp: New file.
1790 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1792 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1793 message "No address associated with hostname" when gdbserver
1794 cannot resolve the hostname.
1796 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1798 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1799 Add some test prefixes to make tests unique.
1801 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1803 * gdb.base/frameapply.c: New file.
1804 * gdb.base/frameapply.exp: New file.
1806 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1808 * gdb.base/skip.exp: Update expected error message.
1810 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1811 Jan Kratochvil <jan.kratochvil@redhat.com>
1812 Paul Fertser <fercerpav@gmail.com>
1813 Tsutomu Seki <sekiriki@gmail.com>
1815 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1817 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1819 * boards/native-gdbserver.exp: Likewise.
1820 * gdb.server/run-without-local-binary.exp: Improve regexp used
1821 for detecting when a remote debugging connection succeeds.
1822 * gdb.server/server-connect.exp: New file.
1823 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1824 Do not prefix the port number with ":".
1825 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1826 support for detecting and using it. Add '$debughost_gdbserver'
1827 to the list of arguments used to start gdbserver. Handle case
1828 when gdbserver cannot resolve a network name.
1830 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1833 * gdb.base/ptype-offsets.cc (struct static_member): New
1835 (main) <stmember>: New variable.
1836 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1837 with a static member in it.
1839 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1841 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1842 watchpoints enabled and disabled.
1844 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1846 * gdb.base/examine-backward.exp: Still run tests around address
1847 0x0, even if address 0x0 is not readable. Update the pattern for
1848 matching address 0x0 in expected output.
1850 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1852 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1855 2018-07-04 Tom de Vries <tdevries@suse.de>
1857 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1859 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1862 * gdb.arch/mips-disassembler-options.exp: New test.
1863 * gdb.arch/mips-disassembler-options.s: New test source.
1865 2018-06-29 Pedro Alves <palves@redhat.com>
1867 * gdb.threads/names.exp: Adjust expected "info threads" output.
1869 2018-06-29 Pedro Alves <palves@redhat.com>
1871 * gdb.opt/inline-break.exp (line number, address): Add "info
1874 2018-06-29 Pedro Alves <palves@redhat.com>
1876 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1877 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1878 number and address and running to them.
1880 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1882 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1884 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1886 * lib/compiler.c: Remove executable permission flag.
1888 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1890 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1892 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1894 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1896 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1898 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1900 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1901 address argument is omitted.
1903 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1905 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1907 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1910 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1911 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1913 2018-06-26 Tom Tromey <tom@tromey.com>
1916 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1917 * gdb.rust/simple.rs (struct SimpleLayout): New.
1919 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1921 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1922 "info registers" output.
1924 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1926 * gdb.base/watchpoint-hw-attach.c: New test.
1927 * gdb.base/watchpoint-hw-attach.exp: New file.
1929 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1931 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1933 * boards/dwarf4-gdb-index.exp: Likewise.
1934 * boards/fission-dwp.exp: Likewise.
1936 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1938 * gdb.base/float128.exp: Add comment and improved fail message
1939 to the failure case of "print large128" test.
1941 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1943 * configure.ac: Remove AC_PREREQ.
1944 * configure: Re-generate.
1946 2018-06-19 Pedro Alves <palves@redhat.com>
1948 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1949 (func_extern_caller): New.
1950 (main): Call func_extern_caller.
1951 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1954 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1957 * gdb.cp/typedef-base.cc: New file.
1958 * gdb.cp/typedef-base.exp: New file.
1960 2018-06-18 Tom de Vries <tdevries@suse.de>
1962 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1964 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1965 Richard Bunt <Richard.Bunt@arm.com>
1967 * gdb.threads/attach-slow-waitpid.c: New file.
1968 * gdb.threads/attach-slow-waitpid.exp: New file.
1969 * gdb.threads/slow-waitpid.c: New file.
1971 2018-06-14 Pedro Alves <palves@redhat.com>
1973 * gdb.base/fork-running-state.c: Include <errno.h>.
1974 (exit_if_relative_exits): New.
1975 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1977 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1980 2018-06-14 Tom de Vries <tdevries@suse.de>
1983 * gdb.base/finish-pretty.c: New test.
1984 * gdb.base/finish-pretty.exp: New file.
1986 2018-06-14 Pedro Alves <palves@redhat.com>
1988 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1989 gdb's expected startup output.
1991 2018-06-14 Pedro Alves <palves@redhat.com>
1993 * lib/selftest-support.exp (selftest_setup): Remove inlined
1996 2018-06-14 Tom de Vries <tdevries@suse.de>
1998 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1999 matching of breakpoint printing.
2001 2018-06-13 Tom de Vries <tdevries@suse.de>
2004 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2005 (fork_child): ... here, and ...
2006 (fork_parent): ... here.
2008 2018-06-12 Tom de Vries <tdevries@suse.de>
2010 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2012 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2013 Stephen Roberts <stephen.roberts@arm.com>
2015 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2016 rewrite test to describe action performed, rather than possible
2019 2018-06-08 Gary Benson <gbenson@redhat.com>
2021 * gdb.threads/check-libthread-db.exp: New file.
2022 * gdb.threads/check-libthread-db.c: Likewise.
2024 2018-06-05 Tom Tromey <tom@tromey.com>
2026 * gdb.base/default.exp: Update expected "show version" output.
2028 2018-06-05 Tom Tromey <tom@tromey.com>
2031 * gdb.cp/static-print-quit.exp: Update.
2032 * lib/gdb.exp (pagination_prompt): Update.
2033 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2034 * gdb.python/python.exp: Update.
2036 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2038 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2040 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2042 * gdb.ada/bp_fun_addr: New testcase.
2044 2018-06-01 Tom Tromey <tom@tromey.com>
2046 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2048 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2049 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2050 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2051 * gdb.base/maint.exp (maint_pass_if): Update.
2053 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2055 * gdb.base/endian.exp: New test.
2056 * gdb.base/endian.c: New test source.
2058 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2061 * gdb.base/bt-selected-frame.c: New file.
2062 * gdb.base/bt-selected-frame.exp: New file.
2063 * lib/gdb.exp (get_current_frame_number): New function.
2065 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2066 Pedro Alves <palves@redhat.com>
2068 * gdb.threads/tls-core.c: Include <stdlib.h>
2069 (thread_proc): Call `abort'.
2070 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2071 (tls_core_test): New procedure, bits factored out from ...
2072 (top level): ... here. Test both native cores and gcore cores.
2074 2018-05-23 Tom Tromey <tom@tromey.com>
2076 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2078 2018-05-23 Tom Tromey <tom@tromey.com>
2080 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2082 (test_short_complaints): Likewise.
2083 (test_empty_complaints): Likewise.
2084 (test_initial_complaints): Update.
2086 2018-05-23 Tom Tromey <tom@tromey.com>
2088 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2090 2018-05-23 Tom Tromey <tom@tromey.com>
2092 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2093 (test_short_complaints): Update.
2095 2018-05-22 Pedro Alves <palves@redhat.com>
2097 * gdb.base/remote.exp: Only gdb_start after compiling the
2098 testcase. Issue "disconnect" before testing "set remote" command
2099 defaults. Issue clean_restart before running to main.
2101 2018-05-22 Pedro Alves <palves@redhat.com>
2103 * gdb.base/remote.exp: Adjust expected output of "show remote
2104 memory-write-packet-size". Add tests for "set remote
2105 memory-write-packet-size 0" and "set remote
2106 memory-write-packet-size fixed/limit".
2108 2018-05-22 Pedro Alves <palves@redhat.com>
2111 * gdb.base/utf8-identifiers.c: New file.
2112 * gdb.base/utf8-identifiers.exp: New file.
2114 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2116 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2118 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2120 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2122 2018-05-18 Tom Tromey <tom@tromey.com>
2124 * gdb.base/ptype-offsets.exp: Update.
2126 2018-05-17 Keith Seitz <keiths@redhat.com>
2128 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2129 in expected breakpoint stop locations.
2130 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2131 move to proper scope to test variable values.
2132 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2133 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2135 (main): Call not_inline_func3.
2136 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2137 inline_func1, inline_func2, and inline_func3. Test that when each
2138 breakpoint is hit, GDB properly reports both the stop location
2139 and the backtrace. Repeat tests for temporary breakpoints.
2141 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2143 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2144 rather then trying to access it in determining whether the PID
2145 of `gdbserver' could have been retrieved.
2147 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2149 * gdb.arch/amd64-init-x87-values.S: New file.
2150 * gdb.arch/amd64-init-x87-values.exp: New file.
2152 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2154 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2156 2018-05-04 Tom Tromey <tom@tromey.com>
2159 * gdb.python/python.exp: Test multi-line execute.
2161 2018-05-04 Tom Tromey <tom@tromey.com>
2164 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2166 2018-05-04 Tom Tromey <tom@tromey.com>
2169 * gdb.base/define.exp: Test defining a user command inside a user
2171 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2173 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2174 Pedro Alves <palves@redhat.com>
2176 PR breakpoints/19806 and support for PR external/20207.
2177 * gdb.base/watchpoint-unaligned.c: New file.
2178 * gdb.base/watchpoint-unaligned.exp: New file.
2180 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2182 * gdb.base/maint.exp: Make test names unique, use
2183 test_prefix_command_help to test 'help maint info', and remove
2184 repeated test of 'help maint'.
2186 2018-05-04 Tom Tromey <tom@tromey.com>
2189 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2192 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2194 * gdb.base/maint.exp: Process output from 'maint print registers'
2197 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2199 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2202 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2204 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2207 2018-05-02 Pedro Alves <palves@redhat.com>
2209 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2210 to_log_command renames.
2211 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2213 2018-05-02 Tom Tromey <tom@tromey.com>
2215 * gdb.python/py-parameter.exp: Set test message.
2217 2018-05-02 Tom Tromey <tom@tromey.com>
2220 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2221 PARAM_ZUINTEGER_UNLIMITED tests.
2223 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2226 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2229 2018-04-30 Tom Tromey <tom@tromey.com>
2231 * gdb.python/py-type.exp: Check align attribute.
2232 * gdb.python/py-type.c: New "aligncheck" global.
2234 2018-04-30 Tom Tromey <tom@tromey.com>
2237 * gdb.dwarf2/dw2-align.exp: New file.
2238 * gdb.cp/align.exp: New file.
2239 * gdb.base/align.exp: New file.
2240 * lib/gdb.exp (gdb_int128_helper): New proc.
2241 (has_int128_c, has_int128_cxx): New caching procs.
2243 2018-04-27 Tom Tromey <tom@tromey.com>
2246 * gdb.rust/simple.exp: Add inclusive range tests.
2248 2018-04-26 Pedro Alves <palves@redhat.com>
2250 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2251 ifunc breakpoint locations correctly of ifunc breakpoints set
2252 while the program resolves the ifunc.
2254 2018-04-26 Pedro Alves <palves@redhat.com>
2256 * gdb.base/gnu-ifunc-final.c: New file.
2257 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2258 * gdb.base/gnu-ifunc.exp (executable): Delete.
2259 (staticexecutable): Adjust.
2260 (lib_opts, exec_opts): Delete.
2261 (make_binsuffix, build, set-break): New procedures.
2262 (misc_tests): New, with tests factored out from the top level.
2263 (top level): Test different combinations of ifunc resolver name,
2264 resolver with and with debug info, and ifunc target with and
2265 without debug info. Wrap static tests with with_target_prefix.
2267 2018-04-26 Pedro Alves <palves@redhat.com>
2269 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2270 return type" warnings.
2272 2018-04-25 Pedro Alves <palves@redhat.com>
2274 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2276 * gdb.base/kill-after-signal.exp: Likewise.
2277 * gdb.threads/kill.exp: Likewise.
2279 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Sergio Durigan Junior <sergiodj@redhat.com>
2281 Pedro Alves <palves@redhat.com>
2283 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2284 regexps to expect for '[Inferior ... detached]' as well.
2285 * gdb.base/attach.exp: Likewise.
2286 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2287 "gdb_continue_to_end".
2288 (test_catch_syscall_with_wrong_args): Likewise.
2289 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2290 ']'. Don't set 'verbose' on.
2291 * gdb.base/foll-vfork.exp: Likewise.
2292 * gdb.base/fork-print-inferior-events.c: New file.
2293 * gdb.base/fork-print-inferior-events.exp: New file.
2294 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2295 '[Inferior ... has been killed]' message.
2296 * gdb.base/kill-after-signal.exp: Likewise.
2297 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2299 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2301 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2302 regexps to expect for '[Inferior ... detached]' as well.
2303 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2305 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2308 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2310 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2312 * gdb.threads/multiple-successive-infcall.c: New test.
2313 * gdb.threads/multiple-successive-infcall.exp: New file.
2315 2018-04-17 Tom Tromey <tom@tromey.com>
2317 * gdb.rust/simple.rs (Union): New type.
2318 (main): New local "u".
2319 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2321 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2323 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2324 number information in output of "whereis" command.
2325 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2327 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2329 * gdb.ada/info_types.exp: Adjust expected output to the line
2330 numbers now printed by "info var/func/type".
2331 * gdb.base/completion.exp: Likewise.
2332 * gdb.base/included.exp: Likewise.
2333 * gdb.cp/cp-relocate.exp: Likewise.
2334 * gdb.cp/cplusfuncs.exp: Likewise.
2335 * gdb.cp/namespace.exp: Likewise.
2336 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2338 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2340 * gdb.btrace/cpu.exp: New.
2342 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2344 * gdb.base/step-indirect-call-thunk.exp: New.
2345 * gdb.base/step-indirect-call-thunk.c: New.
2346 * gdb.reverse/step-indirect-call-thunk.exp: New.
2347 * gdb.reverse/step-indirect-call-thunk.c: New.
2349 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2351 * gdb.base/pie-fork.c: New file.
2352 * gdb.base/pie-fork.exp: New file.
2354 2018-04-11 Tom Tromey <tom@tromey.com>
2356 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2358 2018-04-10 Pedro Alves <palves@redhat.com>
2360 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2361 exits. Instead loop running forever.
2362 (fork_parent): Run forever too.
2364 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2366 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2367 mi_continue_to_line.
2368 * gdb.mi/mi-stack.c (callee4): Add comment.
2370 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2372 * gdb.mi/mi-stack.exp: Fix indentation.
2374 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2377 * gdb.arch/amd64-osabi.exp: New file.
2379 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2382 * gdb.base/osabi.exp: New file.
2384 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2386 * gdb.cp/static-typedef-print.exp: New file.
2387 * gdb.cp/static-typedef-print.cc: New file.
2389 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2391 * gdb.ada/varsize_limit: New testcase.
2393 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2395 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2397 * gdb.ada/notcplusplus: New testcase.
2399 * gdb.base/c-linkage-name.c: New file.
2400 * gdb.base/c-linkage-name.exp: New testcase.
2402 2018-03-26 Tom Tromey <tom@tromey.com>
2404 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2405 * gdb.python/py-framefilter.py (name_error): New global.
2406 (ErrorInName.function): Use name_error.
2408 2018-03-26 Tom Tromey <tom@tromey.com>
2411 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2413 2018-03-23 Keith Seitz <keiths@redhat.com>
2416 * gdb.cp/subtypes.exp: New file.
2417 * gdb.cp/subtypes.h: New file.
2418 * gdb.cp/subtypes.cc: New file.
2419 * gdb.cp/subtypes-2.cc: New file.
2421 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2423 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2424 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2425 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2426 -nostartfiles when compiling the test. Confirm that all registers
2427 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2429 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2431 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2432 option, syntax was wrong anyway.
2433 * gdb.arch/arm-disp-step.exp: Likewise.
2434 * gdb.arch/sparc64-regs.exp: Likewise.
2435 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2436 option, syntax was wrong anyway, switch to use
2437 prepare_for_testing.
2438 * gdb.arch/i386-disp-step.exp: Likewise.
2440 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2442 * gdb.ada/exec_changed.exp: Replace "target_info exists
2443 use_gdb_stub" by "use_gdb_stub".
2444 * gdb.ada/start.exp: Likewise.
2445 * gdb.base/async-shell.exp: Likewise.
2446 * gdb.base/attach-pie-misread.exp: Likewise.
2447 * gdb.base/attach-wait-input.exp: Likewise.
2448 * gdb.base/break-entry.exp: Likewise.
2449 * gdb.base/break-interp.exp: Likewise.
2450 * gdb.base/dprintf-detach.exp: Likewise.
2451 * gdb.base/nostdlib.exp: Likewise.
2452 * gdb.base/solib-nodir.exp: Likewise.
2453 * gdb.base/statistics.exp: Likewise.
2454 * gdb.base/testenv.exp: Likewise.
2455 * gdb.mi/mi-exec-run.exp: Likewise.
2456 * gdb.mi/mi-start.exp: Likewise.
2457 * gdb.multi/dummy-frame-restore.exp: Likewise.
2458 * gdb.multi/multi-arch-exec.exp: Likewise.
2459 * gdb.multi/multi-arch.exp: Likewise.
2460 * gdb.multi/tids.exp: Likewise.
2461 * gdb.multi/watchpoint-multi.exp: Likewise.
2462 * gdb.python/py-events.exp: Likewise.
2463 * gdb.threads/attach-into-signal.exp: Likewise.
2464 * gdb.threads/attach-stopped.exp: Likewise.
2465 * gdb.threads/threadapply.exp: Likewise.
2466 * lib/selftest-support.exp: Likewise.
2468 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2470 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2472 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2474 * gdb.perf/template-breakpoints.cc: New file.
2475 * gdb.perf/template-breakpoints.exp: New file.
2476 * gdb.perf/template-breakpoints.py: New file.
2478 2018-03-19 Tom Tromey <tom@tromey.com>
2480 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2482 * gdb.rust/simple.exp: Test bare identifier form of struct
2485 2018-03-19 Tom Tromey <tom@tromey.com>
2487 * gdb.gdb/observer.exp: Remove.
2489 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2491 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2492 "qualified" option when setting breakpoints.
2493 * gdb.trace/backtrace.exp: Likewise.
2494 * gdb.trace/circ.exp: Likewise.
2495 * gdb.trace/collection.exp: Likewise.
2496 * gdb.trace/disconnected-tracing.exp: Likewise.
2497 * gdb.trace/ftrace-lock.exp: Likewise.
2498 * gdb.trace/ftrace.exp: Likewise.
2499 * gdb.trace/infotrace.exp: Likewise.
2500 * gdb.trace/packetlen.exp: Likewise.
2501 * gdb.trace/passc-dyn.exp: Likewise.
2502 * gdb.trace/qtro.exp: Likewise.
2503 * gdb.trace/read-memory.exp: Likewise.
2504 * gdb.trace/report.exp: Likewise.
2505 * gdb.trace/signal.exp: Likewise.
2506 * gdb.trace/status-stop.exp: Likewise.
2507 * gdb.trace/strace.exp: Likewise.
2508 * gdb.trace/tfind.exp: Likewise.
2509 * gdb.trace/trace-break.exp: Likewise.
2510 * gdb.trace/trace-condition.exp: Likewise.
2511 * gdb.trace/trace-mt.exp: Likewise.
2512 * gdb.trace/tstatus.exp: Likewise.
2513 * gdb.trace/tsv.exp: Likewise.
2514 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2515 * gdb.trace/unavailable.exp: Likewise.
2516 * gdb.trace/while-dyn.exp: Likewise.
2518 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2520 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2521 that libinproctrace is copied to the target.
2523 2018-03-14 Tom Tromey <tom@tromey.com>
2526 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2528 * gdb.base/wchar.exp: Likewise.
2530 2018-03-14 Tom Tromey <tom@tromey.com>
2533 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2536 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2539 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2540 "target" to remote_exec.
2542 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2545 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2546 ${board}_upload): Remove.
2548 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2550 * gdb.cp/watch-cp.cc: New test.
2551 * gdb.cp/watch-cp.exp: New file.
2553 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2555 * gdb.base/infcall-nested-structs.exp: New file.
2556 * gdb.base/infcall-nested-structs.c: New file.
2557 * gdb.base/float.exp: Add riscv support.
2559 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2561 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2562 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2564 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2566 * gdb.server/abspath.exp: New file.
2567 * lib/gdb.exp (with_cwd): New procedure.
2569 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2571 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2573 (gdb_is_target_remote_prompt): New proc.
2574 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2575 (gdb_is_target_native): Pass prompt parameter to
2578 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2580 * gdb.base/load-command.c: New file.
2581 * gdb.base/load-command.exp: New file.
2582 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2583 (gdb_is_target_1): ...this, and generalize for other targets
2585 (gdb_is_target_remote): Use gdb_is_target_1.
2586 (gdb_is_target_native): use gdb_is_target_1.
2588 2018-02-26 Tom Tromey <tom@tromey.com>
2591 * gdb.python/py-framefilter.exp: Update test.
2593 2018-02-26 Tom Tromey <tom@tromey.com>
2595 * gdb.dwarf2/variant.c: New file.
2596 * gdb.dwarf2/variant.exp: New file.
2598 2018-02-26 Tom Tromey <tom@tromey.com>
2600 * gdb.rust/simple.exp: Accept more possible results in enum test.
2602 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2604 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2607 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2609 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2610 name of a variable: $actual_linejj -> $actual_line.
2612 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2614 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2616 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2618 * gdb.btrace/buffer-size.exp: Do not force BTS.
2620 2018-02-14 Pedro Alves <palves@redhat.com>
2622 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2625 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2627 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2630 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2632 * gdb.cp/m-static.exp: Check type of optimized out static
2635 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2637 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2638 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2640 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2641 Leszek Swirski <leszeks@google.com>
2643 * gdb.python/py-prettyprint.c
2644 (struct to_string_returns_value_inner,
2645 struct to_string_returns_value_wrapper): New.
2646 (main): Add tsrvw variable.
2647 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2648 ToStringReturnsValueWrapper): New classes.
2649 (register_pretty_printers): Register new pretty-printers.
2650 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2651 recursive pretty printer.
2652 * gdb.python/py-mi.exp: Likewise.
2654 2018-02-01 Leszek Swirski <leszeks@google.com>
2656 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2657 functions with the same name as an include file are parsed
2660 2018-02-01 Yao Qi <yao.qi@linaro.org>
2662 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2665 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2667 * gdb.arch/powerpc-prologue-frame.s: New file.
2668 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2669 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2671 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2673 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2675 2018-01-30 Pedro Alves <palves@redhat.com>
2678 * gdb.base/interrupt-daemon.c: New.
2679 * gdb.base/interrupt-daemon.exp: New.
2680 * gdb.multi/multi-term-settings.c: New.
2681 * gdb.multi/multi-term-settings.exp: New.
2683 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2685 * gdb.base/break.exp: Save the location where the breakpoint
2686 on break.c:47 was actually inserted when debugging the version
2687 compiled at -O2 and use it in the expected output of the "info
2688 break" test performed soon after.
2690 2018-01-22 Pedro Alves <palves@redhat.com>
2691 Sergio Durigan Junior <sergiodj@redhat.com>
2693 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2694 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2696 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2698 * gdb.base/break-include.c, gdb.base/break-include.inc,
2699 gdb.base/break-include.exp: New files.
2700 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2701 line number now being the actual line number where the breakpoint
2703 * gdb.mi/mi-break.exp: Likewise.
2704 * gdb.mi/mi-reverse.exp: Likewise.
2705 * gdb.mi/mi-simplerun.exp: Ditto.
2707 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2709 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2711 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2713 2018-01-21 Don Breazeal <donb@codesourcery.com>
2714 Andrew Burgess <andrew.burgess@embecosm.com>
2716 * gdb.mi/basics.c: Add new global.
2717 * gdb.mi/mi-frame-regs.exp: New file.
2718 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2721 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2723 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2724 non-parameter, and on an unknown symbol.
2726 2018-01-19 Tom Tromey <tom@tromey.com>
2728 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2729 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2731 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2733 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2734 setrlimit and chdir to int.
2736 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2738 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2740 (my_tend): Likewise.
2741 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2742 rationale of avoiding FP- and vector instructions.
2744 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2746 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2747 "info reg" with "\[ \t\]*".
2748 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2750 * gdb.arch/s390-multiarch.exp: Ditto.
2751 * gdb.base/pc-fp.exp: Ditto.
2752 * gdb.reverse/i386-precsave.exp: Ditto.
2753 * gdb.reverse/i386-reverse.exp: Ditto.
2754 * gdb.reverse/i387-env-reverse.exp: Ditto.
2755 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2757 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2759 * lib/gdb.exp (gdb_compile): Re-enable use of
2760 universal_compile_options for languages other than Rust.
2762 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2764 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2766 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2769 * gdb.base/solib-vanish.exp: New.
2770 * gdb.base/solib-vanish-main.c: New.
2771 * gdb.base/solib-vanish-lib1.c: New.
2772 * gdb.base/solib-vanish-lib2.c: New.
2774 2018-01-17 Yao Qi <yao.qi@linaro.org>
2776 * gdb.compile/compile.exp: Match the address printed for
2777 frame in the output of command "bt".
2779 2018-01-15 Tom Tromey <tom@tromey.com>
2781 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2784 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2786 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2788 (prepare): Return 0 on error, 1 on success.
2790 2018-01-12 Pedro Alves <palves@redhat.com>
2792 * gdb.base/continue-after-aborted-step-over.c: New.
2793 * gdb.base/continue-after-aborted-step-over.exp: New.
2795 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2797 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2798 options when not creating an executable.
2800 2018-01-11 Pedro Alves <palves@redhat.com>
2803 * gdb.server/stop-reply-no-thread.c: New file.
2804 * gdb.server/stop-reply-no-thread.exp: New file.
2806 2018-01-10 Pedro Alves <palves@redhat.com>
2809 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2810 functions too. Test setting breakpoints and printing C functions
2811 with no debug info too.
2812 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2814 2018-01-10 Pedro Alves <palves@redhat.com>
2817 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2820 2018-01-10 Pedro Alves <palves@redhat.com>
2823 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2825 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2827 * gdb.server/unittest.exp: Match the output in non-development
2830 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2832 * gdb.gdb/unittest.exp: Match output in non-development mode.
2834 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2836 * gdb.ada/access_tagged_param.exp: Relax expected output
2837 for value of "ObjL" in "continue" to pck.inspect breakpoint
2840 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2842 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2843 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2845 2018-01-05 Pedro Alves <palves@redhat.com>
2848 * gdb.base/libsegfault.exp: New.
2850 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2853 * gdb.ada/access_tagged_param.exp: New file.
2854 * gdb.ada/access_tagged_param/foo.adb: New file.
2856 2018-01-05 Pedro Alves <palves@redhat.com>
2859 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2860 exercise lower case too, and to exercise both full matching and
2863 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2865 * gdb.ada/rename_subscript_param: New testcase.
2867 2018-01-05 Jerome Guitton <guitton@adacore.com>
2869 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2871 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2873 * gdb.ada/convvar_comp: New testcase.
2875 2018-01-05 Xavier Roirand <roirand@adacore.com>
2877 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2878 (My_Table): New global variable.
2879 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2881 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2884 * gdb.ada/maint_with_ada: New testcase.
2886 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2889 * gdb.ada/bp_c_mixed_case: New testcase.
2891 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2894 * gdb.ada/complete.exp: Add "complete break ada" test.
2896 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2899 * gdb.ada/info_addr_mixed_case: New testcase.
2901 2018-01-03 Xavier Roirand <roirand@adacore.com>
2903 * gdb.ada/excep_handle.exp: New testcase.
2904 * gdb.ada/excep_handle/foo.adb: New file.
2905 * gdb.ada/excep_handle/pck.ads: New file.
2907 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2909 * gdb.base/step-line.c: Add extra empty line in copyright header.
2910 * gdb.base/step-line.inp: Likewise.
2912 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2914 * gdb.ada/dyn_stride.exp: Add slice test.
2916 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2918 * gdb.ada/dyn_stride: New testcase.
2920 2017-12-27 Stafford Horne <shorne@gmail.com>
2922 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2923 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2925 2017-12-27 Stafford Horne <shorne@gmail.com>
2927 * gdb.base/reggroups.c: New file.
2928 * gdb.base/reggroups.exp: New file.
2930 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2932 * gdb.dwarf2/ada-valprint-error.c: New file.
2933 * gdb.dwarf2/ada-valprint-error.exp: New file.
2935 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2937 * gdb.ada/assign_arr: New testcase.
2939 2017-12-18 Xavier Roirand <roirand@adacore.com>
2941 * gdb.ada/funcall_ptr: New testcase.
2943 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2946 * gdb.base/ptype-offsets.cc: New file.
2947 * gdb.base/ptype-offsets.exp: New file.
2949 2017-12-15 Yao Qi <yao.qi@linaro.org>
2951 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2954 2017-12-15 Xavier Roirand <roirand@adacore.com>
2956 * gdb.ada/same_component_name: New testcase.
2958 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2960 * gdb.ada/str_binop_equal: New testcase.
2962 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2964 * gdb.ada/task_switch_in_core: New testcase.
2966 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2968 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2969 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2970 call test_bkpt_qualified.
2971 (test_bkpt_qualified): New proc.
2973 2017-12-13 Pedro Alves <palves@redhat.com>
2975 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2976 Tighten regexp by matching with an anchor.
2978 2017-12-13 Pedro Alves <palves@redhat.com>
2980 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2981 ("expression with namespace"): New set of tests.
2982 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2983 (Nested::Test_NS::qux): New.
2984 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2985 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2987 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2989 * gdb.base/server-del-break.c: New file.
2990 * gdb.base/server-del-break.exp: New file.
2992 2017-12-12 Stafford Horne <shorne@gmail.com>
2994 * gdb.xml/tdesc-regs.exp: Add or1k support.
2996 2017-12-12 Stafford Horne <shorne@gmail.com>
2998 * gdb.base/bp-permanent.c: Define nop of or1k.
3000 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3002 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3003 output with components being reordered.
3005 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3007 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3008 output with components being reordered.
3010 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 Pedro Alves <palves@redhat.com>
3013 * gdb.base/maint.exp (check for .gdb_index): Check also for
3015 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3016 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3017 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3018 (.gdb_index used after symbol reloading): Support also .debug_names.
3019 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3021 2017-12-08 Yao Qi <yao.qi@linaro.org>
3023 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3024 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3026 2017-12-08 Yao Qi <yao.qi@linaro.org>
3028 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3029 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3031 2017-12-08 Yao Qi <yao.qi@linaro.org>
3033 * gdb.arch/aarch64-tagged-pointer.c: New file.
3034 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3036 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3038 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3041 2017-12-07 Keith Seitz <keiths@redhat.com>
3043 PR breakpoints/22569
3044 * gdb.linespec/ls-errs.exp: Change expected result of "break
3045 -source this file has spaces.c -line 3".
3046 Check that an explicit source file followed by whitespace is
3047 identified as an invalid explicit location.
3049 2017-12-07 Keith Seitz <keiths@redhat.com>
3051 * gdb.cp/nested-types.cc: New file.
3052 * gdb.cp/nested-types.exp: New file.
3053 * lib/cp-support.exp: Load data-structures.exp library.
3054 (debug_cp_test_ptype_class): New global.
3055 (cp_ptype_class_verbose, next_line): New procedures.
3056 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3057 Add and document new return value.
3058 Switch the list of lines to a queue.
3059 Add support for new `type' key for nested type definitions.
3060 Add debugging/troubleshooting messages.
3061 * lib/data-structures.exp: New file.
3063 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3065 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3066 with proc_with_prefix, don't use with_test_prefix.
3068 2017-12-07 Tom Tromey <tom@tromey.com>
3070 * gdb.base/break.exp: Add test for empty "commands".
3072 2017-12-07 Yao Qi <yao.qi@linaro.org>
3074 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3075 malloc and catch syscall.
3077 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3079 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3080 tests for explicit locations.
3082 2017-12-06 Pedro Alves <palves@redhat.com>
3084 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3085 force-disabling XML descriptions.
3087 2017-12-04 Pedro Alves <palves@redhat.com>
3090 * gdb.arch/amd64-disp-step-avx.S: New file.
3091 * gdb.arch/amd64-disp-step-avx.exp: New file.
3093 2017-12-03 Pedro Alves <palves@redhat.com>
3095 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3097 (parent_function): Print distinct messages when waitpid fails, or
3098 the child exits with a signal, or the child exits for an unhandled
3100 * gdb.threads/process-dies-while-detaching.exp
3101 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3102 it. Wait for both inferior output and GDB's prompt. Use an
3103 indirect spawn id list.
3104 (do_detach): New parameter 'child_exit'. Use it to compute
3105 expected inferior output.
3106 (test_detach, test_detach_watch, test_detach_killed_outside):
3107 Adjust to pass down the expected child exit kind.
3109 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3110 Sergio Durigan Junior <sergiodj@redhat.com>
3111 Pedro Alves <palves@redhat.com>
3113 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3115 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3117 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3118 to 'symbol-file' and 'add-symbol-file' can be
3119 position-independent.
3121 2017-12-01 Yao Qi <yao.qi@linaro.org>
3123 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3124 the URL in copyright header.
3125 * gdb.arch/aarch64-fp.exp: Likewise.
3126 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3127 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3128 * gdb.base/expand-psymtabs.exp: Likewise.
3129 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3130 * gdb.fortran/common-block.exp: Likewise.
3131 * gdb.fortran/common-block.f90: Likewise.
3132 * gdb.fortran/logical.exp: Likewise.
3133 * gdb.fortran/vla-datatypes.f90: Likewise.
3134 * gdb.fortran/vla-sub.f90: Likewise.
3136 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3138 * gdb.ada/repeat_dyn: New testcase.
3140 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3142 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3143 Update for changed thread numbering.
3144 * gdb.cell/bt.exp: Update for changed GDB output.
3146 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3148 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3149 setting isremote by hand.
3150 * boards/dwarf4-gdb-index.exp: Likewise.
3151 * boards/fission.exp: Likewise.
3152 * boards/stabs.exp: Likewise.
3154 2017-11-30 Pedro Alves <palves@redhat.com>
3156 * gdb.linespec/cpls-ops.exp
3157 (check_explicit_skips_function_argument): Extract the underlying
3158 type of size_t instead of hardcoding it.
3160 2017-11-29 Pedro Alves <palves@redhat.com>
3163 * gdb.linespec/cpls-abi-tag.cc: New file.
3164 * gdb.linespec/cpls-abi-tag.exp: New file.
3166 2017-11-29 Pedro Alves <palves@redhat.com>
3168 * gdb.base/langs.exp: Use -qualified.
3169 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3171 * gdb.cp/namespace.exp: Use -qualified.
3172 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3173 (overload-3, template-overload, template-ret-type, const-overload)
3174 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3176 (test_driver): Call them.
3177 * gdb.cp/save-bp-qualified.cc: New.
3178 * gdb.cp/save-bp-qualified.exp: New.
3179 * gdb.linespec/explicit.exp: Test -qualified.
3180 * lib/completion-support.exp (completion::explicit_opts_list): Add
3182 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3184 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3186 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3188 2017-11-29 Tom Tromey <tom@tromey.com>
3190 * gdb.base/relocate.exp: Update invalid argument test.
3191 Add new tests for invalid arguments.
3193 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3195 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3197 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3199 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3201 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3202 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3203 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3205 * gdb.cp/shadow.cc (B.func): Return 0.
3207 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3209 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3210 expected output in gdb_expect call to allow the exception
3211 message to be present as well. Fix syntax confusion to avoid
3212 TCL thinking that exception_name is an array.
3214 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3216 * gdb.arch/spu-info.c: Include <unistd.h>.
3217 (do_signal_test): Fix broken calls to write.
3218 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3219 Fix checks for empty mailboxes. Update signal tests for corrected
3220 do_signal_test routine. Allow nonzero event status.
3221 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3222 * gdb.cell/arch.exp: Use standard_output_file.
3223 * gdb.cell/break.exp: Likewise.
3224 * gdb.cell/bt.exp: Likewise.
3225 * gdb.cell/core.exp: Likewise.
3226 * gdb.cell/dwarfaddr.exp: Likewise.
3227 * gdb.cell/ea-cache.exp: Likewise.
3228 * gdb.cell/ea-standalone.exp: Likewise.
3229 * gdb.cell/f-regs.exp: Likewise.
3230 * gdb.cell/fork.exp: Likewise.
3231 * gdb.cell/gcore.exp: Likewise.
3232 * gdb.cell/mem-access.exp: Likewise.
3233 * gdb.cell/ptype.exp: Likewise.
3234 * gdb.cell/registers.exp: Likewise.
3235 * gdb.cell/sizeof.exp: Likewise.
3236 * gdb.cell/solib-symbol.exp: Likewise.
3237 * gdb.cell/solib.exp: Likewise.
3239 2017-11-25 Pedro Alves <palves@redhat.com>
3241 * gdb.base/complete-empty.exp: New file.
3242 * gdb.base/completion.exp: Adjust.
3244 2017-11-25 Pedro Alves <palves@redhat.com>
3246 * gdb.linespec/cpls-ops.cc: New file.
3247 * gdb.linespec/cpls-ops.exp: New file.
3248 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3249 factored out from ...
3250 (test_complete_prefix_range): ... this.
3252 2017-11-24 Pedro Alves <palves@redhat.com>
3254 * gdb.linespec/cpcompletion.exp: New file.
3255 * gdb.linespec/cpls-hyphen.cc: New file.
3256 * gdb.linespec/cpls.cc: New file.
3257 * gdb.linespec/cpls2.cc: New file.
3258 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3259 test to use test_gdb_complete_unique. Add label completion,
3260 keyword completion and explicit location completion tests.
3261 * lib/completion-support.exp: New file.
3263 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3265 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3266 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3267 when hitting an exception catchpoint.
3269 2017-11-22 Yao Qi <yao.qi@linaro.org>
3271 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3273 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3275 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3276 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3277 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3279 2017-11-22 Yao Qi <yao.qi@linaro.org>
3281 * gdb.base/info-os.exp: Pass pthreads.
3282 * gdb.multi/multi-attach.exp: Likewise.
3284 2017-11-22 Yao Qi <yao.qi@linaro.org>
3286 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3289 2017-11-22 Yao Qi <yao.qi@linaro.org>
3291 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3292 * gdb.base/break-interp.exp: Likewise.
3293 * gdb.base/jit-attach-pie.exp: Likewise.
3295 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3297 * gdb.base/float128.c (large128): New variable.
3298 * gdb.base/float128.exp: Add test to print largest __float128 value.
3300 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3302 * gdb.arch/vsx-regs.exp: Update register content checks.
3304 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3306 * gdb.arch/ppc-longdouble.exp: New file.
3307 * gdb.arch/ppc-longdouble.c: Likewise.
3309 2017-11-21 Pedro Alves <palves@redhat.com>
3311 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3313 2017-11-20 Pedro Alves <palves@redhat.com>
3315 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3316 (long_double_typedef): New typedefs.
3317 Use DEF on double and long double.
3318 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3320 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3321 and 'long_double_ptr_same_size' locals. Use them to decide
3322 whether cast from array/function to float is valid/invalid.
3324 2017-11-17 Tom Tromey <tom@tromey.com>
3326 * gdb.rust/traits.rs: New file.
3327 * gdb.rust/traits.exp: New file.
3329 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3331 * gdb.ada/minsyms: New testcase.
3333 2017-11-16 Pedro Alves <palves@redhat.com>
3335 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3336 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3338 2017-11-16 Pedro Alves <palves@redhat.com>
3340 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3341 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3343 2017-11-16 Pedro Alves <palves@redhat.com>
3345 * gdb.server/reconnect-ctrl-c.c: New file.
3346 * gdb.server/reconnect-ctrl-c.exp: New file.
3348 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3350 * gdb.python/py-rbreak.exp: New file.
3351 * gdb.python/py-rbreak.c: New file.
3352 * gdb.python/py-rbreak-func2.c: New file.
3354 2017-11-16 Pedro Alves <palves@redhat.com>
3356 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3358 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3361 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3363 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3366 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3368 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3371 2017-11-09 Pedro Alves <palves@redhat.com>
3373 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3374 factored out from ...
3375 (top level): ... here, and adjusted to avoid expecting beyond the
3376 prompt in a single gdb_test_multiple.
3378 2017-11-09 Pedro Alves <palves@redhat.com>
3380 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3382 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3383 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3384 * gdb.server/ext-run.exp ("kill" test): Likewise.
3385 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3387 2017-11-09 Pedro Alves <palves@redhat.com>
3389 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3390 match till end of line.
3392 2017-11-09 Pedro Alves <palves@redhat.com>
3394 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3396 2017-11-09 Pedro Alves <palves@redhat.com>
3398 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3399 New procedures, factored out from ...
3400 (top level): ... here, and adjusted to avoid expecting beyond the
3403 2017-11-09 Pedro Alves <palves@redhat.com>
3405 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3406 output. Fix '?' match.
3408 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3410 * gdb.ada/scoped_watch: New testcase.
3411 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3412 which is actually correct.
3413 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3414 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3416 2017-11-08 Pedro Alves <palves@redhat.com>
3418 * gdb.gdb/complaints.exp (test_initial_complaints)
3419 (test_serial_complaints, test_short_complaints): Call
3420 complaint_internal instead of complaint.
3422 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3424 * gdb.threads/tls-core.c: New file.
3425 * gdb.threads/tls-core.exp: Likewise.
3427 2017-11-08 Pedro Alves <palves@redhat.com>
3429 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3430 (p Exported_Capitalized): New test.
3431 (p exported_capitalized): New test.
3433 2017-11-07 Pedro Alves <palves@redhat.com>
3435 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3437 2017-11-07 Pedro Alves <palves@redhat.com>
3439 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3440 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3441 (disable_invalid, disable_inverted, disable_negative): New
3443 ("bad numbers"): New set of tests.
3445 2017-11-07 Pedro Alves <palves@redhat.com>
3447 * gdb.cp/ena-dis-br-range.exp: Add tests.
3449 2017-11-07 Pedro Alves <palves@redhat.com>
3451 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3453 2017-11-07 Xavier Roirand <roirand@adacore.com>
3454 Pedro Alves <palves@redhat.com>
3456 * gdb.base/ena-dis-br.exp: Add reference to
3457 gdb.cp/ena-dis-br-range.exp.
3458 * gdb.cp/ena-dis-br-range.exp: New file.
3459 * gdb.cp/ena-dis-br-range.cc: New file.
3461 2017-11-06 Pedro Alves <palves@redhat.com>
3463 * gdb.base/attach-non-pgrp-leader.c: New.
3464 * gdb.base/attach-non-pgrp-leader.exp: New.
3466 2017-11-06 Pedro Alves <palves@redhat.com>
3468 * configure.ac: No longer check for termio.h and sgtty.h.
3469 * configure: Regenerate.
3470 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3471 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3472 Remove termio and sgtty code.
3474 2017-11-03 Yao Qi <yao.qi@linaro.org>
3476 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3479 2017-11-03 Yao Qi <yao.qi@linaro.org>
3481 * gdb.python/py-thrhandle.exp: Skip it if python is not
3484 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3486 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3487 as a breakpoint command.
3489 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3492 * gdb.python/py-infthread.exp: Test calling
3493 InferiorThread.inferior () multiple times in a row.
3495 2017-10-27 Keith Seitz <keiths@redhat.com>
3497 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3498 Test "info break" for every inlined function breakpoint.
3500 2017-10-27 Yao Qi <yao.qi@linaro.org>
3502 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3504 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3506 * gdb.cp/classes.exp (test_static_members): Test printing
3508 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3509 (Inner::instance, Outer::instance): New.
3511 2017-10-24 Pedro Alves <palves@redhat.com>
3513 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3514 extra console" test in two stages.
3516 2017-10-24 Pedro Alves <palves@redhat.com>
3518 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3520 2017-10-24 Pedro Alves <palves@redhat.com>
3522 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3525 2017-10-24 Pedro Alves <palves@redhat.com>
3527 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3528 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3530 2017-10-24 Pedro Alves <palves@redhat.com>
3532 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3533 parameter and handle it. Don't output read value in test name.
3535 2017-10-24 Pedro Alves <palves@redhat.com>
3537 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3540 2017-10-24 Pedro Alves <palves@redhat.com>
3542 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3543 include the unstable output directory name in the test's name.
3544 (initial_setup_simple) <'set args'>: Use custom test name.
3546 2017-10-24 Pedro Alves <palves@redhat.com>
3548 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3549 with explicit test name.
3551 2017-10-20 Pedro Alves <palves@redhat.com>
3553 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3554 'wait -i'. Use gdb_assert and remote_close.
3556 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3558 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3559 number from variable rather than hard-coded.
3561 2017-10-19 Pedro Alves <palves@redhat.com>
3563 * gdb.base/long-inferior-output.c: New file.
3564 * gdb.base/long-inferior-output.exp: New file.
3566 2017-11-18 Keith Seitz <keiths@redhat.com>
3568 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3571 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3572 Add additional user-defined conversion operator tests.
3574 2017-10-17 Pedro Alves <palves@redhat.com>
3576 * boards/native-stdio-gdbserver.exp: Load "local-board".
3578 2017-10-17 Pedro Alves <palves@redhat.com>
3580 * gdb.base/quit-live.c: New file.
3581 * gdb.base/quit-live.exp: New file.
3583 2017-10-16 Keith Seitz <keiths@redhat.com>
3585 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3586 (class_with_protected_typedef, class_with_private_typedef)
3587 (struct_with_public_typedef, struct_with_protected_typedef)
3588 (struct_with_private_typedef): New classes/structs.
3589 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3590 typedefs and access specifiers.
3592 2017-10-16 Pedro Alves <palves@redhat.com>
3593 Simon Marchi <simon.marchi@polymtl.ca>
3595 * README (Local vs Remote vs Native): New section.
3596 * boards/local-board.exp: New file, with bits factored out from
3598 * boards/native-extended-gdbserver.exp: ... here. Load
3600 * boards/native-gdbserver.exp: Load "local-board".
3601 (${board}_spawn, ${board}_exec): Delete.
3602 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3604 * boards/stdio-gdbserver-base.exp: ... this new file.
3605 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3606 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3608 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3609 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3610 stdio_gdbserver_command.
3611 (${board}_get_remote_address, ${board}_get_comm_port)
3612 (${board}_download, ${board}_upload): Delete.
3613 (get_target_remote_pipe_cmd): New.
3615 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3617 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3618 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3619 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3620 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3621 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3622 remove with_test_prefix.
3624 2017-10-13 Pedro Alves <palves@redhat.com>
3626 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3627 * gdb.base/annota1.exp: Use it instead of is_remote.
3628 * gdb.base/annota3.exp: Use it instead of is_remote.
3629 * gdb.cp/annota2.exp: Use it instead of is_remote.
3630 * gdb.cp/annota3.exp: Use it instead of is_remote.
3631 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3633 2017-10-13 Pedro Alves <palves@redhat.com>
3635 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3636 (test_num_test_vars, run_and_count_vars, find_env)
3637 (test_set_unset_env, test_inherit_env_var): New procedures.
3638 (top level): Use them.
3640 2017-10-13 Pedro Alves <palves@redhat.com>
3642 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3643 also skip on stub-like targets.
3645 2017-10-13 Pedro Alves <palves@redhat.com>
3648 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3649 (top level): Move some tests to ...
3650 (test_not_found): ... this new procedure.
3651 (top level): Call it.
3653 2017-10-13 Pedro Alves <palves@redhat.com>
3655 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3656 expect different "info terminal" output if testing with a
3659 2017-10-13 Pedro Alves <palves@redhat.com>
3660 Simon Marchi <simon.marchi@polymtl.ca>
3663 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3665 2017-10-13 Pedro Alves <palves@redhat.com>
3667 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3670 2017-10-13 Pedro Alves <palves@redhat.com>
3672 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3675 2017-10-13 Pedro Alves <palves@redhat.com>
3677 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3680 2017-10-13 Pedro Alves <palves@redhat.com>
3682 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3684 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3685 instead of is_remote.
3687 2017-10-13 Pedro Alves <palves@redhat.com>
3689 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3690 (top level): Add comment.
3692 2017-10-13 Pedro Alves <palves@redhat.com>
3694 * gdb.base/remote.exp (top level): Fix comment typo and add
3697 2017-10-13 Pedro Alves <palves@redhat.com>
3698 Simon Marchi <simon.marchi@polymtl.ca>
3700 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3701 calls and add comments. Skip test if use_gdb_stub is set.
3702 (top level): Use "set cwd" command instead of "cd" command.
3704 2017-10-13 Pedro Alves <palves@redhat.com>
3706 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3707 is_remote target check.
3709 2017-10-13 Pedro Alves <palves@redhat.com>
3711 * gdb.base/scope.exp: Use build_executable + clean_restart +
3712 gdb_file_cmd instead of prepare_for_testing and no longer skip
3713 "before run" tests on is_remote target boards. Update comments.
3714 * boards/native-extended-gdbserver.exp
3715 (extended_gdbserver_load_last_file): New, factored out from ...
3716 (gdb_load): ... this. Move further below and add comment.
3717 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3719 2017-10-12 Pedro Alves <palves@redhat.com>
3721 * gdb.base/attach.exp: Remove references to gdb64.
3722 * gdb.base/dbx.exp: Remove references to gdb64.
3724 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3725 Pedro Alves <palves@redhat.com>
3727 * gdb.base/label.exp: Remove is_remote target check.
3729 2017-10-12 Pedro Alves <palves@redhat.com>
3731 * gdb.base/auvx.exp (coredir): Update comment.
3732 (top level) <core_works>: Use "set cwd" command instead of "cd"
3735 2017-10-12 Pedro Alves <palves@redhat.com>
3736 Simon Marchi <simon.marchi@polymtl.ca>
3738 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3741 2017-10-12 Pedro Alves <palves@redhat.com>
3742 Simon Marchi <simon.marchi@polymtl.ca>
3744 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3745 Instead skip if there's any gdb_protocol set.
3747 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3748 Pedro Alves <palves@redhat.com>
3750 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3752 2017-10-12 Pedro Alves <palves@redhat.com>
3753 Simon Marchi <simon.marchi@polymtl.ca>
3755 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3756 instead of on dejagnu remote boards.
3758 2017-10-12 Pedro Alves <palves@redhat.com>
3759 Simon Marchi <simon.marchi@polymtl.ca>
3761 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3762 checks. Use build_executable + clean_restart instead of
3763 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3764 of enabling non-stop after starting gdb.
3766 2017-10-12 Pedro Alves <palves@redhat.com>
3768 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3769 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3770 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3771 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3773 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3775 * gdb.arch/arc-tdesc-cpu.exp: New file.
3776 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3778 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3780 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3782 2017-10-10 Pedro Alves <palves@redhat.com>
3784 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3787 2017-10-10 Pedro Alves <palves@redhat.com>
3789 * lib/selftest-support.exp (selftest_setup): Update for
3790 captured_command_loop's prototype change.
3792 2017-10-09 Pedro Alves <palves@redhat.com>
3794 Test both arch1=>arch2 and arch2=>arch1.
3796 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3797 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3799 (append_arch1_options, append_arch2_options, append_arch_options)
3800 (build_executables): New procedures.
3801 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3803 (top level): Add new 'first_arch' testing axis.
3805 2017-10-09 Pedro Alves <palves@redhat.com>
3807 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3809 (thread_start, all_started): New functions.
3810 (main): Spawn new thread and wait until it is scheduled.
3811 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3813 (do_test): Add 'selected_thread' parameter. Run to all_started
3814 instead of main. Explicitly set the breakpoint at main. Switch
3815 to the SELECTED_THREAD thread.
3816 (top level): Test handling the exec event with either the main
3817 thread or the second thread selected.
3819 2017-10-09 Pedro Alves <palves@redhat.com>
3821 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3822 logic. Move STOP marker after the value checks.
3823 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3826 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3828 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3830 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3832 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3833 integer-to-dfp conversion.
3834 * gdb.base/dfp-test.exp: Likewise.
3836 2017-10-04 Pedro Alves <palves@redhat.com>
3838 * gdb.multi/hangout.c: Include <unistd.h>.
3839 (hangout_loop): New function.
3840 (main): Call alarm. Call hangout_loop in a loop.
3841 * gdb.multi/hello.c: Include <unistd.h>.
3842 (hello_loop): New function.
3843 (main): Call alarm. Call hangout_loop in a loop.
3844 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3845 inferior with the other selected.
3847 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3849 * gdb.mi/list-thread-groups-available.exp: New file.
3850 * gdb.mi/list-thread-groups-available.c: New file.
3852 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3854 * gdb.base/set-cwd.exp: Make it available on
3855 native-extended-gdbserver.
3857 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3859 * gdb.base/set-cwd.c: New file.
3860 * gdb.base/set-cwd.exp: Likewise.
3862 2017-10-02 Tom Tromey <tom@tromey.com>
3865 * gdb.rust/simple.rs (main): New variable "fslice".
3866 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3868 2017-10-02 Tom Tromey <tom@tromey.com>
3870 * gdb.rust/simple.exp: Test ptype of a slice.
3872 2017-10-02 Tom Tromey <tom@tromey.com>
3874 * gdb.rust/simple.exp: Test index of slice.
3876 2017-09-27 Tom Tromey <tom@tromey.com>
3878 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3880 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3881 Pedro Alves <palves@redhat.com>
3883 * gdb.base/compare-sections.exp (get value of read-only section): Read
3885 (corrupt read-only section): Likewise and don't set written if patching
3888 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3890 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3893 2017-09-20 Pedro Alves <palves@redhat.com>
3895 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3896 symbol names in gdb's output.
3897 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3899 2017-09-20 Pedro Alves <palves@redhat.com>
3901 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3903 (test_list_ambiguous_symbol): ... this and add a symbol name
3905 (test_list_ambiguous_function): Reimplement on top of
3906 test_list_ambiguous_symbol and also test listing ambiguous
3908 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3909 (ambiguous_fun): ... this.
3910 (ambiguous_var): New.
3911 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3912 (ambiguous_fun): ... this.
3913 (ambiguous_var): New.
3915 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3917 * gdb.base/starti.c: New file.
3918 * gdb.base/starti.exp: New file.
3919 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3921 2017-09-14 Pedro Alves <palves@redhat.com>
3923 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3924 (top level): Use it instead of runto.
3926 2017-09-11 Tom Tromey <tom@tromey.com>
3928 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3930 2017-09-11 Tom Tromey <tom@tromey.com>
3932 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3933 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3935 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3937 * gdb.fortran/printing-types.exp: New file.
3938 * gdb.fortran/printing-types.exp: New file.
3940 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3942 * gdb.fortran/vla-ptype.exp: Fix typos.
3943 * gdb.fortran/vla-value.exp: Same.
3945 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3947 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3948 * gdb.mi/mi-var-child-f.exp: Likewise.
3949 * gdb.mi/mi-vla-fortran.exp: Likewise.
3951 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3952 Christoph Weinmann <christoph.t.weinmann@intel.com>
3953 Bernhard Heckel <bernhard.heckel@intel.com>
3955 * gdb.fortran/ptr-indentation.f90: New file.
3956 * gdb.fortran/ptr-indentation.exp: New file.
3958 2017-09-05 Tom Tromey <tom@tromey.com>
3961 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3963 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3965 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3967 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3969 * gdb.threads/tls-nodebug-pie.c: New file.
3970 * gdb.threads/tls-nodebug-pie.exp: New file.
3972 2017-09-05 Tom Tromey <tom@tromey.com>
3974 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3977 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3979 * gdb.multi/multi-arch-exec.exp: Test with different
3980 "follow-exec-mode" settings.
3981 (do_test): New procedure.
3983 2017-09-04 Pedro Alves <palves@redhat.com>
3985 * gdb.base/func-static.c (S::method const, S::method volatile)
3986 (S::method volatile const): New methods.
3987 (c_s, v_s, cv_s): New instances.
3988 (main): Call method() on them.
3989 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3990 (cannot_resolve): New procedure.
3991 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3992 print-quote-unquoted columns.
3993 (do_test): Test printing each scope too.
3995 2017-09-04 Pedro Alves <palves@redhat.com>
3997 * gdb.base/local-static.exp: Also test with
3998 class::method::variable wholly quoted.
3999 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4001 2017-09-04 Pedro Alves <palves@redhat.com>
4003 * gdb.base/local-static.c: New.
4004 * gdb.base/local-static.cc: New.
4005 * gdb.base/local-static.exp: New.
4007 2017-09-04 Pedro Alves <palves@redhat.com>
4009 * gdb.asm/asm-source.exp: Add casts to int.
4010 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4011 (dataglobal64_1, dataglobal64_2): New globals.
4012 * gdb.base/nodebug.exp: Test different expressions involving the
4013 new globals, with print, whatis and ptype. Add casts to int.
4014 * gdb.base/solib-display.exp: Add casts to int.
4015 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4016 * gdb.cp/m-static.exp: Add cast to int.
4017 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4018 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4019 tls variable with no debug info without a cast. Test with a cast
4021 * gdb.trace/entry-values.exp: Add casts.
4023 2017-09-04 Pedro Alves <palves@redhat.com>
4025 * gdb.base/nodebug.exp: Test that ptype's error about functions
4026 with unknown return type includes the function name too.
4028 2017-09-04 Pedro Alves <palves@redhat.com>
4030 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4031 return type of munmap in infcall.
4032 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4033 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4034 type of ftell in infcall.
4035 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4036 type of getpid in infcall.
4037 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4039 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4040 Bail on failure to extract the pid.
4041 * gdb.base/nodebug.c: #include <stdint.h>.
4042 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4044 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4045 Change expected output of print/whatis/ptype with functions with
4046 no debug info. Test all supported languages. Call
4047 test_call_promotion.
4048 * gdb.compile/compile.exp: Adjust expected output to expect
4050 * gdb.threads/siginfo-threads.exp: Likewise.
4052 2017-09-04 Pedro Alves <palves@redhat.com>
4054 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4055 "prototypes". Test calling float functions via prototyped and
4056 unprototyped function pointers.
4057 (perform_all_tests): New parameter "prototypes". Pass it down.
4058 (top level): Pass down "prototypes" parameter to
4061 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4063 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4064 Test with nested loops.
4066 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4068 * gdb.base/commands.exp: Call the new procedures.
4069 (loop_break_test, loop_continue_test): New procedures.
4071 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4073 * gdb.base/commands.exp: Call new procedure.
4074 (define_if_without_arg_test): New procedure.
4076 2017-09-04 Pedro Alves <palves@redhat.com>
4078 * gdb.base/list-ambiguous.exp: New file.
4079 * gdb.base/list-ambiguous0.c: New file.
4080 * gdb.base/list-ambiguous1.c: New file.
4081 * gdb.base/list.exp (test_list_range): Adjust expected output.
4083 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4085 * gdb.base/share-env-with-gdbserver.c: New file.
4086 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4088 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4090 * gdb.base/commands.exp (gdbvar_simple_if_test,
4091 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4092 progvar_simple_if_test, progvar_simple_while_test,
4093 progvar_complex_if_while_test, user_defined_command_test,
4094 user_defined_command_args_eval,
4095 user_defined_command_args_stack_test,
4096 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4097 temporary_breakpoint_commands,
4098 gdb_test_no_prompt, redefine_hook_test,
4099 redefine_backtrace_test): Remove "global gdb_prompt".
4101 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4103 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4104 New proc, call it from toplevel.
4106 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4109 * gdb.server/normal.c: New file, copied from gdb.base.
4110 * gdb.server/run-without-local-binary.exp: New file.
4112 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4114 * gdb.arch/sparc64-adi.exp: New file.
4115 * gdb.arch/sparc64-adi.c: New file.
4117 2017-08-22 Pedro Alves <palves@redhat.com>
4119 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4120 (top level): Add "list all overloads" tests.
4122 2017-08-22 Tom Tromey <tom@tromey.com>
4124 * gdb.gdb/xfullpath.exp: Remove.
4126 2017-08-21 Pedro Alves <palves@redhat.com>
4129 * gdb.base/symbol-alias.c: New.
4130 * gdb.base/symbol-alias2.c: New.
4131 * gdb.base/symbol-alias.exp: New.
4133 2017-08-21 Pedro Alves <palves@redhat.com>
4135 * gdb.base/dfp-test.c
4136 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4137 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4138 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4139 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4140 * gdb.base/whatis-ptype-typedefs.c: New.
4141 * gdb.base/whatis-ptype-typedefs.exp: New.
4142 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4143 (an_int, an_int_type, an_int_type2): New globals.
4144 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4145 involving typedefs and cast expressions.
4146 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4147 (lookup_typedefs_function): New.
4148 (typedefs_pretty_printers_dict): New.
4149 (top level): Register lookup_typedefs_function in
4150 gdb.pretty_printers.
4152 2017-08-18 Yao Qi <yao.qi@linaro.org>
4154 * gdb.server/unittest.exp: New.
4156 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4159 * gdb.base/environ.exp: Add test to check if 'unset environment'
4162 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4164 * lib/gdb.exp (universal_compile_options): New caching proc.
4165 (gdb_compile): Suppress GCC's coloring of messages.
4167 2017-08-14 Tom Tromey <tom@tromey.com>
4170 * gdb.base/printcmds.exp (test_radices): New function.
4171 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4172 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4173 * lib/gdb.exp (get_integer_valueof): Use p/d.
4175 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4177 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4180 2017-08-05 Tom Tromey <tom@tromey.com>
4182 * gdb.rust/simple.exp: Allow String to appear in a different
4185 2017-07-26 Yao Qi <yao.qi@linaro.org>
4187 * gdb.gdb/unittest.exp: Invoke command
4188 "maintenance check xml-descriptions".
4190 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4192 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4194 (hex128): Drop erroneous calculation of parameters.
4196 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4198 * gdb.python/py-unwind.exp: Disable stack protection when
4201 2017-07-20 Pedro Alves <palves@redhat.com>
4203 * gdb.base/default.exp (set language): Adjust expected output.
4205 2017-07-20 Pedro Alves <palves@redhat.com>
4207 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4208 (test_minsym): ... this, and make static.
4209 (get_pck__foo__bar__minsym): Rename to ...
4210 (get_test_minsym): ... this.
4211 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4212 symbol names and comments.
4213 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4214 (get_test_minsym): ... this.
4215 (pck__foo__bar__minsym__2): Rename to ...
4216 (test_minsym): ... this.
4219 2017-07-17 Pedro Alves <palves@redhat.com>
4221 * gdb.base/completion.exp: Adjust expected output.
4222 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4223 the completer works.
4225 2017-07-17 Pedro Alves <palves@redhat.com>
4227 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4229 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4231 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4233 2017-07-14 Tom Tromey <tom@tromey.com>
4236 * gdb.rust/simple.exp: Add tests.
4238 2017-07-14 Tom Tromey <tom@tromey.com>
4240 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4242 2017-07-14 Pedro Alves <palves@redhat.com>
4244 * gdb.linespec/base/one/thefile.cc (z1): New function.
4245 * gdb.linespec/base/two/thefile.cc (z2): New function.
4246 * gdb.linespec/linespec.exp: Add tests.
4248 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4250 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4251 to mi_create_breakpoint.
4253 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4255 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4256 mi_create_breakpoint.
4258 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4260 * gdb.dlang/demangle.exp: Update for demangling changes.
4262 2017-07-09 Tom Tromey <tom@tromey.com>
4264 * gdb.dwarf2/shortpiece.exp: New file.
4266 2017-07-06 David Blaikie <dblaikie@gmail.com>
4268 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4269 built from fissiont-multi-cu{1,2}.c.
4270 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4271 except putting 'main' and 'func' in separate CUs in the same DWO file.
4272 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4274 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4277 2017-07-06 Pedro Alves <palves@redhat.com>
4279 * gdb.python/py-unwind.exp: Test flushregs.
4281 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4284 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4285 tests for alias commands and trailing whitespace.
4287 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4290 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4293 2017-06-29 Pedro Alves <palves@redhat.com>
4295 * gdb.base/printcmds.exp: Add tests.
4297 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4300 * gdb.base/reread-readsym.exp: New file.
4301 * gdb.base/reread-readsym.c: New file.
4303 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4305 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4308 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4310 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4312 * gdb.arch/powerpc-power9.s: Likewise.
4314 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4316 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4317 on 32-bit x86 targets. Exploit is_*_target macros where
4320 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4322 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4325 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4328 located in one or more DWARF pieces.
4330 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4332 * lib/gdb.exp (get_endianness): New proc.
4333 * gdb.arch/aarch64-fp.exp: Use it.
4334 * gdb.arch/altivec-regs.exp: Likewise.
4335 * gdb.arch/e500-regs.exp: Likewise.
4336 * gdb.arch/vsx-regs.exp: Likewise.
4337 * gdb.base/dump.exp: Likewise.
4338 * gdb.base/funcargs.exp: Likewise.
4339 * gdb.base/gnu_vector.exp: Likewise.
4340 * gdb.dwarf2/formdata16.exp: Likewise.
4341 * gdb.dwarf2/implptrpiece.exp: Likewise.
4342 * gdb.dwarf2/nonvar-access.exp: Likewise.
4343 * gdb.python/py-inferior.exp: Likewise.
4344 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4346 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4349 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4350 stack value pieces are taken from the LSB end.
4352 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4354 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4355 variable at nonzero offset.
4357 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4359 * gdb.dwarf2/var-access.c: New file.
4360 * gdb.dwarf2/var-access.exp: New test.
4361 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4363 2017-06-12 Tom Tromey <tom@tromey.com>
4365 * gdb.dwarf2/formdata16.exp: Add tests.
4367 2017-06-12 Tom Tromey <tom@tromey.com>
4369 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4371 2017-06-12 Tom Tromey <tom@tromey.com>
4374 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4375 * gdb.arch/vsx-regs.exp: Update tests.
4376 * gdb.arch/s390-vregs.exp (hex128): New proc.
4378 * gdb.arch/altivec-regs.exp: Update tests.
4380 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4382 * gdb.base/startup-with-shell.c: New file.
4383 * gdb.base/startup-with-shell.exp: Likewise.
4385 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4387 * gdb.server/non-existing-program.exp: Update regex in order to
4388 reflect the fact that gdbserver is now using fork_inferior (with a
4389 shell) to startup the inferior.
4391 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4393 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4394 support function calls from GDB.
4396 2017-05-21 Tom Tromey <tom@tromey.com>
4399 * gdb.rust/unsized.exp: New file.
4400 * gdb.rust/unsized.rs: New file.
4402 2017-05-19 Tom Tromey <tom@tromey.com>
4405 * gdb.rust/watch.exp: New file.
4406 * gdb.rust/watch.rs: New file.
4408 2017-05-18 Tom Tromey <tom@tromey.com>
4410 * gdb.rust/simple.exp: Allow Box to be qualified.
4412 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4414 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4416 2017-05-18 Pedro Alves <palves@redhat.com>
4418 * gdb.base/fileio.c (test_write, test_read, test_close)
4419 (test_fstat): Don't print 'ret' in the fail path.
4421 2017-05-18 Pedro Alves <palves@redhat.com>
4423 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4424 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4425 (test_system, test_rename, test_unlink, test_time): Change
4427 * gdb.base/fileio.exp (stop_msg): Adjust.
4429 2017-05-18 Pedro Alves <palves@redhat.com>
4431 * gdb.base/fileio.c (null_str): New global.
4432 (test_stat): Use it.
4433 * gdb.base/fileio.exp: Remove nowarnings.
4435 2017-05-17 Yao Qi <yao.qi@linaro.org>
4437 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4439 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4441 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4443 (top-level): Invoke test_set_inferior_tty.
4445 2017-05-04 Pedro Alves <palves@redhat.com>
4447 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4448 Add parens to print call for Python 3.
4450 2017-05-03 Keith Seitz <keiths@redhat.com>
4452 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4455 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4457 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4460 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4462 * gdb.python/py-record-btrace.exp: Remove test for
4463 gdb.BtraceInstruction.error.
4465 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4467 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4469 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4471 * gdb.python/py-record-btrace-threads.c: New file.
4472 * gdb.python/py-record-btrace-threads.exp: New file.
4474 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4477 * gdb.base/environ.exp: Make test available in all architectures.
4478 Move bits related to "info program" testing to
4479 gdb.base/info-program.exp. Rewrite tests to use the two new
4480 procedures mentione below.
4481 (test_set_show_env_var) New procedure.
4482 (test_set_show_env_var_equal): Likewise.
4483 * gdb.base/info-program.exp: New file.
4485 2017-04-27 Keith Seitz <keiths@redhat.com>
4487 * gdb.cp/oranking.cc (test15): New function.
4488 (main): Call test15 and declare additional variables for testing.
4489 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4490 "p foo101('abc')" tests.
4491 Add tests for cv qualifier overloads.
4492 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4493 "lvalue reference overload" test.
4494 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4495 "print value of f1 on Child&& in f2" test.
4497 2017-04-19 Pedro Alves <palves@redhat.com>
4499 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4501 (top level): Call it.
4502 * lib/gdb.exp (gdb_define_cmd): New procedure.
4504 2017-04-12 Pedro Alves <palves@redhat.com>
4507 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4508 (wchar): New global.
4509 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4510 (do_test_wide_char, wide_char_types_no_program, top level): Add
4513 2017-04-12 Pedro Alves <palves@redhat.com>
4516 * gdb.cp/wide_char_types.c: New file.
4517 * gdb.cp/wide_char_types.exp: New file.
4519 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4522 * gdb.trace/tsv.exp: Add test for "tsave -r".
4524 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4526 * gdb.dlang/watch-loc.c: New file.
4527 * gdb.dlang/watch-loc.exp: New file.
4529 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4531 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4533 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4535 * gdb.arch/arc-analyze-prologue.S: New file.
4536 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4538 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4540 * gdb.arch/arc-decode-insn.S: New file.
4541 * gdb.arch/arc-decode-insn.exp: Likewise.
4543 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4546 * gdb.arch/sparc64-regs.exp: New file.
4547 * gdb.arch/sparc64-regs.S: Likewise.
4549 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4551 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4552 and memory view on Python 3.
4554 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4555 Keith Seitz <keiths@redhat.com>
4558 * gdb.cp/demangle.exp: Add rvalue reference tests.
4559 * gdb.cp/rvalue-ref-casts.cc: New file.
4560 * gdb.cp/rvalue-ref-casts.exp: New file.
4561 * gdb.cp/rvalue-ref-overload.cc: New file.
4562 * gdb.cp/rvalue-ref-overload.exp: New file.
4563 * gdb.cp/rvalue-ref-params.cc: New file.
4564 * gdb.cp/rvalue-ref-params.exp: New file.
4565 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4566 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4567 * gdb.cp/rvalue-ref-types.cc: New file.
4568 * gdb.cp/rvalue-ref-types.exp: New file.
4569 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4570 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4572 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4574 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4577 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4579 * lib/mi-support.exp (mi_gdb_test): Add additional message
4580 for unexpected output.
4582 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4584 * gdb.base/examine-backward.c (Barrier): New character array
4585 constant, to ensure that TestStrings is preceded by a string
4588 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4590 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4591 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4592 and implicit pointer into such a location.
4594 2017-03-16 Doug Evans <dje@google.com>
4596 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4598 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4600 * gdb.cp/m-static.exp: Fix expectation for prototype of
4601 test5.single_constructor and single_constructor::single_constructor.
4603 2017-03-16 Doug Evans <dje@google.com>
4605 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4606 * gdb.guile/scm-lazy-string.c: New file.
4607 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4608 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4609 for pointer, array, typedef lazy strings.
4611 2017-03-16 Doug Evans <dje@google.com>
4613 PR python/17728, python/18439, python/18779
4614 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4615 * gdb.python/py-lazy-string.c (pointer): New typedef.
4616 (main): New locals ptr, array, typedef_ptr.
4617 * gdb.python/py-value.exp: Move lazy string tests to ...
4618 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4619 array, typedef lazy strings.
4621 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4623 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4624 Add optional 'test' parameter.
4626 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4628 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4629 Skip for versions of DejaGnu < 1.5.
4631 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4633 * lib/gdb.exp (dejagnu_version): New proc.
4634 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4635 Use dejagnu_version.
4637 2017-03-10 Keith Seitz <keiths@redhat.com>
4640 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4641 type from destructor regexps.
4642 Add a branch which actually passes the test.
4643 Adjust "ptype t5i" test names.
4645 2017-03-08 Pedro Alves <palves@redhat.com>
4647 * gdb.base/step-over-exit.exp: Add explicit test message.
4649 2017-03-08 Pedro Alves <palves@redhat.com>
4652 * gdb.threads/interrupt-while-step-over.c: New file.
4653 * gdb.threads/interrupt-while-step-over.exp: New file.
4655 2017-03-08 Pedro Alves <palves@redhat.com>
4657 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4658 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4660 2017-03-08 Pedro Alves <palves@redhat.com>
4662 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4663 PKRU as not supported as a PASS.
4665 2017-03-08 Pedro Alves <palves@redhat.com>
4667 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4668 prefix instead of $binfile1/$binfile2.
4669 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4671 * gdb.python/py-completion.exp: Use "load python file" as test
4672 messages instead of unstable path names.
4674 2017-03-08 Pedro Alves <palves@redhat.com>
4675 Jan Kratochvil <jan.kratochvil@redhat.com>
4678 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4680 (top level): Call it.
4682 2017-03-08 Pedro Alves <palves@redhat.com>
4685 * gdb.tui/tui-nl-filtered-output.exp: New file.
4687 2017-03-08 Pedro Alves <palves@redhat.com>
4689 * gdb.base/completion.exp: Move TUI completion tests to ...
4690 * gdb.tui/completion.exp: ... this new file.
4692 2017-03-08 Pedro Alves <palves@redhat.com>
4694 * gdb.base/tui-disasm-long-lines.c,
4695 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4696 gdb.base/tui-layout.exp: Move to ...
4697 * gdb.tui/: ... this new directory.
4699 2017-03-07 Pedro Alves <palves@redhat.com>
4701 * gdb.base/tui-layout.c: New file.
4702 * gdb.base/tui-layout.exp: New file.
4704 2017-03-07 Pedro Alves <palves@redhat.com>
4706 * gdb.base/tui-layout.c: Rename to ...
4707 * gdb.base/tui-disasm-long-lines.c: ... this.
4708 * gdb.base/tui-layout.exp: Rename to ...
4709 * gdb.base/tui-disasm-long-lines.exp: ... this.
4711 2017-03-07 Pedro Alves <palves@redhat.com>
4713 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4715 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4717 * i386-mpx-call.c: New file.
4718 * i386-mpx-call.exp: New file.
4720 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4722 * gdb.arch/powerpc-power.exp: Delete test.
4723 * gdb.arch/powerpc-power.s: Likewise.
4724 * gdb.disasm/disassembler-options.exp: New test.
4725 * gdb.arch/powerpc-altivec.exp: Likewise.
4726 * gdb.arch/powerpc-altivec.s: Likewise.
4727 * gdb.arch/powerpc-altivec2.exp: Likewise.
4728 * gdb.arch/powerpc-altivec2.s: Likewise.
4729 * gdb.arch/powerpc-altivec3.exp: Likewise.
4730 * gdb.arch/powerpc-altivec3.s: Likewise.
4731 * gdb.arch/powerpc-power7.exp: Likewise.
4732 * gdb.arch/powerpc-power7.s: Likewise.
4733 * gdb.arch/powerpc-power8.exp: Likewise.
4734 * gdb.arch/powerpc-power8.s: Likewise.
4735 * gdb.arch/powerpc-power9.exp: Likewise.
4736 * gdb.arch/powerpc-power9.s: Likewise.
4737 * gdb.arch/powerpc-vsx.exp: Likewise.
4738 * gdb.arch/powerpc-vsx.s: Likewise.
4739 * gdb.arch/powerpc-vsx2.exp: Likewise.
4740 * gdb.arch/powerpc-vsx2.s: Likewise.
4741 * gdb.arch/powerpc-vsx3.exp: Likewise.
4742 * gdb.arch/powerpc-vsx3.s: Likewise.
4743 * gdb.arch/arm-disassembler-options.exp: Likewise.
4744 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4745 * gdb.arch/s390-disassembler-options.exp: Likewise.
4747 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4749 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4750 (check_supported_features): ... this. Changed return type to void.
4751 (supports_rdseed): New static global.
4752 (rdseed): Check supports_rdseed.
4753 (initialize): Call check_supported_features.
4755 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4757 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4758 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4760 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4761 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4763 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4765 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4768 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4770 * gdb.dwarf2/formdata16.c: New file.
4771 * gdb.dwarf2/formdata16.exp: New file.
4772 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4774 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4776 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4777 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4778 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4779 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4782 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4784 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4786 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4789 * gdb.base/maint.exp: Add testcases for when the commands do
4792 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4794 * gdb.cp/chained-calls.exp: Use p instead of P.
4796 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4798 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4799 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4801 2017-02-14 Tom Tromey <tom@tromey.com>
4804 * gdb.python/py-events.exp: Add before_prompt event tests.
4806 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4808 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4810 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4812 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4813 (main): Call my_unique_function_name.
4814 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4815 completion of patterns with a single match.
4816 Add missing -re switches to gdb_test_multiple calls.
4818 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4820 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4821 return if core file is not recognized.
4823 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4825 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4828 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4830 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4833 2017-02-10 Tom Tromey <tom@tromey.com>
4835 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4837 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4840 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4842 2017-02-08 Jerome Guitton <guitton@adacore.com>
4844 * gdb.base/define.exp: Add test for command abbreviations
4847 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4849 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4850 * gdb.reverse/insn-reverse-x86.c: New file.
4852 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4855 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4857 2017-02-03 Tom Tromey <tom@tromey.com>
4860 * gdb.rust/simple.exp: Add new tests.
4862 2017-02-02 Pedro Alves <palves@redhat.com>
4864 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4867 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4869 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4870 taking a 2-byte value out of a 4-byte DWARF implicit value on
4872 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4873 logic. Add test cases for DW_OP_implicit.
4875 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4877 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4879 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4881 * gdb.btrace/enable.exp: Call gdb_exit before
4882 skip_gdbserver_tests.
4884 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4886 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4889 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4891 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4892 the test is skipped.
4893 * gdb.btrace/data.exp: Likewise.
4894 * gdb.btrace/delta.exp: Likewise.
4895 * gdb.btrace/dlopen.exp: Likewise.
4896 * gdb.btrace/enable-running.exp: Likewise.
4897 * gdb.btrace/enable.exp: Likewise.
4898 * gdb.btrace/exception.exp: Likewise.
4899 * gdb.btrace/function_call_history.exp: Likewise.
4900 * gdb.btrace/gcore.exp: Likewise.
4901 * gdb.btrace/instruction_history.exp: Likewise.
4902 * gdb.btrace/multi-thread-step.exp: Likewise.
4903 * gdb.btrace/nohist.exp: Likewise.
4904 * gdb.btrace/non-stop.exp: Likewise.
4905 * gdb.btrace/reconnect.exp: Likewise.
4906 * gdb.btrace/record_goto-step.exp: Likewise.
4907 * gdb.btrace/record_goto.exp: Likewise.
4908 * gdb.btrace/rn-dl-bind.exp: Likewise.
4909 * gdb.btrace/segv.exp: Likewise.
4910 * gdb.btrace/step.exp: Likewise.
4911 * gdb.btrace/stepi.exp: Likewise.
4912 * gdb.btrace/tailcall-only.exp: Likewise.
4913 * gdb.btrace/tailcall.exp: Likewise.
4914 * gdb.btrace/tsx.exp: Likewise.
4915 * gdb.btrace/unknown_functions.exp: Likewise.
4916 * gdb.btrace/vdso.exp: Likewise.
4918 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4920 * gdb.btrace/enable-running.c: New.
4921 * gdb.btrace/enable-running.exp: New.
4923 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4925 * gdb.arch/amd64-gs_base.c: New file.
4926 * gdb.arch/amd64-gs_base.exp: New file.
4928 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4930 * lib/memory.exp: Remove spurious empty newlines.
4932 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4934 * gdb.python/py-bad-printers.exp: Load python file using "source".
4935 * gdb.python/py-events.exp: Likewise.
4936 * gdb.python/py-evsignal.exp: Likewise.
4937 * gdb.python/py-evthreads.exp: Likewise.
4938 * gdb.python/py-frame-args.exp: Likewise.
4939 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4940 * gdb.python/py-framefilter-mi.exp: Likewise.
4941 * gdb.python/py-framefilter.exp: Likewise.
4942 * gdb.python/py-mi.exp: Likewise.
4943 * gdb.python/py-pp-maint.exp: Likewise.
4944 * gdb.python/py-pp-registration.exp: Likewise.
4945 * gdb.python/py-prettyprint.exp: Likewise.
4946 (run_lang_tests): Likewise.
4947 * gdb.python/py-typeprint.exp: Likewise.
4949 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4951 * lib/memory.exp: New file.
4952 * lib/gdb.exp: Load memory.exp.
4953 * gdb.base/memattr.exp (delete_memory): Move proc to
4954 lib/memory.exp and rename to delete_memory_regions.
4955 Replace delete_memory with delete_memory_regions.
4956 Cleanup memory regions before tests.
4957 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4960 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4962 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4964 (initialize): New function conditionally defined.
4965 (testcases): Move within conditional block.
4966 (main): Call initialize.
4967 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4968 of gdb.reverse/insn-reverse.c.
4969 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4970 gdb.reverse/insn-reverse.c.
4972 2017-01-26 Yao Qi <yao.qi@linaro.org>
4974 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4975 disassemble on address 0.
4977 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4978 Yao Qi <yao.qi@linaro.org>
4980 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4981 * gdb.dwarf2/implptr-64bit.S: Remove.
4982 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4983 variables in caller's context. Add DW_OP_implicit_value.
4985 2017-01-25 Yao Qi <yao.qi@linaro.org>
4987 * lib/dwarf.exp (Dwarf::_location): Handle
4988 DW_OP_GNU_implicit_pointer with proper size.
4990 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4992 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4993 and add untested calls.
4995 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4997 * gdb.python/python.exp: Check line number against what GDB thinks
4998 the line number is for func1.
5000 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5002 * gdb.dlang/debug-expr.exp: New file.
5004 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5006 Fix test names for the following files:
5008 * gdb.ada/exec_changed.exp
5009 * gdb.ada/info_types.exp
5010 * gdb.arch/aarch64-atomic-inst.exp
5011 * gdb.arch/aarch64-fp.exp
5012 * gdb.arch/altivec-abi.exp
5013 * gdb.arch/altivec-regs.exp
5014 * gdb.arch/amd64-byte.exp
5015 * gdb.arch/amd64-disp-step.exp
5016 * gdb.arch/amd64-dword.exp
5017 * gdb.arch/amd64-entry-value-inline.exp
5018 * gdb.arch/amd64-entry-value-param.exp
5019 * gdb.arch/amd64-entry-value-paramref.exp
5020 * gdb.arch/amd64-entry-value.exp
5021 * gdb.arch/amd64-i386-address.exp
5022 * gdb.arch/amd64-invalid-stack-middle.exp
5023 * gdb.arch/amd64-invalid-stack-top.exp
5024 * gdb.arch/amd64-optimout-repeat.exp
5025 * gdb.arch/amd64-prologue-skip.exp
5026 * gdb.arch/amd64-prologue-xmm.exp
5027 * gdb.arch/amd64-stap-special-operands.exp
5028 * gdb.arch/amd64-stap-wrong-subexp.exp
5029 * gdb.arch/amd64-tailcall-cxx.exp
5030 * gdb.arch/amd64-tailcall-noret.exp
5031 * gdb.arch/amd64-tailcall-ret.exp
5032 * gdb.arch/amd64-tailcall-self.exp
5033 * gdb.arch/amd64-word.exp
5034 * gdb.arch/arm-bl-branch-dest.exp
5035 * gdb.arch/arm-disp-step.exp
5036 * gdb.arch/arm-neon.exp
5037 * gdb.arch/arm-single-step-kernel-helper.exp
5038 * gdb.arch/avr-flash-qualifier.exp
5039 * gdb.arch/disp-step-insn-reloc.exp
5040 * gdb.arch/e500-abi.exp
5041 * gdb.arch/e500-regs.exp
5042 * gdb.arch/ftrace-insn-reloc.exp
5043 * gdb.arch/i386-avx512.exp
5044 * gdb.arch/i386-bp_permanent.exp
5045 * gdb.arch/i386-byte.exp
5046 * gdb.arch/i386-cfi-notcurrent.exp
5047 * gdb.arch/i386-disp-step.exp
5048 * gdb.arch/i386-dr3-watch.exp
5049 * gdb.arch/i386-float.exp
5050 * gdb.arch/i386-gnu-cfi.exp
5051 * gdb.arch/i386-mpx-map.exp
5052 * gdb.arch/i386-mpx-sigsegv.exp
5053 * gdb.arch/i386-mpx-simple_segv.exp
5054 * gdb.arch/i386-mpx.exp
5055 * gdb.arch/i386-permbkpt.exp
5056 * gdb.arch/i386-prologue.exp
5057 * gdb.arch/i386-signal.exp
5058 * gdb.arch/i386-size-overlap.exp
5059 * gdb.arch/i386-unwind.exp
5060 * gdb.arch/i386-word.exp
5061 * gdb.arch/mips-fcr.exp
5062 * gdb.arch/powerpc-d128-regs.exp
5063 * gdb.arch/powerpc-stackless.exp
5064 * gdb.arch/ppc64-atomic-inst.exp
5065 * gdb.arch/s390-stackless.exp
5066 * gdb.arch/s390-tdbregs.exp
5067 * gdb.arch/s390-vregs.exp
5068 * gdb.arch/sparc-sysstep.exp
5069 * gdb.arch/thumb-bx-pc.exp
5070 * gdb.arch/thumb-singlestep.exp
5071 * gdb.arch/thumb2-it.exp
5072 * gdb.arch/vsx-regs.exp
5073 * gdb.asm/asm-source.exp
5074 * gdb.base/a2-run.exp
5075 * gdb.base/advance.exp
5076 * gdb.base/all-bin.exp
5079 * gdb.base/arithmet.exp
5080 * gdb.base/async-shell.exp
5081 * gdb.base/async.exp
5082 * gdb.base/attach-pie-noexec.exp
5083 * gdb.base/attach-twice.exp
5084 * gdb.base/auto-load.exp
5086 * gdb.base/bitfields.exp
5087 * gdb.base/break-always.exp
5088 * gdb.base/break-caller-line.exp
5089 * gdb.base/break-entry.exp
5090 * gdb.base/break-inline.exp
5091 * gdb.base/break-on-linker-gcd-function.exp
5092 * gdb.base/break-probes.exp
5093 * gdb.base/break.exp
5094 * gdb.base/breakpoint-shadow.exp
5095 * gdb.base/call-ar-st.exp
5096 * gdb.base/call-sc.exp
5097 * gdb.base/call-signal-resume.exp
5098 * gdb.base/call-strs.exp
5099 * gdb.base/callfuncs.exp
5100 * gdb.base/catch-fork-static.exp
5101 * gdb.base/catch-gdb-caused-signals.exp
5102 * gdb.base/catch-load.exp
5103 * gdb.base/catch-signal-fork.exp
5104 * gdb.base/catch-signal.exp
5105 * gdb.base/catch-syscall.exp
5106 * gdb.base/charset.exp
5107 * gdb.base/checkpoint.exp
5108 * gdb.base/chng-syms.exp
5109 * gdb.base/code-expr.exp
5110 * gdb.base/code_elim.exp
5111 * gdb.base/commands.exp
5112 * gdb.base/completion.exp
5113 * gdb.base/complex.exp
5114 * gdb.base/cond-expr.exp
5115 * gdb.base/condbreak.exp
5116 * gdb.base/consecutive.exp
5117 * gdb.base/continue-all-already-running.exp
5118 * gdb.base/coredump-filter.exp
5119 * gdb.base/corefile.exp
5121 * gdb.base/debug-expr.exp
5122 * gdb.base/define.exp
5124 * gdb.base/disabled-location.exp
5125 * gdb.base/disasm-end-cu.exp
5126 * gdb.base/disasm-optim.exp
5127 * gdb.base/display.exp
5128 * gdb.base/duplicate-bp.exp
5129 * gdb.base/ena-dis-br.exp
5130 * gdb.base/ending-run.exp
5131 * gdb.base/enumval.exp
5132 * gdb.base/environ.exp
5133 * gdb.base/eu-strip-infcall.exp
5134 * gdb.base/eval-avoid-side-effects.exp
5135 * gdb.base/eval-skip.exp
5136 * gdb.base/exitsignal.exp
5137 * gdb.base/expand-psymtabs.exp
5138 * gdb.base/filesym.exp
5139 * gdb.base/find-unmapped.exp
5140 * gdb.base/finish.exp
5141 * gdb.base/float.exp
5142 * gdb.base/foll-exec-mode.exp
5143 * gdb.base/foll-exec.exp
5144 * gdb.base/foll-fork.exp
5145 * gdb.base/fortran-sym-case.exp
5146 * gdb.base/freebpcmd.exp
5147 * gdb.base/func-ptr.exp
5148 * gdb.base/func-ptrs.exp
5149 * gdb.base/funcargs.exp
5150 * gdb.base/gcore-buffer-overflow.exp
5151 * gdb.base/gcore-relro-pie.exp
5152 * gdb.base/gcore-relro.exp
5153 * gdb.base/gcore.exp
5154 * gdb.base/gdb1090.exp
5155 * gdb.base/gdb11530.exp
5156 * gdb.base/gdb11531.exp
5157 * gdb.base/gdb1821.exp
5158 * gdb.base/gdbindex-stabs.exp
5159 * gdb.base/gdbvars.exp
5160 * gdb.base/hbreak.exp
5161 * gdb.base/hbreak2.exp
5162 * gdb.base/included.exp
5163 * gdb.base/infcall-input.exp
5164 * gdb.base/inferior-died.exp
5165 * gdb.base/infnan.exp
5166 * gdb.base/info-macros.exp
5167 * gdb.base/info-os.exp
5168 * gdb.base/info-proc.exp
5169 * gdb.base/info-shared.exp
5170 * gdb.base/info-target.exp
5171 * gdb.base/infoline.exp
5172 * gdb.base/interp.exp
5173 * gdb.base/interrupt.exp
5174 * gdb.base/jit-reader.exp
5175 * gdb.base/jit-simple.exp
5176 * gdb.base/kill-after-signal.exp
5177 * gdb.base/kill-detach-inferiors-cmd.exp
5178 * gdb.base/label.exp
5179 * gdb.base/langs.exp
5180 * gdb.base/ldbl_e308.exp
5181 * gdb.base/line-symtabs.exp
5182 * gdb.base/linespecs.exp
5184 * gdb.base/long_long.exp
5185 * gdb.base/longest-types.exp
5186 * gdb.base/maint.exp
5187 * gdb.base/max-value-size.exp
5188 * gdb.base/memattr.exp
5189 * gdb.base/mips_pro.exp
5190 * gdb.base/morestack.exp
5191 * gdb.base/moribund-step.exp
5192 * gdb.base/multi-forks.exp
5193 * gdb.base/nested-addr.exp
5194 * gdb.base/nextoverexit.exp
5195 * gdb.base/noreturn-finish.exp
5196 * gdb.base/noreturn-return.exp
5197 * gdb.base/nostdlib.exp
5198 * gdb.base/offsets.exp
5199 * gdb.base/opaque.exp
5200 * gdb.base/pc-fp.exp
5201 * gdb.base/permissions.exp
5202 * gdb.base/print-symbol-loading.exp
5203 * gdb.base/prologue-include.exp
5204 * gdb.base/psymtab.exp
5205 * gdb.base/ptype.exp
5206 * gdb.base/random-signal.exp
5207 * gdb.base/randomize.exp
5208 * gdb.base/range-stepping.exp
5209 * gdb.base/readline-ask.exp
5210 * gdb.base/recpar.exp
5211 * gdb.base/recurse.exp
5212 * gdb.base/relational.exp
5213 * gdb.base/restore.exp
5214 * gdb.base/return-nodebug.exp
5215 * gdb.base/return.exp
5216 * gdb.base/run-after-attach.exp
5217 * gdb.base/save-bp.exp
5218 * gdb.base/scope.exp
5219 * gdb.base/sect-cmd.exp
5220 * gdb.base/set-lang-auto.exp
5221 * gdb.base/set-noassign.exp
5222 * gdb.base/setvar.exp
5223 * gdb.base/sigall.exp
5224 * gdb.base/sigbpt.exp
5225 * gdb.base/siginfo-addr.exp
5226 * gdb.base/siginfo-infcall.exp
5227 * gdb.base/siginfo-obj.exp
5228 * gdb.base/siginfo.exp
5229 * gdb.base/signals-state-child.exp
5230 * gdb.base/signest.exp
5231 * gdb.base/sigstep.exp
5232 * gdb.base/sizeof.exp
5234 * gdb.base/solib-corrupted.exp
5235 * gdb.base/solib-nodir.exp
5236 * gdb.base/solib-search.exp
5237 * gdb.base/stack-checking.exp
5238 * gdb.base/stale-infcall.exp
5239 * gdb.base/stap-probe.exp
5240 * gdb.base/start.exp
5241 * gdb.base/step-break.exp
5242 * gdb.base/step-bt.exp
5243 * gdb.base/step-line.exp
5244 * gdb.base/step-over-exit.exp
5245 * gdb.base/step-over-syscall.exp
5246 * gdb.base/step-resume-infcall.exp
5247 * gdb.base/step-test.exp
5248 * gdb.base/store.exp
5249 * gdb.base/structs3.exp
5250 * gdb.base/sym-file.exp
5251 * gdb.base/symbol-without-target_section.exp
5253 * gdb.base/testenv.exp
5254 * gdb.base/ui-redirect.exp
5255 * gdb.base/until.exp
5256 * gdb.base/unwindonsignal.exp
5257 * gdb.base/value-double-free.exp
5258 * gdb.base/vla-datatypes.exp
5259 * gdb.base/vla-ptr.exp
5260 * gdb.base/vla-sideeffect.exp
5261 * gdb.base/volatile.exp
5262 * gdb.base/watch-cond-infcall.exp
5263 * gdb.base/watch-cond.exp
5264 * gdb.base/watch-non-mem.exp
5265 * gdb.base/watch-read.exp
5266 * gdb.base/watch-vfork.exp
5267 * gdb.base/watchpoint-cond-gone.exp
5268 * gdb.base/watchpoint-delete.exp
5269 * gdb.base/watchpoint-hw-hit-once.exp
5270 * gdb.base/watchpoint-hw.exp
5271 * gdb.base/watchpoint-stops-at-right-insn.exp
5272 * gdb.base/watchpoints.exp
5273 * gdb.base/wchar.exp
5274 * gdb.base/whatis-exp.exp
5275 * gdb.btrace/buffer-size.exp
5276 * gdb.btrace/data.exp
5277 * gdb.btrace/delta.exp
5278 * gdb.btrace/dlopen.exp
5279 * gdb.btrace/enable.exp
5280 * gdb.btrace/exception.exp
5281 * gdb.btrace/function_call_history.exp
5282 * gdb.btrace/gcore.exp
5283 * gdb.btrace/instruction_history.exp
5284 * gdb.btrace/nohist.exp
5285 * gdb.btrace/reconnect.exp
5286 * gdb.btrace/record_goto-step.exp
5287 * gdb.btrace/record_goto.exp
5288 * gdb.btrace/rn-dl-bind.exp
5289 * gdb.btrace/segv.exp
5290 * gdb.btrace/step.exp
5291 * gdb.btrace/stepi.exp
5292 * gdb.btrace/tailcall-only.exp
5293 * gdb.btrace/tailcall.exp
5294 * gdb.btrace/tsx.exp
5295 * gdb.btrace/unknown_functions.exp
5296 * gdb.btrace/vdso.exp
5297 * gdb.compile/compile-ifunc.exp
5298 * gdb.compile/compile-ops.exp
5299 * gdb.compile/compile-print.exp
5300 * gdb.compile/compile-setjmp.exp
5301 * gdb.cp/abstract-origin.exp
5302 * gdb.cp/ambiguous.exp
5303 * gdb.cp/annota2.exp
5304 * gdb.cp/annota3.exp
5305 * gdb.cp/anon-ns.exp
5306 * gdb.cp/anon-struct.exp
5307 * gdb.cp/anon-union.exp
5308 * gdb.cp/arg-reference.exp
5309 * gdb.cp/baseenum.exp
5311 * gdb.cp/breakpoint.exp
5312 * gdb.cp/bs15503.exp
5315 * gdb.cp/chained-calls.exp
5317 * gdb.cp/classes.exp
5318 * gdb.cp/cmpd-minsyms.exp
5319 * gdb.cp/converts.exp
5320 * gdb.cp/cp-relocate.exp
5321 * gdb.cp/cpcompletion.exp
5322 * gdb.cp/cpexprs.exp
5323 * gdb.cp/cplabel.exp
5324 * gdb.cp/cplusfuncs.exp
5325 * gdb.cp/cpsizeof.exp
5327 * gdb.cp/derivation.exp
5328 * gdb.cp/destrprint.exp
5329 * gdb.cp/dispcxx.exp
5330 * gdb.cp/enum-class.exp
5331 * gdb.cp/exception.exp
5332 * gdb.cp/exceptprint.exp
5333 * gdb.cp/expand-psymtabs-cxx.exp
5334 * gdb.cp/expand-sals.exp
5335 * gdb.cp/extern-c.exp
5336 * gdb.cp/filename.exp
5337 * gdb.cp/formatted-ref.exp
5338 * gdb.cp/fpointer.exp
5339 * gdb.cp/gdb1355.exp
5340 * gdb.cp/gdb2495.exp
5342 * gdb.cp/impl-this.exp
5343 * gdb.cp/infcall-dlopen.exp
5344 * gdb.cp/inherit.exp
5345 * gdb.cp/iostream.exp
5349 * gdb.cp/m-static.exp
5350 * gdb.cp/mb-ctor.exp
5351 * gdb.cp/mb-inline.exp
5352 * gdb.cp/mb-templates.exp
5353 * gdb.cp/member-name.exp
5354 * gdb.cp/member-ptr.exp
5355 * gdb.cp/meth-typedefs.exp
5357 * gdb.cp/method2.exp
5358 * gdb.cp/minsym-fallback.exp
5360 * gdb.cp/namelessclass.exp
5361 * gdb.cp/namespace-enum.exp
5362 * gdb.cp/namespace-nested-import.exp
5363 * gdb.cp/namespace.exp
5364 * gdb.cp/nextoverthrow.exp
5365 * gdb.cp/no-dmgl-verbose.exp
5366 * gdb.cp/non-trivial-retval.exp
5367 * gdb.cp/noparam.exp
5369 * gdb.cp/nsimport.exp
5370 * gdb.cp/nsnested.exp
5371 * gdb.cp/nsnoimports.exp
5372 * gdb.cp/nsrecurs.exp
5373 * gdb.cp/nsstress.exp
5374 * gdb.cp/nsusing.exp
5375 * gdb.cp/operator.exp
5376 * gdb.cp/oranking.exp
5377 * gdb.cp/overload-const.exp
5378 * gdb.cp/overload.exp
5379 * gdb.cp/ovldbreak.exp
5381 * gdb.cp/paren-type.exp
5382 * gdb.cp/parse-lang.exp
5383 * gdb.cp/pass-by-ref.exp
5384 * gdb.cp/pr-1023.exp
5385 * gdb.cp/pr-1210.exp
5387 * gdb.cp/pr10687.exp
5388 * gdb.cp/pr12028.exp
5389 * gdb.cp/pr17132.exp
5390 * gdb.cp/pr17494.exp
5394 * gdb.cp/printmethod.exp
5396 * gdb.cp/psymtab-parameter.exp
5397 * gdb.cp/ptype-cv-cp.exp
5398 * gdb.cp/ptype-flags.exp
5399 * gdb.cp/re-set-overloaded.exp
5400 * gdb.cp/ref-types.exp
5402 * gdb.cp/scope-err.exp
5405 * gdb.cp/static-method.exp
5406 * gdb.cp/static-print-quit.exp
5407 * gdb.cp/temargs.exp
5408 * gdb.cp/templates.exp
5409 * gdb.cp/try_catch.exp
5410 * gdb.cp/typedef-operator.exp
5412 * gdb.cp/userdef.exp
5413 * gdb.cp/using-crash.exp
5414 * gdb.cp/var-tag.exp
5415 * gdb.cp/virtbase.exp
5416 * gdb.cp/virtfunc.exp
5417 * gdb.cp/virtfunc2.exp
5418 * gdb.cp/vla-cxx.exp
5419 * gdb.disasm/t01_mov.exp
5420 * gdb.disasm/t02_mova.exp
5421 * gdb.disasm/t03_add.exp
5422 * gdb.disasm/t04_sub.exp
5423 * gdb.disasm/t05_cmp.exp
5424 * gdb.disasm/t06_ari2.exp
5425 * gdb.disasm/t07_ari3.exp
5426 * gdb.disasm/t08_or.exp
5427 * gdb.disasm/t09_xor.exp
5428 * gdb.disasm/t10_and.exp
5429 * gdb.disasm/t11_logs.exp
5430 * gdb.disasm/t12_bit.exp
5431 * gdb.disasm/t13_otr.exp
5432 * gdb.dlang/circular.exp
5433 * gdb.dwarf2/arr-stride.exp
5434 * gdb.dwarf2/arr-subrange.exp
5435 * gdb.dwarf2/atomic-type.exp
5436 * gdb.dwarf2/bad-regnum.exp
5437 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5438 * gdb.dwarf2/callframecfa.exp
5439 * gdb.dwarf2/clztest.exp
5440 * gdb.dwarf2/corrupt.exp
5441 * gdb.dwarf2/data-loc.exp
5442 * gdb.dwarf2/dup-psym.exp
5443 * gdb.dwarf2/dw2-anon-mptr.exp
5444 * gdb.dwarf2/dw2-anonymous-func.exp
5445 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5446 * gdb.dwarf2/dw2-bad-unresolved.exp
5447 * gdb.dwarf2/dw2-basic.exp
5448 * gdb.dwarf2/dw2-canonicalize-type.exp
5449 * gdb.dwarf2/dw2-case-insensitive.exp
5450 * gdb.dwarf2/dw2-common-block.exp
5451 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5452 * gdb.dwarf2/dw2-compressed.exp
5453 * gdb.dwarf2/dw2-const.exp
5454 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5455 * gdb.dwarf2/dw2-cu-size.exp
5456 * gdb.dwarf2/dw2-dup-frame.exp
5457 * gdb.dwarf2/dw2-entry-value.exp
5458 * gdb.dwarf2/dw2-icycle.exp
5459 * gdb.dwarf2/dw2-ifort-parameter.exp
5460 * gdb.dwarf2/dw2-inline-break.exp
5461 * gdb.dwarf2/dw2-inline-param.exp
5462 * gdb.dwarf2/dw2-intercu.exp
5463 * gdb.dwarf2/dw2-intermix.exp
5464 * gdb.dwarf2/dw2-lexical-block-bare.exp
5465 * gdb.dwarf2/dw2-linkage-name-trust.exp
5466 * gdb.dwarf2/dw2-minsym-in-cu.exp
5467 * gdb.dwarf2/dw2-noloc.exp
5468 * gdb.dwarf2/dw2-op-call.exp
5469 * gdb.dwarf2/dw2-op-out-param.exp
5470 * gdb.dwarf2/dw2-opt-structptr.exp
5471 * gdb.dwarf2/dw2-param-error.exp
5472 * gdb.dwarf2/dw2-producer.exp
5473 * gdb.dwarf2/dw2-ranges-base.exp
5474 * gdb.dwarf2/dw2-ref-missing-frame.exp
5475 * gdb.dwarf2/dw2-reg-undefined.exp
5476 * gdb.dwarf2/dw2-regno-invalid.exp
5477 * gdb.dwarf2/dw2-restore.exp
5478 * gdb.dwarf2/dw2-restrict.exp
5479 * gdb.dwarf2/dw2-single-line-discriminators.exp
5480 * gdb.dwarf2/dw2-strp.exp
5481 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5482 * gdb.dwarf2/dw2-unresolved.exp
5483 * gdb.dwarf2/dw2-var-zero-addr.exp
5484 * gdb.dwarf2/dw4-sig-types.exp
5485 * gdb.dwarf2/dwz.exp
5486 * gdb.dwarf2/dynarr-ptr.exp
5487 * gdb.dwarf2/enum-type.exp
5488 * gdb.dwarf2/gdb-index.exp
5489 * gdb.dwarf2/implptr-64bit.exp
5490 * gdb.dwarf2/implptr-optimized-out.exp
5491 * gdb.dwarf2/implptr.exp
5492 * gdb.dwarf2/implref-array.exp
5493 * gdb.dwarf2/implref-const.exp
5494 * gdb.dwarf2/implref-global.exp
5495 * gdb.dwarf2/implref-struct.exp
5496 * gdb.dwarf2/mac-fileno.exp
5497 * gdb.dwarf2/main-subprogram.exp
5498 * gdb.dwarf2/member-ptr-forwardref.exp
5499 * gdb.dwarf2/method-ptr.exp
5500 * gdb.dwarf2/missing-sig-type.exp
5501 * gdb.dwarf2/nonvar-access.exp
5502 * gdb.dwarf2/opaque-type-lookup.exp
5503 * gdb.dwarf2/pieces-optimized-out.exp
5504 * gdb.dwarf2/pieces.exp
5505 * gdb.dwarf2/pr10770.exp
5506 * gdb.dwarf2/pr13961.exp
5507 * gdb.dwarf2/staticvirtual.exp
5508 * gdb.dwarf2/subrange.exp
5509 * gdb.dwarf2/symtab-producer.exp
5510 * gdb.dwarf2/trace-crash.exp
5511 * gdb.dwarf2/typeddwarf.exp
5512 * gdb.dwarf2/valop.exp
5513 * gdb.dwarf2/watch-notconst.exp
5514 * gdb.fortran/array-element.exp
5515 * gdb.fortran/charset.exp
5516 * gdb.fortran/common-block.exp
5517 * gdb.fortran/complex.exp
5518 * gdb.fortran/derived-type-function.exp
5519 * gdb.fortran/derived-type.exp
5520 * gdb.fortran/logical.exp
5521 * gdb.fortran/module.exp
5522 * gdb.fortran/multi-dim.exp
5523 * gdb.fortran/nested-funcs.exp
5524 * gdb.fortran/print-formatted.exp
5525 * gdb.fortran/subarray.exp
5526 * gdb.fortran/vla-alloc-assoc.exp
5527 * gdb.fortran/vla-datatypes.exp
5528 * gdb.fortran/vla-history.exp
5529 * gdb.fortran/vla-ptr-info.exp
5530 * gdb.fortran/vla-ptype-sub.exp
5531 * gdb.fortran/vla-ptype.exp
5532 * gdb.fortran/vla-sizeof.exp
5533 * gdb.fortran/vla-type.exp
5534 * gdb.fortran/vla-value-sub-arbitrary.exp
5535 * gdb.fortran/vla-value-sub-finish.exp
5536 * gdb.fortran/vla-value-sub.exp
5537 * gdb.fortran/vla-value.exp
5538 * gdb.fortran/whatis_type.exp
5540 * gdb.go/handcall.exp
5542 * gdb.go/integers.exp
5543 * gdb.go/methods.exp
5544 * gdb.go/package.exp
5545 * gdb.go/strings.exp
5548 * gdb.guile/scm-arch.exp
5549 * gdb.guile/scm-block.exp
5550 * gdb.guile/scm-breakpoint.exp
5551 * gdb.guile/scm-cmd.exp
5552 * gdb.guile/scm-disasm.exp
5553 * gdb.guile/scm-equal.exp
5554 * gdb.guile/scm-frame-args.exp
5555 * gdb.guile/scm-frame-inline.exp
5556 * gdb.guile/scm-frame.exp
5557 * gdb.guile/scm-iterator.exp
5558 * gdb.guile/scm-math.exp
5559 * gdb.guile/scm-objfile.exp
5560 * gdb.guile/scm-ports.exp
5561 * gdb.guile/scm-symbol.exp
5562 * gdb.guile/scm-symtab.exp
5563 * gdb.guile/scm-value-cc.exp
5564 * gdb.guile/types-module.exp
5565 * gdb.linespec/break-ask.exp
5566 * gdb.linespec/cpexplicit.exp
5567 * gdb.linespec/explicit.exp
5568 * gdb.linespec/keywords.exp
5569 * gdb.linespec/linespec.exp
5570 * gdb.linespec/ls-dollar.exp
5571 * gdb.linespec/ls-errs.exp
5572 * gdb.linespec/skip-two.exp
5573 * gdb.linespec/thread.exp
5574 * gdb.mi/mi-async.exp
5575 * gdb.mi/mi-basics.exp
5576 * gdb.mi/mi-break.exp
5577 * gdb.mi/mi-catch-load.exp
5579 * gdb.mi/mi-cmd-param-changed.exp
5580 * gdb.mi/mi-console.exp
5581 * gdb.mi/mi-detach.exp
5582 * gdb.mi/mi-disassemble.exp
5583 * gdb.mi/mi-eval.exp
5584 * gdb.mi/mi-file-transfer.exp
5585 * gdb.mi/mi-file.exp
5586 * gdb.mi/mi-fill-memory.exp
5587 * gdb.mi/mi-inheritance-syntax-error.exp
5588 * gdb.mi/mi-linespec-err-cp.exp
5589 * gdb.mi/mi-logging.exp
5590 * gdb.mi/mi-memory-changed.exp
5591 * gdb.mi/mi-read-memory.exp
5592 * gdb.mi/mi-record-changed.exp
5593 * gdb.mi/mi-reg-undefined.exp
5594 * gdb.mi/mi-regs.exp
5595 * gdb.mi/mi-return.exp
5596 * gdb.mi/mi-reverse.exp
5597 * gdb.mi/mi-simplerun.exp
5598 * gdb.mi/mi-solib.exp
5599 * gdb.mi/mi-stack.exp
5600 * gdb.mi/mi-stepi.exp
5601 * gdb.mi/mi-syn-frame.exp
5602 * gdb.mi/mi-until.exp
5603 * gdb.mi/mi-var-block.exp
5604 * gdb.mi/mi-var-child.exp
5605 * gdb.mi/mi-var-cmd.exp
5606 * gdb.mi/mi-var-cp.exp
5607 * gdb.mi/mi-var-display.exp
5608 * gdb.mi/mi-var-invalidate.exp
5609 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5610 * gdb.mi/mi-vla-fortran.exp
5611 * gdb.mi/mi-watch.exp
5612 * gdb.mi/mi2-var-child.exp
5613 * gdb.mi/user-selected-context-sync.exp
5614 * gdb.modula2/unbounded-array.exp
5615 * gdb.multi/dummy-frame-restore.exp
5616 * gdb.multi/multi-arch-exec.exp
5617 * gdb.multi/multi-arch.exp
5618 * gdb.multi/tids.exp
5619 * gdb.multi/watchpoint-multi.exp
5620 * gdb.opencl/callfuncs.exp
5621 * gdb.opencl/convs_casts.exp
5622 * gdb.opencl/datatypes.exp
5623 * gdb.opencl/operators.exp
5624 * gdb.opencl/vec_comps.exp
5625 * gdb.opt/clobbered-registers-O2.exp
5626 * gdb.opt/inline-break.exp
5627 * gdb.opt/inline-bt.exp
5628 * gdb.opt/inline-cmds.exp
5629 * gdb.opt/inline-locals.exp
5630 * gdb.pascal/case-insensitive-symbols.exp
5631 * gdb.pascal/floats.exp
5632 * gdb.pascal/gdb11492.exp
5633 * gdb.python/lib-types.exp
5634 * gdb.python/py-arch.exp
5635 * gdb.python/py-as-string.exp
5636 * gdb.python/py-bad-printers.exp
5637 * gdb.python/py-block.exp
5638 * gdb.python/py-breakpoint-create-fail.exp
5639 * gdb.python/py-breakpoint.exp
5640 * gdb.python/py-caller-is.exp
5641 * gdb.python/py-cmd.exp
5642 * gdb.python/py-explore-cc.exp
5643 * gdb.python/py-explore.exp
5644 * gdb.python/py-finish-breakpoint.exp
5645 * gdb.python/py-finish-breakpoint2.exp
5646 * gdb.python/py-frame-args.exp
5647 * gdb.python/py-frame-inline.exp
5648 * gdb.python/py-frame.exp
5649 * gdb.python/py-framefilter-mi.exp
5650 * gdb.python/py-infthread.exp
5651 * gdb.python/py-lazy-string.exp
5652 * gdb.python/py-linetable.exp
5653 * gdb.python/py-mi-events.exp
5654 * gdb.python/py-mi-objfile.exp
5655 * gdb.python/py-mi.exp
5656 * gdb.python/py-objfile.exp
5657 * gdb.python/py-pp-integral.exp
5658 * gdb.python/py-pp-maint.exp
5659 * gdb.python/py-pp-re-notag.exp
5660 * gdb.python/py-pp-registration.exp
5661 * gdb.python/py-recurse-unwind.exp
5662 * gdb.python/py-strfns.exp
5663 * gdb.python/py-symbol.exp
5664 * gdb.python/py-symtab.exp
5665 * gdb.python/py-sync-interp.exp
5666 * gdb.python/py-typeprint.exp
5667 * gdb.python/py-unwind-maint.exp
5668 * gdb.python/py-unwind.exp
5669 * gdb.python/py-value-cc.exp
5670 * gdb.python/py-xmethods.exp
5671 * gdb.reverse/amd64-tailcall-reverse.exp
5672 * gdb.reverse/break-precsave.exp
5673 * gdb.reverse/break-reverse.exp
5674 * gdb.reverse/consecutive-precsave.exp
5675 * gdb.reverse/consecutive-reverse.exp
5676 * gdb.reverse/finish-precsave.exp
5677 * gdb.reverse/finish-reverse-bkpt.exp
5678 * gdb.reverse/finish-reverse.exp
5679 * gdb.reverse/fstatat-reverse.exp
5680 * gdb.reverse/getresuid-reverse.exp
5681 * gdb.reverse/i386-precsave.exp
5682 * gdb.reverse/i386-reverse.exp
5683 * gdb.reverse/i386-sse-reverse.exp
5684 * gdb.reverse/i387-env-reverse.exp
5685 * gdb.reverse/i387-stack-reverse.exp
5686 * gdb.reverse/insn-reverse.exp
5687 * gdb.reverse/machinestate-precsave.exp
5688 * gdb.reverse/machinestate.exp
5689 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5690 * gdb.reverse/pipe-reverse.exp
5691 * gdb.reverse/readv-reverse.exp
5692 * gdb.reverse/recvmsg-reverse.exp
5693 * gdb.reverse/rerun-prec.exp
5694 * gdb.reverse/s390-mvcle.exp
5695 * gdb.reverse/step-precsave.exp
5696 * gdb.reverse/step-reverse.exp
5697 * gdb.reverse/time-reverse.exp
5698 * gdb.reverse/until-precsave.exp
5699 * gdb.reverse/until-reverse.exp
5700 * gdb.reverse/waitpid-reverse.exp
5701 * gdb.reverse/watch-precsave.exp
5702 * gdb.reverse/watch-reverse.exp
5703 * gdb.rust/generics.exp
5704 * gdb.rust/methods.exp
5705 * gdb.rust/modules.exp
5706 * gdb.rust/simple.exp
5707 * gdb.server/connect-with-no-symbol-file.exp
5708 * gdb.server/ext-attach.exp
5709 * gdb.server/ext-restart.exp
5710 * gdb.server/ext-wrapper.exp
5711 * gdb.server/file-transfer.exp
5712 * gdb.server/server-exec-info.exp
5713 * gdb.server/server-kill.exp
5714 * gdb.server/server-mon.exp
5715 * gdb.server/wrapper.exp
5716 * gdb.stabs/exclfwd.exp
5717 * gdb.stabs/gdb11479.exp
5718 * gdb.threads/clone-new-thread-event.exp
5719 * gdb.threads/corethreads.exp
5720 * gdb.threads/current-lwp-dead.exp
5721 * gdb.threads/dlopen-libpthread.exp
5722 * gdb.threads/gcore-thread.exp
5723 * gdb.threads/sigstep-threads.exp
5724 * gdb.threads/watchpoint-fork.exp
5725 * gdb.trace/actions-changed.exp
5726 * gdb.trace/backtrace.exp
5727 * gdb.trace/change-loc.exp
5728 * gdb.trace/circ.exp
5729 * gdb.trace/collection.exp
5730 * gdb.trace/disconnected-tracing.exp
5731 * gdb.trace/ftrace.exp
5732 * gdb.trace/mi-trace-frame-collected.exp
5733 * gdb.trace/mi-trace-unavailable.exp
5734 * gdb.trace/mi-traceframe-changed.exp
5735 * gdb.trace/mi-tsv-changed.exp
5736 * gdb.trace/no-attach-trace.exp
5737 * gdb.trace/passc-dyn.exp
5738 * gdb.trace/qtro.exp
5739 * gdb.trace/range-stepping.exp
5740 * gdb.trace/read-memory.exp
5741 * gdb.trace/save-trace.exp
5742 * gdb.trace/signal.exp
5743 * gdb.trace/status-stop.exp
5744 * gdb.trace/tfile.exp
5745 * gdb.trace/trace-break.exp
5746 * gdb.trace/trace-buffer-size.exp
5747 * gdb.trace/trace-condition.exp
5748 * gdb.trace/tracefile-pseudo-reg.exp
5749 * gdb.trace/tstatus.exp
5750 * gdb.trace/unavailable.exp
5751 * gdb.trace/while-dyn.exp
5752 * gdb.trace/while-stepping.exp
5754 2016-12-22 Doug Evans <xdje42@gmail.com>
5756 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5759 2016-12-19 Yao Qi <yao.qi@linaro.org>
5761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5762 (test_with_self): Don't call do_steps_and_nexts, and remove
5763 code about stepping into xmalloc.
5765 2016-12-09 Yao Qi <yao.qi@linaro.org>
5767 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5769 2016-12-09 Yao Qi <yao.qi@linaro.org>
5771 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5773 2016-12-09 Pedro Alves <palves@redhat.com>
5775 * gdb.base/all-architectures-0.exp: New file.
5776 * gdb.base/all-architectures-1.exp: New file.
5777 * gdb.base/all-architectures-2.exp: New file.
5778 * gdb.base/all-architectures-3.exp: New file.
5779 * gdb.base/all-architectures-4.exp: New file.
5780 * gdb.base/all-architectures-5.exp: New file.
5781 * gdb.base/all-architectures-6.exp: New file.
5782 * gdb.base/all-architectures-7.exp: New file.
5783 * gdb.base/all-architectures.exp.in: New file.
5785 2016-12-09 Yao Qi <yao.qi@linaro.org>
5787 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5789 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5791 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5793 Remove useless pattern-matching code.
5795 2016-12-02 Pedro Alves <palves@redhat.com>
5797 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5799 (top level): Call it.
5801 2016-12-02 Pedro Alves <palves@redhat.com>
5803 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5805 (top level): Call it.
5807 2016-12-02 Pedro Alves <palves@redhat.com>
5810 * gdb.base/commands.exp (user_defined_command_args_eval): New
5812 (top level): Call it.
5814 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5816 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5819 2016-12-02 Tom Tromey <tom@tromey.com>
5821 * gdb.dwarf2/main-subprogram.c: New file.
5822 * gdb.dwarf2/main-subprogram.exp: New file.
5824 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5826 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5827 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5828 gdb_test_no_output for a couple of cases.
5829 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5831 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5833 Fix test names and standardize compilation error messages throughout
5834 the following files:
5837 * gdb.arch/alpha-step.exp
5838 * gdb.arch/e500-prologue.exp
5839 * gdb.arch/ftrace-insn-reloc.exp
5840 * gdb.arch/gdb1291.exp
5841 * gdb.arch/gdb1431.exp
5842 * gdb.arch/gdb1558.exp
5843 * gdb.arch/i386-dr3-watch.exp
5844 * gdb.arch/i386-sse-stack-align.exp
5845 * gdb.arch/ia64-breakpoint-shadow.exp
5846 * gdb.arch/pa-nullify.exp
5847 * gdb.arch/powerpc-aix-prologue.exp
5848 * gdb.arch/thumb-bx-pc.exp
5849 * gdb.base/annota1.exp
5850 * gdb.base/annota3.exp
5851 * gdb.base/arrayidx.exp
5852 * gdb.base/assign.exp
5853 * gdb.base/attach.exp
5856 * gdb.base/bfp-test.exp
5857 * gdb.base/bigcore.exp
5858 * gdb.base/bitfields2.exp
5859 * gdb.base/break-fun-addr.exp
5860 * gdb.base/break-probes.exp
5861 * gdb.base/call-rt-st.exp
5862 * gdb.base/callexit.exp
5863 * gdb.base/catch-fork-kill.exp
5864 * gdb.base/charset.exp
5865 * gdb.base/checkpoint.exp
5866 * gdb.base/comprdebug.exp
5867 * gdb.base/constvars.exp
5868 * gdb.base/coredump-filter.exp
5869 * gdb.base/cursal.exp
5870 * gdb.base/cvexpr.exp
5871 * gdb.base/detach.exp
5872 * gdb.base/display.exp
5873 * gdb.base/dmsym.exp
5874 * gdb.base/dprintf-pending.exp
5875 * gdb.base/dso2dso.exp
5876 * gdb.base/dtrace-probe.exp
5878 * gdb.base/enum_cond.exp
5879 * gdb.base/exe-lock.exp
5880 * gdb.base/exec-invalid-sysroot.exp
5881 * gdb.base/execl-update-breakpoints.exp
5882 * gdb.base/exprs.exp
5883 * gdb.base/fileio.exp
5885 * gdb.base/finish.exp
5886 * gdb.base/fixsection.exp
5887 * gdb.base/foll-vfork.exp
5888 * gdb.base/frame-args.exp
5889 * gdb.base/gcore.exp
5890 * gdb.base/gdb1250.exp
5891 * gdb.base/global-var-nested-by-dso.exp
5892 * gdb.base/gnu-ifunc.exp
5893 * gdb.base/hashline1.exp
5894 * gdb.base/hashline2.exp
5895 * gdb.base/hashline3.exp
5896 * gdb.base/hbreak-in-shr-unsupported.exp
5898 * gdb.base/infcall-input.exp
5899 * gdb.base/info-fun.exp
5900 * gdb.base/info-shared.exp
5901 * gdb.base/jit-simple.exp
5902 * gdb.base/jit-so.exp
5905 * gdb.base/label.exp
5906 * gdb.base/lineinc.exp
5907 * gdb.base/logical.exp
5908 * gdb.base/longjmp.exp
5909 * gdb.base/macscp.exp
5910 * gdb.base/miscexprs.exp
5911 * gdb.base/new-ui-echo.exp
5912 * gdb.base/new-ui-pending-input.exp
5913 * gdb.base/new-ui.exp
5914 * gdb.base/nodebug.exp
5915 * gdb.base/nofield.exp
5916 * gdb.base/offsets.exp
5917 * gdb.base/overlays.exp
5918 * gdb.base/pending.exp
5919 * gdb.base/pointers.exp
5920 * gdb.base/pr11022.exp
5921 * gdb.base/printcmds.exp
5922 * gdb.base/prologue.exp
5923 * gdb.base/ptr-typedef.exp
5924 * gdb.base/realname-expand.exp
5925 * gdb.base/relativedebug.exp
5926 * gdb.base/relocate.exp
5927 * gdb.base/remote.exp
5928 * gdb.base/reread.exp
5929 * gdb.base/return2.exp
5930 * gdb.base/savedregs.exp
5932 * gdb.base/sepdebug.exp
5933 * gdb.base/sepsymtab.exp
5934 * gdb.base/set-inferior-tty.exp
5935 * gdb.base/setshow.exp
5936 * gdb.base/shlib-call.exp
5937 * gdb.base/sigaltstack.exp
5938 * gdb.base/siginfo-addr.exp
5939 * gdb.base/signals.exp
5940 * gdb.base/signull.exp
5941 * gdb.base/sigrepeat.exp
5942 * gdb.base/so-impl-ld.exp
5943 * gdb.base/solib-display.exp
5944 * gdb.base/solib-overlap.exp
5945 * gdb.base/solib-search.exp
5946 * gdb.base/solib-symbol.exp
5947 * gdb.base/structs.exp
5948 * gdb.base/structs2.exp
5949 * gdb.base/symtab-search-order.exp
5950 * gdb.base/twice.exp
5951 * gdb.base/unload.exp
5952 * gdb.base/varargs.exp
5953 * gdb.base/watchpoint-solib.exp
5954 * gdb.base/watchpoint.exp
5955 * gdb.base/whatis.exp
5956 * gdb.base/wrong_frame_bt_full.exp
5957 * gdb.btrace/dlopen.exp
5958 * gdb.cell/ea-standalone.exp
5959 * gdb.cell/ea-test.exp
5960 * gdb.cp/dispcxx.exp
5961 * gdb.cp/gdb2384.exp
5962 * gdb.cp/method2.exp
5963 * gdb.cp/nextoverthrow.exp
5964 * gdb.cp/pr10728.exp
5965 * gdb.disasm/am33.exp
5966 * gdb.disasm/h8300s.exp
5967 * gdb.disasm/mn10300.exp
5968 * gdb.disasm/sh3.exp
5969 * gdb.dwarf2/dw2-dir-file-name.exp
5970 * gdb.fortran/complex.exp
5971 * gdb.fortran/library-module.exp
5972 * gdb.guile/scm-pretty-print.exp
5973 * gdb.guile/scm-symbol.exp
5974 * gdb.guile/scm-type.exp
5975 * gdb.guile/scm-value.exp
5976 * gdb.linespec/linespec.exp
5979 * gdb.mi/mi-breakpoint-changed.exp
5980 * gdb.mi/mi-dprintf-pending.exp
5981 * gdb.mi/mi-dprintf.exp
5982 * gdb.mi/mi-exit-code.exp
5983 * gdb.mi/mi-pending.exp
5984 * gdb.mi/mi-solib.exp
5985 * gdb.mi/new-ui-mi-sync.exp
5986 * gdb.mi/pr11022.exp
5987 * gdb.mi/user-selected-context-sync.exp
5988 * gdb.opt/solib-intra-step.exp
5989 * gdb.python/py-events.exp
5990 * gdb.python/py-finish-breakpoint.exp
5991 * gdb.python/py-mi.exp
5992 * gdb.python/py-prettyprint.exp
5993 * gdb.python/py-shared.exp
5994 * gdb.python/py-symbol.exp
5995 * gdb.python/py-template.exp
5996 * gdb.python/py-type.exp
5997 * gdb.python/py-value.exp
5998 * gdb.reverse/solib-precsave.exp
5999 * gdb.reverse/solib-reverse.exp
6000 * gdb.server/solib-list.exp
6001 * gdb.stabs/weird.exp
6002 * gdb.threads/reconnect-signal.exp
6003 * gdb.threads/stepi-random-signal.exp
6004 * gdb.trace/actions.exp
6006 * gdb.trace/backtrace.exp
6007 * gdb.trace/change-loc.exp
6008 * gdb.trace/deltrace.exp
6009 * gdb.trace/ftrace-lock.exp
6010 * gdb.trace/ftrace.exp
6011 * gdb.trace/infotrace.exp
6012 * gdb.trace/mi-tracepoint-changed.exp
6013 * gdb.trace/packetlen.exp
6014 * gdb.trace/passcount.exp
6015 * gdb.trace/pending.exp
6016 * gdb.trace/range-stepping.exp
6017 * gdb.trace/report.exp
6018 * gdb.trace/stap-trace.exp
6019 * gdb.trace/tfind.exp
6020 * gdb.trace/trace-break.exp
6021 * gdb.trace/trace-condition.exp
6022 * gdb.trace/trace-enable-disable.exp
6023 * gdb.trace/trace-mt.exp
6024 * gdb.trace/tracecmd.exp
6025 * gdb.trace/tspeed.exp
6029 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6031 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6032 with gdb_test_no_output.
6033 Use command as test name.
6035 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6037 Fix test names starting with uppercase throughout the files.
6039 * gdb.ada/assign_1.exp
6040 * gdb.ada/boolean_expr.exp
6041 * gdb.base/arrayidx.exp
6043 * gdb.base/gcore-buffer-overflow.exp
6044 * gdb.base/testenv.exp
6045 * gdb.compile/compile.exp
6046 * gdb.python/py-framefilter-invalidarg.exp
6047 * gdb.python/py-framefilter.exp
6049 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6051 Fix test names starting with uppercase throughout the files.
6053 * gdb.ada/array_return.exp
6054 * gdb.ada/expr_delims.exp
6055 * gdb.ada/mi_dyn_arr.exp
6056 * gdb.ada/mi_interface.exp
6057 * gdb.ada/mi_var_array.exp
6058 * gdb.ada/watch_arg.exp
6059 * gdb.arch/alpha-step.exp
6060 * gdb.arch/altivec-regs.exp
6061 * gdb.arch/e500-regs.exp
6062 * gdb.arch/powerpc-d128-regs.exp
6063 * gdb.base/arrayidx.exp
6064 * gdb.base/break.exp
6065 * gdb.base/checkpoint.exp
6066 * gdb.base/debug-expr.exp
6067 * gdb.base/dmsym.exp
6068 * gdb.base/radix.exp
6069 * gdb.base/sepdebug.exp
6070 * gdb.base/testenv.exp
6071 * gdb.base/watch_thread_num.exp
6072 * gdb.base/watchpoint-cond-gone.exp
6073 * gdb.cell/break.exp
6074 * gdb.cell/ea-cache.exp
6075 * gdb.compile/compile.exp
6076 * gdb.cp/gdb2495.exp
6077 * gdb.gdb/selftest.exp
6078 * gdb.gdb/xfullpath.exp
6080 * gdb.go/integers.exp
6081 * gdb.objc/basicclass.exp
6082 * gdb.pascal/hello.exp
6083 * gdb.pascal/integers.exp
6084 * gdb.python/py-breakpoint.exp
6085 * gdb.python/py-cmd.exp
6086 * gdb.python/py-linetable.exp
6087 * gdb.python/py-xmethods.exp
6088 * gdb.python/python.exp
6089 * gdb.reverse/consecutive-precsave.exp
6090 * gdb.reverse/finish-precsave.exp
6091 * gdb.reverse/i386-precsave.exp
6092 * gdb.reverse/machinestate-precsave.exp
6093 * gdb.reverse/sigall-precsave.exp
6094 * gdb.reverse/solib-precsave.exp
6095 * gdb.reverse/step-precsave.exp
6096 * gdb.reverse/until-precsave.exp
6097 * gdb.reverse/watch-precsave.exp
6098 * gdb.threads/leader-exit.exp
6099 * gdb.threads/pthreads.exp
6100 * gdb.threads/wp-replication.exp
6101 * gdb.trace/actions.exp
6102 * gdb.trace/mi-tsv-changed.exp
6105 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6107 Fix test names starting with uppercase throughout the files.
6109 * gdb.arch/i386-bp_permanent.exp
6110 * gdb.arch/i386-gnu-cfi.exp
6111 * gdb.base/disasm-end-cu.exp
6112 * gdb.base/macscp.exp
6113 * gdb.base/pending.exp
6114 * gdb.base/watch_thread_num.exp
6115 * gdb.cp/exception.exp
6116 * gdb.cp/gdb2495.exp
6118 * gdb.python/py-evsignal.exp
6119 * gdb.python/python.exp
6120 * gdb.trace/tracecmd.exp
6122 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6124 Fix test names starting with uppercase throughout the files.
6126 * gdb.base/charset.exp
6128 * gdb.base/multi-forks.exp
6129 * gdb.guile/scm-progspace.exp
6130 * gdb.opencl/datatypes.exp
6131 * gdb.python/py-block.exp
6132 * gdb.python/py-function.exp
6133 * gdb.python/py-symbol.exp
6134 * gdb.python/py-symtab.exp
6135 * gdb.python/py-xmethods.exp
6136 * gdb.reverse/break-precsave.exp
6137 * gdb.reverse/break-reverse.exp
6138 * gdb.reverse/consecutive-precsave.exp
6139 * gdb.reverse/consecutive-reverse.exp
6140 * gdb.reverse/finish-precsave.exp
6141 * gdb.reverse/finish-reverse-bkpt.exp
6142 * gdb.reverse/finish-reverse.exp
6143 * gdb.reverse/fstatat-reverse.exp
6144 * gdb.reverse/getresuid-reverse.exp
6145 * gdb.reverse/i386-precsave.exp
6146 * gdb.reverse/i386-reverse.exp
6147 * gdb.reverse/i386-sse-reverse.exp
6148 * gdb.reverse/i387-stack-reverse.exp
6149 * gdb.reverse/insn-reverse.exp
6150 * gdb.reverse/machinestate-precsave.exp
6151 * gdb.reverse/machinestate.exp
6152 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6153 * gdb.reverse/pipe-reverse.exp
6154 * gdb.reverse/readv-reverse.exp
6155 * gdb.reverse/recvmsg-reverse.exp
6156 * gdb.reverse/rerun-prec.exp
6157 * gdb.reverse/s390-mvcle.exp
6158 * gdb.reverse/sigall-precsave.exp
6159 * gdb.reverse/sigall-reverse.exp
6160 * gdb.reverse/solib-precsave.exp
6161 * gdb.reverse/solib-reverse.exp
6162 * gdb.reverse/step-precsave.exp
6163 * gdb.reverse/step-reverse.exp
6164 * gdb.reverse/time-reverse.exp
6165 * gdb.reverse/until-precsave.exp
6166 * gdb.reverse/until-reverse.exp
6167 * gdb.reverse/waitpid-reverse.exp
6168 * gdb.reverse/watch-precsave.exp
6169 * gdb.reverse/watch-reverse.exp
6171 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6173 Fix test names starting with uppercase throughout the files.
6175 * gdb.arch/i386-mpx-simple_segv.exp
6176 * gdb.arch/i386-mpx.exp
6177 * gdb.arch/i386-permbkpt.exp
6178 * gdb.arch/pa-nullify.exp
6179 * gdb.arch/powerpc-d128-regs.exp
6180 * gdb.arch/vsx-regs.exp
6181 * gdb.base/bfp-test.exp
6182 * gdb.base/break.exp
6183 * gdb.base/breakpoint-shadow.exp
6184 * gdb.base/callfuncs.exp
6185 * gdb.base/charset.exp
6186 * gdb.base/commands.exp
6187 * gdb.base/completion.exp
6188 * gdb.base/dfp-test.exp
6190 * gdb.base/ending-run.exp
6192 * gdb.base/expand-psymtabs.exp
6193 * gdb.base/float128.exp
6194 * gdb.base/floatn.exp
6195 * gdb.base/foll-exec-mode.exp
6196 * gdb.base/gdb1056.exp
6197 * gdb.base/gdb11531.exp
6198 * gdb.base/kill-after-signal.exp
6199 * gdb.base/multi-forks.exp
6200 * gdb.base/overlays.exp
6201 * gdb.base/pending.exp
6202 * gdb.base/sepdebug.exp
6203 * gdb.base/testenv.exp
6204 * gdb.base/valgrind-db-attach.exp
6205 * gdb.base/watch_thread_num.exp
6206 * gdb.base/watchpoint-cond-gone.exp
6207 * gdb.base/watchpoint.exp
6208 * gdb.base/watchpoints.exp
6209 * gdb.cp/arg-reference.exp
6210 * gdb.cp/baseenum.exp
6211 * gdb.cp/operator.exp
6213 * gdb.dwarf2/dw2-op-out-param.exp
6214 * gdb.dwarf2/dw2-reg-undefined.exp
6217 * gdb.go/integers.exp
6218 * gdb.go/methods.exp
6219 * gdb.go/package.exp
6220 * gdb.guile/scm-parameter.exp
6221 * gdb.guile/scm-progspace.exp
6222 * gdb.guile/scm-value.exp
6223 * gdb.mi/mi-pending.exp
6224 * gdb.mi/user-selected-context-sync.exp
6225 * gdb.multi/multi-attach.exp
6226 * gdb.multi/tids.exp
6227 * gdb.opt/clobbered-registers-O2.exp
6228 * gdb.pascal/floats.exp
6229 * gdb.pascal/integers.exp
6230 * gdb.python/py-block.exp
6231 * gdb.python/py-events.exp
6232 * gdb.python/py-parameter.exp
6233 * gdb.python/py-symbol.exp
6234 * gdb.python/py-symtab.exp
6235 * gdb.python/py-type.exp
6236 * gdb.python/py-value.exp
6237 * gdb.python/py-xmethods.exp
6238 * gdb.python/python.exp
6239 * gdb.reverse/break-precsave.exp
6240 * gdb.reverse/consecutive-precsave.exp
6241 * gdb.reverse/finish-precsave.exp
6242 * gdb.reverse/i386-precsave.exp
6243 * gdb.reverse/machinestate-precsave.exp
6244 * gdb.reverse/sigall-precsave.exp
6245 * gdb.reverse/solib-precsave.exp
6246 * gdb.reverse/step-precsave.exp
6247 * gdb.reverse/until-precsave.exp
6248 * gdb.reverse/watch-precsave.exp
6249 * gdb.server/ext-attach.exp
6250 * gdb.server/ext-restart.exp
6251 * gdb.server/ext-run.exp
6252 * gdb.server/ext-wrapper.exp
6253 * gdb.stabs/gdb11479.exp
6254 * gdb.stabs/weird.exp
6255 * gdb.threads/attach-many-short-lived-threads.exp
6256 * gdb.threads/kill.exp
6257 * gdb.threads/watchpoint-fork.exp
6259 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6261 Fix test names starting with uppercase throughout all the files below.
6263 * gdb.ada/array_return.exp
6264 * gdb.ada/catch_ex.exp
6265 * gdb.ada/info_exc.exp
6266 * gdb.ada/mi_catch_ex.exp
6267 * gdb.ada/mi_dyn_arr.exp
6268 * gdb.ada/mi_ex_cond.exp
6269 * gdb.ada/mi_exc_info.exp
6270 * gdb.ada/mi_interface.exp
6271 * gdb.ada/mi_task_arg.exp
6272 * gdb.ada/mi_task_info.exp
6273 * gdb.ada/mi_var_array.exp
6274 * gdb.arch/alpha-step.exp
6275 * gdb.arch/amd64-disp-step.exp
6276 * gdb.arch/arm-disp-step.exp
6277 * gdb.arch/disp-step-insn-reloc.exp
6278 * gdb.arch/e500-prologue.exp
6279 * gdb.arch/ftrace-insn-reloc.exp
6280 * gdb.arch/gdb1558.exp
6281 * gdb.arch/i386-bp_permanent.exp
6282 * gdb.arch/i386-disp-step.exp
6283 * gdb.arch/i386-float.exp
6284 * gdb.arch/i386-gnu-cfi.exp
6285 * gdb.arch/ia64-breakpoint-shadow.exp
6286 * gdb.arch/mips16-thunks.exp
6287 * gdb.arch/pa-nullify.exp
6288 * gdb.arch/powerpc-aix-prologue.exp
6289 * gdb.arch/powerpc-power.exp
6290 * gdb.arch/ppc-dfp.exp
6291 * gdb.arch/s390-tdbregs.exp
6292 * gdb.arch/spu-info.exp
6293 * gdb.arch/spu-ls.exp
6294 * gdb.arch/thumb-bx-pc.exp
6295 * gdb.base/advance.exp
6296 * gdb.base/annota-input-while-running.exp
6297 * gdb.base/arrayidx.exp
6298 * gdb.base/asmlabel.exp
6299 * gdb.base/async.exp
6300 * gdb.base/attach-wait-input.exp
6301 * gdb.base/auto-connect-native-target.exp
6302 * gdb.base/batch-preserve-term-settings.exp
6303 * gdb.base/bfp-test.exp
6304 * gdb.base/bigcore.exp
6305 * gdb.base/bp-permanent.exp
6306 * gdb.base/break-always.exp
6307 * gdb.base/break-fun-addr.exp
6308 * gdb.base/break-idempotent.exp
6309 * gdb.base/break-main-file-remove-fail.exp
6310 * gdb.base/break-probes.exp
6311 * gdb.base/break-unload-file.exp
6312 * gdb.base/break.exp
6313 * gdb.base/call-ar-st.exp
6314 * gdb.base/call-rt-st.exp
6315 * gdb.base/call-sc.exp
6316 * gdb.base/call-signal-resume.exp
6317 * gdb.base/call-strs.exp
6318 * gdb.base/callexit.exp
6319 * gdb.base/callfuncs.exp
6320 * gdb.base/catch-gdb-caused-signals.exp
6321 * gdb.base/catch-signal-siginfo-cond.exp
6322 * gdb.base/catch-syscall.exp
6323 * gdb.base/compare-sections.exp
6324 * gdb.base/cond-eval-mode.exp
6325 * gdb.base/condbreak-call-false.exp
6326 * gdb.base/consecutive-step-over.exp
6327 * gdb.base/cursal.exp
6328 * gdb.base/disabled-location.exp
6329 * gdb.base/disasm-end-cu.exp
6330 * gdb.base/display.exp
6331 * gdb.base/double-prompt-target-event-error.exp
6332 * gdb.base/dprintf-bp-same-addr.exp
6333 * gdb.base/dprintf-detach.exp
6334 * gdb.base/dprintf-next.exp
6335 * gdb.base/dprintf-non-stop.exp
6336 * gdb.base/dprintf-pending.exp
6337 * gdb.base/dso2dso.exp
6338 * gdb.base/ending-run.exp
6339 * gdb.base/enum_cond.exp
6340 * gdb.base/examine-backward.exp
6341 * gdb.base/exe-lock.exp
6342 * gdb.base/exec-invalid-sysroot.exp
6343 * gdb.base/execl-update-breakpoints.exp
6344 * gdb.base/execution-termios.exp
6345 * gdb.base/fileio.exp
6346 * gdb.base/fixsection.exp
6347 * gdb.base/foll-exec-mode.exp
6348 * gdb.base/foll-exec.exp
6349 * gdb.base/fork-running-state.exp
6350 * gdb.base/frame-args.exp
6351 * gdb.base/fullpath-expand.exp
6352 * gdb.base/func-ptr.exp
6353 * gdb.base/gcore-relro-pie.exp
6354 * gdb.base/gdb1090.exp
6355 * gdb.base/gdb1555.exp
6356 * gdb.base/global-var-nested-by-dso.exp
6357 * gdb.base/gnu-ifunc.exp
6358 * gdb.base/hbreak-in-shr-unsupported.exp
6359 * gdb.base/hbreak-unmapped.exp
6360 * gdb.base/hook-stop.exp
6361 * gdb.base/infcall-input.exp
6362 * gdb.base/info-fun.exp
6363 * gdb.base/info-shared.exp
6364 * gdb.base/interrupt-noterm.exp
6365 * gdb.base/jit-so.exp
6367 * gdb.base/line-symtabs.exp
6369 * gdb.base/longjmp.exp
6370 * gdb.base/macscp.exp
6371 * gdb.base/max-value-size.exp
6372 * gdb.base/nodebug.exp
6373 * gdb.base/nofield.exp
6374 * gdb.base/overlays.exp
6375 * gdb.base/paginate-after-ctrl-c-running.exp
6376 * gdb.base/paginate-bg-execution.exp
6377 * gdb.base/paginate-inferior-exit.exp
6378 * gdb.base/pending.exp
6379 * gdb.base/pr11022.exp
6380 * gdb.base/printcmds.exp
6381 * gdb.base/ptr-typedef.exp
6382 * gdb.base/ptype.exp
6383 * gdb.base/randomize.exp
6384 * gdb.base/range-stepping.exp
6385 * gdb.base/realname-expand.exp
6386 * gdb.base/relativedebug.exp
6387 * gdb.base/remote.exp
6388 * gdb.base/savedregs.exp
6389 * gdb.base/sepdebug.exp
6390 * gdb.base/set-noassign.exp
6391 * gdb.base/shlib-call.exp
6392 * gdb.base/shreloc.exp
6393 * gdb.base/sigaltstack.exp
6394 * gdb.base/sigbpt.exp
6395 * gdb.base/siginfo-addr.exp
6396 * gdb.base/siginfo-obj.exp
6397 * gdb.base/siginfo-thread.exp
6398 * gdb.base/signest.exp
6399 * gdb.base/signull.exp
6400 * gdb.base/sigrepeat.exp
6402 * gdb.base/so-impl-ld.exp
6403 * gdb.base/solib-corrupted.exp
6404 * gdb.base/solib-disc.exp
6405 * gdb.base/solib-display.exp
6406 * gdb.base/solib-overlap.exp
6407 * gdb.base/solib-search.exp
6408 * gdb.base/solib-symbol.exp
6409 * gdb.base/source-execution.exp
6410 * gdb.base/sss-bp-on-user-bp-2.exp
6411 * gdb.base/sss-bp-on-user-bp.exp
6412 * gdb.base/stack-checking.exp
6413 * gdb.base/stale-infcall.exp
6414 * gdb.base/step-break.exp
6415 * gdb.base/step-line.exp
6416 * gdb.base/step-over-exit.exp
6417 * gdb.base/step-test.exp
6418 * gdb.base/structs.exp
6419 * gdb.base/sym-file.exp
6420 * gdb.base/symtab-search-order.exp
6422 * gdb.base/type-opaque.exp
6423 * gdb.base/unload.exp
6424 * gdb.base/until-nodebug.exp
6425 * gdb.base/until.exp
6426 * gdb.base/unwindonsignal.exp
6427 * gdb.base/watch-cond.exp
6428 * gdb.base/watch-non-mem.exp
6429 * gdb.base/watch_thread_num.exp
6430 * gdb.base/watchpoint-reuse-slot.exp
6431 * gdb.base/watchpoint-solib.exp
6432 * gdb.base/watchpoint.exp
6433 * gdb.btrace/dlopen.exp
6435 * gdb.cell/break.exp
6439 * gdb.cell/dwarfaddr.exp
6440 * gdb.cell/ea-cache.exp
6441 * gdb.cell/ea-standalone.exp
6442 * gdb.cell/ea-test.exp
6443 * gdb.cell/f-regs.exp
6445 * gdb.cell/gcore.exp
6446 * gdb.cell/mem-access.exp
6447 * gdb.cell/ptype.exp
6448 * gdb.cell/registers.exp
6449 * gdb.cell/sizeof.exp
6450 * gdb.cell/solib-symbol.exp
6451 * gdb.cell/solib.exp
6452 * gdb.compile/compile-tls.exp
6453 * gdb.cp/exception.exp
6454 * gdb.cp/gdb2495.exp
6456 * gdb.cp/mb-inline.exp
6457 * gdb.cp/mb-templates.exp
6458 * gdb.cp/pr10687.exp
6460 * gdb.cp/scope-err.exp
6461 * gdb.cp/templates.exp
6462 * gdb.cp/virtfunc.exp
6463 * gdb.dwarf2/dw2-dir-file-name.exp
6464 * gdb.dwarf2/dw2-single-line-discriminators.exp
6465 * gdb.fortran/complex.exp
6466 * gdb.fortran/library-module.exp
6467 * gdb.guile/guile.exp
6468 * gdb.guile/scm-cmd.exp
6469 * gdb.guile/scm-frame-inline.exp
6470 * gdb.guile/scm-objfile.exp
6471 * gdb.guile/scm-pretty-print.exp
6472 * gdb.guile/scm-symbol.exp
6473 * gdb.guile/scm-type.exp
6474 * gdb.guile/scm-value.exp
6475 * gdb.linespec/keywords.exp
6476 * gdb.linespec/ls-errs.exp
6477 * gdb.linespec/macro-relative.exp
6478 * gdb.linespec/thread.exp
6479 * gdb.mi/mi-breakpoint-changed.exp
6480 * gdb.mi/mi-dprintf-pending.exp
6481 * gdb.mi/mi-fullname-deleted.exp
6482 * gdb.mi/mi-logging.exp
6483 * gdb.mi/mi-pending.exp
6484 * gdb.mi/mi-solib.exp
6485 * gdb.mi/new-ui-mi-sync.exp
6486 * gdb.mi/user-selected-context-sync.exp
6487 * gdb.multi/dummy-frame-restore.exp
6488 * gdb.multi/multi-arch-exec.exp
6489 * gdb.multi/remove-inferiors.exp
6490 * gdb.multi/watchpoint-multi-exit.exp
6491 * gdb.opt/solib-intra-step.exp
6492 * gdb.perf/backtrace.exp
6493 * gdb.perf/single-step.exp
6494 * gdb.perf/skip-command.exp
6495 * gdb.perf/skip-prologue.exp
6496 * gdb.perf/solib.exp
6497 * gdb.python/lib-types.exp
6498 * gdb.python/py-as-string.exp
6499 * gdb.python/py-bad-printers.exp
6500 * gdb.python/py-block.exp
6501 * gdb.python/py-breakpoint.exp
6502 * gdb.python/py-cmd.exp
6503 * gdb.python/py-events.exp
6504 * gdb.python/py-evthreads.exp
6505 * gdb.python/py-finish-breakpoint.exp
6506 * gdb.python/py-finish-breakpoint2.exp
6507 * gdb.python/py-frame-inline.exp
6508 * gdb.python/py-frame.exp
6509 * gdb.python/py-inferior.exp
6510 * gdb.python/py-infthread.exp
6511 * gdb.python/py-mi.exp
6512 * gdb.python/py-objfile.exp
6513 * gdb.python/py-pp-maint.exp
6514 * gdb.python/py-pp-registration.exp
6515 * gdb.python/py-prettyprint.exp
6516 * gdb.python/py-recurse-unwind.exp
6517 * gdb.python/py-shared.exp
6518 * gdb.python/py-symbol.exp
6519 * gdb.python/py-symtab.exp
6520 * gdb.python/py-template.exp
6521 * gdb.python/py-type.exp
6522 * gdb.python/py-unwind-maint.exp
6523 * gdb.python/py-unwind.exp
6524 * gdb.python/py-value.exp
6525 * gdb.python/python.exp
6526 * gdb.reverse/finish-reverse-bkpt.exp
6527 * gdb.reverse/insn-reverse.exp
6528 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6529 * gdb.reverse/solib-precsave.exp
6530 * gdb.reverse/solib-reverse.exp
6531 * gdb.stabs/gdb11479.exp
6532 * gdb.stabs/weird.exp
6533 * gdb.threads/fork-child-threads.exp
6534 * gdb.threads/fork-plus-threads.exp
6535 * gdb.threads/fork-thread-pending.exp
6536 * gdb.threads/forking-threads-plus-breakpoint.exp
6537 * gdb.threads/hand-call-in-threads.exp
6538 * gdb.threads/interrupted-hand-call.exp
6539 * gdb.threads/linux-dp.exp
6540 * gdb.threads/local-watch-wrong-thread.exp
6541 * gdb.threads/next-while-other-thread-longjmps.exp
6542 * gdb.threads/non-ldr-exit.exp
6543 * gdb.threads/pending-step.exp
6544 * gdb.threads/print-threads.exp
6545 * gdb.threads/process-dies-while-detaching.exp
6546 * gdb.threads/process-dies-while-handling-bp.exp
6547 * gdb.threads/pthreads.exp
6548 * gdb.threads/queue-signal.exp
6549 * gdb.threads/reconnect-signal.exp
6550 * gdb.threads/signal-command-handle-nopass.exp
6551 * gdb.threads/signal-command-multiple-signals-pending.exp
6552 * gdb.threads/signal-delivered-right-thread.exp
6553 * gdb.threads/signal-sigtrap.exp
6554 * gdb.threads/sigthread.exp
6555 * gdb.threads/staticthreads.exp
6556 * gdb.threads/stepi-random-signal.exp
6557 * gdb.threads/thread-unwindonsignal.exp
6558 * gdb.threads/thread_check.exp
6559 * gdb.threads/thread_events.exp
6560 * gdb.threads/tid-reuse.exp
6561 * gdb.threads/tls-nodebug.exp
6562 * gdb.threads/tls-shared.exp
6563 * gdb.threads/tls-so_extern.exp
6564 * gdb.threads/tls.exp
6565 * gdb.threads/wp-replication.exp
6566 * gdb.trace/actions-changed.exp
6567 * gdb.trace/actions.exp
6568 * gdb.trace/backtrace.exp
6569 * gdb.trace/change-loc.exp
6570 * gdb.trace/collection.exp
6571 * gdb.trace/deltrace.exp
6572 * gdb.trace/disconnected-tracing.exp
6573 * gdb.trace/entry-values.exp
6574 * gdb.trace/ftrace-lock.exp
6575 * gdb.trace/ftrace.exp
6576 * gdb.trace/infotrace.exp
6577 * gdb.trace/mi-trace-frame-collected.exp
6578 * gdb.trace/mi-trace-unavailable.exp
6579 * gdb.trace/mi-traceframe-changed.exp
6580 * gdb.trace/mi-tracepoint-changed.exp
6581 * gdb.trace/mi-tsv-changed.exp
6582 * gdb.trace/no-attach-trace.exp
6583 * gdb.trace/packetlen.exp
6584 * gdb.trace/passc-dyn.exp
6585 * gdb.trace/passcount.exp
6586 * gdb.trace/pending.exp
6587 * gdb.trace/pr16508.exp
6588 * gdb.trace/qtro.exp
6589 * gdb.trace/range-stepping.exp
6590 * gdb.trace/read-memory.exp
6591 * gdb.trace/report.exp
6592 * gdb.trace/save-trace.exp
6593 * gdb.trace/signal.exp
6594 * gdb.trace/stap-trace.exp
6595 * gdb.trace/status-stop.exp
6596 * gdb.trace/strace.exp
6597 * gdb.trace/tfile.exp
6598 * gdb.trace/tfind.exp
6599 * gdb.trace/trace-break.exp
6600 * gdb.trace/trace-condition.exp
6601 * gdb.trace/trace-enable-disable.exp
6602 * gdb.trace/trace-mt.exp
6603 * gdb.trace/tracecmd.exp
6604 * gdb.trace/tracefile-pseudo-reg.exp
6605 * gdb.trace/tspeed.exp
6606 * gdb.trace/tstatus.exp
6608 * gdb.trace/unavailable.exp
6609 * gdb.trace/while-dyn.exp
6610 * gdb.trace/while-stepping.exp
6613 * lib/mi-support.exp
6616 * lib/prelink-support.exp
6617 * lib/selftest-support.exp
6619 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6621 * Makefile.in: Include disable-implicit-rules.mk.
6623 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6625 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6626 non-byte-aligned bit fields.
6628 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6631 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6632 respects the DW_AT_data_bit_offset attribute.
6634 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6636 * gdb.base/default.exp: Fix output of "set language".
6638 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6640 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6641 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6643 * configure.ac: Remove checks for the make program.
6644 * configure: Re-generate.
6646 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6648 * gdb.python/py-recurse-unwind.c (main): Add loop.
6649 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6650 to read_register() and gdb.parse_and_eval(). Make each code
6651 call a separate case that can be individually tested.
6652 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6653 proc. Call cont_and_backtrace for each of the code paths that
6654 we want to test in the unwinder.
6656 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6658 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6659 the definition of struct S.
6661 2016-11-11 Catherine Moore <clm@codesourcery.com>
6663 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6665 2016-11-09 Pedro Alves <palves@redhat.com>
6667 * gdb.base/commands.exp (runto_or_return): New procedure.
6668 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6669 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6670 (progvar_simple_while_test, progvar_complex_if_while_test)
6671 (if_while_breakpoint_command_test)
6672 (infrun_breakpoint_command_test, breakpoint_command_test)
6673 (user_defined_command_test, watchpoint_command_test)
6674 (test_command_prompt_position, redefine_hook_test)
6675 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6676 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6677 multi_line_input and multi_line. Remove gdb_expect and
6678 gdb_stop_suppressing_tests uses.
6679 * lib/gdb.exp (valnum_re): New global.
6680 (multi_line_input): New procedure.
6682 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6684 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6686 (test_setup): Define with proc_with_prefix.
6687 (test_cli_inferior): Likewise.
6688 (test_cli_thread): Likewise.
6689 (test_cli_frame): Likewise.
6690 (test_cli_select_frame): Likewise.
6691 (test_cli_up_down): Likewise.
6692 (test_mi_thread_select): Likewise.
6693 (test_mi_stack_select_frame): Likewise.
6694 (test_cli_in_mi_inferior): Likewise.
6695 (test_cli_in_mi_thread): Likewise.
6696 (test_cli_in_mi_frame): Likewise.
6697 (top level): Do not use with_test_prefix_procname.
6699 2016-11-09 Pedro Alves <palves@redhat.com>
6701 * gdb.base/commands.exp (gdbvar_simple_if_test)
6702 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6703 (progvar_simple_if_test, progvar_simple_while_test)
6704 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6705 (infrun_breakpoint_command_test, breakpoint_command_test)
6706 (user_defined_command_test, watchpoint_command_test)
6707 (test_command_prompt_position, deprecated_command_test)
6708 (bp_deleted_in_command, temporary_breakpoint_commands)
6709 (stray_arg0_test, source_file_with_indented_comment)
6710 (recursive_source_test, if_commands_test)
6711 (error_clears_commands_left, redefine_hook_test)
6712 (redefine_backtrace_test): Use proc_with_prefix.
6713 * lib/gdb.exp (proc_with_prefix): New proc.
6715 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6717 * gdb.base/tui-layout.c: New file.
6718 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6719 disassembly window contains very long lines.
6721 2016-11-08 Tom Tromey <tom@tromey.com>
6723 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6726 2016-11-08 Tom Tromey <tom@tromey.com>
6728 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6731 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6733 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6735 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6737 * gdb.rust/simple.rs: Add test for univariant enums without
6738 discriminants and for encoded struct-like enums.
6740 2016-10-28 Pedro Alves <palves@redhat.com>
6742 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6743 gdb_test_multiple, tighten regexps and match symtabs and line
6744 tables incrementally.
6746 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6748 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6751 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6753 * gdb.base/exec-invalid-sysroot.exp: New file.
6755 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6757 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6759 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6761 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6763 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6765 * gdb.base/killed-outside.exp: Remove $options from a call to
6766 `prepare_for_testing'.
6768 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6770 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6771 Change test message.
6773 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6775 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6778 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6780 * gdb.trace/mi-trace-save.exp: New file.
6782 2016-10-13 Yao Qi <yao.qi@linaro.org>
6784 * gdb.base/code_elim.exp (get_var_address): Remove.
6785 * gdb.base/relocate.exp: Likewise.
6786 * gdb.base/shreloc.exp: Likewise.
6787 * lib/gdb.exp (get_var_address): New.
6789 2016-10-13 Yao Qi <yao.qi@linaro.org>
6791 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6792 floating point tests if $skip_float_test is false.
6794 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6796 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6797 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6799 Add 1 to argc so we guarantee distinct initial/modified argc values.
6801 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6803 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6805 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6807 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6808 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6809 * gdb.arch/vsx-regs.exp: Likewise.
6811 2016-10-07 Yao Qi <yao.qi@linaro.org>
6813 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6815 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6817 * gdb.python/python.exp: Test decode_line("*0").
6819 2016-10-06 Doug Evans <dje@google.com>
6821 * gdb.python/py-value.exp (test_value_creation): Add test for large
6822 unsigned 64-bit value.
6824 2016-10-06 Tom Tromey <tom@tromey.com>
6826 * gdb.compile/compile.exp: Change java tests to rust.
6827 * gdb.base/setshow.exp: Change java tests to rust.
6828 * gdb.base/default.exp: Remove java from language list.
6829 * README (Examples): Update language example.
6830 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6832 * lib/gdb.exp (skip_java_tests): Remove.
6833 * lib/java.exp: Remove.
6836 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6838 * gdb.arch/mips-fcr.exp: New test.
6839 * gdb.arch/mips-fcr.c: Source for the new test.
6841 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6843 * gdb.base/solib-disc.exp: Use `standard_output_file'
6846 2016-10-06 Pedro Alves <palves@redhat.com>
6848 * gdb.base/jit-simple-dl.c: New file.
6849 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6850 * gdb.base/jit-simple.c: ... this.
6851 * gdb.base/jit-simple.exp (jit_run): Delete.
6852 (build_jit): New proc.
6853 (jit_test_reread): Recompile either the main program or the shared
6854 library, depending on what is being tested. Skip changing address
6855 if caller wants to. Compare before/after addresses. If testing
6856 standalone, explicitly load the binary. Test "maint info
6858 (top level): Add "standalone vs shared lib" and "change address"
6859 vs "same address" axes.
6861 2016-10-06 Pedro Alves <palves@redhat.com>
6863 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6866 (jit_test_reread): Use with_test_prefix. Reload the main binary
6867 explicitly. Compare the before/after addresses of the JIT
6870 2016-08-15 Doug Evans <dje@google.com>
6872 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6873 for single bitfields is bool.
6874 * gdb.xml/tdesc-regs.exp: Ditto.
6876 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6878 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6880 2016-10-05 Yao Qi <yao.qi@linaro.org>
6882 * lib/gdb.exp (support_complex_tests): Return zero if
6883 gdb_skip_float_test return true.
6885 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6886 Simon Marchi <simon.marchi@ericsson.com>
6889 * gdb.mi/user-selected-context-sync.exp: New file.
6890 * gdb.mi/user-selected-context-sync.c: New file.
6892 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6893 Simon Marchi <simon.marchi@ericsson.com>
6896 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6897 =thread-select-event check.
6899 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6901 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6902 the compulsory L operand changes.
6903 * gdb.arch/powerpc-power.s: Likewise.
6905 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6907 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6908 * gdb.base/jit-attach-pie.c: New file.
6909 * gdb.base/jit-attach-pie.exp: New file.
6911 2016-09-28 Pedro Alves <palves@redhat.com>
6913 * gdb.base/infcall-input.c: New file.
6914 * gdb.base/infcall-input.exp: New file.
6916 2016-09-22 Yao Qi <yao.qi@linaro.org>
6918 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6919 (gdb_exit): Rename it to ...
6920 (gdbserver_gdb_exit): ... Close GDBserver.
6921 (gdb_exit): New proc, call gdbserver_gdb_exit.
6922 (mi_gdb_exit): Likewise.
6924 2016-09-22 Yao Qi <yao.qi@linaro.org>
6926 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6928 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6931 2016-09-22 Yao Qi <yao.qi@linaro.org>
6933 * lib/gdbserver-support.exp: Check the existence of
6934 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6936 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6938 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6940 2016-09-21 Tom Tromey <tom@tromey.com>
6943 * gdb.base/quit.exp: New file.
6945 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6947 * .gitignore: New file.
6949 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6951 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6954 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6956 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6958 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6960 * gdb.cp/casts.cc (decltype): Move it ...
6961 (main): ... with its call to ...
6962 * gdb.cp/casts03.cc: ... a new file.
6963 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6965 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6967 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6969 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6971 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6972 and sync up the test with tests in gas/testsuite/gas/ppc.
6973 * gdb.arch/powerpc-power.exp: Likewise.
6975 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6977 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6979 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6980 Jan Kratochvil <jan.kratochvil@redhat.com>
6982 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6983 make m1's definition to be different from m2's. Use 'dummy' as an
6984 argument for probe 'two'.
6986 2016-09-10 Jon Beniston <jon@beniston.com>
6988 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6991 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6993 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6994 variable declaration.
6995 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6996 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6997 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6998 received HWCAP as its argument.
7000 2016-09-06 Pedro Alves <palves@redhat.com>
7002 * gdb.base/new-ui-pending-input.c: New file.
7003 * gdb.base/new-ui-pending-input.exp: New file.
7004 * gdb.exp (clear_gdb_spawn_id): New procedure.
7005 (with_spawn_id): Check whether gdb_spawn_id exists before
7006 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7009 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7011 * gdb.base/float128.c: New file.
7012 * gdb.base/float128.exp: Likewise.
7013 * gdb.base/floatn.c: Likewise.
7014 * gdb.base/floatn.exp: Likewise.
7016 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7018 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7020 2016-09-05 Pedro Alves <palves@redhat.com>
7023 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7024 unwinders are immediately called as side effect of "source" or
7025 "disable unwinder" commands.
7026 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7028 2016-09-02 Yao Qi <yao.qi@linaro.org>
7030 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7031 is true and $type is "float" or "double".
7033 2016-09-02 Yao Qi <yao.qi@linaro.org>
7035 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7037 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7038 * gdb.base/call-rt-st.exp: Likewise.
7039 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7040 return value instead of gdb,skip_float_test.
7041 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7042 (do_function_calls): Use its return value instead of
7043 gdb,skip_float_test.
7044 * gdb.base/finish.exp: Likewise.
7045 * gdb.base/funcargs.exp: Likewise.
7046 * gdb.base/return.exp: Likewise.
7047 * gdb.base/return2.exp: Likewise.
7048 * gdb.base/varargs.exp: Likewise.
7049 * lib/gdb.exp (gdb_skip_float_test): Change it to
7050 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7052 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7054 * gdb.multi/tids.exp: Test "thread apply all".
7056 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7058 * gdb.base/default.exp (tty): Remove.
7060 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7062 * gdb.python/py-recurse-unwind.c: New file.
7063 * gdb.python/py-recurse-unwind.py: New file.
7064 * gdb.python/py-recurse-unwind.exp: New file.
7066 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7068 * gdb.base/set-inferior-tty.exp: New file.
7069 * gdb.base/set-inferior-tty.c: New file.
7071 2016-08-23 Pedro Alves <palves@redhat.com>
7074 * gdb.base/new-ui-echo.c: New file.
7075 * gdb.base/new-ui-echo.exp: New file.
7077 2016-08-23 Yao Qi <yao.qi@linaro.org>
7079 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7081 * gdb.server/connect-without-multi-process.exp (do_test):
7084 2016-08-23 Yao Qi <yao.qi@linaro.org>
7086 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7087 standalone_txt. Delete gdb_txt and standalone_txt on host
7088 and target. Spawn the binary on target. Copy files from
7091 2016-08-22 Pedro Alves <palves@redhat.com>
7094 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7095 with_test_prefix. Factor out bits to ...
7096 (test_no_vdso): ... this new procedure.
7098 2016-08-19 Carl Love <cel@us.ibm.com>
7100 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7101 maintaining separate logic for constructing the output path.
7102 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7103 * gdb.arch/ppc-dfp.exp: Likewise.
7104 * gdb.arch/ppc-fp.exp: Likewise.
7105 * gdb.arch/vsx-regs.exp: Likewise.
7106 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7107 binprefix for generating the additional binary files.
7109 2016-08-19 Pedro Alves <palves@redhat.com>
7111 * gdb.trace/mi-trace-frame-collected.exp
7112 (test_trace_frame_collected): On x32, expect two registers.
7114 2016-08-18 Carl Love <cel@us.ibm.com>
7116 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7117 and sync up the test with tests in gas/testsuite/gas/ppc.
7118 * gdb.arch/powerpc-power.exp: Likewise.
7120 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7122 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7123 expected error message.
7125 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7127 * gdb.multi/remove-inferiors.exp: New file.
7128 * gdb.multi/remove-inferiors.c: New file.
7130 2016-08-12 Yao Qi <yao.qi@linaro.org>
7132 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7135 2016-08-10 Pedro Alves <palves@redhat.com>
7138 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7141 2016-08-09 Pedro Alves <palves@redhat.com>
7142 Simon Marchi <simon.marchi@ericsson.com>
7145 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7146 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7148 2016-08-09 Pedro Alves <palves@redhat.com>
7151 * gdb.mi/mi-cmd-error.exp: New file.
7153 2016-08-09 Pedro Alves <palves@redhat.com>
7156 * gdb.base/signals-state-child.c: New file.
7157 * gdb.base/signals-state-child.exp: New file.
7158 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7160 2016-08-09 Pedro Alves <palves@redhat.com>
7162 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7164 2016-08-03 Tom Tromey <tom@tromey.com>
7167 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7169 2016-08-01 Yao Qi <yao.qi@linaro.org>
7171 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7172 variable mode to "multi-process" if $multi_process is 1, otherwise
7173 set it to "single-process".
7175 2016-08-01 Yao Qi <yao.qi@linaro.org>
7177 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7178 * gdb.cp/cpexprs.exp: Likewise.
7179 * gdb.cp/m-static.exp: Likewise.
7181 2016-07-26 Tom Tromey <tom@tromey.com>
7184 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7187 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7189 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7190 selecting assembly source files.
7191 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7192 assembly source files.
7193 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7194 assembly source files.
7195 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7196 selecting assembly source files.
7198 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7200 * gdb.base/new-ui.exp (do_test_invalid_args): New
7203 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7205 * gdb.btrace/reconnect.c: New file.
7206 * gdb.btrace/reconnect.exp: New file.
7208 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7210 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7211 to test_catch_syscall_group.
7212 (test_catch_syscall_group): New.
7214 2016-07-21 Tom Tromey <tom@tromey.com>
7216 * gdb.rust/simple.rs (main): Use empty struct expression.
7217 * gdb.rust/simple.exp: Add tests for empty struct expression.
7219 2016-07-21 Yao Qi <yao.qi@linaro.org>
7221 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7222 if gdb_skip_xml_test is true on some targets.
7224 2016-07-21 Yao Qi <yao.qi@linaro.org>
7226 * gdb.server/solib-list.exp: Unset last_loaded_file.
7228 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7230 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7231 "step into captured_main (args)".
7233 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7235 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7237 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7239 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7241 2016-07-19 Pedro Alves <palves@redhat.com>
7243 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7244 * gdb.opt/inline-bt.exp: Likewise.
7245 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7246 additional_flags=-Winline.
7247 * gdb.opt/inline-locals.exp: Likewise.
7248 * gdb.opt/inline-markers.c (ATTR): Define.
7249 (inlined_fn): Use it.
7251 2016-07-19 Yao Qi <yao.qi@linaro.org>
7253 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7254 (test_with_self): Remove some code. Remove argument executable.
7255 (top-level): Use do_self_tests.
7257 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7258 Don Breazeal <donb@codesourcery.com>
7260 * gdb.base/maint.exp: Escape paths used in regular expressions.
7261 * gdb.stabs/weird.exp: Likewise.
7263 2016-07-13 Tom Tromey <tom@tromey.com>
7265 PR python/15620, PR python/18620:
7266 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7267 (test_bkpt_events): New procs.
7269 2016-07-13 Tom Tromey <tom@tromey.com>
7272 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7274 (test_watchpoints): Likewise.
7275 (test_bkpt_pending): New proc.
7277 2016-07-13 Tom Tromey <tom@tromey.com>
7280 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7283 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7285 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7286 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7287 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7289 (g): Rename g_end_lbl to g_label.
7290 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7292 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7294 2016-07-12 Tom Tromey <tom@tromey.com>
7297 * gdb.python/py-unwind-maint.exp: Update tests.
7299 2016-07-12 Yao Qi <yao.qi@linaro.org>
7301 * lib/selftest-support.exp (selftest_setup): Match the output
7302 when captured_main is inlined.
7304 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7306 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7308 (print this%a, print this%b, print this): New tests.
7309 * gdb.fortran/derived-types.f90 (this): New object and
7312 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7314 * gdb.ada/arraydim.exp: Remove extra directory level in build
7317 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7319 * lib/ada.exp: Remove extra directory level in build directory.
7320 * gdb.ada/cond_lang.exp: Likewise.
7321 * gdb.ada/exec_changed.exp: Likewise.
7322 * gdb.ada/lang_switch.exp: Likewise.
7324 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7326 * simple.rs: Add test for raw pointer subscripting.
7327 * simple.exp: Add test expectations.
7329 2016-07-05 Yao Qi <yao.qi@linaro.org>
7331 * gdb.mi/mi-reverse.exp: Match =record-started output.
7333 2016-07-01 Pedro Alves <palves@redhat.com>
7335 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7337 (jit_reader_test): Test the jit reader's unwinder.
7338 * gdb.base/jithost.c (jit_function_00_code): New global.
7339 (main): Use memcpy to fill in the mmapped code, instead of poking
7340 bytes manually here.
7341 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7343 (read_debug_info): Save the function's range.
7344 (read_sp): New function.
7345 (unwind_frame): Use it. Also unwind RBP.
7346 (get_frame_id): Use read_sp.
7347 (gdb_init_reader): Use calloc instead of malloc.
7348 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7349 parameter. Use gdb_test_multiple.
7351 2016-07-01 Pedro Alves <palves@redhat.com>
7352 Antoine Tremblay <antoine.tremblay@ericsson.com>
7354 * gdb.threads/process-dies-while-detaching.c: New file.
7355 * gdb.threads/process-dies-while-detaching.exp: New file.
7357 2016-07-01 Pedro Alves <palves@redhat.com>
7359 * gdb.multi/watchpoint-multi-exit.c: New file.
7360 * gdb.multi/watchpoint-multi-exit.exp: New file.
7362 2016-06-30 Pedro Alves <palves@redhat.com>
7364 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7365 unset inferior_spawn_id.
7367 2016-06-30 Pedro Alves <palves@redhat.com>
7369 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7370 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7372 2016-06-29 Yao Qi <yao.qi@linaro.org>
7374 * gdb.base/return.c: Add copyright header.
7376 2016-06-29 Tom Tromey <tom@tromey.com>
7379 * gdb.python/py-framefilter.exp: Add tests for setting priority
7380 and disabling of non-existent frame filter.
7382 2016-06-29 Yao Qi <yao.qi@linaro.org>
7384 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7387 2016-06-28 Yao Qi <yao.qi@linaro.org>
7389 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7390 triplets. Start gdb, execute catch syscall, and continue. Check
7391 gdb's output to determine catch syscall is supported.
7393 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7395 * gdb.rust/simple.rs: Add test for returning unit in a function.
7396 * gdb.rust/simple.exp: Add expectation for functions returning
7399 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7401 * gdb.python/py-breakpoint-create-fail.c,
7402 gdb.python/py-breakpoint-create-fail.exp,
7403 gdb.python/py-breakpoint-create-fail.py: New testcase.
7405 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7408 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7409 * gdb.rust/simple.exp: Add test expectations for new NonZero
7412 2016-06-24 David Taylor <dtaylor@emc.com>
7414 * gdb.base/offsets.exp: New file.
7415 * gdb.base/offsets.c: New file.
7417 2016-06-23 Tom Tromey <tom@tromey.com>
7420 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7421 before any filters are loaded.
7423 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7425 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7426 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7428 * gdb.fortran/derived-type-function.exp: New file.
7429 * gdb.fortran/derived-type-function.f90: New file.
7432 2016-06-21 Pedro Alves <palves@redhat.com>
7434 * gdb.base/new-ui.exp: New file.
7435 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7436 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7437 (with_spawn_id): New procedure.
7439 2016-06-21 Pedro Alves <palves@redhat.com>
7441 * gdb.mi/mi-exec-run.exp: New file.
7443 2016-06-21 Pedro Alves <palves@redhat.com>
7445 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7446 breakpoint command's output on the main UI.
7447 (test_break): New procedure, factored out from calls in the top
7449 (top level): Use foreach_with_prefix to test MI as main UI and as
7452 2016-06-21 Pedro Alves <palves@redhat.com>
7454 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7455 (test_awatch_creation_and_listing)
7456 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7457 Remove 'type' parameter.
7458 (test_watchpoint_all): New parameter mi_mode. Remove
7460 (top level): Use foreach_with_prefix, and add main/separate UI MI
7463 2016-06-21 Pedro Alves <palves@redhat.com>
7465 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7466 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7467 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7468 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7469 (gdb_main_spawn_id, mi_spawn_id): Declare and
7471 (mi_create_inferior_pty): New procedure,
7472 factored out from default_mi_gdb_start.
7473 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7475 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7476 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7477 Use mi_create_inferior_pty.
7478 (mi_gdb_start): Use eval to pass down args list.
7480 2016-06-21 Pedro Alves <palves@redhat.com>
7482 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7483 * gdb.opt/inline-cmds.exp: Add MI tests.
7485 2016-06-21 Pedro Alves <palves@redhat.com>
7487 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7489 2016-06-21 Pedro Alves <palves@redhat.com>
7491 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7492 (top level): Use it instead of mi_execute_to.
7494 2016-06-21 Pedro Alves <palves@redhat.com>
7496 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7497 (cont_handler_str): New.
7498 (signal_stop_handler): Set stop_handler_str instead of printing to
7500 (continue_handler): Set cont_handler_str instead of printing to
7502 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7503 mi_send_resuming_command. Print stop_handler_str and
7504 cont_handler_str instead of expecting the python events print
7507 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7509 * gdb.base/jit-reader.exp: New file.
7510 * gdb.base/jithost.c: New file.
7511 * gdb.base/jithost.h: New file.
7512 * gdb.base/jitreader.c : New file.
7513 * gdb.base/jit-protocol.h: New file.
7515 2016-06-17 Yao Qi <yao.qi@linaro.org>
7517 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7518 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7519 and detach-on-fork. Adjust tests.
7520 (top level): Invoke break_cond_on_syscall with combinations of
7521 syscall, follow-fork-mode and detach-on-fork.
7523 2016-06-17 Yao Qi <yao.qi@linaro.org>
7525 * gdb.base/step-over-exit.c: New.
7526 * gdb.base/step-over-exit.exp: New.
7528 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7530 * gdb.base/float.exp: Add target check for nds32*-*-*.
7531 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7533 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7535 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7536 for unsupported target features.
7537 * gdb.base/call-rt-st.exp: Likewise.
7538 * gdb.base/call-sc.exp: Likewise.
7539 * gdb.base/call-signal-resume.exp: Likewise.
7540 * gdb.base/call-strs.exp: Likewise.
7541 * gdb.base/callexit.exp: Likewise.
7542 * gdb.base/callfuncs.exp: Likewise.
7543 * gdb.base/nodebug.exp: Likewise.
7544 * gdb.base/printcmds.exp: Likewise.
7545 * gdb.base/ptype.exp: Likewise.
7546 * gdb.base/structs.exp: Likewise.
7547 * gdb.base/unwindonsignal.exp: Likewise.
7548 * gdb.cp/gdb2495.exp: Likewise.
7549 * gdb.cp/templates.exp: Likewise.
7550 * gdb.cp/virtfunc.exp: Likewise.
7551 * gdb.threads/hand-call-in-threads.exp: Likewise.
7552 * gdb.threads/interrupted-hand-call.exp: Likewise.
7553 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7555 2016-06-10 Tom Tromey <tom@tromey.com>
7558 * gdb.rust/expr.exp: Add test for integer constant larger than
7561 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7563 * gdb.fortran/nested-funcs.exp: New.
7564 * gdb.fortran/nested-funcs.f90: New.
7566 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7568 * gdb.base/examine-backward.c: New file.
7569 * gdb.base/examine-backward.exp: New file.
7571 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7573 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7576 2016-06-02 Tom Tromey <tom@tromey.com>
7579 * gdb.python/py-shared.exp: Add solib_name test.
7581 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7583 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7585 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7588 * gdb.dwarf2/implref.exp: Rename to...
7589 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7590 * gdb.dwarf2/implref-array.c: New file.
7591 * gdb.dwarf2/implref-array.exp: Likewise.
7592 * gdb.dwarf2/implref-global.c: Likewise.
7593 * gdb.dwarf2/implref-global.exp: Likewise.
7594 * gdb.dwarf2/implref-struct.c: Likewise.
7595 * gdb.dwarf2/implref-struct.exp: Likewise.
7597 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7599 * gdb.trace/trace-condition.exp: Add 64bit tests.
7601 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7603 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7605 (main): Adapt to 8 to 64 bits types.
7606 * gdb.trace/trace-condition.exp: Add new tests.
7608 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7610 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7612 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7614 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7615 Move condition tests...
7616 * gdb.trace/trace-condition.exp: Here.
7618 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7620 * gdb.trace/trace-condition.exp: Add counter-case tests.
7622 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7625 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7626 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7628 2016-05-27 Pedro Alves <palves@redhat.com>
7630 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7632 (top level): Call it, and bail out of DejaGnu is known to be bad.
7634 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7636 * gdb.base/whatis.c: Extend the test case.
7637 * gdb.base/whatis.exp: Add additional tests.
7639 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7641 * gdb.fortran/type.f90: Add pointer variable.
7642 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7644 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7646 * gdb.fortran/vla-type.exp: Fix testcase name.
7648 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7650 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7652 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7654 * gdb.fortran/type.f90: Add nested structures.
7655 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7656 * gdb.fortran/derived-type.exp: Adapt expected output.
7657 * gdb.fortran/vla-type.exp: Adapt expected output.
7659 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7661 * gdb.fortran/whatis_type.exp: Adapt expected output.
7663 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7665 * gdb.fortran/print_type.exp: Fix expected output.
7666 * gdb.fortran/whatis_type.exp: Fix expected output.
7668 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7670 * gdb.fortran/whatis_type.exp: Use multi_line.
7672 2016-05-24 Tom Tromey <tom@tromey.com>
7675 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7676 use value as an index.
7678 2016-05-23 Tom Tromey <tom@tromey.com>
7681 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7684 2016-05-24 Pedro Alves <palves@redhat.com>
7687 * gdb.threads/clone-attach-detach.c: New file.
7688 * gdb.threads/clone-attach-detach.exp: New file.
7690 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7692 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7694 2016-05-23 Tom Tromey <tom@tromey.com>
7696 PR python/19438, PR python/18393:
7697 * gdb.python/py-progspace.exp: Add "dir" test.
7698 * gdb.python/py-objfile.exp: Add "dir" test.
7700 2016-05-23 Yao Qi <yao.qi@linaro.org>
7702 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7703 * gdb.arch/thumb2-it.exp: Likewise.
7705 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7707 * gdb.mi/mi-threads-interrupt.c: New file.
7708 * gdb.mi/mi-threads-interrupt.exp: New file.
7710 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7713 * gdb.mi/mi-async-run.exp: New file.
7714 * gdb.mi/mi-async-run.c: New file.
7716 2016-05-17 Tom Tromey <tom@tromey.com>
7717 Manish Goregaokar <manishsmail@gmail.com>
7719 * lib/rust-support.exp: New file.
7720 * lib/gdb.exp (skip_rust_tests): New proc.
7721 (build_executable_from_specs): Handle rust.
7722 * lib/future.exp (gdb_find_rustc): New proc.
7723 (gdb_default_target_compile): Handle rust.
7724 * gdb.rust/expr.exp: New file.
7725 * gdb.rust/generics.exp: New file.
7726 * gdb.rust/generics.rs: New file.
7727 * gdb.rust/methods.exp: New file.
7728 * gdb.rust/methods.rs: New file.
7729 * gdb.rust/modules.exp: New file.
7730 * gdb.rust/modules.rs: New file.
7731 * gdb.rust/simple.exp: New file.
7732 * gdb.rust/simple.rs: New file.
7734 2016-05-17 Tom Tromey <tom@tromey.com>
7736 * gdb.base/default.exp (set language): Add rust.
7738 2016-05-17 Tom Tromey <tom@tromey.com>
7740 * gdb.gdb/unittest.exp: New file.
7742 2016-05-16 Yao Qi <yao.qi@linaro.org>
7744 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7745 shell_prompt. Update shell_prompt_re.
7747 2016-05-12 Doug Evans <dje@google.com>
7750 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7751 $options when building executable.
7752 * gdb.dwarf2/fission-loclists-pie.S: New file.
7753 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7755 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7757 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
7758 of [is_remote target],
7760 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7762 * lib/gdb.exp (use_gdb_stub): New procedure.
7764 2016-05-03 Yunlian Jiang <yunlian@google.com>
7765 Doug Evans <dje@google.com>
7768 * gdb.dwarf2/dwp-sepdebug.c: New file.
7769 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7771 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7773 * gdb.base/detach.exp: Remove is_remote check.
7775 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7777 * gdb.base/annota-input-while-running.exp: Don't check for
7778 [is_remote target]. Enable annotations after running to main.
7779 Remove unused "set test..." line.
7781 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7783 * gdb.trace/trace-enable-disable.exp: New file.
7784 * gdb.trace/trace-enable-disable.c: New file.
7786 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7788 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7789 use it in info sharedlibrary test.
7790 * gdb.trace/ftrace-lock.exp: Likewise.
7791 * gdb.trace/ftrace.exp: Likewise.
7792 * gdb.trace/range-stepping.exp: Likewise.
7793 * gdb.trace/trace-break.exp: Likewise.
7794 * gdb.trace/trace-condition.exp: Likewise.
7795 * gdb.trace/trace-mt.exp: Likewise.
7797 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7799 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7800 (gdb_load_shlib): ... this.
7801 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7803 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7804 * gdb.base/ctxobj.exp: Likewise.
7805 * gdb.base/dprintf-pending.exp: Likewise.
7806 * gdb.base/dso2dso.exp: Likewise.
7807 * gdb.base/fixsection.exp: Likewise.
7808 * gdb.base/gcore-relro.exp: Likewise.
7809 * gdb.base/gdb1555.exp: Likewise.
7810 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7811 * gdb.base/gnu-ifunc.exp: Likewise.
7812 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7813 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7814 * gdb.base/pending.exp: Likewise.
7815 * gdb.base/print-file-var.exp: Likewise.
7816 * gdb.base/print-symbol-loading.exp: Likewise.
7817 * gdb.base/shlib-call.exp: Likewise.
7818 * gdb.base/shreloc.exp: Likewise.
7819 * gdb.base/so-impl-ld.exp: Likewise.
7820 * gdb.base/solib-disc.exp: Likewise.
7821 * gdb.base/solib-nodir.exp: Likewise.
7822 * gdb.base/solib-overlap.exp: Likewise.
7823 * gdb.base/solib-symbol.exp: Likewise.
7824 * gdb.base/solib-weak.exp (do_test): Likewise.
7825 * gdb.base/sym-file.exp: Likewise.
7826 * gdb.base/symtab-search-order.exp: Likewise.
7827 * gdb.base/type-opaque.exp: Likewise.
7828 * gdb.base/unload.exp: Likewise.
7829 * gdb.base/watchpoint-solib.exp: Likewise.
7830 * gdb.compile/compile.exp: Likewise.
7831 * gdb.cp/gdb2384.exp: Likewise.
7832 * gdb.cp/infcall-dlopen.exp: Likewise.
7833 * gdb.cp/re-set-overloaded.exp: Likewise.
7834 * gdb.fortran/library-module.exp: Likewise.
7835 * gdb.opt/solib-intra-step.exp: Likewise.
7836 * gdb.python/py-finish-breakpoint.exp: Likewise.
7837 * gdb.python/py-shared.exp: Likewise.
7838 * gdb.reverse/solib-precsave.exp: Likewise.
7839 * gdb.reverse/solib-reverse.exp: Likewise.
7840 * gdb.server/solib-list.exp: Likewise.
7841 * gdb.threads/dlopen-libpthread.exp: Likewise.
7842 * gdb.threads/tls-shared.exp: Likewise.
7843 * gdb.threads/tls-so_extern.exp: Likewise.
7844 * gdb.trace/change-loc.exp: Likewise.
7845 * gdb.trace/ftrace-lock.exp: Likewise.
7846 * gdb.trace/ftrace.exp: Likewise.
7847 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7848 * gdb.trace/pending.exp: Likewise.
7849 * gdb.trace/range-stepping.exp: Likewise.
7850 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7851 (strace_info_marker): Likewise.
7852 (strace_probe_marker): Likewise.
7853 (strace_trace_on_same_addr): Likewise.
7854 (strace_trace_on_diff_addr): Likewise.
7855 * gdb.trace/trace-break.exp: Likewise.
7856 * gdb.trace/trace-condition.exp: Likewise.
7857 * gdb.trace/trace-mt.exp: Likewise.
7859 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7861 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7862 result of gdb_remote_download.
7863 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7864 * gdb.base/dso2dso.exp: Likewise.
7865 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7866 * gdb.base/print-file-var.exp: Likewise.
7867 * gdb.base/shlib-call.exp: Likewise.
7868 * gdb.base/shreloc.exp: Likewise.
7869 * gdb.base/solib-overlap.exp: Likewise.
7870 * gdb.base/solib-weak.exp (do_test): Likewise.
7871 * gdb.base/unload.exp: Likewise.
7873 2016-04-27 Yao Qi <yao.qi@linaro.org>
7875 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7878 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7880 * vla-type.exp: Print structure from toplevel.
7882 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7884 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7886 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7889 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7891 * gdb.fortran/vla-type.f90: New file.
7892 * gdb.fortran/vla-type.exp: New file.
7894 2016-04-25 Yao Qi <yao.qi@linaro.org>
7896 * gdb.base/branch-to-self.c: New file.
7897 * gdb.base/branch-to-self.exp: New file.
7899 2016-04-22 Yao Qi <yao.qi@linaro.org>
7901 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7904 2016-04-22 Yao Qi <yao.qi@linaro.org>
7906 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7907 * gdb.base/annota3.exp: Likewise.
7909 2016-04-22 Yao Qi <yao.qi@linaro.org>
7911 * gdb.reverse/step-precsave.exp: Do one step and test program
7912 stops in "callee" and do multiple steps until program goes out
7914 * gdb.reverse/step-reverse.exp: Likewise.
7916 2016-04-22 Yao Qi <yao.qi@linaro.org>
7918 * gdb.trace/signal.exp: Also pass if
7919 $tracepoint_hits($i) > $iterations.
7921 2016-04-22 Yao Qi <yao.qi@linaro.org>
7923 * gdb.trace/signal.c: New file.
7924 * gdb.trace/signal.exp: New file.
7926 2016-04-19 Doug Evans <xdje42@gmail.com>
7928 * gdb.base/bad-file.exp: New file.
7930 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7932 * gdb.dwarf2/implref.exp: New file.
7934 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7936 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7937 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7938 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7939 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7940 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7941 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7942 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7943 * lib/fortran.exp (fortran_int4): New procedure.
7944 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7945 (fortran_logical4): Likewise.
7947 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7949 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7951 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7953 * lib/compiler.c: Add Intel specific preprocessor macros.
7954 * lib/compiler.cc: Likewise.
7956 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7958 * gdb.server/connect-with-no-symbol-file.c: New file.
7959 * gdb.server/connect-with-no-symbol-file.exp: New file.
7961 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7963 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7965 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7967 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7968 standard output directory.
7970 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7972 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7974 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7976 * gdb.btrace/instruction_history.c (loop): Add declaration.
7978 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7980 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7982 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7984 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7985 parentheses to print.
7986 (continue_handler): Likewise.
7988 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7990 * gdb.server/solib-list.exp: Remove is_remote check.
7991 Pass shlib= to gdb_compile. Don't link shared library with
7992 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7993 Run binary filename through "readlink -f" on the target.
7995 2016-04-08 Pedro Alves <palves@redhat.com>
7997 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7998 interpreter filename as argument to gdbserver_spawn.
7999 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8000 Return empty if $last_loaded_file does not exist.
8002 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8004 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8005 * gdb.base/jit-main.c: Use exit after usage.
8007 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8009 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8010 GDBHISTSIZE prior to the tests.
8011 * gdb.base/gdbinit-history.exp: Likewise.
8013 2016-04-07 Pedro Alves <palves@redhat.com>
8015 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8016 instead of build_executable. Use gdb_load_shlibs.
8018 2016-04-07 Yao Qi <yao.qi@linaro.org>
8020 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8021 Execute "si" command.
8023 2016-04-07 Yao Qi <yao.qi@linaro.org>
8025 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8026 number instead of the comments on some line.
8028 2016-04-06 Don Breazeal <donb@codesourcery.com>
8030 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8031 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8033 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8035 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8036 standard_output_file. Remove unused binfile variable.
8038 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8040 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8041 * gdb.python/py-mi-objfile.exp: Match "list main" output
8044 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8046 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8049 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8051 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8053 * gdb.trace/ftrace.exp: Likewise.
8054 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8056 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8057 (gdb_load_shlibs): Copy libraries to test directory when testing
8058 natively. Only set solib-search-path if testing remotely.
8059 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8061 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8063 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8064 gdb_download. Use it even if the target is not remote.
8065 * gdb.base/jit.exp (compile_jit_test): Likewise.
8066 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8067 output directory if the destination board is local, otherwise use
8068 the standard remote_download from DejaGnu.
8069 (gdb_download): Remove.
8070 (gdb_load_shlibs): Use gdb_remote_download instead of
8072 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8073 Use gdb_remote_download instead of gdb_download. Use it even if
8074 the target is not remote.
8075 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8076 instead of gdb_download.
8078 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8080 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8081 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8084 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8087 * gdb.base/printcmds.exp: Add artificial arrays tests.
8089 2016-03-31 Pedro Alves <palves@redhat.com>
8092 * gdb.base/jit-main.c: Include unistd.h.
8093 (ATTACH): Define to 0 if not already defined.
8094 (wait_for_gdb, mypid): New globals.
8095 (WAIT_FOR_GDB): New macro.
8096 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8097 some breakpoint locations.
8098 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8100 (one_jit_test): Add REATTACH parameter, and handle it. Use
8101 continue_to_test_location.
8102 (top level): Test attach, and adjusts calls to one_jit_test.
8104 2016-03-31 Pedro Alves <palves@redhat.com>
8107 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8108 BINSUFFIX parameter, and handle it.
8109 (top level): Adjust calls compile_jit_test.
8111 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8114 * gdb.python/py-mi-events-gdb.py: New file.
8115 * gdb.python/py-mi-events.c: New file.
8116 * gdb.python/py-mi-events.exp: New file.
8118 2016-03-30 Yao Qi <yao.qi@linaro.org>
8120 * gdb.reverse/until-precsave.exp: Match function name only.
8121 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8122 Move malloc to a condition block.
8123 * gdb.reverse/until-reverse.exp: Match function name only.
8125 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8127 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8128 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8129 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8130 variable for GPR 0 instead of assuming it is register 0.
8131 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8132 * lib/trace-support.exp: Add s390 registers.
8134 2016-03-29 Yao Qi <yao.qi@linaro.org>
8136 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8138 2016-03-24 Yao Qi <yao.qi@linaro.org>
8140 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8143 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8145 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8146 maintaining separate logic for constructing the output path.
8148 2016-03-16 Don Breazeal <donb@codesourcery.com>
8150 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8151 Retry fork and waitpid on interrupted system call errors.
8152 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8153 Use with_timeout_factor to increase timeout by factor of 10.
8155 2016-03-15 Don Breazeal <donb@codesourcery.com>
8157 * gdb.cp/scope-err.cc: New test program.
8158 * gdb.cp/scope-err.exp: New test script.
8159 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8160 lines and "set breakpoint here" comment.
8161 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8162 Fixed some whitespace and format issues.
8163 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8164 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8166 2016-03-15 Doug Evans <dje@google.com>
8168 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8169 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8170 All callers updated. Add tests for enums, mixed flags register.
8172 2016-03-15 Doug Evans <dje@google.com>
8174 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8175 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8177 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8179 * gdb.base/default.exp: Add $_as_string to the list of expected
8180 convenience functions.
8182 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8184 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8186 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8188 * gdb.python/py-as-string.exp: New file.
8189 * gdb.python/py-as-string.c: New file.
8191 2016-03-09 Pedro Alves <palves@redhat.com>
8193 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8194 signal" -> "Thread NN received signal" output change.
8195 * gdb.threads/ia64-sigill.exp: Likewise.
8196 * gdb.threads/linux-dp.exp: Likewise.
8197 * gdb.threads/manythreads.exp: Likewise.
8198 * gdb.threads/pending-step.exp: Likewise.
8199 * gdb.threads/print-threads.exp: Likewise.
8200 * gdb.threads/sigstep-threads.exp: Likewise.
8201 * gdb.threads/staticthreads.exp: Likewise.
8202 * gdb.threads/tls.exp: Likewise.
8204 2016-03-09 Pedro Alves <palves@redhat.com>
8206 * gdb.base/command-line-input.exp: New file.
8208 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8210 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8211 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8212 * gdb.trace/pending.exp: Accept leading dot before function name.
8213 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8214 * lib/trace-support.exp: Set registers for ppc.
8216 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8218 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8219 use it for disassembly; accept .main in addition to main in backtrace.
8221 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8222 Marcin Kościelnicki <koriakin@0x04.net>
8224 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8225 (gdb_recursion_test_ptr): New global variable.
8226 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8228 (gdb_c_test): Ditto.
8230 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8232 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8235 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8237 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8238 (bar): Add bar_start_lbl label.
8239 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8240 of foo/bar for emitting DWARF and tracing.
8242 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8244 * analyze-racy-logs.py: Set executable bit.
8246 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8248 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8249 (CHECK_TARGET_TMP): Likewise.
8250 (check-single-racy): New rule.
8251 (check-parallel-racy): Likewise.
8252 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8253 (do-check-parallel-racy): New rule.
8254 (check-racy/%.exp): Likewise.
8255 * README (Racy testcases): New section.
8256 * analyze-racy-logs.py: New file.
8258 2016-03-03 Doug Evans <dje@google.com>
8260 * gdb.base/skip.exp: Use with_test_prefix.
8262 2016-03-03 Yao Qi <yao.qi@linaro.org>
8264 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8265 Invoke step_over_syscall "clone" and break_cond_on_syscall
8267 * gdb.base/step-over-clone.c: New file.
8269 2016-03-03 Yao Qi <yao.qi@linaro.org>
8271 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8274 2016-03-03 Yao Qi <yao.qi@linaro.org>
8276 * gdb.base/disp-step-fork.c: Rename to ...
8277 * gdb.base/step-over-fork.c: ... it. New file.
8278 * gdb.base/disp-step-vfork.c: Rename to ...
8279 * gdb.base/step-over-vfork.c: ... it. New file.
8280 * gdb.base/disp-step-syscall.exp: Rename to ...
8281 * gdb.base/step-over-syscall.exp: ... it. New file.
8282 (disp_step_cross_syscall): Rename to ...
8283 (step_over_syscall): ... it.
8285 2016-03-03 Yao Qi <yao.qi@linaro.org>
8287 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8288 If target supports condition evaluation on target, invoke
8289 break_cond_on_syscall for fork and vfork.
8291 2016-03-03 Yao Qi <yao.qi@linaro.org>
8293 * gdb.base/disp-step-syscall.exp: Don't invoke
8294 support_displaced_stepping.
8295 (disp_step_cross_syscall): Test with displaced stepping off and
8298 2016-03-03 Yao Qi <yao.qi@linaro.org>
8300 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8303 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8306 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8308 * gdb.fortran/vla-history.exp: Remove breakpoint.
8310 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8312 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8315 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8317 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8320 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8322 * gdb.mi/vla.f90: Nullify pointer after declaration.
8324 2016-03-01 Pedro Alves <palves@redhat.com>
8326 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8328 2016-03-01 Pedro Alves <palves@redhat.com>
8330 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8331 before anything else.
8332 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8334 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8335 before anything else.
8336 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8338 2016-03-01 Pedro Alves <palves@redhat.com>
8340 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8342 2016-03-01 Yao Qi <yao.qi@linaro.org>
8344 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8345 prepare_for_testing.
8347 2016-03-01 Yao Qi <yao.qi@linaro.org>
8349 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8351 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8353 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8354 manually constructing the output path.
8356 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8358 * gdb.arch/s390-stackless.S: New.
8359 * gdb.arch/s390-stackless.exp: New.
8361 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8363 * gdb.dlang/circular.c: New file.
8364 * gdb.dlang/circular.exp: New file.
8366 2016-02-26 Yao Qi <yao.qi@linaro.org>
8368 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8369 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8370 (testcases): Update.
8372 2016-02-26 Yao Qi <yao.qi@linaro.org>
8374 * gdb.reverse/aarch64.c: Rename to ...
8375 * gdb.reverse/insn-reverse.c: ... it.
8376 * gdb.reverse/aarch64.exp: Rename to ...
8377 * gdb.reverse/insn-reverse.exp: ... it.
8379 2016-02-26 Yao Qi <yao.qi@linaro.org>
8381 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8382 (testcase_ftype): New.
8383 (testcases): New array.
8385 (main): Call each element in testcases.
8386 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8387 (read_testcase): New.
8388 Do the tests in a loop.
8390 2016-02-25 Yao Qi <yao.qi@linaro.org>
8392 * gdb.base/branches.c: Remove.
8394 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8397 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8399 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8401 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8403 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8405 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8406 change x86_64 call_insn to 'callq'.
8408 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8410 * gdb.trace/tfile-avx.c: Move to...
8411 * gdb.trace/tracefile-pseudo-reg.c: Here.
8412 * gdb.trace/tfile-avx.exp: Move to...
8413 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8415 2016-02-24 Gary Benson <gbenson@redhat.com>
8417 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8420 2016-02-23 Doug Evans <dje@google.com>
8422 * gdb.base/skip.c (test_skip): New function.
8423 (end_test_skip_file_and_function): New function.
8424 (test_skip_file_and_function): New function.
8425 * gdb.base/skip1.c (test_skip): New function.
8426 (skip1_test_skip_file_and_function): New function.
8427 * gdb.base/skip.exp: Add tests for new skip options.
8428 * gdb.base/skip-solib.exp: Update expected output.
8429 * gdb.perf/skip-command.cc: New file.
8430 * gdb.perf/skip-command.exp: New file.
8431 * gdb.perf/skip-command.py: New file.
8433 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8435 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8436 info registers pattern.
8438 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8440 * lib/future.exp: Add D support.
8441 (gdb_find_gdc): New proc.
8442 (gdb_default_target_compile): Add D support.
8444 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8446 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8448 (trace_speed_test): Determine the iteration count for a time
8449 between 15..30 seconds.
8451 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8453 * gdb.arch/i386-mpx-sigsegv.c: New file.
8454 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8455 * gdb.arch/i386-mpx-simple_segv.c: New file.
8456 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8458 2016-02-18 Yao Qi <yao.qi@linaro.org>
8460 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8461 Don't call setup_kfail.
8463 2016-02-18 Yao Qi <yao.qi@linaro.org>
8465 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8466 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8468 2016-02-16 Doug Evans <dje@google.com>
8470 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8471 * gdb.base/skip1.c: Ditto.
8472 * gdb.base/skip.exp: Whitespace cleanup.
8474 2016-02-16 Don Breazeal <donb@codesourcery.com>
8477 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8478 Remove kfail for PR remote/19496.
8480 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8482 * lib/gdb.exp (standard_temp_file): Return a path specific to
8483 the runtest invocation.
8485 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8487 * gdb.trace/save-trace.exp: Change relative path to be in the
8488 standard output directory.
8490 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8492 * gdb.arch/i386-prologue.c: Add missing prototypes.
8494 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8496 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8497 * gdb.arch/i386-prologue.exp: Likewise.
8498 * gdb.arch/i386-size.exp: Likewise.
8500 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8502 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8503 define object file path.
8504 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8506 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8507 standard_output_file to define binfile.
8509 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8511 Fix compatibility with recent gfortran-5.3.1.
8512 * gdb.fortran/vla-history.exp (print vla1 allocated)
8513 (print vla2 allocated, print $2, print $3): Remove
8514 (print $4): Rename to ...
8515 (print $2): ... here.
8516 (print $9): Rename to ...
8517 (print $5): ... here.
8518 (print $10): Rename to ...
8519 (print $6): ... here.
8520 * gdb.fortran/vla.f90: Add pvla initialization.
8522 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8524 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8526 * gdb.fortran/vla-value-sub.exp: Likewise.
8528 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8530 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8532 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8534 * i386-biarch-core.exp: Define corefile using
8535 standard_output_file.
8537 2016-02-12 Yao Qi <yao.qi@linaro.org>
8539 * gdb.arch/arm-single-step-kernel-helper.c: New.
8540 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8542 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8544 * gdb.btrace/tailcall-only.exp: New.
8545 * gdb.btrace/tailcall-only.c: New.
8546 * gdb.btrace/x86_64-tailcall-only.S: New.
8547 * gdb.btrace/i686-tailcall-only.S: New.
8549 2016-02-11 Pedro Alves <palves@redhat.com>
8551 * README (Parallel testing): Add missing double quotes.
8553 2016-02-11 Pedro Alves <palves@redhat.com>
8555 * README (Parallel testing): New section.
8556 (GDB_PARALLEL): Rewrite.
8557 (FORCE_PARALLEL): Document.
8559 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8561 * gdb.trace/tfile-avx.c: New test.
8562 * gdb.trace/tfile-avx.exp: New test.
8564 2016-02-09 Keith Seitz <keiths@redhat.com>
8566 PR breakpoints/19546
8567 * gdb.base/infcall-exec.c: New file.
8568 * gdb.base/infcall-exec2.c: New file.
8569 * gdb.base/infcall-exec.exp: New file.
8571 2016-02-09 Keith Seitz <keiths@redhat.com>
8573 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8574 (toplevel): Call test_bkpt_address.
8576 2016-02-09 Keith Seitz <keiths@redhat.com>
8579 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8580 (toplevel): Call test_bkpt_address.
8582 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8584 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8586 * configure: Regenerate.
8588 2016-02-09 Pedro Alves <palves@redhat.com>
8590 PR breakpoints/19548
8591 * gdb.base/execl-update-breakpoints.c (some_function): New
8594 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8595 Tighten expected GDB output.
8597 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8599 * Makefile.in (ALL_SUBDIRS): Remove.
8600 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8601 (distclean maintainer-clean realclean): Likewise.
8602 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8603 * configure: Regenerate.
8604 * gdb.ada/Makefile.in: Delete.
8605 * gdb.arch/Makefile.in: Likewise.
8606 * gdb.asm/Makefile.in: Likewise.
8607 * gdb.base/Makefile.in: Likewise.
8608 * gdb.btrace/Makefile.in: Likewise.
8609 * gdb.cell/Makefile.in: Likewise.
8610 * gdb.compile/Makefile.in: Likewise.
8611 * gdb.cp/Makefile.in: Likewise.
8612 * gdb.disasm/Makefile.in: Likewise.
8613 * gdb.dlang/Makefile.in: Likewise.
8614 * gdb.dwarf2/Makefile.in: Likewise.
8615 * gdb.fortran/Makefile.in: Likewise.
8616 * gdb.gdb/Makefile.in: Likewise.
8617 * gdb.go/Makefile.in: Likewise.
8618 * gdb.guile/Makefile.in: Likewise.
8619 * gdb.java/Makefile.in: Likewise.
8620 * gdb.linespec/Makefile.in: Likewise.
8621 * gdb.mi/Makefile.in: Likewise.
8622 * gdb.modula2/Makefile.in: Likewise.
8623 * gdb.multi/Makefile.in: Likewise.
8624 * gdb.objc/Makefile.in: Likewise.
8625 * gdb.opencl/Makefile.in: Likewise.
8626 * gdb.opt/Makefile.in: Likewise.
8627 * gdb.pascal/Makefile.in: Likewise.
8628 * gdb.perf/Makefile.in: Likewise.
8629 * gdb.python/Makefile.in: Likewise.
8630 * gdb.reverse/Makefile.in: Likewise.
8631 * gdb.server/Makefile.in: Likewise.
8632 * gdb.stabs/Makefile.in: Likewise.
8633 * gdb.threads/Makefile.in: Likewise.
8634 * gdb.trace/Makefile.in: Likewise.
8635 * gdb.xml/Makefile.in: Likewise.
8636 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8638 (standard_output_file): Remove check for GDB_PARALLEL, always
8639 return path in outputs/$subdir/$testname.
8641 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8643 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8644 (site.exp): Assign abs_srcdir to tcl's srcdir.
8646 2016-02-04 Yao Qi <yao.qi@linaro.org>
8648 * gdb.base/foll-exec-mode.c: Include limits.h.
8649 (main): Add parameters argc and argv. Get directory from
8651 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8653 * gdb.base/foll-exec.c: Include limits.h.
8654 (main): Add parameters argc and argv.
8655 Get directory from argv[0].
8656 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8657 Adjust tests on the number of lines as source code changed.
8658 * gdb.base/foll-vfork-exit.c: Include limits.h.
8659 (main): Add one line of statement before vfork.
8660 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8661 (main): Add parameters argc and argv. Get directory from
8663 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8664 (setup_gdb): Set tbreak to skip some source lines.
8665 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8666 (main): Add parameters argc and argv. Get directory from
8668 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8670 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8671 (main): Add parameters argc and argv. Get directory from
8673 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8676 2016-02-01 Doug Evans <dje@google.com>
8678 * gdb.base/skip.exp: Clean up multiple references to same test name.
8680 2016-02-01 Pedro Alves <palves@redhat.com>
8683 * gdb.threads/forking-threads-plus-breakpoint.exp
8684 (displaced_stepping_supported): New global.
8685 (probe_displaced_stepping_support): New procedure.
8686 (do_test): Add 'displaced' parameter, and use it.
8687 (top level): Check for displaced stepping support. Add displaced
8688 stepping on/off testing axis.
8690 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8692 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8693 pointer. Don't perform further tests on the unassociated pointer
8694 if the first test fails.
8696 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8698 * gdb.base/max-value-size.c: New file.
8699 * gdb.base/max-value-size.exp: New file.
8700 * gdb.base/huge.exp: Disable max-value-size for this test.
8702 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8704 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8706 2016-01-28 Yao Qi <yao.qi@linaro.org>
8708 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8710 2016-01-25 Pedro Alves <palves@redhat.com>
8713 * gdb.base/fork-running-state.c: New file.
8714 * gdb.base/fork-running-state.exp: New file.
8716 2016-01-25 Pedro Alves <palves@redhat.com>
8719 * gdb.base/catch-fork-kill.c: New file.
8720 * gdb.base/catch-fork-kill.exp: New file.
8722 2016-01-25 Pedro Alves <palves@redhat.com>
8724 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8725 Delete, moved to lib/gdb.exp.
8726 * gdb.threads/forking-threads-plus-breakpoint.exp
8727 (foreach_with_prefix): Likewise.
8728 * gdb.threads/process-dies-while-handling-bp.exp
8729 (foreach_with_prefix): Likewise.
8730 * lib/gdb.exp (foreach_with_prefix): New procedure.
8732 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8734 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8735 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8737 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8739 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8742 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8743 Pedro Alves <palves@redhat.com>
8745 Fix testsuite compatibility with Guile.
8746 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8749 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8751 Fix testsuite compatibility with Guile.
8752 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8753 (thread 1): New test for backtrace through signal handler.
8755 2016-01-22 Yao Qi <yao.qi@linaro.org>
8758 * gdb.base/multi-forks.c: Include
8759 ../lib/unbuffer_output.c
8760 (main): Call gdb_unbuffer_output.
8762 2016-01-21 Doug Evans <dje@google.com>
8764 * lib/ada.exp (gdb_compile_ada): Fix typo.
8766 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8768 * gdb.base/break-fun-addr.exp: New file.
8769 * gdb.base/break-fun-addr1.c: New file.
8770 * gdb.base/break-fun-addr2.c: New file.
8772 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8774 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8775 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8778 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8780 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8781 when GDB can not set the vector return value. Add more comments
8784 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8786 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8789 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8791 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8793 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8795 * Makefile.in (check-single): Pass --status to runtest.
8796 (check/%.exp): Likewise.
8798 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8800 * Makefile.in (check-parallel): Propagate return code from make
8803 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8805 * gdb.trace/ftrace.exp: Fix expected message on continue.
8806 * gdb.trace/pending.exp: Fix expected message on continue.
8807 * gdb.trace/trace-break.exp: Fix expected message on continue.
8809 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8811 * lib/gdb.exp (gdb_test): Remove unused global references.
8813 2016-01-18 Pedro Alves <palves@redhat.com>
8815 * gdb.base/async-shell.exp: Adjust expected output.
8816 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8817 * gdb.base/siginfo-thread.exp: Adjust expected output.
8818 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8819 * gdb.java/jnpe.exp: Adjust expected output.
8820 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8821 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8822 * gdb.threads/leader-exit.exp: Adjust expected output.
8823 * gdb.threads/manythreads.exp: Adjust expected output.
8824 * gdb.threads/pthreads.exp: Adjust expected output.
8825 * gdb.threads/schedlock.exp: Adjust expected output.
8826 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8827 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8829 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8831 * gdb.threads/sigthread.exp: Adjust expected output.
8832 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8834 2016-01-18 Yao Qi <yao.qi@linaro.org>
8836 * gdb.guile/scm-section-script.c: Replace @progbits with
8838 * gdb.python/py-section-script.c: Likewise.
8840 2016-01-15 Pedro Alves <palves@redhat.com>
8842 * gdb.multi/tids.exp: Test star wildcard ranges.
8844 2016-01-15 Pedro Alves <palves@redhat.com>
8846 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8847 command from "thread apply" invocation.
8848 (thr_apply_info_thr_invalid): Default the expected output to the
8850 (top level): Add tests that use convenience variables. Add tests
8851 for "thread apply" with a valid TID list, but missing the command.
8853 2016-01-13 Pedro Alves <palves@redhat.com>
8855 * gdb.base/default.exp: Expect $_gthread as well.
8856 * gdb.multi/tids.exp: Test $_gthread.
8857 * gdb.threads/thread-specific.exp: Test $_gthread.
8859 2016-01-13 Pedro Alves <palves@redhat.com>
8861 * gdb.multi/tids.exp: Test "info threads -gid".
8863 2016-01-13 Pedro Alves <palves@redhat.com>
8865 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8867 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8869 2016-01-07 Pedro Alves <palves@redhat.com>
8871 * gdb.base/break.exp: Adjust to output changes.
8872 * gdb.base/hbreak2.exp: Likewise.
8873 * gdb.base/sepdebug.exp: Likewise.
8874 * gdb.base/watch_thread_num.exp: Likewise.
8875 * gdb.linespec/keywords.exp: Likewise.
8876 * gdb.multi/info-threads.exp: Likewise.
8877 * gdb.threads/thread-find.exp: Likewise.
8878 * gdb.multi/tids.c: New file.
8879 * gdb.multi/tids.exp: New file.
8881 2016-01-13 Pedro Alves <palves@redhat.com>
8883 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8885 2016-01-13 Pedro Alves <palves@redhat.com>
8887 * gdb.base/default.exp: Expect $_inferior as well.
8888 * gdb.multi/base.exp: Test $_inferior.
8890 2016-01-13 Pedro Alves <palves@redhat.com>
8892 PR breakpoints/19388
8893 * gdb.base/catch-signal-siginfo-cond.c: New file.
8894 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8896 2016-01-12 Josh Stone <jistone@redhat.com>
8897 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8899 * gdb.base/catch-syscall.c (do_execve): New variable.
8900 (main): Conditionally trigger an execve.
8901 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8902 (test_catch_syscall_execve): New, check entry/return across execve.
8903 (do_syscall_tests): Call test_catch_syscall_execve.
8905 2016-01-12 Pedro Alves <palves@redhat.com>
8907 * gdb.base/random-signal.exp (do_test): New procedure, with body
8908 of testcase moved in.
8910 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8911 Pedro Alves <palves@redhat.com>
8913 * gdb.base/funcargs.exp (finish from indirectly called function):
8914 Reintroduce the case for 'First'.
8916 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8917 Pedro Alves <palves@redhat.com>
8919 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8920 (tcatch_vfork_then_child_follow_exec)
8921 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8924 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8926 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8927 and repeats to unlimited.
8928 * gdb.python/py-value.exp: Likewise.
8929 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8930 and repeats to unlimited.
8932 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8934 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8935 and reordering the functions.
8936 * gdb.multi/hangout.c: Likewise.
8937 * gdb.multi/hello.c: Likewise.
8939 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8941 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8943 (SingleStatisticTestResult.report): Use dict.keys instead of
8946 2016-01-06 Pedro Alves <palves@redhat.com>
8948 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8950 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8952 * gdb.btrace/dlopen.exp: New.
8953 * gdb.btrace/dlopen.c: New.
8954 * gdb.btrace/dlopen-dso.c: New.
8956 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8958 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8959 PATTERN argument is optional.
8961 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8963 * lib/ada.exp (target_compile_ada_from_dir): New function.
8964 (gdb_compile_ada): Reimplement avoiding the use of project files.
8965 * gdb.ada/gnat_ada.gpr: Delete.
8966 * gdb.ada/cond_lang.exp: Adjust test to make path before
8968 * gdb.ada/small_reg_param.exp: Likewise.
8970 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8972 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8974 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8976 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8979 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8981 * gdb.base/break.exp: Remove dead code.
8982 * gdb.base/sepdebug.exp: Likewise.
8984 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8986 * gdb.asm/asm-source.exp: Remove HP-UX references.
8987 * gdb.base/annota1.exp: Likewise.
8988 * gdb.base/annota3.exp: Likewise.
8989 * gdb.base/attach.exp: Likewise.
8990 * gdb.base/bigcore.exp: Likewise.
8991 * gdb.base/break.exp: Likewise.
8992 * gdb.base/call-ar-st.exp: Likewise.
8993 * gdb.base/callfuncs.exp: Likewise.
8994 * gdb.base/catch-fork-static.exp: Likewise.
8995 * gdb.base/display.exp: Likewise.
8996 * gdb.base/foll-exec-mode.exp: Likewise.
8997 * gdb.base/foll-exec.exp: Likewise.
8998 * gdb.base/foll-fork.exp: Likewise.
8999 * gdb.base/foll-vfork.exp: Likewise.
9000 * gdb.base/funcargs.exp: Likewise.
9001 * gdb.base/hbreak2.exp: Likewise.
9002 * gdb.base/inferior-died.exp: Likewise.
9003 * gdb.base/interrupt.exp: Likewise.
9004 * gdb.base/multi-forks.exp: Likewise.
9005 * gdb.base/nodebug.exp: Likewise.
9006 * gdb.base/sepdebug.exp: Likewise.
9007 * gdb.base/solib1.c: Likewise.
9008 * gdb.base/step-test.exp: Likewise.
9009 * gdb.mi/non-stop.c: Likewise.
9010 * gdb.mi/pthreads.c: Likewise.
9011 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9012 * gdb.threads/pthreads.c: Likewise.
9013 * gdb.threads/staticthreads.exp: Likewise.
9014 * lib/future.exp: Likewise.
9015 * lib/gdb.exp: Likewise.
9016 * gdb.base/so-indr-cl.c: Remove.
9017 * gdb.base/so-indr-cl.exp: Likewise.
9018 * gdb.base/solib.c: Likewise.
9019 * gdb.base/solib.exp: Likewise.
9020 * gdb.base/solib2.c: Likewise.
9022 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9024 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9025 * gdb.base/call-ar-st.exp: Likewise.
9026 * gdb.base/callfuncs.exp: Likewise.
9027 * gdb.base/condbreak.exp: Likewise.
9028 * gdb.base/constvars.exp: Likewise.
9029 * gdb.base/hbreak2.exp: Likewise.
9030 * gdb.base/langs.exp: Likewise.
9031 * gdb.base/list.exp: Likewise.
9032 * gdb.base/long_long.exp: Likewise.
9033 * gdb.base/ptype.exp: Likewise.
9034 * gdb.base/scope.exp: Likewise.
9035 * gdb.base/signals.exp: Likewise.
9036 * gdb.base/so-impl-ld.exp: Likewise.
9037 * gdb.base/varargs.exp: Likewise.
9038 * gdb.base/volatile.exp: Likewise.
9039 * gdb.base/whatis.exp: Likewise.
9040 * gdb.cp/cplusfuncs.exp: Likewise.
9041 * gdb.cp/inherit.exp: Likewise.
9042 * gdb.cp/local.exp: Likewise.
9043 * gdb.cp/member-ptr.exp: Likewise.
9044 * gdb.cp/method.exp: Likewise.
9045 * gdb.cp/overload.exp: Likewise.
9046 * gdb.cp/templates.exp: Likewise.
9047 * gdb.stabs/weird.exp: Likewise.
9048 * lib/compiler.c: Likewise.
9049 * lib/compiler.cc: Likewise.
9050 * lib/cp-support.exp: Likewise.
9051 * lib/gdb.exp: Likewise.
9053 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9055 * configure.ac: Remove HP-UX case.
9056 * configure: Regenerate.
9058 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9060 * lib/gdb.exp (gdb_compile): Add function doc.
9062 2015-12-17 Pedro Alves <palves@redhat.com>
9065 * gdb.multi/info-threads.exp: New file.
9067 2015-12-15 Yao Qi <yao.qi@linaro.org>
9069 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9072 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9074 * gdb.base/history-duplicates.exp: Skip if no readline support.
9076 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9078 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9080 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9082 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9084 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9086 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9087 ctrl-C if nointerrupts target property is set.
9088 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9089 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9090 * gdb.base/paginate-bg-execution.exp: Likewise.
9091 * gdb.base/paginate-execution-startup.exp: Likewise.
9092 * gdb.base/random-signal.exp: Likewise.
9093 * gdb.base/range-stepping.exp: Likewise.
9094 * gdb.cp/annota2.exp: Likewise.
9095 * gdb.cp/annota3.exp: Likewise.
9096 * gdb.gdb/selftest.exp: Likewise.
9097 * gdb.threads/continue-pending-status.exp: Likewise.
9098 * gdb.threads/leader-exit.exp: Likewise.
9099 * gdb.threads/manythreads.exp: Likewise.
9100 * gdb.threads/pthreads.exp: Likewise.
9101 * gdb.threads/schedlock.exp: Likewise.
9102 * gdb.threads/sigthread.exp: Likewise.
9104 2015-12-11 Don Breazeal <donb@codesourcery.com>
9106 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9108 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9109 * gdb.base/foll-exec.exp (main): Enable for target remote.
9110 * gdb.base/foll-fork.exp (main): Likewise.
9111 * gdb.base/foll-vfork.exp (main): Likewise.
9112 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9113 (proc continue_to_exit_bp_loc): Use clean_restart.
9114 * gdb.base/pie-execl.exp (main): Disable for target remote.
9115 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9116 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9117 * gdb.threads/execl.exp (main): Likewise.
9118 * gdb.threads/fork-child-threads.exp (main): Likewise.
9119 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9121 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9123 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9124 pid.tid style ptids, instead of just tid.
9125 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9126 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9127 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9128 ptids, instead of just tid.
9130 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9132 * gdb.base/list.exp (test_list_forward): Add end of file error
9134 (test_repeat_list_command): Add end of file error test.
9135 (test_list_backwards): Add beginning of file error test.
9137 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9139 * gdb.base/list.exp (test_list_invalid_args): New function,
9140 defined, and called.
9142 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9144 * gdb.base/list.exp (test_list): Make test names unique.
9146 2015-12-11 Yao Qi <yao.qi@linaro.org>
9148 * gdb.base/coremaker2.c: Remove.
9150 2015-12-10 Pedro Alves <palves@redhat.com>
9152 * gdb.multi/base.exp: Remove stale "spaces" references.
9154 2015-12-10 Pedro Alves <palves@redhat.com>
9156 * gdb.multi/base.exp: Don't use nowarnings.
9157 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9158 * gdb.multi/hangout.c: Include stdio.h.
9159 * gdb.multi/hello.c: Include stdlib.h.
9160 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9161 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9162 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9164 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9166 * gdb.dwarf2/dw2-ranges-base.c: New file.
9167 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9168 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9169 support additional line table, and debug ranges generation.
9170 (Dwarf::ranges): New function, generate .debug_ranges.
9171 (Dwarf::lines): Support generating simple line table programs.
9172 (Dwarf::assemble): Initialise new namespace variables.
9174 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9176 * gdb.base/async.exp (proc test_background): Add case for
9177 asynchronous execution not supported.
9179 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9181 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9182 format and change test names to make them unique.
9184 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9185 Pedro Alves <pedro@redhat.com>
9188 Add checking of floatformats setup on x86_64 hosts.
9189 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9190 (smallval, bigval): New labels/constants.
9191 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9192 float" after loading bigval and smallval.
9194 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9196 * gdb.ada/fun_overload_menu.exp: New testcase.
9197 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9199 2015-12-04 Josh Stone <jistone@redhat.com>
9201 * gdb.base/catch-fork-static.exp: New.
9203 2015-12-03 Yao Qi <yao.qi@linaro.org>
9205 * gdb.base/sizeof.c: Don't include stdio.h and
9206 ../lib/unbuffer_output.c.
9207 (main): New variable 'size' and 'value'. Remove printf and
9208 gdb_unbuffer_output. Assign return value to size and value.
9209 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9211 (check_sizeof): Check the result by printing variable 'size'.
9212 (check_valueof): Check the result by printing variable 'value'.
9214 2015-12-01 Yao Qi <yao.qi@linaro.org>
9216 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9217 for aarch64*-*-linux* target.
9219 2015-11-30 Pedro Alves <palves@redhat.com>
9221 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9223 2015-11-30 Pedro Alves <palves@redhat.com>
9225 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9226 Handle non-stop mode vCont replies.
9228 2015-11-30 Pedro Alves <palves@redhat.com>
9230 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9231 prepare_for_testing. Start gdb with "set non-stop on" appended to
9232 GDBFLAGS. Lax expected stop output.
9234 2015-11-27 Yao Qi <yao.qi@linaro.org>
9236 * gdb.arch/arm-neon.exp: New.
9237 * gdb.arch/arm-neon.c: New.
9239 2015-11-27 Yao Qi <yao.qi@linaro.org>
9241 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9243 2015-11-27 Yao Qi <yao.qi@linaro.org>
9245 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9246 frames-invalid annotation.
9248 2015-11-27 Yao Qi <yao.qi@linaro.org>
9250 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9252 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9254 * gdb.threads/names.exp: New file.
9255 * gdb.threads/names.c: New file.
9256 * README: Mention gdb,no_thread_names.
9258 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9261 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9264 2015-11-24 Pedro Alves <palves@redhat.com>
9267 * gdb.base/display.exp: Expect displays to be sorted in ascending
9268 order. Use multi_line.
9269 * gdb.base/solib-display.exp: Likewise.
9271 2015-11-24 Pedro Alves <palves@redhat.com>
9274 * gdb.base/display.exp: Expect displays to be sorted in ascending
9275 order. Use multi_line.
9276 * gdb.base/solib-display.exp: Likewise.
9278 2015-11-24 Pedro Alves <palves@redhat.com>
9281 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9282 threads in ascending order.
9283 * gdb.base/foll-fork.exp: Likewise.
9284 * gdb.base/foll-vfork.exp: Likewise.
9285 * gdb.base/multi-forks.exp: Likewise.
9286 * gdb.mi/mi-nonstop.exp: Likewise.
9287 * gdb.mi/mi-nsintrall.exp: Likewise.
9288 * gdb.multi/base.exp: Likewise.
9289 * gdb.multi/multi-arch.exp: Likewise.
9290 * gdb.python/py-inferior.exp: Likewise.
9291 * gdb.threads/break-while-running.exp: Likewise.
9292 * gdb.threads/execl.exp: Likewise.
9293 * gdb.threads/gcore-thread.exp: Likewise.
9294 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9295 * gdb.threads/kill.exp: Likewise.
9296 * gdb.threads/linux-dp.exp: Likewise.
9297 * gdb.threads/multiple-step-overs.exp: Likewise.
9298 * gdb.threads/next-bp-other-thread.exp: Likewise.
9299 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9300 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9301 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9302 * gdb.threads/thread-find.exp: Likewise.
9303 * gdb.threads/tls.exp: Likewise.
9304 * lib/mi-support.exp (mi_reverse_list): Delete.
9305 (mi_check_thread_states): No longer reverse list.
9307 2015-11-24 Pedro Alves <palves@redhat.com>
9309 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9312 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9314 * gdb.trace/actions.c: Include trace-common.h.
9315 (main): Add a location for a fast tracepoint.
9316 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9317 the normal tracepoints.
9318 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9320 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9322 * save-trace.exp: Factor out code to these...
9323 (gdb_save_tracepoints): New.
9324 (gdb_load_tracepoints): New.
9325 (do_save_load_test): New.
9327 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9329 * gdb.base/asmlabel.exp: New test.
9330 * gdb.base/asmlabel.c: New test case.
9332 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9334 * gdb.base/wrong_frame_bt_full-main.c: New file.
9335 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9336 * gdb.base/wrong_frame_bt_full.exp: New file.
9338 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9340 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9342 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9344 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9345 pstate register when comparing registers values in
9346 sparc64-*-linux-gnu targets to avoid spurious differences.
9348 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9350 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9352 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9354 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9355 as type argument to gdb_compile.
9356 * gdb.base/nested-subp2.exp: Likewise.
9357 * gdb.base/nested-subp3.exp: Likewise.
9359 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9361 * lib/dwarf.exp (_note): Fix left shift of negative value.
9362 * gdb.trace/trace-condition.exp: Likewise.
9364 2015-11-13 Yao Qi <yao.qi@linaro.org>
9366 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9367 comments about d10v.
9368 (test_scalar_returns): Likewise.
9369 * gdb.base/d10v.ld: Remove.
9370 * gdb.base/overlays.exp: Remove the target triplet checking for
9372 * gdb.base/structs.exp (test_struct_returns): Remove the
9373 comments about d10v.
9374 (test_struct_calls): Likewise.
9376 2015-11-13 Yao Qi <yao.qi@linaro.org>
9378 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9379 * gdb.base/gnu_vector.c: Don't include stdio.h.
9380 (main): Don't print res and call add_some_intvecs.
9382 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9384 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9387 (func4): Use FAST_TRACEPOINT_LABEL.
9388 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9391 (thread_function): Use FAST_TRACEPOINT_LABEL.
9392 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9394 (marker): Use FAST_TRACEPOINT_LABEL.
9395 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9396 (pendfunc1): Remove.
9397 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9398 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9400 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9401 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9404 (marker): Use FAST_TRACEPOINT_LABEL.
9405 * gdb.trace/trace-common.h: New header.
9406 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9409 (marker): Use FAST_TRACEPOINT_LABEL.
9410 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9412 (thread_function): Use FAST_TRACEPOINT_LABEL.
9414 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9416 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9418 * gdb.trace/change-loc.exp: Use global pcreg definition.
9419 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9420 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9422 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9423 * gdb.trace/pending.exp: Likewise.
9424 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9425 * gdb.trace/trace-break.exp: Likewise.
9426 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9428 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9429 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9431 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9433 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9435 * gdb.ada/fin_fun_out: New testcase.
9437 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9439 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9440 value associated with DW_AT_byte_size.
9441 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9442 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9445 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9447 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9448 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9450 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9451 gdb.dwarf2/dw2-canonicalize-type.exp,
9452 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9453 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9454 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9455 provided by gdb_target_symbol_prefix_flags_asm.
9456 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9457 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9458 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9459 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9460 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9461 macros where needed). Use this macro for symbols which require
9462 the prefix provided by SYMBOL_PREFIX.
9464 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9466 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9468 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9469 representing expressions, of more than one list element.
9470 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9471 to prepend linker symbol prefix to f.
9472 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9473 table_1 and table_2.
9474 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9475 Likewise, for f and g.
9476 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9478 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9480 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9481 table_1_ptr and table_2_ptr.
9483 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9484 Joel Brobecker <brobecker@adacore.com>
9486 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9488 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9490 * gdb.reverse/s390-mvcle.c: New test.
9491 * gdb.reverse/s390-mvcle.exp: New file.
9492 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9494 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9496 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9498 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9500 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9502 * gdb.reverse/getresuid-reverse.exp: Likewise.
9503 * gdb.reverse/pipe-reverse.exp: Likewise.
9504 * gdb.reverse/readv-reverse.exp: Likewise.
9505 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9506 * gdb.reverse/time-reverse.exp: Likewise.
9507 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9509 2015-10-30 Yao Qi <yao.qi@linaro.org>
9511 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9512 (empty_cycle): Remove.
9513 (main): Don't call empty_cycle. Don't use watch_count_done.
9514 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9515 empty_cycle. Rewrite the code counting HW watchpoints.
9517 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9519 * gdb.reverse/fstatat-reverse.c: New test.
9520 * gdb.reverse/fstatat-reverse.exp: New file.
9521 * gdb.reverse/getresuid-reverse.c: New test.
9522 * gdb.reverse/getresuid-reverse.exp: New file.
9523 * gdb.reverse/pipe-reverse.c: New test.
9524 * gdb.reverse/pipe-reverse.exp: New file.
9525 * gdb.reverse/readv-reverse.c: New test.
9526 * gdb.reverse/readv-reverse.exp: New file.
9527 * gdb.reverse/recvmsg-reverse.c: New test.
9528 * gdb.reverse/recvmsg-reverse.exp: New file.
9529 * gdb.reverse/time-reverse.c: New test.
9530 * gdb.reverse/time-reverse.exp: New file.
9531 * gdb.reverse/waitpid-reverse.c: New test.
9532 * gdb.reverse/waitpid-reverse.exp: New file.
9534 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9536 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9538 2015-10-26 Doug Evans <dje@google.com>
9541 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9542 * gdb.dwarf2/bad-regnum.c: New file.
9543 * gdb.dwarf2/bad-regnum.exp: New file.
9545 2015-10-26 Doug Evans <dje@google.com>
9548 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9551 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9553 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9554 for a change by "Mention language in compile error message".
9556 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9559 * gdb.python/py-type.c (C::a_method): New.
9560 (C::a_const_method): New.
9561 (C::a_static_method): New.
9563 * gdb.python/py-type.exp (test_fields): Test getting fields
9564 from function and method.
9566 2015-10-21 Keven Boell <keven.boell@intel.com>
9568 * gdb.fortran/vla-alloc-assoc.exp: New file.
9569 * gdb.fortran/vla-datatypes.exp: New file.
9570 * gdb.fortran/vla-datatypes.f90: New file.
9571 * gdb.fortran/vla-history.exp: New file.
9572 * gdb.fortran/vla-ptype-sub.exp: New file.
9573 * gdb.fortran/vla-ptype.exp: New file.
9574 * gdb.fortran/vla-sizeof.exp: New file.
9575 * gdb.fortran/vla-sub.f90: New file.
9576 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9577 * gdb.fortran/vla-value-sub-finish.exp: New file.
9578 * gdb.fortran/vla-value-sub.exp: New file.
9579 * gdb.fortran/vla-value.exp: New file.
9580 * gdb.fortran/vla-ptr-info.exp: New file.
9581 * gdb.mi/mi-vla-fortran.exp: New file.
9582 * gdb.mi/vla.f90: New file.
9584 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9586 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9587 of hardwired timeout value.
9589 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9590 Pedro Alves <palves@redhat.com>
9592 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9593 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9595 2015-10-19 Josh Stone <jistone@redhat.com>
9597 * gdb.base/catch-syscall.c: Include <sched.h>.
9598 (unknown_syscall): New variable.
9599 (main): Trigger a vfork and an unknown syscall.
9600 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9601 (unknown_syscall_number): Likewise.
9602 (check_call_to_syscall): Accept an optional syscall pattern.
9603 (check_return_from_syscall): Likewise.
9604 (check_continue): Likewise.
9605 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9606 (test_catch_syscall_skipping_return): New test toggling off 'catch
9607 syscall' to step over the syscall return, then toggling back on.
9608 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9609 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9610 (do_syscall_tests): Call test_catch_syscall_without_args and
9611 test_catch_syscall_mid_vfork.
9612 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9613 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9615 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9617 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9618 print g_vE): Add new pass patterns.
9619 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9620 print various symbol names for vptr fields.
9622 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9624 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9627 2015-10-12 Yao Qi <yao.qi@linaro.org>
9629 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9631 2015-10-12 Yao Qi <yao.qi@linaro.org>
9633 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9634 is aarch64*-*-linux*.
9636 2015-10-12 Yao Qi <yao.qi@linaro.org>
9638 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9639 (can_relocate_bcond_true): ... it.
9640 (can_relocate_bcond_false): New function.
9642 (can_relocate_bl): Likewise.
9643 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9646 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9648 * gdb.base/nested-addr.c: New file.
9649 * gdb.base/nested-addr.exp: New testcase.
9651 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9653 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9654 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9655 its output. Ignore the output of "record goto begin" and instead
9656 check that GDB is replaying.
9658 2015-10-09 Pedro Alves <palves@redhat.com>
9660 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9661 (top level): Use it in the run with no args test.
9663 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9665 * gdb.dlang/properties.exp: New file.
9667 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9669 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9670 whether or not address 0x1000 is mapped on the target.
9672 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9674 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9677 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9679 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9680 instruction-history test.
9682 2015-09-28 Doug Evans <dje@google.com>
9684 * gdb.base/gcore.c (array_func): Add reference to static_array.
9686 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9688 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9691 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9693 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9694 short or char as base type.
9696 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9698 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9699 to allow any size enum.
9701 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9703 * gdb.ada/array_ptr_renaming.exp: New testcase.
9704 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9705 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9707 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9709 * gdb.trace/ftrace-lock.c: New file.
9710 * gdb.trace/ftrace-lock.exp: New file.
9712 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9714 * gdb.arch/insn-reloc.c: New file.
9715 * gdb.arch/ftrace-insn-reloc.exp: New file.
9717 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9719 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9721 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9722 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9723 * gdb.trace/range-stepping.c: Likewise.
9724 * gdb.trace/trace-break.c: Likewise.
9725 * gdb.trace/trace-mt.c (thread_function): Likewise.
9726 * gdb.trace/ftrace.c (marker): Likewise.
9727 * gdb.trace/trace-condition.c (marker): Likewise.
9728 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9729 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9732 2015-09-18 Doug Evans <xdje42@gmail.com>
9734 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9735 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9737 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9739 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9742 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9744 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9745 the pending breakpoint. Remove timeout override for "Run till
9746 MI pending breakpoint on pendfunc3 on thread 2" test.
9748 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9750 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9753 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9755 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9756 in breakpoint filename pattern.
9758 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9760 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9762 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9764 * gdb.linespec/explicit.exp: Check for readline support for
9765 tab-completion tests. Fix obvious typo.
9767 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9769 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9772 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9774 * gdb.btrace/non-stop.c: New.
9775 * gdb.btrace/non-stop.exp: New.
9777 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9778 Yao Qi <yao.qi@linaro.org>
9780 * gdb.trace/trace-condition.c: New file.
9781 * gdb.trace/trace-condition.exp: New file.
9783 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9785 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9786 for testing bytecode compilation.
9788 2015-09-16 Pedro Alves <palves@redhat.com>
9789 Sandra Loosemore <sandra@codesourcery.com>
9791 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9792 (SECONDS): Redefine.
9793 (main): Call pthread_kill and alarm early.
9794 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9796 (test): If the target can't hardware step and doesn't support
9797 displaced stepping, increase the timeout.
9799 2015-09-16 Pedro Alves <palves@redhat.com>
9801 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9802 (enable_debug): New procedures.
9803 (test): Use them. Bail out if waiting for threads fails.
9804 (top level): Bail out if a test fails.
9806 2015-09-16 Yao Qi <yao.qi@linaro.org>
9808 * gdb.asm/asm-source.exp: Set asm-arch for
9809 aarch64*-*-* target.
9810 * gdb.asm/aarch64.inc: New file.
9812 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9814 * gdb.ada/array_of_variable_length.exp: New testcase.
9815 * gdb.ada/array_of_variable_length/foo.adb: New file.
9816 * gdb.ada/array_of_variable_length/pck.adb: New file.
9817 * gdb.ada/array_of_variable_length/pck.ads: New file.
9819 2015-09-15 Doug Evans <dje@google.com>
9821 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9822 of function static local variable.
9824 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9826 * gdb.threads/tls-so_extern.exp: New test file.
9827 * gdb.threads/tls-so_extern.c: New test file.
9828 * gdb.threads/tls-so_extern_main.c: New test file.
9830 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9832 * gdb.opt/solib-intra-step-lib.c: New file.
9833 * gdb.opt/solib-intra-step-main.c: New file.
9834 * gdb.opt/solib-intra-step.exp: New file.
9836 2015-09-15 Pedro Alves <palves@redhat.com>
9838 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9839 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9841 2015-09-14 Pedro Alves <palves@redhat.com>
9843 * gdb.base/hook-stop-continue.c: Delete.
9844 * gdb.base/hook-stop-continue.exp: Delete.
9845 * gdb.base/hook-stop-frame.c: Delete.
9846 * gdb.base/hook-stop-frame.exp: Delete.
9847 * gdb.base/hook-stop.c: New file.
9848 * gdb.base/hook-stop.exp: New file.
9850 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9852 * gdb.ada/access_to_packed_array.exp: New testcase.
9853 * gdb.ada/access_to_packed_array/foo.adb: New file.
9854 * gdb.ada/access_to_packed_array/pack.adb: New file.
9855 * gdb.ada/access_to_packed_array/pack.ads: New file.
9857 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9859 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9862 2015-09-11 Don Breazeal <donb@codesourcery.com>
9864 * gdb.base/foll-exec.c: Add copyright header. Fix
9866 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9867 (do_exec_tests): Use clean_restart in place of zap_session,
9868 and for test initialization. Fix formatting issues. Use
9869 fail in place of perror.
9870 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9871 an expect statement to match an expression with output from
9872 the program under debug.
9873 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9874 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9875 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9876 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9877 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9879 2015-09-09 Doug Evans <dje@google.com>
9881 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9883 2015-09-09 Doug Evans <dje@google.com>
9885 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9887 2015-09-09 Doug Evans <dje@google.com>
9889 * gdb.base/savedregs.exp: Fix typo.
9891 2015-09-09 Pedro Alves <palves@redhat.com>
9893 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9895 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9897 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9898 command actually switches threads. Give up on remaining
9899 tests if target fails to stop at breakpoint.
9901 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9903 * gdb.ada/funcall_char.exp: New testcase.
9904 * gdb.ada/funcall_char/foo.adb: New file.
9906 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9908 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9909 expected outputs. Add two testcases for completing ambiguous
9911 * gdb.ada/complete/aux_pck.adb: New file.
9912 * gdb.ada/complete/aux_pck.ads: New file.
9913 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9914 Ambiguous_Func functions.
9915 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9916 * gdb.ada/complete/pck.adb: Likewise.
9918 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9920 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9921 failures to run the test program under GDB.
9923 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9925 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9928 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9930 * gdb.base/run-after-attach.exp: New test file.
9931 * gdb.base/run-after-attach.c: New test file.
9933 2015-08-26 Don Breazeal <donb@codesourcery.com>
9935 * gdb.base/foll-exec-2.c: New test program.
9936 * gdb.base/foll-exec-2.exp: New test.
9938 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9940 * gdb.base/nested-subp1.exp: New file.
9941 * gdb.base/nested-subp1.c: New file.
9942 * gdb.base/nested-subp2.exp: New file.
9943 * gdb.base/nested-subp2.c: New file.
9944 * gdb.base/nested-subp3.exp: New file.
9945 * gdb.base/nested-subp3.c: New file.
9947 2015-08-24 Pedro Alves <palves@redhat.com>
9949 * gdb.server/connect-without-multi-process.c: New file.
9950 * gdb.server/connect-without-multi-process.exp: New file.
9952 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9954 * gdb.opt/inline-markers.c: Make z int.
9956 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9958 * gdb.opt/inline-markers.c: Make z volatile.
9960 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9962 * gdb.opt/inline-bt.c: New volatile global z.
9963 * gdb.opt/inline-cmds.c: Likewise.
9964 * gdb.opt/inline-locals.c: Likewise.
9965 * gdb.opt/inline-markers.c: New extern global z.
9967 (inline_fn): Likewise.
9969 2015-08-24 Pedro Alves <palves@redhat.com>
9971 * config/m32r-stub.exp: Remove file.
9972 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9973 * gdb.base/call-rt-st.exp: Likewise.
9974 * gdb.base/call-strs.exp: Likewise.
9975 * gdb.base/default.exp: Remove references to h8300-*-hms and
9977 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9979 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9981 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9982 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9983 and "return" use KFAIL when GDB can not read/write the vector
9986 2015-08-21 Gary Benson <gbenson@redhat.com>
9988 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9990 2015-08-20 Pedro Alves <palves@redhat.com>
9992 * gdb.server/solib-list.exp: No longer expect an interior stop in
9995 2015-08-20 Pedro Alves <palves@redhat.com>
9997 * gdb.server/connect-stopped-target.c: New file.
9998 * gdb.server/connect-stopped-target.exp: New file.
10000 2015-08-20 Pedro Alves <palves@redhat.com>
10002 * gdb.dwarf2/comp-unit-lang.exp: New file.
10003 * gdb.dwarf2/comp-unit-lang.c: New file.
10005 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10007 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10008 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10010 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10012 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10013 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10015 2015-08-18 Doug Evans <dje@google.com>
10016 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10018 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10019 skip_python_tests. New arg prompt_regexp.
10020 (skip_python_tests): New function.
10021 * lib/mi-support.exp (mi_skip_python_tests): New function.
10022 * gdb.python/py-mi-objfile-gdb.py: New file.
10023 * gdb.python/py-mi-objfile.c: New file.
10024 * gdb.python/py-mi-objfile.exp: New file.
10026 2015-08-17 Keith Seitz <keiths@redhat.com>
10028 * gdb.linespec/explicit.exp: Move strace test from here ...
10029 * gdb.trace/strace.exp: ... to here.
10031 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10033 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10034 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10036 2015-08-14 Doug Evans <xdje42@gmail.com>
10038 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10039 inferior before selecting a new file.
10041 2015-08-14 Doug Evans <xdje42@gmail.com>
10043 * gdb.mi/mi-disassemble.exp: Update.
10044 * gdb.base/disasm-optim.S: New file.
10045 * gdb.base/disasm-optim.c: New file.
10046 * gdb.base/disasm-optim.h: New file.
10047 * gdb.base/disasm-optim.exp: New file.
10049 2015-08-14 Keith Seitz <keiths@redhat.com>
10051 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10054 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10056 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10058 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10060 * gdb.ada/fun_renaming.exp: New testcase.
10061 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10062 * gdb.ada/fun_renaming/pack.adb: New file.
10063 * gdb.ada/fun_renaming/pack.ads: New file.
10065 2015-08-12 Keith Seitz <keiths@redhat.com>
10067 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10068 gdb_get_line_number.
10070 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10072 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10073 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10074 gdb.base/dso2dso.exp: New files.
10076 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10077 Pedro Alves <palves@redhat.com>
10078 Keith Seitz <keiths@redhat.com>
10080 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10083 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10085 * gdb.base/gdbhistsize-history.exp
10086 (test_histsize_history_setting): Use save_vars.
10087 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10089 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10090 * gdb.base/readline.exp: Use save_vars.
10092 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10094 * lib/gdb.exp (save_vars): New proc.
10096 2015-08-11 Keith Seitz <keiths@redhat.com>
10098 * gdb.base/help.exp: Update help_breakpoint_text.
10100 2015-08-11 Keith Seitz <keiths@redhat.com>
10102 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10103 (at toplevel): Call test_explicit_breakpoints.
10104 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10106 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10107 breakpoint conditions, "-cond".
10109 2015-08-11 Keith Seitz <keiths@redhat.com>
10111 * gdb.linespec/3explicit.c: New file.
10112 * gdb.linespec/cpexplicit.cc: New file.
10113 * gdb.linespec/cpexplicit.exp: New file.
10114 * gdb.linespec/explicit.c: New file.
10115 * gdb.linespec/explicit.exp: New file.
10116 * gdb.linespec/explicit2.c: New file.
10117 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10118 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10119 before using in the matching pattern.
10120 Clarify that `prefix' is a regular expression.
10122 2015-08-11 Keith Seitz <keiths@redhat.com>
10124 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10126 Add tests for missing ",FMT" and ",".
10128 2015-08-10 Doug Evans <dje@google.com>
10129 Keith Seitz <keiths@redhat.com>
10132 * gdb.base/completion.exp: Add location completer tests.
10134 2015-08-07 Pedro Alves <palves@redhat.com>
10136 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10138 (top level): Run do_test with and without displaced stepping.
10140 2015-08-07 Pedro Alves <palves@redhat.com>
10142 * gdb.base/valgrind-disp-step.c: New file.
10143 * gdb.base/valgrind-disp-step.exp: New file.
10145 2015-08-07 Pedro Alves <palves@redhat.com>
10147 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10149 (main): Add alarm. Run an infinite loop instead of calling
10151 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10153 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10155 (main): Add alarm. Run an infinite loop instead of calling
10157 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10160 2015-08-07 Pedro Alves <palves@redhat.com>
10162 * gdb.base/checkpoint-ns.exp: New file.
10163 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10166 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10168 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10169 * gdb.btrace/instruction_history.exp: Update.
10170 * gdb.btrace/tsx.exp: New.
10171 * gdb.btrace/tsx.c: New.
10173 2015-08-06 Pedro Alves <palves@redhat.com>
10175 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10177 * gdb.reverse/until-precsave.exp: Bump timeouts.
10179 2015-08-06 Pedro Alves <palves@redhat.com>
10181 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10183 2015-08-06 Pedro Alves <palves@redhat.com>
10186 * gdb.threads/process-dies-while-handling-bp.c: New file.
10187 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10189 2015-08-06 Pedro Alves <palves@redhat.com>
10191 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10192 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10194 2015-08-05 Pedro Alves <palves@redhat.com>
10196 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10197 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10199 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10201 * gdb.base/bp-permanent.exp: Report test as unsupported if
10202 the target cannot stop at the permanent breakpoint.
10204 2015-08-03 Doug Evans <dje@google.com>
10206 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10209 2015-08-03 Doug Evans <dje@google.com>
10211 * Makefile.in (workers/%.worker, build-perf): New rule.
10212 (GDB_PERFTEST_MODE): New variable.
10213 (check-perf): Use it.
10214 (clean): Clean up gdb.perf parallel build subdirs.
10215 * lib/build-piece.exp: New file.
10216 * lib/gdb.exp (make_gdb_parallel_path): New function
10217 (standard_output_file, standard_temp_file): Call it.
10218 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10220 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10222 2015-08-03 Doug Evans <dje@google.com>
10224 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10225 (LOG_FILE_NAME): New global.
10226 (TextReporter.__init__): Initialize self.txt_sum.
10227 (TextReporter.report): Add support for multiple data-points.
10228 Move report to perftest.sum, put raw data in perftest.log.
10229 (TextReporter.start): Open sum and log files.
10230 (TextReporter.end): Close sum and log files.
10231 * gdb.perf/lib/perftest/testresult.py
10232 (SingleStatisticTestResult.record): Handle multiple data-points.
10234 2015-07-31 Pedro Alves <palves@redhat.com>
10236 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10237 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10238 kill_wait_spawned_process instead of explicit "kill -9".
10239 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10240 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10241 kill_wait_spawned_process.
10242 * gdb.base/attach-twice.exp: Likewise.
10243 * gdb.base/attach.exp: Likewise.
10244 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10246 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10247 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10248 kill_wait_spawned_process.
10249 * gdb.base/valgrind-infcall.exp: Likewise.
10250 * gdb.multi/multi-attach.exp: Likewise.
10251 * gdb.python/py-prompt.exp: Likewise.
10252 * gdb.python/py-sync-interp.exp: Likewise.
10253 * gdb.server/ext-attach.exp: Likewise.
10254 * gdb.threads/attach-into-signal.exp (corefunc): Use
10255 spawn_wait_for_attach, spawn_id_get_pid and
10256 kill_wait_spawned_process.
10257 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10258 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10259 spawn_id_get_pid and kill_wait_spawned_process.
10260 * gdb.threads/attach-stopped.exp (corefunc): Use
10261 spawn_wait_for_attach, spawn_id_get_pid and
10262 kill_wait_spawned_process.
10263 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10264 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10265 kill_wait_spawned_process instead of explicit "kill -9".
10266 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10267 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10268 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10269 processes. Don't map cygwin/windows pids here. Now returns a
10272 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10274 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10275 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10278 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10280 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10282 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10285 2014-05-21 Mark Wielaard <mjw@redhat.com>
10287 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10289 2015-07-30 Pedro Alves <palves@redhat.com>
10291 * linux-low.c (handle_extended_wait): Set the child's last
10292 reported status to TARGET_WAITKIND_STOPPED.
10294 2015-07-30 Pedro Alves <palves@redhat.com>
10297 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10298 only shows inferior 1.
10300 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10301 Pedro Alves <palves@redhat.com>
10304 * gdb.threads/fork-plus-threads.c: New file.
10305 * gdb.threads/fork-plus-threads.exp: New file.
10307 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10309 * gdb.base/batch-preserve-term-settings.exp
10310 (test_terminal_settings_preserved_after_cli_exit): Use
10313 2015-07-29 Pedro Alves <palves@redhat.com>
10314 Don Breazeal <donb@codesourcery.com>
10316 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10317 output from both inferior_spawn_id and gdb_spawn_id.
10319 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10321 * gdb.threads/attach-into-signal.exp (corefunc): Use
10322 with_test_prefix on nested loops, uniquefying the test messages.
10324 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10326 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10329 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10331 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10333 (test_terminal_settings_preserved_after_sigterm): New test.
10335 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10337 * gdb.base/batch-preserve-term-settings.exp
10338 (test_terminal_settings_preserved_after_cli_exit): New test.
10340 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10342 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10343 manipulation of saved_gdbflags.
10344 (test_terminal_settings_preserved): Remove global declaration of
10345 the unused variable pagination_prompt. Remove manipulation of
10346 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10349 2015-07-29 Pedro Alves <palves@redhat.com>
10351 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10353 2015-07-29 Pedro Alves <palves@redhat.com>
10355 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10358 2015-07-29 Pedro Alves <palves@redhat.com>
10360 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10361 (main): Call gdb_unbuffer_output.
10362 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10363 (main): Call gdb_unbuffer_output.
10364 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10365 (main): Call gdb_unbuffer_output.
10366 * gdb.base/call-strs.exp: Adjust to step over the
10367 gdb_unbuffer_output call.
10368 * gdb.base/catch-gdb-caused-signals.c: Include
10369 "../lib/unbuffer_output.c".
10370 (main): Call gdb_unbuffer_output.
10371 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10372 (main): Call gdb_unbuffer_output.
10373 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10374 (main): Call gdb_unbuffer_output.
10375 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10376 (main): Call gdb_unbuffer_output.
10377 * gdb.base/shlib-call.exp: Adjust to step over the
10378 gdb_unbuffer_output call.
10379 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10380 (main): Call gdb_unbuffer_output.
10381 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10382 (main): Call gdb_unbuffer_output.
10383 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10384 (main): Rename to ...
10386 (main): Reimplement.
10387 * gdb.base/varargs.exp: Run to test instead of to main.
10388 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10389 (main): Call gdb_unbuffer_output.
10391 2015-07-29 Pedro Alves <palves@redhat.com>
10393 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10394 factore out from mi_continue_dprintf. For call-style dprintfs,
10395 expect dprintf output out of $inferior_spawn_id.
10396 (mi_continue_dprintf): Use mi_expect_dprintf.
10397 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10398 (main): Call gdb_unbuffer_output.
10400 2015-07-29 Pedro Alves <palves@redhat.com>
10402 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10403 (default_mi_gdb_start): Set inferior_spawn_id instead of
10404 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10406 (mi_gdb_test): Always expect inferior output from both
10407 $inferior_spawn_id and $gdb_spawn_id.
10409 2015-07-29 Pedro Alves <palves@redhat.com>
10411 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10412 send_inferior and $inferior_spawn_id.
10414 2015-07-29 Pedro Alves <palves@redhat.com>
10416 * gdb.gdb/complaints.exp (test_initial_complaints)
10417 (test_serial_complaints, test_short_complaints): Use
10419 (test_empty_complaint): Handle $inferior_spawn_id !=
10422 2015-07-29 Pedro Alves <palves@redhat.com>
10424 * gdb.base/varargs.exp: Use gdb_test_stdio.
10426 2015-07-29 Pedro Alves <palves@redhat.com>
10428 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10430 2015-07-29 Pedro Alves <palves@redhat.com>
10432 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10434 2015-07-29 Pedro Alves <palves@redhat.com>
10436 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10437 parameter into two new parameters, "inf_result" and "gdb_result".
10438 Expect inferior output and gdb output from $inferior_spawn_id and
10439 $gdb_spawn_id, respectively. Adjust all callers.
10441 2015-07-29 Pedro Alves <palves@redhat.com>
10443 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10444 of gdb_test_sequence.
10446 2015-07-29 Pedro Alves <palves@redhat.com>
10448 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10449 (saw_spurious_output): Expect inferior output from
10450 $inferior_spawn_id. Use gdb_test_stdio.
10452 2015-07-29 Pedro Alves <palves@redhat.com>
10454 * gdb.base/dprintf.exp: Use standard_testfile. Change
10455 prepare_for_testing call.
10456 (srcfile): Don't set.
10457 (restart): New procedure.
10458 (test_dprintf): New procecure, use to continue over dprintfs.
10459 (test_call, test_agent): New procedures, tests moved here.
10460 Restart gdb and recreate dprintfs. Adjust expected output.
10462 2015-07-29 Pedro Alves <palves@redhat.com>
10464 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10466 2015-07-29 Pedro Alves <palves@redhat.com>
10468 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10470 2015-07-29 Pedro Alves <palves@redhat.com>
10472 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10475 2015-07-29 Pedro Alves <palves@redhat.com>
10477 * lib/gdb.exp (gdb_test_stdio): New procedure.
10479 2015-07-29 Pedro Alves <palves@redhat.com>
10481 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10483 2015-07-29 Pedro Alves <palves@redhat.com>
10485 * gdb.base/call-signal-resume.exp: Remove check for
10486 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10487 * gdb.base/unwindonsignal.exp: Likewise.
10488 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10489 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10491 2015-07-29 Pedro Alves <palves@redhat.com>
10493 * gdb.base/siginfo-addr.c (pass): New function.
10494 (handler): Call it iff si_addr is correct.
10495 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10496 Set a breakpoint at "pass" and continue to it.
10498 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10500 * gdb.python/py-objfile.exp: Make some tests have unique names.
10501 * gdb.python/py-pp-registration.exp: Likewise.
10503 2015-07-28 Pedro Alves <palves@redhat.com>
10505 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10507 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10509 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10511 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10513 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10515 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10517 * gdb.base/gdb-sigterm-2.exp: New test.
10519 2015-07-25 Doug Evans <xdje42@gmail.com>
10522 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10523 (workers/%.worker, build-perf): New rule.
10524 (GDB_PERFTEST_MODE): New variable.
10525 (check-perf): Use it.
10526 (clean): Clean up gdb.perf parallel build subdirs.
10527 * lib/build-piece.exp: New file.
10528 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10529 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10531 (standard_temp_file): Ditto.
10532 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10535 2015-07-24 Doug Evans <dje@google.com>
10537 * gdb.perf/lib/perftest/utils.py: New file.
10538 * gdb.perf/gm-hello.cc: New file.
10539 * gdb.perf/gm-pervasive-typedef.cc: New file.
10540 * gdb.perf/gm-pervasive-typedef.h: New file.
10541 * gdb.perf/gm-std.cc: New file.
10542 * gdb.perf/gm-std.h: New file.
10543 * gdb.perf/gm-use-cerr.cc: New file.
10544 * gdb.perf/gm-utils.h: New file.
10545 * gdb.perf/gmonster-null-lookup.py: New file.
10546 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10547 * gdb.perf/gmonster-print-cerr.py: New file.
10548 * gdb.perf/gmonster-ptype-string.py: New file.
10549 * gdb.perf/gmonster-runto-main.py: New file.
10550 * gdb.perf/gmonster-select-file.py: New file.
10551 * gdb.perf/gmonster1-null-lookup.exp: New file.
10552 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10553 * gdb.perf/gmonster1-print-cerr.exp: New file.
10554 * gdb.perf/gmonster1-ptype-string.exp: New file.
10555 * gdb.perf/gmonster1-runto-main.exp: New file.
10556 * gdb.perf/gmonster1-select-file.exp: New file.
10557 * gdb.perf/gmonster1.cc: New file.
10558 * gdb.perf/gmonster1.exp: New file.
10559 * gdb.perf/gmonster2-null-lookup.exp: New file.
10560 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10561 * gdb.perf/gmonster2-print-cerr.exp: New file.
10562 * gdb.perf/gmonster2-ptype-string.exp: New file.
10563 * gdb.perf/gmonster2-runto-main.exp: New file.
10564 * gdb.perf/gmonster2-select-file.exp: New file.
10565 * gdb.perf/gmonster2.cc: New file.
10566 * gdb.perf/gmonster2.exp: New file.
10568 2015-07-24 Doug Evans <dje@google.com>
10570 * gdb.perf/README: New file.
10571 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10572 * lib/gen-perf-test.exp: New file.
10574 2015-07-24 Doug Evans <dje@google.com>
10576 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10577 (PerfTest::startup): New function.
10578 (PerfTest::run): Return result of calling body.
10579 (PerfTest::assemble): Rewrite.
10580 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10581 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10582 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10583 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10584 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10586 2015-07-24 Doug Evans <dje@google.com>
10588 * lib/gdb.exp (clean_restart): Make executable optional.
10590 2015-07-24 Doug Evans <dje@google.com>
10592 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10593 compiler_info references.
10594 * gdb.cp/temargs.exp: Ditto.
10595 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10596 (get_compiler_info): Early exit if already computed. Set compiler_info
10597 to "unknown" if there was a problem.
10598 (test_compiler_info): Add function comment. Call get_compiler_info.
10600 2015-07-24 Doug Evans <dje@google.com>
10602 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10603 (workers/%.worker, build-perf): New rule.
10604 (GDB_PERFTEST_MODE): New variable.
10605 (check-perf): Use it.
10606 (clean): Clean up gdb.perf parallel build subdirs.
10607 * lib/build-piece.exp: New file.
10608 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10609 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10611 (standard_temp_file): Ditto.
10612 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10615 2015-07-24 Doug Evans <dje@google.com>
10617 * lib/future.exp (gdb_default_target_compile): New option
10619 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10622 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10624 * gdb.base/catch-syscall.exp: Call gdb_exit before
10627 2015-07-24 Pedro Alves <palves@redhat.com>
10629 * gdb.python/py-events.exp: Accept output between the stop event
10631 * gdb.python/py-evsignal.exp: Likewise.
10632 * gdb.python/py-evthreads.exp: Likewise.
10634 2015-07-24 Pedro Alves <palves@redhat.com>
10637 * gdb.threads/non-ldr-exit.c: New file.
10638 * gdb.threads/non-ldr-exit.exp: New file.
10640 2015-07-24 Yao Qi <yao.qi@linaro.org>
10642 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10643 restarting process.
10645 2015-07-24 Yao Qi <yao.qi@linaro.org>
10647 * gdb.server/ext-restart.exp: New file.
10649 2015-07-24 Yao Qi <yao.qi@linaro.org>
10651 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10653 * gdb.server/ext-wrapper.exp: New file.
10655 2015-07-23 Doug Evans <dje@google.com>
10657 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10658 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10660 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10662 * gdb.ada/var_arr_typedef.exp: New testcase.
10663 * gdb.ada/var_arr_typedef/pack.adb: New file.
10664 * gdb.ada/var_arr_typedef/pack.ads: New file.
10665 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10667 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10669 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10671 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10673 * gdb.arch/i386-biarch-core.exp: Replace istarget
10674 by "complete set gnutarget". Remove expectation for the "core-file"
10677 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10679 Revert the previous commit:
10680 Tests for validate symbol file using build-id.
10682 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10684 Tests for validate symbol file using build-id.
10685 * gdb.base/solib-mismatch-lib.c: New file.
10686 * gdb.base/solib-mismatch-libmod.c: New file.
10687 * gdb.base/solib-mismatch.c: New file.
10688 * gdb.base/solib-mismatch.exp: New file.
10690 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10692 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10694 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10695 * gdb.base/siginfo.exp: Likewise.
10696 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10698 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10700 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10702 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10704 * gdb.trace/range-stepping.exp: Check that the target supports
10707 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10709 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10711 2015-07-14 Pedro Alves <palves@redhat.com>
10713 * gdb.base/killed-outside.exp: New file.
10714 * gdb.base/killed-outside.c: New file.
10716 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10718 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10720 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10722 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10724 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10725 infcall tests instead of setting up for KFAIL.
10727 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10729 * gdb.btrace/record_goto-step.exp: New.
10731 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10734 * gdb.compile/compile.c (struct struct_type): Add volatile to
10736 * gdb.compile/compile.exp
10737 (compile code struct_object.selffield = &struct_object): Skip further
10738 struct_object tests if this one xfails.
10740 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10743 * gdb.trace/ax.exp: Add test.
10745 2015-07-07 Yao Qi <yao.qi@linaro.org>
10747 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10748 instead of istarget "aarch64*-*-*".
10749 * gdb.arch/aarch64-fp.exp: Likewise.
10750 * gdb.base/float.exp: Likewise.
10751 * gdb.reverse/aarch64.exp: Likewise.
10752 * lib/gdb.exp (is_aarch64_target): New proc.
10754 2015-07-07 Yao Qi <yao.qi@linaro.org>
10756 * lib/gdb.exp (is_aarch32_target): New proc.
10757 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10758 instead of "istarget "arm*-*-*"".
10759 * gdb.arch/arm-disp-step.exp: Likewise.
10760 * gdb.arch/thumb-bx-pc.exp: Likewise.
10761 * gdb.arch/thumb-prologue.exp: Likewise.
10762 * gdb.arch/thumb-singlestep.exp: Likewise.
10763 * gdb.base/disp-step-syscall.exp: Likewise.
10764 * gdb.base/float.exp: Likewise.
10766 2015-07-07 Yao Qi <yao.qi@linaro.org>
10768 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10769 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10771 2015-07-07 Yao Qi <yao.qi@linaro.org>
10773 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10774 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10776 * gdb.multi/multi-arch.exp: Likewise.
10778 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10780 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10783 2015-07-07 Yao Qi <yao.qi@linaro.org>
10785 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10787 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10789 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10790 '[' and ']' characters.
10792 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10794 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10796 2015-06-29 Pedro Alves <palves@redhat.com>
10799 * gdb.threads/hand-call-new-thread.c: New file.
10800 * gdb.threads/hand-call-new-thread.c: New file.
10802 2015-06-26 Keith Seitz <keiths@redhat.com>
10803 Doug Evans <dje@google.com>
10806 * gdb.cp/var-tag-2.cc: New file.
10807 * gdb.cp/var-tag-3.cc: New file.
10808 * gdb.cp/var-tag-4.cc: New file.
10809 * gdb.cp/var-tag.cc: New file.
10810 * gdb.cp/var-tag.exp: New file.
10812 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10814 * gdb.base/history-duplicates.exp: New test.
10816 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10818 * gdb.base/completion.exp: Test the completion of the "focus"
10821 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10823 * gdb.arch/amd64-prologue-skip.S: New file.
10824 * gdb.arch/amd64-prologue-skip.exp: New file.
10826 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10828 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10829 is_address_zero_readable check.
10831 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10833 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10834 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10836 2015-06-24 Yao Qi <yao.qi@linaro.org>
10838 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10841 2015-06-24 Yao Qi <yao.qi@linaro.org>
10843 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10844 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10845 * gdb.base/siginfo-thread.exp: Likewise.
10847 2015-06-22 Yao Qi <yao.qi@linaro.org>
10849 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10851 2015-06-22 Yao Qi <yao.qi@linaro.org>
10853 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10855 (skip_hw_watchpoint_tests): Likewise.
10857 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10859 * gdb.base/gdbinit-history.exp: Test the interaction between
10860 setting GDBHISTSIZE and setting the history size via .gdbinit.
10862 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10865 * gdb.base/gdbhistsize-history.exp: New test.
10867 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10869 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10871 * gdb.base/readline.exp: Likewise.
10873 2015-06-17 Yao Qi <yao.qi@linaro.org>
10875 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10878 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10880 * gdb.base/gdbinit-history.exp: Add test case to check that
10881 an unlimited history file does not get truncated on exit.
10883 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10885 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10886 (VECTOR): New macro. Use it...
10887 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10888 ...for these typedefs.
10889 (int8, char1, int1, double1): New typedefs.
10890 (struct just_int2, struct two_int2): New structures.
10891 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10892 (add_structvecs, add_singlevecs): New functions.
10893 (main): Call add_some_intvecs twice.
10894 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10895 the compile and exit upon failure. Try compiling for the "native"
10896 architecture. Test inferior function calls with vector arguments
10897 and vector return value handling with "finish" and "return".
10899 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10901 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10902 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10904 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10906 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10908 PR breakpoints/16465
10909 * gdb.mi/mi-dprintf-pending.c: New file.
10910 * gdb.mi/mi-dprintf-pending.exp: New test.
10911 * gdb.mi/mi-dprintf-pendshr.c: New file.
10913 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10914 Mircea Gherzan <mircea.gherzan@intel.com>
10916 * gdb.arch/i386-mpx-map.c: New file.
10917 * gdb.arch/i386-mpx-map.exp: New File.
10919 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10921 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10922 * gdb.arch/i386-mpx.exp: Indentation fixed.
10924 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10926 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10927 function and improved indentation.
10928 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10929 gdb_test_multiple. Added additional tests to skip the test.
10931 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10933 * gdb.arch/i386-avx512.c: Change path in include file.
10934 * gdb.arch/i386-avx512.exp: Change include dir path
10936 * gdb.arch/i386-mpx.c: Change path in include file.
10937 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10940 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10942 * gdb.compile/compile-print.exp (compile print *vararray@3)
10943 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10945 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10947 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10948 (do not keep jit in memory): ... this.
10949 (expect 5): Change it to ...
10950 (expect no 5): ... this.
10952 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10955 * gdb.mi/mi-detach.exp: New file.
10957 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10960 * gdb.arch/amd64-tailcall-self.S: New file.
10961 * gdb.arch/amd64-tailcall-self.c: New file.
10962 * gdb.arch/amd64-tailcall-self.exp: New file.
10964 2015-05-28 Don Breazeal <donb@codesourcery.com>
10966 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10967 tests for remote targets by checking is_target_gdbserver.
10969 2015-05-27 Doug Evans <dje@google.com>
10971 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10972 * gdb.dwarf2/opaque-type-lookup.c: New file.
10973 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10975 2015-05-26 Doug Evans <dje@google.com>
10977 * gdb.cp/iostream.cc: New file.
10978 * gdb.cp/iostream.exp: New file.
10980 2015-05-26 Doug Evans <dje@google.com>
10982 * gdb.dwarf2/dw2-op-call.exp: Update.
10983 * gdb.dwarf2/dw4-sig-types.exp: Update.
10984 * gdb.dwarf2/implptr.exp: Update.
10985 * gdb.mi/mi-cmd-param-changed.exp: Update.
10987 2015-05-26 Doug Evans <dje@google.com>
10989 * gdb.python/py-lazy-string.c: New file.
10990 * gdb.python/py-lazy-string.exp: New file.
10991 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10992 (main): Update. Add estring3.
10993 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10994 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10996 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10997 Yao Qi <yao.qi@linaro.org>
10999 * gdb.reverse/aarch64.c: New.
11000 * gdb.reverse/aarch64.exp: New.
11002 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11004 * lib/gdb.exp (supports_process_record): Return true for
11006 (supports_reverse): Likewise.
11008 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11010 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11011 Use with_test_prefix.
11013 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11015 * gdb.base/completion.exp: Add test for completion of layout
11018 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11020 * lib/gdb.exp (skip_tui_tests): New proc.
11021 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11023 2015-05-19 Pedro Alves <palves@redhat.com>
11025 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11026 Save the whole env array instead of just HOME. Unset HISTSIZE in
11027 the environment while testing. Restore whole environment
11030 2015-05-16 Doug Evans <xdje42@gmail.com>
11032 * gdb.guile/scm-ports.c: New file.
11033 * gdb.guile/scm-ports.exp: Add memory port tests.
11035 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11037 * gdb.compile/compile-print.c: New file.
11038 * gdb.compile/compile-print.exp: New file.
11040 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11042 * gdb.compile/compile-ops.exp: Cast param to void.
11043 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11044 (compile code struct_object.selffield = &struct_object): Add xfail.
11046 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11048 * gdb.ada/arr_enum_with_gap: New testcase.
11050 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11052 * gdb.ada/byte_packed_arr: New testcase.
11054 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11056 * gdb.ada/pckd_neg: New testcase.
11058 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11061 * gdb.base/gdbinit-history.exp: New test.
11062 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11063 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11065 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11067 * gdb.python/py-xmethods.cc: Enhance test case.
11068 * gdb.python/py-xmethods.exp: New tests.
11069 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11071 (B_indexoper): Likewise.
11072 (global_dm_list) : Add new xmethod worker functions.
11074 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11076 * gdb.base/coredump-filter.exp: Correctly unset
11077 "coredump_var_addr" array.
11079 2015-05-08 Pedro Alves <palves@redhat.com>
11081 * gdb.server/non-existing-program.exp: Unset spawn_id.
11083 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11086 * gdb.python/py-xmethods.exp: Add tests.
11088 2015-05-08 Yao Qi <yao.qi@linaro.org>
11091 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11092 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11093 function set_coredump_filter, and remove remote_exec call.
11094 Remove argument ipid. Callers update.
11095 (top level): Don't get inferior's PID.
11097 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11099 * gdb.base/watch_thread_num.exp: Skip test on targets without
11100 access watchpoints.
11102 2015-05-06 Pedro Alves <palves@redhat.com>
11105 * gdb.server/non-existing-program.exp: New file.
11107 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11109 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11111 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11113 * gdb.ada/out_of_line_in_inlined: New testcase.
11115 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11117 * gdb.ada/var_rec_arr: New testcase.
11119 2015-04-30 Yao Qi <yao.qi@linaro.org>
11121 * gdb.base/break-idempotent.exp: If
11122 skip_hw_watchpoint_multi_tests returns true, skip the tests
11123 on "rwatch" and "awatch".
11125 2015-04-30 Yao Qi <yao.qi@linaro.org>
11127 * gdb.base/relativedebug.exp: Invoke gdb command
11128 "info sharedlibrary", and if libc.so doesn't have debug info,
11131 2015-04-29 Doug Evans <dje@google.com>
11133 * gdb.python/py-xmethods.exp: Add ptype tests.
11134 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11135 get_result_type method.
11137 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11139 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11140 the target does not support hardware watchpoints.
11142 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11144 * gdb.base/break-always.exp: Abort testing if writing to memory
11147 2015-04-28 Doug Evans <dje@google.com>
11149 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11150 * gdb.python/py-pp-registration.exp: ... here. New file.
11151 * gdb.python/py-pp-registration.c: New file.
11152 * gdb.python/py-pp-registration.py: New file.
11154 2015-04-28 Doug Evans <dje@google.com>
11156 * gdb.python/py-bad-printers.c: New file.
11157 * gdb.python/py-bad-printers.py: New file.
11158 * gdb.python/py-bad-printers.exp: New file.
11160 2015-04-28 Sasha Smundak <asmundak@google.com>
11162 * gdb.python/py-type.exp: New test.
11164 2015-04-28 Andy Wingo <wingo@igalia.com>
11166 * gdb.python/py-parameter.exp:
11167 * gdb.guile/scm-parameter.exp: Escape the path that we are
11168 matching against, as it might contain characters that are special
11169 to regular expressions.
11171 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11173 * gdb.ada/rec_comp: New testcase.
11175 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11177 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11180 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11182 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11183 new tests for verilog output.
11185 2015-04-24 Yao Qi <yao.qi@linaro.org>
11187 * boards/remote-gdbserver-on-localhost.exp: New file.
11189 2015-04-23 Pedro Alves <palves@redhat.com>
11191 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11192 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11193 "end of file", remove $inferior_spawn_id from the indirect list.
11195 2015-04-23 Pedro Alves <palves@redhat.com>
11197 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11199 2015-04-23 Pedro Alves <palves@redhat.com>
11201 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11202 on $any_spawn_id instead of only on $gdb_spawn_id.
11204 2015-04-21 Pierre Muller <muller@sourceware.org>
11207 * lib/pascal.exp (gpc_compile): Add new option "class".
11208 (fpc_compile): Likewise.
11209 * gdb.pascal/case-insensitive-symbols.pas: New file.
11210 * gdb.pascal/case-insensitive-symbols.exp: New file.
11212 2015-04-20 Gary Benson <gbenson@redhat.com>
11214 * gdb.base/attach.exp: Fix three extended remote failures.
11216 2015-04-17 Gary Benson <gbenson@redhat.com>
11218 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11219 the main executable over the remote protocol.
11221 2015-04-16 Pedro Alves <palves@redhat.com>
11223 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11224 a new gdbserver if gdbserver_reconnect_p is set.
11226 2015-04-16 Pedro Alves <palves@redhat.com>
11228 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11229 is set, don't exit gdbserver.
11231 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11233 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11234 appropriate .insn, such that an older assembler can be used.
11235 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11236 the z/Architecture instruction set on 31-bit targets as well.
11238 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11240 * gdb.go/handcall.exp: Remove all logic related to the first
11241 breakpoint and rely on go_runto_main instead.
11242 * gdb.go/strings.exp: Likewise.
11243 * gdb.go/unsafe.exp: Likewise.
11244 * gdb.go/hello.exp: Likewise. Also rename the remaining
11245 breakpoint marker to "breakpoint 1".
11246 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11247 * gdb.go/strings.go: Likewise.
11248 * gdb.go/unsafe.go: Likewise.
11249 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11250 "set breakpoint 2 here" and rename the remaining breakpoint marker
11253 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11255 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11256 if itertools.imap is not present.
11257 * gdb.python/py-objfile.exp: Add parentheses.
11258 * gdb.python/py-type.exp: Same.
11259 * gdb.python/py-unwind-maint.py: Same.
11261 2015-04-15 Yao Qi <yao.qi@linaro.org>
11263 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11264 of ":$ptr_size" and set its form explicitly.
11266 2015-04-15 Pedro Alves <palves@redhat.com>
11267 Yao Qi <yao.qi@linaro.org>
11269 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11270 timeout by factor of 4.
11271 (test_regular_watch): Likewise.
11272 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11273 * gdb.reverse/sigall-reverse.exp: Likewise.
11274 * gdb.reverse/until-precsave.exp: Likewise.
11275 * lib/gdb.exp (with_timeout_factor): New proc.
11276 (gdb_expect): Move some code to ...
11277 (get_largest_timeout): ... here. New procedure.
11279 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11281 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11283 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11285 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11286 to write to the .text section.
11288 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11290 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11291 Handle the case of targets that do not provide PID information.
11293 2015-04-13 Yao Qi <yao.qi@linaro.org>
11295 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11296 and use expect instead of gdb_expect.
11298 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11300 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11301 "coredump_var_addr" to avoid naming conflict with other testcases.
11303 2015-04-10 Pedro Alves <palves@redhat.com>
11305 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11306 gdb_test_sequence and gdb_assert.
11308 2015-04-10 Pedro Alves <palves@redhat.com>
11310 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11311 test messages that don't include the breakpoint address.
11313 2015-04-10 Yao Qi <yao.qi@linaro.org>
11315 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11316 false for some offset and width combinations which aren't
11317 supported by linux kernel.
11319 2015-04-10 Pedro Alves <palves@redhat.com>
11321 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11322 procedure, factored out from ...
11323 (top level): ... here. Add "set displaced-stepping" testing axis.
11324 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11325 parameter "displaced". Use it.
11326 (top level): Use foreach and add "set displaced-stepping" testing
11329 2015-04-10 Pedro Alves <palves@redhat.com>
11331 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11333 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11334 both the address of the instruction that triggers the watchpoint
11335 and the address of the instruction immediately after, and use
11336 those addresses for the test. Fix comment.
11338 2015-04-10 Pedro Alves <palves@redhat.com>
11340 * gdb.base/sigstep.exp (breakpoint_to_handler)
11341 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11342 Test "backtrace" in handler.
11343 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11344 (top level): Add new "displaced" test axis to
11345 breakpoint_to_handler, breakpoint_to_handler_entry and
11346 breakpoint_over_handler.
11348 2015-04-10 Pedro Alves <palves@redhat.com>
11351 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11353 2015-04-10 Yao Qi <yao.qi@linaro.org>
11355 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11356 (test_add_rn_pc): New function.
11357 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11358 (top level): Invoke test_add_rn_pc.
11360 2015-04-10 Pedro Alves <palves@redhat.com>
11363 * gdb.base/step-over-no-symbols.exp: New file.
11365 2015-04-09 Andy Wingo <wingo@igalia.com>
11367 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11368 after the Python tests.
11370 2015-04-08 Keith Seitz <keiths@redhat.com>
11373 * gdb.python/py-completion.exp: New tests for completion.
11374 * gdb.python/py-completion.py (CompleteLimit1): New class.
11375 (CompleteLimit2): Likewise.
11376 (CompleteLimit3): Likewise.
11377 (CompleteLimit4): Likewise.
11378 (CompleteLimit5): Likewise.
11379 (CompleteLimit6): Likewise.
11380 (CompleteLimit7): Likewise.
11382 2015-04-08 Pedro Alves <palves@redhat.com>
11386 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11388 (main): Install it as SIGUSR1 handler.
11389 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11390 parameter. Always use "setup" as prefix. Toggle "set
11391 displaced-stepping" off/on depending on global. Don't switch to
11393 (top level): Add displaced stepping "off/on" test axis. Update
11394 "setup" calls. Wrap each subtest with with_test_prefix. Test
11395 continuing with a queued signal in each thread.
11397 2015-04-08 Pedro Alves <palves@redhat.com>
11399 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11400 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11401 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11402 Return early if running to main fails.
11403 * gdb.trace/while-stepping.exp: Likewise.
11405 2015-04-07 Pedro Alves <palves@redhat.com>
11407 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11408 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11409 interact with inferior program.
11411 2015-04-07 Pedro Alves <palves@redhat.com>
11413 * lib/gdb.exp (inferior_spawn_id): New global.
11414 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11415 spawn id after processing the user code.
11416 (default_gdb_start): Set inferior_spawn_id.
11417 (send_inferior): New procedure.
11418 * lib/gdbserver-support.exp (gdbserver_start): Set
11420 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11422 2015-04-07 Pedro Alves <palves@redhat.com>
11424 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11425 * lib/gdbserver-support.exp (gdbserver_start): Make
11426 $server_spawn_id global.
11427 (gdbserver_start): Don't wait for gdbserver's spawn id with
11429 (close_gdbserver): New procedure.
11430 (gdb_exit): Rename the default version and reimplement.
11432 2015-04-07 Pedro Alves <palves@redhat.com>
11434 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11435 append the substituted item, not the original item.
11437 2015-04-07 Pedro Alves <palves@redhat.com>
11439 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11442 2015-04-07 Pedro Alves <palves@redhat.com>
11444 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11445 output appearing once only.
11447 2015-04-07 Pedro Alves <palves@redhat.com>
11449 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11450 that doesn't expect anything. Return early if running to main
11453 2015-04-07 Yao Qi <yao.qi@linaro.org>
11455 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11456 (child_function): Call alarm.
11457 (main): Move call to alarm into the loop.
11458 * gdb.threads/non-stop-fair-events.exp: Build program with
11459 -DTIMEOUT=$timeout.
11461 2015-04-06 Doug Evans <xdje42@gmail.com>
11463 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11464 Fix dest parameter to board_info.
11465 (fpc_compile): Ditto.
11466 (gdb_compile_pascal): Rename dest arg to destfile.
11468 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11470 * gdb.ada/funcall_ref.exp: New file.
11471 * gdb.ada/funcall_ref/foo.adb: New file.
11473 2015-04-02 Yao Qi <yao.qi@linaro.org>
11475 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11478 2015-04-02 Gary Benson <gbenson@redhat.com>
11480 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11482 2015-04-01 Sasha Smundak <asmundak@google.com>
11484 * gdb.python/py-unwind-maint.c: New file.
11485 * gdb.python/py-unwind-maint.exp: New test.
11486 * gdb.python/py-unwind-maint.py: New file.
11487 * gdb.python/py-unwind.c: New file.
11488 * gdb.python/py-unwind.exp: New test.
11489 * gdb.python/py-unwind.py: New test.
11491 2015-04-01 Pedro Alves <palves@redhat.com>
11493 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11494 to fail instead of non-existent $test.
11496 2015-04-01 Pedro Alves <palves@redhat.com>
11498 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11499 GDBFLAGS if not empty.
11501 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11503 * gdb.ada/complete.exp: Remove "multi_line".
11504 * gdb.ada/info_exc.exp: Remove "multi_line".
11505 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11506 * gdb.ada/ptype_field.exp: Remove "multi_line".
11507 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11508 * gdb.ada/tagged.exp: Remove "multi_line".
11509 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11511 * gdb.btrace/delta.exp: Likewise.
11512 * gdb.btrace/exception.exp: Likewise.
11513 * gdb.btrace/function_call_history.exp: Likewise.
11514 * gdb.btrace/instruction_history.exp: Likewise.
11515 * gdb.btrace/nohist.exp: Likewise.
11516 * gdb.btrace/record_goto.exp: Likewise.
11517 * gdb.btrace/segv.exp: Likewise.
11518 * gdb.btrace/stepi.exp: Likewise.
11519 * gdb.btrace/tailcall.exp: Likewise.
11520 * gdb.btrace/unknown_functions.exp: Likewise.
11521 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11522 * lib/gdb.exp: Add the "multi_line" helper.
11524 2015-04-01 Pedro Alves <palves@redhat.com>
11526 * gdb.threads/tid-reuse.c: New file.
11527 * gdb.threads/tid-reuse.exp: New file.
11529 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11532 * gdb.base/coredump-filter.c: New file.
11533 * gdb.base/coredump-filter.exp: Likewise.
11535 2015-03-27 Petr Machata <pmachata@redhat.com>
11537 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11538 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11539 (Dwarf::assemble): Initialize them.
11540 (Dwarf::lines): New function.
11542 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11544 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11545 SYMBOL_PREFIX for x86_64-*-cygwin.
11547 2015-03-26 Andy Wingo <wingo@igalia.com>
11550 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11551 const_value but not a location.
11552 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11553 location defined in non-main CUs are visible.
11555 2015-03-26 Yao Qi <yao.qi@linaro.org>
11558 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11559 Add a line number entry for the same line.
11560 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11561 Add a line number entry for the same line.
11563 2015-03-26 Yao Qi <yao.qi@linaro.org>
11565 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11567 (func): Likewise. Add .Lfunc_1 label.
11568 Use .Lfunc_1 label.
11569 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11572 Use .Lfunc_1 label.
11574 2015-03-26 Yao Qi <yao.qi@linaro.org>
11576 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11577 Call gdb_compile instead to compile each .s files without debug
11580 2015-03-26 Yao Qi <yao.qi@linaro.org>
11582 * gdb.base/savedregs.exp (process_saved_regs): Make
11583 "Saved registers:" optional in the pattern.
11585 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11587 * gdb.btrace/next.exp: Merged into step.exp.
11588 * gdb.btrace/finish.exp: Merged into step.exp.
11589 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11590 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11591 "record goto" and checking the exact replay position.
11592 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11593 check for "Recording format" in "info record" output.
11594 * gdb.btrace/record_goto.exp: Choose test file based on target.
11595 * gdb.btrace/x86-record_goto.S: Renamed into ...
11596 * gdb.btrace/x86_64-record_goto.S: ... this.
11597 * gdb.btrace/i686-record_goto.S: New.
11598 * gdb.btrace/x86-tailcall.S: Renamed into ...
11599 * gdb.btrace/x86_64-tailcall.S: ... this.
11600 * gdb.btrace/i686-tailcall.S: New.
11601 * gdb.btrace/x86-tailcall.c: Renamed into ...
11602 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11603 separate statements. Update test.
11604 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11605 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11606 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11607 * gdb.btrace/tailcall.exp: Choose test file based on target.
11608 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11610 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11612 * gdb.btrace/exception.exp: Increase BTS buffer size.
11614 2015-03-24 Pedro Alves <palves@redhat.com>
11616 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11618 2015-03-24 Pedro Alves <palves@redhat.com>
11620 * gdb.threads/schedlock.exp (test_step): No longer expect that
11621 "set scheduler-locking step" with "next" over a function call runs
11624 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11626 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11628 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11630 PR breakpoints/16466
11631 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11632 * gdb.mi/mi-pending.c (thread_func): New function.
11633 (int main): Add threading support required.
11634 * gdb.mi/mi-pending.exp: Add tests for this issue.
11635 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11636 (pendfunc2): Remove stdio dependency.
11637 * gdb.mi/mi-pendshr2.c: New file.
11639 2015-03-23 Keith Seitz <keiths@redhat.com>
11641 * gdb.linespec/keywords.c: New file.
11642 * gdb.linespec/keywords.exp: New file.
11644 2015-03-23 Keith Seitz <keiths@redhat.com>
11647 * gdb.dwarf2/staticvirtual.exp: New test.
11649 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11651 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11652 * README: Remove HP-UX and gdb.hp.
11654 * configure: Regenerate.
11655 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11656 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11657 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11658 gdb.hp/gdb.defects/Makefile.
11659 * gdb.hp/Makefile.in: File deleted.
11660 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11661 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11662 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11663 * gdb.hp/gdb.aCC/run.c: File deleted.
11664 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11665 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11666 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11667 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11668 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11669 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11670 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11671 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11672 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11673 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11674 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11675 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11676 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11677 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11678 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11679 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11680 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11681 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11682 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11683 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11684 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11685 * gdb.hp/gdb.compat/average.c: File deleted.
11686 * gdb.hp/gdb.compat/sum.c: File deleted.
11687 * gdb.hp/gdb.compat/xdb.c: File deleted.
11688 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11689 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11690 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11691 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11692 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11693 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11694 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11695 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11696 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11697 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11698 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11699 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11700 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11701 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11702 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11703 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11704 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11705 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11706 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11707 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11708 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11709 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11710 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11711 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11712 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11713 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11714 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11715 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11716 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11717 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11718 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11719 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11720 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11721 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11722 * gdb.hp/tools/odump: File deleted.
11724 2015-03-19 Pedro Alves <palves@redhat.com>
11726 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11727 (saw_thread_3): New globals.
11728 (top level): Increment them when an event for the corresponding
11730 (no thread starvation): New test.
11732 2015-03-19 Pedro Alves <palves@redhat.com>
11734 * gdb.threads/continue-pending-status.c: New file.
11735 * gdb.threads/continue-pending-status.exp: New file.
11737 2015-03-18 Pedro Alves <palves@redhat.com>
11739 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11740 Use gdb_is_target_remote instead of is_remote. Use
11741 gdb_test_multiple instead of gdb_expect. Exit early if
11742 gdb_test_multiple hits its internal matches. Tighten stepi tests
11743 expected output. Fail on exit with any signal, instead of just
11746 2015-03-18 Yao Qi <yao.qi@linaro.org>
11749 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11751 * gdb.base/catch-syscall.exp: Don't skip it on
11752 aarch64*-*-linux* target. Remove elements in all_syscalls.
11753 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11755 (setup_all_syscalls): New proc.
11757 2015-03-16 Yao Qi <yao.qi@linaro.org>
11759 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11760 (top level): Skip tests if valid_addr_p returns false for
11763 2015-03-11 Andy Wingo <wingo@igalia.com>
11765 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11767 2015-03-11 Yao Qi <yao.qi@linaro.org>
11769 * gdb.base/catch-syscall.exp: Fix typo in comments.
11771 2015-03-11 Yao Qi <yao.qi@linaro.org>
11773 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11775 2015-03-09 Pedro Alves <palves@redhat.com>
11777 * dg-extract-results.py: Delete.
11779 2015-03-09 Pedro Alves <palves@redhat.com>
11781 Merge dg-extract-results.sh from GCC upstream (r218843).
11783 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11784 * dg-extract-results.sh: Use --text with grep to avoid issues with
11785 binary files. Fall back to cat -v, if that doesn't work.
11787 2015-03-05 Pedro Alves <palves@redhat.com>
11789 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11791 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11793 * lib/mi-support.exp (mi_expect_interrupt): Accept
11794 alternative event for when in all-stop mode.
11796 2015-03-04 Pedro Alves <palves@redhat.com>
11798 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11800 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11802 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11804 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11806 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11807 regexps for GDB's current line display, accept a hex address
11808 preceding the line number.
11810 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11812 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11813 the 'arch1' variable for "s390*-linux*" targets.
11815 2015-03-04 Pedro Alves <palves@redhat.com>
11817 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11818 (main): Pass missing retval argument to pthread_join call.
11820 2015-03-02 Pedro Alves <palves@redhat.com>
11822 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11823 (top level): Call do_test with non-stop as well.
11825 2015-03-02 Pedro Alves <palves@redhat.com>
11827 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11830 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11832 * gdb.arch/s390-vregs.exp: New test.
11833 * gdb.arch/s390-vregs.S: New file.
11835 2015-02-27 Pedro Alves <palves@redhat.com>
11837 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11838 call to catch_command_errors.
11839 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11840 catch_command_errors.
11842 2015-02-27 Pedro Alves <palves@redhat.com>
11844 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11845 "true" for boolean result.
11846 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11849 2015-02-27 Pedro Alves <palves@redhat.com>
11851 * lib/unbuffer_output.c: New file.
11852 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11853 (main): Call gdb_unbuffer_output.
11855 2015-02-27 Yao Qi <yao.qi@linaro.org>
11857 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11860 2015-02-26 Doug Evans <dje@google.com>
11862 * gdb.cp/class2.cc (Dbase, D): New classes.
11863 (main): New local delta.
11864 * gdb.cp/class2.exp: Test printing delta.
11865 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11866 (dynbar): New global.
11867 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11869 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11871 * gdb.compile/compile-ifunc.c: New file.
11872 * gdb.compile/compile-ifunc.exp: New file.
11874 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11876 * gdb.base/structs.exp: Check for correct struct on finish.
11878 2015-02-26 Yao Qi <yao.qi@linaro.org>
11880 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11883 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11885 * gdb.arch/cordic.ko.bz2: New file.
11886 * gdb.arch/cordic.ko.debug.bz2: New file.
11887 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11889 2015-02-25 Yao Qi <yao.qi@linaro.org>
11891 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11892 aarch64*-*-* target.
11894 2015-02-23 Pedro Alves <palves@redhat.com>
11896 * lib/gdb.exp (delete_breakpoints): Rewrite using
11899 2015-02-23 Pedro Alves <palves@redhat.com>
11901 * gdb.base/info-os.c: Include stdlib.h.
11903 2015-02-22 Doug Evans <xdje42@gmail.com>
11906 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11907 is read after symbols have been re-read.
11908 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11909 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11911 2015-02-21 Doug Evans <dje@google.com>
11913 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11915 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11918 * gdb.arch/i386-biarch-core.core.bz2: New file.
11919 * gdb.arch/i386-biarch-core.exp: New file.
11921 2015-02-21 Pedro Alves <palves@redhat.com>
11923 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11926 2015-02-20 Pedro Alves <palves@redhat.com>
11928 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11931 2015-02-20 Pedro Alves <palves@redhat.com>
11933 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11935 2015-02-20 Pedro Alves <palves@redhat.com>
11937 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11938 clean_restart before gdb_target_supports_trace.
11940 2015-02-20 Pedro Alves <palves@redhat.com>
11943 * gdb.threads/clone-thread_db.c: New file.
11944 * gdb.threads/clone-thread_db.exp: New file.
11946 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11948 PR breakpoints/16812
11949 * gdb.base/catch-gdb-caused-signals.c: New file.
11950 * gdb.base/catch-gdb-caused-signals.exp: New file.
11952 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11954 * configure: Regenerated.
11955 * configure.ac: Use GDB_AC_TRANSFORM.
11956 * aclocal.m4: sinclude ../transform.m4.
11958 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11960 * lib/dtrace.exp: New file.
11961 * gdb.base/dtrace-probe.exp: Likewise.
11962 * gdb.base/dtrace-probe.d: Likewise.
11963 * gdb.base/dtrace-probe.c: Likewise.
11964 * lib/pdtrace.in: Likewise.
11965 * configure.ac: Output variables with the transformed names of
11966 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11967 * configure: Regenerated.
11969 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11971 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11972 expected message when trying to access $_probe_* convenience
11973 variables while not on a probe.
11975 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11977 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11979 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11981 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11982 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11984 2015-02-10 Doug Evans <xdje42@gmail.com>
11986 * lib/gdb.exp (gdb_load): Always return a result.
11988 2015-02-10 Pedro Alves <palves@redhat.com>
11990 * gdb.threads/signal-sigtrap.c: New file.
11991 * gdb.threads/signal-sigtrap.exp: New file.
11993 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11995 * gdb.trace/no-attach-trace.c: New file.
11996 * gdb.trace/no-attach-trace.exp: New file.
11998 2015-02-09 Mark Wielaard <mjw@redhat.com>
12000 * gdb.dwarf2/atomic.c: New file.
12001 * gdb.dwarf2/atomic-type.exp: Likewise.
12003 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12005 * gdb.btrace/buffer-size.exp: Update "info record" output.
12006 * gdb.btrace/delta.exp: Update "info record" output.
12007 * gdb.btrace/enable.exp: Update "info record" output.
12008 * gdb.btrace/finish.exp: Update "info record" output.
12009 * gdb.btrace/instruction_history.exp: Update "info record" output.
12010 * gdb.btrace/next.exp: Update "info record" output.
12011 * gdb.btrace/nexti.exp: Update "info record" output.
12012 * gdb.btrace/step.exp: Update "info record" output.
12013 * gdb.btrace/stepi.exp: Update "info record" output.
12014 * gdb.btrace/nohist.exp: Update "info record" output.
12016 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12018 * gdb.btrace/buffer-size: New.
12020 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12022 * gdb.btrace/delta.exp: Update "info record" output.
12023 * gdb.btrace/enable.exp: Update "info record" output.
12024 * gdb.btrace/finish.exp: Update "info record" output.
12025 * gdb.btrace/instruction_history.exp: Update "info record" output.
12026 * gdb.btrace/next.exp: Update "info record" output.
12027 * gdb.btrace/nexti.exp: Update "info record" output.
12028 * gdb.btrace/step.exp: Update "info record" output.
12029 * gdb.btrace/stepi.exp: Update "info record" output.
12030 * gdb.btrace/nohist.exp: Update "info record" output.
12032 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12035 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12037 2015-02-06 Pedro Alves <palves@redhat.com>
12039 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12041 (seconds_left, again): New globals.
12042 (main): Wait seconds_left in a 1-second sleep loop instead of
12043 sleeping 180 seconds. If 'again' is set, reset the seconds
12045 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12046 'again' in the inferior before detaching. Print the seconds left.
12047 (options): New global.
12048 (top level): Build program with -DTIMEOUT=$timeout.
12050 2015-02-06 Pedro Alves <palves@redhat.com>
12052 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12053 determine how many seconds to pass to 'alarm'.
12054 * gdb.base/gdb-sigterm.exp (top level): Build program with
12055 -DTIMEOUT=$timeout.
12056 (do_test): Return success/failure indication. Add more verbose
12057 logging. Don't fail if 200 single steps are seen. Instead, fail
12058 when the test times out.
12059 (passes): New global.
12060 (top level): Break the testing loop if testing fails on any
12061 iteration. Use gdb_assert.
12063 2015-02-04 Don Breazeal <donb@codesourcery.com>
12065 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12066 and initialize them.
12067 (ipc_cleanup): New function.
12068 (main): Don't declare shmid, semid, and msqid. Add a call to
12069 atexit so that we call ipc_cleanup on exit.
12071 2015-02-04 Pedro Alves <palves@redhat.com>
12073 * boards/native-extended-gdbserver.exp: Remove any target variant
12074 specifications from the board name before clearing the isremote
12075 flag from board_info.
12077 2015-01-31 Doug Evans <xdje42@gmail.com>
12079 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12081 2015-01-31 Gary Benson <gbenson@redhat.com>
12083 * gdb.base/completion.exp: Disable completion limiting for
12084 existing tests. Add new tests to check completion limiting.
12085 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12087 2015-01-31 Doug Evans <xdje42@gmail.com>
12089 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12091 2015-01-31 Doug Evans <xdje42@gmail.com>
12093 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12094 entries. Duplicate file section script entries.
12095 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12096 inlined entries. Add test for safe-path rejection.
12097 * gdb.python/py-section-script.c: Add duplicate inlined section script
12098 entries. Duplicate file section script entries.
12099 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12100 inlined entries. Add test for safe-path rejection.
12102 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12104 * gdb.ada/disc_arr_bound: New testcase.
12106 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12108 * gdb.ada/mi_var_array: New testcase.
12110 2015-01-27 Doug Evans <dje@google.com>
12112 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12113 Add test for objfile.filename, objfile.username after objfile
12116 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12118 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12119 the second test to print the name attribute of value
12120 returned by the call to gdb.lookup_type, and adjust
12121 the expected output accordingly.
12123 2015-01-25 Mark Wielaard <mjw@redhat.com>
12125 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12126 * gdb.base/disp-step-fork.c: Include unistd.h.
12127 * gdb.base/siginfo-obj.c: Include stdio.h.
12128 * gdb.base/siginfo-thread.c: Likewise.
12129 * gdb.mi/non-stop.c: Include unistd.h.
12130 * gdb.mi/nsthrexec.c: Include stdio.h.
12131 * gdb.mi/pthreads.c: Include unistd.h.
12132 * gdb.modula2/unbounded1.c (main): Declare returns int.
12133 * gdb.reverse/consecutive-reverse.c: Likewise.
12134 * gdb.threads/create-fail.c: Include unistd.h.
12135 * gdb.threads/killed.c: Likewise.
12136 * gdb.threads/linux-dp.c: Likewise.
12137 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12138 * gdb.threads/non-ldr-exc-2.c: Likewise.
12139 * gdb.threads/non-ldr-exc-3.c: Likewise.
12140 * gdb.threads/non-ldr-exc-4.c: Likewise.
12141 * gdb.threads/pthreads.c: Include unistd.h.
12142 (main): Declare returns int.
12143 * gdb.threads/tls-main.c (foo): New declaration.
12144 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12146 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12148 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12149 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12151 2015-01-15 Mark Wielaard <mjw@redhat.com>
12153 * gdb.base/noreturn-return.c: New file.
12154 * gdb.base/noreturn-return.exp: New file.
12155 * gdb.base/noreturn-finish.c: New file.
12156 * gdb.base/noreturn-finish.exp: New file.
12158 2015-01-23 Pedro Alves <palves@redhat.com>
12160 * gdb.threads/continue-pending-after-query.c: New file.
12161 * gdb.threads/continue-pending-after-query.exp: New file.
12163 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12164 Simon Marchi <simon.marchi@ericsson.com>
12166 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12167 * gdb.base/valgrind-db-attach.exp: Same.
12168 * gdb.base/valgrind-infcall.exp: Same.
12169 * lib/mi-support.exp (default_mi_gdb_start): Same.
12170 * lib/prompt.exp (default_prompt_gdb_start): Same.
12171 * lib/gdb.exp (default_gdb_spawn): Same.
12172 (gdb_interact): New.
12175 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12177 * gdb.compile/compile.exp (pointer to jit function): New test.
12179 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12181 * lib/gdb.exp (supports_process_record): Return true for
12183 (supports_reverse): Likewise.
12185 2015-01-15 Don Breazeal <donb@codesourcery.com>
12187 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12188 instead of checking whether the target board is remote and
12189 use spawn_wait_for_attach instead of exec/sleep.
12190 * gdb.base/attach-twice.exp: Likewise.
12192 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12194 * gdb.ada/var_arr_attrs: New testcase.
12196 2015-01-14 Pedro Alves <palves@redhat.com>
12197 Joel Brobecker <brobecker@adacore.com>
12200 * gdb.base/bp-cmds-execution-x-script.c: New file.
12201 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12202 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12204 2015-01-14 Pedro Alves <palves@redhat.com>
12207 * gdb.base/batch-preserve-term-settings.c: New file.
12208 * gdb.base/batch-preserve-term-settings.exp: New file.
12210 2015-01-13 Doug Evans <dje@google.com>
12212 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12215 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12217 * Makefile.in (clean mostlyclean): Do not delete *.py.
12219 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12221 * gdb.python/py-lookup-type.exp: New file.
12223 2015-01-12 Pedro Alves <palves@redhat.com>
12225 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12226 restore GDBFLAGS before returning.
12228 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12230 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12231 is_amd64_regs_target and is_x86_like_target.
12233 2015-01-11 Doug Evans <xdje42@gmail.com>
12235 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12236 is given without an explicit form.
12237 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12239 * gdb.dwarf/corrupt.exp: Ditto.
12240 * gdb.dwarf2/enum-type.exp: Ditto.
12241 * gdb.trace/entry-values.exp: Ditto.
12242 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12244 2015-01-11 Doug Evans <xdje42@gmail.com>
12247 * gdb.base/maint.exp: Remove references to "maint demangle".
12248 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12249 Add tests for explicitly specifying language to demangle.
12250 * gdb.dlang/demangle.exp: Ditto.
12252 2015-01-09 Pedro Alves <palves@redhat.com>
12254 * gdb.threads/non-stop-fair-events.c: New file.
12255 * gdb.threads/non-stop-fair-events.exp: New file.
12257 2015-01-09 Pedro Alves <palves@redhat.com>
12259 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12260 the global scope. Set a breakpoint after all threads are started
12261 rather than stepping over two source lines. Expect the prompt.
12262 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12265 (main): Use threads_started_barrier to wait for all threads to
12266 start. Main thread no longer calls thread_function. Exit after
12268 (loop): New function.
12269 (thread_function): Wait on threads_started_barrier barrier. Call
12270 'loop' at each iteration.
12271 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12272 threads have started, instead of hardcoding number of "next"
12273 steps. Use an access watchpoint instead of a write watchpoint.
12275 2015-01-09 Pedro Alves <palves@redhat.com>
12277 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12278 (thread_func): Wait on barrier.
12279 (main): Wait for all threads to start before stopping GDB.
12280 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12282 (thread1_func, thread2_func): Wait on barrier.
12283 (main): Wait for all threads to start before stopping GDB.
12284 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12286 (thread1_func, thread2_func): Wait on barrier.
12287 (main): Wait for all threads to start before stopping GDB.
12289 2015-01-09 Pedro Alves <palves@redhat.com>
12291 * gdb.threads/attach-many-short-lived-threads.c: New file.
12292 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12294 2014-01-09 Pedro Alves <palves@redhat.com>
12296 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12297 instead of to thread 2.
12298 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12299 Add barrier around each pthread_create call instead of around all
12301 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12302 Set a break on thread_function and have the child threads hit it
12305 2015-01-09 Pedro Alves <palves@redhat.com>
12307 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12308 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12310 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12311 checking whether the target board is remote.
12312 * gdb.multi/multi-attach.exp: Likewise.
12313 * gdb.python/py-sync-interp.exp: Likewise.
12314 * gdb.server/ext-attach.exp: Likewise.
12315 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12316 tests that need to attach, instead of checking whether the target
12317 board is remote at the top of the file.
12319 2015-01-08 Yao Qi <yao@codesourcery.com>
12321 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12323 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12325 Fix testcase compilation.
12326 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12328 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12330 * gdb.python/py-type.exp: Add a couple test about empty
12331 array creation, and negative-length array creation.
12333 2015-01-02 Doug Evans <xdje42@gmail.com>
12335 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12337 2015-01-02 Doug Evans <dje@google.com>
12339 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12341 2014-12-29 Yao Qi <yao@codesourcery.com>
12343 * gdb.trace/entry-values.exp: Update comments. Rename variable
12344 bar_call_foo to returned_from_foo.
12346 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12349 * gdb.linespec/break-asm-file.c: New file.
12350 * gdb.linespec/break-asm-file.exp: New file.
12351 * gdb.linespec/break-asm-file0.s: New file.
12352 * gdb.linespec/break-asm-file1.s: New file.
12354 2014-12-18 Nigel Stephens <nigel@mips.com>
12355 Maciej W. Rozycki <macro@codesourcery.com>
12357 * gdb.base/float.exp: Handle the new output from "info float" on
12360 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12362 Fix MinGW compilation.
12363 * gdb.compile/compile-ops.exp: Update untested message if
12364 !skip_compile_feature_tests.
12365 * gdb.compile/compile-setjmp.exp: Likewise.
12366 * gdb.compile/compile-tls.exp: Likewise.
12367 * gdb.compile/compile.exp: Likewise.
12368 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12369 supported on this host".
12371 2014-12-16 Doug Evans <xdje42@gmail.com>
12373 * boards/stabs.exp: New file.
12375 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12377 * gdb.base/completion.exp: Adjust to format changes of "maint
12378 print user-registers".
12380 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12383 * gdb.arch/aarch64-fp.c: New file.
12384 * gdb.arch/aarch64-fp.exp: New file.
12386 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12388 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12389 r210637, r210913, r211666, r215400, r215817).
12391 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12392 * dg-extract-results.py: New file.
12393 * dg-extract-results.sh: Use it if the environment seems
12396 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12398 * dg-extract-results.py (parse_run): Handle warnings that
12399 are printed before a test harness is run.
12401 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12403 * dg-extract-results.py (Named): Remove __cmp__ method.
12404 (output_variation): Use a key to sort variation.harnesses.
12406 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12408 * dg-extract-results.py: For Python 3, force sys.stdout to
12409 handle surrogate escape sequences.
12410 (safe_open): New function.
12411 (output_segment, main): Use it.
12413 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12415 * dg-extract-results.py (Prog.result_re): Include options
12418 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12420 * dg-extract-results.py (output_variation): Always sort if
12423 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12425 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12426 as long as we get pagination notifications.
12428 2014-12-15 Jason Merrill <jason@redhat.com>
12430 * Makefile.in (check-gdb.%): Restore.
12431 * README: Mention it.
12433 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12435 * gdb.ada/str_uninit: New testcase.
12437 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12440 * gdb.base/vla-stub-define.c: New file.
12441 * gdb.base/vla-stub.c: New file.
12442 * gdb.base/vla-stub.exp: New file.
12444 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12445 Jan Kratochvil <jan.kratochvil@redhat.com>
12446 Tom Tromey <tromey@redhat.com>
12448 * configure.ac: Add gdb.compile/.
12449 * configure: Regenerate.
12450 * gdb.compile/Makefile.in: New file.
12451 * gdb.compile/compile-ops.exp: New file.
12452 * gdb.compile/compile-ops.c: New file.
12453 * gdb.compile/compile-tls.c: New file.
12454 * gdb.compile/compile-tls.exp: New file.
12455 * gdb.compile/compile-constvar.S: New file.
12456 * gdb.compile/compile-constvar.c: New file.
12457 * gdb.compile/compile-mod.c: New file.
12458 * gdb.compile/compile-nodebug.c: New file.
12459 * gdb.compile/compile-setjmp-mod.c: New file.
12460 * gdb.compile/compile-setjmp.c: New file.
12461 * gdb.compile/compile-setjmp.exp: New file.
12462 * gdb.compile/compile-shlib.c: New file.
12463 * gdb.compile/compile.c: New file.
12464 * gdb.compile/compile.exp: New file.
12465 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12467 2014-12-12 Tom Tromey <tromey@redhat.com>
12469 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12470 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12472 2014-12-12 Doug Evans <dje@google.com>
12474 * lib/gdb-python.exp (get_python_valueof): New function.
12475 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12477 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12479 * gdb.base/completion.exp: Add test for completion of "info
12482 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12484 * gdb.base/func-ptrs.c: New file.
12485 * gdb.base/func-ptrs.exp: New file.
12487 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12489 PR breakpoints/17012
12490 * gdb.base/dprintf-detach.c: New file.
12491 * gdb.base/dprintf-detach.exp: New file.
12493 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12495 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12496 * lib/gdb.exp (target_is_gdbserver): New procedure.
12498 2014-12-08 Doug Evans <dje@google.com>
12500 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12502 2014-12-05 Yao Qi <yao@codesourcery.com>
12504 * gdb.guile/scm-error.exp: Remove the third argument to
12505 gdb_remote_download.
12506 * gdb.guile/scm-frame-args.exp: Likewise.
12507 * gdb.guile/scm-section-script.exp: Likewise.
12509 2014-12-05 Yao Qi <yao@codesourcery.com>
12511 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12513 2014-12-04 Doug Evans <dje@google.com>
12515 * gdb.python/py-objfile.exp: Add tests for
12516 objfile.add_separate_debug_file.
12518 2014-12-04 Doug Evans <dje@google.com>
12520 * lib/gdb.exp (get_build_id): New function.
12521 (build_id_debug_filename_get): Rewrite to use it.
12522 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12524 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12526 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12527 `method(long)', not just 0x0.
12528 * gdb.cp/nsalias.exp: Align code labels to 4.
12529 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12530 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12531 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12532 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12533 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12534 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12536 2014-12-02 Doug Evans <dje@google.com>
12539 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12540 * gdb.cp/anon-ns2.cc: ... here. New file.
12541 * gdb.cp/anon-ns.exp: Update.
12543 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12545 * gdb.python/py-events.py (inferior_call_handler): New.
12546 (register_changed_handler, memory_changed_handler): New.
12547 (test_events.invoke): Register new handlers.
12548 * gdb.python/py-events.exp: Add tests for inferior call,
12549 memory_changed and register_changed events.
12551 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12553 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12554 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12555 if the linker doesn't understand this.
12557 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12559 * gdb.python/python.exp: Change expected reply to help().
12561 2014-12-01 Yao Qi <yao@codesourcery.com>
12563 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12564 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12565 * configure: Re-generated.
12567 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12569 * gdb.cp/chained-calls.cc: New file.
12570 * gdb.cp/chained-calls.exp: New file.
12571 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12573 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12575 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12576 * gdb.dwarf2/symtab-producer.exp: Same.
12577 * gdb.gdb/python-interrupts.exp: Same.
12578 * gdb.gdb/python-selftest.exp: Same.
12579 * gdb.python/py-linetable.exp: Same.
12580 * gdb.python/py-type.exp: Same.
12581 * gdb.python/py-value-cc.exp: Same.
12582 * gdb.python/py-value.exp: Same.
12584 2014-11-28 Yao Qi <yao@codesourcery.com>
12586 * gdb.base/break-probes.exp: Match library name prefixed with
12589 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12591 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12592 test expected output. Add parentheses for the call to print.
12593 Remove L suffix from integers.
12595 2014-11-26 Doug Evans <dje@google.com>
12597 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12599 2014-11-22 Yao Qi <yao@codesourcery.com>
12601 * gdb.trace/entry-values.c: Remove asms.
12602 (foo): Add foo_label.
12603 (bar): Add bar_label.
12604 * gdb.trace/entry-values.exp: Remove code computing foo's
12605 length and bar's length.
12606 (Dwarf::assemble): Invoke function_range for bar and use
12607 MACRO_AT_func for foo.
12609 2014-11-22 Yao Qi <yao@codesourcery.com>
12611 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12612 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12613 Use .Lgcc43_procstart instead of gcc43.
12615 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12617 * gdb.ada/n_arr_bound: New testcase.
12619 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12621 PR breakpoints/10737
12622 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12623 test_catch_syscall_multi_arch.
12624 (test_catch_syscall_multi_arch): New function.
12626 2014-11-20 Doug Evans <xdje42@gmail.com>
12628 * gdb.base/maint.exp: Update expected output.
12630 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12632 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12633 4-byte instruction on S390.
12635 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12637 * gdb.ada/arr_arr: New testcase.
12639 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12641 * gdb.ada/pkd_arr_elem: New Testcase.
12643 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12645 * gdb.reverse/break-precsave: Expect completion message for
12647 * gdb.reverse/consecutive-precsave.exp: Likewise.
12648 * gdb.reverse/finish-precsave.exp: Likewise.
12649 * gdb.reverse/i386-precsave.exp: Likewise.
12650 * gdb.reverse/machinestate-precsave.exp: Likewise.
12651 * gdb.reverse/sigall-precsave.exp: Likewise.
12652 * gdb.reverse/solib-precsave.exp: Likewise.
12653 * gdb.reverse/step-precsave.exp: Likewise.
12654 * gdb.reverse/until-precsave.exp: Likewise.
12655 * gdb.reverse/watch-precsave.exp: Likewise.
12657 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12659 * gdb.base/bp-permanent.c: Include unistd.h.
12660 * gdb.python/py-framefilter-mi.c (main): Add return type.
12661 * gdb.python/py-framefilter.c (main): Likewise.
12662 * gdb.trace/actions-changed.c (main): Likewise.
12664 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12666 * gdb.mi/until.c: Add eye-catchers.
12667 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12670 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12672 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12673 function header variants in break1.c.
12674 * gdb.base/ena-dis-br.exp: Likewise.
12675 * gdb.base/hbreak2.exp: Likewise.
12676 * gdb.reverse/until-precsave.exp: Drop references to removed
12677 non-prototype function header variants in ur1.c.
12678 * gdb.reverse/until-reverse.exp: Likewise.
12680 2014-11-17 Petr Machata <pmachata@redhat.com>
12682 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12683 ${_cu_offset_size} bytes abbrev offset.
12685 2014-11-15 Doug Evans <xdje42@gmail.com>
12688 * gdb.base/line-symtabs.exp: New file.
12689 * gdb.base/line-symtabs.c: New file.
12690 * gdb.base/line-symtabs.h: New file.
12692 2014-11-14 Yao Qi <yao@codesourcery.com>
12694 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12695 (func): Add label func_label.
12696 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12697 Replace low_pc and high_pc with MACRO_AT_range.
12698 Replace name, low_pc and high_pc with MACRO_AT_func.
12700 2014-11-14 Yao Qi <yao@codesourcery.com>
12702 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12703 Replace name, low_pc and high_pc with MACRO_AT_func.
12705 2014-11-14 Yao Qi <yao@codesourcery.com>
12707 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12708 produce debug information.
12709 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12711 2014-11-14 Yao Qi <yao@codesourcery.com>
12713 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12714 object and get function length.
12715 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12716 with MACRO_AT_func.
12717 (top-level): Replace gdb_compile and clean_restart with
12718 prepare_for_testing.
12719 * gdb.dwarf2/main.c (main): Add label main_label.
12721 2014-11-14 Yao Qi <yao@codesourcery.com>
12723 * lib/dwarf.exp (function_range): New procedure.
12724 (Dwarf::_handle_macro_at_func): New procedure.
12725 (Dwarf::_handle_macro_at_range): New procedure.
12726 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12728 2014-11-14 Yao Qi <yao@codesourcery.com>
12730 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12731 (_handle_attribute): New procedure.
12733 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12735 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12736 * gdb.base/call-sc.c (zed): Likewise.
12737 * gdb.base/checkpoint.c (main): Likewise.
12738 * gdb.base/dump.c (main): Likewise.
12739 * gdb.base/gcore.c (main): Likewise.
12740 * gdb.base/huge.c (main): Likewise.
12741 * gdb.base/multi-forks.c (main): Likewise.
12742 * gdb.base/pr10179-a.c (main): Likewise.
12743 * gdb.base/savedregs.c (main): Likewise.
12744 * gdb.base/sigaltstack.c (main): Likewise.
12745 * gdb.base/siginfo.c (main): Likewise.
12746 * gdb.base/structs.c (zed): Likewise.
12747 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12748 * gdb.mi/mi-syn-frame.c (main): Likewise.
12749 * gdb.mi/until.c (foo, main): Likewise.
12750 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12751 * gdb.base/solib-weak.c (foo): Declare.
12752 * gdb.base/attach-twice.c: Include stdio.h.
12753 * gdb.base/weaklib1.c: Likewise.
12754 * gdb.base/weaklib2.c: Likewise.
12755 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12756 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12758 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12759 * gdb.mi/mi-exit-code.c: Likewise.
12760 * gdb.base/break-interp-lib.c: Include string.h.
12761 * gdb.base/coremaker.c: Likewise.
12762 * gdb.base/testenv.c: Likewise.
12763 * gdb.python/py-finish-breakpoint.c: Likewise.
12764 * gdb.base/inferior-died.c: Include sys/wait.h.
12765 * gdb.base/fileio.c: Include time.h.
12766 * gdb.base/async-shell.c: Include unistd.h.
12767 * gdb.base/dprintf-non-stop.c: Likewise.
12768 * gdb.base/info-os.c: Likewise.
12769 * gdb.mi/mi-console.c: Likewise.
12770 * gdb.mi/watch-nonstop.c: Likewise.
12771 * gdb.python/py-events.c: Likewise.
12772 * gdb.base/async.c (baz): Move up before its invocation.
12773 * gdb.base/code_elim2.c (my_global_func): Likewise.
12774 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12775 * gdb.base/advance.c (func2): Likewise.
12777 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12779 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12781 * gdb.base/annota3.c: Likewise.
12782 * gdb.base/async.c: Likewise.
12783 * gdb.base/average.c: Likewise.
12784 * gdb.base/call-ar-st.c: Likewise.
12785 * gdb.base/call-rt-st.c: Likewise.
12786 * gdb.base/call-sc.c: Likewise.
12787 * gdb.base/call-strs.c: Likewise.
12788 * gdb.base/ending-run.c: Likewise.
12789 * gdb.base/execd-prog.c: Likewise.
12790 * gdb.base/exprs.c: Likewise.
12791 * gdb.base/foll-exec.c: Likewise.
12792 * gdb.base/foll-fork.c: Likewise.
12793 * gdb.base/foll-vfork.c: Likewise.
12794 * gdb.base/funcargs.c: Likewise.
12795 * gdb.base/gcore.c: Likewise.
12796 * gdb.base/jump.c: Likewise.
12797 * gdb.base/langs0.c: Likewise.
12798 * gdb.base/langs1.c: Likewise.
12799 * gdb.base/langs2.c: Likewise.
12800 * gdb.base/mips_pro.c: Likewise.
12801 * gdb.base/nodebug.c: Likewise.
12802 * gdb.base/opaque0.c: Likewise.
12803 * gdb.base/opaque1.c: Likewise.
12804 * gdb.base/recurse.c: Likewise.
12805 * gdb.base/run.c: Likewise.
12806 * gdb.base/scope0.c: Likewise.
12807 * gdb.base/scope1.c: Likewise.
12808 * gdb.base/setshow.c: Likewise.
12809 * gdb.base/setvar.c: Likewise.
12810 * gdb.base/shmain.c: Likewise.
12811 * gdb.base/shr1.c: Likewise.
12812 * gdb.base/shr2.c: Likewise.
12813 * gdb.base/sigall.c: Likewise.
12814 * gdb.base/signals.c: Likewise.
12815 * gdb.base/so-indr-cl.c: Likewise.
12816 * gdb.base/solib2.c: Likewise.
12817 * gdb.base/structs.c: Likewise.
12818 * gdb.base/sum.c: Likewise.
12819 * gdb.base/vforked-prog.c: Likewise.
12820 * gdb.base/watchpoint.c: Likewise.
12821 * gdb.reverse/shr2.c: Likewise.
12822 * gdb.reverse/until-reverse.c: Likewise.
12823 * gdb.reverse/ur1.c: Likewise.
12824 * gdb.reverse/watch-reverse.c: Likewise.
12826 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12828 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12830 * gdb.base/sepdebug.exp: Drop references to removed code.
12832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12834 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12835 variant. Preserve original line numbering.
12836 * gdb.base/list1.c: Likewise.
12838 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12840 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12842 * gdb.base/break1.c: Likewise.
12843 * gdb.base/break.exp: Drop references to removed code.
12845 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12847 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12850 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12852 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12854 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12856 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12857 logic into perform_all_tests() and invoke it with and without
12858 function header prototypes.
12859 (do_function_calls): Remove conditional XFAIL for PR 5318.
12860 (rerun_and_prepare): Remove duplicate code.
12861 (perform_all_tests): New. Main logic moved here.
12863 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12865 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12866 code guarded by #ifdef NO_PROTOTYPES.
12867 (t_double_many_args): Likewise.
12868 (DEF_FUNC_MANY_ARGS_1): Likewise.
12869 (DEF_FUNC_VALUES_1): Likewise.
12870 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12871 guarded by #ifdef PROTOTYPES.
12873 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12875 * gdb.mi/mi-console.c: Add eye-catcher.
12876 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12877 instead of literal line number.
12879 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12881 * gdb.base/shr2.c: Add eye-catcher.
12882 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12885 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12887 * gdb.base/jump.c: Add eye-catchers.
12888 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12891 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12893 * gdb.base/execd-prog.c: Add eye-catchers.
12894 * gdb.base/foll-exec.c: Likewise.
12895 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12898 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12900 * gdb.base/ending-run.c: Add eye-catchers.
12901 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12902 literal line numbers.
12904 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12906 * gdb.base/call-rt-st.c: Add eye-catchers.
12907 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12908 literal line numbers.
12910 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12912 * gdb.base/call-ar-st.c: Add eye-catchers.
12913 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12914 literal line numbers.
12916 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12918 * gdb.base/average.c: Add eye-catchers.
12919 * gdb.base/sum.c: Likewise.
12920 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12921 regexps dynamically.
12923 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12925 * gdb.base/solib1.c: Add eye-catchers.
12926 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12927 literal line numbers.
12929 2014-11-12 Pedro Alves <palves@redhat.com>
12931 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12934 2014-11-12 Pedro Alves <palves@redhat.com>
12936 * gdb.arch/i386-bp_permanent.c: New file.
12937 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12938 (srcfile): Set to i386-bp_permanent.c.
12939 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12940 that stepi does not execute the 'leave' instruction, instead of
12941 testing it does execute.
12942 * gdb.base/bp-permanent.c: New file.
12943 * gdb.base/bp-permanent.exp: New file.
12945 2014-11-10 Doug Evans <xdje42@gmail.com>
12948 * gdb.base/symtab-search-order.exp: New file.
12949 * gdb.base/symtab-search-order.c: New file.
12950 * gdb.base/symtab-search-order-1.c: New file.
12951 * gdb.base/symtab-search-order-shlib-1.c: New file.
12953 2014-11-07 Pedro Alves <palves@redhat.com>
12956 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12959 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12962 * gdb.cp/pr17494.cc: New file.
12963 * gdb.cp/pr17494.exp: New file.
12965 2014-11-02 Yao Qi <yao@codesourcery.com>
12967 * gdb.python/python.exp: Get working directory and match the
12968 output of "set extended-prompt \\w " with it.
12970 2014-10-30 Doug Evans <dje@google.com>
12972 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12974 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12977 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12979 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12980 * gdb.base/realname-expand.exp: Likewise.
12981 * gdb.linespec/macro-relative.exp: Likewise.
12983 2014-10-29 Pedro Alves <palves@redhat.com>
12986 * gdb.threads/schedlock.c (some_function): New function.
12987 (call_function): New global.
12988 (MAYBE_CALL_SOME_FUNCTION): New macro.
12989 (thread_function): Call it.
12990 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12991 and use it instead of a global counter. Adjust all callers.
12992 (get_current_thread): Use "find current thread" for test message
12993 here rather than having all callers pass down the same string.
12994 (goto_loop): New procedure, factored out from ...
12995 (my_continue): ... this.
12996 (step_ten_loops): Change parameter from test message to command to
12998 (list_count): Delete global.
12999 (check_result): New procedure, factored out from duplicate top
13001 (continue tests): Wrap in with_test_prefix.
13002 (test_step): New procedure, factored out from duplicate top level
13004 (top level): Test "step" in combination with all scheduler-locking
13005 modes. Test "next" in combination with all scheduler-locking
13006 modes, and in combination with stepping over a function call or
13008 * gdb.threads/next-bp-other-thread.c: New file.
13009 * gdb.threads/next-bp-other-thread.exp: New file.
13011 2014-10-29 Pedro Alves <palves@redhat.com>
13014 * gdb.python/python.exp: Test a multi-line command that spawns
13015 interactive Python.
13016 * gdb.base/multi-line-starts-subshell.exp: New file.
13018 2014-10-29 Yao Qi <yao@codesourcery.com>
13020 * gdb.base/fileio.exp: Make directories on host.
13022 2014-10-29 Yao Qi <yao@codesourcery.com>
13024 * gdb.base/fileio.c (test_write): Close the file.
13026 2014-10-28 Pedro Alves <palves@redhat.com>
13029 * gdb.base/sigstep.c (no_handler): New global.
13030 (main): If 'no_handler is true, set the signal handlers to
13032 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13033 with_sw_watch and no_handler parameters. Handle them.
13034 (top level) <stepping over handler when stopped at a breakpoint
13035 test>: Add a test axis for testing with a software watchpoint, and
13036 another for testing with the signal handler set to SIG_IGN.
13037 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13038 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13040 2014-10-28 Pedro Alves <palves@redhat.com>
13043 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13044 * gdb.base/sigstep.exp (other_handler_location): New global.
13045 (advance): Support stepping into the signal handler, and running
13046 commands while in the handler.
13047 (in_handler_map): New global.
13048 (top level): In the advance test, add combinations for getting
13049 into the handler with stepping commands, and for running commands
13050 in the handler. Add comment descripting the advancei tests.
13052 2014-10-28 Pedro Alves <palves@redhat.com>
13054 * gdb.base/sigstep.exp: Use build_executable instead of
13055 prepare_for_testing.
13056 (top level): Move code that starts GDB, runs to main and creates a
13058 (restart): ... this new procedure.
13059 (top level): Move backtrace from signal handler test to ...
13060 (validate_backtrace): ... this new procedure.
13061 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13062 with_test_prefix. Always restart GDB.
13063 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13064 with_test_prefix. Always restart GDB. No need to delete
13065 breakpoints after the test.
13066 (test_skip_handler): Remove prefix parameter.
13067 (skip_over_handler, breakpoint_to_handler)
13068 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13069 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13070 restart GDB. No need to delete breakpoints after the test.
13071 (top level): Use foreach to call the test procedures with
13072 different commands.
13074 2014-10-28 Pedro Alves <palves@redhat.com>
13076 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13077 instead of GNATS numbers.
13078 * gdb.base/sigbpt.exp: Likewise.
13079 * gdb.base/siginfo.exp: Likewise.
13080 * gdb.base/sigstep.exp: Likewise.
13082 2014-10-27 Pedro Alves <palves@redhat.com>
13084 * gdb.base/sigstep.c (dummy): New global.
13085 (main): Issue a couple writes to the new global.
13086 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13088 (skip_over_handler): Use test_skip_handler.
13089 (top level): Call skip_over_handler for stepi and nexti too.
13090 (breakpoint_over_handler): Use test_skip_handler.
13091 (top level): Call breakpoint_over_handler for stepi and nexti too.
13093 2014-10-27 Yao Qi <yao@codesourcery.com>
13095 * gdb.trace/tfile.c (adjust_function_address)
13096 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13097 function descriptor.
13099 2014-10-24 Don Breazeal <donb@codesourcery.com>
13101 * gdb.base/foll-fork.exp (test_follow_fork,
13102 catch_fork_child_follow): Check for updated fork messages emitted
13104 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13105 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13106 vfork_and_exec_child_follow_through_step): Check for updated vfork
13107 messages emitted from infrun.c.
13109 2014-10-24 Pedro Alves <palves@redhat.com>
13111 * gdb.base/corefile.exp: Remove references to ultrix.
13112 * gdb.base/interrupt.exp: Likewise.
13113 * gdb.base/whatis.exp: Likewise.
13114 * gdb.gdb/selftest.exp: Likewise.
13115 * gdb.threads/manythreads.exp: Likewise.
13116 * gdb.threads/print-threads.exp: Likewise.
13117 * gdb.threads/pthreads.exp:: Likewise.
13118 * gdb.threads/schedlock.exp: Likewise.
13120 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13122 * gdb.cp/non-trivial-retval.cc: Add a test case.
13123 * gdb.cp/non-trivial-retval.exp: Add a test.
13125 2014-10-20 Yao Qi <yao@codesourcery.com>
13127 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13128 * gdb.python/py-objfile-script-gdb.py: New file.
13129 * gdb.python/py-objfile-script.exp: Update reference to
13130 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13131 of remote_download. Remove the dest file.
13133 2014-10-20 Yao Qi <yao@codesourcery.com>
13135 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13136 * gdb.base/step-line.exp: Likewise.
13137 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13138 * gdb.dwarf2/dw2-basic.exp: Likewise.
13139 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13140 * gdb.dwarf2/dw2-filename.exp: Likewise.
13141 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13142 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13143 * gdb.dwarf2/dw2-producer.exp: Likewise.
13144 * gdb.dwarf2/mac-fileno.exp: Likewise.
13145 * gdb.python/py-frame-args.exp: Likewise.
13146 * gdb.python/py-framefilter.exp: Likewise.
13147 * gdb.python/py-mi.exp: Likewise.
13148 * gdb.python/py-objfile-script.exp: Likewise
13149 * gdb.python/py-pp-integral.exp: Likewise.
13150 * gdb.python/py-pp-re-notag.exp: Likewise.
13151 * gdb.python/py-prettyprint.exp: Likewise.
13152 * gdb.python/py-section-script.exp: Likewise.
13153 * gdb.python/py-typeprint.exp: Likewise.
13154 * gdb.python/py-xmethods.exp: Likewise.
13155 * gdb.stabs/weird.exp: Likewise.
13156 * gdb.xml/tdesc-regs.exp: Likewise.
13158 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13160 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13161 (out_cu): Use addr_len for the size of addresses.
13162 (out_line): Likewise. Size DW_LNE_set_address instruction
13163 according to addr_len.
13164 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13165 (FUNC): Add START_INSNS to definition.
13167 2014-10-18 Yao Qi <yao@codesourcery.com>
13169 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13170 gdb_has_argv0 return true.
13171 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13172 check [target_info exists noargs], check [gdb_has_argv0]
13174 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13175 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13178 2014-10-17 Doug Evans <dje@google.com>
13180 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13182 * gdb.python/py-events.py: Add clear_objfiles event.
13184 2014-10-17 Doug Evans <dje@google.com>
13186 * gdb.python/py-objfile.exp: Test progspace attribute.
13188 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13190 * gdb.guile/scm-breakpoint.exp: Do not assume any
13191 directory separators when matching source file paths.
13192 * gdb.python/py-breakpoint.exp: Likewise.
13193 * gdb.reverse/break-precsave.exp: Likewise.
13194 * gdb.reverse/break-reverse.exp: Likewise.
13195 * gdb.reverse/consecutive-precsave.exp: Likewise.
13196 * gdb.reverse/finish-precsave.exp: Likewise.
13197 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13198 * gdb.reverse/finish-reverse.exp: Likewise.
13199 * gdb.reverse/i386-precsave.exp: Likewise.
13200 * gdb.reverse/i387-env-reverse.exp: Likewise.
13201 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13202 * gdb.reverse/machinestate-precsave.exp: Likewise.
13203 * gdb.reverse/machinestate.exp: Likewise.
13204 * gdb.reverse/sigall-precsave.exp: Likewise.
13205 * gdb.reverse/solib-precsave.exp: Likewise.
13206 * gdb.reverse/step-precsave.exp: Likewise.
13207 * gdb.reverse/until-precsave.exp: Likewise.
13208 * gdb.reverse/watch-precsave.exp: Likewise.
13209 * gdb.reverse/watch-reverse.exp: Likewise.
13211 2014-10-17 Yao Qi <yao@codesourcery.com>
13213 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13214 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13216 2014-10-17 Pedro Alves <palves@redhat.com>
13219 * gdb.base/bg-execution-repeat.c: New file.
13220 * gdb.base/bg-execution-repeat.exp: New file.
13222 2014-10-17 Pedro Alves <palves@redhat.com>
13225 * gdb.base/continue-all-already-running.c: New file.
13226 * gdb.base/continue-all-already-running.exp: New file.
13228 2014-10-17 Pedro Alves <palves@redhat.com>
13231 * gdb.base/annota-input-while-running.c: New file.
13232 * gdb.base/annota-input-while-running.exp: New file.
13234 2014-10-17 Pedro Alves <palves@redhat.com>
13236 * gdb.base/callfuncs.exp: emove references to osf.
13237 * gdb.base/sigall.exp: Likewise.
13238 * gdb.gdb/selftest.exp: Likewise.
13239 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13240 * gdb.mi/non-stop.c: Likewise.
13241 * gdb.mi/pthreads.c: Likewise.
13242 * gdb.reverse/sigall-precsave.exp: Likewise.
13243 * gdb.reverse/sigall-reverse.exp: Likewise.
13244 * gdb.threads/pthreads.c: Likewise.
13245 * gdb.threads/pthreads.exp: Likewise.
13247 2014-10-17 Yao Qi <yao@codesourcery.com>
13249 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13250 check 'target_info exists noargs'.
13251 (test_command_prompt_position): Likewise.
13252 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13254 (progvar_simple_while_test): Likewise.
13255 (progvar_complex_if_while_test): Likewise.
13256 (if_while_breakpoint_command_test): Likewise.
13257 (infrun_breakpoint_command_test): Likewise.
13258 (breakpoint_command_test): Likewise.
13259 (watchpoint_command_test): Likewise.
13260 (bp_deleted_in_command_test): Likewise.
13261 (temporary_breakpoint_commands): Likewise.
13263 2014-10-16 Yao Qi <yao@codesourcery.com>
13265 * gdb.base/remotetimeout.exp: Remove noargs checking.
13267 2014-10-15 Pedro Alves <palves@redhat.com>
13269 PR breakpoints/9649
13270 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13271 * gdb.base/breakpoint-in-ro-region.exp
13272 (probe_target_hardware_step): New procedure.
13273 (top level): Probe hardware stepping and hardware breakpoint
13274 support. Test stepping through a read-only region, with both
13275 "breakpoint auto-hw" on and off and both "always-inserted" on and
13278 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13280 * gdb.dlang/demangle.exp: Update for demangling changes.
13282 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13284 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13285 * gdb.cp/non-trivial-retval.exp: Add new tests.
13287 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13291 * gdb.cp/non-trivial-retval.cc: New file.
13292 * gdb.cp/non-trivial-retval.exp: New file.
13294 2014-10-15 Yao Qi <yao@codesourcery.com>
13296 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13299 2014-10-15 Yao Qi <yao@codesourcery.com>
13301 * gdb.python/py-symbol.exp: Match file base name if host is
13302 remote, otherwise match file name with dir name.
13303 * gdb.python/py-symtab.exp: Likewise.
13304 * gdb.python/python.exp: Likewise.
13306 2014-10-15 Yao Qi <yao@codesourcery.com>
13308 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13310 * gdb.python/py-symtab.exp: Likewise.
13311 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13314 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13316 * gdb.ada/addr_arith: New testcase.
13318 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13320 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13321 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13322 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13323 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13325 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13327 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13328 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13329 * gdb.arch/stap-eval-lang-ada.exp: New file.
13331 2014-10-14 Yao Qi <yao@codesourcery.com>
13333 * gdb.mi/mi-var-child.c (nothing1): New function.
13334 (nothing2): New function.
13335 (do_children_tests): Set function pointers by nothing1 and
13337 * gdb.mi/mi-var-child.exp: Step over new added statements.
13338 Update test to match the new output.
13339 * gdb.mi/var-cmd.c (nothing1): New function.
13340 (nothing2): New function.
13341 (do_children_tests): Set function pointers by nothing1 and
13343 * gdb.mi/mi-var-display.exp: Update test to match output.
13344 Step to the line specified by $line_dct_nothing.
13345 Increase the number of lines to step.
13347 2014-10-14 Yao Qi <yao@codesourcery.com>
13349 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13351 * gdb.mi/mi2-var-child.exp: Likewise.
13353 2014-10-13 Doug Evans <dje@google.com>
13355 * gdb.python/py-objfile.exp: Change name of file name test.
13357 2014-10-13 Doug Evans <dje@google.com>
13359 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13360 from the start of the CU.
13362 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13363 Yao Qi <yao@codesourcery.com>
13365 Fix "save breakpoints" for "catch" command.
13366 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13367 Remove -nonewline. Match also the added "main" line.
13369 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13371 Fix "save breakpoints" for "disable $bpnum" command.
13372 * gdb.base/save-bp.c (main): Add label.
13373 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13375 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13377 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13379 2014-10-11 Yao Qi <yao@codesourcery.com>
13381 * gdb.server/server-kill.exp: Execute command
13382 "set remote trace-status-packet on" before "tstatus".
13384 2014-10-11 Yao Qi <yao@codesourcery.com>
13386 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13387 (main): Call getppid.
13388 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13389 and continue to it. Read variable "server_pid".
13391 2014-10-11 Yao Qi <yao@codesourcery.com>
13393 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13395 2014-10-11 Yao Qi <yao@codesourcery.com>
13397 * gdb.threads/thread-find.exp: Don't execute command
13399 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13400 * gdb.threads/linux-dp.exp: Don't check the condition
13401 $threads_created equals to zero.
13403 2014-10-10 Pedro Alves <palves@redhat.com>
13405 * gdb.base/bigcore.exp: Remove references to IRIX.
13406 * gdb.base/funcargs.exp: Likewise.
13407 * gdb.base/interrupt.exp: Likewise.
13408 * gdb.base/mips_pro.exp: Likewise.
13409 * gdb.base/nodebug.exp: Likewise.
13410 * gdb.base/setvar.exp: Likewise.
13411 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13413 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13414 Pedro Alves <palves@redhat.com>
13417 * gdb.base/vdso-warning.c: New file.
13418 * gdb.base/vdso-warning.exp: New file.
13420 2014-10-02 Doug Evans <dje@google.com>
13422 * gdb.base/structs.c (main): Don't run forever.
13424 2014-10-02 Pedro Alves <palves@redhat.com>
13426 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13427 (top level) <stop threads 1, stop threads 2>: Use it.
13429 2014-10-02 Pedro Alves <palves@redhat.com>
13431 * gdb.threads/break-while-running.exp (test): Add new
13432 'update_thread_list' argument. Skip "info threads" if false.
13433 (top level): Add new 'update_thread_list' axis.
13435 2014-10-02 Pedro Alves <palves@redhat.com>
13437 PR breakpoints/17431
13438 * gdb.base/execl-update-breakpoints.c: New file.
13439 * gdb.base/execl-update-breakpoints.exp: New file.
13441 2014-10-01 Pedro Alves <palves@redhat.com>
13443 * gdb.base/breakpoint-in-ro-region.c: New file.
13444 * gdb.base/breakpoint-in-ro-region.exp: New file.
13446 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13448 * gdb.mi/mi-exit-code.exp: New file.
13449 * gdb.mi/mi-exit-code.c: New file.
13451 2014-09-30 Yao Qi <yao@codesourcery.com>
13453 * lib/prelink-support.exp (build_executable_own_libs): Error if
13454 the target isn't native.
13456 2014-09-30 Yao Qi <yao@codesourcery.com>
13458 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13461 2014-09-22 Pedro Alves <palves@redhat.com>
13463 * gdb.threads/break-while-running.exp: New file.
13464 * gdb.threads/break-while-running.c: New file.
13466 2014-09-19 Yao Qi <yao@codesourcery.com>
13468 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13469 Invoke test. Restart GDB with --readnow and invoke test again.
13471 2014-09-19 Yao Qi <yao@codesourcery.com>
13473 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13474 proc set_breakpoint_on_gcd_function. Invoke
13475 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13476 invoke set_breakpoint_on_gcd_function again.
13478 2014-09-18 Doug Evans <dje@google.com>
13480 * gdb.dwarf2/symtab-producer.exp: New file.
13482 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13484 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13485 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13486 * gdb.base/global-var-nested-by-dso.c: Likewise.
13487 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13489 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13490 Pedro Alves <palves@redhat.com>
13492 * gdb.base/watch-bitfields.exp: Pass string other than test file
13493 name to prepare_for_testing.
13494 (watch): New procedure.
13495 (expect_watchpoint): Use with_test_prefix.
13496 (top level): Factor out tests to ...
13497 (test_watch_location, test_regular_watch): ... these new
13498 procedures, and use with_test_prefix and gdb_continue_to_end.
13500 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13502 PR breakpoints/12526
13503 * gdb.base/watch-bitfields.exp: New file.
13504 * gdb.base/watch-bitfields.c: New file.
13506 2014-09-16 Pedro Alves <palves@redhat.com>
13508 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13509 software and hardware addresses, not software address against
13512 2014-09-16 Pedro Alves <palves@redhat.com>
13514 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13515 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13517 2014-09-16 Pedro Alves <palves@redhat.com>
13519 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13521 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13522 "*-*-vxworks*" throughout.
13523 * gdb.base/break.exp: Likewise.
13524 * gdb.base/default.exp: Likewise.
13525 * gdb.base/scope.exp: Likewise.
13526 * gdb.base/sepdebug.exp: Likewise.
13527 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13529 * gdb.base/run.c: Likewise.
13530 * gdb.base/sepdebug.c: Likewise.
13531 * gdb.hp/gdb.aCC/run.c: Likewise.
13532 * gdb.reverse/until-reverse.c: Likewise.
13533 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13535 2014-09-16 Yao Qi <yao@codesourcery.com>
13537 * boards/local-remote-host-native.exp: New file.
13539 2014-09-14 Doug Evans <xdje42@gmail.com>
13541 * gdb.threads/queue-signal.c (thread_count): New variable.
13542 (thread_count_mutex, thread_count_condvar): New variables.
13543 (incr_thread_count, wait_all_threads_running): New functions.
13544 (main): Wait for all threads to be in their thread functions.
13546 2014-09-13 Doug Evans <xdje42@gmail.com>
13548 * gdb.threads/queue-signal.c: New file.
13549 * gdb.threads/queue-signal.exp: New file.
13551 2014-09-13 Doug Evans <xdje42@gmail.com>
13553 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13554 be consistent with what default_gdb_init uses.
13555 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13556 the plain text of the prompt. Add some logging printfs.
13557 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13559 2014-09-12 Pedro Alves <palves@redhat.com>
13561 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13562 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13563 * gdb.arch/i386-size-overlap.exp: Likewise.
13564 * gdb.arch/i386-size.exp: Likewise.
13565 * gdb.arch/i386-unwind.exp: Likewise.
13566 * gdb.base/a2-run.exp: Likewise.
13567 * gdb.base/break.exp: Likewise.
13568 * gdb.base/charset.exp: Likewise.
13569 * gdb.base/chng-syms.exp: Likewise.
13570 * gdb.base/commands.exp: Likewise.
13571 * gdb.base/dbx.exp: Likewise.
13572 * gdb.base/find.exp: Likewise.
13573 * gdb.base/funcargs.exp: Likewise.
13574 * gdb.base/jit-simple.exp: Likewise.
13575 * gdb.base/reread.exp: Likewise.
13576 * gdb.base/sepdebug.exp: Likewise.
13577 * gdb.base/step-bt.exp: Likewise.
13578 * gdb.cp/mb-inline.exp: Likewise.
13579 * gdb.cp/mb-templates.exp: Likewise.
13580 * gdb.objc/basicclass.exp: Likewise.
13581 * gdb.threads/killed.exp: Likewise.
13583 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13586 * gdb.arch/powerpc-stackless.S: New file.
13587 * gdb.arch/powerpc-stackless.exp: New file.
13589 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13591 * gdb.base/attach.c: Include unistd.h.
13592 (main): Call alarm. Add label postloop.
13593 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13594 gdb_breakpoint, gdb_continue_to_breakpoint.
13595 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13597 2014-09-11 Pedro Alves <palves@redhat.com>
13600 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13601 * gdb.base/attach.exp (test_command_line_attach_run): New
13603 (top level): Call it.
13605 2014-09-11 Pedro Alves <palves@redhat.com>
13607 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13608 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13609 (do_command_attach_tests): Use spawn_wait_for_attach.
13610 * gdb.base/solib-overlap.exp: Likewise.
13611 * gdb.multi/multi-attach.exp: Likewise.
13612 * gdb.python/py-prompt.exp: Likewise.
13613 * gdb.python/py-sync-interp.exp: Likewise.
13614 * gdb.server/ext-attach.exp: Likewise.
13616 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13618 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13619 command in testcase. Simplify testcase.
13621 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13623 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13625 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13627 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13629 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13631 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13633 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13635 * gdb.dwarf2/dynarr-ptr.c: New file.
13636 * gdb.dwarf2/dynarr-ptr.exp: New file.
13638 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13640 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13641 of 30 rather than hardcoding 120 for a slow test case. Take the
13642 `gdb,timeout' target setting into account for this calculation.
13643 Don't extend the timeout for the test cases that don't need it.
13645 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13647 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13648 a factor of 2 for a slow test case. Take the `gdb,timeout'
13649 target setting into account for this calculation.
13650 * gdb.reverse/until-precsave.exp: Increase the timeout by
13651 a factor of 15 and 3 respectively rather than adding 120
13652 for a pair of slow test cases. Take the `gdb,timeout'
13653 target setting into account for this calculation.
13655 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13657 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13658 timeout, don't pass one down to gdb_expect.
13659 (gdb_expect): Rework timeout selection.
13661 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13663 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13664 exception on timeout.
13665 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13666 (gdbserver_start_extended): Catch any `gdbserver_start' error
13668 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13669 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13670 `gdbserver_gdb_load' error exceptions.
13672 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13674 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13675 120 on waiting for the TCP socket to open.
13677 2014-09-09 Doug Evans <xdje42@gmail.com>
13679 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13680 _caller_matches, _any_caller_is, _any_caller_matches.
13682 2014-09-09 Doug Evans <xdje42@gmail.com>
13684 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13686 2014-09-09 Yao Qi <yao@codesourcery.com>
13688 * gdb.mi/mi-var-display.exp: Set print symbol off.
13690 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13693 * gdb.base/commands.exp: Add tests to verify user-defined
13694 commands with empty bodies.
13695 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13696 python commands in `show user command`.
13697 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13698 scheme commands in `show user command`.
13700 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13703 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13704 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13705 * gdb.python/py-framefilter-invalidarg.exp: New file.
13706 * gdb.python/py-framefilter-invalidarg.py: New file.
13708 2014-09-06 Doug Evans <xdje42@gmail.com>
13711 * gdb.python/py-caller-is.c: New file.
13712 * gdb.python/py-caller-is.exp: New file.
13714 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13717 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13718 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13720 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13723 * gdb.fortran/print-formatted.exp: New file.
13724 * gdb.fortran/print-formatted.f90: Likewise.
13726 2014-09-03 Sasha Smundak <asmundak@google.com>
13728 * gdb.python/py-frame.exp: Test Frame.read_register.
13730 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13733 * gdb.python/py-completion.exp: New file.
13734 * gdb.python/py-completion.py: Likewise.
13736 2014-08-28 Doug Evans <dje@google.com>
13738 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13739 eax,etc. are live with values set by gdb and thus the compiler can't
13741 * gdb.arch/i386-pseudo.c (main): Ditto.
13743 2014-08-27 Doug Evans <dje@google.com>
13745 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13747 2014-08-25 Doug Evans <dje@google.com>
13749 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13752 2014-08-25 Doug Evans <dje@google.com>
13754 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13756 2014-08-24 Yao Qi <yao@codesourcery.com>
13758 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13760 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13762 2014-08-22 Doug Evans <dje@google.com>
13765 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13766 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13767 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13769 2014-08-22 Yao Qi <yao@codesourcery.com>
13771 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13772 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13773 * gdb.python/python.exp: Likewise. Use .py file on the host
13774 instead of the build.
13776 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13778 * gdb.threads/gcore-stale-thread.c: New file.
13779 * gdb.threads/gcore-stale-thread.exp: New file.
13781 2014-08-21 Pedro Alves <palves@redhat.com>
13783 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13784 * gdb.base/gcore-relro-pie.exp: Likewise.
13785 * gdb.base/gcore-relro.exp: Likewise.
13786 * gdb.base/gcore.exp: Likewise.
13787 * gdb.base/print-symbol-loading.exp: Likewise.
13788 * gdb.threads/gcore-thread.exp: Likewise.
13789 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13791 2014-08-20 Pedro Alves <palves@redhat.com>
13792 Jan Kratochvil <jan.kratochvil@redhat.com>
13794 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13796 (EXPECT): Handle READ1 being set.
13797 (all): Depend on EXTRA_RULES.
13798 (check-read1, expect-read1, read1.so, read1): New rules.
13799 * README (Testsuite Parameters): Document the READ1 make variable.
13800 (Race detection): New section.
13801 * configure: Regenerate.
13802 * configure.ac: If build==host==target, and running under a
13803 GNU/glibc system, add read1 to the extra Makefile rules.
13804 (EXTRA_RULES): AC_SUBST it.
13805 * lib/read1.c: New file.
13807 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13809 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13810 the handling of variables declared as a typedef to an array
13811 which a DW_AT_data_location attribute.
13813 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13814 Pedro Alves <palves@redhat.com>
13818 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13821 2014-08-19 Pedro Alves <palves@redhat.com>
13823 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13825 2014-08-19 Yao Qi <yao@codesourcery.com>
13827 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13830 2014-08-18 David Blaikie <dblaikie@gmail.com>
13832 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13834 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13836 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13837 attribute in array range.
13839 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13841 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13843 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13846 * gdb.cp/pr17132.cc: New file.
13847 * gdb.cp/pr17132.exp: New file.
13849 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13851 * gdb.python/py-xmethods.py (A_getarrayind)
13852 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13853 Use 'print' with function call syntax.
13854 (E_method_matcher.match): Fix tab vs space indentation mixup.
13856 2014-08-15 Yao Qi <yao@codesourcery.com>
13858 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13861 2014-08-15 Yao Qi <yao@codesourcery.com>
13863 * gdb.cp/casts.exp: Set print symbol off.
13864 * gdb.cp/class2.exp: Likewise.
13865 * gdb.cp/overload.exp: Likewise.
13866 * gdb.cp/templates.exp: Likewise.
13868 2014-08-11 Doug Evans <dje@google.com>
13870 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13871 (test_load_shlib): Update.
13873 2014-08-09 Yao Qi <yao@codesourcery.com>
13875 * gdb.base/display.exp: Invoke is_address_zero_readable.
13876 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13877 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13878 * gdb.base/hbreak-unmapped.exp: Return if
13879 is_address_zero_readable returns true.
13880 * gdb.base/signest.exp: Likewise.
13881 * gdb.base/signull.exp: Likewise.
13882 * gdb.base/sigbpt.exp: Likewise.
13883 * gdb.guile/scm-disasm.exp: Do the test if
13884 is_address_zero_readable returns false.
13885 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13886 * gdb.python/py-arch.exp: Likewise.
13887 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13888 * lib/gdb.exp (is_address_zero_readable): New proc.
13890 2014-08-09 Yao Qi <yao@codesourcery.com>
13893 * gdb.mi/mi-var-display.exp: Make test messages unique.
13895 2014-08-04 Tom Tromey <tromey@redhat.com>
13897 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13900 2014-08-04 Tom Tromey <tromey@redhat.com>
13902 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13905 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13907 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13908 inner_vla_struct_object_size.
13909 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13912 2014-07-30 Pedro Alves <palves@redhat.com>
13914 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13917 2014-07-29 Yao Qi <yao@codesourcery.com>
13920 * gdb.base/until-nodebug.exp: New.
13922 2014-07-28 Doug Evans <xdje42@gmail.com>
13925 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13926 previously existing parameter, and previously ambiguously spelled
13929 2014-07-28 Will Newton <will.newton@linaro.org>
13931 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13933 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13934 Doug Evans <xdje42@gmail.com>
13937 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13939 2014-07-25 Pedro Alves <palves@redhat.com>
13941 * gdb.threads/signal-command-handle-nopass.c: New file.
13942 * gdb.threads/signal-command-handle-nopass.exp: New file.
13943 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13944 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13945 * gdb.threads/signal-delivered-right-thread.c: New file.
13946 * gdb.threads/signal-delivered-right-thread.exp: New file.
13948 2014-07-25 Pedro Alves <palves@redhat.com>
13950 * gdb.base/double-prompt-target-event-error.exp
13951 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13953 (cancel_pagination_in_target_event): Rework double prompt
13955 * gdb.base/paginate-after-ctrl-c-running.exp
13956 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13958 * gdb.base/paginate-bg-execution.exp
13959 (test_bg_execution_pagination_return)
13960 (test_bg_execution_pagination_cancel): Remove '-notransfer
13962 * gdb.base/paginate-execution-startup.exp
13963 (test_fg_execution_pagination_return)
13964 (test_fg_execution_pagination_cancel): Remove '-notransfer
13966 * gdb.base/paginate-inferior-exit.exp
13967 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13969 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13970 * lib/gdb.exp (pagination_prompt): Run text through
13972 (gdb_test_multiple): Match $pagination_prompt instead of
13974 (string_to_regexp): Move to lib/gdb-utils.exp.
13976 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13978 * gdb.arch/amd64-entry-value-paramref.S: New file.
13979 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13980 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13981 * gdb.arch/amd64-optimout-repeat.S: New file.
13982 * gdb.arch/amd64-optimout-repeat.c: New file.
13983 * gdb.arch/amd64-optimout-repeat.exp: New file.
13985 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13988 * gdb.base/statistics.exp: New file.
13990 2014-07-17 Doug Evans <dje@google.com>
13993 * gdb.base/maint.exp: Update testing of per-command stats.
13995 2014-07-16 Pedro Alves <palves@redhat.com>
13997 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13998 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13999 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14000 (tfile_write_buf): New functions.
14001 (add_memory_block): Rewrite using the above.
14002 (adjust_function_address): New function.
14003 (FUNCTION_ADDRESS): New macro.
14004 (write_basic_trace_file): Remove short_x local, and use
14005 tfile_write_16. Change type of func_addr local to unsigned long
14006 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14007 here. Cast argument of add_memory_block to char pointer.
14008 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14009 (main): Remove parameters.
14010 * gdb.trace/tfile.exp: Remove nowarnings.
14012 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14014 * gdb.base/debug-expr.exp: Test string evaluation with
14015 "debug expression" on.
14017 2014-07-15 Pedro Alves <palves@redhat.com>
14019 * gdb.base/reread.exp: Use clean_restart.
14021 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14023 * gdb.arch/avr-flash-qualifer.c: New.
14024 * gdb.arch/avr-flash-qualifer.exp: New.
14026 2014-07-14 Pedro Alves <palves@redhat.com>
14028 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14029 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14031 2014-07-14 Pedro Alves <palves@redhat.com>
14033 * gdb.base/double-prompt-target-event-error.c: New file.
14034 * gdb.base/double-prompt-target-event-error.exp: New file.
14036 2014-07-14 Pedro Alves <palves@redhat.com>
14039 * gdb.base/paginate-inferior-exit.c: New file.
14040 * gdb.base/paginate-inferior-exit.exp: New file.
14042 2014-07-14 Pedro Alves <palves@redhat.com>
14045 * gdb.base/paginate-bg-execution.c: New file.
14046 * gdb.base/paginate-bg-execution.exp: New file.
14048 2014-07-14 Pedro Alves <palves@redhat.com>
14051 * gdb.base/paginate-execution-startup.c: New file.
14052 * gdb.base/paginate-execution-startup.exp: New file.
14053 * lib/gdb.exp (pagination_prompt): New global.
14054 (default_gdb_spawn): New procedure, factored out from
14056 (default_gdb_start): Adjust to call default_gdb_spawn.
14057 (gdb_spawn): New procedure.
14059 2014-07-14 Pedro Alves <palves@redhat.com>
14061 * lib/gdb.exp (gdb_assert): New procedure.
14062 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14064 2014-07-14 Pedro Alves <palves@redhat.com>
14066 * gdb.base/execution-termios.c: New file.
14067 * gdb.base/execution-termios.exp: New file.
14069 2014-07-14 Tom Tromey <tromey@redhat.com>
14071 * gdb.cp/vla-cxx.cc: New file.
14072 * gdb.cp/vla-cxx.exp: New file.
14074 2014-07-14 Tom Tromey <tromey@redhat.com>
14076 * gdb.reverse/rerun-prec.c: New file.
14077 * gdb.reverse/rerun-prec.exp: New file.
14079 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14080 Maciej W. Rozycki <macro@codesourcery.com>
14082 * lib/gdb-utils.exp: New file.
14083 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14084 inline `gdb_init_command' processing.
14085 (gdb_start_cmd): Likewise.
14086 * lib/mi-support.exp (mi_run_cmd): Likewise.
14087 * README: Document `gdb_init_command' and `gdb_init_commands'.
14089 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14091 Fix false FAIL running under a very long directory name.
14092 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14093 and "set print elements 10000". Twice.
14095 2014-07-11 Yao Qi <yao@codesourcery.com>
14097 * gdb.base/exprs.exp: "set print symbol off".
14099 2014-07-11 Pedro Alves <palves@redhat.com>
14101 * gdb.threads/kill.c: New file.
14102 * gdb.threads/kill.exp: New file.
14104 2014-07-10 Yao Qi <yao@codesourcery.com>
14106 * gdb.trace/tfile.c (write_basic_trace_file)
14107 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14108 address written to trace file.
14110 2014-07-09 Pedro Alves <palves@redhat.com>
14112 * gdb.base/attach-wait-input.exp: New file.
14113 * gdb.base/attach-wait-input.c: New file.
14115 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14117 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14118 setting up test structures.
14119 (main): Call new test function.
14120 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14121 test function, continue into test function and walk test
14124 2014-07-02 Yao Qi <yao@codesourcery.com>
14126 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14127 'bar_start' at the beginning of functions 'foo' and 'bar'
14129 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14130 instead of 'foo' and 'bar'.
14132 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14134 * gdb.btrace/segv.exp: New.
14135 * gdb.btrace/segv.c: New.
14137 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14139 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14142 2014-06-30 Mark Wielaard <mjw@redhat.com>
14144 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14145 vulture, vilify, villar): New volatile array constants.
14146 (vindictive, vegetation): New const volatile array constants.
14147 * gdb.base/volatile.exp: Test volatile and const volatile array
14150 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14152 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14153 target lacks support for awatch, rwatch, or hbreak.
14155 2014-06-27 Yao Qi <yao@codesourcery.com>
14157 * gdb.multi/dummy-frame-restore.exp: New.
14158 * gdb.multi/dummy-frame-restore.c: New.
14160 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14162 * gdb.btrace/gcore.exp: New.
14164 2014-06-23 Pedro Alves <palves@redhat.com>
14166 * gdb.base/watchpoint-reuse-slot.c: New file.
14167 * gdb.base/watchpoint-reuse-slot.exp: New file.
14169 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14171 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14172 progspace's filename in 'info', 'enable' and 'disable' command
14175 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14177 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14178 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14179 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14181 2014-06-20 Gary Benson <gbenson@redhat.com>
14183 * gdb.arch/i386-avx.exp: Fix include file location.
14184 * gdb.arch/i386-sse.exp: Likewise.
14186 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14188 * gdb.dlang/expression.exp: New file.
14190 2014-06-19 Pedro Alves <palves@redhat.com>
14192 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14194 (top level): ... here. Iterate running tests under different
14195 scheduler-locking settings.
14197 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14199 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14200 to DW_FORM_addr and use non-zero addresses.
14202 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14205 * gdb.python/py-xmethods.cc: Add global function call counters and
14206 increment them in their respective functions. Remove "cout"
14208 * gdb.python/py-xmethods.exp: Make tests check the global function
14209 call counters instead of depending on inferior IO.
14211 2014-06-18 Don Breazeal <donb@codesourcery.com>
14213 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14215 (explicit_fork_parent_follow): Deleted procedure.
14216 (explicit_fork_child_follow): Deleted procedure.
14217 (test_follow_fork): New procedure.
14218 (do_fork_tests): Replace calls to deleted procedures with
14219 calls to test_follow_fork and reset GDB for subsequent
14222 2014-06-17 Yao Qi <yao@codesourcery.com>
14224 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14227 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14229 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14230 Initialize ptr and S explicitly.
14231 (skip_type_update_when_not_use_rtti_test): Likewise.
14233 2014-06-16 Keith Seitz <keiths@redhat.com>
14236 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14237 the inferior is started.
14239 2014-06-16 Pedro Alves <palves@redhat.com>
14241 * gdb.base/break-main-file-remove-fail.c: New file.
14242 * gdb.base/break-main-file-remove-fail.exp: New file.
14243 * gdb.base/break-unload-file.exp: Use build_executable instead of
14244 prepare_for_testing.
14245 (test_break): New parameter "initial_load". Handle it.
14246 (top level): Add initial_load cmdline/file axis.
14248 2014-06-12 Tom Tromey <tromey@redhat.com>
14250 * gdb.base/completion.exp: Don't use directory name in test.
14252 2014-06-09 Gary Benson <gbenson@redhat.com>
14254 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14255 separate the always-available ANSI-standard signals from the
14256 signals that require checking.
14258 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14262 2014-06-07 Keith Seitz <keiths@redhat.com>
14266 * gdb.cp/var-tag.cc: New file.
14267 * gdb.cp/var-tag.exp: New file.
14268 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14269 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14270 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14271 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14273 2014-06-06 Doug Evans <xdje42@gmail.com>
14275 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14277 2014-06-06 Pedro Alves <palves@redhat.com>
14279 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14280 in target debug output instead of looking at RSP packets,
14281 disabling the test on any target that uses hardware stepping.
14284 2014-06-06 Pedro Alves <palves@redhat.com>
14286 * gdb.base/break-unload-file.exp: Fix typo.
14288 2014-06-06 Yao Qi <yao@codesourcery.com>
14290 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14291 from "jit_function" to "^jit_function".
14293 2014-06-06 Yao Qi <yao@codesourcery.com>
14295 * gdb.base/async.c (foo): Add one statement.
14296 * gdb.base/async.exp: Get the next instruction address and
14297 match the output of "nexti" by instruction address. Match
14298 the hex address in the output of "finish".
14300 2014-06-06 Gary Benson <gbenson@redhat.com>
14302 * gdb.base/call-signals.c: Remove preprocessor conditionals
14303 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14304 SIGSEGV and SIGTERM.
14305 * gdb.base/sigall.c: Likewise.
14306 * gdb.base/unwindonsignal.c: Likewise.
14307 * gdb.reverse/sigall-reverse.c: Likewise.
14309 2014-06-06 Yao Qi <yao@codesourcery.com>
14311 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14312 readable, skip the test.
14314 2014-06-06 Yao Qi <yao@codesourcery.com>
14316 * gdb.threads/staticthreads.c (thread_function): Move the line
14317 setting breakpoint on forward.
14318 * gdb.threads/staticthreads.exp: Update comments.
14320 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14322 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14323 "history-append! type error".
14325 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14327 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14328 erroneous dprintf expected input.
14330 2014-06-04 Doug Evans <xdje42@gmail.com>
14332 * gdb.guile/scm-generics.exp: Delete.
14334 2014-06-04 Doug Evans <xdje42@gmail.com>
14336 * gdb.guile/scm-breakpoint.exp: Update.
14337 Add tests for breakpoint registration.
14339 2014-06-04 Tom Tromey <tromey@redhat.com>
14341 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14343 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14344 inner_vla_struct, vla_union types. Initialize objects of those
14345 types and compute their sizes.
14347 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14348 Hui Zhu <hui@codesourcery.com>
14350 * gdb.base/fileio.exp: Add test for shell not available as well as
14352 * gdb.base/fileio.c (test_system): Check for shell twice.
14354 2014-06-04 Yao Qi <yao@codesourcery.com>
14356 * gdb.base/auto-connect-native-target.exp: Remove redundant
14357 space from the regexp pattern.
14359 2014-06-04 Yao Qi <yao@codesourcery.com>
14361 * gdb.base/default.exp: Replace "child" with "native" in
14364 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14366 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14367 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14368 * gdb.python/py-xmethods.py: Python script supporting the
14369 new testcase and tests.
14371 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14372 Pedro Alves <palves@redhat.com>
14374 PR breakpoints/17000
14375 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14376 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14378 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14380 * gdb.base/subst.exp: Add tests to verify partial path matching
14383 2014-06-03 Pedro Alves <palves@redhat.com>
14385 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14386 target that doesn't use software single-stepping.
14388 2014-06-03 Pedro Alves <palves@redhat.com>
14390 PR breakpoints/17000
14391 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14392 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14394 2014-06-02 Doug Evans <xdje42@gmail.com>
14396 * gdb.guile/scm-parameter.exp: New file.
14398 2014-06-02 Doug Evans <xdje42@gmail.com>
14400 * gdb.guile/scm-cmd.c: New file.
14401 * gdb.guile/scm-cmd.exp: New file.
14403 2014-06-02 Doug Evans <xdje42@gmail.com>
14405 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14406 pretty-printer lookup.
14407 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14408 (make-pp_s-printer): Call it.
14409 (make-pretty-printer-from-dict): New function.
14410 (lookup-pretty-printer-maker-from-dict): New function.
14411 (*pretty-printer*): Simplify.
14412 (make-objfile-pp_s-printer): New function.
14413 (install-objfile-pretty-printers!): New function.
14414 (make-progspace-pp_s-printer): New function.
14415 (install-progspace-pretty-printers!): New function.
14416 * gdb.guile/scm-progspace.c: New file.
14417 * gdb.guile/scm-progspace.exp: New file.
14419 2014-06-02 Pedro Alves <palves@redhat.com>
14421 * gdb.base/dprintf-bp-same-addr.c: New file.
14422 * gdb.base/dprintf-bp-same-addr.exp: New file.
14424 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14426 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14427 * gdb.arch/powerpc-power.s: Likewise.
14429 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14431 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14433 2014-06-01 Yao Qi <yao@codesourcery.com>
14435 * gdb.base/watchpoint.exp (test_watch_location): Check null
14436 pointer can be dereferenced. If not, do the test, otherwise
14439 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14441 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14443 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14445 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14447 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14448 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14449 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14450 * gdb.arch/amd64-invalid-stack-top.c: New file.
14451 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14453 2014-05-30 Pedro Alves <palves@redhat.com>
14455 PR breakpoints/17000
14456 * gdb.base/sss-bp-on-user-bp.c: New file.
14457 * gdb.base/sss-bp-on-user-bp.exp: New file.
14459 2014-05-30 David Blaikie <dblaikie@gmail.com>
14461 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14462 gnu_inline semantics via attribute.
14463 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14464 source explicitly specifies the required semantics.
14466 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14468 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14470 2014-05-29 Pedro Alves <palves@redhat.com>
14471 Tom Tromey <tromey@redhat.com>
14473 * gdb.base/async-shell.exp: Don't enable target-async.
14474 * gdb.base/async.exp
14475 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14477 (top level): Don't test with "target-async".
14478 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14479 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14480 * gdb.base/inferior-died.exp: Don't enable target-async.
14481 * gdb.base/interrupt-noterm.exp: Likewise.
14482 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14483 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14484 * gdb.mi/mi-nonstop.exp: Likewise.
14485 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14486 * gdb.mi/mi-nsintrall.exp: Likewise.
14487 * gdb.mi/mi-nsmoribund.exp: Likewise.
14488 * gdb.mi/mi-nsthrexec.exp: Likewise.
14489 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14490 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14491 * gdb.python/py-evsignal.exp: Don't enable target-async.
14492 * gdb.python/py-evthreads.exp: Likewise.
14493 * gdb.python/py-prompt.exp: Likewise.
14494 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14495 * gdb.server/solib-list.exp: Don't enable target-async.
14496 * gdb.threads/thread-specific-bp.exp: Likewise.
14497 * lib/mi-support.exp: Adjust to use mi-async.
14499 2014-05-29 Pedro Alves <palves@redhat.com>
14502 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14503 reason, even in sync mode.
14505 2014-05-29 Pedro Alves <palves@redhat.com>
14506 Hui Zhu <hui@codesourcery.com>
14509 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14510 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14511 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14512 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14514 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14516 * config/monitor.exp (gdb_target_monitor): Replace use of
14517 "set remotebaud" by "set serial baud".
14519 2014-05-26 Andy Wingo <wingo@igalia.com>
14521 * gdb.guile/scm-breakpoint.exp:
14522 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14523 properties instead of gdb-object-properties.
14525 2014-05-26 Yao Qi <yao@codesourcery.com>
14527 * gdb.server/no-thread-db.exp: Specify source file name
14528 explicitly when setting a breakpoint.
14530 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14532 * gdb.btrace/vdso.c: New.
14533 * gdb.btrace/vdso.exp: New.
14535 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14537 * gdb.base/gcore.exp (capture_command_output): Move ...
14538 * lib/gdb.exp (capture_command_output): ... here.
14540 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14542 * gdb.btrace/data.exp: Test memory access during btrace replay.
14544 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14546 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14548 2014-05-21 Pedro Alves <palves@redhat.com>
14551 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14552 (top level): Test that output related to execution commands is
14553 sent to the console with CLI commands, but not with MI commands.
14554 Test that breakpoint events are always mirrored to the console.
14555 Also expect the new source line to be output after a "next" in
14556 async mode too. Make it a pass/fail test.
14557 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14559 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14561 2014-05-21 Pedro Alves <palves@redhat.com>
14563 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14564 Use them to test variations of "list" after reaching a breakpoint.
14565 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14566 Test "list" with listsize 10 after reaching a breakpoint.
14567 * gdb.python/python.exp (decode_line current location line
14568 number): Adjust expected line number.
14570 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14572 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14573 behavior for $args, pass it directly to "run".
14575 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14577 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14580 2014-05-21 Pedro Alves <palves@redhat.com>
14582 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14583 auto-connect-native-target off".
14584 * gdb.base/auto-connect-native-target.c: New file.
14585 * gdb.base/auto-connect-native-target.exp: New file.
14587 2014-05-21 Pedro Alves <palves@redhat.com>
14589 * gdb.base/default.exp: Test "target native" instead of "target
14592 2014-05-21 Mark Wielaard <mjw@redhat.com>
14594 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14596 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14598 Fix TLS access for -static -pthread.
14599 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14600 <HAVE_TLS> (thread_function, main): Initialize it.
14601 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14603 <$have_tls != "">: Check TLSVAR.
14605 2014-05-21 Pedro Alves <palves@redhat.com>
14607 * gdb.base/dcache-line-read-error.c: New.
14608 * gdb.base/dcache-line-read-error.exp: New.
14610 2014-05-20 Pedro Alves <palves@redhat.com>
14612 * gdb.base/compare-sections.c: New file.
14613 * gdb.base/compare-sections.exp: New file.
14615 2014-05-20 Pedro Alves <palves@redhat.com>
14617 * gdb.base/break-idempotent.c: New file.
14618 * gdb.base/break-idempotent.exp: New file.
14620 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14622 * gdb.btrace/nohist.exp: New.
14624 2014-05-20 Yao Qi <yao@codesourcery.com>
14626 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14627 gdb.reverse directory and gdb_reverse_timeout exists in board
14629 * README: Document gdb_reverse_timeout.
14631 2014-05-20 Yao Qi <yao@codesourcery.com>
14633 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14634 'test_file_name'. Treat args as a string instead of a list.
14635 (gdb_init): Rename argument 'args' by 'test_file_name'.
14637 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14639 * gdb.arch/powerpc-power.exp: New file.
14640 * gdb.arch/powerpc-power.s: New file.
14642 2014-05-16 Doug Evans <dje@google.com>
14644 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14645 * gdb.base/completion.exp: Check that all expected files exist
14646 before doing file completion.
14648 2014-05-16 Doug Evans <dje@google.com>
14650 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14652 (do_syscall_tests_without_xml): Update.
14654 2014-05-16 Pedro Alves <palves@redhat.com>
14656 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14657 instead of "unknown output after running".
14659 2014-05-16 Yao Qi <yao@codesourcery.com>
14661 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14662 file1.txt from host at the end.
14663 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14665 2014-05-15 Doug Evans <dje@google.com>
14667 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14668 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14669 loading file. Add test for TU lookup.
14671 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14673 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14674 calling "-exec-arguments" or "set args" before running the
14677 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14679 * lib/mi-support.exp (mi_expect_stop): Expect message for
14680 inferiors that exit with non-zero exit code.
14682 2014-05-14 Yao Qi <yao@codesourcery.com>
14684 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14685 match absolute path on remote host.
14686 (test_file_list_exec_source_files): Remove "/" from the
14689 2014-05-14 Yao Qi <yao@codesourcery.com>
14691 * boards/local-remote-host-notty.exp (${board}_file): New
14694 2014-05-07 Kyle McMartin <kyle@redhat.com>
14696 Pushed by Joel Brobecker <brobecker@adacore.com>.
14697 * gdb.arch/aarch64-atomic-inst.c: New file.
14698 * gdb.arch/aarch64-atomic-inst.exp: New file.
14700 2014-05-07 Yao Qi <yao@codesourcery.com>
14702 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14703 in current context" too.
14705 2014-05-05 Keith Seitz <keiths@redhat.com>
14707 * gdb.linespec/ls-dollar.exp: Add test for linespec
14708 file:convenience_variable.
14710 2014-05-05 Yao Qi <yao@codesourcery.com>
14712 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14713 traceframes into tfile and ctf trace files. Read data from
14714 trace file and test collected data.
14715 (gdb_collect_locals_test): Likewise.
14716 (gdb_unavailable_registers_test): Likewise.
14717 (gdb_unavailable_floats): Likewise.
14718 (gdb_collect_globals_test): Likewise.
14719 (top-level): Append "ctf" to trace_file_targets if GDB
14722 2014-05-05 Yao Qi <yao@codesourcery.com>
14724 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14726 (gdb_collect_args_test_1): ... it. New proc.
14727 (gdb_collect_locals_test): Move some code to ...
14728 (gdb_collect_locals_test_1): ... it. New proc.
14729 (gdb_unavailable_registers_test): Move some code to ...
14730 (gdb_unavailable_registers_test_1): ... it. New proc.
14731 (gdb_unavailable_floats): Move some code to ...
14732 (gdb_unavailable_floats_1): ... it. New proc.
14734 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14736 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14737 probes to test for bitness recognition.
14738 * gdb.arch/amd64-stap-optional-prefix.exp
14739 (test_probe_value_without_reg): New procedure.
14740 Add code to test for different kinds of bitness.
14742 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14744 PR breakpoints/16889
14745 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14746 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14748 2014-05-01 Pedro Alves <palves@redhat.com>
14750 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14751 gdb_file_cmd if no file is specified.
14752 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14753 last_loaded_file to set the remote exec-file.
14755 2014-05-01 Pedro Alves <palves@redhat.com>
14757 * boards/local-remote-host.exp: New file.
14759 2014-05-01 Pedro Alves <palves@redhat.com>
14761 * boards/local-remote-host.exp: Rename to ...
14762 * boards/local-remote-host-notty.exp: ... this.
14764 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14766 * gdb.ada/dyn_arrayidx: New testcase.
14768 2014-04-26 Yao Qi <yao@codesourcery.com>
14770 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14771 and compute the length of function main. Save it in
14773 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14774 (top-level): Use gdb_compile to compile objects into
14775 executable and restart GDB. Remove invocation to
14776 prepare_for_testing.
14778 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14779 Pedro Alves <palves@redhat.com>
14782 * gdb.multi/multi-attach.c: New file.
14783 * gdb.multi/multi-attach.exp: New file.
14785 2014-04-25 Pedro Alves <palves@redhat.com>
14787 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14789 (top level): Test that "set remote conditional-breakpoints-packet
14790 off" works as intended.
14791 * gdb.base/dprintf.exp: Test that "set remote
14792 breakpoint-commands-packet off" works as intended.
14793 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14795 (top level): Call it.
14796 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14797 remote fast-tracepoints-packet off" works as intended.
14798 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14799 * lib/gdb.exp (gdb_is_target_remote): ... here.
14801 2014-04-24 David Blaikie <dblaikie@gmail.com>
14803 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14804 ensure clang would not discard them.
14805 * gdb.base/gdbvars.c: Ditto.
14806 * gdb.base/memattr.c: Ditto.
14807 * gdb.base/whatis.c: Ditto.
14808 * gdb.python/py-prettyprint.c: Ditto.
14809 * gdb.trace/actions.c: Ditto.
14810 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14811 ensure clang would not discard it.
14813 2014-04-24 David Blaikie <dblaikie@gmail.com>
14815 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14816 clang to emit the full definition of type required by the test
14817 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14819 2014-04-24 David Blaikie <dblaikie@gmail.com>
14821 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14822 coax Clang into emitting the definition of the type.
14823 * gdb.cp/pr10728-x.h (y): Ditto.
14824 * gdb.cp/pr10728-y.cc (y): Ditto.
14826 2014-04-24 David Blaikie <dblaikie@gmail.com>
14828 * gdb.base/label.exp: XFAIL label related tests under Clang.
14829 * gdb.cp/cplabel.exp: Ditto.
14830 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14831 under Clang those using labels.
14833 2014-04-25 Yao Qi <yao@codesourcery.com>
14835 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14837 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14838 partial_label and double_label.
14840 2014-04-24 David Blaikie <dblaikie@gmail.com>
14842 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14844 2014-04-24 David Blaikie <dblaikie@gmail.com>
14846 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14847 of the function to work across GCC and Clang.
14848 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14849 pointer types (const void ** const V void **).
14851 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14852 Walfred Tedeschi <walfred.tedeschi@intel.com>
14854 * Makefile.in (EXECUTABLES): Added i386-avx512.
14855 * gdb.arch/i386-avx512.c: New file.
14856 * gdb.arch/i386-avx512.exp: Likewise.
14858 2014-04-23 Keith Seitz <keiths@redhat.com>
14860 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14861 (mi_make_breakpoint_table): New procedure.
14862 (mi_create_breakpoint): Use mi_make_breakpoint
14863 and return the result.
14864 (mi_make_breakpoint): New procedure.
14865 (mi_build_kv_pairs): New procedure.
14867 * gdb.mi/mi-break.exp: Remove unused globals,
14868 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14869 All callers updated.
14870 * gdb.mi/mi-dprintf.exp: Use variable to track command
14872 Update all callers of mi_create_breakpoint and use
14873 mi_make_breakpoint_table.
14874 Remove any unused global variables.
14875 * gdb.mi/mi-nonstop.exp: Likewise.
14876 * gdb.mi/mi-nsintrall.exp: Likewise.
14877 * gdb.mi/mi-nsmoribund.exp: Likewise.
14878 * gdb.mi/mi-nsthrexec.exp: Likewise.
14879 * gdb.mi/mi-reverse.exp: Likewise.
14880 * gdb.mi/mi-simplerun.exp: Likewise.
14881 * gdb.mi/mi-stepn.exp: Likewise.
14882 * gdb.mi/mi-syn-frame.exp: Likewise.
14883 * gdb.mi/mi-until.exp: Likewise.
14884 * gdb.mi/mi-var-cp.exp: Likewise.
14885 * gdb.mi/mi-var-display.exp: Likewise.
14886 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14887 * gdb.mi/mi2-var-child.exp: Likewise.
14888 * gdb.mi/mi-vla-c99.exp: Likewise.
14889 * lib/mi-support.exp: Likewise.
14891 From Ian Lance Taylor <iant@cygnus.com>:
14892 * lib/gdb.exp (parse_args): New procedure.
14894 2014-04-23 Pedro Alves <palves@redhat.com>
14896 * gdb.base/break-unload-file.c: New file.
14897 * gdb.base/break-unload-file.exp: New file.
14898 * gdb.base/sym-file-lib.c (baz): New function.
14899 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14901 (load): Store the segment's mapped size.
14902 (unload): New function.
14903 (unload_shlib): New function.
14904 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14905 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14906 set a breakpoint at baz, and call it.
14907 * gdb.base/sym-file.exp: New tests for stale breakpoint
14910 2014-04-23 Pedro Alves <palves@redhat.com>
14912 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14913 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14914 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14915 * gdb.base/hbreak-unmapped.c: New file.
14916 * gdb.base/hbreak-unmapped.exp: New file.
14917 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14918 * lib/gdb.exp (gdb_is_target_remote): ... here.
14920 2014-04-22 Pedro Alves <palves@redhat.com>
14922 * gdb.base/consecutive-step-over.c: New file.
14923 * gdb.base/consecutive-step-over.exp: New file.
14925 2014-04-22 Pedro Alves <palves@redhat.com>
14927 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14928 instead of send_gdb/gdb_expect.
14930 2014-04-22 Yao Qi <yao@codesourcery.com>
14932 * lib/trace-support.exp (generate_tracefile): New procedure.
14933 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14935 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14936 if generate_tracefile returns 1.
14938 2014-04-18 Tom Tromey <palves@redhat.com>
14939 Pedro alves <tromey@redhat.com>
14942 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14943 with a backtrace limit.
14944 * gdb.python/py-frame-inline.exp: Test running to an inline
14945 function with a backtrace limit, and printing the newest frame.
14946 * gdb.python/py-frame-inline.c (main): Call f.
14948 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14950 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14952 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14954 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14955 Drop prefix from unsupported source file path.
14957 2014-04-17 Yao Qi <yao@codesourcery.com>
14959 * lib/gdb.exp (with_target_charset): New proc.
14960 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14961 with_target_charset.
14962 (test_print_strings): Likewise.
14963 (test_repeat_bytes): Likewise.
14964 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14967 2014-04-16 Keith Seitz <keiths@redhat.com>
14970 * gdb.dwarf2/corrupt.c: New file.
14971 * gdb.dwarf2/corrupt.exp: New file.
14973 2014-04-16 Keith Seitz <keiths@redhat.com>
14976 * gdb.cp/namelessclass.cc: New file.
14977 * gdb.cp/namelessclass.exp: New file.
14978 * gdb.cp/namelessclass.S: New file.
14980 2014-04-16 Doug Evans <dje@google.com>
14982 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14984 (gdbserver_default_get_comm_port): New function.
14985 (gdbserver_start): Check if board file provided
14986 "gdbserver,get_comm_port" and use it if so.
14987 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14988 (gdb,socketport): Set to "stdio".
14989 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14990 (stdio_gdbserver_template): Delete.
14991 (${board}_get_remote_address): Update.
14992 (${board}_build_remote_cmd): Delete.
14993 (${board}_get_comm_port): New function.
14994 (${board}_spawn): Update.
14995 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14997 (${board}_get_remote_address): Update.
14998 (${board}_get_comm_port): New function.
15000 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15002 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15003 appearing in any order.
15005 2014-04-15 Doug Evans <dje@google.com>
15007 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15008 uninitialized value of "description".
15010 2014-04-15 Keith Seitz <keiths@redhat.com>
15012 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15013 Remove unused globals.
15014 (test_running_the_program): Likewise.
15015 (test_controlled_execution): Likewise.
15016 (test_controlling_breakpoints): Likewise.
15017 (test_program_termination): Likewise.
15019 2014-04-15 Keith Seitz <keiths@redhat.com>
15021 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15023 (test_rbreak_creation_and_listing): Likewise.
15024 (test_ignore_count): Likewise.
15025 (test_error): Likewise.
15027 2014-04-15 Pedro Alves <palves@redhat.com>
15029 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15030 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15032 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15033 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15034 to sym-file-loader.c.
15035 (struct library): Forward declare.
15036 (load_shlib, lookup_function): Change prototypes.
15037 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15038 (translate_offset): Remove declarations.
15039 (get_text_addr): New declaration.
15040 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15041 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15043 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15044 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15045 here from sym-file-loader.h.
15046 (struct library): New structure.
15047 (load_shlib, lookup_function): Change prototypes and adjust to
15048 work with a struct library.
15049 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15050 (translate_offset): Make static.
15051 (get_text_addr): New function.
15052 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15054 2014-04-15 Pedro Alves <palves@redhat.com>
15056 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15058 2014-04-15 Pedro Alves <palves@redhat.com>
15060 * gdb.base/sym-file-loader.c: Include <limits.h>.
15061 (SELF_LINK): New define.
15062 (get_origin): New function.
15063 (load_shlib): Use it.
15064 * gdb.base/sym-file.exp: Don't early return if the target is
15065 remote. Use runto_main, and issue fail is that fails. Use
15067 (shlib_name): Delete.
15068 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15070 2014-04-15 Pedro Alves <palves@redhat.com>
15072 * gdb.base/sym-file.exp: Remove regex characters from test
15073 message. Don't refer to breakpoint numbers in test messages.
15075 2014-04-14 Keith Seitz <keiths@redhat.com>
15078 * gdb.cp/var-tag.cc: New file.
15079 * gdb.cp/var-tag.exp: New file.
15080 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15081 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15082 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15083 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15085 2014-04-14 Tom Tromey <tromey@redhat.com>
15087 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15088 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15090 * gdb.cp/enum-class.exp: New file.
15091 * gdb.cp/enum-class.cc: New file.
15093 2014-04-14 Tom Tromey <tromey@redhat.com>
15095 * gdb.dwarf2/enum-type.exp: New file.
15097 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15099 * gdb.mi/mi-vla-c99.exp: New file.
15100 * gdb.mi/vla.c: New file.
15102 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15104 * gdb.base/vla-datatypes.c: New file.
15105 * gdb.base/vla-datatypes.exp: New file.
15107 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15109 * gdb.base/vla-ptr.c: New file.
15110 * gdb.base/vla-ptr.exp: New file.
15112 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15114 * gdb.dwarf2/count.exp: New file.
15116 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15118 * gdb.base/vla-sideeffect.c: New file.
15119 * gdb.base/vla-sideeffect.exp: New file.
15121 2014-04-14 David Blaikie <dblaikie@gmail.com>
15123 * gdb.mi/non-stop.c: Add return value for non-void function return
15125 * gdb.threads/staticthreads.c: Ditto.
15127 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15128 Doug Evans <xdje42@gmail.com>
15130 * gdb.guile/scm-value.c: Improve test case.
15131 * gdb.guile/scm-value.exp: Add new test.
15133 2014-04-11 David Blaikie <dblaikie@gmail.com>
15135 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15136 override Clang's default.
15138 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15140 Revert the following changes (regressions):
15142 * gdb.base/vla-sideeffect.c: New file.
15143 * gdb.base/vla-sideeffect.exp: New file.
15145 * gdb.dwarf2/count.exp: New file.
15147 * gdb.base/vla-multi.c: New file.
15148 * gdb.base/vla-multi.exp: New file.
15150 * gdb.base/vla-ptr.c: New file.
15151 * gdb.base/vla-ptr.exp: New file.
15153 * gdb.base/vla-datatypes.c: New file.
15154 * gdb.base/vla-datatypes.exp: New file.
15156 * gdb.mi/mi-vla-c99.exp: New file.
15157 * gdb.mi/vla.c: New file.
15159 2014-04-11 Keith Seitz <keiths@redhat.com>
15162 * gdb.cp/cpsizeof.exp: New file.
15163 * gdb.cp/cpsizeof.cc: New file.
15165 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15167 * gdb.mi/mi-vla-c99.exp: New file.
15168 * gdb.mi/vla.c: New file.
15170 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15172 * gdb.base/vla-datatypes.c: New file.
15173 * gdb.base/vla-datatypes.exp: New file.
15175 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15177 * gdb.base/vla-ptr.c: New file.
15178 * gdb.base/vla-ptr.exp: New file.
15180 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15182 * gdb.base/vla-multi.c: New file.
15183 * gdb.base/vla-multi.exp: New file.
15185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15187 * gdb.dwarf2/count.exp: New file.
15189 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15191 * gdb.base/vla-sideeffect.c: New file.
15192 * gdb.base/vla-sideeffect.exp: New file.
15194 2014-04-11 Yao Qi <yao@codesourcery.com>
15196 * gdb.base/completion.exp: Check file exists before running tests
15197 on file completion.
15199 2014-04-10 Pedro Alves <palves@redhat.com>
15201 * gdb.base/cond-eval-mode.c: New file.
15202 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15203 prepare_for_testing to build the new file. Check result of
15205 (test_break, test_watch): New procedures.
15206 (top level): Use them.
15208 2014-04-08 Pierre Muller <muller@sourceware.org>
15210 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15211 Ctrl-V use for mingw hosts.
15213 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15215 * gdb.python/py-value.c: Improve test case.
15216 * gdb.python/py-value.exp: Add new test.
15218 2014-04-07 David Blaikie <dblaikie@gmail.com>
15220 * lib/compiler.c: Identify the clang compiler.
15221 * lib/compiler.cc: Ditto.
15223 2014-04-03 Yao Qi <yao@codesourcery.com>
15225 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15227 2014-04-01 Anton Blanchard <anton@samba.org>
15229 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15232 2014-04-01 Anton Blanchard <anton@samba.org>
15234 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15235 prepare_for_testing.
15237 2014-04-01 Anton Blanchard <anton@samba.org>
15239 * gdb.arch/ppc64-atomic-inst.c: Remove.
15240 * gdb.arch/ppc64-atomic-inst.S: New file.
15241 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15243 2014-03-31 Doug Evans <dje@google.com>
15245 * gdb.base/print-symbol-loading-lib.c: New file.
15246 * gdb.base/print-symbol-loading-main.c: New file.
15247 * gdb.base/print-symbol-loading.exp: New file.
15249 2014-03-31 Yao Qi <yao@codesourcery.com>
15251 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15253 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15255 * gdb.ada/mi_dyn_arr: New testcase.
15257 2014-03-27 Doug Evans <dje@google.com>
15259 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15261 2014-03-27 Yao Qi <yao@codesourcery.com>
15263 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15264 if target is nios2-*-*.
15266 2014-03-26 Yao Qi <yao@codesourcery.com>
15268 * lib/gdb.exp (readline_is_used): New proc.
15269 * gdb.base/completion.exp: Move tests on command complete up.
15270 Skip the rest of tests if readline is not used.
15271 * gdb.ada/complete.exp: Skp the test if readline is not
15273 * gdb.base/filesym.exp: Likewise.
15274 * gdb.base/macscp.exp: Likewise.
15275 * gdb.base/readline-ask.exp: Likewise.
15276 * gdb.base/readline.exp: Likewise.
15277 * gdb.python/py-cmd.exp: Likewise.
15278 * gdb.trace/tfile.exp: Likewise.
15280 2014-03-26 Yao Qi <yao@codesourcery.com>
15282 * gdb.base/macscp.exp: Fix code format issues.
15284 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15286 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15287 * gdb.asm/powerpc64le.inc: New file.
15289 2014-03-25 Pedro Alves <palves@redhat.com>
15290 Doug Evans <dje@google.com>
15292 * gdb.base/source-execution.c: New file.
15293 * gdb.base/source-execution.exp: New file.
15294 * gdb.base/source-execution.gdb: New file.
15296 2014-03-24 Doug Evans <dje@google.com>
15298 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15301 2014-03-24 Hui Zhu <hui@codesourcery.com>
15302 Pedro Alves <palves@redhat.com>
15304 PR breakpoints/16101
15305 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15306 test pass/fail messages. Detect missing support for dprintf when
15307 breakpoints are actually inserted.
15308 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15309 breakpoints are actually inserted.
15310 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15313 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15315 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15317 2014-03-22 Doug Evans <xdje42@gmail.com>
15319 * gdb.python/python.exp (python not supported): Verify multi-line
15320 python command issues an error.
15321 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15322 guile command issues an error.
15324 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15326 * gdb.threads/thread-specific.exp: Handle the lack of usable
15327 $this_breakpoint and $this_thread.
15329 2014-03-21 Hui Zhu <hui@codesourcery.com>
15331 * gdb.base/attach.exp (do_command_attach_tests): New.
15333 2014-03-20 Tom Tromey <tromey@redhat.com>
15334 Pedro Alves <palves@redhat.com>
15337 * gdb.base/condbreak-call-false.c: New file.
15338 * gdb.base/condbreak-call-false.exp: New file.
15340 2014-03-20 Pedro Alves <palves@redhat.com>
15342 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15344 (block_signals, unblock_signals): Delete.
15345 (child_function_2, main): Remove references to deleted variable
15348 2014-03-20 Pedro Alves <palves@redhat.com>
15350 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15351 Use pthread_kill to signal thread 2.
15352 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15353 Adjust to make the test send itself a signal rather than using the
15354 host's "kill" command.
15356 2014-03-20 Pedro Alves <palves@redhat.com>
15358 * gdb.threads/multiple-step-overs.c: New file.
15359 * gdb.threads/multiple-step-overs.exp: New file.
15360 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15361 Adjust expected infrun debug output.
15363 2014-03-20 Pedro Alves <palves@redhat.com>
15365 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15366 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15368 2014-03-20 Pedro Alves <palves@redhat.com>
15370 PR breakpoints/7143
15371 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15372 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15373 of gdb_test_multiple.
15374 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15375 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15377 2014-03-20 Pedro Alves <palves@redhat.com>
15379 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15380 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15382 2014-03-19 Pedro Alves <palves@redhat.com>
15384 * gdb.base/async.exp: Remove early return.
15386 2014-03-19 Pedro Alves <palves@redhat.com>
15388 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15390 2014-03-19 Pedro Alves <palves@redhat.com>
15392 * gdb.base/async.exp (test_background): Expect \r\n after
15393 "completed." in the fail pattern.
15395 2014-03-19 Pedro Alves <palves@redhat.com>
15397 * gdb.base/async.exp (test_background): New procedure.
15398 Use it for all background execution command tests.
15400 2014-03-19 Pedro Alves <palves@redhat.com>
15402 * gdb.base/async.exp: Use prepare_for_testing.
15404 2014-03-19 Pedro Alves <palves@redhat.com>
15406 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15409 2014-03-19 Pedro Alves <palves@redhat.com>
15411 * gdb.base/async.c (main): Add "jump here" and "until here" line
15413 * gdb.base/async.exp (jump_here): New global.
15414 (jump& test): Use it.
15415 (until_here): New global.
15416 (until& test): Use it.
15418 2014-03-19 Pedro Alves <palves@redhat.com>
15420 * gdb.base/async.exp: Don't frob gdb_protocol.
15422 2014-03-18 Doug Evans <xdje42@gmail.com>
15424 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15425 Fix spelling of exec-done-display.
15427 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15430 * gdb.base/gdb-sigterm.c: New file.
15431 * gdb.base/gdb-sigterm.exp: New file.
15433 2014-03-18 Pedro Alves <palves@redhat.com>
15436 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15437 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15440 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15442 * gdb.ada/pckd_arr_ren: New testcase.
15444 2014-03-13 Doug Evans <xdje42@gmail.com>
15447 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15448 collect after discarding symbols.
15450 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15451 Doug Evans <xdje42@gmail.com>
15453 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15454 to history survives a gc.
15456 2014-03-13 Pedro Alves <palves@redhat.com>
15458 * gdb.base/default.exp: Don't test "target procfs".
15460 2014-03-13 Pedro Alves <palves@redhat.com>
15462 * gdb.base/default.exp: Update "target child" and "target procfs"
15463 tests to not expect "Unix".
15465 2014-03-12 Tom Tromey <tromey@redhat.com>
15467 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15468 New procs. Add target-async tests.
15469 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15470 Add target-async tests.
15472 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15474 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15475 'func_start' and 'func_end' for the beginning and end of the
15476 function code, respectively.
15477 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15478 'func_end' instead of 'func' and 'main'.
15480 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15482 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15483 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15484 generate the debug info assembler source.
15486 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15488 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15489 * gdb.dwarf2/arr-subrange.exp: Likewise.
15490 * gdb.dwarf2/dwz.exp: Likewise.
15491 * gdb.dwarf2/method-ptr.exp: Likewise.
15492 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15493 * gdb.dwarf2/subrange.exp: Likewise.
15494 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15495 * gdb.dwarf2/implptrpiece.exp: Likewise.
15496 * gdb.dwarf2/nostaticblock.exp: Likewise.
15498 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15500 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15501 directory to absolute path name arguments.
15503 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15505 * gdb.ada/tagged_access: New testcase.
15507 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15509 * gdb.btrace/data.exp: Update expected output.
15511 2014-03-06 Yao Qi <yao@codesourcery.com>
15513 * gdb.trace/pr16508.exp: New file.
15515 2014-03-05 Pedro Alves <palves@redhat.com>
15518 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15520 (top level): Adjust to use it. Add tests that exercise breakpoint
15521 interaction with the code-cache.
15523 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15525 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15526 test for 'history-append!'.
15528 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15530 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15531 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15532 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15533 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15534 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15535 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15537 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15539 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15540 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15541 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15543 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15545 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15547 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15549 * gdb.dwarf2/arr-stride.c: New file.
15550 * gdb.dwarf2/arr-stride.exp: New file.
15552 2014-02-26 Pedro Alves <palves@redhat.com>
15554 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15555 that won't ever trigger. Make sure that GDB reports the correct
15556 breakpoint that caused the stop.
15558 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15561 * gdb.base/auto-load-script: New file.
15562 * gdb.base/auto-load.c: New file.
15563 * gdb.base/auto-load.exp: New file.
15566 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15568 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15570 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15571 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15573 2014-02-24 Doug Evans <dje@google.com>
15575 * lib/gdb.exp (run_on_host): Log error output if program fails.
15577 2014-02-21 Pedro Alves <palves@redhat.com>
15579 * gdb.threads/step-after-sr-lock.c: Rename to ...
15580 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15581 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15585 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15588 * gdb.arch/amd64-stap-special-operands.exp: New file.
15589 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15590 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15591 * gdb.arch/amd64-stap-triplet.S: Likewise.
15592 * gdb.arch/amd64-stap-triplet.c: Likewise.
15594 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15596 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15597 in .section pseudo-op.
15599 2014-02-20 lin zuojian <manjian2006@gmail.com>
15600 Joel Brobecker <brobecker@adacore.com>
15601 Doug Evans <xdje42@gmail.com>
15604 * gdb.dwarf2/dw2-icycle.S: New file.
15605 * gdb.dwarf2/dw2-icycle.c: New file.
15606 * gdb.dwarf2/dw2-icycle.exp: New file.
15608 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15610 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15611 operations on gdb.Value objects.
15612 * gdb.python/py-value-cc.exp: Add new test to test operations on
15615 2014-02-18 Doug Evans <dje@google.com>
15617 * Makefile.in (TESTS): New variable.
15618 (expanded_tests, expanded_tests_or_none): New variables
15619 (check-single): Pass $(expanded_tests_or_none) to runtest.
15620 (check-parallel): Only run tests in $(TESTS) if non-empty.
15621 (check/no-matching-tests-found): New rule.
15622 * README: Document TESTS makefile variable.
15624 2014-02-18 Doug Evans <dje@google.com>
15626 * Makefile.in (check-parallel): rm -rf outputs temp.
15628 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15630 Fix "ERROR: no fileid for" in the testsuite.
15631 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15633 2014-02-12 Doug Evans <dje@google.com>
15635 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15636 (MISCELLANEOUS): New variable.
15637 (clean): rm -rf $(MISCELLANEOUS).
15638 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15639 dwp live in the same directory as symlinks, with each symlink pointed
15640 to a differently named file in a different directory.
15642 2014-02-11 Doug Evans <dje@google.com>
15644 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15645 of Tcl file commands.
15647 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15649 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15650 "kill -SIGUSR1 -1".
15652 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15654 * gdb.ada/tick_length_array_enum_idx: New testcase.
15656 2014-02-10 Doug Evans <xdje42@gmail.com>
15658 * configure.ac (AC_OUTPUT): Add gdb.guile.
15659 * configure: Regenerate.
15660 * lib/gdb-guile.exp: New file.
15661 * lib/gdb.exp (get_target_charset): New function.
15662 * gdb.base/help.exp: Update expected output from "apropos apropos".
15663 * gdb.guile/Makefile.in: New file.
15664 * gdb.guile/guile.exp: New file.
15665 * gdb.guile/scm-arch.c: New file.
15666 * gdb.guile/scm-arch.exp: New file.
15667 * gdb.guile/scm-block.c: New file.
15668 * gdb.guile/scm-block.exp: New file.
15669 * gdb.guile/scm-breakpoint.c: New file.
15670 * gdb.guile/scm-breakpoint.exp: New file.
15671 * gdb.guile/scm-disasm.c: New file.
15672 * gdb.guile/scm-disasm.exp: New file.
15673 * gdb.guile/scm-equal.c: New file.
15674 * gdb.guile/scm-equal.exp: New file.
15675 * gdb.guile/scm-error.exp: New file.
15676 * gdb.guile/scm-error.scm: New file.
15677 * gdb.guile/scm-frame-args.c: New file.
15678 * gdb.guile/scm-frame-args.exp: New file.
15679 * gdb.guile/scm-frame-args.scm: New file.
15680 * gdb.guile/scm-frame-inline.c: New file.
15681 * gdb.guile/scm-frame-inline.exp: New file.
15682 * gdb.guile/scm-frame.c: New file.
15683 * gdb.guile/scm-frame.exp: New file.
15684 * gdb.guile/scm-generics.exp: New file.
15685 * gdb.guile/scm-gsmob.exp: New file.
15686 * gdb.guile/scm-iterator.c: New file.
15687 * gdb.guile/scm-iterator.exp: New file.
15688 * gdb.guile/scm-math.c: New file.
15689 * gdb.guile/scm-math.exp: New file.
15690 * gdb.guile/scm-objfile-script-gdb.in: New file.
15691 * gdb.guile/scm-objfile-script.c: New file.
15692 * gdb.guile/scm-objfile-script.exp: New file.
15693 * gdb.guile/scm-objfile.c: New file.
15694 * gdb.guile/scm-objfile.exp: New file.
15695 * gdb.guile/scm-ports.exp: New file.
15696 * gdb.guile/scm-pretty-print.c: New file.
15697 * gdb.guile/scm-pretty-print.exp: New file.
15698 * gdb.guile/scm-pretty-print.scm: New file.
15699 * gdb.guile/scm-section-script.c: New file.
15700 * gdb.guile/scm-section-script.exp: New file.
15701 * gdb.guile/scm-section-script.scm: New file.
15702 * gdb.guile/scm-symbol.c: New file.
15703 * gdb.guile/scm-symbol.exp: New file.
15704 * gdb.guile/scm-symtab-2.c: New file.
15705 * gdb.guile/scm-symtab.c: New file.
15706 * gdb.guile/scm-symtab.exp: New file.
15707 * gdb.guile/scm-type.c: New file.
15708 * gdb.guile/scm-type.exp: New file.
15709 * gdb.guile/scm-value-cc.cc: New file.
15710 * gdb.guile/scm-value-cc.exp: New file.
15711 * gdb.guile/scm-value.c: New file.
15712 * gdb.guile/scm-value.exp: New file.
15713 * gdb.guile/source2.scm: New file.
15714 * gdb.guile/types-module.cc: New file.
15715 * gdb.guile/types-module.exp: New file.
15717 2014-02-10 Yao Qi <yao@codesourcery.com>
15720 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15721 * configure: Regenerated.
15722 * Makefile.in: New file.
15724 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15726 * gdb.python/py-framefilter.exp: Fix typo.
15728 2014-02-08 Yao Qi <yao@codesourcery.com>
15730 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15731 that no =breakpoint-modified is emitted when breakpoints are
15732 modified through MI commands.
15734 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15735 Pedro Alves <palves@redhat.com>
15737 * gdb.threads/step-after-sr-lock.c: New file.
15738 * gdb.threads/step-after-sr-lock.exp: New file.
15740 2014-02-07 Pedro Alves <palves@redhat.com>
15742 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15744 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15746 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15747 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15749 2014-02-06 Doug Evans <xdje42@gmail.com>
15751 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15754 * gdb.gdb/python-interrupts.exp: New file.
15756 2014-02-05 Yao Qi <yao@codesourcery.com>
15758 * gdb.trace/report.exp (use_collected_data): Test the output
15759 of "info threads" and "info inferiors".
15761 2014-02-05 Yao Qi <yao@codesourcery.com>
15765 2013-05-24 Yao Qi <yao@codesourcery.com>
15767 * gdb.trace/tfile.exp: Test inferior and thread.
15769 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15771 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15773 * gdb.base/step-bt.c: Call hello via function pointer to make
15774 sure its first instruction is executed on powerpc64le-linux.
15776 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15778 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15780 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15782 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15783 of the test patterns for use on little-endian systems.
15785 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15787 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15788 (decimal_vector): Fix for little-endian.
15790 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15792 * gdb.arch/sparc-sysstep.exp: New file.
15793 * gdb.arch/sparc-sysstep.c: Likewise.
15795 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15797 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15799 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15801 2014-01-23 Tom Tromey <tromey@redhat.com>
15803 * gdb.ada/array_char_idx: New testcase.
15805 2014-01-23 Tom Tromey <tromey@redhat.com>
15808 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15809 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15812 2014-01-23 Tom Tromey <tromey@redhat.com>
15815 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15816 string from an inferior frame.
15817 * gdb.python/py-framefilter-mi.exp: Update.
15819 2014-01-22 Doug Evans <dje@google.com>
15821 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15823 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15825 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15827 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15829 * gdb.trace/entry-values.exp: Remove excess space character from
15830 regex patterns. Handle s390 call instruction.
15832 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15834 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15835 define "*_start" label. Make "name" static.
15836 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15837 ${name} by references to ${name}_start.
15839 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15841 * gdb.base/info-macros.exp: Remove "debug" from the compile
15844 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15846 * gdb.dlang/demangle.exp: New file.
15848 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15850 * gdb.dlang/primitive-types.exp: New file.
15852 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15854 * configure.ac: Create gdb.dlang/Makefile.
15855 * configure: Regenerate.
15856 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15857 * gdb.dlang/Makefile.in: New file.
15858 * lib/d-support.exp: New file.
15859 * lib/gdb.exp (skip_d_tests): New proc.
15861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15863 * gdb.btrace/delta.exp: Check reverse stepi.
15864 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15865 * gdb.btrace/finish.exp: New.
15866 * gdb.btrace/next.exp: New.
15867 * gdb.btrace/nexti.exp: New.
15868 * gdb.btrace/record_goto.c: Add comments.
15869 * gdb.btrace/step.exp: New.
15870 * gdb.btrace/stepi.exp: New.
15871 * gdb.btrace/multi-thread-step.c: New.
15872 * gdb.btrace/multi-thread-step.exp: New.
15873 * gdb.btrace/rn-dl-bind.c: New.
15874 * gdb.btrace/rn-dl-bind.exp: New.
15875 * gdb.btrace/data.c: New.
15876 * gdb.btrace/data.exp: New.
15877 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15881 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15882 * gdb.btrace/exception.exp: Update.
15883 * gdb.btrace/instruction_history.exp: Update.
15884 * gdb.btrace/record_goto.exp: Update.
15885 * gdb.btrace/tailcall.exp: Update.
15886 * gdb.btrace/unknown_functions.exp: Update.
15887 * gdb.btrace/delta.exp: New.
15889 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15891 * gdb.btrace/record_goto.exp: Add backtrace test.
15892 * gdb.btrace/tailcall.exp: Add backtrace test.
15894 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15896 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15897 * gdb.btrace/record_goto.c: New.
15898 * gdb.btrace/record_goto.exp: New.
15899 * gdb.btrace/x86-record_goto.S: New.
15901 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15903 * gdb.btrace/function_call_history.exp: Update tests.
15904 * gdb.btrace/instruction_history.exp: Update tests.
15906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15908 * gdb.btrace/function_call_history.exp: Fix expected field
15909 order for "record function-call-history".
15910 Add new tests for "record function-call-history /c".
15911 * gdb.btrace/exception.cc: New.
15912 * gdb.btrace/exception.exp: New.
15913 * gdb.btrace/tailcall.exp: New.
15914 * gdb.btrace/x86-tailcall.S: New.
15915 * gdb.btrace/x86-tailcall.c: New.
15916 * gdb.btrace/unknown_functions.c: New.
15917 * gdb.btrace/unknown_functions.exp: New.
15918 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15922 * gdb.btrace/instruction_history.exp: Update.
15923 * gdb.btrace/function_call_history.exp: Update.
15925 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15927 * gdb.btrace/function_call_history.exp: Fix expected function
15929 * gdb.btrace/instruction_history.exp: Initialize traced.
15930 Remove traced_functions.
15932 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15934 * gdb.btrace/function_call_history.exp: Update
15935 * gdb.btrace/instruction_history.exp: Update.
15937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15939 * gdb.btrace/enable.exp: Update expected text.
15941 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15943 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15946 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15948 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15950 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15952 * lib/gdb.exp (supports_process_record): Return true for
15953 arm*-linux*. (supports_reverse): Likewise.
15955 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15959 * gdb.python/py-type.c: Enhance test case.
15960 * gdb.python/py-value-cc.cc: Likewise
15961 * gdb.python/py-type.exp: Add new tests.
15962 * gdb.python/py-value-cc.exp: Likewise
15964 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15965 Pedro Alves <palves@redhat.com>
15967 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15968 Make "name" extern.
15969 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15970 references to ${name}_start by references to ${name}.
15972 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15974 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15976 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15978 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15980 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15981 Pedro Alves <palves@redhat.com>
15983 * gdb.mi/mi-info-os.exp: Connect to the target with
15984 mi_gdb_target_load.
15986 2014-01-08 Pedro Alves <palves@redhat.com>
15988 * gdb.threads/reconnect-signal.c: New file.
15989 * gdb.threads/reconnect-signal.exp: New file.
15991 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15993 * gdb.base/source-dir.exp: New file.
15995 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15997 * gdb.ada/mi_interface: New testcase.
15999 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16001 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16002 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16003 gdb.ada/pp-rec-component/pck.ads: New files.
16005 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16007 * gdb.python/py-pp-integral.c: New file.
16008 * gdb.python/py-pp-integral.py: New file.
16009 * gdb.python/py-pp-integral.exp: New file.
16011 For older changes see ChangeLog-1993-2013.
16013 ;; Local Variables:
16014 ;; mode: change-log
16017 ;; version-control: never
16020 Copyright 2014-2019 Free Software Foundation, Inc.
16021 Copying and distribution of this file, with or without modification,
16022 are permitted provided the copyright notice and this notice are preserved.