1 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4 (struct struct02): Likewise.
5 (struct struct03): Likewise.
6 (struct struct04): Likewise.
7 (struct struct_01_01): New struct.
8 (struct struct_01_02): Likewise.
9 (struct struct_01_03): Likewise.
10 (struct struct_01_04): Likewise.
11 (struct struct_02_01): Likewise.
12 (struct struct_02_02): Likewise.
13 (struct struct_02_03): Likewise.
14 (struct struct_02_04): Likewise.
15 (struct struct_04_01): Likewise.
16 (struct struct_04_02): Likewise.
17 (struct struct_04_03): Likewise.
18 (struct struct_04_04): Likewise.
19 (struct struct_05_01): Likewise.
20 (struct struct_05_02): Likewise.
21 (struct struct_05_03): Likewise.
22 (struct struct_05_04): Likewise.
23 (cmp_struct01): Remove function.
24 (cmp_struct02): Likewise.
25 (cmp_struct03): Likewise.
26 (cmp_struct04): Likewise.
27 (cmp_struct_01_01): Add Function.
28 (cmp_struct_01_02): Likewise.
29 (cmp_struct_01_03): Likewise.
30 (cmp_struct_01_04): Likewise.
31 (cmp_struct_02_01): Likewise.
32 (cmp_struct_02_02): Likewise.
33 (cmp_struct_02_03): Likewise.
34 (cmp_struct_02_04): Likewise.
35 (cmp_struct_04_01): Likewise.
36 (cmp_struct_04_02): Likewise.
37 (cmp_struct_04_03): Likewise.
38 (cmp_struct_04_04): Likewise.
39 (cmp_struct_05_01): Likewise.
40 (cmp_struct_05_02): Likewise.
41 (cmp_struct_05_03): Likewise.
42 (cmp_struct_05_04): Likewise.
43 (call_all): Add new structs.
44 * gdb.base/infcall-nested-structs.exp: Likewise.
46 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
48 * gdb.python/py-framefilter-mi.exp: Update regexp to
49 check for "arch" field in frame output.
51 2018-08-23 Kevin Buettner <kevinb@redhat.com>
53 * gdb.dwarf2/dw2-ranges-func.c: New file.
54 * gdb.dwarf2/dw2-ranges-func.exp: New file.
56 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
58 * gdb.base/term.exp: Compare terminal settings with values from
60 * gdb.base/term.c: Get and set terminal settings.
62 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
64 * lib/mi-support.exp (mi_expect_stop): Update regexp to
65 accommodate new "arch" field in frame output.
66 * gdb.mi/mi-return.exp: Likewise.
67 * gdb.mi/mi-stack.exp: Likewise.
68 * gdb.mi/mi-syn-frame.exp: Likewise.
69 * gdb.mi/user-selected-context-sync.exp: Likewise.
71 2018-08-19 Michael Spang <spang@google.com>
74 * gdb.base/gcore-tls-pie.c: New file.
75 * gdb.base/gcore-tls-pie.exp: New file.
77 2018-08-18 Kevin Buettner <kevinb@redhat.com>
79 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
80 * gdb.dwarf2/varval.c: New file.
81 * gdb.dwarf2/varval.exp: New file.
83 2018-08-17 Alan Hayward <alan.hayward@arm.com>
86 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
88 2018-08-16 Keith Seitz <keiths@redhat.com>
90 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
91 tests expected to pass.
93 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
95 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
97 (test_disassembly_bogus_args): Likewise.
99 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
101 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
103 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
105 * gdb.base/vla-optimized-out.exp: Add new test.
107 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
109 * gdb.base/vla-optimized-out-o3.exp: Delete.
110 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
111 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
114 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
117 * gdb.server/extended-remote-restart.c: New file.
118 * gdb.server/extended-remote-restart.exp: New file.
120 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
122 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
123 "set variable index = 42".
125 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
127 * boards/index-cache-gdb.exp: New file.
128 * gdb.dwarf2/index-cache.exp: New file.
129 * gdb.dwarf2/index-cache.c: New file.
130 * gdb.base/maint.exp: Check if we are using the index cache.
132 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
134 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
137 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
139 * dg-extract-results.sh: Move to toplevel contrib.
140 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
141 * Makefile.in (check-parallel-racy): Likewise.
143 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
145 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
146 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
147 tests if the target supports scheduler locking.
149 2018-08-04 Tom de Vries <tdevries@suse.de>
151 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
153 2018-08-02 Tom Tromey <tom@tromey.com>
156 * gdb.cp/temargs.exp: Test "info address" of a template
159 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
161 * gdb.python/py-mi-var-info-path-expression.c: New file.
162 * gdb.python/py-mi-var-info-path-expression.py: New file.
163 * gdb.python/py-mi-var-info-path-expression.exp: New file.
165 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
167 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
168 error after "cannot resolve name" string.
170 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
172 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
174 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
176 2018-07-28 Tom de Vries <tdevries@suse.de>
178 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
180 2018-07-26 Tom de Vries <tdevries@suse.de>
182 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
184 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
186 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
189 2018-07-26 Tom de Vries <tdevries@suse.de>
192 * gdb.base/catch-follow-exec.c: New test.
193 * gdb.base/catch-follow-exec.exp: New file.
195 2018-07-25 Tom de Vries <tdevries@suse.de>
197 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
200 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
202 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
203 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
205 2018-07-20 Tom de Vries <tdevries@suse.de>
207 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
209 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
211 2018-07-19 Tom de Vries <tdevries@suse.de>
213 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
216 2018-07-18 Tom de Vries <tdevries@suse.de>
218 * gdb.base/vla-optimized-out.c: New test.
219 * gdb.base/vla-optimized-out.exp: New file.
221 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
223 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
224 message "No address associated with hostname" when gdbserver
225 cannot resolve the hostname.
227 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
229 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
230 Add some test prefixes to make tests unique.
232 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
234 * gdb.base/frameapply.c: New file.
235 * gdb.base/frameapply.exp: New file.
237 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
239 * gdb.base/skip.exp: Update expected error message.
241 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
242 Jan Kratochvil <jan.kratochvil@redhat.com>
243 Paul Fertser <fercerpav@gmail.com>
244 Tsutomu Seki <sekiriki@gmail.com>
246 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
248 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
250 * boards/native-gdbserver.exp: Likewise.
251 * gdb.server/run-without-local-binary.exp: Improve regexp used
252 for detecting when a remote debugging connection succeeds.
253 * gdb.server/server-connect.exp: New file.
254 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
255 Do not prefix the port number with ":".
256 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
257 support for detecting and using it. Add '$debughost_gdbserver'
258 to the list of arguments used to start gdbserver. Handle case
259 when gdbserver cannot resolve a network name.
261 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
264 * gdb.base/ptype-offsets.cc (struct static_member): New
266 (main) <stmember>: New variable.
267 * gdb.base/ptype-offsets.exp: Add test for printing a struct
268 with a static member in it.
270 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
272 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
273 watchpoints enabled and disabled.
275 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
277 * gdb.base/examine-backward.exp: Still run tests around address
278 0x0, even if address 0x0 is not readable. Update the pattern for
279 matching address 0x0 in expected output.
281 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
283 * gdb.base/share-env-with-gdbserver.c (main): Add call to
286 2018-07-04 Tom de Vries <tdevries@suse.de>
288 * gdb.dwarf2/dw2-error.exp: Update expected error message.
290 2018-07-02 Maciej W. Rozycki <macro@mips.com>
293 * gdb.arch/mips-disassembler-options.exp: New test.
294 * gdb.arch/mips-disassembler-options.s: New test source.
296 2018-06-29 Pedro Alves <palves@redhat.com>
298 * gdb.threads/names.exp: Adjust expected "info threads" output.
300 2018-06-29 Pedro Alves <palves@redhat.com>
302 * gdb.opt/inline-break.exp (line number, address): Add "info
305 2018-06-29 Pedro Alves <palves@redhat.com>
307 * gdb.opt/inline-break.c (func1): Add "break here" marker.
308 * gdb.opt/inline-break.exp: Test setting breakpoints by line
309 number and address and running to them.
311 2018-06-29 Richard Bunt <richard.bunt@arm.com>
313 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
315 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
317 * lib/compiler.c: Remove executable permission flag.
319 2018-06-28 Richard Bunt <richard.bunt@arm.com>
321 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
323 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
325 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
327 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
329 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
331 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
332 address argument is omitted.
334 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
336 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
338 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
341 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
342 * gdb.base/infoline-reloc-main-from-zero.c: New file.
344 2018-06-26 Tom Tromey <tom@tromey.com>
347 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
348 * gdb.rust/simple.rs (struct SimpleLayout): New.
350 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
352 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
353 "info registers" output.
355 2018-06-21 Richard Bunt <richard.bunt@arm.com>
357 * gdb.base/watchpoint-hw-attach.c: New test.
358 * gdb.base/watchpoint-hw-attach.exp: New file.
360 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
362 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
364 * boards/dwarf4-gdb-index.exp: Likewise.
365 * boards/fission-dwp.exp: Likewise.
367 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
369 * gdb.base/float128.exp: Add comment and improved fail message
370 to the failure case of "print large128" test.
372 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
374 * configure.ac: Remove AC_PREREQ.
375 * configure: Re-generate.
377 2018-06-19 Pedro Alves <palves@redhat.com>
379 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
380 (func_extern_caller): New.
381 (main): Call func_extern_caller.
382 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
385 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
388 * gdb.cp/typedef-base.cc: New file.
389 * gdb.cp/typedef-base.exp: New file.
391 2018-06-18 Tom de Vries <tdevries@suse.de>
393 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
395 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
396 Richard Bunt <Richard.Bunt@arm.com>
398 * gdb.threads/attach-slow-waitpid.c: New file.
399 * gdb.threads/attach-slow-waitpid.exp: New file.
400 * gdb.threads/slow-waitpid.c: New file.
402 2018-06-14 Pedro Alves <palves@redhat.com>
404 * gdb.base/fork-running-state.c: Include <errno.h>.
405 (exit_if_relative_exits): New.
406 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
408 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
411 2018-06-14 Tom de Vries <tdevries@suse.de>
414 * gdb.base/finish-pretty.c: New test.
415 * gdb.base/finish-pretty.exp: New file.
417 2018-06-14 Pedro Alves <palves@redhat.com>
419 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
420 gdb's expected startup output.
422 2018-06-14 Pedro Alves <palves@redhat.com>
424 * lib/selftest-support.exp (selftest_setup): Remove inlined
427 2018-06-14 Tom de Vries <tdevries@suse.de>
429 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
430 matching of breakpoint printing.
432 2018-06-13 Tom de Vries <tdevries@suse.de>
435 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
436 (fork_child): ... here, and ...
437 (fork_parent): ... here.
439 2018-06-12 Tom de Vries <tdevries@suse.de>
441 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
443 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
444 Stephen Roberts <stephen.roberts@arm.com>
446 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
447 rewrite test to describe action performed, rather than possible
450 2018-06-08 Gary Benson <gbenson@redhat.com>
452 * gdb.threads/check-libthread-db.exp: New file.
453 * gdb.threads/check-libthread-db.c: Likewise.
455 2018-06-05 Tom Tromey <tom@tromey.com>
457 * gdb.base/default.exp: Update expected "show version" output.
459 2018-06-05 Tom Tromey <tom@tromey.com>
462 * gdb.cp/static-print-quit.exp: Update.
463 * lib/gdb.exp (pagination_prompt): Update.
464 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
465 * gdb.python/python.exp: Update.
467 2018-06-04 Joel Brobecker <brobecker@adacore.com>
469 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
471 2018-06-01 Joel Brobecker <brobecker@adacore.com>
473 * gdb.ada/bp_fun_addr: New testcase.
475 2018-06-01 Tom Tromey <tom@tromey.com>
477 * gdb.xml/tdesc-regs.exp (load_description): Update expected
479 * gdb.dwarf2/method-ptr.exp: Set language to C++.
480 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
481 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
482 * gdb.base/maint.exp (maint_pass_if): Update.
484 2018-05-31 Maciej W. Rozycki <macro@mips.com>
486 * gdb.base/endian.exp: New test.
487 * gdb.base/endian.c: New test source.
489 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
492 * gdb.base/bt-selected-frame.c: New file.
493 * gdb.base/bt-selected-frame.exp: New file.
494 * lib/gdb.exp (get_current_frame_number): New function.
496 2018-05-24 Maciej W. Rozycki <macro@mips.com>
497 Pedro Alves <palves@redhat.com>
499 * gdb.threads/tls-core.c: Include <stdlib.h>
500 (thread_proc): Call `abort'.
501 * gdb.threads/tls-core.exp: Generate a core with core_find too.
502 (tls_core_test): New procedure, bits factored out from ...
503 (top level): ... here. Test both native cores and gcore cores.
505 2018-05-23 Tom Tromey <tom@tromey.com>
507 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
509 2018-05-23 Tom Tromey <tom@tromey.com>
511 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
513 (test_short_complaints): Likewise.
514 (test_empty_complaints): Likewise.
515 (test_initial_complaints): Update.
517 2018-05-23 Tom Tromey <tom@tromey.com>
519 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
521 2018-05-23 Tom Tromey <tom@tromey.com>
523 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
524 (test_short_complaints): Update.
526 2018-05-22 Pedro Alves <palves@redhat.com>
528 * gdb.base/remote.exp: Only gdb_start after compiling the
529 testcase. Issue "disconnect" before testing "set remote" command
530 defaults. Issue clean_restart before running to main.
532 2018-05-22 Pedro Alves <palves@redhat.com>
534 * gdb.base/remote.exp: Adjust expected output of "show remote
535 memory-write-packet-size". Add tests for "set remote
536 memory-write-packet-size 0" and "set remote
537 memory-write-packet-size fixed/limit".
539 2018-05-22 Pedro Alves <palves@redhat.com>
542 * gdb.base/utf8-identifiers.c: New file.
543 * gdb.base/utf8-identifiers.exp: New file.
545 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
547 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
549 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
551 * gdb.arch/powerpc-vsx-gcore.exp: New file.
553 2018-05-18 Tom Tromey <tom@tromey.com>
555 * gdb.base/ptype-offsets.exp: Update.
557 2018-05-17 Keith Seitz <keiths@redhat.com>
559 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
560 in expected breakpoint stop locations.
561 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
562 move to proper scope to test variable values.
563 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
564 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
566 (main): Call not_inline_func3.
567 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
568 inline_func1, inline_func2, and inline_func3. Test that when each
569 breakpoint is hit, GDB properly reports both the stop location
570 and the backtrace. Repeat tests for temporary breakpoints.
572 2018-05-15 Maciej W. Rozycki <macro@mips.com>
574 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
575 rather then trying to access it in determining whether the PID
576 of `gdbserver' could have been retrieved.
578 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
580 * gdb.arch/amd64-init-x87-values.S: New file.
581 * gdb.arch/amd64-init-x87-values.exp: New file.
583 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
585 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
587 2018-05-04 Tom Tromey <tom@tromey.com>
590 * gdb.python/python.exp: Test multi-line execute.
592 2018-05-04 Tom Tromey <tom@tromey.com>
595 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
597 2018-05-04 Tom Tromey <tom@tromey.com>
600 * gdb.base/define.exp: Test defining a user command inside a user
602 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
604 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
605 Pedro Alves <palves@redhat.com>
607 PR breakpoints/19806 and support for PR external/20207.
608 * gdb.base/watchpoint-unaligned.c: New file.
609 * gdb.base/watchpoint-unaligned.exp: New file.
611 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
613 * gdb.base/maint.exp: Make test names unique, use
614 test_prefix_command_help to test 'help maint info', and remove
615 repeated test of 'help maint'.
617 2018-05-04 Tom Tromey <tom@tromey.com>
620 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
623 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
625 * gdb.base/maint.exp: Process output from 'maint print registers'
628 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
630 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
633 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
635 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
638 2018-05-02 Pedro Alves <palves@redhat.com>
640 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
641 to_log_command renames.
642 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
644 2018-05-02 Tom Tromey <tom@tromey.com>
646 * gdb.python/py-parameter.exp: Set test message.
648 2018-05-02 Tom Tromey <tom@tromey.com>
651 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
652 PARAM_ZUINTEGER_UNLIMITED tests.
654 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
657 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
660 2018-04-30 Tom Tromey <tom@tromey.com>
662 * gdb.python/py-type.exp: Check align attribute.
663 * gdb.python/py-type.c: New "aligncheck" global.
665 2018-04-30 Tom Tromey <tom@tromey.com>
668 * gdb.dwarf2/dw2-align.exp: New file.
669 * gdb.cp/align.exp: New file.
670 * gdb.base/align.exp: New file.
671 * lib/gdb.exp (gdb_int128_helper): New proc.
672 (has_int128_c, has_int128_cxx): New caching procs.
674 2018-04-27 Tom Tromey <tom@tromey.com>
677 * gdb.rust/simple.exp: Add inclusive range tests.
679 2018-04-26 Pedro Alves <palves@redhat.com>
681 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
682 ifunc breakpoint locations correctly of ifunc breakpoints set
683 while the program resolves the ifunc.
685 2018-04-26 Pedro Alves <palves@redhat.com>
687 * gdb.base/gnu-ifunc-final.c: New file.
688 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
689 * gdb.base/gnu-ifunc.exp (executable): Delete.
690 (staticexecutable): Adjust.
691 (lib_opts, exec_opts): Delete.
692 (make_binsuffix, build, set-break): New procedures.
693 (misc_tests): New, with tests factored out from the top level.
694 (top level): Test different combinations of ifunc resolver name,
695 resolver with and with debug info, and ifunc target with and
696 without debug info. Wrap static tests with with_target_prefix.
698 2018-04-26 Pedro Alves <palves@redhat.com>
700 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
701 return type" warnings.
703 2018-04-25 Pedro Alves <palves@redhat.com>
705 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
707 * gdb.base/kill-after-signal.exp: Likewise.
708 * gdb.threads/kill.exp: Likewise.
710 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
711 Sergio Durigan Junior <sergiodj@redhat.com>
712 Pedro Alves <palves@redhat.com>
714 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
715 regexps to expect for '[Inferior ... detached]' as well.
716 * gdb.base/attach.exp: Likewise.
717 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
718 "gdb_continue_to_end".
719 (test_catch_syscall_with_wrong_args): Likewise.
720 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
721 ']'. Don't set 'verbose' on.
722 * gdb.base/foll-vfork.exp: Likewise.
723 * gdb.base/fork-print-inferior-events.c: New file.
724 * gdb.base/fork-print-inferior-events.exp: New file.
725 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
726 '[Inferior ... has been killed]' message.
727 * gdb.base/kill-after-signal.exp: Likewise.
728 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
730 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
732 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
733 regexps to expect for '[Inferior ... detached]' as well.
734 * gdb.threads/process-dies-while-detaching.exp: Likewise.
736 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
739 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
741 2018-04-19 Richard Bunt <richard.bunt@arm.com>
743 * gdb.threads/multiple-successive-infcall.c: New test.
744 * gdb.threads/multiple-successive-infcall.exp: New file.
746 2018-04-17 Tom Tromey <tom@tromey.com>
748 * gdb.rust/simple.rs (Union): New type.
749 (main): New local "u".
750 * gdb.rust/simple.exp (test_one_slice): Add new test case.
752 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
754 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
755 number information in output of "whereis" command.
756 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
758 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
760 * gdb.ada/info_types.exp: Adjust expected output to the line
761 numbers now printed by "info var/func/type".
762 * gdb.base/completion.exp: Likewise.
763 * gdb.base/included.exp: Likewise.
764 * gdb.cp/cp-relocate.exp: Likewise.
765 * gdb.cp/cplusfuncs.exp: Likewise.
766 * gdb.cp/namespace.exp: Likewise.
767 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
769 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
771 * gdb.btrace/cpu.exp: New.
773 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
775 * gdb.base/step-indirect-call-thunk.exp: New.
776 * gdb.base/step-indirect-call-thunk.c: New.
777 * gdb.reverse/step-indirect-call-thunk.exp: New.
778 * gdb.reverse/step-indirect-call-thunk.c: New.
780 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
782 * gdb.base/pie-fork.c: New file.
783 * gdb.base/pie-fork.exp: New file.
785 2018-04-11 Tom Tromey <tom@tromey.com>
787 * gdb.rust/simple.exp: Add test for ".." struct initializer.
789 2018-04-10 Pedro Alves <palves@redhat.com>
791 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
792 exits. Instead loop running forever.
793 (fork_parent): Run forever too.
795 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
797 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
799 * gdb.mi/mi-stack.c (callee4): Add comment.
801 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
803 * gdb.mi/mi-stack.exp: Fix indentation.
805 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
808 * gdb.arch/amd64-osabi.exp: New file.
810 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
813 * gdb.base/osabi.exp: New file.
815 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
817 * gdb.cp/static-typedef-print.exp: New file.
818 * gdb.cp/static-typedef-print.cc: New file.
820 2018-03-27 Joel Brobecker <brobecker@adacore.com>
822 * gdb.ada/varsize_limit: New testcase.
824 2018-03-27 Joel Brobecker <brobecker@adacore.com>
826 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
828 * gdb.ada/notcplusplus: New testcase.
830 * gdb.base/c-linkage-name.c: New file.
831 * gdb.base/c-linkage-name.exp: New testcase.
833 2018-03-26 Tom Tromey <tom@tromey.com>
835 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
836 * gdb.python/py-framefilter.py (name_error): New global.
837 (ErrorInName.function): Use name_error.
839 2018-03-26 Tom Tromey <tom@tromey.com>
842 * gdb.python/py-framefilter.exp: Add "bt hide" test.
844 2018-03-23 Keith Seitz <keiths@redhat.com>
847 * gdb.cp/subtypes.exp: New file.
848 * gdb.cp/subtypes.h: New file.
849 * gdb.cp/subtypes.cc: New file.
850 * gdb.cp/subtypes-2.cc: New file.
852 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
854 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
855 (done): Call '_exit' not 'exit' to avoid atexit handlers.
856 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
857 -nostartfiles when compiling the test. Confirm that all registers
858 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
860 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
862 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
863 option, syntax was wrong anyway.
864 * gdb.arch/arm-disp-step.exp: Likewise.
865 * gdb.arch/sparc64-regs.exp: Likewise.
866 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
867 option, syntax was wrong anyway, switch to use
869 * gdb.arch/i386-disp-step.exp: Likewise.
871 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
873 * gdb.ada/exec_changed.exp: Replace "target_info exists
874 use_gdb_stub" by "use_gdb_stub".
875 * gdb.ada/start.exp: Likewise.
876 * gdb.base/async-shell.exp: Likewise.
877 * gdb.base/attach-pie-misread.exp: Likewise.
878 * gdb.base/attach-wait-input.exp: Likewise.
879 * gdb.base/break-entry.exp: Likewise.
880 * gdb.base/break-interp.exp: Likewise.
881 * gdb.base/dprintf-detach.exp: Likewise.
882 * gdb.base/nostdlib.exp: Likewise.
883 * gdb.base/solib-nodir.exp: Likewise.
884 * gdb.base/statistics.exp: Likewise.
885 * gdb.base/testenv.exp: Likewise.
886 * gdb.mi/mi-exec-run.exp: Likewise.
887 * gdb.mi/mi-start.exp: Likewise.
888 * gdb.multi/dummy-frame-restore.exp: Likewise.
889 * gdb.multi/multi-arch-exec.exp: Likewise.
890 * gdb.multi/multi-arch.exp: Likewise.
891 * gdb.multi/tids.exp: Likewise.
892 * gdb.multi/watchpoint-multi.exp: Likewise.
893 * gdb.python/py-events.exp: Likewise.
894 * gdb.threads/attach-into-signal.exp: Likewise.
895 * gdb.threads/attach-stopped.exp: Likewise.
896 * gdb.threads/threadapply.exp: Likewise.
897 * lib/selftest-support.exp: Likewise.
899 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
901 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
903 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
905 * gdb.perf/template-breakpoints.cc: New file.
906 * gdb.perf/template-breakpoints.exp: New file.
907 * gdb.perf/template-breakpoints.py: New file.
909 2018-03-19 Tom Tromey <tom@tromey.com>
911 * gdb.rust/simple.rs (main): Add local variables field1, field2,
913 * gdb.rust/simple.exp: Test bare identifier form of struct
916 2018-03-19 Tom Tromey <tom@tromey.com>
918 * gdb.gdb/observer.exp: Remove.
920 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
922 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
923 "qualified" option when setting breakpoints.
924 * gdb.trace/backtrace.exp: Likewise.
925 * gdb.trace/circ.exp: Likewise.
926 * gdb.trace/collection.exp: Likewise.
927 * gdb.trace/disconnected-tracing.exp: Likewise.
928 * gdb.trace/ftrace-lock.exp: Likewise.
929 * gdb.trace/ftrace.exp: Likewise.
930 * gdb.trace/infotrace.exp: Likewise.
931 * gdb.trace/packetlen.exp: Likewise.
932 * gdb.trace/passc-dyn.exp: Likewise.
933 * gdb.trace/qtro.exp: Likewise.
934 * gdb.trace/read-memory.exp: Likewise.
935 * gdb.trace/report.exp: Likewise.
936 * gdb.trace/signal.exp: Likewise.
937 * gdb.trace/status-stop.exp: Likewise.
938 * gdb.trace/strace.exp: Likewise.
939 * gdb.trace/tfind.exp: Likewise.
940 * gdb.trace/trace-break.exp: Likewise.
941 * gdb.trace/trace-condition.exp: Likewise.
942 * gdb.trace/trace-mt.exp: Likewise.
943 * gdb.trace/tstatus.exp: Likewise.
944 * gdb.trace/tsv.exp: Likewise.
945 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
946 * gdb.trace/unavailable.exp: Likewise.
947 * gdb.trace/while-dyn.exp: Likewise.
949 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
951 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
952 that libinproctrace is copied to the target.
954 2018-03-14 Tom Tromey <tom@tromey.com>
957 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
959 * gdb.base/wchar.exp: Likewise.
961 2018-03-14 Tom Tromey <tom@tromey.com>
964 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
967 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
970 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
971 "target" to remote_exec.
973 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
976 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
977 ${board}_upload): Remove.
979 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
981 * gdb.cp/watch-cp.cc: New test.
982 * gdb.cp/watch-cp.exp: New file.
984 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
986 * gdb.base/infcall-nested-structs.exp: New file.
987 * gdb.base/infcall-nested-structs.c: New file.
988 * gdb.base/float.exp: Add riscv support.
990 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
992 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
993 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
995 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
997 * gdb.server/abspath.exp: New file.
998 * lib/gdb.exp (with_cwd): New procedure.
1000 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1002 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1004 (gdb_is_target_remote_prompt): New proc.
1005 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1006 (gdb_is_target_native): Pass prompt parameter to
1009 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1011 * gdb.base/load-command.c: New file.
1012 * gdb.base/load-command.exp: New file.
1013 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1014 (gdb_is_target_1): ...this, and generalize for other targets
1016 (gdb_is_target_remote): Use gdb_is_target_1.
1017 (gdb_is_target_native): use gdb_is_target_1.
1019 2018-02-26 Tom Tromey <tom@tromey.com>
1022 * gdb.python/py-framefilter.exp: Update test.
1024 2018-02-26 Tom Tromey <tom@tromey.com>
1026 * gdb.dwarf2/variant.c: New file.
1027 * gdb.dwarf2/variant.exp: New file.
1029 2018-02-26 Tom Tromey <tom@tromey.com>
1031 * gdb.rust/simple.exp: Accept more possible results in enum test.
1033 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1035 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1038 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1040 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1041 name of a variable: $actual_linejj -> $actual_line.
1043 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1045 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1047 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1049 * gdb.btrace/buffer-size.exp: Do not force BTS.
1051 2018-02-14 Pedro Alves <palves@redhat.com>
1053 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1056 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1058 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1061 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1063 * gdb.cp/m-static.exp: Check type of optimized out static
1066 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1068 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1069 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1071 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1072 Leszek Swirski <leszeks@google.com>
1074 * gdb.python/py-prettyprint.c
1075 (struct to_string_returns_value_inner,
1076 struct to_string_returns_value_wrapper): New.
1077 (main): Add tsrvw variable.
1078 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1079 ToStringReturnsValueWrapper): New classes.
1080 (register_pretty_printers): Register new pretty-printers.
1081 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1082 recursive pretty printer.
1083 * gdb.python/py-mi.exp: Likewise.
1085 2018-02-01 Leszek Swirski <leszeks@google.com>
1087 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1088 functions with the same name as an include file are parsed
1091 2018-02-01 Yao Qi <yao.qi@linaro.org>
1093 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1096 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1098 * gdb.arch/powerpc-prologue-frame.s: New file.
1099 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1100 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1102 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1104 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1106 2018-01-30 Pedro Alves <palves@redhat.com>
1109 * gdb.base/interrupt-daemon.c: New.
1110 * gdb.base/interrupt-daemon.exp: New.
1111 * gdb.multi/multi-term-settings.c: New.
1112 * gdb.multi/multi-term-settings.exp: New.
1114 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1116 * gdb.base/break.exp: Save the location where the breakpoint
1117 on break.c:47 was actually inserted when debugging the version
1118 compiled at -O2 and use it in the expected output of the "info
1119 break" test performed soon after.
1121 2018-01-22 Pedro Alves <palves@redhat.com>
1122 Sergio Durigan Junior <sergiodj@redhat.com>
1124 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1125 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1127 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1129 * gdb.base/break-include.c, gdb.base/break-include.inc,
1130 gdb.base/break-include.exp: New files.
1131 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1132 line number now being the actual line number where the breakpoint
1134 * gdb.mi/mi-break.exp: Likewise.
1135 * gdb.mi/mi-reverse.exp: Likewise.
1136 * gdb.mi/mi-simplerun.exp: Ditto.
1138 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1140 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1142 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1144 2018-01-21 Don Breazeal <donb@codesourcery.com>
1145 Andrew Burgess <andrew.burgess@embecosm.com>
1147 * gdb.mi/basics.c: Add new global.
1148 * gdb.mi/mi-frame-regs.exp: New file.
1149 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1152 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1154 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1155 non-parameter, and on an unknown symbol.
1157 2018-01-19 Tom Tromey <tom@tromey.com>
1159 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1160 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1162 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1164 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1165 setrlimit and chdir to int.
1167 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1169 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1171 (my_tend): Likewise.
1172 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1173 rationale of avoiding FP- and vector instructions.
1175 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1177 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1178 "info reg" with "\[ \t\]*".
1179 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1181 * gdb.arch/s390-multiarch.exp: Ditto.
1182 * gdb.base/pc-fp.exp: Ditto.
1183 * gdb.reverse/i386-precsave.exp: Ditto.
1184 * gdb.reverse/i386-reverse.exp: Ditto.
1185 * gdb.reverse/i387-env-reverse.exp: Ditto.
1186 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1188 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1190 * lib/gdb.exp (gdb_compile): Re-enable use of
1191 universal_compile_options for languages other than Rust.
1193 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1195 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1197 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1200 * gdb.base/solib-vanish.exp: New.
1201 * gdb.base/solib-vanish-main.c: New.
1202 * gdb.base/solib-vanish-lib1.c: New.
1203 * gdb.base/solib-vanish-lib2.c: New.
1205 2018-01-17 Yao Qi <yao.qi@linaro.org>
1207 * gdb.compile/compile.exp: Match the address printed for
1208 frame in the output of command "bt".
1210 2018-01-15 Tom Tromey <tom@tromey.com>
1212 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1215 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1217 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1219 (prepare): Return 0 on error, 1 on success.
1221 2018-01-12 Pedro Alves <palves@redhat.com>
1223 * gdb.base/continue-after-aborted-step-over.c: New.
1224 * gdb.base/continue-after-aborted-step-over.exp: New.
1226 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1228 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1229 options when not creating an executable.
1231 2018-01-11 Pedro Alves <palves@redhat.com>
1234 * gdb.server/stop-reply-no-thread.c: New file.
1235 * gdb.server/stop-reply-no-thread.exp: New file.
1237 2018-01-10 Pedro Alves <palves@redhat.com>
1240 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1241 functions too. Test setting breakpoints and printing C functions
1242 with no debug info too.
1243 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1245 2018-01-10 Pedro Alves <palves@redhat.com>
1248 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1251 2018-01-10 Pedro Alves <palves@redhat.com>
1254 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1256 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1258 * gdb.server/unittest.exp: Match the output in non-development
1261 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
1263 * gdb.gdb/unittest.exp: Match output in non-development mode.
1265 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1267 * gdb.ada/access_tagged_param.exp: Relax expected output
1268 for value of "ObjL" in "continue" to pck.inspect breakpoint
1271 2018-01-08 Joel Brobecker <brobecker@adacore.com>
1273 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1274 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1276 2018-01-05 Pedro Alves <palves@redhat.com>
1279 * gdb.base/libsegfault.exp: New.
1281 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1284 * gdb.ada/access_tagged_param.exp: New file.
1285 * gdb.ada/access_tagged_param/foo.adb: New file.
1287 2018-01-05 Pedro Alves <palves@redhat.com>
1290 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
1291 exercise lower case too, and to exercise both full matching and
1294 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1296 * gdb.ada/rename_subscript_param: New testcase.
1298 2018-01-05 Jerome Guitton <guitton@adacore.com>
1300 * gdb.ada/arr_acc_idx_w_gap: New testcase.
1302 2018-01-05 Joel Brobecker <brobecker@adacore.com>
1304 * gdb.ada/convvar_comp: New testcase.
1306 2018-01-05 Xavier Roirand <roirand@adacore.com>
1308 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1309 (My_Table): New global variable.
1310 * testsuite/gdb.ada/array_char_idx.exp: Add test.
1312 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1315 * gdb.ada/maint_with_ada: New testcase.
1317 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1320 * gdb.ada/bp_c_mixed_case: New testcase.
1322 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1325 * gdb.ada/complete.exp: Add "complete break ada" test.
1327 2018-01-04 Joel Brobecker <brobecker@adacore.com>
1330 * gdb.ada/info_addr_mixed_case: New testcase.
1332 2018-01-03 Xavier Roirand <roirand@adacore.com>
1334 * gdb.ada/excep_handle.exp: New testcase.
1335 * gdb.ada/excep_handle/foo.adb: New file.
1336 * gdb.ada/excep_handle/pck.ads: New file.
1338 2018-01-03 Joel Brobecker <brobecker@adacore.com>
1340 * gdb.base/step-line.c: Add extra empty line in copyright header.
1341 * gdb.base/step-line.inp: Likewise.
1343 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1345 * gdb.ada/dyn_stride.exp: Add slice test.
1347 2018-01-02 Joel Brobecker <brobecker@adacore.com>
1349 * gdb.ada/dyn_stride: New testcase.
1351 2017-12-27 Stafford Horne <shorne@gmail.com>
1353 * gdb.xml/extra-regs.xml: Add example foo reggroup.
1354 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1356 2017-12-27 Stafford Horne <shorne@gmail.com>
1358 * gdb.base/reggroups.c: New file.
1359 * gdb.base/reggroups.exp: New file.
1361 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1363 * gdb.dwarf2/ada-valprint-error.c: New file.
1364 * gdb.dwarf2/ada-valprint-error.exp: New file.
1366 2017-12-18 Joel Brobecker <brobecker@adacore.com>
1368 * gdb.ada/assign_arr: New testcase.
1370 2017-12-18 Xavier Roirand <roirand@adacore.com>
1372 * gdb.ada/funcall_ptr: New testcase.
1374 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1377 * gdb.base/ptype-offsets.cc: New file.
1378 * gdb.base/ptype-offsets.exp: New file.
1380 2017-12-15 Yao Qi <yao.qi@linaro.org>
1382 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1385 2017-12-15 Xavier Roirand <roirand@adacore.com>
1387 * gdb.ada/same_component_name: New testcase.
1389 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1391 * gdb.ada/str_binop_equal: New testcase.
1393 2017-12-14 Joel Brobecker <brobecker@adacore.com>
1395 * gdb.ada/task_switch_in_core: New testcase.
1397 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
1399 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1400 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1401 call test_bkpt_qualified.
1402 (test_bkpt_qualified): New proc.
1404 2017-12-13 Pedro Alves <palves@redhat.com>
1406 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1407 Tighten regexp by matching with an anchor.
1409 2017-12-13 Pedro Alves <palves@redhat.com>
1411 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1412 ("expression with namespace"): New set of tests.
1413 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1414 (Nested::Test_NS::qux): New.
1415 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1416 defaults to 'start_quote_char' and 'end_quote_char' parameters.
1418 2017-12-13 Joel Brobecker <brobecker@adacore.com>
1420 * gdb.base/server-del-break.c: New file.
1421 * gdb.base/server-del-break.exp: New file.
1423 2017-12-12 Stafford Horne <shorne@gmail.com>
1425 * gdb.xml/tdesc-regs.exp: Add or1k support.
1427 2017-12-12 Stafford Horne <shorne@gmail.com>
1429 * gdb.base/bp-permanent.c: Define nop of or1k.
1431 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1433 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1434 output with components being reordered.
1436 2017-12-11 Joel Brobecker <brobecker@adacore.com>
1438 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1439 output with components being reordered.
1441 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1442 Pedro Alves <palves@redhat.com>
1444 * gdb.base/maint.exp (check for .gdb_index): Check also for
1446 * gdb.dlang/watch-loc.c (.debug_aranges): New.
1447 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1448 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1449 (.gdb_index used after symbol reloading): Support also .debug_names.
1450 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1452 2017-12-08 Yao Qi <yao.qi@linaro.org>
1454 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1455 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1457 2017-12-08 Yao Qi <yao.qi@linaro.org>
1459 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1460 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1462 2017-12-08 Yao Qi <yao.qi@linaro.org>
1464 * gdb.arch/aarch64-tagged-pointer.c: New file.
1465 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1467 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1469 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1472 2017-12-07 Keith Seitz <keiths@redhat.com>
1474 PR breakpoints/22569
1475 * gdb.linespec/ls-errs.exp: Change expected result of "break
1476 -source this file has spaces.c -line 3".
1477 Check that an explicit source file followed by whitespace is
1478 identified as an invalid explicit location.
1480 2017-12-07 Keith Seitz <keiths@redhat.com>
1482 * gdb.cp/nested-types.cc: New file.
1483 * gdb.cp/nested-types.exp: New file.
1484 * lib/cp-support.exp: Load data-structures.exp library.
1485 (debug_cp_test_ptype_class): New global.
1486 (cp_ptype_class_verbose, next_line): New procedures.
1487 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1488 Add and document new return value.
1489 Switch the list of lines to a queue.
1490 Add support for new `type' key for nested type definitions.
1491 Add debugging/troubleshooting messages.
1492 * lib/data-structures.exp: New file.
1494 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1496 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1497 with proc_with_prefix, don't use with_test_prefix.
1499 2017-12-07 Tom Tromey <tom@tromey.com>
1501 * gdb.base/break.exp: Add test for empty "commands".
1503 2017-12-07 Yao Qi <yao.qi@linaro.org>
1505 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1506 malloc and catch syscall.
1508 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1510 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1511 tests for explicit locations.
1513 2017-12-06 Pedro Alves <palves@redhat.com>
1515 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1516 force-disabling XML descriptions.
1518 2017-12-04 Pedro Alves <palves@redhat.com>
1521 * gdb.arch/amd64-disp-step-avx.S: New file.
1522 * gdb.arch/amd64-disp-step-avx.exp: New file.
1524 2017-12-03 Pedro Alves <palves@redhat.com>
1526 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1528 (parent_function): Print distinct messages when waitpid fails, or
1529 the child exits with a signal, or the child exits for an unhandled
1531 * gdb.threads/process-dies-while-detaching.exp
1532 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1533 it. Wait for both inferior output and GDB's prompt. Use an
1534 indirect spawn id list.
1535 (do_detach): New parameter 'child_exit'. Use it to compute
1536 expected inferior output.
1537 (test_detach, test_detach_watch, test_detach_killed_outside):
1538 Adjust to pass down the expected child exit kind.
1540 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1541 Sergio Durigan Junior <sergiodj@redhat.com>
1542 Pedro Alves <palves@redhat.com>
1544 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1546 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1548 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1549 to 'symbol-file' and 'add-symbol-file' can be
1550 position-independent.
1552 2017-12-01 Yao Qi <yao.qi@linaro.org>
1554 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1555 the URL in copyright header.
1556 * gdb.arch/aarch64-fp.exp: Likewise.
1557 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1558 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1559 * gdb.base/expand-psymtabs.exp: Likewise.
1560 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1561 * gdb.fortran/common-block.exp: Likewise.
1562 * gdb.fortran/common-block.f90: Likewise.
1563 * gdb.fortran/logical.exp: Likewise.
1564 * gdb.fortran/vla-datatypes.f90: Likewise.
1565 * gdb.fortran/vla-sub.f90: Likewise.
1567 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1569 * gdb.ada/repeat_dyn: New testcase.
1571 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1573 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1574 Update for changed thread numbering.
1575 * gdb.cell/bt.exp: Update for changed GDB output.
1577 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1579 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1580 setting isremote by hand.
1581 * boards/dwarf4-gdb-index.exp: Likewise.
1582 * boards/fission.exp: Likewise.
1583 * boards/stabs.exp: Likewise.
1585 2017-11-30 Pedro Alves <palves@redhat.com>
1587 * gdb.linespec/cpls-ops.exp
1588 (check_explicit_skips_function_argument): Extract the underlying
1589 type of size_t instead of hardcoding it.
1591 2017-11-29 Pedro Alves <palves@redhat.com>
1594 * gdb.linespec/cpls-abi-tag.cc: New file.
1595 * gdb.linespec/cpls-abi-tag.exp: New file.
1597 2017-11-29 Pedro Alves <palves@redhat.com>
1599 * gdb.base/langs.exp: Use -qualified.
1600 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1602 * gdb.cp/namespace.exp: Use -qualified.
1603 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1604 (overload-3, template-overload, template-ret-type, const-overload)
1605 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1607 (test_driver): Call them.
1608 * gdb.cp/save-bp-qualified.cc: New.
1609 * gdb.cp/save-bp-qualified.exp: New.
1610 * gdb.linespec/explicit.exp: Test -qualified.
1611 * lib/completion-support.exp (completion::explicit_opts_list): Add
1613 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1615 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1617 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1619 2017-11-29 Tom Tromey <tom@tromey.com>
1621 * gdb.base/relocate.exp: Update invalid argument test.
1622 Add new tests for invalid arguments.
1624 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1626 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1628 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1630 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1632 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1633 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1634 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1636 * gdb.cp/shadow.cc (B.func): Return 0.
1638 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1640 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1641 expected output in gdb_expect call to allow the exception
1642 message to be present as well. Fix syntax confusion to avoid
1643 TCL thinking that exception_name is an array.
1645 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1647 * gdb.arch/spu-info.c: Include <unistd.h>.
1648 (do_signal_test): Fix broken calls to write.
1649 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1650 Fix checks for empty mailboxes. Update signal tests for corrected
1651 do_signal_test routine. Allow nonzero event status.
1652 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1653 * gdb.cell/arch.exp: Use standard_output_file.
1654 * gdb.cell/break.exp: Likewise.
1655 * gdb.cell/bt.exp: Likewise.
1656 * gdb.cell/core.exp: Likewise.
1657 * gdb.cell/dwarfaddr.exp: Likewise.
1658 * gdb.cell/ea-cache.exp: Likewise.
1659 * gdb.cell/ea-standalone.exp: Likewise.
1660 * gdb.cell/f-regs.exp: Likewise.
1661 * gdb.cell/fork.exp: Likewise.
1662 * gdb.cell/gcore.exp: Likewise.
1663 * gdb.cell/mem-access.exp: Likewise.
1664 * gdb.cell/ptype.exp: Likewise.
1665 * gdb.cell/registers.exp: Likewise.
1666 * gdb.cell/sizeof.exp: Likewise.
1667 * gdb.cell/solib-symbol.exp: Likewise.
1668 * gdb.cell/solib.exp: Likewise.
1670 2017-11-25 Pedro Alves <palves@redhat.com>
1672 * gdb.base/complete-empty.exp: New file.
1673 * gdb.base/completion.exp: Adjust.
1675 2017-11-25 Pedro Alves <palves@redhat.com>
1677 * gdb.linespec/cpls-ops.cc: New file.
1678 * gdb.linespec/cpls-ops.exp: New file.
1679 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1680 factored out from ...
1681 (test_complete_prefix_range): ... this.
1683 2017-11-24 Pedro Alves <palves@redhat.com>
1685 * gdb.linespec/cpcompletion.exp: New file.
1686 * gdb.linespec/cpls-hyphen.cc: New file.
1687 * gdb.linespec/cpls.cc: New file.
1688 * gdb.linespec/cpls2.cc: New file.
1689 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1690 test to use test_gdb_complete_unique. Add label completion,
1691 keyword completion and explicit location completion tests.
1692 * lib/completion-support.exp: New file.
1694 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1696 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1697 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1698 when hitting an exception catchpoint.
1700 2017-11-22 Yao Qi <yao.qi@linaro.org>
1702 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1704 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1706 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1707 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1708 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1710 2017-11-22 Yao Qi <yao.qi@linaro.org>
1712 * gdb.base/info-os.exp: Pass pthreads.
1713 * gdb.multi/multi-attach.exp: Likewise.
1715 2017-11-22 Yao Qi <yao.qi@linaro.org>
1717 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1720 2017-11-22 Yao Qi <yao.qi@linaro.org>
1722 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1723 * gdb.base/break-interp.exp: Likewise.
1724 * gdb.base/jit-attach-pie.exp: Likewise.
1726 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1728 * gdb.base/float128.c (large128): New variable.
1729 * gdb.base/float128.exp: Add test to print largest __float128 value.
1731 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1733 * gdb.arch/vsx-regs.exp: Update register content checks.
1735 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1737 * gdb.arch/ppc-longdouble.exp: New file.
1738 * gdb.arch/ppc-longdouble.c: Likewise.
1740 2017-11-21 Pedro Alves <palves@redhat.com>
1742 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1744 2017-11-20 Pedro Alves <palves@redhat.com>
1746 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1747 (long_double_typedef): New typedefs.
1748 Use DEF on double and long double.
1749 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1751 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1752 and 'long_double_ptr_same_size' locals. Use them to decide
1753 whether cast from array/function to float is valid/invalid.
1755 2017-11-17 Tom Tromey <tom@tromey.com>
1757 * gdb.rust/traits.rs: New file.
1758 * gdb.rust/traits.exp: New file.
1760 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1762 * gdb.ada/minsyms: New testcase.
1764 2017-11-16 Pedro Alves <palves@redhat.com>
1766 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1767 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1769 2017-11-16 Pedro Alves <palves@redhat.com>
1771 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1772 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1774 2017-11-16 Pedro Alves <palves@redhat.com>
1776 * gdb.server/reconnect-ctrl-c.c: New file.
1777 * gdb.server/reconnect-ctrl-c.exp: New file.
1779 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1781 * gdb.python/py-rbreak.exp: New file.
1782 * gdb.python/py-rbreak.c: New file.
1783 * gdb.python/py-rbreak-func2.c: New file.
1785 2017-11-16 Pedro Alves <palves@redhat.com>
1787 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1789 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1792 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1794 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1797 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1799 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1802 2017-11-09 Pedro Alves <palves@redhat.com>
1804 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1805 factored out from ...
1806 (top level): ... here, and adjusted to avoid expecting beyond the
1807 prompt in a single gdb_test_multiple.
1809 2017-11-09 Pedro Alves <palves@redhat.com>
1811 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1813 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1814 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1815 * gdb.server/ext-run.exp ("kill" test): Likewise.
1816 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1818 2017-11-09 Pedro Alves <palves@redhat.com>
1820 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1821 match till end of line.
1823 2017-11-09 Pedro Alves <palves@redhat.com>
1825 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1827 2017-11-09 Pedro Alves <palves@redhat.com>
1829 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1830 New procedures, factored out from ...
1831 (top level): ... here, and adjusted to avoid expecting beyond the
1834 2017-11-09 Pedro Alves <palves@redhat.com>
1836 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1837 output. Fix '?' match.
1839 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1841 * gdb.ada/scoped_watch: New testcase.
1842 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1843 which is actually correct.
1844 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1845 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1847 2017-11-08 Pedro Alves <palves@redhat.com>
1849 * gdb.gdb/complaints.exp (test_initial_complaints)
1850 (test_serial_complaints, test_short_complaints): Call
1851 complaint_internal instead of complaint.
1853 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1855 * gdb.threads/tls-core.c: New file.
1856 * gdb.threads/tls-core.exp: Likewise.
1858 2017-11-08 Pedro Alves <palves@redhat.com>
1860 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1861 (p Exported_Capitalized): New test.
1862 (p exported_capitalized): New test.
1864 2017-11-07 Pedro Alves <palves@redhat.com>
1866 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1868 2017-11-07 Pedro Alves <palves@redhat.com>
1870 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1871 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1872 (disable_invalid, disable_inverted, disable_negative): New
1874 ("bad numbers"): New set of tests.
1876 2017-11-07 Pedro Alves <palves@redhat.com>
1878 * gdb.cp/ena-dis-br-range.exp: Add tests.
1880 2017-11-07 Pedro Alves <palves@redhat.com>
1882 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1884 2017-11-07 Xavier Roirand <roirand@adacore.com>
1885 Pedro Alves <palves@redhat.com>
1887 * gdb.base/ena-dis-br.exp: Add reference to
1888 gdb.cp/ena-dis-br-range.exp.
1889 * gdb.cp/ena-dis-br-range.exp: New file.
1890 * gdb.cp/ena-dis-br-range.cc: New file.
1892 2017-11-06 Pedro Alves <palves@redhat.com>
1894 * gdb.base/attach-non-pgrp-leader.c: New.
1895 * gdb.base/attach-non-pgrp-leader.exp: New.
1897 2017-11-06 Pedro Alves <palves@redhat.com>
1899 * configure.ac: No longer check for termio.h and sgtty.h.
1900 * configure: Regenerate.
1901 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1902 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1903 Remove termio and sgtty code.
1905 2017-11-03 Yao Qi <yao.qi@linaro.org>
1907 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1910 2017-11-03 Yao Qi <yao.qi@linaro.org>
1912 * gdb.python/py-thrhandle.exp: Skip it if python is not
1915 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1917 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1918 as a breakpoint command.
1920 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1923 * gdb.python/py-infthread.exp: Test calling
1924 InferiorThread.inferior () multiple times in a row.
1926 2017-10-27 Keith Seitz <keiths@redhat.com>
1928 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1929 Test "info break" for every inlined function breakpoint.
1931 2017-10-27 Yao Qi <yao.qi@linaro.org>
1933 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1935 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1937 * gdb.cp/classes.exp (test_static_members): Test printing
1939 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1940 (Inner::instance, Outer::instance): New.
1942 2017-10-24 Pedro Alves <palves@redhat.com>
1944 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1945 extra console" test in two stages.
1947 2017-10-24 Pedro Alves <palves@redhat.com>
1949 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1951 2017-10-24 Pedro Alves <palves@redhat.com>
1953 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1956 2017-10-24 Pedro Alves <palves@redhat.com>
1958 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1959 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1961 2017-10-24 Pedro Alves <palves@redhat.com>
1963 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1964 parameter and handle it. Don't output read value in test name.
1966 2017-10-24 Pedro Alves <palves@redhat.com>
1968 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1971 2017-10-24 Pedro Alves <palves@redhat.com>
1973 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1974 include the unstable output directory name in the test's name.
1975 (initial_setup_simple) <'set args'>: Use custom test name.
1977 2017-10-24 Pedro Alves <palves@redhat.com>
1979 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1980 with explicit test name.
1982 2017-10-20 Pedro Alves <palves@redhat.com>
1984 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1985 'wait -i'. Use gdb_assert and remote_close.
1987 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1989 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1990 number from variable rather than hard-coded.
1992 2017-10-19 Pedro Alves <palves@redhat.com>
1994 * gdb.base/long-inferior-output.c: New file.
1995 * gdb.base/long-inferior-output.exp: New file.
1997 2017-11-18 Keith Seitz <keiths@redhat.com>
1999 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2002 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2003 Add additional user-defined conversion operator tests.
2005 2017-10-17 Pedro Alves <palves@redhat.com>
2007 * boards/native-stdio-gdbserver.exp: Load "local-board".
2009 2017-10-17 Pedro Alves <palves@redhat.com>
2011 * gdb.base/quit-live.c: New file.
2012 * gdb.base/quit-live.exp: New file.
2014 2017-10-16 Keith Seitz <keiths@redhat.com>
2016 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2017 (class_with_protected_typedef, class_with_private_typedef)
2018 (struct_with_public_typedef, struct_with_protected_typedef)
2019 (struct_with_private_typedef): New classes/structs.
2020 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2021 typedefs and access specifiers.
2023 2017-10-16 Pedro Alves <palves@redhat.com>
2024 Simon Marchi <simon.marchi@polymtl.ca>
2026 * README (Local vs Remote vs Native): New section.
2027 * boards/local-board.exp: New file, with bits factored out from
2029 * boards/native-extended-gdbserver.exp: ... here. Load
2031 * boards/native-gdbserver.exp: Load "local-board".
2032 (${board}_spawn, ${board}_exec): Delete.
2033 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2035 * boards/stdio-gdbserver-base.exp: ... this new file.
2036 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2037 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2039 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2040 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2041 stdio_gdbserver_command.
2042 (${board}_get_remote_address, ${board}_get_comm_port)
2043 (${board}_download, ${board}_upload): Delete.
2044 (get_target_remote_pipe_cmd): New.
2046 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2048 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2049 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2050 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2051 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2052 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2053 remove with_test_prefix.
2055 2017-10-13 Pedro Alves <palves@redhat.com>
2057 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2058 * gdb.base/annota1.exp: Use it instead of is_remote.
2059 * gdb.base/annota3.exp: Use it instead of is_remote.
2060 * gdb.cp/annota2.exp: Use it instead of is_remote.
2061 * gdb.cp/annota3.exp: Use it instead of is_remote.
2062 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2064 2017-10-13 Pedro Alves <palves@redhat.com>
2066 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2067 (test_num_test_vars, run_and_count_vars, find_env)
2068 (test_set_unset_env, test_inherit_env_var): New procedures.
2069 (top level): Use them.
2071 2017-10-13 Pedro Alves <palves@redhat.com>
2073 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2074 also skip on stub-like targets.
2076 2017-10-13 Pedro Alves <palves@redhat.com>
2079 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2080 (top level): Move some tests to ...
2081 (test_not_found): ... this new procedure.
2082 (top level): Call it.
2084 2017-10-13 Pedro Alves <palves@redhat.com>
2086 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2087 expect different "info terminal" output if testing with a
2090 2017-10-13 Pedro Alves <palves@redhat.com>
2091 Simon Marchi <simon.marchi@polymtl.ca>
2094 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2096 2017-10-13 Pedro Alves <palves@redhat.com>
2098 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2101 2017-10-13 Pedro Alves <palves@redhat.com>
2103 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2106 2017-10-13 Pedro Alves <palves@redhat.com>
2108 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2111 2017-10-13 Pedro Alves <palves@redhat.com>
2113 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2115 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2116 instead of is_remote.
2118 2017-10-13 Pedro Alves <palves@redhat.com>
2120 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2121 (top level): Add comment.
2123 2017-10-13 Pedro Alves <palves@redhat.com>
2125 * gdb.base/remote.exp (top level): Fix comment typo and add
2128 2017-10-13 Pedro Alves <palves@redhat.com>
2129 Simon Marchi <simon.marchi@polymtl.ca>
2131 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2132 calls and add comments. Skip test if use_gdb_stub is set.
2133 (top level): Use "set cwd" command instead of "cd" command.
2135 2017-10-13 Pedro Alves <palves@redhat.com>
2137 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2138 is_remote target check.
2140 2017-10-13 Pedro Alves <palves@redhat.com>
2142 * gdb.base/scope.exp: Use build_executable + clean_restart +
2143 gdb_file_cmd instead of prepare_for_testing and no longer skip
2144 "before run" tests on is_remote target boards. Update comments.
2145 * boards/native-extended-gdbserver.exp
2146 (extended_gdbserver_load_last_file): New, factored out from ...
2147 (gdb_load): ... this. Move further below and add comment.
2148 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2150 2017-10-12 Pedro Alves <palves@redhat.com>
2152 * gdb.base/attach.exp: Remove references to gdb64.
2153 * gdb.base/dbx.exp: Remove references to gdb64.
2155 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2156 Pedro Alves <palves@redhat.com>
2158 * gdb.base/label.exp: Remove is_remote target check.
2160 2017-10-12 Pedro Alves <palves@redhat.com>
2162 * gdb.base/auvx.exp (coredir): Update comment.
2163 (top level) <core_works>: Use "set cwd" command instead of "cd"
2166 2017-10-12 Pedro Alves <palves@redhat.com>
2167 Simon Marchi <simon.marchi@polymtl.ca>
2169 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2172 2017-10-12 Pedro Alves <palves@redhat.com>
2173 Simon Marchi <simon.marchi@polymtl.ca>
2175 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2176 Instead skip if there's any gdb_protocol set.
2178 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2179 Pedro Alves <palves@redhat.com>
2181 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2183 2017-10-12 Pedro Alves <palves@redhat.com>
2184 Simon Marchi <simon.marchi@polymtl.ca>
2186 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2187 instead of on dejagnu remote boards.
2189 2017-10-12 Pedro Alves <palves@redhat.com>
2190 Simon Marchi <simon.marchi@polymtl.ca>
2192 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2193 checks. Use build_executable + clean_restart instead of
2194 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2195 of enabling non-stop after starting gdb.
2197 2017-10-12 Pedro Alves <palves@redhat.com>
2199 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2200 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2201 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2202 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2204 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2206 * gdb.arch/arc-tdesc-cpu.exp: New file.
2207 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2209 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2211 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2213 2017-10-10 Pedro Alves <palves@redhat.com>
2215 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2218 2017-10-10 Pedro Alves <palves@redhat.com>
2220 * lib/selftest-support.exp (selftest_setup): Update for
2221 captured_command_loop's prototype change.
2223 2017-10-09 Pedro Alves <palves@redhat.com>
2225 Test both arch1=>arch2 and arch2=>arch1.
2227 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2228 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2230 (append_arch1_options, append_arch2_options, append_arch_options)
2231 (build_executables): New procedures.
2232 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2234 (top level): Add new 'first_arch' testing axis.
2236 2017-10-09 Pedro Alves <palves@redhat.com>
2238 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2240 (thread_start, all_started): New functions.
2241 (main): Spawn new thread and wait until it is scheduled.
2242 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2244 (do_test): Add 'selected_thread' parameter. Run to all_started
2245 instead of main. Explicitly set the breakpoint at main. Switch
2246 to the SELECTED_THREAD thread.
2247 (top level): Test handling the exec event with either the main
2248 thread or the second thread selected.
2250 2017-10-09 Pedro Alves <palves@redhat.com>
2252 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2253 logic. Move STOP marker after the value checks.
2254 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2257 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
2259 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2261 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
2263 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2264 integer-to-dfp conversion.
2265 * gdb.base/dfp-test.exp: Likewise.
2267 2017-10-04 Pedro Alves <palves@redhat.com>
2269 * gdb.multi/hangout.c: Include <unistd.h>.
2270 (hangout_loop): New function.
2271 (main): Call alarm. Call hangout_loop in a loop.
2272 * gdb.multi/hello.c: Include <unistd.h>.
2273 (hello_loop): New function.
2274 (main): Call alarm. Call hangout_loop in a loop.
2275 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2276 inferior with the other selected.
2278 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2280 * gdb.mi/list-thread-groups-available.exp: New file.
2281 * gdb.mi/list-thread-groups-available.c: New file.
2283 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2285 * gdb.base/set-cwd.exp: Make it available on
2286 native-extended-gdbserver.
2288 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
2290 * gdb.base/set-cwd.c: New file.
2291 * gdb.base/set-cwd.exp: Likewise.
2293 2017-10-02 Tom Tromey <tom@tromey.com>
2296 * gdb.rust/simple.rs (main): New variable "fslice".
2297 * gdb.rust/simple.exp: Add slice tests. Update string tests.
2299 2017-10-02 Tom Tromey <tom@tromey.com>
2301 * gdb.rust/simple.exp: Test ptype of a slice.
2303 2017-10-02 Tom Tromey <tom@tromey.com>
2305 * gdb.rust/simple.exp: Test index of slice.
2307 2017-09-27 Tom Tromey <tom@tromey.com>
2309 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2311 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
2312 Pedro Alves <palves@redhat.com>
2314 * gdb.base/compare-sections.exp (get value of read-only section): Read
2316 (corrupt read-only section): Likewise and don't set written if patching
2319 2017-09-21 Kevin Buettner <kevinb@redhat.com>
2321 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2324 2017-09-20 Pedro Alves <palves@redhat.com>
2326 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2327 symbol names in gdb's output.
2328 * gdb.cp/overload.exp ("list all overloads"): Likewise.
2330 2017-09-20 Pedro Alves <palves@redhat.com>
2332 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2334 (test_list_ambiguous_symbol): ... this and add a symbol name
2336 (test_list_ambiguous_function): Reimplement on top of
2337 test_list_ambiguous_symbol and also test listing ambiguous
2339 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2340 (ambiguous_fun): ... this.
2341 (ambiguous_var): New.
2342 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2343 (ambiguous_fun): ... this.
2344 (ambiguous_var): New.
2346 2017-09-19 John Baldwin <jhb@FreeBSD.org>
2348 * gdb.base/starti.c: New file.
2349 * gdb.base/starti.exp: New file.
2350 * lib/gdb.exp (gdb_starti_cmd): New procedure.
2352 2017-09-14 Pedro Alves <palves@redhat.com>
2354 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2355 (top level): Use it instead of runto.
2357 2017-09-11 Tom Tromey <tom@tromey.com>
2359 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2361 2017-09-11 Tom Tromey <tom@tromey.com>
2363 * gdb.python/py-infthread.exp: Add tests for new_thread event.
2364 * gdb.python/py-inferior.exp: Add tests for new inferior events.
2366 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
2368 * gdb.fortran/printing-types.exp: New file.
2369 * gdb.fortran/printing-types.exp: New file.
2371 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2373 * gdb.fortran/vla-ptype.exp: Fix typos.
2374 * gdb.fortran/vla-value.exp: Same.
2376 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
2378 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2379 * gdb.mi/mi-var-child-f.exp: Likewise.
2380 * gdb.mi/mi-vla-fortran.exp: Likewise.
2382 2017-09-08 Frank Penczek <frank.penczek@intel.com>
2383 Christoph Weinmann <christoph.t.weinmann@intel.com>
2384 Bernhard Heckel <bernhard.heckel@intel.com>
2386 * gdb.fortran/ptr-indentation.f90: New file.
2387 * gdb.fortran/ptr-indentation.exp: New file.
2389 2017-09-05 Tom Tromey <tom@tromey.com>
2392 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2394 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2396 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2398 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2400 * gdb.threads/tls-nodebug-pie.c: New file.
2401 * gdb.threads/tls-nodebug-pie.exp: New file.
2403 2017-09-05 Tom Tromey <tom@tromey.com>
2405 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2408 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
2410 * gdb.multi/multi-arch-exec.exp: Test with different
2411 "follow-exec-mode" settings.
2412 (do_test): New procedure.
2414 2017-09-04 Pedro Alves <palves@redhat.com>
2416 * gdb.base/func-static.c (S::method const, S::method volatile)
2417 (S::method volatile const): New methods.
2418 (c_s, v_s, cv_s): New instances.
2419 (main): Call method() on them.
2420 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2421 (cannot_resolve): New procedure.
2422 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
2423 print-quote-unquoted columns.
2424 (do_test): Test printing each scope too.
2426 2017-09-04 Pedro Alves <palves@redhat.com>
2428 * gdb.base/local-static.exp: Also test with
2429 class::method::variable wholly quoted.
2430 * gdb.cp/m-static.exp (class::method::variable): Remove test.
2432 2017-09-04 Pedro Alves <palves@redhat.com>
2434 * gdb.base/local-static.c: New.
2435 * gdb.base/local-static.cc: New.
2436 * gdb.base/local-static.exp: New.
2438 2017-09-04 Pedro Alves <palves@redhat.com>
2440 * gdb.asm/asm-source.exp: Add casts to int.
2441 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2442 (dataglobal64_1, dataglobal64_2): New globals.
2443 * gdb.base/nodebug.exp: Test different expressions involving the
2444 new globals, with print, whatis and ptype. Add casts to int.
2445 * gdb.base/solib-display.exp: Add casts to int.
2446 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
2447 * gdb.cp/m-static.exp: Add cast to int.
2448 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2449 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2450 tls variable with no debug info without a cast. Test with a cast
2452 * gdb.trace/entry-values.exp: Add casts.
2454 2017-09-04 Pedro Alves <palves@redhat.com>
2456 * gdb.base/nodebug.exp: Test that ptype's error about functions
2457 with unknown return type includes the function name too.
2459 2017-09-04 Pedro Alves <palves@redhat.com>
2461 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2462 return type of munmap in infcall.
2463 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2464 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2465 type of ftell in infcall.
2466 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2467 type of getpid in infcall.
2468 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2470 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2471 Bail on failure to extract the pid.
2472 * gdb.base/nodebug.c: #include <stdint.h>.
2473 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2475 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2476 Change expected output of print/whatis/ptype with functions with
2477 no debug info. Test all supported languages. Call
2478 test_call_promotion.
2479 * gdb.compile/compile.exp: Adjust expected output to expect
2481 * gdb.threads/siginfo-threads.exp: Likewise.
2483 2017-09-04 Pedro Alves <palves@redhat.com>
2485 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2486 "prototypes". Test calling float functions via prototyped and
2487 unprototyped function pointers.
2488 (perform_all_tests): New parameter "prototypes". Pass it down.
2489 (top level): Pass down "prototypes" parameter to
2492 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2494 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2495 Test with nested loops.
2497 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2499 * gdb.base/commands.exp: Call the new procedures.
2500 (loop_break_test, loop_continue_test): New procedures.
2502 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2504 * gdb.base/commands.exp: Call new procedure.
2505 (define_if_without_arg_test): New procedure.
2507 2017-09-04 Pedro Alves <palves@redhat.com>
2509 * gdb.base/list-ambiguous.exp: New file.
2510 * gdb.base/list-ambiguous0.c: New file.
2511 * gdb.base/list-ambiguous1.c: New file.
2512 * gdb.base/list.exp (test_list_range): Adjust expected output.
2514 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2516 * gdb.base/share-env-with-gdbserver.c: New file.
2517 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2519 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2521 * gdb.base/commands.exp (gdbvar_simple_if_test,
2522 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2523 progvar_simple_if_test, progvar_simple_while_test,
2524 progvar_complex_if_while_test, user_defined_command_test,
2525 user_defined_command_args_eval,
2526 user_defined_command_args_stack_test,
2527 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2528 temporary_breakpoint_commands,
2529 gdb_test_no_prompt, redefine_hook_test,
2530 redefine_backtrace_test): Remove "global gdb_prompt".
2532 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2534 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2535 New proc, call it from toplevel.
2537 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2540 * gdb.server/normal.c: New file, copied from gdb.base.
2541 * gdb.server/run-without-local-binary.exp: New file.
2543 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2545 * gdb.arch/sparc64-adi.exp: New file.
2546 * gdb.arch/sparc64-adi.c: New file.
2548 2017-08-22 Pedro Alves <palves@redhat.com>
2550 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2551 (top level): Add "list all overloads" tests.
2553 2017-08-22 Tom Tromey <tom@tromey.com>
2555 * gdb.gdb/xfullpath.exp: Remove.
2557 2017-08-21 Pedro Alves <palves@redhat.com>
2560 * gdb.base/symbol-alias.c: New.
2561 * gdb.base/symbol-alias2.c: New.
2562 * gdb.base/symbol-alias.exp: New.
2564 2017-08-21 Pedro Alves <palves@redhat.com>
2566 * gdb.base/dfp-test.c
2567 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2568 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2569 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2570 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2571 * gdb.base/whatis-ptype-typedefs.c: New.
2572 * gdb.base/whatis-ptype-typedefs.exp: New.
2573 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2574 (an_int, an_int_type, an_int_type2): New globals.
2575 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2576 involving typedefs and cast expressions.
2577 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2578 (lookup_typedefs_function): New.
2579 (typedefs_pretty_printers_dict): New.
2580 (top level): Register lookup_typedefs_function in
2581 gdb.pretty_printers.
2583 2017-08-18 Yao Qi <yao.qi@linaro.org>
2585 * gdb.server/unittest.exp: New.
2587 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2590 * gdb.base/environ.exp: Add test to check if 'unset environment'
2593 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2595 * lib/gdb.exp (universal_compile_options): New caching proc.
2596 (gdb_compile): Suppress GCC's coloring of messages.
2598 2017-08-14 Tom Tromey <tom@tromey.com>
2601 * gdb.base/printcmds.exp (test_radices): New function.
2602 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2603 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2604 * lib/gdb.exp (get_integer_valueof): Use p/d.
2606 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2608 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2611 2017-08-05 Tom Tromey <tom@tromey.com>
2613 * gdb.rust/simple.exp: Allow String to appear in a different
2616 2017-07-26 Yao Qi <yao.qi@linaro.org>
2618 * gdb.gdb/unittest.exp: Invoke command
2619 "maintenance check xml-descriptions".
2621 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2623 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2625 (hex128): Drop erroneous calculation of parameters.
2627 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2629 * gdb.python/py-unwind.exp: Disable stack protection when
2632 2017-07-20 Pedro Alves <palves@redhat.com>
2634 * gdb.base/default.exp (set language): Adjust expected output.
2636 2017-07-20 Pedro Alves <palves@redhat.com>
2638 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2639 (test_minsym): ... this, and make static.
2640 (get_pck__foo__bar__minsym): Rename to ...
2641 (get_test_minsym): ... this.
2642 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2643 symbol names and comments.
2644 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2645 (get_test_minsym): ... this.
2646 (pck__foo__bar__minsym__2): Rename to ...
2647 (test_minsym): ... this.
2650 2017-07-17 Pedro Alves <palves@redhat.com>
2652 * gdb.base/completion.exp: Adjust expected output.
2653 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2654 the completer works.
2656 2017-07-17 Pedro Alves <palves@redhat.com>
2658 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2660 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2662 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2664 2017-07-14 Tom Tromey <tom@tromey.com>
2667 * gdb.rust/simple.exp: Add tests.
2669 2017-07-14 Tom Tromey <tom@tromey.com>
2671 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2673 2017-07-14 Pedro Alves <palves@redhat.com>
2675 * gdb.linespec/base/one/thefile.cc (z1): New function.
2676 * gdb.linespec/base/two/thefile.cc (z2): New function.
2677 * gdb.linespec/linespec.exp: Add tests.
2679 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2681 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2682 to mi_create_breakpoint.
2684 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2686 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2687 mi_create_breakpoint.
2689 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2691 * gdb.dlang/demangle.exp: Update for demangling changes.
2693 2017-07-09 Tom Tromey <tom@tromey.com>
2695 * gdb.dwarf2/shortpiece.exp: New file.
2697 2017-07-06 David Blaikie <dblaikie@gmail.com>
2699 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2700 built from fissiont-multi-cu{1,2}.c.
2701 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2702 except putting 'main' and 'func' in separate CUs in the same DWO file.
2703 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2705 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2708 2017-07-06 Pedro Alves <palves@redhat.com>
2710 * gdb.python/py-unwind.exp: Test flushregs.
2712 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2715 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2716 tests for alias commands and trailing whitespace.
2718 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2721 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2724 2017-06-29 Pedro Alves <palves@redhat.com>
2726 * gdb.base/printcmds.exp: Add tests.
2728 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2731 * gdb.base/reread-readsym.exp: New file.
2732 * gdb.base/reread-readsym.c: New file.
2734 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2736 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2739 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2741 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2743 * gdb.arch/powerpc-power9.s: Likewise.
2745 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2747 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2748 on 32-bit x86 targets. Exploit is_*_target macros where
2751 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2753 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2756 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2758 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2759 located in one or more DWARF pieces.
2761 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2763 * lib/gdb.exp (get_endianness): New proc.
2764 * gdb.arch/aarch64-fp.exp: Use it.
2765 * gdb.arch/altivec-regs.exp: Likewise.
2766 * gdb.arch/e500-regs.exp: Likewise.
2767 * gdb.arch/vsx-regs.exp: Likewise.
2768 * gdb.base/dump.exp: Likewise.
2769 * gdb.base/funcargs.exp: Likewise.
2770 * gdb.base/gnu_vector.exp: Likewise.
2771 * gdb.dwarf2/formdata16.exp: Likewise.
2772 * gdb.dwarf2/implptrpiece.exp: Likewise.
2773 * gdb.dwarf2/nonvar-access.exp: Likewise.
2774 * gdb.python/py-inferior.exp: Likewise.
2775 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2777 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2781 stack value pieces are taken from the LSB end.
2783 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2785 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2786 variable at nonzero offset.
2788 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2790 * gdb.dwarf2/var-access.c: New file.
2791 * gdb.dwarf2/var-access.exp: New test.
2792 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2794 2017-06-12 Tom Tromey <tom@tromey.com>
2796 * gdb.dwarf2/formdata16.exp: Add tests.
2798 2017-06-12 Tom Tromey <tom@tromey.com>
2800 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2802 2017-06-12 Tom Tromey <tom@tromey.com>
2805 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2806 * gdb.arch/vsx-regs.exp: Update tests.
2807 * gdb.arch/s390-vregs.exp (hex128): New proc.
2809 * gdb.arch/altivec-regs.exp: Update tests.
2811 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2813 * gdb.base/startup-with-shell.c: New file.
2814 * gdb.base/startup-with-shell.exp: Likewise.
2816 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2818 * gdb.server/non-existing-program.exp: Update regex in order to
2819 reflect the fact that gdbserver is now using fork_inferior (with a
2820 shell) to startup the inferior.
2822 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2824 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2825 support function calls from GDB.
2827 2017-05-21 Tom Tromey <tom@tromey.com>
2830 * gdb.rust/unsized.exp: New file.
2831 * gdb.rust/unsized.rs: New file.
2833 2017-05-19 Tom Tromey <tom@tromey.com>
2836 * gdb.rust/watch.exp: New file.
2837 * gdb.rust/watch.rs: New file.
2839 2017-05-18 Tom Tromey <tom@tromey.com>
2841 * gdb.rust/simple.exp: Allow Box to be qualified.
2843 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2845 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2847 2017-05-18 Pedro Alves <palves@redhat.com>
2849 * gdb.base/fileio.c (test_write, test_read, test_close)
2850 (test_fstat): Don't print 'ret' in the fail path.
2852 2017-05-18 Pedro Alves <palves@redhat.com>
2854 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2855 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2856 (test_system, test_rename, test_unlink, test_time): Change
2858 * gdb.base/fileio.exp (stop_msg): Adjust.
2860 2017-05-18 Pedro Alves <palves@redhat.com>
2862 * gdb.base/fileio.c (null_str): New global.
2863 (test_stat): Use it.
2864 * gdb.base/fileio.exp: Remove nowarnings.
2866 2017-05-17 Yao Qi <yao.qi@linaro.org>
2868 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2870 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2872 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2874 (top-level): Invoke test_set_inferior_tty.
2876 2017-05-04 Pedro Alves <palves@redhat.com>
2878 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2879 Add parens to print call for Python 3.
2881 2017-05-03 Keith Seitz <keiths@redhat.com>
2883 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2886 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2888 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2891 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2893 * gdb.python/py-record-btrace.exp: Remove test for
2894 gdb.BtraceInstruction.error.
2896 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2898 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2900 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2902 * gdb.python/py-record-btrace-threads.c: New file.
2903 * gdb.python/py-record-btrace-threads.exp: New file.
2905 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2908 * gdb.base/environ.exp: Make test available in all architectures.
2909 Move bits related to "info program" testing to
2910 gdb.base/info-program.exp. Rewrite tests to use the two new
2911 procedures mentione below.
2912 (test_set_show_env_var) New procedure.
2913 (test_set_show_env_var_equal): Likewise.
2914 * gdb.base/info-program.exp: New file.
2916 2017-04-27 Keith Seitz <keiths@redhat.com>
2918 * gdb.cp/oranking.cc (test15): New function.
2919 (main): Call test15 and declare additional variables for testing.
2920 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2921 "p foo101('abc')" tests.
2922 Add tests for cv qualifier overloads.
2923 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2924 "lvalue reference overload" test.
2925 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2926 "print value of f1 on Child&& in f2" test.
2928 2017-04-19 Pedro Alves <palves@redhat.com>
2930 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2932 (top level): Call it.
2933 * lib/gdb.exp (gdb_define_cmd): New procedure.
2935 2017-04-12 Pedro Alves <palves@redhat.com>
2938 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2939 (wchar): New global.
2940 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2941 (do_test_wide_char, wide_char_types_no_program, top level): Add
2944 2017-04-12 Pedro Alves <palves@redhat.com>
2947 * gdb.cp/wide_char_types.c: New file.
2948 * gdb.cp/wide_char_types.exp: New file.
2950 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2953 * gdb.trace/tsv.exp: Add test for "tsave -r".
2955 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2957 * gdb.dlang/watch-loc.c: New file.
2958 * gdb.dlang/watch-loc.exp: New file.
2960 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2962 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2964 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2966 * gdb.arch/arc-analyze-prologue.S: New file.
2967 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2969 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2971 * gdb.arch/arc-decode-insn.S: New file.
2972 * gdb.arch/arc-decode-insn.exp: Likewise.
2974 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2977 * gdb.arch/sparc64-regs.exp: New file.
2978 * gdb.arch/sparc64-regs.S: Likewise.
2980 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2982 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2983 and memory view on Python 3.
2985 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2986 Keith Seitz <keiths@redhat.com>
2989 * gdb.cp/demangle.exp: Add rvalue reference tests.
2990 * gdb.cp/rvalue-ref-casts.cc: New file.
2991 * gdb.cp/rvalue-ref-casts.exp: New file.
2992 * gdb.cp/rvalue-ref-overload.cc: New file.
2993 * gdb.cp/rvalue-ref-overload.exp: New file.
2994 * gdb.cp/rvalue-ref-params.cc: New file.
2995 * gdb.cp/rvalue-ref-params.exp: New file.
2996 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2997 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2998 * gdb.cp/rvalue-ref-types.cc: New file.
2999 * gdb.cp/rvalue-ref-types.exp: New file.
3000 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3001 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3003 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3005 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3008 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3010 * lib/mi-support.exp (mi_gdb_test): Add additional message
3011 for unexpected output.
3013 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3015 * gdb.base/examine-backward.c (Barrier): New character array
3016 constant, to ensure that TestStrings is preceded by a string
3019 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3021 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3022 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3023 and implicit pointer into such a location.
3025 2017-03-16 Doug Evans <dje@google.com>
3027 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3029 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3031 * gdb.cp/m-static.exp: Fix expectation for prototype of
3032 test5.single_constructor and single_constructor::single_constructor.
3034 2017-03-16 Doug Evans <dje@google.com>
3036 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3037 * gdb.guile/scm-lazy-string.c: New file.
3038 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3039 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3040 for pointer, array, typedef lazy strings.
3042 2017-03-16 Doug Evans <dje@google.com>
3044 PR python/17728, python/18439, python/18779
3045 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3046 * gdb.python/py-lazy-string.c (pointer): New typedef.
3047 (main): New locals ptr, array, typedef_ptr.
3048 * gdb.python/py-value.exp: Move lazy string tests to ...
3049 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3050 array, typedef lazy strings.
3052 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3054 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3055 Add optional 'test' parameter.
3057 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3059 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3060 Skip for versions of DejaGnu < 1.5.
3062 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3064 * lib/gdb.exp (dejagnu_version): New proc.
3065 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3066 Use dejagnu_version.
3068 2017-03-10 Keith Seitz <keiths@redhat.com>
3071 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3072 type from destructor regexps.
3073 Add a branch which actually passes the test.
3074 Adjust "ptype t5i" test names.
3076 2017-03-08 Pedro Alves <palves@redhat.com>
3078 * gdb.base/step-over-exit.exp: Add explicit test message.
3080 2017-03-08 Pedro Alves <palves@redhat.com>
3083 * gdb.threads/interrupt-while-step-over.c: New file.
3084 * gdb.threads/interrupt-while-step-over.exp: New file.
3086 2017-03-08 Pedro Alves <palves@redhat.com>
3088 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3089 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3091 2017-03-08 Pedro Alves <palves@redhat.com>
3093 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3094 PKRU as not supported as a PASS.
3096 2017-03-08 Pedro Alves <palves@redhat.com>
3098 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3099 prefix instead of $binfile1/$binfile2.
3100 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3102 * gdb.python/py-completion.exp: Use "load python file" as test
3103 messages instead of unstable path names.
3105 2017-03-08 Pedro Alves <palves@redhat.com>
3106 Jan Kratochvil <jan.kratochvil@redhat.com>
3109 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3111 (top level): Call it.
3113 2017-03-08 Pedro Alves <palves@redhat.com>
3116 * gdb.tui/tui-nl-filtered-output.exp: New file.
3118 2017-03-08 Pedro Alves <palves@redhat.com>
3120 * gdb.base/completion.exp: Move TUI completion tests to ...
3121 * gdb.tui/completion.exp: ... this new file.
3123 2017-03-08 Pedro Alves <palves@redhat.com>
3125 * gdb.base/tui-disasm-long-lines.c,
3126 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3127 gdb.base/tui-layout.exp: Move to ...
3128 * gdb.tui/: ... this new directory.
3130 2017-03-07 Pedro Alves <palves@redhat.com>
3132 * gdb.base/tui-layout.c: New file.
3133 * gdb.base/tui-layout.exp: New file.
3135 2017-03-07 Pedro Alves <palves@redhat.com>
3137 * gdb.base/tui-layout.c: Rename to ...
3138 * gdb.base/tui-disasm-long-lines.c: ... this.
3139 * gdb.base/tui-layout.exp: Rename to ...
3140 * gdb.base/tui-disasm-long-lines.exp: ... this.
3142 2017-03-07 Pedro Alves <palves@redhat.com>
3144 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3146 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3148 * i386-mpx-call.c: New file.
3149 * i386-mpx-call.exp: New file.
3151 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3153 * gdb.arch/powerpc-power.exp: Delete test.
3154 * gdb.arch/powerpc-power.s: Likewise.
3155 * gdb.disasm/disassembler-options.exp: New test.
3156 * gdb.arch/powerpc-altivec.exp: Likewise.
3157 * gdb.arch/powerpc-altivec.s: Likewise.
3158 * gdb.arch/powerpc-altivec2.exp: Likewise.
3159 * gdb.arch/powerpc-altivec2.s: Likewise.
3160 * gdb.arch/powerpc-altivec3.exp: Likewise.
3161 * gdb.arch/powerpc-altivec3.s: Likewise.
3162 * gdb.arch/powerpc-power7.exp: Likewise.
3163 * gdb.arch/powerpc-power7.s: Likewise.
3164 * gdb.arch/powerpc-power8.exp: Likewise.
3165 * gdb.arch/powerpc-power8.s: Likewise.
3166 * gdb.arch/powerpc-power9.exp: Likewise.
3167 * gdb.arch/powerpc-power9.s: Likewise.
3168 * gdb.arch/powerpc-vsx.exp: Likewise.
3169 * gdb.arch/powerpc-vsx.s: Likewise.
3170 * gdb.arch/powerpc-vsx2.exp: Likewise.
3171 * gdb.arch/powerpc-vsx2.s: Likewise.
3172 * gdb.arch/powerpc-vsx3.exp: Likewise.
3173 * gdb.arch/powerpc-vsx3.s: Likewise.
3174 * gdb.arch/arm-disassembler-options.exp: Likewise.
3175 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3176 * gdb.arch/s390-disassembler-options.exp: Likewise.
3178 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3180 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3181 (check_supported_features): ... this. Changed return type to void.
3182 (supports_rdseed): New static global.
3183 (rdseed): Check supports_rdseed.
3184 (initialize): Call check_supported_features.
3186 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3188 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3189 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3191 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3192 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3194 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3196 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3199 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3201 * gdb.dwarf2/formdata16.c: New file.
3202 * gdb.dwarf2/formdata16.exp: New file.
3203 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3205 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3207 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3208 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3209 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3210 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3213 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3215 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3217 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3220 * gdb.base/maint.exp: Add testcases for when the commands do
3223 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3225 * gdb.cp/chained-calls.exp: Use p instead of P.
3227 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3229 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3230 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3232 2017-02-14 Tom Tromey <tom@tromey.com>
3235 * gdb.python/py-events.exp: Add before_prompt event tests.
3237 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3239 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3241 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3243 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3244 (main): Call my_unique_function_name.
3245 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3246 completion of patterns with a single match.
3247 Add missing -re switches to gdb_test_multiple calls.
3249 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3251 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3252 return if core file is not recognized.
3254 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3256 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3259 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
3261 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3264 2017-02-10 Tom Tromey <tom@tromey.com>
3266 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3268 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
3271 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3273 2017-02-08 Jerome Guitton <guitton@adacore.com>
3275 * gdb.base/define.exp: Add test for command abbreviations
3278 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
3280 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3281 * gdb.reverse/insn-reverse-x86.c: New file.
3283 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
3286 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3288 2017-02-03 Tom Tromey <tom@tromey.com>
3291 * gdb.rust/simple.exp: Add new tests.
3293 2017-02-02 Pedro Alves <palves@redhat.com>
3295 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3298 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3300 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3301 taking a 2-byte value out of a 4-byte DWARF implicit value on
3303 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3304 logic. Add test cases for DW_OP_implicit.
3306 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3308 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3310 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3312 * gdb.btrace/enable.exp: Call gdb_exit before
3313 skip_gdbserver_tests.
3315 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3317 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3320 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3322 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3323 the test is skipped.
3324 * gdb.btrace/data.exp: Likewise.
3325 * gdb.btrace/delta.exp: Likewise.
3326 * gdb.btrace/dlopen.exp: Likewise.
3327 * gdb.btrace/enable-running.exp: Likewise.
3328 * gdb.btrace/enable.exp: Likewise.
3329 * gdb.btrace/exception.exp: Likewise.
3330 * gdb.btrace/function_call_history.exp: Likewise.
3331 * gdb.btrace/gcore.exp: Likewise.
3332 * gdb.btrace/instruction_history.exp: Likewise.
3333 * gdb.btrace/multi-thread-step.exp: Likewise.
3334 * gdb.btrace/nohist.exp: Likewise.
3335 * gdb.btrace/non-stop.exp: Likewise.
3336 * gdb.btrace/reconnect.exp: Likewise.
3337 * gdb.btrace/record_goto-step.exp: Likewise.
3338 * gdb.btrace/record_goto.exp: Likewise.
3339 * gdb.btrace/rn-dl-bind.exp: Likewise.
3340 * gdb.btrace/segv.exp: Likewise.
3341 * gdb.btrace/step.exp: Likewise.
3342 * gdb.btrace/stepi.exp: Likewise.
3343 * gdb.btrace/tailcall-only.exp: Likewise.
3344 * gdb.btrace/tailcall.exp: Likewise.
3345 * gdb.btrace/tsx.exp: Likewise.
3346 * gdb.btrace/unknown_functions.exp: Likewise.
3347 * gdb.btrace/vdso.exp: Likewise.
3349 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
3351 * gdb.btrace/enable-running.c: New.
3352 * gdb.btrace/enable-running.exp: New.
3354 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3356 * gdb.arch/amd64-gs_base.c: New file.
3357 * gdb.arch/amd64-gs_base.exp: New file.
3359 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3361 * lib/memory.exp: Remove spurious empty newlines.
3363 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
3365 * gdb.python/py-bad-printers.exp: Load python file using "source".
3366 * gdb.python/py-events.exp: Likewise.
3367 * gdb.python/py-evsignal.exp: Likewise.
3368 * gdb.python/py-evthreads.exp: Likewise.
3369 * gdb.python/py-frame-args.exp: Likewise.
3370 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3371 * gdb.python/py-framefilter-mi.exp: Likewise.
3372 * gdb.python/py-framefilter.exp: Likewise.
3373 * gdb.python/py-mi.exp: Likewise.
3374 * gdb.python/py-pp-maint.exp: Likewise.
3375 * gdb.python/py-pp-registration.exp: Likewise.
3376 * gdb.python/py-prettyprint.exp: Likewise.
3377 (run_lang_tests): Likewise.
3378 * gdb.python/py-typeprint.exp: Likewise.
3380 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3382 * lib/memory.exp: New file.
3383 * lib/gdb.exp: Load memory.exp.
3384 * gdb.base/memattr.exp (delete_memory): Move proc to
3385 lib/memory.exp and rename to delete_memory_regions.
3386 Replace delete_memory with delete_memory_regions.
3387 Cleanup memory regions before tests.
3388 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3391 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
3393 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3395 (initialize): New function conditionally defined.
3396 (testcases): Move within conditional block.
3397 (main): Call initialize.
3398 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3399 of gdb.reverse/insn-reverse.c.
3400 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3401 gdb.reverse/insn-reverse.c.
3403 2017-01-26 Yao Qi <yao.qi@linaro.org>
3405 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3406 disassemble on address 0.
3408 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
3409 Yao Qi <yao.qi@linaro.org>
3411 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3412 * gdb.dwarf2/implptr-64bit.S: Remove.
3413 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
3414 variables in caller's context. Add DW_OP_implicit_value.
3416 2017-01-25 Yao Qi <yao.qi@linaro.org>
3418 * lib/dwarf.exp (Dwarf::_location): Handle
3419 DW_OP_GNU_implicit_pointer with proper size.
3421 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3423 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3424 and add untested calls.
3426 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
3428 * gdb.python/python.exp: Check line number against what GDB thinks
3429 the line number is for func1.
3431 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
3433 * gdb.dlang/debug-expr.exp: New file.
3435 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
3437 Fix test names for the following files:
3439 * gdb.ada/exec_changed.exp
3440 * gdb.ada/info_types.exp
3441 * gdb.arch/aarch64-atomic-inst.exp
3442 * gdb.arch/aarch64-fp.exp
3443 * gdb.arch/altivec-abi.exp
3444 * gdb.arch/altivec-regs.exp
3445 * gdb.arch/amd64-byte.exp
3446 * gdb.arch/amd64-disp-step.exp
3447 * gdb.arch/amd64-dword.exp
3448 * gdb.arch/amd64-entry-value-inline.exp
3449 * gdb.arch/amd64-entry-value-param.exp
3450 * gdb.arch/amd64-entry-value-paramref.exp
3451 * gdb.arch/amd64-entry-value.exp
3452 * gdb.arch/amd64-i386-address.exp
3453 * gdb.arch/amd64-invalid-stack-middle.exp
3454 * gdb.arch/amd64-invalid-stack-top.exp
3455 * gdb.arch/amd64-optimout-repeat.exp
3456 * gdb.arch/amd64-prologue-skip.exp
3457 * gdb.arch/amd64-prologue-xmm.exp
3458 * gdb.arch/amd64-stap-special-operands.exp
3459 * gdb.arch/amd64-stap-wrong-subexp.exp
3460 * gdb.arch/amd64-tailcall-cxx.exp
3461 * gdb.arch/amd64-tailcall-noret.exp
3462 * gdb.arch/amd64-tailcall-ret.exp
3463 * gdb.arch/amd64-tailcall-self.exp
3464 * gdb.arch/amd64-word.exp
3465 * gdb.arch/arm-bl-branch-dest.exp
3466 * gdb.arch/arm-disp-step.exp
3467 * gdb.arch/arm-neon.exp
3468 * gdb.arch/arm-single-step-kernel-helper.exp
3469 * gdb.arch/avr-flash-qualifier.exp
3470 * gdb.arch/disp-step-insn-reloc.exp
3471 * gdb.arch/e500-abi.exp
3472 * gdb.arch/e500-regs.exp
3473 * gdb.arch/ftrace-insn-reloc.exp
3474 * gdb.arch/i386-avx512.exp
3475 * gdb.arch/i386-bp_permanent.exp
3476 * gdb.arch/i386-byte.exp
3477 * gdb.arch/i386-cfi-notcurrent.exp
3478 * gdb.arch/i386-disp-step.exp
3479 * gdb.arch/i386-dr3-watch.exp
3480 * gdb.arch/i386-float.exp
3481 * gdb.arch/i386-gnu-cfi.exp
3482 * gdb.arch/i386-mpx-map.exp
3483 * gdb.arch/i386-mpx-sigsegv.exp
3484 * gdb.arch/i386-mpx-simple_segv.exp
3485 * gdb.arch/i386-mpx.exp
3486 * gdb.arch/i386-permbkpt.exp
3487 * gdb.arch/i386-prologue.exp
3488 * gdb.arch/i386-signal.exp
3489 * gdb.arch/i386-size-overlap.exp
3490 * gdb.arch/i386-unwind.exp
3491 * gdb.arch/i386-word.exp
3492 * gdb.arch/mips-fcr.exp
3493 * gdb.arch/powerpc-d128-regs.exp
3494 * gdb.arch/powerpc-stackless.exp
3495 * gdb.arch/ppc64-atomic-inst.exp
3496 * gdb.arch/s390-stackless.exp
3497 * gdb.arch/s390-tdbregs.exp
3498 * gdb.arch/s390-vregs.exp
3499 * gdb.arch/sparc-sysstep.exp
3500 * gdb.arch/thumb-bx-pc.exp
3501 * gdb.arch/thumb-singlestep.exp
3502 * gdb.arch/thumb2-it.exp
3503 * gdb.arch/vsx-regs.exp
3504 * gdb.asm/asm-source.exp
3505 * gdb.base/a2-run.exp
3506 * gdb.base/advance.exp
3507 * gdb.base/all-bin.exp
3510 * gdb.base/arithmet.exp
3511 * gdb.base/async-shell.exp
3512 * gdb.base/async.exp
3513 * gdb.base/attach-pie-noexec.exp
3514 * gdb.base/attach-twice.exp
3515 * gdb.base/auto-load.exp
3517 * gdb.base/bitfields.exp
3518 * gdb.base/break-always.exp
3519 * gdb.base/break-caller-line.exp
3520 * gdb.base/break-entry.exp
3521 * gdb.base/break-inline.exp
3522 * gdb.base/break-on-linker-gcd-function.exp
3523 * gdb.base/break-probes.exp
3524 * gdb.base/break.exp
3525 * gdb.base/breakpoint-shadow.exp
3526 * gdb.base/call-ar-st.exp
3527 * gdb.base/call-sc.exp
3528 * gdb.base/call-signal-resume.exp
3529 * gdb.base/call-strs.exp
3530 * gdb.base/callfuncs.exp
3531 * gdb.base/catch-fork-static.exp
3532 * gdb.base/catch-gdb-caused-signals.exp
3533 * gdb.base/catch-load.exp
3534 * gdb.base/catch-signal-fork.exp
3535 * gdb.base/catch-signal.exp
3536 * gdb.base/catch-syscall.exp
3537 * gdb.base/charset.exp
3538 * gdb.base/checkpoint.exp
3539 * gdb.base/chng-syms.exp
3540 * gdb.base/code-expr.exp
3541 * gdb.base/code_elim.exp
3542 * gdb.base/commands.exp
3543 * gdb.base/completion.exp
3544 * gdb.base/complex.exp
3545 * gdb.base/cond-expr.exp
3546 * gdb.base/condbreak.exp
3547 * gdb.base/consecutive.exp
3548 * gdb.base/continue-all-already-running.exp
3549 * gdb.base/coredump-filter.exp
3550 * gdb.base/corefile.exp
3552 * gdb.base/debug-expr.exp
3553 * gdb.base/define.exp
3555 * gdb.base/disabled-location.exp
3556 * gdb.base/disasm-end-cu.exp
3557 * gdb.base/disasm-optim.exp
3558 * gdb.base/display.exp
3559 * gdb.base/duplicate-bp.exp
3560 * gdb.base/ena-dis-br.exp
3561 * gdb.base/ending-run.exp
3562 * gdb.base/enumval.exp
3563 * gdb.base/environ.exp
3564 * gdb.base/eu-strip-infcall.exp
3565 * gdb.base/eval-avoid-side-effects.exp
3566 * gdb.base/eval-skip.exp
3567 * gdb.base/exitsignal.exp
3568 * gdb.base/expand-psymtabs.exp
3569 * gdb.base/filesym.exp
3570 * gdb.base/find-unmapped.exp
3571 * gdb.base/finish.exp
3572 * gdb.base/float.exp
3573 * gdb.base/foll-exec-mode.exp
3574 * gdb.base/foll-exec.exp
3575 * gdb.base/foll-fork.exp
3576 * gdb.base/fortran-sym-case.exp
3577 * gdb.base/freebpcmd.exp
3578 * gdb.base/func-ptr.exp
3579 * gdb.base/func-ptrs.exp
3580 * gdb.base/funcargs.exp
3581 * gdb.base/gcore-buffer-overflow.exp
3582 * gdb.base/gcore-relro-pie.exp
3583 * gdb.base/gcore-relro.exp
3584 * gdb.base/gcore.exp
3585 * gdb.base/gdb1090.exp
3586 * gdb.base/gdb11530.exp
3587 * gdb.base/gdb11531.exp
3588 * gdb.base/gdb1821.exp
3589 * gdb.base/gdbindex-stabs.exp
3590 * gdb.base/gdbvars.exp
3591 * gdb.base/hbreak.exp
3592 * gdb.base/hbreak2.exp
3593 * gdb.base/included.exp
3594 * gdb.base/infcall-input.exp
3595 * gdb.base/inferior-died.exp
3596 * gdb.base/infnan.exp
3597 * gdb.base/info-macros.exp
3598 * gdb.base/info-os.exp
3599 * gdb.base/info-proc.exp
3600 * gdb.base/info-shared.exp
3601 * gdb.base/info-target.exp
3602 * gdb.base/infoline.exp
3603 * gdb.base/interp.exp
3604 * gdb.base/interrupt.exp
3605 * gdb.base/jit-reader.exp
3606 * gdb.base/jit-simple.exp
3607 * gdb.base/kill-after-signal.exp
3608 * gdb.base/kill-detach-inferiors-cmd.exp
3609 * gdb.base/label.exp
3610 * gdb.base/langs.exp
3611 * gdb.base/ldbl_e308.exp
3612 * gdb.base/line-symtabs.exp
3613 * gdb.base/linespecs.exp
3615 * gdb.base/long_long.exp
3616 * gdb.base/longest-types.exp
3617 * gdb.base/maint.exp
3618 * gdb.base/max-value-size.exp
3619 * gdb.base/memattr.exp
3620 * gdb.base/mips_pro.exp
3621 * gdb.base/morestack.exp
3622 * gdb.base/moribund-step.exp
3623 * gdb.base/multi-forks.exp
3624 * gdb.base/nested-addr.exp
3625 * gdb.base/nextoverexit.exp
3626 * gdb.base/noreturn-finish.exp
3627 * gdb.base/noreturn-return.exp
3628 * gdb.base/nostdlib.exp
3629 * gdb.base/offsets.exp
3630 * gdb.base/opaque.exp
3631 * gdb.base/pc-fp.exp
3632 * gdb.base/permissions.exp
3633 * gdb.base/print-symbol-loading.exp
3634 * gdb.base/prologue-include.exp
3635 * gdb.base/psymtab.exp
3636 * gdb.base/ptype.exp
3637 * gdb.base/random-signal.exp
3638 * gdb.base/randomize.exp
3639 * gdb.base/range-stepping.exp
3640 * gdb.base/readline-ask.exp
3641 * gdb.base/recpar.exp
3642 * gdb.base/recurse.exp
3643 * gdb.base/relational.exp
3644 * gdb.base/restore.exp
3645 * gdb.base/return-nodebug.exp
3646 * gdb.base/return.exp
3647 * gdb.base/run-after-attach.exp
3648 * gdb.base/save-bp.exp
3649 * gdb.base/scope.exp
3650 * gdb.base/sect-cmd.exp
3651 * gdb.base/set-lang-auto.exp
3652 * gdb.base/set-noassign.exp
3653 * gdb.base/setvar.exp
3654 * gdb.base/sigall.exp
3655 * gdb.base/sigbpt.exp
3656 * gdb.base/siginfo-addr.exp
3657 * gdb.base/siginfo-infcall.exp
3658 * gdb.base/siginfo-obj.exp
3659 * gdb.base/siginfo.exp
3660 * gdb.base/signals-state-child.exp
3661 * gdb.base/signest.exp
3662 * gdb.base/sigstep.exp
3663 * gdb.base/sizeof.exp
3665 * gdb.base/solib-corrupted.exp
3666 * gdb.base/solib-nodir.exp
3667 * gdb.base/solib-search.exp
3668 * gdb.base/stack-checking.exp
3669 * gdb.base/stale-infcall.exp
3670 * gdb.base/stap-probe.exp
3671 * gdb.base/start.exp
3672 * gdb.base/step-break.exp
3673 * gdb.base/step-bt.exp
3674 * gdb.base/step-line.exp
3675 * gdb.base/step-over-exit.exp
3676 * gdb.base/step-over-syscall.exp
3677 * gdb.base/step-resume-infcall.exp
3678 * gdb.base/step-test.exp
3679 * gdb.base/store.exp
3680 * gdb.base/structs3.exp
3681 * gdb.base/sym-file.exp
3682 * gdb.base/symbol-without-target_section.exp
3684 * gdb.base/testenv.exp
3685 * gdb.base/ui-redirect.exp
3686 * gdb.base/until.exp
3687 * gdb.base/unwindonsignal.exp
3688 * gdb.base/value-double-free.exp
3689 * gdb.base/vla-datatypes.exp
3690 * gdb.base/vla-ptr.exp
3691 * gdb.base/vla-sideeffect.exp
3692 * gdb.base/volatile.exp
3693 * gdb.base/watch-cond-infcall.exp
3694 * gdb.base/watch-cond.exp
3695 * gdb.base/watch-non-mem.exp
3696 * gdb.base/watch-read.exp
3697 * gdb.base/watch-vfork.exp
3698 * gdb.base/watchpoint-cond-gone.exp
3699 * gdb.base/watchpoint-delete.exp
3700 * gdb.base/watchpoint-hw-hit-once.exp
3701 * gdb.base/watchpoint-hw.exp
3702 * gdb.base/watchpoint-stops-at-right-insn.exp
3703 * gdb.base/watchpoints.exp
3704 * gdb.base/wchar.exp
3705 * gdb.base/whatis-exp.exp
3706 * gdb.btrace/buffer-size.exp
3707 * gdb.btrace/data.exp
3708 * gdb.btrace/delta.exp
3709 * gdb.btrace/dlopen.exp
3710 * gdb.btrace/enable.exp
3711 * gdb.btrace/exception.exp
3712 * gdb.btrace/function_call_history.exp
3713 * gdb.btrace/gcore.exp
3714 * gdb.btrace/instruction_history.exp
3715 * gdb.btrace/nohist.exp
3716 * gdb.btrace/reconnect.exp
3717 * gdb.btrace/record_goto-step.exp
3718 * gdb.btrace/record_goto.exp
3719 * gdb.btrace/rn-dl-bind.exp
3720 * gdb.btrace/segv.exp
3721 * gdb.btrace/step.exp
3722 * gdb.btrace/stepi.exp
3723 * gdb.btrace/tailcall-only.exp
3724 * gdb.btrace/tailcall.exp
3725 * gdb.btrace/tsx.exp
3726 * gdb.btrace/unknown_functions.exp
3727 * gdb.btrace/vdso.exp
3728 * gdb.compile/compile-ifunc.exp
3729 * gdb.compile/compile-ops.exp
3730 * gdb.compile/compile-print.exp
3731 * gdb.compile/compile-setjmp.exp
3732 * gdb.cp/abstract-origin.exp
3733 * gdb.cp/ambiguous.exp
3734 * gdb.cp/annota2.exp
3735 * gdb.cp/annota3.exp
3736 * gdb.cp/anon-ns.exp
3737 * gdb.cp/anon-struct.exp
3738 * gdb.cp/anon-union.exp
3739 * gdb.cp/arg-reference.exp
3740 * gdb.cp/baseenum.exp
3742 * gdb.cp/breakpoint.exp
3743 * gdb.cp/bs15503.exp
3746 * gdb.cp/chained-calls.exp
3748 * gdb.cp/classes.exp
3749 * gdb.cp/cmpd-minsyms.exp
3750 * gdb.cp/converts.exp
3751 * gdb.cp/cp-relocate.exp
3752 * gdb.cp/cpcompletion.exp
3753 * gdb.cp/cpexprs.exp
3754 * gdb.cp/cplabel.exp
3755 * gdb.cp/cplusfuncs.exp
3756 * gdb.cp/cpsizeof.exp
3758 * gdb.cp/derivation.exp
3759 * gdb.cp/destrprint.exp
3760 * gdb.cp/dispcxx.exp
3761 * gdb.cp/enum-class.exp
3762 * gdb.cp/exception.exp
3763 * gdb.cp/exceptprint.exp
3764 * gdb.cp/expand-psymtabs-cxx.exp
3765 * gdb.cp/expand-sals.exp
3766 * gdb.cp/extern-c.exp
3767 * gdb.cp/filename.exp
3768 * gdb.cp/formatted-ref.exp
3769 * gdb.cp/fpointer.exp
3770 * gdb.cp/gdb1355.exp
3771 * gdb.cp/gdb2495.exp
3773 * gdb.cp/impl-this.exp
3774 * gdb.cp/infcall-dlopen.exp
3775 * gdb.cp/inherit.exp
3776 * gdb.cp/iostream.exp
3780 * gdb.cp/m-static.exp
3781 * gdb.cp/mb-ctor.exp
3782 * gdb.cp/mb-inline.exp
3783 * gdb.cp/mb-templates.exp
3784 * gdb.cp/member-name.exp
3785 * gdb.cp/member-ptr.exp
3786 * gdb.cp/meth-typedefs.exp
3788 * gdb.cp/method2.exp
3789 * gdb.cp/minsym-fallback.exp
3791 * gdb.cp/namelessclass.exp
3792 * gdb.cp/namespace-enum.exp
3793 * gdb.cp/namespace-nested-import.exp
3794 * gdb.cp/namespace.exp
3795 * gdb.cp/nextoverthrow.exp
3796 * gdb.cp/no-dmgl-verbose.exp
3797 * gdb.cp/non-trivial-retval.exp
3798 * gdb.cp/noparam.exp
3800 * gdb.cp/nsimport.exp
3801 * gdb.cp/nsnested.exp
3802 * gdb.cp/nsnoimports.exp
3803 * gdb.cp/nsrecurs.exp
3804 * gdb.cp/nsstress.exp
3805 * gdb.cp/nsusing.exp
3806 * gdb.cp/operator.exp
3807 * gdb.cp/oranking.exp
3808 * gdb.cp/overload-const.exp
3809 * gdb.cp/overload.exp
3810 * gdb.cp/ovldbreak.exp
3812 * gdb.cp/paren-type.exp
3813 * gdb.cp/parse-lang.exp
3814 * gdb.cp/pass-by-ref.exp
3815 * gdb.cp/pr-1023.exp
3816 * gdb.cp/pr-1210.exp
3818 * gdb.cp/pr10687.exp
3819 * gdb.cp/pr12028.exp
3820 * gdb.cp/pr17132.exp
3821 * gdb.cp/pr17494.exp
3825 * gdb.cp/printmethod.exp
3827 * gdb.cp/psymtab-parameter.exp
3828 * gdb.cp/ptype-cv-cp.exp
3829 * gdb.cp/ptype-flags.exp
3830 * gdb.cp/re-set-overloaded.exp
3831 * gdb.cp/ref-types.exp
3833 * gdb.cp/scope-err.exp
3836 * gdb.cp/static-method.exp
3837 * gdb.cp/static-print-quit.exp
3838 * gdb.cp/temargs.exp
3839 * gdb.cp/templates.exp
3840 * gdb.cp/try_catch.exp
3841 * gdb.cp/typedef-operator.exp
3843 * gdb.cp/userdef.exp
3844 * gdb.cp/using-crash.exp
3845 * gdb.cp/var-tag.exp
3846 * gdb.cp/virtbase.exp
3847 * gdb.cp/virtfunc.exp
3848 * gdb.cp/virtfunc2.exp
3849 * gdb.cp/vla-cxx.exp
3850 * gdb.disasm/t01_mov.exp
3851 * gdb.disasm/t02_mova.exp
3852 * gdb.disasm/t03_add.exp
3853 * gdb.disasm/t04_sub.exp
3854 * gdb.disasm/t05_cmp.exp
3855 * gdb.disasm/t06_ari2.exp
3856 * gdb.disasm/t07_ari3.exp
3857 * gdb.disasm/t08_or.exp
3858 * gdb.disasm/t09_xor.exp
3859 * gdb.disasm/t10_and.exp
3860 * gdb.disasm/t11_logs.exp
3861 * gdb.disasm/t12_bit.exp
3862 * gdb.disasm/t13_otr.exp
3863 * gdb.dlang/circular.exp
3864 * gdb.dwarf2/arr-stride.exp
3865 * gdb.dwarf2/arr-subrange.exp
3866 * gdb.dwarf2/atomic-type.exp
3867 * gdb.dwarf2/bad-regnum.exp
3868 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3869 * gdb.dwarf2/callframecfa.exp
3870 * gdb.dwarf2/clztest.exp
3871 * gdb.dwarf2/corrupt.exp
3872 * gdb.dwarf2/data-loc.exp
3873 * gdb.dwarf2/dup-psym.exp
3874 * gdb.dwarf2/dw2-anon-mptr.exp
3875 * gdb.dwarf2/dw2-anonymous-func.exp
3876 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3877 * gdb.dwarf2/dw2-bad-unresolved.exp
3878 * gdb.dwarf2/dw2-basic.exp
3879 * gdb.dwarf2/dw2-canonicalize-type.exp
3880 * gdb.dwarf2/dw2-case-insensitive.exp
3881 * gdb.dwarf2/dw2-common-block.exp
3882 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3883 * gdb.dwarf2/dw2-compressed.exp
3884 * gdb.dwarf2/dw2-const.exp
3885 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3886 * gdb.dwarf2/dw2-cu-size.exp
3887 * gdb.dwarf2/dw2-dup-frame.exp
3888 * gdb.dwarf2/dw2-entry-value.exp
3889 * gdb.dwarf2/dw2-icycle.exp
3890 * gdb.dwarf2/dw2-ifort-parameter.exp
3891 * gdb.dwarf2/dw2-inline-break.exp
3892 * gdb.dwarf2/dw2-inline-param.exp
3893 * gdb.dwarf2/dw2-intercu.exp
3894 * gdb.dwarf2/dw2-intermix.exp
3895 * gdb.dwarf2/dw2-lexical-block-bare.exp
3896 * gdb.dwarf2/dw2-linkage-name-trust.exp
3897 * gdb.dwarf2/dw2-minsym-in-cu.exp
3898 * gdb.dwarf2/dw2-noloc.exp
3899 * gdb.dwarf2/dw2-op-call.exp
3900 * gdb.dwarf2/dw2-op-out-param.exp
3901 * gdb.dwarf2/dw2-opt-structptr.exp
3902 * gdb.dwarf2/dw2-param-error.exp
3903 * gdb.dwarf2/dw2-producer.exp
3904 * gdb.dwarf2/dw2-ranges-base.exp
3905 * gdb.dwarf2/dw2-ref-missing-frame.exp
3906 * gdb.dwarf2/dw2-reg-undefined.exp
3907 * gdb.dwarf2/dw2-regno-invalid.exp
3908 * gdb.dwarf2/dw2-restore.exp
3909 * gdb.dwarf2/dw2-restrict.exp
3910 * gdb.dwarf2/dw2-single-line-discriminators.exp
3911 * gdb.dwarf2/dw2-strp.exp
3912 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3913 * gdb.dwarf2/dw2-unresolved.exp
3914 * gdb.dwarf2/dw2-var-zero-addr.exp
3915 * gdb.dwarf2/dw4-sig-types.exp
3916 * gdb.dwarf2/dwz.exp
3917 * gdb.dwarf2/dynarr-ptr.exp
3918 * gdb.dwarf2/enum-type.exp
3919 * gdb.dwarf2/gdb-index.exp
3920 * gdb.dwarf2/implptr-64bit.exp
3921 * gdb.dwarf2/implptr-optimized-out.exp
3922 * gdb.dwarf2/implptr.exp
3923 * gdb.dwarf2/implref-array.exp
3924 * gdb.dwarf2/implref-const.exp
3925 * gdb.dwarf2/implref-global.exp
3926 * gdb.dwarf2/implref-struct.exp
3927 * gdb.dwarf2/mac-fileno.exp
3928 * gdb.dwarf2/main-subprogram.exp
3929 * gdb.dwarf2/member-ptr-forwardref.exp
3930 * gdb.dwarf2/method-ptr.exp
3931 * gdb.dwarf2/missing-sig-type.exp
3932 * gdb.dwarf2/nonvar-access.exp
3933 * gdb.dwarf2/opaque-type-lookup.exp
3934 * gdb.dwarf2/pieces-optimized-out.exp
3935 * gdb.dwarf2/pieces.exp
3936 * gdb.dwarf2/pr10770.exp
3937 * gdb.dwarf2/pr13961.exp
3938 * gdb.dwarf2/staticvirtual.exp
3939 * gdb.dwarf2/subrange.exp
3940 * gdb.dwarf2/symtab-producer.exp
3941 * gdb.dwarf2/trace-crash.exp
3942 * gdb.dwarf2/typeddwarf.exp
3943 * gdb.dwarf2/valop.exp
3944 * gdb.dwarf2/watch-notconst.exp
3945 * gdb.fortran/array-element.exp
3946 * gdb.fortran/charset.exp
3947 * gdb.fortran/common-block.exp
3948 * gdb.fortran/complex.exp
3949 * gdb.fortran/derived-type-function.exp
3950 * gdb.fortran/derived-type.exp
3951 * gdb.fortran/logical.exp
3952 * gdb.fortran/module.exp
3953 * gdb.fortran/multi-dim.exp
3954 * gdb.fortran/nested-funcs.exp
3955 * gdb.fortran/print-formatted.exp
3956 * gdb.fortran/subarray.exp
3957 * gdb.fortran/vla-alloc-assoc.exp
3958 * gdb.fortran/vla-datatypes.exp
3959 * gdb.fortran/vla-history.exp
3960 * gdb.fortran/vla-ptr-info.exp
3961 * gdb.fortran/vla-ptype-sub.exp
3962 * gdb.fortran/vla-ptype.exp
3963 * gdb.fortran/vla-sizeof.exp
3964 * gdb.fortran/vla-type.exp
3965 * gdb.fortran/vla-value-sub-arbitrary.exp
3966 * gdb.fortran/vla-value-sub-finish.exp
3967 * gdb.fortran/vla-value-sub.exp
3968 * gdb.fortran/vla-value.exp
3969 * gdb.fortran/whatis_type.exp
3971 * gdb.go/handcall.exp
3973 * gdb.go/integers.exp
3974 * gdb.go/methods.exp
3975 * gdb.go/package.exp
3976 * gdb.go/strings.exp
3979 * gdb.guile/scm-arch.exp
3980 * gdb.guile/scm-block.exp
3981 * gdb.guile/scm-breakpoint.exp
3982 * gdb.guile/scm-cmd.exp
3983 * gdb.guile/scm-disasm.exp
3984 * gdb.guile/scm-equal.exp
3985 * gdb.guile/scm-frame-args.exp
3986 * gdb.guile/scm-frame-inline.exp
3987 * gdb.guile/scm-frame.exp
3988 * gdb.guile/scm-iterator.exp
3989 * gdb.guile/scm-math.exp
3990 * gdb.guile/scm-objfile.exp
3991 * gdb.guile/scm-ports.exp
3992 * gdb.guile/scm-symbol.exp
3993 * gdb.guile/scm-symtab.exp
3994 * gdb.guile/scm-value-cc.exp
3995 * gdb.guile/types-module.exp
3996 * gdb.linespec/break-ask.exp
3997 * gdb.linespec/cpexplicit.exp
3998 * gdb.linespec/explicit.exp
3999 * gdb.linespec/keywords.exp
4000 * gdb.linespec/linespec.exp
4001 * gdb.linespec/ls-dollar.exp
4002 * gdb.linespec/ls-errs.exp
4003 * gdb.linespec/skip-two.exp
4004 * gdb.linespec/thread.exp
4005 * gdb.mi/mi-async.exp
4006 * gdb.mi/mi-basics.exp
4007 * gdb.mi/mi-break.exp
4008 * gdb.mi/mi-catch-load.exp
4010 * gdb.mi/mi-cmd-param-changed.exp
4011 * gdb.mi/mi-console.exp
4012 * gdb.mi/mi-detach.exp
4013 * gdb.mi/mi-disassemble.exp
4014 * gdb.mi/mi-eval.exp
4015 * gdb.mi/mi-file-transfer.exp
4016 * gdb.mi/mi-file.exp
4017 * gdb.mi/mi-fill-memory.exp
4018 * gdb.mi/mi-inheritance-syntax-error.exp
4019 * gdb.mi/mi-linespec-err-cp.exp
4020 * gdb.mi/mi-logging.exp
4021 * gdb.mi/mi-memory-changed.exp
4022 * gdb.mi/mi-read-memory.exp
4023 * gdb.mi/mi-record-changed.exp
4024 * gdb.mi/mi-reg-undefined.exp
4025 * gdb.mi/mi-regs.exp
4026 * gdb.mi/mi-return.exp
4027 * gdb.mi/mi-reverse.exp
4028 * gdb.mi/mi-simplerun.exp
4029 * gdb.mi/mi-solib.exp
4030 * gdb.mi/mi-stack.exp
4031 * gdb.mi/mi-stepi.exp
4032 * gdb.mi/mi-syn-frame.exp
4033 * gdb.mi/mi-until.exp
4034 * gdb.mi/mi-var-block.exp
4035 * gdb.mi/mi-var-child.exp
4036 * gdb.mi/mi-var-cmd.exp
4037 * gdb.mi/mi-var-cp.exp
4038 * gdb.mi/mi-var-display.exp
4039 * gdb.mi/mi-var-invalidate.exp
4040 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4041 * gdb.mi/mi-vla-fortran.exp
4042 * gdb.mi/mi-watch.exp
4043 * gdb.mi/mi2-var-child.exp
4044 * gdb.mi/user-selected-context-sync.exp
4045 * gdb.modula2/unbounded-array.exp
4046 * gdb.multi/dummy-frame-restore.exp
4047 * gdb.multi/multi-arch-exec.exp
4048 * gdb.multi/multi-arch.exp
4049 * gdb.multi/tids.exp
4050 * gdb.multi/watchpoint-multi.exp
4051 * gdb.opencl/callfuncs.exp
4052 * gdb.opencl/convs_casts.exp
4053 * gdb.opencl/datatypes.exp
4054 * gdb.opencl/operators.exp
4055 * gdb.opencl/vec_comps.exp
4056 * gdb.opt/clobbered-registers-O2.exp
4057 * gdb.opt/inline-break.exp
4058 * gdb.opt/inline-bt.exp
4059 * gdb.opt/inline-cmds.exp
4060 * gdb.opt/inline-locals.exp
4061 * gdb.pascal/case-insensitive-symbols.exp
4062 * gdb.pascal/floats.exp
4063 * gdb.pascal/gdb11492.exp
4064 * gdb.python/lib-types.exp
4065 * gdb.python/py-arch.exp
4066 * gdb.python/py-as-string.exp
4067 * gdb.python/py-bad-printers.exp
4068 * gdb.python/py-block.exp
4069 * gdb.python/py-breakpoint-create-fail.exp
4070 * gdb.python/py-breakpoint.exp
4071 * gdb.python/py-caller-is.exp
4072 * gdb.python/py-cmd.exp
4073 * gdb.python/py-explore-cc.exp
4074 * gdb.python/py-explore.exp
4075 * gdb.python/py-finish-breakpoint.exp
4076 * gdb.python/py-finish-breakpoint2.exp
4077 * gdb.python/py-frame-args.exp
4078 * gdb.python/py-frame-inline.exp
4079 * gdb.python/py-frame.exp
4080 * gdb.python/py-framefilter-mi.exp
4081 * gdb.python/py-infthread.exp
4082 * gdb.python/py-lazy-string.exp
4083 * gdb.python/py-linetable.exp
4084 * gdb.python/py-mi-events.exp
4085 * gdb.python/py-mi-objfile.exp
4086 * gdb.python/py-mi.exp
4087 * gdb.python/py-objfile.exp
4088 * gdb.python/py-pp-integral.exp
4089 * gdb.python/py-pp-maint.exp
4090 * gdb.python/py-pp-re-notag.exp
4091 * gdb.python/py-pp-registration.exp
4092 * gdb.python/py-recurse-unwind.exp
4093 * gdb.python/py-strfns.exp
4094 * gdb.python/py-symbol.exp
4095 * gdb.python/py-symtab.exp
4096 * gdb.python/py-sync-interp.exp
4097 * gdb.python/py-typeprint.exp
4098 * gdb.python/py-unwind-maint.exp
4099 * gdb.python/py-unwind.exp
4100 * gdb.python/py-value-cc.exp
4101 * gdb.python/py-xmethods.exp
4102 * gdb.reverse/amd64-tailcall-reverse.exp
4103 * gdb.reverse/break-precsave.exp
4104 * gdb.reverse/break-reverse.exp
4105 * gdb.reverse/consecutive-precsave.exp
4106 * gdb.reverse/consecutive-reverse.exp
4107 * gdb.reverse/finish-precsave.exp
4108 * gdb.reverse/finish-reverse-bkpt.exp
4109 * gdb.reverse/finish-reverse.exp
4110 * gdb.reverse/fstatat-reverse.exp
4111 * gdb.reverse/getresuid-reverse.exp
4112 * gdb.reverse/i386-precsave.exp
4113 * gdb.reverse/i386-reverse.exp
4114 * gdb.reverse/i386-sse-reverse.exp
4115 * gdb.reverse/i387-env-reverse.exp
4116 * gdb.reverse/i387-stack-reverse.exp
4117 * gdb.reverse/insn-reverse.exp
4118 * gdb.reverse/machinestate-precsave.exp
4119 * gdb.reverse/machinestate.exp
4120 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4121 * gdb.reverse/pipe-reverse.exp
4122 * gdb.reverse/readv-reverse.exp
4123 * gdb.reverse/recvmsg-reverse.exp
4124 * gdb.reverse/rerun-prec.exp
4125 * gdb.reverse/s390-mvcle.exp
4126 * gdb.reverse/step-precsave.exp
4127 * gdb.reverse/step-reverse.exp
4128 * gdb.reverse/time-reverse.exp
4129 * gdb.reverse/until-precsave.exp
4130 * gdb.reverse/until-reverse.exp
4131 * gdb.reverse/waitpid-reverse.exp
4132 * gdb.reverse/watch-precsave.exp
4133 * gdb.reverse/watch-reverse.exp
4134 * gdb.rust/generics.exp
4135 * gdb.rust/methods.exp
4136 * gdb.rust/modules.exp
4137 * gdb.rust/simple.exp
4138 * gdb.server/connect-with-no-symbol-file.exp
4139 * gdb.server/ext-attach.exp
4140 * gdb.server/ext-restart.exp
4141 * gdb.server/ext-wrapper.exp
4142 * gdb.server/file-transfer.exp
4143 * gdb.server/server-exec-info.exp
4144 * gdb.server/server-kill.exp
4145 * gdb.server/server-mon.exp
4146 * gdb.server/wrapper.exp
4147 * gdb.stabs/exclfwd.exp
4148 * gdb.stabs/gdb11479.exp
4149 * gdb.threads/clone-new-thread-event.exp
4150 * gdb.threads/corethreads.exp
4151 * gdb.threads/current-lwp-dead.exp
4152 * gdb.threads/dlopen-libpthread.exp
4153 * gdb.threads/gcore-thread.exp
4154 * gdb.threads/sigstep-threads.exp
4155 * gdb.threads/watchpoint-fork.exp
4156 * gdb.trace/actions-changed.exp
4157 * gdb.trace/backtrace.exp
4158 * gdb.trace/change-loc.exp
4159 * gdb.trace/circ.exp
4160 * gdb.trace/collection.exp
4161 * gdb.trace/disconnected-tracing.exp
4162 * gdb.trace/ftrace.exp
4163 * gdb.trace/mi-trace-frame-collected.exp
4164 * gdb.trace/mi-trace-unavailable.exp
4165 * gdb.trace/mi-traceframe-changed.exp
4166 * gdb.trace/mi-tsv-changed.exp
4167 * gdb.trace/no-attach-trace.exp
4168 * gdb.trace/passc-dyn.exp
4169 * gdb.trace/qtro.exp
4170 * gdb.trace/range-stepping.exp
4171 * gdb.trace/read-memory.exp
4172 * gdb.trace/save-trace.exp
4173 * gdb.trace/signal.exp
4174 * gdb.trace/status-stop.exp
4175 * gdb.trace/tfile.exp
4176 * gdb.trace/trace-break.exp
4177 * gdb.trace/trace-buffer-size.exp
4178 * gdb.trace/trace-condition.exp
4179 * gdb.trace/tracefile-pseudo-reg.exp
4180 * gdb.trace/tstatus.exp
4181 * gdb.trace/unavailable.exp
4182 * gdb.trace/while-dyn.exp
4183 * gdb.trace/while-stepping.exp
4185 2016-12-22 Doug Evans <xdje42@gmail.com>
4187 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4190 2016-12-19 Yao Qi <yao.qi@linaro.org>
4192 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4193 (test_with_self): Don't call do_steps_and_nexts, and remove
4194 code about stepping into xmalloc.
4196 2016-12-09 Yao Qi <yao.qi@linaro.org>
4198 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4200 2016-12-09 Yao Qi <yao.qi@linaro.org>
4202 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4204 2016-12-09 Pedro Alves <palves@redhat.com>
4206 * gdb.base/all-architectures-0.exp: New file.
4207 * gdb.base/all-architectures-1.exp: New file.
4208 * gdb.base/all-architectures-2.exp: New file.
4209 * gdb.base/all-architectures-3.exp: New file.
4210 * gdb.base/all-architectures-4.exp: New file.
4211 * gdb.base/all-architectures-5.exp: New file.
4212 * gdb.base/all-architectures-6.exp: New file.
4213 * gdb.base/all-architectures-7.exp: New file.
4214 * gdb.base/all-architectures.exp.in: New file.
4216 2016-12-09 Yao Qi <yao.qi@linaro.org>
4218 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4220 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4222 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4224 Remove useless pattern-matching code.
4226 2016-12-02 Pedro Alves <palves@redhat.com>
4228 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4230 (top level): Call it.
4232 2016-12-02 Pedro Alves <palves@redhat.com>
4234 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4236 (top level): Call it.
4238 2016-12-02 Pedro Alves <palves@redhat.com>
4241 * gdb.base/commands.exp (user_defined_command_args_eval): New
4243 (top level): Call it.
4245 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4247 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4250 2016-12-02 Tom Tromey <tom@tromey.com>
4252 * gdb.dwarf2/main-subprogram.c: New file.
4253 * gdb.dwarf2/main-subprogram.exp: New file.
4255 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4257 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4258 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4259 gdb_test_no_output for a couple of cases.
4260 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4262 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4264 Fix test names and standardize compilation error messages throughout
4265 the following files:
4268 * gdb.arch/alpha-step.exp
4269 * gdb.arch/e500-prologue.exp
4270 * gdb.arch/ftrace-insn-reloc.exp
4271 * gdb.arch/gdb1291.exp
4272 * gdb.arch/gdb1431.exp
4273 * gdb.arch/gdb1558.exp
4274 * gdb.arch/i386-dr3-watch.exp
4275 * gdb.arch/i386-sse-stack-align.exp
4276 * gdb.arch/ia64-breakpoint-shadow.exp
4277 * gdb.arch/pa-nullify.exp
4278 * gdb.arch/powerpc-aix-prologue.exp
4279 * gdb.arch/thumb-bx-pc.exp
4280 * gdb.base/annota1.exp
4281 * gdb.base/annota3.exp
4282 * gdb.base/arrayidx.exp
4283 * gdb.base/assign.exp
4284 * gdb.base/attach.exp
4287 * gdb.base/bfp-test.exp
4288 * gdb.base/bigcore.exp
4289 * gdb.base/bitfields2.exp
4290 * gdb.base/break-fun-addr.exp
4291 * gdb.base/break-probes.exp
4292 * gdb.base/call-rt-st.exp
4293 * gdb.base/callexit.exp
4294 * gdb.base/catch-fork-kill.exp
4295 * gdb.base/charset.exp
4296 * gdb.base/checkpoint.exp
4297 * gdb.base/comprdebug.exp
4298 * gdb.base/constvars.exp
4299 * gdb.base/coredump-filter.exp
4300 * gdb.base/cursal.exp
4301 * gdb.base/cvexpr.exp
4302 * gdb.base/detach.exp
4303 * gdb.base/display.exp
4304 * gdb.base/dmsym.exp
4305 * gdb.base/dprintf-pending.exp
4306 * gdb.base/dso2dso.exp
4307 * gdb.base/dtrace-probe.exp
4309 * gdb.base/enum_cond.exp
4310 * gdb.base/exe-lock.exp
4311 * gdb.base/exec-invalid-sysroot.exp
4312 * gdb.base/execl-update-breakpoints.exp
4313 * gdb.base/exprs.exp
4314 * gdb.base/fileio.exp
4316 * gdb.base/finish.exp
4317 * gdb.base/fixsection.exp
4318 * gdb.base/foll-vfork.exp
4319 * gdb.base/frame-args.exp
4320 * gdb.base/gcore.exp
4321 * gdb.base/gdb1250.exp
4322 * gdb.base/global-var-nested-by-dso.exp
4323 * gdb.base/gnu-ifunc.exp
4324 * gdb.base/hashline1.exp
4325 * gdb.base/hashline2.exp
4326 * gdb.base/hashline3.exp
4327 * gdb.base/hbreak-in-shr-unsupported.exp
4329 * gdb.base/infcall-input.exp
4330 * gdb.base/info-fun.exp
4331 * gdb.base/info-shared.exp
4332 * gdb.base/jit-simple.exp
4333 * gdb.base/jit-so.exp
4336 * gdb.base/label.exp
4337 * gdb.base/lineinc.exp
4338 * gdb.base/logical.exp
4339 * gdb.base/longjmp.exp
4340 * gdb.base/macscp.exp
4341 * gdb.base/miscexprs.exp
4342 * gdb.base/new-ui-echo.exp
4343 * gdb.base/new-ui-pending-input.exp
4344 * gdb.base/new-ui.exp
4345 * gdb.base/nodebug.exp
4346 * gdb.base/nofield.exp
4347 * gdb.base/offsets.exp
4348 * gdb.base/overlays.exp
4349 * gdb.base/pending.exp
4350 * gdb.base/pointers.exp
4351 * gdb.base/pr11022.exp
4352 * gdb.base/printcmds.exp
4353 * gdb.base/prologue.exp
4354 * gdb.base/ptr-typedef.exp
4355 * gdb.base/realname-expand.exp
4356 * gdb.base/relativedebug.exp
4357 * gdb.base/relocate.exp
4358 * gdb.base/remote.exp
4359 * gdb.base/reread.exp
4360 * gdb.base/return2.exp
4361 * gdb.base/savedregs.exp
4363 * gdb.base/sepdebug.exp
4364 * gdb.base/sepsymtab.exp
4365 * gdb.base/set-inferior-tty.exp
4366 * gdb.base/setshow.exp
4367 * gdb.base/shlib-call.exp
4368 * gdb.base/sigaltstack.exp
4369 * gdb.base/siginfo-addr.exp
4370 * gdb.base/signals.exp
4371 * gdb.base/signull.exp
4372 * gdb.base/sigrepeat.exp
4373 * gdb.base/so-impl-ld.exp
4374 * gdb.base/solib-display.exp
4375 * gdb.base/solib-overlap.exp
4376 * gdb.base/solib-search.exp
4377 * gdb.base/solib-symbol.exp
4378 * gdb.base/structs.exp
4379 * gdb.base/structs2.exp
4380 * gdb.base/symtab-search-order.exp
4381 * gdb.base/twice.exp
4382 * gdb.base/unload.exp
4383 * gdb.base/varargs.exp
4384 * gdb.base/watchpoint-solib.exp
4385 * gdb.base/watchpoint.exp
4386 * gdb.base/whatis.exp
4387 * gdb.base/wrong_frame_bt_full.exp
4388 * gdb.btrace/dlopen.exp
4389 * gdb.cell/ea-standalone.exp
4390 * gdb.cell/ea-test.exp
4391 * gdb.cp/dispcxx.exp
4392 * gdb.cp/gdb2384.exp
4393 * gdb.cp/method2.exp
4394 * gdb.cp/nextoverthrow.exp
4395 * gdb.cp/pr10728.exp
4396 * gdb.disasm/am33.exp
4397 * gdb.disasm/h8300s.exp
4398 * gdb.disasm/mn10300.exp
4399 * gdb.disasm/sh3.exp
4400 * gdb.dwarf2/dw2-dir-file-name.exp
4401 * gdb.fortran/complex.exp
4402 * gdb.fortran/library-module.exp
4403 * gdb.guile/scm-pretty-print.exp
4404 * gdb.guile/scm-symbol.exp
4405 * gdb.guile/scm-type.exp
4406 * gdb.guile/scm-value.exp
4407 * gdb.linespec/linespec.exp
4410 * gdb.mi/mi-breakpoint-changed.exp
4411 * gdb.mi/mi-dprintf-pending.exp
4412 * gdb.mi/mi-dprintf.exp
4413 * gdb.mi/mi-exit-code.exp
4414 * gdb.mi/mi-pending.exp
4415 * gdb.mi/mi-solib.exp
4416 * gdb.mi/new-ui-mi-sync.exp
4417 * gdb.mi/pr11022.exp
4418 * gdb.mi/user-selected-context-sync.exp
4419 * gdb.opt/solib-intra-step.exp
4420 * gdb.python/py-events.exp
4421 * gdb.python/py-finish-breakpoint.exp
4422 * gdb.python/py-mi.exp
4423 * gdb.python/py-prettyprint.exp
4424 * gdb.python/py-shared.exp
4425 * gdb.python/py-symbol.exp
4426 * gdb.python/py-template.exp
4427 * gdb.python/py-type.exp
4428 * gdb.python/py-value.exp
4429 * gdb.reverse/solib-precsave.exp
4430 * gdb.reverse/solib-reverse.exp
4431 * gdb.server/solib-list.exp
4432 * gdb.stabs/weird.exp
4433 * gdb.threads/reconnect-signal.exp
4434 * gdb.threads/stepi-random-signal.exp
4435 * gdb.trace/actions.exp
4437 * gdb.trace/backtrace.exp
4438 * gdb.trace/change-loc.exp
4439 * gdb.trace/deltrace.exp
4440 * gdb.trace/ftrace-lock.exp
4441 * gdb.trace/ftrace.exp
4442 * gdb.trace/infotrace.exp
4443 * gdb.trace/mi-tracepoint-changed.exp
4444 * gdb.trace/packetlen.exp
4445 * gdb.trace/passcount.exp
4446 * gdb.trace/pending.exp
4447 * gdb.trace/range-stepping.exp
4448 * gdb.trace/report.exp
4449 * gdb.trace/stap-trace.exp
4450 * gdb.trace/tfind.exp
4451 * gdb.trace/trace-break.exp
4452 * gdb.trace/trace-condition.exp
4453 * gdb.trace/trace-enable-disable.exp
4454 * gdb.trace/trace-mt.exp
4455 * gdb.trace/tracecmd.exp
4456 * gdb.trace/tspeed.exp
4460 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4462 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4463 with gdb_test_no_output.
4464 Use command as test name.
4466 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4468 Fix test names starting with uppercase throughout the files.
4470 * gdb.ada/assign_1.exp
4471 * gdb.ada/boolean_expr.exp
4472 * gdb.base/arrayidx.exp
4474 * gdb.base/gcore-buffer-overflow.exp
4475 * gdb.base/testenv.exp
4476 * gdb.compile/compile.exp
4477 * gdb.python/py-framefilter-invalidarg.exp
4478 * gdb.python/py-framefilter.exp
4480 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4482 Fix test names starting with uppercase throughout the files.
4484 * gdb.ada/array_return.exp
4485 * gdb.ada/expr_delims.exp
4486 * gdb.ada/mi_dyn_arr.exp
4487 * gdb.ada/mi_interface.exp
4488 * gdb.ada/mi_var_array.exp
4489 * gdb.ada/watch_arg.exp
4490 * gdb.arch/alpha-step.exp
4491 * gdb.arch/altivec-regs.exp
4492 * gdb.arch/e500-regs.exp
4493 * gdb.arch/powerpc-d128-regs.exp
4494 * gdb.base/arrayidx.exp
4495 * gdb.base/break.exp
4496 * gdb.base/checkpoint.exp
4497 * gdb.base/debug-expr.exp
4498 * gdb.base/dmsym.exp
4499 * gdb.base/radix.exp
4500 * gdb.base/sepdebug.exp
4501 * gdb.base/testenv.exp
4502 * gdb.base/watch_thread_num.exp
4503 * gdb.base/watchpoint-cond-gone.exp
4504 * gdb.cell/break.exp
4505 * gdb.cell/ea-cache.exp
4506 * gdb.compile/compile.exp
4507 * gdb.cp/gdb2495.exp
4508 * gdb.gdb/selftest.exp
4509 * gdb.gdb/xfullpath.exp
4511 * gdb.go/integers.exp
4512 * gdb.objc/basicclass.exp
4513 * gdb.pascal/hello.exp
4514 * gdb.pascal/integers.exp
4515 * gdb.python/py-breakpoint.exp
4516 * gdb.python/py-cmd.exp
4517 * gdb.python/py-linetable.exp
4518 * gdb.python/py-xmethods.exp
4519 * gdb.python/python.exp
4520 * gdb.reverse/consecutive-precsave.exp
4521 * gdb.reverse/finish-precsave.exp
4522 * gdb.reverse/i386-precsave.exp
4523 * gdb.reverse/machinestate-precsave.exp
4524 * gdb.reverse/sigall-precsave.exp
4525 * gdb.reverse/solib-precsave.exp
4526 * gdb.reverse/step-precsave.exp
4527 * gdb.reverse/until-precsave.exp
4528 * gdb.reverse/watch-precsave.exp
4529 * gdb.threads/leader-exit.exp
4530 * gdb.threads/pthreads.exp
4531 * gdb.threads/wp-replication.exp
4532 * gdb.trace/actions.exp
4533 * gdb.trace/mi-tsv-changed.exp
4536 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4538 Fix test names starting with uppercase throughout the files.
4540 * gdb.arch/i386-bp_permanent.exp
4541 * gdb.arch/i386-gnu-cfi.exp
4542 * gdb.base/disasm-end-cu.exp
4543 * gdb.base/macscp.exp
4544 * gdb.base/pending.exp
4545 * gdb.base/watch_thread_num.exp
4546 * gdb.cp/exception.exp
4547 * gdb.cp/gdb2495.exp
4549 * gdb.python/py-evsignal.exp
4550 * gdb.python/python.exp
4551 * gdb.trace/tracecmd.exp
4553 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4555 Fix test names starting with uppercase throughout the files.
4557 * gdb.base/charset.exp
4559 * gdb.base/multi-forks.exp
4560 * gdb.guile/scm-progspace.exp
4561 * gdb.opencl/datatypes.exp
4562 * gdb.python/py-block.exp
4563 * gdb.python/py-function.exp
4564 * gdb.python/py-symbol.exp
4565 * gdb.python/py-symtab.exp
4566 * gdb.python/py-xmethods.exp
4567 * gdb.reverse/break-precsave.exp
4568 * gdb.reverse/break-reverse.exp
4569 * gdb.reverse/consecutive-precsave.exp
4570 * gdb.reverse/consecutive-reverse.exp
4571 * gdb.reverse/finish-precsave.exp
4572 * gdb.reverse/finish-reverse-bkpt.exp
4573 * gdb.reverse/finish-reverse.exp
4574 * gdb.reverse/fstatat-reverse.exp
4575 * gdb.reverse/getresuid-reverse.exp
4576 * gdb.reverse/i386-precsave.exp
4577 * gdb.reverse/i386-reverse.exp
4578 * gdb.reverse/i386-sse-reverse.exp
4579 * gdb.reverse/i387-stack-reverse.exp
4580 * gdb.reverse/insn-reverse.exp
4581 * gdb.reverse/machinestate-precsave.exp
4582 * gdb.reverse/machinestate.exp
4583 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4584 * gdb.reverse/pipe-reverse.exp
4585 * gdb.reverse/readv-reverse.exp
4586 * gdb.reverse/recvmsg-reverse.exp
4587 * gdb.reverse/rerun-prec.exp
4588 * gdb.reverse/s390-mvcle.exp
4589 * gdb.reverse/sigall-precsave.exp
4590 * gdb.reverse/sigall-reverse.exp
4591 * gdb.reverse/solib-precsave.exp
4592 * gdb.reverse/solib-reverse.exp
4593 * gdb.reverse/step-precsave.exp
4594 * gdb.reverse/step-reverse.exp
4595 * gdb.reverse/time-reverse.exp
4596 * gdb.reverse/until-precsave.exp
4597 * gdb.reverse/until-reverse.exp
4598 * gdb.reverse/waitpid-reverse.exp
4599 * gdb.reverse/watch-precsave.exp
4600 * gdb.reverse/watch-reverse.exp
4602 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4604 Fix test names starting with uppercase throughout the files.
4606 * gdb.arch/i386-mpx-simple_segv.exp
4607 * gdb.arch/i386-mpx.exp
4608 * gdb.arch/i386-permbkpt.exp
4609 * gdb.arch/pa-nullify.exp
4610 * gdb.arch/powerpc-d128-regs.exp
4611 * gdb.arch/vsx-regs.exp
4612 * gdb.base/bfp-test.exp
4613 * gdb.base/break.exp
4614 * gdb.base/breakpoint-shadow.exp
4615 * gdb.base/callfuncs.exp
4616 * gdb.base/charset.exp
4617 * gdb.base/commands.exp
4618 * gdb.base/completion.exp
4619 * gdb.base/dfp-test.exp
4621 * gdb.base/ending-run.exp
4623 * gdb.base/expand-psymtabs.exp
4624 * gdb.base/float128.exp
4625 * gdb.base/floatn.exp
4626 * gdb.base/foll-exec-mode.exp
4627 * gdb.base/gdb1056.exp
4628 * gdb.base/gdb11531.exp
4629 * gdb.base/kill-after-signal.exp
4630 * gdb.base/multi-forks.exp
4631 * gdb.base/overlays.exp
4632 * gdb.base/pending.exp
4633 * gdb.base/sepdebug.exp
4634 * gdb.base/testenv.exp
4635 * gdb.base/valgrind-db-attach.exp
4636 * gdb.base/watch_thread_num.exp
4637 * gdb.base/watchpoint-cond-gone.exp
4638 * gdb.base/watchpoint.exp
4639 * gdb.base/watchpoints.exp
4640 * gdb.cp/arg-reference.exp
4641 * gdb.cp/baseenum.exp
4642 * gdb.cp/operator.exp
4644 * gdb.dwarf2/dw2-op-out-param.exp
4645 * gdb.dwarf2/dw2-reg-undefined.exp
4648 * gdb.go/integers.exp
4649 * gdb.go/methods.exp
4650 * gdb.go/package.exp
4651 * gdb.guile/scm-parameter.exp
4652 * gdb.guile/scm-progspace.exp
4653 * gdb.guile/scm-value.exp
4654 * gdb.mi/mi-pending.exp
4655 * gdb.mi/user-selected-context-sync.exp
4656 * gdb.multi/multi-attach.exp
4657 * gdb.multi/tids.exp
4658 * gdb.opt/clobbered-registers-O2.exp
4659 * gdb.pascal/floats.exp
4660 * gdb.pascal/integers.exp
4661 * gdb.python/py-block.exp
4662 * gdb.python/py-events.exp
4663 * gdb.python/py-parameter.exp
4664 * gdb.python/py-symbol.exp
4665 * gdb.python/py-symtab.exp
4666 * gdb.python/py-type.exp
4667 * gdb.python/py-value.exp
4668 * gdb.python/py-xmethods.exp
4669 * gdb.python/python.exp
4670 * gdb.reverse/break-precsave.exp
4671 * gdb.reverse/consecutive-precsave.exp
4672 * gdb.reverse/finish-precsave.exp
4673 * gdb.reverse/i386-precsave.exp
4674 * gdb.reverse/machinestate-precsave.exp
4675 * gdb.reverse/sigall-precsave.exp
4676 * gdb.reverse/solib-precsave.exp
4677 * gdb.reverse/step-precsave.exp
4678 * gdb.reverse/until-precsave.exp
4679 * gdb.reverse/watch-precsave.exp
4680 * gdb.server/ext-attach.exp
4681 * gdb.server/ext-restart.exp
4682 * gdb.server/ext-run.exp
4683 * gdb.server/ext-wrapper.exp
4684 * gdb.stabs/gdb11479.exp
4685 * gdb.stabs/weird.exp
4686 * gdb.threads/attach-many-short-lived-threads.exp
4687 * gdb.threads/kill.exp
4688 * gdb.threads/watchpoint-fork.exp
4690 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4692 Fix test names starting with uppercase throughout all the files below.
4694 * gdb.ada/array_return.exp
4695 * gdb.ada/catch_ex.exp
4696 * gdb.ada/info_exc.exp
4697 * gdb.ada/mi_catch_ex.exp
4698 * gdb.ada/mi_dyn_arr.exp
4699 * gdb.ada/mi_ex_cond.exp
4700 * gdb.ada/mi_exc_info.exp
4701 * gdb.ada/mi_interface.exp
4702 * gdb.ada/mi_task_arg.exp
4703 * gdb.ada/mi_task_info.exp
4704 * gdb.ada/mi_var_array.exp
4705 * gdb.arch/alpha-step.exp
4706 * gdb.arch/amd64-disp-step.exp
4707 * gdb.arch/arm-disp-step.exp
4708 * gdb.arch/disp-step-insn-reloc.exp
4709 * gdb.arch/e500-prologue.exp
4710 * gdb.arch/ftrace-insn-reloc.exp
4711 * gdb.arch/gdb1558.exp
4712 * gdb.arch/i386-bp_permanent.exp
4713 * gdb.arch/i386-disp-step.exp
4714 * gdb.arch/i386-float.exp
4715 * gdb.arch/i386-gnu-cfi.exp
4716 * gdb.arch/ia64-breakpoint-shadow.exp
4717 * gdb.arch/mips16-thunks.exp
4718 * gdb.arch/pa-nullify.exp
4719 * gdb.arch/powerpc-aix-prologue.exp
4720 * gdb.arch/powerpc-power.exp
4721 * gdb.arch/ppc-dfp.exp
4722 * gdb.arch/s390-tdbregs.exp
4723 * gdb.arch/spu-info.exp
4724 * gdb.arch/spu-ls.exp
4725 * gdb.arch/thumb-bx-pc.exp
4726 * gdb.base/advance.exp
4727 * gdb.base/annota-input-while-running.exp
4728 * gdb.base/arrayidx.exp
4729 * gdb.base/asmlabel.exp
4730 * gdb.base/async.exp
4731 * gdb.base/attach-wait-input.exp
4732 * gdb.base/auto-connect-native-target.exp
4733 * gdb.base/batch-preserve-term-settings.exp
4734 * gdb.base/bfp-test.exp
4735 * gdb.base/bigcore.exp
4736 * gdb.base/bp-permanent.exp
4737 * gdb.base/break-always.exp
4738 * gdb.base/break-fun-addr.exp
4739 * gdb.base/break-idempotent.exp
4740 * gdb.base/break-main-file-remove-fail.exp
4741 * gdb.base/break-probes.exp
4742 * gdb.base/break-unload-file.exp
4743 * gdb.base/break.exp
4744 * gdb.base/call-ar-st.exp
4745 * gdb.base/call-rt-st.exp
4746 * gdb.base/call-sc.exp
4747 * gdb.base/call-signal-resume.exp
4748 * gdb.base/call-strs.exp
4749 * gdb.base/callexit.exp
4750 * gdb.base/callfuncs.exp
4751 * gdb.base/catch-gdb-caused-signals.exp
4752 * gdb.base/catch-signal-siginfo-cond.exp
4753 * gdb.base/catch-syscall.exp
4754 * gdb.base/compare-sections.exp
4755 * gdb.base/cond-eval-mode.exp
4756 * gdb.base/condbreak-call-false.exp
4757 * gdb.base/consecutive-step-over.exp
4758 * gdb.base/cursal.exp
4759 * gdb.base/disabled-location.exp
4760 * gdb.base/disasm-end-cu.exp
4761 * gdb.base/display.exp
4762 * gdb.base/double-prompt-target-event-error.exp
4763 * gdb.base/dprintf-bp-same-addr.exp
4764 * gdb.base/dprintf-detach.exp
4765 * gdb.base/dprintf-next.exp
4766 * gdb.base/dprintf-non-stop.exp
4767 * gdb.base/dprintf-pending.exp
4768 * gdb.base/dso2dso.exp
4769 * gdb.base/ending-run.exp
4770 * gdb.base/enum_cond.exp
4771 * gdb.base/examine-backward.exp
4772 * gdb.base/exe-lock.exp
4773 * gdb.base/exec-invalid-sysroot.exp
4774 * gdb.base/execl-update-breakpoints.exp
4775 * gdb.base/execution-termios.exp
4776 * gdb.base/fileio.exp
4777 * gdb.base/fixsection.exp
4778 * gdb.base/foll-exec-mode.exp
4779 * gdb.base/foll-exec.exp
4780 * gdb.base/fork-running-state.exp
4781 * gdb.base/frame-args.exp
4782 * gdb.base/fullpath-expand.exp
4783 * gdb.base/func-ptr.exp
4784 * gdb.base/gcore-relro-pie.exp
4785 * gdb.base/gdb1090.exp
4786 * gdb.base/gdb1555.exp
4787 * gdb.base/global-var-nested-by-dso.exp
4788 * gdb.base/gnu-ifunc.exp
4789 * gdb.base/hbreak-in-shr-unsupported.exp
4790 * gdb.base/hbreak-unmapped.exp
4791 * gdb.base/hook-stop.exp
4792 * gdb.base/infcall-input.exp
4793 * gdb.base/info-fun.exp
4794 * gdb.base/info-shared.exp
4795 * gdb.base/interrupt-noterm.exp
4796 * gdb.base/jit-so.exp
4798 * gdb.base/line-symtabs.exp
4800 * gdb.base/longjmp.exp
4801 * gdb.base/macscp.exp
4802 * gdb.base/max-value-size.exp
4803 * gdb.base/nodebug.exp
4804 * gdb.base/nofield.exp
4805 * gdb.base/overlays.exp
4806 * gdb.base/paginate-after-ctrl-c-running.exp
4807 * gdb.base/paginate-bg-execution.exp
4808 * gdb.base/paginate-inferior-exit.exp
4809 * gdb.base/pending.exp
4810 * gdb.base/pr11022.exp
4811 * gdb.base/printcmds.exp
4812 * gdb.base/ptr-typedef.exp
4813 * gdb.base/ptype.exp
4814 * gdb.base/randomize.exp
4815 * gdb.base/range-stepping.exp
4816 * gdb.base/realname-expand.exp
4817 * gdb.base/relativedebug.exp
4818 * gdb.base/remote.exp
4819 * gdb.base/savedregs.exp
4820 * gdb.base/sepdebug.exp
4821 * gdb.base/set-noassign.exp
4822 * gdb.base/shlib-call.exp
4823 * gdb.base/shreloc.exp
4824 * gdb.base/sigaltstack.exp
4825 * gdb.base/sigbpt.exp
4826 * gdb.base/siginfo-addr.exp
4827 * gdb.base/siginfo-obj.exp
4828 * gdb.base/siginfo-thread.exp
4829 * gdb.base/signest.exp
4830 * gdb.base/signull.exp
4831 * gdb.base/sigrepeat.exp
4833 * gdb.base/so-impl-ld.exp
4834 * gdb.base/solib-corrupted.exp
4835 * gdb.base/solib-disc.exp
4836 * gdb.base/solib-display.exp
4837 * gdb.base/solib-overlap.exp
4838 * gdb.base/solib-search.exp
4839 * gdb.base/solib-symbol.exp
4840 * gdb.base/source-execution.exp
4841 * gdb.base/sss-bp-on-user-bp-2.exp
4842 * gdb.base/sss-bp-on-user-bp.exp
4843 * gdb.base/stack-checking.exp
4844 * gdb.base/stale-infcall.exp
4845 * gdb.base/step-break.exp
4846 * gdb.base/step-line.exp
4847 * gdb.base/step-over-exit.exp
4848 * gdb.base/step-test.exp
4849 * gdb.base/structs.exp
4850 * gdb.base/sym-file.exp
4851 * gdb.base/symtab-search-order.exp
4853 * gdb.base/type-opaque.exp
4854 * gdb.base/unload.exp
4855 * gdb.base/until-nodebug.exp
4856 * gdb.base/until.exp
4857 * gdb.base/unwindonsignal.exp
4858 * gdb.base/watch-cond.exp
4859 * gdb.base/watch-non-mem.exp
4860 * gdb.base/watch_thread_num.exp
4861 * gdb.base/watchpoint-reuse-slot.exp
4862 * gdb.base/watchpoint-solib.exp
4863 * gdb.base/watchpoint.exp
4864 * gdb.btrace/dlopen.exp
4866 * gdb.cell/break.exp
4870 * gdb.cell/dwarfaddr.exp
4871 * gdb.cell/ea-cache.exp
4872 * gdb.cell/ea-standalone.exp
4873 * gdb.cell/ea-test.exp
4874 * gdb.cell/f-regs.exp
4876 * gdb.cell/gcore.exp
4877 * gdb.cell/mem-access.exp
4878 * gdb.cell/ptype.exp
4879 * gdb.cell/registers.exp
4880 * gdb.cell/sizeof.exp
4881 * gdb.cell/solib-symbol.exp
4882 * gdb.cell/solib.exp
4883 * gdb.compile/compile-tls.exp
4884 * gdb.cp/exception.exp
4885 * gdb.cp/gdb2495.exp
4887 * gdb.cp/mb-inline.exp
4888 * gdb.cp/mb-templates.exp
4889 * gdb.cp/pr10687.exp
4891 * gdb.cp/scope-err.exp
4892 * gdb.cp/templates.exp
4893 * gdb.cp/virtfunc.exp
4894 * gdb.dwarf2/dw2-dir-file-name.exp
4895 * gdb.dwarf2/dw2-single-line-discriminators.exp
4896 * gdb.fortran/complex.exp
4897 * gdb.fortran/library-module.exp
4898 * gdb.guile/guile.exp
4899 * gdb.guile/scm-cmd.exp
4900 * gdb.guile/scm-frame-inline.exp
4901 * gdb.guile/scm-objfile.exp
4902 * gdb.guile/scm-pretty-print.exp
4903 * gdb.guile/scm-symbol.exp
4904 * gdb.guile/scm-type.exp
4905 * gdb.guile/scm-value.exp
4906 * gdb.linespec/keywords.exp
4907 * gdb.linespec/ls-errs.exp
4908 * gdb.linespec/macro-relative.exp
4909 * gdb.linespec/thread.exp
4910 * gdb.mi/mi-breakpoint-changed.exp
4911 * gdb.mi/mi-dprintf-pending.exp
4912 * gdb.mi/mi-fullname-deleted.exp
4913 * gdb.mi/mi-logging.exp
4914 * gdb.mi/mi-pending.exp
4915 * gdb.mi/mi-solib.exp
4916 * gdb.mi/new-ui-mi-sync.exp
4917 * gdb.mi/user-selected-context-sync.exp
4918 * gdb.multi/dummy-frame-restore.exp
4919 * gdb.multi/multi-arch-exec.exp
4920 * gdb.multi/remove-inferiors.exp
4921 * gdb.multi/watchpoint-multi-exit.exp
4922 * gdb.opt/solib-intra-step.exp
4923 * gdb.perf/backtrace.exp
4924 * gdb.perf/single-step.exp
4925 * gdb.perf/skip-command.exp
4926 * gdb.perf/skip-prologue.exp
4927 * gdb.perf/solib.exp
4928 * gdb.python/lib-types.exp
4929 * gdb.python/py-as-string.exp
4930 * gdb.python/py-bad-printers.exp
4931 * gdb.python/py-block.exp
4932 * gdb.python/py-breakpoint.exp
4933 * gdb.python/py-cmd.exp
4934 * gdb.python/py-events.exp
4935 * gdb.python/py-evthreads.exp
4936 * gdb.python/py-finish-breakpoint.exp
4937 * gdb.python/py-finish-breakpoint2.exp
4938 * gdb.python/py-frame-inline.exp
4939 * gdb.python/py-frame.exp
4940 * gdb.python/py-inferior.exp
4941 * gdb.python/py-infthread.exp
4942 * gdb.python/py-mi.exp
4943 * gdb.python/py-objfile.exp
4944 * gdb.python/py-pp-maint.exp
4945 * gdb.python/py-pp-registration.exp
4946 * gdb.python/py-prettyprint.exp
4947 * gdb.python/py-recurse-unwind.exp
4948 * gdb.python/py-shared.exp
4949 * gdb.python/py-symbol.exp
4950 * gdb.python/py-symtab.exp
4951 * gdb.python/py-template.exp
4952 * gdb.python/py-type.exp
4953 * gdb.python/py-unwind-maint.exp
4954 * gdb.python/py-unwind.exp
4955 * gdb.python/py-value.exp
4956 * gdb.python/python.exp
4957 * gdb.reverse/finish-reverse-bkpt.exp
4958 * gdb.reverse/insn-reverse.exp
4959 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4960 * gdb.reverse/solib-precsave.exp
4961 * gdb.reverse/solib-reverse.exp
4962 * gdb.stabs/gdb11479.exp
4963 * gdb.stabs/weird.exp
4964 * gdb.threads/fork-child-threads.exp
4965 * gdb.threads/fork-plus-threads.exp
4966 * gdb.threads/fork-thread-pending.exp
4967 * gdb.threads/forking-threads-plus-breakpoint.exp
4968 * gdb.threads/hand-call-in-threads.exp
4969 * gdb.threads/interrupted-hand-call.exp
4970 * gdb.threads/linux-dp.exp
4971 * gdb.threads/local-watch-wrong-thread.exp
4972 * gdb.threads/next-while-other-thread-longjmps.exp
4973 * gdb.threads/non-ldr-exit.exp
4974 * gdb.threads/pending-step.exp
4975 * gdb.threads/print-threads.exp
4976 * gdb.threads/process-dies-while-detaching.exp
4977 * gdb.threads/process-dies-while-handling-bp.exp
4978 * gdb.threads/pthreads.exp
4979 * gdb.threads/queue-signal.exp
4980 * gdb.threads/reconnect-signal.exp
4981 * gdb.threads/signal-command-handle-nopass.exp
4982 * gdb.threads/signal-command-multiple-signals-pending.exp
4983 * gdb.threads/signal-delivered-right-thread.exp
4984 * gdb.threads/signal-sigtrap.exp
4985 * gdb.threads/sigthread.exp
4986 * gdb.threads/staticthreads.exp
4987 * gdb.threads/stepi-random-signal.exp
4988 * gdb.threads/thread-unwindonsignal.exp
4989 * gdb.threads/thread_check.exp
4990 * gdb.threads/thread_events.exp
4991 * gdb.threads/tid-reuse.exp
4992 * gdb.threads/tls-nodebug.exp
4993 * gdb.threads/tls-shared.exp
4994 * gdb.threads/tls-so_extern.exp
4995 * gdb.threads/tls.exp
4996 * gdb.threads/wp-replication.exp
4997 * gdb.trace/actions-changed.exp
4998 * gdb.trace/actions.exp
4999 * gdb.trace/backtrace.exp
5000 * gdb.trace/change-loc.exp
5001 * gdb.trace/collection.exp
5002 * gdb.trace/deltrace.exp
5003 * gdb.trace/disconnected-tracing.exp
5004 * gdb.trace/entry-values.exp
5005 * gdb.trace/ftrace-lock.exp
5006 * gdb.trace/ftrace.exp
5007 * gdb.trace/infotrace.exp
5008 * gdb.trace/mi-trace-frame-collected.exp
5009 * gdb.trace/mi-trace-unavailable.exp
5010 * gdb.trace/mi-traceframe-changed.exp
5011 * gdb.trace/mi-tracepoint-changed.exp
5012 * gdb.trace/mi-tsv-changed.exp
5013 * gdb.trace/no-attach-trace.exp
5014 * gdb.trace/packetlen.exp
5015 * gdb.trace/passc-dyn.exp
5016 * gdb.trace/passcount.exp
5017 * gdb.trace/pending.exp
5018 * gdb.trace/pr16508.exp
5019 * gdb.trace/qtro.exp
5020 * gdb.trace/range-stepping.exp
5021 * gdb.trace/read-memory.exp
5022 * gdb.trace/report.exp
5023 * gdb.trace/save-trace.exp
5024 * gdb.trace/signal.exp
5025 * gdb.trace/stap-trace.exp
5026 * gdb.trace/status-stop.exp
5027 * gdb.trace/strace.exp
5028 * gdb.trace/tfile.exp
5029 * gdb.trace/tfind.exp
5030 * gdb.trace/trace-break.exp
5031 * gdb.trace/trace-condition.exp
5032 * gdb.trace/trace-enable-disable.exp
5033 * gdb.trace/trace-mt.exp
5034 * gdb.trace/tracecmd.exp
5035 * gdb.trace/tracefile-pseudo-reg.exp
5036 * gdb.trace/tspeed.exp
5037 * gdb.trace/tstatus.exp
5039 * gdb.trace/unavailable.exp
5040 * gdb.trace/while-dyn.exp
5041 * gdb.trace/while-stepping.exp
5044 * lib/mi-support.exp
5047 * lib/prelink-support.exp
5048 * lib/selftest-support.exp
5050 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5052 * Makefile.in: Include disable-implicit-rules.mk.
5054 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5056 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5057 non-byte-aligned bit fields.
5059 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5062 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5063 respects the DW_AT_data_bit_offset attribute.
5065 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5067 * gdb.base/default.exp: Fix output of "set language".
5069 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5071 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5072 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5074 * configure.ac: Remove checks for the make program.
5075 * configure: Re-generate.
5077 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5079 * gdb.python/py-recurse-unwind.c (main): Add loop.
5080 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5081 to read_register() and gdb.parse_and_eval(). Make each code
5082 call a separate case that can be individually tested.
5083 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5084 proc. Call cont_and_backtrace for each of the code paths that
5085 we want to test in the unwinder.
5087 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5089 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5090 the definition of struct S.
5092 2016-11-11 Catherine Moore <clm@codesourcery.com>
5094 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5096 2016-11-09 Pedro Alves <palves@redhat.com>
5098 * gdb.base/commands.exp (runto_or_return): New procedure.
5099 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5100 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5101 (progvar_simple_while_test, progvar_complex_if_while_test)
5102 (if_while_breakpoint_command_test)
5103 (infrun_breakpoint_command_test, breakpoint_command_test)
5104 (user_defined_command_test, watchpoint_command_test)
5105 (test_command_prompt_position, redefine_hook_test)
5106 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5107 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5108 multi_line_input and multi_line. Remove gdb_expect and
5109 gdb_stop_suppressing_tests uses.
5110 * lib/gdb.exp (valnum_re): New global.
5111 (multi_line_input): New procedure.
5113 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5115 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5117 (test_setup): Define with proc_with_prefix.
5118 (test_cli_inferior): Likewise.
5119 (test_cli_thread): Likewise.
5120 (test_cli_frame): Likewise.
5121 (test_cli_select_frame): Likewise.
5122 (test_cli_up_down): Likewise.
5123 (test_mi_thread_select): Likewise.
5124 (test_mi_stack_select_frame): Likewise.
5125 (test_cli_in_mi_inferior): Likewise.
5126 (test_cli_in_mi_thread): Likewise.
5127 (test_cli_in_mi_frame): Likewise.
5128 (top level): Do not use with_test_prefix_procname.
5130 2016-11-09 Pedro Alves <palves@redhat.com>
5132 * gdb.base/commands.exp (gdbvar_simple_if_test)
5133 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5134 (progvar_simple_if_test, progvar_simple_while_test)
5135 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5136 (infrun_breakpoint_command_test, breakpoint_command_test)
5137 (user_defined_command_test, watchpoint_command_test)
5138 (test_command_prompt_position, deprecated_command_test)
5139 (bp_deleted_in_command, temporary_breakpoint_commands)
5140 (stray_arg0_test, source_file_with_indented_comment)
5141 (recursive_source_test, if_commands_test)
5142 (error_clears_commands_left, redefine_hook_test)
5143 (redefine_backtrace_test): Use proc_with_prefix.
5144 * lib/gdb.exp (proc_with_prefix): New proc.
5146 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5148 * gdb.base/tui-layout.c: New file.
5149 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5150 disassembly window contains very long lines.
5152 2016-11-08 Tom Tromey <tom@tromey.com>
5154 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5157 2016-11-08 Tom Tromey <tom@tromey.com>
5159 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5162 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5164 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5166 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5168 * gdb.rust/simple.rs: Add test for univariant enums without
5169 discriminants and for encoded struct-like enums.
5171 2016-10-28 Pedro Alves <palves@redhat.com>
5173 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5174 gdb_test_multiple, tighten regexps and match symtabs and line
5175 tables incrementally.
5177 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5179 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5182 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5184 * gdb.base/exec-invalid-sysroot.exp: New file.
5186 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5188 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5190 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5192 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5194 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5196 * gdb.base/killed-outside.exp: Remove $options from a call to
5197 `prepare_for_testing'.
5199 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5201 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5202 Change test message.
5204 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5206 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5209 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5211 * gdb.trace/mi-trace-save.exp: New file.
5213 2016-10-13 Yao Qi <yao.qi@linaro.org>
5215 * gdb.base/code_elim.exp (get_var_address): Remove.
5216 * gdb.base/relocate.exp: Likewise.
5217 * gdb.base/shreloc.exp: Likewise.
5218 * lib/gdb.exp (get_var_address): New.
5220 2016-10-13 Yao Qi <yao.qi@linaro.org>
5222 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5223 floating point tests if $skip_float_test is false.
5225 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5227 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5228 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5230 Add 1 to argc so we guarantee distinct initial/modified argc values.
5232 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5234 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5236 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5238 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5239 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5240 * gdb.arch/vsx-regs.exp: Likewise.
5242 2016-10-07 Yao Qi <yao.qi@linaro.org>
5244 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5246 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5248 * gdb.python/python.exp: Test decode_line("*0").
5250 2016-10-06 Doug Evans <dje@google.com>
5252 * gdb.python/py-value.exp (test_value_creation): Add test for large
5253 unsigned 64-bit value.
5255 2016-10-06 Tom Tromey <tom@tromey.com>
5257 * gdb.compile/compile.exp: Change java tests to rust.
5258 * gdb.base/setshow.exp: Change java tests to rust.
5259 * gdb.base/default.exp: Remove java from language list.
5260 * README (Examples): Update language example.
5261 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5263 * lib/gdb.exp (skip_java_tests): Remove.
5264 * lib/java.exp: Remove.
5267 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5269 * gdb.arch/mips-fcr.exp: New test.
5270 * gdb.arch/mips-fcr.c: Source for the new test.
5272 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
5274 * gdb.base/solib-disc.exp: Use `standard_output_file'
5277 2016-10-06 Pedro Alves <palves@redhat.com>
5279 * gdb.base/jit-simple-dl.c: New file.
5280 * gdb.base/jit-simple-jit.c: New file, factored out from ...
5281 * gdb.base/jit-simple.c: ... this.
5282 * gdb.base/jit-simple.exp (jit_run): Delete.
5283 (build_jit): New proc.
5284 (jit_test_reread): Recompile either the main program or the shared
5285 library, depending on what is being tested. Skip changing address
5286 if caller wants to. Compare before/after addresses. If testing
5287 standalone, explicitly load the binary. Test "maint info
5289 (top level): Add "standalone vs shared lib" and "change address"
5290 vs "same address" axes.
5292 2016-10-06 Pedro Alves <palves@redhat.com>
5294 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5297 (jit_test_reread): Use with_test_prefix. Reload the main binary
5298 explicitly. Compare the before/after addresses of the JIT
5301 2016-08-15 Doug Evans <dje@google.com>
5303 * gdb.xml/extra-regs.xml: Update, end field now required, default type
5304 for single bitfields is bool.
5305 * gdb.xml/tdesc-regs.exp: Ditto.
5307 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5309 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5311 2016-10-05 Yao Qi <yao.qi@linaro.org>
5313 * lib/gdb.exp (support_complex_tests): Return zero if
5314 gdb_skip_float_test return true.
5316 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5317 Simon Marchi <simon.marchi@ericsson.com>
5320 * gdb.mi/user-selected-context-sync.exp: New file.
5321 * gdb.mi/user-selected-context-sync.c: New file.
5323 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
5324 Simon Marchi <simon.marchi@ericsson.com>
5327 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5328 =thread-select-event check.
5330 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
5332 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5333 the compulsory L operand changes.
5334 * gdb.arch/powerpc-power.s: Likewise.
5336 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5338 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5339 * gdb.base/jit-attach-pie.c: New file.
5340 * gdb.base/jit-attach-pie.exp: New file.
5342 2016-09-28 Pedro Alves <palves@redhat.com>
5344 * gdb.base/infcall-input.c: New file.
5345 * gdb.base/infcall-input.exp: New file.
5347 2016-09-22 Yao Qi <yao.qi@linaro.org>
5349 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5350 (gdb_exit): Rename it to ...
5351 (gdbserver_gdb_exit): ... Close GDBserver.
5352 (gdb_exit): New proc, call gdbserver_gdb_exit.
5353 (mi_gdb_exit): Likewise.
5355 2016-09-22 Yao Qi <yao.qi@linaro.org>
5357 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5359 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5362 2016-09-22 Yao Qi <yao.qi@linaro.org>
5364 * lib/gdbserver-support.exp: Check the existence of
5365 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5367 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
5369 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5371 2016-09-21 Tom Tromey <tom@tromey.com>
5374 * gdb.base/quit.exp: New file.
5376 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
5378 * .gitignore: New file.
5380 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
5382 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5385 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5387 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5389 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5391 * gdb.cp/casts.cc (decltype): Move it ...
5392 (main): ... with its call to ...
5393 * gdb.cp/casts03.cc: ... a new file.
5394 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5396 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5398 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5400 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
5402 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5403 and sync up the test with tests in gas/testsuite/gas/ppc.
5404 * gdb.arch/powerpc-power.exp: Likewise.
5406 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5408 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5410 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
5411 Jan Kratochvil <jan.kratochvil@redhat.com>
5413 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5414 make m1's definition to be different from m2's. Use 'dummy' as an
5415 argument for probe 'two'.
5417 2016-09-10 Jon Beniston <jon@beniston.com>
5419 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5422 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5424 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5425 variable declaration.
5426 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
5427 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5428 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5429 received HWCAP as its argument.
5431 2016-09-06 Pedro Alves <palves@redhat.com>
5433 * gdb.base/new-ui-pending-input.c: New file.
5434 * gdb.base/new-ui-pending-input.exp: New file.
5435 * gdb.exp (clear_gdb_spawn_id): New procedure.
5436 (with_spawn_id): Check whether gdb_spawn_id exists before
5437 referencing it. If gdb_spawn_id didn't exist on entry, clear it
5440 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5442 * gdb.base/float128.c: New file.
5443 * gdb.base/float128.exp: Likewise.
5444 * gdb.base/floatn.c: Likewise.
5445 * gdb.base/floatn.exp: Likewise.
5447 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
5449 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5451 2016-09-05 Pedro Alves <palves@redhat.com>
5454 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5455 unwinders are immediately called as side effect of "source" or
5456 "disable unwinder" commands.
5457 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5459 2016-09-02 Yao Qi <yao.qi@linaro.org>
5461 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5462 is true and $type is "float" or "double".
5464 2016-09-02 Yao Qi <yao.qi@linaro.org>
5466 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5468 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5469 * gdb.base/call-rt-st.exp: Likewise.
5470 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5471 return value instead of gdb,skip_float_test.
5472 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5473 (do_function_calls): Use its return value instead of
5474 gdb,skip_float_test.
5475 * gdb.base/finish.exp: Likewise.
5476 * gdb.base/funcargs.exp: Likewise.
5477 * gdb.base/return.exp: Likewise.
5478 * gdb.base/return2.exp: Likewise.
5479 * gdb.base/varargs.exp: Likewise.
5480 * lib/gdb.exp (gdb_skip_float_test): Change it to
5481 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5483 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5485 * gdb.multi/tids.exp: Test "thread apply all".
5487 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5489 * gdb.base/default.exp (tty): Remove.
5491 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5493 * gdb.python/py-recurse-unwind.c: New file.
5494 * gdb.python/py-recurse-unwind.py: New file.
5495 * gdb.python/py-recurse-unwind.exp: New file.
5497 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5499 * gdb.base/set-inferior-tty.exp: New file.
5500 * gdb.base/set-inferior-tty.c: New file.
5502 2016-08-23 Pedro Alves <palves@redhat.com>
5505 * gdb.base/new-ui-echo.c: New file.
5506 * gdb.base/new-ui-echo.exp: New file.
5508 2016-08-23 Yao Qi <yao.qi@linaro.org>
5510 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5512 * gdb.server/connect-without-multi-process.exp (do_test):
5515 2016-08-23 Yao Qi <yao.qi@linaro.org>
5517 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5518 standalone_txt. Delete gdb_txt and standalone_txt on host
5519 and target. Spawn the binary on target. Copy files from
5522 2016-08-22 Pedro Alves <palves@redhat.com>
5525 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5526 with_test_prefix. Factor out bits to ...
5527 (test_no_vdso): ... this new procedure.
5529 2016-08-19 Carl Love <cel@us.ibm.com>
5531 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5532 maintaining separate logic for constructing the output path.
5533 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5534 * gdb.arch/ppc-dfp.exp: Likewise.
5535 * gdb.arch/ppc-fp.exp: Likewise.
5536 * gdb.arch/vsx-regs.exp: Likewise.
5537 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5538 binprefix for generating the additional binary files.
5540 2016-08-19 Pedro Alves <palves@redhat.com>
5542 * gdb.trace/mi-trace-frame-collected.exp
5543 (test_trace_frame_collected): On x32, expect two registers.
5545 2016-08-18 Carl Love <cel@us.ibm.com>
5547 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5548 and sync up the test with tests in gas/testsuite/gas/ppc.
5549 * gdb.arch/powerpc-power.exp: Likewise.
5551 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5553 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5554 expected error message.
5556 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5558 * gdb.multi/remove-inferiors.exp: New file.
5559 * gdb.multi/remove-inferiors.c: New file.
5561 2016-08-12 Yao Qi <yao.qi@linaro.org>
5563 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5566 2016-08-10 Pedro Alves <palves@redhat.com>
5569 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5572 2016-08-09 Pedro Alves <palves@redhat.com>
5573 Simon Marchi <simon.marchi@ericsson.com>
5576 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5577 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5579 2016-08-09 Pedro Alves <palves@redhat.com>
5582 * gdb.mi/mi-cmd-error.exp: New file.
5584 2016-08-09 Pedro Alves <palves@redhat.com>
5587 * gdb.base/signals-state-child.c: New file.
5588 * gdb.base/signals-state-child.exp: New file.
5589 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5591 2016-08-09 Pedro Alves <palves@redhat.com>
5593 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5595 2016-08-03 Tom Tromey <tom@tromey.com>
5598 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5600 2016-08-01 Yao Qi <yao.qi@linaro.org>
5602 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5603 variable mode to "multi-process" if $multi_process is 1, otherwise
5604 set it to "single-process".
5606 2016-08-01 Yao Qi <yao.qi@linaro.org>
5608 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5609 * gdb.cp/cpexprs.exp: Likewise.
5610 * gdb.cp/m-static.exp: Likewise.
5612 2016-07-26 Tom Tromey <tom@tromey.com>
5615 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5618 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5620 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5621 selecting assembly source files.
5622 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5623 assembly source files.
5624 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5625 assembly source files.
5626 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5627 selecting assembly source files.
5629 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5631 * gdb.base/new-ui.exp (do_test_invalid_args): New
5634 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5636 * gdb.btrace/reconnect.c: New file.
5637 * gdb.btrace/reconnect.exp: New file.
5639 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5641 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5642 to test_catch_syscall_group.
5643 (test_catch_syscall_group): New.
5645 2016-07-21 Tom Tromey <tom@tromey.com>
5647 * gdb.rust/simple.rs (main): Use empty struct expression.
5648 * gdb.rust/simple.exp: Add tests for empty struct expression.
5650 2016-07-21 Yao Qi <yao.qi@linaro.org>
5652 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5653 if gdb_skip_xml_test is true on some targets.
5655 2016-07-21 Yao Qi <yao.qi@linaro.org>
5657 * gdb.server/solib-list.exp: Unset last_loaded_file.
5659 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5661 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5662 "step into captured_main (args)".
5664 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5666 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5668 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5670 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5672 2016-07-19 Pedro Alves <palves@redhat.com>
5674 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5675 * gdb.opt/inline-bt.exp: Likewise.
5676 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5677 additional_flags=-Winline.
5678 * gdb.opt/inline-locals.exp: Likewise.
5679 * gdb.opt/inline-markers.c (ATTR): Define.
5680 (inlined_fn): Use it.
5682 2016-07-19 Yao Qi <yao.qi@linaro.org>
5684 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5685 (test_with_self): Remove some code. Remove argument executable.
5686 (top-level): Use do_self_tests.
5688 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5689 Don Breazeal <donb@codesourcery.com>
5691 * gdb.base/maint.exp: Escape paths used in regular expressions.
5692 * gdb.stabs/weird.exp: Likewise.
5694 2016-07-13 Tom Tromey <tom@tromey.com>
5696 PR python/15620, PR python/18620:
5697 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5698 (test_bkpt_events): New procs.
5700 2016-07-13 Tom Tromey <tom@tromey.com>
5703 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5705 (test_watchpoints): Likewise.
5706 (test_bkpt_pending): New proc.
5708 2016-07-13 Tom Tromey <tom@tromey.com>
5711 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5714 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5716 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5717 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5718 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5720 (g): Rename g_end_lbl to g_label.
5721 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5723 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5725 2016-07-12 Tom Tromey <tom@tromey.com>
5728 * gdb.python/py-unwind-maint.exp: Update tests.
5730 2016-07-12 Yao Qi <yao.qi@linaro.org>
5732 * lib/selftest-support.exp (selftest_setup): Match the output
5733 when captured_main is inlined.
5735 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5737 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5739 (print this%a, print this%b, print this): New tests.
5740 * gdb.fortran/derived-types.f90 (this): New object and
5743 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5745 * gdb.ada/arraydim.exp: Remove extra directory level in build
5748 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5750 * lib/ada.exp: Remove extra directory level in build directory.
5751 * gdb.ada/cond_lang.exp: Likewise.
5752 * gdb.ada/exec_changed.exp: Likewise.
5753 * gdb.ada/lang_switch.exp: Likewise.
5755 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5757 * simple.rs: Add test for raw pointer subscripting.
5758 * simple.exp: Add test expectations.
5760 2016-07-05 Yao Qi <yao.qi@linaro.org>
5762 * gdb.mi/mi-reverse.exp: Match =record-started output.
5764 2016-07-01 Pedro Alves <palves@redhat.com>
5766 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5768 (jit_reader_test): Test the jit reader's unwinder.
5769 * gdb.base/jithost.c (jit_function_00_code): New global.
5770 (main): Use memcpy to fill in the mmapped code, instead of poking
5771 bytes manually here.
5772 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5774 (read_debug_info): Save the function's range.
5775 (read_sp): New function.
5776 (unwind_frame): Use it. Also unwind RBP.
5777 (get_frame_id): Use read_sp.
5778 (gdb_init_reader): Use calloc instead of malloc.
5779 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5780 parameter. Use gdb_test_multiple.
5782 2016-07-01 Pedro Alves <palves@redhat.com>
5783 Antoine Tremblay <antoine.tremblay@ericsson.com>
5785 * gdb.threads/process-dies-while-detaching.c: New file.
5786 * gdb.threads/process-dies-while-detaching.exp: New file.
5788 2016-07-01 Pedro Alves <palves@redhat.com>
5790 * gdb.multi/watchpoint-multi-exit.c: New file.
5791 * gdb.multi/watchpoint-multi-exit.exp: New file.
5793 2016-06-30 Pedro Alves <palves@redhat.com>
5795 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5796 unset inferior_spawn_id.
5798 2016-06-30 Pedro Alves <palves@redhat.com>
5800 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5801 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5803 2016-06-29 Yao Qi <yao.qi@linaro.org>
5805 * gdb.base/return.c: Add copyright header.
5807 2016-06-29 Tom Tromey <tom@tromey.com>
5810 * gdb.python/py-framefilter.exp: Add tests for setting priority
5811 and disabling of non-existent frame filter.
5813 2016-06-29 Yao Qi <yao.qi@linaro.org>
5815 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5818 2016-06-28 Yao Qi <yao.qi@linaro.org>
5820 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5821 triplets. Start gdb, execute catch syscall, and continue. Check
5822 gdb's output to determine catch syscall is supported.
5824 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5826 * gdb.rust/simple.rs: Add test for returning unit in a function.
5827 * gdb.rust/simple.exp: Add expectation for functions returning
5830 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5832 * gdb.python/py-breakpoint-create-fail.c,
5833 gdb.python/py-breakpoint-create-fail.exp,
5834 gdb.python/py-breakpoint-create-fail.py: New testcase.
5836 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5839 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5840 * gdb.rust/simple.exp: Add test expectations for new NonZero
5843 2016-06-24 David Taylor <dtaylor@emc.com>
5845 * gdb.base/offsets.exp: New file.
5846 * gdb.base/offsets.c: New file.
5848 2016-06-23 Tom Tromey <tom@tromey.com>
5851 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5852 before any filters are loaded.
5854 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5856 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5857 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5859 * gdb.fortran/derived-type-function.exp: New file.
5860 * gdb.fortran/derived-type-function.f90: New file.
5863 2016-06-21 Pedro Alves <palves@redhat.com>
5865 * gdb.base/new-ui.exp: New file.
5866 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5867 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5868 (with_spawn_id): New procedure.
5870 2016-06-21 Pedro Alves <palves@redhat.com>
5872 * gdb.mi/mi-exec-run.exp: New file.
5874 2016-06-21 Pedro Alves <palves@redhat.com>
5876 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5877 breakpoint command's output on the main UI.
5878 (test_break): New procedure, factored out from calls in the top
5880 (top level): Use foreach_with_prefix to test MI as main UI and as
5883 2016-06-21 Pedro Alves <palves@redhat.com>
5885 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5886 (test_awatch_creation_and_listing)
5887 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5888 Remove 'type' parameter.
5889 (test_watchpoint_all): New parameter mi_mode. Remove
5891 (top level): Use foreach_with_prefix, and add main/separate UI MI
5894 2016-06-21 Pedro Alves <palves@redhat.com>
5896 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5897 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5898 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5899 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5900 (gdb_main_spawn_id, mi_spawn_id): Declare and
5902 (mi_create_inferior_pty): New procedure,
5903 factored out from default_mi_gdb_start.
5904 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5906 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5907 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5908 Use mi_create_inferior_pty.
5909 (mi_gdb_start): Use eval to pass down args list.
5911 2016-06-21 Pedro Alves <palves@redhat.com>
5913 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5914 * gdb.opt/inline-cmds.exp: Add MI tests.
5916 2016-06-21 Pedro Alves <palves@redhat.com>
5918 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5920 2016-06-21 Pedro Alves <palves@redhat.com>
5922 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5923 (top level): Use it instead of mi_execute_to.
5925 2016-06-21 Pedro Alves <palves@redhat.com>
5927 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5928 (cont_handler_str): New.
5929 (signal_stop_handler): Set stop_handler_str instead of printing to
5931 (continue_handler): Set cont_handler_str instead of printing to
5933 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5934 mi_send_resuming_command. Print stop_handler_str and
5935 cont_handler_str instead of expecting the python events print
5938 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5940 * gdb.base/jit-reader.exp: New file.
5941 * gdb.base/jithost.c: New file.
5942 * gdb.base/jithost.h: New file.
5943 * gdb.base/jitreader.c : New file.
5944 * gdb.base/jit-protocol.h: New file.
5946 2016-06-17 Yao Qi <yao.qi@linaro.org>
5948 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5949 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5950 and detach-on-fork. Adjust tests.
5951 (top level): Invoke break_cond_on_syscall with combinations of
5952 syscall, follow-fork-mode and detach-on-fork.
5954 2016-06-17 Yao Qi <yao.qi@linaro.org>
5956 * gdb.base/step-over-exit.c: New.
5957 * gdb.base/step-over-exit.exp: New.
5959 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5961 * gdb.base/float.exp: Add target check for nds32*-*-*.
5962 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5964 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5966 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5967 for unsupported target features.
5968 * gdb.base/call-rt-st.exp: Likewise.
5969 * gdb.base/call-sc.exp: Likewise.
5970 * gdb.base/call-signal-resume.exp: Likewise.
5971 * gdb.base/call-strs.exp: Likewise.
5972 * gdb.base/callexit.exp: Likewise.
5973 * gdb.base/callfuncs.exp: Likewise.
5974 * gdb.base/nodebug.exp: Likewise.
5975 * gdb.base/printcmds.exp: Likewise.
5976 * gdb.base/ptype.exp: Likewise.
5977 * gdb.base/structs.exp: Likewise.
5978 * gdb.base/unwindonsignal.exp: Likewise.
5979 * gdb.cp/gdb2495.exp: Likewise.
5980 * gdb.cp/templates.exp: Likewise.
5981 * gdb.cp/virtfunc.exp: Likewise.
5982 * gdb.threads/hand-call-in-threads.exp: Likewise.
5983 * gdb.threads/interrupted-hand-call.exp: Likewise.
5984 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5986 2016-06-10 Tom Tromey <tom@tromey.com>
5989 * gdb.rust/expr.exp: Add test for integer constant larger than
5992 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5994 * gdb.fortran/nested-funcs.exp: New.
5995 * gdb.fortran/nested-funcs.f90: New.
5997 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5999 * gdb.base/examine-backward.c: New file.
6000 * gdb.base/examine-backward.exp: New file.
6002 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6004 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6007 2016-06-02 Tom Tromey <tom@tromey.com>
6010 * gdb.python/py-shared.exp: Add solib_name test.
6012 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6014 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6016 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6019 * gdb.dwarf2/implref.exp: Rename to...
6020 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6021 * gdb.dwarf2/implref-array.c: New file.
6022 * gdb.dwarf2/implref-array.exp: Likewise.
6023 * gdb.dwarf2/implref-global.c: Likewise.
6024 * gdb.dwarf2/implref-global.exp: Likewise.
6025 * gdb.dwarf2/implref-struct.c: Likewise.
6026 * gdb.dwarf2/implref-struct.exp: Likewise.
6028 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6030 * gdb.trace/trace-condition.exp: Add 64bit tests.
6032 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6034 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6036 (main): Adapt to 8 to 64 bits types.
6037 * gdb.trace/trace-condition.exp: Add new tests.
6039 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6041 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6043 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6045 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6046 Move condition tests...
6047 * gdb.trace/trace-condition.exp: Here.
6049 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6051 * gdb.trace/trace-condition.exp: Add counter-case tests.
6053 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6057 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6059 2016-05-27 Pedro Alves <palves@redhat.com>
6061 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6063 (top level): Call it, and bail out of DejaGnu is known to be bad.
6065 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6067 * gdb.base/whatis.c: Extend the test case.
6068 * gdb.base/whatis.exp: Add additional tests.
6070 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6072 * gdb.fortran/type.f90: Add pointer variable.
6073 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6075 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6077 * gdb.fortran/vla-type.exp: Fix testcase name.
6079 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6081 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6083 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6085 * gdb.fortran/type.f90: Add nested structures.
6086 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6087 * gdb.fortran/derived-type.exp: Adapt expected output.
6088 * gdb.fortran/vla-type.exp: Adapt expected output.
6090 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6092 * gdb.fortran/whatis_type.exp: Adapt expected output.
6094 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6096 * gdb.fortran/print_type.exp: Fix expected output.
6097 * gdb.fortran/whatis_type.exp: Fix expected output.
6099 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6101 * gdb.fortran/whatis_type.exp: Use multi_line.
6103 2016-05-24 Tom Tromey <tom@tromey.com>
6106 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6107 use value as an index.
6109 2016-05-23 Tom Tromey <tom@tromey.com>
6112 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6115 2016-05-24 Pedro Alves <palves@redhat.com>
6118 * gdb.threads/clone-attach-detach.c: New file.
6119 * gdb.threads/clone-attach-detach.exp: New file.
6121 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6123 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6125 2016-05-23 Tom Tromey <tom@tromey.com>
6127 PR python/19438, PR python/18393:
6128 * gdb.python/py-progspace.exp: Add "dir" test.
6129 * gdb.python/py-objfile.exp: Add "dir" test.
6131 2016-05-23 Yao Qi <yao.qi@linaro.org>
6133 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6134 * gdb.arch/thumb2-it.exp: Likewise.
6136 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6138 * gdb.mi/mi-threads-interrupt.c: New file.
6139 * gdb.mi/mi-threads-interrupt.exp: New file.
6141 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6144 * gdb.mi/mi-async-run.exp: New file.
6145 * gdb.mi/mi-async-run.c: New file.
6147 2016-05-17 Tom Tromey <tom@tromey.com>
6148 Manish Goregaokar <manishsmail@gmail.com>
6150 * lib/rust-support.exp: New file.
6151 * lib/gdb.exp (skip_rust_tests): New proc.
6152 (build_executable_from_specs): Handle rust.
6153 * lib/future.exp (gdb_find_rustc): New proc.
6154 (gdb_default_target_compile): Handle rust.
6155 * gdb.rust/expr.exp: New file.
6156 * gdb.rust/generics.exp: New file.
6157 * gdb.rust/generics.rs: New file.
6158 * gdb.rust/methods.exp: New file.
6159 * gdb.rust/methods.rs: New file.
6160 * gdb.rust/modules.exp: New file.
6161 * gdb.rust/modules.rs: New file.
6162 * gdb.rust/simple.exp: New file.
6163 * gdb.rust/simple.rs: New file.
6165 2016-05-17 Tom Tromey <tom@tromey.com>
6167 * gdb.base/default.exp (set language): Add rust.
6169 2016-05-17 Tom Tromey <tom@tromey.com>
6171 * gdb.gdb/unittest.exp: New file.
6173 2016-05-16 Yao Qi <yao.qi@linaro.org>
6175 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6176 shell_prompt. Update shell_prompt_re.
6178 2016-05-12 Doug Evans <dje@google.com>
6181 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6182 $options when building executable.
6183 * gdb.dwarf2/fission-loclists-pie.S: New file.
6184 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6186 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6188 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
6189 of [is_remote target],
6191 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6193 * lib/gdb.exp (use_gdb_stub): New procedure.
6195 2016-05-03 Yunlian Jiang <yunlian@google.com>
6196 Doug Evans <dje@google.com>
6199 * gdb.dwarf2/dwp-sepdebug.c: New file.
6200 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6202 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6204 * gdb.base/detach.exp: Remove is_remote check.
6206 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6208 * gdb.base/annota-input-while-running.exp: Don't check for
6209 [is_remote target]. Enable annotations after running to main.
6210 Remove unused "set test..." line.
6212 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6214 * gdb.trace/trace-enable-disable.exp: New file.
6215 * gdb.trace/trace-enable-disable.c: New file.
6217 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6219 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6220 use it in info sharedlibrary test.
6221 * gdb.trace/ftrace-lock.exp: Likewise.
6222 * gdb.trace/ftrace.exp: Likewise.
6223 * gdb.trace/range-stepping.exp: Likewise.
6224 * gdb.trace/trace-break.exp: Likewise.
6225 * gdb.trace/trace-condition.exp: Likewise.
6226 * gdb.trace/trace-mt.exp: Likewise.
6228 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6230 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6231 (gdb_load_shlib): ... this.
6232 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6234 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6235 * gdb.base/ctxobj.exp: Likewise.
6236 * gdb.base/dprintf-pending.exp: Likewise.
6237 * gdb.base/dso2dso.exp: Likewise.
6238 * gdb.base/fixsection.exp: Likewise.
6239 * gdb.base/gcore-relro.exp: Likewise.
6240 * gdb.base/gdb1555.exp: Likewise.
6241 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6242 * gdb.base/gnu-ifunc.exp: Likewise.
6243 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6244 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6245 * gdb.base/pending.exp: Likewise.
6246 * gdb.base/print-file-var.exp: Likewise.
6247 * gdb.base/print-symbol-loading.exp: Likewise.
6248 * gdb.base/shlib-call.exp: Likewise.
6249 * gdb.base/shreloc.exp: Likewise.
6250 * gdb.base/so-impl-ld.exp: Likewise.
6251 * gdb.base/solib-disc.exp: Likewise.
6252 * gdb.base/solib-nodir.exp: Likewise.
6253 * gdb.base/solib-overlap.exp: Likewise.
6254 * gdb.base/solib-symbol.exp: Likewise.
6255 * gdb.base/solib-weak.exp (do_test): Likewise.
6256 * gdb.base/sym-file.exp: Likewise.
6257 * gdb.base/symtab-search-order.exp: Likewise.
6258 * gdb.base/type-opaque.exp: Likewise.
6259 * gdb.base/unload.exp: Likewise.
6260 * gdb.base/watchpoint-solib.exp: Likewise.
6261 * gdb.compile/compile.exp: Likewise.
6262 * gdb.cp/gdb2384.exp: Likewise.
6263 * gdb.cp/infcall-dlopen.exp: Likewise.
6264 * gdb.cp/re-set-overloaded.exp: Likewise.
6265 * gdb.fortran/library-module.exp: Likewise.
6266 * gdb.opt/solib-intra-step.exp: Likewise.
6267 * gdb.python/py-finish-breakpoint.exp: Likewise.
6268 * gdb.python/py-shared.exp: Likewise.
6269 * gdb.reverse/solib-precsave.exp: Likewise.
6270 * gdb.reverse/solib-reverse.exp: Likewise.
6271 * gdb.server/solib-list.exp: Likewise.
6272 * gdb.threads/dlopen-libpthread.exp: Likewise.
6273 * gdb.threads/tls-shared.exp: Likewise.
6274 * gdb.threads/tls-so_extern.exp: Likewise.
6275 * gdb.trace/change-loc.exp: Likewise.
6276 * gdb.trace/ftrace-lock.exp: Likewise.
6277 * gdb.trace/ftrace.exp: Likewise.
6278 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6279 * gdb.trace/pending.exp: Likewise.
6280 * gdb.trace/range-stepping.exp: Likewise.
6281 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6282 (strace_info_marker): Likewise.
6283 (strace_probe_marker): Likewise.
6284 (strace_trace_on_same_addr): Likewise.
6285 (strace_trace_on_diff_addr): Likewise.
6286 * gdb.trace/trace-break.exp: Likewise.
6287 * gdb.trace/trace-condition.exp: Likewise.
6288 * gdb.trace/trace-mt.exp: Likewise.
6290 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6292 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
6293 result of gdb_remote_download.
6294 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6295 * gdb.base/dso2dso.exp: Likewise.
6296 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6297 * gdb.base/print-file-var.exp: Likewise.
6298 * gdb.base/shlib-call.exp: Likewise.
6299 * gdb.base/shreloc.exp: Likewise.
6300 * gdb.base/solib-overlap.exp: Likewise.
6301 * gdb.base/solib-weak.exp (do_test): Likewise.
6302 * gdb.base/unload.exp: Likewise.
6304 2016-04-27 Yao Qi <yao.qi@linaro.org>
6306 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6309 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6311 * vla-type.exp: Print structure from toplevel.
6313 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6315 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6317 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6320 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
6322 * gdb.fortran/vla-type.f90: New file.
6323 * gdb.fortran/vla-type.exp: New file.
6325 2016-04-25 Yao Qi <yao.qi@linaro.org>
6327 * gdb.base/branch-to-self.c: New file.
6328 * gdb.base/branch-to-self.exp: New file.
6330 2016-04-22 Yao Qi <yao.qi@linaro.org>
6332 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6335 2016-04-22 Yao Qi <yao.qi@linaro.org>
6337 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6338 * gdb.base/annota3.exp: Likewise.
6340 2016-04-22 Yao Qi <yao.qi@linaro.org>
6342 * gdb.reverse/step-precsave.exp: Do one step and test program
6343 stops in "callee" and do multiple steps until program goes out
6345 * gdb.reverse/step-reverse.exp: Likewise.
6347 2016-04-22 Yao Qi <yao.qi@linaro.org>
6349 * gdb.trace/signal.exp: Also pass if
6350 $tracepoint_hits($i) > $iterations.
6352 2016-04-22 Yao Qi <yao.qi@linaro.org>
6354 * gdb.trace/signal.c: New file.
6355 * gdb.trace/signal.exp: New file.
6357 2016-04-19 Doug Evans <xdje42@gmail.com>
6359 * gdb.base/bad-file.exp: New file.
6361 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
6363 * gdb.dwarf2/implref.exp: New file.
6365 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6367 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6368 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6369 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6370 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6371 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6372 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6373 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6374 * lib/fortran.exp (fortran_int4): New procedure.
6375 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6376 (fortran_logical4): Likewise.
6378 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
6380 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6382 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
6384 * lib/compiler.c: Add Intel specific preprocessor macros.
6385 * lib/compiler.cc: Likewise.
6387 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
6389 * gdb.server/connect-with-no-symbol-file.c: New file.
6390 * gdb.server/connect-with-no-symbol-file.exp: New file.
6392 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6394 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6396 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
6398 * boards/gdbserver-base.exp (${board}_download): Copy source file to
6399 standard output directory.
6401 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
6403 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6405 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
6407 * gdb.btrace/instruction_history.c (loop): Add declaration.
6409 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6411 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6413 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
6415 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6416 parentheses to print.
6417 (continue_handler): Likewise.
6419 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
6421 * gdb.server/solib-list.exp: Remove is_remote check.
6422 Pass shlib= to gdb_compile. Don't link shared library with
6423 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
6424 Run binary filename through "readlink -f" on the target.
6426 2016-04-08 Pedro Alves <palves@redhat.com>
6428 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
6429 interpreter filename as argument to gdbserver_spawn.
6430 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6431 Return empty if $last_loaded_file does not exist.
6433 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6435 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6436 * gdb.base/jit-main.c: Use exit after usage.
6438 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6440 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6441 GDBHISTSIZE prior to the tests.
6442 * gdb.base/gdbinit-history.exp: Likewise.
6444 2016-04-07 Pedro Alves <palves@redhat.com>
6446 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6447 instead of build_executable. Use gdb_load_shlibs.
6449 2016-04-07 Yao Qi <yao.qi@linaro.org>
6451 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6452 Execute "si" command.
6454 2016-04-07 Yao Qi <yao.qi@linaro.org>
6456 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
6457 number instead of the comments on some line.
6459 2016-04-06 Don Breazeal <donb@codesourcery.com>
6461 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6462 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6464 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6466 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6467 standard_output_file. Remove unused binfile variable.
6469 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6471 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6472 * gdb.python/py-mi-objfile.exp: Match "list main" output
6475 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6477 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6480 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6482 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6484 * gdb.trace/ftrace.exp: Likewise.
6485 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6487 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6488 (gdb_load_shlibs): Copy libraries to test directory when testing
6489 natively. Only set solib-search-path if testing remotely.
6490 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6492 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6494 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6495 gdb_download. Use it even if the target is not remote.
6496 * gdb.base/jit.exp (compile_jit_test): Likewise.
6497 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6498 output directory if the destination board is local, otherwise use
6499 the standard remote_download from DejaGnu.
6500 (gdb_download): Remove.
6501 (gdb_load_shlibs): Use gdb_remote_download instead of
6503 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6504 Use gdb_remote_download instead of gdb_download. Use it even if
6505 the target is not remote.
6506 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6507 instead of gdb_download.
6509 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6511 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6512 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6515 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6518 * gdb.base/printcmds.exp: Add artificial arrays tests.
6520 2016-03-31 Pedro Alves <palves@redhat.com>
6523 * gdb.base/jit-main.c: Include unistd.h.
6524 (ATTACH): Define to 0 if not already defined.
6525 (wait_for_gdb, mypid): New globals.
6526 (WAIT_FOR_GDB): New macro.
6527 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6528 some breakpoint locations.
6529 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6531 (one_jit_test): Add REATTACH parameter, and handle it. Use
6532 continue_to_test_location.
6533 (top level): Test attach, and adjusts calls to one_jit_test.
6535 2016-03-31 Pedro Alves <palves@redhat.com>
6538 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6539 BINSUFFIX parameter, and handle it.
6540 (top level): Adjust calls compile_jit_test.
6542 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6545 * gdb.python/py-mi-events-gdb.py: New file.
6546 * gdb.python/py-mi-events.c: New file.
6547 * gdb.python/py-mi-events.exp: New file.
6549 2016-03-30 Yao Qi <yao.qi@linaro.org>
6551 * gdb.reverse/until-precsave.exp: Match function name only.
6552 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6553 Move malloc to a condition block.
6554 * gdb.reverse/until-reverse.exp: Match function name only.
6556 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6558 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6559 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6560 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6561 variable for GPR 0 instead of assuming it is register 0.
6562 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6563 * lib/trace-support.exp: Add s390 registers.
6565 2016-03-29 Yao Qi <yao.qi@linaro.org>
6567 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6569 2016-03-24 Yao Qi <yao.qi@linaro.org>
6571 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6574 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6576 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6577 maintaining separate logic for constructing the output path.
6579 2016-03-16 Don Breazeal <donb@codesourcery.com>
6581 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6582 Retry fork and waitpid on interrupted system call errors.
6583 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6584 Use with_timeout_factor to increase timeout by factor of 10.
6586 2016-03-15 Don Breazeal <donb@codesourcery.com>
6588 * gdb.cp/scope-err.cc: New test program.
6589 * gdb.cp/scope-err.exp: New test script.
6590 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6591 lines and "set breakpoint here" comment.
6592 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6593 Fixed some whitespace and format issues.
6594 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6595 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6597 2016-03-15 Doug Evans <dje@google.com>
6599 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6600 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6601 All callers updated. Add tests for enums, mixed flags register.
6603 2016-03-15 Doug Evans <dje@google.com>
6605 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6606 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6608 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6610 * gdb.base/default.exp: Add $_as_string to the list of expected
6611 convenience functions.
6613 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6615 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6617 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6619 * gdb.python/py-as-string.exp: New file.
6620 * gdb.python/py-as-string.c: New file.
6622 2016-03-09 Pedro Alves <palves@redhat.com>
6624 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6625 signal" -> "Thread NN received signal" output change.
6626 * gdb.threads/ia64-sigill.exp: Likewise.
6627 * gdb.threads/linux-dp.exp: Likewise.
6628 * gdb.threads/manythreads.exp: Likewise.
6629 * gdb.threads/pending-step.exp: Likewise.
6630 * gdb.threads/print-threads.exp: Likewise.
6631 * gdb.threads/sigstep-threads.exp: Likewise.
6632 * gdb.threads/staticthreads.exp: Likewise.
6633 * gdb.threads/tls.exp: Likewise.
6635 2016-03-09 Pedro Alves <palves@redhat.com>
6637 * gdb.base/command-line-input.exp: New file.
6639 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6641 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6642 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6643 * gdb.trace/pending.exp: Accept leading dot before function name.
6644 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6645 * lib/trace-support.exp: Set registers for ppc.
6647 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6649 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6650 use it for disassembly; accept .main in addition to main in backtrace.
6652 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6653 Marcin Kościelnicki <koriakin@0x04.net>
6655 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6656 (gdb_recursion_test_ptr): New global variable.
6657 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6659 (gdb_c_test): Ditto.
6661 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6663 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6666 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6668 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6669 (bar): Add bar_start_lbl label.
6670 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6671 of foo/bar for emitting DWARF and tracing.
6673 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6675 * analyze-racy-logs.py: Set executable bit.
6677 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6679 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6680 (CHECK_TARGET_TMP): Likewise.
6681 (check-single-racy): New rule.
6682 (check-parallel-racy): Likewise.
6683 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6684 (do-check-parallel-racy): New rule.
6685 (check-racy/%.exp): Likewise.
6686 * README (Racy testcases): New section.
6687 * analyze-racy-logs.py: New file.
6689 2016-03-03 Doug Evans <dje@google.com>
6691 * gdb.base/skip.exp: Use with_test_prefix.
6693 2016-03-03 Yao Qi <yao.qi@linaro.org>
6695 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6696 Invoke step_over_syscall "clone" and break_cond_on_syscall
6698 * gdb.base/step-over-clone.c: New file.
6700 2016-03-03 Yao Qi <yao.qi@linaro.org>
6702 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6705 2016-03-03 Yao Qi <yao.qi@linaro.org>
6707 * gdb.base/disp-step-fork.c: Rename to ...
6708 * gdb.base/step-over-fork.c: ... it. New file.
6709 * gdb.base/disp-step-vfork.c: Rename to ...
6710 * gdb.base/step-over-vfork.c: ... it. New file.
6711 * gdb.base/disp-step-syscall.exp: Rename to ...
6712 * gdb.base/step-over-syscall.exp: ... it. New file.
6713 (disp_step_cross_syscall): Rename to ...
6714 (step_over_syscall): ... it.
6716 2016-03-03 Yao Qi <yao.qi@linaro.org>
6718 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6719 If target supports condition evaluation on target, invoke
6720 break_cond_on_syscall for fork and vfork.
6722 2016-03-03 Yao Qi <yao.qi@linaro.org>
6724 * gdb.base/disp-step-syscall.exp: Don't invoke
6725 support_displaced_stepping.
6726 (disp_step_cross_syscall): Test with displaced stepping off and
6729 2016-03-03 Yao Qi <yao.qi@linaro.org>
6731 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6734 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6737 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6739 * gdb.fortran/vla-history.exp: Remove breakpoint.
6741 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6743 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6746 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6748 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6751 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6753 * gdb.mi/vla.f90: Nullify pointer after declaration.
6755 2016-03-01 Pedro Alves <palves@redhat.com>
6757 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6759 2016-03-01 Pedro Alves <palves@redhat.com>
6761 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6762 before anything else.
6763 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6765 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6766 before anything else.
6767 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6769 2016-03-01 Pedro Alves <palves@redhat.com>
6771 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6773 2016-03-01 Yao Qi <yao.qi@linaro.org>
6775 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6776 prepare_for_testing.
6778 2016-03-01 Yao Qi <yao.qi@linaro.org>
6780 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6782 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6784 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6785 manually constructing the output path.
6787 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6789 * gdb.arch/s390-stackless.S: New.
6790 * gdb.arch/s390-stackless.exp: New.
6792 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6794 * gdb.dlang/circular.c: New file.
6795 * gdb.dlang/circular.exp: New file.
6797 2016-02-26 Yao Qi <yao.qi@linaro.org>
6799 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6800 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6801 (testcases): Update.
6803 2016-02-26 Yao Qi <yao.qi@linaro.org>
6805 * gdb.reverse/aarch64.c: Rename to ...
6806 * gdb.reverse/insn-reverse.c: ... it.
6807 * gdb.reverse/aarch64.exp: Rename to ...
6808 * gdb.reverse/insn-reverse.exp: ... it.
6810 2016-02-26 Yao Qi <yao.qi@linaro.org>
6812 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6813 (testcase_ftype): New.
6814 (testcases): New array.
6816 (main): Call each element in testcases.
6817 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6818 (read_testcase): New.
6819 Do the tests in a loop.
6821 2016-02-25 Yao Qi <yao.qi@linaro.org>
6823 * gdb.base/branches.c: Remove.
6825 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6828 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6830 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6832 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6834 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6836 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6837 change x86_64 call_insn to 'callq'.
6839 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6841 * gdb.trace/tfile-avx.c: Move to...
6842 * gdb.trace/tracefile-pseudo-reg.c: Here.
6843 * gdb.trace/tfile-avx.exp: Move to...
6844 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6846 2016-02-24 Gary Benson <gbenson@redhat.com>
6848 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6851 2016-02-23 Doug Evans <dje@google.com>
6853 * gdb.base/skip.c (test_skip): New function.
6854 (end_test_skip_file_and_function): New function.
6855 (test_skip_file_and_function): New function.
6856 * gdb.base/skip1.c (test_skip): New function.
6857 (skip1_test_skip_file_and_function): New function.
6858 * gdb.base/skip.exp: Add tests for new skip options.
6859 * gdb.base/skip-solib.exp: Update expected output.
6860 * gdb.perf/skip-command.cc: New file.
6861 * gdb.perf/skip-command.exp: New file.
6862 * gdb.perf/skip-command.py: New file.
6864 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6866 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6867 info registers pattern.
6869 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6871 * lib/future.exp: Add D support.
6872 (gdb_find_gdc): New proc.
6873 (gdb_default_target_compile): Add D support.
6875 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6877 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6879 (trace_speed_test): Determine the iteration count for a time
6880 between 15..30 seconds.
6882 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6884 * gdb.arch/i386-mpx-sigsegv.c: New file.
6885 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6886 * gdb.arch/i386-mpx-simple_segv.c: New file.
6887 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6889 2016-02-18 Yao Qi <yao.qi@linaro.org>
6891 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6892 Don't call setup_kfail.
6894 2016-02-18 Yao Qi <yao.qi@linaro.org>
6896 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6897 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6899 2016-02-16 Doug Evans <dje@google.com>
6901 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6902 * gdb.base/skip1.c: Ditto.
6903 * gdb.base/skip.exp: Whitespace cleanup.
6905 2016-02-16 Don Breazeal <donb@codesourcery.com>
6908 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6909 Remove kfail for PR remote/19496.
6911 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6913 * lib/gdb.exp (standard_temp_file): Return a path specific to
6914 the runtest invocation.
6916 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6918 * gdb.trace/save-trace.exp: Change relative path to be in the
6919 standard output directory.
6921 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6923 * gdb.arch/i386-prologue.c: Add missing prototypes.
6925 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6927 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6928 * gdb.arch/i386-prologue.exp: Likewise.
6929 * gdb.arch/i386-size.exp: Likewise.
6931 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6933 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6934 define object file path.
6935 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6937 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6938 standard_output_file to define binfile.
6940 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6942 Fix compatibility with recent gfortran-5.3.1.
6943 * gdb.fortran/vla-history.exp (print vla1 allocated)
6944 (print vla2 allocated, print $2, print $3): Remove
6945 (print $4): Rename to ...
6946 (print $2): ... here.
6947 (print $9): Rename to ...
6948 (print $5): ... here.
6949 (print $10): Rename to ...
6950 (print $6): ... here.
6951 * gdb.fortran/vla.f90: Add pvla initialization.
6953 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6955 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6957 * gdb.fortran/vla-value-sub.exp: Likewise.
6959 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6961 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6963 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6965 * i386-biarch-core.exp: Define corefile using
6966 standard_output_file.
6968 2016-02-12 Yao Qi <yao.qi@linaro.org>
6970 * gdb.arch/arm-single-step-kernel-helper.c: New.
6971 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6973 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6975 * gdb.btrace/tailcall-only.exp: New.
6976 * gdb.btrace/tailcall-only.c: New.
6977 * gdb.btrace/x86_64-tailcall-only.S: New.
6978 * gdb.btrace/i686-tailcall-only.S: New.
6980 2016-02-11 Pedro Alves <palves@redhat.com>
6982 * README (Parallel testing): Add missing double quotes.
6984 2016-02-11 Pedro Alves <palves@redhat.com>
6986 * README (Parallel testing): New section.
6987 (GDB_PARALLEL): Rewrite.
6988 (FORCE_PARALLEL): Document.
6990 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6992 * gdb.trace/tfile-avx.c: New test.
6993 * gdb.trace/tfile-avx.exp: New test.
6995 2016-02-09 Keith Seitz <keiths@redhat.com>
6997 PR breakpoints/19546
6998 * gdb.base/infcall-exec.c: New file.
6999 * gdb.base/infcall-exec2.c: New file.
7000 * gdb.base/infcall-exec.exp: New file.
7002 2016-02-09 Keith Seitz <keiths@redhat.com>
7004 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7005 (toplevel): Call test_bkpt_address.
7007 2016-02-09 Keith Seitz <keiths@redhat.com>
7010 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7011 (toplevel): Call test_bkpt_address.
7013 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7015 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7017 * configure: Regenerate.
7019 2016-02-09 Pedro Alves <palves@redhat.com>
7021 PR breakpoints/19548
7022 * gdb.base/execl-update-breakpoints.c (some_function): New
7025 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7026 Tighten expected GDB output.
7028 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7030 * Makefile.in (ALL_SUBDIRS): Remove.
7031 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7032 (distclean maintainer-clean realclean): Likewise.
7033 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7034 * configure: Regenerate.
7035 * gdb.ada/Makefile.in: Delete.
7036 * gdb.arch/Makefile.in: Likewise.
7037 * gdb.asm/Makefile.in: Likewise.
7038 * gdb.base/Makefile.in: Likewise.
7039 * gdb.btrace/Makefile.in: Likewise.
7040 * gdb.cell/Makefile.in: Likewise.
7041 * gdb.compile/Makefile.in: Likewise.
7042 * gdb.cp/Makefile.in: Likewise.
7043 * gdb.disasm/Makefile.in: Likewise.
7044 * gdb.dlang/Makefile.in: Likewise.
7045 * gdb.dwarf2/Makefile.in: Likewise.
7046 * gdb.fortran/Makefile.in: Likewise.
7047 * gdb.gdb/Makefile.in: Likewise.
7048 * gdb.go/Makefile.in: Likewise.
7049 * gdb.guile/Makefile.in: Likewise.
7050 * gdb.java/Makefile.in: Likewise.
7051 * gdb.linespec/Makefile.in: Likewise.
7052 * gdb.mi/Makefile.in: Likewise.
7053 * gdb.modula2/Makefile.in: Likewise.
7054 * gdb.multi/Makefile.in: Likewise.
7055 * gdb.objc/Makefile.in: Likewise.
7056 * gdb.opencl/Makefile.in: Likewise.
7057 * gdb.opt/Makefile.in: Likewise.
7058 * gdb.pascal/Makefile.in: Likewise.
7059 * gdb.perf/Makefile.in: Likewise.
7060 * gdb.python/Makefile.in: Likewise.
7061 * gdb.reverse/Makefile.in: Likewise.
7062 * gdb.server/Makefile.in: Likewise.
7063 * gdb.stabs/Makefile.in: Likewise.
7064 * gdb.threads/Makefile.in: Likewise.
7065 * gdb.trace/Makefile.in: Likewise.
7066 * gdb.xml/Makefile.in: Likewise.
7067 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7069 (standard_output_file): Remove check for GDB_PARALLEL, always
7070 return path in outputs/$subdir/$testname.
7072 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7074 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7075 (site.exp): Assign abs_srcdir to tcl's srcdir.
7077 2016-02-04 Yao Qi <yao.qi@linaro.org>
7079 * gdb.base/foll-exec-mode.c: Include limits.h.
7080 (main): Add parameters argc and argv. Get directory from
7082 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7084 * gdb.base/foll-exec.c: Include limits.h.
7085 (main): Add parameters argc and argv.
7086 Get directory from argv[0].
7087 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7088 Adjust tests on the number of lines as source code changed.
7089 * gdb.base/foll-vfork-exit.c: Include limits.h.
7090 (main): Add one line of statement before vfork.
7091 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7092 (main): Add parameters argc and argv. Get directory from
7094 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7095 (setup_gdb): Set tbreak to skip some source lines.
7096 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7097 (main): Add parameters argc and argv. Get directory from
7099 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7101 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7102 (main): Add parameters argc and argv. Get directory from
7104 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7107 2016-02-01 Doug Evans <dje@google.com>
7109 * gdb.base/skip.exp: Clean up multiple references to same test name.
7111 2016-02-01 Pedro Alves <palves@redhat.com>
7114 * gdb.threads/forking-threads-plus-breakpoint.exp
7115 (displaced_stepping_supported): New global.
7116 (probe_displaced_stepping_support): New procedure.
7117 (do_test): Add 'displaced' parameter, and use it.
7118 (top level): Check for displaced stepping support. Add displaced
7119 stepping on/off testing axis.
7121 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7123 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7124 pointer. Don't perform further tests on the unassociated pointer
7125 if the first test fails.
7127 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7129 * gdb.base/max-value-size.c: New file.
7130 * gdb.base/max-value-size.exp: New file.
7131 * gdb.base/huge.exp: Disable max-value-size for this test.
7133 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7135 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7137 2016-01-28 Yao Qi <yao.qi@linaro.org>
7139 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7141 2016-01-25 Pedro Alves <palves@redhat.com>
7144 * gdb.base/fork-running-state.c: New file.
7145 * gdb.base/fork-running-state.exp: New file.
7147 2016-01-25 Pedro Alves <palves@redhat.com>
7150 * gdb.base/catch-fork-kill.c: New file.
7151 * gdb.base/catch-fork-kill.exp: New file.
7153 2016-01-25 Pedro Alves <palves@redhat.com>
7155 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7156 Delete, moved to lib/gdb.exp.
7157 * gdb.threads/forking-threads-plus-breakpoint.exp
7158 (foreach_with_prefix): Likewise.
7159 * gdb.threads/process-dies-while-handling-bp.exp
7160 (foreach_with_prefix): Likewise.
7161 * lib/gdb.exp (foreach_with_prefix): New procedure.
7163 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7165 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7166 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7168 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7170 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7173 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7174 Pedro Alves <palves@redhat.com>
7176 Fix testsuite compatibility with Guile.
7177 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7180 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7182 Fix testsuite compatibility with Guile.
7183 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7184 (thread 1): New test for backtrace through signal handler.
7186 2016-01-22 Yao Qi <yao.qi@linaro.org>
7189 * gdb.base/multi-forks.c: Include
7190 ../lib/unbuffer_output.c
7191 (main): Call gdb_unbuffer_output.
7193 2016-01-21 Doug Evans <dje@google.com>
7195 * lib/ada.exp (gdb_compile_ada): Fix typo.
7197 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7199 * gdb.base/break-fun-addr.exp: New file.
7200 * gdb.base/break-fun-addr1.c: New file.
7201 * gdb.base/break-fun-addr2.c: New file.
7203 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7205 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7206 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7209 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7211 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7212 when GDB can not set the vector return value. Add more comments
7215 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7217 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7220 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7222 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7224 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7226 * Makefile.in (check-single): Pass --status to runtest.
7227 (check/%.exp): Likewise.
7229 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7231 * Makefile.in (check-parallel): Propagate return code from make
7234 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7236 * gdb.trace/ftrace.exp: Fix expected message on continue.
7237 * gdb.trace/pending.exp: Fix expected message on continue.
7238 * gdb.trace/trace-break.exp: Fix expected message on continue.
7240 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7242 * lib/gdb.exp (gdb_test): Remove unused global references.
7244 2016-01-18 Pedro Alves <palves@redhat.com>
7246 * gdb.base/async-shell.exp: Adjust expected output.
7247 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7248 * gdb.base/siginfo-thread.exp: Adjust expected output.
7249 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7250 * gdb.java/jnpe.exp: Adjust expected output.
7251 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7252 * gdb.threads/continue-pending-status.exp: Adjust expected output.
7253 * gdb.threads/leader-exit.exp: Adjust expected output.
7254 * gdb.threads/manythreads.exp: Adjust expected output.
7255 * gdb.threads/pthreads.exp: Adjust expected output.
7256 * gdb.threads/schedlock.exp: Adjust expected output.
7257 * gdb.threads/siginfo-threads.exp: Adjust expected output.
7258 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7260 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7262 * gdb.threads/sigthread.exp: Adjust expected output.
7263 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7265 2016-01-18 Yao Qi <yao.qi@linaro.org>
7267 * gdb.guile/scm-section-script.c: Replace @progbits with
7269 * gdb.python/py-section-script.c: Likewise.
7271 2016-01-15 Pedro Alves <palves@redhat.com>
7273 * gdb.multi/tids.exp: Test star wildcard ranges.
7275 2016-01-15 Pedro Alves <palves@redhat.com>
7277 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7278 command from "thread apply" invocation.
7279 (thr_apply_info_thr_invalid): Default the expected output to the
7281 (top level): Add tests that use convenience variables. Add tests
7282 for "thread apply" with a valid TID list, but missing the command.
7284 2016-01-13 Pedro Alves <palves@redhat.com>
7286 * gdb.base/default.exp: Expect $_gthread as well.
7287 * gdb.multi/tids.exp: Test $_gthread.
7288 * gdb.threads/thread-specific.exp: Test $_gthread.
7290 2016-01-13 Pedro Alves <palves@redhat.com>
7292 * gdb.multi/tids.exp: Test "info threads -gid".
7294 2016-01-13 Pedro Alves <palves@redhat.com>
7296 * gdb.multi/tids.exp: Test InferiorThread.global_num and
7298 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7300 2016-01-07 Pedro Alves <palves@redhat.com>
7302 * gdb.base/break.exp: Adjust to output changes.
7303 * gdb.base/hbreak2.exp: Likewise.
7304 * gdb.base/sepdebug.exp: Likewise.
7305 * gdb.base/watch_thread_num.exp: Likewise.
7306 * gdb.linespec/keywords.exp: Likewise.
7307 * gdb.multi/info-threads.exp: Likewise.
7308 * gdb.threads/thread-find.exp: Likewise.
7309 * gdb.multi/tids.c: New file.
7310 * gdb.multi/tids.exp: New file.
7312 2016-01-13 Pedro Alves <palves@redhat.com>
7314 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7316 2016-01-13 Pedro Alves <palves@redhat.com>
7318 * gdb.base/default.exp: Expect $_inferior as well.
7319 * gdb.multi/base.exp: Test $_inferior.
7321 2016-01-13 Pedro Alves <palves@redhat.com>
7323 PR breakpoints/19388
7324 * gdb.base/catch-signal-siginfo-cond.c: New file.
7325 * gdb.base/catch-signal-siginfo-cond.exp: New file.
7327 2016-01-12 Josh Stone <jistone@redhat.com>
7328 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7330 * gdb.base/catch-syscall.c (do_execve): New variable.
7331 (main): Conditionally trigger an execve.
7332 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7333 (test_catch_syscall_execve): New, check entry/return across execve.
7334 (do_syscall_tests): Call test_catch_syscall_execve.
7336 2016-01-12 Pedro Alves <palves@redhat.com>
7338 * gdb.base/random-signal.exp (do_test): New procedure, with body
7339 of testcase moved in.
7341 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7342 Pedro Alves <palves@redhat.com>
7344 * gdb.base/funcargs.exp (finish from indirectly called function):
7345 Reintroduce the case for 'First'.
7347 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7348 Pedro Alves <palves@redhat.com>
7350 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7351 (tcatch_vfork_then_child_follow_exec)
7352 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7355 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7357 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7358 and repeats to unlimited.
7359 * gdb.python/py-value.exp: Likewise.
7360 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7361 and repeats to unlimited.
7363 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7365 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7366 and reordering the functions.
7367 * gdb.multi/hangout.c: Likewise.
7368 * gdb.multi/hello.c: Likewise.
7370 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
7372 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7374 (SingleStatisticTestResult.report): Use dict.keys instead of
7377 2016-01-06 Pedro Alves <palves@redhat.com>
7379 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
7381 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
7383 * gdb.btrace/dlopen.exp: New.
7384 * gdb.btrace/dlopen.c: New.
7385 * gdb.btrace/dlopen-dso.c: New.
7387 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
7389 * lib/gdb.exp (gdb_test): Update comments to clarify that the
7390 PATTERN argument is optional.
7392 2015-12-24 Joel Brobecker <brobecker@adacore.com>
7394 * lib/ada.exp (target_compile_ada_from_dir): New function.
7395 (gdb_compile_ada): Reimplement avoiding the use of project files.
7396 * gdb.ada/gnat_ada.gpr: Delete.
7397 * gdb.ada/cond_lang.exp: Adjust test to make path before
7399 * gdb.ada/small_reg_param.exp: Likewise.
7401 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
7403 * gdb.base/foll-vork.exp: Remove HP-UX special case.
7405 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
7407 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7410 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
7412 * gdb.base/break.exp: Remove dead code.
7413 * gdb.base/sepdebug.exp: Likewise.
7415 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7417 * gdb.asm/asm-source.exp: Remove HP-UX references.
7418 * gdb.base/annota1.exp: Likewise.
7419 * gdb.base/annota3.exp: Likewise.
7420 * gdb.base/attach.exp: Likewise.
7421 * gdb.base/bigcore.exp: Likewise.
7422 * gdb.base/break.exp: Likewise.
7423 * gdb.base/call-ar-st.exp: Likewise.
7424 * gdb.base/callfuncs.exp: Likewise.
7425 * gdb.base/catch-fork-static.exp: Likewise.
7426 * gdb.base/display.exp: Likewise.
7427 * gdb.base/foll-exec-mode.exp: Likewise.
7428 * gdb.base/foll-exec.exp: Likewise.
7429 * gdb.base/foll-fork.exp: Likewise.
7430 * gdb.base/foll-vfork.exp: Likewise.
7431 * gdb.base/funcargs.exp: Likewise.
7432 * gdb.base/hbreak2.exp: Likewise.
7433 * gdb.base/inferior-died.exp: Likewise.
7434 * gdb.base/interrupt.exp: Likewise.
7435 * gdb.base/multi-forks.exp: Likewise.
7436 * gdb.base/nodebug.exp: Likewise.
7437 * gdb.base/sepdebug.exp: Likewise.
7438 * gdb.base/solib1.c: Likewise.
7439 * gdb.base/step-test.exp: Likewise.
7440 * gdb.mi/non-stop.c: Likewise.
7441 * gdb.mi/pthreads.c: Likewise.
7442 * gdb.multi/bkpt-multi-exec.ex: Likewise.
7443 * gdb.threads/pthreads.c: Likewise.
7444 * gdb.threads/staticthreads.exp: Likewise.
7445 * lib/future.exp: Likewise.
7446 * lib/gdb.exp: Likewise.
7447 * gdb.base/so-indr-cl.c: Remove.
7448 * gdb.base/so-indr-cl.exp: Likewise.
7449 * gdb.base/solib.c: Likewise.
7450 * gdb.base/solib.exp: Likewise.
7451 * gdb.base/solib2.c: Likewise.
7453 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
7455 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7456 * gdb.base/call-ar-st.exp: Likewise.
7457 * gdb.base/callfuncs.exp: Likewise.
7458 * gdb.base/condbreak.exp: Likewise.
7459 * gdb.base/constvars.exp: Likewise.
7460 * gdb.base/hbreak2.exp: Likewise.
7461 * gdb.base/langs.exp: Likewise.
7462 * gdb.base/list.exp: Likewise.
7463 * gdb.base/long_long.exp: Likewise.
7464 * gdb.base/ptype.exp: Likewise.
7465 * gdb.base/scope.exp: Likewise.
7466 * gdb.base/signals.exp: Likewise.
7467 * gdb.base/so-impl-ld.exp: Likewise.
7468 * gdb.base/varargs.exp: Likewise.
7469 * gdb.base/volatile.exp: Likewise.
7470 * gdb.base/whatis.exp: Likewise.
7471 * gdb.cp/cplusfuncs.exp: Likewise.
7472 * gdb.cp/inherit.exp: Likewise.
7473 * gdb.cp/local.exp: Likewise.
7474 * gdb.cp/member-ptr.exp: Likewise.
7475 * gdb.cp/method.exp: Likewise.
7476 * gdb.cp/overload.exp: Likewise.
7477 * gdb.cp/templates.exp: Likewise.
7478 * gdb.stabs/weird.exp: Likewise.
7479 * lib/compiler.c: Likewise.
7480 * lib/compiler.cc: Likewise.
7481 * lib/cp-support.exp: Likewise.
7482 * lib/gdb.exp: Likewise.
7484 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7486 * configure.ac: Remove HP-UX case.
7487 * configure: Regenerate.
7489 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7491 * lib/gdb.exp (gdb_compile): Add function doc.
7493 2015-12-17 Pedro Alves <palves@redhat.com>
7496 * gdb.multi/info-threads.exp: New file.
7498 2015-12-15 Yao Qi <yao.qi@linaro.org>
7500 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7503 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7505 * gdb.base/history-duplicates.exp: Skip if no readline support.
7507 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7509 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7511 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7513 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7515 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7517 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7518 ctrl-C if nointerrupts target property is set.
7519 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7520 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7521 * gdb.base/paginate-bg-execution.exp: Likewise.
7522 * gdb.base/paginate-execution-startup.exp: Likewise.
7523 * gdb.base/random-signal.exp: Likewise.
7524 * gdb.base/range-stepping.exp: Likewise.
7525 * gdb.cp/annota2.exp: Likewise.
7526 * gdb.cp/annota3.exp: Likewise.
7527 * gdb.gdb/selftest.exp: Likewise.
7528 * gdb.threads/continue-pending-status.exp: Likewise.
7529 * gdb.threads/leader-exit.exp: Likewise.
7530 * gdb.threads/manythreads.exp: Likewise.
7531 * gdb.threads/pthreads.exp: Likewise.
7532 * gdb.threads/schedlock.exp: Likewise.
7533 * gdb.threads/sigthread.exp: Likewise.
7535 2015-12-11 Don Breazeal <donb@codesourcery.com>
7537 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7539 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7540 * gdb.base/foll-exec.exp (main): Enable for target remote.
7541 * gdb.base/foll-fork.exp (main): Likewise.
7542 * gdb.base/foll-vfork.exp (main): Likewise.
7543 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7544 (proc continue_to_exit_bp_loc): Use clean_restart.
7545 * gdb.base/pie-execl.exp (main): Disable for target remote.
7546 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7547 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7548 * gdb.threads/execl.exp (main): Likewise.
7549 * gdb.threads/fork-child-threads.exp (main): Likewise.
7550 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7552 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7554 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7555 pid.tid style ptids, instead of just tid.
7556 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7557 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7558 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7559 ptids, instead of just tid.
7561 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7563 * gdb.base/list.exp (test_list_forward): Add end of file error
7565 (test_repeat_list_command): Add end of file error test.
7566 (test_list_backwards): Add beginning of file error test.
7568 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7570 * gdb.base/list.exp (test_list_invalid_args): New function,
7571 defined, and called.
7573 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7575 * gdb.base/list.exp (test_list): Make test names unique.
7577 2015-12-11 Yao Qi <yao.qi@linaro.org>
7579 * gdb.base/coremaker2.c: Remove.
7581 2015-12-10 Pedro Alves <palves@redhat.com>
7583 * gdb.multi/base.exp: Remove stale "spaces" references.
7585 2015-12-10 Pedro Alves <palves@redhat.com>
7587 * gdb.multi/base.exp: Don't use nowarnings.
7588 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7589 * gdb.multi/hangout.c: Include stdio.h.
7590 * gdb.multi/hello.c: Include stdlib.h.
7591 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7592 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7593 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7595 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7597 * gdb.dwarf2/dw2-ranges-base.c: New file.
7598 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7599 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7600 support additional line table, and debug ranges generation.
7601 (Dwarf::ranges): New function, generate .debug_ranges.
7602 (Dwarf::lines): Support generating simple line table programs.
7603 (Dwarf::assemble): Initialise new namespace variables.
7605 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7607 * gdb.base/async.exp (proc test_background): Add case for
7608 asynchronous execution not supported.
7610 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7612 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7613 format and change test names to make them unique.
7615 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7616 Pedro Alves <pedro@redhat.com>
7619 Add checking of floatformats setup on x86_64 hosts.
7620 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7621 (smallval, bigval): New labels/constants.
7622 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7623 float" after loading bigval and smallval.
7625 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7627 * gdb.ada/fun_overload_menu.exp: New testcase.
7628 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7630 2015-12-04 Josh Stone <jistone@redhat.com>
7632 * gdb.base/catch-fork-static.exp: New.
7634 2015-12-03 Yao Qi <yao.qi@linaro.org>
7636 * gdb.base/sizeof.c: Don't include stdio.h and
7637 ../lib/unbuffer_output.c.
7638 (main): New variable 'size' and 'value'. Remove printf and
7639 gdb_unbuffer_output. Assign return value to size and value.
7640 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7642 (check_sizeof): Check the result by printing variable 'size'.
7643 (check_valueof): Check the result by printing variable 'value'.
7645 2015-12-01 Yao Qi <yao.qi@linaro.org>
7647 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7648 for aarch64*-*-linux* target.
7650 2015-11-30 Pedro Alves <palves@redhat.com>
7652 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7654 2015-11-30 Pedro Alves <palves@redhat.com>
7656 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7657 Handle non-stop mode vCont replies.
7659 2015-11-30 Pedro Alves <palves@redhat.com>
7661 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7662 prepare_for_testing. Start gdb with "set non-stop on" appended to
7663 GDBFLAGS. Lax expected stop output.
7665 2015-11-27 Yao Qi <yao.qi@linaro.org>
7667 * gdb.arch/arm-neon.exp: New.
7668 * gdb.arch/arm-neon.c: New.
7670 2015-11-27 Yao Qi <yao.qi@linaro.org>
7672 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7674 2015-11-27 Yao Qi <yao.qi@linaro.org>
7676 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7677 frames-invalid annotation.
7679 2015-11-27 Yao Qi <yao.qi@linaro.org>
7681 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7683 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7685 * gdb.threads/names.exp: New file.
7686 * gdb.threads/names.c: New file.
7687 * README: Mention gdb,no_thread_names.
7689 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7692 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7695 2015-11-24 Pedro Alves <palves@redhat.com>
7698 * gdb.base/display.exp: Expect displays to be sorted in ascending
7699 order. Use multi_line.
7700 * gdb.base/solib-display.exp: Likewise.
7702 2015-11-24 Pedro Alves <palves@redhat.com>
7705 * gdb.base/display.exp: Expect displays to be sorted in ascending
7706 order. Use multi_line.
7707 * gdb.base/solib-display.exp: Likewise.
7709 2015-11-24 Pedro Alves <palves@redhat.com>
7712 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7713 threads in ascending order.
7714 * gdb.base/foll-fork.exp: Likewise.
7715 * gdb.base/foll-vfork.exp: Likewise.
7716 * gdb.base/multi-forks.exp: Likewise.
7717 * gdb.mi/mi-nonstop.exp: Likewise.
7718 * gdb.mi/mi-nsintrall.exp: Likewise.
7719 * gdb.multi/base.exp: Likewise.
7720 * gdb.multi/multi-arch.exp: Likewise.
7721 * gdb.python/py-inferior.exp: Likewise.
7722 * gdb.threads/break-while-running.exp: Likewise.
7723 * gdb.threads/execl.exp: Likewise.
7724 * gdb.threads/gcore-thread.exp: Likewise.
7725 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7726 * gdb.threads/kill.exp: Likewise.
7727 * gdb.threads/linux-dp.exp: Likewise.
7728 * gdb.threads/multiple-step-overs.exp: Likewise.
7729 * gdb.threads/next-bp-other-thread.exp: Likewise.
7730 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7731 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7732 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7733 * gdb.threads/thread-find.exp: Likewise.
7734 * gdb.threads/tls.exp: Likewise.
7735 * lib/mi-support.exp (mi_reverse_list): Delete.
7736 (mi_check_thread_states): No longer reverse list.
7738 2015-11-24 Pedro Alves <palves@redhat.com>
7740 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7743 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7745 * gdb.trace/actions.c: Include trace-common.h.
7746 (main): Add a location for a fast tracepoint.
7747 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7748 the normal tracepoints.
7749 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7751 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7753 * save-trace.exp: Factor out code to these...
7754 (gdb_save_tracepoints): New.
7755 (gdb_load_tracepoints): New.
7756 (do_save_load_test): New.
7758 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7760 * gdb.base/asmlabel.exp: New test.
7761 * gdb.base/asmlabel.c: New test case.
7763 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7765 * gdb.base/wrong_frame_bt_full-main.c: New file.
7766 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7767 * gdb.base/wrong_frame_bt_full.exp: New file.
7769 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7771 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7773 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7775 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7776 pstate register when comparing registers values in
7777 sparc64-*-linux-gnu targets to avoid spurious differences.
7779 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7781 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7783 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7785 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7786 as type argument to gdb_compile.
7787 * gdb.base/nested-subp2.exp: Likewise.
7788 * gdb.base/nested-subp3.exp: Likewise.
7790 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7792 * lib/dwarf.exp (_note): Fix left shift of negative value.
7793 * gdb.trace/trace-condition.exp: Likewise.
7795 2015-11-13 Yao Qi <yao.qi@linaro.org>
7797 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7798 comments about d10v.
7799 (test_scalar_returns): Likewise.
7800 * gdb.base/d10v.ld: Remove.
7801 * gdb.base/overlays.exp: Remove the target triplet checking for
7803 * gdb.base/structs.exp (test_struct_returns): Remove the
7804 comments about d10v.
7805 (test_struct_calls): Likewise.
7807 2015-11-13 Yao Qi <yao.qi@linaro.org>
7809 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7810 * gdb.base/gnu_vector.c: Don't include stdio.h.
7811 (main): Don't print res and call add_some_intvecs.
7813 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7815 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7818 (func4): Use FAST_TRACEPOINT_LABEL.
7819 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7822 (thread_function): Use FAST_TRACEPOINT_LABEL.
7823 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7825 (marker): Use FAST_TRACEPOINT_LABEL.
7826 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7827 (pendfunc1): Remove.
7828 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7829 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7831 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7832 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7835 (marker): Use FAST_TRACEPOINT_LABEL.
7836 * gdb.trace/trace-common.h: New header.
7837 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7840 (marker): Use FAST_TRACEPOINT_LABEL.
7841 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7843 (thread_function): Use FAST_TRACEPOINT_LABEL.
7845 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7847 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7849 * gdb.trace/change-loc.exp: Use global pcreg definition.
7850 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7851 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7853 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7854 * gdb.trace/pending.exp: Likewise.
7855 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7856 * gdb.trace/trace-break.exp: Likewise.
7857 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7859 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7860 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7862 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7864 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7866 * gdb.ada/fin_fun_out: New testcase.
7868 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7870 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7871 value associated with DW_AT_byte_size.
7872 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7873 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7876 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7878 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7879 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7881 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7882 gdb.dwarf2/dw2-canonicalize-type.exp,
7883 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7884 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7885 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7886 provided by gdb_target_symbol_prefix_flags_asm.
7887 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7888 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7889 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7890 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7891 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7892 macros where needed). Use this macro for symbols which require
7893 the prefix provided by SYMBOL_PREFIX.
7895 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7897 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7899 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7900 representing expressions, of more than one list element.
7901 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7902 to prepend linker symbol prefix to f.
7903 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7904 table_1 and table_2.
7905 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7906 Likewise, for f and g.
7907 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7909 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7911 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7912 table_1_ptr and table_2_ptr.
7914 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7915 Joel Brobecker <brobecker@adacore.com>
7917 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7919 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7921 * gdb.reverse/s390-mvcle.c: New test.
7922 * gdb.reverse/s390-mvcle.exp: New file.
7923 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7925 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7927 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7929 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7931 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7933 * gdb.reverse/getresuid-reverse.exp: Likewise.
7934 * gdb.reverse/pipe-reverse.exp: Likewise.
7935 * gdb.reverse/readv-reverse.exp: Likewise.
7936 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7937 * gdb.reverse/time-reverse.exp: Likewise.
7938 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7940 2015-10-30 Yao Qi <yao.qi@linaro.org>
7942 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7943 (empty_cycle): Remove.
7944 (main): Don't call empty_cycle. Don't use watch_count_done.
7945 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7946 empty_cycle. Rewrite the code counting HW watchpoints.
7948 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7950 * gdb.reverse/fstatat-reverse.c: New test.
7951 * gdb.reverse/fstatat-reverse.exp: New file.
7952 * gdb.reverse/getresuid-reverse.c: New test.
7953 * gdb.reverse/getresuid-reverse.exp: New file.
7954 * gdb.reverse/pipe-reverse.c: New test.
7955 * gdb.reverse/pipe-reverse.exp: New file.
7956 * gdb.reverse/readv-reverse.c: New test.
7957 * gdb.reverse/readv-reverse.exp: New file.
7958 * gdb.reverse/recvmsg-reverse.c: New test.
7959 * gdb.reverse/recvmsg-reverse.exp: New file.
7960 * gdb.reverse/time-reverse.c: New test.
7961 * gdb.reverse/time-reverse.exp: New file.
7962 * gdb.reverse/waitpid-reverse.c: New test.
7963 * gdb.reverse/waitpid-reverse.exp: New file.
7965 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7967 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7969 2015-10-26 Doug Evans <dje@google.com>
7972 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7973 * gdb.dwarf2/bad-regnum.c: New file.
7974 * gdb.dwarf2/bad-regnum.exp: New file.
7976 2015-10-26 Doug Evans <dje@google.com>
7979 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7982 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7984 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7985 for a change by "Mention language in compile error message".
7987 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7990 * gdb.python/py-type.c (C::a_method): New.
7991 (C::a_const_method): New.
7992 (C::a_static_method): New.
7994 * gdb.python/py-type.exp (test_fields): Test getting fields
7995 from function and method.
7997 2015-10-21 Keven Boell <keven.boell@intel.com>
7999 * gdb.fortran/vla-alloc-assoc.exp: New file.
8000 * gdb.fortran/vla-datatypes.exp: New file.
8001 * gdb.fortran/vla-datatypes.f90: New file.
8002 * gdb.fortran/vla-history.exp: New file.
8003 * gdb.fortran/vla-ptype-sub.exp: New file.
8004 * gdb.fortran/vla-ptype.exp: New file.
8005 * gdb.fortran/vla-sizeof.exp: New file.
8006 * gdb.fortran/vla-sub.f90: New file.
8007 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8008 * gdb.fortran/vla-value-sub-finish.exp: New file.
8009 * gdb.fortran/vla-value-sub.exp: New file.
8010 * gdb.fortran/vla-value.exp: New file.
8011 * gdb.fortran/vla-ptr-info.exp: New file.
8012 * gdb.mi/mi-vla-fortran.exp: New file.
8013 * gdb.mi/vla.f90: New file.
8015 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8017 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8018 of hardwired timeout value.
8020 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8021 Pedro Alves <palves@redhat.com>
8023 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8024 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8026 2015-10-19 Josh Stone <jistone@redhat.com>
8028 * gdb.base/catch-syscall.c: Include <sched.h>.
8029 (unknown_syscall): New variable.
8030 (main): Trigger a vfork and an unknown syscall.
8031 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8032 (unknown_syscall_number): Likewise.
8033 (check_call_to_syscall): Accept an optional syscall pattern.
8034 (check_return_from_syscall): Likewise.
8035 (check_continue): Likewise.
8036 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8037 (test_catch_syscall_skipping_return): New test toggling off 'catch
8038 syscall' to step over the syscall return, then toggling back on.
8039 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8040 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8041 (do_syscall_tests): Call test_catch_syscall_without_args and
8042 test_catch_syscall_mid_vfork.
8043 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8044 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8046 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8048 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8049 print g_vE): Add new pass patterns.
8050 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8051 print various symbol names for vptr fields.
8053 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8055 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8058 2015-10-12 Yao Qi <yao.qi@linaro.org>
8060 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8062 2015-10-12 Yao Qi <yao.qi@linaro.org>
8064 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8065 is aarch64*-*-linux*.
8067 2015-10-12 Yao Qi <yao.qi@linaro.org>
8069 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8070 (can_relocate_bcond_true): ... it.
8071 (can_relocate_bcond_false): New function.
8073 (can_relocate_bl): Likewise.
8074 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8077 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8079 * gdb.base/nested-addr.c: New file.
8080 * gdb.base/nested-addr.exp: New testcase.
8082 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8084 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8085 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8086 its output. Ignore the output of "record goto begin" and instead
8087 check that GDB is replaying.
8089 2015-10-09 Pedro Alves <palves@redhat.com>
8091 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8092 (top level): Use it in the run with no args test.
8094 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8096 * gdb.dlang/properties.exp: New file.
8098 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8100 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8101 whether or not address 0x1000 is mapped on the target.
8103 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8105 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8108 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8110 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8111 instruction-history test.
8113 2015-09-28 Doug Evans <dje@google.com>
8115 * gdb.base/gcore.c (array_func): Add reference to static_array.
8117 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8119 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8122 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8124 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8125 short or char as base type.
8127 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8129 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8130 to allow any size enum.
8132 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8134 * gdb.ada/array_ptr_renaming.exp: New testcase.
8135 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8136 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8138 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8140 * gdb.trace/ftrace-lock.c: New file.
8141 * gdb.trace/ftrace-lock.exp: New file.
8143 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8145 * gdb.arch/insn-reloc.c: New file.
8146 * gdb.arch/ftrace-insn-reloc.exp: New file.
8148 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8150 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8152 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8153 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8154 * gdb.trace/range-stepping.c: Likewise.
8155 * gdb.trace/trace-break.c: Likewise.
8156 * gdb.trace/trace-mt.c (thread_function): Likewise.
8157 * gdb.trace/ftrace.c (marker): Likewise.
8158 * gdb.trace/trace-condition.c (marker): Likewise.
8159 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8160 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8163 2015-09-18 Doug Evans <xdje42@gmail.com>
8165 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8166 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8168 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8170 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8173 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8175 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8176 the pending breakpoint. Remove timeout override for "Run till
8177 MI pending breakpoint on pendfunc3 on thread 2" test.
8179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8181 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8184 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8186 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8187 in breakpoint filename pattern.
8189 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8191 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8193 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8195 * gdb.linespec/explicit.exp: Check for readline support for
8196 tab-completion tests. Fix obvious typo.
8198 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8200 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8203 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8205 * gdb.btrace/non-stop.c: New.
8206 * gdb.btrace/non-stop.exp: New.
8208 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8209 Yao Qi <yao.qi@linaro.org>
8211 * gdb.trace/trace-condition.c: New file.
8212 * gdb.trace/trace-condition.exp: New file.
8214 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8216 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8217 for testing bytecode compilation.
8219 2015-09-16 Pedro Alves <palves@redhat.com>
8220 Sandra Loosemore <sandra@codesourcery.com>
8222 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8223 (SECONDS): Redefine.
8224 (main): Call pthread_kill and alarm early.
8225 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8227 (test): If the target can't hardware step and doesn't support
8228 displaced stepping, increase the timeout.
8230 2015-09-16 Pedro Alves <palves@redhat.com>
8232 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8233 (enable_debug): New procedures.
8234 (test): Use them. Bail out if waiting for threads fails.
8235 (top level): Bail out if a test fails.
8237 2015-09-16 Yao Qi <yao.qi@linaro.org>
8239 * gdb.asm/asm-source.exp: Set asm-arch for
8240 aarch64*-*-* target.
8241 * gdb.asm/aarch64.inc: New file.
8243 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8245 * gdb.ada/array_of_variable_length.exp: New testcase.
8246 * gdb.ada/array_of_variable_length/foo.adb: New file.
8247 * gdb.ada/array_of_variable_length/pck.adb: New file.
8248 * gdb.ada/array_of_variable_length/pck.ads: New file.
8250 2015-09-15 Doug Evans <dje@google.com>
8252 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8253 of function static local variable.
8255 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8257 * gdb.threads/tls-so_extern.exp: New test file.
8258 * gdb.threads/tls-so_extern.c: New test file.
8259 * gdb.threads/tls-so_extern_main.c: New test file.
8261 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8263 * gdb.opt/solib-intra-step-lib.c: New file.
8264 * gdb.opt/solib-intra-step-main.c: New file.
8265 * gdb.opt/solib-intra-step.exp: New file.
8267 2015-09-15 Pedro Alves <palves@redhat.com>
8269 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8270 gdb_continue_to_breakpoint instead of gdb_test_multiple.
8272 2015-09-14 Pedro Alves <palves@redhat.com>
8274 * gdb.base/hook-stop-continue.c: Delete.
8275 * gdb.base/hook-stop-continue.exp: Delete.
8276 * gdb.base/hook-stop-frame.c: Delete.
8277 * gdb.base/hook-stop-frame.exp: Delete.
8278 * gdb.base/hook-stop.c: New file.
8279 * gdb.base/hook-stop.exp: New file.
8281 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
8283 * gdb.ada/access_to_packed_array.exp: New testcase.
8284 * gdb.ada/access_to_packed_array/foo.adb: New file.
8285 * gdb.ada/access_to_packed_array/pack.adb: New file.
8286 * gdb.ada/access_to_packed_array/pack.ads: New file.
8288 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
8290 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8293 2015-09-11 Don Breazeal <donb@codesourcery.com>
8295 * gdb.base/foll-exec.c: Add copyright header. Fix
8297 * gdb.base/foll-exec.exp (zap_session): Delete proc.
8298 (do_exec_tests): Use clean_restart in place of zap_session,
8299 and for test initialization. Fix formatting issues. Use
8300 fail in place of perror.
8301 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8302 an expect statement to match an expression with output from
8303 the program under debug.
8304 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8305 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8306 * gdb.threads/non-ldr-exc-2.exp: Likewise.
8307 * gdb.threads/non-ldr-exc-3.exp: Likewise.
8308 * gdb.threads/non-ldr-exc-4.exp: Likewise.
8310 2015-09-09 Doug Evans <dje@google.com>
8312 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8314 2015-09-09 Doug Evans <dje@google.com>
8316 * gdb.base/pie-execl.exp: Fix result test of build_executable.
8318 2015-09-09 Doug Evans <dje@google.com>
8320 * gdb.base/savedregs.exp: Fix typo.
8322 2015-09-09 Pedro Alves <palves@redhat.com>
8324 * gdb.mi/mi-cli.exp: Add CLI finish tests.
8326 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
8328 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8329 command actually switches threads. Give up on remaining
8330 tests if target fails to stop at breakpoint.
8332 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
8334 * gdb.ada/funcall_char.exp: New testcase.
8335 * gdb.ada/funcall_char/foo.adb: New file.
8337 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
8339 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8340 expected outputs. Add two testcases for completing ambiguous
8342 * gdb.ada/complete/aux_pck.adb: New file.
8343 * gdb.ada/complete/aux_pck.ads: New file.
8344 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8345 Ambiguous_Func functions.
8346 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8347 * gdb.ada/complete/pck.adb: Likewise.
8349 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
8351 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8352 failures to run the test program under GDB.
8354 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
8356 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8359 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
8361 * gdb.base/run-after-attach.exp: New test file.
8362 * gdb.base/run-after-attach.c: New test file.
8364 2015-08-26 Don Breazeal <donb@codesourcery.com>
8366 * gdb.base/foll-exec-2.c: New test program.
8367 * gdb.base/foll-exec-2.exp: New test.
8369 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
8371 * gdb.base/nested-subp1.exp: New file.
8372 * gdb.base/nested-subp1.c: New file.
8373 * gdb.base/nested-subp2.exp: New file.
8374 * gdb.base/nested-subp2.c: New file.
8375 * gdb.base/nested-subp3.exp: New file.
8376 * gdb.base/nested-subp3.c: New file.
8378 2015-08-24 Pedro Alves <palves@redhat.com>
8380 * gdb.server/connect-without-multi-process.c: New file.
8381 * gdb.server/connect-without-multi-process.exp: New file.
8383 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8385 * gdb.opt/inline-markers.c: Make z int.
8387 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8389 * gdb.opt/inline-markers.c: Make z volatile.
8391 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
8393 * gdb.opt/inline-bt.c: New volatile global z.
8394 * gdb.opt/inline-cmds.c: Likewise.
8395 * gdb.opt/inline-locals.c: Likewise.
8396 * gdb.opt/inline-markers.c: New extern global z.
8398 (inline_fn): Likewise.
8400 2015-08-24 Pedro Alves <palves@redhat.com>
8402 * config/m32r-stub.exp: Remove file.
8403 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8404 * gdb.base/call-rt-st.exp: Likewise.
8405 * gdb.base/call-strs.exp: Likewise.
8406 * gdb.base/default.exp: Remove references to h8300-*-hms and
8408 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8410 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8412 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8413 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
8414 and "return" use KFAIL when GDB can not read/write the vector
8417 2015-08-21 Gary Benson <gbenson@redhat.com>
8419 * gdb.trace/pending.exp: Cope with remote transfer warnings.
8421 2015-08-20 Pedro Alves <palves@redhat.com>
8423 * gdb.server/solib-list.exp: No longer expect an interior stop in
8426 2015-08-20 Pedro Alves <palves@redhat.com>
8428 * gdb.server/connect-stopped-target.c: New file.
8429 * gdb.server/connect-stopped-target.exp: New file.
8431 2015-08-20 Pedro Alves <palves@redhat.com>
8433 * gdb.dwarf2/comp-unit-lang.exp: New file.
8434 * gdb.dwarf2/comp-unit-lang.c: New file.
8436 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
8438 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8439 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8441 2015-08-19 Kevin Buettner <kevinb@redhat.com>
8443 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8446 2015-08-18 Doug Evans <dje@google.com>
8447 Adrian Sendroiu <adrian.sendroiu@freescale.com>
8449 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8450 skip_python_tests. New arg prompt_regexp.
8451 (skip_python_tests): New function.
8452 * lib/mi-support.exp (mi_skip_python_tests): New function.
8453 * gdb.python/py-mi-objfile-gdb.py: New file.
8454 * gdb.python/py-mi-objfile.c: New file.
8455 * gdb.python/py-mi-objfile.exp: New file.
8457 2015-08-17 Keith Seitz <keiths@redhat.com>
8459 * gdb.linespec/explicit.exp: Move strace test from here ...
8460 * gdb.trace/strace.exp: ... to here.
8462 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8464 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8465 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8467 2015-08-14 Doug Evans <xdje42@gmail.com>
8469 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8470 inferior before selecting a new file.
8472 2015-08-14 Doug Evans <xdje42@gmail.com>
8474 * gdb.mi/mi-disassemble.exp: Update.
8475 * gdb.base/disasm-optim.S: New file.
8476 * gdb.base/disasm-optim.c: New file.
8477 * gdb.base/disasm-optim.h: New file.
8478 * gdb.base/disasm-optim.exp: New file.
8480 2015-08-14 Keith Seitz <keiths@redhat.com>
8482 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8485 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8487 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8489 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8491 * gdb.ada/fun_renaming.exp: New testcase.
8492 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8493 * gdb.ada/fun_renaming/pack.adb: New file.
8494 * gdb.ada/fun_renaming/pack.ads: New file.
8496 2015-08-12 Keith Seitz <keiths@redhat.com>
8498 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8499 gdb_get_line_number.
8501 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8503 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8504 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8505 gdb.base/dso2dso.exp: New files.
8507 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8508 Pedro Alves <palves@redhat.com>
8509 Keith Seitz <keiths@redhat.com>
8511 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8514 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8516 * gdb.base/gdbhistsize-history.exp
8517 (test_histsize_history_setting): Use save_vars.
8518 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8520 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8521 * gdb.base/readline.exp: Use save_vars.
8523 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8525 * lib/gdb.exp (save_vars): New proc.
8527 2015-08-11 Keith Seitz <keiths@redhat.com>
8529 * gdb.base/help.exp: Update help_breakpoint_text.
8531 2015-08-11 Keith Seitz <keiths@redhat.com>
8533 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8534 (at toplevel): Call test_explicit_breakpoints.
8535 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8537 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8538 breakpoint conditions, "-cond".
8540 2015-08-11 Keith Seitz <keiths@redhat.com>
8542 * gdb.linespec/3explicit.c: New file.
8543 * gdb.linespec/cpexplicit.cc: New file.
8544 * gdb.linespec/cpexplicit.exp: New file.
8545 * gdb.linespec/explicit.c: New file.
8546 * gdb.linespec/explicit.exp: New file.
8547 * gdb.linespec/explicit2.c: New file.
8548 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8549 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8550 before using in the matching pattern.
8551 Clarify that `prefix' is a regular expression.
8553 2015-08-11 Keith Seitz <keiths@redhat.com>
8555 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8557 Add tests for missing ",FMT" and ",".
8559 2015-08-10 Doug Evans <dje@google.com>
8560 Keith Seitz <keiths@redhat.com>
8563 * gdb.base/completion.exp: Add location completer tests.
8565 2015-08-07 Pedro Alves <palves@redhat.com>
8567 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8569 (top level): Run do_test with and without displaced stepping.
8571 2015-08-07 Pedro Alves <palves@redhat.com>
8573 * gdb.base/valgrind-disp-step.c: New file.
8574 * gdb.base/valgrind-disp-step.exp: New file.
8576 2015-08-07 Pedro Alves <palves@redhat.com>
8578 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8580 (main): Add alarm. Run an infinite loop instead of calling
8582 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8584 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8586 (main): Add alarm. Run an infinite loop instead of calling
8588 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8591 2015-08-07 Pedro Alves <palves@redhat.com>
8593 * gdb.base/checkpoint-ns.exp: New file.
8594 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8597 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8599 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8600 * gdb.btrace/instruction_history.exp: Update.
8601 * gdb.btrace/tsx.exp: New.
8602 * gdb.btrace/tsx.c: New.
8604 2015-08-06 Pedro Alves <palves@redhat.com>
8606 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8608 * gdb.reverse/until-precsave.exp: Bump timeouts.
8610 2015-08-06 Pedro Alves <palves@redhat.com>
8612 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8614 2015-08-06 Pedro Alves <palves@redhat.com>
8617 * gdb.threads/process-dies-while-handling-bp.c: New file.
8618 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8620 2015-08-06 Pedro Alves <palves@redhat.com>
8622 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8623 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8625 2015-08-05 Pedro Alves <palves@redhat.com>
8627 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8628 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8630 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8632 * gdb.base/bp-permanent.exp: Report test as unsupported if
8633 the target cannot stop at the permanent breakpoint.
8635 2015-08-03 Doug Evans <dje@google.com>
8637 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8640 2015-08-03 Doug Evans <dje@google.com>
8642 * Makefile.in (workers/%.worker, build-perf): New rule.
8643 (GDB_PERFTEST_MODE): New variable.
8644 (check-perf): Use it.
8645 (clean): Clean up gdb.perf parallel build subdirs.
8646 * lib/build-piece.exp: New file.
8647 * lib/gdb.exp (make_gdb_parallel_path): New function
8648 (standard_output_file, standard_temp_file): Call it.
8649 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8651 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8653 2015-08-03 Doug Evans <dje@google.com>
8655 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8656 (LOG_FILE_NAME): New global.
8657 (TextReporter.__init__): Initialize self.txt_sum.
8658 (TextReporter.report): Add support for multiple data-points.
8659 Move report to perftest.sum, put raw data in perftest.log.
8660 (TextReporter.start): Open sum and log files.
8661 (TextReporter.end): Close sum and log files.
8662 * gdb.perf/lib/perftest/testresult.py
8663 (SingleStatisticTestResult.record): Handle multiple data-points.
8665 2015-07-31 Pedro Alves <palves@redhat.com>
8667 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8668 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8669 kill_wait_spawned_process instead of explicit "kill -9".
8670 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8671 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8672 kill_wait_spawned_process.
8673 * gdb.base/attach-twice.exp: Likewise.
8674 * gdb.base/attach.exp: Likewise.
8675 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8677 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8678 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8679 kill_wait_spawned_process.
8680 * gdb.base/valgrind-infcall.exp: Likewise.
8681 * gdb.multi/multi-attach.exp: Likewise.
8682 * gdb.python/py-prompt.exp: Likewise.
8683 * gdb.python/py-sync-interp.exp: Likewise.
8684 * gdb.server/ext-attach.exp: Likewise.
8685 * gdb.threads/attach-into-signal.exp (corefunc): Use
8686 spawn_wait_for_attach, spawn_id_get_pid and
8687 kill_wait_spawned_process.
8688 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8689 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8690 spawn_id_get_pid and kill_wait_spawned_process.
8691 * gdb.threads/attach-stopped.exp (corefunc): Use
8692 spawn_wait_for_attach, spawn_id_get_pid and
8693 kill_wait_spawned_process.
8694 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8695 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8696 kill_wait_spawned_process instead of explicit "kill -9".
8697 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8698 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8699 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8700 processes. Don't map cygwin/windows pids here. Now returns a
8703 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8705 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8706 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8709 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8711 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8713 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8716 2014-05-21 Mark Wielaard <mjw@redhat.com>
8718 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8720 2015-07-30 Pedro Alves <palves@redhat.com>
8722 * linux-low.c (handle_extended_wait): Set the child's last
8723 reported status to TARGET_WAITKIND_STOPPED.
8725 2015-07-30 Pedro Alves <palves@redhat.com>
8728 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8729 only shows inferior 1.
8731 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8732 Pedro Alves <palves@redhat.com>
8735 * gdb.threads/fork-plus-threads.c: New file.
8736 * gdb.threads/fork-plus-threads.exp: New file.
8738 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8740 * gdb.base/batch-preserve-term-settings.exp
8741 (test_terminal_settings_preserved_after_cli_exit): Use
8744 2015-07-29 Pedro Alves <palves@redhat.com>
8745 Don Breazeal <donb@codesourcery.com>
8747 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8748 output from both inferior_spawn_id and gdb_spawn_id.
8750 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8752 * gdb.threads/attach-into-signal.exp (corefunc): Use
8753 with_test_prefix on nested loops, uniquefying the test messages.
8755 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8757 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8760 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8762 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8764 (test_terminal_settings_preserved_after_sigterm): New test.
8766 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8768 * gdb.base/batch-preserve-term-settings.exp
8769 (test_terminal_settings_preserved_after_cli_exit): New test.
8771 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8773 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8774 manipulation of saved_gdbflags.
8775 (test_terminal_settings_preserved): Remove global declaration of
8776 the unused variable pagination_prompt. Remove manipulation of
8777 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8780 2015-07-29 Pedro Alves <palves@redhat.com>
8782 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8784 2015-07-29 Pedro Alves <palves@redhat.com>
8786 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8789 2015-07-29 Pedro Alves <palves@redhat.com>
8791 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8792 (main): Call gdb_unbuffer_output.
8793 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8794 (main): Call gdb_unbuffer_output.
8795 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8796 (main): Call gdb_unbuffer_output.
8797 * gdb.base/call-strs.exp: Adjust to step over the
8798 gdb_unbuffer_output call.
8799 * gdb.base/catch-gdb-caused-signals.c: Include
8800 "../lib/unbuffer_output.c".
8801 (main): Call gdb_unbuffer_output.
8802 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8803 (main): Call gdb_unbuffer_output.
8804 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8805 (main): Call gdb_unbuffer_output.
8806 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8807 (main): Call gdb_unbuffer_output.
8808 * gdb.base/shlib-call.exp: Adjust to step over the
8809 gdb_unbuffer_output call.
8810 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8811 (main): Call gdb_unbuffer_output.
8812 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8813 (main): Call gdb_unbuffer_output.
8814 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8815 (main): Rename to ...
8817 (main): Reimplement.
8818 * gdb.base/varargs.exp: Run to test instead of to main.
8819 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8820 (main): Call gdb_unbuffer_output.
8822 2015-07-29 Pedro Alves <palves@redhat.com>
8824 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8825 factore out from mi_continue_dprintf. For call-style dprintfs,
8826 expect dprintf output out of $inferior_spawn_id.
8827 (mi_continue_dprintf): Use mi_expect_dprintf.
8828 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8829 (main): Call gdb_unbuffer_output.
8831 2015-07-29 Pedro Alves <palves@redhat.com>
8833 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8834 (default_mi_gdb_start): Set inferior_spawn_id instead of
8835 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8837 (mi_gdb_test): Always expect inferior output from both
8838 $inferior_spawn_id and $gdb_spawn_id.
8840 2015-07-29 Pedro Alves <palves@redhat.com>
8842 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8843 send_inferior and $inferior_spawn_id.
8845 2015-07-29 Pedro Alves <palves@redhat.com>
8847 * gdb.gdb/complaints.exp (test_initial_complaints)
8848 (test_serial_complaints, test_short_complaints): Use
8850 (test_empty_complaint): Handle $inferior_spawn_id !=
8853 2015-07-29 Pedro Alves <palves@redhat.com>
8855 * gdb.base/varargs.exp: Use gdb_test_stdio.
8857 2015-07-29 Pedro Alves <palves@redhat.com>
8859 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8861 2015-07-29 Pedro Alves <palves@redhat.com>
8863 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8865 2015-07-29 Pedro Alves <palves@redhat.com>
8867 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8868 parameter into two new parameters, "inf_result" and "gdb_result".
8869 Expect inferior output and gdb output from $inferior_spawn_id and
8870 $gdb_spawn_id, respectively. Adjust all callers.
8872 2015-07-29 Pedro Alves <palves@redhat.com>
8874 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8875 of gdb_test_sequence.
8877 2015-07-29 Pedro Alves <palves@redhat.com>
8879 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8880 (saw_spurious_output): Expect inferior output from
8881 $inferior_spawn_id. Use gdb_test_stdio.
8883 2015-07-29 Pedro Alves <palves@redhat.com>
8885 * gdb.base/dprintf.exp: Use standard_testfile. Change
8886 prepare_for_testing call.
8887 (srcfile): Don't set.
8888 (restart): New procedure.
8889 (test_dprintf): New procecure, use to continue over dprintfs.
8890 (test_call, test_agent): New procedures, tests moved here.
8891 Restart gdb and recreate dprintfs. Adjust expected output.
8893 2015-07-29 Pedro Alves <palves@redhat.com>
8895 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8897 2015-07-29 Pedro Alves <palves@redhat.com>
8899 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8901 2015-07-29 Pedro Alves <palves@redhat.com>
8903 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8906 2015-07-29 Pedro Alves <palves@redhat.com>
8908 * lib/gdb.exp (gdb_test_stdio): New procedure.
8910 2015-07-29 Pedro Alves <palves@redhat.com>
8912 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8914 2015-07-29 Pedro Alves <palves@redhat.com>
8916 * gdb.base/call-signal-resume.exp: Remove check for
8917 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8918 * gdb.base/unwindonsignal.exp: Likewise.
8919 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8920 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8922 2015-07-29 Pedro Alves <palves@redhat.com>
8924 * gdb.base/siginfo-addr.c (pass): New function.
8925 (handler): Call it iff si_addr is correct.
8926 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8927 Set a breakpoint at "pass" and continue to it.
8929 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8931 * gdb.python/py-objfile.exp: Make some tests have unique names.
8932 * gdb.python/py-pp-registration.exp: Likewise.
8934 2015-07-28 Pedro Alves <palves@redhat.com>
8936 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8938 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8940 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8942 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8944 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8946 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8948 * gdb.base/gdb-sigterm-2.exp: New test.
8950 2015-07-25 Doug Evans <xdje42@gmail.com>
8953 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8954 (workers/%.worker, build-perf): New rule.
8955 (GDB_PERFTEST_MODE): New variable.
8956 (check-perf): Use it.
8957 (clean): Clean up gdb.perf parallel build subdirs.
8958 * lib/build-piece.exp: New file.
8959 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8960 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8962 (standard_temp_file): Ditto.
8963 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8966 2015-07-24 Doug Evans <dje@google.com>
8968 * gdb.perf/lib/perftest/utils.py: New file.
8969 * gdb.perf/gm-hello.cc: New file.
8970 * gdb.perf/gm-pervasive-typedef.cc: New file.
8971 * gdb.perf/gm-pervasive-typedef.h: New file.
8972 * gdb.perf/gm-std.cc: New file.
8973 * gdb.perf/gm-std.h: New file.
8974 * gdb.perf/gm-use-cerr.cc: New file.
8975 * gdb.perf/gm-utils.h: New file.
8976 * gdb.perf/gmonster-null-lookup.py: New file.
8977 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8978 * gdb.perf/gmonster-print-cerr.py: New file.
8979 * gdb.perf/gmonster-ptype-string.py: New file.
8980 * gdb.perf/gmonster-runto-main.py: New file.
8981 * gdb.perf/gmonster-select-file.py: New file.
8982 * gdb.perf/gmonster1-null-lookup.exp: New file.
8983 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8984 * gdb.perf/gmonster1-print-cerr.exp: New file.
8985 * gdb.perf/gmonster1-ptype-string.exp: New file.
8986 * gdb.perf/gmonster1-runto-main.exp: New file.
8987 * gdb.perf/gmonster1-select-file.exp: New file.
8988 * gdb.perf/gmonster1.cc: New file.
8989 * gdb.perf/gmonster1.exp: New file.
8990 * gdb.perf/gmonster2-null-lookup.exp: New file.
8991 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8992 * gdb.perf/gmonster2-print-cerr.exp: New file.
8993 * gdb.perf/gmonster2-ptype-string.exp: New file.
8994 * gdb.perf/gmonster2-runto-main.exp: New file.
8995 * gdb.perf/gmonster2-select-file.exp: New file.
8996 * gdb.perf/gmonster2.cc: New file.
8997 * gdb.perf/gmonster2.exp: New file.
8999 2015-07-24 Doug Evans <dje@google.com>
9001 * gdb.perf/README: New file.
9002 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9003 * lib/gen-perf-test.exp: New file.
9005 2015-07-24 Doug Evans <dje@google.com>
9007 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9008 (PerfTest::startup): New function.
9009 (PerfTest::run): Return result of calling body.
9010 (PerfTest::assemble): Rewrite.
9011 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9012 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9013 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9014 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9015 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9017 2015-07-24 Doug Evans <dje@google.com>
9019 * lib/gdb.exp (clean_restart): Make executable optional.
9021 2015-07-24 Doug Evans <dje@google.com>
9023 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9024 compiler_info references.
9025 * gdb.cp/temargs.exp: Ditto.
9026 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9027 (get_compiler_info): Early exit if already computed. Set compiler_info
9028 to "unknown" if there was a problem.
9029 (test_compiler_info): Add function comment. Call get_compiler_info.
9031 2015-07-24 Doug Evans <dje@google.com>
9033 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9034 (workers/%.worker, build-perf): New rule.
9035 (GDB_PERFTEST_MODE): New variable.
9036 (check-perf): Use it.
9037 (clean): Clean up gdb.perf parallel build subdirs.
9038 * lib/build-piece.exp: New file.
9039 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9040 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9042 (standard_temp_file): Ditto.
9043 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9046 2015-07-24 Doug Evans <dje@google.com>
9048 * lib/future.exp (gdb_default_target_compile): New option
9050 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9053 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9055 * gdb.base/catch-syscall.exp: Call gdb_exit before
9058 2015-07-24 Pedro Alves <palves@redhat.com>
9060 * gdb.python/py-events.exp: Accept output between the stop event
9062 * gdb.python/py-evsignal.exp: Likewise.
9063 * gdb.python/py-evthreads.exp: Likewise.
9065 2015-07-24 Pedro Alves <palves@redhat.com>
9068 * gdb.threads/non-ldr-exit.c: New file.
9069 * gdb.threads/non-ldr-exit.exp: New file.
9071 2015-07-24 Yao Qi <yao.qi@linaro.org>
9073 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9076 2015-07-24 Yao Qi <yao.qi@linaro.org>
9078 * gdb.server/ext-restart.exp: New file.
9080 2015-07-24 Yao Qi <yao.qi@linaro.org>
9082 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9084 * gdb.server/ext-wrapper.exp: New file.
9086 2015-07-23 Doug Evans <dje@google.com>
9088 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9089 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9091 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9093 * gdb.ada/var_arr_typedef.exp: New testcase.
9094 * gdb.ada/var_arr_typedef/pack.adb: New file.
9095 * gdb.ada/var_arr_typedef/pack.ads: New file.
9096 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9098 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9100 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9102 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9104 * gdb.arch/i386-biarch-core.exp: Replace istarget
9105 by "complete set gnutarget". Remove expectation for the "core-file"
9108 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9110 Revert the previous commit:
9111 Tests for validate symbol file using build-id.
9113 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9115 Tests for validate symbol file using build-id.
9116 * gdb.base/solib-mismatch-lib.c: New file.
9117 * gdb.base/solib-mismatch-libmod.c: New file.
9118 * gdb.base/solib-mismatch.c: New file.
9119 * gdb.base/solib-mismatch.exp: New file.
9121 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9123 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9125 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9126 * gdb.base/siginfo.exp: Likewise.
9127 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9129 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9131 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9133 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9135 * gdb.trace/range-stepping.exp: Check that the target supports
9138 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9140 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9142 2015-07-14 Pedro Alves <palves@redhat.com>
9144 * gdb.base/killed-outside.exp: New file.
9145 * gdb.base/killed-outside.c: New file.
9147 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9149 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9151 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9153 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9155 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9156 infcall tests instead of setting up for KFAIL.
9158 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9160 * gdb.btrace/record_goto-step.exp: New.
9162 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9165 * gdb.compile/compile.c (struct struct_type): Add volatile to
9167 * gdb.compile/compile.exp
9168 (compile code struct_object.selffield = &struct_object): Skip further
9169 struct_object tests if this one xfails.
9171 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9174 * gdb.trace/ax.exp: Add test.
9176 2015-07-07 Yao Qi <yao.qi@linaro.org>
9178 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9179 instead of istarget "aarch64*-*-*".
9180 * gdb.arch/aarch64-fp.exp: Likewise.
9181 * gdb.base/float.exp: Likewise.
9182 * gdb.reverse/aarch64.exp: Likewise.
9183 * lib/gdb.exp (is_aarch64_target): New proc.
9185 2015-07-07 Yao Qi <yao.qi@linaro.org>
9187 * lib/gdb.exp (is_aarch32_target): New proc.
9188 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9189 instead of "istarget "arm*-*-*"".
9190 * gdb.arch/arm-disp-step.exp: Likewise.
9191 * gdb.arch/thumb-bx-pc.exp: Likewise.
9192 * gdb.arch/thumb-prologue.exp: Likewise.
9193 * gdb.arch/thumb-singlestep.exp: Likewise.
9194 * gdb.base/disp-step-syscall.exp: Likewise.
9195 * gdb.base/float.exp: Likewise.
9197 2015-07-07 Yao Qi <yao.qi@linaro.org>
9199 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9200 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9202 2015-07-07 Yao Qi <yao.qi@linaro.org>
9204 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9205 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9207 * gdb.multi/multi-arch.exp: Likewise.
9209 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9211 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9214 2015-07-07 Yao Qi <yao.qi@linaro.org>
9216 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9218 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9220 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9221 '[' and ']' characters.
9223 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9225 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9227 2015-06-29 Pedro Alves <palves@redhat.com>
9230 * gdb.threads/hand-call-new-thread.c: New file.
9231 * gdb.threads/hand-call-new-thread.c: New file.
9233 2015-06-26 Keith Seitz <keiths@redhat.com>
9234 Doug Evans <dje@google.com>
9237 * gdb.cp/var-tag-2.cc: New file.
9238 * gdb.cp/var-tag-3.cc: New file.
9239 * gdb.cp/var-tag-4.cc: New file.
9240 * gdb.cp/var-tag.cc: New file.
9241 * gdb.cp/var-tag.exp: New file.
9243 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9245 * gdb.base/history-duplicates.exp: New test.
9247 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9249 * gdb.base/completion.exp: Test the completion of the "focus"
9252 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9254 * gdb.arch/amd64-prologue-skip.S: New file.
9255 * gdb.arch/amd64-prologue-skip.exp: New file.
9257 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
9259 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9260 is_address_zero_readable check.
9262 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
9264 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9265 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9267 2015-06-24 Yao Qi <yao.qi@linaro.org>
9269 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9272 2015-06-24 Yao Qi <yao.qi@linaro.org>
9274 * lib/gdb.exp (supports_get_siginfo_type): New proc.
9275 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9276 * gdb.base/siginfo-thread.exp: Likewise.
9278 2015-06-22 Yao Qi <yao.qi@linaro.org>
9280 * boards/remote-gdbserver-on-localhost.exp: Add comments.
9282 2015-06-22 Yao Qi <yao.qi@linaro.org>
9284 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9286 (skip_hw_watchpoint_tests): Likewise.
9288 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
9290 * gdb.base/gdbinit-history.exp: Test the interaction between
9291 setting GDBHISTSIZE and setting the history size via .gdbinit.
9293 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9296 * gdb.base/gdbhistsize-history.exp: New test.
9298 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9300 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9302 * gdb.base/readline.exp: Likewise.
9304 2015-06-17 Yao Qi <yao.qi@linaro.org>
9306 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9309 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
9311 * gdb.base/gdbinit-history.exp: Add test case to check that
9312 an unlimited history file does not get truncated on exit.
9314 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9316 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9317 (VECTOR): New macro. Use it...
9318 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9319 ...for these typedefs.
9320 (int8, char1, int1, double1): New typedefs.
9321 (struct just_int2, struct two_int2): New structures.
9322 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9323 (add_structvecs, add_singlevecs): New functions.
9324 (main): Call add_some_intvecs twice.
9325 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9326 the compile and exit upon failure. Try compiling for the "native"
9327 architecture. Test inferior function calls with vector arguments
9328 and vector return value handling with "finish" and "return".
9330 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
9332 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9333 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9335 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9337 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9339 PR breakpoints/16465
9340 * gdb.mi/mi-dprintf-pending.c: New file.
9341 * gdb.mi/mi-dprintf-pending.exp: New test.
9342 * gdb.mi/mi-dprintf-pendshr.c: New file.
9344 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9345 Mircea Gherzan <mircea.gherzan@intel.com>
9347 * gdb.arch/i386-mpx-map.c: New file.
9348 * gdb.arch/i386-mpx-map.exp: New File.
9350 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9352 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9353 * gdb.arch/i386-mpx.exp: Indentation fixed.
9355 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9357 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9358 function and improved indentation.
9359 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9360 gdb_test_multiple. Added additional tests to skip the test.
9362 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
9364 * gdb.arch/i386-avx512.c: Change path in include file.
9365 * gdb.arch/i386-avx512.exp: Change include dir path
9367 * gdb.arch/i386-mpx.c: Change path in include file.
9368 * gdb.arch/i386-mpx.exp: Change include dir path compilation
9371 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9373 * gdb.compile/compile-print.exp (compile print *vararray@3)
9374 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9376 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9378 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9379 (do not keep jit in memory): ... this.
9380 (expect 5): Change it to ...
9381 (expect no 5): ... this.
9383 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
9386 * gdb.mi/mi-detach.exp: New file.
9388 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9391 * gdb.arch/amd64-tailcall-self.S: New file.
9392 * gdb.arch/amd64-tailcall-self.c: New file.
9393 * gdb.arch/amd64-tailcall-self.exp: New file.
9395 2015-05-28 Don Breazeal <donb@codesourcery.com>
9397 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9398 tests for remote targets by checking is_target_gdbserver.
9400 2015-05-27 Doug Evans <dje@google.com>
9402 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9403 * gdb.dwarf2/opaque-type-lookup.c: New file.
9404 * gdb.dwarf2/opaque-type-lookup.exp: New file.
9406 2015-05-26 Doug Evans <dje@google.com>
9408 * gdb.cp/iostream.cc: New file.
9409 * gdb.cp/iostream.exp: New file.
9411 2015-05-26 Doug Evans <dje@google.com>
9413 * gdb.dwarf2/dw2-op-call.exp: Update.
9414 * gdb.dwarf2/dw4-sig-types.exp: Update.
9415 * gdb.dwarf2/implptr.exp: Update.
9416 * gdb.mi/mi-cmd-param-changed.exp: Update.
9418 2015-05-26 Doug Evans <dje@google.com>
9420 * gdb.python/py-lazy-string.c: New file.
9421 * gdb.python/py-lazy-string.exp: New file.
9422 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9423 (main): Update. Add estring3.
9424 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9425 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9427 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9428 Yao Qi <yao.qi@linaro.org>
9430 * gdb.reverse/aarch64.c: New.
9431 * gdb.reverse/aarch64.exp: New.
9433 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
9435 * lib/gdb.exp (supports_process_record): Return true for
9437 (supports_reverse): Likewise.
9439 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
9441 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9442 Use with_test_prefix.
9444 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
9446 * gdb.base/completion.exp: Add test for completion of layout
9449 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
9451 * lib/gdb.exp (skip_tui_tests): New proc.
9452 * gdb.base/tui-layout.exp: Check skip_tui_tests.
9454 2015-05-19 Pedro Alves <palves@redhat.com>
9456 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9457 Save the whole env array instead of just HOME. Unset HISTSIZE in
9458 the environment while testing. Restore whole environment
9461 2015-05-16 Doug Evans <xdje42@gmail.com>
9463 * gdb.guile/scm-ports.c: New file.
9464 * gdb.guile/scm-ports.exp: Add memory port tests.
9466 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9468 * gdb.compile/compile-print.c: New file.
9469 * gdb.compile/compile-print.exp: New file.
9471 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9473 * gdb.compile/compile-ops.exp: Cast param to void.
9474 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9475 (compile code struct_object.selffield = &struct_object): Add xfail.
9477 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9479 * gdb.ada/arr_enum_with_gap: New testcase.
9481 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9483 * gdb.ada/byte_packed_arr: New testcase.
9485 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9487 * gdb.ada/pckd_neg: New testcase.
9489 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9492 * gdb.base/gdbinit-history.exp: New test.
9493 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9494 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9496 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9498 * gdb.python/py-xmethods.cc: Enhance test case.
9499 * gdb.python/py-xmethods.exp: New tests.
9500 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9502 (B_indexoper): Likewise.
9503 (global_dm_list) : Add new xmethod worker functions.
9505 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9507 * gdb.base/coredump-filter.exp: Correctly unset
9508 "coredump_var_addr" array.
9510 2015-05-08 Pedro Alves <palves@redhat.com>
9512 * gdb.server/non-existing-program.exp: Unset spawn_id.
9514 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9517 * gdb.python/py-xmethods.exp: Add tests.
9519 2015-05-08 Yao Qi <yao.qi@linaro.org>
9522 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9523 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9524 function set_coredump_filter, and remove remote_exec call.
9525 Remove argument ipid. Callers update.
9526 (top level): Don't get inferior's PID.
9528 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9530 * gdb.base/watch_thread_num.exp: Skip test on targets without
9533 2015-05-06 Pedro Alves <palves@redhat.com>
9536 * gdb.server/non-existing-program.exp: New file.
9538 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9540 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9542 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9544 * gdb.ada/out_of_line_in_inlined: New testcase.
9546 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9548 * gdb.ada/var_rec_arr: New testcase.
9550 2015-04-30 Yao Qi <yao.qi@linaro.org>
9552 * gdb.base/break-idempotent.exp: If
9553 skip_hw_watchpoint_multi_tests returns true, skip the tests
9554 on "rwatch" and "awatch".
9556 2015-04-30 Yao Qi <yao.qi@linaro.org>
9558 * gdb.base/relativedebug.exp: Invoke gdb command
9559 "info sharedlibrary", and if libc.so doesn't have debug info,
9562 2015-04-29 Doug Evans <dje@google.com>
9564 * gdb.python/py-xmethods.exp: Add ptype tests.
9565 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9566 get_result_type method.
9568 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9570 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9571 the target does not support hardware watchpoints.
9573 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9575 * gdb.base/break-always.exp: Abort testing if writing to memory
9578 2015-04-28 Doug Evans <dje@google.com>
9580 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9581 * gdb.python/py-pp-registration.exp: ... here. New file.
9582 * gdb.python/py-pp-registration.c: New file.
9583 * gdb.python/py-pp-registration.py: New file.
9585 2015-04-28 Doug Evans <dje@google.com>
9587 * gdb.python/py-bad-printers.c: New file.
9588 * gdb.python/py-bad-printers.py: New file.
9589 * gdb.python/py-bad-printers.exp: New file.
9591 2015-04-28 Sasha Smundak <asmundak@google.com>
9593 * gdb.python/py-type.exp: New test.
9595 2015-04-28 Andy Wingo <wingo@igalia.com>
9597 * gdb.python/py-parameter.exp:
9598 * gdb.guile/scm-parameter.exp: Escape the path that we are
9599 matching against, as it might contain characters that are special
9600 to regular expressions.
9602 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9604 * gdb.ada/rec_comp: New testcase.
9606 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9608 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9611 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9613 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9614 new tests for verilog output.
9616 2015-04-24 Yao Qi <yao.qi@linaro.org>
9618 * boards/remote-gdbserver-on-localhost.exp: New file.
9620 2015-04-23 Pedro Alves <palves@redhat.com>
9622 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9623 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9624 "end of file", remove $inferior_spawn_id from the indirect list.
9626 2015-04-23 Pedro Alves <palves@redhat.com>
9628 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9630 2015-04-23 Pedro Alves <palves@redhat.com>
9632 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9633 on $any_spawn_id instead of only on $gdb_spawn_id.
9635 2015-04-21 Pierre Muller <muller@sourceware.org>
9638 * lib/pascal.exp (gpc_compile): Add new option "class".
9639 (fpc_compile): Likewise.
9640 * gdb.pascal/case-insensitive-symbols.pas: New file.
9641 * gdb.pascal/case-insensitive-symbols.exp: New file.
9643 2015-04-20 Gary Benson <gbenson@redhat.com>
9645 * gdb.base/attach.exp: Fix three extended remote failures.
9647 2015-04-17 Gary Benson <gbenson@redhat.com>
9649 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9650 the main executable over the remote protocol.
9652 2015-04-16 Pedro Alves <palves@redhat.com>
9654 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9655 a new gdbserver if gdbserver_reconnect_p is set.
9657 2015-04-16 Pedro Alves <palves@redhat.com>
9659 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9660 is set, don't exit gdbserver.
9662 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9664 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9665 appropriate .insn, such that an older assembler can be used.
9666 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9667 the z/Architecture instruction set on 31-bit targets as well.
9669 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9671 * gdb.go/handcall.exp: Remove all logic related to the first
9672 breakpoint and rely on go_runto_main instead.
9673 * gdb.go/strings.exp: Likewise.
9674 * gdb.go/unsafe.exp: Likewise.
9675 * gdb.go/hello.exp: Likewise. Also rename the remaining
9676 breakpoint marker to "breakpoint 1".
9677 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9678 * gdb.go/strings.go: Likewise.
9679 * gdb.go/unsafe.go: Likewise.
9680 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9681 "set breakpoint 2 here" and rename the remaining breakpoint marker
9684 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9686 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9687 if itertools.imap is not present.
9688 * gdb.python/py-objfile.exp: Add parentheses.
9689 * gdb.python/py-type.exp: Same.
9690 * gdb.python/py-unwind-maint.py: Same.
9692 2015-04-15 Yao Qi <yao.qi@linaro.org>
9694 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9695 of ":$ptr_size" and set its form explicitly.
9697 2015-04-15 Pedro Alves <palves@redhat.com>
9698 Yao Qi <yao.qi@linaro.org>
9700 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9701 timeout by factor of 4.
9702 (test_regular_watch): Likewise.
9703 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9704 * gdb.reverse/sigall-reverse.exp: Likewise.
9705 * gdb.reverse/until-precsave.exp: Likewise.
9706 * lib/gdb.exp (with_timeout_factor): New proc.
9707 (gdb_expect): Move some code to ...
9708 (get_largest_timeout): ... here. New procedure.
9710 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9712 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9714 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9716 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9717 to write to the .text section.
9719 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9721 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9722 Handle the case of targets that do not provide PID information.
9724 2015-04-13 Yao Qi <yao.qi@linaro.org>
9726 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9727 and use expect instead of gdb_expect.
9729 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9731 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9732 "coredump_var_addr" to avoid naming conflict with other testcases.
9734 2015-04-10 Pedro Alves <palves@redhat.com>
9736 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9737 gdb_test_sequence and gdb_assert.
9739 2015-04-10 Pedro Alves <palves@redhat.com>
9741 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9742 test messages that don't include the breakpoint address.
9744 2015-04-10 Yao Qi <yao.qi@linaro.org>
9746 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9747 false for some offset and width combinations which aren't
9748 supported by linux kernel.
9750 2015-04-10 Pedro Alves <palves@redhat.com>
9752 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9753 procedure, factored out from ...
9754 (top level): ... here. Add "set displaced-stepping" testing axis.
9755 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9756 parameter "displaced". Use it.
9757 (top level): Use foreach and add "set displaced-stepping" testing
9760 2015-04-10 Pedro Alves <palves@redhat.com>
9762 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9764 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9765 both the address of the instruction that triggers the watchpoint
9766 and the address of the instruction immediately after, and use
9767 those addresses for the test. Fix comment.
9769 2015-04-10 Pedro Alves <palves@redhat.com>
9771 * gdb.base/sigstep.exp (breakpoint_to_handler)
9772 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9773 Test "backtrace" in handler.
9774 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9775 (top level): Add new "displaced" test axis to
9776 breakpoint_to_handler, breakpoint_to_handler_entry and
9777 breakpoint_over_handler.
9779 2015-04-10 Pedro Alves <palves@redhat.com>
9782 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9784 2015-04-10 Yao Qi <yao.qi@linaro.org>
9786 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9787 (test_add_rn_pc): New function.
9788 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9789 (top level): Invoke test_add_rn_pc.
9791 2015-04-10 Pedro Alves <palves@redhat.com>
9794 * gdb.base/step-over-no-symbols.exp: New file.
9796 2015-04-09 Andy Wingo <wingo@igalia.com>
9798 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9799 after the Python tests.
9801 2015-04-08 Keith Seitz <keiths@redhat.com>
9804 * gdb.python/py-completion.exp: New tests for completion.
9805 * gdb.python/py-completion.py (CompleteLimit1): New class.
9806 (CompleteLimit2): Likewise.
9807 (CompleteLimit3): Likewise.
9808 (CompleteLimit4): Likewise.
9809 (CompleteLimit5): Likewise.
9810 (CompleteLimit6): Likewise.
9811 (CompleteLimit7): Likewise.
9813 2015-04-08 Pedro Alves <palves@redhat.com>
9817 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9819 (main): Install it as SIGUSR1 handler.
9820 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9821 parameter. Always use "setup" as prefix. Toggle "set
9822 displaced-stepping" off/on depending on global. Don't switch to
9824 (top level): Add displaced stepping "off/on" test axis. Update
9825 "setup" calls. Wrap each subtest with with_test_prefix. Test
9826 continuing with a queued signal in each thread.
9828 2015-04-08 Pedro Alves <palves@redhat.com>
9830 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9831 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9832 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9833 Return early if running to main fails.
9834 * gdb.trace/while-stepping.exp: Likewise.
9836 2015-04-07 Pedro Alves <palves@redhat.com>
9838 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9839 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9840 interact with inferior program.
9842 2015-04-07 Pedro Alves <palves@redhat.com>
9844 * lib/gdb.exp (inferior_spawn_id): New global.
9845 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9846 spawn id after processing the user code.
9847 (default_gdb_start): Set inferior_spawn_id.
9848 (send_inferior): New procedure.
9849 * lib/gdbserver-support.exp (gdbserver_start): Set
9851 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9853 2015-04-07 Pedro Alves <palves@redhat.com>
9855 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9856 * lib/gdbserver-support.exp (gdbserver_start): Make
9857 $server_spawn_id global.
9858 (gdbserver_start): Don't wait for gdbserver's spawn id with
9860 (close_gdbserver): New procedure.
9861 (gdb_exit): Rename the default version and reimplement.
9863 2015-04-07 Pedro Alves <palves@redhat.com>
9865 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9866 append the substituted item, not the original item.
9868 2015-04-07 Pedro Alves <palves@redhat.com>
9870 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9873 2015-04-07 Pedro Alves <palves@redhat.com>
9875 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9876 output appearing once only.
9878 2015-04-07 Pedro Alves <palves@redhat.com>
9880 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9881 that doesn't expect anything. Return early if running to main
9884 2015-04-07 Yao Qi <yao.qi@linaro.org>
9886 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9887 (child_function): Call alarm.
9888 (main): Move call to alarm into the loop.
9889 * gdb.threads/non-stop-fair-events.exp: Build program with
9892 2015-04-06 Doug Evans <xdje42@gmail.com>
9894 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9895 Fix dest parameter to board_info.
9896 (fpc_compile): Ditto.
9897 (gdb_compile_pascal): Rename dest arg to destfile.
9899 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9901 * gdb.ada/funcall_ref.exp: New file.
9902 * gdb.ada/funcall_ref/foo.adb: New file.
9904 2015-04-02 Yao Qi <yao.qi@linaro.org>
9906 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9909 2015-04-02 Gary Benson <gbenson@redhat.com>
9911 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9913 2015-04-01 Sasha Smundak <asmundak@google.com>
9915 * gdb.python/py-unwind-maint.c: New file.
9916 * gdb.python/py-unwind-maint.exp: New test.
9917 * gdb.python/py-unwind-maint.py: New file.
9918 * gdb.python/py-unwind.c: New file.
9919 * gdb.python/py-unwind.exp: New test.
9920 * gdb.python/py-unwind.py: New test.
9922 2015-04-01 Pedro Alves <palves@redhat.com>
9924 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9925 to fail instead of non-existent $test.
9927 2015-04-01 Pedro Alves <palves@redhat.com>
9929 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9930 GDBFLAGS if not empty.
9932 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9934 * gdb.ada/complete.exp: Remove "multi_line".
9935 * gdb.ada/info_exc.exp: Remove "multi_line".
9936 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9937 * gdb.ada/ptype_field.exp: Remove "multi_line".
9938 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9939 * gdb.ada/tagged.exp: Remove "multi_line".
9940 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9942 * gdb.btrace/delta.exp: Likewise.
9943 * gdb.btrace/exception.exp: Likewise.
9944 * gdb.btrace/function_call_history.exp: Likewise.
9945 * gdb.btrace/instruction_history.exp: Likewise.
9946 * gdb.btrace/nohist.exp: Likewise.
9947 * gdb.btrace/record_goto.exp: Likewise.
9948 * gdb.btrace/segv.exp: Likewise.
9949 * gdb.btrace/stepi.exp: Likewise.
9950 * gdb.btrace/tailcall.exp: Likewise.
9951 * gdb.btrace/unknown_functions.exp: Likewise.
9952 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9953 * lib/gdb.exp: Add the "multi_line" helper.
9955 2015-04-01 Pedro Alves <palves@redhat.com>
9957 * gdb.threads/tid-reuse.c: New file.
9958 * gdb.threads/tid-reuse.exp: New file.
9960 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9963 * gdb.base/coredump-filter.c: New file.
9964 * gdb.base/coredump-filter.exp: Likewise.
9966 2015-03-27 Petr Machata <pmachata@redhat.com>
9968 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9969 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9970 (Dwarf::assemble): Initialize them.
9971 (Dwarf::lines): New function.
9973 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9975 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9976 SYMBOL_PREFIX for x86_64-*-cygwin.
9978 2015-03-26 Andy Wingo <wingo@igalia.com>
9981 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9982 const_value but not a location.
9983 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9984 location defined in non-main CUs are visible.
9986 2015-03-26 Yao Qi <yao.qi@linaro.org>
9989 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9990 Add a line number entry for the same line.
9991 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9992 Add a line number entry for the same line.
9994 2015-03-26 Yao Qi <yao.qi@linaro.org>
9996 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9998 (func): Likewise. Add .Lfunc_1 label.
10000 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10003 Use .Lfunc_1 label.
10005 2015-03-26 Yao Qi <yao.qi@linaro.org>
10007 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10008 Call gdb_compile instead to compile each .s files without debug
10011 2015-03-26 Yao Qi <yao.qi@linaro.org>
10013 * gdb.base/savedregs.exp (process_saved_regs): Make
10014 "Saved registers:" optional in the pattern.
10016 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10018 * gdb.btrace/next.exp: Merged into step.exp.
10019 * gdb.btrace/finish.exp: Merged into step.exp.
10020 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10021 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10022 "record goto" and checking the exact replay position.
10023 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10024 check for "Recording format" in "info record" output.
10025 * gdb.btrace/record_goto.exp: Choose test file based on target.
10026 * gdb.btrace/x86-record_goto.S: Renamed into ...
10027 * gdb.btrace/x86_64-record_goto.S: ... this.
10028 * gdb.btrace/i686-record_goto.S: New.
10029 * gdb.btrace/x86-tailcall.S: Renamed into ...
10030 * gdb.btrace/x86_64-tailcall.S: ... this.
10031 * gdb.btrace/i686-tailcall.S: New.
10032 * gdb.btrace/x86-tailcall.c: Renamed into ...
10033 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10034 separate statements. Update test.
10035 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10036 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10037 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10038 * gdb.btrace/tailcall.exp: Choose test file based on target.
10039 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10041 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10043 * gdb.btrace/exception.exp: Increase BTS buffer size.
10045 2015-03-24 Pedro Alves <palves@redhat.com>
10047 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10049 2015-03-24 Pedro Alves <palves@redhat.com>
10051 * gdb.threads/schedlock.exp (test_step): No longer expect that
10052 "set scheduler-locking step" with "next" over a function call runs
10055 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10057 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10059 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10061 PR breakpoints/16466
10062 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10063 * gdb.mi/mi-pending.c (thread_func): New function.
10064 (int main): Add threading support required.
10065 * gdb.mi/mi-pending.exp: Add tests for this issue.
10066 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10067 (pendfunc2): Remove stdio dependency.
10068 * gdb.mi/mi-pendshr2.c: New file.
10070 2015-03-23 Keith Seitz <keiths@redhat.com>
10072 * gdb.linespec/keywords.c: New file.
10073 * gdb.linespec/keywords.exp: New file.
10075 2015-03-23 Keith Seitz <keiths@redhat.com>
10078 * gdb.dwarf2/staticvirtual.exp: New test.
10080 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10082 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10083 * README: Remove HP-UX and gdb.hp.
10085 * configure: Regenerate.
10086 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10087 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10088 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10089 gdb.hp/gdb.defects/Makefile.
10090 * gdb.hp/Makefile.in: File deleted.
10091 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10092 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10093 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10094 * gdb.hp/gdb.aCC/run.c: File deleted.
10095 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10096 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10097 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10098 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10099 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10100 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10101 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10102 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10103 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10104 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10105 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10106 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10107 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10108 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10109 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10110 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10111 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10112 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10113 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10114 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10115 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10116 * gdb.hp/gdb.compat/average.c: File deleted.
10117 * gdb.hp/gdb.compat/sum.c: File deleted.
10118 * gdb.hp/gdb.compat/xdb.c: File deleted.
10119 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10120 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10121 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10122 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10123 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10124 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10125 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10126 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10127 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10128 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10129 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10130 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10131 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10132 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10133 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10134 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10135 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10136 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10137 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10138 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10139 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10140 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10141 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10142 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10143 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10144 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10145 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10146 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10147 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10148 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10149 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10150 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10151 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10152 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10153 * gdb.hp/tools/odump: File deleted.
10155 2015-03-19 Pedro Alves <palves@redhat.com>
10157 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10158 (saw_thread_3): New globals.
10159 (top level): Increment them when an event for the corresponding
10161 (no thread starvation): New test.
10163 2015-03-19 Pedro Alves <palves@redhat.com>
10165 * gdb.threads/continue-pending-status.c: New file.
10166 * gdb.threads/continue-pending-status.exp: New file.
10168 2015-03-18 Pedro Alves <palves@redhat.com>
10170 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10171 Use gdb_is_target_remote instead of is_remote. Use
10172 gdb_test_multiple instead of gdb_expect. Exit early if
10173 gdb_test_multiple hits its internal matches. Tighten stepi tests
10174 expected output. Fail on exit with any signal, instead of just
10177 2015-03-18 Yao Qi <yao.qi@linaro.org>
10180 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10182 * gdb.base/catch-syscall.exp: Don't skip it on
10183 aarch64*-*-linux* target. Remove elements in all_syscalls.
10184 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10186 (setup_all_syscalls): New proc.
10188 2015-03-16 Yao Qi <yao.qi@linaro.org>
10190 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10191 (top level): Skip tests if valid_addr_p returns false for
10194 2015-03-11 Andy Wingo <wingo@igalia.com>
10196 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10198 2015-03-11 Yao Qi <yao.qi@linaro.org>
10200 * gdb.base/catch-syscall.exp: Fix typo in comments.
10202 2015-03-11 Yao Qi <yao.qi@linaro.org>
10204 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10206 2015-03-09 Pedro Alves <palves@redhat.com>
10208 * dg-extract-results.py: Delete.
10210 2015-03-09 Pedro Alves <palves@redhat.com>
10212 Merge dg-extract-results.sh from GCC upstream (r218843).
10214 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10215 * dg-extract-results.sh: Use --text with grep to avoid issues with
10216 binary files. Fall back to cat -v, if that doesn't work.
10218 2015-03-05 Pedro Alves <palves@redhat.com>
10220 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10222 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10224 * lib/mi-support.exp (mi_expect_interrupt): Accept
10225 alternative event for when in all-stop mode.
10227 2015-03-04 Pedro Alves <palves@redhat.com>
10229 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10231 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10233 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10235 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10237 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10238 regexps for GDB's current line display, accept a hex address
10239 preceding the line number.
10241 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10243 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10244 the 'arch1' variable for "s390*-linux*" targets.
10246 2015-03-04 Pedro Alves <palves@redhat.com>
10248 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10249 (main): Pass missing retval argument to pthread_join call.
10251 2015-03-02 Pedro Alves <palves@redhat.com>
10253 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10254 (top level): Call do_test with non-stop as well.
10256 2015-03-02 Pedro Alves <palves@redhat.com>
10258 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10261 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10263 * gdb.arch/s390-vregs.exp: New test.
10264 * gdb.arch/s390-vregs.S: New file.
10266 2015-02-27 Pedro Alves <palves@redhat.com>
10268 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10269 call to catch_command_errors.
10270 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10271 catch_command_errors.
10273 2015-02-27 Pedro Alves <palves@redhat.com>
10275 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10276 "true" for boolean result.
10277 * gdb.gdb/selftest.exp (test_with_self): Also accept full
10280 2015-02-27 Pedro Alves <palves@redhat.com>
10282 * lib/unbuffer_output.c: New file.
10283 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10284 (main): Call gdb_unbuffer_output.
10286 2015-02-27 Yao Qi <yao.qi@linaro.org>
10288 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10291 2015-02-26 Doug Evans <dje@google.com>
10293 * gdb.cp/class2.cc (Dbase, D): New classes.
10294 (main): New local delta.
10295 * gdb.cp/class2.exp: Test printing delta.
10296 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10297 (dynbar): New global.
10298 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10300 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10302 * gdb.compile/compile-ifunc.c: New file.
10303 * gdb.compile/compile-ifunc.exp: New file.
10305 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
10307 * gdb.base/structs.exp: Check for correct struct on finish.
10309 2015-02-26 Yao Qi <yao.qi@linaro.org>
10311 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10314 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10316 * gdb.arch/cordic.ko.bz2: New file.
10317 * gdb.arch/cordic.ko.debug.bz2: New file.
10318 * gdb.arch/ppc64-symtab-cordic.exp: New file.
10320 2015-02-25 Yao Qi <yao.qi@linaro.org>
10322 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10323 aarch64*-*-* target.
10325 2015-02-23 Pedro Alves <palves@redhat.com>
10327 * lib/gdb.exp (delete_breakpoints): Rewrite using
10330 2015-02-23 Pedro Alves <palves@redhat.com>
10332 * gdb.base/info-os.c: Include stdlib.h.
10334 2015-02-22 Doug Evans <xdje42@gmail.com>
10337 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10338 is read after symbols have been re-read.
10339 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10340 * gdb.ada/exec_changed/second.adb (Second): Ditto.
10342 2015-02-21 Doug Evans <dje@google.com>
10344 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10346 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10349 * gdb.arch/i386-biarch-core.core.bz2: New file.
10350 * gdb.arch/i386-biarch-core.exp: New file.
10352 2015-02-21 Pedro Alves <palves@redhat.com>
10354 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10357 2015-02-20 Pedro Alves <palves@redhat.com>
10359 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10362 2015-02-20 Pedro Alves <palves@redhat.com>
10364 * gdb.threads/multi-create-ns-info-thr.exp: New file.
10366 2015-02-20 Pedro Alves <palves@redhat.com>
10368 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
10369 clean_restart before gdb_target_supports_trace.
10371 2015-02-20 Pedro Alves <palves@redhat.com>
10374 * gdb.threads/clone-thread_db.c: New file.
10375 * gdb.threads/clone-thread_db.exp: New file.
10377 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
10379 PR breakpoints/16812
10380 * gdb.base/catch-gdb-caused-signals.c: New file.
10381 * gdb.base/catch-gdb-caused-signals.exp: New file.
10383 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
10385 * configure: Regenerated.
10386 * configure.ac: Use GDB_AC_TRANSFORM.
10387 * aclocal.m4: sinclude ../transform.m4.
10389 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10391 * lib/dtrace.exp: New file.
10392 * gdb.base/dtrace-probe.exp: Likewise.
10393 * gdb.base/dtrace-probe.d: Likewise.
10394 * gdb.base/dtrace-probe.c: Likewise.
10395 * lib/pdtrace.in: Likewise.
10396 * configure.ac: Output variables with the transformed names of
10397 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
10398 * configure: Regenerated.
10400 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10402 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10403 expected message when trying to access $_probe_* convenience
10404 variables while not on a probe.
10406 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10408 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10410 2015-02-11 Pedro Alves <pedro@codesourcery.com>
10412 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10413 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10415 2015-02-10 Doug Evans <xdje42@gmail.com>
10417 * lib/gdb.exp (gdb_load): Always return a result.
10419 2015-02-10 Pedro Alves <palves@redhat.com>
10421 * gdb.threads/signal-sigtrap.c: New file.
10422 * gdb.threads/signal-sigtrap.exp: New file.
10424 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
10426 * gdb.trace/no-attach-trace.c: New file.
10427 * gdb.trace/no-attach-trace.exp: New file.
10429 2015-02-09 Mark Wielaard <mjw@redhat.com>
10431 * gdb.dwarf2/atomic.c: New file.
10432 * gdb.dwarf2/atomic-type.exp: Likewise.
10434 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10436 * gdb.btrace/buffer-size.exp: Update "info record" output.
10437 * gdb.btrace/delta.exp: Update "info record" output.
10438 * gdb.btrace/enable.exp: Update "info record" output.
10439 * gdb.btrace/finish.exp: Update "info record" output.
10440 * gdb.btrace/instruction_history.exp: Update "info record" output.
10441 * gdb.btrace/next.exp: Update "info record" output.
10442 * gdb.btrace/nexti.exp: Update "info record" output.
10443 * gdb.btrace/step.exp: Update "info record" output.
10444 * gdb.btrace/stepi.exp: Update "info record" output.
10445 * gdb.btrace/nohist.exp: Update "info record" output.
10447 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10449 * gdb.btrace/buffer-size: New.
10451 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
10453 * gdb.btrace/delta.exp: Update "info record" output.
10454 * gdb.btrace/enable.exp: Update "info record" output.
10455 * gdb.btrace/finish.exp: Update "info record" output.
10456 * gdb.btrace/instruction_history.exp: Update "info record" output.
10457 * gdb.btrace/next.exp: Update "info record" output.
10458 * gdb.btrace/nexti.exp: Update "info record" output.
10459 * gdb.btrace/step.exp: Update "info record" output.
10460 * gdb.btrace/stepi.exp: Update "info record" output.
10461 * gdb.btrace/nohist.exp: Update "info record" output.
10463 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10466 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10468 2015-02-06 Pedro Alves <palves@redhat.com>
10470 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10472 (seconds_left, again): New globals.
10473 (main): Wait seconds_left in a 1-second sleep loop instead of
10474 sleeping 180 seconds. If 'again' is set, reset the seconds
10476 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10477 'again' in the inferior before detaching. Print the seconds left.
10478 (options): New global.
10479 (top level): Build program with -DTIMEOUT=$timeout.
10481 2015-02-06 Pedro Alves <palves@redhat.com>
10483 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10484 determine how many seconds to pass to 'alarm'.
10485 * gdb.base/gdb-sigterm.exp (top level): Build program with
10486 -DTIMEOUT=$timeout.
10487 (do_test): Return success/failure indication. Add more verbose
10488 logging. Don't fail if 200 single steps are seen. Instead, fail
10489 when the test times out.
10490 (passes): New global.
10491 (top level): Break the testing loop if testing fails on any
10492 iteration. Use gdb_assert.
10494 2015-02-04 Don Breazeal <donb@codesourcery.com>
10496 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10497 and initialize them.
10498 (ipc_cleanup): New function.
10499 (main): Don't declare shmid, semid, and msqid. Add a call to
10500 atexit so that we call ipc_cleanup on exit.
10502 2015-02-04 Pedro Alves <palves@redhat.com>
10504 * boards/native-extended-gdbserver.exp: Remove any target variant
10505 specifications from the board name before clearing the isremote
10506 flag from board_info.
10508 2015-01-31 Doug Evans <xdje42@gmail.com>
10510 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10512 2015-01-31 Gary Benson <gbenson@redhat.com>
10514 * gdb.base/completion.exp: Disable completion limiting for
10515 existing tests. Add new tests to check completion limiting.
10516 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10518 2015-01-31 Doug Evans <xdje42@gmail.com>
10520 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10522 2015-01-31 Doug Evans <xdje42@gmail.com>
10524 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10525 entries. Duplicate file section script entries.
10526 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10527 inlined entries. Add test for safe-path rejection.
10528 * gdb.python/py-section-script.c: Add duplicate inlined section script
10529 entries. Duplicate file section script entries.
10530 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10531 inlined entries. Add test for safe-path rejection.
10533 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10535 * gdb.ada/disc_arr_bound: New testcase.
10537 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10539 * gdb.ada/mi_var_array: New testcase.
10541 2015-01-27 Doug Evans <dje@google.com>
10543 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10544 Add test for objfile.filename, objfile.username after objfile
10547 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10549 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10550 the second test to print the name attribute of value
10551 returned by the call to gdb.lookup_type, and adjust
10552 the expected output accordingly.
10554 2015-01-25 Mark Wielaard <mjw@redhat.com>
10556 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10557 * gdb.base/disp-step-fork.c: Include unistd.h.
10558 * gdb.base/siginfo-obj.c: Include stdio.h.
10559 * gdb.base/siginfo-thread.c: Likewise.
10560 * gdb.mi/non-stop.c: Include unistd.h.
10561 * gdb.mi/nsthrexec.c: Include stdio.h.
10562 * gdb.mi/pthreads.c: Include unistd.h.
10563 * gdb.modula2/unbounded1.c (main): Declare returns int.
10564 * gdb.reverse/consecutive-reverse.c: Likewise.
10565 * gdb.threads/create-fail.c: Include unistd.h.
10566 * gdb.threads/killed.c: Likewise.
10567 * gdb.threads/linux-dp.c: Likewise.
10568 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10569 * gdb.threads/non-ldr-exc-2.c: Likewise.
10570 * gdb.threads/non-ldr-exc-3.c: Likewise.
10571 * gdb.threads/non-ldr-exc-4.c: Likewise.
10572 * gdb.threads/pthreads.c: Include unistd.h.
10573 (main): Declare returns int.
10574 * gdb.threads/tls-main.c (foo): New declaration.
10575 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10577 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10579 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10580 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10582 2015-01-15 Mark Wielaard <mjw@redhat.com>
10584 * gdb.base/noreturn-return.c: New file.
10585 * gdb.base/noreturn-return.exp: New file.
10586 * gdb.base/noreturn-finish.c: New file.
10587 * gdb.base/noreturn-finish.exp: New file.
10589 2015-01-23 Pedro Alves <palves@redhat.com>
10591 * gdb.threads/continue-pending-after-query.c: New file.
10592 * gdb.threads/continue-pending-after-query.exp: New file.
10594 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10595 Simon Marchi <simon.marchi@ericsson.com>
10597 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10598 * gdb.base/valgrind-db-attach.exp: Same.
10599 * gdb.base/valgrind-infcall.exp: Same.
10600 * lib/mi-support.exp (default_mi_gdb_start): Same.
10601 * lib/prompt.exp (default_prompt_gdb_start): Same.
10602 * lib/gdb.exp (default_gdb_spawn): Same.
10603 (gdb_interact): New.
10606 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10608 * gdb.compile/compile.exp (pointer to jit function): New test.
10610 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10612 * lib/gdb.exp (supports_process_record): Return true for
10614 (supports_reverse): Likewise.
10616 2015-01-15 Don Breazeal <donb@codesourcery.com>
10618 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10619 instead of checking whether the target board is remote and
10620 use spawn_wait_for_attach instead of exec/sleep.
10621 * gdb.base/attach-twice.exp: Likewise.
10623 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10625 * gdb.ada/var_arr_attrs: New testcase.
10627 2015-01-14 Pedro Alves <palves@redhat.com>
10628 Joel Brobecker <brobecker@adacore.com>
10631 * gdb.base/bp-cmds-execution-x-script.c: New file.
10632 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10633 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10635 2015-01-14 Pedro Alves <palves@redhat.com>
10638 * gdb.base/batch-preserve-term-settings.c: New file.
10639 * gdb.base/batch-preserve-term-settings.exp: New file.
10641 2015-01-13 Doug Evans <dje@google.com>
10643 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10646 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10648 * Makefile.in (clean mostlyclean): Do not delete *.py.
10650 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10652 * gdb.python/py-lookup-type.exp: New file.
10654 2015-01-12 Pedro Alves <palves@redhat.com>
10656 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10657 restore GDBFLAGS before returning.
10659 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10661 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10662 is_amd64_regs_target and is_x86_like_target.
10664 2015-01-11 Doug Evans <xdje42@gmail.com>
10666 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10667 is given without an explicit form.
10668 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10670 * gdb.dwarf/corrupt.exp: Ditto.
10671 * gdb.dwarf2/enum-type.exp: Ditto.
10672 * gdb.trace/entry-values.exp: Ditto.
10673 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10675 2015-01-11 Doug Evans <xdje42@gmail.com>
10678 * gdb.base/maint.exp: Remove references to "maint demangle".
10679 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10680 Add tests for explicitly specifying language to demangle.
10681 * gdb.dlang/demangle.exp: Ditto.
10683 2015-01-09 Pedro Alves <palves@redhat.com>
10685 * gdb.threads/non-stop-fair-events.c: New file.
10686 * gdb.threads/non-stop-fair-events.exp: New file.
10688 2015-01-09 Pedro Alves <palves@redhat.com>
10690 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10691 the global scope. Set a breakpoint after all threads are started
10692 rather than stepping over two source lines. Expect the prompt.
10693 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10696 (main): Use threads_started_barrier to wait for all threads to
10697 start. Main thread no longer calls thread_function. Exit after
10699 (loop): New function.
10700 (thread_function): Wait on threads_started_barrier barrier. Call
10701 'loop' at each iteration.
10702 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10703 threads have started, instead of hardcoding number of "next"
10704 steps. Use an access watchpoint instead of a write watchpoint.
10706 2015-01-09 Pedro Alves <palves@redhat.com>
10708 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10709 (thread_func): Wait on barrier.
10710 (main): Wait for all threads to start before stopping GDB.
10711 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10713 (thread1_func, thread2_func): Wait on barrier.
10714 (main): Wait for all threads to start before stopping GDB.
10715 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10717 (thread1_func, thread2_func): Wait on barrier.
10718 (main): Wait for all threads to start before stopping GDB.
10720 2015-01-09 Pedro Alves <palves@redhat.com>
10722 * gdb.threads/attach-many-short-lived-threads.c: New file.
10723 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10725 2014-01-09 Pedro Alves <palves@redhat.com>
10727 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10728 instead of to thread 2.
10729 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10730 Add barrier around each pthread_create call instead of around all
10732 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10733 Set a break on thread_function and have the child threads hit it
10736 2015-01-09 Pedro Alves <palves@redhat.com>
10738 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10739 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10741 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10742 checking whether the target board is remote.
10743 * gdb.multi/multi-attach.exp: Likewise.
10744 * gdb.python/py-sync-interp.exp: Likewise.
10745 * gdb.server/ext-attach.exp: Likewise.
10746 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10747 tests that need to attach, instead of checking whether the target
10748 board is remote at the top of the file.
10750 2015-01-08 Yao Qi <yao@codesourcery.com>
10752 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10754 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10756 Fix testcase compilation.
10757 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10759 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10761 * gdb.python/py-type.exp: Add a couple test about empty
10762 array creation, and negative-length array creation.
10764 2015-01-02 Doug Evans <xdje42@gmail.com>
10766 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10768 2015-01-02 Doug Evans <dje@google.com>
10770 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10772 2014-12-29 Yao Qi <yao@codesourcery.com>
10774 * gdb.trace/entry-values.exp: Update comments. Rename variable
10775 bar_call_foo to returned_from_foo.
10777 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10780 * gdb.linespec/break-asm-file.c: New file.
10781 * gdb.linespec/break-asm-file.exp: New file.
10782 * gdb.linespec/break-asm-file0.s: New file.
10783 * gdb.linespec/break-asm-file1.s: New file.
10785 2014-12-18 Nigel Stephens <nigel@mips.com>
10786 Maciej W. Rozycki <macro@codesourcery.com>
10788 * gdb.base/float.exp: Handle the new output from "info float" on
10791 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10793 Fix MinGW compilation.
10794 * gdb.compile/compile-ops.exp: Update untested message if
10795 !skip_compile_feature_tests.
10796 * gdb.compile/compile-setjmp.exp: Likewise.
10797 * gdb.compile/compile-tls.exp: Likewise.
10798 * gdb.compile/compile.exp: Likewise.
10799 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10800 supported on this host".
10802 2014-12-16 Doug Evans <xdje42@gmail.com>
10804 * boards/stabs.exp: New file.
10806 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10808 * gdb.base/completion.exp: Adjust to format changes of "maint
10809 print user-registers".
10811 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10814 * gdb.arch/aarch64-fp.c: New file.
10815 * gdb.arch/aarch64-fp.exp: New file.
10817 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10819 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10820 r210637, r210913, r211666, r215400, r215817).
10822 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10823 * dg-extract-results.py: New file.
10824 * dg-extract-results.sh: Use it if the environment seems
10827 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10829 * dg-extract-results.py (parse_run): Handle warnings that
10830 are printed before a test harness is run.
10832 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10834 * dg-extract-results.py (Named): Remove __cmp__ method.
10835 (output_variation): Use a key to sort variation.harnesses.
10837 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10839 * dg-extract-results.py: For Python 3, force sys.stdout to
10840 handle surrogate escape sequences.
10841 (safe_open): New function.
10842 (output_segment, main): Use it.
10844 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10846 * dg-extract-results.py (Prog.result_re): Include options
10849 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10851 * dg-extract-results.py (output_variation): Always sort if
10854 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10856 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10857 as long as we get pagination notifications.
10859 2014-12-15 Jason Merrill <jason@redhat.com>
10861 * Makefile.in (check-gdb.%): Restore.
10862 * README: Mention it.
10864 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10866 * gdb.ada/str_uninit: New testcase.
10868 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10871 * gdb.base/vla-stub-define.c: New file.
10872 * gdb.base/vla-stub.c: New file.
10873 * gdb.base/vla-stub.exp: New file.
10875 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10876 Jan Kratochvil <jan.kratochvil@redhat.com>
10877 Tom Tromey <tromey@redhat.com>
10879 * configure.ac: Add gdb.compile/.
10880 * configure: Regenerate.
10881 * gdb.compile/Makefile.in: New file.
10882 * gdb.compile/compile-ops.exp: New file.
10883 * gdb.compile/compile-ops.c: New file.
10884 * gdb.compile/compile-tls.c: New file.
10885 * gdb.compile/compile-tls.exp: New file.
10886 * gdb.compile/compile-constvar.S: New file.
10887 * gdb.compile/compile-constvar.c: New file.
10888 * gdb.compile/compile-mod.c: New file.
10889 * gdb.compile/compile-nodebug.c: New file.
10890 * gdb.compile/compile-setjmp-mod.c: New file.
10891 * gdb.compile/compile-setjmp.c: New file.
10892 * gdb.compile/compile-setjmp.exp: New file.
10893 * gdb.compile/compile-shlib.c: New file.
10894 * gdb.compile/compile.c: New file.
10895 * gdb.compile/compile.exp: New file.
10896 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10898 2014-12-12 Tom Tromey <tromey@redhat.com>
10900 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10901 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10903 2014-12-12 Doug Evans <dje@google.com>
10905 * lib/gdb-python.exp (get_python_valueof): New function.
10906 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10908 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10910 * gdb.base/completion.exp: Add test for completion of "info
10913 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10915 * gdb.base/func-ptrs.c: New file.
10916 * gdb.base/func-ptrs.exp: New file.
10918 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10920 PR breakpoints/17012
10921 * gdb.base/dprintf-detach.c: New file.
10922 * gdb.base/dprintf-detach.exp: New file.
10924 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10926 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10927 * lib/gdb.exp (target_is_gdbserver): New procedure.
10929 2014-12-08 Doug Evans <dje@google.com>
10931 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10933 2014-12-05 Yao Qi <yao@codesourcery.com>
10935 * gdb.guile/scm-error.exp: Remove the third argument to
10936 gdb_remote_download.
10937 * gdb.guile/scm-frame-args.exp: Likewise.
10938 * gdb.guile/scm-section-script.exp: Likewise.
10940 2014-12-05 Yao Qi <yao@codesourcery.com>
10942 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10944 2014-12-04 Doug Evans <dje@google.com>
10946 * gdb.python/py-objfile.exp: Add tests for
10947 objfile.add_separate_debug_file.
10949 2014-12-04 Doug Evans <dje@google.com>
10951 * lib/gdb.exp (get_build_id): New function.
10952 (build_id_debug_filename_get): Rewrite to use it.
10953 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10955 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10957 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10958 `method(long)', not just 0x0.
10959 * gdb.cp/nsalias.exp: Align code labels to 4.
10960 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10961 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10962 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10963 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10964 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10965 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10967 2014-12-02 Doug Evans <dje@google.com>
10970 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10971 * gdb.cp/anon-ns2.cc: ... here. New file.
10972 * gdb.cp/anon-ns.exp: Update.
10974 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10976 * gdb.python/py-events.py (inferior_call_handler): New.
10977 (register_changed_handler, memory_changed_handler): New.
10978 (test_events.invoke): Register new handlers.
10979 * gdb.python/py-events.exp: Add tests for inferior call,
10980 memory_changed and register_changed events.
10982 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10984 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10985 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10986 if the linker doesn't understand this.
10988 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10990 * gdb.python/python.exp: Change expected reply to help().
10992 2014-12-01 Yao Qi <yao@codesourcery.com>
10994 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10995 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10996 * configure: Re-generated.
10998 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11000 * gdb.cp/chained-calls.cc: New file.
11001 * gdb.cp/chained-calls.exp: New file.
11002 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11004 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11006 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11007 * gdb.dwarf2/symtab-producer.exp: Same.
11008 * gdb.gdb/python-interrupts.exp: Same.
11009 * gdb.gdb/python-selftest.exp: Same.
11010 * gdb.python/py-linetable.exp: Same.
11011 * gdb.python/py-type.exp: Same.
11012 * gdb.python/py-value-cc.exp: Same.
11013 * gdb.python/py-value.exp: Same.
11015 2014-11-28 Yao Qi <yao@codesourcery.com>
11017 * gdb.base/break-probes.exp: Match library name prefixed with
11020 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11022 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11023 test expected output. Add parentheses for the call to print.
11024 Remove L suffix from integers.
11026 2014-11-26 Doug Evans <dje@google.com>
11028 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11030 2014-11-22 Yao Qi <yao@codesourcery.com>
11032 * gdb.trace/entry-values.c: Remove asms.
11033 (foo): Add foo_label.
11034 (bar): Add bar_label.
11035 * gdb.trace/entry-values.exp: Remove code computing foo's
11036 length and bar's length.
11037 (Dwarf::assemble): Invoke function_range for bar and use
11038 MACRO_AT_func for foo.
11040 2014-11-22 Yao Qi <yao@codesourcery.com>
11042 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11043 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11044 Use .Lgcc43_procstart instead of gcc43.
11046 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11048 * gdb.ada/n_arr_bound: New testcase.
11050 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11052 PR breakpoints/10737
11053 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11054 test_catch_syscall_multi_arch.
11055 (test_catch_syscall_multi_arch): New function.
11057 2014-11-20 Doug Evans <xdje42@gmail.com>
11059 * gdb.base/maint.exp: Update expected output.
11061 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11063 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11064 4-byte instruction on S390.
11066 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11068 * gdb.ada/arr_arr: New testcase.
11070 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11072 * gdb.ada/pkd_arr_elem: New Testcase.
11074 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11076 * gdb.reverse/break-precsave: Expect completion message for
11078 * gdb.reverse/consecutive-precsave.exp: Likewise.
11079 * gdb.reverse/finish-precsave.exp: Likewise.
11080 * gdb.reverse/i386-precsave.exp: Likewise.
11081 * gdb.reverse/machinestate-precsave.exp: Likewise.
11082 * gdb.reverse/sigall-precsave.exp: Likewise.
11083 * gdb.reverse/solib-precsave.exp: Likewise.
11084 * gdb.reverse/step-precsave.exp: Likewise.
11085 * gdb.reverse/until-precsave.exp: Likewise.
11086 * gdb.reverse/watch-precsave.exp: Likewise.
11088 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11090 * gdb.base/bp-permanent.c: Include unistd.h.
11091 * gdb.python/py-framefilter-mi.c (main): Add return type.
11092 * gdb.python/py-framefilter.c (main): Likewise.
11093 * gdb.trace/actions-changed.c (main): Likewise.
11095 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11097 * gdb.mi/until.c: Add eye-catchers.
11098 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11101 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11103 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11104 function header variants in break1.c.
11105 * gdb.base/ena-dis-br.exp: Likewise.
11106 * gdb.base/hbreak2.exp: Likewise.
11107 * gdb.reverse/until-precsave.exp: Drop references to removed
11108 non-prototype function header variants in ur1.c.
11109 * gdb.reverse/until-reverse.exp: Likewise.
11111 2014-11-17 Petr Machata <pmachata@redhat.com>
11113 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11114 ${_cu_offset_size} bytes abbrev offset.
11116 2014-11-15 Doug Evans <xdje42@gmail.com>
11119 * gdb.base/line-symtabs.exp: New file.
11120 * gdb.base/line-symtabs.c: New file.
11121 * gdb.base/line-symtabs.h: New file.
11123 2014-11-14 Yao Qi <yao@codesourcery.com>
11125 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11126 (func): Add label func_label.
11127 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11128 Replace low_pc and high_pc with MACRO_AT_range.
11129 Replace name, low_pc and high_pc with MACRO_AT_func.
11131 2014-11-14 Yao Qi <yao@codesourcery.com>
11133 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11134 Replace name, low_pc and high_pc with MACRO_AT_func.
11136 2014-11-14 Yao Qi <yao@codesourcery.com>
11138 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11139 produce debug information.
11140 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11142 2014-11-14 Yao Qi <yao@codesourcery.com>
11144 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11145 object and get function length.
11146 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11147 with MACRO_AT_func.
11148 (top-level): Replace gdb_compile and clean_restart with
11149 prepare_for_testing.
11150 * gdb.dwarf2/main.c (main): Add label main_label.
11152 2014-11-14 Yao Qi <yao@codesourcery.com>
11154 * lib/dwarf.exp (function_range): New procedure.
11155 (Dwarf::_handle_macro_at_func): New procedure.
11156 (Dwarf::_handle_macro_at_range): New procedure.
11157 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11159 2014-11-14 Yao Qi <yao@codesourcery.com>
11161 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11162 (_handle_attribute): New procedure.
11164 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11166 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11167 * gdb.base/call-sc.c (zed): Likewise.
11168 * gdb.base/checkpoint.c (main): Likewise.
11169 * gdb.base/dump.c (main): Likewise.
11170 * gdb.base/gcore.c (main): Likewise.
11171 * gdb.base/huge.c (main): Likewise.
11172 * gdb.base/multi-forks.c (main): Likewise.
11173 * gdb.base/pr10179-a.c (main): Likewise.
11174 * gdb.base/savedregs.c (main): Likewise.
11175 * gdb.base/sigaltstack.c (main): Likewise.
11176 * gdb.base/siginfo.c (main): Likewise.
11177 * gdb.base/structs.c (zed): Likewise.
11178 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11179 * gdb.mi/mi-syn-frame.c (main): Likewise.
11180 * gdb.mi/until.c (foo, main): Likewise.
11181 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11182 * gdb.base/solib-weak.c (foo): Declare.
11183 * gdb.base/attach-twice.c: Include stdio.h.
11184 * gdb.base/weaklib1.c: Likewise.
11185 * gdb.base/weaklib2.c: Likewise.
11186 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11187 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11189 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11190 * gdb.mi/mi-exit-code.c: Likewise.
11191 * gdb.base/break-interp-lib.c: Include string.h.
11192 * gdb.base/coremaker.c: Likewise.
11193 * gdb.base/testenv.c: Likewise.
11194 * gdb.python/py-finish-breakpoint.c: Likewise.
11195 * gdb.base/inferior-died.c: Include sys/wait.h.
11196 * gdb.base/fileio.c: Include time.h.
11197 * gdb.base/async-shell.c: Include unistd.h.
11198 * gdb.base/dprintf-non-stop.c: Likewise.
11199 * gdb.base/info-os.c: Likewise.
11200 * gdb.mi/mi-console.c: Likewise.
11201 * gdb.mi/watch-nonstop.c: Likewise.
11202 * gdb.python/py-events.c: Likewise.
11203 * gdb.base/async.c (baz): Move up before its invocation.
11204 * gdb.base/code_elim2.c (my_global_func): Likewise.
11205 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11206 * gdb.base/advance.c (func2): Likewise.
11208 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11210 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11212 * gdb.base/annota3.c: Likewise.
11213 * gdb.base/async.c: Likewise.
11214 * gdb.base/average.c: Likewise.
11215 * gdb.base/call-ar-st.c: Likewise.
11216 * gdb.base/call-rt-st.c: Likewise.
11217 * gdb.base/call-sc.c: Likewise.
11218 * gdb.base/call-strs.c: Likewise.
11219 * gdb.base/ending-run.c: Likewise.
11220 * gdb.base/execd-prog.c: Likewise.
11221 * gdb.base/exprs.c: Likewise.
11222 * gdb.base/foll-exec.c: Likewise.
11223 * gdb.base/foll-fork.c: Likewise.
11224 * gdb.base/foll-vfork.c: Likewise.
11225 * gdb.base/funcargs.c: Likewise.
11226 * gdb.base/gcore.c: Likewise.
11227 * gdb.base/jump.c: Likewise.
11228 * gdb.base/langs0.c: Likewise.
11229 * gdb.base/langs1.c: Likewise.
11230 * gdb.base/langs2.c: Likewise.
11231 * gdb.base/mips_pro.c: Likewise.
11232 * gdb.base/nodebug.c: Likewise.
11233 * gdb.base/opaque0.c: Likewise.
11234 * gdb.base/opaque1.c: Likewise.
11235 * gdb.base/recurse.c: Likewise.
11236 * gdb.base/run.c: Likewise.
11237 * gdb.base/scope0.c: Likewise.
11238 * gdb.base/scope1.c: Likewise.
11239 * gdb.base/setshow.c: Likewise.
11240 * gdb.base/setvar.c: Likewise.
11241 * gdb.base/shmain.c: Likewise.
11242 * gdb.base/shr1.c: Likewise.
11243 * gdb.base/shr2.c: Likewise.
11244 * gdb.base/sigall.c: Likewise.
11245 * gdb.base/signals.c: Likewise.
11246 * gdb.base/so-indr-cl.c: Likewise.
11247 * gdb.base/solib2.c: Likewise.
11248 * gdb.base/structs.c: Likewise.
11249 * gdb.base/sum.c: Likewise.
11250 * gdb.base/vforked-prog.c: Likewise.
11251 * gdb.base/watchpoint.c: Likewise.
11252 * gdb.reverse/shr2.c: Likewise.
11253 * gdb.reverse/until-reverse.c: Likewise.
11254 * gdb.reverse/ur1.c: Likewise.
11255 * gdb.reverse/watch-reverse.c: Likewise.
11257 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11259 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11261 * gdb.base/sepdebug.exp: Drop references to removed code.
11263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11265 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11266 variant. Preserve original line numbering.
11267 * gdb.base/list1.c: Likewise.
11269 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11271 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11273 * gdb.base/break1.c: Likewise.
11274 * gdb.base/break.exp: Drop references to removed code.
11276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11278 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11281 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11283 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11287 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
11288 logic into perform_all_tests() and invoke it with and without
11289 function header prototypes.
11290 (do_function_calls): Remove conditional XFAIL for PR 5318.
11291 (rerun_and_prepare): Remove duplicate code.
11292 (perform_all_tests): New. Main logic moved here.
11294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11296 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11297 code guarded by #ifdef NO_PROTOTYPES.
11298 (t_double_many_args): Likewise.
11299 (DEF_FUNC_MANY_ARGS_1): Likewise.
11300 (DEF_FUNC_VALUES_1): Likewise.
11301 (t_structs_ldc): Renamed from t_structs_fc in conditional code
11302 guarded by #ifdef PROTOTYPES.
11304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11306 * gdb.mi/mi-console.c: Add eye-catcher.
11307 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11308 instead of literal line number.
11310 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11312 * gdb.base/shr2.c: Add eye-catcher.
11313 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11316 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11318 * gdb.base/jump.c: Add eye-catchers.
11319 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11322 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11324 * gdb.base/execd-prog.c: Add eye-catchers.
11325 * gdb.base/foll-exec.c: Likewise.
11326 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11329 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11331 * gdb.base/ending-run.c: Add eye-catchers.
11332 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11333 literal line numbers.
11335 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11337 * gdb.base/call-rt-st.c: Add eye-catchers.
11338 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11339 literal line numbers.
11341 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11343 * gdb.base/call-ar-st.c: Add eye-catchers.
11344 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11345 literal line numbers.
11347 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11349 * gdb.base/average.c: Add eye-catchers.
11350 * gdb.base/sum.c: Likewise.
11351 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11352 regexps dynamically.
11354 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11356 * gdb.base/solib1.c: Add eye-catchers.
11357 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11358 literal line numbers.
11360 2014-11-12 Pedro Alves <palves@redhat.com>
11362 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11365 2014-11-12 Pedro Alves <palves@redhat.com>
11367 * gdb.arch/i386-bp_permanent.c: New file.
11368 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11369 (srcfile): Set to i386-bp_permanent.c.
11370 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
11371 that stepi does not execute the 'leave' instruction, instead of
11372 testing it does execute.
11373 * gdb.base/bp-permanent.c: New file.
11374 * gdb.base/bp-permanent.exp: New file.
11376 2014-11-10 Doug Evans <xdje42@gmail.com>
11379 * gdb.base/symtab-search-order.exp: New file.
11380 * gdb.base/symtab-search-order.c: New file.
11381 * gdb.base/symtab-search-order-1.c: New file.
11382 * gdb.base/symtab-search-order-shlib-1.c: New file.
11384 2014-11-07 Pedro Alves <palves@redhat.com>
11387 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11390 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
11393 * gdb.cp/pr17494.cc: New file.
11394 * gdb.cp/pr17494.exp: New file.
11396 2014-11-02 Yao Qi <yao@codesourcery.com>
11398 * gdb.python/python.exp: Get working directory and match the
11399 output of "set extended-prompt \\w " with it.
11401 2014-10-30 Doug Evans <dje@google.com>
11403 * gdb.python/py-objfile.exp: Add tests for setting random attributes
11405 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11408 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
11410 * gdb.base/fullpath-expand.exp: Skip for a remote host.
11411 * gdb.base/realname-expand.exp: Likewise.
11412 * gdb.linespec/macro-relative.exp: Likewise.
11414 2014-10-29 Pedro Alves <palves@redhat.com>
11417 * gdb.threads/schedlock.c (some_function): New function.
11418 (call_function): New global.
11419 (MAYBE_CALL_SOME_FUNCTION): New macro.
11420 (thread_function): Call it.
11421 * gdb.threads/schedlock.exp (get_args): Add description parameter,
11422 and use it instead of a global counter. Adjust all callers.
11423 (get_current_thread): Use "find current thread" for test message
11424 here rather than having all callers pass down the same string.
11425 (goto_loop): New procedure, factored out from ...
11426 (my_continue): ... this.
11427 (step_ten_loops): Change parameter from test message to command to
11429 (list_count): Delete global.
11430 (check_result): New procedure, factored out from duplicate top
11432 (continue tests): Wrap in with_test_prefix.
11433 (test_step): New procedure, factored out from duplicate top level
11435 (top level): Test "step" in combination with all scheduler-locking
11436 modes. Test "next" in combination with all scheduler-locking
11437 modes, and in combination with stepping over a function call or
11439 * gdb.threads/next-bp-other-thread.c: New file.
11440 * gdb.threads/next-bp-other-thread.exp: New file.
11442 2014-10-29 Pedro Alves <palves@redhat.com>
11445 * gdb.python/python.exp: Test a multi-line command that spawns
11446 interactive Python.
11447 * gdb.base/multi-line-starts-subshell.exp: New file.
11449 2014-10-29 Yao Qi <yao@codesourcery.com>
11451 * gdb.base/fileio.exp: Make directories on host.
11453 2014-10-29 Yao Qi <yao@codesourcery.com>
11455 * gdb.base/fileio.c (test_write): Close the file.
11457 2014-10-28 Pedro Alves <palves@redhat.com>
11460 * gdb.base/sigstep.c (no_handler): New global.
11461 (main): If 'no_handler is true, set the signal handlers to
11463 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11464 with_sw_watch and no_handler parameters. Handle them.
11465 (top level) <stepping over handler when stopped at a breakpoint
11466 test>: Add a test axis for testing with a software watchpoint, and
11467 another for testing with the signal handler set to SIG_IGN.
11468 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11469 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11471 2014-10-28 Pedro Alves <palves@redhat.com>
11474 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11475 * gdb.base/sigstep.exp (other_handler_location): New global.
11476 (advance): Support stepping into the signal handler, and running
11477 commands while in the handler.
11478 (in_handler_map): New global.
11479 (top level): In the advance test, add combinations for getting
11480 into the handler with stepping commands, and for running commands
11481 in the handler. Add comment descripting the advancei tests.
11483 2014-10-28 Pedro Alves <palves@redhat.com>
11485 * gdb.base/sigstep.exp: Use build_executable instead of
11486 prepare_for_testing.
11487 (top level): Move code that starts GDB, runs to main and creates a
11489 (restart): ... this new procedure.
11490 (top level): Move backtrace from signal handler test to ...
11491 (validate_backtrace): ... this new procedure.
11492 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11493 with_test_prefix. Always restart GDB.
11494 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11495 with_test_prefix. Always restart GDB. No need to delete
11496 breakpoints after the test.
11497 (test_skip_handler): Remove prefix parameter.
11498 (skip_over_handler, breakpoint_to_handler)
11499 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11500 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11501 restart GDB. No need to delete breakpoints after the test.
11502 (top level): Use foreach to call the test procedures with
11503 different commands.
11505 2014-10-28 Pedro Alves <palves@redhat.com>
11507 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11508 instead of GNATS numbers.
11509 * gdb.base/sigbpt.exp: Likewise.
11510 * gdb.base/siginfo.exp: Likewise.
11511 * gdb.base/sigstep.exp: Likewise.
11513 2014-10-27 Pedro Alves <palves@redhat.com>
11515 * gdb.base/sigstep.c (dummy): New global.
11516 (main): Issue a couple writes to the new global.
11517 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11519 (skip_over_handler): Use test_skip_handler.
11520 (top level): Call skip_over_handler for stepi and nexti too.
11521 (breakpoint_over_handler): Use test_skip_handler.
11522 (top level): Call breakpoint_over_handler for stepi and nexti too.
11524 2014-10-27 Yao Qi <yao@codesourcery.com>
11526 * gdb.trace/tfile.c (adjust_function_address)
11527 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11528 function descriptor.
11530 2014-10-24 Don Breazeal <donb@codesourcery.com>
11532 * gdb.base/foll-fork.exp (test_follow_fork,
11533 catch_fork_child_follow): Check for updated fork messages emitted
11535 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11536 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11537 vfork_and_exec_child_follow_through_step): Check for updated vfork
11538 messages emitted from infrun.c.
11540 2014-10-24 Pedro Alves <palves@redhat.com>
11542 * gdb.base/corefile.exp: Remove references to ultrix.
11543 * gdb.base/interrupt.exp: Likewise.
11544 * gdb.base/whatis.exp: Likewise.
11545 * gdb.gdb/selftest.exp: Likewise.
11546 * gdb.threads/manythreads.exp: Likewise.
11547 * gdb.threads/print-threads.exp: Likewise.
11548 * gdb.threads/pthreads.exp:: Likewise.
11549 * gdb.threads/schedlock.exp: Likewise.
11551 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11553 * gdb.cp/non-trivial-retval.cc: Add a test case.
11554 * gdb.cp/non-trivial-retval.exp: Add a test.
11556 2014-10-20 Yao Qi <yao@codesourcery.com>
11558 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11559 * gdb.python/py-objfile-script-gdb.py: New file.
11560 * gdb.python/py-objfile-script.exp: Update reference to
11561 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11562 of remote_download. Remove the dest file.
11564 2014-10-20 Yao Qi <yao@codesourcery.com>
11566 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11567 * gdb.base/step-line.exp: Likewise.
11568 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11569 * gdb.dwarf2/dw2-basic.exp: Likewise.
11570 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11571 * gdb.dwarf2/dw2-filename.exp: Likewise.
11572 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11573 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11574 * gdb.dwarf2/dw2-producer.exp: Likewise.
11575 * gdb.dwarf2/mac-fileno.exp: Likewise.
11576 * gdb.python/py-frame-args.exp: Likewise.
11577 * gdb.python/py-framefilter.exp: Likewise.
11578 * gdb.python/py-mi.exp: Likewise.
11579 * gdb.python/py-objfile-script.exp: Likewise
11580 * gdb.python/py-pp-integral.exp: Likewise.
11581 * gdb.python/py-pp-re-notag.exp: Likewise.
11582 * gdb.python/py-prettyprint.exp: Likewise.
11583 * gdb.python/py-section-script.exp: Likewise.
11584 * gdb.python/py-typeprint.exp: Likewise.
11585 * gdb.python/py-xmethods.exp: Likewise.
11586 * gdb.stabs/weird.exp: Likewise.
11587 * gdb.xml/tdesc-regs.exp: Likewise.
11589 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11591 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11592 (out_cu): Use addr_len for the size of addresses.
11593 (out_line): Likewise. Size DW_LNE_set_address instruction
11594 according to addr_len.
11595 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11596 (FUNC): Add START_INSNS to definition.
11598 2014-10-18 Yao Qi <yao@codesourcery.com>
11600 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11601 gdb_has_argv0 return true.
11602 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11603 check [target_info exists noargs], check [gdb_has_argv0]
11605 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11606 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11609 2014-10-17 Doug Evans <dje@google.com>
11611 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11613 * gdb.python/py-events.py: Add clear_objfiles event.
11615 2014-10-17 Doug Evans <dje@google.com>
11617 * gdb.python/py-objfile.exp: Test progspace attribute.
11619 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11621 * gdb.guile/scm-breakpoint.exp: Do not assume any
11622 directory separators when matching source file paths.
11623 * gdb.python/py-breakpoint.exp: Likewise.
11624 * gdb.reverse/break-precsave.exp: Likewise.
11625 * gdb.reverse/break-reverse.exp: Likewise.
11626 * gdb.reverse/consecutive-precsave.exp: Likewise.
11627 * gdb.reverse/finish-precsave.exp: Likewise.
11628 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11629 * gdb.reverse/finish-reverse.exp: Likewise.
11630 * gdb.reverse/i386-precsave.exp: Likewise.
11631 * gdb.reverse/i387-env-reverse.exp: Likewise.
11632 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11633 * gdb.reverse/machinestate-precsave.exp: Likewise.
11634 * gdb.reverse/machinestate.exp: Likewise.
11635 * gdb.reverse/sigall-precsave.exp: Likewise.
11636 * gdb.reverse/solib-precsave.exp: Likewise.
11637 * gdb.reverse/step-precsave.exp: Likewise.
11638 * gdb.reverse/until-precsave.exp: Likewise.
11639 * gdb.reverse/watch-precsave.exp: Likewise.
11640 * gdb.reverse/watch-reverse.exp: Likewise.
11642 2014-10-17 Yao Qi <yao@codesourcery.com>
11644 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11645 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11647 2014-10-17 Pedro Alves <palves@redhat.com>
11650 * gdb.base/bg-execution-repeat.c: New file.
11651 * gdb.base/bg-execution-repeat.exp: New file.
11653 2014-10-17 Pedro Alves <palves@redhat.com>
11656 * gdb.base/continue-all-already-running.c: New file.
11657 * gdb.base/continue-all-already-running.exp: New file.
11659 2014-10-17 Pedro Alves <palves@redhat.com>
11662 * gdb.base/annota-input-while-running.c: New file.
11663 * gdb.base/annota-input-while-running.exp: New file.
11665 2014-10-17 Pedro Alves <palves@redhat.com>
11667 * gdb.base/callfuncs.exp: emove references to osf.
11668 * gdb.base/sigall.exp: Likewise.
11669 * gdb.gdb/selftest.exp: Likewise.
11670 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11671 * gdb.mi/non-stop.c: Likewise.
11672 * gdb.mi/pthreads.c: Likewise.
11673 * gdb.reverse/sigall-precsave.exp: Likewise.
11674 * gdb.reverse/sigall-reverse.exp: Likewise.
11675 * gdb.threads/pthreads.c: Likewise.
11676 * gdb.threads/pthreads.exp: Likewise.
11678 2014-10-17 Yao Qi <yao@codesourcery.com>
11680 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11681 check 'target_info exists noargs'.
11682 (test_command_prompt_position): Likewise.
11683 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11685 (progvar_simple_while_test): Likewise.
11686 (progvar_complex_if_while_test): Likewise.
11687 (if_while_breakpoint_command_test): Likewise.
11688 (infrun_breakpoint_command_test): Likewise.
11689 (breakpoint_command_test): Likewise.
11690 (watchpoint_command_test): Likewise.
11691 (bp_deleted_in_command_test): Likewise.
11692 (temporary_breakpoint_commands): Likewise.
11694 2014-10-16 Yao Qi <yao@codesourcery.com>
11696 * gdb.base/remotetimeout.exp: Remove noargs checking.
11698 2014-10-15 Pedro Alves <palves@redhat.com>
11700 PR breakpoints/9649
11701 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11702 * gdb.base/breakpoint-in-ro-region.exp
11703 (probe_target_hardware_step): New procedure.
11704 (top level): Probe hardware stepping and hardware breakpoint
11705 support. Test stepping through a read-only region, with both
11706 "breakpoint auto-hw" on and off and both "always-inserted" on and
11709 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11711 * gdb.dlang/demangle.exp: Update for demangling changes.
11713 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11715 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11716 * gdb.cp/non-trivial-retval.exp: Add new tests.
11718 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11722 * gdb.cp/non-trivial-retval.cc: New file.
11723 * gdb.cp/non-trivial-retval.exp: New file.
11725 2014-10-15 Yao Qi <yao@codesourcery.com>
11727 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11730 2014-10-15 Yao Qi <yao@codesourcery.com>
11732 * gdb.python/py-symbol.exp: Match file base name if host is
11733 remote, otherwise match file name with dir name.
11734 * gdb.python/py-symtab.exp: Likewise.
11735 * gdb.python/python.exp: Likewise.
11737 2014-10-15 Yao Qi <yao@codesourcery.com>
11739 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11741 * gdb.python/py-symtab.exp: Likewise.
11742 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11745 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11747 * gdb.ada/addr_arith: New testcase.
11749 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11751 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11752 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11753 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11754 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11756 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11758 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11759 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11760 * gdb.arch/stap-eval-lang-ada.exp: New file.
11762 2014-10-14 Yao Qi <yao@codesourcery.com>
11764 * gdb.mi/mi-var-child.c (nothing1): New function.
11765 (nothing2): New function.
11766 (do_children_tests): Set function pointers by nothing1 and
11768 * gdb.mi/mi-var-child.exp: Step over new added statements.
11769 Update test to match the new output.
11770 * gdb.mi/var-cmd.c (nothing1): New function.
11771 (nothing2): New function.
11772 (do_children_tests): Set function pointers by nothing1 and
11774 * gdb.mi/mi-var-display.exp: Update test to match output.
11775 Step to the line specified by $line_dct_nothing.
11776 Increase the number of lines to step.
11778 2014-10-14 Yao Qi <yao@codesourcery.com>
11780 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11782 * gdb.mi/mi2-var-child.exp: Likewise.
11784 2014-10-13 Doug Evans <dje@google.com>
11786 * gdb.python/py-objfile.exp: Change name of file name test.
11788 2014-10-13 Doug Evans <dje@google.com>
11790 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11791 from the start of the CU.
11793 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11794 Yao Qi <yao@codesourcery.com>
11796 Fix "save breakpoints" for "catch" command.
11797 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11798 Remove -nonewline. Match also the added "main" line.
11800 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11802 Fix "save breakpoints" for "disable $bpnum" command.
11803 * gdb.base/save-bp.c (main): Add label.
11804 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11806 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11808 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11810 2014-10-11 Yao Qi <yao@codesourcery.com>
11812 * gdb.server/server-kill.exp: Execute command
11813 "set remote trace-status-packet on" before "tstatus".
11815 2014-10-11 Yao Qi <yao@codesourcery.com>
11817 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11818 (main): Call getppid.
11819 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11820 and continue to it. Read variable "server_pid".
11822 2014-10-11 Yao Qi <yao@codesourcery.com>
11824 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11826 2014-10-11 Yao Qi <yao@codesourcery.com>
11828 * gdb.threads/thread-find.exp: Don't execute command
11830 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11831 * gdb.threads/linux-dp.exp: Don't check the condition
11832 $threads_created equals to zero.
11834 2014-10-10 Pedro Alves <palves@redhat.com>
11836 * gdb.base/bigcore.exp: Remove references to IRIX.
11837 * gdb.base/funcargs.exp: Likewise.
11838 * gdb.base/interrupt.exp: Likewise.
11839 * gdb.base/mips_pro.exp: Likewise.
11840 * gdb.base/nodebug.exp: Likewise.
11841 * gdb.base/setvar.exp: Likewise.
11842 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11844 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11845 Pedro Alves <palves@redhat.com>
11848 * gdb.base/vdso-warning.c: New file.
11849 * gdb.base/vdso-warning.exp: New file.
11851 2014-10-02 Doug Evans <dje@google.com>
11853 * gdb.base/structs.c (main): Don't run forever.
11855 2014-10-02 Pedro Alves <palves@redhat.com>
11857 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11858 (top level) <stop threads 1, stop threads 2>: Use it.
11860 2014-10-02 Pedro Alves <palves@redhat.com>
11862 * gdb.threads/break-while-running.exp (test): Add new
11863 'update_thread_list' argument. Skip "info threads" if false.
11864 (top level): Add new 'update_thread_list' axis.
11866 2014-10-02 Pedro Alves <palves@redhat.com>
11868 PR breakpoints/17431
11869 * gdb.base/execl-update-breakpoints.c: New file.
11870 * gdb.base/execl-update-breakpoints.exp: New file.
11872 2014-10-01 Pedro Alves <palves@redhat.com>
11874 * gdb.base/breakpoint-in-ro-region.c: New file.
11875 * gdb.base/breakpoint-in-ro-region.exp: New file.
11877 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11879 * gdb.mi/mi-exit-code.exp: New file.
11880 * gdb.mi/mi-exit-code.c: New file.
11882 2014-09-30 Yao Qi <yao@codesourcery.com>
11884 * lib/prelink-support.exp (build_executable_own_libs): Error if
11885 the target isn't native.
11887 2014-09-30 Yao Qi <yao@codesourcery.com>
11889 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11892 2014-09-22 Pedro Alves <palves@redhat.com>
11894 * gdb.threads/break-while-running.exp: New file.
11895 * gdb.threads/break-while-running.c: New file.
11897 2014-09-19 Yao Qi <yao@codesourcery.com>
11899 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11900 Invoke test. Restart GDB with --readnow and invoke test again.
11902 2014-09-19 Yao Qi <yao@codesourcery.com>
11904 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11905 proc set_breakpoint_on_gcd_function. Invoke
11906 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11907 invoke set_breakpoint_on_gcd_function again.
11909 2014-09-18 Doug Evans <dje@google.com>
11911 * gdb.dwarf2/symtab-producer.exp: New file.
11913 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11915 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11916 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11917 * gdb.base/global-var-nested-by-dso.c: Likewise.
11918 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11920 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11921 Pedro Alves <palves@redhat.com>
11923 * gdb.base/watch-bitfields.exp: Pass string other than test file
11924 name to prepare_for_testing.
11925 (watch): New procedure.
11926 (expect_watchpoint): Use with_test_prefix.
11927 (top level): Factor out tests to ...
11928 (test_watch_location, test_regular_watch): ... these new
11929 procedures, and use with_test_prefix and gdb_continue_to_end.
11931 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11933 PR breakpoints/12526
11934 * gdb.base/watch-bitfields.exp: New file.
11935 * gdb.base/watch-bitfields.c: New file.
11937 2014-09-16 Pedro Alves <palves@redhat.com>
11939 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11940 software and hardware addresses, not software address against
11943 2014-09-16 Pedro Alves <palves@redhat.com>
11945 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11946 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11948 2014-09-16 Pedro Alves <palves@redhat.com>
11950 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11952 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11953 "*-*-vxworks*" throughout.
11954 * gdb.base/break.exp: Likewise.
11955 * gdb.base/default.exp: Likewise.
11956 * gdb.base/scope.exp: Likewise.
11957 * gdb.base/sepdebug.exp: Likewise.
11958 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11960 * gdb.base/run.c: Likewise.
11961 * gdb.base/sepdebug.c: Likewise.
11962 * gdb.hp/gdb.aCC/run.c: Likewise.
11963 * gdb.reverse/until-reverse.c: Likewise.
11964 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11966 2014-09-16 Yao Qi <yao@codesourcery.com>
11968 * boards/local-remote-host-native.exp: New file.
11970 2014-09-14 Doug Evans <xdje42@gmail.com>
11972 * gdb.threads/queue-signal.c (thread_count): New variable.
11973 (thread_count_mutex, thread_count_condvar): New variables.
11974 (incr_thread_count, wait_all_threads_running): New functions.
11975 (main): Wait for all threads to be in their thread functions.
11977 2014-09-13 Doug Evans <xdje42@gmail.com>
11979 * gdb.threads/queue-signal.c: New file.
11980 * gdb.threads/queue-signal.exp: New file.
11982 2014-09-13 Doug Evans <xdje42@gmail.com>
11984 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11985 be consistent with what default_gdb_init uses.
11986 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11987 the plain text of the prompt. Add some logging printfs.
11988 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11990 2014-09-12 Pedro Alves <palves@redhat.com>
11992 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11993 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11994 * gdb.arch/i386-size-overlap.exp: Likewise.
11995 * gdb.arch/i386-size.exp: Likewise.
11996 * gdb.arch/i386-unwind.exp: Likewise.
11997 * gdb.base/a2-run.exp: Likewise.
11998 * gdb.base/break.exp: Likewise.
11999 * gdb.base/charset.exp: Likewise.
12000 * gdb.base/chng-syms.exp: Likewise.
12001 * gdb.base/commands.exp: Likewise.
12002 * gdb.base/dbx.exp: Likewise.
12003 * gdb.base/find.exp: Likewise.
12004 * gdb.base/funcargs.exp: Likewise.
12005 * gdb.base/jit-simple.exp: Likewise.
12006 * gdb.base/reread.exp: Likewise.
12007 * gdb.base/sepdebug.exp: Likewise.
12008 * gdb.base/step-bt.exp: Likewise.
12009 * gdb.cp/mb-inline.exp: Likewise.
12010 * gdb.cp/mb-templates.exp: Likewise.
12011 * gdb.objc/basicclass.exp: Likewise.
12012 * gdb.threads/killed.exp: Likewise.
12014 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12017 * gdb.arch/powerpc-stackless.S: New file.
12018 * gdb.arch/powerpc-stackless.exp: New file.
12020 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12022 * gdb.base/attach.c: Include unistd.h.
12023 (main): Call alarm. Add label postloop.
12024 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12025 gdb_breakpoint, gdb_continue_to_breakpoint.
12026 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12028 2014-09-11 Pedro Alves <palves@redhat.com>
12031 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12032 * gdb.base/attach.exp (test_command_line_attach_run): New
12034 (top level): Call it.
12036 2014-09-11 Pedro Alves <palves@redhat.com>
12038 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12039 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12040 (do_command_attach_tests): Use spawn_wait_for_attach.
12041 * gdb.base/solib-overlap.exp: Likewise.
12042 * gdb.multi/multi-attach.exp: Likewise.
12043 * gdb.python/py-prompt.exp: Likewise.
12044 * gdb.python/py-sync-interp.exp: Likewise.
12045 * gdb.server/ext-attach.exp: Likewise.
12047 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12049 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12050 command in testcase. Simplify testcase.
12052 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12054 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12056 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12058 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12060 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12062 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12064 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12066 * gdb.dwarf2/dynarr-ptr.c: New file.
12067 * gdb.dwarf2/dynarr-ptr.exp: New file.
12069 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12071 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12072 of 30 rather than hardcoding 120 for a slow test case. Take the
12073 `gdb,timeout' target setting into account for this calculation.
12074 Don't extend the timeout for the test cases that don't need it.
12076 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12078 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12079 a factor of 2 for a slow test case. Take the `gdb,timeout'
12080 target setting into account for this calculation.
12081 * gdb.reverse/until-precsave.exp: Increase the timeout by
12082 a factor of 15 and 3 respectively rather than adding 120
12083 for a pair of slow test cases. Take the `gdb,timeout'
12084 target setting into account for this calculation.
12086 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12088 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12089 timeout, don't pass one down to gdb_expect.
12090 (gdb_expect): Rework timeout selection.
12092 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12094 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12095 exception on timeout.
12096 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12097 (gdbserver_start_extended): Catch any `gdbserver_start' error
12099 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12100 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12101 `gdbserver_gdb_load' error exceptions.
12103 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12105 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12106 120 on waiting for the TCP socket to open.
12108 2014-09-09 Doug Evans <xdje42@gmail.com>
12110 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12111 _caller_matches, _any_caller_is, _any_caller_matches.
12113 2014-09-09 Doug Evans <xdje42@gmail.com>
12115 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12117 2014-09-09 Yao Qi <yao@codesourcery.com>
12119 * gdb.mi/mi-var-display.exp: Set print symbol off.
12121 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12124 * gdb.base/commands.exp: Add tests to verify user-defined
12125 commands with empty bodies.
12126 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12127 python commands in `show user command`.
12128 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12129 scheme commands in `show user command`.
12131 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12134 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12135 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12136 * gdb.python/py-framefilter-invalidarg.exp: New file.
12137 * gdb.python/py-framefilter-invalidarg.py: New file.
12139 2014-09-06 Doug Evans <xdje42@gmail.com>
12142 * gdb.python/py-caller-is.c: New file.
12143 * gdb.python/py-caller-is.exp: New file.
12145 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12148 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12149 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12151 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12154 * gdb.fortran/print-formatted.exp: New file.
12155 * gdb.fortran/print-formatted.f90: Likewise.
12157 2014-09-03 Sasha Smundak <asmundak@google.com>
12159 * gdb.python/py-frame.exp: Test Frame.read_register.
12161 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12164 * gdb.python/py-completion.exp: New file.
12165 * gdb.python/py-completion.py: Likewise.
12167 2014-08-28 Doug Evans <dje@google.com>
12169 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12170 eax,etc. are live with values set by gdb and thus the compiler can't
12172 * gdb.arch/i386-pseudo.c (main): Ditto.
12174 2014-08-27 Doug Evans <dje@google.com>
12176 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12178 2014-08-25 Doug Evans <dje@google.com>
12180 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12183 2014-08-25 Doug Evans <dje@google.com>
12185 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12187 2014-08-24 Yao Qi <yao@codesourcery.com>
12189 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12191 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12193 2014-08-22 Doug Evans <dje@google.com>
12196 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12197 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12198 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12200 2014-08-22 Yao Qi <yao@codesourcery.com>
12202 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12203 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12204 * gdb.python/python.exp: Likewise. Use .py file on the host
12205 instead of the build.
12207 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12209 * gdb.threads/gcore-stale-thread.c: New file.
12210 * gdb.threads/gcore-stale-thread.exp: New file.
12212 2014-08-21 Pedro Alves <palves@redhat.com>
12214 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12215 * gdb.base/gcore-relro-pie.exp: Likewise.
12216 * gdb.base/gcore-relro.exp: Likewise.
12217 * gdb.base/gcore.exp: Likewise.
12218 * gdb.base/print-symbol-loading.exp: Likewise.
12219 * gdb.threads/gcore-thread.exp: Likewise.
12220 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12222 2014-08-20 Pedro Alves <palves@redhat.com>
12223 Jan Kratochvil <jan.kratochvil@redhat.com>
12225 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12227 (EXPECT): Handle READ1 being set.
12228 (all): Depend on EXTRA_RULES.
12229 (check-read1, expect-read1, read1.so, read1): New rules.
12230 * README (Testsuite Parameters): Document the READ1 make variable.
12231 (Race detection): New section.
12232 * configure: Regenerate.
12233 * configure.ac: If build==host==target, and running under a
12234 GNU/glibc system, add read1 to the extra Makefile rules.
12235 (EXTRA_RULES): AC_SUBST it.
12236 * lib/read1.c: New file.
12238 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12240 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12241 the handling of variables declared as a typedef to an array
12242 which a DW_AT_data_location attribute.
12244 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12245 Pedro Alves <palves@redhat.com>
12249 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12252 2014-08-19 Pedro Alves <palves@redhat.com>
12254 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12256 2014-08-19 Yao Qi <yao@codesourcery.com>
12258 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12261 2014-08-18 David Blaikie <dblaikie@gmail.com>
12263 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12265 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12267 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12268 attribute in array range.
12270 2014-08-18 Joel Brobecker <brobecker@adacore.com>
12272 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12274 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12277 * gdb.cp/pr17132.cc: New file.
12278 * gdb.cp/pr17132.exp: New file.
12280 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
12282 * gdb.python/py-xmethods.py (A_getarrayind)
12283 (E_method_char_worker.__call__, E_method_int_worker.__call__):
12284 Use 'print' with function call syntax.
12285 (E_method_matcher.match): Fix tab vs space indentation mixup.
12287 2014-08-15 Yao Qi <yao@codesourcery.com>
12289 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12292 2014-08-15 Yao Qi <yao@codesourcery.com>
12294 * gdb.cp/casts.exp: Set print symbol off.
12295 * gdb.cp/class2.exp: Likewise.
12296 * gdb.cp/overload.exp: Likewise.
12297 * gdb.cp/templates.exp: Likewise.
12299 2014-08-11 Doug Evans <dje@google.com>
12301 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12302 (test_load_shlib): Update.
12304 2014-08-09 Yao Qi <yao@codesourcery.com>
12306 * gdb.base/display.exp: Invoke is_address_zero_readable.
12307 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12308 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12309 * gdb.base/hbreak-unmapped.exp: Return if
12310 is_address_zero_readable returns true.
12311 * gdb.base/signest.exp: Likewise.
12312 * gdb.base/signull.exp: Likewise.
12313 * gdb.base/sigbpt.exp: Likewise.
12314 * gdb.guile/scm-disasm.exp: Do the test if
12315 is_address_zero_readable returns false.
12316 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12317 * gdb.python/py-arch.exp: Likewise.
12318 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12319 * lib/gdb.exp (is_address_zero_readable): New proc.
12321 2014-08-09 Yao Qi <yao@codesourcery.com>
12324 * gdb.mi/mi-var-display.exp: Make test messages unique.
12326 2014-08-04 Tom Tromey <tromey@redhat.com>
12328 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12331 2014-08-04 Tom Tromey <tromey@redhat.com>
12333 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12336 2014-08-01 Joel Brobecker <brobecker@adacore.com>
12338 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12339 inner_vla_struct_object_size.
12340 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12343 2014-07-30 Pedro Alves <palves@redhat.com>
12345 * gdb.threads/signal-command-handle-nopass.exp (test): Add
12348 2014-07-29 Yao Qi <yao@codesourcery.com>
12351 * gdb.base/until-nodebug.exp: New.
12353 2014-07-28 Doug Evans <xdje42@gmail.com>
12356 * gdb.guile/scm-parameter.exp: Add tests for trying to create
12357 previously existing parameter, and previously ambiguously spelled
12360 2014-07-28 Will Newton <will.newton@linaro.org>
12362 * gdb.base/varargs.exp: Remove KFAILs for ARM.
12364 2014-07-26 Ludovic Courtès <ludo@gnu.org>
12365 Doug Evans <xdje42@gmail.com>
12368 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12370 2014-07-25 Pedro Alves <palves@redhat.com>
12372 * gdb.threads/signal-command-handle-nopass.c: New file.
12373 * gdb.threads/signal-command-handle-nopass.exp: New file.
12374 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12375 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12376 * gdb.threads/signal-delivered-right-thread.c: New file.
12377 * gdb.threads/signal-delivered-right-thread.exp: New file.
12379 2014-07-25 Pedro Alves <palves@redhat.com>
12381 * gdb.base/double-prompt-target-event-error.exp
12382 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12384 (cancel_pagination_in_target_event): Rework double prompt
12386 * gdb.base/paginate-after-ctrl-c-running.exp
12387 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12389 * gdb.base/paginate-bg-execution.exp
12390 (test_bg_execution_pagination_return)
12391 (test_bg_execution_pagination_cancel): Remove '-notransfer
12393 * gdb.base/paginate-execution-startup.exp
12394 (test_fg_execution_pagination_return)
12395 (test_fg_execution_pagination_cancel): Remove '-notransfer
12397 * gdb.base/paginate-inferior-exit.exp
12398 (test_paginate_inferior_exited): Remove '-notransfer <return>'
12400 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12401 * lib/gdb.exp (pagination_prompt): Run text through
12403 (gdb_test_multiple): Match $pagination_prompt instead of
12405 (string_to_regexp): Move to lib/gdb-utils.exp.
12407 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12409 * gdb.arch/amd64-entry-value-paramref.S: New file.
12410 * gdb.arch/amd64-entry-value-paramref.cc: New file.
12411 * gdb.arch/amd64-entry-value-paramref.exp: New file.
12412 * gdb.arch/amd64-optimout-repeat.S: New file.
12413 * gdb.arch/amd64-optimout-repeat.c: New file.
12414 * gdb.arch/amd64-optimout-repeat.exp: New file.
12416 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12419 * gdb.base/statistics.exp: New file.
12421 2014-07-17 Doug Evans <dje@google.com>
12424 * gdb.base/maint.exp: Update testing of per-command stats.
12426 2014-07-16 Pedro Alves <palves@redhat.com>
12428 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12429 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12430 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12431 (tfile_write_buf): New functions.
12432 (add_memory_block): Rewrite using the above.
12433 (adjust_function_address): New function.
12434 (FUNCTION_ADDRESS): New macro.
12435 (write_basic_trace_file): Remove short_x local, and use
12436 tfile_write_16. Change type of func_addr local to unsigned long
12437 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
12438 here. Cast argument of add_memory_block to char pointer.
12439 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
12440 (main): Remove parameters.
12441 * gdb.trace/tfile.exp: Remove nowarnings.
12443 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
12445 * gdb.base/debug-expr.exp: Test string evaluation with
12446 "debug expression" on.
12448 2014-07-15 Pedro Alves <palves@redhat.com>
12450 * gdb.base/reread.exp: Use clean_restart.
12452 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
12454 * gdb.arch/avr-flash-qualifer.c: New.
12455 * gdb.arch/avr-flash-qualifer.exp: New.
12457 2014-07-14 Pedro Alves <palves@redhat.com>
12459 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12460 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12462 2014-07-14 Pedro Alves <palves@redhat.com>
12464 * gdb.base/double-prompt-target-event-error.c: New file.
12465 * gdb.base/double-prompt-target-event-error.exp: New file.
12467 2014-07-14 Pedro Alves <palves@redhat.com>
12470 * gdb.base/paginate-inferior-exit.c: New file.
12471 * gdb.base/paginate-inferior-exit.exp: New file.
12473 2014-07-14 Pedro Alves <palves@redhat.com>
12476 * gdb.base/paginate-bg-execution.c: New file.
12477 * gdb.base/paginate-bg-execution.exp: New file.
12479 2014-07-14 Pedro Alves <palves@redhat.com>
12482 * gdb.base/paginate-execution-startup.c: New file.
12483 * gdb.base/paginate-execution-startup.exp: New file.
12484 * lib/gdb.exp (pagination_prompt): New global.
12485 (default_gdb_spawn): New procedure, factored out from
12487 (default_gdb_start): Adjust to call default_gdb_spawn.
12488 (gdb_spawn): New procedure.
12490 2014-07-14 Pedro Alves <palves@redhat.com>
12492 * lib/gdb.exp (gdb_assert): New procedure.
12493 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12495 2014-07-14 Pedro Alves <palves@redhat.com>
12497 * gdb.base/execution-termios.c: New file.
12498 * gdb.base/execution-termios.exp: New file.
12500 2014-07-14 Tom Tromey <tromey@redhat.com>
12502 * gdb.cp/vla-cxx.cc: New file.
12503 * gdb.cp/vla-cxx.exp: New file.
12505 2014-07-14 Tom Tromey <tromey@redhat.com>
12507 * gdb.reverse/rerun-prec.c: New file.
12508 * gdb.reverse/rerun-prec.exp: New file.
12510 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12511 Maciej W. Rozycki <macro@codesourcery.com>
12513 * lib/gdb-utils.exp: New file.
12514 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12515 inline `gdb_init_command' processing.
12516 (gdb_start_cmd): Likewise.
12517 * lib/mi-support.exp (mi_run_cmd): Likewise.
12518 * README: Document `gdb_init_command' and `gdb_init_commands'.
12520 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12522 Fix false FAIL running under a very long directory name.
12523 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12524 and "set print elements 10000". Twice.
12526 2014-07-11 Yao Qi <yao@codesourcery.com>
12528 * gdb.base/exprs.exp: "set print symbol off".
12530 2014-07-11 Pedro Alves <palves@redhat.com>
12532 * gdb.threads/kill.c: New file.
12533 * gdb.threads/kill.exp: New file.
12535 2014-07-10 Yao Qi <yao@codesourcery.com>
12537 * gdb.trace/tfile.c (write_basic_trace_file)
12538 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12539 address written to trace file.
12541 2014-07-09 Pedro Alves <palves@redhat.com>
12543 * gdb.base/attach-wait-input.exp: New file.
12544 * gdb.base/attach-wait-input.c: New file.
12546 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12548 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12549 setting up test structures.
12550 (main): Call new test function.
12551 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12552 test function, continue into test function and walk test
12555 2014-07-02 Yao Qi <yao@codesourcery.com>
12557 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12558 'bar_start' at the beginning of functions 'foo' and 'bar'
12560 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12561 instead of 'foo' and 'bar'.
12563 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12565 * gdb.btrace/segv.exp: New.
12566 * gdb.btrace/segv.c: New.
12568 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12570 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12573 2014-06-30 Mark Wielaard <mjw@redhat.com>
12575 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12576 vulture, vilify, villar): New volatile array constants.
12577 (vindictive, vegetation): New const volatile array constants.
12578 * gdb.base/volatile.exp: Test volatile and const volatile array
12581 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12583 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12584 target lacks support for awatch, rwatch, or hbreak.
12586 2014-06-27 Yao Qi <yao@codesourcery.com>
12588 * gdb.multi/dummy-frame-restore.exp: New.
12589 * gdb.multi/dummy-frame-restore.c: New.
12591 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12593 * gdb.btrace/gcore.exp: New.
12595 2014-06-23 Pedro Alves <palves@redhat.com>
12597 * gdb.base/watchpoint-reuse-slot.c: New file.
12598 * gdb.base/watchpoint-reuse-slot.exp: New file.
12600 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12602 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12603 progspace's filename in 'info', 'enable' and 'disable' command
12606 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12608 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12609 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12610 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12612 2014-06-20 Gary Benson <gbenson@redhat.com>
12614 * gdb.arch/i386-avx.exp: Fix include file location.
12615 * gdb.arch/i386-sse.exp: Likewise.
12617 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12619 * gdb.dlang/expression.exp: New file.
12621 2014-06-19 Pedro Alves <palves@redhat.com>
12623 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12625 (top level): ... here. Iterate running tests under different
12626 scheduler-locking settings.
12628 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12630 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12631 to DW_FORM_addr and use non-zero addresses.
12633 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12636 * gdb.python/py-xmethods.cc: Add global function call counters and
12637 increment them in their respective functions. Remove "cout"
12639 * gdb.python/py-xmethods.exp: Make tests check the global function
12640 call counters instead of depending on inferior IO.
12642 2014-06-18 Don Breazeal <donb@codesourcery.com>
12644 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12646 (explicit_fork_parent_follow): Deleted procedure.
12647 (explicit_fork_child_follow): Deleted procedure.
12648 (test_follow_fork): New procedure.
12649 (do_fork_tests): Replace calls to deleted procedures with
12650 calls to test_follow_fork and reset GDB for subsequent
12653 2014-06-17 Yao Qi <yao@codesourcery.com>
12655 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12658 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12660 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12661 Initialize ptr and S explicitly.
12662 (skip_type_update_when_not_use_rtti_test): Likewise.
12664 2014-06-16 Keith Seitz <keiths@redhat.com>
12667 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12668 the inferior is started.
12670 2014-06-16 Pedro Alves <palves@redhat.com>
12672 * gdb.base/break-main-file-remove-fail.c: New file.
12673 * gdb.base/break-main-file-remove-fail.exp: New file.
12674 * gdb.base/break-unload-file.exp: Use build_executable instead of
12675 prepare_for_testing.
12676 (test_break): New parameter "initial_load". Handle it.
12677 (top level): Add initial_load cmdline/file axis.
12679 2014-06-12 Tom Tromey <tromey@redhat.com>
12681 * gdb.base/completion.exp: Don't use directory name in test.
12683 2014-06-09 Gary Benson <gbenson@redhat.com>
12685 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12686 separate the always-available ANSI-standard signals from the
12687 signals that require checking.
12689 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12693 2014-06-07 Keith Seitz <keiths@redhat.com>
12697 * gdb.cp/var-tag.cc: New file.
12698 * gdb.cp/var-tag.exp: New file.
12699 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12700 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12701 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12702 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12704 2014-06-06 Doug Evans <xdje42@gmail.com>
12706 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12708 2014-06-06 Pedro Alves <palves@redhat.com>
12710 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12711 in target debug output instead of looking at RSP packets,
12712 disabling the test on any target that uses hardware stepping.
12715 2014-06-06 Pedro Alves <palves@redhat.com>
12717 * gdb.base/break-unload-file.exp: Fix typo.
12719 2014-06-06 Yao Qi <yao@codesourcery.com>
12721 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12722 from "jit_function" to "^jit_function".
12724 2014-06-06 Yao Qi <yao@codesourcery.com>
12726 * gdb.base/async.c (foo): Add one statement.
12727 * gdb.base/async.exp: Get the next instruction address and
12728 match the output of "nexti" by instruction address. Match
12729 the hex address in the output of "finish".
12731 2014-06-06 Gary Benson <gbenson@redhat.com>
12733 * gdb.base/call-signals.c: Remove preprocessor conditionals
12734 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12735 SIGSEGV and SIGTERM.
12736 * gdb.base/sigall.c: Likewise.
12737 * gdb.base/unwindonsignal.c: Likewise.
12738 * gdb.reverse/sigall-reverse.c: Likewise.
12740 2014-06-06 Yao Qi <yao@codesourcery.com>
12742 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12743 readable, skip the test.
12745 2014-06-06 Yao Qi <yao@codesourcery.com>
12747 * gdb.threads/staticthreads.c (thread_function): Move the line
12748 setting breakpoint on forward.
12749 * gdb.threads/staticthreads.exp: Update comments.
12751 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12753 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12754 "history-append! type error".
12756 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12758 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12759 erroneous dprintf expected input.
12761 2014-06-04 Doug Evans <xdje42@gmail.com>
12763 * gdb.guile/scm-generics.exp: Delete.
12765 2014-06-04 Doug Evans <xdje42@gmail.com>
12767 * gdb.guile/scm-breakpoint.exp: Update.
12768 Add tests for breakpoint registration.
12770 2014-06-04 Tom Tromey <tromey@redhat.com>
12772 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12774 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12775 inner_vla_struct, vla_union types. Initialize objects of those
12776 types and compute their sizes.
12778 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12779 Hui Zhu <hui@codesourcery.com>
12781 * gdb.base/fileio.exp: Add test for shell not available as well as
12783 * gdb.base/fileio.c (test_system): Check for shell twice.
12785 2014-06-04 Yao Qi <yao@codesourcery.com>
12787 * gdb.base/auto-connect-native-target.exp: Remove redundant
12788 space from the regexp pattern.
12790 2014-06-04 Yao Qi <yao@codesourcery.com>
12792 * gdb.base/default.exp: Replace "child" with "native" in
12795 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12797 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12798 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12799 * gdb.python/py-xmethods.py: Python script supporting the
12800 new testcase and tests.
12802 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12803 Pedro Alves <palves@redhat.com>
12805 PR breakpoints/17000
12806 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12807 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12809 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12811 * gdb.base/subst.exp: Add tests to verify partial path matching
12814 2014-06-03 Pedro Alves <palves@redhat.com>
12816 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12817 target that doesn't use software single-stepping.
12819 2014-06-03 Pedro Alves <palves@redhat.com>
12821 PR breakpoints/17000
12822 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12823 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12825 2014-06-02 Doug Evans <xdje42@gmail.com>
12827 * gdb.guile/scm-parameter.exp: New file.
12829 2014-06-02 Doug Evans <xdje42@gmail.com>
12831 * gdb.guile/scm-cmd.c: New file.
12832 * gdb.guile/scm-cmd.exp: New file.
12834 2014-06-02 Doug Evans <xdje42@gmail.com>
12836 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12837 pretty-printer lookup.
12838 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12839 (make-pp_s-printer): Call it.
12840 (make-pretty-printer-from-dict): New function.
12841 (lookup-pretty-printer-maker-from-dict): New function.
12842 (*pretty-printer*): Simplify.
12843 (make-objfile-pp_s-printer): New function.
12844 (install-objfile-pretty-printers!): New function.
12845 (make-progspace-pp_s-printer): New function.
12846 (install-progspace-pretty-printers!): New function.
12847 * gdb.guile/scm-progspace.c: New file.
12848 * gdb.guile/scm-progspace.exp: New file.
12850 2014-06-02 Pedro Alves <palves@redhat.com>
12852 * gdb.base/dprintf-bp-same-addr.c: New file.
12853 * gdb.base/dprintf-bp-same-addr.exp: New file.
12855 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12857 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12858 * gdb.arch/powerpc-power.s: Likewise.
12860 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12862 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12864 2014-06-01 Yao Qi <yao@codesourcery.com>
12866 * gdb.base/watchpoint.exp (test_watch_location): Check null
12867 pointer can be dereferenced. If not, do the test, otherwise
12870 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12872 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12874 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12876 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12878 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12879 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12880 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12881 * gdb.arch/amd64-invalid-stack-top.c: New file.
12882 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12884 2014-05-30 Pedro Alves <palves@redhat.com>
12886 PR breakpoints/17000
12887 * gdb.base/sss-bp-on-user-bp.c: New file.
12888 * gdb.base/sss-bp-on-user-bp.exp: New file.
12890 2014-05-30 David Blaikie <dblaikie@gmail.com>
12892 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12893 gnu_inline semantics via attribute.
12894 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12895 source explicitly specifies the required semantics.
12897 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12899 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12901 2014-05-29 Pedro Alves <palves@redhat.com>
12902 Tom Tromey <tromey@redhat.com>
12904 * gdb.base/async-shell.exp: Don't enable target-async.
12905 * gdb.base/async.exp
12906 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12908 (top level): Don't test with "target-async".
12909 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12910 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12911 * gdb.base/inferior-died.exp: Don't enable target-async.
12912 * gdb.base/interrupt-noterm.exp: Likewise.
12913 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12914 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12915 * gdb.mi/mi-nonstop.exp: Likewise.
12916 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12917 * gdb.mi/mi-nsintrall.exp: Likewise.
12918 * gdb.mi/mi-nsmoribund.exp: Likewise.
12919 * gdb.mi/mi-nsthrexec.exp: Likewise.
12920 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12921 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12922 * gdb.python/py-evsignal.exp: Don't enable target-async.
12923 * gdb.python/py-evthreads.exp: Likewise.
12924 * gdb.python/py-prompt.exp: Likewise.
12925 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12926 * gdb.server/solib-list.exp: Don't enable target-async.
12927 * gdb.threads/thread-specific-bp.exp: Likewise.
12928 * lib/mi-support.exp: Adjust to use mi-async.
12930 2014-05-29 Pedro Alves <palves@redhat.com>
12933 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12934 reason, even in sync mode.
12936 2014-05-29 Pedro Alves <palves@redhat.com>
12937 Hui Zhu <hui@codesourcery.com>
12940 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12941 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12942 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12943 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12945 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12947 * config/monitor.exp (gdb_target_monitor): Replace use of
12948 "set remotebaud" by "set serial baud".
12950 2014-05-26 Andy Wingo <wingo@igalia.com>
12952 * gdb.guile/scm-breakpoint.exp:
12953 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12954 properties instead of gdb-object-properties.
12956 2014-05-26 Yao Qi <yao@codesourcery.com>
12958 * gdb.server/no-thread-db.exp: Specify source file name
12959 explicitly when setting a breakpoint.
12961 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12963 * gdb.btrace/vdso.c: New.
12964 * gdb.btrace/vdso.exp: New.
12966 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12968 * gdb.base/gcore.exp (capture_command_output): Move ...
12969 * lib/gdb.exp (capture_command_output): ... here.
12971 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12973 * gdb.btrace/data.exp: Test memory access during btrace replay.
12975 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12977 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12979 2014-05-21 Pedro Alves <palves@redhat.com>
12982 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12983 (top level): Test that output related to execution commands is
12984 sent to the console with CLI commands, but not with MI commands.
12985 Test that breakpoint events are always mirrored to the console.
12986 Also expect the new source line to be output after a "next" in
12987 async mode too. Make it a pass/fail test.
12988 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12990 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12992 2014-05-21 Pedro Alves <palves@redhat.com>
12994 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12995 Use them to test variations of "list" after reaching a breakpoint.
12996 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12997 Test "list" with listsize 10 after reaching a breakpoint.
12998 * gdb.python/python.exp (decode_line current location line
12999 number): Adjust expected line number.
13001 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13003 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13004 behavior for $args, pass it directly to "run".
13006 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13008 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13011 2014-05-21 Pedro Alves <palves@redhat.com>
13013 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13014 auto-connect-native-target off".
13015 * gdb.base/auto-connect-native-target.c: New file.
13016 * gdb.base/auto-connect-native-target.exp: New file.
13018 2014-05-21 Pedro Alves <palves@redhat.com>
13020 * gdb.base/default.exp: Test "target native" instead of "target
13023 2014-05-21 Mark Wielaard <mjw@redhat.com>
13025 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13027 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13029 Fix TLS access for -static -pthread.
13030 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13031 <HAVE_TLS> (thread_function, main): Initialize it.
13032 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13034 <$have_tls != "">: Check TLSVAR.
13036 2014-05-21 Pedro Alves <palves@redhat.com>
13038 * gdb.base/dcache-line-read-error.c: New.
13039 * gdb.base/dcache-line-read-error.exp: New.
13041 2014-05-20 Pedro Alves <palves@redhat.com>
13043 * gdb.base/compare-sections.c: New file.
13044 * gdb.base/compare-sections.exp: New file.
13046 2014-05-20 Pedro Alves <palves@redhat.com>
13048 * gdb.base/break-idempotent.c: New file.
13049 * gdb.base/break-idempotent.exp: New file.
13051 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13053 * gdb.btrace/nohist.exp: New.
13055 2014-05-20 Yao Qi <yao@codesourcery.com>
13057 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13058 gdb.reverse directory and gdb_reverse_timeout exists in board
13060 * README: Document gdb_reverse_timeout.
13062 2014-05-20 Yao Qi <yao@codesourcery.com>
13064 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13065 'test_file_name'. Treat args as a string instead of a list.
13066 (gdb_init): Rename argument 'args' by 'test_file_name'.
13068 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13070 * gdb.arch/powerpc-power.exp: New file.
13071 * gdb.arch/powerpc-power.s: New file.
13073 2014-05-16 Doug Evans <dje@google.com>
13075 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13076 * gdb.base/completion.exp: Check that all expected files exist
13077 before doing file completion.
13079 2014-05-16 Doug Evans <dje@google.com>
13081 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13083 (do_syscall_tests_without_xml): Update.
13085 2014-05-16 Pedro Alves <palves@redhat.com>
13087 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13088 instead of "unknown output after running".
13090 2014-05-16 Yao Qi <yao@codesourcery.com>
13092 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13093 file1.txt from host at the end.
13094 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13096 2014-05-15 Doug Evans <dje@google.com>
13098 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13099 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13100 loading file. Add test for TU lookup.
13102 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13104 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13105 calling "-exec-arguments" or "set args" before running the
13108 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13110 * lib/mi-support.exp (mi_expect_stop): Expect message for
13111 inferiors that exit with non-zero exit code.
13113 2014-05-14 Yao Qi <yao@codesourcery.com>
13115 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13116 match absolute path on remote host.
13117 (test_file_list_exec_source_files): Remove "/" from the
13120 2014-05-14 Yao Qi <yao@codesourcery.com>
13122 * boards/local-remote-host-notty.exp (${board}_file): New
13125 2014-05-07 Kyle McMartin <kyle@redhat.com>
13127 Pushed by Joel Brobecker <brobecker@adacore.com>.
13128 * gdb.arch/aarch64-atomic-inst.c: New file.
13129 * gdb.arch/aarch64-atomic-inst.exp: New file.
13131 2014-05-07 Yao Qi <yao@codesourcery.com>
13133 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13134 in current context" too.
13136 2014-05-05 Keith Seitz <keiths@redhat.com>
13138 * gdb.linespec/ls-dollar.exp: Add test for linespec
13139 file:convenience_variable.
13141 2014-05-05 Yao Qi <yao@codesourcery.com>
13143 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13144 traceframes into tfile and ctf trace files. Read data from
13145 trace file and test collected data.
13146 (gdb_collect_locals_test): Likewise.
13147 (gdb_unavailable_registers_test): Likewise.
13148 (gdb_unavailable_floats): Likewise.
13149 (gdb_collect_globals_test): Likewise.
13150 (top-level): Append "ctf" to trace_file_targets if GDB
13153 2014-05-05 Yao Qi <yao@codesourcery.com>
13155 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13157 (gdb_collect_args_test_1): ... it. New proc.
13158 (gdb_collect_locals_test): Move some code to ...
13159 (gdb_collect_locals_test_1): ... it. New proc.
13160 (gdb_unavailable_registers_test): Move some code to ...
13161 (gdb_unavailable_registers_test_1): ... it. New proc.
13162 (gdb_unavailable_floats): Move some code to ...
13163 (gdb_unavailable_floats_1): ... it. New proc.
13165 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13167 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13168 probes to test for bitness recognition.
13169 * gdb.arch/amd64-stap-optional-prefix.exp
13170 (test_probe_value_without_reg): New procedure.
13171 Add code to test for different kinds of bitness.
13173 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13175 PR breakpoints/16889
13176 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13177 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13179 2014-05-01 Pedro Alves <palves@redhat.com>
13181 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13182 gdb_file_cmd if no file is specified.
13183 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13184 last_loaded_file to set the remote exec-file.
13186 2014-05-01 Pedro Alves <palves@redhat.com>
13188 * boards/local-remote-host.exp: New file.
13190 2014-05-01 Pedro Alves <palves@redhat.com>
13192 * boards/local-remote-host.exp: Rename to ...
13193 * boards/local-remote-host-notty.exp: ... this.
13195 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13197 * gdb.ada/dyn_arrayidx: New testcase.
13199 2014-04-26 Yao Qi <yao@codesourcery.com>
13201 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13202 and compute the length of function main. Save it in
13204 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13205 (top-level): Use gdb_compile to compile objects into
13206 executable and restart GDB. Remove invocation to
13207 prepare_for_testing.
13209 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13210 Pedro Alves <palves@redhat.com>
13213 * gdb.multi/multi-attach.c: New file.
13214 * gdb.multi/multi-attach.exp: New file.
13216 2014-04-25 Pedro Alves <palves@redhat.com>
13218 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13220 (top level): Test that "set remote conditional-breakpoints-packet
13221 off" works as intended.
13222 * gdb.base/dprintf.exp: Test that "set remote
13223 breakpoint-commands-packet off" works as intended.
13224 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13226 (top level): Call it.
13227 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13228 remote fast-tracepoints-packet off" works as intended.
13229 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13230 * lib/gdb.exp (gdb_is_target_remote): ... here.
13232 2014-04-24 David Blaikie <dblaikie@gmail.com>
13234 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13235 ensure clang would not discard them.
13236 * gdb.base/gdbvars.c: Ditto.
13237 * gdb.base/memattr.c: Ditto.
13238 * gdb.base/whatis.c: Ditto.
13239 * gdb.python/py-prettyprint.c: Ditto.
13240 * gdb.trace/actions.c: Ditto.
13241 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13242 ensure clang would not discard it.
13244 2014-04-24 David Blaikie <dblaikie@gmail.com>
13246 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13247 clang to emit the full definition of type required by the test
13248 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13250 2014-04-24 David Blaikie <dblaikie@gmail.com>
13252 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13253 coax Clang into emitting the definition of the type.
13254 * gdb.cp/pr10728-x.h (y): Ditto.
13255 * gdb.cp/pr10728-y.cc (y): Ditto.
13257 2014-04-24 David Blaikie <dblaikie@gmail.com>
13259 * gdb.base/label.exp: XFAIL label related tests under Clang.
13260 * gdb.cp/cplabel.exp: Ditto.
13261 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13262 under Clang those using labels.
13264 2014-04-25 Yao Qi <yao@codesourcery.com>
13266 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13268 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13269 partial_label and double_label.
13271 2014-04-24 David Blaikie <dblaikie@gmail.com>
13273 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13275 2014-04-24 David Blaikie <dblaikie@gmail.com>
13277 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13278 of the function to work across GCC and Clang.
13279 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13280 pointer types (const void ** const V void **).
13282 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
13283 Walfred Tedeschi <walfred.tedeschi@intel.com>
13285 * Makefile.in (EXECUTABLES): Added i386-avx512.
13286 * gdb.arch/i386-avx512.c: New file.
13287 * gdb.arch/i386-avx512.exp: Likewise.
13289 2014-04-23 Keith Seitz <keiths@redhat.com>
13291 * lib/mi-support.exp (mi_list_breakpoints): Delete.
13292 (mi_make_breakpoint_table): New procedure.
13293 (mi_create_breakpoint): Use mi_make_breakpoint
13294 and return the result.
13295 (mi_make_breakpoint): New procedure.
13296 (mi_build_kv_pairs): New procedure.
13298 * gdb.mi/mi-break.exp: Remove unused globals,
13299 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13300 All callers updated.
13301 * gdb.mi/mi-dprintf.exp: Use variable to track command
13303 Update all callers of mi_create_breakpoint and use
13304 mi_make_breakpoint_table.
13305 Remove any unused global variables.
13306 * gdb.mi/mi-nonstop.exp: Likewise.
13307 * gdb.mi/mi-nsintrall.exp: Likewise.
13308 * gdb.mi/mi-nsmoribund.exp: Likewise.
13309 * gdb.mi/mi-nsthrexec.exp: Likewise.
13310 * gdb.mi/mi-reverse.exp: Likewise.
13311 * gdb.mi/mi-simplerun.exp: Likewise.
13312 * gdb.mi/mi-stepn.exp: Likewise.
13313 * gdb.mi/mi-syn-frame.exp: Likewise.
13314 * gdb.mi/mi-until.exp: Likewise.
13315 * gdb.mi/mi-var-cp.exp: Likewise.
13316 * gdb.mi/mi-var-display.exp: Likewise.
13317 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13318 * gdb.mi/mi2-var-child.exp: Likewise.
13319 * gdb.mi/mi-vla-c99.exp: Likewise.
13320 * lib/mi-support.exp: Likewise.
13322 From Ian Lance Taylor <iant@cygnus.com>:
13323 * lib/gdb.exp (parse_args): New procedure.
13325 2014-04-23 Pedro Alves <palves@redhat.com>
13327 * gdb.base/break-unload-file.c: New file.
13328 * gdb.base/break-unload-file.exp: New file.
13329 * gdb.base/sym-file-lib.c (baz): New function.
13330 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13332 (load): Store the segment's mapped size.
13333 (unload): New function.
13334 (unload_shlib): New function.
13335 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13336 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13337 set a breakpoint at baz, and call it.
13338 * gdb.base/sym-file.exp: New tests for stale breakpoint
13341 2014-04-23 Pedro Alves <palves@redhat.com>
13343 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13344 * gdb.base/hbreak-in-shr-unsupported.c: New file.
13345 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13346 * gdb.base/hbreak-unmapped.c: New file.
13347 * gdb.base/hbreak-unmapped.exp: New file.
13348 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13349 * lib/gdb.exp (gdb_is_target_remote): ... here.
13351 2014-04-22 Pedro Alves <palves@redhat.com>
13353 * gdb.base/consecutive-step-over.c: New file.
13354 * gdb.base/consecutive-step-over.exp: New file.
13356 2014-04-22 Pedro Alves <palves@redhat.com>
13358 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13359 instead of send_gdb/gdb_expect.
13361 2014-04-22 Yao Qi <yao@codesourcery.com>
13363 * lib/trace-support.exp (generate_tracefile): New procedure.
13364 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13366 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13367 if generate_tracefile returns 1.
13369 2014-04-18 Tom Tromey <palves@redhat.com>
13370 Pedro alves <tromey@redhat.com>
13373 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13374 with a backtrace limit.
13375 * gdb.python/py-frame-inline.exp: Test running to an inline
13376 function with a backtrace limit, and printing the newest frame.
13377 * gdb.python/py-frame-inline.c (main): Call f.
13379 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13381 * gdb.java/jnpe.exp: Drop srcdir from untested path.
13383 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
13385 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13386 Drop prefix from unsupported source file path.
13388 2014-04-17 Yao Qi <yao@codesourcery.com>
13390 * lib/gdb.exp (with_target_charset): New proc.
13391 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13392 with_target_charset.
13393 (test_print_strings): Likewise.
13394 (test_repeat_bytes): Likewise.
13395 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13398 2014-04-16 Keith Seitz <keiths@redhat.com>
13401 * gdb.dwarf2/corrupt.c: New file.
13402 * gdb.dwarf2/corrupt.exp: New file.
13404 2014-04-16 Keith Seitz <keiths@redhat.com>
13407 * gdb.cp/namelessclass.cc: New file.
13408 * gdb.cp/namelessclass.exp: New file.
13409 * gdb.cp/namelessclass.S: New file.
13411 2014-04-16 Doug Evans <dje@google.com>
13413 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13415 (gdbserver_default_get_comm_port): New function.
13416 (gdbserver_start): Check if board file provided
13417 "gdbserver,get_comm_port" and use it if so.
13418 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13419 (gdb,socketport): Set to "stdio".
13420 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13421 (stdio_gdbserver_template): Delete.
13422 (${board}_get_remote_address): Update.
13423 (${board}_build_remote_cmd): Delete.
13424 (${board}_get_comm_port): New function.
13425 (${board}_spawn): Update.
13426 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13428 (${board}_get_remote_address): Update.
13429 (${board}_get_comm_port): New function.
13431 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
13433 * gdb.base/memattr.exp: Improve regexps to handle memory regions
13434 appearing in any order.
13436 2014-04-15 Doug Evans <dje@google.com>
13438 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13439 uninitialized value of "description".
13441 2014-04-15 Keith Seitz <keiths@redhat.com>
13443 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13444 Remove unused globals.
13445 (test_running_the_program): Likewise.
13446 (test_controlled_execution): Likewise.
13447 (test_controlling_breakpoints): Likewise.
13448 (test_program_termination): Likewise.
13450 2014-04-15 Keith Seitz <keiths@redhat.com>
13452 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13454 (test_rbreak_creation_and_listing): Likewise.
13455 (test_ignore_count): Likewise.
13456 (test_error): Likewise.
13458 2014-04-15 Pedro Alves <palves@redhat.com>
13460 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13461 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13463 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13464 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13465 to sym-file-loader.c.
13466 (struct library): Forward declare.
13467 (load_shlib, lookup_function): Change prototypes.
13468 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13469 (translate_offset): Remove declarations.
13470 (get_text_addr): New declaration.
13471 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13472 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13474 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13475 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13476 here from sym-file-loader.h.
13477 (struct library): New structure.
13478 (load_shlib, lookup_function): Change prototypes and adjust to
13479 work with a struct library.
13480 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13481 (translate_offset): Make static.
13482 (get_text_addr): New function.
13483 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13485 2014-04-15 Pedro Alves <palves@redhat.com>
13487 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13489 2014-04-15 Pedro Alves <palves@redhat.com>
13491 * gdb.base/sym-file-loader.c: Include <limits.h>.
13492 (SELF_LINK): New define.
13493 (get_origin): New function.
13494 (load_shlib): Use it.
13495 * gdb.base/sym-file.exp: Don't early return if the target is
13496 remote. Use runto_main, and issue fail is that fails. Use
13498 (shlib_name): Delete.
13499 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13501 2014-04-15 Pedro Alves <palves@redhat.com>
13503 * gdb.base/sym-file.exp: Remove regex characters from test
13504 message. Don't refer to breakpoint numbers in test messages.
13506 2014-04-14 Keith Seitz <keiths@redhat.com>
13509 * gdb.cp/var-tag.cc: New file.
13510 * gdb.cp/var-tag.exp: New file.
13511 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13512 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13513 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13514 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13516 2014-04-14 Tom Tromey <tromey@redhat.com>
13518 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13519 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13521 * gdb.cp/enum-class.exp: New file.
13522 * gdb.cp/enum-class.cc: New file.
13524 2014-04-14 Tom Tromey <tromey@redhat.com>
13526 * gdb.dwarf2/enum-type.exp: New file.
13528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13530 * gdb.mi/mi-vla-c99.exp: New file.
13531 * gdb.mi/vla.c: New file.
13533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13535 * gdb.base/vla-datatypes.c: New file.
13536 * gdb.base/vla-datatypes.exp: New file.
13538 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13540 * gdb.base/vla-ptr.c: New file.
13541 * gdb.base/vla-ptr.exp: New file.
13543 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13545 * gdb.dwarf2/count.exp: New file.
13547 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13549 * gdb.base/vla-sideeffect.c: New file.
13550 * gdb.base/vla-sideeffect.exp: New file.
13552 2014-04-14 David Blaikie <dblaikie@gmail.com>
13554 * gdb.mi/non-stop.c: Add return value for non-void function return
13556 * gdb.threads/staticthreads.c: Ditto.
13558 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13559 Doug Evans <xdje42@gmail.com>
13561 * gdb.guile/scm-value.c: Improve test case.
13562 * gdb.guile/scm-value.exp: Add new test.
13564 2014-04-11 David Blaikie <dblaikie@gmail.com>
13566 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13567 override Clang's default.
13569 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13571 Revert the following changes (regressions):
13573 * gdb.base/vla-sideeffect.c: New file.
13574 * gdb.base/vla-sideeffect.exp: New file.
13576 * gdb.dwarf2/count.exp: New file.
13578 * gdb.base/vla-multi.c: New file.
13579 * gdb.base/vla-multi.exp: New file.
13581 * gdb.base/vla-ptr.c: New file.
13582 * gdb.base/vla-ptr.exp: New file.
13584 * gdb.base/vla-datatypes.c: New file.
13585 * gdb.base/vla-datatypes.exp: New file.
13587 * gdb.mi/mi-vla-c99.exp: New file.
13588 * gdb.mi/vla.c: New file.
13590 2014-04-11 Keith Seitz <keiths@redhat.com>
13593 * gdb.cp/cpsizeof.exp: New file.
13594 * gdb.cp/cpsizeof.cc: New file.
13596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13598 * gdb.mi/mi-vla-c99.exp: New file.
13599 * gdb.mi/vla.c: New file.
13601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13603 * gdb.base/vla-datatypes.c: New file.
13604 * gdb.base/vla-datatypes.exp: New file.
13606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13608 * gdb.base/vla-ptr.c: New file.
13609 * gdb.base/vla-ptr.exp: New file.
13611 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13613 * gdb.base/vla-multi.c: New file.
13614 * gdb.base/vla-multi.exp: New file.
13616 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13618 * gdb.dwarf2/count.exp: New file.
13620 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13622 * gdb.base/vla-sideeffect.c: New file.
13623 * gdb.base/vla-sideeffect.exp: New file.
13625 2014-04-11 Yao Qi <yao@codesourcery.com>
13627 * gdb.base/completion.exp: Check file exists before running tests
13628 on file completion.
13630 2014-04-10 Pedro Alves <palves@redhat.com>
13632 * gdb.base/cond-eval-mode.c: New file.
13633 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13634 prepare_for_testing to build the new file. Check result of
13636 (test_break, test_watch): New procedures.
13637 (top level): Use them.
13639 2014-04-08 Pierre Muller <muller@sourceware.org>
13641 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13642 Ctrl-V use for mingw hosts.
13644 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13646 * gdb.python/py-value.c: Improve test case.
13647 * gdb.python/py-value.exp: Add new test.
13649 2014-04-07 David Blaikie <dblaikie@gmail.com>
13651 * lib/compiler.c: Identify the clang compiler.
13652 * lib/compiler.cc: Ditto.
13654 2014-04-03 Yao Qi <yao@codesourcery.com>
13656 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13658 2014-04-01 Anton Blanchard <anton@samba.org>
13660 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13663 2014-04-01 Anton Blanchard <anton@samba.org>
13665 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13666 prepare_for_testing.
13668 2014-04-01 Anton Blanchard <anton@samba.org>
13670 * gdb.arch/ppc64-atomic-inst.c: Remove.
13671 * gdb.arch/ppc64-atomic-inst.S: New file.
13672 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13674 2014-03-31 Doug Evans <dje@google.com>
13676 * gdb.base/print-symbol-loading-lib.c: New file.
13677 * gdb.base/print-symbol-loading-main.c: New file.
13678 * gdb.base/print-symbol-loading.exp: New file.
13680 2014-03-31 Yao Qi <yao@codesourcery.com>
13682 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13684 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13686 * gdb.ada/mi_dyn_arr: New testcase.
13688 2014-03-27 Doug Evans <dje@google.com>
13690 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13692 2014-03-27 Yao Qi <yao@codesourcery.com>
13694 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13695 if target is nios2-*-*.
13697 2014-03-26 Yao Qi <yao@codesourcery.com>
13699 * lib/gdb.exp (readline_is_used): New proc.
13700 * gdb.base/completion.exp: Move tests on command complete up.
13701 Skip the rest of tests if readline is not used.
13702 * gdb.ada/complete.exp: Skp the test if readline is not
13704 * gdb.base/filesym.exp: Likewise.
13705 * gdb.base/macscp.exp: Likewise.
13706 * gdb.base/readline-ask.exp: Likewise.
13707 * gdb.base/readline.exp: Likewise.
13708 * gdb.python/py-cmd.exp: Likewise.
13709 * gdb.trace/tfile.exp: Likewise.
13711 2014-03-26 Yao Qi <yao@codesourcery.com>
13713 * gdb.base/macscp.exp: Fix code format issues.
13715 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13717 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13718 * gdb.asm/powerpc64le.inc: New file.
13720 2014-03-25 Pedro Alves <palves@redhat.com>
13721 Doug Evans <dje@google.com>
13723 * gdb.base/source-execution.c: New file.
13724 * gdb.base/source-execution.exp: New file.
13725 * gdb.base/source-execution.gdb: New file.
13727 2014-03-24 Doug Evans <dje@google.com>
13729 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13732 2014-03-24 Hui Zhu <hui@codesourcery.com>
13733 Pedro Alves <palves@redhat.com>
13735 PR breakpoints/16101
13736 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13737 test pass/fail messages. Detect missing support for dprintf when
13738 breakpoints are actually inserted.
13739 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13740 breakpoints are actually inserted.
13741 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13744 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13746 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13748 2014-03-22 Doug Evans <xdje42@gmail.com>
13750 * gdb.python/python.exp (python not supported): Verify multi-line
13751 python command issues an error.
13752 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13753 guile command issues an error.
13755 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13757 * gdb.threads/thread-specific.exp: Handle the lack of usable
13758 $this_breakpoint and $this_thread.
13760 2014-03-21 Hui Zhu <hui@codesourcery.com>
13762 * gdb.base/attach.exp (do_command_attach_tests): New.
13764 2014-03-20 Tom Tromey <tromey@redhat.com>
13765 Pedro Alves <palves@redhat.com>
13768 * gdb.base/condbreak-call-false.c: New file.
13769 * gdb.base/condbreak-call-false.exp: New file.
13771 2014-03-20 Pedro Alves <palves@redhat.com>
13773 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13775 (block_signals, unblock_signals): Delete.
13776 (child_function_2, main): Remove references to deleted variable
13779 2014-03-20 Pedro Alves <palves@redhat.com>
13781 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13782 Use pthread_kill to signal thread 2.
13783 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13784 Adjust to make the test send itself a signal rather than using the
13785 host's "kill" command.
13787 2014-03-20 Pedro Alves <palves@redhat.com>
13789 * gdb.threads/multiple-step-overs.c: New file.
13790 * gdb.threads/multiple-step-overs.exp: New file.
13791 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13792 Adjust expected infrun debug output.
13794 2014-03-20 Pedro Alves <palves@redhat.com>
13796 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13797 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13799 2014-03-20 Pedro Alves <palves@redhat.com>
13801 PR breakpoints/7143
13802 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13803 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13804 of gdb_test_multiple.
13805 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13806 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13808 2014-03-20 Pedro Alves <palves@redhat.com>
13810 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13811 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13813 2014-03-19 Pedro Alves <palves@redhat.com>
13815 * gdb.base/async.exp: Remove early return.
13817 2014-03-19 Pedro Alves <palves@redhat.com>
13819 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13821 2014-03-19 Pedro Alves <palves@redhat.com>
13823 * gdb.base/async.exp (test_background): Expect \r\n after
13824 "completed." in the fail pattern.
13826 2014-03-19 Pedro Alves <palves@redhat.com>
13828 * gdb.base/async.exp (test_background): New procedure.
13829 Use it for all background execution command tests.
13831 2014-03-19 Pedro Alves <palves@redhat.com>
13833 * gdb.base/async.exp: Use prepare_for_testing.
13835 2014-03-19 Pedro Alves <palves@redhat.com>
13837 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13840 2014-03-19 Pedro Alves <palves@redhat.com>
13842 * gdb.base/async.c (main): Add "jump here" and "until here" line
13844 * gdb.base/async.exp (jump_here): New global.
13845 (jump& test): Use it.
13846 (until_here): New global.
13847 (until& test): Use it.
13849 2014-03-19 Pedro Alves <palves@redhat.com>
13851 * gdb.base/async.exp: Don't frob gdb_protocol.
13853 2014-03-18 Doug Evans <xdje42@gmail.com>
13855 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13856 Fix spelling of exec-done-display.
13858 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13861 * gdb.base/gdb-sigterm.c: New file.
13862 * gdb.base/gdb-sigterm.exp: New file.
13864 2014-03-18 Pedro Alves <palves@redhat.com>
13867 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13868 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13871 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13873 * gdb.ada/pckd_arr_ren: New testcase.
13875 2014-03-13 Doug Evans <xdje42@gmail.com>
13878 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13879 collect after discarding symbols.
13881 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13882 Doug Evans <xdje42@gmail.com>
13884 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13885 to history survives a gc.
13887 2014-03-13 Pedro Alves <palves@redhat.com>
13889 * gdb.base/default.exp: Don't test "target procfs".
13891 2014-03-13 Pedro Alves <palves@redhat.com>
13893 * gdb.base/default.exp: Update "target child" and "target procfs"
13894 tests to not expect "Unix".
13896 2014-03-12 Tom Tromey <tromey@redhat.com>
13898 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13899 New procs. Add target-async tests.
13900 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13901 Add target-async tests.
13903 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13905 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13906 'func_start' and 'func_end' for the beginning and end of the
13907 function code, respectively.
13908 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13909 'func_end' instead of 'func' and 'main'.
13911 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13913 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13914 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13915 generate the debug info assembler source.
13917 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13919 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13920 * gdb.dwarf2/arr-subrange.exp: Likewise.
13921 * gdb.dwarf2/dwz.exp: Likewise.
13922 * gdb.dwarf2/method-ptr.exp: Likewise.
13923 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13924 * gdb.dwarf2/subrange.exp: Likewise.
13925 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13926 * gdb.dwarf2/implptrpiece.exp: Likewise.
13927 * gdb.dwarf2/nostaticblock.exp: Likewise.
13929 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13931 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13932 directory to absolute path name arguments.
13934 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13936 * gdb.ada/tagged_access: New testcase.
13938 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13940 * gdb.btrace/data.exp: Update expected output.
13942 2014-03-06 Yao Qi <yao@codesourcery.com>
13944 * gdb.trace/pr16508.exp: New file.
13946 2014-03-05 Pedro Alves <palves@redhat.com>
13949 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13951 (top level): Adjust to use it. Add tests that exercise breakpoint
13952 interaction with the code-cache.
13954 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13956 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13957 test for 'history-append!'.
13959 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13961 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13962 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13963 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13964 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13965 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13966 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13968 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13970 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13971 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13972 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13974 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13976 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13978 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13980 * gdb.dwarf2/arr-stride.c: New file.
13981 * gdb.dwarf2/arr-stride.exp: New file.
13983 2014-02-26 Pedro Alves <palves@redhat.com>
13985 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13986 that won't ever trigger. Make sure that GDB reports the correct
13987 breakpoint that caused the stop.
13989 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13992 * gdb.base/auto-load-script: New file.
13993 * gdb.base/auto-load.c: New file.
13994 * gdb.base/auto-load.exp: New file.
13997 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13999 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14001 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14002 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14004 2014-02-24 Doug Evans <dje@google.com>
14006 * lib/gdb.exp (run_on_host): Log error output if program fails.
14008 2014-02-21 Pedro Alves <palves@redhat.com>
14010 * gdb.threads/step-after-sr-lock.c: Rename to ...
14011 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14012 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14013 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14016 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14019 * gdb.arch/amd64-stap-special-operands.exp: New file.
14020 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14021 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14022 * gdb.arch/amd64-stap-triplet.S: Likewise.
14023 * gdb.arch/amd64-stap-triplet.c: Likewise.
14025 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14027 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14028 in .section pseudo-op.
14030 2014-02-20 lin zuojian <manjian2006@gmail.com>
14031 Joel Brobecker <brobecker@adacore.com>
14032 Doug Evans <xdje42@gmail.com>
14035 * gdb.dwarf2/dw2-icycle.S: New file.
14036 * gdb.dwarf2/dw2-icycle.c: New file.
14037 * gdb.dwarf2/dw2-icycle.exp: New file.
14039 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14041 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14042 operations on gdb.Value objects.
14043 * gdb.python/py-value-cc.exp: Add new test to test operations on
14046 2014-02-18 Doug Evans <dje@google.com>
14048 * Makefile.in (TESTS): New variable.
14049 (expanded_tests, expanded_tests_or_none): New variables
14050 (check-single): Pass $(expanded_tests_or_none) to runtest.
14051 (check-parallel): Only run tests in $(TESTS) if non-empty.
14052 (check/no-matching-tests-found): New rule.
14053 * README: Document TESTS makefile variable.
14055 2014-02-18 Doug Evans <dje@google.com>
14057 * Makefile.in (check-parallel): rm -rf outputs temp.
14059 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14061 Fix "ERROR: no fileid for" in the testsuite.
14062 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14064 2014-02-12 Doug Evans <dje@google.com>
14066 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14067 (MISCELLANEOUS): New variable.
14068 (clean): rm -rf $(MISCELLANEOUS).
14069 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14070 dwp live in the same directory as symlinks, with each symlink pointed
14071 to a differently named file in a different directory.
14073 2014-02-11 Doug Evans <dje@google.com>
14075 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14076 of Tcl file commands.
14078 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14080 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14081 "kill -SIGUSR1 -1".
14083 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14085 * gdb.ada/tick_length_array_enum_idx: New testcase.
14087 2014-02-10 Doug Evans <xdje42@gmail.com>
14089 * configure.ac (AC_OUTPUT): Add gdb.guile.
14090 * configure: Regenerate.
14091 * lib/gdb-guile.exp: New file.
14092 * lib/gdb.exp (get_target_charset): New function.
14093 * gdb.base/help.exp: Update expected output from "apropos apropos".
14094 * gdb.guile/Makefile.in: New file.
14095 * gdb.guile/guile.exp: New file.
14096 * gdb.guile/scm-arch.c: New file.
14097 * gdb.guile/scm-arch.exp: New file.
14098 * gdb.guile/scm-block.c: New file.
14099 * gdb.guile/scm-block.exp: New file.
14100 * gdb.guile/scm-breakpoint.c: New file.
14101 * gdb.guile/scm-breakpoint.exp: New file.
14102 * gdb.guile/scm-disasm.c: New file.
14103 * gdb.guile/scm-disasm.exp: New file.
14104 * gdb.guile/scm-equal.c: New file.
14105 * gdb.guile/scm-equal.exp: New file.
14106 * gdb.guile/scm-error.exp: New file.
14107 * gdb.guile/scm-error.scm: New file.
14108 * gdb.guile/scm-frame-args.c: New file.
14109 * gdb.guile/scm-frame-args.exp: New file.
14110 * gdb.guile/scm-frame-args.scm: New file.
14111 * gdb.guile/scm-frame-inline.c: New file.
14112 * gdb.guile/scm-frame-inline.exp: New file.
14113 * gdb.guile/scm-frame.c: New file.
14114 * gdb.guile/scm-frame.exp: New file.
14115 * gdb.guile/scm-generics.exp: New file.
14116 * gdb.guile/scm-gsmob.exp: New file.
14117 * gdb.guile/scm-iterator.c: New file.
14118 * gdb.guile/scm-iterator.exp: New file.
14119 * gdb.guile/scm-math.c: New file.
14120 * gdb.guile/scm-math.exp: New file.
14121 * gdb.guile/scm-objfile-script-gdb.in: New file.
14122 * gdb.guile/scm-objfile-script.c: New file.
14123 * gdb.guile/scm-objfile-script.exp: New file.
14124 * gdb.guile/scm-objfile.c: New file.
14125 * gdb.guile/scm-objfile.exp: New file.
14126 * gdb.guile/scm-ports.exp: New file.
14127 * gdb.guile/scm-pretty-print.c: New file.
14128 * gdb.guile/scm-pretty-print.exp: New file.
14129 * gdb.guile/scm-pretty-print.scm: New file.
14130 * gdb.guile/scm-section-script.c: New file.
14131 * gdb.guile/scm-section-script.exp: New file.
14132 * gdb.guile/scm-section-script.scm: New file.
14133 * gdb.guile/scm-symbol.c: New file.
14134 * gdb.guile/scm-symbol.exp: New file.
14135 * gdb.guile/scm-symtab-2.c: New file.
14136 * gdb.guile/scm-symtab.c: New file.
14137 * gdb.guile/scm-symtab.exp: New file.
14138 * gdb.guile/scm-type.c: New file.
14139 * gdb.guile/scm-type.exp: New file.
14140 * gdb.guile/scm-value-cc.cc: New file.
14141 * gdb.guile/scm-value-cc.exp: New file.
14142 * gdb.guile/scm-value.c: New file.
14143 * gdb.guile/scm-value.exp: New file.
14144 * gdb.guile/source2.scm: New file.
14145 * gdb.guile/types-module.cc: New file.
14146 * gdb.guile/types-module.exp: New file.
14148 2014-02-10 Yao Qi <yao@codesourcery.com>
14151 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14152 * configure: Regenerated.
14153 * Makefile.in: New file.
14155 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14157 * gdb.python/py-framefilter.exp: Fix typo.
14159 2014-02-08 Yao Qi <yao@codesourcery.com>
14161 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14162 that no =breakpoint-modified is emitted when breakpoints are
14163 modified through MI commands.
14165 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14166 Pedro Alves <palves@redhat.com>
14168 * gdb.threads/step-after-sr-lock.c: New file.
14169 * gdb.threads/step-after-sr-lock.exp: New file.
14171 2014-02-07 Pedro Alves <palves@redhat.com>
14173 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14175 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14177 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14178 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14180 2014-02-06 Doug Evans <xdje42@gmail.com>
14182 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14185 * gdb.gdb/python-interrupts.exp: New file.
14187 2014-02-05 Yao Qi <yao@codesourcery.com>
14189 * gdb.trace/report.exp (use_collected_data): Test the output
14190 of "info threads" and "info inferiors".
14192 2014-02-05 Yao Qi <yao@codesourcery.com>
14196 2013-05-24 Yao Qi <yao@codesourcery.com>
14198 * gdb.trace/tfile.exp: Test inferior and thread.
14200 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14202 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14204 * gdb.base/step-bt.c: Call hello via function pointer to make
14205 sure its first instruction is executed on powerpc64le-linux.
14207 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14209 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14211 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14213 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14214 of the test patterns for use on little-endian systems.
14216 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14218 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14219 (decimal_vector): Fix for little-endian.
14221 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14223 * gdb.arch/sparc-sysstep.exp: New file.
14224 * gdb.arch/sparc-sysstep.c: Likewise.
14226 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14228 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14230 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14232 2014-01-23 Tom Tromey <tromey@redhat.com>
14234 * gdb.ada/array_char_idx: New testcase.
14236 2014-01-23 Tom Tromey <tromey@redhat.com>
14239 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14240 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14243 2014-01-23 Tom Tromey <tromey@redhat.com>
14246 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14247 string from an inferior frame.
14248 * gdb.python/py-framefilter-mi.exp: Update.
14250 2014-01-22 Doug Evans <dje@google.com>
14252 * gdb.server/server-mon.exp: Add tests for "set debug-format".
14254 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14256 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14258 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14260 * gdb.trace/entry-values.exp: Remove excess space character from
14261 regex patterns. Handle s390 call instruction.
14263 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14265 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14266 define "*_start" label. Make "name" static.
14267 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14268 ${name} by references to ${name}_start.
14270 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14272 * gdb.base/info-macros.exp: Remove "debug" from the compile
14275 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14277 * gdb.dlang/demangle.exp: New file.
14279 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14281 * gdb.dlang/primitive-types.exp: New file.
14283 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14285 * configure.ac: Create gdb.dlang/Makefile.
14286 * configure: Regenerate.
14287 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14288 * gdb.dlang/Makefile.in: New file.
14289 * lib/d-support.exp: New file.
14290 * lib/gdb.exp (skip_d_tests): New proc.
14292 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14294 * gdb.btrace/delta.exp: Check reverse stepi.
14295 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
14296 * gdb.btrace/finish.exp: New.
14297 * gdb.btrace/next.exp: New.
14298 * gdb.btrace/nexti.exp: New.
14299 * gdb.btrace/record_goto.c: Add comments.
14300 * gdb.btrace/step.exp: New.
14301 * gdb.btrace/stepi.exp: New.
14302 * gdb.btrace/multi-thread-step.c: New.
14303 * gdb.btrace/multi-thread-step.exp: New.
14304 * gdb.btrace/rn-dl-bind.c: New.
14305 * gdb.btrace/rn-dl-bind.exp: New.
14306 * gdb.btrace/data.c: New.
14307 * gdb.btrace/data.exp: New.
14308 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14312 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14313 * gdb.btrace/exception.exp: Update.
14314 * gdb.btrace/instruction_history.exp: Update.
14315 * gdb.btrace/record_goto.exp: Update.
14316 * gdb.btrace/tailcall.exp: Update.
14317 * gdb.btrace/unknown_functions.exp: Update.
14318 * gdb.btrace/delta.exp: New.
14320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14322 * gdb.btrace/record_goto.exp: Add backtrace test.
14323 * gdb.btrace/tailcall.exp: Add backtrace test.
14325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14327 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14328 * gdb.btrace/record_goto.c: New.
14329 * gdb.btrace/record_goto.exp: New.
14330 * gdb.btrace/x86-record_goto.S: New.
14332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14334 * gdb.btrace/function_call_history.exp: Update tests.
14335 * gdb.btrace/instruction_history.exp: Update tests.
14337 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14339 * gdb.btrace/function_call_history.exp: Fix expected field
14340 order for "record function-call-history".
14341 Add new tests for "record function-call-history /c".
14342 * gdb.btrace/exception.cc: New.
14343 * gdb.btrace/exception.exp: New.
14344 * gdb.btrace/tailcall.exp: New.
14345 * gdb.btrace/x86-tailcall.S: New.
14346 * gdb.btrace/x86-tailcall.c: New.
14347 * gdb.btrace/unknown_functions.c: New.
14348 * gdb.btrace/unknown_functions.exp: New.
14349 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14351 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14353 * gdb.btrace/instruction_history.exp: Update.
14354 * gdb.btrace/function_call_history.exp: Update.
14356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14358 * gdb.btrace/function_call_history.exp: Fix expected function
14360 * gdb.btrace/instruction_history.exp: Initialize traced.
14361 Remove traced_functions.
14363 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14365 * gdb.btrace/function_call_history.exp: Update
14366 * gdb.btrace/instruction_history.exp: Update.
14368 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14370 * gdb.btrace/enable.exp: Update expected text.
14372 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
14374 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14377 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
14379 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14381 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14383 * lib/gdb.exp (supports_process_record): Return true for
14384 arm*-linux*. (supports_reverse): Likewise.
14386 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14390 * gdb.python/py-type.c: Enhance test case.
14391 * gdb.python/py-value-cc.cc: Likewise
14392 * gdb.python/py-type.exp: Add new tests.
14393 * gdb.python/py-value-cc.exp: Likewise
14395 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14396 Pedro Alves <palves@redhat.com>
14398 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14399 Make "name" extern.
14400 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14401 references to ${name}_start by references to ${name}.
14403 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14405 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14407 2014-01-10 Joel Brobecker <brobecker@adacore.com>
14409 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14411 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
14412 Pedro Alves <palves@redhat.com>
14414 * gdb.mi/mi-info-os.exp: Connect to the target with
14415 mi_gdb_target_load.
14417 2014-01-08 Pedro Alves <palves@redhat.com>
14419 * gdb.threads/reconnect-signal.c: New file.
14420 * gdb.threads/reconnect-signal.exp: New file.
14422 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14424 * gdb.base/source-dir.exp: New file.
14426 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14428 * gdb.ada/mi_interface: New testcase.
14430 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14432 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14433 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14434 gdb.ada/pp-rec-component/pck.ads: New files.
14436 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14438 * gdb.python/py-pp-integral.c: New file.
14439 * gdb.python/py-pp-integral.py: New file.
14440 * gdb.python/py-pp-integral.exp: New file.
14442 For older changes see ChangeLog-1993-2013.
14444 ;; Local Variables:
14445 ;; mode: change-log
14448 ;; version-control: never
14451 Copyright 2014-2018 Free Software Foundation, Inc.
14452 Copying and distribution of this file, with or without modification,
14453 are permitted provided the copyright notice and this notice are preserved.