1 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4 * gdb.base/debug-expr.exp: Likewise.
5 * gdb.base/foll-fork.exp: Likewise.
6 * gdb.base/foll-vfork.exp: Likewise.
7 * gdb.base/fork-print-inferior-events.exp: Likewise.
8 * gdb.base/gdb-sigterm.exp: Likewise.
9 * gdb.base/gdbinit-history.exp: Likewise.
10 * gdb.base/osabi.exp: Likewise.
11 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
12 * gdb.base/ui-redirect.exp: Likewise.
13 * gdb.gdb/unittest.exp: Likewise.
14 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
15 * gdb.mi/mi-watch.exp: Likewise.
16 * gdb.mi/new-ui-mi-sync.exp: Likewise.
17 * gdb.mi/user-selected-context-sync.exp: Likewise.
18 * gdb.python/python.exp: Disable debug test when debugging.
19 * gdb.threads/check-libthread-db.exp: Disable when debugging.
20 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22 * gdb.threads/stepi-random-signal.exp: Likewise.
24 2019-05-17 Alan Hayward <alan.hayward@arm.com>
26 * Makefile.in: Pass through GDB_DEBUG.
27 * README (Testsuite Parameters): Add GDB_DEBUG.
28 (gdb,debug): Add board setting.
29 * lib/gdb.exp (default_gdb_start): Start debugging.
30 (gdb_debug_enabled): New procedure.
31 (gdb_debug_init): Likewise.
33 2019-05-17 Alan Hayward <alan.hayward@arm.com>
35 * Makefile.in: Pass through GDB_DEBUG.
36 * README (Testsuite Parameters): Add GDB_DEBUG.
37 (gdb,debug): Add board setting.
38 * lib/gdb.exp (default_gdb_start): Start debugging.
39 (gdb_debug_enabled): New procedure.
40 (gdb_debug_init): Likewise.
42 2019-05-17 Alan Hayward <alan.hayward@arm.com>
44 * gdb.base/ui-redirect.exp: Add debug redirect tests.
46 2019-05-17 Alan Hayward <alan.hayward@arm.com>
48 * gdb.base/ui-redirect.exp: Test redirection.
50 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
52 * gdb.mi/mi-complete.exp: New file.
53 * gdb.mi/mi-complete.cc: Likewise.
55 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
57 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
58 indexed and sliced arrays, and pointers to arrays.
60 2019-05-14 Tom Tromey <tromey@adacore.com>
62 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
65 2019-05-14 Tom de Vries <tdevries@suse.de>
67 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
68 selection entry encoding.
70 2019-05-10 Tom Tromey <tromey@adacore.com>
72 * gdb.ada/info_exc.exp: Add "complete" test.
74 2019-05-09 Tom de Vries <tdevries@suse.de>
76 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
79 2019-05-09 Tom de Vries <tdevries@suse.de>
81 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
84 2019-05-08 Joel Brobecker <brobecker@adacore.com>
86 * gdb.ada/frame_arg_lang.exp: New testcase.
87 * gdb.ada/frame_arg_lang/bla.adb: New file.
88 * gdb.ada/frame_arg_lang/pck.ads: New file.
89 * gdb.ada/frame_arg_lang/pck.adb: New file.
90 * gdb.ada/frame_arg_lang/foo.c: New file.
92 2019-05-08 Tom Tromey <tromey@adacore.com>
94 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
96 2019-05-08 Tom Tromey <tromey@adacore.com>
98 * gdb.base/ptype-offsets.exp: Update tests.
100 2019-05-08 Tom Tromey <tromey@adacore.com>
102 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
104 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
107 2019-05-08 Tom Tromey <tromey@adacore.com>
109 * gdb.ada/vla.exp: New file.
110 * gdb.ada/vla/vla.adb: New file.
112 2019-05-07 Tom de Vries <tdevries@suse.de>
114 * gdb.base/index-cache.exp (ls_host): Fix return statement.
116 2019-05-07 Tom de Vries <tdevries@suse.de>
119 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
122 2019-05-07 Tom de Vries <tdevries@suse.de>
125 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
126 .debug_aranges section.
128 2019-05-07 Tom de Vries <tdevries@suse.de>
131 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
133 2019-05-06 Tom de Vries <tdevries@suse.de>
135 * lib/gdb.exp (exec_has_index_section): New proc.
136 * gdb.base/index-cache.exp: Handle case that binfile contains an index
139 2019-05-04 Tom de Vries <tdevries@suse.de>
141 * boards/cc-with-debug-names.exp: New file.
143 2019-05-03 Tom Tromey <tromey@adacore.com>
145 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
146 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
147 * gdb.ada/char_enum.exp: Add test.
149 2019-05-03 Tom de Vries <tdevries@suse.de>
151 * boards/cc-with-gdb-index.exp: New file.
153 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
155 * gdb.rust/simple.exp: Add new test case.
156 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
157 (main): Initialise an instance of the new struct.
159 2019-05-01 Tom Tromey <tromey@adacore.com>
161 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
164 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
167 2019-05-01 Tom Tromey <tromey@adacore.com>
169 * gdb.ada/packed_array_assign.exp: Add packed assignment
172 2019-05-01 Tom de Vries <tdevries@suse.de>
174 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
176 2019-05-01 Tom de Vries <tdevries@suse.de>
178 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
180 2019-04-30 Ali Tamur <tamur@google.com>
182 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
184 2019-04-30 Tom Tromey <tromey@adacore.com>
186 * lib/ada.exp (find_ada_tool): New proc.
187 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
188 * gdb.ada/catch_ex_std.exp: New file.
189 * gdb.ada/catch_ex_std/foo.adb: New file.
190 * gdb.ada/catch_ex_std/some_package.adb: New file.
191 * gdb.ada/catch_ex_std/some_package.ads: New file.
193 2019-04-30 Tom Tromey <tromey@adacore.com>
196 * gdb.cp/temargs.cc: Add test code from PR.
198 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
200 * gdb.fortran/vla-datatypes.exp: Update expected results.
201 * gdb.fortran/vla-ptype.exp: Likewise.
202 * gdb.fortran/vla-type.exp: Likewise.
203 * gdb.fortran/vla-value.exp: Likewise.
205 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
207 * gdb.fortran/ptr-indentation.exp: Update expected results.
208 * gdb.fortran/ptype-on-functions.exp: Likewise.
209 * gdb.fortran/vla-ptr-info.exp: Likewise.
210 * gdb.fortran/vla-value.exp: Likewise.
212 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
214 * gdb.fortran/ptype-on-functions.exp: New file.
215 * gdb.fortran/ptype-on-functions.f90: New file.
217 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
219 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
222 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
224 * gdb.fortran/complex.exp: Expand.
225 * gdb.fortran/complex.f: Renamed to...
226 * gdb.fortran/complex.f90: ...this, and extended to add more
229 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
231 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
234 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
235 Richard Bunt <richard.bunt@arm.com>
237 * gdb.base/max-depth.c: New file.
238 * gdb.base/max-depth.exp: New file.
239 * gdb.python/py-nested-maps.c: New file.
240 * gdb.python/py-nested-maps.exp: New file.
241 * gdb.python/py-nested-maps.py: New file.
242 * gdb.python/py-format-string.exp (test_max_depth): New proc.
243 (test_all_common): Call test_max_depth.
244 * gdb.fortran/max-depth.exp: New file.
245 * gdb.fortran/max-depth.f90: New file.
246 * gdb.go/max-depth.exp: New file.
247 * gdb.go/max-depth.go: New file.
248 * gdb.modula2/max-depth.exp: New file.
249 * gdb.modula2/max-depth.c: New file.
250 * lib/gdb.exp (get_print_expr_at_depths): New proc.
252 2019-04-29 Tom de Vries <tdevries@suse.de>
254 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
256 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
258 * gdb.base/callexit.exp: Test may-call-functions off.
260 2019-04-25 Keith Seitz <keiths@redhat.com>
263 * gdb.cp/meth-typedefs.cc (incomplete_struct)
264 (another_incomplete_struct, test_incomplete): New definitions.
265 (main): Use new definitions.
266 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
269 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
273 * gdb.base/coredump-filter-build-id.exp: New file.
275 2019-04-25 Alan Hayward <alan.hayward@arm.com>
277 * Makefile.in: Pass through GDBSERVER_DEBUG.
278 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
279 (gdbserver,debug): Add board setting.
280 * gdb.trace/tspeed.exp: Skip when debugging.
281 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
282 * lib/gdbserver-support.exp: Likewise
284 2019-04-24 Tom Tromey <tromey@adacore.com>
286 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
289 2019-04-24 Tom Tromey <tromey@adacore.com>
291 * gdb.arch/amd64-eval.exp: Test bitfield return.
292 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
293 (class Foo) <return_bitfields>: New method.
296 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
298 * gdb.cp/many-args.cc: New file.
299 * gdb.cp/many-args.exp: New file.
301 2019-04-23 Tom de Vries <tdevries@suse.de>
304 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
306 2019-04-23 Alan Hayward <alan.hayward@arm.com>
308 * gdb.trace/backtrace.exp: Use nopie flag.
309 * gdb.trace/circ.exp: Likewise.
310 * gdb.trace/collection.exp: Likewise.
311 * gdb.trace/ftrace.exp: Likewise.
312 * gdb.trace/mi-trace-unavailable.exp: Likewise.
313 * gdb.trace/mi-traceframe-changed.exp: Likewise.
314 * gdb.trace/qtro.exp: Likewise.
315 * gdb.trace/read-memory.exp: Likewise.
316 * gdb.trace/report.exp: Likewise.
317 * gdb.trace/tfile.exp: Likewise.
318 * gdb.trace/tfind.exp: Likewise.
319 * gdb.trace/unavailable.exp: Likewise.
321 2019-04-22 Pedro Alves <palves@redhat.com>
323 * gdb.base/solib-probes-nosharedlibrary.c,
324 gdb.base/solib-probes-nosharedlibrary.exp: New files.
326 2019-04-19 Tom Tromey <tromey@adacore.com>
328 * gdb.ada/ptype_union.c: New file.
329 * gdb.ada/ptype_union.exp: New file.
331 2019-04-19 Tom Tromey <tromey@adacore.com>
334 * gdb.base/list0.h (foo): Add a control-l character.
336 2019-04-18 Tom de Vries <tdevries@suse.de>
339 * boards/local-board.exp: Set sysroot to "".
341 2019-04-18 Tom de Vries <tdevries@suse.de>
342 Pedro Alves <palves@redhat.com>
345 * gdb.threads/vfork-follow-child-exec.c: New file.
346 * gdb.threads/vfork-follow-child-exec.exp: New file.
347 * gdb.threads/vfork-follow-child-exit.c: New file.
348 * gdb.threads/vfork-follow-child-exit.exp: New file.
350 2019-04-15 Leszek Swirski <leszeks@google.com>
352 * gdb.arch/amd64-eval.cc: New file.
353 * gdb.arch/amd64-eval.exp: New file.
355 2019-04-11 Alan Hayward <alan.hayward@arm.com>
357 * gdb.server/sysroot.c: New test.
358 * gdb.server/sysroot.exp: New file.
359 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
362 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
364 * gdb.base/align.exp: Extend test to cover structures containing
367 2019-04-11 Tom de Vries <tdevries@suse.de>
369 * boards/cc-with-dwz-m.exp: New file.
370 * boards/cc-with-dwz.exp: New file.
371 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
373 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
375 * gdb.base/start-cpp.exp: New file.
376 * gdb.base/start-cpp.cc: New file.
378 2019-04-08 Kevin Buettner <kevinb@redhat.com>
380 * gdb.python/py-thrhandle.exp: Adjust tests to call
381 thread_from_handle instead of thread_from_thread_handle.
383 2019-04-08 Kevin Buettner <kevinb@redhat.com>
385 * gdb.python/py-thrhandle.exp: Add tests for
386 gdb.InferiorThread.handle.
388 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
390 * gdb.python/py-function.exp: Check calling helper function from
392 * lib/gdb.exp (gdb_supported_languages): New proc.
394 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
396 * gdb.base/complex-parts.c: New file.
397 * gdb.base/complex-parts.exp: New file.
399 2019-04-01 Tom Tromey <tromey@adacore.com>
402 * gdb.dwarf2/dw2-ranges-main.c: New file.
403 * gdb.dwarf2/dw2-ranges-psym.c: New file.
404 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
406 2019-03-30 Simon Marchi <simark@simark.ca>
408 * gdb.base/default.exp: Add values for $_gdb_major and
411 2019-03-29 Tom Tromey <tromey@adacore.com>
413 * gdb.base/help.exp: Tighten apropos regexp.
415 2019-03-29 Keith Seitz <keiths@redhat.com>
417 * gdb.fortran/array-bounds.exp: New file.
418 * gdb.fortran/array-bounds.f90: New file.
420 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
422 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
424 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
426 * gdb.multi/hello.c (main): Increase alarm timer.
428 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
430 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
431 factor when no hardware watchpoint support.
433 2019-03-28 Alan Hayward <alan.hayward@arm.com>
434 Pedro Alves <palves@redhat.com>
436 * boards/local-board.exp: set sysroot to /.
438 2019-03-27 Alan Hayward <alan.hayward@arm.com>
440 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
443 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
445 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
447 (make_container): Initialise new field.
448 * gdb.python/py-prettyprint.exp: Add new tests.
449 * gdb.python/py-prettyprint.py (class ContainerPrinter)
450 <display_hint>: New method.
452 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
454 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
455 gdb_continue_to_breakpoint more throughout this test.
456 (run_lang_tests) Supply unique test names, and use
459 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
461 * gdb.base/finish-pretty.exp: Update expected results.
462 * gdb.base/pretty-print.c: New file.
463 * gdb.base/pretty-print.exp: New file.
465 2019-03-25 Pedro Alves <palves@redhat.com>
467 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
468 move comments outside list. Append '-i "" eof' section.
470 2019-03-22 Alan Hayward <alan.hayward@arm.com>
472 * README: Add pie options.
473 * gdb.base/break-interp.exp: Ensure pie is disabled.
474 * gdb.base/dump.exp: Likewise.
475 * lib/gdb.exp (gdb_compile): Add pie option.
477 2019-03-19 Tom Tromey <tromey@adacore.com>
479 * gdb.mi/mi2-cli-display.c: New file.
480 * gdb.mi/mi2-cli-display.exp: New file.
482 2019-03-18 Joel Brobecker <brobecker@adacore.com>
483 Tom Tromey <tromey@adacore.com>
485 * gdb.ada/ptype_array/pck.adb: New file.
486 * gdb.ada/ptype_array/pck.ads: New file.
487 * gdb.ada/ptype_array/foo.adb: New file.
488 * gdb.ada/ptype_array.exp: New file.
490 2019-03-14 Tom Tromey <tromey@adacore.com>
492 * gdb.base/style.exp: Add "set style sources" test.
494 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
496 * mi-breakpoint-location-ena-dis.exp: Rename to ...
497 * mi-breakpoint-multiple-locations.exp: ... this.
498 (make_breakpoints_pattern): New proc.
499 (do_test): Add mi_version parameter, test -break-insert,
500 -break-info and =breakpoint-created.
502 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
504 * config/default.exp: Remove 'load_lib gdb.exp'.
505 * config/monitor.exp: Likewise.
506 * config/sid.exp: Likewise.
507 * config/sim.exp: Likewise.
508 * config/slite.exp: Likewise.
509 * config/unix.exp: Likewise.
510 * gdb.base/default.exp: Remove unhelpful comment.
512 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
514 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
516 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
518 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
520 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
522 * gdb.fortran/type-kinds.exp: Update expected results.
524 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
526 * gdb.fortran/type-kinds.exp: Test new integer type kind.
528 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
530 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
532 (test_basic_parsing_of_type_kinds): Expand types tested.
533 (test_parsing_invalid_type_kinds): New function.
535 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
537 * gdb.fortran/intrinsics.exp: New file.
538 * gdb.fortran/intrinsics.f90: New file.
539 * gdb.fortran/type-kinds.exp: New file.
541 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
543 * gdb.fortran/dot-ops.exp: New file.
545 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
547 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
548 Check upper and lower case logical literals.
550 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
552 * gdb.fortran/types.exp (test_float_literal_types_accepted):
553 Remove duplicate tests.
555 2019-03-06 Alan Hayward <alan.hayward@arm.com>
557 * lib/gdb.exp (builtin_cd): rename of cd.
558 (cd): Override builtin.
560 2019-03-06 Richard Bunt <richard.bunt@arm.com>
562 * gdb.fortran/function-calls.exp: New file.
563 * gdb.fortran/function-calls.f90: New test.
565 2019-03-04 Richard Bunt <richard.bunt@arm.com>
567 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
568 on user program standard output.
569 * gdb.fortran/short-circuit-argument-list.f90: Record function
572 2019-02-28 Alan Hayward <alan.hayward@arm.com>
574 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
577 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
580 * gdb.base/interrupt-daemon-attach.c,
581 gdb.base/interrupt-daemon-attach.exp: New test.
583 2019-02-27 Pedro Alves <palves@redhat.com>
585 * gdb.base/page.exp: Add tests for "set width/height -1".
587 2019-02-27 Pedro Alves <palves@redhat.com>
589 * gdb.base/page.exp: Add tests for "set/show width/height" with
592 2019-02-27 Tom Tromey <tromey@adacore.com>
594 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
596 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
599 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
601 * gdb.base/align.exp: Extend to compile in both C and C++, and add
602 tests for structs with static members.
604 2019-02-26 Tom Tromey <tromey@adacore.com>
606 * gdb.python/py-value.exp (test_value_from_buffer): Check for
607 ValueError, not TypeError.
609 2019-02-26 Kevin Buettner <kevinb@redhat.com>
611 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
612 call from main program.
614 2019-02-23 Joel Brobecker <brobecker@adacore.com>
616 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
617 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
618 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
619 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
620 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
622 2019-02-22 Keith Seitz <keiths@redhat.com>
625 * gdb.base/symlink-sourcefile.c: New file.
626 * gdb.base/symlink-sourcefile.exp: New file.
628 2019-02-20 Tom Tromey <tom@tromey.com>
630 * gdb.base/info_qt.exp: Update.
632 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
634 * gdb.base/source.exp: Move "error in sourced script" code to
636 * gdb.base/source-error.gdb: Move contents to
637 source-error-1.gdb. Add new code to source source-error-1.gdb.
638 * gdb.base/source-error-1.gdb: New file, from previous
641 2019-02-17 Tom Tromey <tom@tromey.com>
643 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
645 * gdb.base/style.c (SOME_MACRO): New macro.
647 2019-02-17 Tom Tromey <tom@tromey.com>
649 * gdb.base/style.exp: Add line-wrapping tests.
650 * gdb.base/page.exp: Add test for quitting during pagination.
652 2019-02-17 Joel Brobecker <brobecker@adacore.com>
654 * gdb.ada/big_packed_array: New testcase.
655 * gdb.ada/homonym.exp: Fix incorrect expected output for
656 "break <homonym__get_value>" test.
658 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
661 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
662 and prepare_for_testing. Add comment.
663 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
664 redundant cleanup call. Clean up comment.
666 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
669 * gdb.arch/aarch64-dbreg-contents.exp: New file.
670 * gdb.arch/aarch64-dbreg-contents.c: New file.
672 2019-02-10 Joel Brobecker <brobecker@adacore.com>
674 * gdb.ada/mi_ref_changeable: New testcase.
676 2019-02-07 Alan Hayward <alan.hayward@arm.com>
678 * gdb.base/attach.exp: Add double attach test.
680 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
682 * lib/gdb.exp (default_gdb_start): Don't match pagination
684 (gdb_init): Set stty_init.
686 2019-01-27 Tom Tromey <tom@tromey.com>
688 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
691 2019-01-24 Alan Hayward <alan.hayward@arm.com>
693 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
695 (struct struct_static_02_02): Likewise.
696 (struct struct_static_02_03): Likewise.
697 (struct struct_static_02_04): Likewise.
698 (struct struct_static_04_01): Likewise.
699 (struct struct_static_04_02): Likewise.
700 (struct struct_static_04_03): Likewise.
701 (struct struct_static_04_04): Likewise.
702 (struct struct_static_06_01): Likewise.
703 (struct struct_static_06_02): Likewise.
704 (struct struct_static_06_03): Likewise.
705 (struct struct_static_06_04): Likewise.
706 (cmp_struct_static_02_01): Likewise.
707 (cmp_struct_static_02_02): Likewise.
708 (cmp_struct_static_02_03): Likewise.
709 (cmp_struct_static_02_04): Likewise.
710 (cmp_struct_static_04_01): Likewise.
711 (cmp_struct_static_04_02): Likewise.
712 (cmp_struct_static_04_03): Likewise.
713 (cmp_struct_static_04_04): Likewise.
714 (cmp_struct_static_06_01): Likewise.
715 (cmp_struct_static_06_02): Likewise.
716 (cmp_struct_static_06_03): Likewise.
717 (cmp_struct_static_06_04): Likewise.
718 (call_all): Test new structs.
719 * gdb.base/infcall-nested-structs.exp: Likewise.
721 2019-01-21 Alan Hayward <alan.hayward@arm.com>
722 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
724 2019-01-21 Alan Hayward <alan.hayward@arm.com>
725 * gdb.base/stack-protector.c: New test.
726 * gdb.base/stack-protector.exp: New file.
727 * gdb.cp/ovldbreak.exp: Only allow a single break line.
728 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
730 (gdb_compile): Remove stack protector for GCC and prevent
733 2019-01-16 Keith Seitz <keiths@redhat.com>
736 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
738 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
740 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
742 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
744 * gdb.arch/powerpc-vector-regs.c: New file.
745 * gdb.arch/powerpc-vector-regs.exp: New file.
747 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
749 * gdb.arch/altivec-regs.exp: Fix the list passed to
750 gdb_expect_list when testing "info vector".
752 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
754 * gdb.base/style.exp: Don't include path in testname.
756 2019-01-10 Keith Seitz <keiths@redhat.com>
760 * gdb.dwarf2/multidictionary.exp: New file.
762 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
764 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
765 (test_gnuv3_style_demangling): ... this.
766 (test_lucid_style_demangling): Remove.
767 (test_arm_style_demangling): Remove.
768 (test_hp_style_demangling): Remove.
769 (do_tests): Remove calls to the above.
771 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
773 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
776 2019-01-06 Tom Tromey <tom@tromey.com>
779 * gdb.dwarf2/typedef-void-finish.exp: New file.
781 2018-12-28 Tom Tromey <tom@tromey.com>
782 Simon Marchi <simark@simark.ca>
784 * gdb.base/jit-exec.exp: New file.
785 * gdb.base/jit-exec.c: New file.
786 * gdb.base/jit-execd.c: New file.
788 2018-12-28 Tom Tromey <tom@tromey.com>
790 * gdb.base/style.exp: Update test to check for address styling.
792 2018-12-28 Tom Tromey <tom@tromey.com>
794 * gdb.base/style.exp: Add test for styling of "Reading symbols"
797 2018-12-28 Tom Tromey <tom@tromey.com>
799 * gdb.base/style.exp: Add test for version number styling.
801 2018-12-28 Tom Tromey <tom@tromey.com>
803 * gdb.base/style.exp: Add test for print_address_symbolic.
805 2018-12-28 Tom Tromey <tom@tromey.com>
807 * gdb.base/style.exp: Add test for breakpoint setting.
809 2018-12-28 Tom Tromey <tom@tromey.com>
811 * gdb.base/style.exp: Add test for variable names.
813 2018-12-28 Tom Tromey <tom@tromey.com>
815 * gdb.base/style.exp: New file.
816 * gdb.base/style.c: New file.
818 2018-12-28 Tom Tromey <tom@tromey.com>
820 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
822 * gdb.base/readline.exp (operate_and_get_next): Save and restore
823 the TERM environment variable.
825 2018-12-27 Tom Tromey <tom@tromey.com>
827 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
830 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
832 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
833 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
835 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
837 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
838 Filename a.adb changed to bp_fun_addr.adb.
839 gdb.ada/bp_fun_addr.exp: Update test accordingly.
841 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
843 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
845 * README: Mention the gdb,nopie_flag board setting.
846 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
848 * gdb.arch/amd64-entry-value.exp: Likewise.
849 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
850 * gdb.arch/i386-float.exp: Likewise.
851 * gdb.arch/i386-signal.exp: Likewise.
852 * gdb.mi/mi-reg-undefined.exp: Likewise.
854 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
857 * gdb.base/info-os.exp: Check return for unknown "info os" type.
859 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
861 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
862 Update order of results accordingly.
864 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
866 * gdb.base/annota1.exp: Update a test regexp.
868 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
870 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
872 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
874 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
875 (reuse_time): Initialize to REUSE_TIME_CAP.
876 (check_rc): New function.
877 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
878 Check pthread_create rc.
879 (spawner_thread_func): Check pthread_create and pthread_join rc.
881 2018-12-08 Pedro Alves <palves@redhat.com>
883 * gdb.base/list.exp (test_forward_search): Rename to ...
884 (test_forward_reverse_search): ... this. Also test reverse-search
885 and the forward-search alias.
887 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
889 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
890 local timeout variable before return, and remove all local timeout
892 (gdb_load): Likewise.
894 2018-12-01 Tom de Vries <tdevries@suse.de>
896 * gdb.base/gdb-caching-proc.exp: New file.
898 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
900 * Makefile.in (TIMESTAMP): New variable.
901 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
903 (check-single-racy): Likewise.
904 (check/%.exp): Likewise.
905 (check-racy/%.exp): Likewise.
906 (workers/%.worker): Likewise.
907 (build-perf): Likewise.
908 (check-perf): Likewise.
909 * README: Describe new "TS" and "TS_FORMAT" variables.
910 * print-ts.py: New file.
912 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
915 * gdb.python/python.exp: Test command repetition after
918 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
920 * gdb.opt/inline-break.exp: Add test that info breakpoint output
921 is correctly aligned.
923 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
925 * gdb.ada/info_auto_lang.exp: New testcase.
926 * gdb.ada/info_auto_lang/global_pack.ads: New file.
927 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
928 * gdb.ada/info_auto_lang/some_c.c: New file.
930 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
932 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
933 FUNC_lang language syntax.
935 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
937 * gdb.base/info_minsym.c: New file.
938 * gdb.base/info_minsym.exp: New file.
940 2018-11-19 Tom Tromey <tom@tromey.com>
943 * gdb.rust/simple.exp: Add ptype test. Update expected output.
944 * gdb.rust/expr.exp: Update expected output. Change one test.
946 2018-11-19 Tom Tromey <tom@tromey.com>
948 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
950 2018-11-19 Pedro Alves <palves@redhat.com>
952 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
953 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
954 see the expected warning.
956 2018-11-16 Alan Hayward <alan.hayward@arm.com>
959 * gdb.cp/infcall-nodebug-lib.c: New test.
960 * gdb.cp/infcall-nodebug-main.c: New test.
961 * gdb.cp/infcall-nodebug.exp: New file.
963 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
965 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
968 2018-11-09 Tom de Vries <tdevries@suse.de>
970 * gdb.base/msym-lang.c: New test.
971 * gdb.base/msym-lang.exp: New file.
972 * gdb.base/msym-lang-main.c: New test.
974 2018-11-08 Tom Tromey <tom@tromey.com>
978 * gdb.base/warning.exp: New file.
980 2018-11-08 Jan Beulich <jbeulich@suse.com>
982 * testsuite/gdb.arch/i386-avx512.c,
983 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
985 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
987 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
990 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
992 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
993 * gdb.dwarf2/missing-type-name.exp: New file.
995 2018-11-06 Tom de Vries <tdevries@suse.de>
997 * gdb.base/many-headers.c: New test.
998 * gdb.base/many-headers.exp: New file.
1000 2018-11-06 Jim Wilson <jimw@sifive.com>
1002 * gdb.base/code_elim.exp: For riscv, set additional_flags
1003 to include -msmall-data-limit=0.
1005 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1007 * gdb.ada/watch_minus_l: New testcase.
1009 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1011 * gdb.arch/aix-sighandle.c: New file.
1012 * gdb.arch/aix-sighandle.exp: New file.
1014 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1016 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1017 registers being unions.
1019 2018-10-31 Tom de Vries <tdevries@suse.de>
1021 * lib/valgrind.exp: New file.
1022 (vgdb_start, vgdb_stop): New procs, factored out of ...
1023 * gdb.base/valgrind-bt.exp: ... here, ...
1024 * gdb.base/valgrind-disp-step.exp: ... here and ...
1025 * gdb.base/valgrind-infcall.exp: ... here.
1027 2018-10-31 Tom de Vries <tdevries@suse.de>
1029 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1031 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1033 * gdb.dwarf2/void-type.c: New file.
1034 * gdb.dwarf2/void-type.exp: New file.
1036 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1038 * gdb.base/info_qt.c: New file.
1039 * gdb.base/info_qt.exp: New file.
1041 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1043 * gdb.arch/powerpc-htm-regs.c: New file.
1044 * gdb.arch/powerpc-htm-regs.exp: New file.
1046 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1048 * gdb.arch/powerpc-tar.c: New file.
1049 * gdb.arch/powerpc-tar.exp: New file.
1051 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1053 * gdb.arch/powerpc-ppr-dscr.c: New file.
1054 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1056 2018-10-25 Tom de Vries <tdevries@suse.de>
1058 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1060 2018-10-24 Tom de Vries <tdevries@suse.de>
1062 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1063 longer exists error.
1065 2018-10-24 Tom de Vries <tdevries@suse.de>
1067 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1069 2018-10-24 Tom de Vries <tdevries@suse.de>
1071 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1072 --db-attach in valgrind.
1074 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1076 * gdb.arch/riscv-reg-aliases.c: New file.
1077 * gdb.arch/riscv-reg-aliases.exp: New file.
1079 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1081 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1083 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1085 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1087 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1089 * gdb.cp/ovldbreak.exp: Fix regexps.
1091 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1093 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1095 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1098 * gdb.base/restore.exp: New test to check if "restore" with an
1099 invalid file doesn't segfault.
1101 2018-10-18 Tom de Vries <tdevries@suse.de>
1103 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1104 * gdb.ada/excep_handle.exp: Same.
1105 * gdb.ada/mi_string_access.exp: Same.
1106 * gdb.ada/mi_var_union.exp: Same.
1107 * gdb.arch/arc-analyze-prologue.exp: Same.
1108 * gdb.arch/arc-decode-insn.exp: Same.
1109 * gdb.base/readnever.exp: Same.
1110 * gdb.fortran/printing-types.exp: Same.
1111 * gdb.guile/scm-lazy-string.exp: Same.
1113 2018-10-16 Tom de Vries <tdevries@suse.de>
1116 * gdb.base/catch-follow-exec.c: Add copyright notice.
1117 * gdb.base/catch-follow-exec.exp: Rewrite to use
1118 gdb_spawn_with_cmdline_opts. Require gdb-native.
1120 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1122 * gdb.trace/actions-changed.exp: Check for arch support.
1123 * gdb.trace/actions.exp: Likewise.
1124 * gdb.trace/ax.exp: Likewise.
1125 * gdb.trace/backtrace.exp: Likewise.
1126 * gdb.trace/change-loc.exp: Likewise.
1127 * gdb.trace/deltrace.exp: Likewise.
1128 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1129 * gdb.trace/ftrace.exp: Likewise.
1130 * gdb.trace/infotrace.exp: Check for arch support.
1131 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1132 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1133 * gdb.trace/mi-tsv-changed.exp: Likewise.
1134 * gdb.trace/packetlen.exp: Likewise.
1135 * gdb.trace/passc-dyn.exp: Likewise.
1136 * gdb.trace/passcount.exp: Likewise.
1137 * gdb.trace/pending.exp: Likewise.
1138 * gdb.trace/range-stepping.exp: Check for shlib support.
1139 * gdb.trace/report.exp: Check for arch support.
1140 * gdb.trace/save-trace.exp: Likewise.
1141 * gdb.trace/signal.exp: Check for signal support.
1142 * gdb.trace/tfind.exp: Check for arch support.
1143 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1144 * gdb.trace/trace-common.h: Add comment.
1145 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1146 * gdb.trace/trace-enable-disable.exp: Likewise.
1147 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1148 * gdb.trace/tracecmd.exp: Check for arch support.
1149 * gdb.trace/tspeed.exp: Check for shlib and target support.
1150 * gdb.trace/tstatus.exp: Check for arch support.
1151 * gdb.trace/tsv.exp: Likewise.
1152 * gdb.trace/while-dyn.exp: Likewise.
1153 * gdb.trace/while-stepping.exp: Likewise.
1154 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1156 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1158 * gdb.trace/tspeed.exp: Remove nowarnings.
1159 (prepare_for_trace_test): Declare "global ipalib".
1160 * gdb.trace/tspeed.c: Include unistd.h.
1161 (main): Remove superfluous printf argument.
1163 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1165 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1166 directory prefix on the filename.
1168 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1170 * gdb.gdb/unittest.exp: Update expected message informing that
1171 selftests have been disabled.
1172 * gdb.server/unittest.exp: Likewise.
1174 2018-10-09 Tom de Vries <tdevries@suse.de>
1176 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1179 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1182 * gdb.cp/virtbase2.cc: New file.
1183 * gdb.cp/virtbase2.exp: New file.
1185 2018-10-06 Tom Tromey <tom@tromey.com>
1188 * gdb.python/py-inferior.exp: Add architecture test.
1190 2018-10-06 Tom Tromey <tom@tromey.com>
1192 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1193 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1195 2018-10-06 Tom Tromey <tom@tromey.com>
1197 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1198 of a "throw" catchpoint.
1200 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1202 * gdb.base/info-proc.exp: Update string expected from "help info
1205 2018-10-04 Tom Tromey <tom@tromey.com>
1207 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1208 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1209 (test_initial_complaints, test_empty_complaints): Update.
1210 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1212 2018-10-04 Tom Tromey <tom@tromey.com>
1215 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1216 * lib/gdb.exp (gdb_file_cmd): Update.
1217 * gdb.stabs/weird.exp (print_weird_var): Update.
1218 * gdb.server/solib-list.exp: Update.
1219 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1220 * gdb.mi/mi-cli.exp: Update.
1221 * gdb.linespec/linespec.exp: Update.
1222 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1223 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1224 * gdb.cp/cp-relocate.exp: Update.
1225 * gdb.base/sym-file.exp: Update.
1226 * gdb.base/relocate.exp: Update.
1227 * gdb.base/readnever.exp: Update.
1228 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1229 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1230 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1231 * gdb.base/code_elim.exp: Update.
1232 * gdb.base/break-unload-file.exp (test_break): Update.
1233 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1234 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1236 * gdb.base/attach.exp (do_attach_tests): Update.
1237 * gdb.base/sepdebug.exp: Update.
1238 * gdb.python/py-section-script.exp: Update.
1240 2018-10-04 Tom Tromey <tom@tromey.com>
1243 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1244 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1247 2018-10-04 Tom Tromey <tom@tromey.com>
1249 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1250 set width and height to 0.
1251 (test_command_line_attach_run): Use -quiet.
1253 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1255 * lib/gdb.exp (skip_ifunc_tests): New.
1256 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1257 other compile failures.
1258 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1260 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1262 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1263 is_amd64_regs_target.
1265 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1267 * gdb.arch/aarch64-sighandler-regs.c: New test.
1268 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1269 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1271 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1273 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1276 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1278 * gdb.base/frame-selection.exp: New file.
1279 * gdb.base/frame-selection.c: New file.
1281 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1283 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1287 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1289 * gdb.base/large-frame-1.c: New file.
1290 * gdb.base/large-frame-2.c: New file.
1291 * gdb.base/large-frame.exp: New file.
1292 * gdb.base/large-frame.h: New file.
1294 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1297 * gdb.base/write_mem.exp: New test.
1298 * gdb.base/write_mem.c: Likewise.
1300 2018-09-23 Tom Tromey <tom@tromey.com>
1303 * gdb.python/py-parameter.exp: Add test for parameter that throws
1306 2018-09-23 Tom Tromey <tom@tromey.com>
1309 * gdb.python/py-template.exp (test_template_arg): Add test for
1310 negative template argument number.
1312 2018-09-23 Tom Tromey <tom@tromey.com>
1315 * gdb.python/python.exp: Add test for post_event error.
1317 2018-09-23 Tom Tromey <tom@tromey.com>
1320 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1321 convert pointers to int and long.
1323 2018-09-23 Tom Tromey <tom@tromey.com>
1326 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1327 signed-ness conversion tests.
1329 2018-09-23 Tom Tromey <tom@tromey.com>
1332 * gdb.python/py-value.exp (test_float_conversion): New proc.
1335 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1337 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1339 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1341 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1343 * gdb.base/utf8-identifiers.exp: Likewise.
1344 * gdb.cp/cpcompletion.exp: Likewise.
1345 * gdb.linespec/cpcompletion.exp: Likewise.
1346 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1347 * gdb.linespec/cpls-ops.exp: Likewise.
1349 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1350 Chris January <chris.january@arm.com>
1352 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1353 * gdb.fortran/short-circuit-argument-list.exp: New file.
1354 * gdb.fortran/short-circuit-argument-list.f90: New test.
1356 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1358 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1359 "arch=" keyword when executing "-stack-list-frames".
1361 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1363 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1364 "arch=" keyword when executing "-stack-list-frames".
1366 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1368 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1371 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1374 * gdb.python/python.exp: Test gdb.execute("show commands").
1376 2018-09-16 Tom Tromey <tom@tromey.com>
1378 * gdb.base/new-ui.exp (do_execution_tests): Update.
1379 * gdb.base/dbx.exp (test_breakpoints): Update.
1381 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1383 * lib/gdb.exp (gdb_simple_compile): Add proc.
1384 (is_elf_target): Use gdb_simple_compile.
1385 (skip_altivec_tests): Likewise.
1386 (skip_vsx_tests): Likewise.
1387 (skip_tsx_tests): Likewise.
1388 (skip_btrace_tests): Likewise.
1389 (skip_btrace_pt_tests): Likewise.
1390 (gdb_can_simple_compile): Likewise.
1391 (gdb_has_argv0): Likewise.
1392 (gdb_target_symbol_prefix): Likewise.
1393 (target_supports_scheduler_locking): Likewise.
1395 2018-09-13 Tom Tromey <tom@tromey.com>
1397 * Makefile.in (TAGS): Recognize proc_with_prefix and
1400 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1402 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1405 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1407 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1408 and a few other Inferior properties when the Inferior is no
1411 2018-09-13 Tom Tromey <tom@tromey.com>
1414 * gdb.rust/simple.exp: Add test for enum field access error.
1416 2018-09-13 Tom Tromey <tom@tromey.com>
1419 * gdb.rust/simple.rs (EmptyEnum): New type.
1421 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1423 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1425 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1426 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1427 * gdb.python/py-symtab.exp: Update test printing an objfile.
1429 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1431 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1434 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1436 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1437 (support_complex_tests): Use gdb_can_simple_compile.
1438 (is_ilp32_target): Likewise.
1439 (is_lp64_target): Likewise.
1440 (is_64_target): Likewise.
1441 (is_amd64_regs_target): Likewise.
1442 (is_aarch32_target): Likewise.
1443 (gdb_int128_helper): Likewise.
1445 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1447 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1449 2018-09-10 Jerome Guitton <guitton@adacore.com>
1451 * gdb.ada/same_component_name: Add test for case of tagged record
1452 with variable-length fields.
1454 2018-09-10 Xavier Roirand <roirand@adacore.com>
1456 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1457 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1458 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1459 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1461 2018-09-10 Xavier Roirand <roirand@adacore.com>
1463 * gdb.ada/mi_string_access.exp: New testcase.
1464 * gdb.ada/mi_string_access/bar.adb: New file.
1465 * gdb.ada/mi_string_access/pck.adb: New file.
1466 * gdb.ada/mi_string_access/pck.asd: New file.
1468 2018-09-10 Xavier Roirand <roirand@adacore.com>
1470 * gdb.ada/mi_var_union.exp: New testcase.
1471 * gdb.ada/mi_var_union/bar.adb: New file.
1472 * gdb.ada/mi_var_union/pck.adb: New file.
1473 * gdb.ada/mi_var_union/pck.asd: New file.
1475 2018-09-08 Tom Tromey <tom@tromey.com>
1477 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1479 2018-09-08 Tom Tromey <tom@tromey.com>
1482 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1483 (register_pretty_printers): Register new printer.
1484 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1486 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1487 (an_int_type3): New global.
1489 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1491 * gdb.ada/expr_with_funcall: New testcase.
1493 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1495 * gdb.ada/packed_array_assign: New testcase.
1497 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1500 names, and add test prefixes to make test names unique.
1502 2018-09-05 Tom de Vries <tdevries@suse.de>
1504 * gdb.dwarf2/varval.exp: Add test.
1506 2018-09-04 Gary Benson <gbenson@redhat.com>
1508 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1509 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1511 2018-08-31 Tom Tromey <tom@tromey.com>
1513 * gdb.rust/simple.rs: Rename second variable "v".
1515 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1517 * gdb.base/funcargs.c (use_a): New function.
1518 (recurse): Call use_a.
1520 2018-08-29 Keith Seitz <keiths@redhat.com>
1522 * gdb.compile/compile-cplus-anonymous.cc: New file.
1523 * gdb.compile/compile-cplus-anonymous.exp: New file.
1524 * gdb.compile/compile-cplus-array-decay.cc: New file.
1525 * gdb.compile/compile-cplus-array-decay.exp: New file.
1526 * gdb.compile/compile-cplus-inherit.cc: New file.
1527 * gdb.compile/compile-cplus-inherit.exp: New file.
1528 * gdb.compile/compile-cplus-member.cc: New file.
1529 * gdb.compile/compile-cplus-member.exp: New file.
1530 * gdb.compile/compile-cplus-method.cc: New file.
1531 * gdb.compile/compile-cplus-method.exp: New file.
1532 * gdb.compile/compile-cplus-mod.c: "New" file.
1533 * gdb.compile/compile-cplus-namespace.cc: New file.
1534 * gdb.compile/compile-cplus-namespace.exp: New file.
1535 * gdb.compile/compile-cplus-nested.cc: New file.
1536 * gdb.compile/compile-cplus-nested.exp: New file.
1537 * gdb.compile/compile-cplus-print.c: "New" file.
1538 * gdb.compile/compile-cplus-print.exp: "New" file.
1539 * gdb.compile/compile-cplus-virtual.cc: New file.
1540 * gdb.compile/compile-cplus-virtual.exp: New file.
1541 * gdb.compile/compile-cplus.c: "New" file.
1542 * gdb.compile/compile-cplus.exp: "New" file.
1543 * lib/compile-support.exp: New file.
1545 2018-08-16 Gary Benson <gbenson@redhat.com>
1548 * gdb.base/batch-exit-status.exp: New file.
1549 * gdb.base/batch-exit-status.good-commands: Likewise.
1550 * gdb.base/batch-exit-status.bad-commands: Likewise.
1552 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1554 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1555 (struct struct02): Likewise.
1556 (struct struct03): Likewise.
1557 (struct struct04): Likewise.
1558 (struct struct_01_01): New struct.
1559 (struct struct_01_02): Likewise.
1560 (struct struct_01_03): Likewise.
1561 (struct struct_01_04): Likewise.
1562 (struct struct_02_01): Likewise.
1563 (struct struct_02_02): Likewise.
1564 (struct struct_02_03): Likewise.
1565 (struct struct_02_04): Likewise.
1566 (struct struct_04_01): Likewise.
1567 (struct struct_04_02): Likewise.
1568 (struct struct_04_03): Likewise.
1569 (struct struct_04_04): Likewise.
1570 (struct struct_05_01): Likewise.
1571 (struct struct_05_02): Likewise.
1572 (struct struct_05_03): Likewise.
1573 (struct struct_05_04): Likewise.
1574 (cmp_struct01): Remove function.
1575 (cmp_struct02): Likewise.
1576 (cmp_struct03): Likewise.
1577 (cmp_struct04): Likewise.
1578 (cmp_struct_01_01): Add Function.
1579 (cmp_struct_01_02): Likewise.
1580 (cmp_struct_01_03): Likewise.
1581 (cmp_struct_01_04): Likewise.
1582 (cmp_struct_02_01): Likewise.
1583 (cmp_struct_02_02): Likewise.
1584 (cmp_struct_02_03): Likewise.
1585 (cmp_struct_02_04): Likewise.
1586 (cmp_struct_04_01): Likewise.
1587 (cmp_struct_04_02): Likewise.
1588 (cmp_struct_04_03): Likewise.
1589 (cmp_struct_04_04): Likewise.
1590 (cmp_struct_05_01): Likewise.
1591 (cmp_struct_05_02): Likewise.
1592 (cmp_struct_05_03): Likewise.
1593 (cmp_struct_05_04): Likewise.
1594 (call_all): Add new structs.
1595 * gdb.base/infcall-nested-structs.exp: Likewise.
1597 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1599 * gdb.python/py-framefilter-mi.exp: Update regexp to
1600 check for "arch" field in frame output.
1602 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1604 * gdb.dwarf2/dw2-ranges-func.c: New file.
1605 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1607 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1609 * gdb.base/term.exp: Compare terminal settings with values from
1611 * gdb.base/term.c: Get and set terminal settings.
1613 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1615 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1616 accommodate new "arch" field in frame output.
1617 * gdb.mi/mi-return.exp: Likewise.
1618 * gdb.mi/mi-stack.exp: Likewise.
1619 * gdb.mi/mi-syn-frame.exp: Likewise.
1620 * gdb.mi/user-selected-context-sync.exp: Likewise.
1622 2018-08-19 Michael Spang <spang@google.com>
1625 * gdb.base/gcore-tls-pie.c: New file.
1626 * gdb.base/gcore-tls-pie.exp: New file.
1628 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1630 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1631 * gdb.dwarf2/varval.c: New file.
1632 * gdb.dwarf2/varval.exp: New file.
1634 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1637 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1639 2018-08-16 Keith Seitz <keiths@redhat.com>
1641 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1642 tests expected to pass.
1644 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1646 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1647 -data-disassemble -a.
1648 (test_disassembly_bogus_args): Likewise.
1650 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1652 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1654 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1656 * gdb.base/vla-optimized-out.exp: Add new test.
1658 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1660 * gdb.base/vla-optimized-out-o3.exp: Delete.
1661 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1662 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1665 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1668 * gdb.server/extended-remote-restart.c: New file.
1669 * gdb.server/extended-remote-restart.exp: New file.
1671 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1673 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1674 "set variable index = 42".
1676 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1678 * boards/index-cache-gdb.exp: New file.
1679 * gdb.dwarf2/index-cache.exp: New file.
1680 * gdb.dwarf2/index-cache.c: New file.
1681 * gdb.base/maint.exp: Check if we are using the index cache.
1683 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1685 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1688 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1690 * dg-extract-results.sh: Move to toplevel contrib.
1691 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1692 * Makefile.in (check-parallel-racy): Likewise.
1694 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1696 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1697 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1698 tests if the target supports scheduler locking.
1700 2018-08-04 Tom de Vries <tdevries@suse.de>
1702 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1704 2018-08-02 Tom Tromey <tom@tromey.com>
1707 * gdb.cp/temargs.exp: Test "info address" of a template
1710 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1712 * gdb.python/py-mi-var-info-path-expression.c: New file.
1713 * gdb.python/py-mi-var-info-path-expression.py: New file.
1714 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1716 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1718 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1719 error after "cannot resolve name" string.
1721 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1723 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1725 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1727 2018-07-28 Tom de Vries <tdevries@suse.de>
1729 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1731 2018-07-26 Tom de Vries <tdevries@suse.de>
1733 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1735 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1737 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1740 2018-07-26 Tom de Vries <tdevries@suse.de>
1742 PR breakpoints/23366
1743 * gdb.base/catch-follow-exec.c: New test.
1744 * gdb.base/catch-follow-exec.exp: New file.
1746 2018-07-25 Tom de Vries <tdevries@suse.de>
1748 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1749 vla-optimized-out.c.
1751 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1753 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1754 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1756 2018-07-20 Tom de Vries <tdevries@suse.de>
1758 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1760 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1762 2018-07-19 Tom de Vries <tdevries@suse.de>
1764 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1767 2018-07-18 Tom de Vries <tdevries@suse.de>
1769 * gdb.base/vla-optimized-out.c: New test.
1770 * gdb.base/vla-optimized-out.exp: New file.
1772 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1774 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1775 message "No address associated with hostname" when gdbserver
1776 cannot resolve the hostname.
1778 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1780 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1781 Add some test prefixes to make tests unique.
1783 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1785 * gdb.base/frameapply.c: New file.
1786 * gdb.base/frameapply.exp: New file.
1788 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1790 * gdb.base/skip.exp: Update expected error message.
1792 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1793 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 Paul Fertser <fercerpav@gmail.com>
1795 Tsutomu Seki <sekiriki@gmail.com>
1797 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1799 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1801 * boards/native-gdbserver.exp: Likewise.
1802 * gdb.server/run-without-local-binary.exp: Improve regexp used
1803 for detecting when a remote debugging connection succeeds.
1804 * gdb.server/server-connect.exp: New file.
1805 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1806 Do not prefix the port number with ":".
1807 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1808 support for detecting and using it. Add '$debughost_gdbserver'
1809 to the list of arguments used to start gdbserver. Handle case
1810 when gdbserver cannot resolve a network name.
1812 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1815 * gdb.base/ptype-offsets.cc (struct static_member): New
1817 (main) <stmember>: New variable.
1818 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1819 with a static member in it.
1821 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1823 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1824 watchpoints enabled and disabled.
1826 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1828 * gdb.base/examine-backward.exp: Still run tests around address
1829 0x0, even if address 0x0 is not readable. Update the pattern for
1830 matching address 0x0 in expected output.
1832 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1834 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1837 2018-07-04 Tom de Vries <tdevries@suse.de>
1839 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1841 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1844 * gdb.arch/mips-disassembler-options.exp: New test.
1845 * gdb.arch/mips-disassembler-options.s: New test source.
1847 2018-06-29 Pedro Alves <palves@redhat.com>
1849 * gdb.threads/names.exp: Adjust expected "info threads" output.
1851 2018-06-29 Pedro Alves <palves@redhat.com>
1853 * gdb.opt/inline-break.exp (line number, address): Add "info
1856 2018-06-29 Pedro Alves <palves@redhat.com>
1858 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1859 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1860 number and address and running to them.
1862 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1864 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1866 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1868 * lib/compiler.c: Remove executable permission flag.
1870 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1872 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1874 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1876 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1878 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1880 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1882 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1883 address argument is omitted.
1885 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1887 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1889 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1892 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1893 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1895 2018-06-26 Tom Tromey <tom@tromey.com>
1898 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1899 * gdb.rust/simple.rs (struct SimpleLayout): New.
1901 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1903 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1904 "info registers" output.
1906 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1908 * gdb.base/watchpoint-hw-attach.c: New test.
1909 * gdb.base/watchpoint-hw-attach.exp: New file.
1911 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1913 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1915 * boards/dwarf4-gdb-index.exp: Likewise.
1916 * boards/fission-dwp.exp: Likewise.
1918 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1920 * gdb.base/float128.exp: Add comment and improved fail message
1921 to the failure case of "print large128" test.
1923 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1925 * configure.ac: Remove AC_PREREQ.
1926 * configure: Re-generate.
1928 2018-06-19 Pedro Alves <palves@redhat.com>
1930 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1931 (func_extern_caller): New.
1932 (main): Call func_extern_caller.
1933 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1936 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1939 * gdb.cp/typedef-base.cc: New file.
1940 * gdb.cp/typedef-base.exp: New file.
1942 2018-06-18 Tom de Vries <tdevries@suse.de>
1944 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1946 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1947 Richard Bunt <Richard.Bunt@arm.com>
1949 * gdb.threads/attach-slow-waitpid.c: New file.
1950 * gdb.threads/attach-slow-waitpid.exp: New file.
1951 * gdb.threads/slow-waitpid.c: New file.
1953 2018-06-14 Pedro Alves <palves@redhat.com>
1955 * gdb.base/fork-running-state.c: Include <errno.h>.
1956 (exit_if_relative_exits): New.
1957 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1959 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1962 2018-06-14 Tom de Vries <tdevries@suse.de>
1965 * gdb.base/finish-pretty.c: New test.
1966 * gdb.base/finish-pretty.exp: New file.
1968 2018-06-14 Pedro Alves <palves@redhat.com>
1970 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1971 gdb's expected startup output.
1973 2018-06-14 Pedro Alves <palves@redhat.com>
1975 * lib/selftest-support.exp (selftest_setup): Remove inlined
1978 2018-06-14 Tom de Vries <tdevries@suse.de>
1980 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1981 matching of breakpoint printing.
1983 2018-06-13 Tom de Vries <tdevries@suse.de>
1986 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1987 (fork_child): ... here, and ...
1988 (fork_parent): ... here.
1990 2018-06-12 Tom de Vries <tdevries@suse.de>
1992 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1994 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1995 Stephen Roberts <stephen.roberts@arm.com>
1997 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1998 rewrite test to describe action performed, rather than possible
2001 2018-06-08 Gary Benson <gbenson@redhat.com>
2003 * gdb.threads/check-libthread-db.exp: New file.
2004 * gdb.threads/check-libthread-db.c: Likewise.
2006 2018-06-05 Tom Tromey <tom@tromey.com>
2008 * gdb.base/default.exp: Update expected "show version" output.
2010 2018-06-05 Tom Tromey <tom@tromey.com>
2013 * gdb.cp/static-print-quit.exp: Update.
2014 * lib/gdb.exp (pagination_prompt): Update.
2015 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2016 * gdb.python/python.exp: Update.
2018 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2020 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2022 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2024 * gdb.ada/bp_fun_addr: New testcase.
2026 2018-06-01 Tom Tromey <tom@tromey.com>
2028 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2030 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2031 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2032 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2033 * gdb.base/maint.exp (maint_pass_if): Update.
2035 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2037 * gdb.base/endian.exp: New test.
2038 * gdb.base/endian.c: New test source.
2040 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2043 * gdb.base/bt-selected-frame.c: New file.
2044 * gdb.base/bt-selected-frame.exp: New file.
2045 * lib/gdb.exp (get_current_frame_number): New function.
2047 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2048 Pedro Alves <palves@redhat.com>
2050 * gdb.threads/tls-core.c: Include <stdlib.h>
2051 (thread_proc): Call `abort'.
2052 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2053 (tls_core_test): New procedure, bits factored out from ...
2054 (top level): ... here. Test both native cores and gcore cores.
2056 2018-05-23 Tom Tromey <tom@tromey.com>
2058 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2060 2018-05-23 Tom Tromey <tom@tromey.com>
2062 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2064 (test_short_complaints): Likewise.
2065 (test_empty_complaints): Likewise.
2066 (test_initial_complaints): Update.
2068 2018-05-23 Tom Tromey <tom@tromey.com>
2070 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2072 2018-05-23 Tom Tromey <tom@tromey.com>
2074 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2075 (test_short_complaints): Update.
2077 2018-05-22 Pedro Alves <palves@redhat.com>
2079 * gdb.base/remote.exp: Only gdb_start after compiling the
2080 testcase. Issue "disconnect" before testing "set remote" command
2081 defaults. Issue clean_restart before running to main.
2083 2018-05-22 Pedro Alves <palves@redhat.com>
2085 * gdb.base/remote.exp: Adjust expected output of "show remote
2086 memory-write-packet-size". Add tests for "set remote
2087 memory-write-packet-size 0" and "set remote
2088 memory-write-packet-size fixed/limit".
2090 2018-05-22 Pedro Alves <palves@redhat.com>
2093 * gdb.base/utf8-identifiers.c: New file.
2094 * gdb.base/utf8-identifiers.exp: New file.
2096 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2098 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2100 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2102 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2104 2018-05-18 Tom Tromey <tom@tromey.com>
2106 * gdb.base/ptype-offsets.exp: Update.
2108 2018-05-17 Keith Seitz <keiths@redhat.com>
2110 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2111 in expected breakpoint stop locations.
2112 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2113 move to proper scope to test variable values.
2114 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2115 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2117 (main): Call not_inline_func3.
2118 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2119 inline_func1, inline_func2, and inline_func3. Test that when each
2120 breakpoint is hit, GDB properly reports both the stop location
2121 and the backtrace. Repeat tests for temporary breakpoints.
2123 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2125 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2126 rather then trying to access it in determining whether the PID
2127 of `gdbserver' could have been retrieved.
2129 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2131 * gdb.arch/amd64-init-x87-values.S: New file.
2132 * gdb.arch/amd64-init-x87-values.exp: New file.
2134 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2136 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2138 2018-05-04 Tom Tromey <tom@tromey.com>
2141 * gdb.python/python.exp: Test multi-line execute.
2143 2018-05-04 Tom Tromey <tom@tromey.com>
2146 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2148 2018-05-04 Tom Tromey <tom@tromey.com>
2151 * gdb.base/define.exp: Test defining a user command inside a user
2153 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2155 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2156 Pedro Alves <palves@redhat.com>
2158 PR breakpoints/19806 and support for PR external/20207.
2159 * gdb.base/watchpoint-unaligned.c: New file.
2160 * gdb.base/watchpoint-unaligned.exp: New file.
2162 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2164 * gdb.base/maint.exp: Make test names unique, use
2165 test_prefix_command_help to test 'help maint info', and remove
2166 repeated test of 'help maint'.
2168 2018-05-04 Tom Tromey <tom@tromey.com>
2171 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2174 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2176 * gdb.base/maint.exp: Process output from 'maint print registers'
2179 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2181 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2184 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2189 2018-05-02 Pedro Alves <palves@redhat.com>
2191 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2192 to_log_command renames.
2193 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2195 2018-05-02 Tom Tromey <tom@tromey.com>
2197 * gdb.python/py-parameter.exp: Set test message.
2199 2018-05-02 Tom Tromey <tom@tromey.com>
2202 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2203 PARAM_ZUINTEGER_UNLIMITED tests.
2205 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2208 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2211 2018-04-30 Tom Tromey <tom@tromey.com>
2213 * gdb.python/py-type.exp: Check align attribute.
2214 * gdb.python/py-type.c: New "aligncheck" global.
2216 2018-04-30 Tom Tromey <tom@tromey.com>
2219 * gdb.dwarf2/dw2-align.exp: New file.
2220 * gdb.cp/align.exp: New file.
2221 * gdb.base/align.exp: New file.
2222 * lib/gdb.exp (gdb_int128_helper): New proc.
2223 (has_int128_c, has_int128_cxx): New caching procs.
2225 2018-04-27 Tom Tromey <tom@tromey.com>
2228 * gdb.rust/simple.exp: Add inclusive range tests.
2230 2018-04-26 Pedro Alves <palves@redhat.com>
2232 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2233 ifunc breakpoint locations correctly of ifunc breakpoints set
2234 while the program resolves the ifunc.
2236 2018-04-26 Pedro Alves <palves@redhat.com>
2238 * gdb.base/gnu-ifunc-final.c: New file.
2239 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2240 * gdb.base/gnu-ifunc.exp (executable): Delete.
2241 (staticexecutable): Adjust.
2242 (lib_opts, exec_opts): Delete.
2243 (make_binsuffix, build, set-break): New procedures.
2244 (misc_tests): New, with tests factored out from the top level.
2245 (top level): Test different combinations of ifunc resolver name,
2246 resolver with and with debug info, and ifunc target with and
2247 without debug info. Wrap static tests with with_target_prefix.
2249 2018-04-26 Pedro Alves <palves@redhat.com>
2251 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2252 return type" warnings.
2254 2018-04-25 Pedro Alves <palves@redhat.com>
2256 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2258 * gdb.base/kill-after-signal.exp: Likewise.
2259 * gdb.threads/kill.exp: Likewise.
2261 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2262 Sergio Durigan Junior <sergiodj@redhat.com>
2263 Pedro Alves <palves@redhat.com>
2265 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2266 regexps to expect for '[Inferior ... detached]' as well.
2267 * gdb.base/attach.exp: Likewise.
2268 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2269 "gdb_continue_to_end".
2270 (test_catch_syscall_with_wrong_args): Likewise.
2271 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2272 ']'. Don't set 'verbose' on.
2273 * gdb.base/foll-vfork.exp: Likewise.
2274 * gdb.base/fork-print-inferior-events.c: New file.
2275 * gdb.base/fork-print-inferior-events.exp: New file.
2276 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2277 '[Inferior ... has been killed]' message.
2278 * gdb.base/kill-after-signal.exp: Likewise.
2279 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2281 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2283 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2284 regexps to expect for '[Inferior ... detached]' as well.
2285 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2287 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2290 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2292 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2294 * gdb.threads/multiple-successive-infcall.c: New test.
2295 * gdb.threads/multiple-successive-infcall.exp: New file.
2297 2018-04-17 Tom Tromey <tom@tromey.com>
2299 * gdb.rust/simple.rs (Union): New type.
2300 (main): New local "u".
2301 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2303 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2305 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2306 number information in output of "whereis" command.
2307 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2309 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2311 * gdb.ada/info_types.exp: Adjust expected output to the line
2312 numbers now printed by "info var/func/type".
2313 * gdb.base/completion.exp: Likewise.
2314 * gdb.base/included.exp: Likewise.
2315 * gdb.cp/cp-relocate.exp: Likewise.
2316 * gdb.cp/cplusfuncs.exp: Likewise.
2317 * gdb.cp/namespace.exp: Likewise.
2318 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2320 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2322 * gdb.btrace/cpu.exp: New.
2324 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2326 * gdb.base/step-indirect-call-thunk.exp: New.
2327 * gdb.base/step-indirect-call-thunk.c: New.
2328 * gdb.reverse/step-indirect-call-thunk.exp: New.
2329 * gdb.reverse/step-indirect-call-thunk.c: New.
2331 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2333 * gdb.base/pie-fork.c: New file.
2334 * gdb.base/pie-fork.exp: New file.
2336 2018-04-11 Tom Tromey <tom@tromey.com>
2338 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2340 2018-04-10 Pedro Alves <palves@redhat.com>
2342 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2343 exits. Instead loop running forever.
2344 (fork_parent): Run forever too.
2346 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2348 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2349 mi_continue_to_line.
2350 * gdb.mi/mi-stack.c (callee4): Add comment.
2352 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2354 * gdb.mi/mi-stack.exp: Fix indentation.
2356 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2359 * gdb.arch/amd64-osabi.exp: New file.
2361 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2364 * gdb.base/osabi.exp: New file.
2366 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2368 * gdb.cp/static-typedef-print.exp: New file.
2369 * gdb.cp/static-typedef-print.cc: New file.
2371 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2373 * gdb.ada/varsize_limit: New testcase.
2375 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2377 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2379 * gdb.ada/notcplusplus: New testcase.
2381 * gdb.base/c-linkage-name.c: New file.
2382 * gdb.base/c-linkage-name.exp: New testcase.
2384 2018-03-26 Tom Tromey <tom@tromey.com>
2386 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2387 * gdb.python/py-framefilter.py (name_error): New global.
2388 (ErrorInName.function): Use name_error.
2390 2018-03-26 Tom Tromey <tom@tromey.com>
2393 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2395 2018-03-23 Keith Seitz <keiths@redhat.com>
2398 * gdb.cp/subtypes.exp: New file.
2399 * gdb.cp/subtypes.h: New file.
2400 * gdb.cp/subtypes.cc: New file.
2401 * gdb.cp/subtypes-2.cc: New file.
2403 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2405 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2406 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2407 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2408 -nostartfiles when compiling the test. Confirm that all registers
2409 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2411 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2413 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2414 option, syntax was wrong anyway.
2415 * gdb.arch/arm-disp-step.exp: Likewise.
2416 * gdb.arch/sparc64-regs.exp: Likewise.
2417 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2418 option, syntax was wrong anyway, switch to use
2419 prepare_for_testing.
2420 * gdb.arch/i386-disp-step.exp: Likewise.
2422 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2424 * gdb.ada/exec_changed.exp: Replace "target_info exists
2425 use_gdb_stub" by "use_gdb_stub".
2426 * gdb.ada/start.exp: Likewise.
2427 * gdb.base/async-shell.exp: Likewise.
2428 * gdb.base/attach-pie-misread.exp: Likewise.
2429 * gdb.base/attach-wait-input.exp: Likewise.
2430 * gdb.base/break-entry.exp: Likewise.
2431 * gdb.base/break-interp.exp: Likewise.
2432 * gdb.base/dprintf-detach.exp: Likewise.
2433 * gdb.base/nostdlib.exp: Likewise.
2434 * gdb.base/solib-nodir.exp: Likewise.
2435 * gdb.base/statistics.exp: Likewise.
2436 * gdb.base/testenv.exp: Likewise.
2437 * gdb.mi/mi-exec-run.exp: Likewise.
2438 * gdb.mi/mi-start.exp: Likewise.
2439 * gdb.multi/dummy-frame-restore.exp: Likewise.
2440 * gdb.multi/multi-arch-exec.exp: Likewise.
2441 * gdb.multi/multi-arch.exp: Likewise.
2442 * gdb.multi/tids.exp: Likewise.
2443 * gdb.multi/watchpoint-multi.exp: Likewise.
2444 * gdb.python/py-events.exp: Likewise.
2445 * gdb.threads/attach-into-signal.exp: Likewise.
2446 * gdb.threads/attach-stopped.exp: Likewise.
2447 * gdb.threads/threadapply.exp: Likewise.
2448 * lib/selftest-support.exp: Likewise.
2450 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2452 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2454 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2456 * gdb.perf/template-breakpoints.cc: New file.
2457 * gdb.perf/template-breakpoints.exp: New file.
2458 * gdb.perf/template-breakpoints.py: New file.
2460 2018-03-19 Tom Tromey <tom@tromey.com>
2462 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2464 * gdb.rust/simple.exp: Test bare identifier form of struct
2467 2018-03-19 Tom Tromey <tom@tromey.com>
2469 * gdb.gdb/observer.exp: Remove.
2471 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2473 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2474 "qualified" option when setting breakpoints.
2475 * gdb.trace/backtrace.exp: Likewise.
2476 * gdb.trace/circ.exp: Likewise.
2477 * gdb.trace/collection.exp: Likewise.
2478 * gdb.trace/disconnected-tracing.exp: Likewise.
2479 * gdb.trace/ftrace-lock.exp: Likewise.
2480 * gdb.trace/ftrace.exp: Likewise.
2481 * gdb.trace/infotrace.exp: Likewise.
2482 * gdb.trace/packetlen.exp: Likewise.
2483 * gdb.trace/passc-dyn.exp: Likewise.
2484 * gdb.trace/qtro.exp: Likewise.
2485 * gdb.trace/read-memory.exp: Likewise.
2486 * gdb.trace/report.exp: Likewise.
2487 * gdb.trace/signal.exp: Likewise.
2488 * gdb.trace/status-stop.exp: Likewise.
2489 * gdb.trace/strace.exp: Likewise.
2490 * gdb.trace/tfind.exp: Likewise.
2491 * gdb.trace/trace-break.exp: Likewise.
2492 * gdb.trace/trace-condition.exp: Likewise.
2493 * gdb.trace/trace-mt.exp: Likewise.
2494 * gdb.trace/tstatus.exp: Likewise.
2495 * gdb.trace/tsv.exp: Likewise.
2496 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2497 * gdb.trace/unavailable.exp: Likewise.
2498 * gdb.trace/while-dyn.exp: Likewise.
2500 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2502 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2503 that libinproctrace is copied to the target.
2505 2018-03-14 Tom Tromey <tom@tromey.com>
2508 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2510 * gdb.base/wchar.exp: Likewise.
2512 2018-03-14 Tom Tromey <tom@tromey.com>
2515 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2518 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2521 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2522 "target" to remote_exec.
2524 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2527 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2528 ${board}_upload): Remove.
2530 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2532 * gdb.cp/watch-cp.cc: New test.
2533 * gdb.cp/watch-cp.exp: New file.
2535 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2537 * gdb.base/infcall-nested-structs.exp: New file.
2538 * gdb.base/infcall-nested-structs.c: New file.
2539 * gdb.base/float.exp: Add riscv support.
2541 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2543 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2544 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2546 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2548 * gdb.server/abspath.exp: New file.
2549 * lib/gdb.exp (with_cwd): New procedure.
2551 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2553 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2555 (gdb_is_target_remote_prompt): New proc.
2556 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2557 (gdb_is_target_native): Pass prompt parameter to
2560 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2562 * gdb.base/load-command.c: New file.
2563 * gdb.base/load-command.exp: New file.
2564 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2565 (gdb_is_target_1): ...this, and generalize for other targets
2567 (gdb_is_target_remote): Use gdb_is_target_1.
2568 (gdb_is_target_native): use gdb_is_target_1.
2570 2018-02-26 Tom Tromey <tom@tromey.com>
2573 * gdb.python/py-framefilter.exp: Update test.
2575 2018-02-26 Tom Tromey <tom@tromey.com>
2577 * gdb.dwarf2/variant.c: New file.
2578 * gdb.dwarf2/variant.exp: New file.
2580 2018-02-26 Tom Tromey <tom@tromey.com>
2582 * gdb.rust/simple.exp: Accept more possible results in enum test.
2584 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2586 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2589 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2591 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2592 name of a variable: $actual_linejj -> $actual_line.
2594 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2596 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2598 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2600 * gdb.btrace/buffer-size.exp: Do not force BTS.
2602 2018-02-14 Pedro Alves <palves@redhat.com>
2604 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2607 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2609 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2612 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2614 * gdb.cp/m-static.exp: Check type of optimized out static
2617 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2619 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2620 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2622 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2623 Leszek Swirski <leszeks@google.com>
2625 * gdb.python/py-prettyprint.c
2626 (struct to_string_returns_value_inner,
2627 struct to_string_returns_value_wrapper): New.
2628 (main): Add tsrvw variable.
2629 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2630 ToStringReturnsValueWrapper): New classes.
2631 (register_pretty_printers): Register new pretty-printers.
2632 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2633 recursive pretty printer.
2634 * gdb.python/py-mi.exp: Likewise.
2636 2018-02-01 Leszek Swirski <leszeks@google.com>
2638 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2639 functions with the same name as an include file are parsed
2642 2018-02-01 Yao Qi <yao.qi@linaro.org>
2644 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2647 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2649 * gdb.arch/powerpc-prologue-frame.s: New file.
2650 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2651 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2653 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2655 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2657 2018-01-30 Pedro Alves <palves@redhat.com>
2660 * gdb.base/interrupt-daemon.c: New.
2661 * gdb.base/interrupt-daemon.exp: New.
2662 * gdb.multi/multi-term-settings.c: New.
2663 * gdb.multi/multi-term-settings.exp: New.
2665 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2667 * gdb.base/break.exp: Save the location where the breakpoint
2668 on break.c:47 was actually inserted when debugging the version
2669 compiled at -O2 and use it in the expected output of the "info
2670 break" test performed soon after.
2672 2018-01-22 Pedro Alves <palves@redhat.com>
2673 Sergio Durigan Junior <sergiodj@redhat.com>
2675 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2676 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2678 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2680 * gdb.base/break-include.c, gdb.base/break-include.inc,
2681 gdb.base/break-include.exp: New files.
2682 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2683 line number now being the actual line number where the breakpoint
2685 * gdb.mi/mi-break.exp: Likewise.
2686 * gdb.mi/mi-reverse.exp: Likewise.
2687 * gdb.mi/mi-simplerun.exp: Ditto.
2689 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2691 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2693 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2695 2018-01-21 Don Breazeal <donb@codesourcery.com>
2696 Andrew Burgess <andrew.burgess@embecosm.com>
2698 * gdb.mi/basics.c: Add new global.
2699 * gdb.mi/mi-frame-regs.exp: New file.
2700 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2703 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2705 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2706 non-parameter, and on an unknown symbol.
2708 2018-01-19 Tom Tromey <tom@tromey.com>
2710 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2711 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2713 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2715 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2716 setrlimit and chdir to int.
2718 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2720 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2722 (my_tend): Likewise.
2723 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2724 rationale of avoiding FP- and vector instructions.
2726 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2728 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2729 "info reg" with "\[ \t\]*".
2730 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2732 * gdb.arch/s390-multiarch.exp: Ditto.
2733 * gdb.base/pc-fp.exp: Ditto.
2734 * gdb.reverse/i386-precsave.exp: Ditto.
2735 * gdb.reverse/i386-reverse.exp: Ditto.
2736 * gdb.reverse/i387-env-reverse.exp: Ditto.
2737 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2739 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2741 * lib/gdb.exp (gdb_compile): Re-enable use of
2742 universal_compile_options for languages other than Rust.
2744 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2746 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2748 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2751 * gdb.base/solib-vanish.exp: New.
2752 * gdb.base/solib-vanish-main.c: New.
2753 * gdb.base/solib-vanish-lib1.c: New.
2754 * gdb.base/solib-vanish-lib2.c: New.
2756 2018-01-17 Yao Qi <yao.qi@linaro.org>
2758 * gdb.compile/compile.exp: Match the address printed for
2759 frame in the output of command "bt".
2761 2018-01-15 Tom Tromey <tom@tromey.com>
2763 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2766 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2768 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2770 (prepare): Return 0 on error, 1 on success.
2772 2018-01-12 Pedro Alves <palves@redhat.com>
2774 * gdb.base/continue-after-aborted-step-over.c: New.
2775 * gdb.base/continue-after-aborted-step-over.exp: New.
2777 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2779 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2780 options when not creating an executable.
2782 2018-01-11 Pedro Alves <palves@redhat.com>
2785 * gdb.server/stop-reply-no-thread.c: New file.
2786 * gdb.server/stop-reply-no-thread.exp: New file.
2788 2018-01-10 Pedro Alves <palves@redhat.com>
2791 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2792 functions too. Test setting breakpoints and printing C functions
2793 with no debug info too.
2794 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2796 2018-01-10 Pedro Alves <palves@redhat.com>
2799 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2802 2018-01-10 Pedro Alves <palves@redhat.com>
2805 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2807 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2809 * gdb.server/unittest.exp: Match the output in non-development
2812 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2814 * gdb.gdb/unittest.exp: Match output in non-development mode.
2816 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2818 * gdb.ada/access_tagged_param.exp: Relax expected output
2819 for value of "ObjL" in "continue" to pck.inspect breakpoint
2822 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2824 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2825 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2827 2018-01-05 Pedro Alves <palves@redhat.com>
2830 * gdb.base/libsegfault.exp: New.
2832 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2835 * gdb.ada/access_tagged_param.exp: New file.
2836 * gdb.ada/access_tagged_param/foo.adb: New file.
2838 2018-01-05 Pedro Alves <palves@redhat.com>
2841 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2842 exercise lower case too, and to exercise both full matching and
2845 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2847 * gdb.ada/rename_subscript_param: New testcase.
2849 2018-01-05 Jerome Guitton <guitton@adacore.com>
2851 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2853 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2855 * gdb.ada/convvar_comp: New testcase.
2857 2018-01-05 Xavier Roirand <roirand@adacore.com>
2859 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2860 (My_Table): New global variable.
2861 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2863 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2866 * gdb.ada/maint_with_ada: New testcase.
2868 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2871 * gdb.ada/bp_c_mixed_case: New testcase.
2873 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2876 * gdb.ada/complete.exp: Add "complete break ada" test.
2878 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2881 * gdb.ada/info_addr_mixed_case: New testcase.
2883 2018-01-03 Xavier Roirand <roirand@adacore.com>
2885 * gdb.ada/excep_handle.exp: New testcase.
2886 * gdb.ada/excep_handle/foo.adb: New file.
2887 * gdb.ada/excep_handle/pck.ads: New file.
2889 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2891 * gdb.base/step-line.c: Add extra empty line in copyright header.
2892 * gdb.base/step-line.inp: Likewise.
2894 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2896 * gdb.ada/dyn_stride.exp: Add slice test.
2898 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2900 * gdb.ada/dyn_stride: New testcase.
2902 2017-12-27 Stafford Horne <shorne@gmail.com>
2904 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2905 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2907 2017-12-27 Stafford Horne <shorne@gmail.com>
2909 * gdb.base/reggroups.c: New file.
2910 * gdb.base/reggroups.exp: New file.
2912 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2914 * gdb.dwarf2/ada-valprint-error.c: New file.
2915 * gdb.dwarf2/ada-valprint-error.exp: New file.
2917 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2919 * gdb.ada/assign_arr: New testcase.
2921 2017-12-18 Xavier Roirand <roirand@adacore.com>
2923 * gdb.ada/funcall_ptr: New testcase.
2925 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2928 * gdb.base/ptype-offsets.cc: New file.
2929 * gdb.base/ptype-offsets.exp: New file.
2931 2017-12-15 Yao Qi <yao.qi@linaro.org>
2933 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2936 2017-12-15 Xavier Roirand <roirand@adacore.com>
2938 * gdb.ada/same_component_name: New testcase.
2940 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2942 * gdb.ada/str_binop_equal: New testcase.
2944 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2946 * gdb.ada/task_switch_in_core: New testcase.
2948 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2950 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2951 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2952 call test_bkpt_qualified.
2953 (test_bkpt_qualified): New proc.
2955 2017-12-13 Pedro Alves <palves@redhat.com>
2957 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2958 Tighten regexp by matching with an anchor.
2960 2017-12-13 Pedro Alves <palves@redhat.com>
2962 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2963 ("expression with namespace"): New set of tests.
2964 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2965 (Nested::Test_NS::qux): New.
2966 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2967 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2969 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2971 * gdb.base/server-del-break.c: New file.
2972 * gdb.base/server-del-break.exp: New file.
2974 2017-12-12 Stafford Horne <shorne@gmail.com>
2976 * gdb.xml/tdesc-regs.exp: Add or1k support.
2978 2017-12-12 Stafford Horne <shorne@gmail.com>
2980 * gdb.base/bp-permanent.c: Define nop of or1k.
2982 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2984 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2985 output with components being reordered.
2987 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2989 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2990 output with components being reordered.
2992 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2993 Pedro Alves <palves@redhat.com>
2995 * gdb.base/maint.exp (check for .gdb_index): Check also for
2997 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2998 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2999 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3000 (.gdb_index used after symbol reloading): Support also .debug_names.
3001 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3003 2017-12-08 Yao Qi <yao.qi@linaro.org>
3005 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3006 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3008 2017-12-08 Yao Qi <yao.qi@linaro.org>
3010 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3011 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3013 2017-12-08 Yao Qi <yao.qi@linaro.org>
3015 * gdb.arch/aarch64-tagged-pointer.c: New file.
3016 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3018 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3020 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3023 2017-12-07 Keith Seitz <keiths@redhat.com>
3025 PR breakpoints/22569
3026 * gdb.linespec/ls-errs.exp: Change expected result of "break
3027 -source this file has spaces.c -line 3".
3028 Check that an explicit source file followed by whitespace is
3029 identified as an invalid explicit location.
3031 2017-12-07 Keith Seitz <keiths@redhat.com>
3033 * gdb.cp/nested-types.cc: New file.
3034 * gdb.cp/nested-types.exp: New file.
3035 * lib/cp-support.exp: Load data-structures.exp library.
3036 (debug_cp_test_ptype_class): New global.
3037 (cp_ptype_class_verbose, next_line): New procedures.
3038 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3039 Add and document new return value.
3040 Switch the list of lines to a queue.
3041 Add support for new `type' key for nested type definitions.
3042 Add debugging/troubleshooting messages.
3043 * lib/data-structures.exp: New file.
3045 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3047 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3048 with proc_with_prefix, don't use with_test_prefix.
3050 2017-12-07 Tom Tromey <tom@tromey.com>
3052 * gdb.base/break.exp: Add test for empty "commands".
3054 2017-12-07 Yao Qi <yao.qi@linaro.org>
3056 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3057 malloc and catch syscall.
3059 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3061 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3062 tests for explicit locations.
3064 2017-12-06 Pedro Alves <palves@redhat.com>
3066 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3067 force-disabling XML descriptions.
3069 2017-12-04 Pedro Alves <palves@redhat.com>
3072 * gdb.arch/amd64-disp-step-avx.S: New file.
3073 * gdb.arch/amd64-disp-step-avx.exp: New file.
3075 2017-12-03 Pedro Alves <palves@redhat.com>
3077 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3079 (parent_function): Print distinct messages when waitpid fails, or
3080 the child exits with a signal, or the child exits for an unhandled
3082 * gdb.threads/process-dies-while-detaching.exp
3083 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3084 it. Wait for both inferior output and GDB's prompt. Use an
3085 indirect spawn id list.
3086 (do_detach): New parameter 'child_exit'. Use it to compute
3087 expected inferior output.
3088 (test_detach, test_detach_watch, test_detach_killed_outside):
3089 Adjust to pass down the expected child exit kind.
3091 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3092 Sergio Durigan Junior <sergiodj@redhat.com>
3093 Pedro Alves <palves@redhat.com>
3095 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3097 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3099 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3100 to 'symbol-file' and 'add-symbol-file' can be
3101 position-independent.
3103 2017-12-01 Yao Qi <yao.qi@linaro.org>
3105 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3106 the URL in copyright header.
3107 * gdb.arch/aarch64-fp.exp: Likewise.
3108 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3109 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3110 * gdb.base/expand-psymtabs.exp: Likewise.
3111 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3112 * gdb.fortran/common-block.exp: Likewise.
3113 * gdb.fortran/common-block.f90: Likewise.
3114 * gdb.fortran/logical.exp: Likewise.
3115 * gdb.fortran/vla-datatypes.f90: Likewise.
3116 * gdb.fortran/vla-sub.f90: Likewise.
3118 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3120 * gdb.ada/repeat_dyn: New testcase.
3122 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3124 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3125 Update for changed thread numbering.
3126 * gdb.cell/bt.exp: Update for changed GDB output.
3128 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3130 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3131 setting isremote by hand.
3132 * boards/dwarf4-gdb-index.exp: Likewise.
3133 * boards/fission.exp: Likewise.
3134 * boards/stabs.exp: Likewise.
3136 2017-11-30 Pedro Alves <palves@redhat.com>
3138 * gdb.linespec/cpls-ops.exp
3139 (check_explicit_skips_function_argument): Extract the underlying
3140 type of size_t instead of hardcoding it.
3142 2017-11-29 Pedro Alves <palves@redhat.com>
3145 * gdb.linespec/cpls-abi-tag.cc: New file.
3146 * gdb.linespec/cpls-abi-tag.exp: New file.
3148 2017-11-29 Pedro Alves <palves@redhat.com>
3150 * gdb.base/langs.exp: Use -qualified.
3151 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3153 * gdb.cp/namespace.exp: Use -qualified.
3154 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3155 (overload-3, template-overload, template-ret-type, const-overload)
3156 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3158 (test_driver): Call them.
3159 * gdb.cp/save-bp-qualified.cc: New.
3160 * gdb.cp/save-bp-qualified.exp: New.
3161 * gdb.linespec/explicit.exp: Test -qualified.
3162 * lib/completion-support.exp (completion::explicit_opts_list): Add
3164 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3166 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3168 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3170 2017-11-29 Tom Tromey <tom@tromey.com>
3172 * gdb.base/relocate.exp: Update invalid argument test.
3173 Add new tests for invalid arguments.
3175 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3177 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3179 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3181 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3183 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3184 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3185 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3187 * gdb.cp/shadow.cc (B.func): Return 0.
3189 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3191 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3192 expected output in gdb_expect call to allow the exception
3193 message to be present as well. Fix syntax confusion to avoid
3194 TCL thinking that exception_name is an array.
3196 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3198 * gdb.arch/spu-info.c: Include <unistd.h>.
3199 (do_signal_test): Fix broken calls to write.
3200 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3201 Fix checks for empty mailboxes. Update signal tests for corrected
3202 do_signal_test routine. Allow nonzero event status.
3203 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3204 * gdb.cell/arch.exp: Use standard_output_file.
3205 * gdb.cell/break.exp: Likewise.
3206 * gdb.cell/bt.exp: Likewise.
3207 * gdb.cell/core.exp: Likewise.
3208 * gdb.cell/dwarfaddr.exp: Likewise.
3209 * gdb.cell/ea-cache.exp: Likewise.
3210 * gdb.cell/ea-standalone.exp: Likewise.
3211 * gdb.cell/f-regs.exp: Likewise.
3212 * gdb.cell/fork.exp: Likewise.
3213 * gdb.cell/gcore.exp: Likewise.
3214 * gdb.cell/mem-access.exp: Likewise.
3215 * gdb.cell/ptype.exp: Likewise.
3216 * gdb.cell/registers.exp: Likewise.
3217 * gdb.cell/sizeof.exp: Likewise.
3218 * gdb.cell/solib-symbol.exp: Likewise.
3219 * gdb.cell/solib.exp: Likewise.
3221 2017-11-25 Pedro Alves <palves@redhat.com>
3223 * gdb.base/complete-empty.exp: New file.
3224 * gdb.base/completion.exp: Adjust.
3226 2017-11-25 Pedro Alves <palves@redhat.com>
3228 * gdb.linespec/cpls-ops.cc: New file.
3229 * gdb.linespec/cpls-ops.exp: New file.
3230 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3231 factored out from ...
3232 (test_complete_prefix_range): ... this.
3234 2017-11-24 Pedro Alves <palves@redhat.com>
3236 * gdb.linespec/cpcompletion.exp: New file.
3237 * gdb.linespec/cpls-hyphen.cc: New file.
3238 * gdb.linespec/cpls.cc: New file.
3239 * gdb.linespec/cpls2.cc: New file.
3240 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3241 test to use test_gdb_complete_unique. Add label completion,
3242 keyword completion and explicit location completion tests.
3243 * lib/completion-support.exp: New file.
3245 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3247 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3248 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3249 when hitting an exception catchpoint.
3251 2017-11-22 Yao Qi <yao.qi@linaro.org>
3253 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3255 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3257 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3258 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3259 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3261 2017-11-22 Yao Qi <yao.qi@linaro.org>
3263 * gdb.base/info-os.exp: Pass pthreads.
3264 * gdb.multi/multi-attach.exp: Likewise.
3266 2017-11-22 Yao Qi <yao.qi@linaro.org>
3268 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3271 2017-11-22 Yao Qi <yao.qi@linaro.org>
3273 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3274 * gdb.base/break-interp.exp: Likewise.
3275 * gdb.base/jit-attach-pie.exp: Likewise.
3277 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3279 * gdb.base/float128.c (large128): New variable.
3280 * gdb.base/float128.exp: Add test to print largest __float128 value.
3282 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3284 * gdb.arch/vsx-regs.exp: Update register content checks.
3286 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3288 * gdb.arch/ppc-longdouble.exp: New file.
3289 * gdb.arch/ppc-longdouble.c: Likewise.
3291 2017-11-21 Pedro Alves <palves@redhat.com>
3293 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3295 2017-11-20 Pedro Alves <palves@redhat.com>
3297 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3298 (long_double_typedef): New typedefs.
3299 Use DEF on double and long double.
3300 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3302 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3303 and 'long_double_ptr_same_size' locals. Use them to decide
3304 whether cast from array/function to float is valid/invalid.
3306 2017-11-17 Tom Tromey <tom@tromey.com>
3308 * gdb.rust/traits.rs: New file.
3309 * gdb.rust/traits.exp: New file.
3311 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3313 * gdb.ada/minsyms: New testcase.
3315 2017-11-16 Pedro Alves <palves@redhat.com>
3317 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3318 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3320 2017-11-16 Pedro Alves <palves@redhat.com>
3322 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3323 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3325 2017-11-16 Pedro Alves <palves@redhat.com>
3327 * gdb.server/reconnect-ctrl-c.c: New file.
3328 * gdb.server/reconnect-ctrl-c.exp: New file.
3330 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3332 * gdb.python/py-rbreak.exp: New file.
3333 * gdb.python/py-rbreak.c: New file.
3334 * gdb.python/py-rbreak-func2.c: New file.
3336 2017-11-16 Pedro Alves <palves@redhat.com>
3338 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3340 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3343 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3345 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3348 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3350 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3353 2017-11-09 Pedro Alves <palves@redhat.com>
3355 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3356 factored out from ...
3357 (top level): ... here, and adjusted to avoid expecting beyond the
3358 prompt in a single gdb_test_multiple.
3360 2017-11-09 Pedro Alves <palves@redhat.com>
3362 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3364 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3365 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3366 * gdb.server/ext-run.exp ("kill" test): Likewise.
3367 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3369 2017-11-09 Pedro Alves <palves@redhat.com>
3371 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3372 match till end of line.
3374 2017-11-09 Pedro Alves <palves@redhat.com>
3376 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3378 2017-11-09 Pedro Alves <palves@redhat.com>
3380 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3381 New procedures, factored out from ...
3382 (top level): ... here, and adjusted to avoid expecting beyond the
3385 2017-11-09 Pedro Alves <palves@redhat.com>
3387 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3388 output. Fix '?' match.
3390 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3392 * gdb.ada/scoped_watch: New testcase.
3393 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3394 which is actually correct.
3395 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3396 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3398 2017-11-08 Pedro Alves <palves@redhat.com>
3400 * gdb.gdb/complaints.exp (test_initial_complaints)
3401 (test_serial_complaints, test_short_complaints): Call
3402 complaint_internal instead of complaint.
3404 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3406 * gdb.threads/tls-core.c: New file.
3407 * gdb.threads/tls-core.exp: Likewise.
3409 2017-11-08 Pedro Alves <palves@redhat.com>
3411 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3412 (p Exported_Capitalized): New test.
3413 (p exported_capitalized): New test.
3415 2017-11-07 Pedro Alves <palves@redhat.com>
3417 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3419 2017-11-07 Pedro Alves <palves@redhat.com>
3421 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3422 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3423 (disable_invalid, disable_inverted, disable_negative): New
3425 ("bad numbers"): New set of tests.
3427 2017-11-07 Pedro Alves <palves@redhat.com>
3429 * gdb.cp/ena-dis-br-range.exp: Add tests.
3431 2017-11-07 Pedro Alves <palves@redhat.com>
3433 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3435 2017-11-07 Xavier Roirand <roirand@adacore.com>
3436 Pedro Alves <palves@redhat.com>
3438 * gdb.base/ena-dis-br.exp: Add reference to
3439 gdb.cp/ena-dis-br-range.exp.
3440 * gdb.cp/ena-dis-br-range.exp: New file.
3441 * gdb.cp/ena-dis-br-range.cc: New file.
3443 2017-11-06 Pedro Alves <palves@redhat.com>
3445 * gdb.base/attach-non-pgrp-leader.c: New.
3446 * gdb.base/attach-non-pgrp-leader.exp: New.
3448 2017-11-06 Pedro Alves <palves@redhat.com>
3450 * configure.ac: No longer check for termio.h and sgtty.h.
3451 * configure: Regenerate.
3452 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3453 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3454 Remove termio and sgtty code.
3456 2017-11-03 Yao Qi <yao.qi@linaro.org>
3458 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3461 2017-11-03 Yao Qi <yao.qi@linaro.org>
3463 * gdb.python/py-thrhandle.exp: Skip it if python is not
3466 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3468 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3469 as a breakpoint command.
3471 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3474 * gdb.python/py-infthread.exp: Test calling
3475 InferiorThread.inferior () multiple times in a row.
3477 2017-10-27 Keith Seitz <keiths@redhat.com>
3479 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3480 Test "info break" for every inlined function breakpoint.
3482 2017-10-27 Yao Qi <yao.qi@linaro.org>
3484 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3486 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3488 * gdb.cp/classes.exp (test_static_members): Test printing
3490 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3491 (Inner::instance, Outer::instance): New.
3493 2017-10-24 Pedro Alves <palves@redhat.com>
3495 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3496 extra console" test in two stages.
3498 2017-10-24 Pedro Alves <palves@redhat.com>
3500 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3502 2017-10-24 Pedro Alves <palves@redhat.com>
3504 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3507 2017-10-24 Pedro Alves <palves@redhat.com>
3509 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3510 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3512 2017-10-24 Pedro Alves <palves@redhat.com>
3514 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3515 parameter and handle it. Don't output read value in test name.
3517 2017-10-24 Pedro Alves <palves@redhat.com>
3519 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3522 2017-10-24 Pedro Alves <palves@redhat.com>
3524 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3525 include the unstable output directory name in the test's name.
3526 (initial_setup_simple) <'set args'>: Use custom test name.
3528 2017-10-24 Pedro Alves <palves@redhat.com>
3530 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3531 with explicit test name.
3533 2017-10-20 Pedro Alves <palves@redhat.com>
3535 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3536 'wait -i'. Use gdb_assert and remote_close.
3538 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3540 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3541 number from variable rather than hard-coded.
3543 2017-10-19 Pedro Alves <palves@redhat.com>
3545 * gdb.base/long-inferior-output.c: New file.
3546 * gdb.base/long-inferior-output.exp: New file.
3548 2017-11-18 Keith Seitz <keiths@redhat.com>
3550 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3553 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3554 Add additional user-defined conversion operator tests.
3556 2017-10-17 Pedro Alves <palves@redhat.com>
3558 * boards/native-stdio-gdbserver.exp: Load "local-board".
3560 2017-10-17 Pedro Alves <palves@redhat.com>
3562 * gdb.base/quit-live.c: New file.
3563 * gdb.base/quit-live.exp: New file.
3565 2017-10-16 Keith Seitz <keiths@redhat.com>
3567 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3568 (class_with_protected_typedef, class_with_private_typedef)
3569 (struct_with_public_typedef, struct_with_protected_typedef)
3570 (struct_with_private_typedef): New classes/structs.
3571 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3572 typedefs and access specifiers.
3574 2017-10-16 Pedro Alves <palves@redhat.com>
3575 Simon Marchi <simon.marchi@polymtl.ca>
3577 * README (Local vs Remote vs Native): New section.
3578 * boards/local-board.exp: New file, with bits factored out from
3580 * boards/native-extended-gdbserver.exp: ... here. Load
3582 * boards/native-gdbserver.exp: Load "local-board".
3583 (${board}_spawn, ${board}_exec): Delete.
3584 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3586 * boards/stdio-gdbserver-base.exp: ... this new file.
3587 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3588 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3590 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3591 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3592 stdio_gdbserver_command.
3593 (${board}_get_remote_address, ${board}_get_comm_port)
3594 (${board}_download, ${board}_upload): Delete.
3595 (get_target_remote_pipe_cmd): New.
3597 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3599 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3600 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3601 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3602 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3603 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3604 remove with_test_prefix.
3606 2017-10-13 Pedro Alves <palves@redhat.com>
3608 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3609 * gdb.base/annota1.exp: Use it instead of is_remote.
3610 * gdb.base/annota3.exp: Use it instead of is_remote.
3611 * gdb.cp/annota2.exp: Use it instead of is_remote.
3612 * gdb.cp/annota3.exp: Use it instead of is_remote.
3613 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3615 2017-10-13 Pedro Alves <palves@redhat.com>
3617 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3618 (test_num_test_vars, run_and_count_vars, find_env)
3619 (test_set_unset_env, test_inherit_env_var): New procedures.
3620 (top level): Use them.
3622 2017-10-13 Pedro Alves <palves@redhat.com>
3624 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3625 also skip on stub-like targets.
3627 2017-10-13 Pedro Alves <palves@redhat.com>
3630 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3631 (top level): Move some tests to ...
3632 (test_not_found): ... this new procedure.
3633 (top level): Call it.
3635 2017-10-13 Pedro Alves <palves@redhat.com>
3637 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3638 expect different "info terminal" output if testing with a
3641 2017-10-13 Pedro Alves <palves@redhat.com>
3642 Simon Marchi <simon.marchi@polymtl.ca>
3645 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3647 2017-10-13 Pedro Alves <palves@redhat.com>
3649 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3652 2017-10-13 Pedro Alves <palves@redhat.com>
3654 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3657 2017-10-13 Pedro Alves <palves@redhat.com>
3659 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3662 2017-10-13 Pedro Alves <palves@redhat.com>
3664 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3666 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3667 instead of is_remote.
3669 2017-10-13 Pedro Alves <palves@redhat.com>
3671 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3672 (top level): Add comment.
3674 2017-10-13 Pedro Alves <palves@redhat.com>
3676 * gdb.base/remote.exp (top level): Fix comment typo and add
3679 2017-10-13 Pedro Alves <palves@redhat.com>
3680 Simon Marchi <simon.marchi@polymtl.ca>
3682 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3683 calls and add comments. Skip test if use_gdb_stub is set.
3684 (top level): Use "set cwd" command instead of "cd" command.
3686 2017-10-13 Pedro Alves <palves@redhat.com>
3688 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3689 is_remote target check.
3691 2017-10-13 Pedro Alves <palves@redhat.com>
3693 * gdb.base/scope.exp: Use build_executable + clean_restart +
3694 gdb_file_cmd instead of prepare_for_testing and no longer skip
3695 "before run" tests on is_remote target boards. Update comments.
3696 * boards/native-extended-gdbserver.exp
3697 (extended_gdbserver_load_last_file): New, factored out from ...
3698 (gdb_load): ... this. Move further below and add comment.
3699 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3701 2017-10-12 Pedro Alves <palves@redhat.com>
3703 * gdb.base/attach.exp: Remove references to gdb64.
3704 * gdb.base/dbx.exp: Remove references to gdb64.
3706 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3707 Pedro Alves <palves@redhat.com>
3709 * gdb.base/label.exp: Remove is_remote target check.
3711 2017-10-12 Pedro Alves <palves@redhat.com>
3713 * gdb.base/auvx.exp (coredir): Update comment.
3714 (top level) <core_works>: Use "set cwd" command instead of "cd"
3717 2017-10-12 Pedro Alves <palves@redhat.com>
3718 Simon Marchi <simon.marchi@polymtl.ca>
3720 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3723 2017-10-12 Pedro Alves <palves@redhat.com>
3724 Simon Marchi <simon.marchi@polymtl.ca>
3726 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3727 Instead skip if there's any gdb_protocol set.
3729 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3730 Pedro Alves <palves@redhat.com>
3732 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3734 2017-10-12 Pedro Alves <palves@redhat.com>
3735 Simon Marchi <simon.marchi@polymtl.ca>
3737 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3738 instead of on dejagnu remote boards.
3740 2017-10-12 Pedro Alves <palves@redhat.com>
3741 Simon Marchi <simon.marchi@polymtl.ca>
3743 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3744 checks. Use build_executable + clean_restart instead of
3745 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3746 of enabling non-stop after starting gdb.
3748 2017-10-12 Pedro Alves <palves@redhat.com>
3750 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3751 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3752 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3753 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3755 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3757 * gdb.arch/arc-tdesc-cpu.exp: New file.
3758 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3760 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3762 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3764 2017-10-10 Pedro Alves <palves@redhat.com>
3766 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3769 2017-10-10 Pedro Alves <palves@redhat.com>
3771 * lib/selftest-support.exp (selftest_setup): Update for
3772 captured_command_loop's prototype change.
3774 2017-10-09 Pedro Alves <palves@redhat.com>
3776 Test both arch1=>arch2 and arch2=>arch1.
3778 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3779 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3781 (append_arch1_options, append_arch2_options, append_arch_options)
3782 (build_executables): New procedures.
3783 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3785 (top level): Add new 'first_arch' testing axis.
3787 2017-10-09 Pedro Alves <palves@redhat.com>
3789 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3791 (thread_start, all_started): New functions.
3792 (main): Spawn new thread and wait until it is scheduled.
3793 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3795 (do_test): Add 'selected_thread' parameter. Run to all_started
3796 instead of main. Explicitly set the breakpoint at main. Switch
3797 to the SELECTED_THREAD thread.
3798 (top level): Test handling the exec event with either the main
3799 thread or the second thread selected.
3801 2017-10-09 Pedro Alves <palves@redhat.com>
3803 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3804 logic. Move STOP marker after the value checks.
3805 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3808 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3810 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3812 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3814 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3815 integer-to-dfp conversion.
3816 * gdb.base/dfp-test.exp: Likewise.
3818 2017-10-04 Pedro Alves <palves@redhat.com>
3820 * gdb.multi/hangout.c: Include <unistd.h>.
3821 (hangout_loop): New function.
3822 (main): Call alarm. Call hangout_loop in a loop.
3823 * gdb.multi/hello.c: Include <unistd.h>.
3824 (hello_loop): New function.
3825 (main): Call alarm. Call hangout_loop in a loop.
3826 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3827 inferior with the other selected.
3829 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3831 * gdb.mi/list-thread-groups-available.exp: New file.
3832 * gdb.mi/list-thread-groups-available.c: New file.
3834 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3836 * gdb.base/set-cwd.exp: Make it available on
3837 native-extended-gdbserver.
3839 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3841 * gdb.base/set-cwd.c: New file.
3842 * gdb.base/set-cwd.exp: Likewise.
3844 2017-10-02 Tom Tromey <tom@tromey.com>
3847 * gdb.rust/simple.rs (main): New variable "fslice".
3848 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3850 2017-10-02 Tom Tromey <tom@tromey.com>
3852 * gdb.rust/simple.exp: Test ptype of a slice.
3854 2017-10-02 Tom Tromey <tom@tromey.com>
3856 * gdb.rust/simple.exp: Test index of slice.
3858 2017-09-27 Tom Tromey <tom@tromey.com>
3860 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3862 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3863 Pedro Alves <palves@redhat.com>
3865 * gdb.base/compare-sections.exp (get value of read-only section): Read
3867 (corrupt read-only section): Likewise and don't set written if patching
3870 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3872 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3875 2017-09-20 Pedro Alves <palves@redhat.com>
3877 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3878 symbol names in gdb's output.
3879 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3881 2017-09-20 Pedro Alves <palves@redhat.com>
3883 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3885 (test_list_ambiguous_symbol): ... this and add a symbol name
3887 (test_list_ambiguous_function): Reimplement on top of
3888 test_list_ambiguous_symbol and also test listing ambiguous
3890 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3891 (ambiguous_fun): ... this.
3892 (ambiguous_var): New.
3893 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3894 (ambiguous_fun): ... this.
3895 (ambiguous_var): New.
3897 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3899 * gdb.base/starti.c: New file.
3900 * gdb.base/starti.exp: New file.
3901 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3903 2017-09-14 Pedro Alves <palves@redhat.com>
3905 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3906 (top level): Use it instead of runto.
3908 2017-09-11 Tom Tromey <tom@tromey.com>
3910 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3912 2017-09-11 Tom Tromey <tom@tromey.com>
3914 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3915 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3917 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3919 * gdb.fortran/printing-types.exp: New file.
3920 * gdb.fortran/printing-types.exp: New file.
3922 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3924 * gdb.fortran/vla-ptype.exp: Fix typos.
3925 * gdb.fortran/vla-value.exp: Same.
3927 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3929 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3930 * gdb.mi/mi-var-child-f.exp: Likewise.
3931 * gdb.mi/mi-vla-fortran.exp: Likewise.
3933 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3934 Christoph Weinmann <christoph.t.weinmann@intel.com>
3935 Bernhard Heckel <bernhard.heckel@intel.com>
3937 * gdb.fortran/ptr-indentation.f90: New file.
3938 * gdb.fortran/ptr-indentation.exp: New file.
3940 2017-09-05 Tom Tromey <tom@tromey.com>
3943 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3945 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3947 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3949 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3951 * gdb.threads/tls-nodebug-pie.c: New file.
3952 * gdb.threads/tls-nodebug-pie.exp: New file.
3954 2017-09-05 Tom Tromey <tom@tromey.com>
3956 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3959 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3961 * gdb.multi/multi-arch-exec.exp: Test with different
3962 "follow-exec-mode" settings.
3963 (do_test): New procedure.
3965 2017-09-04 Pedro Alves <palves@redhat.com>
3967 * gdb.base/func-static.c (S::method const, S::method volatile)
3968 (S::method volatile const): New methods.
3969 (c_s, v_s, cv_s): New instances.
3970 (main): Call method() on them.
3971 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3972 (cannot_resolve): New procedure.
3973 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3974 print-quote-unquoted columns.
3975 (do_test): Test printing each scope too.
3977 2017-09-04 Pedro Alves <palves@redhat.com>
3979 * gdb.base/local-static.exp: Also test with
3980 class::method::variable wholly quoted.
3981 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3983 2017-09-04 Pedro Alves <palves@redhat.com>
3985 * gdb.base/local-static.c: New.
3986 * gdb.base/local-static.cc: New.
3987 * gdb.base/local-static.exp: New.
3989 2017-09-04 Pedro Alves <palves@redhat.com>
3991 * gdb.asm/asm-source.exp: Add casts to int.
3992 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3993 (dataglobal64_1, dataglobal64_2): New globals.
3994 * gdb.base/nodebug.exp: Test different expressions involving the
3995 new globals, with print, whatis and ptype. Add casts to int.
3996 * gdb.base/solib-display.exp: Add casts to int.
3997 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3998 * gdb.cp/m-static.exp: Add cast to int.
3999 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4000 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4001 tls variable with no debug info without a cast. Test with a cast
4003 * gdb.trace/entry-values.exp: Add casts.
4005 2017-09-04 Pedro Alves <palves@redhat.com>
4007 * gdb.base/nodebug.exp: Test that ptype's error about functions
4008 with unknown return type includes the function name too.
4010 2017-09-04 Pedro Alves <palves@redhat.com>
4012 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4013 return type of munmap in infcall.
4014 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4015 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4016 type of ftell in infcall.
4017 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4018 type of getpid in infcall.
4019 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4021 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4022 Bail on failure to extract the pid.
4023 * gdb.base/nodebug.c: #include <stdint.h>.
4024 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4026 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4027 Change expected output of print/whatis/ptype with functions with
4028 no debug info. Test all supported languages. Call
4029 test_call_promotion.
4030 * gdb.compile/compile.exp: Adjust expected output to expect
4032 * gdb.threads/siginfo-threads.exp: Likewise.
4034 2017-09-04 Pedro Alves <palves@redhat.com>
4036 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4037 "prototypes". Test calling float functions via prototyped and
4038 unprototyped function pointers.
4039 (perform_all_tests): New parameter "prototypes". Pass it down.
4040 (top level): Pass down "prototypes" parameter to
4043 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4045 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4046 Test with nested loops.
4048 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4050 * gdb.base/commands.exp: Call the new procedures.
4051 (loop_break_test, loop_continue_test): New procedures.
4053 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4055 * gdb.base/commands.exp: Call new procedure.
4056 (define_if_without_arg_test): New procedure.
4058 2017-09-04 Pedro Alves <palves@redhat.com>
4060 * gdb.base/list-ambiguous.exp: New file.
4061 * gdb.base/list-ambiguous0.c: New file.
4062 * gdb.base/list-ambiguous1.c: New file.
4063 * gdb.base/list.exp (test_list_range): Adjust expected output.
4065 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4067 * gdb.base/share-env-with-gdbserver.c: New file.
4068 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4070 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4072 * gdb.base/commands.exp (gdbvar_simple_if_test,
4073 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4074 progvar_simple_if_test, progvar_simple_while_test,
4075 progvar_complex_if_while_test, user_defined_command_test,
4076 user_defined_command_args_eval,
4077 user_defined_command_args_stack_test,
4078 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4079 temporary_breakpoint_commands,
4080 gdb_test_no_prompt, redefine_hook_test,
4081 redefine_backtrace_test): Remove "global gdb_prompt".
4083 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4085 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4086 New proc, call it from toplevel.
4088 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4091 * gdb.server/normal.c: New file, copied from gdb.base.
4092 * gdb.server/run-without-local-binary.exp: New file.
4094 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4096 * gdb.arch/sparc64-adi.exp: New file.
4097 * gdb.arch/sparc64-adi.c: New file.
4099 2017-08-22 Pedro Alves <palves@redhat.com>
4101 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4102 (top level): Add "list all overloads" tests.
4104 2017-08-22 Tom Tromey <tom@tromey.com>
4106 * gdb.gdb/xfullpath.exp: Remove.
4108 2017-08-21 Pedro Alves <palves@redhat.com>
4111 * gdb.base/symbol-alias.c: New.
4112 * gdb.base/symbol-alias2.c: New.
4113 * gdb.base/symbol-alias.exp: New.
4115 2017-08-21 Pedro Alves <palves@redhat.com>
4117 * gdb.base/dfp-test.c
4118 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4119 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4120 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4121 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4122 * gdb.base/whatis-ptype-typedefs.c: New.
4123 * gdb.base/whatis-ptype-typedefs.exp: New.
4124 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4125 (an_int, an_int_type, an_int_type2): New globals.
4126 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4127 involving typedefs and cast expressions.
4128 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4129 (lookup_typedefs_function): New.
4130 (typedefs_pretty_printers_dict): New.
4131 (top level): Register lookup_typedefs_function in
4132 gdb.pretty_printers.
4134 2017-08-18 Yao Qi <yao.qi@linaro.org>
4136 * gdb.server/unittest.exp: New.
4138 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4141 * gdb.base/environ.exp: Add test to check if 'unset environment'
4144 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4146 * lib/gdb.exp (universal_compile_options): New caching proc.
4147 (gdb_compile): Suppress GCC's coloring of messages.
4149 2017-08-14 Tom Tromey <tom@tromey.com>
4152 * gdb.base/printcmds.exp (test_radices): New function.
4153 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4154 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4155 * lib/gdb.exp (get_integer_valueof): Use p/d.
4157 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4159 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4162 2017-08-05 Tom Tromey <tom@tromey.com>
4164 * gdb.rust/simple.exp: Allow String to appear in a different
4167 2017-07-26 Yao Qi <yao.qi@linaro.org>
4169 * gdb.gdb/unittest.exp: Invoke command
4170 "maintenance check xml-descriptions".
4172 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4174 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4176 (hex128): Drop erroneous calculation of parameters.
4178 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4180 * gdb.python/py-unwind.exp: Disable stack protection when
4183 2017-07-20 Pedro Alves <palves@redhat.com>
4185 * gdb.base/default.exp (set language): Adjust expected output.
4187 2017-07-20 Pedro Alves <palves@redhat.com>
4189 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4190 (test_minsym): ... this, and make static.
4191 (get_pck__foo__bar__minsym): Rename to ...
4192 (get_test_minsym): ... this.
4193 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4194 symbol names and comments.
4195 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4196 (get_test_minsym): ... this.
4197 (pck__foo__bar__minsym__2): Rename to ...
4198 (test_minsym): ... this.
4201 2017-07-17 Pedro Alves <palves@redhat.com>
4203 * gdb.base/completion.exp: Adjust expected output.
4204 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4205 the completer works.
4207 2017-07-17 Pedro Alves <palves@redhat.com>
4209 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4211 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4213 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4215 2017-07-14 Tom Tromey <tom@tromey.com>
4218 * gdb.rust/simple.exp: Add tests.
4220 2017-07-14 Tom Tromey <tom@tromey.com>
4222 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4224 2017-07-14 Pedro Alves <palves@redhat.com>
4226 * gdb.linespec/base/one/thefile.cc (z1): New function.
4227 * gdb.linespec/base/two/thefile.cc (z2): New function.
4228 * gdb.linespec/linespec.exp: Add tests.
4230 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4232 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4233 to mi_create_breakpoint.
4235 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4237 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4238 mi_create_breakpoint.
4240 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4242 * gdb.dlang/demangle.exp: Update for demangling changes.
4244 2017-07-09 Tom Tromey <tom@tromey.com>
4246 * gdb.dwarf2/shortpiece.exp: New file.
4248 2017-07-06 David Blaikie <dblaikie@gmail.com>
4250 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4251 built from fissiont-multi-cu{1,2}.c.
4252 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4253 except putting 'main' and 'func' in separate CUs in the same DWO file.
4254 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4256 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4259 2017-07-06 Pedro Alves <palves@redhat.com>
4261 * gdb.python/py-unwind.exp: Test flushregs.
4263 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4266 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4267 tests for alias commands and trailing whitespace.
4269 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4272 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4275 2017-06-29 Pedro Alves <palves@redhat.com>
4277 * gdb.base/printcmds.exp: Add tests.
4279 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4282 * gdb.base/reread-readsym.exp: New file.
4283 * gdb.base/reread-readsym.c: New file.
4285 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4287 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4290 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4292 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4294 * gdb.arch/powerpc-power9.s: Likewise.
4296 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4298 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4299 on 32-bit x86 targets. Exploit is_*_target macros where
4302 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4304 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4307 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4309 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4310 located in one or more DWARF pieces.
4312 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4314 * lib/gdb.exp (get_endianness): New proc.
4315 * gdb.arch/aarch64-fp.exp: Use it.
4316 * gdb.arch/altivec-regs.exp: Likewise.
4317 * gdb.arch/e500-regs.exp: Likewise.
4318 * gdb.arch/vsx-regs.exp: Likewise.
4319 * gdb.base/dump.exp: Likewise.
4320 * gdb.base/funcargs.exp: Likewise.
4321 * gdb.base/gnu_vector.exp: Likewise.
4322 * gdb.dwarf2/formdata16.exp: Likewise.
4323 * gdb.dwarf2/implptrpiece.exp: Likewise.
4324 * gdb.dwarf2/nonvar-access.exp: Likewise.
4325 * gdb.python/py-inferior.exp: Likewise.
4326 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4328 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4331 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4332 stack value pieces are taken from the LSB end.
4334 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4336 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4337 variable at nonzero offset.
4339 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341 * gdb.dwarf2/var-access.c: New file.
4342 * gdb.dwarf2/var-access.exp: New test.
4343 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4345 2017-06-12 Tom Tromey <tom@tromey.com>
4347 * gdb.dwarf2/formdata16.exp: Add tests.
4349 2017-06-12 Tom Tromey <tom@tromey.com>
4351 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4353 2017-06-12 Tom Tromey <tom@tromey.com>
4356 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4357 * gdb.arch/vsx-regs.exp: Update tests.
4358 * gdb.arch/s390-vregs.exp (hex128): New proc.
4360 * gdb.arch/altivec-regs.exp: Update tests.
4362 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4364 * gdb.base/startup-with-shell.c: New file.
4365 * gdb.base/startup-with-shell.exp: Likewise.
4367 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4369 * gdb.server/non-existing-program.exp: Update regex in order to
4370 reflect the fact that gdbserver is now using fork_inferior (with a
4371 shell) to startup the inferior.
4373 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4375 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4376 support function calls from GDB.
4378 2017-05-21 Tom Tromey <tom@tromey.com>
4381 * gdb.rust/unsized.exp: New file.
4382 * gdb.rust/unsized.rs: New file.
4384 2017-05-19 Tom Tromey <tom@tromey.com>
4387 * gdb.rust/watch.exp: New file.
4388 * gdb.rust/watch.rs: New file.
4390 2017-05-18 Tom Tromey <tom@tromey.com>
4392 * gdb.rust/simple.exp: Allow Box to be qualified.
4394 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4396 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4398 2017-05-18 Pedro Alves <palves@redhat.com>
4400 * gdb.base/fileio.c (test_write, test_read, test_close)
4401 (test_fstat): Don't print 'ret' in the fail path.
4403 2017-05-18 Pedro Alves <palves@redhat.com>
4405 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4406 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4407 (test_system, test_rename, test_unlink, test_time): Change
4409 * gdb.base/fileio.exp (stop_msg): Adjust.
4411 2017-05-18 Pedro Alves <palves@redhat.com>
4413 * gdb.base/fileio.c (null_str): New global.
4414 (test_stat): Use it.
4415 * gdb.base/fileio.exp: Remove nowarnings.
4417 2017-05-17 Yao Qi <yao.qi@linaro.org>
4419 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4421 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4423 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4425 (top-level): Invoke test_set_inferior_tty.
4427 2017-05-04 Pedro Alves <palves@redhat.com>
4429 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4430 Add parens to print call for Python 3.
4432 2017-05-03 Keith Seitz <keiths@redhat.com>
4434 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4437 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4439 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4442 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4444 * gdb.python/py-record-btrace.exp: Remove test for
4445 gdb.BtraceInstruction.error.
4447 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4449 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4451 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4453 * gdb.python/py-record-btrace-threads.c: New file.
4454 * gdb.python/py-record-btrace-threads.exp: New file.
4456 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4459 * gdb.base/environ.exp: Make test available in all architectures.
4460 Move bits related to "info program" testing to
4461 gdb.base/info-program.exp. Rewrite tests to use the two new
4462 procedures mentione below.
4463 (test_set_show_env_var) New procedure.
4464 (test_set_show_env_var_equal): Likewise.
4465 * gdb.base/info-program.exp: New file.
4467 2017-04-27 Keith Seitz <keiths@redhat.com>
4469 * gdb.cp/oranking.cc (test15): New function.
4470 (main): Call test15 and declare additional variables for testing.
4471 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4472 "p foo101('abc')" tests.
4473 Add tests for cv qualifier overloads.
4474 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4475 "lvalue reference overload" test.
4476 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4477 "print value of f1 on Child&& in f2" test.
4479 2017-04-19 Pedro Alves <palves@redhat.com>
4481 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4483 (top level): Call it.
4484 * lib/gdb.exp (gdb_define_cmd): New procedure.
4486 2017-04-12 Pedro Alves <palves@redhat.com>
4489 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4490 (wchar): New global.
4491 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4492 (do_test_wide_char, wide_char_types_no_program, top level): Add
4495 2017-04-12 Pedro Alves <palves@redhat.com>
4498 * gdb.cp/wide_char_types.c: New file.
4499 * gdb.cp/wide_char_types.exp: New file.
4501 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4504 * gdb.trace/tsv.exp: Add test for "tsave -r".
4506 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4508 * gdb.dlang/watch-loc.c: New file.
4509 * gdb.dlang/watch-loc.exp: New file.
4511 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4513 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4515 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4517 * gdb.arch/arc-analyze-prologue.S: New file.
4518 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4520 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4522 * gdb.arch/arc-decode-insn.S: New file.
4523 * gdb.arch/arc-decode-insn.exp: Likewise.
4525 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4528 * gdb.arch/sparc64-regs.exp: New file.
4529 * gdb.arch/sparc64-regs.S: Likewise.
4531 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4533 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4534 and memory view on Python 3.
4536 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4537 Keith Seitz <keiths@redhat.com>
4540 * gdb.cp/demangle.exp: Add rvalue reference tests.
4541 * gdb.cp/rvalue-ref-casts.cc: New file.
4542 * gdb.cp/rvalue-ref-casts.exp: New file.
4543 * gdb.cp/rvalue-ref-overload.cc: New file.
4544 * gdb.cp/rvalue-ref-overload.exp: New file.
4545 * gdb.cp/rvalue-ref-params.cc: New file.
4546 * gdb.cp/rvalue-ref-params.exp: New file.
4547 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4548 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4549 * gdb.cp/rvalue-ref-types.cc: New file.
4550 * gdb.cp/rvalue-ref-types.exp: New file.
4551 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4552 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4554 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4556 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4559 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4561 * lib/mi-support.exp (mi_gdb_test): Add additional message
4562 for unexpected output.
4564 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4566 * gdb.base/examine-backward.c (Barrier): New character array
4567 constant, to ensure that TestStrings is preceded by a string
4570 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4572 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4573 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4574 and implicit pointer into such a location.
4576 2017-03-16 Doug Evans <dje@google.com>
4578 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4580 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4582 * gdb.cp/m-static.exp: Fix expectation for prototype of
4583 test5.single_constructor and single_constructor::single_constructor.
4585 2017-03-16 Doug Evans <dje@google.com>
4587 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4588 * gdb.guile/scm-lazy-string.c: New file.
4589 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4590 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4591 for pointer, array, typedef lazy strings.
4593 2017-03-16 Doug Evans <dje@google.com>
4595 PR python/17728, python/18439, python/18779
4596 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4597 * gdb.python/py-lazy-string.c (pointer): New typedef.
4598 (main): New locals ptr, array, typedef_ptr.
4599 * gdb.python/py-value.exp: Move lazy string tests to ...
4600 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4601 array, typedef lazy strings.
4603 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4605 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4606 Add optional 'test' parameter.
4608 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4610 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4611 Skip for versions of DejaGnu < 1.5.
4613 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4615 * lib/gdb.exp (dejagnu_version): New proc.
4616 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4617 Use dejagnu_version.
4619 2017-03-10 Keith Seitz <keiths@redhat.com>
4622 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4623 type from destructor regexps.
4624 Add a branch which actually passes the test.
4625 Adjust "ptype t5i" test names.
4627 2017-03-08 Pedro Alves <palves@redhat.com>
4629 * gdb.base/step-over-exit.exp: Add explicit test message.
4631 2017-03-08 Pedro Alves <palves@redhat.com>
4634 * gdb.threads/interrupt-while-step-over.c: New file.
4635 * gdb.threads/interrupt-while-step-over.exp: New file.
4637 2017-03-08 Pedro Alves <palves@redhat.com>
4639 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4640 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4642 2017-03-08 Pedro Alves <palves@redhat.com>
4644 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4645 PKRU as not supported as a PASS.
4647 2017-03-08 Pedro Alves <palves@redhat.com>
4649 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4650 prefix instead of $binfile1/$binfile2.
4651 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4653 * gdb.python/py-completion.exp: Use "load python file" as test
4654 messages instead of unstable path names.
4656 2017-03-08 Pedro Alves <palves@redhat.com>
4657 Jan Kratochvil <jan.kratochvil@redhat.com>
4660 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4662 (top level): Call it.
4664 2017-03-08 Pedro Alves <palves@redhat.com>
4667 * gdb.tui/tui-nl-filtered-output.exp: New file.
4669 2017-03-08 Pedro Alves <palves@redhat.com>
4671 * gdb.base/completion.exp: Move TUI completion tests to ...
4672 * gdb.tui/completion.exp: ... this new file.
4674 2017-03-08 Pedro Alves <palves@redhat.com>
4676 * gdb.base/tui-disasm-long-lines.c,
4677 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4678 gdb.base/tui-layout.exp: Move to ...
4679 * gdb.tui/: ... this new directory.
4681 2017-03-07 Pedro Alves <palves@redhat.com>
4683 * gdb.base/tui-layout.c: New file.
4684 * gdb.base/tui-layout.exp: New file.
4686 2017-03-07 Pedro Alves <palves@redhat.com>
4688 * gdb.base/tui-layout.c: Rename to ...
4689 * gdb.base/tui-disasm-long-lines.c: ... this.
4690 * gdb.base/tui-layout.exp: Rename to ...
4691 * gdb.base/tui-disasm-long-lines.exp: ... this.
4693 2017-03-07 Pedro Alves <palves@redhat.com>
4695 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4697 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4699 * i386-mpx-call.c: New file.
4700 * i386-mpx-call.exp: New file.
4702 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4704 * gdb.arch/powerpc-power.exp: Delete test.
4705 * gdb.arch/powerpc-power.s: Likewise.
4706 * gdb.disasm/disassembler-options.exp: New test.
4707 * gdb.arch/powerpc-altivec.exp: Likewise.
4708 * gdb.arch/powerpc-altivec.s: Likewise.
4709 * gdb.arch/powerpc-altivec2.exp: Likewise.
4710 * gdb.arch/powerpc-altivec2.s: Likewise.
4711 * gdb.arch/powerpc-altivec3.exp: Likewise.
4712 * gdb.arch/powerpc-altivec3.s: Likewise.
4713 * gdb.arch/powerpc-power7.exp: Likewise.
4714 * gdb.arch/powerpc-power7.s: Likewise.
4715 * gdb.arch/powerpc-power8.exp: Likewise.
4716 * gdb.arch/powerpc-power8.s: Likewise.
4717 * gdb.arch/powerpc-power9.exp: Likewise.
4718 * gdb.arch/powerpc-power9.s: Likewise.
4719 * gdb.arch/powerpc-vsx.exp: Likewise.
4720 * gdb.arch/powerpc-vsx.s: Likewise.
4721 * gdb.arch/powerpc-vsx2.exp: Likewise.
4722 * gdb.arch/powerpc-vsx2.s: Likewise.
4723 * gdb.arch/powerpc-vsx3.exp: Likewise.
4724 * gdb.arch/powerpc-vsx3.s: Likewise.
4725 * gdb.arch/arm-disassembler-options.exp: Likewise.
4726 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4727 * gdb.arch/s390-disassembler-options.exp: Likewise.
4729 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4731 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4732 (check_supported_features): ... this. Changed return type to void.
4733 (supports_rdseed): New static global.
4734 (rdseed): Check supports_rdseed.
4735 (initialize): Call check_supported_features.
4737 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4739 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4740 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4742 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4743 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4745 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4747 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4750 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 * gdb.dwarf2/formdata16.c: New file.
4753 * gdb.dwarf2/formdata16.exp: New file.
4754 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4756 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4758 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4759 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4760 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4761 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4764 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4766 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4768 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4771 * gdb.base/maint.exp: Add testcases for when the commands do
4774 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4776 * gdb.cp/chained-calls.exp: Use p instead of P.
4778 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4780 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4781 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4783 2017-02-14 Tom Tromey <tom@tromey.com>
4786 * gdb.python/py-events.exp: Add before_prompt event tests.
4788 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4790 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4792 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4794 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4795 (main): Call my_unique_function_name.
4796 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4797 completion of patterns with a single match.
4798 Add missing -re switches to gdb_test_multiple calls.
4800 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4802 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4803 return if core file is not recognized.
4805 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4807 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4810 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4812 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4815 2017-02-10 Tom Tromey <tom@tromey.com>
4817 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4819 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4822 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4824 2017-02-08 Jerome Guitton <guitton@adacore.com>
4826 * gdb.base/define.exp: Add test for command abbreviations
4829 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4831 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4832 * gdb.reverse/insn-reverse-x86.c: New file.
4834 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4837 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4839 2017-02-03 Tom Tromey <tom@tromey.com>
4842 * gdb.rust/simple.exp: Add new tests.
4844 2017-02-02 Pedro Alves <palves@redhat.com>
4846 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4849 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4851 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4852 taking a 2-byte value out of a 4-byte DWARF implicit value on
4854 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4855 logic. Add test cases for DW_OP_implicit.
4857 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4859 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4861 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4863 * gdb.btrace/enable.exp: Call gdb_exit before
4864 skip_gdbserver_tests.
4866 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4868 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4871 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4873 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4874 the test is skipped.
4875 * gdb.btrace/data.exp: Likewise.
4876 * gdb.btrace/delta.exp: Likewise.
4877 * gdb.btrace/dlopen.exp: Likewise.
4878 * gdb.btrace/enable-running.exp: Likewise.
4879 * gdb.btrace/enable.exp: Likewise.
4880 * gdb.btrace/exception.exp: Likewise.
4881 * gdb.btrace/function_call_history.exp: Likewise.
4882 * gdb.btrace/gcore.exp: Likewise.
4883 * gdb.btrace/instruction_history.exp: Likewise.
4884 * gdb.btrace/multi-thread-step.exp: Likewise.
4885 * gdb.btrace/nohist.exp: Likewise.
4886 * gdb.btrace/non-stop.exp: Likewise.
4887 * gdb.btrace/reconnect.exp: Likewise.
4888 * gdb.btrace/record_goto-step.exp: Likewise.
4889 * gdb.btrace/record_goto.exp: Likewise.
4890 * gdb.btrace/rn-dl-bind.exp: Likewise.
4891 * gdb.btrace/segv.exp: Likewise.
4892 * gdb.btrace/step.exp: Likewise.
4893 * gdb.btrace/stepi.exp: Likewise.
4894 * gdb.btrace/tailcall-only.exp: Likewise.
4895 * gdb.btrace/tailcall.exp: Likewise.
4896 * gdb.btrace/tsx.exp: Likewise.
4897 * gdb.btrace/unknown_functions.exp: Likewise.
4898 * gdb.btrace/vdso.exp: Likewise.
4900 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4902 * gdb.btrace/enable-running.c: New.
4903 * gdb.btrace/enable-running.exp: New.
4905 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4907 * gdb.arch/amd64-gs_base.c: New file.
4908 * gdb.arch/amd64-gs_base.exp: New file.
4910 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4912 * lib/memory.exp: Remove spurious empty newlines.
4914 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4916 * gdb.python/py-bad-printers.exp: Load python file using "source".
4917 * gdb.python/py-events.exp: Likewise.
4918 * gdb.python/py-evsignal.exp: Likewise.
4919 * gdb.python/py-evthreads.exp: Likewise.
4920 * gdb.python/py-frame-args.exp: Likewise.
4921 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4922 * gdb.python/py-framefilter-mi.exp: Likewise.
4923 * gdb.python/py-framefilter.exp: Likewise.
4924 * gdb.python/py-mi.exp: Likewise.
4925 * gdb.python/py-pp-maint.exp: Likewise.
4926 * gdb.python/py-pp-registration.exp: Likewise.
4927 * gdb.python/py-prettyprint.exp: Likewise.
4928 (run_lang_tests): Likewise.
4929 * gdb.python/py-typeprint.exp: Likewise.
4931 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4933 * lib/memory.exp: New file.
4934 * lib/gdb.exp: Load memory.exp.
4935 * gdb.base/memattr.exp (delete_memory): Move proc to
4936 lib/memory.exp and rename to delete_memory_regions.
4937 Replace delete_memory with delete_memory_regions.
4938 Cleanup memory regions before tests.
4939 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4942 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4944 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4946 (initialize): New function conditionally defined.
4947 (testcases): Move within conditional block.
4948 (main): Call initialize.
4949 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4950 of gdb.reverse/insn-reverse.c.
4951 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4952 gdb.reverse/insn-reverse.c.
4954 2017-01-26 Yao Qi <yao.qi@linaro.org>
4956 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4957 disassemble on address 0.
4959 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4960 Yao Qi <yao.qi@linaro.org>
4962 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4963 * gdb.dwarf2/implptr-64bit.S: Remove.
4964 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4965 variables in caller's context. Add DW_OP_implicit_value.
4967 2017-01-25 Yao Qi <yao.qi@linaro.org>
4969 * lib/dwarf.exp (Dwarf::_location): Handle
4970 DW_OP_GNU_implicit_pointer with proper size.
4972 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4974 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4975 and add untested calls.
4977 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4979 * gdb.python/python.exp: Check line number against what GDB thinks
4980 the line number is for func1.
4982 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4984 * gdb.dlang/debug-expr.exp: New file.
4986 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4988 Fix test names for the following files:
4990 * gdb.ada/exec_changed.exp
4991 * gdb.ada/info_types.exp
4992 * gdb.arch/aarch64-atomic-inst.exp
4993 * gdb.arch/aarch64-fp.exp
4994 * gdb.arch/altivec-abi.exp
4995 * gdb.arch/altivec-regs.exp
4996 * gdb.arch/amd64-byte.exp
4997 * gdb.arch/amd64-disp-step.exp
4998 * gdb.arch/amd64-dword.exp
4999 * gdb.arch/amd64-entry-value-inline.exp
5000 * gdb.arch/amd64-entry-value-param.exp
5001 * gdb.arch/amd64-entry-value-paramref.exp
5002 * gdb.arch/amd64-entry-value.exp
5003 * gdb.arch/amd64-i386-address.exp
5004 * gdb.arch/amd64-invalid-stack-middle.exp
5005 * gdb.arch/amd64-invalid-stack-top.exp
5006 * gdb.arch/amd64-optimout-repeat.exp
5007 * gdb.arch/amd64-prologue-skip.exp
5008 * gdb.arch/amd64-prologue-xmm.exp
5009 * gdb.arch/amd64-stap-special-operands.exp
5010 * gdb.arch/amd64-stap-wrong-subexp.exp
5011 * gdb.arch/amd64-tailcall-cxx.exp
5012 * gdb.arch/amd64-tailcall-noret.exp
5013 * gdb.arch/amd64-tailcall-ret.exp
5014 * gdb.arch/amd64-tailcall-self.exp
5015 * gdb.arch/amd64-word.exp
5016 * gdb.arch/arm-bl-branch-dest.exp
5017 * gdb.arch/arm-disp-step.exp
5018 * gdb.arch/arm-neon.exp
5019 * gdb.arch/arm-single-step-kernel-helper.exp
5020 * gdb.arch/avr-flash-qualifier.exp
5021 * gdb.arch/disp-step-insn-reloc.exp
5022 * gdb.arch/e500-abi.exp
5023 * gdb.arch/e500-regs.exp
5024 * gdb.arch/ftrace-insn-reloc.exp
5025 * gdb.arch/i386-avx512.exp
5026 * gdb.arch/i386-bp_permanent.exp
5027 * gdb.arch/i386-byte.exp
5028 * gdb.arch/i386-cfi-notcurrent.exp
5029 * gdb.arch/i386-disp-step.exp
5030 * gdb.arch/i386-dr3-watch.exp
5031 * gdb.arch/i386-float.exp
5032 * gdb.arch/i386-gnu-cfi.exp
5033 * gdb.arch/i386-mpx-map.exp
5034 * gdb.arch/i386-mpx-sigsegv.exp
5035 * gdb.arch/i386-mpx-simple_segv.exp
5036 * gdb.arch/i386-mpx.exp
5037 * gdb.arch/i386-permbkpt.exp
5038 * gdb.arch/i386-prologue.exp
5039 * gdb.arch/i386-signal.exp
5040 * gdb.arch/i386-size-overlap.exp
5041 * gdb.arch/i386-unwind.exp
5042 * gdb.arch/i386-word.exp
5043 * gdb.arch/mips-fcr.exp
5044 * gdb.arch/powerpc-d128-regs.exp
5045 * gdb.arch/powerpc-stackless.exp
5046 * gdb.arch/ppc64-atomic-inst.exp
5047 * gdb.arch/s390-stackless.exp
5048 * gdb.arch/s390-tdbregs.exp
5049 * gdb.arch/s390-vregs.exp
5050 * gdb.arch/sparc-sysstep.exp
5051 * gdb.arch/thumb-bx-pc.exp
5052 * gdb.arch/thumb-singlestep.exp
5053 * gdb.arch/thumb2-it.exp
5054 * gdb.arch/vsx-regs.exp
5055 * gdb.asm/asm-source.exp
5056 * gdb.base/a2-run.exp
5057 * gdb.base/advance.exp
5058 * gdb.base/all-bin.exp
5061 * gdb.base/arithmet.exp
5062 * gdb.base/async-shell.exp
5063 * gdb.base/async.exp
5064 * gdb.base/attach-pie-noexec.exp
5065 * gdb.base/attach-twice.exp
5066 * gdb.base/auto-load.exp
5068 * gdb.base/bitfields.exp
5069 * gdb.base/break-always.exp
5070 * gdb.base/break-caller-line.exp
5071 * gdb.base/break-entry.exp
5072 * gdb.base/break-inline.exp
5073 * gdb.base/break-on-linker-gcd-function.exp
5074 * gdb.base/break-probes.exp
5075 * gdb.base/break.exp
5076 * gdb.base/breakpoint-shadow.exp
5077 * gdb.base/call-ar-st.exp
5078 * gdb.base/call-sc.exp
5079 * gdb.base/call-signal-resume.exp
5080 * gdb.base/call-strs.exp
5081 * gdb.base/callfuncs.exp
5082 * gdb.base/catch-fork-static.exp
5083 * gdb.base/catch-gdb-caused-signals.exp
5084 * gdb.base/catch-load.exp
5085 * gdb.base/catch-signal-fork.exp
5086 * gdb.base/catch-signal.exp
5087 * gdb.base/catch-syscall.exp
5088 * gdb.base/charset.exp
5089 * gdb.base/checkpoint.exp
5090 * gdb.base/chng-syms.exp
5091 * gdb.base/code-expr.exp
5092 * gdb.base/code_elim.exp
5093 * gdb.base/commands.exp
5094 * gdb.base/completion.exp
5095 * gdb.base/complex.exp
5096 * gdb.base/cond-expr.exp
5097 * gdb.base/condbreak.exp
5098 * gdb.base/consecutive.exp
5099 * gdb.base/continue-all-already-running.exp
5100 * gdb.base/coredump-filter.exp
5101 * gdb.base/corefile.exp
5103 * gdb.base/debug-expr.exp
5104 * gdb.base/define.exp
5106 * gdb.base/disabled-location.exp
5107 * gdb.base/disasm-end-cu.exp
5108 * gdb.base/disasm-optim.exp
5109 * gdb.base/display.exp
5110 * gdb.base/duplicate-bp.exp
5111 * gdb.base/ena-dis-br.exp
5112 * gdb.base/ending-run.exp
5113 * gdb.base/enumval.exp
5114 * gdb.base/environ.exp
5115 * gdb.base/eu-strip-infcall.exp
5116 * gdb.base/eval-avoid-side-effects.exp
5117 * gdb.base/eval-skip.exp
5118 * gdb.base/exitsignal.exp
5119 * gdb.base/expand-psymtabs.exp
5120 * gdb.base/filesym.exp
5121 * gdb.base/find-unmapped.exp
5122 * gdb.base/finish.exp
5123 * gdb.base/float.exp
5124 * gdb.base/foll-exec-mode.exp
5125 * gdb.base/foll-exec.exp
5126 * gdb.base/foll-fork.exp
5127 * gdb.base/fortran-sym-case.exp
5128 * gdb.base/freebpcmd.exp
5129 * gdb.base/func-ptr.exp
5130 * gdb.base/func-ptrs.exp
5131 * gdb.base/funcargs.exp
5132 * gdb.base/gcore-buffer-overflow.exp
5133 * gdb.base/gcore-relro-pie.exp
5134 * gdb.base/gcore-relro.exp
5135 * gdb.base/gcore.exp
5136 * gdb.base/gdb1090.exp
5137 * gdb.base/gdb11530.exp
5138 * gdb.base/gdb11531.exp
5139 * gdb.base/gdb1821.exp
5140 * gdb.base/gdbindex-stabs.exp
5141 * gdb.base/gdbvars.exp
5142 * gdb.base/hbreak.exp
5143 * gdb.base/hbreak2.exp
5144 * gdb.base/included.exp
5145 * gdb.base/infcall-input.exp
5146 * gdb.base/inferior-died.exp
5147 * gdb.base/infnan.exp
5148 * gdb.base/info-macros.exp
5149 * gdb.base/info-os.exp
5150 * gdb.base/info-proc.exp
5151 * gdb.base/info-shared.exp
5152 * gdb.base/info-target.exp
5153 * gdb.base/infoline.exp
5154 * gdb.base/interp.exp
5155 * gdb.base/interrupt.exp
5156 * gdb.base/jit-reader.exp
5157 * gdb.base/jit-simple.exp
5158 * gdb.base/kill-after-signal.exp
5159 * gdb.base/kill-detach-inferiors-cmd.exp
5160 * gdb.base/label.exp
5161 * gdb.base/langs.exp
5162 * gdb.base/ldbl_e308.exp
5163 * gdb.base/line-symtabs.exp
5164 * gdb.base/linespecs.exp
5166 * gdb.base/long_long.exp
5167 * gdb.base/longest-types.exp
5168 * gdb.base/maint.exp
5169 * gdb.base/max-value-size.exp
5170 * gdb.base/memattr.exp
5171 * gdb.base/mips_pro.exp
5172 * gdb.base/morestack.exp
5173 * gdb.base/moribund-step.exp
5174 * gdb.base/multi-forks.exp
5175 * gdb.base/nested-addr.exp
5176 * gdb.base/nextoverexit.exp
5177 * gdb.base/noreturn-finish.exp
5178 * gdb.base/noreturn-return.exp
5179 * gdb.base/nostdlib.exp
5180 * gdb.base/offsets.exp
5181 * gdb.base/opaque.exp
5182 * gdb.base/pc-fp.exp
5183 * gdb.base/permissions.exp
5184 * gdb.base/print-symbol-loading.exp
5185 * gdb.base/prologue-include.exp
5186 * gdb.base/psymtab.exp
5187 * gdb.base/ptype.exp
5188 * gdb.base/random-signal.exp
5189 * gdb.base/randomize.exp
5190 * gdb.base/range-stepping.exp
5191 * gdb.base/readline-ask.exp
5192 * gdb.base/recpar.exp
5193 * gdb.base/recurse.exp
5194 * gdb.base/relational.exp
5195 * gdb.base/restore.exp
5196 * gdb.base/return-nodebug.exp
5197 * gdb.base/return.exp
5198 * gdb.base/run-after-attach.exp
5199 * gdb.base/save-bp.exp
5200 * gdb.base/scope.exp
5201 * gdb.base/sect-cmd.exp
5202 * gdb.base/set-lang-auto.exp
5203 * gdb.base/set-noassign.exp
5204 * gdb.base/setvar.exp
5205 * gdb.base/sigall.exp
5206 * gdb.base/sigbpt.exp
5207 * gdb.base/siginfo-addr.exp
5208 * gdb.base/siginfo-infcall.exp
5209 * gdb.base/siginfo-obj.exp
5210 * gdb.base/siginfo.exp
5211 * gdb.base/signals-state-child.exp
5212 * gdb.base/signest.exp
5213 * gdb.base/sigstep.exp
5214 * gdb.base/sizeof.exp
5216 * gdb.base/solib-corrupted.exp
5217 * gdb.base/solib-nodir.exp
5218 * gdb.base/solib-search.exp
5219 * gdb.base/stack-checking.exp
5220 * gdb.base/stale-infcall.exp
5221 * gdb.base/stap-probe.exp
5222 * gdb.base/start.exp
5223 * gdb.base/step-break.exp
5224 * gdb.base/step-bt.exp
5225 * gdb.base/step-line.exp
5226 * gdb.base/step-over-exit.exp
5227 * gdb.base/step-over-syscall.exp
5228 * gdb.base/step-resume-infcall.exp
5229 * gdb.base/step-test.exp
5230 * gdb.base/store.exp
5231 * gdb.base/structs3.exp
5232 * gdb.base/sym-file.exp
5233 * gdb.base/symbol-without-target_section.exp
5235 * gdb.base/testenv.exp
5236 * gdb.base/ui-redirect.exp
5237 * gdb.base/until.exp
5238 * gdb.base/unwindonsignal.exp
5239 * gdb.base/value-double-free.exp
5240 * gdb.base/vla-datatypes.exp
5241 * gdb.base/vla-ptr.exp
5242 * gdb.base/vla-sideeffect.exp
5243 * gdb.base/volatile.exp
5244 * gdb.base/watch-cond-infcall.exp
5245 * gdb.base/watch-cond.exp
5246 * gdb.base/watch-non-mem.exp
5247 * gdb.base/watch-read.exp
5248 * gdb.base/watch-vfork.exp
5249 * gdb.base/watchpoint-cond-gone.exp
5250 * gdb.base/watchpoint-delete.exp
5251 * gdb.base/watchpoint-hw-hit-once.exp
5252 * gdb.base/watchpoint-hw.exp
5253 * gdb.base/watchpoint-stops-at-right-insn.exp
5254 * gdb.base/watchpoints.exp
5255 * gdb.base/wchar.exp
5256 * gdb.base/whatis-exp.exp
5257 * gdb.btrace/buffer-size.exp
5258 * gdb.btrace/data.exp
5259 * gdb.btrace/delta.exp
5260 * gdb.btrace/dlopen.exp
5261 * gdb.btrace/enable.exp
5262 * gdb.btrace/exception.exp
5263 * gdb.btrace/function_call_history.exp
5264 * gdb.btrace/gcore.exp
5265 * gdb.btrace/instruction_history.exp
5266 * gdb.btrace/nohist.exp
5267 * gdb.btrace/reconnect.exp
5268 * gdb.btrace/record_goto-step.exp
5269 * gdb.btrace/record_goto.exp
5270 * gdb.btrace/rn-dl-bind.exp
5271 * gdb.btrace/segv.exp
5272 * gdb.btrace/step.exp
5273 * gdb.btrace/stepi.exp
5274 * gdb.btrace/tailcall-only.exp
5275 * gdb.btrace/tailcall.exp
5276 * gdb.btrace/tsx.exp
5277 * gdb.btrace/unknown_functions.exp
5278 * gdb.btrace/vdso.exp
5279 * gdb.compile/compile-ifunc.exp
5280 * gdb.compile/compile-ops.exp
5281 * gdb.compile/compile-print.exp
5282 * gdb.compile/compile-setjmp.exp
5283 * gdb.cp/abstract-origin.exp
5284 * gdb.cp/ambiguous.exp
5285 * gdb.cp/annota2.exp
5286 * gdb.cp/annota3.exp
5287 * gdb.cp/anon-ns.exp
5288 * gdb.cp/anon-struct.exp
5289 * gdb.cp/anon-union.exp
5290 * gdb.cp/arg-reference.exp
5291 * gdb.cp/baseenum.exp
5293 * gdb.cp/breakpoint.exp
5294 * gdb.cp/bs15503.exp
5297 * gdb.cp/chained-calls.exp
5299 * gdb.cp/classes.exp
5300 * gdb.cp/cmpd-minsyms.exp
5301 * gdb.cp/converts.exp
5302 * gdb.cp/cp-relocate.exp
5303 * gdb.cp/cpcompletion.exp
5304 * gdb.cp/cpexprs.exp
5305 * gdb.cp/cplabel.exp
5306 * gdb.cp/cplusfuncs.exp
5307 * gdb.cp/cpsizeof.exp
5309 * gdb.cp/derivation.exp
5310 * gdb.cp/destrprint.exp
5311 * gdb.cp/dispcxx.exp
5312 * gdb.cp/enum-class.exp
5313 * gdb.cp/exception.exp
5314 * gdb.cp/exceptprint.exp
5315 * gdb.cp/expand-psymtabs-cxx.exp
5316 * gdb.cp/expand-sals.exp
5317 * gdb.cp/extern-c.exp
5318 * gdb.cp/filename.exp
5319 * gdb.cp/formatted-ref.exp
5320 * gdb.cp/fpointer.exp
5321 * gdb.cp/gdb1355.exp
5322 * gdb.cp/gdb2495.exp
5324 * gdb.cp/impl-this.exp
5325 * gdb.cp/infcall-dlopen.exp
5326 * gdb.cp/inherit.exp
5327 * gdb.cp/iostream.exp
5331 * gdb.cp/m-static.exp
5332 * gdb.cp/mb-ctor.exp
5333 * gdb.cp/mb-inline.exp
5334 * gdb.cp/mb-templates.exp
5335 * gdb.cp/member-name.exp
5336 * gdb.cp/member-ptr.exp
5337 * gdb.cp/meth-typedefs.exp
5339 * gdb.cp/method2.exp
5340 * gdb.cp/minsym-fallback.exp
5342 * gdb.cp/namelessclass.exp
5343 * gdb.cp/namespace-enum.exp
5344 * gdb.cp/namespace-nested-import.exp
5345 * gdb.cp/namespace.exp
5346 * gdb.cp/nextoverthrow.exp
5347 * gdb.cp/no-dmgl-verbose.exp
5348 * gdb.cp/non-trivial-retval.exp
5349 * gdb.cp/noparam.exp
5351 * gdb.cp/nsimport.exp
5352 * gdb.cp/nsnested.exp
5353 * gdb.cp/nsnoimports.exp
5354 * gdb.cp/nsrecurs.exp
5355 * gdb.cp/nsstress.exp
5356 * gdb.cp/nsusing.exp
5357 * gdb.cp/operator.exp
5358 * gdb.cp/oranking.exp
5359 * gdb.cp/overload-const.exp
5360 * gdb.cp/overload.exp
5361 * gdb.cp/ovldbreak.exp
5363 * gdb.cp/paren-type.exp
5364 * gdb.cp/parse-lang.exp
5365 * gdb.cp/pass-by-ref.exp
5366 * gdb.cp/pr-1023.exp
5367 * gdb.cp/pr-1210.exp
5369 * gdb.cp/pr10687.exp
5370 * gdb.cp/pr12028.exp
5371 * gdb.cp/pr17132.exp
5372 * gdb.cp/pr17494.exp
5376 * gdb.cp/printmethod.exp
5378 * gdb.cp/psymtab-parameter.exp
5379 * gdb.cp/ptype-cv-cp.exp
5380 * gdb.cp/ptype-flags.exp
5381 * gdb.cp/re-set-overloaded.exp
5382 * gdb.cp/ref-types.exp
5384 * gdb.cp/scope-err.exp
5387 * gdb.cp/static-method.exp
5388 * gdb.cp/static-print-quit.exp
5389 * gdb.cp/temargs.exp
5390 * gdb.cp/templates.exp
5391 * gdb.cp/try_catch.exp
5392 * gdb.cp/typedef-operator.exp
5394 * gdb.cp/userdef.exp
5395 * gdb.cp/using-crash.exp
5396 * gdb.cp/var-tag.exp
5397 * gdb.cp/virtbase.exp
5398 * gdb.cp/virtfunc.exp
5399 * gdb.cp/virtfunc2.exp
5400 * gdb.cp/vla-cxx.exp
5401 * gdb.disasm/t01_mov.exp
5402 * gdb.disasm/t02_mova.exp
5403 * gdb.disasm/t03_add.exp
5404 * gdb.disasm/t04_sub.exp
5405 * gdb.disasm/t05_cmp.exp
5406 * gdb.disasm/t06_ari2.exp
5407 * gdb.disasm/t07_ari3.exp
5408 * gdb.disasm/t08_or.exp
5409 * gdb.disasm/t09_xor.exp
5410 * gdb.disasm/t10_and.exp
5411 * gdb.disasm/t11_logs.exp
5412 * gdb.disasm/t12_bit.exp
5413 * gdb.disasm/t13_otr.exp
5414 * gdb.dlang/circular.exp
5415 * gdb.dwarf2/arr-stride.exp
5416 * gdb.dwarf2/arr-subrange.exp
5417 * gdb.dwarf2/atomic-type.exp
5418 * gdb.dwarf2/bad-regnum.exp
5419 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5420 * gdb.dwarf2/callframecfa.exp
5421 * gdb.dwarf2/clztest.exp
5422 * gdb.dwarf2/corrupt.exp
5423 * gdb.dwarf2/data-loc.exp
5424 * gdb.dwarf2/dup-psym.exp
5425 * gdb.dwarf2/dw2-anon-mptr.exp
5426 * gdb.dwarf2/dw2-anonymous-func.exp
5427 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5428 * gdb.dwarf2/dw2-bad-unresolved.exp
5429 * gdb.dwarf2/dw2-basic.exp
5430 * gdb.dwarf2/dw2-canonicalize-type.exp
5431 * gdb.dwarf2/dw2-case-insensitive.exp
5432 * gdb.dwarf2/dw2-common-block.exp
5433 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5434 * gdb.dwarf2/dw2-compressed.exp
5435 * gdb.dwarf2/dw2-const.exp
5436 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5437 * gdb.dwarf2/dw2-cu-size.exp
5438 * gdb.dwarf2/dw2-dup-frame.exp
5439 * gdb.dwarf2/dw2-entry-value.exp
5440 * gdb.dwarf2/dw2-icycle.exp
5441 * gdb.dwarf2/dw2-ifort-parameter.exp
5442 * gdb.dwarf2/dw2-inline-break.exp
5443 * gdb.dwarf2/dw2-inline-param.exp
5444 * gdb.dwarf2/dw2-intercu.exp
5445 * gdb.dwarf2/dw2-intermix.exp
5446 * gdb.dwarf2/dw2-lexical-block-bare.exp
5447 * gdb.dwarf2/dw2-linkage-name-trust.exp
5448 * gdb.dwarf2/dw2-minsym-in-cu.exp
5449 * gdb.dwarf2/dw2-noloc.exp
5450 * gdb.dwarf2/dw2-op-call.exp
5451 * gdb.dwarf2/dw2-op-out-param.exp
5452 * gdb.dwarf2/dw2-opt-structptr.exp
5453 * gdb.dwarf2/dw2-param-error.exp
5454 * gdb.dwarf2/dw2-producer.exp
5455 * gdb.dwarf2/dw2-ranges-base.exp
5456 * gdb.dwarf2/dw2-ref-missing-frame.exp
5457 * gdb.dwarf2/dw2-reg-undefined.exp
5458 * gdb.dwarf2/dw2-regno-invalid.exp
5459 * gdb.dwarf2/dw2-restore.exp
5460 * gdb.dwarf2/dw2-restrict.exp
5461 * gdb.dwarf2/dw2-single-line-discriminators.exp
5462 * gdb.dwarf2/dw2-strp.exp
5463 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5464 * gdb.dwarf2/dw2-unresolved.exp
5465 * gdb.dwarf2/dw2-var-zero-addr.exp
5466 * gdb.dwarf2/dw4-sig-types.exp
5467 * gdb.dwarf2/dwz.exp
5468 * gdb.dwarf2/dynarr-ptr.exp
5469 * gdb.dwarf2/enum-type.exp
5470 * gdb.dwarf2/gdb-index.exp
5471 * gdb.dwarf2/implptr-64bit.exp
5472 * gdb.dwarf2/implptr-optimized-out.exp
5473 * gdb.dwarf2/implptr.exp
5474 * gdb.dwarf2/implref-array.exp
5475 * gdb.dwarf2/implref-const.exp
5476 * gdb.dwarf2/implref-global.exp
5477 * gdb.dwarf2/implref-struct.exp
5478 * gdb.dwarf2/mac-fileno.exp
5479 * gdb.dwarf2/main-subprogram.exp
5480 * gdb.dwarf2/member-ptr-forwardref.exp
5481 * gdb.dwarf2/method-ptr.exp
5482 * gdb.dwarf2/missing-sig-type.exp
5483 * gdb.dwarf2/nonvar-access.exp
5484 * gdb.dwarf2/opaque-type-lookup.exp
5485 * gdb.dwarf2/pieces-optimized-out.exp
5486 * gdb.dwarf2/pieces.exp
5487 * gdb.dwarf2/pr10770.exp
5488 * gdb.dwarf2/pr13961.exp
5489 * gdb.dwarf2/staticvirtual.exp
5490 * gdb.dwarf2/subrange.exp
5491 * gdb.dwarf2/symtab-producer.exp
5492 * gdb.dwarf2/trace-crash.exp
5493 * gdb.dwarf2/typeddwarf.exp
5494 * gdb.dwarf2/valop.exp
5495 * gdb.dwarf2/watch-notconst.exp
5496 * gdb.fortran/array-element.exp
5497 * gdb.fortran/charset.exp
5498 * gdb.fortran/common-block.exp
5499 * gdb.fortran/complex.exp
5500 * gdb.fortran/derived-type-function.exp
5501 * gdb.fortran/derived-type.exp
5502 * gdb.fortran/logical.exp
5503 * gdb.fortran/module.exp
5504 * gdb.fortran/multi-dim.exp
5505 * gdb.fortran/nested-funcs.exp
5506 * gdb.fortran/print-formatted.exp
5507 * gdb.fortran/subarray.exp
5508 * gdb.fortran/vla-alloc-assoc.exp
5509 * gdb.fortran/vla-datatypes.exp
5510 * gdb.fortran/vla-history.exp
5511 * gdb.fortran/vla-ptr-info.exp
5512 * gdb.fortran/vla-ptype-sub.exp
5513 * gdb.fortran/vla-ptype.exp
5514 * gdb.fortran/vla-sizeof.exp
5515 * gdb.fortran/vla-type.exp
5516 * gdb.fortran/vla-value-sub-arbitrary.exp
5517 * gdb.fortran/vla-value-sub-finish.exp
5518 * gdb.fortran/vla-value-sub.exp
5519 * gdb.fortran/vla-value.exp
5520 * gdb.fortran/whatis_type.exp
5522 * gdb.go/handcall.exp
5524 * gdb.go/integers.exp
5525 * gdb.go/methods.exp
5526 * gdb.go/package.exp
5527 * gdb.go/strings.exp
5530 * gdb.guile/scm-arch.exp
5531 * gdb.guile/scm-block.exp
5532 * gdb.guile/scm-breakpoint.exp
5533 * gdb.guile/scm-cmd.exp
5534 * gdb.guile/scm-disasm.exp
5535 * gdb.guile/scm-equal.exp
5536 * gdb.guile/scm-frame-args.exp
5537 * gdb.guile/scm-frame-inline.exp
5538 * gdb.guile/scm-frame.exp
5539 * gdb.guile/scm-iterator.exp
5540 * gdb.guile/scm-math.exp
5541 * gdb.guile/scm-objfile.exp
5542 * gdb.guile/scm-ports.exp
5543 * gdb.guile/scm-symbol.exp
5544 * gdb.guile/scm-symtab.exp
5545 * gdb.guile/scm-value-cc.exp
5546 * gdb.guile/types-module.exp
5547 * gdb.linespec/break-ask.exp
5548 * gdb.linespec/cpexplicit.exp
5549 * gdb.linespec/explicit.exp
5550 * gdb.linespec/keywords.exp
5551 * gdb.linespec/linespec.exp
5552 * gdb.linespec/ls-dollar.exp
5553 * gdb.linespec/ls-errs.exp
5554 * gdb.linespec/skip-two.exp
5555 * gdb.linespec/thread.exp
5556 * gdb.mi/mi-async.exp
5557 * gdb.mi/mi-basics.exp
5558 * gdb.mi/mi-break.exp
5559 * gdb.mi/mi-catch-load.exp
5561 * gdb.mi/mi-cmd-param-changed.exp
5562 * gdb.mi/mi-console.exp
5563 * gdb.mi/mi-detach.exp
5564 * gdb.mi/mi-disassemble.exp
5565 * gdb.mi/mi-eval.exp
5566 * gdb.mi/mi-file-transfer.exp
5567 * gdb.mi/mi-file.exp
5568 * gdb.mi/mi-fill-memory.exp
5569 * gdb.mi/mi-inheritance-syntax-error.exp
5570 * gdb.mi/mi-linespec-err-cp.exp
5571 * gdb.mi/mi-logging.exp
5572 * gdb.mi/mi-memory-changed.exp
5573 * gdb.mi/mi-read-memory.exp
5574 * gdb.mi/mi-record-changed.exp
5575 * gdb.mi/mi-reg-undefined.exp
5576 * gdb.mi/mi-regs.exp
5577 * gdb.mi/mi-return.exp
5578 * gdb.mi/mi-reverse.exp
5579 * gdb.mi/mi-simplerun.exp
5580 * gdb.mi/mi-solib.exp
5581 * gdb.mi/mi-stack.exp
5582 * gdb.mi/mi-stepi.exp
5583 * gdb.mi/mi-syn-frame.exp
5584 * gdb.mi/mi-until.exp
5585 * gdb.mi/mi-var-block.exp
5586 * gdb.mi/mi-var-child.exp
5587 * gdb.mi/mi-var-cmd.exp
5588 * gdb.mi/mi-var-cp.exp
5589 * gdb.mi/mi-var-display.exp
5590 * gdb.mi/mi-var-invalidate.exp
5591 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5592 * gdb.mi/mi-vla-fortran.exp
5593 * gdb.mi/mi-watch.exp
5594 * gdb.mi/mi2-var-child.exp
5595 * gdb.mi/user-selected-context-sync.exp
5596 * gdb.modula2/unbounded-array.exp
5597 * gdb.multi/dummy-frame-restore.exp
5598 * gdb.multi/multi-arch-exec.exp
5599 * gdb.multi/multi-arch.exp
5600 * gdb.multi/tids.exp
5601 * gdb.multi/watchpoint-multi.exp
5602 * gdb.opencl/callfuncs.exp
5603 * gdb.opencl/convs_casts.exp
5604 * gdb.opencl/datatypes.exp
5605 * gdb.opencl/operators.exp
5606 * gdb.opencl/vec_comps.exp
5607 * gdb.opt/clobbered-registers-O2.exp
5608 * gdb.opt/inline-break.exp
5609 * gdb.opt/inline-bt.exp
5610 * gdb.opt/inline-cmds.exp
5611 * gdb.opt/inline-locals.exp
5612 * gdb.pascal/case-insensitive-symbols.exp
5613 * gdb.pascal/floats.exp
5614 * gdb.pascal/gdb11492.exp
5615 * gdb.python/lib-types.exp
5616 * gdb.python/py-arch.exp
5617 * gdb.python/py-as-string.exp
5618 * gdb.python/py-bad-printers.exp
5619 * gdb.python/py-block.exp
5620 * gdb.python/py-breakpoint-create-fail.exp
5621 * gdb.python/py-breakpoint.exp
5622 * gdb.python/py-caller-is.exp
5623 * gdb.python/py-cmd.exp
5624 * gdb.python/py-explore-cc.exp
5625 * gdb.python/py-explore.exp
5626 * gdb.python/py-finish-breakpoint.exp
5627 * gdb.python/py-finish-breakpoint2.exp
5628 * gdb.python/py-frame-args.exp
5629 * gdb.python/py-frame-inline.exp
5630 * gdb.python/py-frame.exp
5631 * gdb.python/py-framefilter-mi.exp
5632 * gdb.python/py-infthread.exp
5633 * gdb.python/py-lazy-string.exp
5634 * gdb.python/py-linetable.exp
5635 * gdb.python/py-mi-events.exp
5636 * gdb.python/py-mi-objfile.exp
5637 * gdb.python/py-mi.exp
5638 * gdb.python/py-objfile.exp
5639 * gdb.python/py-pp-integral.exp
5640 * gdb.python/py-pp-maint.exp
5641 * gdb.python/py-pp-re-notag.exp
5642 * gdb.python/py-pp-registration.exp
5643 * gdb.python/py-recurse-unwind.exp
5644 * gdb.python/py-strfns.exp
5645 * gdb.python/py-symbol.exp
5646 * gdb.python/py-symtab.exp
5647 * gdb.python/py-sync-interp.exp
5648 * gdb.python/py-typeprint.exp
5649 * gdb.python/py-unwind-maint.exp
5650 * gdb.python/py-unwind.exp
5651 * gdb.python/py-value-cc.exp
5652 * gdb.python/py-xmethods.exp
5653 * gdb.reverse/amd64-tailcall-reverse.exp
5654 * gdb.reverse/break-precsave.exp
5655 * gdb.reverse/break-reverse.exp
5656 * gdb.reverse/consecutive-precsave.exp
5657 * gdb.reverse/consecutive-reverse.exp
5658 * gdb.reverse/finish-precsave.exp
5659 * gdb.reverse/finish-reverse-bkpt.exp
5660 * gdb.reverse/finish-reverse.exp
5661 * gdb.reverse/fstatat-reverse.exp
5662 * gdb.reverse/getresuid-reverse.exp
5663 * gdb.reverse/i386-precsave.exp
5664 * gdb.reverse/i386-reverse.exp
5665 * gdb.reverse/i386-sse-reverse.exp
5666 * gdb.reverse/i387-env-reverse.exp
5667 * gdb.reverse/i387-stack-reverse.exp
5668 * gdb.reverse/insn-reverse.exp
5669 * gdb.reverse/machinestate-precsave.exp
5670 * gdb.reverse/machinestate.exp
5671 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5672 * gdb.reverse/pipe-reverse.exp
5673 * gdb.reverse/readv-reverse.exp
5674 * gdb.reverse/recvmsg-reverse.exp
5675 * gdb.reverse/rerun-prec.exp
5676 * gdb.reverse/s390-mvcle.exp
5677 * gdb.reverse/step-precsave.exp
5678 * gdb.reverse/step-reverse.exp
5679 * gdb.reverse/time-reverse.exp
5680 * gdb.reverse/until-precsave.exp
5681 * gdb.reverse/until-reverse.exp
5682 * gdb.reverse/waitpid-reverse.exp
5683 * gdb.reverse/watch-precsave.exp
5684 * gdb.reverse/watch-reverse.exp
5685 * gdb.rust/generics.exp
5686 * gdb.rust/methods.exp
5687 * gdb.rust/modules.exp
5688 * gdb.rust/simple.exp
5689 * gdb.server/connect-with-no-symbol-file.exp
5690 * gdb.server/ext-attach.exp
5691 * gdb.server/ext-restart.exp
5692 * gdb.server/ext-wrapper.exp
5693 * gdb.server/file-transfer.exp
5694 * gdb.server/server-exec-info.exp
5695 * gdb.server/server-kill.exp
5696 * gdb.server/server-mon.exp
5697 * gdb.server/wrapper.exp
5698 * gdb.stabs/exclfwd.exp
5699 * gdb.stabs/gdb11479.exp
5700 * gdb.threads/clone-new-thread-event.exp
5701 * gdb.threads/corethreads.exp
5702 * gdb.threads/current-lwp-dead.exp
5703 * gdb.threads/dlopen-libpthread.exp
5704 * gdb.threads/gcore-thread.exp
5705 * gdb.threads/sigstep-threads.exp
5706 * gdb.threads/watchpoint-fork.exp
5707 * gdb.trace/actions-changed.exp
5708 * gdb.trace/backtrace.exp
5709 * gdb.trace/change-loc.exp
5710 * gdb.trace/circ.exp
5711 * gdb.trace/collection.exp
5712 * gdb.trace/disconnected-tracing.exp
5713 * gdb.trace/ftrace.exp
5714 * gdb.trace/mi-trace-frame-collected.exp
5715 * gdb.trace/mi-trace-unavailable.exp
5716 * gdb.trace/mi-traceframe-changed.exp
5717 * gdb.trace/mi-tsv-changed.exp
5718 * gdb.trace/no-attach-trace.exp
5719 * gdb.trace/passc-dyn.exp
5720 * gdb.trace/qtro.exp
5721 * gdb.trace/range-stepping.exp
5722 * gdb.trace/read-memory.exp
5723 * gdb.trace/save-trace.exp
5724 * gdb.trace/signal.exp
5725 * gdb.trace/status-stop.exp
5726 * gdb.trace/tfile.exp
5727 * gdb.trace/trace-break.exp
5728 * gdb.trace/trace-buffer-size.exp
5729 * gdb.trace/trace-condition.exp
5730 * gdb.trace/tracefile-pseudo-reg.exp
5731 * gdb.trace/tstatus.exp
5732 * gdb.trace/unavailable.exp
5733 * gdb.trace/while-dyn.exp
5734 * gdb.trace/while-stepping.exp
5736 2016-12-22 Doug Evans <xdje42@gmail.com>
5738 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5741 2016-12-19 Yao Qi <yao.qi@linaro.org>
5743 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5744 (test_with_self): Don't call do_steps_and_nexts, and remove
5745 code about stepping into xmalloc.
5747 2016-12-09 Yao Qi <yao.qi@linaro.org>
5749 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5751 2016-12-09 Yao Qi <yao.qi@linaro.org>
5753 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5755 2016-12-09 Pedro Alves <palves@redhat.com>
5757 * gdb.base/all-architectures-0.exp: New file.
5758 * gdb.base/all-architectures-1.exp: New file.
5759 * gdb.base/all-architectures-2.exp: New file.
5760 * gdb.base/all-architectures-3.exp: New file.
5761 * gdb.base/all-architectures-4.exp: New file.
5762 * gdb.base/all-architectures-5.exp: New file.
5763 * gdb.base/all-architectures-6.exp: New file.
5764 * gdb.base/all-architectures-7.exp: New file.
5765 * gdb.base/all-architectures.exp.in: New file.
5767 2016-12-09 Yao Qi <yao.qi@linaro.org>
5769 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5771 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5773 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5775 Remove useless pattern-matching code.
5777 2016-12-02 Pedro Alves <palves@redhat.com>
5779 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5781 (top level): Call it.
5783 2016-12-02 Pedro Alves <palves@redhat.com>
5785 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5787 (top level): Call it.
5789 2016-12-02 Pedro Alves <palves@redhat.com>
5792 * gdb.base/commands.exp (user_defined_command_args_eval): New
5794 (top level): Call it.
5796 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5798 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5801 2016-12-02 Tom Tromey <tom@tromey.com>
5803 * gdb.dwarf2/main-subprogram.c: New file.
5804 * gdb.dwarf2/main-subprogram.exp: New file.
5806 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5808 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5809 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5810 gdb_test_no_output for a couple of cases.
5811 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5813 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5815 Fix test names and standardize compilation error messages throughout
5816 the following files:
5819 * gdb.arch/alpha-step.exp
5820 * gdb.arch/e500-prologue.exp
5821 * gdb.arch/ftrace-insn-reloc.exp
5822 * gdb.arch/gdb1291.exp
5823 * gdb.arch/gdb1431.exp
5824 * gdb.arch/gdb1558.exp
5825 * gdb.arch/i386-dr3-watch.exp
5826 * gdb.arch/i386-sse-stack-align.exp
5827 * gdb.arch/ia64-breakpoint-shadow.exp
5828 * gdb.arch/pa-nullify.exp
5829 * gdb.arch/powerpc-aix-prologue.exp
5830 * gdb.arch/thumb-bx-pc.exp
5831 * gdb.base/annota1.exp
5832 * gdb.base/annota3.exp
5833 * gdb.base/arrayidx.exp
5834 * gdb.base/assign.exp
5835 * gdb.base/attach.exp
5838 * gdb.base/bfp-test.exp
5839 * gdb.base/bigcore.exp
5840 * gdb.base/bitfields2.exp
5841 * gdb.base/break-fun-addr.exp
5842 * gdb.base/break-probes.exp
5843 * gdb.base/call-rt-st.exp
5844 * gdb.base/callexit.exp
5845 * gdb.base/catch-fork-kill.exp
5846 * gdb.base/charset.exp
5847 * gdb.base/checkpoint.exp
5848 * gdb.base/comprdebug.exp
5849 * gdb.base/constvars.exp
5850 * gdb.base/coredump-filter.exp
5851 * gdb.base/cursal.exp
5852 * gdb.base/cvexpr.exp
5853 * gdb.base/detach.exp
5854 * gdb.base/display.exp
5855 * gdb.base/dmsym.exp
5856 * gdb.base/dprintf-pending.exp
5857 * gdb.base/dso2dso.exp
5858 * gdb.base/dtrace-probe.exp
5860 * gdb.base/enum_cond.exp
5861 * gdb.base/exe-lock.exp
5862 * gdb.base/exec-invalid-sysroot.exp
5863 * gdb.base/execl-update-breakpoints.exp
5864 * gdb.base/exprs.exp
5865 * gdb.base/fileio.exp
5867 * gdb.base/finish.exp
5868 * gdb.base/fixsection.exp
5869 * gdb.base/foll-vfork.exp
5870 * gdb.base/frame-args.exp
5871 * gdb.base/gcore.exp
5872 * gdb.base/gdb1250.exp
5873 * gdb.base/global-var-nested-by-dso.exp
5874 * gdb.base/gnu-ifunc.exp
5875 * gdb.base/hashline1.exp
5876 * gdb.base/hashline2.exp
5877 * gdb.base/hashline3.exp
5878 * gdb.base/hbreak-in-shr-unsupported.exp
5880 * gdb.base/infcall-input.exp
5881 * gdb.base/info-fun.exp
5882 * gdb.base/info-shared.exp
5883 * gdb.base/jit-simple.exp
5884 * gdb.base/jit-so.exp
5887 * gdb.base/label.exp
5888 * gdb.base/lineinc.exp
5889 * gdb.base/logical.exp
5890 * gdb.base/longjmp.exp
5891 * gdb.base/macscp.exp
5892 * gdb.base/miscexprs.exp
5893 * gdb.base/new-ui-echo.exp
5894 * gdb.base/new-ui-pending-input.exp
5895 * gdb.base/new-ui.exp
5896 * gdb.base/nodebug.exp
5897 * gdb.base/nofield.exp
5898 * gdb.base/offsets.exp
5899 * gdb.base/overlays.exp
5900 * gdb.base/pending.exp
5901 * gdb.base/pointers.exp
5902 * gdb.base/pr11022.exp
5903 * gdb.base/printcmds.exp
5904 * gdb.base/prologue.exp
5905 * gdb.base/ptr-typedef.exp
5906 * gdb.base/realname-expand.exp
5907 * gdb.base/relativedebug.exp
5908 * gdb.base/relocate.exp
5909 * gdb.base/remote.exp
5910 * gdb.base/reread.exp
5911 * gdb.base/return2.exp
5912 * gdb.base/savedregs.exp
5914 * gdb.base/sepdebug.exp
5915 * gdb.base/sepsymtab.exp
5916 * gdb.base/set-inferior-tty.exp
5917 * gdb.base/setshow.exp
5918 * gdb.base/shlib-call.exp
5919 * gdb.base/sigaltstack.exp
5920 * gdb.base/siginfo-addr.exp
5921 * gdb.base/signals.exp
5922 * gdb.base/signull.exp
5923 * gdb.base/sigrepeat.exp
5924 * gdb.base/so-impl-ld.exp
5925 * gdb.base/solib-display.exp
5926 * gdb.base/solib-overlap.exp
5927 * gdb.base/solib-search.exp
5928 * gdb.base/solib-symbol.exp
5929 * gdb.base/structs.exp
5930 * gdb.base/structs2.exp
5931 * gdb.base/symtab-search-order.exp
5932 * gdb.base/twice.exp
5933 * gdb.base/unload.exp
5934 * gdb.base/varargs.exp
5935 * gdb.base/watchpoint-solib.exp
5936 * gdb.base/watchpoint.exp
5937 * gdb.base/whatis.exp
5938 * gdb.base/wrong_frame_bt_full.exp
5939 * gdb.btrace/dlopen.exp
5940 * gdb.cell/ea-standalone.exp
5941 * gdb.cell/ea-test.exp
5942 * gdb.cp/dispcxx.exp
5943 * gdb.cp/gdb2384.exp
5944 * gdb.cp/method2.exp
5945 * gdb.cp/nextoverthrow.exp
5946 * gdb.cp/pr10728.exp
5947 * gdb.disasm/am33.exp
5948 * gdb.disasm/h8300s.exp
5949 * gdb.disasm/mn10300.exp
5950 * gdb.disasm/sh3.exp
5951 * gdb.dwarf2/dw2-dir-file-name.exp
5952 * gdb.fortran/complex.exp
5953 * gdb.fortran/library-module.exp
5954 * gdb.guile/scm-pretty-print.exp
5955 * gdb.guile/scm-symbol.exp
5956 * gdb.guile/scm-type.exp
5957 * gdb.guile/scm-value.exp
5958 * gdb.linespec/linespec.exp
5961 * gdb.mi/mi-breakpoint-changed.exp
5962 * gdb.mi/mi-dprintf-pending.exp
5963 * gdb.mi/mi-dprintf.exp
5964 * gdb.mi/mi-exit-code.exp
5965 * gdb.mi/mi-pending.exp
5966 * gdb.mi/mi-solib.exp
5967 * gdb.mi/new-ui-mi-sync.exp
5968 * gdb.mi/pr11022.exp
5969 * gdb.mi/user-selected-context-sync.exp
5970 * gdb.opt/solib-intra-step.exp
5971 * gdb.python/py-events.exp
5972 * gdb.python/py-finish-breakpoint.exp
5973 * gdb.python/py-mi.exp
5974 * gdb.python/py-prettyprint.exp
5975 * gdb.python/py-shared.exp
5976 * gdb.python/py-symbol.exp
5977 * gdb.python/py-template.exp
5978 * gdb.python/py-type.exp
5979 * gdb.python/py-value.exp
5980 * gdb.reverse/solib-precsave.exp
5981 * gdb.reverse/solib-reverse.exp
5982 * gdb.server/solib-list.exp
5983 * gdb.stabs/weird.exp
5984 * gdb.threads/reconnect-signal.exp
5985 * gdb.threads/stepi-random-signal.exp
5986 * gdb.trace/actions.exp
5988 * gdb.trace/backtrace.exp
5989 * gdb.trace/change-loc.exp
5990 * gdb.trace/deltrace.exp
5991 * gdb.trace/ftrace-lock.exp
5992 * gdb.trace/ftrace.exp
5993 * gdb.trace/infotrace.exp
5994 * gdb.trace/mi-tracepoint-changed.exp
5995 * gdb.trace/packetlen.exp
5996 * gdb.trace/passcount.exp
5997 * gdb.trace/pending.exp
5998 * gdb.trace/range-stepping.exp
5999 * gdb.trace/report.exp
6000 * gdb.trace/stap-trace.exp
6001 * gdb.trace/tfind.exp
6002 * gdb.trace/trace-break.exp
6003 * gdb.trace/trace-condition.exp
6004 * gdb.trace/trace-enable-disable.exp
6005 * gdb.trace/trace-mt.exp
6006 * gdb.trace/tracecmd.exp
6007 * gdb.trace/tspeed.exp
6011 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6013 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6014 with gdb_test_no_output.
6015 Use command as test name.
6017 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6019 Fix test names starting with uppercase throughout the files.
6021 * gdb.ada/assign_1.exp
6022 * gdb.ada/boolean_expr.exp
6023 * gdb.base/arrayidx.exp
6025 * gdb.base/gcore-buffer-overflow.exp
6026 * gdb.base/testenv.exp
6027 * gdb.compile/compile.exp
6028 * gdb.python/py-framefilter-invalidarg.exp
6029 * gdb.python/py-framefilter.exp
6031 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6033 Fix test names starting with uppercase throughout the files.
6035 * gdb.ada/array_return.exp
6036 * gdb.ada/expr_delims.exp
6037 * gdb.ada/mi_dyn_arr.exp
6038 * gdb.ada/mi_interface.exp
6039 * gdb.ada/mi_var_array.exp
6040 * gdb.ada/watch_arg.exp
6041 * gdb.arch/alpha-step.exp
6042 * gdb.arch/altivec-regs.exp
6043 * gdb.arch/e500-regs.exp
6044 * gdb.arch/powerpc-d128-regs.exp
6045 * gdb.base/arrayidx.exp
6046 * gdb.base/break.exp
6047 * gdb.base/checkpoint.exp
6048 * gdb.base/debug-expr.exp
6049 * gdb.base/dmsym.exp
6050 * gdb.base/radix.exp
6051 * gdb.base/sepdebug.exp
6052 * gdb.base/testenv.exp
6053 * gdb.base/watch_thread_num.exp
6054 * gdb.base/watchpoint-cond-gone.exp
6055 * gdb.cell/break.exp
6056 * gdb.cell/ea-cache.exp
6057 * gdb.compile/compile.exp
6058 * gdb.cp/gdb2495.exp
6059 * gdb.gdb/selftest.exp
6060 * gdb.gdb/xfullpath.exp
6062 * gdb.go/integers.exp
6063 * gdb.objc/basicclass.exp
6064 * gdb.pascal/hello.exp
6065 * gdb.pascal/integers.exp
6066 * gdb.python/py-breakpoint.exp
6067 * gdb.python/py-cmd.exp
6068 * gdb.python/py-linetable.exp
6069 * gdb.python/py-xmethods.exp
6070 * gdb.python/python.exp
6071 * gdb.reverse/consecutive-precsave.exp
6072 * gdb.reverse/finish-precsave.exp
6073 * gdb.reverse/i386-precsave.exp
6074 * gdb.reverse/machinestate-precsave.exp
6075 * gdb.reverse/sigall-precsave.exp
6076 * gdb.reverse/solib-precsave.exp
6077 * gdb.reverse/step-precsave.exp
6078 * gdb.reverse/until-precsave.exp
6079 * gdb.reverse/watch-precsave.exp
6080 * gdb.threads/leader-exit.exp
6081 * gdb.threads/pthreads.exp
6082 * gdb.threads/wp-replication.exp
6083 * gdb.trace/actions.exp
6084 * gdb.trace/mi-tsv-changed.exp
6087 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6089 Fix test names starting with uppercase throughout the files.
6091 * gdb.arch/i386-bp_permanent.exp
6092 * gdb.arch/i386-gnu-cfi.exp
6093 * gdb.base/disasm-end-cu.exp
6094 * gdb.base/macscp.exp
6095 * gdb.base/pending.exp
6096 * gdb.base/watch_thread_num.exp
6097 * gdb.cp/exception.exp
6098 * gdb.cp/gdb2495.exp
6100 * gdb.python/py-evsignal.exp
6101 * gdb.python/python.exp
6102 * gdb.trace/tracecmd.exp
6104 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6106 Fix test names starting with uppercase throughout the files.
6108 * gdb.base/charset.exp
6110 * gdb.base/multi-forks.exp
6111 * gdb.guile/scm-progspace.exp
6112 * gdb.opencl/datatypes.exp
6113 * gdb.python/py-block.exp
6114 * gdb.python/py-function.exp
6115 * gdb.python/py-symbol.exp
6116 * gdb.python/py-symtab.exp
6117 * gdb.python/py-xmethods.exp
6118 * gdb.reverse/break-precsave.exp
6119 * gdb.reverse/break-reverse.exp
6120 * gdb.reverse/consecutive-precsave.exp
6121 * gdb.reverse/consecutive-reverse.exp
6122 * gdb.reverse/finish-precsave.exp
6123 * gdb.reverse/finish-reverse-bkpt.exp
6124 * gdb.reverse/finish-reverse.exp
6125 * gdb.reverse/fstatat-reverse.exp
6126 * gdb.reverse/getresuid-reverse.exp
6127 * gdb.reverse/i386-precsave.exp
6128 * gdb.reverse/i386-reverse.exp
6129 * gdb.reverse/i386-sse-reverse.exp
6130 * gdb.reverse/i387-stack-reverse.exp
6131 * gdb.reverse/insn-reverse.exp
6132 * gdb.reverse/machinestate-precsave.exp
6133 * gdb.reverse/machinestate.exp
6134 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6135 * gdb.reverse/pipe-reverse.exp
6136 * gdb.reverse/readv-reverse.exp
6137 * gdb.reverse/recvmsg-reverse.exp
6138 * gdb.reverse/rerun-prec.exp
6139 * gdb.reverse/s390-mvcle.exp
6140 * gdb.reverse/sigall-precsave.exp
6141 * gdb.reverse/sigall-reverse.exp
6142 * gdb.reverse/solib-precsave.exp
6143 * gdb.reverse/solib-reverse.exp
6144 * gdb.reverse/step-precsave.exp
6145 * gdb.reverse/step-reverse.exp
6146 * gdb.reverse/time-reverse.exp
6147 * gdb.reverse/until-precsave.exp
6148 * gdb.reverse/until-reverse.exp
6149 * gdb.reverse/waitpid-reverse.exp
6150 * gdb.reverse/watch-precsave.exp
6151 * gdb.reverse/watch-reverse.exp
6153 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6155 Fix test names starting with uppercase throughout the files.
6157 * gdb.arch/i386-mpx-simple_segv.exp
6158 * gdb.arch/i386-mpx.exp
6159 * gdb.arch/i386-permbkpt.exp
6160 * gdb.arch/pa-nullify.exp
6161 * gdb.arch/powerpc-d128-regs.exp
6162 * gdb.arch/vsx-regs.exp
6163 * gdb.base/bfp-test.exp
6164 * gdb.base/break.exp
6165 * gdb.base/breakpoint-shadow.exp
6166 * gdb.base/callfuncs.exp
6167 * gdb.base/charset.exp
6168 * gdb.base/commands.exp
6169 * gdb.base/completion.exp
6170 * gdb.base/dfp-test.exp
6172 * gdb.base/ending-run.exp
6174 * gdb.base/expand-psymtabs.exp
6175 * gdb.base/float128.exp
6176 * gdb.base/floatn.exp
6177 * gdb.base/foll-exec-mode.exp
6178 * gdb.base/gdb1056.exp
6179 * gdb.base/gdb11531.exp
6180 * gdb.base/kill-after-signal.exp
6181 * gdb.base/multi-forks.exp
6182 * gdb.base/overlays.exp
6183 * gdb.base/pending.exp
6184 * gdb.base/sepdebug.exp
6185 * gdb.base/testenv.exp
6186 * gdb.base/valgrind-db-attach.exp
6187 * gdb.base/watch_thread_num.exp
6188 * gdb.base/watchpoint-cond-gone.exp
6189 * gdb.base/watchpoint.exp
6190 * gdb.base/watchpoints.exp
6191 * gdb.cp/arg-reference.exp
6192 * gdb.cp/baseenum.exp
6193 * gdb.cp/operator.exp
6195 * gdb.dwarf2/dw2-op-out-param.exp
6196 * gdb.dwarf2/dw2-reg-undefined.exp
6199 * gdb.go/integers.exp
6200 * gdb.go/methods.exp
6201 * gdb.go/package.exp
6202 * gdb.guile/scm-parameter.exp
6203 * gdb.guile/scm-progspace.exp
6204 * gdb.guile/scm-value.exp
6205 * gdb.mi/mi-pending.exp
6206 * gdb.mi/user-selected-context-sync.exp
6207 * gdb.multi/multi-attach.exp
6208 * gdb.multi/tids.exp
6209 * gdb.opt/clobbered-registers-O2.exp
6210 * gdb.pascal/floats.exp
6211 * gdb.pascal/integers.exp
6212 * gdb.python/py-block.exp
6213 * gdb.python/py-events.exp
6214 * gdb.python/py-parameter.exp
6215 * gdb.python/py-symbol.exp
6216 * gdb.python/py-symtab.exp
6217 * gdb.python/py-type.exp
6218 * gdb.python/py-value.exp
6219 * gdb.python/py-xmethods.exp
6220 * gdb.python/python.exp
6221 * gdb.reverse/break-precsave.exp
6222 * gdb.reverse/consecutive-precsave.exp
6223 * gdb.reverse/finish-precsave.exp
6224 * gdb.reverse/i386-precsave.exp
6225 * gdb.reverse/machinestate-precsave.exp
6226 * gdb.reverse/sigall-precsave.exp
6227 * gdb.reverse/solib-precsave.exp
6228 * gdb.reverse/step-precsave.exp
6229 * gdb.reverse/until-precsave.exp
6230 * gdb.reverse/watch-precsave.exp
6231 * gdb.server/ext-attach.exp
6232 * gdb.server/ext-restart.exp
6233 * gdb.server/ext-run.exp
6234 * gdb.server/ext-wrapper.exp
6235 * gdb.stabs/gdb11479.exp
6236 * gdb.stabs/weird.exp
6237 * gdb.threads/attach-many-short-lived-threads.exp
6238 * gdb.threads/kill.exp
6239 * gdb.threads/watchpoint-fork.exp
6241 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6243 Fix test names starting with uppercase throughout all the files below.
6245 * gdb.ada/array_return.exp
6246 * gdb.ada/catch_ex.exp
6247 * gdb.ada/info_exc.exp
6248 * gdb.ada/mi_catch_ex.exp
6249 * gdb.ada/mi_dyn_arr.exp
6250 * gdb.ada/mi_ex_cond.exp
6251 * gdb.ada/mi_exc_info.exp
6252 * gdb.ada/mi_interface.exp
6253 * gdb.ada/mi_task_arg.exp
6254 * gdb.ada/mi_task_info.exp
6255 * gdb.ada/mi_var_array.exp
6256 * gdb.arch/alpha-step.exp
6257 * gdb.arch/amd64-disp-step.exp
6258 * gdb.arch/arm-disp-step.exp
6259 * gdb.arch/disp-step-insn-reloc.exp
6260 * gdb.arch/e500-prologue.exp
6261 * gdb.arch/ftrace-insn-reloc.exp
6262 * gdb.arch/gdb1558.exp
6263 * gdb.arch/i386-bp_permanent.exp
6264 * gdb.arch/i386-disp-step.exp
6265 * gdb.arch/i386-float.exp
6266 * gdb.arch/i386-gnu-cfi.exp
6267 * gdb.arch/ia64-breakpoint-shadow.exp
6268 * gdb.arch/mips16-thunks.exp
6269 * gdb.arch/pa-nullify.exp
6270 * gdb.arch/powerpc-aix-prologue.exp
6271 * gdb.arch/powerpc-power.exp
6272 * gdb.arch/ppc-dfp.exp
6273 * gdb.arch/s390-tdbregs.exp
6274 * gdb.arch/spu-info.exp
6275 * gdb.arch/spu-ls.exp
6276 * gdb.arch/thumb-bx-pc.exp
6277 * gdb.base/advance.exp
6278 * gdb.base/annota-input-while-running.exp
6279 * gdb.base/arrayidx.exp
6280 * gdb.base/asmlabel.exp
6281 * gdb.base/async.exp
6282 * gdb.base/attach-wait-input.exp
6283 * gdb.base/auto-connect-native-target.exp
6284 * gdb.base/batch-preserve-term-settings.exp
6285 * gdb.base/bfp-test.exp
6286 * gdb.base/bigcore.exp
6287 * gdb.base/bp-permanent.exp
6288 * gdb.base/break-always.exp
6289 * gdb.base/break-fun-addr.exp
6290 * gdb.base/break-idempotent.exp
6291 * gdb.base/break-main-file-remove-fail.exp
6292 * gdb.base/break-probes.exp
6293 * gdb.base/break-unload-file.exp
6294 * gdb.base/break.exp
6295 * gdb.base/call-ar-st.exp
6296 * gdb.base/call-rt-st.exp
6297 * gdb.base/call-sc.exp
6298 * gdb.base/call-signal-resume.exp
6299 * gdb.base/call-strs.exp
6300 * gdb.base/callexit.exp
6301 * gdb.base/callfuncs.exp
6302 * gdb.base/catch-gdb-caused-signals.exp
6303 * gdb.base/catch-signal-siginfo-cond.exp
6304 * gdb.base/catch-syscall.exp
6305 * gdb.base/compare-sections.exp
6306 * gdb.base/cond-eval-mode.exp
6307 * gdb.base/condbreak-call-false.exp
6308 * gdb.base/consecutive-step-over.exp
6309 * gdb.base/cursal.exp
6310 * gdb.base/disabled-location.exp
6311 * gdb.base/disasm-end-cu.exp
6312 * gdb.base/display.exp
6313 * gdb.base/double-prompt-target-event-error.exp
6314 * gdb.base/dprintf-bp-same-addr.exp
6315 * gdb.base/dprintf-detach.exp
6316 * gdb.base/dprintf-next.exp
6317 * gdb.base/dprintf-non-stop.exp
6318 * gdb.base/dprintf-pending.exp
6319 * gdb.base/dso2dso.exp
6320 * gdb.base/ending-run.exp
6321 * gdb.base/enum_cond.exp
6322 * gdb.base/examine-backward.exp
6323 * gdb.base/exe-lock.exp
6324 * gdb.base/exec-invalid-sysroot.exp
6325 * gdb.base/execl-update-breakpoints.exp
6326 * gdb.base/execution-termios.exp
6327 * gdb.base/fileio.exp
6328 * gdb.base/fixsection.exp
6329 * gdb.base/foll-exec-mode.exp
6330 * gdb.base/foll-exec.exp
6331 * gdb.base/fork-running-state.exp
6332 * gdb.base/frame-args.exp
6333 * gdb.base/fullpath-expand.exp
6334 * gdb.base/func-ptr.exp
6335 * gdb.base/gcore-relro-pie.exp
6336 * gdb.base/gdb1090.exp
6337 * gdb.base/gdb1555.exp
6338 * gdb.base/global-var-nested-by-dso.exp
6339 * gdb.base/gnu-ifunc.exp
6340 * gdb.base/hbreak-in-shr-unsupported.exp
6341 * gdb.base/hbreak-unmapped.exp
6342 * gdb.base/hook-stop.exp
6343 * gdb.base/infcall-input.exp
6344 * gdb.base/info-fun.exp
6345 * gdb.base/info-shared.exp
6346 * gdb.base/interrupt-noterm.exp
6347 * gdb.base/jit-so.exp
6349 * gdb.base/line-symtabs.exp
6351 * gdb.base/longjmp.exp
6352 * gdb.base/macscp.exp
6353 * gdb.base/max-value-size.exp
6354 * gdb.base/nodebug.exp
6355 * gdb.base/nofield.exp
6356 * gdb.base/overlays.exp
6357 * gdb.base/paginate-after-ctrl-c-running.exp
6358 * gdb.base/paginate-bg-execution.exp
6359 * gdb.base/paginate-inferior-exit.exp
6360 * gdb.base/pending.exp
6361 * gdb.base/pr11022.exp
6362 * gdb.base/printcmds.exp
6363 * gdb.base/ptr-typedef.exp
6364 * gdb.base/ptype.exp
6365 * gdb.base/randomize.exp
6366 * gdb.base/range-stepping.exp
6367 * gdb.base/realname-expand.exp
6368 * gdb.base/relativedebug.exp
6369 * gdb.base/remote.exp
6370 * gdb.base/savedregs.exp
6371 * gdb.base/sepdebug.exp
6372 * gdb.base/set-noassign.exp
6373 * gdb.base/shlib-call.exp
6374 * gdb.base/shreloc.exp
6375 * gdb.base/sigaltstack.exp
6376 * gdb.base/sigbpt.exp
6377 * gdb.base/siginfo-addr.exp
6378 * gdb.base/siginfo-obj.exp
6379 * gdb.base/siginfo-thread.exp
6380 * gdb.base/signest.exp
6381 * gdb.base/signull.exp
6382 * gdb.base/sigrepeat.exp
6384 * gdb.base/so-impl-ld.exp
6385 * gdb.base/solib-corrupted.exp
6386 * gdb.base/solib-disc.exp
6387 * gdb.base/solib-display.exp
6388 * gdb.base/solib-overlap.exp
6389 * gdb.base/solib-search.exp
6390 * gdb.base/solib-symbol.exp
6391 * gdb.base/source-execution.exp
6392 * gdb.base/sss-bp-on-user-bp-2.exp
6393 * gdb.base/sss-bp-on-user-bp.exp
6394 * gdb.base/stack-checking.exp
6395 * gdb.base/stale-infcall.exp
6396 * gdb.base/step-break.exp
6397 * gdb.base/step-line.exp
6398 * gdb.base/step-over-exit.exp
6399 * gdb.base/step-test.exp
6400 * gdb.base/structs.exp
6401 * gdb.base/sym-file.exp
6402 * gdb.base/symtab-search-order.exp
6404 * gdb.base/type-opaque.exp
6405 * gdb.base/unload.exp
6406 * gdb.base/until-nodebug.exp
6407 * gdb.base/until.exp
6408 * gdb.base/unwindonsignal.exp
6409 * gdb.base/watch-cond.exp
6410 * gdb.base/watch-non-mem.exp
6411 * gdb.base/watch_thread_num.exp
6412 * gdb.base/watchpoint-reuse-slot.exp
6413 * gdb.base/watchpoint-solib.exp
6414 * gdb.base/watchpoint.exp
6415 * gdb.btrace/dlopen.exp
6417 * gdb.cell/break.exp
6421 * gdb.cell/dwarfaddr.exp
6422 * gdb.cell/ea-cache.exp
6423 * gdb.cell/ea-standalone.exp
6424 * gdb.cell/ea-test.exp
6425 * gdb.cell/f-regs.exp
6427 * gdb.cell/gcore.exp
6428 * gdb.cell/mem-access.exp
6429 * gdb.cell/ptype.exp
6430 * gdb.cell/registers.exp
6431 * gdb.cell/sizeof.exp
6432 * gdb.cell/solib-symbol.exp
6433 * gdb.cell/solib.exp
6434 * gdb.compile/compile-tls.exp
6435 * gdb.cp/exception.exp
6436 * gdb.cp/gdb2495.exp
6438 * gdb.cp/mb-inline.exp
6439 * gdb.cp/mb-templates.exp
6440 * gdb.cp/pr10687.exp
6442 * gdb.cp/scope-err.exp
6443 * gdb.cp/templates.exp
6444 * gdb.cp/virtfunc.exp
6445 * gdb.dwarf2/dw2-dir-file-name.exp
6446 * gdb.dwarf2/dw2-single-line-discriminators.exp
6447 * gdb.fortran/complex.exp
6448 * gdb.fortran/library-module.exp
6449 * gdb.guile/guile.exp
6450 * gdb.guile/scm-cmd.exp
6451 * gdb.guile/scm-frame-inline.exp
6452 * gdb.guile/scm-objfile.exp
6453 * gdb.guile/scm-pretty-print.exp
6454 * gdb.guile/scm-symbol.exp
6455 * gdb.guile/scm-type.exp
6456 * gdb.guile/scm-value.exp
6457 * gdb.linespec/keywords.exp
6458 * gdb.linespec/ls-errs.exp
6459 * gdb.linespec/macro-relative.exp
6460 * gdb.linespec/thread.exp
6461 * gdb.mi/mi-breakpoint-changed.exp
6462 * gdb.mi/mi-dprintf-pending.exp
6463 * gdb.mi/mi-fullname-deleted.exp
6464 * gdb.mi/mi-logging.exp
6465 * gdb.mi/mi-pending.exp
6466 * gdb.mi/mi-solib.exp
6467 * gdb.mi/new-ui-mi-sync.exp
6468 * gdb.mi/user-selected-context-sync.exp
6469 * gdb.multi/dummy-frame-restore.exp
6470 * gdb.multi/multi-arch-exec.exp
6471 * gdb.multi/remove-inferiors.exp
6472 * gdb.multi/watchpoint-multi-exit.exp
6473 * gdb.opt/solib-intra-step.exp
6474 * gdb.perf/backtrace.exp
6475 * gdb.perf/single-step.exp
6476 * gdb.perf/skip-command.exp
6477 * gdb.perf/skip-prologue.exp
6478 * gdb.perf/solib.exp
6479 * gdb.python/lib-types.exp
6480 * gdb.python/py-as-string.exp
6481 * gdb.python/py-bad-printers.exp
6482 * gdb.python/py-block.exp
6483 * gdb.python/py-breakpoint.exp
6484 * gdb.python/py-cmd.exp
6485 * gdb.python/py-events.exp
6486 * gdb.python/py-evthreads.exp
6487 * gdb.python/py-finish-breakpoint.exp
6488 * gdb.python/py-finish-breakpoint2.exp
6489 * gdb.python/py-frame-inline.exp
6490 * gdb.python/py-frame.exp
6491 * gdb.python/py-inferior.exp
6492 * gdb.python/py-infthread.exp
6493 * gdb.python/py-mi.exp
6494 * gdb.python/py-objfile.exp
6495 * gdb.python/py-pp-maint.exp
6496 * gdb.python/py-pp-registration.exp
6497 * gdb.python/py-prettyprint.exp
6498 * gdb.python/py-recurse-unwind.exp
6499 * gdb.python/py-shared.exp
6500 * gdb.python/py-symbol.exp
6501 * gdb.python/py-symtab.exp
6502 * gdb.python/py-template.exp
6503 * gdb.python/py-type.exp
6504 * gdb.python/py-unwind-maint.exp
6505 * gdb.python/py-unwind.exp
6506 * gdb.python/py-value.exp
6507 * gdb.python/python.exp
6508 * gdb.reverse/finish-reverse-bkpt.exp
6509 * gdb.reverse/insn-reverse.exp
6510 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6511 * gdb.reverse/solib-precsave.exp
6512 * gdb.reverse/solib-reverse.exp
6513 * gdb.stabs/gdb11479.exp
6514 * gdb.stabs/weird.exp
6515 * gdb.threads/fork-child-threads.exp
6516 * gdb.threads/fork-plus-threads.exp
6517 * gdb.threads/fork-thread-pending.exp
6518 * gdb.threads/forking-threads-plus-breakpoint.exp
6519 * gdb.threads/hand-call-in-threads.exp
6520 * gdb.threads/interrupted-hand-call.exp
6521 * gdb.threads/linux-dp.exp
6522 * gdb.threads/local-watch-wrong-thread.exp
6523 * gdb.threads/next-while-other-thread-longjmps.exp
6524 * gdb.threads/non-ldr-exit.exp
6525 * gdb.threads/pending-step.exp
6526 * gdb.threads/print-threads.exp
6527 * gdb.threads/process-dies-while-detaching.exp
6528 * gdb.threads/process-dies-while-handling-bp.exp
6529 * gdb.threads/pthreads.exp
6530 * gdb.threads/queue-signal.exp
6531 * gdb.threads/reconnect-signal.exp
6532 * gdb.threads/signal-command-handle-nopass.exp
6533 * gdb.threads/signal-command-multiple-signals-pending.exp
6534 * gdb.threads/signal-delivered-right-thread.exp
6535 * gdb.threads/signal-sigtrap.exp
6536 * gdb.threads/sigthread.exp
6537 * gdb.threads/staticthreads.exp
6538 * gdb.threads/stepi-random-signal.exp
6539 * gdb.threads/thread-unwindonsignal.exp
6540 * gdb.threads/thread_check.exp
6541 * gdb.threads/thread_events.exp
6542 * gdb.threads/tid-reuse.exp
6543 * gdb.threads/tls-nodebug.exp
6544 * gdb.threads/tls-shared.exp
6545 * gdb.threads/tls-so_extern.exp
6546 * gdb.threads/tls.exp
6547 * gdb.threads/wp-replication.exp
6548 * gdb.trace/actions-changed.exp
6549 * gdb.trace/actions.exp
6550 * gdb.trace/backtrace.exp
6551 * gdb.trace/change-loc.exp
6552 * gdb.trace/collection.exp
6553 * gdb.trace/deltrace.exp
6554 * gdb.trace/disconnected-tracing.exp
6555 * gdb.trace/entry-values.exp
6556 * gdb.trace/ftrace-lock.exp
6557 * gdb.trace/ftrace.exp
6558 * gdb.trace/infotrace.exp
6559 * gdb.trace/mi-trace-frame-collected.exp
6560 * gdb.trace/mi-trace-unavailable.exp
6561 * gdb.trace/mi-traceframe-changed.exp
6562 * gdb.trace/mi-tracepoint-changed.exp
6563 * gdb.trace/mi-tsv-changed.exp
6564 * gdb.trace/no-attach-trace.exp
6565 * gdb.trace/packetlen.exp
6566 * gdb.trace/passc-dyn.exp
6567 * gdb.trace/passcount.exp
6568 * gdb.trace/pending.exp
6569 * gdb.trace/pr16508.exp
6570 * gdb.trace/qtro.exp
6571 * gdb.trace/range-stepping.exp
6572 * gdb.trace/read-memory.exp
6573 * gdb.trace/report.exp
6574 * gdb.trace/save-trace.exp
6575 * gdb.trace/signal.exp
6576 * gdb.trace/stap-trace.exp
6577 * gdb.trace/status-stop.exp
6578 * gdb.trace/strace.exp
6579 * gdb.trace/tfile.exp
6580 * gdb.trace/tfind.exp
6581 * gdb.trace/trace-break.exp
6582 * gdb.trace/trace-condition.exp
6583 * gdb.trace/trace-enable-disable.exp
6584 * gdb.trace/trace-mt.exp
6585 * gdb.trace/tracecmd.exp
6586 * gdb.trace/tracefile-pseudo-reg.exp
6587 * gdb.trace/tspeed.exp
6588 * gdb.trace/tstatus.exp
6590 * gdb.trace/unavailable.exp
6591 * gdb.trace/while-dyn.exp
6592 * gdb.trace/while-stepping.exp
6595 * lib/mi-support.exp
6598 * lib/prelink-support.exp
6599 * lib/selftest-support.exp
6601 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6603 * Makefile.in: Include disable-implicit-rules.mk.
6605 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6607 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6608 non-byte-aligned bit fields.
6610 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6613 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6614 respects the DW_AT_data_bit_offset attribute.
6616 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6618 * gdb.base/default.exp: Fix output of "set language".
6620 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6622 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6623 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6625 * configure.ac: Remove checks for the make program.
6626 * configure: Re-generate.
6628 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6630 * gdb.python/py-recurse-unwind.c (main): Add loop.
6631 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6632 to read_register() and gdb.parse_and_eval(). Make each code
6633 call a separate case that can be individually tested.
6634 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6635 proc. Call cont_and_backtrace for each of the code paths that
6636 we want to test in the unwinder.
6638 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6640 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6641 the definition of struct S.
6643 2016-11-11 Catherine Moore <clm@codesourcery.com>
6645 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6647 2016-11-09 Pedro Alves <palves@redhat.com>
6649 * gdb.base/commands.exp (runto_or_return): New procedure.
6650 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6651 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6652 (progvar_simple_while_test, progvar_complex_if_while_test)
6653 (if_while_breakpoint_command_test)
6654 (infrun_breakpoint_command_test, breakpoint_command_test)
6655 (user_defined_command_test, watchpoint_command_test)
6656 (test_command_prompt_position, redefine_hook_test)
6657 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6658 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6659 multi_line_input and multi_line. Remove gdb_expect and
6660 gdb_stop_suppressing_tests uses.
6661 * lib/gdb.exp (valnum_re): New global.
6662 (multi_line_input): New procedure.
6664 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6666 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6668 (test_setup): Define with proc_with_prefix.
6669 (test_cli_inferior): Likewise.
6670 (test_cli_thread): Likewise.
6671 (test_cli_frame): Likewise.
6672 (test_cli_select_frame): Likewise.
6673 (test_cli_up_down): Likewise.
6674 (test_mi_thread_select): Likewise.
6675 (test_mi_stack_select_frame): Likewise.
6676 (test_cli_in_mi_inferior): Likewise.
6677 (test_cli_in_mi_thread): Likewise.
6678 (test_cli_in_mi_frame): Likewise.
6679 (top level): Do not use with_test_prefix_procname.
6681 2016-11-09 Pedro Alves <palves@redhat.com>
6683 * gdb.base/commands.exp (gdbvar_simple_if_test)
6684 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6685 (progvar_simple_if_test, progvar_simple_while_test)
6686 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6687 (infrun_breakpoint_command_test, breakpoint_command_test)
6688 (user_defined_command_test, watchpoint_command_test)
6689 (test_command_prompt_position, deprecated_command_test)
6690 (bp_deleted_in_command, temporary_breakpoint_commands)
6691 (stray_arg0_test, source_file_with_indented_comment)
6692 (recursive_source_test, if_commands_test)
6693 (error_clears_commands_left, redefine_hook_test)
6694 (redefine_backtrace_test): Use proc_with_prefix.
6695 * lib/gdb.exp (proc_with_prefix): New proc.
6697 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6699 * gdb.base/tui-layout.c: New file.
6700 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6701 disassembly window contains very long lines.
6703 2016-11-08 Tom Tromey <tom@tromey.com>
6705 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6708 2016-11-08 Tom Tromey <tom@tromey.com>
6710 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6713 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6715 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6717 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6719 * gdb.rust/simple.rs: Add test for univariant enums without
6720 discriminants and for encoded struct-like enums.
6722 2016-10-28 Pedro Alves <palves@redhat.com>
6724 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6725 gdb_test_multiple, tighten regexps and match symtabs and line
6726 tables incrementally.
6728 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6730 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6733 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6735 * gdb.base/exec-invalid-sysroot.exp: New file.
6737 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6739 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6741 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6743 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6745 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6747 * gdb.base/killed-outside.exp: Remove $options from a call to
6748 `prepare_for_testing'.
6750 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6752 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6753 Change test message.
6755 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6757 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6760 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6762 * gdb.trace/mi-trace-save.exp: New file.
6764 2016-10-13 Yao Qi <yao.qi@linaro.org>
6766 * gdb.base/code_elim.exp (get_var_address): Remove.
6767 * gdb.base/relocate.exp: Likewise.
6768 * gdb.base/shreloc.exp: Likewise.
6769 * lib/gdb.exp (get_var_address): New.
6771 2016-10-13 Yao Qi <yao.qi@linaro.org>
6773 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6774 floating point tests if $skip_float_test is false.
6776 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6778 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6779 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6781 Add 1 to argc so we guarantee distinct initial/modified argc values.
6783 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6785 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6787 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6789 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6790 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6791 * gdb.arch/vsx-regs.exp: Likewise.
6793 2016-10-07 Yao Qi <yao.qi@linaro.org>
6795 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6797 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6799 * gdb.python/python.exp: Test decode_line("*0").
6801 2016-10-06 Doug Evans <dje@google.com>
6803 * gdb.python/py-value.exp (test_value_creation): Add test for large
6804 unsigned 64-bit value.
6806 2016-10-06 Tom Tromey <tom@tromey.com>
6808 * gdb.compile/compile.exp: Change java tests to rust.
6809 * gdb.base/setshow.exp: Change java tests to rust.
6810 * gdb.base/default.exp: Remove java from language list.
6811 * README (Examples): Update language example.
6812 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6814 * lib/gdb.exp (skip_java_tests): Remove.
6815 * lib/java.exp: Remove.
6818 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6820 * gdb.arch/mips-fcr.exp: New test.
6821 * gdb.arch/mips-fcr.c: Source for the new test.
6823 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6825 * gdb.base/solib-disc.exp: Use `standard_output_file'
6828 2016-10-06 Pedro Alves <palves@redhat.com>
6830 * gdb.base/jit-simple-dl.c: New file.
6831 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6832 * gdb.base/jit-simple.c: ... this.
6833 * gdb.base/jit-simple.exp (jit_run): Delete.
6834 (build_jit): New proc.
6835 (jit_test_reread): Recompile either the main program or the shared
6836 library, depending on what is being tested. Skip changing address
6837 if caller wants to. Compare before/after addresses. If testing
6838 standalone, explicitly load the binary. Test "maint info
6840 (top level): Add "standalone vs shared lib" and "change address"
6841 vs "same address" axes.
6843 2016-10-06 Pedro Alves <palves@redhat.com>
6845 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6848 (jit_test_reread): Use with_test_prefix. Reload the main binary
6849 explicitly. Compare the before/after addresses of the JIT
6852 2016-08-15 Doug Evans <dje@google.com>
6854 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6855 for single bitfields is bool.
6856 * gdb.xml/tdesc-regs.exp: Ditto.
6858 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6860 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6862 2016-10-05 Yao Qi <yao.qi@linaro.org>
6864 * lib/gdb.exp (support_complex_tests): Return zero if
6865 gdb_skip_float_test return true.
6867 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6868 Simon Marchi <simon.marchi@ericsson.com>
6871 * gdb.mi/user-selected-context-sync.exp: New file.
6872 * gdb.mi/user-selected-context-sync.c: New file.
6874 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6875 Simon Marchi <simon.marchi@ericsson.com>
6878 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6879 =thread-select-event check.
6881 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6883 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6884 the compulsory L operand changes.
6885 * gdb.arch/powerpc-power.s: Likewise.
6887 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6889 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6890 * gdb.base/jit-attach-pie.c: New file.
6891 * gdb.base/jit-attach-pie.exp: New file.
6893 2016-09-28 Pedro Alves <palves@redhat.com>
6895 * gdb.base/infcall-input.c: New file.
6896 * gdb.base/infcall-input.exp: New file.
6898 2016-09-22 Yao Qi <yao.qi@linaro.org>
6900 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6901 (gdb_exit): Rename it to ...
6902 (gdbserver_gdb_exit): ... Close GDBserver.
6903 (gdb_exit): New proc, call gdbserver_gdb_exit.
6904 (mi_gdb_exit): Likewise.
6906 2016-09-22 Yao Qi <yao.qi@linaro.org>
6908 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6910 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6913 2016-09-22 Yao Qi <yao.qi@linaro.org>
6915 * lib/gdbserver-support.exp: Check the existence of
6916 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6918 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6920 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6922 2016-09-21 Tom Tromey <tom@tromey.com>
6925 * gdb.base/quit.exp: New file.
6927 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6929 * .gitignore: New file.
6931 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6933 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6936 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6938 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6940 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6942 * gdb.cp/casts.cc (decltype): Move it ...
6943 (main): ... with its call to ...
6944 * gdb.cp/casts03.cc: ... a new file.
6945 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6947 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6949 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6951 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6953 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6954 and sync up the test with tests in gas/testsuite/gas/ppc.
6955 * gdb.arch/powerpc-power.exp: Likewise.
6957 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6959 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6961 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6962 Jan Kratochvil <jan.kratochvil@redhat.com>
6964 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6965 make m1's definition to be different from m2's. Use 'dummy' as an
6966 argument for probe 'two'.
6968 2016-09-10 Jon Beniston <jon@beniston.com>
6970 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6973 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6975 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6976 variable declaration.
6977 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6978 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6979 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6980 received HWCAP as its argument.
6982 2016-09-06 Pedro Alves <palves@redhat.com>
6984 * gdb.base/new-ui-pending-input.c: New file.
6985 * gdb.base/new-ui-pending-input.exp: New file.
6986 * gdb.exp (clear_gdb_spawn_id): New procedure.
6987 (with_spawn_id): Check whether gdb_spawn_id exists before
6988 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6991 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6993 * gdb.base/float128.c: New file.
6994 * gdb.base/float128.exp: Likewise.
6995 * gdb.base/floatn.c: Likewise.
6996 * gdb.base/floatn.exp: Likewise.
6998 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7000 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7002 2016-09-05 Pedro Alves <palves@redhat.com>
7005 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7006 unwinders are immediately called as side effect of "source" or
7007 "disable unwinder" commands.
7008 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7010 2016-09-02 Yao Qi <yao.qi@linaro.org>
7012 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7013 is true and $type is "float" or "double".
7015 2016-09-02 Yao Qi <yao.qi@linaro.org>
7017 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7019 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7020 * gdb.base/call-rt-st.exp: Likewise.
7021 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7022 return value instead of gdb,skip_float_test.
7023 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7024 (do_function_calls): Use its return value instead of
7025 gdb,skip_float_test.
7026 * gdb.base/finish.exp: Likewise.
7027 * gdb.base/funcargs.exp: Likewise.
7028 * gdb.base/return.exp: Likewise.
7029 * gdb.base/return2.exp: Likewise.
7030 * gdb.base/varargs.exp: Likewise.
7031 * lib/gdb.exp (gdb_skip_float_test): Change it to
7032 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7034 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7036 * gdb.multi/tids.exp: Test "thread apply all".
7038 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7040 * gdb.base/default.exp (tty): Remove.
7042 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7044 * gdb.python/py-recurse-unwind.c: New file.
7045 * gdb.python/py-recurse-unwind.py: New file.
7046 * gdb.python/py-recurse-unwind.exp: New file.
7048 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7050 * gdb.base/set-inferior-tty.exp: New file.
7051 * gdb.base/set-inferior-tty.c: New file.
7053 2016-08-23 Pedro Alves <palves@redhat.com>
7056 * gdb.base/new-ui-echo.c: New file.
7057 * gdb.base/new-ui-echo.exp: New file.
7059 2016-08-23 Yao Qi <yao.qi@linaro.org>
7061 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7063 * gdb.server/connect-without-multi-process.exp (do_test):
7066 2016-08-23 Yao Qi <yao.qi@linaro.org>
7068 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7069 standalone_txt. Delete gdb_txt and standalone_txt on host
7070 and target. Spawn the binary on target. Copy files from
7073 2016-08-22 Pedro Alves <palves@redhat.com>
7076 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7077 with_test_prefix. Factor out bits to ...
7078 (test_no_vdso): ... this new procedure.
7080 2016-08-19 Carl Love <cel@us.ibm.com>
7082 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7083 maintaining separate logic for constructing the output path.
7084 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7085 * gdb.arch/ppc-dfp.exp: Likewise.
7086 * gdb.arch/ppc-fp.exp: Likewise.
7087 * gdb.arch/vsx-regs.exp: Likewise.
7088 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7089 binprefix for generating the additional binary files.
7091 2016-08-19 Pedro Alves <palves@redhat.com>
7093 * gdb.trace/mi-trace-frame-collected.exp
7094 (test_trace_frame_collected): On x32, expect two registers.
7096 2016-08-18 Carl Love <cel@us.ibm.com>
7098 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7099 and sync up the test with tests in gas/testsuite/gas/ppc.
7100 * gdb.arch/powerpc-power.exp: Likewise.
7102 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7104 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7105 expected error message.
7107 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7109 * gdb.multi/remove-inferiors.exp: New file.
7110 * gdb.multi/remove-inferiors.c: New file.
7112 2016-08-12 Yao Qi <yao.qi@linaro.org>
7114 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7117 2016-08-10 Pedro Alves <palves@redhat.com>
7120 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7123 2016-08-09 Pedro Alves <palves@redhat.com>
7124 Simon Marchi <simon.marchi@ericsson.com>
7127 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7128 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7130 2016-08-09 Pedro Alves <palves@redhat.com>
7133 * gdb.mi/mi-cmd-error.exp: New file.
7135 2016-08-09 Pedro Alves <palves@redhat.com>
7138 * gdb.base/signals-state-child.c: New file.
7139 * gdb.base/signals-state-child.exp: New file.
7140 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7142 2016-08-09 Pedro Alves <palves@redhat.com>
7144 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7146 2016-08-03 Tom Tromey <tom@tromey.com>
7149 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7151 2016-08-01 Yao Qi <yao.qi@linaro.org>
7153 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7154 variable mode to "multi-process" if $multi_process is 1, otherwise
7155 set it to "single-process".
7157 2016-08-01 Yao Qi <yao.qi@linaro.org>
7159 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7160 * gdb.cp/cpexprs.exp: Likewise.
7161 * gdb.cp/m-static.exp: Likewise.
7163 2016-07-26 Tom Tromey <tom@tromey.com>
7166 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7169 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7171 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7172 selecting assembly source files.
7173 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7174 assembly source files.
7175 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7176 assembly source files.
7177 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7178 selecting assembly source files.
7180 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7182 * gdb.base/new-ui.exp (do_test_invalid_args): New
7185 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7187 * gdb.btrace/reconnect.c: New file.
7188 * gdb.btrace/reconnect.exp: New file.
7190 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7192 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7193 to test_catch_syscall_group.
7194 (test_catch_syscall_group): New.
7196 2016-07-21 Tom Tromey <tom@tromey.com>
7198 * gdb.rust/simple.rs (main): Use empty struct expression.
7199 * gdb.rust/simple.exp: Add tests for empty struct expression.
7201 2016-07-21 Yao Qi <yao.qi@linaro.org>
7203 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7204 if gdb_skip_xml_test is true on some targets.
7206 2016-07-21 Yao Qi <yao.qi@linaro.org>
7208 * gdb.server/solib-list.exp: Unset last_loaded_file.
7210 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7212 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7213 "step into captured_main (args)".
7215 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7217 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7219 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7221 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7223 2016-07-19 Pedro Alves <palves@redhat.com>
7225 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7226 * gdb.opt/inline-bt.exp: Likewise.
7227 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7228 additional_flags=-Winline.
7229 * gdb.opt/inline-locals.exp: Likewise.
7230 * gdb.opt/inline-markers.c (ATTR): Define.
7231 (inlined_fn): Use it.
7233 2016-07-19 Yao Qi <yao.qi@linaro.org>
7235 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7236 (test_with_self): Remove some code. Remove argument executable.
7237 (top-level): Use do_self_tests.
7239 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7240 Don Breazeal <donb@codesourcery.com>
7242 * gdb.base/maint.exp: Escape paths used in regular expressions.
7243 * gdb.stabs/weird.exp: Likewise.
7245 2016-07-13 Tom Tromey <tom@tromey.com>
7247 PR python/15620, PR python/18620:
7248 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7249 (test_bkpt_events): New procs.
7251 2016-07-13 Tom Tromey <tom@tromey.com>
7254 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7256 (test_watchpoints): Likewise.
7257 (test_bkpt_pending): New proc.
7259 2016-07-13 Tom Tromey <tom@tromey.com>
7262 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7265 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7267 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7268 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7269 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7271 (g): Rename g_end_lbl to g_label.
7272 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7274 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7276 2016-07-12 Tom Tromey <tom@tromey.com>
7279 * gdb.python/py-unwind-maint.exp: Update tests.
7281 2016-07-12 Yao Qi <yao.qi@linaro.org>
7283 * lib/selftest-support.exp (selftest_setup): Match the output
7284 when captured_main is inlined.
7286 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7288 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7290 (print this%a, print this%b, print this): New tests.
7291 * gdb.fortran/derived-types.f90 (this): New object and
7294 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7296 * gdb.ada/arraydim.exp: Remove extra directory level in build
7299 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7301 * lib/ada.exp: Remove extra directory level in build directory.
7302 * gdb.ada/cond_lang.exp: Likewise.
7303 * gdb.ada/exec_changed.exp: Likewise.
7304 * gdb.ada/lang_switch.exp: Likewise.
7306 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7308 * simple.rs: Add test for raw pointer subscripting.
7309 * simple.exp: Add test expectations.
7311 2016-07-05 Yao Qi <yao.qi@linaro.org>
7313 * gdb.mi/mi-reverse.exp: Match =record-started output.
7315 2016-07-01 Pedro Alves <palves@redhat.com>
7317 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7319 (jit_reader_test): Test the jit reader's unwinder.
7320 * gdb.base/jithost.c (jit_function_00_code): New global.
7321 (main): Use memcpy to fill in the mmapped code, instead of poking
7322 bytes manually here.
7323 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7325 (read_debug_info): Save the function's range.
7326 (read_sp): New function.
7327 (unwind_frame): Use it. Also unwind RBP.
7328 (get_frame_id): Use read_sp.
7329 (gdb_init_reader): Use calloc instead of malloc.
7330 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7331 parameter. Use gdb_test_multiple.
7333 2016-07-01 Pedro Alves <palves@redhat.com>
7334 Antoine Tremblay <antoine.tremblay@ericsson.com>
7336 * gdb.threads/process-dies-while-detaching.c: New file.
7337 * gdb.threads/process-dies-while-detaching.exp: New file.
7339 2016-07-01 Pedro Alves <palves@redhat.com>
7341 * gdb.multi/watchpoint-multi-exit.c: New file.
7342 * gdb.multi/watchpoint-multi-exit.exp: New file.
7344 2016-06-30 Pedro Alves <palves@redhat.com>
7346 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7347 unset inferior_spawn_id.
7349 2016-06-30 Pedro Alves <palves@redhat.com>
7351 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7352 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7354 2016-06-29 Yao Qi <yao.qi@linaro.org>
7356 * gdb.base/return.c: Add copyright header.
7358 2016-06-29 Tom Tromey <tom@tromey.com>
7361 * gdb.python/py-framefilter.exp: Add tests for setting priority
7362 and disabling of non-existent frame filter.
7364 2016-06-29 Yao Qi <yao.qi@linaro.org>
7366 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7369 2016-06-28 Yao Qi <yao.qi@linaro.org>
7371 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7372 triplets. Start gdb, execute catch syscall, and continue. Check
7373 gdb's output to determine catch syscall is supported.
7375 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7377 * gdb.rust/simple.rs: Add test for returning unit in a function.
7378 * gdb.rust/simple.exp: Add expectation for functions returning
7381 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7383 * gdb.python/py-breakpoint-create-fail.c,
7384 gdb.python/py-breakpoint-create-fail.exp,
7385 gdb.python/py-breakpoint-create-fail.py: New testcase.
7387 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7390 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7391 * gdb.rust/simple.exp: Add test expectations for new NonZero
7394 2016-06-24 David Taylor <dtaylor@emc.com>
7396 * gdb.base/offsets.exp: New file.
7397 * gdb.base/offsets.c: New file.
7399 2016-06-23 Tom Tromey <tom@tromey.com>
7402 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7403 before any filters are loaded.
7405 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7407 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7408 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7410 * gdb.fortran/derived-type-function.exp: New file.
7411 * gdb.fortran/derived-type-function.f90: New file.
7414 2016-06-21 Pedro Alves <palves@redhat.com>
7416 * gdb.base/new-ui.exp: New file.
7417 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7418 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7419 (with_spawn_id): New procedure.
7421 2016-06-21 Pedro Alves <palves@redhat.com>
7423 * gdb.mi/mi-exec-run.exp: New file.
7425 2016-06-21 Pedro Alves <palves@redhat.com>
7427 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7428 breakpoint command's output on the main UI.
7429 (test_break): New procedure, factored out from calls in the top
7431 (top level): Use foreach_with_prefix to test MI as main UI and as
7434 2016-06-21 Pedro Alves <palves@redhat.com>
7436 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7437 (test_awatch_creation_and_listing)
7438 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7439 Remove 'type' parameter.
7440 (test_watchpoint_all): New parameter mi_mode. Remove
7442 (top level): Use foreach_with_prefix, and add main/separate UI MI
7445 2016-06-21 Pedro Alves <palves@redhat.com>
7447 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7448 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7449 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7450 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7451 (gdb_main_spawn_id, mi_spawn_id): Declare and
7453 (mi_create_inferior_pty): New procedure,
7454 factored out from default_mi_gdb_start.
7455 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7457 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7458 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7459 Use mi_create_inferior_pty.
7460 (mi_gdb_start): Use eval to pass down args list.
7462 2016-06-21 Pedro Alves <palves@redhat.com>
7464 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7465 * gdb.opt/inline-cmds.exp: Add MI tests.
7467 2016-06-21 Pedro Alves <palves@redhat.com>
7469 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7471 2016-06-21 Pedro Alves <palves@redhat.com>
7473 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7474 (top level): Use it instead of mi_execute_to.
7476 2016-06-21 Pedro Alves <palves@redhat.com>
7478 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7479 (cont_handler_str): New.
7480 (signal_stop_handler): Set stop_handler_str instead of printing to
7482 (continue_handler): Set cont_handler_str instead of printing to
7484 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7485 mi_send_resuming_command. Print stop_handler_str and
7486 cont_handler_str instead of expecting the python events print
7489 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7491 * gdb.base/jit-reader.exp: New file.
7492 * gdb.base/jithost.c: New file.
7493 * gdb.base/jithost.h: New file.
7494 * gdb.base/jitreader.c : New file.
7495 * gdb.base/jit-protocol.h: New file.
7497 2016-06-17 Yao Qi <yao.qi@linaro.org>
7499 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7500 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7501 and detach-on-fork. Adjust tests.
7502 (top level): Invoke break_cond_on_syscall with combinations of
7503 syscall, follow-fork-mode and detach-on-fork.
7505 2016-06-17 Yao Qi <yao.qi@linaro.org>
7507 * gdb.base/step-over-exit.c: New.
7508 * gdb.base/step-over-exit.exp: New.
7510 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7512 * gdb.base/float.exp: Add target check for nds32*-*-*.
7513 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7515 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7517 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7518 for unsupported target features.
7519 * gdb.base/call-rt-st.exp: Likewise.
7520 * gdb.base/call-sc.exp: Likewise.
7521 * gdb.base/call-signal-resume.exp: Likewise.
7522 * gdb.base/call-strs.exp: Likewise.
7523 * gdb.base/callexit.exp: Likewise.
7524 * gdb.base/callfuncs.exp: Likewise.
7525 * gdb.base/nodebug.exp: Likewise.
7526 * gdb.base/printcmds.exp: Likewise.
7527 * gdb.base/ptype.exp: Likewise.
7528 * gdb.base/structs.exp: Likewise.
7529 * gdb.base/unwindonsignal.exp: Likewise.
7530 * gdb.cp/gdb2495.exp: Likewise.
7531 * gdb.cp/templates.exp: Likewise.
7532 * gdb.cp/virtfunc.exp: Likewise.
7533 * gdb.threads/hand-call-in-threads.exp: Likewise.
7534 * gdb.threads/interrupted-hand-call.exp: Likewise.
7535 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7537 2016-06-10 Tom Tromey <tom@tromey.com>
7540 * gdb.rust/expr.exp: Add test for integer constant larger than
7543 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7545 * gdb.fortran/nested-funcs.exp: New.
7546 * gdb.fortran/nested-funcs.f90: New.
7548 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7550 * gdb.base/examine-backward.c: New file.
7551 * gdb.base/examine-backward.exp: New file.
7553 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7555 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7558 2016-06-02 Tom Tromey <tom@tromey.com>
7561 * gdb.python/py-shared.exp: Add solib_name test.
7563 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7565 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7567 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7570 * gdb.dwarf2/implref.exp: Rename to...
7571 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7572 * gdb.dwarf2/implref-array.c: New file.
7573 * gdb.dwarf2/implref-array.exp: Likewise.
7574 * gdb.dwarf2/implref-global.c: Likewise.
7575 * gdb.dwarf2/implref-global.exp: Likewise.
7576 * gdb.dwarf2/implref-struct.c: Likewise.
7577 * gdb.dwarf2/implref-struct.exp: Likewise.
7579 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7581 * gdb.trace/trace-condition.exp: Add 64bit tests.
7583 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7585 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7587 (main): Adapt to 8 to 64 bits types.
7588 * gdb.trace/trace-condition.exp: Add new tests.
7590 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7592 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7594 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7596 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7597 Move condition tests...
7598 * gdb.trace/trace-condition.exp: Here.
7600 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7602 * gdb.trace/trace-condition.exp: Add counter-case tests.
7604 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7607 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7608 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7610 2016-05-27 Pedro Alves <palves@redhat.com>
7612 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7614 (top level): Call it, and bail out of DejaGnu is known to be bad.
7616 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7618 * gdb.base/whatis.c: Extend the test case.
7619 * gdb.base/whatis.exp: Add additional tests.
7621 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7623 * gdb.fortran/type.f90: Add pointer variable.
7624 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7626 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7628 * gdb.fortran/vla-type.exp: Fix testcase name.
7630 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7632 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7634 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7636 * gdb.fortran/type.f90: Add nested structures.
7637 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7638 * gdb.fortran/derived-type.exp: Adapt expected output.
7639 * gdb.fortran/vla-type.exp: Adapt expected output.
7641 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7643 * gdb.fortran/whatis_type.exp: Adapt expected output.
7645 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7647 * gdb.fortran/print_type.exp: Fix expected output.
7648 * gdb.fortran/whatis_type.exp: Fix expected output.
7650 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7652 * gdb.fortran/whatis_type.exp: Use multi_line.
7654 2016-05-24 Tom Tromey <tom@tromey.com>
7657 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7658 use value as an index.
7660 2016-05-23 Tom Tromey <tom@tromey.com>
7663 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7666 2016-05-24 Pedro Alves <palves@redhat.com>
7669 * gdb.threads/clone-attach-detach.c: New file.
7670 * gdb.threads/clone-attach-detach.exp: New file.
7672 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7674 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7676 2016-05-23 Tom Tromey <tom@tromey.com>
7678 PR python/19438, PR python/18393:
7679 * gdb.python/py-progspace.exp: Add "dir" test.
7680 * gdb.python/py-objfile.exp: Add "dir" test.
7682 2016-05-23 Yao Qi <yao.qi@linaro.org>
7684 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7685 * gdb.arch/thumb2-it.exp: Likewise.
7687 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7689 * gdb.mi/mi-threads-interrupt.c: New file.
7690 * gdb.mi/mi-threads-interrupt.exp: New file.
7692 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7695 * gdb.mi/mi-async-run.exp: New file.
7696 * gdb.mi/mi-async-run.c: New file.
7698 2016-05-17 Tom Tromey <tom@tromey.com>
7699 Manish Goregaokar <manishsmail@gmail.com>
7701 * lib/rust-support.exp: New file.
7702 * lib/gdb.exp (skip_rust_tests): New proc.
7703 (build_executable_from_specs): Handle rust.
7704 * lib/future.exp (gdb_find_rustc): New proc.
7705 (gdb_default_target_compile): Handle rust.
7706 * gdb.rust/expr.exp: New file.
7707 * gdb.rust/generics.exp: New file.
7708 * gdb.rust/generics.rs: New file.
7709 * gdb.rust/methods.exp: New file.
7710 * gdb.rust/methods.rs: New file.
7711 * gdb.rust/modules.exp: New file.
7712 * gdb.rust/modules.rs: New file.
7713 * gdb.rust/simple.exp: New file.
7714 * gdb.rust/simple.rs: New file.
7716 2016-05-17 Tom Tromey <tom@tromey.com>
7718 * gdb.base/default.exp (set language): Add rust.
7720 2016-05-17 Tom Tromey <tom@tromey.com>
7722 * gdb.gdb/unittest.exp: New file.
7724 2016-05-16 Yao Qi <yao.qi@linaro.org>
7726 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7727 shell_prompt. Update shell_prompt_re.
7729 2016-05-12 Doug Evans <dje@google.com>
7732 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7733 $options when building executable.
7734 * gdb.dwarf2/fission-loclists-pie.S: New file.
7735 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7737 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7739 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
7740 of [is_remote target],
7742 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7744 * lib/gdb.exp (use_gdb_stub): New procedure.
7746 2016-05-03 Yunlian Jiang <yunlian@google.com>
7747 Doug Evans <dje@google.com>
7750 * gdb.dwarf2/dwp-sepdebug.c: New file.
7751 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7753 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7755 * gdb.base/detach.exp: Remove is_remote check.
7757 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7759 * gdb.base/annota-input-while-running.exp: Don't check for
7760 [is_remote target]. Enable annotations after running to main.
7761 Remove unused "set test..." line.
7763 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7765 * gdb.trace/trace-enable-disable.exp: New file.
7766 * gdb.trace/trace-enable-disable.c: New file.
7768 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7770 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7771 use it in info sharedlibrary test.
7772 * gdb.trace/ftrace-lock.exp: Likewise.
7773 * gdb.trace/ftrace.exp: Likewise.
7774 * gdb.trace/range-stepping.exp: Likewise.
7775 * gdb.trace/trace-break.exp: Likewise.
7776 * gdb.trace/trace-condition.exp: Likewise.
7777 * gdb.trace/trace-mt.exp: Likewise.
7779 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7781 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7782 (gdb_load_shlib): ... this.
7783 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7785 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7786 * gdb.base/ctxobj.exp: Likewise.
7787 * gdb.base/dprintf-pending.exp: Likewise.
7788 * gdb.base/dso2dso.exp: Likewise.
7789 * gdb.base/fixsection.exp: Likewise.
7790 * gdb.base/gcore-relro.exp: Likewise.
7791 * gdb.base/gdb1555.exp: Likewise.
7792 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7793 * gdb.base/gnu-ifunc.exp: Likewise.
7794 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7795 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7796 * gdb.base/pending.exp: Likewise.
7797 * gdb.base/print-file-var.exp: Likewise.
7798 * gdb.base/print-symbol-loading.exp: Likewise.
7799 * gdb.base/shlib-call.exp: Likewise.
7800 * gdb.base/shreloc.exp: Likewise.
7801 * gdb.base/so-impl-ld.exp: Likewise.
7802 * gdb.base/solib-disc.exp: Likewise.
7803 * gdb.base/solib-nodir.exp: Likewise.
7804 * gdb.base/solib-overlap.exp: Likewise.
7805 * gdb.base/solib-symbol.exp: Likewise.
7806 * gdb.base/solib-weak.exp (do_test): Likewise.
7807 * gdb.base/sym-file.exp: Likewise.
7808 * gdb.base/symtab-search-order.exp: Likewise.
7809 * gdb.base/type-opaque.exp: Likewise.
7810 * gdb.base/unload.exp: Likewise.
7811 * gdb.base/watchpoint-solib.exp: Likewise.
7812 * gdb.compile/compile.exp: Likewise.
7813 * gdb.cp/gdb2384.exp: Likewise.
7814 * gdb.cp/infcall-dlopen.exp: Likewise.
7815 * gdb.cp/re-set-overloaded.exp: Likewise.
7816 * gdb.fortran/library-module.exp: Likewise.
7817 * gdb.opt/solib-intra-step.exp: Likewise.
7818 * gdb.python/py-finish-breakpoint.exp: Likewise.
7819 * gdb.python/py-shared.exp: Likewise.
7820 * gdb.reverse/solib-precsave.exp: Likewise.
7821 * gdb.reverse/solib-reverse.exp: Likewise.
7822 * gdb.server/solib-list.exp: Likewise.
7823 * gdb.threads/dlopen-libpthread.exp: Likewise.
7824 * gdb.threads/tls-shared.exp: Likewise.
7825 * gdb.threads/tls-so_extern.exp: Likewise.
7826 * gdb.trace/change-loc.exp: Likewise.
7827 * gdb.trace/ftrace-lock.exp: Likewise.
7828 * gdb.trace/ftrace.exp: Likewise.
7829 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7830 * gdb.trace/pending.exp: Likewise.
7831 * gdb.trace/range-stepping.exp: Likewise.
7832 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7833 (strace_info_marker): Likewise.
7834 (strace_probe_marker): Likewise.
7835 (strace_trace_on_same_addr): Likewise.
7836 (strace_trace_on_diff_addr): Likewise.
7837 * gdb.trace/trace-break.exp: Likewise.
7838 * gdb.trace/trace-condition.exp: Likewise.
7839 * gdb.trace/trace-mt.exp: Likewise.
7841 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7843 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7844 result of gdb_remote_download.
7845 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7846 * gdb.base/dso2dso.exp: Likewise.
7847 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7848 * gdb.base/print-file-var.exp: Likewise.
7849 * gdb.base/shlib-call.exp: Likewise.
7850 * gdb.base/shreloc.exp: Likewise.
7851 * gdb.base/solib-overlap.exp: Likewise.
7852 * gdb.base/solib-weak.exp (do_test): Likewise.
7853 * gdb.base/unload.exp: Likewise.
7855 2016-04-27 Yao Qi <yao.qi@linaro.org>
7857 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7860 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7862 * vla-type.exp: Print structure from toplevel.
7864 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7866 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7868 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7871 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7873 * gdb.fortran/vla-type.f90: New file.
7874 * gdb.fortran/vla-type.exp: New file.
7876 2016-04-25 Yao Qi <yao.qi@linaro.org>
7878 * gdb.base/branch-to-self.c: New file.
7879 * gdb.base/branch-to-self.exp: New file.
7881 2016-04-22 Yao Qi <yao.qi@linaro.org>
7883 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7886 2016-04-22 Yao Qi <yao.qi@linaro.org>
7888 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7889 * gdb.base/annota3.exp: Likewise.
7891 2016-04-22 Yao Qi <yao.qi@linaro.org>
7893 * gdb.reverse/step-precsave.exp: Do one step and test program
7894 stops in "callee" and do multiple steps until program goes out
7896 * gdb.reverse/step-reverse.exp: Likewise.
7898 2016-04-22 Yao Qi <yao.qi@linaro.org>
7900 * gdb.trace/signal.exp: Also pass if
7901 $tracepoint_hits($i) > $iterations.
7903 2016-04-22 Yao Qi <yao.qi@linaro.org>
7905 * gdb.trace/signal.c: New file.
7906 * gdb.trace/signal.exp: New file.
7908 2016-04-19 Doug Evans <xdje42@gmail.com>
7910 * gdb.base/bad-file.exp: New file.
7912 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7914 * gdb.dwarf2/implref.exp: New file.
7916 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7918 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7919 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7920 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7921 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7922 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7923 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7924 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7925 * lib/fortran.exp (fortran_int4): New procedure.
7926 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7927 (fortran_logical4): Likewise.
7929 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7931 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7933 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7935 * lib/compiler.c: Add Intel specific preprocessor macros.
7936 * lib/compiler.cc: Likewise.
7938 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7940 * gdb.server/connect-with-no-symbol-file.c: New file.
7941 * gdb.server/connect-with-no-symbol-file.exp: New file.
7943 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7945 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7947 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7949 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7950 standard output directory.
7952 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7954 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7956 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7958 * gdb.btrace/instruction_history.c (loop): Add declaration.
7960 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7962 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7964 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7966 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7967 parentheses to print.
7968 (continue_handler): Likewise.
7970 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7972 * gdb.server/solib-list.exp: Remove is_remote check.
7973 Pass shlib= to gdb_compile. Don't link shared library with
7974 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7975 Run binary filename through "readlink -f" on the target.
7977 2016-04-08 Pedro Alves <palves@redhat.com>
7979 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7980 interpreter filename as argument to gdbserver_spawn.
7981 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7982 Return empty if $last_loaded_file does not exist.
7984 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7986 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7987 * gdb.base/jit-main.c: Use exit after usage.
7989 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7991 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7992 GDBHISTSIZE prior to the tests.
7993 * gdb.base/gdbinit-history.exp: Likewise.
7995 2016-04-07 Pedro Alves <palves@redhat.com>
7997 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7998 instead of build_executable. Use gdb_load_shlibs.
8000 2016-04-07 Yao Qi <yao.qi@linaro.org>
8002 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8003 Execute "si" command.
8005 2016-04-07 Yao Qi <yao.qi@linaro.org>
8007 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8008 number instead of the comments on some line.
8010 2016-04-06 Don Breazeal <donb@codesourcery.com>
8012 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8013 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8015 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8017 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8018 standard_output_file. Remove unused binfile variable.
8020 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8022 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8023 * gdb.python/py-mi-objfile.exp: Match "list main" output
8026 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8028 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8031 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8033 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8035 * gdb.trace/ftrace.exp: Likewise.
8036 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8038 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8039 (gdb_load_shlibs): Copy libraries to test directory when testing
8040 natively. Only set solib-search-path if testing remotely.
8041 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8043 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8045 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8046 gdb_download. Use it even if the target is not remote.
8047 * gdb.base/jit.exp (compile_jit_test): Likewise.
8048 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8049 output directory if the destination board is local, otherwise use
8050 the standard remote_download from DejaGnu.
8051 (gdb_download): Remove.
8052 (gdb_load_shlibs): Use gdb_remote_download instead of
8054 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8055 Use gdb_remote_download instead of gdb_download. Use it even if
8056 the target is not remote.
8057 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8058 instead of gdb_download.
8060 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8062 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8063 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8066 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8069 * gdb.base/printcmds.exp: Add artificial arrays tests.
8071 2016-03-31 Pedro Alves <palves@redhat.com>
8074 * gdb.base/jit-main.c: Include unistd.h.
8075 (ATTACH): Define to 0 if not already defined.
8076 (wait_for_gdb, mypid): New globals.
8077 (WAIT_FOR_GDB): New macro.
8078 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8079 some breakpoint locations.
8080 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8082 (one_jit_test): Add REATTACH parameter, and handle it. Use
8083 continue_to_test_location.
8084 (top level): Test attach, and adjusts calls to one_jit_test.
8086 2016-03-31 Pedro Alves <palves@redhat.com>
8089 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8090 BINSUFFIX parameter, and handle it.
8091 (top level): Adjust calls compile_jit_test.
8093 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8096 * gdb.python/py-mi-events-gdb.py: New file.
8097 * gdb.python/py-mi-events.c: New file.
8098 * gdb.python/py-mi-events.exp: New file.
8100 2016-03-30 Yao Qi <yao.qi@linaro.org>
8102 * gdb.reverse/until-precsave.exp: Match function name only.
8103 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8104 Move malloc to a condition block.
8105 * gdb.reverse/until-reverse.exp: Match function name only.
8107 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8109 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8110 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8111 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8112 variable for GPR 0 instead of assuming it is register 0.
8113 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8114 * lib/trace-support.exp: Add s390 registers.
8116 2016-03-29 Yao Qi <yao.qi@linaro.org>
8118 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8120 2016-03-24 Yao Qi <yao.qi@linaro.org>
8122 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8125 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8127 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8128 maintaining separate logic for constructing the output path.
8130 2016-03-16 Don Breazeal <donb@codesourcery.com>
8132 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8133 Retry fork and waitpid on interrupted system call errors.
8134 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8135 Use with_timeout_factor to increase timeout by factor of 10.
8137 2016-03-15 Don Breazeal <donb@codesourcery.com>
8139 * gdb.cp/scope-err.cc: New test program.
8140 * gdb.cp/scope-err.exp: New test script.
8141 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8142 lines and "set breakpoint here" comment.
8143 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8144 Fixed some whitespace and format issues.
8145 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8146 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8148 2016-03-15 Doug Evans <dje@google.com>
8150 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8151 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8152 All callers updated. Add tests for enums, mixed flags register.
8154 2016-03-15 Doug Evans <dje@google.com>
8156 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8157 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8159 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8161 * gdb.base/default.exp: Add $_as_string to the list of expected
8162 convenience functions.
8164 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8166 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8168 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8170 * gdb.python/py-as-string.exp: New file.
8171 * gdb.python/py-as-string.c: New file.
8173 2016-03-09 Pedro Alves <palves@redhat.com>
8175 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8176 signal" -> "Thread NN received signal" output change.
8177 * gdb.threads/ia64-sigill.exp: Likewise.
8178 * gdb.threads/linux-dp.exp: Likewise.
8179 * gdb.threads/manythreads.exp: Likewise.
8180 * gdb.threads/pending-step.exp: Likewise.
8181 * gdb.threads/print-threads.exp: Likewise.
8182 * gdb.threads/sigstep-threads.exp: Likewise.
8183 * gdb.threads/staticthreads.exp: Likewise.
8184 * gdb.threads/tls.exp: Likewise.
8186 2016-03-09 Pedro Alves <palves@redhat.com>
8188 * gdb.base/command-line-input.exp: New file.
8190 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8192 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8193 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8194 * gdb.trace/pending.exp: Accept leading dot before function name.
8195 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8196 * lib/trace-support.exp: Set registers for ppc.
8198 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8200 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8201 use it for disassembly; accept .main in addition to main in backtrace.
8203 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8204 Marcin Kościelnicki <koriakin@0x04.net>
8206 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8207 (gdb_recursion_test_ptr): New global variable.
8208 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8210 (gdb_c_test): Ditto.
8212 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8214 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8217 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8219 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8220 (bar): Add bar_start_lbl label.
8221 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8222 of foo/bar for emitting DWARF and tracing.
8224 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8226 * analyze-racy-logs.py: Set executable bit.
8228 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8230 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8231 (CHECK_TARGET_TMP): Likewise.
8232 (check-single-racy): New rule.
8233 (check-parallel-racy): Likewise.
8234 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8235 (do-check-parallel-racy): New rule.
8236 (check-racy/%.exp): Likewise.
8237 * README (Racy testcases): New section.
8238 * analyze-racy-logs.py: New file.
8240 2016-03-03 Doug Evans <dje@google.com>
8242 * gdb.base/skip.exp: Use with_test_prefix.
8244 2016-03-03 Yao Qi <yao.qi@linaro.org>
8246 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8247 Invoke step_over_syscall "clone" and break_cond_on_syscall
8249 * gdb.base/step-over-clone.c: New file.
8251 2016-03-03 Yao Qi <yao.qi@linaro.org>
8253 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8256 2016-03-03 Yao Qi <yao.qi@linaro.org>
8258 * gdb.base/disp-step-fork.c: Rename to ...
8259 * gdb.base/step-over-fork.c: ... it. New file.
8260 * gdb.base/disp-step-vfork.c: Rename to ...
8261 * gdb.base/step-over-vfork.c: ... it. New file.
8262 * gdb.base/disp-step-syscall.exp: Rename to ...
8263 * gdb.base/step-over-syscall.exp: ... it. New file.
8264 (disp_step_cross_syscall): Rename to ...
8265 (step_over_syscall): ... it.
8267 2016-03-03 Yao Qi <yao.qi@linaro.org>
8269 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8270 If target supports condition evaluation on target, invoke
8271 break_cond_on_syscall for fork and vfork.
8273 2016-03-03 Yao Qi <yao.qi@linaro.org>
8275 * gdb.base/disp-step-syscall.exp: Don't invoke
8276 support_displaced_stepping.
8277 (disp_step_cross_syscall): Test with displaced stepping off and
8280 2016-03-03 Yao Qi <yao.qi@linaro.org>
8282 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8285 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8288 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8290 * gdb.fortran/vla-history.exp: Remove breakpoint.
8292 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8294 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8297 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8299 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8302 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8304 * gdb.mi/vla.f90: Nullify pointer after declaration.
8306 2016-03-01 Pedro Alves <palves@redhat.com>
8308 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8310 2016-03-01 Pedro Alves <palves@redhat.com>
8312 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8313 before anything else.
8314 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8316 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8317 before anything else.
8318 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8320 2016-03-01 Pedro Alves <palves@redhat.com>
8322 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8324 2016-03-01 Yao Qi <yao.qi@linaro.org>
8326 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8327 prepare_for_testing.
8329 2016-03-01 Yao Qi <yao.qi@linaro.org>
8331 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8333 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8335 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8336 manually constructing the output path.
8338 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8340 * gdb.arch/s390-stackless.S: New.
8341 * gdb.arch/s390-stackless.exp: New.
8343 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8345 * gdb.dlang/circular.c: New file.
8346 * gdb.dlang/circular.exp: New file.
8348 2016-02-26 Yao Qi <yao.qi@linaro.org>
8350 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8351 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8352 (testcases): Update.
8354 2016-02-26 Yao Qi <yao.qi@linaro.org>
8356 * gdb.reverse/aarch64.c: Rename to ...
8357 * gdb.reverse/insn-reverse.c: ... it.
8358 * gdb.reverse/aarch64.exp: Rename to ...
8359 * gdb.reverse/insn-reverse.exp: ... it.
8361 2016-02-26 Yao Qi <yao.qi@linaro.org>
8363 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8364 (testcase_ftype): New.
8365 (testcases): New array.
8367 (main): Call each element in testcases.
8368 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8369 (read_testcase): New.
8370 Do the tests in a loop.
8372 2016-02-25 Yao Qi <yao.qi@linaro.org>
8374 * gdb.base/branches.c: Remove.
8376 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8379 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8381 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8383 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8385 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8387 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8388 change x86_64 call_insn to 'callq'.
8390 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8392 * gdb.trace/tfile-avx.c: Move to...
8393 * gdb.trace/tracefile-pseudo-reg.c: Here.
8394 * gdb.trace/tfile-avx.exp: Move to...
8395 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8397 2016-02-24 Gary Benson <gbenson@redhat.com>
8399 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8402 2016-02-23 Doug Evans <dje@google.com>
8404 * gdb.base/skip.c (test_skip): New function.
8405 (end_test_skip_file_and_function): New function.
8406 (test_skip_file_and_function): New function.
8407 * gdb.base/skip1.c (test_skip): New function.
8408 (skip1_test_skip_file_and_function): New function.
8409 * gdb.base/skip.exp: Add tests for new skip options.
8410 * gdb.base/skip-solib.exp: Update expected output.
8411 * gdb.perf/skip-command.cc: New file.
8412 * gdb.perf/skip-command.exp: New file.
8413 * gdb.perf/skip-command.py: New file.
8415 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8417 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8418 info registers pattern.
8420 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8422 * lib/future.exp: Add D support.
8423 (gdb_find_gdc): New proc.
8424 (gdb_default_target_compile): Add D support.
8426 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8428 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8430 (trace_speed_test): Determine the iteration count for a time
8431 between 15..30 seconds.
8433 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8435 * gdb.arch/i386-mpx-sigsegv.c: New file.
8436 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8437 * gdb.arch/i386-mpx-simple_segv.c: New file.
8438 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8440 2016-02-18 Yao Qi <yao.qi@linaro.org>
8442 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8443 Don't call setup_kfail.
8445 2016-02-18 Yao Qi <yao.qi@linaro.org>
8447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8448 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8450 2016-02-16 Doug Evans <dje@google.com>
8452 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8453 * gdb.base/skip1.c: Ditto.
8454 * gdb.base/skip.exp: Whitespace cleanup.
8456 2016-02-16 Don Breazeal <donb@codesourcery.com>
8459 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8460 Remove kfail for PR remote/19496.
8462 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8464 * lib/gdb.exp (standard_temp_file): Return a path specific to
8465 the runtest invocation.
8467 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8469 * gdb.trace/save-trace.exp: Change relative path to be in the
8470 standard output directory.
8472 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8474 * gdb.arch/i386-prologue.c: Add missing prototypes.
8476 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8478 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8479 * gdb.arch/i386-prologue.exp: Likewise.
8480 * gdb.arch/i386-size.exp: Likewise.
8482 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8484 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8485 define object file path.
8486 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8488 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8489 standard_output_file to define binfile.
8491 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8493 Fix compatibility with recent gfortran-5.3.1.
8494 * gdb.fortran/vla-history.exp (print vla1 allocated)
8495 (print vla2 allocated, print $2, print $3): Remove
8496 (print $4): Rename to ...
8497 (print $2): ... here.
8498 (print $9): Rename to ...
8499 (print $5): ... here.
8500 (print $10): Rename to ...
8501 (print $6): ... here.
8502 * gdb.fortran/vla.f90: Add pvla initialization.
8504 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8506 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8508 * gdb.fortran/vla-value-sub.exp: Likewise.
8510 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8512 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8514 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8516 * i386-biarch-core.exp: Define corefile using
8517 standard_output_file.
8519 2016-02-12 Yao Qi <yao.qi@linaro.org>
8521 * gdb.arch/arm-single-step-kernel-helper.c: New.
8522 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8524 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8526 * gdb.btrace/tailcall-only.exp: New.
8527 * gdb.btrace/tailcall-only.c: New.
8528 * gdb.btrace/x86_64-tailcall-only.S: New.
8529 * gdb.btrace/i686-tailcall-only.S: New.
8531 2016-02-11 Pedro Alves <palves@redhat.com>
8533 * README (Parallel testing): Add missing double quotes.
8535 2016-02-11 Pedro Alves <palves@redhat.com>
8537 * README (Parallel testing): New section.
8538 (GDB_PARALLEL): Rewrite.
8539 (FORCE_PARALLEL): Document.
8541 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8543 * gdb.trace/tfile-avx.c: New test.
8544 * gdb.trace/tfile-avx.exp: New test.
8546 2016-02-09 Keith Seitz <keiths@redhat.com>
8548 PR breakpoints/19546
8549 * gdb.base/infcall-exec.c: New file.
8550 * gdb.base/infcall-exec2.c: New file.
8551 * gdb.base/infcall-exec.exp: New file.
8553 2016-02-09 Keith Seitz <keiths@redhat.com>
8555 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8556 (toplevel): Call test_bkpt_address.
8558 2016-02-09 Keith Seitz <keiths@redhat.com>
8561 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8562 (toplevel): Call test_bkpt_address.
8564 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8566 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8568 * configure: Regenerate.
8570 2016-02-09 Pedro Alves <palves@redhat.com>
8572 PR breakpoints/19548
8573 * gdb.base/execl-update-breakpoints.c (some_function): New
8576 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8577 Tighten expected GDB output.
8579 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8581 * Makefile.in (ALL_SUBDIRS): Remove.
8582 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8583 (distclean maintainer-clean realclean): Likewise.
8584 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8585 * configure: Regenerate.
8586 * gdb.ada/Makefile.in: Delete.
8587 * gdb.arch/Makefile.in: Likewise.
8588 * gdb.asm/Makefile.in: Likewise.
8589 * gdb.base/Makefile.in: Likewise.
8590 * gdb.btrace/Makefile.in: Likewise.
8591 * gdb.cell/Makefile.in: Likewise.
8592 * gdb.compile/Makefile.in: Likewise.
8593 * gdb.cp/Makefile.in: Likewise.
8594 * gdb.disasm/Makefile.in: Likewise.
8595 * gdb.dlang/Makefile.in: Likewise.
8596 * gdb.dwarf2/Makefile.in: Likewise.
8597 * gdb.fortran/Makefile.in: Likewise.
8598 * gdb.gdb/Makefile.in: Likewise.
8599 * gdb.go/Makefile.in: Likewise.
8600 * gdb.guile/Makefile.in: Likewise.
8601 * gdb.java/Makefile.in: Likewise.
8602 * gdb.linespec/Makefile.in: Likewise.
8603 * gdb.mi/Makefile.in: Likewise.
8604 * gdb.modula2/Makefile.in: Likewise.
8605 * gdb.multi/Makefile.in: Likewise.
8606 * gdb.objc/Makefile.in: Likewise.
8607 * gdb.opencl/Makefile.in: Likewise.
8608 * gdb.opt/Makefile.in: Likewise.
8609 * gdb.pascal/Makefile.in: Likewise.
8610 * gdb.perf/Makefile.in: Likewise.
8611 * gdb.python/Makefile.in: Likewise.
8612 * gdb.reverse/Makefile.in: Likewise.
8613 * gdb.server/Makefile.in: Likewise.
8614 * gdb.stabs/Makefile.in: Likewise.
8615 * gdb.threads/Makefile.in: Likewise.
8616 * gdb.trace/Makefile.in: Likewise.
8617 * gdb.xml/Makefile.in: Likewise.
8618 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8620 (standard_output_file): Remove check for GDB_PARALLEL, always
8621 return path in outputs/$subdir/$testname.
8623 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8625 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8626 (site.exp): Assign abs_srcdir to tcl's srcdir.
8628 2016-02-04 Yao Qi <yao.qi@linaro.org>
8630 * gdb.base/foll-exec-mode.c: Include limits.h.
8631 (main): Add parameters argc and argv. Get directory from
8633 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8635 * gdb.base/foll-exec.c: Include limits.h.
8636 (main): Add parameters argc and argv.
8637 Get directory from argv[0].
8638 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8639 Adjust tests on the number of lines as source code changed.
8640 * gdb.base/foll-vfork-exit.c: Include limits.h.
8641 (main): Add one line of statement before vfork.
8642 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8643 (main): Add parameters argc and argv. Get directory from
8645 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8646 (setup_gdb): Set tbreak to skip some source lines.
8647 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8648 (main): Add parameters argc and argv. Get directory from
8650 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8652 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8653 (main): Add parameters argc and argv. Get directory from
8655 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8658 2016-02-01 Doug Evans <dje@google.com>
8660 * gdb.base/skip.exp: Clean up multiple references to same test name.
8662 2016-02-01 Pedro Alves <palves@redhat.com>
8665 * gdb.threads/forking-threads-plus-breakpoint.exp
8666 (displaced_stepping_supported): New global.
8667 (probe_displaced_stepping_support): New procedure.
8668 (do_test): Add 'displaced' parameter, and use it.
8669 (top level): Check for displaced stepping support. Add displaced
8670 stepping on/off testing axis.
8672 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8674 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8675 pointer. Don't perform further tests on the unassociated pointer
8676 if the first test fails.
8678 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8680 * gdb.base/max-value-size.c: New file.
8681 * gdb.base/max-value-size.exp: New file.
8682 * gdb.base/huge.exp: Disable max-value-size for this test.
8684 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8686 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8688 2016-01-28 Yao Qi <yao.qi@linaro.org>
8690 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8692 2016-01-25 Pedro Alves <palves@redhat.com>
8695 * gdb.base/fork-running-state.c: New file.
8696 * gdb.base/fork-running-state.exp: New file.
8698 2016-01-25 Pedro Alves <palves@redhat.com>
8701 * gdb.base/catch-fork-kill.c: New file.
8702 * gdb.base/catch-fork-kill.exp: New file.
8704 2016-01-25 Pedro Alves <palves@redhat.com>
8706 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8707 Delete, moved to lib/gdb.exp.
8708 * gdb.threads/forking-threads-plus-breakpoint.exp
8709 (foreach_with_prefix): Likewise.
8710 * gdb.threads/process-dies-while-handling-bp.exp
8711 (foreach_with_prefix): Likewise.
8712 * lib/gdb.exp (foreach_with_prefix): New procedure.
8714 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8716 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8717 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8719 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8721 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8724 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8725 Pedro Alves <palves@redhat.com>
8727 Fix testsuite compatibility with Guile.
8728 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8731 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8733 Fix testsuite compatibility with Guile.
8734 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8735 (thread 1): New test for backtrace through signal handler.
8737 2016-01-22 Yao Qi <yao.qi@linaro.org>
8740 * gdb.base/multi-forks.c: Include
8741 ../lib/unbuffer_output.c
8742 (main): Call gdb_unbuffer_output.
8744 2016-01-21 Doug Evans <dje@google.com>
8746 * lib/ada.exp (gdb_compile_ada): Fix typo.
8748 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8750 * gdb.base/break-fun-addr.exp: New file.
8751 * gdb.base/break-fun-addr1.c: New file.
8752 * gdb.base/break-fun-addr2.c: New file.
8754 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8756 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8757 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8760 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8762 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8763 when GDB can not set the vector return value. Add more comments
8766 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8768 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8771 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8773 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8775 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8777 * Makefile.in (check-single): Pass --status to runtest.
8778 (check/%.exp): Likewise.
8780 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8782 * Makefile.in (check-parallel): Propagate return code from make
8785 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8787 * gdb.trace/ftrace.exp: Fix expected message on continue.
8788 * gdb.trace/pending.exp: Fix expected message on continue.
8789 * gdb.trace/trace-break.exp: Fix expected message on continue.
8791 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8793 * lib/gdb.exp (gdb_test): Remove unused global references.
8795 2016-01-18 Pedro Alves <palves@redhat.com>
8797 * gdb.base/async-shell.exp: Adjust expected output.
8798 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8799 * gdb.base/siginfo-thread.exp: Adjust expected output.
8800 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8801 * gdb.java/jnpe.exp: Adjust expected output.
8802 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8803 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8804 * gdb.threads/leader-exit.exp: Adjust expected output.
8805 * gdb.threads/manythreads.exp: Adjust expected output.
8806 * gdb.threads/pthreads.exp: Adjust expected output.
8807 * gdb.threads/schedlock.exp: Adjust expected output.
8808 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8809 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8811 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8813 * gdb.threads/sigthread.exp: Adjust expected output.
8814 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8816 2016-01-18 Yao Qi <yao.qi@linaro.org>
8818 * gdb.guile/scm-section-script.c: Replace @progbits with
8820 * gdb.python/py-section-script.c: Likewise.
8822 2016-01-15 Pedro Alves <palves@redhat.com>
8824 * gdb.multi/tids.exp: Test star wildcard ranges.
8826 2016-01-15 Pedro Alves <palves@redhat.com>
8828 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8829 command from "thread apply" invocation.
8830 (thr_apply_info_thr_invalid): Default the expected output to the
8832 (top level): Add tests that use convenience variables. Add tests
8833 for "thread apply" with a valid TID list, but missing the command.
8835 2016-01-13 Pedro Alves <palves@redhat.com>
8837 * gdb.base/default.exp: Expect $_gthread as well.
8838 * gdb.multi/tids.exp: Test $_gthread.
8839 * gdb.threads/thread-specific.exp: Test $_gthread.
8841 2016-01-13 Pedro Alves <palves@redhat.com>
8843 * gdb.multi/tids.exp: Test "info threads -gid".
8845 2016-01-13 Pedro Alves <palves@redhat.com>
8847 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8849 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8851 2016-01-07 Pedro Alves <palves@redhat.com>
8853 * gdb.base/break.exp: Adjust to output changes.
8854 * gdb.base/hbreak2.exp: Likewise.
8855 * gdb.base/sepdebug.exp: Likewise.
8856 * gdb.base/watch_thread_num.exp: Likewise.
8857 * gdb.linespec/keywords.exp: Likewise.
8858 * gdb.multi/info-threads.exp: Likewise.
8859 * gdb.threads/thread-find.exp: Likewise.
8860 * gdb.multi/tids.c: New file.
8861 * gdb.multi/tids.exp: New file.
8863 2016-01-13 Pedro Alves <palves@redhat.com>
8865 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8867 2016-01-13 Pedro Alves <palves@redhat.com>
8869 * gdb.base/default.exp: Expect $_inferior as well.
8870 * gdb.multi/base.exp: Test $_inferior.
8872 2016-01-13 Pedro Alves <palves@redhat.com>
8874 PR breakpoints/19388
8875 * gdb.base/catch-signal-siginfo-cond.c: New file.
8876 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8878 2016-01-12 Josh Stone <jistone@redhat.com>
8879 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8881 * gdb.base/catch-syscall.c (do_execve): New variable.
8882 (main): Conditionally trigger an execve.
8883 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8884 (test_catch_syscall_execve): New, check entry/return across execve.
8885 (do_syscall_tests): Call test_catch_syscall_execve.
8887 2016-01-12 Pedro Alves <palves@redhat.com>
8889 * gdb.base/random-signal.exp (do_test): New procedure, with body
8890 of testcase moved in.
8892 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8893 Pedro Alves <palves@redhat.com>
8895 * gdb.base/funcargs.exp (finish from indirectly called function):
8896 Reintroduce the case for 'First'.
8898 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8899 Pedro Alves <palves@redhat.com>
8901 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8902 (tcatch_vfork_then_child_follow_exec)
8903 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8906 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8908 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8909 and repeats to unlimited.
8910 * gdb.python/py-value.exp: Likewise.
8911 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8912 and repeats to unlimited.
8914 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8916 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8917 and reordering the functions.
8918 * gdb.multi/hangout.c: Likewise.
8919 * gdb.multi/hello.c: Likewise.
8921 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8923 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8925 (SingleStatisticTestResult.report): Use dict.keys instead of
8928 2016-01-06 Pedro Alves <palves@redhat.com>
8930 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8932 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8934 * gdb.btrace/dlopen.exp: New.
8935 * gdb.btrace/dlopen.c: New.
8936 * gdb.btrace/dlopen-dso.c: New.
8938 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8940 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8941 PATTERN argument is optional.
8943 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8945 * lib/ada.exp (target_compile_ada_from_dir): New function.
8946 (gdb_compile_ada): Reimplement avoiding the use of project files.
8947 * gdb.ada/gnat_ada.gpr: Delete.
8948 * gdb.ada/cond_lang.exp: Adjust test to make path before
8950 * gdb.ada/small_reg_param.exp: Likewise.
8952 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8954 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8956 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8958 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8961 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8963 * gdb.base/break.exp: Remove dead code.
8964 * gdb.base/sepdebug.exp: Likewise.
8966 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8968 * gdb.asm/asm-source.exp: Remove HP-UX references.
8969 * gdb.base/annota1.exp: Likewise.
8970 * gdb.base/annota3.exp: Likewise.
8971 * gdb.base/attach.exp: Likewise.
8972 * gdb.base/bigcore.exp: Likewise.
8973 * gdb.base/break.exp: Likewise.
8974 * gdb.base/call-ar-st.exp: Likewise.
8975 * gdb.base/callfuncs.exp: Likewise.
8976 * gdb.base/catch-fork-static.exp: Likewise.
8977 * gdb.base/display.exp: Likewise.
8978 * gdb.base/foll-exec-mode.exp: Likewise.
8979 * gdb.base/foll-exec.exp: Likewise.
8980 * gdb.base/foll-fork.exp: Likewise.
8981 * gdb.base/foll-vfork.exp: Likewise.
8982 * gdb.base/funcargs.exp: Likewise.
8983 * gdb.base/hbreak2.exp: Likewise.
8984 * gdb.base/inferior-died.exp: Likewise.
8985 * gdb.base/interrupt.exp: Likewise.
8986 * gdb.base/multi-forks.exp: Likewise.
8987 * gdb.base/nodebug.exp: Likewise.
8988 * gdb.base/sepdebug.exp: Likewise.
8989 * gdb.base/solib1.c: Likewise.
8990 * gdb.base/step-test.exp: Likewise.
8991 * gdb.mi/non-stop.c: Likewise.
8992 * gdb.mi/pthreads.c: Likewise.
8993 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8994 * gdb.threads/pthreads.c: Likewise.
8995 * gdb.threads/staticthreads.exp: Likewise.
8996 * lib/future.exp: Likewise.
8997 * lib/gdb.exp: Likewise.
8998 * gdb.base/so-indr-cl.c: Remove.
8999 * gdb.base/so-indr-cl.exp: Likewise.
9000 * gdb.base/solib.c: Likewise.
9001 * gdb.base/solib.exp: Likewise.
9002 * gdb.base/solib2.c: Likewise.
9004 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9006 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9007 * gdb.base/call-ar-st.exp: Likewise.
9008 * gdb.base/callfuncs.exp: Likewise.
9009 * gdb.base/condbreak.exp: Likewise.
9010 * gdb.base/constvars.exp: Likewise.
9011 * gdb.base/hbreak2.exp: Likewise.
9012 * gdb.base/langs.exp: Likewise.
9013 * gdb.base/list.exp: Likewise.
9014 * gdb.base/long_long.exp: Likewise.
9015 * gdb.base/ptype.exp: Likewise.
9016 * gdb.base/scope.exp: Likewise.
9017 * gdb.base/signals.exp: Likewise.
9018 * gdb.base/so-impl-ld.exp: Likewise.
9019 * gdb.base/varargs.exp: Likewise.
9020 * gdb.base/volatile.exp: Likewise.
9021 * gdb.base/whatis.exp: Likewise.
9022 * gdb.cp/cplusfuncs.exp: Likewise.
9023 * gdb.cp/inherit.exp: Likewise.
9024 * gdb.cp/local.exp: Likewise.
9025 * gdb.cp/member-ptr.exp: Likewise.
9026 * gdb.cp/method.exp: Likewise.
9027 * gdb.cp/overload.exp: Likewise.
9028 * gdb.cp/templates.exp: Likewise.
9029 * gdb.stabs/weird.exp: Likewise.
9030 * lib/compiler.c: Likewise.
9031 * lib/compiler.cc: Likewise.
9032 * lib/cp-support.exp: Likewise.
9033 * lib/gdb.exp: Likewise.
9035 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9037 * configure.ac: Remove HP-UX case.
9038 * configure: Regenerate.
9040 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9042 * lib/gdb.exp (gdb_compile): Add function doc.
9044 2015-12-17 Pedro Alves <palves@redhat.com>
9047 * gdb.multi/info-threads.exp: New file.
9049 2015-12-15 Yao Qi <yao.qi@linaro.org>
9051 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9054 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9056 * gdb.base/history-duplicates.exp: Skip if no readline support.
9058 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9060 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9062 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9064 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9066 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9068 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9069 ctrl-C if nointerrupts target property is set.
9070 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9071 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9072 * gdb.base/paginate-bg-execution.exp: Likewise.
9073 * gdb.base/paginate-execution-startup.exp: Likewise.
9074 * gdb.base/random-signal.exp: Likewise.
9075 * gdb.base/range-stepping.exp: Likewise.
9076 * gdb.cp/annota2.exp: Likewise.
9077 * gdb.cp/annota3.exp: Likewise.
9078 * gdb.gdb/selftest.exp: Likewise.
9079 * gdb.threads/continue-pending-status.exp: Likewise.
9080 * gdb.threads/leader-exit.exp: Likewise.
9081 * gdb.threads/manythreads.exp: Likewise.
9082 * gdb.threads/pthreads.exp: Likewise.
9083 * gdb.threads/schedlock.exp: Likewise.
9084 * gdb.threads/sigthread.exp: Likewise.
9086 2015-12-11 Don Breazeal <donb@codesourcery.com>
9088 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9090 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9091 * gdb.base/foll-exec.exp (main): Enable for target remote.
9092 * gdb.base/foll-fork.exp (main): Likewise.
9093 * gdb.base/foll-vfork.exp (main): Likewise.
9094 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9095 (proc continue_to_exit_bp_loc): Use clean_restart.
9096 * gdb.base/pie-execl.exp (main): Disable for target remote.
9097 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9098 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9099 * gdb.threads/execl.exp (main): Likewise.
9100 * gdb.threads/fork-child-threads.exp (main): Likewise.
9101 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9103 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9105 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9106 pid.tid style ptids, instead of just tid.
9107 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9108 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9109 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9110 ptids, instead of just tid.
9112 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9114 * gdb.base/list.exp (test_list_forward): Add end of file error
9116 (test_repeat_list_command): Add end of file error test.
9117 (test_list_backwards): Add beginning of file error test.
9119 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9121 * gdb.base/list.exp (test_list_invalid_args): New function,
9122 defined, and called.
9124 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9126 * gdb.base/list.exp (test_list): Make test names unique.
9128 2015-12-11 Yao Qi <yao.qi@linaro.org>
9130 * gdb.base/coremaker2.c: Remove.
9132 2015-12-10 Pedro Alves <palves@redhat.com>
9134 * gdb.multi/base.exp: Remove stale "spaces" references.
9136 2015-12-10 Pedro Alves <palves@redhat.com>
9138 * gdb.multi/base.exp: Don't use nowarnings.
9139 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9140 * gdb.multi/hangout.c: Include stdio.h.
9141 * gdb.multi/hello.c: Include stdlib.h.
9142 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9143 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9144 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9146 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9148 * gdb.dwarf2/dw2-ranges-base.c: New file.
9149 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9150 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9151 support additional line table, and debug ranges generation.
9152 (Dwarf::ranges): New function, generate .debug_ranges.
9153 (Dwarf::lines): Support generating simple line table programs.
9154 (Dwarf::assemble): Initialise new namespace variables.
9156 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9158 * gdb.base/async.exp (proc test_background): Add case for
9159 asynchronous execution not supported.
9161 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9163 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9164 format and change test names to make them unique.
9166 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9167 Pedro Alves <pedro@redhat.com>
9170 Add checking of floatformats setup on x86_64 hosts.
9171 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9172 (smallval, bigval): New labels/constants.
9173 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9174 float" after loading bigval and smallval.
9176 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9178 * gdb.ada/fun_overload_menu.exp: New testcase.
9179 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9181 2015-12-04 Josh Stone <jistone@redhat.com>
9183 * gdb.base/catch-fork-static.exp: New.
9185 2015-12-03 Yao Qi <yao.qi@linaro.org>
9187 * gdb.base/sizeof.c: Don't include stdio.h and
9188 ../lib/unbuffer_output.c.
9189 (main): New variable 'size' and 'value'. Remove printf and
9190 gdb_unbuffer_output. Assign return value to size and value.
9191 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9193 (check_sizeof): Check the result by printing variable 'size'.
9194 (check_valueof): Check the result by printing variable 'value'.
9196 2015-12-01 Yao Qi <yao.qi@linaro.org>
9198 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9199 for aarch64*-*-linux* target.
9201 2015-11-30 Pedro Alves <palves@redhat.com>
9203 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9205 2015-11-30 Pedro Alves <palves@redhat.com>
9207 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9208 Handle non-stop mode vCont replies.
9210 2015-11-30 Pedro Alves <palves@redhat.com>
9212 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9213 prepare_for_testing. Start gdb with "set non-stop on" appended to
9214 GDBFLAGS. Lax expected stop output.
9216 2015-11-27 Yao Qi <yao.qi@linaro.org>
9218 * gdb.arch/arm-neon.exp: New.
9219 * gdb.arch/arm-neon.c: New.
9221 2015-11-27 Yao Qi <yao.qi@linaro.org>
9223 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9225 2015-11-27 Yao Qi <yao.qi@linaro.org>
9227 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9228 frames-invalid annotation.
9230 2015-11-27 Yao Qi <yao.qi@linaro.org>
9232 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9234 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9236 * gdb.threads/names.exp: New file.
9237 * gdb.threads/names.c: New file.
9238 * README: Mention gdb,no_thread_names.
9240 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9243 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9246 2015-11-24 Pedro Alves <palves@redhat.com>
9249 * gdb.base/display.exp: Expect displays to be sorted in ascending
9250 order. Use multi_line.
9251 * gdb.base/solib-display.exp: Likewise.
9253 2015-11-24 Pedro Alves <palves@redhat.com>
9256 * gdb.base/display.exp: Expect displays to be sorted in ascending
9257 order. Use multi_line.
9258 * gdb.base/solib-display.exp: Likewise.
9260 2015-11-24 Pedro Alves <palves@redhat.com>
9263 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9264 threads in ascending order.
9265 * gdb.base/foll-fork.exp: Likewise.
9266 * gdb.base/foll-vfork.exp: Likewise.
9267 * gdb.base/multi-forks.exp: Likewise.
9268 * gdb.mi/mi-nonstop.exp: Likewise.
9269 * gdb.mi/mi-nsintrall.exp: Likewise.
9270 * gdb.multi/base.exp: Likewise.
9271 * gdb.multi/multi-arch.exp: Likewise.
9272 * gdb.python/py-inferior.exp: Likewise.
9273 * gdb.threads/break-while-running.exp: Likewise.
9274 * gdb.threads/execl.exp: Likewise.
9275 * gdb.threads/gcore-thread.exp: Likewise.
9276 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9277 * gdb.threads/kill.exp: Likewise.
9278 * gdb.threads/linux-dp.exp: Likewise.
9279 * gdb.threads/multiple-step-overs.exp: Likewise.
9280 * gdb.threads/next-bp-other-thread.exp: Likewise.
9281 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9282 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9283 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9284 * gdb.threads/thread-find.exp: Likewise.
9285 * gdb.threads/tls.exp: Likewise.
9286 * lib/mi-support.exp (mi_reverse_list): Delete.
9287 (mi_check_thread_states): No longer reverse list.
9289 2015-11-24 Pedro Alves <palves@redhat.com>
9291 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9294 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9296 * gdb.trace/actions.c: Include trace-common.h.
9297 (main): Add a location for a fast tracepoint.
9298 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9299 the normal tracepoints.
9300 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9302 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9304 * save-trace.exp: Factor out code to these...
9305 (gdb_save_tracepoints): New.
9306 (gdb_load_tracepoints): New.
9307 (do_save_load_test): New.
9309 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9311 * gdb.base/asmlabel.exp: New test.
9312 * gdb.base/asmlabel.c: New test case.
9314 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9316 * gdb.base/wrong_frame_bt_full-main.c: New file.
9317 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9318 * gdb.base/wrong_frame_bt_full.exp: New file.
9320 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9322 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9324 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9326 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9327 pstate register when comparing registers values in
9328 sparc64-*-linux-gnu targets to avoid spurious differences.
9330 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9332 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9334 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9336 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9337 as type argument to gdb_compile.
9338 * gdb.base/nested-subp2.exp: Likewise.
9339 * gdb.base/nested-subp3.exp: Likewise.
9341 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9343 * lib/dwarf.exp (_note): Fix left shift of negative value.
9344 * gdb.trace/trace-condition.exp: Likewise.
9346 2015-11-13 Yao Qi <yao.qi@linaro.org>
9348 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9349 comments about d10v.
9350 (test_scalar_returns): Likewise.
9351 * gdb.base/d10v.ld: Remove.
9352 * gdb.base/overlays.exp: Remove the target triplet checking for
9354 * gdb.base/structs.exp (test_struct_returns): Remove the
9355 comments about d10v.
9356 (test_struct_calls): Likewise.
9358 2015-11-13 Yao Qi <yao.qi@linaro.org>
9360 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9361 * gdb.base/gnu_vector.c: Don't include stdio.h.
9362 (main): Don't print res and call add_some_intvecs.
9364 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9366 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9369 (func4): Use FAST_TRACEPOINT_LABEL.
9370 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9373 (thread_function): Use FAST_TRACEPOINT_LABEL.
9374 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9376 (marker): Use FAST_TRACEPOINT_LABEL.
9377 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9378 (pendfunc1): Remove.
9379 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9380 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9382 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9383 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9386 (marker): Use FAST_TRACEPOINT_LABEL.
9387 * gdb.trace/trace-common.h: New header.
9388 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9391 (marker): Use FAST_TRACEPOINT_LABEL.
9392 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9394 (thread_function): Use FAST_TRACEPOINT_LABEL.
9396 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9398 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9400 * gdb.trace/change-loc.exp: Use global pcreg definition.
9401 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9402 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9404 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9405 * gdb.trace/pending.exp: Likewise.
9406 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9407 * gdb.trace/trace-break.exp: Likewise.
9408 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9410 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9411 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9413 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9415 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9417 * gdb.ada/fin_fun_out: New testcase.
9419 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9421 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9422 value associated with DW_AT_byte_size.
9423 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9424 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9427 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9429 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9430 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9432 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9433 gdb.dwarf2/dw2-canonicalize-type.exp,
9434 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9435 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9436 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9437 provided by gdb_target_symbol_prefix_flags_asm.
9438 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9439 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9440 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9441 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9442 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9443 macros where needed). Use this macro for symbols which require
9444 the prefix provided by SYMBOL_PREFIX.
9446 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9448 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9450 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9451 representing expressions, of more than one list element.
9452 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9453 to prepend linker symbol prefix to f.
9454 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9455 table_1 and table_2.
9456 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9457 Likewise, for f and g.
9458 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9460 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9462 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9463 table_1_ptr and table_2_ptr.
9465 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9466 Joel Brobecker <brobecker@adacore.com>
9468 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9470 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9472 * gdb.reverse/s390-mvcle.c: New test.
9473 * gdb.reverse/s390-mvcle.exp: New file.
9474 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9476 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9478 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9480 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9482 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9484 * gdb.reverse/getresuid-reverse.exp: Likewise.
9485 * gdb.reverse/pipe-reverse.exp: Likewise.
9486 * gdb.reverse/readv-reverse.exp: Likewise.
9487 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9488 * gdb.reverse/time-reverse.exp: Likewise.
9489 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9491 2015-10-30 Yao Qi <yao.qi@linaro.org>
9493 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9494 (empty_cycle): Remove.
9495 (main): Don't call empty_cycle. Don't use watch_count_done.
9496 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9497 empty_cycle. Rewrite the code counting HW watchpoints.
9499 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9501 * gdb.reverse/fstatat-reverse.c: New test.
9502 * gdb.reverse/fstatat-reverse.exp: New file.
9503 * gdb.reverse/getresuid-reverse.c: New test.
9504 * gdb.reverse/getresuid-reverse.exp: New file.
9505 * gdb.reverse/pipe-reverse.c: New test.
9506 * gdb.reverse/pipe-reverse.exp: New file.
9507 * gdb.reverse/readv-reverse.c: New test.
9508 * gdb.reverse/readv-reverse.exp: New file.
9509 * gdb.reverse/recvmsg-reverse.c: New test.
9510 * gdb.reverse/recvmsg-reverse.exp: New file.
9511 * gdb.reverse/time-reverse.c: New test.
9512 * gdb.reverse/time-reverse.exp: New file.
9513 * gdb.reverse/waitpid-reverse.c: New test.
9514 * gdb.reverse/waitpid-reverse.exp: New file.
9516 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9518 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9520 2015-10-26 Doug Evans <dje@google.com>
9523 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9524 * gdb.dwarf2/bad-regnum.c: New file.
9525 * gdb.dwarf2/bad-regnum.exp: New file.
9527 2015-10-26 Doug Evans <dje@google.com>
9530 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9533 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9535 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9536 for a change by "Mention language in compile error message".
9538 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9541 * gdb.python/py-type.c (C::a_method): New.
9542 (C::a_const_method): New.
9543 (C::a_static_method): New.
9545 * gdb.python/py-type.exp (test_fields): Test getting fields
9546 from function and method.
9548 2015-10-21 Keven Boell <keven.boell@intel.com>
9550 * gdb.fortran/vla-alloc-assoc.exp: New file.
9551 * gdb.fortran/vla-datatypes.exp: New file.
9552 * gdb.fortran/vla-datatypes.f90: New file.
9553 * gdb.fortran/vla-history.exp: New file.
9554 * gdb.fortran/vla-ptype-sub.exp: New file.
9555 * gdb.fortran/vla-ptype.exp: New file.
9556 * gdb.fortran/vla-sizeof.exp: New file.
9557 * gdb.fortran/vla-sub.f90: New file.
9558 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9559 * gdb.fortran/vla-value-sub-finish.exp: New file.
9560 * gdb.fortran/vla-value-sub.exp: New file.
9561 * gdb.fortran/vla-value.exp: New file.
9562 * gdb.fortran/vla-ptr-info.exp: New file.
9563 * gdb.mi/mi-vla-fortran.exp: New file.
9564 * gdb.mi/vla.f90: New file.
9566 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9568 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9569 of hardwired timeout value.
9571 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9572 Pedro Alves <palves@redhat.com>
9574 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9575 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9577 2015-10-19 Josh Stone <jistone@redhat.com>
9579 * gdb.base/catch-syscall.c: Include <sched.h>.
9580 (unknown_syscall): New variable.
9581 (main): Trigger a vfork and an unknown syscall.
9582 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9583 (unknown_syscall_number): Likewise.
9584 (check_call_to_syscall): Accept an optional syscall pattern.
9585 (check_return_from_syscall): Likewise.
9586 (check_continue): Likewise.
9587 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9588 (test_catch_syscall_skipping_return): New test toggling off 'catch
9589 syscall' to step over the syscall return, then toggling back on.
9590 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9591 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9592 (do_syscall_tests): Call test_catch_syscall_without_args and
9593 test_catch_syscall_mid_vfork.
9594 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9595 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9597 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9599 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9600 print g_vE): Add new pass patterns.
9601 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9602 print various symbol names for vptr fields.
9604 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9606 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9609 2015-10-12 Yao Qi <yao.qi@linaro.org>
9611 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9613 2015-10-12 Yao Qi <yao.qi@linaro.org>
9615 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9616 is aarch64*-*-linux*.
9618 2015-10-12 Yao Qi <yao.qi@linaro.org>
9620 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9621 (can_relocate_bcond_true): ... it.
9622 (can_relocate_bcond_false): New function.
9624 (can_relocate_bl): Likewise.
9625 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9628 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9630 * gdb.base/nested-addr.c: New file.
9631 * gdb.base/nested-addr.exp: New testcase.
9633 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9635 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9636 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9637 its output. Ignore the output of "record goto begin" and instead
9638 check that GDB is replaying.
9640 2015-10-09 Pedro Alves <palves@redhat.com>
9642 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9643 (top level): Use it in the run with no args test.
9645 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9647 * gdb.dlang/properties.exp: New file.
9649 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9651 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9652 whether or not address 0x1000 is mapped on the target.
9654 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9656 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9659 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9661 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9662 instruction-history test.
9664 2015-09-28 Doug Evans <dje@google.com>
9666 * gdb.base/gcore.c (array_func): Add reference to static_array.
9668 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9670 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9673 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9675 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9676 short or char as base type.
9678 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9680 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9681 to allow any size enum.
9683 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9685 * gdb.ada/array_ptr_renaming.exp: New testcase.
9686 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9687 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9689 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9691 * gdb.trace/ftrace-lock.c: New file.
9692 * gdb.trace/ftrace-lock.exp: New file.
9694 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9696 * gdb.arch/insn-reloc.c: New file.
9697 * gdb.arch/ftrace-insn-reloc.exp: New file.
9699 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9701 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9703 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9704 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9705 * gdb.trace/range-stepping.c: Likewise.
9706 * gdb.trace/trace-break.c: Likewise.
9707 * gdb.trace/trace-mt.c (thread_function): Likewise.
9708 * gdb.trace/ftrace.c (marker): Likewise.
9709 * gdb.trace/trace-condition.c (marker): Likewise.
9710 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9711 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9714 2015-09-18 Doug Evans <xdje42@gmail.com>
9716 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9717 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9719 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9721 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9724 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9726 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9727 the pending breakpoint. Remove timeout override for "Run till
9728 MI pending breakpoint on pendfunc3 on thread 2" test.
9730 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9732 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9735 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9737 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9738 in breakpoint filename pattern.
9740 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9742 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9744 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9746 * gdb.linespec/explicit.exp: Check for readline support for
9747 tab-completion tests. Fix obvious typo.
9749 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9751 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9754 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9756 * gdb.btrace/non-stop.c: New.
9757 * gdb.btrace/non-stop.exp: New.
9759 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9760 Yao Qi <yao.qi@linaro.org>
9762 * gdb.trace/trace-condition.c: New file.
9763 * gdb.trace/trace-condition.exp: New file.
9765 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9767 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9768 for testing bytecode compilation.
9770 2015-09-16 Pedro Alves <palves@redhat.com>
9771 Sandra Loosemore <sandra@codesourcery.com>
9773 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9774 (SECONDS): Redefine.
9775 (main): Call pthread_kill and alarm early.
9776 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9778 (test): If the target can't hardware step and doesn't support
9779 displaced stepping, increase the timeout.
9781 2015-09-16 Pedro Alves <palves@redhat.com>
9783 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9784 (enable_debug): New procedures.
9785 (test): Use them. Bail out if waiting for threads fails.
9786 (top level): Bail out if a test fails.
9788 2015-09-16 Yao Qi <yao.qi@linaro.org>
9790 * gdb.asm/asm-source.exp: Set asm-arch for
9791 aarch64*-*-* target.
9792 * gdb.asm/aarch64.inc: New file.
9794 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9796 * gdb.ada/array_of_variable_length.exp: New testcase.
9797 * gdb.ada/array_of_variable_length/foo.adb: New file.
9798 * gdb.ada/array_of_variable_length/pck.adb: New file.
9799 * gdb.ada/array_of_variable_length/pck.ads: New file.
9801 2015-09-15 Doug Evans <dje@google.com>
9803 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9804 of function static local variable.
9806 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9808 * gdb.threads/tls-so_extern.exp: New test file.
9809 * gdb.threads/tls-so_extern.c: New test file.
9810 * gdb.threads/tls-so_extern_main.c: New test file.
9812 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9814 * gdb.opt/solib-intra-step-lib.c: New file.
9815 * gdb.opt/solib-intra-step-main.c: New file.
9816 * gdb.opt/solib-intra-step.exp: New file.
9818 2015-09-15 Pedro Alves <palves@redhat.com>
9820 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9821 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9823 2015-09-14 Pedro Alves <palves@redhat.com>
9825 * gdb.base/hook-stop-continue.c: Delete.
9826 * gdb.base/hook-stop-continue.exp: Delete.
9827 * gdb.base/hook-stop-frame.c: Delete.
9828 * gdb.base/hook-stop-frame.exp: Delete.
9829 * gdb.base/hook-stop.c: New file.
9830 * gdb.base/hook-stop.exp: New file.
9832 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9834 * gdb.ada/access_to_packed_array.exp: New testcase.
9835 * gdb.ada/access_to_packed_array/foo.adb: New file.
9836 * gdb.ada/access_to_packed_array/pack.adb: New file.
9837 * gdb.ada/access_to_packed_array/pack.ads: New file.
9839 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9841 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9844 2015-09-11 Don Breazeal <donb@codesourcery.com>
9846 * gdb.base/foll-exec.c: Add copyright header. Fix
9848 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9849 (do_exec_tests): Use clean_restart in place of zap_session,
9850 and for test initialization. Fix formatting issues. Use
9851 fail in place of perror.
9852 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9853 an expect statement to match an expression with output from
9854 the program under debug.
9855 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9856 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9857 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9858 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9859 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9861 2015-09-09 Doug Evans <dje@google.com>
9863 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9865 2015-09-09 Doug Evans <dje@google.com>
9867 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9869 2015-09-09 Doug Evans <dje@google.com>
9871 * gdb.base/savedregs.exp: Fix typo.
9873 2015-09-09 Pedro Alves <palves@redhat.com>
9875 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9877 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9879 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9880 command actually switches threads. Give up on remaining
9881 tests if target fails to stop at breakpoint.
9883 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9885 * gdb.ada/funcall_char.exp: New testcase.
9886 * gdb.ada/funcall_char/foo.adb: New file.
9888 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9890 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9891 expected outputs. Add two testcases for completing ambiguous
9893 * gdb.ada/complete/aux_pck.adb: New file.
9894 * gdb.ada/complete/aux_pck.ads: New file.
9895 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9896 Ambiguous_Func functions.
9897 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9898 * gdb.ada/complete/pck.adb: Likewise.
9900 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9902 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9903 failures to run the test program under GDB.
9905 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9907 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9910 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9912 * gdb.base/run-after-attach.exp: New test file.
9913 * gdb.base/run-after-attach.c: New test file.
9915 2015-08-26 Don Breazeal <donb@codesourcery.com>
9917 * gdb.base/foll-exec-2.c: New test program.
9918 * gdb.base/foll-exec-2.exp: New test.
9920 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9922 * gdb.base/nested-subp1.exp: New file.
9923 * gdb.base/nested-subp1.c: New file.
9924 * gdb.base/nested-subp2.exp: New file.
9925 * gdb.base/nested-subp2.c: New file.
9926 * gdb.base/nested-subp3.exp: New file.
9927 * gdb.base/nested-subp3.c: New file.
9929 2015-08-24 Pedro Alves <palves@redhat.com>
9931 * gdb.server/connect-without-multi-process.c: New file.
9932 * gdb.server/connect-without-multi-process.exp: New file.
9934 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9936 * gdb.opt/inline-markers.c: Make z int.
9938 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9940 * gdb.opt/inline-markers.c: Make z volatile.
9942 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9944 * gdb.opt/inline-bt.c: New volatile global z.
9945 * gdb.opt/inline-cmds.c: Likewise.
9946 * gdb.opt/inline-locals.c: Likewise.
9947 * gdb.opt/inline-markers.c: New extern global z.
9949 (inline_fn): Likewise.
9951 2015-08-24 Pedro Alves <palves@redhat.com>
9953 * config/m32r-stub.exp: Remove file.
9954 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9955 * gdb.base/call-rt-st.exp: Likewise.
9956 * gdb.base/call-strs.exp: Likewise.
9957 * gdb.base/default.exp: Remove references to h8300-*-hms and
9959 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9961 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9963 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9964 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9965 and "return" use KFAIL when GDB can not read/write the vector
9968 2015-08-21 Gary Benson <gbenson@redhat.com>
9970 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9972 2015-08-20 Pedro Alves <palves@redhat.com>
9974 * gdb.server/solib-list.exp: No longer expect an interior stop in
9977 2015-08-20 Pedro Alves <palves@redhat.com>
9979 * gdb.server/connect-stopped-target.c: New file.
9980 * gdb.server/connect-stopped-target.exp: New file.
9982 2015-08-20 Pedro Alves <palves@redhat.com>
9984 * gdb.dwarf2/comp-unit-lang.exp: New file.
9985 * gdb.dwarf2/comp-unit-lang.c: New file.
9987 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9989 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9990 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9992 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9994 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9995 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9997 2015-08-18 Doug Evans <dje@google.com>
9998 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10000 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10001 skip_python_tests. New arg prompt_regexp.
10002 (skip_python_tests): New function.
10003 * lib/mi-support.exp (mi_skip_python_tests): New function.
10004 * gdb.python/py-mi-objfile-gdb.py: New file.
10005 * gdb.python/py-mi-objfile.c: New file.
10006 * gdb.python/py-mi-objfile.exp: New file.
10008 2015-08-17 Keith Seitz <keiths@redhat.com>
10010 * gdb.linespec/explicit.exp: Move strace test from here ...
10011 * gdb.trace/strace.exp: ... to here.
10013 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10015 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10016 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10018 2015-08-14 Doug Evans <xdje42@gmail.com>
10020 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10021 inferior before selecting a new file.
10023 2015-08-14 Doug Evans <xdje42@gmail.com>
10025 * gdb.mi/mi-disassemble.exp: Update.
10026 * gdb.base/disasm-optim.S: New file.
10027 * gdb.base/disasm-optim.c: New file.
10028 * gdb.base/disasm-optim.h: New file.
10029 * gdb.base/disasm-optim.exp: New file.
10031 2015-08-14 Keith Seitz <keiths@redhat.com>
10033 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10036 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10038 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10040 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10042 * gdb.ada/fun_renaming.exp: New testcase.
10043 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10044 * gdb.ada/fun_renaming/pack.adb: New file.
10045 * gdb.ada/fun_renaming/pack.ads: New file.
10047 2015-08-12 Keith Seitz <keiths@redhat.com>
10049 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10050 gdb_get_line_number.
10052 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10054 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10055 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10056 gdb.base/dso2dso.exp: New files.
10058 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10059 Pedro Alves <palves@redhat.com>
10060 Keith Seitz <keiths@redhat.com>
10062 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10065 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10067 * gdb.base/gdbhistsize-history.exp
10068 (test_histsize_history_setting): Use save_vars.
10069 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10071 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10072 * gdb.base/readline.exp: Use save_vars.
10074 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10076 * lib/gdb.exp (save_vars): New proc.
10078 2015-08-11 Keith Seitz <keiths@redhat.com>
10080 * gdb.base/help.exp: Update help_breakpoint_text.
10082 2015-08-11 Keith Seitz <keiths@redhat.com>
10084 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10085 (at toplevel): Call test_explicit_breakpoints.
10086 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10088 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10089 breakpoint conditions, "-cond".
10091 2015-08-11 Keith Seitz <keiths@redhat.com>
10093 * gdb.linespec/3explicit.c: New file.
10094 * gdb.linespec/cpexplicit.cc: New file.
10095 * gdb.linespec/cpexplicit.exp: New file.
10096 * gdb.linespec/explicit.c: New file.
10097 * gdb.linespec/explicit.exp: New file.
10098 * gdb.linespec/explicit2.c: New file.
10099 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10100 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10101 before using in the matching pattern.
10102 Clarify that `prefix' is a regular expression.
10104 2015-08-11 Keith Seitz <keiths@redhat.com>
10106 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10108 Add tests for missing ",FMT" and ",".
10110 2015-08-10 Doug Evans <dje@google.com>
10111 Keith Seitz <keiths@redhat.com>
10114 * gdb.base/completion.exp: Add location completer tests.
10116 2015-08-07 Pedro Alves <palves@redhat.com>
10118 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10120 (top level): Run do_test with and without displaced stepping.
10122 2015-08-07 Pedro Alves <palves@redhat.com>
10124 * gdb.base/valgrind-disp-step.c: New file.
10125 * gdb.base/valgrind-disp-step.exp: New file.
10127 2015-08-07 Pedro Alves <palves@redhat.com>
10129 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10131 (main): Add alarm. Run an infinite loop instead of calling
10133 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10135 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10137 (main): Add alarm. Run an infinite loop instead of calling
10139 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10142 2015-08-07 Pedro Alves <palves@redhat.com>
10144 * gdb.base/checkpoint-ns.exp: New file.
10145 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10148 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10150 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10151 * gdb.btrace/instruction_history.exp: Update.
10152 * gdb.btrace/tsx.exp: New.
10153 * gdb.btrace/tsx.c: New.
10155 2015-08-06 Pedro Alves <palves@redhat.com>
10157 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10159 * gdb.reverse/until-precsave.exp: Bump timeouts.
10161 2015-08-06 Pedro Alves <palves@redhat.com>
10163 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10165 2015-08-06 Pedro Alves <palves@redhat.com>
10168 * gdb.threads/process-dies-while-handling-bp.c: New file.
10169 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10171 2015-08-06 Pedro Alves <palves@redhat.com>
10173 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10174 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10176 2015-08-05 Pedro Alves <palves@redhat.com>
10178 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10179 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10181 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10183 * gdb.base/bp-permanent.exp: Report test as unsupported if
10184 the target cannot stop at the permanent breakpoint.
10186 2015-08-03 Doug Evans <dje@google.com>
10188 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10191 2015-08-03 Doug Evans <dje@google.com>
10193 * Makefile.in (workers/%.worker, build-perf): New rule.
10194 (GDB_PERFTEST_MODE): New variable.
10195 (check-perf): Use it.
10196 (clean): Clean up gdb.perf parallel build subdirs.
10197 * lib/build-piece.exp: New file.
10198 * lib/gdb.exp (make_gdb_parallel_path): New function
10199 (standard_output_file, standard_temp_file): Call it.
10200 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10202 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10204 2015-08-03 Doug Evans <dje@google.com>
10206 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10207 (LOG_FILE_NAME): New global.
10208 (TextReporter.__init__): Initialize self.txt_sum.
10209 (TextReporter.report): Add support for multiple data-points.
10210 Move report to perftest.sum, put raw data in perftest.log.
10211 (TextReporter.start): Open sum and log files.
10212 (TextReporter.end): Close sum and log files.
10213 * gdb.perf/lib/perftest/testresult.py
10214 (SingleStatisticTestResult.record): Handle multiple data-points.
10216 2015-07-31 Pedro Alves <palves@redhat.com>
10218 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10219 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10220 kill_wait_spawned_process instead of explicit "kill -9".
10221 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10222 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10223 kill_wait_spawned_process.
10224 * gdb.base/attach-twice.exp: Likewise.
10225 * gdb.base/attach.exp: Likewise.
10226 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10228 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10229 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10230 kill_wait_spawned_process.
10231 * gdb.base/valgrind-infcall.exp: Likewise.
10232 * gdb.multi/multi-attach.exp: Likewise.
10233 * gdb.python/py-prompt.exp: Likewise.
10234 * gdb.python/py-sync-interp.exp: Likewise.
10235 * gdb.server/ext-attach.exp: Likewise.
10236 * gdb.threads/attach-into-signal.exp (corefunc): Use
10237 spawn_wait_for_attach, spawn_id_get_pid and
10238 kill_wait_spawned_process.
10239 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10240 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10241 spawn_id_get_pid and kill_wait_spawned_process.
10242 * gdb.threads/attach-stopped.exp (corefunc): Use
10243 spawn_wait_for_attach, spawn_id_get_pid and
10244 kill_wait_spawned_process.
10245 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10246 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10247 kill_wait_spawned_process instead of explicit "kill -9".
10248 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10249 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10250 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10251 processes. Don't map cygwin/windows pids here. Now returns a
10254 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10256 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10257 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10260 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10262 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10264 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10267 2014-05-21 Mark Wielaard <mjw@redhat.com>
10269 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10271 2015-07-30 Pedro Alves <palves@redhat.com>
10273 * linux-low.c (handle_extended_wait): Set the child's last
10274 reported status to TARGET_WAITKIND_STOPPED.
10276 2015-07-30 Pedro Alves <palves@redhat.com>
10279 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10280 only shows inferior 1.
10282 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10283 Pedro Alves <palves@redhat.com>
10286 * gdb.threads/fork-plus-threads.c: New file.
10287 * gdb.threads/fork-plus-threads.exp: New file.
10289 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10291 * gdb.base/batch-preserve-term-settings.exp
10292 (test_terminal_settings_preserved_after_cli_exit): Use
10295 2015-07-29 Pedro Alves <palves@redhat.com>
10296 Don Breazeal <donb@codesourcery.com>
10298 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10299 output from both inferior_spawn_id and gdb_spawn_id.
10301 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10303 * gdb.threads/attach-into-signal.exp (corefunc): Use
10304 with_test_prefix on nested loops, uniquefying the test messages.
10306 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10308 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10311 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10313 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10315 (test_terminal_settings_preserved_after_sigterm): New test.
10317 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10319 * gdb.base/batch-preserve-term-settings.exp
10320 (test_terminal_settings_preserved_after_cli_exit): New test.
10322 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10324 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10325 manipulation of saved_gdbflags.
10326 (test_terminal_settings_preserved): Remove global declaration of
10327 the unused variable pagination_prompt. Remove manipulation of
10328 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10331 2015-07-29 Pedro Alves <palves@redhat.com>
10333 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10335 2015-07-29 Pedro Alves <palves@redhat.com>
10337 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10340 2015-07-29 Pedro Alves <palves@redhat.com>
10342 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10343 (main): Call gdb_unbuffer_output.
10344 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10345 (main): Call gdb_unbuffer_output.
10346 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10347 (main): Call gdb_unbuffer_output.
10348 * gdb.base/call-strs.exp: Adjust to step over the
10349 gdb_unbuffer_output call.
10350 * gdb.base/catch-gdb-caused-signals.c: Include
10351 "../lib/unbuffer_output.c".
10352 (main): Call gdb_unbuffer_output.
10353 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10354 (main): Call gdb_unbuffer_output.
10355 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10356 (main): Call gdb_unbuffer_output.
10357 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10358 (main): Call gdb_unbuffer_output.
10359 * gdb.base/shlib-call.exp: Adjust to step over the
10360 gdb_unbuffer_output call.
10361 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10362 (main): Call gdb_unbuffer_output.
10363 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10364 (main): Call gdb_unbuffer_output.
10365 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10366 (main): Rename to ...
10368 (main): Reimplement.
10369 * gdb.base/varargs.exp: Run to test instead of to main.
10370 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10371 (main): Call gdb_unbuffer_output.
10373 2015-07-29 Pedro Alves <palves@redhat.com>
10375 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10376 factore out from mi_continue_dprintf. For call-style dprintfs,
10377 expect dprintf output out of $inferior_spawn_id.
10378 (mi_continue_dprintf): Use mi_expect_dprintf.
10379 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10380 (main): Call gdb_unbuffer_output.
10382 2015-07-29 Pedro Alves <palves@redhat.com>
10384 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10385 (default_mi_gdb_start): Set inferior_spawn_id instead of
10386 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10388 (mi_gdb_test): Always expect inferior output from both
10389 $inferior_spawn_id and $gdb_spawn_id.
10391 2015-07-29 Pedro Alves <palves@redhat.com>
10393 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10394 send_inferior and $inferior_spawn_id.
10396 2015-07-29 Pedro Alves <palves@redhat.com>
10398 * gdb.gdb/complaints.exp (test_initial_complaints)
10399 (test_serial_complaints, test_short_complaints): Use
10401 (test_empty_complaint): Handle $inferior_spawn_id !=
10404 2015-07-29 Pedro Alves <palves@redhat.com>
10406 * gdb.base/varargs.exp: Use gdb_test_stdio.
10408 2015-07-29 Pedro Alves <palves@redhat.com>
10410 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10412 2015-07-29 Pedro Alves <palves@redhat.com>
10414 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10416 2015-07-29 Pedro Alves <palves@redhat.com>
10418 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10419 parameter into two new parameters, "inf_result" and "gdb_result".
10420 Expect inferior output and gdb output from $inferior_spawn_id and
10421 $gdb_spawn_id, respectively. Adjust all callers.
10423 2015-07-29 Pedro Alves <palves@redhat.com>
10425 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10426 of gdb_test_sequence.
10428 2015-07-29 Pedro Alves <palves@redhat.com>
10430 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10431 (saw_spurious_output): Expect inferior output from
10432 $inferior_spawn_id. Use gdb_test_stdio.
10434 2015-07-29 Pedro Alves <palves@redhat.com>
10436 * gdb.base/dprintf.exp: Use standard_testfile. Change
10437 prepare_for_testing call.
10438 (srcfile): Don't set.
10439 (restart): New procedure.
10440 (test_dprintf): New procecure, use to continue over dprintfs.
10441 (test_call, test_agent): New procedures, tests moved here.
10442 Restart gdb and recreate dprintfs. Adjust expected output.
10444 2015-07-29 Pedro Alves <palves@redhat.com>
10446 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10448 2015-07-29 Pedro Alves <palves@redhat.com>
10450 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10452 2015-07-29 Pedro Alves <palves@redhat.com>
10454 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10457 2015-07-29 Pedro Alves <palves@redhat.com>
10459 * lib/gdb.exp (gdb_test_stdio): New procedure.
10461 2015-07-29 Pedro Alves <palves@redhat.com>
10463 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10465 2015-07-29 Pedro Alves <palves@redhat.com>
10467 * gdb.base/call-signal-resume.exp: Remove check for
10468 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10469 * gdb.base/unwindonsignal.exp: Likewise.
10470 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10471 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10473 2015-07-29 Pedro Alves <palves@redhat.com>
10475 * gdb.base/siginfo-addr.c (pass): New function.
10476 (handler): Call it iff si_addr is correct.
10477 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10478 Set a breakpoint at "pass" and continue to it.
10480 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10482 * gdb.python/py-objfile.exp: Make some tests have unique names.
10483 * gdb.python/py-pp-registration.exp: Likewise.
10485 2015-07-28 Pedro Alves <palves@redhat.com>
10487 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10489 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10491 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10493 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10495 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10497 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10499 * gdb.base/gdb-sigterm-2.exp: New test.
10501 2015-07-25 Doug Evans <xdje42@gmail.com>
10504 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10505 (workers/%.worker, build-perf): New rule.
10506 (GDB_PERFTEST_MODE): New variable.
10507 (check-perf): Use it.
10508 (clean): Clean up gdb.perf parallel build subdirs.
10509 * lib/build-piece.exp: New file.
10510 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10511 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10513 (standard_temp_file): Ditto.
10514 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10517 2015-07-24 Doug Evans <dje@google.com>
10519 * gdb.perf/lib/perftest/utils.py: New file.
10520 * gdb.perf/gm-hello.cc: New file.
10521 * gdb.perf/gm-pervasive-typedef.cc: New file.
10522 * gdb.perf/gm-pervasive-typedef.h: New file.
10523 * gdb.perf/gm-std.cc: New file.
10524 * gdb.perf/gm-std.h: New file.
10525 * gdb.perf/gm-use-cerr.cc: New file.
10526 * gdb.perf/gm-utils.h: New file.
10527 * gdb.perf/gmonster-null-lookup.py: New file.
10528 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10529 * gdb.perf/gmonster-print-cerr.py: New file.
10530 * gdb.perf/gmonster-ptype-string.py: New file.
10531 * gdb.perf/gmonster-runto-main.py: New file.
10532 * gdb.perf/gmonster-select-file.py: New file.
10533 * gdb.perf/gmonster1-null-lookup.exp: New file.
10534 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10535 * gdb.perf/gmonster1-print-cerr.exp: New file.
10536 * gdb.perf/gmonster1-ptype-string.exp: New file.
10537 * gdb.perf/gmonster1-runto-main.exp: New file.
10538 * gdb.perf/gmonster1-select-file.exp: New file.
10539 * gdb.perf/gmonster1.cc: New file.
10540 * gdb.perf/gmonster1.exp: New file.
10541 * gdb.perf/gmonster2-null-lookup.exp: New file.
10542 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10543 * gdb.perf/gmonster2-print-cerr.exp: New file.
10544 * gdb.perf/gmonster2-ptype-string.exp: New file.
10545 * gdb.perf/gmonster2-runto-main.exp: New file.
10546 * gdb.perf/gmonster2-select-file.exp: New file.
10547 * gdb.perf/gmonster2.cc: New file.
10548 * gdb.perf/gmonster2.exp: New file.
10550 2015-07-24 Doug Evans <dje@google.com>
10552 * gdb.perf/README: New file.
10553 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10554 * lib/gen-perf-test.exp: New file.
10556 2015-07-24 Doug Evans <dje@google.com>
10558 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10559 (PerfTest::startup): New function.
10560 (PerfTest::run): Return result of calling body.
10561 (PerfTest::assemble): Rewrite.
10562 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10563 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10564 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10565 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10566 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10568 2015-07-24 Doug Evans <dje@google.com>
10570 * lib/gdb.exp (clean_restart): Make executable optional.
10572 2015-07-24 Doug Evans <dje@google.com>
10574 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10575 compiler_info references.
10576 * gdb.cp/temargs.exp: Ditto.
10577 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10578 (get_compiler_info): Early exit if already computed. Set compiler_info
10579 to "unknown" if there was a problem.
10580 (test_compiler_info): Add function comment. Call get_compiler_info.
10582 2015-07-24 Doug Evans <dje@google.com>
10584 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10585 (workers/%.worker, build-perf): New rule.
10586 (GDB_PERFTEST_MODE): New variable.
10587 (check-perf): Use it.
10588 (clean): Clean up gdb.perf parallel build subdirs.
10589 * lib/build-piece.exp: New file.
10590 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10591 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10593 (standard_temp_file): Ditto.
10594 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10597 2015-07-24 Doug Evans <dje@google.com>
10599 * lib/future.exp (gdb_default_target_compile): New option
10601 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10604 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10606 * gdb.base/catch-syscall.exp: Call gdb_exit before
10609 2015-07-24 Pedro Alves <palves@redhat.com>
10611 * gdb.python/py-events.exp: Accept output between the stop event
10613 * gdb.python/py-evsignal.exp: Likewise.
10614 * gdb.python/py-evthreads.exp: Likewise.
10616 2015-07-24 Pedro Alves <palves@redhat.com>
10619 * gdb.threads/non-ldr-exit.c: New file.
10620 * gdb.threads/non-ldr-exit.exp: New file.
10622 2015-07-24 Yao Qi <yao.qi@linaro.org>
10624 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10625 restarting process.
10627 2015-07-24 Yao Qi <yao.qi@linaro.org>
10629 * gdb.server/ext-restart.exp: New file.
10631 2015-07-24 Yao Qi <yao.qi@linaro.org>
10633 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10635 * gdb.server/ext-wrapper.exp: New file.
10637 2015-07-23 Doug Evans <dje@google.com>
10639 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10640 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10642 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10644 * gdb.ada/var_arr_typedef.exp: New testcase.
10645 * gdb.ada/var_arr_typedef/pack.adb: New file.
10646 * gdb.ada/var_arr_typedef/pack.ads: New file.
10647 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10649 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10651 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10653 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10655 * gdb.arch/i386-biarch-core.exp: Replace istarget
10656 by "complete set gnutarget". Remove expectation for the "core-file"
10659 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10661 Revert the previous commit:
10662 Tests for validate symbol file using build-id.
10664 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10666 Tests for validate symbol file using build-id.
10667 * gdb.base/solib-mismatch-lib.c: New file.
10668 * gdb.base/solib-mismatch-libmod.c: New file.
10669 * gdb.base/solib-mismatch.c: New file.
10670 * gdb.base/solib-mismatch.exp: New file.
10672 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10674 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10676 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10677 * gdb.base/siginfo.exp: Likewise.
10678 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10680 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10682 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10684 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10686 * gdb.trace/range-stepping.exp: Check that the target supports
10689 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10691 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10693 2015-07-14 Pedro Alves <palves@redhat.com>
10695 * gdb.base/killed-outside.exp: New file.
10696 * gdb.base/killed-outside.c: New file.
10698 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10700 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10702 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10704 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10706 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10707 infcall tests instead of setting up for KFAIL.
10709 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10711 * gdb.btrace/record_goto-step.exp: New.
10713 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10716 * gdb.compile/compile.c (struct struct_type): Add volatile to
10718 * gdb.compile/compile.exp
10719 (compile code struct_object.selffield = &struct_object): Skip further
10720 struct_object tests if this one xfails.
10722 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10725 * gdb.trace/ax.exp: Add test.
10727 2015-07-07 Yao Qi <yao.qi@linaro.org>
10729 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10730 instead of istarget "aarch64*-*-*".
10731 * gdb.arch/aarch64-fp.exp: Likewise.
10732 * gdb.base/float.exp: Likewise.
10733 * gdb.reverse/aarch64.exp: Likewise.
10734 * lib/gdb.exp (is_aarch64_target): New proc.
10736 2015-07-07 Yao Qi <yao.qi@linaro.org>
10738 * lib/gdb.exp (is_aarch32_target): New proc.
10739 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10740 instead of "istarget "arm*-*-*"".
10741 * gdb.arch/arm-disp-step.exp: Likewise.
10742 * gdb.arch/thumb-bx-pc.exp: Likewise.
10743 * gdb.arch/thumb-prologue.exp: Likewise.
10744 * gdb.arch/thumb-singlestep.exp: Likewise.
10745 * gdb.base/disp-step-syscall.exp: Likewise.
10746 * gdb.base/float.exp: Likewise.
10748 2015-07-07 Yao Qi <yao.qi@linaro.org>
10750 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10751 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10753 2015-07-07 Yao Qi <yao.qi@linaro.org>
10755 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10756 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10758 * gdb.multi/multi-arch.exp: Likewise.
10760 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10762 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10765 2015-07-07 Yao Qi <yao.qi@linaro.org>
10767 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10769 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10771 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10772 '[' and ']' characters.
10774 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10776 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10778 2015-06-29 Pedro Alves <palves@redhat.com>
10781 * gdb.threads/hand-call-new-thread.c: New file.
10782 * gdb.threads/hand-call-new-thread.c: New file.
10784 2015-06-26 Keith Seitz <keiths@redhat.com>
10785 Doug Evans <dje@google.com>
10788 * gdb.cp/var-tag-2.cc: New file.
10789 * gdb.cp/var-tag-3.cc: New file.
10790 * gdb.cp/var-tag-4.cc: New file.
10791 * gdb.cp/var-tag.cc: New file.
10792 * gdb.cp/var-tag.exp: New file.
10794 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10796 * gdb.base/history-duplicates.exp: New test.
10798 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10800 * gdb.base/completion.exp: Test the completion of the "focus"
10803 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10805 * gdb.arch/amd64-prologue-skip.S: New file.
10806 * gdb.arch/amd64-prologue-skip.exp: New file.
10808 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10810 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10811 is_address_zero_readable check.
10813 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10815 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10816 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10818 2015-06-24 Yao Qi <yao.qi@linaro.org>
10820 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10823 2015-06-24 Yao Qi <yao.qi@linaro.org>
10825 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10826 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10827 * gdb.base/siginfo-thread.exp: Likewise.
10829 2015-06-22 Yao Qi <yao.qi@linaro.org>
10831 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10833 2015-06-22 Yao Qi <yao.qi@linaro.org>
10835 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10837 (skip_hw_watchpoint_tests): Likewise.
10839 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10841 * gdb.base/gdbinit-history.exp: Test the interaction between
10842 setting GDBHISTSIZE and setting the history size via .gdbinit.
10844 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10847 * gdb.base/gdbhistsize-history.exp: New test.
10849 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10851 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10853 * gdb.base/readline.exp: Likewise.
10855 2015-06-17 Yao Qi <yao.qi@linaro.org>
10857 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10860 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10862 * gdb.base/gdbinit-history.exp: Add test case to check that
10863 an unlimited history file does not get truncated on exit.
10865 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10867 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10868 (VECTOR): New macro. Use it...
10869 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10870 ...for these typedefs.
10871 (int8, char1, int1, double1): New typedefs.
10872 (struct just_int2, struct two_int2): New structures.
10873 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10874 (add_structvecs, add_singlevecs): New functions.
10875 (main): Call add_some_intvecs twice.
10876 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10877 the compile and exit upon failure. Try compiling for the "native"
10878 architecture. Test inferior function calls with vector arguments
10879 and vector return value handling with "finish" and "return".
10881 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10883 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10884 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10886 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10888 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10890 PR breakpoints/16465
10891 * gdb.mi/mi-dprintf-pending.c: New file.
10892 * gdb.mi/mi-dprintf-pending.exp: New test.
10893 * gdb.mi/mi-dprintf-pendshr.c: New file.
10895 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10896 Mircea Gherzan <mircea.gherzan@intel.com>
10898 * gdb.arch/i386-mpx-map.c: New file.
10899 * gdb.arch/i386-mpx-map.exp: New File.
10901 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10903 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10904 * gdb.arch/i386-mpx.exp: Indentation fixed.
10906 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10908 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10909 function and improved indentation.
10910 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10911 gdb_test_multiple. Added additional tests to skip the test.
10913 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10915 * gdb.arch/i386-avx512.c: Change path in include file.
10916 * gdb.arch/i386-avx512.exp: Change include dir path
10918 * gdb.arch/i386-mpx.c: Change path in include file.
10919 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10922 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10924 * gdb.compile/compile-print.exp (compile print *vararray@3)
10925 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10927 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10929 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10930 (do not keep jit in memory): ... this.
10931 (expect 5): Change it to ...
10932 (expect no 5): ... this.
10934 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10937 * gdb.mi/mi-detach.exp: New file.
10939 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10942 * gdb.arch/amd64-tailcall-self.S: New file.
10943 * gdb.arch/amd64-tailcall-self.c: New file.
10944 * gdb.arch/amd64-tailcall-self.exp: New file.
10946 2015-05-28 Don Breazeal <donb@codesourcery.com>
10948 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10949 tests for remote targets by checking is_target_gdbserver.
10951 2015-05-27 Doug Evans <dje@google.com>
10953 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10954 * gdb.dwarf2/opaque-type-lookup.c: New file.
10955 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10957 2015-05-26 Doug Evans <dje@google.com>
10959 * gdb.cp/iostream.cc: New file.
10960 * gdb.cp/iostream.exp: New file.
10962 2015-05-26 Doug Evans <dje@google.com>
10964 * gdb.dwarf2/dw2-op-call.exp: Update.
10965 * gdb.dwarf2/dw4-sig-types.exp: Update.
10966 * gdb.dwarf2/implptr.exp: Update.
10967 * gdb.mi/mi-cmd-param-changed.exp: Update.
10969 2015-05-26 Doug Evans <dje@google.com>
10971 * gdb.python/py-lazy-string.c: New file.
10972 * gdb.python/py-lazy-string.exp: New file.
10973 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10974 (main): Update. Add estring3.
10975 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10976 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10978 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10979 Yao Qi <yao.qi@linaro.org>
10981 * gdb.reverse/aarch64.c: New.
10982 * gdb.reverse/aarch64.exp: New.
10984 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10986 * lib/gdb.exp (supports_process_record): Return true for
10988 (supports_reverse): Likewise.
10990 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10992 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10993 Use with_test_prefix.
10995 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10997 * gdb.base/completion.exp: Add test for completion of layout
11000 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11002 * lib/gdb.exp (skip_tui_tests): New proc.
11003 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11005 2015-05-19 Pedro Alves <palves@redhat.com>
11007 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11008 Save the whole env array instead of just HOME. Unset HISTSIZE in
11009 the environment while testing. Restore whole environment
11012 2015-05-16 Doug Evans <xdje42@gmail.com>
11014 * gdb.guile/scm-ports.c: New file.
11015 * gdb.guile/scm-ports.exp: Add memory port tests.
11017 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11019 * gdb.compile/compile-print.c: New file.
11020 * gdb.compile/compile-print.exp: New file.
11022 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11024 * gdb.compile/compile-ops.exp: Cast param to void.
11025 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11026 (compile code struct_object.selffield = &struct_object): Add xfail.
11028 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11030 * gdb.ada/arr_enum_with_gap: New testcase.
11032 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11034 * gdb.ada/byte_packed_arr: New testcase.
11036 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11038 * gdb.ada/pckd_neg: New testcase.
11040 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11043 * gdb.base/gdbinit-history.exp: New test.
11044 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11045 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11047 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11049 * gdb.python/py-xmethods.cc: Enhance test case.
11050 * gdb.python/py-xmethods.exp: New tests.
11051 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11053 (B_indexoper): Likewise.
11054 (global_dm_list) : Add new xmethod worker functions.
11056 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11058 * gdb.base/coredump-filter.exp: Correctly unset
11059 "coredump_var_addr" array.
11061 2015-05-08 Pedro Alves <palves@redhat.com>
11063 * gdb.server/non-existing-program.exp: Unset spawn_id.
11065 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11068 * gdb.python/py-xmethods.exp: Add tests.
11070 2015-05-08 Yao Qi <yao.qi@linaro.org>
11073 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11074 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11075 function set_coredump_filter, and remove remote_exec call.
11076 Remove argument ipid. Callers update.
11077 (top level): Don't get inferior's PID.
11079 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11081 * gdb.base/watch_thread_num.exp: Skip test on targets without
11082 access watchpoints.
11084 2015-05-06 Pedro Alves <palves@redhat.com>
11087 * gdb.server/non-existing-program.exp: New file.
11089 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11091 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11093 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11095 * gdb.ada/out_of_line_in_inlined: New testcase.
11097 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11099 * gdb.ada/var_rec_arr: New testcase.
11101 2015-04-30 Yao Qi <yao.qi@linaro.org>
11103 * gdb.base/break-idempotent.exp: If
11104 skip_hw_watchpoint_multi_tests returns true, skip the tests
11105 on "rwatch" and "awatch".
11107 2015-04-30 Yao Qi <yao.qi@linaro.org>
11109 * gdb.base/relativedebug.exp: Invoke gdb command
11110 "info sharedlibrary", and if libc.so doesn't have debug info,
11113 2015-04-29 Doug Evans <dje@google.com>
11115 * gdb.python/py-xmethods.exp: Add ptype tests.
11116 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11117 get_result_type method.
11119 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11121 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11122 the target does not support hardware watchpoints.
11124 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11126 * gdb.base/break-always.exp: Abort testing if writing to memory
11129 2015-04-28 Doug Evans <dje@google.com>
11131 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11132 * gdb.python/py-pp-registration.exp: ... here. New file.
11133 * gdb.python/py-pp-registration.c: New file.
11134 * gdb.python/py-pp-registration.py: New file.
11136 2015-04-28 Doug Evans <dje@google.com>
11138 * gdb.python/py-bad-printers.c: New file.
11139 * gdb.python/py-bad-printers.py: New file.
11140 * gdb.python/py-bad-printers.exp: New file.
11142 2015-04-28 Sasha Smundak <asmundak@google.com>
11144 * gdb.python/py-type.exp: New test.
11146 2015-04-28 Andy Wingo <wingo@igalia.com>
11148 * gdb.python/py-parameter.exp:
11149 * gdb.guile/scm-parameter.exp: Escape the path that we are
11150 matching against, as it might contain characters that are special
11151 to regular expressions.
11153 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11155 * gdb.ada/rec_comp: New testcase.
11157 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11159 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11162 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11164 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11165 new tests for verilog output.
11167 2015-04-24 Yao Qi <yao.qi@linaro.org>
11169 * boards/remote-gdbserver-on-localhost.exp: New file.
11171 2015-04-23 Pedro Alves <palves@redhat.com>
11173 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11174 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11175 "end of file", remove $inferior_spawn_id from the indirect list.
11177 2015-04-23 Pedro Alves <palves@redhat.com>
11179 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11181 2015-04-23 Pedro Alves <palves@redhat.com>
11183 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11184 on $any_spawn_id instead of only on $gdb_spawn_id.
11186 2015-04-21 Pierre Muller <muller@sourceware.org>
11189 * lib/pascal.exp (gpc_compile): Add new option "class".
11190 (fpc_compile): Likewise.
11191 * gdb.pascal/case-insensitive-symbols.pas: New file.
11192 * gdb.pascal/case-insensitive-symbols.exp: New file.
11194 2015-04-20 Gary Benson <gbenson@redhat.com>
11196 * gdb.base/attach.exp: Fix three extended remote failures.
11198 2015-04-17 Gary Benson <gbenson@redhat.com>
11200 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11201 the main executable over the remote protocol.
11203 2015-04-16 Pedro Alves <palves@redhat.com>
11205 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11206 a new gdbserver if gdbserver_reconnect_p is set.
11208 2015-04-16 Pedro Alves <palves@redhat.com>
11210 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11211 is set, don't exit gdbserver.
11213 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11215 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11216 appropriate .insn, such that an older assembler can be used.
11217 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11218 the z/Architecture instruction set on 31-bit targets as well.
11220 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11222 * gdb.go/handcall.exp: Remove all logic related to the first
11223 breakpoint and rely on go_runto_main instead.
11224 * gdb.go/strings.exp: Likewise.
11225 * gdb.go/unsafe.exp: Likewise.
11226 * gdb.go/hello.exp: Likewise. Also rename the remaining
11227 breakpoint marker to "breakpoint 1".
11228 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11229 * gdb.go/strings.go: Likewise.
11230 * gdb.go/unsafe.go: Likewise.
11231 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11232 "set breakpoint 2 here" and rename the remaining breakpoint marker
11235 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11237 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11238 if itertools.imap is not present.
11239 * gdb.python/py-objfile.exp: Add parentheses.
11240 * gdb.python/py-type.exp: Same.
11241 * gdb.python/py-unwind-maint.py: Same.
11243 2015-04-15 Yao Qi <yao.qi@linaro.org>
11245 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11246 of ":$ptr_size" and set its form explicitly.
11248 2015-04-15 Pedro Alves <palves@redhat.com>
11249 Yao Qi <yao.qi@linaro.org>
11251 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11252 timeout by factor of 4.
11253 (test_regular_watch): Likewise.
11254 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11255 * gdb.reverse/sigall-reverse.exp: Likewise.
11256 * gdb.reverse/until-precsave.exp: Likewise.
11257 * lib/gdb.exp (with_timeout_factor): New proc.
11258 (gdb_expect): Move some code to ...
11259 (get_largest_timeout): ... here. New procedure.
11261 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11263 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11265 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11267 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11268 to write to the .text section.
11270 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11272 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11273 Handle the case of targets that do not provide PID information.
11275 2015-04-13 Yao Qi <yao.qi@linaro.org>
11277 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11278 and use expect instead of gdb_expect.
11280 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11282 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11283 "coredump_var_addr" to avoid naming conflict with other testcases.
11285 2015-04-10 Pedro Alves <palves@redhat.com>
11287 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11288 gdb_test_sequence and gdb_assert.
11290 2015-04-10 Pedro Alves <palves@redhat.com>
11292 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11293 test messages that don't include the breakpoint address.
11295 2015-04-10 Yao Qi <yao.qi@linaro.org>
11297 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11298 false for some offset and width combinations which aren't
11299 supported by linux kernel.
11301 2015-04-10 Pedro Alves <palves@redhat.com>
11303 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11304 procedure, factored out from ...
11305 (top level): ... here. Add "set displaced-stepping" testing axis.
11306 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11307 parameter "displaced". Use it.
11308 (top level): Use foreach and add "set displaced-stepping" testing
11311 2015-04-10 Pedro Alves <palves@redhat.com>
11313 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11315 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11316 both the address of the instruction that triggers the watchpoint
11317 and the address of the instruction immediately after, and use
11318 those addresses for the test. Fix comment.
11320 2015-04-10 Pedro Alves <palves@redhat.com>
11322 * gdb.base/sigstep.exp (breakpoint_to_handler)
11323 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11324 Test "backtrace" in handler.
11325 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11326 (top level): Add new "displaced" test axis to
11327 breakpoint_to_handler, breakpoint_to_handler_entry and
11328 breakpoint_over_handler.
11330 2015-04-10 Pedro Alves <palves@redhat.com>
11333 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11335 2015-04-10 Yao Qi <yao.qi@linaro.org>
11337 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11338 (test_add_rn_pc): New function.
11339 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11340 (top level): Invoke test_add_rn_pc.
11342 2015-04-10 Pedro Alves <palves@redhat.com>
11345 * gdb.base/step-over-no-symbols.exp: New file.
11347 2015-04-09 Andy Wingo <wingo@igalia.com>
11349 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11350 after the Python tests.
11352 2015-04-08 Keith Seitz <keiths@redhat.com>
11355 * gdb.python/py-completion.exp: New tests for completion.
11356 * gdb.python/py-completion.py (CompleteLimit1): New class.
11357 (CompleteLimit2): Likewise.
11358 (CompleteLimit3): Likewise.
11359 (CompleteLimit4): Likewise.
11360 (CompleteLimit5): Likewise.
11361 (CompleteLimit6): Likewise.
11362 (CompleteLimit7): Likewise.
11364 2015-04-08 Pedro Alves <palves@redhat.com>
11368 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11370 (main): Install it as SIGUSR1 handler.
11371 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11372 parameter. Always use "setup" as prefix. Toggle "set
11373 displaced-stepping" off/on depending on global. Don't switch to
11375 (top level): Add displaced stepping "off/on" test axis. Update
11376 "setup" calls. Wrap each subtest with with_test_prefix. Test
11377 continuing with a queued signal in each thread.
11379 2015-04-08 Pedro Alves <palves@redhat.com>
11381 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11382 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11383 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11384 Return early if running to main fails.
11385 * gdb.trace/while-stepping.exp: Likewise.
11387 2015-04-07 Pedro Alves <palves@redhat.com>
11389 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11390 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11391 interact with inferior program.
11393 2015-04-07 Pedro Alves <palves@redhat.com>
11395 * lib/gdb.exp (inferior_spawn_id): New global.
11396 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11397 spawn id after processing the user code.
11398 (default_gdb_start): Set inferior_spawn_id.
11399 (send_inferior): New procedure.
11400 * lib/gdbserver-support.exp (gdbserver_start): Set
11402 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11404 2015-04-07 Pedro Alves <palves@redhat.com>
11406 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11407 * lib/gdbserver-support.exp (gdbserver_start): Make
11408 $server_spawn_id global.
11409 (gdbserver_start): Don't wait for gdbserver's spawn id with
11411 (close_gdbserver): New procedure.
11412 (gdb_exit): Rename the default version and reimplement.
11414 2015-04-07 Pedro Alves <palves@redhat.com>
11416 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11417 append the substituted item, not the original item.
11419 2015-04-07 Pedro Alves <palves@redhat.com>
11421 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11424 2015-04-07 Pedro Alves <palves@redhat.com>
11426 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11427 output appearing once only.
11429 2015-04-07 Pedro Alves <palves@redhat.com>
11431 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11432 that doesn't expect anything. Return early if running to main
11435 2015-04-07 Yao Qi <yao.qi@linaro.org>
11437 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11438 (child_function): Call alarm.
11439 (main): Move call to alarm into the loop.
11440 * gdb.threads/non-stop-fair-events.exp: Build program with
11441 -DTIMEOUT=$timeout.
11443 2015-04-06 Doug Evans <xdje42@gmail.com>
11445 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11446 Fix dest parameter to board_info.
11447 (fpc_compile): Ditto.
11448 (gdb_compile_pascal): Rename dest arg to destfile.
11450 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11452 * gdb.ada/funcall_ref.exp: New file.
11453 * gdb.ada/funcall_ref/foo.adb: New file.
11455 2015-04-02 Yao Qi <yao.qi@linaro.org>
11457 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11460 2015-04-02 Gary Benson <gbenson@redhat.com>
11462 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11464 2015-04-01 Sasha Smundak <asmundak@google.com>
11466 * gdb.python/py-unwind-maint.c: New file.
11467 * gdb.python/py-unwind-maint.exp: New test.
11468 * gdb.python/py-unwind-maint.py: New file.
11469 * gdb.python/py-unwind.c: New file.
11470 * gdb.python/py-unwind.exp: New test.
11471 * gdb.python/py-unwind.py: New test.
11473 2015-04-01 Pedro Alves <palves@redhat.com>
11475 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11476 to fail instead of non-existent $test.
11478 2015-04-01 Pedro Alves <palves@redhat.com>
11480 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11481 GDBFLAGS if not empty.
11483 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11485 * gdb.ada/complete.exp: Remove "multi_line".
11486 * gdb.ada/info_exc.exp: Remove "multi_line".
11487 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11488 * gdb.ada/ptype_field.exp: Remove "multi_line".
11489 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11490 * gdb.ada/tagged.exp: Remove "multi_line".
11491 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11493 * gdb.btrace/delta.exp: Likewise.
11494 * gdb.btrace/exception.exp: Likewise.
11495 * gdb.btrace/function_call_history.exp: Likewise.
11496 * gdb.btrace/instruction_history.exp: Likewise.
11497 * gdb.btrace/nohist.exp: Likewise.
11498 * gdb.btrace/record_goto.exp: Likewise.
11499 * gdb.btrace/segv.exp: Likewise.
11500 * gdb.btrace/stepi.exp: Likewise.
11501 * gdb.btrace/tailcall.exp: Likewise.
11502 * gdb.btrace/unknown_functions.exp: Likewise.
11503 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11504 * lib/gdb.exp: Add the "multi_line" helper.
11506 2015-04-01 Pedro Alves <palves@redhat.com>
11508 * gdb.threads/tid-reuse.c: New file.
11509 * gdb.threads/tid-reuse.exp: New file.
11511 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11514 * gdb.base/coredump-filter.c: New file.
11515 * gdb.base/coredump-filter.exp: Likewise.
11517 2015-03-27 Petr Machata <pmachata@redhat.com>
11519 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11520 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11521 (Dwarf::assemble): Initialize them.
11522 (Dwarf::lines): New function.
11524 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11526 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11527 SYMBOL_PREFIX for x86_64-*-cygwin.
11529 2015-03-26 Andy Wingo <wingo@igalia.com>
11532 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11533 const_value but not a location.
11534 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11535 location defined in non-main CUs are visible.
11537 2015-03-26 Yao Qi <yao.qi@linaro.org>
11540 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11541 Add a line number entry for the same line.
11542 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11543 Add a line number entry for the same line.
11545 2015-03-26 Yao Qi <yao.qi@linaro.org>
11547 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11549 (func): Likewise. Add .Lfunc_1 label.
11550 Use .Lfunc_1 label.
11551 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11554 Use .Lfunc_1 label.
11556 2015-03-26 Yao Qi <yao.qi@linaro.org>
11558 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11559 Call gdb_compile instead to compile each .s files without debug
11562 2015-03-26 Yao Qi <yao.qi@linaro.org>
11564 * gdb.base/savedregs.exp (process_saved_regs): Make
11565 "Saved registers:" optional in the pattern.
11567 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11569 * gdb.btrace/next.exp: Merged into step.exp.
11570 * gdb.btrace/finish.exp: Merged into step.exp.
11571 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11572 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11573 "record goto" and checking the exact replay position.
11574 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11575 check for "Recording format" in "info record" output.
11576 * gdb.btrace/record_goto.exp: Choose test file based on target.
11577 * gdb.btrace/x86-record_goto.S: Renamed into ...
11578 * gdb.btrace/x86_64-record_goto.S: ... this.
11579 * gdb.btrace/i686-record_goto.S: New.
11580 * gdb.btrace/x86-tailcall.S: Renamed into ...
11581 * gdb.btrace/x86_64-tailcall.S: ... this.
11582 * gdb.btrace/i686-tailcall.S: New.
11583 * gdb.btrace/x86-tailcall.c: Renamed into ...
11584 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11585 separate statements. Update test.
11586 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11587 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11588 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11589 * gdb.btrace/tailcall.exp: Choose test file based on target.
11590 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11592 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11594 * gdb.btrace/exception.exp: Increase BTS buffer size.
11596 2015-03-24 Pedro Alves <palves@redhat.com>
11598 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11600 2015-03-24 Pedro Alves <palves@redhat.com>
11602 * gdb.threads/schedlock.exp (test_step): No longer expect that
11603 "set scheduler-locking step" with "next" over a function call runs
11606 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11608 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11610 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11612 PR breakpoints/16466
11613 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11614 * gdb.mi/mi-pending.c (thread_func): New function.
11615 (int main): Add threading support required.
11616 * gdb.mi/mi-pending.exp: Add tests for this issue.
11617 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11618 (pendfunc2): Remove stdio dependency.
11619 * gdb.mi/mi-pendshr2.c: New file.
11621 2015-03-23 Keith Seitz <keiths@redhat.com>
11623 * gdb.linespec/keywords.c: New file.
11624 * gdb.linespec/keywords.exp: New file.
11626 2015-03-23 Keith Seitz <keiths@redhat.com>
11629 * gdb.dwarf2/staticvirtual.exp: New test.
11631 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11633 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11634 * README: Remove HP-UX and gdb.hp.
11636 * configure: Regenerate.
11637 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11638 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11639 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11640 gdb.hp/gdb.defects/Makefile.
11641 * gdb.hp/Makefile.in: File deleted.
11642 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11643 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11644 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11645 * gdb.hp/gdb.aCC/run.c: File deleted.
11646 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11647 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11648 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11649 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11650 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11651 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11652 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11653 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11654 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11655 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11656 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11657 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11658 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11659 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11660 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11661 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11662 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11663 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11664 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11665 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11666 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11667 * gdb.hp/gdb.compat/average.c: File deleted.
11668 * gdb.hp/gdb.compat/sum.c: File deleted.
11669 * gdb.hp/gdb.compat/xdb.c: File deleted.
11670 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11671 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11672 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11673 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11674 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11675 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11676 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11677 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11678 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11679 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11680 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11681 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11682 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11683 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11684 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11685 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11686 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11687 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11688 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11689 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11690 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11691 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11692 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11693 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11694 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11695 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11696 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11697 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11698 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11699 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11700 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11701 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11702 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11703 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11704 * gdb.hp/tools/odump: File deleted.
11706 2015-03-19 Pedro Alves <palves@redhat.com>
11708 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11709 (saw_thread_3): New globals.
11710 (top level): Increment them when an event for the corresponding
11712 (no thread starvation): New test.
11714 2015-03-19 Pedro Alves <palves@redhat.com>
11716 * gdb.threads/continue-pending-status.c: New file.
11717 * gdb.threads/continue-pending-status.exp: New file.
11719 2015-03-18 Pedro Alves <palves@redhat.com>
11721 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11722 Use gdb_is_target_remote instead of is_remote. Use
11723 gdb_test_multiple instead of gdb_expect. Exit early if
11724 gdb_test_multiple hits its internal matches. Tighten stepi tests
11725 expected output. Fail on exit with any signal, instead of just
11728 2015-03-18 Yao Qi <yao.qi@linaro.org>
11731 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11733 * gdb.base/catch-syscall.exp: Don't skip it on
11734 aarch64*-*-linux* target. Remove elements in all_syscalls.
11735 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11737 (setup_all_syscalls): New proc.
11739 2015-03-16 Yao Qi <yao.qi@linaro.org>
11741 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11742 (top level): Skip tests if valid_addr_p returns false for
11745 2015-03-11 Andy Wingo <wingo@igalia.com>
11747 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11749 2015-03-11 Yao Qi <yao.qi@linaro.org>
11751 * gdb.base/catch-syscall.exp: Fix typo in comments.
11753 2015-03-11 Yao Qi <yao.qi@linaro.org>
11755 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11757 2015-03-09 Pedro Alves <palves@redhat.com>
11759 * dg-extract-results.py: Delete.
11761 2015-03-09 Pedro Alves <palves@redhat.com>
11763 Merge dg-extract-results.sh from GCC upstream (r218843).
11765 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11766 * dg-extract-results.sh: Use --text with grep to avoid issues with
11767 binary files. Fall back to cat -v, if that doesn't work.
11769 2015-03-05 Pedro Alves <palves@redhat.com>
11771 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11773 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11775 * lib/mi-support.exp (mi_expect_interrupt): Accept
11776 alternative event for when in all-stop mode.
11778 2015-03-04 Pedro Alves <palves@redhat.com>
11780 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11782 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11784 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11786 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11788 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11789 regexps for GDB's current line display, accept a hex address
11790 preceding the line number.
11792 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11794 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11795 the 'arch1' variable for "s390*-linux*" targets.
11797 2015-03-04 Pedro Alves <palves@redhat.com>
11799 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11800 (main): Pass missing retval argument to pthread_join call.
11802 2015-03-02 Pedro Alves <palves@redhat.com>
11804 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11805 (top level): Call do_test with non-stop as well.
11807 2015-03-02 Pedro Alves <palves@redhat.com>
11809 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11812 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11814 * gdb.arch/s390-vregs.exp: New test.
11815 * gdb.arch/s390-vregs.S: New file.
11817 2015-02-27 Pedro Alves <palves@redhat.com>
11819 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11820 call to catch_command_errors.
11821 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11822 catch_command_errors.
11824 2015-02-27 Pedro Alves <palves@redhat.com>
11826 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11827 "true" for boolean result.
11828 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11831 2015-02-27 Pedro Alves <palves@redhat.com>
11833 * lib/unbuffer_output.c: New file.
11834 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11835 (main): Call gdb_unbuffer_output.
11837 2015-02-27 Yao Qi <yao.qi@linaro.org>
11839 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11842 2015-02-26 Doug Evans <dje@google.com>
11844 * gdb.cp/class2.cc (Dbase, D): New classes.
11845 (main): New local delta.
11846 * gdb.cp/class2.exp: Test printing delta.
11847 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11848 (dynbar): New global.
11849 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11851 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11853 * gdb.compile/compile-ifunc.c: New file.
11854 * gdb.compile/compile-ifunc.exp: New file.
11856 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11858 * gdb.base/structs.exp: Check for correct struct on finish.
11860 2015-02-26 Yao Qi <yao.qi@linaro.org>
11862 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11865 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11867 * gdb.arch/cordic.ko.bz2: New file.
11868 * gdb.arch/cordic.ko.debug.bz2: New file.
11869 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11871 2015-02-25 Yao Qi <yao.qi@linaro.org>
11873 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11874 aarch64*-*-* target.
11876 2015-02-23 Pedro Alves <palves@redhat.com>
11878 * lib/gdb.exp (delete_breakpoints): Rewrite using
11881 2015-02-23 Pedro Alves <palves@redhat.com>
11883 * gdb.base/info-os.c: Include stdlib.h.
11885 2015-02-22 Doug Evans <xdje42@gmail.com>
11888 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11889 is read after symbols have been re-read.
11890 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11891 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11893 2015-02-21 Doug Evans <dje@google.com>
11895 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11897 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11900 * gdb.arch/i386-biarch-core.core.bz2: New file.
11901 * gdb.arch/i386-biarch-core.exp: New file.
11903 2015-02-21 Pedro Alves <palves@redhat.com>
11905 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11908 2015-02-20 Pedro Alves <palves@redhat.com>
11910 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11913 2015-02-20 Pedro Alves <palves@redhat.com>
11915 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11917 2015-02-20 Pedro Alves <palves@redhat.com>
11919 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11920 clean_restart before gdb_target_supports_trace.
11922 2015-02-20 Pedro Alves <palves@redhat.com>
11925 * gdb.threads/clone-thread_db.c: New file.
11926 * gdb.threads/clone-thread_db.exp: New file.
11928 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11930 PR breakpoints/16812
11931 * gdb.base/catch-gdb-caused-signals.c: New file.
11932 * gdb.base/catch-gdb-caused-signals.exp: New file.
11934 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11936 * configure: Regenerated.
11937 * configure.ac: Use GDB_AC_TRANSFORM.
11938 * aclocal.m4: sinclude ../transform.m4.
11940 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11942 * lib/dtrace.exp: New file.
11943 * gdb.base/dtrace-probe.exp: Likewise.
11944 * gdb.base/dtrace-probe.d: Likewise.
11945 * gdb.base/dtrace-probe.c: Likewise.
11946 * lib/pdtrace.in: Likewise.
11947 * configure.ac: Output variables with the transformed names of
11948 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11949 * configure: Regenerated.
11951 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11953 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11954 expected message when trying to access $_probe_* convenience
11955 variables while not on a probe.
11957 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11959 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11961 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11963 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11964 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11966 2015-02-10 Doug Evans <xdje42@gmail.com>
11968 * lib/gdb.exp (gdb_load): Always return a result.
11970 2015-02-10 Pedro Alves <palves@redhat.com>
11972 * gdb.threads/signal-sigtrap.c: New file.
11973 * gdb.threads/signal-sigtrap.exp: New file.
11975 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11977 * gdb.trace/no-attach-trace.c: New file.
11978 * gdb.trace/no-attach-trace.exp: New file.
11980 2015-02-09 Mark Wielaard <mjw@redhat.com>
11982 * gdb.dwarf2/atomic.c: New file.
11983 * gdb.dwarf2/atomic-type.exp: Likewise.
11985 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11987 * gdb.btrace/buffer-size.exp: Update "info record" output.
11988 * gdb.btrace/delta.exp: Update "info record" output.
11989 * gdb.btrace/enable.exp: Update "info record" output.
11990 * gdb.btrace/finish.exp: Update "info record" output.
11991 * gdb.btrace/instruction_history.exp: Update "info record" output.
11992 * gdb.btrace/next.exp: Update "info record" output.
11993 * gdb.btrace/nexti.exp: Update "info record" output.
11994 * gdb.btrace/step.exp: Update "info record" output.
11995 * gdb.btrace/stepi.exp: Update "info record" output.
11996 * gdb.btrace/nohist.exp: Update "info record" output.
11998 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12000 * gdb.btrace/buffer-size: New.
12002 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12004 * gdb.btrace/delta.exp: Update "info record" output.
12005 * gdb.btrace/enable.exp: Update "info record" output.
12006 * gdb.btrace/finish.exp: Update "info record" output.
12007 * gdb.btrace/instruction_history.exp: Update "info record" output.
12008 * gdb.btrace/next.exp: Update "info record" output.
12009 * gdb.btrace/nexti.exp: Update "info record" output.
12010 * gdb.btrace/step.exp: Update "info record" output.
12011 * gdb.btrace/stepi.exp: Update "info record" output.
12012 * gdb.btrace/nohist.exp: Update "info record" output.
12014 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12017 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12019 2015-02-06 Pedro Alves <palves@redhat.com>
12021 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12023 (seconds_left, again): New globals.
12024 (main): Wait seconds_left in a 1-second sleep loop instead of
12025 sleeping 180 seconds. If 'again' is set, reset the seconds
12027 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12028 'again' in the inferior before detaching. Print the seconds left.
12029 (options): New global.
12030 (top level): Build program with -DTIMEOUT=$timeout.
12032 2015-02-06 Pedro Alves <palves@redhat.com>
12034 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12035 determine how many seconds to pass to 'alarm'.
12036 * gdb.base/gdb-sigterm.exp (top level): Build program with
12037 -DTIMEOUT=$timeout.
12038 (do_test): Return success/failure indication. Add more verbose
12039 logging. Don't fail if 200 single steps are seen. Instead, fail
12040 when the test times out.
12041 (passes): New global.
12042 (top level): Break the testing loop if testing fails on any
12043 iteration. Use gdb_assert.
12045 2015-02-04 Don Breazeal <donb@codesourcery.com>
12047 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12048 and initialize them.
12049 (ipc_cleanup): New function.
12050 (main): Don't declare shmid, semid, and msqid. Add a call to
12051 atexit so that we call ipc_cleanup on exit.
12053 2015-02-04 Pedro Alves <palves@redhat.com>
12055 * boards/native-extended-gdbserver.exp: Remove any target variant
12056 specifications from the board name before clearing the isremote
12057 flag from board_info.
12059 2015-01-31 Doug Evans <xdje42@gmail.com>
12061 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12063 2015-01-31 Gary Benson <gbenson@redhat.com>
12065 * gdb.base/completion.exp: Disable completion limiting for
12066 existing tests. Add new tests to check completion limiting.
12067 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12069 2015-01-31 Doug Evans <xdje42@gmail.com>
12071 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12073 2015-01-31 Doug Evans <xdje42@gmail.com>
12075 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12076 entries. Duplicate file section script entries.
12077 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12078 inlined entries. Add test for safe-path rejection.
12079 * gdb.python/py-section-script.c: Add duplicate inlined section script
12080 entries. Duplicate file section script entries.
12081 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12082 inlined entries. Add test for safe-path rejection.
12084 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12086 * gdb.ada/disc_arr_bound: New testcase.
12088 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12090 * gdb.ada/mi_var_array: New testcase.
12092 2015-01-27 Doug Evans <dje@google.com>
12094 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12095 Add test for objfile.filename, objfile.username after objfile
12098 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12100 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12101 the second test to print the name attribute of value
12102 returned by the call to gdb.lookup_type, and adjust
12103 the expected output accordingly.
12105 2015-01-25 Mark Wielaard <mjw@redhat.com>
12107 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12108 * gdb.base/disp-step-fork.c: Include unistd.h.
12109 * gdb.base/siginfo-obj.c: Include stdio.h.
12110 * gdb.base/siginfo-thread.c: Likewise.
12111 * gdb.mi/non-stop.c: Include unistd.h.
12112 * gdb.mi/nsthrexec.c: Include stdio.h.
12113 * gdb.mi/pthreads.c: Include unistd.h.
12114 * gdb.modula2/unbounded1.c (main): Declare returns int.
12115 * gdb.reverse/consecutive-reverse.c: Likewise.
12116 * gdb.threads/create-fail.c: Include unistd.h.
12117 * gdb.threads/killed.c: Likewise.
12118 * gdb.threads/linux-dp.c: Likewise.
12119 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12120 * gdb.threads/non-ldr-exc-2.c: Likewise.
12121 * gdb.threads/non-ldr-exc-3.c: Likewise.
12122 * gdb.threads/non-ldr-exc-4.c: Likewise.
12123 * gdb.threads/pthreads.c: Include unistd.h.
12124 (main): Declare returns int.
12125 * gdb.threads/tls-main.c (foo): New declaration.
12126 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12128 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12130 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12131 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12133 2015-01-15 Mark Wielaard <mjw@redhat.com>
12135 * gdb.base/noreturn-return.c: New file.
12136 * gdb.base/noreturn-return.exp: New file.
12137 * gdb.base/noreturn-finish.c: New file.
12138 * gdb.base/noreturn-finish.exp: New file.
12140 2015-01-23 Pedro Alves <palves@redhat.com>
12142 * gdb.threads/continue-pending-after-query.c: New file.
12143 * gdb.threads/continue-pending-after-query.exp: New file.
12145 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12146 Simon Marchi <simon.marchi@ericsson.com>
12148 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12149 * gdb.base/valgrind-db-attach.exp: Same.
12150 * gdb.base/valgrind-infcall.exp: Same.
12151 * lib/mi-support.exp (default_mi_gdb_start): Same.
12152 * lib/prompt.exp (default_prompt_gdb_start): Same.
12153 * lib/gdb.exp (default_gdb_spawn): Same.
12154 (gdb_interact): New.
12157 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12159 * gdb.compile/compile.exp (pointer to jit function): New test.
12161 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12163 * lib/gdb.exp (supports_process_record): Return true for
12165 (supports_reverse): Likewise.
12167 2015-01-15 Don Breazeal <donb@codesourcery.com>
12169 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12170 instead of checking whether the target board is remote and
12171 use spawn_wait_for_attach instead of exec/sleep.
12172 * gdb.base/attach-twice.exp: Likewise.
12174 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12176 * gdb.ada/var_arr_attrs: New testcase.
12178 2015-01-14 Pedro Alves <palves@redhat.com>
12179 Joel Brobecker <brobecker@adacore.com>
12182 * gdb.base/bp-cmds-execution-x-script.c: New file.
12183 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12184 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12186 2015-01-14 Pedro Alves <palves@redhat.com>
12189 * gdb.base/batch-preserve-term-settings.c: New file.
12190 * gdb.base/batch-preserve-term-settings.exp: New file.
12192 2015-01-13 Doug Evans <dje@google.com>
12194 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12197 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12199 * Makefile.in (clean mostlyclean): Do not delete *.py.
12201 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12203 * gdb.python/py-lookup-type.exp: New file.
12205 2015-01-12 Pedro Alves <palves@redhat.com>
12207 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12208 restore GDBFLAGS before returning.
12210 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12212 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12213 is_amd64_regs_target and is_x86_like_target.
12215 2015-01-11 Doug Evans <xdje42@gmail.com>
12217 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12218 is given without an explicit form.
12219 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12221 * gdb.dwarf/corrupt.exp: Ditto.
12222 * gdb.dwarf2/enum-type.exp: Ditto.
12223 * gdb.trace/entry-values.exp: Ditto.
12224 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12226 2015-01-11 Doug Evans <xdje42@gmail.com>
12229 * gdb.base/maint.exp: Remove references to "maint demangle".
12230 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12231 Add tests for explicitly specifying language to demangle.
12232 * gdb.dlang/demangle.exp: Ditto.
12234 2015-01-09 Pedro Alves <palves@redhat.com>
12236 * gdb.threads/non-stop-fair-events.c: New file.
12237 * gdb.threads/non-stop-fair-events.exp: New file.
12239 2015-01-09 Pedro Alves <palves@redhat.com>
12241 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12242 the global scope. Set a breakpoint after all threads are started
12243 rather than stepping over two source lines. Expect the prompt.
12244 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12247 (main): Use threads_started_barrier to wait for all threads to
12248 start. Main thread no longer calls thread_function. Exit after
12250 (loop): New function.
12251 (thread_function): Wait on threads_started_barrier barrier. Call
12252 'loop' at each iteration.
12253 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12254 threads have started, instead of hardcoding number of "next"
12255 steps. Use an access watchpoint instead of a write watchpoint.
12257 2015-01-09 Pedro Alves <palves@redhat.com>
12259 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12260 (thread_func): Wait on barrier.
12261 (main): Wait for all threads to start before stopping GDB.
12262 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12264 (thread1_func, thread2_func): Wait on barrier.
12265 (main): Wait for all threads to start before stopping GDB.
12266 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12268 (thread1_func, thread2_func): Wait on barrier.
12269 (main): Wait for all threads to start before stopping GDB.
12271 2015-01-09 Pedro Alves <palves@redhat.com>
12273 * gdb.threads/attach-many-short-lived-threads.c: New file.
12274 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12276 2014-01-09 Pedro Alves <palves@redhat.com>
12278 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12279 instead of to thread 2.
12280 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12281 Add barrier around each pthread_create call instead of around all
12283 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12284 Set a break on thread_function and have the child threads hit it
12287 2015-01-09 Pedro Alves <palves@redhat.com>
12289 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12290 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12292 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12293 checking whether the target board is remote.
12294 * gdb.multi/multi-attach.exp: Likewise.
12295 * gdb.python/py-sync-interp.exp: Likewise.
12296 * gdb.server/ext-attach.exp: Likewise.
12297 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12298 tests that need to attach, instead of checking whether the target
12299 board is remote at the top of the file.
12301 2015-01-08 Yao Qi <yao@codesourcery.com>
12303 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12305 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12307 Fix testcase compilation.
12308 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12310 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12312 * gdb.python/py-type.exp: Add a couple test about empty
12313 array creation, and negative-length array creation.
12315 2015-01-02 Doug Evans <xdje42@gmail.com>
12317 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12319 2015-01-02 Doug Evans <dje@google.com>
12321 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12323 2014-12-29 Yao Qi <yao@codesourcery.com>
12325 * gdb.trace/entry-values.exp: Update comments. Rename variable
12326 bar_call_foo to returned_from_foo.
12328 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12331 * gdb.linespec/break-asm-file.c: New file.
12332 * gdb.linespec/break-asm-file.exp: New file.
12333 * gdb.linespec/break-asm-file0.s: New file.
12334 * gdb.linespec/break-asm-file1.s: New file.
12336 2014-12-18 Nigel Stephens <nigel@mips.com>
12337 Maciej W. Rozycki <macro@codesourcery.com>
12339 * gdb.base/float.exp: Handle the new output from "info float" on
12342 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12344 Fix MinGW compilation.
12345 * gdb.compile/compile-ops.exp: Update untested message if
12346 !skip_compile_feature_tests.
12347 * gdb.compile/compile-setjmp.exp: Likewise.
12348 * gdb.compile/compile-tls.exp: Likewise.
12349 * gdb.compile/compile.exp: Likewise.
12350 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12351 supported on this host".
12353 2014-12-16 Doug Evans <xdje42@gmail.com>
12355 * boards/stabs.exp: New file.
12357 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12359 * gdb.base/completion.exp: Adjust to format changes of "maint
12360 print user-registers".
12362 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12365 * gdb.arch/aarch64-fp.c: New file.
12366 * gdb.arch/aarch64-fp.exp: New file.
12368 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12370 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12371 r210637, r210913, r211666, r215400, r215817).
12373 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12374 * dg-extract-results.py: New file.
12375 * dg-extract-results.sh: Use it if the environment seems
12378 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12380 * dg-extract-results.py (parse_run): Handle warnings that
12381 are printed before a test harness is run.
12383 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12385 * dg-extract-results.py (Named): Remove __cmp__ method.
12386 (output_variation): Use a key to sort variation.harnesses.
12388 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12390 * dg-extract-results.py: For Python 3, force sys.stdout to
12391 handle surrogate escape sequences.
12392 (safe_open): New function.
12393 (output_segment, main): Use it.
12395 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12397 * dg-extract-results.py (Prog.result_re): Include options
12400 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12402 * dg-extract-results.py (output_variation): Always sort if
12405 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12407 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12408 as long as we get pagination notifications.
12410 2014-12-15 Jason Merrill <jason@redhat.com>
12412 * Makefile.in (check-gdb.%): Restore.
12413 * README: Mention it.
12415 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12417 * gdb.ada/str_uninit: New testcase.
12419 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12422 * gdb.base/vla-stub-define.c: New file.
12423 * gdb.base/vla-stub.c: New file.
12424 * gdb.base/vla-stub.exp: New file.
12426 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12427 Jan Kratochvil <jan.kratochvil@redhat.com>
12428 Tom Tromey <tromey@redhat.com>
12430 * configure.ac: Add gdb.compile/.
12431 * configure: Regenerate.
12432 * gdb.compile/Makefile.in: New file.
12433 * gdb.compile/compile-ops.exp: New file.
12434 * gdb.compile/compile-ops.c: New file.
12435 * gdb.compile/compile-tls.c: New file.
12436 * gdb.compile/compile-tls.exp: New file.
12437 * gdb.compile/compile-constvar.S: New file.
12438 * gdb.compile/compile-constvar.c: New file.
12439 * gdb.compile/compile-mod.c: New file.
12440 * gdb.compile/compile-nodebug.c: New file.
12441 * gdb.compile/compile-setjmp-mod.c: New file.
12442 * gdb.compile/compile-setjmp.c: New file.
12443 * gdb.compile/compile-setjmp.exp: New file.
12444 * gdb.compile/compile-shlib.c: New file.
12445 * gdb.compile/compile.c: New file.
12446 * gdb.compile/compile.exp: New file.
12447 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12449 2014-12-12 Tom Tromey <tromey@redhat.com>
12451 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12452 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12454 2014-12-12 Doug Evans <dje@google.com>
12456 * lib/gdb-python.exp (get_python_valueof): New function.
12457 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12459 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12461 * gdb.base/completion.exp: Add test for completion of "info
12464 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12466 * gdb.base/func-ptrs.c: New file.
12467 * gdb.base/func-ptrs.exp: New file.
12469 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12471 PR breakpoints/17012
12472 * gdb.base/dprintf-detach.c: New file.
12473 * gdb.base/dprintf-detach.exp: New file.
12475 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12477 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12478 * lib/gdb.exp (target_is_gdbserver): New procedure.
12480 2014-12-08 Doug Evans <dje@google.com>
12482 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12484 2014-12-05 Yao Qi <yao@codesourcery.com>
12486 * gdb.guile/scm-error.exp: Remove the third argument to
12487 gdb_remote_download.
12488 * gdb.guile/scm-frame-args.exp: Likewise.
12489 * gdb.guile/scm-section-script.exp: Likewise.
12491 2014-12-05 Yao Qi <yao@codesourcery.com>
12493 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12495 2014-12-04 Doug Evans <dje@google.com>
12497 * gdb.python/py-objfile.exp: Add tests for
12498 objfile.add_separate_debug_file.
12500 2014-12-04 Doug Evans <dje@google.com>
12502 * lib/gdb.exp (get_build_id): New function.
12503 (build_id_debug_filename_get): Rewrite to use it.
12504 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12506 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12508 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12509 `method(long)', not just 0x0.
12510 * gdb.cp/nsalias.exp: Align code labels to 4.
12511 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12512 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12513 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12514 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12515 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12516 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12518 2014-12-02 Doug Evans <dje@google.com>
12521 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12522 * gdb.cp/anon-ns2.cc: ... here. New file.
12523 * gdb.cp/anon-ns.exp: Update.
12525 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12527 * gdb.python/py-events.py (inferior_call_handler): New.
12528 (register_changed_handler, memory_changed_handler): New.
12529 (test_events.invoke): Register new handlers.
12530 * gdb.python/py-events.exp: Add tests for inferior call,
12531 memory_changed and register_changed events.
12533 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12535 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12536 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12537 if the linker doesn't understand this.
12539 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12541 * gdb.python/python.exp: Change expected reply to help().
12543 2014-12-01 Yao Qi <yao@codesourcery.com>
12545 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12546 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12547 * configure: Re-generated.
12549 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12551 * gdb.cp/chained-calls.cc: New file.
12552 * gdb.cp/chained-calls.exp: New file.
12553 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12555 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12557 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12558 * gdb.dwarf2/symtab-producer.exp: Same.
12559 * gdb.gdb/python-interrupts.exp: Same.
12560 * gdb.gdb/python-selftest.exp: Same.
12561 * gdb.python/py-linetable.exp: Same.
12562 * gdb.python/py-type.exp: Same.
12563 * gdb.python/py-value-cc.exp: Same.
12564 * gdb.python/py-value.exp: Same.
12566 2014-11-28 Yao Qi <yao@codesourcery.com>
12568 * gdb.base/break-probes.exp: Match library name prefixed with
12571 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12573 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12574 test expected output. Add parentheses for the call to print.
12575 Remove L suffix from integers.
12577 2014-11-26 Doug Evans <dje@google.com>
12579 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12581 2014-11-22 Yao Qi <yao@codesourcery.com>
12583 * gdb.trace/entry-values.c: Remove asms.
12584 (foo): Add foo_label.
12585 (bar): Add bar_label.
12586 * gdb.trace/entry-values.exp: Remove code computing foo's
12587 length and bar's length.
12588 (Dwarf::assemble): Invoke function_range for bar and use
12589 MACRO_AT_func for foo.
12591 2014-11-22 Yao Qi <yao@codesourcery.com>
12593 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12594 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12595 Use .Lgcc43_procstart instead of gcc43.
12597 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12599 * gdb.ada/n_arr_bound: New testcase.
12601 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12603 PR breakpoints/10737
12604 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12605 test_catch_syscall_multi_arch.
12606 (test_catch_syscall_multi_arch): New function.
12608 2014-11-20 Doug Evans <xdje42@gmail.com>
12610 * gdb.base/maint.exp: Update expected output.
12612 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12614 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12615 4-byte instruction on S390.
12617 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12619 * gdb.ada/arr_arr: New testcase.
12621 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12623 * gdb.ada/pkd_arr_elem: New Testcase.
12625 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12627 * gdb.reverse/break-precsave: Expect completion message for
12629 * gdb.reverse/consecutive-precsave.exp: Likewise.
12630 * gdb.reverse/finish-precsave.exp: Likewise.
12631 * gdb.reverse/i386-precsave.exp: Likewise.
12632 * gdb.reverse/machinestate-precsave.exp: Likewise.
12633 * gdb.reverse/sigall-precsave.exp: Likewise.
12634 * gdb.reverse/solib-precsave.exp: Likewise.
12635 * gdb.reverse/step-precsave.exp: Likewise.
12636 * gdb.reverse/until-precsave.exp: Likewise.
12637 * gdb.reverse/watch-precsave.exp: Likewise.
12639 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12641 * gdb.base/bp-permanent.c: Include unistd.h.
12642 * gdb.python/py-framefilter-mi.c (main): Add return type.
12643 * gdb.python/py-framefilter.c (main): Likewise.
12644 * gdb.trace/actions-changed.c (main): Likewise.
12646 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12648 * gdb.mi/until.c: Add eye-catchers.
12649 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12652 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12654 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12655 function header variants in break1.c.
12656 * gdb.base/ena-dis-br.exp: Likewise.
12657 * gdb.base/hbreak2.exp: Likewise.
12658 * gdb.reverse/until-precsave.exp: Drop references to removed
12659 non-prototype function header variants in ur1.c.
12660 * gdb.reverse/until-reverse.exp: Likewise.
12662 2014-11-17 Petr Machata <pmachata@redhat.com>
12664 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12665 ${_cu_offset_size} bytes abbrev offset.
12667 2014-11-15 Doug Evans <xdje42@gmail.com>
12670 * gdb.base/line-symtabs.exp: New file.
12671 * gdb.base/line-symtabs.c: New file.
12672 * gdb.base/line-symtabs.h: New file.
12674 2014-11-14 Yao Qi <yao@codesourcery.com>
12676 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12677 (func): Add label func_label.
12678 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12679 Replace low_pc and high_pc with MACRO_AT_range.
12680 Replace name, low_pc and high_pc with MACRO_AT_func.
12682 2014-11-14 Yao Qi <yao@codesourcery.com>
12684 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12685 Replace name, low_pc and high_pc with MACRO_AT_func.
12687 2014-11-14 Yao Qi <yao@codesourcery.com>
12689 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12690 produce debug information.
12691 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12693 2014-11-14 Yao Qi <yao@codesourcery.com>
12695 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12696 object and get function length.
12697 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12698 with MACRO_AT_func.
12699 (top-level): Replace gdb_compile and clean_restart with
12700 prepare_for_testing.
12701 * gdb.dwarf2/main.c (main): Add label main_label.
12703 2014-11-14 Yao Qi <yao@codesourcery.com>
12705 * lib/dwarf.exp (function_range): New procedure.
12706 (Dwarf::_handle_macro_at_func): New procedure.
12707 (Dwarf::_handle_macro_at_range): New procedure.
12708 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12710 2014-11-14 Yao Qi <yao@codesourcery.com>
12712 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12713 (_handle_attribute): New procedure.
12715 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12717 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12718 * gdb.base/call-sc.c (zed): Likewise.
12719 * gdb.base/checkpoint.c (main): Likewise.
12720 * gdb.base/dump.c (main): Likewise.
12721 * gdb.base/gcore.c (main): Likewise.
12722 * gdb.base/huge.c (main): Likewise.
12723 * gdb.base/multi-forks.c (main): Likewise.
12724 * gdb.base/pr10179-a.c (main): Likewise.
12725 * gdb.base/savedregs.c (main): Likewise.
12726 * gdb.base/sigaltstack.c (main): Likewise.
12727 * gdb.base/siginfo.c (main): Likewise.
12728 * gdb.base/structs.c (zed): Likewise.
12729 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12730 * gdb.mi/mi-syn-frame.c (main): Likewise.
12731 * gdb.mi/until.c (foo, main): Likewise.
12732 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12733 * gdb.base/solib-weak.c (foo): Declare.
12734 * gdb.base/attach-twice.c: Include stdio.h.
12735 * gdb.base/weaklib1.c: Likewise.
12736 * gdb.base/weaklib2.c: Likewise.
12737 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12738 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12740 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12741 * gdb.mi/mi-exit-code.c: Likewise.
12742 * gdb.base/break-interp-lib.c: Include string.h.
12743 * gdb.base/coremaker.c: Likewise.
12744 * gdb.base/testenv.c: Likewise.
12745 * gdb.python/py-finish-breakpoint.c: Likewise.
12746 * gdb.base/inferior-died.c: Include sys/wait.h.
12747 * gdb.base/fileio.c: Include time.h.
12748 * gdb.base/async-shell.c: Include unistd.h.
12749 * gdb.base/dprintf-non-stop.c: Likewise.
12750 * gdb.base/info-os.c: Likewise.
12751 * gdb.mi/mi-console.c: Likewise.
12752 * gdb.mi/watch-nonstop.c: Likewise.
12753 * gdb.python/py-events.c: Likewise.
12754 * gdb.base/async.c (baz): Move up before its invocation.
12755 * gdb.base/code_elim2.c (my_global_func): Likewise.
12756 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12757 * gdb.base/advance.c (func2): Likewise.
12759 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12761 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12763 * gdb.base/annota3.c: Likewise.
12764 * gdb.base/async.c: Likewise.
12765 * gdb.base/average.c: Likewise.
12766 * gdb.base/call-ar-st.c: Likewise.
12767 * gdb.base/call-rt-st.c: Likewise.
12768 * gdb.base/call-sc.c: Likewise.
12769 * gdb.base/call-strs.c: Likewise.
12770 * gdb.base/ending-run.c: Likewise.
12771 * gdb.base/execd-prog.c: Likewise.
12772 * gdb.base/exprs.c: Likewise.
12773 * gdb.base/foll-exec.c: Likewise.
12774 * gdb.base/foll-fork.c: Likewise.
12775 * gdb.base/foll-vfork.c: Likewise.
12776 * gdb.base/funcargs.c: Likewise.
12777 * gdb.base/gcore.c: Likewise.
12778 * gdb.base/jump.c: Likewise.
12779 * gdb.base/langs0.c: Likewise.
12780 * gdb.base/langs1.c: Likewise.
12781 * gdb.base/langs2.c: Likewise.
12782 * gdb.base/mips_pro.c: Likewise.
12783 * gdb.base/nodebug.c: Likewise.
12784 * gdb.base/opaque0.c: Likewise.
12785 * gdb.base/opaque1.c: Likewise.
12786 * gdb.base/recurse.c: Likewise.
12787 * gdb.base/run.c: Likewise.
12788 * gdb.base/scope0.c: Likewise.
12789 * gdb.base/scope1.c: Likewise.
12790 * gdb.base/setshow.c: Likewise.
12791 * gdb.base/setvar.c: Likewise.
12792 * gdb.base/shmain.c: Likewise.
12793 * gdb.base/shr1.c: Likewise.
12794 * gdb.base/shr2.c: Likewise.
12795 * gdb.base/sigall.c: Likewise.
12796 * gdb.base/signals.c: Likewise.
12797 * gdb.base/so-indr-cl.c: Likewise.
12798 * gdb.base/solib2.c: Likewise.
12799 * gdb.base/structs.c: Likewise.
12800 * gdb.base/sum.c: Likewise.
12801 * gdb.base/vforked-prog.c: Likewise.
12802 * gdb.base/watchpoint.c: Likewise.
12803 * gdb.reverse/shr2.c: Likewise.
12804 * gdb.reverse/until-reverse.c: Likewise.
12805 * gdb.reverse/ur1.c: Likewise.
12806 * gdb.reverse/watch-reverse.c: Likewise.
12808 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12810 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12812 * gdb.base/sepdebug.exp: Drop references to removed code.
12814 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12816 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12817 variant. Preserve original line numbering.
12818 * gdb.base/list1.c: Likewise.
12820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12822 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12824 * gdb.base/break1.c: Likewise.
12825 * gdb.base/break.exp: Drop references to removed code.
12827 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12829 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12834 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12836 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12838 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12839 logic into perform_all_tests() and invoke it with and without
12840 function header prototypes.
12841 (do_function_calls): Remove conditional XFAIL for PR 5318.
12842 (rerun_and_prepare): Remove duplicate code.
12843 (perform_all_tests): New. Main logic moved here.
12845 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12847 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12848 code guarded by #ifdef NO_PROTOTYPES.
12849 (t_double_many_args): Likewise.
12850 (DEF_FUNC_MANY_ARGS_1): Likewise.
12851 (DEF_FUNC_VALUES_1): Likewise.
12852 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12853 guarded by #ifdef PROTOTYPES.
12855 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12857 * gdb.mi/mi-console.c: Add eye-catcher.
12858 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12859 instead of literal line number.
12861 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12863 * gdb.base/shr2.c: Add eye-catcher.
12864 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12867 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12869 * gdb.base/jump.c: Add eye-catchers.
12870 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12873 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12875 * gdb.base/execd-prog.c: Add eye-catchers.
12876 * gdb.base/foll-exec.c: Likewise.
12877 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12880 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12882 * gdb.base/ending-run.c: Add eye-catchers.
12883 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12884 literal line numbers.
12886 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12888 * gdb.base/call-rt-st.c: Add eye-catchers.
12889 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12890 literal line numbers.
12892 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12894 * gdb.base/call-ar-st.c: Add eye-catchers.
12895 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12896 literal line numbers.
12898 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12900 * gdb.base/average.c: Add eye-catchers.
12901 * gdb.base/sum.c: Likewise.
12902 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12903 regexps dynamically.
12905 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12907 * gdb.base/solib1.c: Add eye-catchers.
12908 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12909 literal line numbers.
12911 2014-11-12 Pedro Alves <palves@redhat.com>
12913 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12916 2014-11-12 Pedro Alves <palves@redhat.com>
12918 * gdb.arch/i386-bp_permanent.c: New file.
12919 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12920 (srcfile): Set to i386-bp_permanent.c.
12921 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12922 that stepi does not execute the 'leave' instruction, instead of
12923 testing it does execute.
12924 * gdb.base/bp-permanent.c: New file.
12925 * gdb.base/bp-permanent.exp: New file.
12927 2014-11-10 Doug Evans <xdje42@gmail.com>
12930 * gdb.base/symtab-search-order.exp: New file.
12931 * gdb.base/symtab-search-order.c: New file.
12932 * gdb.base/symtab-search-order-1.c: New file.
12933 * gdb.base/symtab-search-order-shlib-1.c: New file.
12935 2014-11-07 Pedro Alves <palves@redhat.com>
12938 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12941 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12944 * gdb.cp/pr17494.cc: New file.
12945 * gdb.cp/pr17494.exp: New file.
12947 2014-11-02 Yao Qi <yao@codesourcery.com>
12949 * gdb.python/python.exp: Get working directory and match the
12950 output of "set extended-prompt \\w " with it.
12952 2014-10-30 Doug Evans <dje@google.com>
12954 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12956 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12959 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12961 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12962 * gdb.base/realname-expand.exp: Likewise.
12963 * gdb.linespec/macro-relative.exp: Likewise.
12965 2014-10-29 Pedro Alves <palves@redhat.com>
12968 * gdb.threads/schedlock.c (some_function): New function.
12969 (call_function): New global.
12970 (MAYBE_CALL_SOME_FUNCTION): New macro.
12971 (thread_function): Call it.
12972 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12973 and use it instead of a global counter. Adjust all callers.
12974 (get_current_thread): Use "find current thread" for test message
12975 here rather than having all callers pass down the same string.
12976 (goto_loop): New procedure, factored out from ...
12977 (my_continue): ... this.
12978 (step_ten_loops): Change parameter from test message to command to
12980 (list_count): Delete global.
12981 (check_result): New procedure, factored out from duplicate top
12983 (continue tests): Wrap in with_test_prefix.
12984 (test_step): New procedure, factored out from duplicate top level
12986 (top level): Test "step" in combination with all scheduler-locking
12987 modes. Test "next" in combination with all scheduler-locking
12988 modes, and in combination with stepping over a function call or
12990 * gdb.threads/next-bp-other-thread.c: New file.
12991 * gdb.threads/next-bp-other-thread.exp: New file.
12993 2014-10-29 Pedro Alves <palves@redhat.com>
12996 * gdb.python/python.exp: Test a multi-line command that spawns
12997 interactive Python.
12998 * gdb.base/multi-line-starts-subshell.exp: New file.
13000 2014-10-29 Yao Qi <yao@codesourcery.com>
13002 * gdb.base/fileio.exp: Make directories on host.
13004 2014-10-29 Yao Qi <yao@codesourcery.com>
13006 * gdb.base/fileio.c (test_write): Close the file.
13008 2014-10-28 Pedro Alves <palves@redhat.com>
13011 * gdb.base/sigstep.c (no_handler): New global.
13012 (main): If 'no_handler is true, set the signal handlers to
13014 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13015 with_sw_watch and no_handler parameters. Handle them.
13016 (top level) <stepping over handler when stopped at a breakpoint
13017 test>: Add a test axis for testing with a software watchpoint, and
13018 another for testing with the signal handler set to SIG_IGN.
13019 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13020 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13022 2014-10-28 Pedro Alves <palves@redhat.com>
13025 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13026 * gdb.base/sigstep.exp (other_handler_location): New global.
13027 (advance): Support stepping into the signal handler, and running
13028 commands while in the handler.
13029 (in_handler_map): New global.
13030 (top level): In the advance test, add combinations for getting
13031 into the handler with stepping commands, and for running commands
13032 in the handler. Add comment descripting the advancei tests.
13034 2014-10-28 Pedro Alves <palves@redhat.com>
13036 * gdb.base/sigstep.exp: Use build_executable instead of
13037 prepare_for_testing.
13038 (top level): Move code that starts GDB, runs to main and creates a
13040 (restart): ... this new procedure.
13041 (top level): Move backtrace from signal handler test to ...
13042 (validate_backtrace): ... this new procedure.
13043 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13044 with_test_prefix. Always restart GDB.
13045 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13046 with_test_prefix. Always restart GDB. No need to delete
13047 breakpoints after the test.
13048 (test_skip_handler): Remove prefix parameter.
13049 (skip_over_handler, breakpoint_to_handler)
13050 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13051 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13052 restart GDB. No need to delete breakpoints after the test.
13053 (top level): Use foreach to call the test procedures with
13054 different commands.
13056 2014-10-28 Pedro Alves <palves@redhat.com>
13058 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13059 instead of GNATS numbers.
13060 * gdb.base/sigbpt.exp: Likewise.
13061 * gdb.base/siginfo.exp: Likewise.
13062 * gdb.base/sigstep.exp: Likewise.
13064 2014-10-27 Pedro Alves <palves@redhat.com>
13066 * gdb.base/sigstep.c (dummy): New global.
13067 (main): Issue a couple writes to the new global.
13068 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13070 (skip_over_handler): Use test_skip_handler.
13071 (top level): Call skip_over_handler for stepi and nexti too.
13072 (breakpoint_over_handler): Use test_skip_handler.
13073 (top level): Call breakpoint_over_handler for stepi and nexti too.
13075 2014-10-27 Yao Qi <yao@codesourcery.com>
13077 * gdb.trace/tfile.c (adjust_function_address)
13078 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13079 function descriptor.
13081 2014-10-24 Don Breazeal <donb@codesourcery.com>
13083 * gdb.base/foll-fork.exp (test_follow_fork,
13084 catch_fork_child_follow): Check for updated fork messages emitted
13086 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13087 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13088 vfork_and_exec_child_follow_through_step): Check for updated vfork
13089 messages emitted from infrun.c.
13091 2014-10-24 Pedro Alves <palves@redhat.com>
13093 * gdb.base/corefile.exp: Remove references to ultrix.
13094 * gdb.base/interrupt.exp: Likewise.
13095 * gdb.base/whatis.exp: Likewise.
13096 * gdb.gdb/selftest.exp: Likewise.
13097 * gdb.threads/manythreads.exp: Likewise.
13098 * gdb.threads/print-threads.exp: Likewise.
13099 * gdb.threads/pthreads.exp:: Likewise.
13100 * gdb.threads/schedlock.exp: Likewise.
13102 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13104 * gdb.cp/non-trivial-retval.cc: Add a test case.
13105 * gdb.cp/non-trivial-retval.exp: Add a test.
13107 2014-10-20 Yao Qi <yao@codesourcery.com>
13109 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13110 * gdb.python/py-objfile-script-gdb.py: New file.
13111 * gdb.python/py-objfile-script.exp: Update reference to
13112 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13113 of remote_download. Remove the dest file.
13115 2014-10-20 Yao Qi <yao@codesourcery.com>
13117 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13118 * gdb.base/step-line.exp: Likewise.
13119 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13120 * gdb.dwarf2/dw2-basic.exp: Likewise.
13121 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13122 * gdb.dwarf2/dw2-filename.exp: Likewise.
13123 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13124 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13125 * gdb.dwarf2/dw2-producer.exp: Likewise.
13126 * gdb.dwarf2/mac-fileno.exp: Likewise.
13127 * gdb.python/py-frame-args.exp: Likewise.
13128 * gdb.python/py-framefilter.exp: Likewise.
13129 * gdb.python/py-mi.exp: Likewise.
13130 * gdb.python/py-objfile-script.exp: Likewise
13131 * gdb.python/py-pp-integral.exp: Likewise.
13132 * gdb.python/py-pp-re-notag.exp: Likewise.
13133 * gdb.python/py-prettyprint.exp: Likewise.
13134 * gdb.python/py-section-script.exp: Likewise.
13135 * gdb.python/py-typeprint.exp: Likewise.
13136 * gdb.python/py-xmethods.exp: Likewise.
13137 * gdb.stabs/weird.exp: Likewise.
13138 * gdb.xml/tdesc-regs.exp: Likewise.
13140 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13142 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13143 (out_cu): Use addr_len for the size of addresses.
13144 (out_line): Likewise. Size DW_LNE_set_address instruction
13145 according to addr_len.
13146 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13147 (FUNC): Add START_INSNS to definition.
13149 2014-10-18 Yao Qi <yao@codesourcery.com>
13151 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13152 gdb_has_argv0 return true.
13153 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13154 check [target_info exists noargs], check [gdb_has_argv0]
13156 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13157 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13160 2014-10-17 Doug Evans <dje@google.com>
13162 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13164 * gdb.python/py-events.py: Add clear_objfiles event.
13166 2014-10-17 Doug Evans <dje@google.com>
13168 * gdb.python/py-objfile.exp: Test progspace attribute.
13170 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13172 * gdb.guile/scm-breakpoint.exp: Do not assume any
13173 directory separators when matching source file paths.
13174 * gdb.python/py-breakpoint.exp: Likewise.
13175 * gdb.reverse/break-precsave.exp: Likewise.
13176 * gdb.reverse/break-reverse.exp: Likewise.
13177 * gdb.reverse/consecutive-precsave.exp: Likewise.
13178 * gdb.reverse/finish-precsave.exp: Likewise.
13179 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13180 * gdb.reverse/finish-reverse.exp: Likewise.
13181 * gdb.reverse/i386-precsave.exp: Likewise.
13182 * gdb.reverse/i387-env-reverse.exp: Likewise.
13183 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13184 * gdb.reverse/machinestate-precsave.exp: Likewise.
13185 * gdb.reverse/machinestate.exp: Likewise.
13186 * gdb.reverse/sigall-precsave.exp: Likewise.
13187 * gdb.reverse/solib-precsave.exp: Likewise.
13188 * gdb.reverse/step-precsave.exp: Likewise.
13189 * gdb.reverse/until-precsave.exp: Likewise.
13190 * gdb.reverse/watch-precsave.exp: Likewise.
13191 * gdb.reverse/watch-reverse.exp: Likewise.
13193 2014-10-17 Yao Qi <yao@codesourcery.com>
13195 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13196 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13198 2014-10-17 Pedro Alves <palves@redhat.com>
13201 * gdb.base/bg-execution-repeat.c: New file.
13202 * gdb.base/bg-execution-repeat.exp: New file.
13204 2014-10-17 Pedro Alves <palves@redhat.com>
13207 * gdb.base/continue-all-already-running.c: New file.
13208 * gdb.base/continue-all-already-running.exp: New file.
13210 2014-10-17 Pedro Alves <palves@redhat.com>
13213 * gdb.base/annota-input-while-running.c: New file.
13214 * gdb.base/annota-input-while-running.exp: New file.
13216 2014-10-17 Pedro Alves <palves@redhat.com>
13218 * gdb.base/callfuncs.exp: emove references to osf.
13219 * gdb.base/sigall.exp: Likewise.
13220 * gdb.gdb/selftest.exp: Likewise.
13221 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13222 * gdb.mi/non-stop.c: Likewise.
13223 * gdb.mi/pthreads.c: Likewise.
13224 * gdb.reverse/sigall-precsave.exp: Likewise.
13225 * gdb.reverse/sigall-reverse.exp: Likewise.
13226 * gdb.threads/pthreads.c: Likewise.
13227 * gdb.threads/pthreads.exp: Likewise.
13229 2014-10-17 Yao Qi <yao@codesourcery.com>
13231 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13232 check 'target_info exists noargs'.
13233 (test_command_prompt_position): Likewise.
13234 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13236 (progvar_simple_while_test): Likewise.
13237 (progvar_complex_if_while_test): Likewise.
13238 (if_while_breakpoint_command_test): Likewise.
13239 (infrun_breakpoint_command_test): Likewise.
13240 (breakpoint_command_test): Likewise.
13241 (watchpoint_command_test): Likewise.
13242 (bp_deleted_in_command_test): Likewise.
13243 (temporary_breakpoint_commands): Likewise.
13245 2014-10-16 Yao Qi <yao@codesourcery.com>
13247 * gdb.base/remotetimeout.exp: Remove noargs checking.
13249 2014-10-15 Pedro Alves <palves@redhat.com>
13251 PR breakpoints/9649
13252 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13253 * gdb.base/breakpoint-in-ro-region.exp
13254 (probe_target_hardware_step): New procedure.
13255 (top level): Probe hardware stepping and hardware breakpoint
13256 support. Test stepping through a read-only region, with both
13257 "breakpoint auto-hw" on and off and both "always-inserted" on and
13260 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13262 * gdb.dlang/demangle.exp: Update for demangling changes.
13264 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13266 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13267 * gdb.cp/non-trivial-retval.exp: Add new tests.
13269 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13273 * gdb.cp/non-trivial-retval.cc: New file.
13274 * gdb.cp/non-trivial-retval.exp: New file.
13276 2014-10-15 Yao Qi <yao@codesourcery.com>
13278 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13281 2014-10-15 Yao Qi <yao@codesourcery.com>
13283 * gdb.python/py-symbol.exp: Match file base name if host is
13284 remote, otherwise match file name with dir name.
13285 * gdb.python/py-symtab.exp: Likewise.
13286 * gdb.python/python.exp: Likewise.
13288 2014-10-15 Yao Qi <yao@codesourcery.com>
13290 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13292 * gdb.python/py-symtab.exp: Likewise.
13293 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13296 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13298 * gdb.ada/addr_arith: New testcase.
13300 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13302 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13303 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13304 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13305 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13307 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13309 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13310 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13311 * gdb.arch/stap-eval-lang-ada.exp: New file.
13313 2014-10-14 Yao Qi <yao@codesourcery.com>
13315 * gdb.mi/mi-var-child.c (nothing1): New function.
13316 (nothing2): New function.
13317 (do_children_tests): Set function pointers by nothing1 and
13319 * gdb.mi/mi-var-child.exp: Step over new added statements.
13320 Update test to match the new output.
13321 * gdb.mi/var-cmd.c (nothing1): New function.
13322 (nothing2): New function.
13323 (do_children_tests): Set function pointers by nothing1 and
13325 * gdb.mi/mi-var-display.exp: Update test to match output.
13326 Step to the line specified by $line_dct_nothing.
13327 Increase the number of lines to step.
13329 2014-10-14 Yao Qi <yao@codesourcery.com>
13331 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13333 * gdb.mi/mi2-var-child.exp: Likewise.
13335 2014-10-13 Doug Evans <dje@google.com>
13337 * gdb.python/py-objfile.exp: Change name of file name test.
13339 2014-10-13 Doug Evans <dje@google.com>
13341 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13342 from the start of the CU.
13344 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13345 Yao Qi <yao@codesourcery.com>
13347 Fix "save breakpoints" for "catch" command.
13348 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13349 Remove -nonewline. Match also the added "main" line.
13351 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13353 Fix "save breakpoints" for "disable $bpnum" command.
13354 * gdb.base/save-bp.c (main): Add label.
13355 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13357 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13359 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13361 2014-10-11 Yao Qi <yao@codesourcery.com>
13363 * gdb.server/server-kill.exp: Execute command
13364 "set remote trace-status-packet on" before "tstatus".
13366 2014-10-11 Yao Qi <yao@codesourcery.com>
13368 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13369 (main): Call getppid.
13370 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13371 and continue to it. Read variable "server_pid".
13373 2014-10-11 Yao Qi <yao@codesourcery.com>
13375 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13377 2014-10-11 Yao Qi <yao@codesourcery.com>
13379 * gdb.threads/thread-find.exp: Don't execute command
13381 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13382 * gdb.threads/linux-dp.exp: Don't check the condition
13383 $threads_created equals to zero.
13385 2014-10-10 Pedro Alves <palves@redhat.com>
13387 * gdb.base/bigcore.exp: Remove references to IRIX.
13388 * gdb.base/funcargs.exp: Likewise.
13389 * gdb.base/interrupt.exp: Likewise.
13390 * gdb.base/mips_pro.exp: Likewise.
13391 * gdb.base/nodebug.exp: Likewise.
13392 * gdb.base/setvar.exp: Likewise.
13393 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13395 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13396 Pedro Alves <palves@redhat.com>
13399 * gdb.base/vdso-warning.c: New file.
13400 * gdb.base/vdso-warning.exp: New file.
13402 2014-10-02 Doug Evans <dje@google.com>
13404 * gdb.base/structs.c (main): Don't run forever.
13406 2014-10-02 Pedro Alves <palves@redhat.com>
13408 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13409 (top level) <stop threads 1, stop threads 2>: Use it.
13411 2014-10-02 Pedro Alves <palves@redhat.com>
13413 * gdb.threads/break-while-running.exp (test): Add new
13414 'update_thread_list' argument. Skip "info threads" if false.
13415 (top level): Add new 'update_thread_list' axis.
13417 2014-10-02 Pedro Alves <palves@redhat.com>
13419 PR breakpoints/17431
13420 * gdb.base/execl-update-breakpoints.c: New file.
13421 * gdb.base/execl-update-breakpoints.exp: New file.
13423 2014-10-01 Pedro Alves <palves@redhat.com>
13425 * gdb.base/breakpoint-in-ro-region.c: New file.
13426 * gdb.base/breakpoint-in-ro-region.exp: New file.
13428 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13430 * gdb.mi/mi-exit-code.exp: New file.
13431 * gdb.mi/mi-exit-code.c: New file.
13433 2014-09-30 Yao Qi <yao@codesourcery.com>
13435 * lib/prelink-support.exp (build_executable_own_libs): Error if
13436 the target isn't native.
13438 2014-09-30 Yao Qi <yao@codesourcery.com>
13440 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13443 2014-09-22 Pedro Alves <palves@redhat.com>
13445 * gdb.threads/break-while-running.exp: New file.
13446 * gdb.threads/break-while-running.c: New file.
13448 2014-09-19 Yao Qi <yao@codesourcery.com>
13450 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13451 Invoke test. Restart GDB with --readnow and invoke test again.
13453 2014-09-19 Yao Qi <yao@codesourcery.com>
13455 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13456 proc set_breakpoint_on_gcd_function. Invoke
13457 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13458 invoke set_breakpoint_on_gcd_function again.
13460 2014-09-18 Doug Evans <dje@google.com>
13462 * gdb.dwarf2/symtab-producer.exp: New file.
13464 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13466 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13467 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13468 * gdb.base/global-var-nested-by-dso.c: Likewise.
13469 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13471 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13472 Pedro Alves <palves@redhat.com>
13474 * gdb.base/watch-bitfields.exp: Pass string other than test file
13475 name to prepare_for_testing.
13476 (watch): New procedure.
13477 (expect_watchpoint): Use with_test_prefix.
13478 (top level): Factor out tests to ...
13479 (test_watch_location, test_regular_watch): ... these new
13480 procedures, and use with_test_prefix and gdb_continue_to_end.
13482 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13484 PR breakpoints/12526
13485 * gdb.base/watch-bitfields.exp: New file.
13486 * gdb.base/watch-bitfields.c: New file.
13488 2014-09-16 Pedro Alves <palves@redhat.com>
13490 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13491 software and hardware addresses, not software address against
13494 2014-09-16 Pedro Alves <palves@redhat.com>
13496 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13497 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13499 2014-09-16 Pedro Alves <palves@redhat.com>
13501 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13503 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13504 "*-*-vxworks*" throughout.
13505 * gdb.base/break.exp: Likewise.
13506 * gdb.base/default.exp: Likewise.
13507 * gdb.base/scope.exp: Likewise.
13508 * gdb.base/sepdebug.exp: Likewise.
13509 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13511 * gdb.base/run.c: Likewise.
13512 * gdb.base/sepdebug.c: Likewise.
13513 * gdb.hp/gdb.aCC/run.c: Likewise.
13514 * gdb.reverse/until-reverse.c: Likewise.
13515 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13517 2014-09-16 Yao Qi <yao@codesourcery.com>
13519 * boards/local-remote-host-native.exp: New file.
13521 2014-09-14 Doug Evans <xdje42@gmail.com>
13523 * gdb.threads/queue-signal.c (thread_count): New variable.
13524 (thread_count_mutex, thread_count_condvar): New variables.
13525 (incr_thread_count, wait_all_threads_running): New functions.
13526 (main): Wait for all threads to be in their thread functions.
13528 2014-09-13 Doug Evans <xdje42@gmail.com>
13530 * gdb.threads/queue-signal.c: New file.
13531 * gdb.threads/queue-signal.exp: New file.
13533 2014-09-13 Doug Evans <xdje42@gmail.com>
13535 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13536 be consistent with what default_gdb_init uses.
13537 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13538 the plain text of the prompt. Add some logging printfs.
13539 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13541 2014-09-12 Pedro Alves <palves@redhat.com>
13543 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13544 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13545 * gdb.arch/i386-size-overlap.exp: Likewise.
13546 * gdb.arch/i386-size.exp: Likewise.
13547 * gdb.arch/i386-unwind.exp: Likewise.
13548 * gdb.base/a2-run.exp: Likewise.
13549 * gdb.base/break.exp: Likewise.
13550 * gdb.base/charset.exp: Likewise.
13551 * gdb.base/chng-syms.exp: Likewise.
13552 * gdb.base/commands.exp: Likewise.
13553 * gdb.base/dbx.exp: Likewise.
13554 * gdb.base/find.exp: Likewise.
13555 * gdb.base/funcargs.exp: Likewise.
13556 * gdb.base/jit-simple.exp: Likewise.
13557 * gdb.base/reread.exp: Likewise.
13558 * gdb.base/sepdebug.exp: Likewise.
13559 * gdb.base/step-bt.exp: Likewise.
13560 * gdb.cp/mb-inline.exp: Likewise.
13561 * gdb.cp/mb-templates.exp: Likewise.
13562 * gdb.objc/basicclass.exp: Likewise.
13563 * gdb.threads/killed.exp: Likewise.
13565 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13568 * gdb.arch/powerpc-stackless.S: New file.
13569 * gdb.arch/powerpc-stackless.exp: New file.
13571 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13573 * gdb.base/attach.c: Include unistd.h.
13574 (main): Call alarm. Add label postloop.
13575 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13576 gdb_breakpoint, gdb_continue_to_breakpoint.
13577 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13579 2014-09-11 Pedro Alves <palves@redhat.com>
13582 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13583 * gdb.base/attach.exp (test_command_line_attach_run): New
13585 (top level): Call it.
13587 2014-09-11 Pedro Alves <palves@redhat.com>
13589 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13590 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13591 (do_command_attach_tests): Use spawn_wait_for_attach.
13592 * gdb.base/solib-overlap.exp: Likewise.
13593 * gdb.multi/multi-attach.exp: Likewise.
13594 * gdb.python/py-prompt.exp: Likewise.
13595 * gdb.python/py-sync-interp.exp: Likewise.
13596 * gdb.server/ext-attach.exp: Likewise.
13598 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13600 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13601 command in testcase. Simplify testcase.
13603 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13605 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13607 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13609 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13611 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13613 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13615 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13617 * gdb.dwarf2/dynarr-ptr.c: New file.
13618 * gdb.dwarf2/dynarr-ptr.exp: New file.
13620 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13622 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13623 of 30 rather than hardcoding 120 for a slow test case. Take the
13624 `gdb,timeout' target setting into account for this calculation.
13625 Don't extend the timeout for the test cases that don't need it.
13627 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13629 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13630 a factor of 2 for a slow test case. Take the `gdb,timeout'
13631 target setting into account for this calculation.
13632 * gdb.reverse/until-precsave.exp: Increase the timeout by
13633 a factor of 15 and 3 respectively rather than adding 120
13634 for a pair of slow test cases. Take the `gdb,timeout'
13635 target setting into account for this calculation.
13637 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13639 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13640 timeout, don't pass one down to gdb_expect.
13641 (gdb_expect): Rework timeout selection.
13643 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13645 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13646 exception on timeout.
13647 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13648 (gdbserver_start_extended): Catch any `gdbserver_start' error
13650 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13651 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13652 `gdbserver_gdb_load' error exceptions.
13654 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13656 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13657 120 on waiting for the TCP socket to open.
13659 2014-09-09 Doug Evans <xdje42@gmail.com>
13661 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13662 _caller_matches, _any_caller_is, _any_caller_matches.
13664 2014-09-09 Doug Evans <xdje42@gmail.com>
13666 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13668 2014-09-09 Yao Qi <yao@codesourcery.com>
13670 * gdb.mi/mi-var-display.exp: Set print symbol off.
13672 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13675 * gdb.base/commands.exp: Add tests to verify user-defined
13676 commands with empty bodies.
13677 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13678 python commands in `show user command`.
13679 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13680 scheme commands in `show user command`.
13682 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13685 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13686 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13687 * gdb.python/py-framefilter-invalidarg.exp: New file.
13688 * gdb.python/py-framefilter-invalidarg.py: New file.
13690 2014-09-06 Doug Evans <xdje42@gmail.com>
13693 * gdb.python/py-caller-is.c: New file.
13694 * gdb.python/py-caller-is.exp: New file.
13696 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13699 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13700 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13702 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13705 * gdb.fortran/print-formatted.exp: New file.
13706 * gdb.fortran/print-formatted.f90: Likewise.
13708 2014-09-03 Sasha Smundak <asmundak@google.com>
13710 * gdb.python/py-frame.exp: Test Frame.read_register.
13712 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13715 * gdb.python/py-completion.exp: New file.
13716 * gdb.python/py-completion.py: Likewise.
13718 2014-08-28 Doug Evans <dje@google.com>
13720 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13721 eax,etc. are live with values set by gdb and thus the compiler can't
13723 * gdb.arch/i386-pseudo.c (main): Ditto.
13725 2014-08-27 Doug Evans <dje@google.com>
13727 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13729 2014-08-25 Doug Evans <dje@google.com>
13731 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13734 2014-08-25 Doug Evans <dje@google.com>
13736 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13738 2014-08-24 Yao Qi <yao@codesourcery.com>
13740 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13742 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13744 2014-08-22 Doug Evans <dje@google.com>
13747 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13748 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13749 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13751 2014-08-22 Yao Qi <yao@codesourcery.com>
13753 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13754 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13755 * gdb.python/python.exp: Likewise. Use .py file on the host
13756 instead of the build.
13758 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13760 * gdb.threads/gcore-stale-thread.c: New file.
13761 * gdb.threads/gcore-stale-thread.exp: New file.
13763 2014-08-21 Pedro Alves <palves@redhat.com>
13765 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13766 * gdb.base/gcore-relro-pie.exp: Likewise.
13767 * gdb.base/gcore-relro.exp: Likewise.
13768 * gdb.base/gcore.exp: Likewise.
13769 * gdb.base/print-symbol-loading.exp: Likewise.
13770 * gdb.threads/gcore-thread.exp: Likewise.
13771 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13773 2014-08-20 Pedro Alves <palves@redhat.com>
13774 Jan Kratochvil <jan.kratochvil@redhat.com>
13776 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13778 (EXPECT): Handle READ1 being set.
13779 (all): Depend on EXTRA_RULES.
13780 (check-read1, expect-read1, read1.so, read1): New rules.
13781 * README (Testsuite Parameters): Document the READ1 make variable.
13782 (Race detection): New section.
13783 * configure: Regenerate.
13784 * configure.ac: If build==host==target, and running under a
13785 GNU/glibc system, add read1 to the extra Makefile rules.
13786 (EXTRA_RULES): AC_SUBST it.
13787 * lib/read1.c: New file.
13789 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13791 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13792 the handling of variables declared as a typedef to an array
13793 which a DW_AT_data_location attribute.
13795 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13796 Pedro Alves <palves@redhat.com>
13800 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13803 2014-08-19 Pedro Alves <palves@redhat.com>
13805 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13807 2014-08-19 Yao Qi <yao@codesourcery.com>
13809 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13812 2014-08-18 David Blaikie <dblaikie@gmail.com>
13814 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13816 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13818 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13819 attribute in array range.
13821 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13823 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13825 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13828 * gdb.cp/pr17132.cc: New file.
13829 * gdb.cp/pr17132.exp: New file.
13831 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13833 * gdb.python/py-xmethods.py (A_getarrayind)
13834 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13835 Use 'print' with function call syntax.
13836 (E_method_matcher.match): Fix tab vs space indentation mixup.
13838 2014-08-15 Yao Qi <yao@codesourcery.com>
13840 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13843 2014-08-15 Yao Qi <yao@codesourcery.com>
13845 * gdb.cp/casts.exp: Set print symbol off.
13846 * gdb.cp/class2.exp: Likewise.
13847 * gdb.cp/overload.exp: Likewise.
13848 * gdb.cp/templates.exp: Likewise.
13850 2014-08-11 Doug Evans <dje@google.com>
13852 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13853 (test_load_shlib): Update.
13855 2014-08-09 Yao Qi <yao@codesourcery.com>
13857 * gdb.base/display.exp: Invoke is_address_zero_readable.
13858 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13859 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13860 * gdb.base/hbreak-unmapped.exp: Return if
13861 is_address_zero_readable returns true.
13862 * gdb.base/signest.exp: Likewise.
13863 * gdb.base/signull.exp: Likewise.
13864 * gdb.base/sigbpt.exp: Likewise.
13865 * gdb.guile/scm-disasm.exp: Do the test if
13866 is_address_zero_readable returns false.
13867 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13868 * gdb.python/py-arch.exp: Likewise.
13869 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13870 * lib/gdb.exp (is_address_zero_readable): New proc.
13872 2014-08-09 Yao Qi <yao@codesourcery.com>
13875 * gdb.mi/mi-var-display.exp: Make test messages unique.
13877 2014-08-04 Tom Tromey <tromey@redhat.com>
13879 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13882 2014-08-04 Tom Tromey <tromey@redhat.com>
13884 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13887 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13889 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13890 inner_vla_struct_object_size.
13891 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13894 2014-07-30 Pedro Alves <palves@redhat.com>
13896 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13899 2014-07-29 Yao Qi <yao@codesourcery.com>
13902 * gdb.base/until-nodebug.exp: New.
13904 2014-07-28 Doug Evans <xdje42@gmail.com>
13907 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13908 previously existing parameter, and previously ambiguously spelled
13911 2014-07-28 Will Newton <will.newton@linaro.org>
13913 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13915 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13916 Doug Evans <xdje42@gmail.com>
13919 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13921 2014-07-25 Pedro Alves <palves@redhat.com>
13923 * gdb.threads/signal-command-handle-nopass.c: New file.
13924 * gdb.threads/signal-command-handle-nopass.exp: New file.
13925 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13926 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13927 * gdb.threads/signal-delivered-right-thread.c: New file.
13928 * gdb.threads/signal-delivered-right-thread.exp: New file.
13930 2014-07-25 Pedro Alves <palves@redhat.com>
13932 * gdb.base/double-prompt-target-event-error.exp
13933 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13935 (cancel_pagination_in_target_event): Rework double prompt
13937 * gdb.base/paginate-after-ctrl-c-running.exp
13938 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13940 * gdb.base/paginate-bg-execution.exp
13941 (test_bg_execution_pagination_return)
13942 (test_bg_execution_pagination_cancel): Remove '-notransfer
13944 * gdb.base/paginate-execution-startup.exp
13945 (test_fg_execution_pagination_return)
13946 (test_fg_execution_pagination_cancel): Remove '-notransfer
13948 * gdb.base/paginate-inferior-exit.exp
13949 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13951 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13952 * lib/gdb.exp (pagination_prompt): Run text through
13954 (gdb_test_multiple): Match $pagination_prompt instead of
13956 (string_to_regexp): Move to lib/gdb-utils.exp.
13958 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13960 * gdb.arch/amd64-entry-value-paramref.S: New file.
13961 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13962 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13963 * gdb.arch/amd64-optimout-repeat.S: New file.
13964 * gdb.arch/amd64-optimout-repeat.c: New file.
13965 * gdb.arch/amd64-optimout-repeat.exp: New file.
13967 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13970 * gdb.base/statistics.exp: New file.
13972 2014-07-17 Doug Evans <dje@google.com>
13975 * gdb.base/maint.exp: Update testing of per-command stats.
13977 2014-07-16 Pedro Alves <palves@redhat.com>
13979 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13980 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13981 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13982 (tfile_write_buf): New functions.
13983 (add_memory_block): Rewrite using the above.
13984 (adjust_function_address): New function.
13985 (FUNCTION_ADDRESS): New macro.
13986 (write_basic_trace_file): Remove short_x local, and use
13987 tfile_write_16. Change type of func_addr local to unsigned long
13988 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13989 here. Cast argument of add_memory_block to char pointer.
13990 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13991 (main): Remove parameters.
13992 * gdb.trace/tfile.exp: Remove nowarnings.
13994 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13996 * gdb.base/debug-expr.exp: Test string evaluation with
13997 "debug expression" on.
13999 2014-07-15 Pedro Alves <palves@redhat.com>
14001 * gdb.base/reread.exp: Use clean_restart.
14003 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14005 * gdb.arch/avr-flash-qualifer.c: New.
14006 * gdb.arch/avr-flash-qualifer.exp: New.
14008 2014-07-14 Pedro Alves <palves@redhat.com>
14010 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14011 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14013 2014-07-14 Pedro Alves <palves@redhat.com>
14015 * gdb.base/double-prompt-target-event-error.c: New file.
14016 * gdb.base/double-prompt-target-event-error.exp: New file.
14018 2014-07-14 Pedro Alves <palves@redhat.com>
14021 * gdb.base/paginate-inferior-exit.c: New file.
14022 * gdb.base/paginate-inferior-exit.exp: New file.
14024 2014-07-14 Pedro Alves <palves@redhat.com>
14027 * gdb.base/paginate-bg-execution.c: New file.
14028 * gdb.base/paginate-bg-execution.exp: New file.
14030 2014-07-14 Pedro Alves <palves@redhat.com>
14033 * gdb.base/paginate-execution-startup.c: New file.
14034 * gdb.base/paginate-execution-startup.exp: New file.
14035 * lib/gdb.exp (pagination_prompt): New global.
14036 (default_gdb_spawn): New procedure, factored out from
14038 (default_gdb_start): Adjust to call default_gdb_spawn.
14039 (gdb_spawn): New procedure.
14041 2014-07-14 Pedro Alves <palves@redhat.com>
14043 * lib/gdb.exp (gdb_assert): New procedure.
14044 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14046 2014-07-14 Pedro Alves <palves@redhat.com>
14048 * gdb.base/execution-termios.c: New file.
14049 * gdb.base/execution-termios.exp: New file.
14051 2014-07-14 Tom Tromey <tromey@redhat.com>
14053 * gdb.cp/vla-cxx.cc: New file.
14054 * gdb.cp/vla-cxx.exp: New file.
14056 2014-07-14 Tom Tromey <tromey@redhat.com>
14058 * gdb.reverse/rerun-prec.c: New file.
14059 * gdb.reverse/rerun-prec.exp: New file.
14061 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14062 Maciej W. Rozycki <macro@codesourcery.com>
14064 * lib/gdb-utils.exp: New file.
14065 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14066 inline `gdb_init_command' processing.
14067 (gdb_start_cmd): Likewise.
14068 * lib/mi-support.exp (mi_run_cmd): Likewise.
14069 * README: Document `gdb_init_command' and `gdb_init_commands'.
14071 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14073 Fix false FAIL running under a very long directory name.
14074 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14075 and "set print elements 10000". Twice.
14077 2014-07-11 Yao Qi <yao@codesourcery.com>
14079 * gdb.base/exprs.exp: "set print symbol off".
14081 2014-07-11 Pedro Alves <palves@redhat.com>
14083 * gdb.threads/kill.c: New file.
14084 * gdb.threads/kill.exp: New file.
14086 2014-07-10 Yao Qi <yao@codesourcery.com>
14088 * gdb.trace/tfile.c (write_basic_trace_file)
14089 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14090 address written to trace file.
14092 2014-07-09 Pedro Alves <palves@redhat.com>
14094 * gdb.base/attach-wait-input.exp: New file.
14095 * gdb.base/attach-wait-input.c: New file.
14097 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14099 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14100 setting up test structures.
14101 (main): Call new test function.
14102 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14103 test function, continue into test function and walk test
14106 2014-07-02 Yao Qi <yao@codesourcery.com>
14108 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14109 'bar_start' at the beginning of functions 'foo' and 'bar'
14111 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14112 instead of 'foo' and 'bar'.
14114 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14116 * gdb.btrace/segv.exp: New.
14117 * gdb.btrace/segv.c: New.
14119 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14121 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14124 2014-06-30 Mark Wielaard <mjw@redhat.com>
14126 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14127 vulture, vilify, villar): New volatile array constants.
14128 (vindictive, vegetation): New const volatile array constants.
14129 * gdb.base/volatile.exp: Test volatile and const volatile array
14132 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14134 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14135 target lacks support for awatch, rwatch, or hbreak.
14137 2014-06-27 Yao Qi <yao@codesourcery.com>
14139 * gdb.multi/dummy-frame-restore.exp: New.
14140 * gdb.multi/dummy-frame-restore.c: New.
14142 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14144 * gdb.btrace/gcore.exp: New.
14146 2014-06-23 Pedro Alves <palves@redhat.com>
14148 * gdb.base/watchpoint-reuse-slot.c: New file.
14149 * gdb.base/watchpoint-reuse-slot.exp: New file.
14151 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14153 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14154 progspace's filename in 'info', 'enable' and 'disable' command
14157 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14159 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14160 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14161 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14163 2014-06-20 Gary Benson <gbenson@redhat.com>
14165 * gdb.arch/i386-avx.exp: Fix include file location.
14166 * gdb.arch/i386-sse.exp: Likewise.
14168 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14170 * gdb.dlang/expression.exp: New file.
14172 2014-06-19 Pedro Alves <palves@redhat.com>
14174 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14176 (top level): ... here. Iterate running tests under different
14177 scheduler-locking settings.
14179 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14181 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14182 to DW_FORM_addr and use non-zero addresses.
14184 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14187 * gdb.python/py-xmethods.cc: Add global function call counters and
14188 increment them in their respective functions. Remove "cout"
14190 * gdb.python/py-xmethods.exp: Make tests check the global function
14191 call counters instead of depending on inferior IO.
14193 2014-06-18 Don Breazeal <donb@codesourcery.com>
14195 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14197 (explicit_fork_parent_follow): Deleted procedure.
14198 (explicit_fork_child_follow): Deleted procedure.
14199 (test_follow_fork): New procedure.
14200 (do_fork_tests): Replace calls to deleted procedures with
14201 calls to test_follow_fork and reset GDB for subsequent
14204 2014-06-17 Yao Qi <yao@codesourcery.com>
14206 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14209 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14211 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14212 Initialize ptr and S explicitly.
14213 (skip_type_update_when_not_use_rtti_test): Likewise.
14215 2014-06-16 Keith Seitz <keiths@redhat.com>
14218 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14219 the inferior is started.
14221 2014-06-16 Pedro Alves <palves@redhat.com>
14223 * gdb.base/break-main-file-remove-fail.c: New file.
14224 * gdb.base/break-main-file-remove-fail.exp: New file.
14225 * gdb.base/break-unload-file.exp: Use build_executable instead of
14226 prepare_for_testing.
14227 (test_break): New parameter "initial_load". Handle it.
14228 (top level): Add initial_load cmdline/file axis.
14230 2014-06-12 Tom Tromey <tromey@redhat.com>
14232 * gdb.base/completion.exp: Don't use directory name in test.
14234 2014-06-09 Gary Benson <gbenson@redhat.com>
14236 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14237 separate the always-available ANSI-standard signals from the
14238 signals that require checking.
14240 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14244 2014-06-07 Keith Seitz <keiths@redhat.com>
14248 * gdb.cp/var-tag.cc: New file.
14249 * gdb.cp/var-tag.exp: New file.
14250 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14251 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14252 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14253 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14255 2014-06-06 Doug Evans <xdje42@gmail.com>
14257 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14259 2014-06-06 Pedro Alves <palves@redhat.com>
14261 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14262 in target debug output instead of looking at RSP packets,
14263 disabling the test on any target that uses hardware stepping.
14266 2014-06-06 Pedro Alves <palves@redhat.com>
14268 * gdb.base/break-unload-file.exp: Fix typo.
14270 2014-06-06 Yao Qi <yao@codesourcery.com>
14272 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14273 from "jit_function" to "^jit_function".
14275 2014-06-06 Yao Qi <yao@codesourcery.com>
14277 * gdb.base/async.c (foo): Add one statement.
14278 * gdb.base/async.exp: Get the next instruction address and
14279 match the output of "nexti" by instruction address. Match
14280 the hex address in the output of "finish".
14282 2014-06-06 Gary Benson <gbenson@redhat.com>
14284 * gdb.base/call-signals.c: Remove preprocessor conditionals
14285 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14286 SIGSEGV and SIGTERM.
14287 * gdb.base/sigall.c: Likewise.
14288 * gdb.base/unwindonsignal.c: Likewise.
14289 * gdb.reverse/sigall-reverse.c: Likewise.
14291 2014-06-06 Yao Qi <yao@codesourcery.com>
14293 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14294 readable, skip the test.
14296 2014-06-06 Yao Qi <yao@codesourcery.com>
14298 * gdb.threads/staticthreads.c (thread_function): Move the line
14299 setting breakpoint on forward.
14300 * gdb.threads/staticthreads.exp: Update comments.
14302 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14304 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14305 "history-append! type error".
14307 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14309 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14310 erroneous dprintf expected input.
14312 2014-06-04 Doug Evans <xdje42@gmail.com>
14314 * gdb.guile/scm-generics.exp: Delete.
14316 2014-06-04 Doug Evans <xdje42@gmail.com>
14318 * gdb.guile/scm-breakpoint.exp: Update.
14319 Add tests for breakpoint registration.
14321 2014-06-04 Tom Tromey <tromey@redhat.com>
14323 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14325 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14326 inner_vla_struct, vla_union types. Initialize objects of those
14327 types and compute their sizes.
14329 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14330 Hui Zhu <hui@codesourcery.com>
14332 * gdb.base/fileio.exp: Add test for shell not available as well as
14334 * gdb.base/fileio.c (test_system): Check for shell twice.
14336 2014-06-04 Yao Qi <yao@codesourcery.com>
14338 * gdb.base/auto-connect-native-target.exp: Remove redundant
14339 space from the regexp pattern.
14341 2014-06-04 Yao Qi <yao@codesourcery.com>
14343 * gdb.base/default.exp: Replace "child" with "native" in
14346 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14348 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14349 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14350 * gdb.python/py-xmethods.py: Python script supporting the
14351 new testcase and tests.
14353 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14354 Pedro Alves <palves@redhat.com>
14356 PR breakpoints/17000
14357 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14358 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14360 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14362 * gdb.base/subst.exp: Add tests to verify partial path matching
14365 2014-06-03 Pedro Alves <palves@redhat.com>
14367 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14368 target that doesn't use software single-stepping.
14370 2014-06-03 Pedro Alves <palves@redhat.com>
14372 PR breakpoints/17000
14373 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14374 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14376 2014-06-02 Doug Evans <xdje42@gmail.com>
14378 * gdb.guile/scm-parameter.exp: New file.
14380 2014-06-02 Doug Evans <xdje42@gmail.com>
14382 * gdb.guile/scm-cmd.c: New file.
14383 * gdb.guile/scm-cmd.exp: New file.
14385 2014-06-02 Doug Evans <xdje42@gmail.com>
14387 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14388 pretty-printer lookup.
14389 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14390 (make-pp_s-printer): Call it.
14391 (make-pretty-printer-from-dict): New function.
14392 (lookup-pretty-printer-maker-from-dict): New function.
14393 (*pretty-printer*): Simplify.
14394 (make-objfile-pp_s-printer): New function.
14395 (install-objfile-pretty-printers!): New function.
14396 (make-progspace-pp_s-printer): New function.
14397 (install-progspace-pretty-printers!): New function.
14398 * gdb.guile/scm-progspace.c: New file.
14399 * gdb.guile/scm-progspace.exp: New file.
14401 2014-06-02 Pedro Alves <palves@redhat.com>
14403 * gdb.base/dprintf-bp-same-addr.c: New file.
14404 * gdb.base/dprintf-bp-same-addr.exp: New file.
14406 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14408 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14409 * gdb.arch/powerpc-power.s: Likewise.
14411 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14413 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14415 2014-06-01 Yao Qi <yao@codesourcery.com>
14417 * gdb.base/watchpoint.exp (test_watch_location): Check null
14418 pointer can be dereferenced. If not, do the test, otherwise
14421 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14423 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14425 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14427 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14429 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14430 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14431 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14432 * gdb.arch/amd64-invalid-stack-top.c: New file.
14433 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14435 2014-05-30 Pedro Alves <palves@redhat.com>
14437 PR breakpoints/17000
14438 * gdb.base/sss-bp-on-user-bp.c: New file.
14439 * gdb.base/sss-bp-on-user-bp.exp: New file.
14441 2014-05-30 David Blaikie <dblaikie@gmail.com>
14443 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14444 gnu_inline semantics via attribute.
14445 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14446 source explicitly specifies the required semantics.
14448 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14450 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14452 2014-05-29 Pedro Alves <palves@redhat.com>
14453 Tom Tromey <tromey@redhat.com>
14455 * gdb.base/async-shell.exp: Don't enable target-async.
14456 * gdb.base/async.exp
14457 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14459 (top level): Don't test with "target-async".
14460 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14461 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14462 * gdb.base/inferior-died.exp: Don't enable target-async.
14463 * gdb.base/interrupt-noterm.exp: Likewise.
14464 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14465 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14466 * gdb.mi/mi-nonstop.exp: Likewise.
14467 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14468 * gdb.mi/mi-nsintrall.exp: Likewise.
14469 * gdb.mi/mi-nsmoribund.exp: Likewise.
14470 * gdb.mi/mi-nsthrexec.exp: Likewise.
14471 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14472 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14473 * gdb.python/py-evsignal.exp: Don't enable target-async.
14474 * gdb.python/py-evthreads.exp: Likewise.
14475 * gdb.python/py-prompt.exp: Likewise.
14476 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14477 * gdb.server/solib-list.exp: Don't enable target-async.
14478 * gdb.threads/thread-specific-bp.exp: Likewise.
14479 * lib/mi-support.exp: Adjust to use mi-async.
14481 2014-05-29 Pedro Alves <palves@redhat.com>
14484 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14485 reason, even in sync mode.
14487 2014-05-29 Pedro Alves <palves@redhat.com>
14488 Hui Zhu <hui@codesourcery.com>
14491 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14492 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14493 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14494 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14496 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14498 * config/monitor.exp (gdb_target_monitor): Replace use of
14499 "set remotebaud" by "set serial baud".
14501 2014-05-26 Andy Wingo <wingo@igalia.com>
14503 * gdb.guile/scm-breakpoint.exp:
14504 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14505 properties instead of gdb-object-properties.
14507 2014-05-26 Yao Qi <yao@codesourcery.com>
14509 * gdb.server/no-thread-db.exp: Specify source file name
14510 explicitly when setting a breakpoint.
14512 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14514 * gdb.btrace/vdso.c: New.
14515 * gdb.btrace/vdso.exp: New.
14517 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14519 * gdb.base/gcore.exp (capture_command_output): Move ...
14520 * lib/gdb.exp (capture_command_output): ... here.
14522 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14524 * gdb.btrace/data.exp: Test memory access during btrace replay.
14526 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14528 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14530 2014-05-21 Pedro Alves <palves@redhat.com>
14533 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14534 (top level): Test that output related to execution commands is
14535 sent to the console with CLI commands, but not with MI commands.
14536 Test that breakpoint events are always mirrored to the console.
14537 Also expect the new source line to be output after a "next" in
14538 async mode too. Make it a pass/fail test.
14539 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14541 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14543 2014-05-21 Pedro Alves <palves@redhat.com>
14545 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14546 Use them to test variations of "list" after reaching a breakpoint.
14547 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14548 Test "list" with listsize 10 after reaching a breakpoint.
14549 * gdb.python/python.exp (decode_line current location line
14550 number): Adjust expected line number.
14552 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14554 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14555 behavior for $args, pass it directly to "run".
14557 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14559 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14562 2014-05-21 Pedro Alves <palves@redhat.com>
14564 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14565 auto-connect-native-target off".
14566 * gdb.base/auto-connect-native-target.c: New file.
14567 * gdb.base/auto-connect-native-target.exp: New file.
14569 2014-05-21 Pedro Alves <palves@redhat.com>
14571 * gdb.base/default.exp: Test "target native" instead of "target
14574 2014-05-21 Mark Wielaard <mjw@redhat.com>
14576 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14578 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14580 Fix TLS access for -static -pthread.
14581 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14582 <HAVE_TLS> (thread_function, main): Initialize it.
14583 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14585 <$have_tls != "">: Check TLSVAR.
14587 2014-05-21 Pedro Alves <palves@redhat.com>
14589 * gdb.base/dcache-line-read-error.c: New.
14590 * gdb.base/dcache-line-read-error.exp: New.
14592 2014-05-20 Pedro Alves <palves@redhat.com>
14594 * gdb.base/compare-sections.c: New file.
14595 * gdb.base/compare-sections.exp: New file.
14597 2014-05-20 Pedro Alves <palves@redhat.com>
14599 * gdb.base/break-idempotent.c: New file.
14600 * gdb.base/break-idempotent.exp: New file.
14602 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14604 * gdb.btrace/nohist.exp: New.
14606 2014-05-20 Yao Qi <yao@codesourcery.com>
14608 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14609 gdb.reverse directory and gdb_reverse_timeout exists in board
14611 * README: Document gdb_reverse_timeout.
14613 2014-05-20 Yao Qi <yao@codesourcery.com>
14615 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14616 'test_file_name'. Treat args as a string instead of a list.
14617 (gdb_init): Rename argument 'args' by 'test_file_name'.
14619 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14621 * gdb.arch/powerpc-power.exp: New file.
14622 * gdb.arch/powerpc-power.s: New file.
14624 2014-05-16 Doug Evans <dje@google.com>
14626 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14627 * gdb.base/completion.exp: Check that all expected files exist
14628 before doing file completion.
14630 2014-05-16 Doug Evans <dje@google.com>
14632 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14634 (do_syscall_tests_without_xml): Update.
14636 2014-05-16 Pedro Alves <palves@redhat.com>
14638 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14639 instead of "unknown output after running".
14641 2014-05-16 Yao Qi <yao@codesourcery.com>
14643 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14644 file1.txt from host at the end.
14645 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14647 2014-05-15 Doug Evans <dje@google.com>
14649 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14650 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14651 loading file. Add test for TU lookup.
14653 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14655 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14656 calling "-exec-arguments" or "set args" before running the
14659 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14661 * lib/mi-support.exp (mi_expect_stop): Expect message for
14662 inferiors that exit with non-zero exit code.
14664 2014-05-14 Yao Qi <yao@codesourcery.com>
14666 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14667 match absolute path on remote host.
14668 (test_file_list_exec_source_files): Remove "/" from the
14671 2014-05-14 Yao Qi <yao@codesourcery.com>
14673 * boards/local-remote-host-notty.exp (${board}_file): New
14676 2014-05-07 Kyle McMartin <kyle@redhat.com>
14678 Pushed by Joel Brobecker <brobecker@adacore.com>.
14679 * gdb.arch/aarch64-atomic-inst.c: New file.
14680 * gdb.arch/aarch64-atomic-inst.exp: New file.
14682 2014-05-07 Yao Qi <yao@codesourcery.com>
14684 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14685 in current context" too.
14687 2014-05-05 Keith Seitz <keiths@redhat.com>
14689 * gdb.linespec/ls-dollar.exp: Add test for linespec
14690 file:convenience_variable.
14692 2014-05-05 Yao Qi <yao@codesourcery.com>
14694 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14695 traceframes into tfile and ctf trace files. Read data from
14696 trace file and test collected data.
14697 (gdb_collect_locals_test): Likewise.
14698 (gdb_unavailable_registers_test): Likewise.
14699 (gdb_unavailable_floats): Likewise.
14700 (gdb_collect_globals_test): Likewise.
14701 (top-level): Append "ctf" to trace_file_targets if GDB
14704 2014-05-05 Yao Qi <yao@codesourcery.com>
14706 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14708 (gdb_collect_args_test_1): ... it. New proc.
14709 (gdb_collect_locals_test): Move some code to ...
14710 (gdb_collect_locals_test_1): ... it. New proc.
14711 (gdb_unavailable_registers_test): Move some code to ...
14712 (gdb_unavailable_registers_test_1): ... it. New proc.
14713 (gdb_unavailable_floats): Move some code to ...
14714 (gdb_unavailable_floats_1): ... it. New proc.
14716 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14718 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14719 probes to test for bitness recognition.
14720 * gdb.arch/amd64-stap-optional-prefix.exp
14721 (test_probe_value_without_reg): New procedure.
14722 Add code to test for different kinds of bitness.
14724 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14726 PR breakpoints/16889
14727 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14728 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14730 2014-05-01 Pedro Alves <palves@redhat.com>
14732 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14733 gdb_file_cmd if no file is specified.
14734 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14735 last_loaded_file to set the remote exec-file.
14737 2014-05-01 Pedro Alves <palves@redhat.com>
14739 * boards/local-remote-host.exp: New file.
14741 2014-05-01 Pedro Alves <palves@redhat.com>
14743 * boards/local-remote-host.exp: Rename to ...
14744 * boards/local-remote-host-notty.exp: ... this.
14746 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14748 * gdb.ada/dyn_arrayidx: New testcase.
14750 2014-04-26 Yao Qi <yao@codesourcery.com>
14752 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14753 and compute the length of function main. Save it in
14755 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14756 (top-level): Use gdb_compile to compile objects into
14757 executable and restart GDB. Remove invocation to
14758 prepare_for_testing.
14760 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14761 Pedro Alves <palves@redhat.com>
14764 * gdb.multi/multi-attach.c: New file.
14765 * gdb.multi/multi-attach.exp: New file.
14767 2014-04-25 Pedro Alves <palves@redhat.com>
14769 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14771 (top level): Test that "set remote conditional-breakpoints-packet
14772 off" works as intended.
14773 * gdb.base/dprintf.exp: Test that "set remote
14774 breakpoint-commands-packet off" works as intended.
14775 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14777 (top level): Call it.
14778 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14779 remote fast-tracepoints-packet off" works as intended.
14780 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14781 * lib/gdb.exp (gdb_is_target_remote): ... here.
14783 2014-04-24 David Blaikie <dblaikie@gmail.com>
14785 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14786 ensure clang would not discard them.
14787 * gdb.base/gdbvars.c: Ditto.
14788 * gdb.base/memattr.c: Ditto.
14789 * gdb.base/whatis.c: Ditto.
14790 * gdb.python/py-prettyprint.c: Ditto.
14791 * gdb.trace/actions.c: Ditto.
14792 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14793 ensure clang would not discard it.
14795 2014-04-24 David Blaikie <dblaikie@gmail.com>
14797 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14798 clang to emit the full definition of type required by the test
14799 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14801 2014-04-24 David Blaikie <dblaikie@gmail.com>
14803 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14804 coax Clang into emitting the definition of the type.
14805 * gdb.cp/pr10728-x.h (y): Ditto.
14806 * gdb.cp/pr10728-y.cc (y): Ditto.
14808 2014-04-24 David Blaikie <dblaikie@gmail.com>
14810 * gdb.base/label.exp: XFAIL label related tests under Clang.
14811 * gdb.cp/cplabel.exp: Ditto.
14812 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14813 under Clang those using labels.
14815 2014-04-25 Yao Qi <yao@codesourcery.com>
14817 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14819 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14820 partial_label and double_label.
14822 2014-04-24 David Blaikie <dblaikie@gmail.com>
14824 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14826 2014-04-24 David Blaikie <dblaikie@gmail.com>
14828 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14829 of the function to work across GCC and Clang.
14830 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14831 pointer types (const void ** const V void **).
14833 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14834 Walfred Tedeschi <walfred.tedeschi@intel.com>
14836 * Makefile.in (EXECUTABLES): Added i386-avx512.
14837 * gdb.arch/i386-avx512.c: New file.
14838 * gdb.arch/i386-avx512.exp: Likewise.
14840 2014-04-23 Keith Seitz <keiths@redhat.com>
14842 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14843 (mi_make_breakpoint_table): New procedure.
14844 (mi_create_breakpoint): Use mi_make_breakpoint
14845 and return the result.
14846 (mi_make_breakpoint): New procedure.
14847 (mi_build_kv_pairs): New procedure.
14849 * gdb.mi/mi-break.exp: Remove unused globals,
14850 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14851 All callers updated.
14852 * gdb.mi/mi-dprintf.exp: Use variable to track command
14854 Update all callers of mi_create_breakpoint and use
14855 mi_make_breakpoint_table.
14856 Remove any unused global variables.
14857 * gdb.mi/mi-nonstop.exp: Likewise.
14858 * gdb.mi/mi-nsintrall.exp: Likewise.
14859 * gdb.mi/mi-nsmoribund.exp: Likewise.
14860 * gdb.mi/mi-nsthrexec.exp: Likewise.
14861 * gdb.mi/mi-reverse.exp: Likewise.
14862 * gdb.mi/mi-simplerun.exp: Likewise.
14863 * gdb.mi/mi-stepn.exp: Likewise.
14864 * gdb.mi/mi-syn-frame.exp: Likewise.
14865 * gdb.mi/mi-until.exp: Likewise.
14866 * gdb.mi/mi-var-cp.exp: Likewise.
14867 * gdb.mi/mi-var-display.exp: Likewise.
14868 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14869 * gdb.mi/mi2-var-child.exp: Likewise.
14870 * gdb.mi/mi-vla-c99.exp: Likewise.
14871 * lib/mi-support.exp: Likewise.
14873 From Ian Lance Taylor <iant@cygnus.com>:
14874 * lib/gdb.exp (parse_args): New procedure.
14876 2014-04-23 Pedro Alves <palves@redhat.com>
14878 * gdb.base/break-unload-file.c: New file.
14879 * gdb.base/break-unload-file.exp: New file.
14880 * gdb.base/sym-file-lib.c (baz): New function.
14881 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14883 (load): Store the segment's mapped size.
14884 (unload): New function.
14885 (unload_shlib): New function.
14886 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14887 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14888 set a breakpoint at baz, and call it.
14889 * gdb.base/sym-file.exp: New tests for stale breakpoint
14892 2014-04-23 Pedro Alves <palves@redhat.com>
14894 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14895 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14896 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14897 * gdb.base/hbreak-unmapped.c: New file.
14898 * gdb.base/hbreak-unmapped.exp: New file.
14899 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14900 * lib/gdb.exp (gdb_is_target_remote): ... here.
14902 2014-04-22 Pedro Alves <palves@redhat.com>
14904 * gdb.base/consecutive-step-over.c: New file.
14905 * gdb.base/consecutive-step-over.exp: New file.
14907 2014-04-22 Pedro Alves <palves@redhat.com>
14909 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14910 instead of send_gdb/gdb_expect.
14912 2014-04-22 Yao Qi <yao@codesourcery.com>
14914 * lib/trace-support.exp (generate_tracefile): New procedure.
14915 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14917 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14918 if generate_tracefile returns 1.
14920 2014-04-18 Tom Tromey <palves@redhat.com>
14921 Pedro alves <tromey@redhat.com>
14924 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14925 with a backtrace limit.
14926 * gdb.python/py-frame-inline.exp: Test running to an inline
14927 function with a backtrace limit, and printing the newest frame.
14928 * gdb.python/py-frame-inline.c (main): Call f.
14930 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14932 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14934 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14936 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14937 Drop prefix from unsupported source file path.
14939 2014-04-17 Yao Qi <yao@codesourcery.com>
14941 * lib/gdb.exp (with_target_charset): New proc.
14942 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14943 with_target_charset.
14944 (test_print_strings): Likewise.
14945 (test_repeat_bytes): Likewise.
14946 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14949 2014-04-16 Keith Seitz <keiths@redhat.com>
14952 * gdb.dwarf2/corrupt.c: New file.
14953 * gdb.dwarf2/corrupt.exp: New file.
14955 2014-04-16 Keith Seitz <keiths@redhat.com>
14958 * gdb.cp/namelessclass.cc: New file.
14959 * gdb.cp/namelessclass.exp: New file.
14960 * gdb.cp/namelessclass.S: New file.
14962 2014-04-16 Doug Evans <dje@google.com>
14964 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14966 (gdbserver_default_get_comm_port): New function.
14967 (gdbserver_start): Check if board file provided
14968 "gdbserver,get_comm_port" and use it if so.
14969 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14970 (gdb,socketport): Set to "stdio".
14971 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14972 (stdio_gdbserver_template): Delete.
14973 (${board}_get_remote_address): Update.
14974 (${board}_build_remote_cmd): Delete.
14975 (${board}_get_comm_port): New function.
14976 (${board}_spawn): Update.
14977 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14979 (${board}_get_remote_address): Update.
14980 (${board}_get_comm_port): New function.
14982 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14984 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14985 appearing in any order.
14987 2014-04-15 Doug Evans <dje@google.com>
14989 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14990 uninitialized value of "description".
14992 2014-04-15 Keith Seitz <keiths@redhat.com>
14994 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14995 Remove unused globals.
14996 (test_running_the_program): Likewise.
14997 (test_controlled_execution): Likewise.
14998 (test_controlling_breakpoints): Likewise.
14999 (test_program_termination): Likewise.
15001 2014-04-15 Keith Seitz <keiths@redhat.com>
15003 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15005 (test_rbreak_creation_and_listing): Likewise.
15006 (test_ignore_count): Likewise.
15007 (test_error): Likewise.
15009 2014-04-15 Pedro Alves <palves@redhat.com>
15011 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15012 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15014 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15015 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15016 to sym-file-loader.c.
15017 (struct library): Forward declare.
15018 (load_shlib, lookup_function): Change prototypes.
15019 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15020 (translate_offset): Remove declarations.
15021 (get_text_addr): New declaration.
15022 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15023 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15025 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15026 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15027 here from sym-file-loader.h.
15028 (struct library): New structure.
15029 (load_shlib, lookup_function): Change prototypes and adjust to
15030 work with a struct library.
15031 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15032 (translate_offset): Make static.
15033 (get_text_addr): New function.
15034 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15036 2014-04-15 Pedro Alves <palves@redhat.com>
15038 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15040 2014-04-15 Pedro Alves <palves@redhat.com>
15042 * gdb.base/sym-file-loader.c: Include <limits.h>.
15043 (SELF_LINK): New define.
15044 (get_origin): New function.
15045 (load_shlib): Use it.
15046 * gdb.base/sym-file.exp: Don't early return if the target is
15047 remote. Use runto_main, and issue fail is that fails. Use
15049 (shlib_name): Delete.
15050 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15052 2014-04-15 Pedro Alves <palves@redhat.com>
15054 * gdb.base/sym-file.exp: Remove regex characters from test
15055 message. Don't refer to breakpoint numbers in test messages.
15057 2014-04-14 Keith Seitz <keiths@redhat.com>
15060 * gdb.cp/var-tag.cc: New file.
15061 * gdb.cp/var-tag.exp: New file.
15062 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15063 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15064 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15065 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15067 2014-04-14 Tom Tromey <tromey@redhat.com>
15069 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15070 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15072 * gdb.cp/enum-class.exp: New file.
15073 * gdb.cp/enum-class.cc: New file.
15075 2014-04-14 Tom Tromey <tromey@redhat.com>
15077 * gdb.dwarf2/enum-type.exp: New file.
15079 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15081 * gdb.mi/mi-vla-c99.exp: New file.
15082 * gdb.mi/vla.c: New file.
15084 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15086 * gdb.base/vla-datatypes.c: New file.
15087 * gdb.base/vla-datatypes.exp: New file.
15089 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15091 * gdb.base/vla-ptr.c: New file.
15092 * gdb.base/vla-ptr.exp: New file.
15094 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15096 * gdb.dwarf2/count.exp: New file.
15098 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15100 * gdb.base/vla-sideeffect.c: New file.
15101 * gdb.base/vla-sideeffect.exp: New file.
15103 2014-04-14 David Blaikie <dblaikie@gmail.com>
15105 * gdb.mi/non-stop.c: Add return value for non-void function return
15107 * gdb.threads/staticthreads.c: Ditto.
15109 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15110 Doug Evans <xdje42@gmail.com>
15112 * gdb.guile/scm-value.c: Improve test case.
15113 * gdb.guile/scm-value.exp: Add new test.
15115 2014-04-11 David Blaikie <dblaikie@gmail.com>
15117 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15118 override Clang's default.
15120 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15122 Revert the following changes (regressions):
15124 * gdb.base/vla-sideeffect.c: New file.
15125 * gdb.base/vla-sideeffect.exp: New file.
15127 * gdb.dwarf2/count.exp: New file.
15129 * gdb.base/vla-multi.c: New file.
15130 * gdb.base/vla-multi.exp: New file.
15132 * gdb.base/vla-ptr.c: New file.
15133 * gdb.base/vla-ptr.exp: New file.
15135 * gdb.base/vla-datatypes.c: New file.
15136 * gdb.base/vla-datatypes.exp: New file.
15138 * gdb.mi/mi-vla-c99.exp: New file.
15139 * gdb.mi/vla.c: New file.
15141 2014-04-11 Keith Seitz <keiths@redhat.com>
15144 * gdb.cp/cpsizeof.exp: New file.
15145 * gdb.cp/cpsizeof.cc: New file.
15147 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15149 * gdb.mi/mi-vla-c99.exp: New file.
15150 * gdb.mi/vla.c: New file.
15152 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15154 * gdb.base/vla-datatypes.c: New file.
15155 * gdb.base/vla-datatypes.exp: New file.
15157 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15159 * gdb.base/vla-ptr.c: New file.
15160 * gdb.base/vla-ptr.exp: New file.
15162 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15164 * gdb.base/vla-multi.c: New file.
15165 * gdb.base/vla-multi.exp: New file.
15167 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15169 * gdb.dwarf2/count.exp: New file.
15171 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15173 * gdb.base/vla-sideeffect.c: New file.
15174 * gdb.base/vla-sideeffect.exp: New file.
15176 2014-04-11 Yao Qi <yao@codesourcery.com>
15178 * gdb.base/completion.exp: Check file exists before running tests
15179 on file completion.
15181 2014-04-10 Pedro Alves <palves@redhat.com>
15183 * gdb.base/cond-eval-mode.c: New file.
15184 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15185 prepare_for_testing to build the new file. Check result of
15187 (test_break, test_watch): New procedures.
15188 (top level): Use them.
15190 2014-04-08 Pierre Muller <muller@sourceware.org>
15192 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15193 Ctrl-V use for mingw hosts.
15195 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15197 * gdb.python/py-value.c: Improve test case.
15198 * gdb.python/py-value.exp: Add new test.
15200 2014-04-07 David Blaikie <dblaikie@gmail.com>
15202 * lib/compiler.c: Identify the clang compiler.
15203 * lib/compiler.cc: Ditto.
15205 2014-04-03 Yao Qi <yao@codesourcery.com>
15207 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15209 2014-04-01 Anton Blanchard <anton@samba.org>
15211 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15214 2014-04-01 Anton Blanchard <anton@samba.org>
15216 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15217 prepare_for_testing.
15219 2014-04-01 Anton Blanchard <anton@samba.org>
15221 * gdb.arch/ppc64-atomic-inst.c: Remove.
15222 * gdb.arch/ppc64-atomic-inst.S: New file.
15223 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15225 2014-03-31 Doug Evans <dje@google.com>
15227 * gdb.base/print-symbol-loading-lib.c: New file.
15228 * gdb.base/print-symbol-loading-main.c: New file.
15229 * gdb.base/print-symbol-loading.exp: New file.
15231 2014-03-31 Yao Qi <yao@codesourcery.com>
15233 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15235 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15237 * gdb.ada/mi_dyn_arr: New testcase.
15239 2014-03-27 Doug Evans <dje@google.com>
15241 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15243 2014-03-27 Yao Qi <yao@codesourcery.com>
15245 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15246 if target is nios2-*-*.
15248 2014-03-26 Yao Qi <yao@codesourcery.com>
15250 * lib/gdb.exp (readline_is_used): New proc.
15251 * gdb.base/completion.exp: Move tests on command complete up.
15252 Skip the rest of tests if readline is not used.
15253 * gdb.ada/complete.exp: Skp the test if readline is not
15255 * gdb.base/filesym.exp: Likewise.
15256 * gdb.base/macscp.exp: Likewise.
15257 * gdb.base/readline-ask.exp: Likewise.
15258 * gdb.base/readline.exp: Likewise.
15259 * gdb.python/py-cmd.exp: Likewise.
15260 * gdb.trace/tfile.exp: Likewise.
15262 2014-03-26 Yao Qi <yao@codesourcery.com>
15264 * gdb.base/macscp.exp: Fix code format issues.
15266 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15268 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15269 * gdb.asm/powerpc64le.inc: New file.
15271 2014-03-25 Pedro Alves <palves@redhat.com>
15272 Doug Evans <dje@google.com>
15274 * gdb.base/source-execution.c: New file.
15275 * gdb.base/source-execution.exp: New file.
15276 * gdb.base/source-execution.gdb: New file.
15278 2014-03-24 Doug Evans <dje@google.com>
15280 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15283 2014-03-24 Hui Zhu <hui@codesourcery.com>
15284 Pedro Alves <palves@redhat.com>
15286 PR breakpoints/16101
15287 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15288 test pass/fail messages. Detect missing support for dprintf when
15289 breakpoints are actually inserted.
15290 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15291 breakpoints are actually inserted.
15292 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15295 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15297 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15299 2014-03-22 Doug Evans <xdje42@gmail.com>
15301 * gdb.python/python.exp (python not supported): Verify multi-line
15302 python command issues an error.
15303 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15304 guile command issues an error.
15306 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15308 * gdb.threads/thread-specific.exp: Handle the lack of usable
15309 $this_breakpoint and $this_thread.
15311 2014-03-21 Hui Zhu <hui@codesourcery.com>
15313 * gdb.base/attach.exp (do_command_attach_tests): New.
15315 2014-03-20 Tom Tromey <tromey@redhat.com>
15316 Pedro Alves <palves@redhat.com>
15319 * gdb.base/condbreak-call-false.c: New file.
15320 * gdb.base/condbreak-call-false.exp: New file.
15322 2014-03-20 Pedro Alves <palves@redhat.com>
15324 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15326 (block_signals, unblock_signals): Delete.
15327 (child_function_2, main): Remove references to deleted variable
15330 2014-03-20 Pedro Alves <palves@redhat.com>
15332 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15333 Use pthread_kill to signal thread 2.
15334 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15335 Adjust to make the test send itself a signal rather than using the
15336 host's "kill" command.
15338 2014-03-20 Pedro Alves <palves@redhat.com>
15340 * gdb.threads/multiple-step-overs.c: New file.
15341 * gdb.threads/multiple-step-overs.exp: New file.
15342 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15343 Adjust expected infrun debug output.
15345 2014-03-20 Pedro Alves <palves@redhat.com>
15347 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15348 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15350 2014-03-20 Pedro Alves <palves@redhat.com>
15352 PR breakpoints/7143
15353 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15354 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15355 of gdb_test_multiple.
15356 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15357 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15359 2014-03-20 Pedro Alves <palves@redhat.com>
15361 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15362 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15364 2014-03-19 Pedro Alves <palves@redhat.com>
15366 * gdb.base/async.exp: Remove early return.
15368 2014-03-19 Pedro Alves <palves@redhat.com>
15370 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15372 2014-03-19 Pedro Alves <palves@redhat.com>
15374 * gdb.base/async.exp (test_background): Expect \r\n after
15375 "completed." in the fail pattern.
15377 2014-03-19 Pedro Alves <palves@redhat.com>
15379 * gdb.base/async.exp (test_background): New procedure.
15380 Use it for all background execution command tests.
15382 2014-03-19 Pedro Alves <palves@redhat.com>
15384 * gdb.base/async.exp: Use prepare_for_testing.
15386 2014-03-19 Pedro Alves <palves@redhat.com>
15388 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15391 2014-03-19 Pedro Alves <palves@redhat.com>
15393 * gdb.base/async.c (main): Add "jump here" and "until here" line
15395 * gdb.base/async.exp (jump_here): New global.
15396 (jump& test): Use it.
15397 (until_here): New global.
15398 (until& test): Use it.
15400 2014-03-19 Pedro Alves <palves@redhat.com>
15402 * gdb.base/async.exp: Don't frob gdb_protocol.
15404 2014-03-18 Doug Evans <xdje42@gmail.com>
15406 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15407 Fix spelling of exec-done-display.
15409 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15412 * gdb.base/gdb-sigterm.c: New file.
15413 * gdb.base/gdb-sigterm.exp: New file.
15415 2014-03-18 Pedro Alves <palves@redhat.com>
15418 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15419 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15422 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15424 * gdb.ada/pckd_arr_ren: New testcase.
15426 2014-03-13 Doug Evans <xdje42@gmail.com>
15429 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15430 collect after discarding symbols.
15432 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15433 Doug Evans <xdje42@gmail.com>
15435 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15436 to history survives a gc.
15438 2014-03-13 Pedro Alves <palves@redhat.com>
15440 * gdb.base/default.exp: Don't test "target procfs".
15442 2014-03-13 Pedro Alves <palves@redhat.com>
15444 * gdb.base/default.exp: Update "target child" and "target procfs"
15445 tests to not expect "Unix".
15447 2014-03-12 Tom Tromey <tromey@redhat.com>
15449 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15450 New procs. Add target-async tests.
15451 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15452 Add target-async tests.
15454 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15456 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15457 'func_start' and 'func_end' for the beginning and end of the
15458 function code, respectively.
15459 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15460 'func_end' instead of 'func' and 'main'.
15462 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15464 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15465 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15466 generate the debug info assembler source.
15468 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15470 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15471 * gdb.dwarf2/arr-subrange.exp: Likewise.
15472 * gdb.dwarf2/dwz.exp: Likewise.
15473 * gdb.dwarf2/method-ptr.exp: Likewise.
15474 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15475 * gdb.dwarf2/subrange.exp: Likewise.
15476 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15477 * gdb.dwarf2/implptrpiece.exp: Likewise.
15478 * gdb.dwarf2/nostaticblock.exp: Likewise.
15480 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15482 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15483 directory to absolute path name arguments.
15485 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15487 * gdb.ada/tagged_access: New testcase.
15489 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15491 * gdb.btrace/data.exp: Update expected output.
15493 2014-03-06 Yao Qi <yao@codesourcery.com>
15495 * gdb.trace/pr16508.exp: New file.
15497 2014-03-05 Pedro Alves <palves@redhat.com>
15500 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15502 (top level): Adjust to use it. Add tests that exercise breakpoint
15503 interaction with the code-cache.
15505 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15507 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15508 test for 'history-append!'.
15510 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15512 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15513 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15514 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15515 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15516 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15517 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15519 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15521 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15522 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15523 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15525 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15527 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15529 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15531 * gdb.dwarf2/arr-stride.c: New file.
15532 * gdb.dwarf2/arr-stride.exp: New file.
15534 2014-02-26 Pedro Alves <palves@redhat.com>
15536 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15537 that won't ever trigger. Make sure that GDB reports the correct
15538 breakpoint that caused the stop.
15540 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15543 * gdb.base/auto-load-script: New file.
15544 * gdb.base/auto-load.c: New file.
15545 * gdb.base/auto-load.exp: New file.
15548 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15550 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15552 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15553 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15555 2014-02-24 Doug Evans <dje@google.com>
15557 * lib/gdb.exp (run_on_host): Log error output if program fails.
15559 2014-02-21 Pedro Alves <palves@redhat.com>
15561 * gdb.threads/step-after-sr-lock.c: Rename to ...
15562 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15563 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15564 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15567 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15570 * gdb.arch/amd64-stap-special-operands.exp: New file.
15571 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15572 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15573 * gdb.arch/amd64-stap-triplet.S: Likewise.
15574 * gdb.arch/amd64-stap-triplet.c: Likewise.
15576 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15578 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15579 in .section pseudo-op.
15581 2014-02-20 lin zuojian <manjian2006@gmail.com>
15582 Joel Brobecker <brobecker@adacore.com>
15583 Doug Evans <xdje42@gmail.com>
15586 * gdb.dwarf2/dw2-icycle.S: New file.
15587 * gdb.dwarf2/dw2-icycle.c: New file.
15588 * gdb.dwarf2/dw2-icycle.exp: New file.
15590 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15592 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15593 operations on gdb.Value objects.
15594 * gdb.python/py-value-cc.exp: Add new test to test operations on
15597 2014-02-18 Doug Evans <dje@google.com>
15599 * Makefile.in (TESTS): New variable.
15600 (expanded_tests, expanded_tests_or_none): New variables
15601 (check-single): Pass $(expanded_tests_or_none) to runtest.
15602 (check-parallel): Only run tests in $(TESTS) if non-empty.
15603 (check/no-matching-tests-found): New rule.
15604 * README: Document TESTS makefile variable.
15606 2014-02-18 Doug Evans <dje@google.com>
15608 * Makefile.in (check-parallel): rm -rf outputs temp.
15610 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15612 Fix "ERROR: no fileid for" in the testsuite.
15613 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15615 2014-02-12 Doug Evans <dje@google.com>
15617 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15618 (MISCELLANEOUS): New variable.
15619 (clean): rm -rf $(MISCELLANEOUS).
15620 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15621 dwp live in the same directory as symlinks, with each symlink pointed
15622 to a differently named file in a different directory.
15624 2014-02-11 Doug Evans <dje@google.com>
15626 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15627 of Tcl file commands.
15629 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15631 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15632 "kill -SIGUSR1 -1".
15634 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15636 * gdb.ada/tick_length_array_enum_idx: New testcase.
15638 2014-02-10 Doug Evans <xdje42@gmail.com>
15640 * configure.ac (AC_OUTPUT): Add gdb.guile.
15641 * configure: Regenerate.
15642 * lib/gdb-guile.exp: New file.
15643 * lib/gdb.exp (get_target_charset): New function.
15644 * gdb.base/help.exp: Update expected output from "apropos apropos".
15645 * gdb.guile/Makefile.in: New file.
15646 * gdb.guile/guile.exp: New file.
15647 * gdb.guile/scm-arch.c: New file.
15648 * gdb.guile/scm-arch.exp: New file.
15649 * gdb.guile/scm-block.c: New file.
15650 * gdb.guile/scm-block.exp: New file.
15651 * gdb.guile/scm-breakpoint.c: New file.
15652 * gdb.guile/scm-breakpoint.exp: New file.
15653 * gdb.guile/scm-disasm.c: New file.
15654 * gdb.guile/scm-disasm.exp: New file.
15655 * gdb.guile/scm-equal.c: New file.
15656 * gdb.guile/scm-equal.exp: New file.
15657 * gdb.guile/scm-error.exp: New file.
15658 * gdb.guile/scm-error.scm: New file.
15659 * gdb.guile/scm-frame-args.c: New file.
15660 * gdb.guile/scm-frame-args.exp: New file.
15661 * gdb.guile/scm-frame-args.scm: New file.
15662 * gdb.guile/scm-frame-inline.c: New file.
15663 * gdb.guile/scm-frame-inline.exp: New file.
15664 * gdb.guile/scm-frame.c: New file.
15665 * gdb.guile/scm-frame.exp: New file.
15666 * gdb.guile/scm-generics.exp: New file.
15667 * gdb.guile/scm-gsmob.exp: New file.
15668 * gdb.guile/scm-iterator.c: New file.
15669 * gdb.guile/scm-iterator.exp: New file.
15670 * gdb.guile/scm-math.c: New file.
15671 * gdb.guile/scm-math.exp: New file.
15672 * gdb.guile/scm-objfile-script-gdb.in: New file.
15673 * gdb.guile/scm-objfile-script.c: New file.
15674 * gdb.guile/scm-objfile-script.exp: New file.
15675 * gdb.guile/scm-objfile.c: New file.
15676 * gdb.guile/scm-objfile.exp: New file.
15677 * gdb.guile/scm-ports.exp: New file.
15678 * gdb.guile/scm-pretty-print.c: New file.
15679 * gdb.guile/scm-pretty-print.exp: New file.
15680 * gdb.guile/scm-pretty-print.scm: New file.
15681 * gdb.guile/scm-section-script.c: New file.
15682 * gdb.guile/scm-section-script.exp: New file.
15683 * gdb.guile/scm-section-script.scm: New file.
15684 * gdb.guile/scm-symbol.c: New file.
15685 * gdb.guile/scm-symbol.exp: New file.
15686 * gdb.guile/scm-symtab-2.c: New file.
15687 * gdb.guile/scm-symtab.c: New file.
15688 * gdb.guile/scm-symtab.exp: New file.
15689 * gdb.guile/scm-type.c: New file.
15690 * gdb.guile/scm-type.exp: New file.
15691 * gdb.guile/scm-value-cc.cc: New file.
15692 * gdb.guile/scm-value-cc.exp: New file.
15693 * gdb.guile/scm-value.c: New file.
15694 * gdb.guile/scm-value.exp: New file.
15695 * gdb.guile/source2.scm: New file.
15696 * gdb.guile/types-module.cc: New file.
15697 * gdb.guile/types-module.exp: New file.
15699 2014-02-10 Yao Qi <yao@codesourcery.com>
15702 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15703 * configure: Regenerated.
15704 * Makefile.in: New file.
15706 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15708 * gdb.python/py-framefilter.exp: Fix typo.
15710 2014-02-08 Yao Qi <yao@codesourcery.com>
15712 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15713 that no =breakpoint-modified is emitted when breakpoints are
15714 modified through MI commands.
15716 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15717 Pedro Alves <palves@redhat.com>
15719 * gdb.threads/step-after-sr-lock.c: New file.
15720 * gdb.threads/step-after-sr-lock.exp: New file.
15722 2014-02-07 Pedro Alves <palves@redhat.com>
15724 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15726 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15728 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15729 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15731 2014-02-06 Doug Evans <xdje42@gmail.com>
15733 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15736 * gdb.gdb/python-interrupts.exp: New file.
15738 2014-02-05 Yao Qi <yao@codesourcery.com>
15740 * gdb.trace/report.exp (use_collected_data): Test the output
15741 of "info threads" and "info inferiors".
15743 2014-02-05 Yao Qi <yao@codesourcery.com>
15747 2013-05-24 Yao Qi <yao@codesourcery.com>
15749 * gdb.trace/tfile.exp: Test inferior and thread.
15751 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15753 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15755 * gdb.base/step-bt.c: Call hello via function pointer to make
15756 sure its first instruction is executed on powerpc64le-linux.
15758 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15760 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15762 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15764 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15765 of the test patterns for use on little-endian systems.
15767 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15769 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15770 (decimal_vector): Fix for little-endian.
15772 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15774 * gdb.arch/sparc-sysstep.exp: New file.
15775 * gdb.arch/sparc-sysstep.c: Likewise.
15777 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15779 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15781 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15783 2014-01-23 Tom Tromey <tromey@redhat.com>
15785 * gdb.ada/array_char_idx: New testcase.
15787 2014-01-23 Tom Tromey <tromey@redhat.com>
15790 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15791 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15794 2014-01-23 Tom Tromey <tromey@redhat.com>
15797 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15798 string from an inferior frame.
15799 * gdb.python/py-framefilter-mi.exp: Update.
15801 2014-01-22 Doug Evans <dje@google.com>
15803 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15805 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15807 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15809 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15811 * gdb.trace/entry-values.exp: Remove excess space character from
15812 regex patterns. Handle s390 call instruction.
15814 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15816 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15817 define "*_start" label. Make "name" static.
15818 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15819 ${name} by references to ${name}_start.
15821 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15823 * gdb.base/info-macros.exp: Remove "debug" from the compile
15826 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15828 * gdb.dlang/demangle.exp: New file.
15830 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15832 * gdb.dlang/primitive-types.exp: New file.
15834 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15836 * configure.ac: Create gdb.dlang/Makefile.
15837 * configure: Regenerate.
15838 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15839 * gdb.dlang/Makefile.in: New file.
15840 * lib/d-support.exp: New file.
15841 * lib/gdb.exp (skip_d_tests): New proc.
15843 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15845 * gdb.btrace/delta.exp: Check reverse stepi.
15846 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15847 * gdb.btrace/finish.exp: New.
15848 * gdb.btrace/next.exp: New.
15849 * gdb.btrace/nexti.exp: New.
15850 * gdb.btrace/record_goto.c: Add comments.
15851 * gdb.btrace/step.exp: New.
15852 * gdb.btrace/stepi.exp: New.
15853 * gdb.btrace/multi-thread-step.c: New.
15854 * gdb.btrace/multi-thread-step.exp: New.
15855 * gdb.btrace/rn-dl-bind.c: New.
15856 * gdb.btrace/rn-dl-bind.exp: New.
15857 * gdb.btrace/data.c: New.
15858 * gdb.btrace/data.exp: New.
15859 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15863 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15864 * gdb.btrace/exception.exp: Update.
15865 * gdb.btrace/instruction_history.exp: Update.
15866 * gdb.btrace/record_goto.exp: Update.
15867 * gdb.btrace/tailcall.exp: Update.
15868 * gdb.btrace/unknown_functions.exp: Update.
15869 * gdb.btrace/delta.exp: New.
15871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15873 * gdb.btrace/record_goto.exp: Add backtrace test.
15874 * gdb.btrace/tailcall.exp: Add backtrace test.
15876 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15878 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15879 * gdb.btrace/record_goto.c: New.
15880 * gdb.btrace/record_goto.exp: New.
15881 * gdb.btrace/x86-record_goto.S: New.
15883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15885 * gdb.btrace/function_call_history.exp: Update tests.
15886 * gdb.btrace/instruction_history.exp: Update tests.
15888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15890 * gdb.btrace/function_call_history.exp: Fix expected field
15891 order for "record function-call-history".
15892 Add new tests for "record function-call-history /c".
15893 * gdb.btrace/exception.cc: New.
15894 * gdb.btrace/exception.exp: New.
15895 * gdb.btrace/tailcall.exp: New.
15896 * gdb.btrace/x86-tailcall.S: New.
15897 * gdb.btrace/x86-tailcall.c: New.
15898 * gdb.btrace/unknown_functions.c: New.
15899 * gdb.btrace/unknown_functions.exp: New.
15900 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15904 * gdb.btrace/instruction_history.exp: Update.
15905 * gdb.btrace/function_call_history.exp: Update.
15907 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15909 * gdb.btrace/function_call_history.exp: Fix expected function
15911 * gdb.btrace/instruction_history.exp: Initialize traced.
15912 Remove traced_functions.
15914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15916 * gdb.btrace/function_call_history.exp: Update
15917 * gdb.btrace/instruction_history.exp: Update.
15919 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15921 * gdb.btrace/enable.exp: Update expected text.
15923 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15925 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15928 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15930 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15932 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15934 * lib/gdb.exp (supports_process_record): Return true for
15935 arm*-linux*. (supports_reverse): Likewise.
15937 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15941 * gdb.python/py-type.c: Enhance test case.
15942 * gdb.python/py-value-cc.cc: Likewise
15943 * gdb.python/py-type.exp: Add new tests.
15944 * gdb.python/py-value-cc.exp: Likewise
15946 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15947 Pedro Alves <palves@redhat.com>
15949 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15950 Make "name" extern.
15951 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15952 references to ${name}_start by references to ${name}.
15954 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15956 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15958 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15960 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15962 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15963 Pedro Alves <palves@redhat.com>
15965 * gdb.mi/mi-info-os.exp: Connect to the target with
15966 mi_gdb_target_load.
15968 2014-01-08 Pedro Alves <palves@redhat.com>
15970 * gdb.threads/reconnect-signal.c: New file.
15971 * gdb.threads/reconnect-signal.exp: New file.
15973 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15975 * gdb.base/source-dir.exp: New file.
15977 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15979 * gdb.ada/mi_interface: New testcase.
15981 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15983 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15984 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15985 gdb.ada/pp-rec-component/pck.ads: New files.
15987 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15989 * gdb.python/py-pp-integral.c: New file.
15990 * gdb.python/py-pp-integral.py: New file.
15991 * gdb.python/py-pp-integral.exp: New file.
15993 For older changes see ChangeLog-1993-2013.
15995 ;; Local Variables:
15996 ;; mode: change-log
15999 ;; version-control: never
16002 Copyright 2014-2019 Free Software Foundation, Inc.
16003 Copying and distribution of this file, with or without modification,
16004 are permitted provided the copyright notice and this notice are preserved.