1 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
7 * gdb.trace/range-stepping.exp: Check that the target supports
10 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14 2015-07-14 Pedro Alves <palves@redhat.com>
16 * gdb.base/killed-outside.exp: New file.
17 * gdb.base/killed-outside.c: New file.
19 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
23 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
25 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
27 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
28 infcall tests instead of setting up for KFAIL.
30 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
32 * gdb.btrace/record_goto-step.exp: New.
34 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
37 * gdb.compile/compile.c (struct struct_type): Add volatile to
39 * gdb.compile/compile.exp
40 (compile code struct_object.selffield = &struct_object): Skip further
41 struct_object tests if this one xfails.
43 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
46 * gdb.trace/ax.exp: Add test.
48 2015-07-07 Yao Qi <yao.qi@linaro.org>
50 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
51 instead of istarget "aarch64*-*-*".
52 * gdb.arch/aarch64-fp.exp: Likewise.
53 * gdb.base/float.exp: Likewise.
54 * gdb.reverse/aarch64.exp: Likewise.
55 * lib/gdb.exp (is_aarch64_target): New proc.
57 2015-07-07 Yao Qi <yao.qi@linaro.org>
59 * lib/gdb.exp (is_aarch32_target): New proc.
60 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
61 instead of "istarget "arm*-*-*"".
62 * gdb.arch/arm-disp-step.exp: Likewise.
63 * gdb.arch/thumb-bx-pc.exp: Likewise.
64 * gdb.arch/thumb-prologue.exp: Likewise.
65 * gdb.arch/thumb-singlestep.exp: Likewise.
66 * gdb.base/disp-step-syscall.exp: Likewise.
67 * gdb.base/float.exp: Likewise.
69 2015-07-07 Yao Qi <yao.qi@linaro.org>
71 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
72 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
74 2015-07-07 Yao Qi <yao.qi@linaro.org>
76 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
77 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
79 * gdb.multi/multi-arch.exp: Likewise.
81 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
83 * gdb.python/py-lazy-string.exp: Add missing parentheses to
86 2015-07-07 Yao Qi <yao.qi@linaro.org>
88 * gdb.arch/thumb-singlestep.exp: Do one more single step.
90 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
92 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
93 '[' and ']' characters.
95 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
97 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
99 2015-06-29 Pedro Alves <palves@redhat.com>
102 * gdb.threads/hand-call-new-thread.c: New file.
103 * gdb.threads/hand-call-new-thread.c: New file.
105 2015-06-26 Keith Seitz <keiths@redhat.com>
106 Doug Evans <dje@google.com>
109 * gdb.cp/var-tag-2.cc: New file.
110 * gdb.cp/var-tag-3.cc: New file.
111 * gdb.cp/var-tag-4.cc: New file.
112 * gdb.cp/var-tag.cc: New file.
113 * gdb.cp/var-tag.exp: New file.
115 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
117 * gdb.base/history-duplicates.exp: New test.
119 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
121 * gdb.base/completion.exp: Test the completion of the "focus"
124 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
126 * gdb.arch/amd64-prologue-skip.S: New file.
127 * gdb.arch/amd64-prologue-skip.exp: New file.
129 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
131 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
132 is_address_zero_readable check.
134 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
136 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
137 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
139 2015-06-24 Yao Qi <yao.qi@linaro.org>
141 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
144 2015-06-24 Yao Qi <yao.qi@linaro.org>
146 * lib/gdb.exp (supports_get_siginfo_type): New proc.
147 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
148 * gdb.base/siginfo-thread.exp: Likewise.
150 2015-06-22 Yao Qi <yao.qi@linaro.org>
152 * boards/remote-gdbserver-on-localhost.exp: Add comments.
154 2015-06-22 Yao Qi <yao.qi@linaro.org>
156 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
158 (skip_hw_watchpoint_tests): Likewise.
160 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
162 * gdb.base/gdbinit-history.exp: Test the interaction between
163 setting GDBHISTSIZE and setting the history size via .gdbinit.
165 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
168 * gdb.base/gdbhistsize-history.exp: New test.
170 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
172 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
174 * gdb.base/readline.exp: Likewise.
176 2015-06-17 Yao Qi <yao.qi@linaro.org>
178 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
181 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
183 * gdb.base/gdbinit-history.exp: Add test case to check that
184 an unlimited history file does not get truncated on exit.
186 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
188 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
189 (VECTOR): New macro. Use it...
190 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
191 ...for these typedefs.
192 (int8, char1, int1, double1): New typedefs.
193 (struct just_int2, struct two_int2): New structures.
194 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
195 (add_structvecs, add_singlevecs): New functions.
196 (main): Call add_some_intvecs twice.
197 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
198 the compile and exit upon failure. Try compiling for the "native"
199 architecture. Test inferior function calls with vector arguments
200 and vector return value handling with "finish" and "return".
202 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
204 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
205 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
207 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
209 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
212 * gdb.mi/mi-dprintf-pending.c: New file.
213 * gdb.mi/mi-dprintf-pending.exp: New test.
214 * gdb.mi/mi-dprintf-pendshr.c: New file.
216 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
217 Mircea Gherzan <mircea.gherzan@intel.com>
219 * gdb.arch/i386-mpx-map.c: New file.
220 * gdb.arch/i386-mpx-map.exp: New File.
222 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
224 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
225 * gdb.arch/i386-mpx.exp: Indentation fixed.
227 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
229 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
230 function and improved indentation.
231 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
232 gdb_test_multiple. Added additional tests to skip the test.
234 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
236 * gdb.arch/i386-avx512.c: Change path in include file.
237 * gdb.arch/i386-avx512.exp: Change include dir path
239 * gdb.arch/i386-mpx.c: Change path in include file.
240 * gdb.arch/i386-mpx.exp: Change include dir path compilation
243 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
245 * gdb.compile/compile-print.exp (compile print *vararray@3)
246 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
248 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
250 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
251 (do not keep jit in memory): ... this.
252 (expect 5): Change it to ...
253 (expect no 5): ... this.
255 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
258 * gdb.mi/mi-detach.exp: New file.
260 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
263 * gdb.arch/amd64-tailcall-self.S: New file.
264 * gdb.arch/amd64-tailcall-self.c: New file.
265 * gdb.arch/amd64-tailcall-self.exp: New file.
267 2015-05-28 Don Breazeal <donb@codesourcery.com>
269 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
270 tests for remote targets by checking is_target_gdbserver.
272 2015-05-27 Doug Evans <dje@google.com>
274 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
275 * gdb.dwarf2/opaque-type-lookup.c: New file.
276 * gdb.dwarf2/opaque-type-lookup.exp: New file.
278 2015-05-26 Doug Evans <dje@google.com>
280 * gdb.cp/iostream.cc: New file.
281 * gdb.cp/iostream.exp: New file.
283 2015-05-26 Doug Evans <dje@google.com>
285 * gdb.dwarf2/dw2-op-call.exp: Update.
286 * gdb.dwarf2/dw4-sig-types.exp: Update.
287 * gdb.dwarf2/implptr.exp: Update.
288 * gdb.mi/mi-cmd-param-changed.exp: Update.
290 2015-05-26 Doug Evans <dje@google.com>
292 * gdb.python/py-lazy-string.c: New file.
293 * gdb.python/py-lazy-string.exp: New file.
294 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
295 (main): Update. Add estring3.
296 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
297 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
299 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
300 Yao Qi <yao.qi@linaro.org>
302 * gdb.reverse/aarch64.c: New.
303 * gdb.reverse/aarch64.exp: New.
305 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
307 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
308 (supports_reverse): Likewise.
310 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
312 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
313 Use with_test_prefix.
315 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
317 * gdb.base/completion.exp: Add test for completion of layout
320 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
322 * lib/gdb.exp (skip_tui_tests): New proc.
323 * gdb.base/tui-layout.exp: Check skip_tui_tests.
325 2015-05-19 Pedro Alves <palves@redhat.com>
327 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
328 Save the whole env array instead of just HOME. Unset HISTSIZE in
329 the environment while testing. Restore whole environment
332 2015-05-16 Doug Evans <xdje42@gmail.com>
334 * gdb.guile/scm-ports.c: New file.
335 * gdb.guile/scm-ports.exp: Add memory port tests.
337 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
339 * gdb.compile/compile-print.c: New file.
340 * gdb.compile/compile-print.exp: New file.
342 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
344 * gdb.compile/compile-ops.exp: Cast param to void.
345 * gdb.compile/compile.exp: Complete type for _gdb_expr.
346 (compile code struct_object.selffield = &struct_object): Add xfail.
348 2015-05-15 Joel Brobecker <brobecker@adacore.com>
350 * gdb.ada/arr_enum_with_gap: New testcase.
352 2015-05-15 Joel Brobecker <brobecker@adacore.com>
354 * gdb.ada/byte_packed_arr: New testcase.
356 2015-05-15 Joel Brobecker <brobecker@adacore.com>
358 * gdb.ada/pckd_neg: New testcase.
360 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
363 * gdb.base/gdbinit-history.exp: New test.
364 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
365 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
367 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
369 * gdb.python/py-xmethods.cc: Enhance test case.
370 * gdb.python/py-xmethods.exp: New tests.
371 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
373 (B_indexoper): Likewise.
374 (global_dm_list) : Add new xmethod worker functions.
376 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
378 * gdb.base/coredump-filter.exp: Correctly unset
379 "coredump_var_addr" array.
381 2015-05-08 Pedro Alves <palves@redhat.com>
383 * gdb.server/non-existing-program.exp: Unset spawn_id.
385 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
388 * gdb.python/py-xmethods.exp: Add tests.
390 2015-05-08 Yao Qi <yao.qi@linaro.org>
393 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
394 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
395 function set_coredump_filter, and remove remote_exec call.
396 Remove argument ipid. Callers update.
397 (top level): Don't get inferior's PID.
399 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
401 * gdb.base/watch_thread_num.exp: Skip test on targets without
404 2015-05-06 Pedro Alves <palves@redhat.com>
407 * gdb.server/non-existing-program.exp: New file.
409 2015-05-05 Joel Brobecker <brobecker@adacore.com>
411 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
413 2015-05-05 Joel Brobecker <brobecker@adacore.com>
415 * gdb.ada/out_of_line_in_inlined: New testcase.
417 2015-05-05 Joel Brobecker <brobecker@adacore.com>
419 * gdb.ada/var_rec_arr: New testcase.
421 2015-04-30 Yao Qi <yao.qi@linaro.org>
423 * gdb.base/break-idempotent.exp: If
424 skip_hw_watchpoint_multi_tests returns true, skip the tests
425 on "rwatch" and "awatch".
427 2015-04-30 Yao Qi <yao.qi@linaro.org>
429 * gdb.base/relativedebug.exp: Invoke gdb command
430 "info sharedlibrary", and if libc.so doesn't have debug info,
433 2015-04-29 Doug Evans <dje@google.com>
435 * gdb.python/py-xmethods.exp: Add ptype tests.
436 * gdb.python/py-xmethods.py (E_method_char_worker): Add
437 get_result_type method.
439 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
441 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
442 the target does not support hardware watchpoints.
444 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
446 * gdb.base/break-always.exp: Abort testing if writing to memory
449 2015-04-28 Doug Evans <dje@google.com>
451 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
452 * gdb.python/py-pp-registration.exp: ... here. New file.
453 * gdb.python/py-pp-registration.c: New file.
454 * gdb.python/py-pp-registration.py: New file.
456 2015-04-28 Doug Evans <dje@google.com>
458 * gdb.python/py-bad-printers.c: New file.
459 * gdb.python/py-bad-printers.py: New file.
460 * gdb.python/py-bad-printers.exp: New file.
462 2015-04-28 Sasha Smundak <asmundak@google.com>
464 * gdb.python/py-type.exp: New test.
466 2015-04-28 Andy Wingo <wingo@igalia.com>
468 * gdb.python/py-parameter.exp:
469 * gdb.guile/scm-parameter.exp: Escape the path that we are
470 matching against, as it might contain characters that are special
471 to regular expressions.
473 2015-04-27 Joel Brobecker <brobecker@adacore.com>
475 * gdb.ada/rec_comp: New testcase.
477 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
479 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
482 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
484 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
485 new tests for verilog output.
487 2015-04-24 Yao Qi <yao.qi@linaro.org>
489 * boards/remote-gdbserver-on-localhost.exp: New file.
491 2015-04-23 Pedro Alves <palves@redhat.com>
493 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
494 $inferior_spawn_id instead of $inferior_spawn_id directly. On
495 "end of file", remove $inferior_spawn_id from the indirect list.
497 2015-04-23 Pedro Alves <palves@redhat.com>
499 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
501 2015-04-23 Pedro Alves <palves@redhat.com>
503 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
504 on $any_spawn_id instead of only on $gdb_spawn_id.
506 2015-04-21 Pierre Muller <muller@sourceware.org>
509 * lib/pascal.exp (gpc_compile): Add new option "class".
510 (fpc_compile): Likewise.
511 * gdb.pascal/case-insensitive-symbols.pas: New file.
512 * gdb.pascal/case-insensitive-symbols.exp: New file.
514 2015-04-20 Gary Benson <gbenson@redhat.com>
516 * gdb.base/attach.exp: Fix three extended remote failures.
518 2015-04-17 Gary Benson <gbenson@redhat.com>
520 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
521 the main executable over the remote protocol.
523 2015-04-16 Pedro Alves <palves@redhat.com>
525 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
526 a new gdbserver if gdbserver_reconnect_p is set.
528 2015-04-16 Pedro Alves <palves@redhat.com>
530 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
531 is set, don't exit gdbserver.
533 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
535 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
536 appropriate .insn, such that an older assembler can be used.
537 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
538 the z/Architecture instruction set on 31-bit targets as well.
540 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
542 * gdb.go/handcall.exp: Remove all logic related to the first
543 breakpoint and rely on go_runto_main instead.
544 * gdb.go/strings.exp: Likewise.
545 * gdb.go/unsafe.exp: Likewise.
546 * gdb.go/hello.exp: Likewise. Also rename the remaining
547 breakpoint marker to "breakpoint 1".
548 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
549 * gdb.go/strings.go: Likewise.
550 * gdb.go/unsafe.go: Likewise.
551 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
552 "set breakpoint 2 here" and rename the remaining breakpoint marker
555 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
557 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
558 if itertools.imap is not present.
559 * gdb.python/py-objfile.exp: Add parentheses.
560 * gdb.python/py-type.exp: Same.
561 * gdb.python/py-unwind-maint.py: Same.
563 2015-04-15 Yao Qi <yao.qi@linaro.org>
565 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
566 of ":$ptr_size" and set its form explicitly.
568 2015-04-15 Pedro Alves <palves@redhat.com>
569 Yao Qi <yao.qi@linaro.org>
571 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
572 timeout by factor of 4.
573 (test_regular_watch): Likewise.
574 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
575 * gdb.reverse/sigall-reverse.exp: Likewise.
576 * gdb.reverse/until-precsave.exp: Likewise.
577 * lib/gdb.exp (with_timeout_factor): New proc.
578 (gdb_expect): Move some code to ...
579 (get_largest_timeout): ... here. New procedure.
581 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
583 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
585 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
587 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
588 to write to the .text section.
590 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
592 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
593 Handle the case of targets that do not provide PID information.
595 2015-04-13 Yao Qi <yao.qi@linaro.org>
597 * lib/gdbserver-support.exp (gdb_exit): Catch exception
598 and use expect instead of gdb_expect.
600 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
602 * gdb.base/coredump-filter.exp: Rename variable "addr" to
603 "coredump_var_addr" to avoid naming conflict with other testcases.
605 2015-04-10 Pedro Alves <palves@redhat.com>
607 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
608 gdb_test_sequence and gdb_assert.
610 2015-04-10 Pedro Alves <palves@redhat.com>
612 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
613 test messages that don't include the breakpoint address.
615 2015-04-10 Yao Qi <yao.qi@linaro.org>
617 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
618 false for some offset and width combinations which aren't
619 supported by linux kernel.
621 2015-04-10 Pedro Alves <palves@redhat.com>
623 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
624 procedure, factored out from ...
625 (top level): ... here. Add "set displaced-stepping" testing axis.
626 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
627 parameter "displaced". Use it.
628 (top level): Use foreach and add "set displaced-stepping" testing
631 2015-04-10 Pedro Alves <palves@redhat.com>
633 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
635 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
636 both the address of the instruction that triggers the watchpoint
637 and the address of the instruction immediately after, and use
638 those addresses for the test. Fix comment.
640 2015-04-10 Pedro Alves <palves@redhat.com>
642 * gdb.base/sigstep.exp (breakpoint_to_handler)
643 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
644 Test "backtrace" in handler.
645 (breakpoint_over_handler): New parameter 'displaced'. Use it.
646 (top level): Add new "displaced" test axis to
647 breakpoint_to_handler, breakpoint_to_handler_entry and
648 breakpoint_over_handler.
650 2015-04-10 Pedro Alves <palves@redhat.com>
653 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
655 2015-04-10 Yao Qi <yao.qi@linaro.org>
657 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
658 (test_add_rn_pc): New function.
659 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
660 (top level): Invoke test_add_rn_pc.
662 2015-04-10 Pedro Alves <palves@redhat.com>
665 * gdb.base/step-over-no-symbols.exp: New file.
667 2015-04-09 Andy Wingo <wingo@igalia.com>
669 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
670 after the Python tests.
672 2015-04-08 Keith Seitz <keiths@redhat.com>
675 * gdb.python/py-completion.exp: New tests for completion.
676 * gdb.python/py-completion.py (CompleteLimit1): New class.
677 (CompleteLimit2): Likewise.
678 (CompleteLimit3): Likewise.
679 (CompleteLimit4): Likewise.
680 (CompleteLimit5): Likewise.
681 (CompleteLimit6): Likewise.
682 (CompleteLimit7): Likewise.
684 2015-04-08 Pedro Alves <palves@redhat.com>
688 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
690 (main): Install it as SIGUSR1 handler.
691 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
692 parameter. Always use "setup" as prefix. Toggle "set
693 displaced-stepping" off/on depending on global. Don't switch to
695 (top level): Add displaced stepping "off/on" test axis. Update
696 "setup" calls. Wrap each subtest with with_test_prefix. Test
697 continuing with a queued signal in each thread.
699 2015-04-08 Pedro Alves <palves@redhat.com>
701 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
702 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
703 gdb_breakpoint instead of gdb_test that doesn't expect anything.
704 Return early if running to main fails.
705 * gdb.trace/while-stepping.exp: Likewise.
707 2015-04-07 Pedro Alves <palves@redhat.com>
709 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
710 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
711 interact with inferior program.
713 2015-04-07 Pedro Alves <palves@redhat.com>
715 * lib/gdb.exp (inferior_spawn_id): New global.
716 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
717 spawn id after processing the user code.
718 (default_gdb_start): Set inferior_spawn_id.
719 (send_inferior): New procedure.
720 * lib/gdbserver-support.exp (gdbserver_start): Set
722 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
724 2015-04-07 Pedro Alves <palves@redhat.com>
726 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
727 * lib/gdbserver-support.exp (gdbserver_start): Make
728 $server_spawn_id global.
729 (gdbserver_start): Don't wait for gdbserver's spawn id with
731 (close_gdbserver): New procedure.
732 (gdb_exit): Rename the default version and reimplement.
734 2015-04-07 Pedro Alves <palves@redhat.com>
736 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
737 append the substituted item, not the original item.
739 2015-04-07 Pedro Alves <palves@redhat.com>
741 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
744 2015-04-07 Pedro Alves <palves@redhat.com>
746 * gdb.base/interrupt.exp: Don't handle the case of the inferior
747 output appearing once only.
749 2015-04-07 Pedro Alves <palves@redhat.com>
751 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
752 that doesn't expect anything. Return early if running to main
755 2015-04-07 Yao Qi <yao.qi@linaro.org>
757 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
758 (child_function): Call alarm.
759 (main): Move call to alarm into the loop.
760 * gdb.threads/non-stop-fair-events.exp: Build program with
763 2015-04-06 Doug Evans <xdje42@gmail.com>
765 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
766 Fix dest parameter to board_info.
767 (fpc_compile): Ditto.
768 (gdb_compile_pascal): Rename dest arg to destfile.
770 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
772 * gdb.ada/funcall_ref.exp: New file.
773 * gdb.ada/funcall_ref/foo.adb: New file.
775 2015-04-02 Yao Qi <yao.qi@linaro.org>
777 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
780 2015-04-02 Gary Benson <gbenson@redhat.com>
782 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
784 2015-04-01 Sasha Smundak <asmundak@google.com>
786 * gdb.python/py-unwind-maint.c: New file.
787 * gdb.python/py-unwind-maint.exp: New test.
788 * gdb.python/py-unwind-maint.py: New file.
789 * gdb.python/py-unwind.c: New file.
790 * gdb.python/py-unwind.exp: New test.
791 * gdb.python/py-unwind.py: New test.
793 2015-04-01 Pedro Alves <palves@redhat.com>
795 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
796 to fail instead of non-existent $test.
798 2015-04-01 Pedro Alves <palves@redhat.com>
800 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
801 GDBFLAGS if not empty.
803 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
805 * gdb.ada/complete.exp: Remove "multi_line".
806 * gdb.ada/info_exc.exp: Remove "multi_line".
807 * gdb.ada/packed_tagged.exp: Remove "multi_line".
808 * gdb.ada/ptype_field.exp: Remove "multi_line".
809 * gdb.ada/sym_print_name.exp: Remove "multi_line".
810 * gdb.ada/tagged.exp: Remove "multi_line".
811 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
813 * gdb.btrace/delta.exp: Likewise.
814 * gdb.btrace/exception.exp: Likewise.
815 * gdb.btrace/function_call_history.exp: Likewise.
816 * gdb.btrace/instruction_history.exp: Likewise.
817 * gdb.btrace/nohist.exp: Likewise.
818 * gdb.btrace/record_goto.exp: Likewise.
819 * gdb.btrace/segv.exp: Likewise.
820 * gdb.btrace/stepi.exp: Likewise.
821 * gdb.btrace/tailcall.exp: Likewise.
822 * gdb.btrace/unknown_functions.exp: Likewise.
823 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
824 * lib/gdb.exp: Add the "multi_line" helper.
826 2015-04-01 Pedro Alves <palves@redhat.com>
828 * gdb.threads/tid-reuse.c: New file.
829 * gdb.threads/tid-reuse.exp: New file.
831 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
834 * gdb.base/coredump-filter.c: New file.
835 * gdb.base/coredump-filter.exp: Likewise.
837 2015-03-27 Petr Machata <pmachata@redhat.com>
839 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
840 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
841 (Dwarf::assemble): Initialize them.
842 (Dwarf::lines): New function.
844 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
846 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
847 SYMBOL_PREFIX for x86_64-*-cygwin.
849 2015-03-26 Andy Wingo <wingo@igalia.com>
852 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
853 const_value but not a location.
854 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
855 location defined in non-main CUs are visible.
857 2015-03-26 Yao Qi <yao.qi@linaro.org>
860 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
861 Add a line number entry for the same line.
862 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
863 Add a line number entry for the same line.
865 2015-03-26 Yao Qi <yao.qi@linaro.org>
867 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
869 (func): Likewise. Add .Lfunc_1 label.
871 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
876 2015-03-26 Yao Qi <yao.qi@linaro.org>
878 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
879 Call gdb_compile instead to compile each .s files without debug
882 2015-03-26 Yao Qi <yao.qi@linaro.org>
884 * gdb.base/savedregs.exp (process_saved_regs): Make
885 "Saved registers:" optional in the pattern.
887 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
889 * gdb.btrace/next.exp: Merged into step.exp.
890 * gdb.btrace/finish.exp: Merged into step.exp.
891 * gdb.btrace/nexti.exp: Merged into stepi.exp.
892 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
893 "record goto" and checking the exact replay position.
894 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
895 check for "Recording format" in "info record" output.
896 * gdb.btrace/record_goto.exp: Choose test file based on target.
897 * gdb.btrace/x86-record_goto.S: Renamed into ...
898 * gdb.btrace/x86_64-record_goto.S: ... this.
899 * gdb.btrace/i686-record_goto.S: New.
900 * gdb.btrace/x86-tailcall.S: Renamed into ...
901 * gdb.btrace/x86_64-tailcall.S: ... this.
902 * gdb.btrace/i686-tailcall.S: New.
903 * gdb.btrace/x86-tailcall.c: Renamed into ...
904 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
905 separate statements. Update test.
906 * gdb.btrace/delta.exp: Use record_goto.c as test file.
907 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
908 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
909 * gdb.btrace/tailcall.exp: Choose test file based on target.
910 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
912 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
914 * gdb.btrace/exception.exp: Increase BTS buffer size.
916 2015-03-24 Pedro Alves <palves@redhat.com>
918 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
920 2015-03-24 Pedro Alves <palves@redhat.com>
922 * gdb.threads/schedlock.exp (test_step): No longer expect that
923 "set scheduler-locking step" with "next" over a function call runs
926 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
928 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
930 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
933 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
934 * gdb.mi/mi-pending.c (thread_func): New function.
935 (int main): Add threading support required.
936 * gdb.mi/mi-pending.exp: Add tests for this issue.
937 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
938 (pendfunc2): Remove stdio dependency.
939 * gdb.mi/mi-pendshr2.c: New file.
941 2015-03-23 Keith Seitz <keiths@redhat.com>
943 * gdb.linespec/keywords.c: New file.
944 * gdb.linespec/keywords.exp: New file.
946 2015-03-23 Keith Seitz <keiths@redhat.com>
949 * gdb.dwarf2/staticvirtual.exp: New test.
951 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
953 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
954 * README: Remove HP-UX and gdb.hp.
956 * configure: Regenerate.
957 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
958 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
959 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
960 gdb.hp/gdb.defects/Makefile.
961 * gdb.hp/Makefile.in: File deleted.
962 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
963 * gdb.hp/gdb.aCC/optimize.c: File deleted.
964 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
965 * gdb.hp/gdb.aCC/run.c: File deleted.
966 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
967 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
968 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
969 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
970 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
971 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
972 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
973 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
974 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
975 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
976 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
977 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
978 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
979 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
980 * gdb.hp/gdb.base-hp/reg.s: File deleted.
981 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
982 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
983 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
984 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
985 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
986 * gdb.hp/gdb.compat/Makefile.in: File deleted.
987 * gdb.hp/gdb.compat/average.c: File deleted.
988 * gdb.hp/gdb.compat/sum.c: File deleted.
989 * gdb.hp/gdb.compat/xdb.c: File deleted.
990 * gdb.hp/gdb.compat/xdb0.c: File deleted.
991 * gdb.hp/gdb.compat/xdb0.h: File deleted.
992 * gdb.hp/gdb.compat/xdb1.c: File deleted.
993 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
994 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
995 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
996 * gdb.hp/gdb.defects/Makefile.in: File deleted.
997 * gdb.hp/gdb.defects/bs14602.c: File deleted.
998 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
999 * gdb.hp/gdb.defects/solib-d.c: File deleted.
1000 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
1001 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
1002 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
1003 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
1004 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
1005 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
1006 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
1007 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
1008 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
1009 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
1010 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
1011 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
1012 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
1013 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
1014 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
1015 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
1016 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
1017 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
1018 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
1019 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
1020 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
1021 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
1022 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
1023 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
1024 * gdb.hp/tools/odump: File deleted.
1026 2015-03-19 Pedro Alves <palves@redhat.com>
1028 * gdb.threads/continue-pending-status.exp (saw_thread_2)
1029 (saw_thread_3): New globals.
1030 (top level): Increment them when an event for the corresponding
1032 (no thread starvation): New test.
1034 2015-03-19 Pedro Alves <palves@redhat.com>
1036 * gdb.threads/continue-pending-status.c: New file.
1037 * gdb.threads/continue-pending-status.exp: New file.
1039 2015-03-18 Pedro Alves <palves@redhat.com>
1041 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1042 Use gdb_is_target_remote instead of is_remote. Use
1043 gdb_test_multiple instead of gdb_expect. Exit early if
1044 gdb_test_multiple hits its internal matches. Tighten stepi tests
1045 expected output. Fail on exit with any signal, instead of just
1048 2015-03-18 Yao Qi <yao.qi@linaro.org>
1051 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
1053 * gdb.base/catch-syscall.exp: Don't skip it on
1054 aarch64*-*-linux* target. Remove elements in all_syscalls.
1055 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
1057 (setup_all_syscalls): New proc.
1059 2015-03-16 Yao Qi <yao.qi@linaro.org>
1061 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
1062 (top level): Skip tests if valid_addr_p returns false for
1065 2015-03-11 Andy Wingo <wingo@igalia.com>
1067 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
1069 2015-03-11 Yao Qi <yao.qi@linaro.org>
1071 * gdb.base/catch-syscall.exp: Fix typo in comments.
1073 2015-03-11 Yao Qi <yao.qi@linaro.org>
1075 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
1077 2015-03-09 Pedro Alves <palves@redhat.com>
1079 * dg-extract-results.py: Delete.
1081 2015-03-09 Pedro Alves <palves@redhat.com>
1083 Merge dg-extract-results.sh from GCC upstream (r218843).
1085 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1086 * dg-extract-results.sh: Use --text with grep to avoid issues with
1087 binary files. Fall back to cat -v, if that doesn't work.
1089 2015-03-05 Pedro Alves <palves@redhat.com>
1091 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1093 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1095 * lib/mi-support.exp (mi_expect_interrupt): Accept
1096 alternative event for when in all-stop mode.
1098 2015-03-04 Pedro Alves <palves@redhat.com>
1100 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1102 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1104 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1106 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1108 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1109 regexps for GDB's current line display, accept a hex address
1110 preceding the line number.
1112 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1114 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1115 the 'arch1' variable for "s390*-linux*" targets.
1117 2015-03-04 Pedro Alves <palves@redhat.com>
1119 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1120 (main): Pass missing retval argument to pthread_join call.
1122 2015-03-02 Pedro Alves <palves@redhat.com>
1124 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1125 (top level): Call do_test with non-stop as well.
1127 2015-03-02 Pedro Alves <palves@redhat.com>
1129 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1132 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1134 * gdb.arch/s390-vregs.exp: New test.
1135 * gdb.arch/s390-vregs.S: New file.
1137 2015-02-27 Pedro Alves <palves@redhat.com>
1139 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1140 call to catch_command_errors.
1141 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1142 catch_command_errors.
1144 2015-02-27 Pedro Alves <palves@redhat.com>
1146 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1147 "true" for boolean result.
1148 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1151 2015-02-27 Pedro Alves <palves@redhat.com>
1153 * lib/unbuffer_output.c: New file.
1154 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1155 (main): Call gdb_unbuffer_output.
1157 2015-02-27 Yao Qi <yao.qi@linaro.org>
1159 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1162 2015-02-26 Doug Evans <dje@google.com>
1164 * gdb.cp/class2.cc (Dbase, D): New classes.
1165 (main): New local delta.
1166 * gdb.cp/class2.exp: Test printing delta.
1167 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1168 (dynbar): New global.
1169 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1171 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1173 * gdb.compile/compile-ifunc.c: New file.
1174 * gdb.compile/compile-ifunc.exp: New file.
1176 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1178 * gdb.base/structs.exp: Check for correct struct on finish.
1180 2015-02-26 Yao Qi <yao.qi@linaro.org>
1182 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1185 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1187 * gdb.arch/cordic.ko.bz2: New file.
1188 * gdb.arch/cordic.ko.debug.bz2: New file.
1189 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1191 2015-02-25 Yao Qi <yao.qi@linaro.org>
1193 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1194 aarch64*-*-* target.
1196 2015-02-23 Pedro Alves <palves@redhat.com>
1198 * lib/gdb.exp (delete_breakpoints): Rewrite using
1201 2015-02-23 Pedro Alves <palves@redhat.com>
1203 * gdb.base/info-os.c: Include stdlib.h.
1205 2015-02-22 Doug Evans <xdje42@gmail.com>
1208 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1209 is read after symbols have been re-read.
1210 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1211 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1213 2015-02-21 Doug Evans <dje@google.com>
1215 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1217 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1220 * gdb.arch/i386-biarch-core.core.bz2: New file.
1221 * gdb.arch/i386-biarch-core.exp: New file.
1223 2015-02-21 Pedro Alves <palves@redhat.com>
1225 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1228 2015-02-20 Pedro Alves <palves@redhat.com>
1230 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1233 2015-02-20 Pedro Alves <palves@redhat.com>
1235 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1237 2015-02-20 Pedro Alves <palves@redhat.com>
1239 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1240 clean_restart before gdb_target_supports_trace.
1242 2015-02-20 Pedro Alves <palves@redhat.com>
1245 * gdb.threads/clone-thread_db.c: New file.
1246 * gdb.threads/clone-thread_db.exp: New file.
1248 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1250 PR breakpoints/16812
1251 * gdb.base/catch-gdb-caused-signals.c: New file.
1252 * gdb.base/catch-gdb-caused-signals.exp: New file.
1254 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1256 * configure: Regenerated.
1257 * configure.ac: Use GDB_AC_TRANSFORM.
1258 * aclocal.m4: sinclude ../transform.m4.
1260 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1262 * lib/dtrace.exp: New file.
1263 * gdb.base/dtrace-probe.exp: Likewise.
1264 * gdb.base/dtrace-probe.d: Likewise.
1265 * gdb.base/dtrace-probe.c: Likewise.
1266 * lib/pdtrace.in: Likewise.
1267 * configure.ac: Output variables with the transformed names of
1268 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1269 * configure: Regenerated.
1271 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1273 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1274 expected message when trying to access $_probe_* convenience
1275 variables while not on a probe.
1277 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1279 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1281 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1283 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1284 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1286 2015-02-10 Doug Evans <xdje42@gmail.com>
1288 * lib/gdb.exp (gdb_load): Always return a result.
1290 2015-02-10 Pedro Alves <palves@redhat.com>
1292 * gdb.threads/signal-sigtrap.c: New file.
1293 * gdb.threads/signal-sigtrap.exp: New file.
1295 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1297 * gdb.trace/no-attach-trace.c: New file.
1298 * gdb.trace/no-attach-trace.exp: New file.
1300 2015-02-09 Mark Wielaard <mjw@redhat.com>
1302 * gdb.dwarf2/atomic.c: New file.
1303 * gdb.dwarf2/atomic-type.exp: Likewise.
1305 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1307 * gdb.btrace/buffer-size.exp: Update "info record" output.
1308 * gdb.btrace/delta.exp: Update "info record" output.
1309 * gdb.btrace/enable.exp: Update "info record" output.
1310 * gdb.btrace/finish.exp: Update "info record" output.
1311 * gdb.btrace/instruction_history.exp: Update "info record" output.
1312 * gdb.btrace/next.exp: Update "info record" output.
1313 * gdb.btrace/nexti.exp: Update "info record" output.
1314 * gdb.btrace/step.exp: Update "info record" output.
1315 * gdb.btrace/stepi.exp: Update "info record" output.
1316 * gdb.btrace/nohist.exp: Update "info record" output.
1318 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1320 * gdb.btrace/buffer-size: New.
1322 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1324 * gdb.btrace/delta.exp: Update "info record" output.
1325 * gdb.btrace/enable.exp: Update "info record" output.
1326 * gdb.btrace/finish.exp: Update "info record" output.
1327 * gdb.btrace/instruction_history.exp: Update "info record" output.
1328 * gdb.btrace/next.exp: Update "info record" output.
1329 * gdb.btrace/nexti.exp: Update "info record" output.
1330 * gdb.btrace/step.exp: Update "info record" output.
1331 * gdb.btrace/stepi.exp: Update "info record" output.
1332 * gdb.btrace/nohist.exp: Update "info record" output.
1334 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1337 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1339 2015-02-06 Pedro Alves <palves@redhat.com>
1341 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1343 (seconds_left, again): New globals.
1344 (main): Wait seconds_left in a 1-second sleep loop instead of
1345 sleeping 180 seconds. If 'again' is set, reset the seconds
1347 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1348 'again' in the inferior before detaching. Print the seconds left.
1349 (options): New global.
1350 (top level): Build program with -DTIMEOUT=$timeout.
1352 2015-02-06 Pedro Alves <palves@redhat.com>
1354 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1355 determine how many seconds to pass to 'alarm'.
1356 * gdb.base/gdb-sigterm.exp (top level): Build program with
1358 (do_test): Return success/failure indication. Add more verbose
1359 logging. Don't fail if 200 single steps are seen. Instead, fail
1360 when the test times out.
1361 (passes): New global.
1362 (top level): Break the testing loop if testing fails on any
1363 iteration. Use gdb_assert.
1365 2015-02-04 Don Breazeal <donb@codesourcery.com>
1367 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1368 and initialize them.
1369 (ipc_cleanup): New function.
1370 (main): Don't declare shmid, semid, and msqid. Add a call to
1371 atexit so that we call ipc_cleanup on exit.
1373 2015-02-04 Pedro Alves <palves@redhat.com>
1375 * boards/native-extended-gdbserver.exp: Remove any target variant
1376 specifications from the board name before clearing the isremote
1377 flag from board_info.
1379 2015-01-31 Doug Evans <xdje42@gmail.com>
1381 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1383 2015-01-31 Gary Benson <gbenson@redhat.com>
1385 * gdb.base/completion.exp: Disable completion limiting for
1386 existing tests. Add new tests to check completion limiting.
1387 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1389 2015-01-31 Doug Evans <xdje42@gmail.com>
1391 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1393 2015-01-31 Doug Evans <xdje42@gmail.com>
1395 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1396 entries. Duplicate file section script entries.
1397 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1398 inlined entries. Add test for safe-path rejection.
1399 * gdb.python/py-section-script.c: Add duplicate inlined section script
1400 entries. Duplicate file section script entries.
1401 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1402 inlined entries. Add test for safe-path rejection.
1404 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1406 * gdb.ada/disc_arr_bound: New testcase.
1408 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1410 * gdb.ada/mi_var_array: New testcase.
1412 2015-01-27 Doug Evans <dje@google.com>
1414 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1415 Add test for objfile.filename, objfile.username after objfile
1418 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1420 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1421 the second test to print the name attribute of value
1422 returned by the call to gdb.lookup_type, and adjust
1423 the expected output accordingly.
1425 2015-01-25 Mark Wielaard <mjw@redhat.com>
1427 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1428 * gdb.base/disp-step-fork.c: Include unistd.h.
1429 * gdb.base/siginfo-obj.c: Include stdio.h.
1430 * gdb.base/siginfo-thread.c: Likewise.
1431 * gdb.mi/non-stop.c: Include unistd.h.
1432 * gdb.mi/nsthrexec.c: Include stdio.h.
1433 * gdb.mi/pthreads.c: Include unistd.h.
1434 * gdb.modula2/unbounded1.c (main): Declare returns int.
1435 * gdb.reverse/consecutive-reverse.c: Likewise.
1436 * gdb.threads/create-fail.c: Include unistd.h.
1437 * gdb.threads/killed.c: Likewise.
1438 * gdb.threads/linux-dp.c: Likewise.
1439 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1440 * gdb.threads/non-ldr-exc-2.c: Likewise.
1441 * gdb.threads/non-ldr-exc-3.c: Likewise.
1442 * gdb.threads/non-ldr-exc-4.c: Likewise.
1443 * gdb.threads/pthreads.c: Include unistd.h.
1444 (main): Declare returns int.
1445 * gdb.threads/tls-main.c (foo): New declaration.
1446 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1448 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1450 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1451 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1453 2015-01-15 Mark Wielaard <mjw@redhat.com>
1455 * gdb.base/noreturn-return.c: New file.
1456 * gdb.base/noreturn-return.exp: New file.
1457 * gdb.base/noreturn-finish.c: New file.
1458 * gdb.base/noreturn-finish.exp: New file.
1460 2015-01-23 Pedro Alves <palves@redhat.com>
1462 * gdb.threads/continue-pending-after-query.c: New file.
1463 * gdb.threads/continue-pending-after-query.exp: New file.
1465 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1466 Simon Marchi <simon.marchi@ericsson.com>
1468 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1469 * gdb.base/valgrind-db-attach.exp: Same.
1470 * gdb.base/valgrind-infcall.exp: Same.
1471 * lib/mi-support.exp (default_mi_gdb_start): Same.
1472 * lib/prompt.exp (default_prompt_gdb_start): Same.
1473 * lib/gdb.exp (default_gdb_spawn): Same.
1474 (gdb_interact): New.
1477 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1479 * gdb.compile/compile.exp (pointer to jit function): New test.
1481 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1483 * lib/gdb.exp (supports_process_record): Return true for
1485 (supports_reverse): Likewise.
1487 2015-01-15 Don Breazeal <donb@codesourcery.com>
1489 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1490 instead of checking whether the target board is remote and
1491 use spawn_wait_for_attach instead of exec/sleep.
1492 * gdb.base/attach-twice.exp: Likewise.
1494 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1496 * gdb.ada/var_arr_attrs: New testcase.
1498 2015-01-14 Pedro Alves <palves@redhat.com>
1499 Joel Brobecker <brobecker@adacore.com>
1502 * gdb.base/bp-cmds-execution-x-script.c: New file.
1503 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1504 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1506 2015-01-14 Pedro Alves <palves@redhat.com>
1509 * gdb.base/batch-preserve-term-settings.c: New file.
1510 * gdb.base/batch-preserve-term-settings.exp: New file.
1512 2015-01-13 Doug Evans <dje@google.com>
1514 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1517 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1519 * Makefile.in (clean mostlyclean): Do not delete *.py.
1521 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1523 * gdb.python/py-lookup-type.exp: New file.
1525 2015-01-12 Pedro Alves <palves@redhat.com>
1527 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1528 restore GDBFLAGS before returning.
1530 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1532 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1533 is_amd64_regs_target and is_x86_like_target.
1535 2015-01-11 Doug Evans <xdje42@gmail.com>
1537 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1538 is given without an explicit form.
1539 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1541 * gdb.dwarf/corrupt.exp: Ditto.
1542 * gdb.dwarf2/enum-type.exp: Ditto.
1543 * gdb.trace/entry-values.exp: Ditto.
1544 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1546 2015-01-11 Doug Evans <xdje42@gmail.com>
1549 * gdb.base/maint.exp: Remove references to "maint demangle".
1550 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1551 Add tests for explicitly specifying language to demangle.
1552 * gdb.dlang/demangle.exp: Ditto.
1554 2015-01-09 Pedro Alves <palves@redhat.com>
1556 * gdb.threads/non-stop-fair-events.c: New file.
1557 * gdb.threads/non-stop-fair-events.exp: New file.
1559 2015-01-09 Pedro Alves <palves@redhat.com>
1561 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1562 the global scope. Set a breakpoint after all threads are started
1563 rather than stepping over two source lines. Expect the prompt.
1564 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1567 (main): Use threads_started_barrier to wait for all threads to
1568 start. Main thread no longer calls thread_function. Exit after
1570 (loop): New function.
1571 (thread_function): Wait on threads_started_barrier barrier. Call
1572 'loop' at each iteration.
1573 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1574 threads have started, instead of hardcoding number of "next"
1575 steps. Use an access watchpoint instead of a write watchpoint.
1577 2015-01-09 Pedro Alves <palves@redhat.com>
1579 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1580 (thread_func): Wait on barrier.
1581 (main): Wait for all threads to start before stopping GDB.
1582 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1584 (thread1_func, thread2_func): Wait on barrier.
1585 (main): Wait for all threads to start before stopping GDB.
1586 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1588 (thread1_func, thread2_func): Wait on barrier.
1589 (main): Wait for all threads to start before stopping GDB.
1591 2015-01-09 Pedro Alves <palves@redhat.com>
1593 * gdb.threads/attach-many-short-lived-threads.c: New file.
1594 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1596 2014-01-09 Pedro Alves <palves@redhat.com>
1598 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1599 instead of to thread 2.
1600 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1601 Add barrier around each pthread_create call instead of around all
1603 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1604 Set a break on thread_function and have the child threads hit it
1607 2015-01-09 Pedro Alves <palves@redhat.com>
1609 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1610 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1612 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1613 checking whether the target board is remote.
1614 * gdb.multi/multi-attach.exp: Likewise.
1615 * gdb.python/py-sync-interp.exp: Likewise.
1616 * gdb.server/ext-attach.exp: Likewise.
1617 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1618 tests that need to attach, instead of checking whether the target
1619 board is remote at the top of the file.
1621 2015-01-08 Yao Qi <yao@codesourcery.com>
1623 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1625 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1627 Fix testcase compilation.
1628 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1630 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1632 * gdb.python/py-type.exp: Add a couple test about empty
1633 array creation, and negative-length array creation.
1635 2015-01-02 Doug Evans <xdje42@gmail.com>
1637 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1639 2015-01-02 Doug Evans <dje@google.com>
1641 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1643 2014-12-29 Yao Qi <yao@codesourcery.com>
1645 * gdb.trace/entry-values.exp: Update comments. Rename variable
1646 bar_call_foo to returned_from_foo.
1648 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1651 * gdb.linespec/break-asm-file.c: New file.
1652 * gdb.linespec/break-asm-file.exp: New file.
1653 * gdb.linespec/break-asm-file0.s: New file.
1654 * gdb.linespec/break-asm-file1.s: New file.
1656 2014-12-18 Nigel Stephens <nigel@mips.com>
1657 Maciej W. Rozycki <macro@codesourcery.com>
1659 * gdb.base/float.exp: Handle the new output from "info float" on
1662 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1664 Fix MinGW compilation.
1665 * gdb.compile/compile-ops.exp: Update untested message if
1666 !skip_compile_feature_tests.
1667 * gdb.compile/compile-setjmp.exp: Likewise.
1668 * gdb.compile/compile-tls.exp: Likewise.
1669 * gdb.compile/compile.exp: Likewise.
1670 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1671 supported on this host".
1673 2014-12-16 Doug Evans <xdje42@gmail.com>
1675 * boards/stabs.exp: New file.
1677 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1679 * gdb.base/completion.exp: Adjust to format changes of "maint
1680 print user-registers".
1682 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1685 * gdb.arch/aarch64-fp.c: New file.
1686 * gdb.arch/aarch64-fp.exp: New file.
1688 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1690 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1691 r210637, r210913, r211666, r215400, r215817).
1693 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1694 * dg-extract-results.py: New file.
1695 * dg-extract-results.sh: Use it if the environment seems
1698 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1700 * dg-extract-results.py (parse_run): Handle warnings that
1701 are printed before a test harness is run.
1703 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1705 * dg-extract-results.py (Named): Remove __cmp__ method.
1706 (output_variation): Use a key to sort variation.harnesses.
1708 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1710 * dg-extract-results.py: For Python 3, force sys.stdout to
1711 handle surrogate escape sequences.
1712 (safe_open): New function.
1713 (output_segment, main): Use it.
1715 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1717 * dg-extract-results.py (Prog.result_re): Include options
1720 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1722 * dg-extract-results.py (output_variation): Always sort if
1725 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1727 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1728 as long as we get pagination notifications.
1730 2014-12-15 Jason Merrill <jason@redhat.com>
1732 * Makefile.in (check-gdb.%): Restore.
1733 * README: Mention it.
1735 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1737 * gdb.ada/str_uninit: New testcase.
1739 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1742 * gdb.base/vla-stub-define.c: New file.
1743 * gdb.base/vla-stub.c: New file.
1744 * gdb.base/vla-stub.exp: New file.
1746 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1747 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Tom Tromey <tromey@redhat.com>
1750 * configure.ac: Add gdb.compile/.
1751 * configure: Regenerate.
1752 * gdb.compile/Makefile.in: New file.
1753 * gdb.compile/compile-ops.exp: New file.
1754 * gdb.compile/compile-ops.c: New file.
1755 * gdb.compile/compile-tls.c: New file.
1756 * gdb.compile/compile-tls.exp: New file.
1757 * gdb.compile/compile-constvar.S: New file.
1758 * gdb.compile/compile-constvar.c: New file.
1759 * gdb.compile/compile-mod.c: New file.
1760 * gdb.compile/compile-nodebug.c: New file.
1761 * gdb.compile/compile-setjmp-mod.c: New file.
1762 * gdb.compile/compile-setjmp.c: New file.
1763 * gdb.compile/compile-setjmp.exp: New file.
1764 * gdb.compile/compile-shlib.c: New file.
1765 * gdb.compile/compile.c: New file.
1766 * gdb.compile/compile.exp: New file.
1767 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1769 2014-12-12 Tom Tromey <tromey@redhat.com>
1771 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1772 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1774 2014-12-12 Doug Evans <dje@google.com>
1776 * lib/gdb-python.exp (get_python_valueof): New function.
1777 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1779 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1781 * gdb.base/completion.exp: Add test for completion of "info
1784 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1786 * gdb.base/func-ptrs.c: New file.
1787 * gdb.base/func-ptrs.exp: New file.
1789 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1791 PR breakpoints/17012
1792 * gdb.base/dprintf-detach.c: New file.
1793 * gdb.base/dprintf-detach.exp: New file.
1795 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1797 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1798 * lib/gdb.exp (target_is_gdbserver): New procedure.
1800 2014-12-08 Doug Evans <dje@google.com>
1802 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1804 2014-12-05 Yao Qi <yao@codesourcery.com>
1806 * gdb.guile/scm-error.exp: Remove the third argument to
1807 gdb_remote_download.
1808 * gdb.guile/scm-frame-args.exp: Likewise.
1809 * gdb.guile/scm-section-script.exp: Likewise.
1811 2014-12-05 Yao Qi <yao@codesourcery.com>
1813 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1815 2014-12-04 Doug Evans <dje@google.com>
1817 * gdb.python/py-objfile.exp: Add tests for
1818 objfile.add_separate_debug_file.
1820 2014-12-04 Doug Evans <dje@google.com>
1822 * lib/gdb.exp (get_build_id): New function.
1823 (build_id_debug_filename_get): Rewrite to use it.
1824 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1826 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1828 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1829 `method(long)', not just 0x0.
1830 * gdb.cp/nsalias.exp: Align code labels to 4.
1831 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1832 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1833 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1834 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1835 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1836 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1838 2014-12-02 Doug Evans <dje@google.com>
1841 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1842 * gdb.cp/anon-ns2.cc: ... here. New file.
1843 * gdb.cp/anon-ns.exp: Update.
1845 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1847 * gdb.python/py-events.py (inferior_call_handler): New.
1848 (register_changed_handler, memory_changed_handler): New.
1849 (test_events.invoke): Register new handlers.
1850 * gdb.python/py-events.exp: Add tests for inferior call,
1851 memory_changed and register_changed events.
1853 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1855 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1856 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1857 if the linker doesn't understand this.
1859 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1861 * gdb.python/python.exp: Change expected reply to help().
1863 2014-12-01 Yao Qi <yao@codesourcery.com>
1865 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1866 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1867 * configure: Re-generated.
1869 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1871 * gdb.cp/chained-calls.cc: New file.
1872 * gdb.cp/chained-calls.exp: New file.
1873 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1875 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1877 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1878 * gdb.dwarf2/symtab-producer.exp: Same.
1879 * gdb.gdb/python-interrupts.exp: Same.
1880 * gdb.gdb/python-selftest.exp: Same.
1881 * gdb.python/py-linetable.exp: Same.
1882 * gdb.python/py-type.exp: Same.
1883 * gdb.python/py-value-cc.exp: Same.
1884 * gdb.python/py-value.exp: Same.
1886 2014-11-28 Yao Qi <yao@codesourcery.com>
1888 * gdb.base/break-probes.exp: Match library name prefixed with
1891 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1893 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1894 test expected output. Add parentheses for the call to print.
1895 Remove L suffix from integers.
1897 2014-11-26 Doug Evans <dje@google.com>
1899 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1901 2014-11-22 Yao Qi <yao@codesourcery.com>
1903 * gdb.trace/entry-values.c: Remove asms.
1904 (foo): Add foo_label.
1905 (bar): Add bar_label.
1906 * gdb.trace/entry-values.exp: Remove code computing foo's
1907 length and bar's length.
1908 (Dwarf::assemble): Invoke function_range for bar and use
1909 MACRO_AT_func for foo.
1911 2014-11-22 Yao Qi <yao@codesourcery.com>
1913 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1914 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1915 Use .Lgcc43_procstart instead of gcc43.
1917 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1919 * gdb.ada/n_arr_bound: New testcase.
1921 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1923 PR breakpoints/10737
1924 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1925 test_catch_syscall_multi_arch.
1926 (test_catch_syscall_multi_arch): New function.
1928 2014-11-20 Doug Evans <xdje42@gmail.com>
1930 * gdb.base/maint.exp: Update expected output.
1932 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1934 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1935 4-byte instruction on S390.
1937 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1939 * gdb.ada/arr_arr: New testcase.
1941 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1943 * gdb.ada/pkd_arr_elem: New Testcase.
1945 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1947 * gdb.reverse/break-precsave: Expect completion message for
1949 * gdb.reverse/consecutive-precsave.exp: Likewise.
1950 * gdb.reverse/finish-precsave.exp: Likewise.
1951 * gdb.reverse/i386-precsave.exp: Likewise.
1952 * gdb.reverse/machinestate-precsave.exp: Likewise.
1953 * gdb.reverse/sigall-precsave.exp: Likewise.
1954 * gdb.reverse/solib-precsave.exp: Likewise.
1955 * gdb.reverse/step-precsave.exp: Likewise.
1956 * gdb.reverse/until-precsave.exp: Likewise.
1957 * gdb.reverse/watch-precsave.exp: Likewise.
1959 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1961 * gdb.base/bp-permanent.c: Include unistd.h.
1962 * gdb.python/py-framefilter-mi.c (main): Add return type.
1963 * gdb.python/py-framefilter.c (main): Likewise.
1964 * gdb.trace/actions-changed.c (main): Likewise.
1966 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1968 * gdb.mi/until.c: Add eye-catchers.
1969 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1972 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1974 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1975 function header variants in break1.c.
1976 * gdb.base/ena-dis-br.exp: Likewise.
1977 * gdb.base/hbreak2.exp: Likewise.
1978 * gdb.reverse/until-precsave.exp: Drop references to removed
1979 non-prototype function header variants in ur1.c.
1980 * gdb.reverse/until-reverse.exp: Likewise.
1982 2014-11-17 Petr Machata <pmachata@redhat.com>
1984 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1985 ${_cu_offset_size} bytes abbrev offset.
1987 2014-11-15 Doug Evans <xdje42@gmail.com>
1990 * gdb.base/line-symtabs.exp: New file.
1991 * gdb.base/line-symtabs.c: New file.
1992 * gdb.base/line-symtabs.h: New file.
1994 2014-11-14 Yao Qi <yao@codesourcery.com>
1996 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1997 (func): Add label func_label.
1998 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1999 Replace low_pc and high_pc with MACRO_AT_range.
2000 Replace name, low_pc and high_pc with MACRO_AT_func.
2002 2014-11-14 Yao Qi <yao@codesourcery.com>
2004 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
2005 Replace name, low_pc and high_pc with MACRO_AT_func.
2007 2014-11-14 Yao Qi <yao@codesourcery.com>
2009 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
2010 produce debug information.
2011 * gdb.dwarf2/implptr-optimized-out.S: Removed.
2013 2014-11-14 Yao Qi <yao@codesourcery.com>
2015 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
2016 object and get function length.
2017 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
2019 (top-level): Replace gdb_compile and clean_restart with
2020 prepare_for_testing.
2021 * gdb.dwarf2/main.c (main): Add label main_label.
2023 2014-11-14 Yao Qi <yao@codesourcery.com>
2025 * lib/dwarf.exp (function_range): New procedure.
2026 (Dwarf::_handle_macro_at_func): New procedure.
2027 (Dwarf::_handle_macro_at_range): New procedure.
2028 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
2030 2014-11-14 Yao Qi <yao@codesourcery.com>
2032 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
2033 (_handle_attribute): New procedure.
2035 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2037 * gdb.ada/cond_lang/foo.c (callme): Add return type.
2038 * gdb.base/call-sc.c (zed): Likewise.
2039 * gdb.base/checkpoint.c (main): Likewise.
2040 * gdb.base/dump.c (main): Likewise.
2041 * gdb.base/gcore.c (main): Likewise.
2042 * gdb.base/huge.c (main): Likewise.
2043 * gdb.base/multi-forks.c (main): Likewise.
2044 * gdb.base/pr10179-a.c (main): Likewise.
2045 * gdb.base/savedregs.c (main): Likewise.
2046 * gdb.base/sigaltstack.c (main): Likewise.
2047 * gdb.base/siginfo.c (main): Likewise.
2048 * gdb.base/structs.c (zed): Likewise.
2049 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
2050 * gdb.mi/mi-syn-frame.c (main): Likewise.
2051 * gdb.mi/until.c (foo, main): Likewise.
2052 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
2053 * gdb.base/solib-weak.c (foo): Declare.
2054 * gdb.base/attach-twice.c: Include stdio.h.
2055 * gdb.base/weaklib1.c: Likewise.
2056 * gdb.base/weaklib2.c: Likewise.
2057 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
2058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
2060 * gdb.base/attach-pie-misread.c: Include stdlib.h.
2061 * gdb.mi/mi-exit-code.c: Likewise.
2062 * gdb.base/break-interp-lib.c: Include string.h.
2063 * gdb.base/coremaker.c: Likewise.
2064 * gdb.base/testenv.c: Likewise.
2065 * gdb.python/py-finish-breakpoint.c: Likewise.
2066 * gdb.base/inferior-died.c: Include sys/wait.h.
2067 * gdb.base/fileio.c: Include time.h.
2068 * gdb.base/async-shell.c: Include unistd.h.
2069 * gdb.base/dprintf-non-stop.c: Likewise.
2070 * gdb.base/info-os.c: Likewise.
2071 * gdb.mi/mi-console.c: Likewise.
2072 * gdb.mi/watch-nonstop.c: Likewise.
2073 * gdb.python/py-events.c: Likewise.
2074 * gdb.base/async.c (baz): Move up before its invocation.
2075 * gdb.base/code_elim2.c (my_global_func): Likewise.
2076 * gdb.base/skip-solib-lib.c (multiply): Likewise.
2077 * gdb.base/advance.c (func2): Likewise.
2079 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2081 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
2083 * gdb.base/annota3.c: Likewise.
2084 * gdb.base/async.c: Likewise.
2085 * gdb.base/average.c: Likewise.
2086 * gdb.base/call-ar-st.c: Likewise.
2087 * gdb.base/call-rt-st.c: Likewise.
2088 * gdb.base/call-sc.c: Likewise.
2089 * gdb.base/call-strs.c: Likewise.
2090 * gdb.base/ending-run.c: Likewise.
2091 * gdb.base/execd-prog.c: Likewise.
2092 * gdb.base/exprs.c: Likewise.
2093 * gdb.base/foll-exec.c: Likewise.
2094 * gdb.base/foll-fork.c: Likewise.
2095 * gdb.base/foll-vfork.c: Likewise.
2096 * gdb.base/funcargs.c: Likewise.
2097 * gdb.base/gcore.c: Likewise.
2098 * gdb.base/jump.c: Likewise.
2099 * gdb.base/langs0.c: Likewise.
2100 * gdb.base/langs1.c: Likewise.
2101 * gdb.base/langs2.c: Likewise.
2102 * gdb.base/mips_pro.c: Likewise.
2103 * gdb.base/nodebug.c: Likewise.
2104 * gdb.base/opaque0.c: Likewise.
2105 * gdb.base/opaque1.c: Likewise.
2106 * gdb.base/recurse.c: Likewise.
2107 * gdb.base/run.c: Likewise.
2108 * gdb.base/scope0.c: Likewise.
2109 * gdb.base/scope1.c: Likewise.
2110 * gdb.base/setshow.c: Likewise.
2111 * gdb.base/setvar.c: Likewise.
2112 * gdb.base/shmain.c: Likewise.
2113 * gdb.base/shr1.c: Likewise.
2114 * gdb.base/shr2.c: Likewise.
2115 * gdb.base/sigall.c: Likewise.
2116 * gdb.base/signals.c: Likewise.
2117 * gdb.base/so-indr-cl.c: Likewise.
2118 * gdb.base/solib2.c: Likewise.
2119 * gdb.base/structs.c: Likewise.
2120 * gdb.base/sum.c: Likewise.
2121 * gdb.base/vforked-prog.c: Likewise.
2122 * gdb.base/watchpoint.c: Likewise.
2123 * gdb.reverse/shr2.c: Likewise.
2124 * gdb.reverse/until-reverse.c: Likewise.
2125 * gdb.reverse/ur1.c: Likewise.
2126 * gdb.reverse/watch-reverse.c: Likewise.
2128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2130 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2132 * gdb.base/sepdebug.exp: Drop references to removed code.
2134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2136 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2137 variant. Preserve original line numbering.
2138 * gdb.base/list1.c: Likewise.
2140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2142 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2144 * gdb.base/break1.c: Likewise.
2145 * gdb.base/break.exp: Drop references to removed code.
2147 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2149 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2152 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2154 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2156 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2158 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2159 logic into perform_all_tests() and invoke it with and without
2160 function header prototypes.
2161 (do_function_calls): Remove conditional XFAIL for PR 5318.
2162 (rerun_and_prepare): Remove duplicate code.
2163 (perform_all_tests): New. Main logic moved here.
2165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2167 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2168 code guarded by #ifdef NO_PROTOTYPES.
2169 (t_double_many_args): Likewise.
2170 (DEF_FUNC_MANY_ARGS_1): Likewise.
2171 (DEF_FUNC_VALUES_1): Likewise.
2172 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2173 guarded by #ifdef PROTOTYPES.
2175 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2177 * gdb.mi/mi-console.c: Add eye-catcher.
2178 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2179 instead of literal line number.
2181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2183 * gdb.base/shr2.c: Add eye-catcher.
2184 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2189 * gdb.base/jump.c: Add eye-catchers.
2190 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2195 * gdb.base/execd-prog.c: Add eye-catchers.
2196 * gdb.base/foll-exec.c: Likewise.
2197 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2202 * gdb.base/ending-run.c: Add eye-catchers.
2203 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2204 literal line numbers.
2206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2208 * gdb.base/call-rt-st.c: Add eye-catchers.
2209 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2210 literal line numbers.
2212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2214 * gdb.base/call-ar-st.c: Add eye-catchers.
2215 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2216 literal line numbers.
2218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2220 * gdb.base/average.c: Add eye-catchers.
2221 * gdb.base/sum.c: Likewise.
2222 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2223 regexps dynamically.
2225 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2227 * gdb.base/solib1.c: Add eye-catchers.
2228 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2229 literal line numbers.
2231 2014-11-12 Pedro Alves <palves@redhat.com>
2233 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2236 2014-11-12 Pedro Alves <palves@redhat.com>
2238 * gdb.arch/i386-bp_permanent.c: New file.
2239 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2240 (srcfile): Set to i386-bp_permanent.c.
2241 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2242 that stepi does not execute the 'leave' instruction, instead of
2243 testing it does execute.
2244 * gdb.base/bp-permanent.c: New file.
2245 * gdb.base/bp-permanent.exp: New file.
2247 2014-11-10 Doug Evans <xdje42@gmail.com>
2250 * gdb.base/symtab-search-order.exp: New file.
2251 * gdb.base/symtab-search-order.c: New file.
2252 * gdb.base/symtab-search-order-1.c: New file.
2253 * gdb.base/symtab-search-order-shlib-1.c: New file.
2255 2014-11-07 Pedro Alves <palves@redhat.com>
2258 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2261 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2264 * gdb.cp/pr17494.cc: New file.
2265 * gdb.cp/pr17494.exp: New file.
2267 2014-11-02 Yao Qi <yao@codesourcery.com>
2269 * gdb.python/python.exp: Get working directory and match the
2270 output of "set extended-prompt \\w " with it.
2272 2014-10-30 Doug Evans <dje@google.com>
2274 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2276 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2279 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2281 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2282 * gdb.base/realname-expand.exp: Likewise.
2283 * gdb.linespec/macro-relative.exp: Likewise.
2285 2014-10-29 Pedro Alves <palves@redhat.com>
2288 * gdb.threads/schedlock.c (some_function): New function.
2289 (call_function): New global.
2290 (MAYBE_CALL_SOME_FUNCTION): New macro.
2291 (thread_function): Call it.
2292 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2293 and use it instead of a global counter. Adjust all callers.
2294 (get_current_thread): Use "find current thread" for test message
2295 here rather than having all callers pass down the same string.
2296 (goto_loop): New procedure, factored out from ...
2297 (my_continue): ... this.
2298 (step_ten_loops): Change parameter from test message to command to
2300 (list_count): Delete global.
2301 (check_result): New procedure, factored out from duplicate top
2303 (continue tests): Wrap in with_test_prefix.
2304 (test_step): New procedure, factored out from duplicate top level
2306 (top level): Test "step" in combination with all scheduler-locking
2307 modes. Test "next" in combination with all scheduler-locking
2308 modes, and in combination with stepping over a function call or
2310 * gdb.threads/next-bp-other-thread.c: New file.
2311 * gdb.threads/next-bp-other-thread.exp: New file.
2313 2014-10-29 Pedro Alves <palves@redhat.com>
2316 * gdb.python/python.exp: Test a multi-line command that spawns
2318 * gdb.base/multi-line-starts-subshell.exp: New file.
2320 2014-10-29 Yao Qi <yao@codesourcery.com>
2322 * gdb.base/fileio.exp: Make directories on host.
2324 2014-10-29 Yao Qi <yao@codesourcery.com>
2326 * gdb.base/fileio.c (test_write): Close the file.
2328 2014-10-28 Pedro Alves <palves@redhat.com>
2331 * gdb.base/sigstep.c (no_handler): New global.
2332 (main): If 'no_handler is true, set the signal handlers to
2334 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2335 with_sw_watch and no_handler parameters. Handle them.
2336 (top level) <stepping over handler when stopped at a breakpoint
2337 test>: Add a test axis for testing with a software watchpoint, and
2338 another for testing with the signal handler set to SIG_IGN.
2339 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2340 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2342 2014-10-28 Pedro Alves <palves@redhat.com>
2345 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2346 * gdb.base/sigstep.exp (other_handler_location): New global.
2347 (advance): Support stepping into the signal handler, and running
2348 commands while in the handler.
2349 (in_handler_map): New global.
2350 (top level): In the advance test, add combinations for getting
2351 into the handler with stepping commands, and for running commands
2352 in the handler. Add comment descripting the advancei tests.
2354 2014-10-28 Pedro Alves <palves@redhat.com>
2356 * gdb.base/sigstep.exp: Use build_executable instead of
2357 prepare_for_testing.
2358 (top level): Move code that starts GDB, runs to main and creates a
2360 (restart): ... this new procedure.
2361 (top level): Move backtrace from signal handler test to ...
2362 (validate_backtrace): ... this new procedure.
2363 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2364 with_test_prefix. Always restart GDB.
2365 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2366 with_test_prefix. Always restart GDB. No need to delete
2367 breakpoints after the test.
2368 (test_skip_handler): Remove prefix parameter.
2369 (skip_over_handler, breakpoint_to_handler)
2370 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2371 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2372 restart GDB. No need to delete breakpoints after the test.
2373 (top level): Use foreach to call the test procedures with
2376 2014-10-28 Pedro Alves <palves@redhat.com>
2378 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2379 instead of GNATS numbers.
2380 * gdb.base/sigbpt.exp: Likewise.
2381 * gdb.base/siginfo.exp: Likewise.
2382 * gdb.base/sigstep.exp: Likewise.
2384 2014-10-27 Pedro Alves <palves@redhat.com>
2386 * gdb.base/sigstep.c (dummy): New global.
2387 (main): Issue a couple writes to the new global.
2388 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2390 (skip_over_handler): Use test_skip_handler.
2391 (top level): Call skip_over_handler for stepi and nexti too.
2392 (breakpoint_over_handler): Use test_skip_handler.
2393 (top level): Call breakpoint_over_handler for stepi and nexti too.
2395 2014-10-27 Yao Qi <yao@codesourcery.com>
2397 * gdb.trace/tfile.c (adjust_function_address)
2398 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2399 function descriptor.
2401 2014-10-24 Don Breazeal <donb@codesourcery.com>
2403 * gdb.base/foll-fork.exp (test_follow_fork,
2404 catch_fork_child_follow): Check for updated fork messages emitted
2406 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2407 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2408 vfork_and_exec_child_follow_through_step): Check for updated vfork
2409 messages emitted from infrun.c.
2411 2014-10-24 Pedro Alves <palves@redhat.com>
2413 * gdb.base/corefile.exp: Remove references to ultrix.
2414 * gdb.base/interrupt.exp: Likewise.
2415 * gdb.base/whatis.exp: Likewise.
2416 * gdb.gdb/selftest.exp: Likewise.
2417 * gdb.threads/manythreads.exp: Likewise.
2418 * gdb.threads/print-threads.exp: Likewise.
2419 * gdb.threads/pthreads.exp:: Likewise.
2420 * gdb.threads/schedlock.exp: Likewise.
2422 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2424 * gdb.cp/non-trivial-retval.cc: Add a test case.
2425 * gdb.cp/non-trivial-retval.exp: Add a test.
2427 2014-10-20 Yao Qi <yao@codesourcery.com>
2429 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2430 * gdb.python/py-objfile-script-gdb.py: New file.
2431 * gdb.python/py-objfile-script.exp: Update reference to
2432 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2433 of remote_download. Remove the dest file.
2435 2014-10-20 Yao Qi <yao@codesourcery.com>
2437 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2438 * gdb.base/step-line.exp: Likewise.
2439 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2440 * gdb.dwarf2/dw2-basic.exp: Likewise.
2441 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2442 * gdb.dwarf2/dw2-filename.exp: Likewise.
2443 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2444 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2445 * gdb.dwarf2/dw2-producer.exp: Likewise.
2446 * gdb.dwarf2/mac-fileno.exp: Likewise.
2447 * gdb.python/py-frame-args.exp: Likewise.
2448 * gdb.python/py-framefilter.exp: Likewise.
2449 * gdb.python/py-mi.exp: Likewise.
2450 * gdb.python/py-objfile-script.exp: Likewise
2451 * gdb.python/py-pp-integral.exp: Likewise.
2452 * gdb.python/py-pp-re-notag.exp: Likewise.
2453 * gdb.python/py-prettyprint.exp: Likewise.
2454 * gdb.python/py-section-script.exp: Likewise.
2455 * gdb.python/py-typeprint.exp: Likewise.
2456 * gdb.python/py-xmethods.exp: Likewise.
2457 * gdb.stabs/weird.exp: Likewise.
2458 * gdb.xml/tdesc-regs.exp: Likewise.
2460 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2462 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2463 (out_cu): Use addr_len for the size of addresses.
2464 (out_line): Likewise. Size DW_LNE_set_address instruction
2465 according to addr_len.
2466 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2467 (FUNC): Add START_INSNS to definition.
2469 2014-10-18 Yao Qi <yao@codesourcery.com>
2471 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2472 gdb_has_argv0 return true.
2473 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2474 check [target_info exists noargs], check [gdb_has_argv0]
2476 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2477 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2480 2014-10-17 Doug Evans <dje@google.com>
2482 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2484 * gdb.python/py-events.py: Add clear_objfiles event.
2486 2014-10-17 Doug Evans <dje@google.com>
2488 * gdb.python/py-objfile.exp: Test progspace attribute.
2490 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2492 * gdb.guile/scm-breakpoint.exp: Do not assume any
2493 directory separators when matching source file paths.
2494 * gdb.python/py-breakpoint.exp: Likewise.
2495 * gdb.reverse/break-precsave.exp: Likewise.
2496 * gdb.reverse/break-reverse.exp: Likewise.
2497 * gdb.reverse/consecutive-precsave.exp: Likewise.
2498 * gdb.reverse/finish-precsave.exp: Likewise.
2499 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2500 * gdb.reverse/finish-reverse.exp: Likewise.
2501 * gdb.reverse/i386-precsave.exp: Likewise.
2502 * gdb.reverse/i387-env-reverse.exp: Likewise.
2503 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2504 * gdb.reverse/machinestate-precsave.exp: Likewise.
2505 * gdb.reverse/machinestate.exp: Likewise.
2506 * gdb.reverse/sigall-precsave.exp: Likewise.
2507 * gdb.reverse/solib-precsave.exp: Likewise.
2508 * gdb.reverse/step-precsave.exp: Likewise.
2509 * gdb.reverse/until-precsave.exp: Likewise.
2510 * gdb.reverse/watch-precsave.exp: Likewise.
2511 * gdb.reverse/watch-reverse.exp: Likewise.
2513 2014-10-17 Yao Qi <yao@codesourcery.com>
2515 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2516 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2518 2014-10-17 Pedro Alves <palves@redhat.com>
2521 * gdb.base/bg-execution-repeat.c: New file.
2522 * gdb.base/bg-execution-repeat.exp: New file.
2524 2014-10-17 Pedro Alves <palves@redhat.com>
2527 * gdb.base/continue-all-already-running.c: New file.
2528 * gdb.base/continue-all-already-running.exp: New file.
2530 2014-10-17 Pedro Alves <palves@redhat.com>
2533 * gdb.base/annota-input-while-running.c: New file.
2534 * gdb.base/annota-input-while-running.exp: New file.
2536 2014-10-17 Pedro Alves <palves@redhat.com>
2538 * gdb.base/callfuncs.exp: emove references to osf.
2539 * gdb.base/sigall.exp: Likewise.
2540 * gdb.gdb/selftest.exp: Likewise.
2541 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2542 * gdb.mi/non-stop.c: Likewise.
2543 * gdb.mi/pthreads.c: Likewise.
2544 * gdb.reverse/sigall-precsave.exp: Likewise.
2545 * gdb.reverse/sigall-reverse.exp: Likewise.
2546 * gdb.threads/pthreads.c: Likewise.
2547 * gdb.threads/pthreads.exp: Likewise.
2549 2014-10-17 Yao Qi <yao@codesourcery.com>
2551 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2552 check 'target_info exists noargs'.
2553 (test_command_prompt_position): Likewise.
2554 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2556 (progvar_simple_while_test): Likewise.
2557 (progvar_complex_if_while_test): Likewise.
2558 (if_while_breakpoint_command_test): Likewise.
2559 (infrun_breakpoint_command_test): Likewise.
2560 (breakpoint_command_test): Likewise.
2561 (watchpoint_command_test): Likewise.
2562 (bp_deleted_in_command_test): Likewise.
2563 (temporary_breakpoint_commands): Likewise.
2565 2014-10-16 Yao Qi <yao@codesourcery.com>
2567 * gdb.base/remotetimeout.exp: Remove noargs checking.
2569 2014-10-15 Pedro Alves <palves@redhat.com>
2572 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2573 * gdb.base/breakpoint-in-ro-region.exp
2574 (probe_target_hardware_step): New procedure.
2575 (top level): Probe hardware stepping and hardware breakpoint
2576 support. Test stepping through a read-only region, with both
2577 "breakpoint auto-hw" on and off and both "always-inserted" on and
2580 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2582 * gdb.dlang/demangle.exp: Update for demangling changes.
2584 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2586 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2587 * gdb.cp/non-trivial-retval.exp: Add new tests.
2589 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2593 * gdb.cp/non-trivial-retval.cc: New file.
2594 * gdb.cp/non-trivial-retval.exp: New file.
2596 2014-10-15 Yao Qi <yao@codesourcery.com>
2598 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2601 2014-10-15 Yao Qi <yao@codesourcery.com>
2603 * gdb.python/py-symbol.exp: Match file base name if host is
2604 remote, otherwise match file name with dir name.
2605 * gdb.python/py-symtab.exp: Likewise.
2606 * gdb.python/python.exp: Likewise.
2608 2014-10-15 Yao Qi <yao@codesourcery.com>
2610 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2612 * gdb.python/py-symtab.exp: Likewise.
2613 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2616 2014-10-14 Joel Brobecker <brobecker@adacore.com>
2618 * gdb.ada/addr_arith: New testcase.
2620 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2622 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2623 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2624 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2625 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2627 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2629 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2630 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2631 * gdb.arch/stap-eval-lang-ada.exp: New file.
2633 2014-10-14 Yao Qi <yao@codesourcery.com>
2635 * gdb.mi/mi-var-child.c (nothing1): New function.
2636 (nothing2): New function.
2637 (do_children_tests): Set function pointers by nothing1 and
2639 * gdb.mi/mi-var-child.exp: Step over new added statements.
2640 Update test to match the new output.
2641 * gdb.mi/var-cmd.c (nothing1): New function.
2642 (nothing2): New function.
2643 (do_children_tests): Set function pointers by nothing1 and
2645 * gdb.mi/mi-var-display.exp: Update test to match output.
2646 Step to the line specified by $line_dct_nothing.
2647 Increase the number of lines to step.
2649 2014-10-14 Yao Qi <yao@codesourcery.com>
2651 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2653 * gdb.mi/mi2-var-child.exp: Likewise.
2655 2014-10-13 Doug Evans <dje@google.com>
2657 * gdb.python/py-objfile.exp: Change name of file name test.
2659 2014-10-13 Doug Evans <dje@google.com>
2661 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2662 from the start of the CU.
2664 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2665 Yao Qi <yao@codesourcery.com>
2667 Fix "save breakpoints" for "catch" command.
2668 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2669 Remove -nonewline. Match also the added "main" line.
2671 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2673 Fix "save breakpoints" for "disable $bpnum" command.
2674 * gdb.base/save-bp.c (main): Add label.
2675 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2677 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2679 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2681 2014-10-11 Yao Qi <yao@codesourcery.com>
2683 * gdb.server/server-kill.exp: Execute command
2684 "set remote trace-status-packet on" before "tstatus".
2686 2014-10-11 Yao Qi <yao@codesourcery.com>
2688 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2689 (main): Call getppid.
2690 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2691 and continue to it. Read variable "server_pid".
2693 2014-10-11 Yao Qi <yao@codesourcery.com>
2695 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2697 2014-10-11 Yao Qi <yao@codesourcery.com>
2699 * gdb.threads/thread-find.exp: Don't execute command
2701 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2702 * gdb.threads/linux-dp.exp: Don't check the condition
2703 $threads_created equals to zero.
2705 2014-10-10 Pedro Alves <palves@redhat.com>
2707 * gdb.base/bigcore.exp: Remove references to IRIX.
2708 * gdb.base/funcargs.exp: Likewise.
2709 * gdb.base/interrupt.exp: Likewise.
2710 * gdb.base/mips_pro.exp: Likewise.
2711 * gdb.base/nodebug.exp: Likewise.
2712 * gdb.base/setvar.exp: Likewise.
2713 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2715 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2716 Pedro Alves <palves@redhat.com>
2719 * gdb.base/vdso-warning.c: New file.
2720 * gdb.base/vdso-warning.exp: New file.
2722 2014-10-02 Doug Evans <dje@google.com>
2724 * gdb.base/structs.c (main): Don't run forever.
2726 2014-10-02 Pedro Alves <palves@redhat.com>
2728 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2729 (top level) <stop threads 1, stop threads 2>: Use it.
2731 2014-10-02 Pedro Alves <palves@redhat.com>
2733 * gdb.threads/break-while-running.exp (test): Add new
2734 'update_thread_list' argument. Skip "info threads" if false.
2735 (top level): Add new 'update_thread_list' axis.
2737 2014-10-02 Pedro Alves <palves@redhat.com>
2739 PR breakpoints/17431
2740 * gdb.base/execl-update-breakpoints.c: New file.
2741 * gdb.base/execl-update-breakpoints.exp: New file.
2743 2014-10-01 Pedro Alves <palves@redhat.com>
2745 * gdb.base/breakpoint-in-ro-region.c: New file.
2746 * gdb.base/breakpoint-in-ro-region.exp: New file.
2748 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2750 * gdb.mi/mi-exit-code.exp: New file.
2751 * gdb.mi/mi-exit-code.c: New file.
2753 2014-09-30 Yao Qi <yao@codesourcery.com>
2755 * lib/prelink-support.exp (build_executable_own_libs): Error if
2756 the target isn't native.
2758 2014-09-30 Yao Qi <yao@codesourcery.com>
2760 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2763 2014-09-22 Pedro Alves <palves@redhat.com>
2765 * gdb.threads/break-while-running.exp: New file.
2766 * gdb.threads/break-while-running.c: New file.
2768 2014-09-19 Yao Qi <yao@codesourcery.com>
2770 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2771 Invoke test. Restart GDB with --readnow and invoke test again.
2773 2014-09-19 Yao Qi <yao@codesourcery.com>
2775 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2776 proc set_breakpoint_on_gcd_function. Invoke
2777 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2778 invoke set_breakpoint_on_gcd_function again.
2780 2014-09-18 Doug Evans <dje@google.com>
2782 * gdb.dwarf2/symtab-producer.exp: New file.
2784 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2786 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2787 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2788 * gdb.base/global-var-nested-by-dso.c: Likewise.
2789 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2791 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2792 Pedro Alves <palves@redhat.com>
2794 * gdb.base/watch-bitfields.exp: Pass string other than test file
2795 name to prepare_for_testing.
2796 (watch): New procedure.
2797 (expect_watchpoint): Use with_test_prefix.
2798 (top level): Factor out tests to ...
2799 (test_watch_location, test_regular_watch): ... these new
2800 procedures, and use with_test_prefix and gdb_continue_to_end.
2802 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2804 PR breakpoints/12526
2805 * gdb.base/watch-bitfields.exp: New file.
2806 * gdb.base/watch-bitfields.c: New file.
2808 2014-09-16 Pedro Alves <palves@redhat.com>
2810 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2811 software and hardware addresses, not software address against
2814 2014-09-16 Pedro Alves <palves@redhat.com>
2816 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2817 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2819 2014-09-16 Pedro Alves <palves@redhat.com>
2821 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2823 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2824 "*-*-vxworks*" throughout.
2825 * gdb.base/break.exp: Likewise.
2826 * gdb.base/default.exp: Likewise.
2827 * gdb.base/scope.exp: Likewise.
2828 * gdb.base/sepdebug.exp: Likewise.
2829 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2831 * gdb.base/run.c: Likewise.
2832 * gdb.base/sepdebug.c: Likewise.
2833 * gdb.hp/gdb.aCC/run.c: Likewise.
2834 * gdb.reverse/until-reverse.c: Likewise.
2835 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2837 2014-09-16 Yao Qi <yao@codesourcery.com>
2839 * boards/local-remote-host-native.exp: New file.
2841 2014-09-14 Doug Evans <xdje42@gmail.com>
2843 * gdb.threads/queue-signal.c (thread_count): New variable.
2844 (thread_count_mutex, thread_count_condvar): New variables.
2845 (incr_thread_count, wait_all_threads_running): New functions.
2846 (main): Wait for all threads to be in their thread functions.
2848 2014-09-13 Doug Evans <xdje42@gmail.com>
2850 * gdb.threads/queue-signal.c: New file.
2851 * gdb.threads/queue-signal.exp: New file.
2853 2014-09-13 Doug Evans <xdje42@gmail.com>
2855 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2856 be consistent with what default_gdb_init uses.
2857 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2858 the plain text of the prompt. Add some logging printfs.
2859 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2861 2014-09-12 Pedro Alves <palves@redhat.com>
2863 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2864 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2865 * gdb.arch/i386-size-overlap.exp: Likewise.
2866 * gdb.arch/i386-size.exp: Likewise.
2867 * gdb.arch/i386-unwind.exp: Likewise.
2868 * gdb.base/a2-run.exp: Likewise.
2869 * gdb.base/break.exp: Likewise.
2870 * gdb.base/charset.exp: Likewise.
2871 * gdb.base/chng-syms.exp: Likewise.
2872 * gdb.base/commands.exp: Likewise.
2873 * gdb.base/dbx.exp: Likewise.
2874 * gdb.base/find.exp: Likewise.
2875 * gdb.base/funcargs.exp: Likewise.
2876 * gdb.base/jit-simple.exp: Likewise.
2877 * gdb.base/reread.exp: Likewise.
2878 * gdb.base/sepdebug.exp: Likewise.
2879 * gdb.base/step-bt.exp: Likewise.
2880 * gdb.cp/mb-inline.exp: Likewise.
2881 * gdb.cp/mb-templates.exp: Likewise.
2882 * gdb.objc/basicclass.exp: Likewise.
2883 * gdb.threads/killed.exp: Likewise.
2885 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2888 * gdb.arch/powerpc-stackless.S: New file.
2889 * gdb.arch/powerpc-stackless.exp: New file.
2891 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2893 * gdb.base/attach.c: Include unistd.h.
2894 (main): Call alarm. Add label postloop.
2895 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2896 gdb_breakpoint, gdb_continue_to_breakpoint.
2897 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2899 2014-09-11 Pedro Alves <palves@redhat.com>
2902 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2903 * gdb.base/attach.exp (test_command_line_attach_run): New
2905 (top level): Call it.
2907 2014-09-11 Pedro Alves <palves@redhat.com>
2909 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2910 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2911 (do_command_attach_tests): Use spawn_wait_for_attach.
2912 * gdb.base/solib-overlap.exp: Likewise.
2913 * gdb.multi/multi-attach.exp: Likewise.
2914 * gdb.python/py-prompt.exp: Likewise.
2915 * gdb.python/py-sync-interp.exp: Likewise.
2916 * gdb.server/ext-attach.exp: Likewise.
2918 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2920 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2921 command in testcase. Simplify testcase.
2923 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2925 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2927 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2929 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2931 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2933 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2935 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2937 * gdb.dwarf2/dynarr-ptr.c: New file.
2938 * gdb.dwarf2/dynarr-ptr.exp: New file.
2940 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2942 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2943 of 30 rather than hardcoding 120 for a slow test case. Take the
2944 `gdb,timeout' target setting into account for this calculation.
2945 Don't extend the timeout for the test cases that don't need it.
2947 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2949 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2950 a factor of 2 for a slow test case. Take the `gdb,timeout'
2951 target setting into account for this calculation.
2952 * gdb.reverse/until-precsave.exp: Increase the timeout by
2953 a factor of 15 and 3 respectively rather than adding 120
2954 for a pair of slow test cases. Take the `gdb,timeout'
2955 target setting into account for this calculation.
2957 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2959 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2960 timeout, don't pass one down to gdb_expect.
2961 (gdb_expect): Rework timeout selection.
2963 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2965 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2966 exception on timeout.
2967 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2968 (gdbserver_start_extended): Catch any `gdbserver_start' error
2970 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2971 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2972 `gdbserver_gdb_load' error exceptions.
2974 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2976 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2977 120 on waiting for the TCP socket to open.
2979 2014-09-09 Doug Evans <xdje42@gmail.com>
2981 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2982 _caller_matches, _any_caller_is, _any_caller_matches.
2984 2014-09-09 Doug Evans <xdje42@gmail.com>
2986 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2988 2014-09-09 Yao Qi <yao@codesourcery.com>
2990 * gdb.mi/mi-var-display.exp: Set print symbol off.
2992 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2995 * gdb.base/commands.exp: Add tests to verify user-defined
2996 commands with empty bodies.
2997 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2998 python commands in `show user command`.
2999 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
3000 scheme commands in `show user command`.
3002 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3005 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
3006 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
3007 * gdb.python/py-framefilter-invalidarg.exp: New file.
3008 * gdb.python/py-framefilter-invalidarg.py: New file.
3010 2014-09-06 Doug Evans <xdje42@gmail.com>
3013 * gdb.python/py-caller-is.c: New file.
3014 * gdb.python/py-caller-is.exp: New file.
3016 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3019 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
3020 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
3022 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3025 * gdb.fortran/print-formatted.exp: New file.
3026 * gdb.fortran/print-formatted.f90: Likewise.
3028 2014-09-03 Sasha Smundak <asmundak@google.com>
3030 * gdb.python/py-frame.exp: Test Frame.read_register.
3032 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3035 * gdb.python/py-completion.exp: New file.
3036 * gdb.python/py-completion.py: Likewise.
3038 2014-08-28 Doug Evans <dje@google.com>
3040 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
3041 eax,etc. are live with values set by gdb and thus the compiler can't
3043 * gdb.arch/i386-pseudo.c (main): Ditto.
3045 2014-08-27 Doug Evans <dje@google.com>
3047 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
3049 2014-08-25 Doug Evans <dje@google.com>
3051 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
3054 2014-08-25 Doug Evans <dje@google.com>
3056 * gdb.threads/thread-execl.exp: #include <stdio.h>.
3058 2014-08-24 Yao Qi <yao@codesourcery.com>
3060 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
3062 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
3064 2014-08-22 Doug Evans <dje@google.com>
3067 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
3068 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
3069 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
3071 2014-08-22 Yao Qi <yao@codesourcery.com>
3073 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
3074 * gdb.python/py-finish-breakpoint2.exp: Likewise.
3075 * gdb.python/python.exp: Likewise. Use .py file on the host
3076 instead of the build.
3078 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3080 * gdb.threads/gcore-stale-thread.c: New file.
3081 * gdb.threads/gcore-stale-thread.exp: New file.
3083 2014-08-21 Pedro Alves <palves@redhat.com>
3085 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3086 * gdb.base/gcore-relro-pie.exp: Likewise.
3087 * gdb.base/gcore-relro.exp: Likewise.
3088 * gdb.base/gcore.exp: Likewise.
3089 * gdb.base/print-symbol-loading.exp: Likewise.
3090 * gdb.threads/gcore-thread.exp: Likewise.
3091 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3093 2014-08-20 Pedro Alves <palves@redhat.com>
3094 Jan Kratochvil <jan.kratochvil@redhat.com>
3096 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3098 (EXPECT): Handle READ1 being set.
3099 (all): Depend on EXTRA_RULES.
3100 (check-read1, expect-read1, read1.so, read1): New rules.
3101 * README (Testsuite Parameters): Document the READ1 make variable.
3102 (Race detection): New section.
3103 * configure: Regenerate.
3104 * configure.ac: If build==host==target, and running under a
3105 GNU/glibc system, add read1 to the extra Makefile rules.
3106 (EXTRA_RULES): AC_SUBST it.
3107 * lib/read1.c: New file.
3109 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3111 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3112 the handling of variables declared as a typedef to an array
3113 which a DW_AT_data_location attribute.
3115 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3116 Pedro Alves <palves@redhat.com>
3120 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3123 2014-08-19 Pedro Alves <palves@redhat.com>
3125 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3127 2014-08-19 Yao Qi <yao@codesourcery.com>
3129 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3132 2014-08-18 David Blaikie <dblaikie@gmail.com>
3134 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3136 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3138 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3139 attribute in array range.
3141 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3143 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3145 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3148 * gdb.cp/pr17132.cc: New file.
3149 * gdb.cp/pr17132.exp: New file.
3151 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3153 * gdb.python/py-xmethods.py (A_getarrayind)
3154 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3155 Use 'print' with function call syntax.
3156 (E_method_matcher.match): Fix tab vs space indentation mixup.
3158 2014-08-15 Yao Qi <yao@codesourcery.com>
3160 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3163 2014-08-15 Yao Qi <yao@codesourcery.com>
3165 * gdb.cp/casts.exp: Set print symbol off.
3166 * gdb.cp/class2.exp: Likewise.
3167 * gdb.cp/overload.exp: Likewise.
3168 * gdb.cp/templates.exp: Likewise.
3170 2014-08-11 Doug Evans <dje@google.com>
3172 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3173 (test_load_shlib): Update.
3175 2014-08-09 Yao Qi <yao@codesourcery.com>
3177 * gdb.base/display.exp: Invoke is_address_zero_readable.
3178 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3179 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3180 * gdb.base/hbreak-unmapped.exp: Return if
3181 is_address_zero_readable returns true.
3182 * gdb.base/signest.exp: Likewise.
3183 * gdb.base/signull.exp: Likewise.
3184 * gdb.base/sigbpt.exp: Likewise.
3185 * gdb.guile/scm-disasm.exp: Do the test if
3186 is_address_zero_readable returns false.
3187 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3188 * gdb.python/py-arch.exp: Likewise.
3189 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3190 * lib/gdb.exp (is_address_zero_readable): New proc.
3192 2014-08-09 Yao Qi <yao@codesourcery.com>
3195 * gdb.mi/mi-var-display.exp: Make test messages unique.
3197 2014-08-04 Tom Tromey <tromey@redhat.com>
3199 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3202 2014-08-04 Tom Tromey <tromey@redhat.com>
3204 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3207 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3209 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3210 inner_vla_struct_object_size.
3211 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3214 2014-07-30 Pedro Alves <palves@redhat.com>
3216 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3219 2014-07-29 Yao Qi <yao@codesourcery.com>
3222 * gdb.base/until-nodebug.exp: New.
3224 2014-07-28 Doug Evans <xdje42@gmail.com>
3227 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3228 previously existing parameter, and previously ambiguously spelled
3231 2014-07-28 Will Newton <will.newton@linaro.org>
3233 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3235 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3236 Doug Evans <xdje42@gmail.com>
3239 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3241 2014-07-25 Pedro Alves <palves@redhat.com>
3243 * gdb.threads/signal-command-handle-nopass.c: New file.
3244 * gdb.threads/signal-command-handle-nopass.exp: New file.
3245 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3246 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3247 * gdb.threads/signal-delivered-right-thread.c: New file.
3248 * gdb.threads/signal-delivered-right-thread.exp: New file.
3250 2014-07-25 Pedro Alves <palves@redhat.com>
3252 * gdb.base/double-prompt-target-event-error.exp
3253 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3255 (cancel_pagination_in_target_event): Rework double prompt
3257 * gdb.base/paginate-after-ctrl-c-running.exp
3258 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3260 * gdb.base/paginate-bg-execution.exp
3261 (test_bg_execution_pagination_return)
3262 (test_bg_execution_pagination_cancel): Remove '-notransfer
3264 * gdb.base/paginate-execution-startup.exp
3265 (test_fg_execution_pagination_return)
3266 (test_fg_execution_pagination_cancel): Remove '-notransfer
3268 * gdb.base/paginate-inferior-exit.exp
3269 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3271 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3272 * lib/gdb.exp (pagination_prompt): Run text through
3274 (gdb_test_multiple): Match $pagination_prompt instead of
3276 (string_to_regexp): Move to lib/gdb-utils.exp.
3278 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3280 * gdb.arch/amd64-entry-value-paramref.S: New file.
3281 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3282 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3283 * gdb.arch/amd64-optimout-repeat.S: New file.
3284 * gdb.arch/amd64-optimout-repeat.c: New file.
3285 * gdb.arch/amd64-optimout-repeat.exp: New file.
3287 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 * gdb.base/statistics.exp: New file.
3292 2014-07-17 Doug Evans <dje@google.com>
3295 * gdb.base/maint.exp: Update testing of per-command stats.
3297 2014-07-16 Pedro Alves <palves@redhat.com>
3299 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3300 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3301 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3302 (tfile_write_buf): New functions.
3303 (add_memory_block): Rewrite using the above.
3304 (adjust_function_address): New function.
3305 (FUNCTION_ADDRESS): New macro.
3306 (write_basic_trace_file): Remove short_x local, and use
3307 tfile_write_16. Change type of func_addr local to unsigned long
3308 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3309 here. Cast argument of add_memory_block to char pointer.
3310 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3311 (main): Remove parameters.
3312 * gdb.trace/tfile.exp: Remove nowarnings.
3314 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3316 * gdb.base/debug-expr.exp: Test string evaluation with
3317 "debug expression" on.
3319 2014-07-15 Pedro Alves <palves@redhat.com>
3321 * gdb.base/reread.exp: Use clean_restart.
3323 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3325 * gdb.arch/avr-flash-qualifer.c: New.
3326 * gdb.arch/avr-flash-qualifer.exp: New.
3328 2014-07-14 Pedro Alves <palves@redhat.com>
3330 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3331 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3333 2014-07-14 Pedro Alves <palves@redhat.com>
3335 * gdb.base/double-prompt-target-event-error.c: New file.
3336 * gdb.base/double-prompt-target-event-error.exp: New file.
3338 2014-07-14 Pedro Alves <palves@redhat.com>
3341 * gdb.base/paginate-inferior-exit.c: New file.
3342 * gdb.base/paginate-inferior-exit.exp: New file.
3344 2014-07-14 Pedro Alves <palves@redhat.com>
3347 * gdb.base/paginate-bg-execution.c: New file.
3348 * gdb.base/paginate-bg-execution.exp: New file.
3350 2014-07-14 Pedro Alves <palves@redhat.com>
3353 * gdb.base/paginate-execution-startup.c: New file.
3354 * gdb.base/paginate-execution-startup.exp: New file.
3355 * lib/gdb.exp (pagination_prompt): New global.
3356 (default_gdb_spawn): New procedure, factored out from
3358 (default_gdb_start): Adjust to call default_gdb_spawn.
3359 (gdb_spawn): New procedure.
3361 2014-07-14 Pedro Alves <palves@redhat.com>
3363 * lib/gdb.exp (gdb_assert): New procedure.
3364 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3366 2014-07-14 Pedro Alves <palves@redhat.com>
3368 * gdb.base/execution-termios.c: New file.
3369 * gdb.base/execution-termios.exp: New file.
3371 2014-07-14 Tom Tromey <tromey@redhat.com>
3373 * gdb.cp/vla-cxx.cc: New file.
3374 * gdb.cp/vla-cxx.exp: New file.
3376 2014-07-14 Tom Tromey <tromey@redhat.com>
3378 * gdb.reverse/rerun-prec.c: New file.
3379 * gdb.reverse/rerun-prec.exp: New file.
3381 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3382 Maciej W. Rozycki <macro@codesourcery.com>
3384 * lib/gdb-utils.exp: New file.
3385 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3386 inline `gdb_init_command' processing.
3387 (gdb_start_cmd): Likewise.
3388 * lib/mi-support.exp (mi_run_cmd): Likewise.
3389 * README: Document `gdb_init_command' and `gdb_init_commands'.
3391 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3393 Fix false FAIL running under a very long directory name.
3394 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3395 and "set print elements 10000". Twice.
3397 2014-07-11 Yao Qi <yao@codesourcery.com>
3399 * gdb.base/exprs.exp: "set print symbol off".
3401 2014-07-11 Pedro Alves <palves@redhat.com>
3403 * gdb.threads/kill.c: New file.
3404 * gdb.threads/kill.exp: New file.
3406 2014-07-10 Yao Qi <yao@codesourcery.com>
3408 * gdb.trace/tfile.c (write_basic_trace_file)
3409 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3410 address written to trace file.
3412 2014-07-09 Pedro Alves <palves@redhat.com>
3414 * gdb.base/attach-wait-input.exp: New file.
3415 * gdb.base/attach-wait-input.c: New file.
3417 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3419 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3420 setting up test structures.
3421 (main): Call new test function.
3422 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3423 test function, continue into test function and walk test
3426 2014-07-02 Yao Qi <yao@codesourcery.com>
3428 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3429 'bar_start' at the beginning of functions 'foo' and 'bar'
3431 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3432 instead of 'foo' and 'bar'.
3434 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3436 * gdb.btrace/segv.exp: New.
3437 * gdb.btrace/segv.c: New.
3439 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3441 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3444 2014-06-30 Mark Wielaard <mjw@redhat.com>
3446 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3447 vulture, vilify, villar): New volatile array constants.
3448 (vindictive, vegetation): New const volatile array constants.
3449 * gdb.base/volatile.exp: Test volatile and const volatile array
3452 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3454 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3455 target lacks support for awatch, rwatch, or hbreak.
3457 2014-06-27 Yao Qi <yao@codesourcery.com>
3459 * gdb.multi/dummy-frame-restore.exp: New.
3460 * gdb.multi/dummy-frame-restore.c: New.
3462 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3464 * gdb.btrace/gcore.exp: New.
3466 2014-06-23 Pedro Alves <palves@redhat.com>
3468 * gdb.base/watchpoint-reuse-slot.c: New file.
3469 * gdb.base/watchpoint-reuse-slot.exp: New file.
3471 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3473 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3474 progspace's filename in 'info', 'enable' and 'disable' command
3477 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3479 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3480 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3481 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3483 2014-06-20 Gary Benson <gbenson@redhat.com>
3485 * gdb.arch/i386-avx.exp: Fix include file location.
3486 * gdb.arch/i386-sse.exp: Likewise.
3488 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3490 * gdb.dlang/expression.exp: New file.
3492 2014-06-19 Pedro Alves <palves@redhat.com>
3494 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3496 (top level): ... here. Iterate running tests under different
3497 scheduler-locking settings.
3499 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3501 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3502 to DW_FORM_addr and use non-zero addresses.
3504 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3507 * gdb.python/py-xmethods.cc: Add global function call counters and
3508 increment them in their respective functions. Remove "cout"
3510 * gdb.python/py-xmethods.exp: Make tests check the global function
3511 call counters instead of depending on inferior IO.
3513 2014-06-18 Don Breazeal <donb@codesourcery.com>
3515 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3517 (explicit_fork_parent_follow): Deleted procedure.
3518 (explicit_fork_child_follow): Deleted procedure.
3519 (test_follow_fork): New procedure.
3520 (do_fork_tests): Replace calls to deleted procedures with
3521 calls to test_follow_fork and reset GDB for subsequent
3524 2014-06-17 Yao Qi <yao@codesourcery.com>
3526 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3529 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3531 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3532 Initialize ptr and S explicitly.
3533 (skip_type_update_when_not_use_rtti_test): Likewise.
3535 2014-06-16 Keith Seitz <keiths@redhat.com>
3538 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3539 the inferior is started.
3541 2014-06-16 Pedro Alves <palves@redhat.com>
3543 * gdb.base/break-main-file-remove-fail.c: New file.
3544 * gdb.base/break-main-file-remove-fail.exp: New file.
3545 * gdb.base/break-unload-file.exp: Use build_executable instead of
3546 prepare_for_testing.
3547 (test_break): New parameter "initial_load". Handle it.
3548 (top level): Add initial_load cmdline/file axis.
3550 2014-06-12 Tom Tromey <tromey@redhat.com>
3552 * gdb.base/completion.exp: Don't use directory name in test.
3554 2014-06-09 Gary Benson <gbenson@redhat.com>
3556 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3557 separate the always-available ANSI-standard signals from the
3558 signals that require checking.
3560 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3564 2014-06-07 Keith Seitz <keiths@redhat.com>
3568 * gdb.cp/var-tag.cc: New file.
3569 * gdb.cp/var-tag.exp: New file.
3570 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3571 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3572 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3573 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3575 2014-06-06 Doug Evans <xdje42@gmail.com>
3577 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3579 2014-06-06 Pedro Alves <palves@redhat.com>
3581 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3582 in target debug output instead of looking at RSP packets,
3583 disabling the test on any target that uses hardware stepping.
3586 2014-06-06 Pedro Alves <palves@redhat.com>
3588 * gdb.base/break-unload-file.exp: Fix typo.
3590 2014-06-06 Yao Qi <yao@codesourcery.com>
3592 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3593 from "jit_function" to "^jit_function".
3595 2014-06-06 Yao Qi <yao@codesourcery.com>
3597 * gdb.base/async.c (foo): Add one statement.
3598 * gdb.base/async.exp: Get the next instruction address and
3599 match the output of "nexti" by instruction address. Match
3600 the hex address in the output of "finish".
3602 2014-06-06 Gary Benson <gbenson@redhat.com>
3604 * gdb.base/call-signals.c: Remove preprocessor conditionals
3605 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3606 SIGSEGV and SIGTERM.
3607 * gdb.base/sigall.c: Likewise.
3608 * gdb.base/unwindonsignal.c: Likewise.
3609 * gdb.reverse/sigall-reverse.c: Likewise.
3611 2014-06-06 Yao Qi <yao@codesourcery.com>
3613 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3614 readable, skip the test.
3616 2014-06-06 Yao Qi <yao@codesourcery.com>
3618 * gdb.threads/staticthreads.c (thread_function): Move the line
3619 setting breakpoint on forward.
3620 * gdb.threads/staticthreads.exp: Update comments.
3622 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3624 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3625 "history-append! type error".
3627 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3629 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3630 erroneous dprintf expected input.
3632 2014-06-04 Doug Evans <xdje42@gmail.com>
3634 * gdb.guile/scm-generics.exp: Delete.
3636 2014-06-04 Doug Evans <xdje42@gmail.com>
3638 * gdb.guile/scm-breakpoint.exp: Update.
3639 Add tests for breakpoint registration.
3641 2014-06-04 Tom Tromey <tromey@redhat.com>
3643 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3645 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3646 inner_vla_struct, vla_union types. Initialize objects of those
3647 types and compute their sizes.
3649 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3650 Hui Zhu <hui@codesourcery.com>
3652 * gdb.base/fileio.exp: Add test for shell not available as well as
3654 * gdb.base/fileio.c (test_system): Check for shell twice.
3656 2014-06-04 Yao Qi <yao@codesourcery.com>
3658 * gdb.base/auto-connect-native-target.exp: Remove redundant
3659 space from the regexp pattern.
3661 2014-06-04 Yao Qi <yao@codesourcery.com>
3663 * gdb.base/default.exp: Replace "child" with "native" in
3666 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3668 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3669 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3670 * gdb.python/py-xmethods.py: Python script supporting the
3671 new testcase and tests.
3673 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3674 Pedro Alves <palves@redhat.com>
3676 PR breakpoints/17000
3677 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3678 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3680 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3682 * gdb.base/subst.exp: Add tests to verify partial path matching
3685 2014-06-03 Pedro Alves <palves@redhat.com>
3687 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3688 target that doesn't use software single-stepping.
3690 2014-06-03 Pedro Alves <palves@redhat.com>
3692 PR breakpoints/17000
3693 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3694 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3696 2014-06-02 Doug Evans <xdje42@gmail.com>
3698 * gdb.guile/scm-parameter.exp: New file.
3700 2014-06-02 Doug Evans <xdje42@gmail.com>
3702 * gdb.guile/scm-cmd.c: New file.
3703 * gdb.guile/scm-cmd.exp: New file.
3705 2014-06-02 Doug Evans <xdje42@gmail.com>
3707 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3708 pretty-printer lookup.
3709 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3710 (make-pp_s-printer): Call it.
3711 (make-pretty-printer-from-dict): New function.
3712 (lookup-pretty-printer-maker-from-dict): New function.
3713 (*pretty-printer*): Simplify.
3714 (make-objfile-pp_s-printer): New function.
3715 (install-objfile-pretty-printers!): New function.
3716 (make-progspace-pp_s-printer): New function.
3717 (install-progspace-pretty-printers!): New function.
3718 * gdb.guile/scm-progspace.c: New file.
3719 * gdb.guile/scm-progspace.exp: New file.
3721 2014-06-02 Pedro Alves <palves@redhat.com>
3723 * gdb.base/dprintf-bp-same-addr.c: New file.
3724 * gdb.base/dprintf-bp-same-addr.exp: New file.
3726 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3728 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3729 * gdb.arch/powerpc-power.s: Likewise.
3731 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3733 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3735 2014-06-01 Yao Qi <yao@codesourcery.com>
3737 * gdb.base/watchpoint.exp (test_watch_location): Check null
3738 pointer can be dereferenced. If not, do the test, otherwise
3741 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3743 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3745 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3747 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3749 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3750 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3751 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3752 * gdb.arch/amd64-invalid-stack-top.c: New file.
3753 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3755 2014-05-30 Pedro Alves <palves@redhat.com>
3757 PR breakpoints/17000
3758 * gdb.base/sss-bp-on-user-bp.c: New file.
3759 * gdb.base/sss-bp-on-user-bp.exp: New file.
3761 2014-05-30 David Blaikie <dblaikie@gmail.com>
3763 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3764 gnu_inline semantics via attribute.
3765 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3766 source explicitly specifies the required semantics.
3768 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3770 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3772 2014-05-29 Pedro Alves <palves@redhat.com>
3773 Tom Tromey <tromey@redhat.com>
3775 * gdb.base/async-shell.exp: Don't enable target-async.
3776 * gdb.base/async.exp
3777 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3779 (top level): Don't test with "target-async".
3780 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3781 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3782 * gdb.base/inferior-died.exp: Don't enable target-async.
3783 * gdb.base/interrupt-noterm.exp: Likewise.
3784 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3785 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3786 * gdb.mi/mi-nonstop.exp: Likewise.
3787 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3788 * gdb.mi/mi-nsintrall.exp: Likewise.
3789 * gdb.mi/mi-nsmoribund.exp: Likewise.
3790 * gdb.mi/mi-nsthrexec.exp: Likewise.
3791 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3792 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3793 * gdb.python/py-evsignal.exp: Don't enable target-async.
3794 * gdb.python/py-evthreads.exp: Likewise.
3795 * gdb.python/py-prompt.exp: Likewise.
3796 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3797 * gdb.server/solib-list.exp: Don't enable target-async.
3798 * gdb.threads/thread-specific-bp.exp: Likewise.
3799 * lib/mi-support.exp: Adjust to use mi-async.
3801 2014-05-29 Pedro Alves <palves@redhat.com>
3804 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3805 reason, even in sync mode.
3807 2014-05-29 Pedro Alves <palves@redhat.com>
3808 Hui Zhu <hui@codesourcery.com>
3811 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3812 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3813 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3814 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3816 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3818 * config/monitor.exp (gdb_target_monitor): Replace use of
3819 "set remotebaud" by "set serial baud".
3821 2014-05-26 Andy Wingo <wingo@igalia.com>
3823 * gdb.guile/scm-breakpoint.exp:
3824 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3825 properties instead of gdb-object-properties.
3827 2014-05-26 Yao Qi <yao@codesourcery.com>
3829 * gdb.server/no-thread-db.exp: Specify source file name
3830 explicitly when setting a breakpoint.
3832 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3834 * gdb.btrace/vdso.c: New.
3835 * gdb.btrace/vdso.exp: New.
3837 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3839 * gdb.base/gcore.exp (capture_command_output): Move ...
3840 * lib/gdb.exp (capture_command_output): ... here.
3842 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3844 * gdb.btrace/data.exp: Test memory access during btrace replay.
3846 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3848 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3850 2014-05-21 Pedro Alves <palves@redhat.com>
3853 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3854 (top level): Test that output related to execution commands is
3855 sent to the console with CLI commands, but not with MI commands.
3856 Test that breakpoint events are always mirrored to the console.
3857 Also expect the new source line to be output after a "next" in
3858 async mode too. Make it a pass/fail test.
3859 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3861 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3863 2014-05-21 Pedro Alves <palves@redhat.com>
3865 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3866 Use them to test variations of "list" after reaching a breakpoint.
3867 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3868 Test "list" with listsize 10 after reaching a breakpoint.
3869 * gdb.python/python.exp (decode_line current location line
3870 number): Adjust expected line number.
3872 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3874 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3875 behavior for $args, pass it directly to "run".
3877 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3879 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3882 2014-05-21 Pedro Alves <palves@redhat.com>
3884 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3885 auto-connect-native-target off".
3886 * gdb.base/auto-connect-native-target.c: New file.
3887 * gdb.base/auto-connect-native-target.exp: New file.
3889 2014-05-21 Pedro Alves <palves@redhat.com>
3891 * gdb.base/default.exp: Test "target native" instead of "target
3894 2014-05-21 Mark Wielaard <mjw@redhat.com>
3896 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3898 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3900 Fix TLS access for -static -pthread.
3901 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3902 <HAVE_TLS> (thread_function, main): Initialize it.
3903 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3905 <$have_tls != "">: Check TLSVAR.
3907 2014-05-21 Pedro Alves <palves@redhat.com>
3909 * gdb.base/dcache-line-read-error.c: New.
3910 * gdb.base/dcache-line-read-error.exp: New.
3912 2014-05-20 Pedro Alves <palves@redhat.com>
3914 * gdb.base/compare-sections.c: New file.
3915 * gdb.base/compare-sections.exp: New file.
3917 2014-05-20 Pedro Alves <palves@redhat.com>
3919 * gdb.base/break-idempotent.c: New file.
3920 * gdb.base/break-idempotent.exp: New file.
3922 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3924 * gdb.btrace/nohist.exp: New.
3926 2014-05-20 Yao Qi <yao@codesourcery.com>
3928 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3929 gdb.reverse directory and gdb_reverse_timeout exists in board
3931 * README: Document gdb_reverse_timeout.
3933 2014-05-20 Yao Qi <yao@codesourcery.com>
3935 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3936 'test_file_name'. Treat args as a string instead of a list.
3937 (gdb_init): Rename argument 'args' by 'test_file_name'.
3939 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3941 * gdb.arch/powerpc-power.exp: New file.
3942 * gdb.arch/powerpc-power.s: New file.
3944 2014-05-16 Doug Evans <dje@google.com>
3946 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3947 * gdb.base/completion.exp: Check that all expected files exist
3948 before doing file completion.
3950 2014-05-16 Doug Evans <dje@google.com>
3952 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3954 (do_syscall_tests_without_xml): Update.
3956 2014-05-16 Pedro Alves <palves@redhat.com>
3958 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3959 instead of "unknown output after running".
3961 2014-05-16 Yao Qi <yao@codesourcery.com>
3963 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3964 file1.txt from host at the end.
3965 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3967 2014-05-15 Doug Evans <dje@google.com>
3969 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3970 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3971 loading file. Add test for TU lookup.
3973 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3975 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3976 calling "-exec-arguments" or "set args" before running the
3979 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3981 * lib/mi-support.exp (mi_expect_stop): Expect message for
3982 inferiors that exit with non-zero exit code.
3984 2014-05-14 Yao Qi <yao@codesourcery.com>
3986 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3987 match absolute path on remote host.
3988 (test_file_list_exec_source_files): Remove "/" from the
3991 2014-05-14 Yao Qi <yao@codesourcery.com>
3993 * boards/local-remote-host-notty.exp (${board}_file): New
3996 2014-05-07 Kyle McMartin <kyle@redhat.com>
3998 Pushed by Joel Brobecker <brobecker@adacore.com>.
3999 * gdb.arch/aarch64-atomic-inst.c: New file.
4000 * gdb.arch/aarch64-atomic-inst.exp: New file.
4002 2014-05-07 Yao Qi <yao@codesourcery.com>
4004 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
4005 in current context" too.
4007 2014-05-05 Keith Seitz <keiths@redhat.com>
4009 * gdb.linespec/ls-dollar.exp: Add test for linespec
4010 file:convenience_variable.
4012 2014-05-05 Yao Qi <yao@codesourcery.com>
4014 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
4015 traceframes into tfile and ctf trace files. Read data from
4016 trace file and test collected data.
4017 (gdb_collect_locals_test): Likewise.
4018 (gdb_unavailable_registers_test): Likewise.
4019 (gdb_unavailable_floats): Likewise.
4020 (gdb_collect_globals_test): Likewise.
4021 (top-level): Append "ctf" to trace_file_targets if GDB
4024 2014-05-05 Yao Qi <yao@codesourcery.com>
4026 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
4028 (gdb_collect_args_test_1): ... it. New proc.
4029 (gdb_collect_locals_test): Move some code to ...
4030 (gdb_collect_locals_test_1): ... it. New proc.
4031 (gdb_unavailable_registers_test): Move some code to ...
4032 (gdb_unavailable_registers_test_1): ... it. New proc.
4033 (gdb_unavailable_floats): Move some code to ...
4034 (gdb_unavailable_floats_1): ... it. New proc.
4036 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4038 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
4039 probes to test for bitness recognition.
4040 * gdb.arch/amd64-stap-optional-prefix.exp
4041 (test_probe_value_without_reg): New procedure.
4042 Add code to test for different kinds of bitness.
4044 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4046 PR breakpoints/16889
4047 * gdb.arch/amd64-stap-optional-prefix.S: New file.
4048 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
4050 2014-05-01 Pedro Alves <palves@redhat.com>
4052 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
4053 gdb_file_cmd if no file is specified.
4054 * boards/native-extended-gdbserver.exp (gdb_load): Use the
4055 last_loaded_file to set the remote exec-file.
4057 2014-05-01 Pedro Alves <palves@redhat.com>
4059 * boards/local-remote-host.exp: New file.
4061 2014-05-01 Pedro Alves <palves@redhat.com>
4063 * boards/local-remote-host.exp: Rename to ...
4064 * boards/local-remote-host-notty.exp: ... this.
4066 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4068 * gdb.ada/dyn_arrayidx: New testcase.
4070 2014-04-26 Yao Qi <yao@codesourcery.com>
4072 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
4073 and compute the length of function main. Save it in
4075 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
4076 (top-level): Use gdb_compile to compile objects into
4077 executable and restart GDB. Remove invocation to
4078 prepare_for_testing.
4080 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
4081 Pedro Alves <palves@redhat.com>
4084 * gdb.multi/multi-attach.c: New file.
4085 * gdb.multi/multi-attach.exp: New file.
4087 2014-04-25 Pedro Alves <palves@redhat.com>
4089 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4091 (top level): Test that "set remote conditional-breakpoints-packet
4092 off" works as intended.
4093 * gdb.base/dprintf.exp: Test that "set remote
4094 breakpoint-commands-packet off" works as intended.
4095 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4097 (top level): Call it.
4098 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4099 remote fast-tracepoints-packet off" works as intended.
4100 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4101 * lib/gdb.exp (gdb_is_target_remote): ... here.
4103 2014-04-24 David Blaikie <dblaikie@gmail.com>
4105 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4106 ensure clang would not discard them.
4107 * gdb.base/gdbvars.c: Ditto.
4108 * gdb.base/memattr.c: Ditto.
4109 * gdb.base/whatis.c: Ditto.
4110 * gdb.python/py-prettyprint.c: Ditto.
4111 * gdb.trace/actions.c: Ditto.
4112 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4113 ensure clang would not discard it.
4115 2014-04-24 David Blaikie <dblaikie@gmail.com>
4117 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4118 clang to emit the full definition of type required by the test
4119 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4121 2014-04-24 David Blaikie <dblaikie@gmail.com>
4123 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4124 coax Clang into emitting the definition of the type.
4125 * gdb.cp/pr10728-x.h (y): Ditto.
4126 * gdb.cp/pr10728-y.cc (y): Ditto.
4128 2014-04-24 David Blaikie <dblaikie@gmail.com>
4130 * gdb.base/label.exp: XFAIL label related tests under Clang.
4131 * gdb.cp/cplabel.exp: Ditto.
4132 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4133 under Clang those using labels.
4135 2014-04-25 Yao Qi <yao@codesourcery.com>
4137 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4139 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4140 partial_label and double_label.
4142 2014-04-24 David Blaikie <dblaikie@gmail.com>
4144 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4146 2014-04-24 David Blaikie <dblaikie@gmail.com>
4148 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4149 of the function to work across GCC and Clang.
4150 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4151 pointer types (const void ** const V void **).
4153 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4154 Walfred Tedeschi <walfred.tedeschi@intel.com>
4156 * Makefile.in (EXECUTABLES): Added i386-avx512.
4157 * gdb.arch/i386-avx512.c: New file.
4158 * gdb.arch/i386-avx512.exp: Likewise.
4160 2014-04-23 Keith Seitz <keiths@redhat.com>
4162 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4163 (mi_make_breakpoint_table): New procedure.
4164 (mi_create_breakpoint): Use mi_make_breakpoint
4165 and return the result.
4166 (mi_make_breakpoint): New procedure.
4167 (mi_build_kv_pairs): New procedure.
4169 * gdb.mi/mi-break.exp: Remove unused globals,
4170 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4171 All callers updated.
4172 * gdb.mi/mi-dprintf.exp: Use variable to track command
4174 Update all callers of mi_create_breakpoint and use
4175 mi_make_breakpoint_table.
4176 Remove any unused global variables.
4177 * gdb.mi/mi-nonstop.exp: Likewise.
4178 * gdb.mi/mi-nsintrall.exp: Likewise.
4179 * gdb.mi/mi-nsmoribund.exp: Likewise.
4180 * gdb.mi/mi-nsthrexec.exp: Likewise.
4181 * gdb.mi/mi-reverse.exp: Likewise.
4182 * gdb.mi/mi-simplerun.exp: Likewise.
4183 * gdb.mi/mi-stepn.exp: Likewise.
4184 * gdb.mi/mi-syn-frame.exp: Likewise.
4185 * gdb.mi/mi-until.exp: Likewise.
4186 * gdb.mi/mi-var-cp.exp: Likewise.
4187 * gdb.mi/mi-var-display.exp: Likewise.
4188 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4189 * gdb.mi/mi2-var-child.exp: Likewise.
4190 * gdb.mi/mi-vla-c99.exp: Likewise.
4191 * lib/mi-support.exp: Likewise.
4193 From Ian Lance Taylor <iant@cygnus.com>:
4194 * lib/gdb.exp (parse_args): New procedure.
4196 2014-04-23 Pedro Alves <palves@redhat.com>
4198 * gdb.base/break-unload-file.c: New file.
4199 * gdb.base/break-unload-file.exp: New file.
4200 * gdb.base/sym-file-lib.c (baz): New function.
4201 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4203 (load): Store the segment's mapped size.
4204 (unload): New function.
4205 (unload_shlib): New function.
4206 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4207 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4208 set a breakpoint at baz, and call it.
4209 * gdb.base/sym-file.exp: New tests for stale breakpoint
4212 2014-04-23 Pedro Alves <palves@redhat.com>
4214 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4215 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4216 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4217 * gdb.base/hbreak-unmapped.c: New file.
4218 * gdb.base/hbreak-unmapped.exp: New file.
4219 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4220 * lib/gdb.exp (gdb_is_target_remote): ... here.
4222 2014-04-22 Pedro Alves <palves@redhat.com>
4224 * gdb.base/consecutive-step-over.c: New file.
4225 * gdb.base/consecutive-step-over.exp: New file.
4227 2014-04-22 Pedro Alves <palves@redhat.com>
4229 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4230 instead of send_gdb/gdb_expect.
4232 2014-04-22 Yao Qi <yao@codesourcery.com>
4234 * lib/trace-support.exp (generate_tracefile): New procedure.
4235 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4237 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4238 if generate_tracefile returns 1.
4240 2014-04-18 Tom Tromey <palves@redhat.com>
4241 Pedro alves <tromey@redhat.com>
4244 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4245 with a backtrace limit.
4246 * gdb.python/py-frame-inline.exp: Test running to an inline
4247 function with a backtrace limit, and printing the newest frame.
4248 * gdb.python/py-frame-inline.c (main): Call f.
4250 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4252 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4254 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4256 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4257 Drop prefix from unsupported source file path.
4259 2014-04-17 Yao Qi <yao@codesourcery.com>
4261 * lib/gdb.exp (with_target_charset): New proc.
4262 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4263 with_target_charset.
4264 (test_print_strings): Likewise.
4265 (test_repeat_bytes): Likewise.
4266 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4269 2014-04-16 Keith Seitz <keiths@redhat.com>
4272 * gdb.dwarf2/corrupt.c: New file.
4273 * gdb.dwarf2/corrupt.exp: New file.
4275 2014-04-16 Keith Seitz <keiths@redhat.com>
4278 * gdb.cp/namelessclass.cc: New file.
4279 * gdb.cp/namelessclass.exp: New file.
4280 * gdb.cp/namelessclass.S: New file.
4282 2014-04-16 Doug Evans <dje@google.com>
4284 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4286 (gdbserver_default_get_comm_port): New function.
4287 (gdbserver_start): Check if board file provided
4288 "gdbserver,get_comm_port" and use it if so.
4289 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4290 (gdb,socketport): Set to "stdio".
4291 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4292 (stdio_gdbserver_template): Delete.
4293 (${board}_get_remote_address): Update.
4294 (${board}_build_remote_cmd): Delete.
4295 (${board}_get_comm_port): New function.
4296 (${board}_spawn): Update.
4297 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4299 (${board}_get_remote_address): Update.
4300 (${board}_get_comm_port): New function.
4302 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4304 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4305 appearing in any order.
4307 2014-04-15 Doug Evans <dje@google.com>
4309 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4310 uninitialized value of "description".
4312 2014-04-15 Keith Seitz <keiths@redhat.com>
4314 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4315 Remove unused globals.
4316 (test_running_the_program): Likewise.
4317 (test_controlled_execution): Likewise.
4318 (test_controlling_breakpoints): Likewise.
4319 (test_program_termination): Likewise.
4321 2014-04-15 Keith Seitz <keiths@redhat.com>
4323 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4325 (test_rbreak_creation_and_listing): Likewise.
4326 (test_ignore_count): Likewise.
4327 (test_error): Likewise.
4329 2014-04-15 Pedro Alves <palves@redhat.com>
4331 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4332 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4334 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4335 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4336 to sym-file-loader.c.
4337 (struct library): Forward declare.
4338 (load_shlib, lookup_function): Change prototypes.
4339 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4340 (translate_offset): Remove declarations.
4341 (get_text_addr): New declaration.
4342 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4343 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4345 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4346 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4347 here from sym-file-loader.h.
4348 (struct library): New structure.
4349 (load_shlib, lookup_function): Change prototypes and adjust to
4350 work with a struct library.
4351 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4352 (translate_offset): Make static.
4353 (get_text_addr): New function.
4354 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4356 2014-04-15 Pedro Alves <palves@redhat.com>
4358 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4360 2014-04-15 Pedro Alves <palves@redhat.com>
4362 * gdb.base/sym-file-loader.c: Include <limits.h>.
4363 (SELF_LINK): New define.
4364 (get_origin): New function.
4365 (load_shlib): Use it.
4366 * gdb.base/sym-file.exp: Don't early return if the target is
4367 remote. Use runto_main, and issue fail is that fails. Use
4369 (shlib_name): Delete.
4370 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4372 2014-04-15 Pedro Alves <palves@redhat.com>
4374 * gdb.base/sym-file.exp: Remove regex characters from test
4375 message. Don't refer to breakpoint numbers in test messages.
4377 2014-04-14 Keith Seitz <keiths@redhat.com>
4380 * gdb.cp/var-tag.cc: New file.
4381 * gdb.cp/var-tag.exp: New file.
4382 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4383 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4384 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4385 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4387 2014-04-14 Tom Tromey <tromey@redhat.com>
4389 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4390 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4392 * gdb.cp/enum-class.exp: New file.
4393 * gdb.cp/enum-class.cc: New file.
4395 2014-04-14 Tom Tromey <tromey@redhat.com>
4397 * gdb.dwarf2/enum-type.exp: New file.
4399 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4401 * gdb.mi/mi-vla-c99.exp: New file.
4402 * gdb.mi/vla.c: New file.
4404 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4406 * gdb.base/vla-datatypes.c: New file.
4407 * gdb.base/vla-datatypes.exp: New file.
4409 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4411 * gdb.base/vla-ptr.c: New file.
4412 * gdb.base/vla-ptr.exp: New file.
4414 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4416 * gdb.dwarf2/count.exp: New file.
4418 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4420 * gdb.base/vla-sideeffect.c: New file.
4421 * gdb.base/vla-sideeffect.exp: New file.
4423 2014-04-14 David Blaikie <dblaikie@gmail.com>
4425 * gdb.mi/non-stop.c: Add return value for non-void function return
4427 * gdb.threads/staticthreads.c: Ditto.
4429 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4430 Doug Evans <xdje42@gmail.com>
4432 * gdb.guile/scm-value.c: Improve test case.
4433 * gdb.guile/scm-value.exp: Add new test.
4435 2014-04-11 David Blaikie <dblaikie@gmail.com>
4437 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4438 override Clang's default.
4440 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4442 Revert the following changes (regressions):
4444 * gdb.base/vla-sideeffect.c: New file.
4445 * gdb.base/vla-sideeffect.exp: New file.
4447 * gdb.dwarf2/count.exp: New file.
4449 * gdb.base/vla-multi.c: New file.
4450 * gdb.base/vla-multi.exp: New file.
4452 * gdb.base/vla-ptr.c: New file.
4453 * gdb.base/vla-ptr.exp: New file.
4455 * gdb.base/vla-datatypes.c: New file.
4456 * gdb.base/vla-datatypes.exp: New file.
4458 * gdb.mi/mi-vla-c99.exp: New file.
4459 * gdb.mi/vla.c: New file.
4461 2014-04-11 Keith Seitz <keiths@redhat.com>
4464 * gdb.cp/cpsizeof.exp: New file.
4465 * gdb.cp/cpsizeof.cc: New file.
4467 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4469 * gdb.mi/mi-vla-c99.exp: New file.
4470 * gdb.mi/vla.c: New file.
4472 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4474 * gdb.base/vla-datatypes.c: New file.
4475 * gdb.base/vla-datatypes.exp: New file.
4477 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4479 * gdb.base/vla-ptr.c: New file.
4480 * gdb.base/vla-ptr.exp: New file.
4482 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4484 * gdb.base/vla-multi.c: New file.
4485 * gdb.base/vla-multi.exp: New file.
4487 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4489 * gdb.dwarf2/count.exp: New file.
4491 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4493 * gdb.base/vla-sideeffect.c: New file.
4494 * gdb.base/vla-sideeffect.exp: New file.
4496 2014-04-11 Yao Qi <yao@codesourcery.com>
4498 * gdb.base/completion.exp: Check file exists before running tests
4501 2014-04-10 Pedro Alves <palves@redhat.com>
4503 * gdb.base/cond-eval-mode.c: New file.
4504 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4505 prepare_for_testing to build the new file. Check result of
4507 (test_break, test_watch): New procedures.
4508 (top level): Use them.
4510 2014-04-08 Pierre Muller <muller@sourceware.org>
4512 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4513 Ctrl-V use for mingw hosts.
4515 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4517 * gdb.python/py-value.c: Improve test case.
4518 * gdb.python/py-value.exp: Add new test.
4520 2014-04-07 David Blaikie <dblaikie@gmail.com>
4522 * lib/compiler.c: Identify the clang compiler.
4523 * lib/compiler.cc: Ditto.
4525 2014-04-03 Yao Qi <yao@codesourcery.com>
4527 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4529 2014-04-01 Anton Blanchard <anton@samba.org>
4531 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4534 2014-04-01 Anton Blanchard <anton@samba.org>
4536 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4537 prepare_for_testing.
4539 2014-04-01 Anton Blanchard <anton@samba.org>
4541 * gdb.arch/ppc64-atomic-inst.c: Remove.
4542 * gdb.arch/ppc64-atomic-inst.S: New file.
4543 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4545 2014-03-31 Doug Evans <dje@google.com>
4547 * gdb.base/print-symbol-loading-lib.c: New file.
4548 * gdb.base/print-symbol-loading-main.c: New file.
4549 * gdb.base/print-symbol-loading.exp: New file.
4551 2014-03-31 Yao Qi <yao@codesourcery.com>
4553 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4555 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4557 * gdb.ada/mi_dyn_arr: New testcase.
4559 2014-03-27 Doug Evans <dje@google.com>
4561 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4563 2014-03-27 Yao Qi <yao@codesourcery.com>
4565 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4566 if target is nios2-*-*.
4568 2014-03-26 Yao Qi <yao@codesourcery.com>
4570 * lib/gdb.exp (readline_is_used): New proc.
4571 * gdb.base/completion.exp: Move tests on command complete up.
4572 Skip the rest of tests if readline is not used.
4573 * gdb.ada/complete.exp: Skp the test if readline is not
4575 * gdb.base/filesym.exp: Likewise.
4576 * gdb.base/macscp.exp: Likewise.
4577 * gdb.base/readline-ask.exp: Likewise.
4578 * gdb.base/readline.exp: Likewise.
4579 * gdb.python/py-cmd.exp: Likewise.
4580 * gdb.trace/tfile.exp: Likewise.
4582 2014-03-26 Yao Qi <yao@codesourcery.com>
4584 * gdb.base/macscp.exp: Fix code format issues.
4586 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4588 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4589 * gdb.asm/powerpc64le.inc: New file.
4591 2014-03-25 Pedro Alves <palves@redhat.com>
4592 Doug Evans <dje@google.com>
4594 * gdb.base/source-execution.c: New file.
4595 * gdb.base/source-execution.exp: New file.
4596 * gdb.base/source-execution.gdb: New file.
4598 2014-03-24 Doug Evans <dje@google.com>
4600 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4603 2014-03-24 Hui Zhu <hui@codesourcery.com>
4604 Pedro Alves <palves@redhat.com>
4606 PR breakpoints/16101
4607 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4608 test pass/fail messages. Detect missing support for dprintf when
4609 breakpoints are actually inserted.
4610 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4611 breakpoints are actually inserted.
4612 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4615 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4617 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4619 2014-03-22 Doug Evans <xdje42@gmail.com>
4621 * gdb.python/python.exp (python not supported): Verify multi-line
4622 python command issues an error.
4623 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4624 guile command issues an error.
4626 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4628 * gdb.threads/thread-specific.exp: Handle the lack of usable
4629 $this_breakpoint and $this_thread.
4631 2014-03-21 Hui Zhu <hui@codesourcery.com>
4633 * gdb.base/attach.exp (do_command_attach_tests): New.
4635 2014-03-20 Tom Tromey <tromey@redhat.com>
4636 Pedro Alves <palves@redhat.com>
4639 * gdb.base/condbreak-call-false.c: New file.
4640 * gdb.base/condbreak-call-false.exp: New file.
4642 2014-03-20 Pedro Alves <palves@redhat.com>
4644 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4646 (block_signals, unblock_signals): Delete.
4647 (child_function_2, main): Remove references to deleted variable
4650 2014-03-20 Pedro Alves <palves@redhat.com>
4652 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4653 Use pthread_kill to signal thread 2.
4654 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4655 Adjust to make the test send itself a signal rather than using the
4656 host's "kill" command.
4658 2014-03-20 Pedro Alves <palves@redhat.com>
4660 * gdb.threads/multiple-step-overs.c: New file.
4661 * gdb.threads/multiple-step-overs.exp: New file.
4662 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4663 Adjust expected infrun debug output.
4665 2014-03-20 Pedro Alves <palves@redhat.com>
4667 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4668 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4670 2014-03-20 Pedro Alves <palves@redhat.com>
4673 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4674 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4675 of gdb_test_multiple.
4676 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4677 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4679 2014-03-20 Pedro Alves <palves@redhat.com>
4681 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4682 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4684 2014-03-19 Pedro Alves <palves@redhat.com>
4686 * gdb.base/async.exp: Remove early return.
4688 2014-03-19 Pedro Alves <palves@redhat.com>
4690 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4692 2014-03-19 Pedro Alves <palves@redhat.com>
4694 * gdb.base/async.exp (test_background): Expect \r\n after
4695 "completed." in the fail pattern.
4697 2014-03-19 Pedro Alves <palves@redhat.com>
4699 * gdb.base/async.exp (test_background): New procedure.
4700 Use it for all background execution command tests.
4702 2014-03-19 Pedro Alves <palves@redhat.com>
4704 * gdb.base/async.exp: Use prepare_for_testing.
4706 2014-03-19 Pedro Alves <palves@redhat.com>
4708 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4711 2014-03-19 Pedro Alves <palves@redhat.com>
4713 * gdb.base/async.c (main): Add "jump here" and "until here" line
4715 * gdb.base/async.exp (jump_here): New global.
4716 (jump& test): Use it.
4717 (until_here): New global.
4718 (until& test): Use it.
4720 2014-03-19 Pedro Alves <palves@redhat.com>
4722 * gdb.base/async.exp: Don't frob gdb_protocol.
4724 2014-03-18 Doug Evans <xdje42@gmail.com>
4726 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4727 Fix spelling of exec-done-display.
4729 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4732 * gdb.base/gdb-sigterm.c: New file.
4733 * gdb.base/gdb-sigterm.exp: New file.
4735 2014-03-18 Pedro Alves <palves@redhat.com>
4738 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4739 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4742 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4744 * gdb.ada/pckd_arr_ren: New testcase.
4746 2014-03-13 Doug Evans <xdje42@gmail.com>
4749 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4750 collect after discarding symbols.
4752 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4753 Doug Evans <xdje42@gmail.com>
4755 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4756 to history survives a gc.
4758 2014-03-13 Pedro Alves <palves@redhat.com>
4760 * gdb.base/default.exp: Don't test "target procfs".
4762 2014-03-13 Pedro Alves <palves@redhat.com>
4764 * gdb.base/default.exp: Update "target child" and "target procfs"
4765 tests to not expect "Unix".
4767 2014-03-12 Tom Tromey <tromey@redhat.com>
4769 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4770 New procs. Add target-async tests.
4771 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4772 Add target-async tests.
4774 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4776 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4777 'func_start' and 'func_end' for the beginning and end of the
4778 function code, respectively.
4779 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4780 'func_end' instead of 'func' and 'main'.
4782 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4784 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4785 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4786 generate the debug info assembler source.
4788 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4790 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4791 * gdb.dwarf2/arr-subrange.exp: Likewise.
4792 * gdb.dwarf2/dwz.exp: Likewise.
4793 * gdb.dwarf2/method-ptr.exp: Likewise.
4794 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4795 * gdb.dwarf2/subrange.exp: Likewise.
4796 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4797 * gdb.dwarf2/implptrpiece.exp: Likewise.
4798 * gdb.dwarf2/nostaticblock.exp: Likewise.
4800 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4802 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4803 directory to absolute path name arguments.
4805 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4807 * gdb.ada/tagged_access: New testcase.
4809 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4811 * gdb.btrace/data.exp: Update expected output.
4813 2014-03-06 Yao Qi <yao@codesourcery.com>
4815 * gdb.trace/pr16508.exp: New file.
4817 2014-03-05 Pedro Alves <palves@redhat.com>
4820 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4822 (top level): Adjust to use it. Add tests that exercise breakpoint
4823 interaction with the code-cache.
4825 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4827 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4828 test for 'history-append!'.
4830 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4832 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4833 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4834 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4835 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4836 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4837 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4839 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4841 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4842 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4843 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4845 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4847 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4849 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4851 * gdb.dwarf2/arr-stride.c: New file.
4852 * gdb.dwarf2/arr-stride.exp: New file.
4854 2014-02-26 Pedro Alves <palves@redhat.com>
4856 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4857 that won't ever trigger. Make sure that GDB reports the correct
4858 breakpoint that caused the stop.
4860 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4863 * gdb.base/auto-load-script: New file.
4864 * gdb.base/auto-load.c: New file.
4865 * gdb.base/auto-load.exp: New file.
4868 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4870 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4872 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4873 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4875 2014-02-24 Doug Evans <dje@google.com>
4877 * lib/gdb.exp (run_on_host): Log error output if program fails.
4879 2014-02-21 Pedro Alves <palves@redhat.com>
4881 * gdb.threads/step-after-sr-lock.c: Rename to ...
4882 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4883 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4884 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4887 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4890 * gdb.arch/amd64-stap-special-operands.exp: New file.
4891 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4892 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4893 * gdb.arch/amd64-stap-triplet.S: Likewise.
4894 * gdb.arch/amd64-stap-triplet.c: Likewise.
4896 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4898 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4899 in .section pseudo-op.
4901 2014-02-20 lin zuojian <manjian2006@gmail.com>
4902 Joel Brobecker <brobecker@adacore.com>
4903 Doug Evans <xdje42@gmail.com>
4906 * gdb.dwarf2/dw2-icycle.S: New file.
4907 * gdb.dwarf2/dw2-icycle.c: New file.
4908 * gdb.dwarf2/dw2-icycle.exp: New file.
4910 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4912 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4913 operations on gdb.Value objects.
4914 * gdb.python/py-value-cc.exp: Add new test to test operations on
4917 2014-02-18 Doug Evans <dje@google.com>
4919 * Makefile.in (TESTS): New variable.
4920 (expanded_tests, expanded_tests_or_none): New variables
4921 (check-single): Pass $(expanded_tests_or_none) to runtest.
4922 (check-parallel): Only run tests in $(TESTS) if non-empty.
4923 (check/no-matching-tests-found): New rule.
4924 * README: Document TESTS makefile variable.
4926 2014-02-18 Doug Evans <dje@google.com>
4928 * Makefile.in (check-parallel): rm -rf outputs temp.
4930 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4932 Fix "ERROR: no fileid for" in the testsuite.
4933 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4935 2014-02-12 Doug Evans <dje@google.com>
4937 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4938 (MISCELLANEOUS): New variable.
4939 (clean): rm -rf $(MISCELLANEOUS).
4940 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4941 dwp live in the same directory as symlinks, with each symlink pointed
4942 to a differently named file in a different directory.
4944 2014-02-11 Doug Evans <dje@google.com>
4946 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4947 of Tcl file commands.
4949 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4951 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4954 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4956 * gdb.ada/tick_length_array_enum_idx: New testcase.
4958 2014-02-10 Doug Evans <xdje42@gmail.com>
4960 * configure.ac (AC_OUTPUT): Add gdb.guile.
4961 * configure: Regenerate.
4962 * lib/gdb-guile.exp: New file.
4963 * lib/gdb.exp (get_target_charset): New function.
4964 * gdb.base/help.exp: Update expected output from "apropos apropos".
4965 * gdb.guile/Makefile.in: New file.
4966 * gdb.guile/guile.exp: New file.
4967 * gdb.guile/scm-arch.c: New file.
4968 * gdb.guile/scm-arch.exp: New file.
4969 * gdb.guile/scm-block.c: New file.
4970 * gdb.guile/scm-block.exp: New file.
4971 * gdb.guile/scm-breakpoint.c: New file.
4972 * gdb.guile/scm-breakpoint.exp: New file.
4973 * gdb.guile/scm-disasm.c: New file.
4974 * gdb.guile/scm-disasm.exp: New file.
4975 * gdb.guile/scm-equal.c: New file.
4976 * gdb.guile/scm-equal.exp: New file.
4977 * gdb.guile/scm-error.exp: New file.
4978 * gdb.guile/scm-error.scm: New file.
4979 * gdb.guile/scm-frame-args.c: New file.
4980 * gdb.guile/scm-frame-args.exp: New file.
4981 * gdb.guile/scm-frame-args.scm: New file.
4982 * gdb.guile/scm-frame-inline.c: New file.
4983 * gdb.guile/scm-frame-inline.exp: New file.
4984 * gdb.guile/scm-frame.c: New file.
4985 * gdb.guile/scm-frame.exp: New file.
4986 * gdb.guile/scm-generics.exp: New file.
4987 * gdb.guile/scm-gsmob.exp: New file.
4988 * gdb.guile/scm-iterator.c: New file.
4989 * gdb.guile/scm-iterator.exp: New file.
4990 * gdb.guile/scm-math.c: New file.
4991 * gdb.guile/scm-math.exp: New file.
4992 * gdb.guile/scm-objfile-script-gdb.in: New file.
4993 * gdb.guile/scm-objfile-script.c: New file.
4994 * gdb.guile/scm-objfile-script.exp: New file.
4995 * gdb.guile/scm-objfile.c: New file.
4996 * gdb.guile/scm-objfile.exp: New file.
4997 * gdb.guile/scm-ports.exp: New file.
4998 * gdb.guile/scm-pretty-print.c: New file.
4999 * gdb.guile/scm-pretty-print.exp: New file.
5000 * gdb.guile/scm-pretty-print.scm: New file.
5001 * gdb.guile/scm-section-script.c: New file.
5002 * gdb.guile/scm-section-script.exp: New file.
5003 * gdb.guile/scm-section-script.scm: New file.
5004 * gdb.guile/scm-symbol.c: New file.
5005 * gdb.guile/scm-symbol.exp: New file.
5006 * gdb.guile/scm-symtab-2.c: New file.
5007 * gdb.guile/scm-symtab.c: New file.
5008 * gdb.guile/scm-symtab.exp: New file.
5009 * gdb.guile/scm-type.c: New file.
5010 * gdb.guile/scm-type.exp: New file.
5011 * gdb.guile/scm-value-cc.cc: New file.
5012 * gdb.guile/scm-value-cc.exp: New file.
5013 * gdb.guile/scm-value.c: New file.
5014 * gdb.guile/scm-value.exp: New file.
5015 * gdb.guile/source2.scm: New file.
5016 * gdb.guile/types-module.cc: New file.
5017 * gdb.guile/types-module.exp: New file.
5019 2014-02-10 Yao Qi <yao@codesourcery.com>
5022 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
5023 * configure: Regenerated.
5024 * Makefile.in: New file.
5026 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5028 * gdb.python/py-framefilter.exp: Fix typo.
5030 2014-02-08 Yao Qi <yao@codesourcery.com>
5032 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
5033 that no =breakpoint-modified is emitted when breakpoints are
5034 modified through MI commands.
5036 2014-02-07 Pedro Alves <pedro@codesourcery.com>
5037 Pedro Alves <palves@redhat.com>
5039 * gdb.threads/step-after-sr-lock.c: New file.
5040 * gdb.threads/step-after-sr-lock.exp: New file.
5042 2014-02-07 Pedro Alves <palves@redhat.com>
5044 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
5046 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5048 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
5049 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
5051 2014-02-06 Doug Evans <xdje42@gmail.com>
5053 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
5056 * gdb.gdb/python-interrupts.exp: New file.
5058 2014-02-05 Yao Qi <yao@codesourcery.com>
5060 * gdb.trace/report.exp (use_collected_data): Test the output
5061 of "info threads" and "info inferiors".
5063 2014-02-05 Yao Qi <yao@codesourcery.com>
5067 2013-05-24 Yao Qi <yao@codesourcery.com>
5069 * gdb.trace/tfile.exp: Test inferior and thread.
5071 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5073 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
5075 * gdb.base/step-bt.c: Call hello via function pointer to make
5076 sure its first instruction is executed on powerpc64le-linux.
5078 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5080 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
5082 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5084 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5085 of the test patterns for use on little-endian systems.
5087 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5089 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5090 (decimal_vector): Fix for little-endian.
5092 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5094 * gdb.arch/sparc-sysstep.exp: New file.
5095 * gdb.arch/sparc-sysstep.c: Likewise.
5097 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5099 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5101 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5103 2014-01-23 Tom Tromey <tromey@redhat.com>
5105 * gdb.ada/array_char_idx: New testcase.
5107 2014-01-23 Tom Tromey <tromey@redhat.com>
5110 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5111 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5114 2014-01-23 Tom Tromey <tromey@redhat.com>
5117 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5118 string from an inferior frame.
5119 * gdb.python/py-framefilter-mi.exp: Update.
5121 2014-01-22 Doug Evans <dje@google.com>
5123 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5125 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5127 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5129 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5131 * gdb.trace/entry-values.exp: Remove excess space character from
5132 regex patterns. Handle s390 call instruction.
5134 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5136 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5137 define "*_start" label. Make "name" static.
5138 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5139 ${name} by references to ${name}_start.
5141 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5143 * gdb.base/info-macros.exp: Remove "debug" from the compile
5146 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5148 * gdb.dlang/demangle.exp: New file.
5150 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5152 * gdb.dlang/primitive-types.exp: New file.
5154 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5156 * configure.ac: Create gdb.dlang/Makefile.
5157 * configure: Regenerate.
5158 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5159 * gdb.dlang/Makefile.in: New file.
5160 * lib/d-support.exp: New file.
5161 * lib/gdb.exp (skip_d_tests): New proc.
5163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5165 * gdb.btrace/delta.exp: Check reverse stepi.
5166 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5167 * gdb.btrace/finish.exp: New.
5168 * gdb.btrace/next.exp: New.
5169 * gdb.btrace/nexti.exp: New.
5170 * gdb.btrace/record_goto.c: Add comments.
5171 * gdb.btrace/step.exp: New.
5172 * gdb.btrace/stepi.exp: New.
5173 * gdb.btrace/multi-thread-step.c: New.
5174 * gdb.btrace/multi-thread-step.exp: New.
5175 * gdb.btrace/rn-dl-bind.c: New.
5176 * gdb.btrace/rn-dl-bind.exp: New.
5177 * gdb.btrace/data.c: New.
5178 * gdb.btrace/data.exp: New.
5179 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5181 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5183 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5184 * gdb.btrace/exception.exp: Update.
5185 * gdb.btrace/instruction_history.exp: Update.
5186 * gdb.btrace/record_goto.exp: Update.
5187 * gdb.btrace/tailcall.exp: Update.
5188 * gdb.btrace/unknown_functions.exp: Update.
5189 * gdb.btrace/delta.exp: New.
5191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5193 * gdb.btrace/record_goto.exp: Add backtrace test.
5194 * gdb.btrace/tailcall.exp: Add backtrace test.
5196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5198 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5199 * gdb.btrace/record_goto.c: New.
5200 * gdb.btrace/record_goto.exp: New.
5201 * gdb.btrace/x86-record_goto.S: New.
5203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5205 * gdb.btrace/function_call_history.exp: Update tests.
5206 * gdb.btrace/instruction_history.exp: Update tests.
5208 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5210 * gdb.btrace/function_call_history.exp: Fix expected field
5211 order for "record function-call-history".
5212 Add new tests for "record function-call-history /c".
5213 * gdb.btrace/exception.cc: New.
5214 * gdb.btrace/exception.exp: New.
5215 * gdb.btrace/tailcall.exp: New.
5216 * gdb.btrace/x86-tailcall.S: New.
5217 * gdb.btrace/x86-tailcall.c: New.
5218 * gdb.btrace/unknown_functions.c: New.
5219 * gdb.btrace/unknown_functions.exp: New.
5220 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5224 * gdb.btrace/instruction_history.exp: Update.
5225 * gdb.btrace/function_call_history.exp: Update.
5227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5229 * gdb.btrace/function_call_history.exp: Fix expected function
5231 * gdb.btrace/instruction_history.exp: Initialize traced.
5232 Remove traced_functions.
5234 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5236 * gdb.btrace/function_call_history.exp: Update
5237 * gdb.btrace/instruction_history.exp: Update.
5239 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5241 * gdb.btrace/enable.exp: Update expected text.
5243 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5245 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5248 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5250 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5252 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5254 * lib/gdb.exp (supports_process_record): Return true for
5255 arm*-linux*. (supports_reverse): Likewise.
5257 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5261 * gdb.python/py-type.c: Enhance test case.
5262 * gdb.python/py-value-cc.cc: Likewise
5263 * gdb.python/py-type.exp: Add new tests.
5264 * gdb.python/py-value-cc.exp: Likewise
5266 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5267 Pedro Alves <palves@redhat.com>
5269 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5271 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5272 references to ${name}_start by references to ${name}.
5274 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5276 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5278 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5280 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5282 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5283 Pedro Alves <palves@redhat.com>
5285 * gdb.mi/mi-info-os.exp: Connect to the target with
5288 2014-01-08 Pedro Alves <palves@redhat.com>
5290 * gdb.threads/reconnect-signal.c: New file.
5291 * gdb.threads/reconnect-signal.exp: New file.
5293 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5295 * gdb.base/source-dir.exp: New file.
5297 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5299 * gdb.ada/mi_interface: New testcase.
5301 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5303 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5304 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5305 gdb.ada/pp-rec-component/pck.ads: New files.
5307 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5309 * gdb.python/py-pp-integral.c: New file.
5310 * gdb.python/py-pp-integral.py: New file.
5311 * gdb.python/py-pp-integral.exp: New file.
5313 For older changes see ChangeLog-1993-2013.
5319 ;; version-control: never
5322 Copyright 2014-2015 Free Software Foundation, Inc.
5323 Copying and distribution of this file, with or without modification,
5324 are permitted provided the copyright notice and this notice are preserved.