1 2015-07-07 Yao Qi <yao.qi@linaro.org>
3 * gdb.arch/thumb-singlestep.exp: Do one more single step.
5 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8 '[' and ']' characters.
10 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14 2015-06-29 Pedro Alves <palves@redhat.com>
17 * gdb.threads/hand-call-new-thread.c: New file.
18 * gdb.threads/hand-call-new-thread.c: New file.
20 2015-06-26 Keith Seitz <keiths@redhat.com>
21 Doug Evans <dje@google.com>
24 * gdb.cp/var-tag-2.cc: New file.
25 * gdb.cp/var-tag-3.cc: New file.
26 * gdb.cp/var-tag-4.cc: New file.
27 * gdb.cp/var-tag.cc: New file.
28 * gdb.cp/var-tag.exp: New file.
30 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
32 * gdb.base/history-duplicates.exp: New test.
34 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
36 * gdb.base/completion.exp: Test the completion of the "focus"
39 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
41 * gdb.arch/amd64-prologue-skip.S: New file.
42 * gdb.arch/amd64-prologue-skip.exp: New file.
44 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
46 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
47 is_address_zero_readable check.
49 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
51 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
52 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
54 2015-06-24 Yao Qi <yao.qi@linaro.org>
56 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
59 2015-06-24 Yao Qi <yao.qi@linaro.org>
61 * lib/gdb.exp (supports_get_siginfo_type): New proc.
62 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
63 * gdb.base/siginfo-thread.exp: Likewise.
65 2015-06-22 Yao Qi <yao.qi@linaro.org>
67 * boards/remote-gdbserver-on-localhost.exp: Add comments.
69 2015-06-22 Yao Qi <yao.qi@linaro.org>
71 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
73 (skip_hw_watchpoint_tests): Likewise.
75 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
77 * gdb.base/gdbinit-history.exp: Test the interaction between
78 setting GDBHISTSIZE and setting the history size via .gdbinit.
80 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
83 * gdb.base/gdbhistsize-history.exp: New test.
85 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
87 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
89 * gdb.base/readline.exp: Likewise.
91 2015-06-17 Yao Qi <yao.qi@linaro.org>
93 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
96 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
98 * gdb.base/gdbinit-history.exp: Add test case to check that
99 an unlimited history file does not get truncated on exit.
101 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
103 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
104 (VECTOR): New macro. Use it...
105 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
106 ...for these typedefs.
107 (int8, char1, int1, double1): New typedefs.
108 (struct just_int2, struct two_int2): New structures.
109 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
110 (add_structvecs, add_singlevecs): New functions.
111 (main): Call add_some_intvecs twice.
112 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
113 the compile and exit upon failure. Try compiling for the "native"
114 architecture. Test inferior function calls with vector arguments
115 and vector return value handling with "finish" and "return".
117 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
119 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
120 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
122 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
124 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
127 * gdb.mi/mi-dprintf-pending.c: New file.
128 * gdb.mi/mi-dprintf-pending.exp: New test.
129 * gdb.mi/mi-dprintf-pendshr.c: New file.
131 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
132 Mircea Gherzan <mircea.gherzan@intel.com>
134 * gdb.arch/i386-mpx-map.c: New file.
135 * gdb.arch/i386-mpx-map.exp: New File.
137 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
139 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
140 * gdb.arch/i386-mpx.exp: Indentation fixed.
142 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
144 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
145 function and improved indentation.
146 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
147 gdb_test_multiple. Added additional tests to skip the test.
149 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
151 * gdb.arch/i386-avx512.c: Change path in include file.
152 * gdb.arch/i386-avx512.exp: Change include dir path
154 * gdb.arch/i386-mpx.c: Change path in include file.
155 * gdb.arch/i386-mpx.exp: Change include dir path compilation
158 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
160 * gdb.compile/compile-print.exp (compile print *vararray@3)
161 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
163 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
165 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
166 (do not keep jit in memory): ... this.
167 (expect 5): Change it to ...
168 (expect no 5): ... this.
170 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
173 * gdb.mi/mi-detach.exp: New file.
175 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
178 * gdb.arch/amd64-tailcall-self.S: New file.
179 * gdb.arch/amd64-tailcall-self.c: New file.
180 * gdb.arch/amd64-tailcall-self.exp: New file.
182 2015-05-28 Don Breazeal <donb@codesourcery.com>
184 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
185 tests for remote targets by checking is_target_gdbserver.
187 2015-05-27 Doug Evans <dje@google.com>
189 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
190 * gdb.dwarf2/opaque-type-lookup.c: New file.
191 * gdb.dwarf2/opaque-type-lookup.exp: New file.
193 2015-05-26 Doug Evans <dje@google.com>
195 * gdb.cp/iostream.cc: New file.
196 * gdb.cp/iostream.exp: New file.
198 2015-05-26 Doug Evans <dje@google.com>
200 * gdb.dwarf2/dw2-op-call.exp: Update.
201 * gdb.dwarf2/dw4-sig-types.exp: Update.
202 * gdb.dwarf2/implptr.exp: Update.
203 * gdb.mi/mi-cmd-param-changed.exp: Update.
205 2015-05-26 Doug Evans <dje@google.com>
207 * gdb.python/py-lazy-string.c: New file.
208 * gdb.python/py-lazy-string.exp: New file.
209 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
210 (main): Update. Add estring3.
211 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
212 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
214 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
215 Yao Qi <yao.qi@linaro.org>
217 * gdb.reverse/aarch64.c: New.
218 * gdb.reverse/aarch64.exp: New.
220 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
222 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
223 (supports_reverse): Likewise.
225 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
227 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
228 Use with_test_prefix.
230 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
232 * gdb.base/completion.exp: Add test for completion of layout
235 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
237 * lib/gdb.exp (skip_tui_tests): New proc.
238 * gdb.base/tui-layout.exp: Check skip_tui_tests.
240 2015-05-19 Pedro Alves <palves@redhat.com>
242 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
243 Save the whole env array instead of just HOME. Unset HISTSIZE in
244 the environment while testing. Restore whole environment
247 2015-05-16 Doug Evans <xdje42@gmail.com>
249 * gdb.guile/scm-ports.c: New file.
250 * gdb.guile/scm-ports.exp: Add memory port tests.
252 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
254 * gdb.compile/compile-print.c: New file.
255 * gdb.compile/compile-print.exp: New file.
257 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
259 * gdb.compile/compile-ops.exp: Cast param to void.
260 * gdb.compile/compile.exp: Complete type for _gdb_expr.
261 (compile code struct_object.selffield = &struct_object): Add xfail.
263 2015-05-15 Joel Brobecker <brobecker@adacore.com>
265 * gdb.ada/arr_enum_with_gap: New testcase.
267 2015-05-15 Joel Brobecker <brobecker@adacore.com>
269 * gdb.ada/byte_packed_arr: New testcase.
271 2015-05-15 Joel Brobecker <brobecker@adacore.com>
273 * gdb.ada/pckd_neg: New testcase.
275 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
278 * gdb.base/gdbinit-history.exp: New test.
279 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
280 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
282 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
284 * gdb.python/py-xmethods.cc: Enhance test case.
285 * gdb.python/py-xmethods.exp: New tests.
286 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
288 (B_indexoper): Likewise.
289 (global_dm_list) : Add new xmethod worker functions.
291 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
293 * gdb.base/coredump-filter.exp: Correctly unset
294 "coredump_var_addr" array.
296 2015-05-08 Pedro Alves <palves@redhat.com>
298 * gdb.server/non-existing-program.exp: Unset spawn_id.
300 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
303 * gdb.python/py-xmethods.exp: Add tests.
305 2015-05-08 Yao Qi <yao.qi@linaro.org>
308 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
309 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
310 function set_coredump_filter, and remove remote_exec call.
311 Remove argument ipid. Callers update.
312 (top level): Don't get inferior's PID.
314 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
316 * gdb.base/watch_thread_num.exp: Skip test on targets without
319 2015-05-06 Pedro Alves <palves@redhat.com>
322 * gdb.server/non-existing-program.exp: New file.
324 2015-05-05 Joel Brobecker <brobecker@adacore.com>
326 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
328 2015-05-05 Joel Brobecker <brobecker@adacore.com>
330 * gdb.ada/out_of_line_in_inlined: New testcase.
332 2015-05-05 Joel Brobecker <brobecker@adacore.com>
334 * gdb.ada/var_rec_arr: New testcase.
336 2015-04-30 Yao Qi <yao.qi@linaro.org>
338 * gdb.base/break-idempotent.exp: If
339 skip_hw_watchpoint_multi_tests returns true, skip the tests
340 on "rwatch" and "awatch".
342 2015-04-30 Yao Qi <yao.qi@linaro.org>
344 * gdb.base/relativedebug.exp: Invoke gdb command
345 "info sharedlibrary", and if libc.so doesn't have debug info,
348 2015-04-29 Doug Evans <dje@google.com>
350 * gdb.python/py-xmethods.exp: Add ptype tests.
351 * gdb.python/py-xmethods.py (E_method_char_worker): Add
352 get_result_type method.
354 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
356 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
357 the target does not support hardware watchpoints.
359 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
361 * gdb.base/break-always.exp: Abort testing if writing to memory
364 2015-04-28 Doug Evans <dje@google.com>
366 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
367 * gdb.python/py-pp-registration.exp: ... here. New file.
368 * gdb.python/py-pp-registration.c: New file.
369 * gdb.python/py-pp-registration.py: New file.
371 2015-04-28 Doug Evans <dje@google.com>
373 * gdb.python/py-bad-printers.c: New file.
374 * gdb.python/py-bad-printers.py: New file.
375 * gdb.python/py-bad-printers.exp: New file.
377 2015-04-28 Sasha Smundak <asmundak@google.com>
379 * gdb.python/py-type.exp: New test.
381 2015-04-28 Andy Wingo <wingo@igalia.com>
383 * gdb.python/py-parameter.exp:
384 * gdb.guile/scm-parameter.exp: Escape the path that we are
385 matching against, as it might contain characters that are special
386 to regular expressions.
388 2015-04-27 Joel Brobecker <brobecker@adacore.com>
390 * gdb.ada/rec_comp: New testcase.
392 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
394 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
397 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
399 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
400 new tests for verilog output.
402 2015-04-24 Yao Qi <yao.qi@linaro.org>
404 * boards/remote-gdbserver-on-localhost.exp: New file.
406 2015-04-23 Pedro Alves <palves@redhat.com>
408 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
409 $inferior_spawn_id instead of $inferior_spawn_id directly. On
410 "end of file", remove $inferior_spawn_id from the indirect list.
412 2015-04-23 Pedro Alves <palves@redhat.com>
414 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
416 2015-04-23 Pedro Alves <palves@redhat.com>
418 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
419 on $any_spawn_id instead of only on $gdb_spawn_id.
421 2015-04-21 Pierre Muller <muller@sourceware.org>
424 * lib/pascal.exp (gpc_compile): Add new option "class".
425 (fpc_compile): Likewise.
426 * gdb.pascal/case-insensitive-symbols.pas: New file.
427 * gdb.pascal/case-insensitive-symbols.exp: New file.
429 2015-04-20 Gary Benson <gbenson@redhat.com>
431 * gdb.base/attach.exp: Fix three extended remote failures.
433 2015-04-17 Gary Benson <gbenson@redhat.com>
435 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
436 the main executable over the remote protocol.
438 2015-04-16 Pedro Alves <palves@redhat.com>
440 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
441 a new gdbserver if gdbserver_reconnect_p is set.
443 2015-04-16 Pedro Alves <palves@redhat.com>
445 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
446 is set, don't exit gdbserver.
448 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
450 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
451 appropriate .insn, such that an older assembler can be used.
452 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
453 the z/Architecture instruction set on 31-bit targets as well.
455 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
457 * gdb.go/handcall.exp: Remove all logic related to the first
458 breakpoint and rely on go_runto_main instead.
459 * gdb.go/strings.exp: Likewise.
460 * gdb.go/unsafe.exp: Likewise.
461 * gdb.go/hello.exp: Likewise. Also rename the remaining
462 breakpoint marker to "breakpoint 1".
463 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
464 * gdb.go/strings.go: Likewise.
465 * gdb.go/unsafe.go: Likewise.
466 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
467 "set breakpoint 2 here" and rename the remaining breakpoint marker
470 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
472 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
473 if itertools.imap is not present.
474 * gdb.python/py-objfile.exp: Add parentheses.
475 * gdb.python/py-type.exp: Same.
476 * gdb.python/py-unwind-maint.py: Same.
478 2015-04-15 Yao Qi <yao.qi@linaro.org>
480 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
481 of ":$ptr_size" and set its form explicitly.
483 2015-04-15 Pedro Alves <palves@redhat.com>
484 Yao Qi <yao.qi@linaro.org>
486 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
487 timeout by factor of 4.
488 (test_regular_watch): Likewise.
489 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
490 * gdb.reverse/sigall-reverse.exp: Likewise.
491 * gdb.reverse/until-precsave.exp: Likewise.
492 * lib/gdb.exp (with_timeout_factor): New proc.
493 (gdb_expect): Move some code to ...
494 (get_largest_timeout): ... here. New procedure.
496 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
498 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
500 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
502 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
503 to write to the .text section.
505 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
507 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
508 Handle the case of targets that do not provide PID information.
510 2015-04-13 Yao Qi <yao.qi@linaro.org>
512 * lib/gdbserver-support.exp (gdb_exit): Catch exception
513 and use expect instead of gdb_expect.
515 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
517 * gdb.base/coredump-filter.exp: Rename variable "addr" to
518 "coredump_var_addr" to avoid naming conflict with other testcases.
520 2015-04-10 Pedro Alves <palves@redhat.com>
522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
523 gdb_test_sequence and gdb_assert.
525 2015-04-10 Pedro Alves <palves@redhat.com>
527 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
528 test messages that don't include the breakpoint address.
530 2015-04-10 Yao Qi <yao.qi@linaro.org>
532 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
533 false for some offset and width combinations which aren't
534 supported by linux kernel.
536 2015-04-10 Pedro Alves <palves@redhat.com>
538 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
539 procedure, factored out from ...
540 (top level): ... here. Add "set displaced-stepping" testing axis.
541 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
542 parameter "displaced". Use it.
543 (top level): Use foreach and add "set displaced-stepping" testing
546 2015-04-10 Pedro Alves <palves@redhat.com>
548 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
550 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
551 both the address of the instruction that triggers the watchpoint
552 and the address of the instruction immediately after, and use
553 those addresses for the test. Fix comment.
555 2015-04-10 Pedro Alves <palves@redhat.com>
557 * gdb.base/sigstep.exp (breakpoint_to_handler)
558 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
559 Test "backtrace" in handler.
560 (breakpoint_over_handler): New parameter 'displaced'. Use it.
561 (top level): Add new "displaced" test axis to
562 breakpoint_to_handler, breakpoint_to_handler_entry and
563 breakpoint_over_handler.
565 2015-04-10 Pedro Alves <palves@redhat.com>
568 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
570 2015-04-10 Yao Qi <yao.qi@linaro.org>
572 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
573 (test_add_rn_pc): New function.
574 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
575 (top level): Invoke test_add_rn_pc.
577 2015-04-10 Pedro Alves <palves@redhat.com>
580 * gdb.base/step-over-no-symbols.exp: New file.
582 2015-04-09 Andy Wingo <wingo@igalia.com>
584 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
585 after the Python tests.
587 2015-04-08 Keith Seitz <keiths@redhat.com>
590 * gdb.python/py-completion.exp: New tests for completion.
591 * gdb.python/py-completion.py (CompleteLimit1): New class.
592 (CompleteLimit2): Likewise.
593 (CompleteLimit3): Likewise.
594 (CompleteLimit4): Likewise.
595 (CompleteLimit5): Likewise.
596 (CompleteLimit6): Likewise.
597 (CompleteLimit7): Likewise.
599 2015-04-08 Pedro Alves <palves@redhat.com>
603 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
605 (main): Install it as SIGUSR1 handler.
606 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
607 parameter. Always use "setup" as prefix. Toggle "set
608 displaced-stepping" off/on depending on global. Don't switch to
610 (top level): Add displaced stepping "off/on" test axis. Update
611 "setup" calls. Wrap each subtest with with_test_prefix. Test
612 continuing with a queued signal in each thread.
614 2015-04-08 Pedro Alves <palves@redhat.com>
616 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
617 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
618 gdb_breakpoint instead of gdb_test that doesn't expect anything.
619 Return early if running to main fails.
620 * gdb.trace/while-stepping.exp: Likewise.
622 2015-04-07 Pedro Alves <palves@redhat.com>
624 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
625 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
626 interact with inferior program.
628 2015-04-07 Pedro Alves <palves@redhat.com>
630 * lib/gdb.exp (inferior_spawn_id): New global.
631 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
632 spawn id after processing the user code.
633 (default_gdb_start): Set inferior_spawn_id.
634 (send_inferior): New procedure.
635 * lib/gdbserver-support.exp (gdbserver_start): Set
637 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
639 2015-04-07 Pedro Alves <palves@redhat.com>
641 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
642 * lib/gdbserver-support.exp (gdbserver_start): Make
643 $server_spawn_id global.
644 (gdbserver_start): Don't wait for gdbserver's spawn id with
646 (close_gdbserver): New procedure.
647 (gdb_exit): Rename the default version and reimplement.
649 2015-04-07 Pedro Alves <palves@redhat.com>
651 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
652 append the substituted item, not the original item.
654 2015-04-07 Pedro Alves <palves@redhat.com>
656 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
659 2015-04-07 Pedro Alves <palves@redhat.com>
661 * gdb.base/interrupt.exp: Don't handle the case of the inferior
662 output appearing once only.
664 2015-04-07 Pedro Alves <palves@redhat.com>
666 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
667 that doesn't expect anything. Return early if running to main
670 2015-04-07 Yao Qi <yao.qi@linaro.org>
672 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
673 (child_function): Call alarm.
674 (main): Move call to alarm into the loop.
675 * gdb.threads/non-stop-fair-events.exp: Build program with
678 2015-04-06 Doug Evans <xdje42@gmail.com>
680 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
681 Fix dest parameter to board_info.
682 (fpc_compile): Ditto.
683 (gdb_compile_pascal): Rename dest arg to destfile.
685 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
687 * gdb.ada/funcall_ref.exp: New file.
688 * gdb.ada/funcall_ref/foo.adb: New file.
690 2015-04-02 Yao Qi <yao.qi@linaro.org>
692 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
695 2015-04-02 Gary Benson <gbenson@redhat.com>
697 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
699 2015-04-01 Sasha Smundak <asmundak@google.com>
701 * gdb.python/py-unwind-maint.c: New file.
702 * gdb.python/py-unwind-maint.exp: New test.
703 * gdb.python/py-unwind-maint.py: New file.
704 * gdb.python/py-unwind.c: New file.
705 * gdb.python/py-unwind.exp: New test.
706 * gdb.python/py-unwind.py: New test.
708 2015-04-01 Pedro Alves <palves@redhat.com>
710 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
711 to fail instead of non-existent $test.
713 2015-04-01 Pedro Alves <palves@redhat.com>
715 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
716 GDBFLAGS if not empty.
718 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
720 * gdb.ada/complete.exp: Remove "multi_line".
721 * gdb.ada/info_exc.exp: Remove "multi_line".
722 * gdb.ada/packed_tagged.exp: Remove "multi_line".
723 * gdb.ada/ptype_field.exp: Remove "multi_line".
724 * gdb.ada/sym_print_name.exp: Remove "multi_line".
725 * gdb.ada/tagged.exp: Remove "multi_line".
726 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
728 * gdb.btrace/delta.exp: Likewise.
729 * gdb.btrace/exception.exp: Likewise.
730 * gdb.btrace/function_call_history.exp: Likewise.
731 * gdb.btrace/instruction_history.exp: Likewise.
732 * gdb.btrace/nohist.exp: Likewise.
733 * gdb.btrace/record_goto.exp: Likewise.
734 * gdb.btrace/segv.exp: Likewise.
735 * gdb.btrace/stepi.exp: Likewise.
736 * gdb.btrace/tailcall.exp: Likewise.
737 * gdb.btrace/unknown_functions.exp: Likewise.
738 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
739 * lib/gdb.exp: Add the "multi_line" helper.
741 2015-04-01 Pedro Alves <palves@redhat.com>
743 * gdb.threads/tid-reuse.c: New file.
744 * gdb.threads/tid-reuse.exp: New file.
746 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
749 * gdb.base/coredump-filter.c: New file.
750 * gdb.base/coredump-filter.exp: Likewise.
752 2015-03-27 Petr Machata <pmachata@redhat.com>
754 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
755 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
756 (Dwarf::assemble): Initialize them.
757 (Dwarf::lines): New function.
759 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
761 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
762 SYMBOL_PREFIX for x86_64-*-cygwin.
764 2015-03-26 Andy Wingo <wingo@igalia.com>
767 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
768 const_value but not a location.
769 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
770 location defined in non-main CUs are visible.
772 2015-03-26 Yao Qi <yao.qi@linaro.org>
775 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
776 Add a line number entry for the same line.
777 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
778 Add a line number entry for the same line.
780 2015-03-26 Yao Qi <yao.qi@linaro.org>
782 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
784 (func): Likewise. Add .Lfunc_1 label.
786 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
791 2015-03-26 Yao Qi <yao.qi@linaro.org>
793 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
794 Call gdb_compile instead to compile each .s files without debug
797 2015-03-26 Yao Qi <yao.qi@linaro.org>
799 * gdb.base/savedregs.exp (process_saved_regs): Make
800 "Saved registers:" optional in the pattern.
802 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
804 * gdb.btrace/next.exp: Merged into step.exp.
805 * gdb.btrace/finish.exp: Merged into step.exp.
806 * gdb.btrace/nexti.exp: Merged into stepi.exp.
807 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
808 "record goto" and checking the exact replay position.
809 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
810 check for "Recording format" in "info record" output.
811 * gdb.btrace/record_goto.exp: Choose test file based on target.
812 * gdb.btrace/x86-record_goto.S: Renamed into ...
813 * gdb.btrace/x86_64-record_goto.S: ... this.
814 * gdb.btrace/i686-record_goto.S: New.
815 * gdb.btrace/x86-tailcall.S: Renamed into ...
816 * gdb.btrace/x86_64-tailcall.S: ... this.
817 * gdb.btrace/i686-tailcall.S: New.
818 * gdb.btrace/x86-tailcall.c: Renamed into ...
819 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
820 separate statements. Update test.
821 * gdb.btrace/delta.exp: Use record_goto.c as test file.
822 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
823 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
824 * gdb.btrace/tailcall.exp: Choose test file based on target.
825 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
827 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
829 * gdb.btrace/exception.exp: Increase BTS buffer size.
831 2015-03-24 Pedro Alves <palves@redhat.com>
833 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
835 2015-03-24 Pedro Alves <palves@redhat.com>
837 * gdb.threads/schedlock.exp (test_step): No longer expect that
838 "set scheduler-locking step" with "next" over a function call runs
841 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
843 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
845 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
848 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
849 * gdb.mi/mi-pending.c (thread_func): New function.
850 (int main): Add threading support required.
851 * gdb.mi/mi-pending.exp: Add tests for this issue.
852 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
853 (pendfunc2): Remove stdio dependency.
854 * gdb.mi/mi-pendshr2.c: New file.
856 2015-03-23 Keith Seitz <keiths@redhat.com>
858 * gdb.linespec/keywords.c: New file.
859 * gdb.linespec/keywords.exp: New file.
861 2015-03-23 Keith Seitz <keiths@redhat.com>
864 * gdb.dwarf2/staticvirtual.exp: New test.
866 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
868 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
869 * README: Remove HP-UX and gdb.hp.
871 * configure: Regenerate.
872 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
873 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
874 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
875 gdb.hp/gdb.defects/Makefile.
876 * gdb.hp/Makefile.in: File deleted.
877 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
878 * gdb.hp/gdb.aCC/optimize.c: File deleted.
879 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
880 * gdb.hp/gdb.aCC/run.c: File deleted.
881 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
882 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
883 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
884 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
885 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
886 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
887 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
888 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
889 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
890 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
891 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
892 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
893 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
894 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
895 * gdb.hp/gdb.base-hp/reg.s: File deleted.
896 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
897 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
898 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
899 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
900 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
901 * gdb.hp/gdb.compat/Makefile.in: File deleted.
902 * gdb.hp/gdb.compat/average.c: File deleted.
903 * gdb.hp/gdb.compat/sum.c: File deleted.
904 * gdb.hp/gdb.compat/xdb.c: File deleted.
905 * gdb.hp/gdb.compat/xdb0.c: File deleted.
906 * gdb.hp/gdb.compat/xdb0.h: File deleted.
907 * gdb.hp/gdb.compat/xdb1.c: File deleted.
908 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
909 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
910 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
911 * gdb.hp/gdb.defects/Makefile.in: File deleted.
912 * gdb.hp/gdb.defects/bs14602.c: File deleted.
913 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
914 * gdb.hp/gdb.defects/solib-d.c: File deleted.
915 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
916 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
917 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
918 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
919 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
920 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
921 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
922 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
923 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
924 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
925 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
926 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
927 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
928 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
929 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
930 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
931 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
932 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
933 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
934 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
935 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
936 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
937 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
938 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
939 * gdb.hp/tools/odump: File deleted.
941 2015-03-19 Pedro Alves <palves@redhat.com>
943 * gdb.threads/continue-pending-status.exp (saw_thread_2)
944 (saw_thread_3): New globals.
945 (top level): Increment them when an event for the corresponding
947 (no thread starvation): New test.
949 2015-03-19 Pedro Alves <palves@redhat.com>
951 * gdb.threads/continue-pending-status.c: New file.
952 * gdb.threads/continue-pending-status.exp: New file.
954 2015-03-18 Pedro Alves <palves@redhat.com>
956 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
957 Use gdb_is_target_remote instead of is_remote. Use
958 gdb_test_multiple instead of gdb_expect. Exit early if
959 gdb_test_multiple hits its internal matches. Tighten stepi tests
960 expected output. Fail on exit with any signal, instead of just
963 2015-03-18 Yao Qi <yao.qi@linaro.org>
966 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
968 * gdb.base/catch-syscall.exp: Don't skip it on
969 aarch64*-*-linux* target. Remove elements in all_syscalls.
970 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
972 (setup_all_syscalls): New proc.
974 2015-03-16 Yao Qi <yao.qi@linaro.org>
976 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
977 (top level): Skip tests if valid_addr_p returns false for
980 2015-03-11 Andy Wingo <wingo@igalia.com>
982 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
984 2015-03-11 Yao Qi <yao.qi@linaro.org>
986 * gdb.base/catch-syscall.exp: Fix typo in comments.
988 2015-03-11 Yao Qi <yao.qi@linaro.org>
990 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
992 2015-03-09 Pedro Alves <palves@redhat.com>
994 * dg-extract-results.py: Delete.
996 2015-03-09 Pedro Alves <palves@redhat.com>
998 Merge dg-extract-results.sh from GCC upstream (r218843).
1000 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
1001 * dg-extract-results.sh: Use --text with grep to avoid issues with
1002 binary files. Fall back to cat -v, if that doesn't work.
1004 2015-03-05 Pedro Alves <palves@redhat.com>
1006 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
1008 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
1010 * lib/mi-support.exp (mi_expect_interrupt): Accept
1011 alternative event for when in all-stop mode.
1013 2015-03-04 Pedro Alves <palves@redhat.com>
1015 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
1017 2015-03-04 Mark Kettenis <kettenis@gnu.org>
1019 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
1021 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1023 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
1024 regexps for GDB's current line display, accept a hex address
1025 preceding the line number.
1027 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
1029 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
1030 the 'arch1' variable for "s390*-linux*" targets.
1032 2015-03-04 Pedro Alves <palves@redhat.com>
1034 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
1035 (main): Pass missing retval argument to pthread_join call.
1037 2015-03-02 Pedro Alves <palves@redhat.com>
1039 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
1040 (top level): Call do_test with non-stop as well.
1042 2015-03-02 Pedro Alves <palves@redhat.com>
1044 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
1047 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1049 * gdb.arch/s390-vregs.exp: New test.
1050 * gdb.arch/s390-vregs.S: New file.
1052 2015-02-27 Pedro Alves <palves@redhat.com>
1054 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
1055 call to catch_command_errors.
1056 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
1057 catch_command_errors.
1059 2015-02-27 Pedro Alves <palves@redhat.com>
1061 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
1062 "true" for boolean result.
1063 * gdb.gdb/selftest.exp (test_with_self): Also accept full
1066 2015-02-27 Pedro Alves <palves@redhat.com>
1068 * lib/unbuffer_output.c: New file.
1069 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
1070 (main): Call gdb_unbuffer_output.
1072 2015-02-27 Yao Qi <yao.qi@linaro.org>
1074 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
1077 2015-02-26 Doug Evans <dje@google.com>
1079 * gdb.cp/class2.cc (Dbase, D): New classes.
1080 (main): New local delta.
1081 * gdb.cp/class2.exp: Test printing delta.
1082 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
1083 (dynbar): New global.
1084 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
1086 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1088 * gdb.compile/compile-ifunc.c: New file.
1089 * gdb.compile/compile-ifunc.exp: New file.
1091 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1093 * gdb.base/structs.exp: Check for correct struct on finish.
1095 2015-02-26 Yao Qi <yao.qi@linaro.org>
1097 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
1100 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1102 * gdb.arch/cordic.ko.bz2: New file.
1103 * gdb.arch/cordic.ko.debug.bz2: New file.
1104 * gdb.arch/ppc64-symtab-cordic.exp: New file.
1106 2015-02-25 Yao Qi <yao.qi@linaro.org>
1108 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
1109 aarch64*-*-* target.
1111 2015-02-23 Pedro Alves <palves@redhat.com>
1113 * lib/gdb.exp (delete_breakpoints): Rewrite using
1116 2015-02-23 Pedro Alves <palves@redhat.com>
1118 * gdb.base/info-os.c: Include stdlib.h.
1120 2015-02-22 Doug Evans <xdje42@gmail.com>
1123 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
1124 is read after symbols have been re-read.
1125 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
1126 * gdb.ada/exec_changed/second.adb (Second): Ditto.
1128 2015-02-21 Doug Evans <dje@google.com>
1130 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
1132 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1135 * gdb.arch/i386-biarch-core.core.bz2: New file.
1136 * gdb.arch/i386-biarch-core.exp: New file.
1138 2015-02-21 Pedro Alves <palves@redhat.com>
1140 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
1143 2015-02-20 Pedro Alves <palves@redhat.com>
1145 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
1148 2015-02-20 Pedro Alves <palves@redhat.com>
1150 * gdb.threads/multi-create-ns-info-thr.exp: New file.
1152 2015-02-20 Pedro Alves <palves@redhat.com>
1154 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
1155 clean_restart before gdb_target_supports_trace.
1157 2015-02-20 Pedro Alves <palves@redhat.com>
1160 * gdb.threads/clone-thread_db.c: New file.
1161 * gdb.threads/clone-thread_db.exp: New file.
1163 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
1165 PR breakpoints/16812
1166 * gdb.base/catch-gdb-caused-signals.c: New file.
1167 * gdb.base/catch-gdb-caused-signals.exp: New file.
1169 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
1171 * configure: Regenerated.
1172 * configure.ac: Use GDB_AC_TRANSFORM.
1173 * aclocal.m4: sinclude ../transform.m4.
1175 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1177 * lib/dtrace.exp: New file.
1178 * gdb.base/dtrace-probe.exp: Likewise.
1179 * gdb.base/dtrace-probe.d: Likewise.
1180 * gdb.base/dtrace-probe.c: Likewise.
1181 * lib/pdtrace.in: Likewise.
1182 * configure.ac: Output variables with the transformed names of
1183 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
1184 * configure: Regenerated.
1186 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1188 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
1189 expected message when trying to access $_probe_* convenience
1190 variables while not on a probe.
1192 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1194 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
1196 2015-02-11 Pedro Alves <pedro@codesourcery.com>
1198 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
1199 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
1201 2015-02-10 Doug Evans <xdje42@gmail.com>
1203 * lib/gdb.exp (gdb_load): Always return a result.
1205 2015-02-10 Pedro Alves <palves@redhat.com>
1207 * gdb.threads/signal-sigtrap.c: New file.
1208 * gdb.threads/signal-sigtrap.exp: New file.
1210 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
1212 * gdb.trace/no-attach-trace.c: New file.
1213 * gdb.trace/no-attach-trace.exp: New file.
1215 2015-02-09 Mark Wielaard <mjw@redhat.com>
1217 * gdb.dwarf2/atomic.c: New file.
1218 * gdb.dwarf2/atomic-type.exp: Likewise.
1220 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1222 * gdb.btrace/buffer-size.exp: Update "info record" output.
1223 * gdb.btrace/delta.exp: Update "info record" output.
1224 * gdb.btrace/enable.exp: Update "info record" output.
1225 * gdb.btrace/finish.exp: Update "info record" output.
1226 * gdb.btrace/instruction_history.exp: Update "info record" output.
1227 * gdb.btrace/next.exp: Update "info record" output.
1228 * gdb.btrace/nexti.exp: Update "info record" output.
1229 * gdb.btrace/step.exp: Update "info record" output.
1230 * gdb.btrace/stepi.exp: Update "info record" output.
1231 * gdb.btrace/nohist.exp: Update "info record" output.
1233 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1235 * gdb.btrace/buffer-size: New.
1237 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
1239 * gdb.btrace/delta.exp: Update "info record" output.
1240 * gdb.btrace/enable.exp: Update "info record" output.
1241 * gdb.btrace/finish.exp: Update "info record" output.
1242 * gdb.btrace/instruction_history.exp: Update "info record" output.
1243 * gdb.btrace/next.exp: Update "info record" output.
1244 * gdb.btrace/nexti.exp: Update "info record" output.
1245 * gdb.btrace/step.exp: Update "info record" output.
1246 * gdb.btrace/stepi.exp: Update "info record" output.
1247 * gdb.btrace/nohist.exp: Update "info record" output.
1249 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
1252 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
1254 2015-02-06 Pedro Alves <palves@redhat.com>
1256 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
1258 (seconds_left, again): New globals.
1259 (main): Wait seconds_left in a 1-second sleep loop instead of
1260 sleeping 180 seconds. If 'again' is set, reset the seconds
1262 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
1263 'again' in the inferior before detaching. Print the seconds left.
1264 (options): New global.
1265 (top level): Build program with -DTIMEOUT=$timeout.
1267 2015-02-06 Pedro Alves <palves@redhat.com>
1269 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
1270 determine how many seconds to pass to 'alarm'.
1271 * gdb.base/gdb-sigterm.exp (top level): Build program with
1273 (do_test): Return success/failure indication. Add more verbose
1274 logging. Don't fail if 200 single steps are seen. Instead, fail
1275 when the test times out.
1276 (passes): New global.
1277 (top level): Break the testing loop if testing fails on any
1278 iteration. Use gdb_assert.
1280 2015-02-04 Don Breazeal <donb@codesourcery.com>
1282 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
1283 and initialize them.
1284 (ipc_cleanup): New function.
1285 (main): Don't declare shmid, semid, and msqid. Add a call to
1286 atexit so that we call ipc_cleanup on exit.
1288 2015-02-04 Pedro Alves <palves@redhat.com>
1290 * boards/native-extended-gdbserver.exp: Remove any target variant
1291 specifications from the board name before clearing the isremote
1292 flag from board_info.
1294 2015-01-31 Doug Evans <xdje42@gmail.com>
1296 * gdb.base/maint.exp <maint print type argc>: Update expected output.
1298 2015-01-31 Gary Benson <gbenson@redhat.com>
1300 * gdb.base/completion.exp: Disable completion limiting for
1301 existing tests. Add new tests to check completion limiting.
1302 * gdb.linespec/ls-errs.exp: Disable completion limiting.
1304 2015-01-31 Doug Evans <xdje42@gmail.com>
1306 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
1308 2015-01-31 Doug Evans <xdje42@gmail.com>
1310 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
1311 entries. Duplicate file section script entries.
1312 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
1313 inlined entries. Add test for safe-path rejection.
1314 * gdb.python/py-section-script.c: Add duplicate inlined section script
1315 entries. Duplicate file section script entries.
1316 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
1317 inlined entries. Add test for safe-path rejection.
1319 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1321 * gdb.ada/disc_arr_bound: New testcase.
1323 2015-01-29 Joel Brobecker <brobecker@adacore.com>
1325 * gdb.ada/mi_var_array: New testcase.
1327 2015-01-27 Doug Evans <dje@google.com>
1329 * gdb.python/py-objfile.exp: Add tests for objfile.username.
1330 Add test for objfile.filename, objfile.username after objfile
1333 2015-01-26 Joel Brobecker <brobecker@adacore.com>
1335 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
1336 the second test to print the name attribute of value
1337 returned by the call to gdb.lookup_type, and adjust
1338 the expected output accordingly.
1340 2015-01-25 Mark Wielaard <mjw@redhat.com>
1342 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
1343 * gdb.base/disp-step-fork.c: Include unistd.h.
1344 * gdb.base/siginfo-obj.c: Include stdio.h.
1345 * gdb.base/siginfo-thread.c: Likewise.
1346 * gdb.mi/non-stop.c: Include unistd.h.
1347 * gdb.mi/nsthrexec.c: Include stdio.h.
1348 * gdb.mi/pthreads.c: Include unistd.h.
1349 * gdb.modula2/unbounded1.c (main): Declare returns int.
1350 * gdb.reverse/consecutive-reverse.c: Likewise.
1351 * gdb.threads/create-fail.c: Include unistd.h.
1352 * gdb.threads/killed.c: Likewise.
1353 * gdb.threads/linux-dp.c: Likewise.
1354 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
1355 * gdb.threads/non-ldr-exc-2.c: Likewise.
1356 * gdb.threads/non-ldr-exc-3.c: Likewise.
1357 * gdb.threads/non-ldr-exc-4.c: Likewise.
1358 * gdb.threads/pthreads.c: Include unistd.h.
1359 (main): Declare returns int.
1360 * gdb.threads/tls-main.c (foo): New declaration.
1361 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
1363 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1365 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1366 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1368 2015-01-15 Mark Wielaard <mjw@redhat.com>
1370 * gdb.base/noreturn-return.c: New file.
1371 * gdb.base/noreturn-return.exp: New file.
1372 * gdb.base/noreturn-finish.c: New file.
1373 * gdb.base/noreturn-finish.exp: New file.
1375 2015-01-23 Pedro Alves <palves@redhat.com>
1377 * gdb.threads/continue-pending-after-query.c: New file.
1378 * gdb.threads/continue-pending-after-query.exp: New file.
1380 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1381 Simon Marchi <simon.marchi@ericsson.com>
1383 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1384 * gdb.base/valgrind-db-attach.exp: Same.
1385 * gdb.base/valgrind-infcall.exp: Same.
1386 * lib/mi-support.exp (default_mi_gdb_start): Same.
1387 * lib/prompt.exp (default_prompt_gdb_start): Same.
1388 * lib/gdb.exp (default_gdb_spawn): Same.
1389 (gdb_interact): New.
1392 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1394 * gdb.compile/compile.exp (pointer to jit function): New test.
1396 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1398 * lib/gdb.exp (supports_process_record): Return true for
1400 (supports_reverse): Likewise.
1402 2015-01-15 Don Breazeal <donb@codesourcery.com>
1404 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1405 instead of checking whether the target board is remote and
1406 use spawn_wait_for_attach instead of exec/sleep.
1407 * gdb.base/attach-twice.exp: Likewise.
1409 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1411 * gdb.ada/var_arr_attrs: New testcase.
1413 2015-01-14 Pedro Alves <palves@redhat.com>
1414 Joel Brobecker <brobecker@adacore.com>
1417 * gdb.base/bp-cmds-execution-x-script.c: New file.
1418 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1419 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1421 2015-01-14 Pedro Alves <palves@redhat.com>
1424 * gdb.base/batch-preserve-term-settings.c: New file.
1425 * gdb.base/batch-preserve-term-settings.exp: New file.
1427 2015-01-13 Doug Evans <dje@google.com>
1429 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1432 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1434 * Makefile.in (clean mostlyclean): Do not delete *.py.
1436 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1438 * gdb.python/py-lookup-type.exp: New file.
1440 2015-01-12 Pedro Alves <palves@redhat.com>
1442 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1443 restore GDBFLAGS before returning.
1445 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1447 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1448 is_amd64_regs_target and is_x86_like_target.
1450 2015-01-11 Doug Evans <xdje42@gmail.com>
1452 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1453 is given without an explicit form.
1454 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1456 * gdb.dwarf/corrupt.exp: Ditto.
1457 * gdb.dwarf2/enum-type.exp: Ditto.
1458 * gdb.trace/entry-values.exp: Ditto.
1459 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1461 2015-01-11 Doug Evans <xdje42@gmail.com>
1464 * gdb.base/maint.exp: Remove references to "maint demangle".
1465 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1466 Add tests for explicitly specifying language to demangle.
1467 * gdb.dlang/demangle.exp: Ditto.
1469 2015-01-09 Pedro Alves <palves@redhat.com>
1471 * gdb.threads/non-stop-fair-events.c: New file.
1472 * gdb.threads/non-stop-fair-events.exp: New file.
1474 2015-01-09 Pedro Alves <palves@redhat.com>
1476 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1477 the global scope. Set a breakpoint after all threads are started
1478 rather than stepping over two source lines. Expect the prompt.
1479 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1482 (main): Use threads_started_barrier to wait for all threads to
1483 start. Main thread no longer calls thread_function. Exit after
1485 (loop): New function.
1486 (thread_function): Wait on threads_started_barrier barrier. Call
1487 'loop' at each iteration.
1488 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1489 threads have started, instead of hardcoding number of "next"
1490 steps. Use an access watchpoint instead of a write watchpoint.
1492 2015-01-09 Pedro Alves <palves@redhat.com>
1494 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1495 (thread_func): Wait on barrier.
1496 (main): Wait for all threads to start before stopping GDB.
1497 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1499 (thread1_func, thread2_func): Wait on barrier.
1500 (main): Wait for all threads to start before stopping GDB.
1501 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1503 (thread1_func, thread2_func): Wait on barrier.
1504 (main): Wait for all threads to start before stopping GDB.
1506 2015-01-09 Pedro Alves <palves@redhat.com>
1508 * gdb.threads/attach-many-short-lived-threads.c: New file.
1509 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1511 2014-01-09 Pedro Alves <palves@redhat.com>
1513 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1514 instead of to thread 2.
1515 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1516 Add barrier around each pthread_create call instead of around all
1518 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1519 Set a break on thread_function and have the child threads hit it
1522 2015-01-09 Pedro Alves <palves@redhat.com>
1524 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1525 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1527 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1528 checking whether the target board is remote.
1529 * gdb.multi/multi-attach.exp: Likewise.
1530 * gdb.python/py-sync-interp.exp: Likewise.
1531 * gdb.server/ext-attach.exp: Likewise.
1532 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1533 tests that need to attach, instead of checking whether the target
1534 board is remote at the top of the file.
1536 2015-01-08 Yao Qi <yao@codesourcery.com>
1538 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1540 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1542 Fix testcase compilation.
1543 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1545 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1547 * gdb.python/py-type.exp: Add a couple test about empty
1548 array creation, and negative-length array creation.
1550 2015-01-02 Doug Evans <xdje42@gmail.com>
1552 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1554 2015-01-02 Doug Evans <dje@google.com>
1556 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1558 2014-12-29 Yao Qi <yao@codesourcery.com>
1560 * gdb.trace/entry-values.exp: Update comments. Rename variable
1561 bar_call_foo to returned_from_foo.
1563 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1566 * gdb.linespec/break-asm-file.c: New file.
1567 * gdb.linespec/break-asm-file.exp: New file.
1568 * gdb.linespec/break-asm-file0.s: New file.
1569 * gdb.linespec/break-asm-file1.s: New file.
1571 2014-12-18 Nigel Stephens <nigel@mips.com>
1572 Maciej W. Rozycki <macro@codesourcery.com>
1574 * gdb.base/float.exp: Handle the new output from "info float" on
1577 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1579 Fix MinGW compilation.
1580 * gdb.compile/compile-ops.exp: Update untested message if
1581 !skip_compile_feature_tests.
1582 * gdb.compile/compile-setjmp.exp: Likewise.
1583 * gdb.compile/compile-tls.exp: Likewise.
1584 * gdb.compile/compile.exp: Likewise.
1585 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1586 supported on this host".
1588 2014-12-16 Doug Evans <xdje42@gmail.com>
1590 * boards/stabs.exp: New file.
1592 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1594 * gdb.base/completion.exp: Adjust to format changes of "maint
1595 print user-registers".
1597 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
1600 * gdb.arch/aarch64-fp.c: New file.
1601 * gdb.arch/aarch64-fp.exp: New file.
1603 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1605 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1606 r210637, r210913, r211666, r215400, r215817).
1608 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1609 * dg-extract-results.py: New file.
1610 * dg-extract-results.sh: Use it if the environment seems
1613 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1615 * dg-extract-results.py (parse_run): Handle warnings that
1616 are printed before a test harness is run.
1618 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1620 * dg-extract-results.py (Named): Remove __cmp__ method.
1621 (output_variation): Use a key to sort variation.harnesses.
1623 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1625 * dg-extract-results.py: For Python 3, force sys.stdout to
1626 handle surrogate escape sequences.
1627 (safe_open): New function.
1628 (output_segment, main): Use it.
1630 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1632 * dg-extract-results.py (Prog.result_re): Include options
1635 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1637 * dg-extract-results.py (output_variation): Always sort if
1640 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1642 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1643 as long as we get pagination notifications.
1645 2014-12-15 Jason Merrill <jason@redhat.com>
1647 * Makefile.in (check-gdb.%): Restore.
1648 * README: Mention it.
1650 2014-12-13 Joel Brobecker <brobecker@adacore.com>
1652 * gdb.ada/str_uninit: New testcase.
1654 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1657 * gdb.base/vla-stub-define.c: New file.
1658 * gdb.base/vla-stub.c: New file.
1659 * gdb.base/vla-stub.exp: New file.
1661 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1662 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 Tom Tromey <tromey@redhat.com>
1665 * configure.ac: Add gdb.compile/.
1666 * configure: Regenerate.
1667 * gdb.compile/Makefile.in: New file.
1668 * gdb.compile/compile-ops.exp: New file.
1669 * gdb.compile/compile-ops.c: New file.
1670 * gdb.compile/compile-tls.c: New file.
1671 * gdb.compile/compile-tls.exp: New file.
1672 * gdb.compile/compile-constvar.S: New file.
1673 * gdb.compile/compile-constvar.c: New file.
1674 * gdb.compile/compile-mod.c: New file.
1675 * gdb.compile/compile-nodebug.c: New file.
1676 * gdb.compile/compile-setjmp-mod.c: New file.
1677 * gdb.compile/compile-setjmp.c: New file.
1678 * gdb.compile/compile-setjmp.exp: New file.
1679 * gdb.compile/compile-shlib.c: New file.
1680 * gdb.compile/compile.c: New file.
1681 * gdb.compile/compile.exp: New file.
1682 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1684 2014-12-12 Tom Tromey <tromey@redhat.com>
1686 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1687 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1689 2014-12-12 Doug Evans <dje@google.com>
1691 * lib/gdb-python.exp (get_python_valueof): New function.
1692 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1694 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1696 * gdb.base/completion.exp: Add test for completion of "info
1699 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1701 * gdb.base/func-ptrs.c: New file.
1702 * gdb.base/func-ptrs.exp: New file.
1704 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1706 PR breakpoints/17012
1707 * gdb.base/dprintf-detach.c: New file.
1708 * gdb.base/dprintf-detach.exp: New file.
1710 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1712 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1713 * lib/gdb.exp (target_is_gdbserver): New procedure.
1715 2014-12-08 Doug Evans <dje@google.com>
1717 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1719 2014-12-05 Yao Qi <yao@codesourcery.com>
1721 * gdb.guile/scm-error.exp: Remove the third argument to
1722 gdb_remote_download.
1723 * gdb.guile/scm-frame-args.exp: Likewise.
1724 * gdb.guile/scm-section-script.exp: Likewise.
1726 2014-12-05 Yao Qi <yao@codesourcery.com>
1728 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1730 2014-12-04 Doug Evans <dje@google.com>
1732 * gdb.python/py-objfile.exp: Add tests for
1733 objfile.add_separate_debug_file.
1735 2014-12-04 Doug Evans <dje@google.com>
1737 * lib/gdb.exp (get_build_id): New function.
1738 (build_id_debug_filename_get): Rewrite to use it.
1739 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1741 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1743 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1744 `method(long)', not just 0x0.
1745 * gdb.cp/nsalias.exp: Align code labels to 4.
1746 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1747 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1748 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1749 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1750 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1751 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1753 2014-12-02 Doug Evans <dje@google.com>
1756 * gdb.cp/anon-ns.cc: Move guts of this file to ...
1757 * gdb.cp/anon-ns2.cc: ... here. New file.
1758 * gdb.cp/anon-ns.exp: Update.
1760 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
1762 * gdb.python/py-events.py (inferior_call_handler): New.
1763 (register_changed_handler, memory_changed_handler): New.
1764 (test_events.invoke): Register new handlers.
1765 * gdb.python/py-events.exp: Add tests for inferior call,
1766 memory_changed and register_changed events.
1768 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1770 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1771 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1772 if the linker doesn't understand this.
1774 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1776 * gdb.python/python.exp: Change expected reply to help().
1778 2014-12-01 Yao Qi <yao@codesourcery.com>
1780 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1781 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1782 * configure: Re-generated.
1784 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1786 * gdb.cp/chained-calls.cc: New file.
1787 * gdb.cp/chained-calls.exp: New file.
1788 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1790 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1792 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1793 * gdb.dwarf2/symtab-producer.exp: Same.
1794 * gdb.gdb/python-interrupts.exp: Same.
1795 * gdb.gdb/python-selftest.exp: Same.
1796 * gdb.python/py-linetable.exp: Same.
1797 * gdb.python/py-type.exp: Same.
1798 * gdb.python/py-value-cc.exp: Same.
1799 * gdb.python/py-value.exp: Same.
1801 2014-11-28 Yao Qi <yao@codesourcery.com>
1803 * gdb.base/break-probes.exp: Match library name prefixed with
1806 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1808 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1809 test expected output. Add parentheses for the call to print.
1810 Remove L suffix from integers.
1812 2014-11-26 Doug Evans <dje@google.com>
1814 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1816 2014-11-22 Yao Qi <yao@codesourcery.com>
1818 * gdb.trace/entry-values.c: Remove asms.
1819 (foo): Add foo_label.
1820 (bar): Add bar_label.
1821 * gdb.trace/entry-values.exp: Remove code computing foo's
1822 length and bar's length.
1823 (Dwarf::assemble): Invoke function_range for bar and use
1824 MACRO_AT_func for foo.
1826 2014-11-22 Yao Qi <yao@codesourcery.com>
1828 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1829 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1830 Use .Lgcc43_procstart instead of gcc43.
1832 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1834 * gdb.ada/n_arr_bound: New testcase.
1836 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1838 PR breakpoints/10737
1839 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1840 test_catch_syscall_multi_arch.
1841 (test_catch_syscall_multi_arch): New function.
1843 2014-11-20 Doug Evans <xdje42@gmail.com>
1845 * gdb.base/maint.exp: Update expected output.
1847 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1849 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1850 4-byte instruction on S390.
1852 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1854 * gdb.ada/arr_arr: New testcase.
1856 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1858 * gdb.ada/pkd_arr_elem: New Testcase.
1860 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1862 * gdb.reverse/break-precsave: Expect completion message for
1864 * gdb.reverse/consecutive-precsave.exp: Likewise.
1865 * gdb.reverse/finish-precsave.exp: Likewise.
1866 * gdb.reverse/i386-precsave.exp: Likewise.
1867 * gdb.reverse/machinestate-precsave.exp: Likewise.
1868 * gdb.reverse/sigall-precsave.exp: Likewise.
1869 * gdb.reverse/solib-precsave.exp: Likewise.
1870 * gdb.reverse/step-precsave.exp: Likewise.
1871 * gdb.reverse/until-precsave.exp: Likewise.
1872 * gdb.reverse/watch-precsave.exp: Likewise.
1874 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1876 * gdb.base/bp-permanent.c: Include unistd.h.
1877 * gdb.python/py-framefilter-mi.c (main): Add return type.
1878 * gdb.python/py-framefilter.c (main): Likewise.
1879 * gdb.trace/actions-changed.c (main): Likewise.
1881 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1883 * gdb.mi/until.c: Add eye-catchers.
1884 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1887 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1889 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1890 function header variants in break1.c.
1891 * gdb.base/ena-dis-br.exp: Likewise.
1892 * gdb.base/hbreak2.exp: Likewise.
1893 * gdb.reverse/until-precsave.exp: Drop references to removed
1894 non-prototype function header variants in ur1.c.
1895 * gdb.reverse/until-reverse.exp: Likewise.
1897 2014-11-17 Petr Machata <pmachata@redhat.com>
1899 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1900 ${_cu_offset_size} bytes abbrev offset.
1902 2014-11-15 Doug Evans <xdje42@gmail.com>
1905 * gdb.base/line-symtabs.exp: New file.
1906 * gdb.base/line-symtabs.c: New file.
1907 * gdb.base/line-symtabs.h: New file.
1909 2014-11-14 Yao Qi <yao@codesourcery.com>
1911 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1912 (func): Add label func_label.
1913 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1914 Replace low_pc and high_pc with MACRO_AT_range.
1915 Replace name, low_pc and high_pc with MACRO_AT_func.
1917 2014-11-14 Yao Qi <yao@codesourcery.com>
1919 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1920 Replace name, low_pc and high_pc with MACRO_AT_func.
1922 2014-11-14 Yao Qi <yao@codesourcery.com>
1924 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1925 produce debug information.
1926 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1928 2014-11-14 Yao Qi <yao@codesourcery.com>
1930 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1931 object and get function length.
1932 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1934 (top-level): Replace gdb_compile and clean_restart with
1935 prepare_for_testing.
1936 * gdb.dwarf2/main.c (main): Add label main_label.
1938 2014-11-14 Yao Qi <yao@codesourcery.com>
1940 * lib/dwarf.exp (function_range): New procedure.
1941 (Dwarf::_handle_macro_at_func): New procedure.
1942 (Dwarf::_handle_macro_at_range): New procedure.
1943 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1945 2014-11-14 Yao Qi <yao@codesourcery.com>
1947 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1948 (_handle_attribute): New procedure.
1950 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1952 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1953 * gdb.base/call-sc.c (zed): Likewise.
1954 * gdb.base/checkpoint.c (main): Likewise.
1955 * gdb.base/dump.c (main): Likewise.
1956 * gdb.base/gcore.c (main): Likewise.
1957 * gdb.base/huge.c (main): Likewise.
1958 * gdb.base/multi-forks.c (main): Likewise.
1959 * gdb.base/pr10179-a.c (main): Likewise.
1960 * gdb.base/savedregs.c (main): Likewise.
1961 * gdb.base/sigaltstack.c (main): Likewise.
1962 * gdb.base/siginfo.c (main): Likewise.
1963 * gdb.base/structs.c (zed): Likewise.
1964 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1965 * gdb.mi/mi-syn-frame.c (main): Likewise.
1966 * gdb.mi/until.c (foo, main): Likewise.
1967 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1968 * gdb.base/solib-weak.c (foo): Declare.
1969 * gdb.base/attach-twice.c: Include stdio.h.
1970 * gdb.base/weaklib1.c: Likewise.
1971 * gdb.base/weaklib2.c: Likewise.
1972 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1973 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1975 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1976 * gdb.mi/mi-exit-code.c: Likewise.
1977 * gdb.base/break-interp-lib.c: Include string.h.
1978 * gdb.base/coremaker.c: Likewise.
1979 * gdb.base/testenv.c: Likewise.
1980 * gdb.python/py-finish-breakpoint.c: Likewise.
1981 * gdb.base/inferior-died.c: Include sys/wait.h.
1982 * gdb.base/fileio.c: Include time.h.
1983 * gdb.base/async-shell.c: Include unistd.h.
1984 * gdb.base/dprintf-non-stop.c: Likewise.
1985 * gdb.base/info-os.c: Likewise.
1986 * gdb.mi/mi-console.c: Likewise.
1987 * gdb.mi/watch-nonstop.c: Likewise.
1988 * gdb.python/py-events.c: Likewise.
1989 * gdb.base/async.c (baz): Move up before its invocation.
1990 * gdb.base/code_elim2.c (my_global_func): Likewise.
1991 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1992 * gdb.base/advance.c (func2): Likewise.
1994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1996 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1998 * gdb.base/annota3.c: Likewise.
1999 * gdb.base/async.c: Likewise.
2000 * gdb.base/average.c: Likewise.
2001 * gdb.base/call-ar-st.c: Likewise.
2002 * gdb.base/call-rt-st.c: Likewise.
2003 * gdb.base/call-sc.c: Likewise.
2004 * gdb.base/call-strs.c: Likewise.
2005 * gdb.base/ending-run.c: Likewise.
2006 * gdb.base/execd-prog.c: Likewise.
2007 * gdb.base/exprs.c: Likewise.
2008 * gdb.base/foll-exec.c: Likewise.
2009 * gdb.base/foll-fork.c: Likewise.
2010 * gdb.base/foll-vfork.c: Likewise.
2011 * gdb.base/funcargs.c: Likewise.
2012 * gdb.base/gcore.c: Likewise.
2013 * gdb.base/jump.c: Likewise.
2014 * gdb.base/langs0.c: Likewise.
2015 * gdb.base/langs1.c: Likewise.
2016 * gdb.base/langs2.c: Likewise.
2017 * gdb.base/mips_pro.c: Likewise.
2018 * gdb.base/nodebug.c: Likewise.
2019 * gdb.base/opaque0.c: Likewise.
2020 * gdb.base/opaque1.c: Likewise.
2021 * gdb.base/recurse.c: Likewise.
2022 * gdb.base/run.c: Likewise.
2023 * gdb.base/scope0.c: Likewise.
2024 * gdb.base/scope1.c: Likewise.
2025 * gdb.base/setshow.c: Likewise.
2026 * gdb.base/setvar.c: Likewise.
2027 * gdb.base/shmain.c: Likewise.
2028 * gdb.base/shr1.c: Likewise.
2029 * gdb.base/shr2.c: Likewise.
2030 * gdb.base/sigall.c: Likewise.
2031 * gdb.base/signals.c: Likewise.
2032 * gdb.base/so-indr-cl.c: Likewise.
2033 * gdb.base/solib2.c: Likewise.
2034 * gdb.base/structs.c: Likewise.
2035 * gdb.base/sum.c: Likewise.
2036 * gdb.base/vforked-prog.c: Likewise.
2037 * gdb.base/watchpoint.c: Likewise.
2038 * gdb.reverse/shr2.c: Likewise.
2039 * gdb.reverse/until-reverse.c: Likewise.
2040 * gdb.reverse/ur1.c: Likewise.
2041 * gdb.reverse/watch-reverse.c: Likewise.
2043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2045 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
2047 * gdb.base/sepdebug.exp: Drop references to removed code.
2049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2051 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
2052 variant. Preserve original line numbering.
2053 * gdb.base/list1.c: Likewise.
2055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2057 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
2059 * gdb.base/break1.c: Likewise.
2060 * gdb.base/break.exp: Drop references to removed code.
2062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2064 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
2067 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2069 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
2071 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2073 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
2074 logic into perform_all_tests() and invoke it with and without
2075 function header prototypes.
2076 (do_function_calls): Remove conditional XFAIL for PR 5318.
2077 (rerun_and_prepare): Remove duplicate code.
2078 (perform_all_tests): New. Main logic moved here.
2080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2082 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
2083 code guarded by #ifdef NO_PROTOTYPES.
2084 (t_double_many_args): Likewise.
2085 (DEF_FUNC_MANY_ARGS_1): Likewise.
2086 (DEF_FUNC_VALUES_1): Likewise.
2087 (t_structs_ldc): Renamed from t_structs_fc in conditional code
2088 guarded by #ifdef PROTOTYPES.
2090 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2092 * gdb.mi/mi-console.c: Add eye-catcher.
2093 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
2094 instead of literal line number.
2096 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2098 * gdb.base/shr2.c: Add eye-catcher.
2099 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
2102 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2104 * gdb.base/jump.c: Add eye-catchers.
2105 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
2108 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2110 * gdb.base/execd-prog.c: Add eye-catchers.
2111 * gdb.base/foll-exec.c: Likewise.
2112 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
2115 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2117 * gdb.base/ending-run.c: Add eye-catchers.
2118 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
2119 literal line numbers.
2121 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2123 * gdb.base/call-rt-st.c: Add eye-catchers.
2124 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
2125 literal line numbers.
2127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2129 * gdb.base/call-ar-st.c: Add eye-catchers.
2130 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
2131 literal line numbers.
2133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2135 * gdb.base/average.c: Add eye-catchers.
2136 * gdb.base/sum.c: Likewise.
2137 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
2138 regexps dynamically.
2140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2142 * gdb.base/solib1.c: Add eye-catchers.
2143 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
2144 literal line numbers.
2146 2014-11-12 Pedro Alves <palves@redhat.com>
2148 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
2151 2014-11-12 Pedro Alves <palves@redhat.com>
2153 * gdb.arch/i386-bp_permanent.c: New file.
2154 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
2155 (srcfile): Set to i386-bp_permanent.c.
2156 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
2157 that stepi does not execute the 'leave' instruction, instead of
2158 testing it does execute.
2159 * gdb.base/bp-permanent.c: New file.
2160 * gdb.base/bp-permanent.exp: New file.
2162 2014-11-10 Doug Evans <xdje42@gmail.com>
2165 * gdb.base/symtab-search-order.exp: New file.
2166 * gdb.base/symtab-search-order.c: New file.
2167 * gdb.base/symtab-search-order-1.c: New file.
2168 * gdb.base/symtab-search-order-shlib-1.c: New file.
2170 2014-11-07 Pedro Alves <palves@redhat.com>
2173 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
2176 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
2179 * gdb.cp/pr17494.cc: New file.
2180 * gdb.cp/pr17494.exp: New file.
2182 2014-11-02 Yao Qi <yao@codesourcery.com>
2184 * gdb.python/python.exp: Get working directory and match the
2185 output of "set extended-prompt \\w " with it.
2187 2014-10-30 Doug Evans <dje@google.com>
2189 * gdb.python/py-objfile.exp: Add tests for setting random attributes
2191 * gdb.python/py-progspace.exp: Add tests for setting random attributes
2194 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
2196 * gdb.base/fullpath-expand.exp: Skip for a remote host.
2197 * gdb.base/realname-expand.exp: Likewise.
2198 * gdb.linespec/macro-relative.exp: Likewise.
2200 2014-10-29 Pedro Alves <palves@redhat.com>
2203 * gdb.threads/schedlock.c (some_function): New function.
2204 (call_function): New global.
2205 (MAYBE_CALL_SOME_FUNCTION): New macro.
2206 (thread_function): Call it.
2207 * gdb.threads/schedlock.exp (get_args): Add description parameter,
2208 and use it instead of a global counter. Adjust all callers.
2209 (get_current_thread): Use "find current thread" for test message
2210 here rather than having all callers pass down the same string.
2211 (goto_loop): New procedure, factored out from ...
2212 (my_continue): ... this.
2213 (step_ten_loops): Change parameter from test message to command to
2215 (list_count): Delete global.
2216 (check_result): New procedure, factored out from duplicate top
2218 (continue tests): Wrap in with_test_prefix.
2219 (test_step): New procedure, factored out from duplicate top level
2221 (top level): Test "step" in combination with all scheduler-locking
2222 modes. Test "next" in combination with all scheduler-locking
2223 modes, and in combination with stepping over a function call or
2225 * gdb.threads/next-bp-other-thread.c: New file.
2226 * gdb.threads/next-bp-other-thread.exp: New file.
2228 2014-10-29 Pedro Alves <palves@redhat.com>
2231 * gdb.python/python.exp: Test a multi-line command that spawns
2233 * gdb.base/multi-line-starts-subshell.exp: New file.
2235 2014-10-29 Yao Qi <yao@codesourcery.com>
2237 * gdb.base/fileio.exp: Make directories on host.
2239 2014-10-29 Yao Qi <yao@codesourcery.com>
2241 * gdb.base/fileio.c (test_write): Close the file.
2243 2014-10-28 Pedro Alves <palves@redhat.com>
2246 * gdb.base/sigstep.c (no_handler): New global.
2247 (main): If 'no_handler is true, set the signal handlers to
2249 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
2250 with_sw_watch and no_handler parameters. Handle them.
2251 (top level) <stepping over handler when stopped at a breakpoint
2252 test>: Add a test axis for testing with a software watchpoint, and
2253 another for testing with the signal handler set to SIG_IGN.
2254 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
2255 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
2257 2014-10-28 Pedro Alves <palves@redhat.com>
2260 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
2261 * gdb.base/sigstep.exp (other_handler_location): New global.
2262 (advance): Support stepping into the signal handler, and running
2263 commands while in the handler.
2264 (in_handler_map): New global.
2265 (top level): In the advance test, add combinations for getting
2266 into the handler with stepping commands, and for running commands
2267 in the handler. Add comment descripting the advancei tests.
2269 2014-10-28 Pedro Alves <palves@redhat.com>
2271 * gdb.base/sigstep.exp: Use build_executable instead of
2272 prepare_for_testing.
2273 (top level): Move code that starts GDB, runs to main and creates a
2275 (restart): ... this new procedure.
2276 (top level): Move backtrace from signal handler test to ...
2277 (validate_backtrace): ... this new procedure.
2278 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
2279 with_test_prefix. Always restart GDB.
2280 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
2281 with_test_prefix. Always restart GDB. No need to delete
2282 breakpoints after the test.
2283 (test_skip_handler): Remove prefix parameter.
2284 (skip_over_handler, breakpoint_to_handler)
2285 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
2286 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
2287 restart GDB. No need to delete breakpoints after the test.
2288 (top level): Use foreach to call the test procedures with
2291 2014-10-28 Pedro Alves <palves@redhat.com>
2293 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
2294 instead of GNATS numbers.
2295 * gdb.base/sigbpt.exp: Likewise.
2296 * gdb.base/siginfo.exp: Likewise.
2297 * gdb.base/sigstep.exp: Likewise.
2299 2014-10-27 Pedro Alves <palves@redhat.com>
2301 * gdb.base/sigstep.c (dummy): New global.
2302 (main): Issue a couple writes to the new global.
2303 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
2305 (skip_over_handler): Use test_skip_handler.
2306 (top level): Call skip_over_handler for stepi and nexti too.
2307 (breakpoint_over_handler): Use test_skip_handler.
2308 (top level): Call breakpoint_over_handler for stepi and nexti too.
2310 2014-10-27 Yao Qi <yao@codesourcery.com>
2312 * gdb.trace/tfile.c (adjust_function_address)
2313 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
2314 function descriptor.
2316 2014-10-24 Don Breazeal <donb@codesourcery.com>
2318 * gdb.base/foll-fork.exp (test_follow_fork,
2319 catch_fork_child_follow): Check for updated fork messages emitted
2321 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
2322 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
2323 vfork_and_exec_child_follow_through_step): Check for updated vfork
2324 messages emitted from infrun.c.
2326 2014-10-24 Pedro Alves <palves@redhat.com>
2328 * gdb.base/corefile.exp: Remove references to ultrix.
2329 * gdb.base/interrupt.exp: Likewise.
2330 * gdb.base/whatis.exp: Likewise.
2331 * gdb.gdb/selftest.exp: Likewise.
2332 * gdb.threads/manythreads.exp: Likewise.
2333 * gdb.threads/print-threads.exp: Likewise.
2334 * gdb.threads/pthreads.exp:: Likewise.
2335 * gdb.threads/schedlock.exp: Likewise.
2337 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
2339 * gdb.cp/non-trivial-retval.cc: Add a test case.
2340 * gdb.cp/non-trivial-retval.exp: Add a test.
2342 2014-10-20 Yao Qi <yao@codesourcery.com>
2344 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
2345 * gdb.python/py-objfile-script-gdb.py: New file.
2346 * gdb.python/py-objfile-script.exp: Update reference to
2347 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
2348 of remote_download. Remove the dest file.
2350 2014-10-20 Yao Qi <yao@codesourcery.com>
2352 * gdb.base/checkpoint.exp: Don't remove file copied on host.
2353 * gdb.base/step-line.exp: Likewise.
2354 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2355 * gdb.dwarf2/dw2-basic.exp: Likewise.
2356 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2357 * gdb.dwarf2/dw2-filename.exp: Likewise.
2358 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2359 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2360 * gdb.dwarf2/dw2-producer.exp: Likewise.
2361 * gdb.dwarf2/mac-fileno.exp: Likewise.
2362 * gdb.python/py-frame-args.exp: Likewise.
2363 * gdb.python/py-framefilter.exp: Likewise.
2364 * gdb.python/py-mi.exp: Likewise.
2365 * gdb.python/py-objfile-script.exp: Likewise
2366 * gdb.python/py-pp-integral.exp: Likewise.
2367 * gdb.python/py-pp-re-notag.exp: Likewise.
2368 * gdb.python/py-prettyprint.exp: Likewise.
2369 * gdb.python/py-section-script.exp: Likewise.
2370 * gdb.python/py-typeprint.exp: Likewise.
2371 * gdb.python/py-xmethods.exp: Likewise.
2372 * gdb.stabs/weird.exp: Likewise.
2373 * gdb.xml/tdesc-regs.exp: Likewise.
2375 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2377 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2378 (out_cu): Use addr_len for the size of addresses.
2379 (out_line): Likewise. Size DW_LNE_set_address instruction
2380 according to addr_len.
2381 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2382 (FUNC): Add START_INSNS to definition.
2384 2014-10-18 Yao Qi <yao@codesourcery.com>
2386 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2387 gdb_has_argv0 return true.
2388 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2389 check [target_info exists noargs], check [gdb_has_argv0]
2391 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2392 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2395 2014-10-17 Doug Evans <dje@google.com>
2397 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2399 * gdb.python/py-events.py: Add clear_objfiles event.
2401 2014-10-17 Doug Evans <dje@google.com>
2403 * gdb.python/py-objfile.exp: Test progspace attribute.
2405 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
2407 * gdb.guile/scm-breakpoint.exp: Do not assume any
2408 directory separators when matching source file paths.
2409 * gdb.python/py-breakpoint.exp: Likewise.
2410 * gdb.reverse/break-precsave.exp: Likewise.
2411 * gdb.reverse/break-reverse.exp: Likewise.
2412 * gdb.reverse/consecutive-precsave.exp: Likewise.
2413 * gdb.reverse/finish-precsave.exp: Likewise.
2414 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2415 * gdb.reverse/finish-reverse.exp: Likewise.
2416 * gdb.reverse/i386-precsave.exp: Likewise.
2417 * gdb.reverse/i387-env-reverse.exp: Likewise.
2418 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2419 * gdb.reverse/machinestate-precsave.exp: Likewise.
2420 * gdb.reverse/machinestate.exp: Likewise.
2421 * gdb.reverse/sigall-precsave.exp: Likewise.
2422 * gdb.reverse/solib-precsave.exp: Likewise.
2423 * gdb.reverse/step-precsave.exp: Likewise.
2424 * gdb.reverse/until-precsave.exp: Likewise.
2425 * gdb.reverse/watch-precsave.exp: Likewise.
2426 * gdb.reverse/watch-reverse.exp: Likewise.
2428 2014-10-17 Yao Qi <yao@codesourcery.com>
2430 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2431 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2433 2014-10-17 Pedro Alves <palves@redhat.com>
2436 * gdb.base/bg-execution-repeat.c: New file.
2437 * gdb.base/bg-execution-repeat.exp: New file.
2439 2014-10-17 Pedro Alves <palves@redhat.com>
2442 * gdb.base/continue-all-already-running.c: New file.
2443 * gdb.base/continue-all-already-running.exp: New file.
2445 2014-10-17 Pedro Alves <palves@redhat.com>
2448 * gdb.base/annota-input-while-running.c: New file.
2449 * gdb.base/annota-input-while-running.exp: New file.
2451 2014-10-17 Pedro Alves <palves@redhat.com>
2453 * gdb.base/callfuncs.exp: emove references to osf.
2454 * gdb.base/sigall.exp: Likewise.
2455 * gdb.gdb/selftest.exp: Likewise.
2456 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2457 * gdb.mi/non-stop.c: Likewise.
2458 * gdb.mi/pthreads.c: Likewise.
2459 * gdb.reverse/sigall-precsave.exp: Likewise.
2460 * gdb.reverse/sigall-reverse.exp: Likewise.
2461 * gdb.threads/pthreads.c: Likewise.
2462 * gdb.threads/pthreads.exp: Likewise.
2464 2014-10-17 Yao Qi <yao@codesourcery.com>
2466 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2467 check 'target_info exists noargs'.
2468 (test_command_prompt_position): Likewise.
2469 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2471 (progvar_simple_while_test): Likewise.
2472 (progvar_complex_if_while_test): Likewise.
2473 (if_while_breakpoint_command_test): Likewise.
2474 (infrun_breakpoint_command_test): Likewise.
2475 (breakpoint_command_test): Likewise.
2476 (watchpoint_command_test): Likewise.
2477 (bp_deleted_in_command_test): Likewise.
2478 (temporary_breakpoint_commands): Likewise.
2480 2014-10-16 Yao Qi <yao@codesourcery.com>
2482 * gdb.base/remotetimeout.exp: Remove noargs checking.
2484 2014-10-15 Pedro Alves <palves@redhat.com>
2487 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2488 * gdb.base/breakpoint-in-ro-region.exp
2489 (probe_target_hardware_step): New procedure.
2490 (top level): Probe hardware stepping and hardware breakpoint
2491 support. Test stepping through a read-only region, with both
2492 "breakpoint auto-hw" on and off and both "always-inserted" on and
2495 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2497 * gdb.dlang/demangle.exp: Update for demangling changes.
2499 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2501 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2502 * gdb.cp/non-trivial-retval.exp: Add new tests.
2504 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2508 * gdb.cp/non-trivial-retval.cc: New file.
2509 * gdb.cp/non-trivial-retval.exp: New file.
2511 2014-10-15 Yao Qi <yao@codesourcery.com>
2513 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2516 2014-10-15 Yao Qi <yao@codesourcery.com>
2518 * gdb.python/py-symbol.exp: Match file base name if host is
2519 remote, otherwise match file name with dir name.
2520 * gdb.python/py-symtab.exp: Likewise.
2521 * gdb.python/python.exp: Likewise.
2523 2014-10-15 Yao Qi <yao@codesourcery.com>
2525 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2527 * gdb.python/py-symtab.exp: Likewise.
2528 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2531 2014-10-14 Joel Brobecker <brobecker@adacore.com>
2533 * gdb.ada/addr_arith: New testcase.
2535 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2537 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2538 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2539 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2540 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2542 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2544 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2545 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2546 * gdb.arch/stap-eval-lang-ada.exp: New file.
2548 2014-10-14 Yao Qi <yao@codesourcery.com>
2550 * gdb.mi/mi-var-child.c (nothing1): New function.
2551 (nothing2): New function.
2552 (do_children_tests): Set function pointers by nothing1 and
2554 * gdb.mi/mi-var-child.exp: Step over new added statements.
2555 Update test to match the new output.
2556 * gdb.mi/var-cmd.c (nothing1): New function.
2557 (nothing2): New function.
2558 (do_children_tests): Set function pointers by nothing1 and
2560 * gdb.mi/mi-var-display.exp: Update test to match output.
2561 Step to the line specified by $line_dct_nothing.
2562 Increase the number of lines to step.
2564 2014-10-14 Yao Qi <yao@codesourcery.com>
2566 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2568 * gdb.mi/mi2-var-child.exp: Likewise.
2570 2014-10-13 Doug Evans <dje@google.com>
2572 * gdb.python/py-objfile.exp: Change name of file name test.
2574 2014-10-13 Doug Evans <dje@google.com>
2576 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2577 from the start of the CU.
2579 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2580 Yao Qi <yao@codesourcery.com>
2582 Fix "save breakpoints" for "catch" command.
2583 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2584 Remove -nonewline. Match also the added "main" line.
2586 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2588 Fix "save breakpoints" for "disable $bpnum" command.
2589 * gdb.base/save-bp.c (main): Add label.
2590 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2592 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2594 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2596 2014-10-11 Yao Qi <yao@codesourcery.com>
2598 * gdb.server/server-kill.exp: Execute command
2599 "set remote trace-status-packet on" before "tstatus".
2601 2014-10-11 Yao Qi <yao@codesourcery.com>
2603 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2604 (main): Call getppid.
2605 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2606 and continue to it. Read variable "server_pid".
2608 2014-10-11 Yao Qi <yao@codesourcery.com>
2610 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2612 2014-10-11 Yao Qi <yao@codesourcery.com>
2614 * gdb.threads/thread-find.exp: Don't execute command
2616 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2617 * gdb.threads/linux-dp.exp: Don't check the condition
2618 $threads_created equals to zero.
2620 2014-10-10 Pedro Alves <palves@redhat.com>
2622 * gdb.base/bigcore.exp: Remove references to IRIX.
2623 * gdb.base/funcargs.exp: Likewise.
2624 * gdb.base/interrupt.exp: Likewise.
2625 * gdb.base/mips_pro.exp: Likewise.
2626 * gdb.base/nodebug.exp: Likewise.
2627 * gdb.base/setvar.exp: Likewise.
2628 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2630 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2631 Pedro Alves <palves@redhat.com>
2634 * gdb.base/vdso-warning.c: New file.
2635 * gdb.base/vdso-warning.exp: New file.
2637 2014-10-02 Doug Evans <dje@google.com>
2639 * gdb.base/structs.c (main): Don't run forever.
2641 2014-10-02 Pedro Alves <palves@redhat.com>
2643 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2644 (top level) <stop threads 1, stop threads 2>: Use it.
2646 2014-10-02 Pedro Alves <palves@redhat.com>
2648 * gdb.threads/break-while-running.exp (test): Add new
2649 'update_thread_list' argument. Skip "info threads" if false.
2650 (top level): Add new 'update_thread_list' axis.
2652 2014-10-02 Pedro Alves <palves@redhat.com>
2654 PR breakpoints/17431
2655 * gdb.base/execl-update-breakpoints.c: New file.
2656 * gdb.base/execl-update-breakpoints.exp: New file.
2658 2014-10-01 Pedro Alves <palves@redhat.com>
2660 * gdb.base/breakpoint-in-ro-region.c: New file.
2661 * gdb.base/breakpoint-in-ro-region.exp: New file.
2663 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2665 * gdb.mi/mi-exit-code.exp: New file.
2666 * gdb.mi/mi-exit-code.c: New file.
2668 2014-09-30 Yao Qi <yao@codesourcery.com>
2670 * lib/prelink-support.exp (build_executable_own_libs): Error if
2671 the target isn't native.
2673 2014-09-30 Yao Qi <yao@codesourcery.com>
2675 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2678 2014-09-22 Pedro Alves <palves@redhat.com>
2680 * gdb.threads/break-while-running.exp: New file.
2681 * gdb.threads/break-while-running.c: New file.
2683 2014-09-19 Yao Qi <yao@codesourcery.com>
2685 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2686 Invoke test. Restart GDB with --readnow and invoke test again.
2688 2014-09-19 Yao Qi <yao@codesourcery.com>
2690 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2691 proc set_breakpoint_on_gcd_function. Invoke
2692 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2693 invoke set_breakpoint_on_gcd_function again.
2695 2014-09-18 Doug Evans <dje@google.com>
2697 * gdb.dwarf2/symtab-producer.exp: New file.
2699 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2701 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2702 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2703 * gdb.base/global-var-nested-by-dso.c: Likewise.
2704 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2706 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2707 Pedro Alves <palves@redhat.com>
2709 * gdb.base/watch-bitfields.exp: Pass string other than test file
2710 name to prepare_for_testing.
2711 (watch): New procedure.
2712 (expect_watchpoint): Use with_test_prefix.
2713 (top level): Factor out tests to ...
2714 (test_watch_location, test_regular_watch): ... these new
2715 procedures, and use with_test_prefix and gdb_continue_to_end.
2717 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2719 PR breakpoints/12526
2720 * gdb.base/watch-bitfields.exp: New file.
2721 * gdb.base/watch-bitfields.c: New file.
2723 2014-09-16 Pedro Alves <palves@redhat.com>
2725 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2726 software and hardware addresses, not software address against
2729 2014-09-16 Pedro Alves <palves@redhat.com>
2731 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2732 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2734 2014-09-16 Pedro Alves <palves@redhat.com>
2736 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2738 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2739 "*-*-vxworks*" throughout.
2740 * gdb.base/break.exp: Likewise.
2741 * gdb.base/default.exp: Likewise.
2742 * gdb.base/scope.exp: Likewise.
2743 * gdb.base/sepdebug.exp: Likewise.
2744 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2746 * gdb.base/run.c: Likewise.
2747 * gdb.base/sepdebug.c: Likewise.
2748 * gdb.hp/gdb.aCC/run.c: Likewise.
2749 * gdb.reverse/until-reverse.c: Likewise.
2750 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2752 2014-09-16 Yao Qi <yao@codesourcery.com>
2754 * boards/local-remote-host-native.exp: New file.
2756 2014-09-14 Doug Evans <xdje42@gmail.com>
2758 * gdb.threads/queue-signal.c (thread_count): New variable.
2759 (thread_count_mutex, thread_count_condvar): New variables.
2760 (incr_thread_count, wait_all_threads_running): New functions.
2761 (main): Wait for all threads to be in their thread functions.
2763 2014-09-13 Doug Evans <xdje42@gmail.com>
2765 * gdb.threads/queue-signal.c: New file.
2766 * gdb.threads/queue-signal.exp: New file.
2768 2014-09-13 Doug Evans <xdje42@gmail.com>
2770 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2771 be consistent with what default_gdb_init uses.
2772 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2773 the plain text of the prompt. Add some logging printfs.
2774 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2776 2014-09-12 Pedro Alves <palves@redhat.com>
2778 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2779 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2780 * gdb.arch/i386-size-overlap.exp: Likewise.
2781 * gdb.arch/i386-size.exp: Likewise.
2782 * gdb.arch/i386-unwind.exp: Likewise.
2783 * gdb.base/a2-run.exp: Likewise.
2784 * gdb.base/break.exp: Likewise.
2785 * gdb.base/charset.exp: Likewise.
2786 * gdb.base/chng-syms.exp: Likewise.
2787 * gdb.base/commands.exp: Likewise.
2788 * gdb.base/dbx.exp: Likewise.
2789 * gdb.base/find.exp: Likewise.
2790 * gdb.base/funcargs.exp: Likewise.
2791 * gdb.base/jit-simple.exp: Likewise.
2792 * gdb.base/reread.exp: Likewise.
2793 * gdb.base/sepdebug.exp: Likewise.
2794 * gdb.base/step-bt.exp: Likewise.
2795 * gdb.cp/mb-inline.exp: Likewise.
2796 * gdb.cp/mb-templates.exp: Likewise.
2797 * gdb.objc/basicclass.exp: Likewise.
2798 * gdb.threads/killed.exp: Likewise.
2800 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2803 * gdb.arch/powerpc-stackless.S: New file.
2804 * gdb.arch/powerpc-stackless.exp: New file.
2806 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2808 * gdb.base/attach.c: Include unistd.h.
2809 (main): Call alarm. Add label postloop.
2810 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2811 gdb_breakpoint, gdb_continue_to_breakpoint.
2812 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2814 2014-09-11 Pedro Alves <palves@redhat.com>
2817 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2818 * gdb.base/attach.exp (test_command_line_attach_run): New
2820 (top level): Call it.
2822 2014-09-11 Pedro Alves <palves@redhat.com>
2824 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2825 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2826 (do_command_attach_tests): Use spawn_wait_for_attach.
2827 * gdb.base/solib-overlap.exp: Likewise.
2828 * gdb.multi/multi-attach.exp: Likewise.
2829 * gdb.python/py-prompt.exp: Likewise.
2830 * gdb.python/py-sync-interp.exp: Likewise.
2831 * gdb.server/ext-attach.exp: Likewise.
2833 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2835 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2836 command in testcase. Simplify testcase.
2838 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2840 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2842 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2844 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2846 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2848 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2850 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2852 * gdb.dwarf2/dynarr-ptr.c: New file.
2853 * gdb.dwarf2/dynarr-ptr.exp: New file.
2855 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2857 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2858 of 30 rather than hardcoding 120 for a slow test case. Take the
2859 `gdb,timeout' target setting into account for this calculation.
2860 Don't extend the timeout for the test cases that don't need it.
2862 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2864 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2865 a factor of 2 for a slow test case. Take the `gdb,timeout'
2866 target setting into account for this calculation.
2867 * gdb.reverse/until-precsave.exp: Increase the timeout by
2868 a factor of 15 and 3 respectively rather than adding 120
2869 for a pair of slow test cases. Take the `gdb,timeout'
2870 target setting into account for this calculation.
2872 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2874 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2875 timeout, don't pass one down to gdb_expect.
2876 (gdb_expect): Rework timeout selection.
2878 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2880 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2881 exception on timeout.
2882 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2883 (gdbserver_start_extended): Catch any `gdbserver_start' error
2885 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2886 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2887 `gdbserver_gdb_load' error exceptions.
2889 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2891 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2892 120 on waiting for the TCP socket to open.
2894 2014-09-09 Doug Evans <xdje42@gmail.com>
2896 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2897 _caller_matches, _any_caller_is, _any_caller_matches.
2899 2014-09-09 Doug Evans <xdje42@gmail.com>
2901 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2903 2014-09-09 Yao Qi <yao@codesourcery.com>
2905 * gdb.mi/mi-var-display.exp: Set print symbol off.
2907 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2910 * gdb.base/commands.exp: Add tests to verify user-defined
2911 commands with empty bodies.
2912 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2913 python commands in `show user command`.
2914 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2915 scheme commands in `show user command`.
2917 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2921 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2922 * gdb.python/py-framefilter-invalidarg.exp: New file.
2923 * gdb.python/py-framefilter-invalidarg.py: New file.
2925 2014-09-06 Doug Evans <xdje42@gmail.com>
2928 * gdb.python/py-caller-is.c: New file.
2929 * gdb.python/py-caller-is.exp: New file.
2931 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2934 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2935 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2937 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2940 * gdb.fortran/print-formatted.exp: New file.
2941 * gdb.fortran/print-formatted.f90: Likewise.
2943 2014-09-03 Sasha Smundak <asmundak@google.com>
2945 * gdb.python/py-frame.exp: Test Frame.read_register.
2947 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2950 * gdb.python/py-completion.exp: New file.
2951 * gdb.python/py-completion.py: Likewise.
2953 2014-08-28 Doug Evans <dje@google.com>
2955 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2956 eax,etc. are live with values set by gdb and thus the compiler can't
2958 * gdb.arch/i386-pseudo.c (main): Ditto.
2960 2014-08-27 Doug Evans <dje@google.com>
2962 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2964 2014-08-25 Doug Evans <dje@google.com>
2966 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2969 2014-08-25 Doug Evans <dje@google.com>
2971 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2973 2014-08-24 Yao Qi <yao@codesourcery.com>
2975 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2977 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2979 2014-08-22 Doug Evans <dje@google.com>
2982 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2983 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2984 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2986 2014-08-22 Yao Qi <yao@codesourcery.com>
2988 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2989 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2990 * gdb.python/python.exp: Likewise. Use .py file on the host
2991 instead of the build.
2993 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2995 * gdb.threads/gcore-stale-thread.c: New file.
2996 * gdb.threads/gcore-stale-thread.exp: New file.
2998 2014-08-21 Pedro Alves <palves@redhat.com>
3000 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
3001 * gdb.base/gcore-relro-pie.exp: Likewise.
3002 * gdb.base/gcore-relro.exp: Likewise.
3003 * gdb.base/gcore.exp: Likewise.
3004 * gdb.base/print-symbol-loading.exp: Likewise.
3005 * gdb.threads/gcore-thread.exp: Likewise.
3006 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
3008 2014-08-20 Pedro Alves <palves@redhat.com>
3009 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * Makefile.in (EXTRA_RULES, CC): New variables, get from
3013 (EXPECT): Handle READ1 being set.
3014 (all): Depend on EXTRA_RULES.
3015 (check-read1, expect-read1, read1.so, read1): New rules.
3016 * README (Testsuite Parameters): Document the READ1 make variable.
3017 (Race detection): New section.
3018 * configure: Regenerate.
3019 * configure.ac: If build==host==target, and running under a
3020 GNU/glibc system, add read1 to the extra Makefile rules.
3021 (EXTRA_RULES): AC_SUBST it.
3022 * lib/read1.c: New file.
3024 2014-08-20 Joel Brobecker <brobecker@adacore.com>
3026 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
3027 the handling of variables declared as a typedef to an array
3028 which a DW_AT_data_location attribute.
3030 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
3031 Pedro Alves <palves@redhat.com>
3035 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
3038 2014-08-19 Pedro Alves <palves@redhat.com>
3040 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
3042 2014-08-19 Yao Qi <yao@codesourcery.com>
3044 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
3047 2014-08-18 David Blaikie <dblaikie@gmail.com>
3049 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
3051 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3053 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
3054 attribute in array range.
3056 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3058 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
3060 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3063 * gdb.cp/pr17132.cc: New file.
3064 * gdb.cp/pr17132.exp: New file.
3066 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3068 * gdb.python/py-xmethods.py (A_getarrayind)
3069 (E_method_char_worker.__call__, E_method_int_worker.__call__):
3070 Use 'print' with function call syntax.
3071 (E_method_matcher.match): Fix tab vs space indentation mixup.
3073 2014-08-15 Yao Qi <yao@codesourcery.com>
3075 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
3078 2014-08-15 Yao Qi <yao@codesourcery.com>
3080 * gdb.cp/casts.exp: Set print symbol off.
3081 * gdb.cp/class2.exp: Likewise.
3082 * gdb.cp/overload.exp: Likewise.
3083 * gdb.cp/templates.exp: Likewise.
3085 2014-08-11 Doug Evans <dje@google.com>
3087 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3088 (test_load_shlib): Update.
3090 2014-08-09 Yao Qi <yao@codesourcery.com>
3092 * gdb.base/display.exp: Invoke is_address_zero_readable.
3093 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
3094 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
3095 * gdb.base/hbreak-unmapped.exp: Return if
3096 is_address_zero_readable returns true.
3097 * gdb.base/signest.exp: Likewise.
3098 * gdb.base/signull.exp: Likewise.
3099 * gdb.base/sigbpt.exp: Likewise.
3100 * gdb.guile/scm-disasm.exp: Do the test if
3101 is_address_zero_readable returns false.
3102 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
3103 * gdb.python/py-arch.exp: Likewise.
3104 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
3105 * lib/gdb.exp (is_address_zero_readable): New proc.
3107 2014-08-09 Yao Qi <yao@codesourcery.com>
3110 * gdb.mi/mi-var-display.exp: Make test messages unique.
3112 2014-08-04 Tom Tromey <tromey@redhat.com>
3114 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
3117 2014-08-04 Tom Tromey <tromey@redhat.com>
3119 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
3122 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3124 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
3125 inner_vla_struct_object_size.
3126 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
3129 2014-07-30 Pedro Alves <palves@redhat.com>
3131 * gdb.threads/signal-command-handle-nopass.exp (test): Add
3134 2014-07-29 Yao Qi <yao@codesourcery.com>
3137 * gdb.base/until-nodebug.exp: New.
3139 2014-07-28 Doug Evans <xdje42@gmail.com>
3142 * gdb.guile/scm-parameter.exp: Add tests for trying to create
3143 previously existing parameter, and previously ambiguously spelled
3146 2014-07-28 Will Newton <will.newton@linaro.org>
3148 * gdb.base/varargs.exp: Remove KFAILs for ARM.
3150 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3151 Doug Evans <xdje42@gmail.com>
3154 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
3156 2014-07-25 Pedro Alves <palves@redhat.com>
3158 * gdb.threads/signal-command-handle-nopass.c: New file.
3159 * gdb.threads/signal-command-handle-nopass.exp: New file.
3160 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
3161 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
3162 * gdb.threads/signal-delivered-right-thread.c: New file.
3163 * gdb.threads/signal-delivered-right-thread.exp: New file.
3165 2014-07-25 Pedro Alves <palves@redhat.com>
3167 * gdb.base/double-prompt-target-event-error.exp
3168 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
3170 (cancel_pagination_in_target_event): Rework double prompt
3172 * gdb.base/paginate-after-ctrl-c-running.exp
3173 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
3175 * gdb.base/paginate-bg-execution.exp
3176 (test_bg_execution_pagination_return)
3177 (test_bg_execution_pagination_cancel): Remove '-notransfer
3179 * gdb.base/paginate-execution-startup.exp
3180 (test_fg_execution_pagination_return)
3181 (test_fg_execution_pagination_cancel): Remove '-notransfer
3183 * gdb.base/paginate-inferior-exit.exp
3184 (test_paginate_inferior_exited): Remove '-notransfer <return>'
3186 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
3187 * lib/gdb.exp (pagination_prompt): Run text through
3189 (gdb_test_multiple): Match $pagination_prompt instead of
3191 (string_to_regexp): Move to lib/gdb-utils.exp.
3193 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3195 * gdb.arch/amd64-entry-value-paramref.S: New file.
3196 * gdb.arch/amd64-entry-value-paramref.cc: New file.
3197 * gdb.arch/amd64-entry-value-paramref.exp: New file.
3198 * gdb.arch/amd64-optimout-repeat.S: New file.
3199 * gdb.arch/amd64-optimout-repeat.c: New file.
3200 * gdb.arch/amd64-optimout-repeat.exp: New file.
3202 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3205 * gdb.base/statistics.exp: New file.
3207 2014-07-17 Doug Evans <dje@google.com>
3210 * gdb.base/maint.exp: Update testing of per-command stats.
3212 2014-07-16 Pedro Alves <palves@redhat.com>
3214 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
3215 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
3216 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
3217 (tfile_write_buf): New functions.
3218 (add_memory_block): Rewrite using the above.
3219 (adjust_function_address): New function.
3220 (FUNCTION_ADDRESS): New macro.
3221 (write_basic_trace_file): Remove short_x local, and use
3222 tfile_write_16. Change type of func_addr local to unsigned long
3223 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
3224 here. Cast argument of add_memory_block to char pointer.
3225 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
3226 (main): Remove parameters.
3227 * gdb.trace/tfile.exp: Remove nowarnings.
3229 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3231 * gdb.base/debug-expr.exp: Test string evaluation with
3232 "debug expression" on.
3234 2014-07-15 Pedro Alves <palves@redhat.com>
3236 * gdb.base/reread.exp: Use clean_restart.
3238 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3240 * gdb.arch/avr-flash-qualifer.c: New.
3241 * gdb.arch/avr-flash-qualifer.exp: New.
3243 2014-07-14 Pedro Alves <palves@redhat.com>
3245 * gdb.base/paginate-after-ctrl-c-running.c: New file.
3246 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
3248 2014-07-14 Pedro Alves <palves@redhat.com>
3250 * gdb.base/double-prompt-target-event-error.c: New file.
3251 * gdb.base/double-prompt-target-event-error.exp: New file.
3253 2014-07-14 Pedro Alves <palves@redhat.com>
3256 * gdb.base/paginate-inferior-exit.c: New file.
3257 * gdb.base/paginate-inferior-exit.exp: New file.
3259 2014-07-14 Pedro Alves <palves@redhat.com>
3262 * gdb.base/paginate-bg-execution.c: New file.
3263 * gdb.base/paginate-bg-execution.exp: New file.
3265 2014-07-14 Pedro Alves <palves@redhat.com>
3268 * gdb.base/paginate-execution-startup.c: New file.
3269 * gdb.base/paginate-execution-startup.exp: New file.
3270 * lib/gdb.exp (pagination_prompt): New global.
3271 (default_gdb_spawn): New procedure, factored out from
3273 (default_gdb_start): Adjust to call default_gdb_spawn.
3274 (gdb_spawn): New procedure.
3276 2014-07-14 Pedro Alves <palves@redhat.com>
3278 * lib/gdb.exp (gdb_assert): New procedure.
3279 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
3281 2014-07-14 Pedro Alves <palves@redhat.com>
3283 * gdb.base/execution-termios.c: New file.
3284 * gdb.base/execution-termios.exp: New file.
3286 2014-07-14 Tom Tromey <tromey@redhat.com>
3288 * gdb.cp/vla-cxx.cc: New file.
3289 * gdb.cp/vla-cxx.exp: New file.
3291 2014-07-14 Tom Tromey <tromey@redhat.com>
3293 * gdb.reverse/rerun-prec.c: New file.
3294 * gdb.reverse/rerun-prec.exp: New file.
3296 2014-07-12 Maciej W. Rozycki <macro@mips.com>
3297 Maciej W. Rozycki <macro@codesourcery.com>
3299 * lib/gdb-utils.exp: New file.
3300 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
3301 inline `gdb_init_command' processing.
3302 (gdb_start_cmd): Likewise.
3303 * lib/mi-support.exp (mi_run_cmd): Likewise.
3304 * README: Document `gdb_init_command' and `gdb_init_commands'.
3306 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3308 Fix false FAIL running under a very long directory name.
3309 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
3310 and "set print elements 10000". Twice.
3312 2014-07-11 Yao Qi <yao@codesourcery.com>
3314 * gdb.base/exprs.exp: "set print symbol off".
3316 2014-07-11 Pedro Alves <palves@redhat.com>
3318 * gdb.threads/kill.c: New file.
3319 * gdb.threads/kill.exp: New file.
3321 2014-07-10 Yao Qi <yao@codesourcery.com>
3323 * gdb.trace/tfile.c (write_basic_trace_file)
3324 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
3325 address written to trace file.
3327 2014-07-09 Pedro Alves <palves@redhat.com>
3329 * gdb.base/attach-wait-input.exp: New file.
3330 * gdb.base/attach-wait-input.c: New file.
3332 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3334 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
3335 setting up test structures.
3336 (main): Call new test function.
3337 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
3338 test function, continue into test function and walk test
3341 2014-07-02 Yao Qi <yao@codesourcery.com>
3343 * gdb.trace/entry-values.c: Define labels 'foo_start' and
3344 'bar_start' at the beginning of functions 'foo' and 'bar'
3346 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
3347 instead of 'foo' and 'bar'.
3349 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3351 * gdb.btrace/segv.exp: New.
3352 * gdb.btrace/segv.c: New.
3354 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
3356 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
3359 2014-06-30 Mark Wielaard <mjw@redhat.com>
3361 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
3362 vulture, vilify, villar): New volatile array constants.
3363 (vindictive, vegetation): New const volatile array constants.
3364 * gdb.base/volatile.exp: Test volatile and const volatile array
3367 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3369 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3370 target lacks support for awatch, rwatch, or hbreak.
3372 2014-06-27 Yao Qi <yao@codesourcery.com>
3374 * gdb.multi/dummy-frame-restore.exp: New.
3375 * gdb.multi/dummy-frame-restore.c: New.
3377 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3379 * gdb.btrace/gcore.exp: New.
3381 2014-06-23 Pedro Alves <palves@redhat.com>
3383 * gdb.base/watchpoint-reuse-slot.c: New file.
3384 * gdb.base/watchpoint-reuse-slot.exp: New file.
3386 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3388 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3389 progspace's filename in 'info', 'enable' and 'disable' command
3392 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3394 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3395 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3396 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3398 2014-06-20 Gary Benson <gbenson@redhat.com>
3400 * gdb.arch/i386-avx.exp: Fix include file location.
3401 * gdb.arch/i386-sse.exp: Likewise.
3403 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3405 * gdb.dlang/expression.exp: New file.
3407 2014-06-19 Pedro Alves <palves@redhat.com>
3409 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3411 (top level): ... here. Iterate running tests under different
3412 scheduler-locking settings.
3414 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
3416 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3417 to DW_FORM_addr and use non-zero addresses.
3419 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3422 * gdb.python/py-xmethods.cc: Add global function call counters and
3423 increment them in their respective functions. Remove "cout"
3425 * gdb.python/py-xmethods.exp: Make tests check the global function
3426 call counters instead of depending on inferior IO.
3428 2014-06-18 Don Breazeal <donb@codesourcery.com>
3430 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3432 (explicit_fork_parent_follow): Deleted procedure.
3433 (explicit_fork_child_follow): Deleted procedure.
3434 (test_follow_fork): New procedure.
3435 (do_fork_tests): Replace calls to deleted procedures with
3436 calls to test_follow_fork and reset GDB for subsequent
3439 2014-06-17 Yao Qi <yao@codesourcery.com>
3441 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3444 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
3446 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3447 Initialize ptr and S explicitly.
3448 (skip_type_update_when_not_use_rtti_test): Likewise.
3450 2014-06-16 Keith Seitz <keiths@redhat.com>
3453 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3454 the inferior is started.
3456 2014-06-16 Pedro Alves <palves@redhat.com>
3458 * gdb.base/break-main-file-remove-fail.c: New file.
3459 * gdb.base/break-main-file-remove-fail.exp: New file.
3460 * gdb.base/break-unload-file.exp: Use build_executable instead of
3461 prepare_for_testing.
3462 (test_break): New parameter "initial_load". Handle it.
3463 (top level): Add initial_load cmdline/file axis.
3465 2014-06-12 Tom Tromey <tromey@redhat.com>
3467 * gdb.base/completion.exp: Don't use directory name in test.
3469 2014-06-09 Gary Benson <gbenson@redhat.com>
3471 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3472 separate the always-available ANSI-standard signals from the
3473 signals that require checking.
3475 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3479 2014-06-07 Keith Seitz <keiths@redhat.com>
3483 * gdb.cp/var-tag.cc: New file.
3484 * gdb.cp/var-tag.exp: New file.
3485 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3486 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3487 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3488 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3490 2014-06-06 Doug Evans <xdje42@gmail.com>
3492 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3494 2014-06-06 Pedro Alves <palves@redhat.com>
3496 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3497 in target debug output instead of looking at RSP packets,
3498 disabling the test on any target that uses hardware stepping.
3501 2014-06-06 Pedro Alves <palves@redhat.com>
3503 * gdb.base/break-unload-file.exp: Fix typo.
3505 2014-06-06 Yao Qi <yao@codesourcery.com>
3507 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3508 from "jit_function" to "^jit_function".
3510 2014-06-06 Yao Qi <yao@codesourcery.com>
3512 * gdb.base/async.c (foo): Add one statement.
3513 * gdb.base/async.exp: Get the next instruction address and
3514 match the output of "nexti" by instruction address. Match
3515 the hex address in the output of "finish".
3517 2014-06-06 Gary Benson <gbenson@redhat.com>
3519 * gdb.base/call-signals.c: Remove preprocessor conditionals
3520 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3521 SIGSEGV and SIGTERM.
3522 * gdb.base/sigall.c: Likewise.
3523 * gdb.base/unwindonsignal.c: Likewise.
3524 * gdb.reverse/sigall-reverse.c: Likewise.
3526 2014-06-06 Yao Qi <yao@codesourcery.com>
3528 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3529 readable, skip the test.
3531 2014-06-06 Yao Qi <yao@codesourcery.com>
3533 * gdb.threads/staticthreads.c (thread_function): Move the line
3534 setting breakpoint on forward.
3535 * gdb.threads/staticthreads.exp: Update comments.
3537 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3539 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3540 "history-append! type error".
3542 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3544 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3545 erroneous dprintf expected input.
3547 2014-06-04 Doug Evans <xdje42@gmail.com>
3549 * gdb.guile/scm-generics.exp: Delete.
3551 2014-06-04 Doug Evans <xdje42@gmail.com>
3553 * gdb.guile/scm-breakpoint.exp: Update.
3554 Add tests for breakpoint registration.
3556 2014-06-04 Tom Tromey <tromey@redhat.com>
3558 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3560 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3561 inner_vla_struct, vla_union types. Initialize objects of those
3562 types and compute their sizes.
3564 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3565 Hui Zhu <hui@codesourcery.com>
3567 * gdb.base/fileio.exp: Add test for shell not available as well as
3569 * gdb.base/fileio.c (test_system): Check for shell twice.
3571 2014-06-04 Yao Qi <yao@codesourcery.com>
3573 * gdb.base/auto-connect-native-target.exp: Remove redundant
3574 space from the regexp pattern.
3576 2014-06-04 Yao Qi <yao@codesourcery.com>
3578 * gdb.base/default.exp: Replace "child" with "native" in
3581 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3583 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3584 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3585 * gdb.python/py-xmethods.py: Python script supporting the
3586 new testcase and tests.
3588 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3589 Pedro Alves <palves@redhat.com>
3591 PR breakpoints/17000
3592 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3593 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3595 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3597 * gdb.base/subst.exp: Add tests to verify partial path matching
3600 2014-06-03 Pedro Alves <palves@redhat.com>
3602 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3603 target that doesn't use software single-stepping.
3605 2014-06-03 Pedro Alves <palves@redhat.com>
3607 PR breakpoints/17000
3608 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3609 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3611 2014-06-02 Doug Evans <xdje42@gmail.com>
3613 * gdb.guile/scm-parameter.exp: New file.
3615 2014-06-02 Doug Evans <xdje42@gmail.com>
3617 * gdb.guile/scm-cmd.c: New file.
3618 * gdb.guile/scm-cmd.exp: New file.
3620 2014-06-02 Doug Evans <xdje42@gmail.com>
3622 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3623 pretty-printer lookup.
3624 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3625 (make-pp_s-printer): Call it.
3626 (make-pretty-printer-from-dict): New function.
3627 (lookup-pretty-printer-maker-from-dict): New function.
3628 (*pretty-printer*): Simplify.
3629 (make-objfile-pp_s-printer): New function.
3630 (install-objfile-pretty-printers!): New function.
3631 (make-progspace-pp_s-printer): New function.
3632 (install-progspace-pretty-printers!): New function.
3633 * gdb.guile/scm-progspace.c: New file.
3634 * gdb.guile/scm-progspace.exp: New file.
3636 2014-06-02 Pedro Alves <palves@redhat.com>
3638 * gdb.base/dprintf-bp-same-addr.c: New file.
3639 * gdb.base/dprintf-bp-same-addr.exp: New file.
3641 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3643 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3644 * gdb.arch/powerpc-power.s: Likewise.
3646 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3648 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3650 2014-06-01 Yao Qi <yao@codesourcery.com>
3652 * gdb.base/watchpoint.exp (test_watch_location): Check null
3653 pointer can be dereferenced. If not, do the test, otherwise
3656 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3658 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3660 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3662 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3664 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3665 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3666 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3667 * gdb.arch/amd64-invalid-stack-top.c: New file.
3668 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3670 2014-05-30 Pedro Alves <palves@redhat.com>
3672 PR breakpoints/17000
3673 * gdb.base/sss-bp-on-user-bp.c: New file.
3674 * gdb.base/sss-bp-on-user-bp.exp: New file.
3676 2014-05-30 David Blaikie <dblaikie@gmail.com>
3678 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3679 gnu_inline semantics via attribute.
3680 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3681 source explicitly specifies the required semantics.
3683 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3685 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3687 2014-05-29 Pedro Alves <palves@redhat.com>
3688 Tom Tromey <tromey@redhat.com>
3690 * gdb.base/async-shell.exp: Don't enable target-async.
3691 * gdb.base/async.exp
3692 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3694 (top level): Don't test with "target-async".
3695 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3696 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3697 * gdb.base/inferior-died.exp: Don't enable target-async.
3698 * gdb.base/interrupt-noterm.exp: Likewise.
3699 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3700 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3701 * gdb.mi/mi-nonstop.exp: Likewise.
3702 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3703 * gdb.mi/mi-nsintrall.exp: Likewise.
3704 * gdb.mi/mi-nsmoribund.exp: Likewise.
3705 * gdb.mi/mi-nsthrexec.exp: Likewise.
3706 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3707 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3708 * gdb.python/py-evsignal.exp: Don't enable target-async.
3709 * gdb.python/py-evthreads.exp: Likewise.
3710 * gdb.python/py-prompt.exp: Likewise.
3711 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3712 * gdb.server/solib-list.exp: Don't enable target-async.
3713 * gdb.threads/thread-specific-bp.exp: Likewise.
3714 * lib/mi-support.exp: Adjust to use mi-async.
3716 2014-05-29 Pedro Alves <palves@redhat.com>
3719 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3720 reason, even in sync mode.
3722 2014-05-29 Pedro Alves <palves@redhat.com>
3723 Hui Zhu <hui@codesourcery.com>
3726 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3727 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3728 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3729 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3731 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3733 * config/monitor.exp (gdb_target_monitor): Replace use of
3734 "set remotebaud" by "set serial baud".
3736 2014-05-26 Andy Wingo <wingo@igalia.com>
3738 * gdb.guile/scm-breakpoint.exp:
3739 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3740 properties instead of gdb-object-properties.
3742 2014-05-26 Yao Qi <yao@codesourcery.com>
3744 * gdb.server/no-thread-db.exp: Specify source file name
3745 explicitly when setting a breakpoint.
3747 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3749 * gdb.btrace/vdso.c: New.
3750 * gdb.btrace/vdso.exp: New.
3752 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3754 * gdb.base/gcore.exp (capture_command_output): Move ...
3755 * lib/gdb.exp (capture_command_output): ... here.
3757 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3759 * gdb.btrace/data.exp: Test memory access during btrace replay.
3761 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3763 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3765 2014-05-21 Pedro Alves <palves@redhat.com>
3768 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3769 (top level): Test that output related to execution commands is
3770 sent to the console with CLI commands, but not with MI commands.
3771 Test that breakpoint events are always mirrored to the console.
3772 Also expect the new source line to be output after a "next" in
3773 async mode too. Make it a pass/fail test.
3774 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3776 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3778 2014-05-21 Pedro Alves <palves@redhat.com>
3780 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3781 Use them to test variations of "list" after reaching a breakpoint.
3782 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3783 Test "list" with listsize 10 after reaching a breakpoint.
3784 * gdb.python/python.exp (decode_line current location line
3785 number): Adjust expected line number.
3787 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3789 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3790 behavior for $args, pass it directly to "run".
3792 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3794 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3797 2014-05-21 Pedro Alves <palves@redhat.com>
3799 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3800 auto-connect-native-target off".
3801 * gdb.base/auto-connect-native-target.c: New file.
3802 * gdb.base/auto-connect-native-target.exp: New file.
3804 2014-05-21 Pedro Alves <palves@redhat.com>
3806 * gdb.base/default.exp: Test "target native" instead of "target
3809 2014-05-21 Mark Wielaard <mjw@redhat.com>
3811 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3813 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3815 Fix TLS access for -static -pthread.
3816 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3817 <HAVE_TLS> (thread_function, main): Initialize it.
3818 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3820 <$have_tls != "">: Check TLSVAR.
3822 2014-05-21 Pedro Alves <palves@redhat.com>
3824 * gdb.base/dcache-line-read-error.c: New.
3825 * gdb.base/dcache-line-read-error.exp: New.
3827 2014-05-20 Pedro Alves <palves@redhat.com>
3829 * gdb.base/compare-sections.c: New file.
3830 * gdb.base/compare-sections.exp: New file.
3832 2014-05-20 Pedro Alves <palves@redhat.com>
3834 * gdb.base/break-idempotent.c: New file.
3835 * gdb.base/break-idempotent.exp: New file.
3837 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3839 * gdb.btrace/nohist.exp: New.
3841 2014-05-20 Yao Qi <yao@codesourcery.com>
3843 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3844 gdb.reverse directory and gdb_reverse_timeout exists in board
3846 * README: Document gdb_reverse_timeout.
3848 2014-05-20 Yao Qi <yao@codesourcery.com>
3850 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3851 'test_file_name'. Treat args as a string instead of a list.
3852 (gdb_init): Rename argument 'args' by 'test_file_name'.
3854 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * gdb.arch/powerpc-power.exp: New file.
3857 * gdb.arch/powerpc-power.s: New file.
3859 2014-05-16 Doug Evans <dje@google.com>
3861 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3862 * gdb.base/completion.exp: Check that all expected files exist
3863 before doing file completion.
3865 2014-05-16 Doug Evans <dje@google.com>
3867 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3869 (do_syscall_tests_without_xml): Update.
3871 2014-05-16 Pedro Alves <palves@redhat.com>
3873 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3874 instead of "unknown output after running".
3876 2014-05-16 Yao Qi <yao@codesourcery.com>
3878 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3879 file1.txt from host at the end.
3880 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3882 2014-05-15 Doug Evans <dje@google.com>
3884 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3885 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3886 loading file. Add test for TU lookup.
3888 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3890 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3891 calling "-exec-arguments" or "set args" before running the
3894 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3896 * lib/mi-support.exp (mi_expect_stop): Expect message for
3897 inferiors that exit with non-zero exit code.
3899 2014-05-14 Yao Qi <yao@codesourcery.com>
3901 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3902 match absolute path on remote host.
3903 (test_file_list_exec_source_files): Remove "/" from the
3906 2014-05-14 Yao Qi <yao@codesourcery.com>
3908 * boards/local-remote-host-notty.exp (${board}_file): New
3911 2014-05-07 Kyle McMartin <kyle@redhat.com>
3913 Pushed by Joel Brobecker <brobecker@adacore.com>.
3914 * gdb.arch/aarch64-atomic-inst.c: New file.
3915 * gdb.arch/aarch64-atomic-inst.exp: New file.
3917 2014-05-07 Yao Qi <yao@codesourcery.com>
3919 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3920 in current context" too.
3922 2014-05-05 Keith Seitz <keiths@redhat.com>
3924 * gdb.linespec/ls-dollar.exp: Add test for linespec
3925 file:convenience_variable.
3927 2014-05-05 Yao Qi <yao@codesourcery.com>
3929 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3930 traceframes into tfile and ctf trace files. Read data from
3931 trace file and test collected data.
3932 (gdb_collect_locals_test): Likewise.
3933 (gdb_unavailable_registers_test): Likewise.
3934 (gdb_unavailable_floats): Likewise.
3935 (gdb_collect_globals_test): Likewise.
3936 (top-level): Append "ctf" to trace_file_targets if GDB
3939 2014-05-05 Yao Qi <yao@codesourcery.com>
3941 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3943 (gdb_collect_args_test_1): ... it. New proc.
3944 (gdb_collect_locals_test): Move some code to ...
3945 (gdb_collect_locals_test_1): ... it. New proc.
3946 (gdb_unavailable_registers_test): Move some code to ...
3947 (gdb_unavailable_registers_test_1): ... it. New proc.
3948 (gdb_unavailable_floats): Move some code to ...
3949 (gdb_unavailable_floats_1): ... it. New proc.
3951 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3953 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3954 probes to test for bitness recognition.
3955 * gdb.arch/amd64-stap-optional-prefix.exp
3956 (test_probe_value_without_reg): New procedure.
3957 Add code to test for different kinds of bitness.
3959 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3961 PR breakpoints/16889
3962 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3963 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3965 2014-05-01 Pedro Alves <palves@redhat.com>
3967 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3968 gdb_file_cmd if no file is specified.
3969 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3970 last_loaded_file to set the remote exec-file.
3972 2014-05-01 Pedro Alves <palves@redhat.com>
3974 * boards/local-remote-host.exp: New file.
3976 2014-05-01 Pedro Alves <palves@redhat.com>
3978 * boards/local-remote-host.exp: Rename to ...
3979 * boards/local-remote-host-notty.exp: ... this.
3981 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3983 * gdb.ada/dyn_arrayidx: New testcase.
3985 2014-04-26 Yao Qi <yao@codesourcery.com>
3987 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3988 and compute the length of function main. Save it in
3990 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3991 (top-level): Use gdb_compile to compile objects into
3992 executable and restart GDB. Remove invocation to
3993 prepare_for_testing.
3995 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3996 Pedro Alves <palves@redhat.com>
3999 * gdb.multi/multi-attach.c: New file.
4000 * gdb.multi/multi-attach.exp: New file.
4002 2014-04-25 Pedro Alves <palves@redhat.com>
4004 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
4006 (top level): Test that "set remote conditional-breakpoints-packet
4007 off" works as intended.
4008 * gdb.base/dprintf.exp: Test that "set remote
4009 breakpoint-commands-packet off" works as intended.
4010 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
4012 (top level): Call it.
4013 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
4014 remote fast-tracepoints-packet off" works as intended.
4015 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
4016 * lib/gdb.exp (gdb_is_target_remote): ... here.
4018 2014-04-24 David Blaikie <dblaikie@gmail.com>
4020 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
4021 ensure clang would not discard them.
4022 * gdb.base/gdbvars.c: Ditto.
4023 * gdb.base/memattr.c: Ditto.
4024 * gdb.base/whatis.c: Ditto.
4025 * gdb.python/py-prettyprint.c: Ditto.
4026 * gdb.trace/actions.c: Ditto.
4027 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
4028 ensure clang would not discard it.
4030 2014-04-24 David Blaikie <dblaikie@gmail.com>
4032 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
4033 clang to emit the full definition of type required by the test
4034 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
4036 2014-04-24 David Blaikie <dblaikie@gmail.com>
4038 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
4039 coax Clang into emitting the definition of the type.
4040 * gdb.cp/pr10728-x.h (y): Ditto.
4041 * gdb.cp/pr10728-y.cc (y): Ditto.
4043 2014-04-24 David Blaikie <dblaikie@gmail.com>
4045 * gdb.base/label.exp: XFAIL label related tests under Clang.
4046 * gdb.cp/cplabel.exp: Ditto.
4047 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
4048 under Clang those using labels.
4050 2014-04-25 Yao Qi <yao@codesourcery.com>
4052 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
4054 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
4055 partial_label and double_label.
4057 2014-04-24 David Blaikie <dblaikie@gmail.com>
4059 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
4061 2014-04-24 David Blaikie <dblaikie@gmail.com>
4063 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
4064 of the function to work across GCC and Clang.
4065 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
4066 pointer types (const void ** const V void **).
4068 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4069 Walfred Tedeschi <walfred.tedeschi@intel.com>
4071 * Makefile.in (EXECUTABLES): Added i386-avx512.
4072 * gdb.arch/i386-avx512.c: New file.
4073 * gdb.arch/i386-avx512.exp: Likewise.
4075 2014-04-23 Keith Seitz <keiths@redhat.com>
4077 * lib/mi-support.exp (mi_list_breakpoints): Delete.
4078 (mi_make_breakpoint_table): New procedure.
4079 (mi_create_breakpoint): Use mi_make_breakpoint
4080 and return the result.
4081 (mi_make_breakpoint): New procedure.
4082 (mi_build_kv_pairs): New procedure.
4084 * gdb.mi/mi-break.exp: Remove unused globals,
4085 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
4086 All callers updated.
4087 * gdb.mi/mi-dprintf.exp: Use variable to track command
4089 Update all callers of mi_create_breakpoint and use
4090 mi_make_breakpoint_table.
4091 Remove any unused global variables.
4092 * gdb.mi/mi-nonstop.exp: Likewise.
4093 * gdb.mi/mi-nsintrall.exp: Likewise.
4094 * gdb.mi/mi-nsmoribund.exp: Likewise.
4095 * gdb.mi/mi-nsthrexec.exp: Likewise.
4096 * gdb.mi/mi-reverse.exp: Likewise.
4097 * gdb.mi/mi-simplerun.exp: Likewise.
4098 * gdb.mi/mi-stepn.exp: Likewise.
4099 * gdb.mi/mi-syn-frame.exp: Likewise.
4100 * gdb.mi/mi-until.exp: Likewise.
4101 * gdb.mi/mi-var-cp.exp: Likewise.
4102 * gdb.mi/mi-var-display.exp: Likewise.
4103 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
4104 * gdb.mi/mi2-var-child.exp: Likewise.
4105 * gdb.mi/mi-vla-c99.exp: Likewise.
4106 * lib/mi-support.exp: Likewise.
4108 From Ian Lance Taylor <iant@cygnus.com>:
4109 * lib/gdb.exp (parse_args): New procedure.
4111 2014-04-23 Pedro Alves <palves@redhat.com>
4113 * gdb.base/break-unload-file.c: New file.
4114 * gdb.base/break-unload-file.exp: New file.
4115 * gdb.base/sym-file-lib.c (baz): New function.
4116 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
4118 (load): Store the segment's mapped size.
4119 (unload): New function.
4120 (unload_shlib): New function.
4121 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
4122 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
4123 set a breakpoint at baz, and call it.
4124 * gdb.base/sym-file.exp: New tests for stale breakpoint
4127 2014-04-23 Pedro Alves <palves@redhat.com>
4129 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
4130 * gdb.base/hbreak-in-shr-unsupported.c: New file.
4131 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
4132 * gdb.base/hbreak-unmapped.c: New file.
4133 * gdb.base/hbreak-unmapped.exp: New file.
4134 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
4135 * lib/gdb.exp (gdb_is_target_remote): ... here.
4137 2014-04-22 Pedro Alves <palves@redhat.com>
4139 * gdb.base/consecutive-step-over.c: New file.
4140 * gdb.base/consecutive-step-over.exp: New file.
4142 2014-04-22 Pedro Alves <palves@redhat.com>
4144 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
4145 instead of send_gdb/gdb_expect.
4147 2014-04-22 Yao Qi <yao@codesourcery.com>
4149 * lib/trace-support.exp (generate_tracefile): New procedure.
4150 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
4152 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
4153 if generate_tracefile returns 1.
4155 2014-04-18 Tom Tromey <palves@redhat.com>
4156 Pedro alves <tromey@redhat.com>
4159 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
4160 with a backtrace limit.
4161 * gdb.python/py-frame-inline.exp: Test running to an inline
4162 function with a backtrace limit, and printing the newest frame.
4163 * gdb.python/py-frame-inline.c (main): Call f.
4165 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4167 * gdb.java/jnpe.exp: Drop srcdir from untested path.
4169 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
4171 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
4172 Drop prefix from unsupported source file path.
4174 2014-04-17 Yao Qi <yao@codesourcery.com>
4176 * lib/gdb.exp (with_target_charset): New proc.
4177 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
4178 with_target_charset.
4179 (test_print_strings): Likewise.
4180 (test_repeat_bytes): Likewise.
4181 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
4184 2014-04-16 Keith Seitz <keiths@redhat.com>
4187 * gdb.dwarf2/corrupt.c: New file.
4188 * gdb.dwarf2/corrupt.exp: New file.
4190 2014-04-16 Keith Seitz <keiths@redhat.com>
4193 * gdb.cp/namelessclass.cc: New file.
4194 * gdb.cp/namelessclass.exp: New file.
4195 * gdb.cp/namelessclass.S: New file.
4197 2014-04-16 Doug Evans <dje@google.com>
4199 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4201 (gdbserver_default_get_comm_port): New function.
4202 (gdbserver_start): Check if board file provided
4203 "gdbserver,get_comm_port" and use it if so.
4204 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
4205 (gdb,socketport): Set to "stdio".
4206 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
4207 (stdio_gdbserver_template): Delete.
4208 (${board}_get_remote_address): Update.
4209 (${board}_build_remote_cmd): Delete.
4210 (${board}_get_comm_port): New function.
4211 (${board}_spawn): Update.
4212 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
4214 (${board}_get_remote_address): Update.
4215 (${board}_get_comm_port): New function.
4217 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
4219 * gdb.base/memattr.exp: Improve regexps to handle memory regions
4220 appearing in any order.
4222 2014-04-15 Doug Evans <dje@google.com>
4224 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
4225 uninitialized value of "description".
4227 2014-04-15 Keith Seitz <keiths@redhat.com>
4229 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
4230 Remove unused globals.
4231 (test_running_the_program): Likewise.
4232 (test_controlled_execution): Likewise.
4233 (test_controlling_breakpoints): Likewise.
4234 (test_program_termination): Likewise.
4236 2014-04-15 Keith Seitz <keiths@redhat.com>
4238 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
4240 (test_rbreak_creation_and_listing): Likewise.
4241 (test_ignore_count): Likewise.
4242 (test_error): Likewise.
4244 2014-04-15 Pedro Alves <palves@redhat.com>
4246 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
4247 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
4249 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4250 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4251 to sym-file-loader.c.
4252 (struct library): Forward declare.
4253 (load_shlib, lookup_function): Change prototypes.
4254 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4255 (translate_offset): Remove declarations.
4256 (get_text_addr): New declaration.
4257 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
4258 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
4260 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
4261 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
4262 here from sym-file-loader.h.
4263 (struct library): New structure.
4264 (load_shlib, lookup_function): Change prototypes and adjust to
4265 work with a struct library.
4266 (find_shstrtab, find_strtab, find_shdr, find_symtab)
4267 (translate_offset): Make static.
4268 (get_text_addr): New function.
4269 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
4271 2014-04-15 Pedro Alves <palves@redhat.com>
4273 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
4275 2014-04-15 Pedro Alves <palves@redhat.com>
4277 * gdb.base/sym-file-loader.c: Include <limits.h>.
4278 (SELF_LINK): New define.
4279 (get_origin): New function.
4280 (load_shlib): Use it.
4281 * gdb.base/sym-file.exp: Don't early return if the target is
4282 remote. Use runto_main, and issue fail is that fails. Use
4284 (shlib_name): Delete.
4285 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
4287 2014-04-15 Pedro Alves <palves@redhat.com>
4289 * gdb.base/sym-file.exp: Remove regex characters from test
4290 message. Don't refer to breakpoint numbers in test messages.
4292 2014-04-14 Keith Seitz <keiths@redhat.com>
4295 * gdb.cp/var-tag.cc: New file.
4296 * gdb.cp/var-tag.exp: New file.
4297 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
4298 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
4299 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4300 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4302 2014-04-14 Tom Tromey <tromey@redhat.com>
4304 * gdb.cp/classes.exp (test_enums): Handle underlying type.
4305 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
4307 * gdb.cp/enum-class.exp: New file.
4308 * gdb.cp/enum-class.cc: New file.
4310 2014-04-14 Tom Tromey <tromey@redhat.com>
4312 * gdb.dwarf2/enum-type.exp: New file.
4314 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4316 * gdb.mi/mi-vla-c99.exp: New file.
4317 * gdb.mi/vla.c: New file.
4319 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4321 * gdb.base/vla-datatypes.c: New file.
4322 * gdb.base/vla-datatypes.exp: New file.
4324 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4326 * gdb.base/vla-ptr.c: New file.
4327 * gdb.base/vla-ptr.exp: New file.
4329 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4331 * gdb.dwarf2/count.exp: New file.
4333 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4335 * gdb.base/vla-sideeffect.c: New file.
4336 * gdb.base/vla-sideeffect.exp: New file.
4338 2014-04-14 David Blaikie <dblaikie@gmail.com>
4340 * gdb.mi/non-stop.c: Add return value for non-void function return
4342 * gdb.threads/staticthreads.c: Ditto.
4344 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4345 Doug Evans <xdje42@gmail.com>
4347 * gdb.guile/scm-value.c: Improve test case.
4348 * gdb.guile/scm-value.exp: Add new test.
4350 2014-04-11 David Blaikie <dblaikie@gmail.com>
4352 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
4353 override Clang's default.
4355 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4357 Revert the following changes (regressions):
4359 * gdb.base/vla-sideeffect.c: New file.
4360 * gdb.base/vla-sideeffect.exp: New file.
4362 * gdb.dwarf2/count.exp: New file.
4364 * gdb.base/vla-multi.c: New file.
4365 * gdb.base/vla-multi.exp: New file.
4367 * gdb.base/vla-ptr.c: New file.
4368 * gdb.base/vla-ptr.exp: New file.
4370 * gdb.base/vla-datatypes.c: New file.
4371 * gdb.base/vla-datatypes.exp: New file.
4373 * gdb.mi/mi-vla-c99.exp: New file.
4374 * gdb.mi/vla.c: New file.
4376 2014-04-11 Keith Seitz <keiths@redhat.com>
4379 * gdb.cp/cpsizeof.exp: New file.
4380 * gdb.cp/cpsizeof.cc: New file.
4382 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4384 * gdb.mi/mi-vla-c99.exp: New file.
4385 * gdb.mi/vla.c: New file.
4387 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4389 * gdb.base/vla-datatypes.c: New file.
4390 * gdb.base/vla-datatypes.exp: New file.
4392 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4394 * gdb.base/vla-ptr.c: New file.
4395 * gdb.base/vla-ptr.exp: New file.
4397 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4399 * gdb.base/vla-multi.c: New file.
4400 * gdb.base/vla-multi.exp: New file.
4402 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4404 * gdb.dwarf2/count.exp: New file.
4406 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4408 * gdb.base/vla-sideeffect.c: New file.
4409 * gdb.base/vla-sideeffect.exp: New file.
4411 2014-04-11 Yao Qi <yao@codesourcery.com>
4413 * gdb.base/completion.exp: Check file exists before running tests
4416 2014-04-10 Pedro Alves <palves@redhat.com>
4418 * gdb.base/cond-eval-mode.c: New file.
4419 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4420 prepare_for_testing to build the new file. Check result of
4422 (test_break, test_watch): New procedures.
4423 (top level): Use them.
4425 2014-04-08 Pierre Muller <muller@sourceware.org>
4427 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4428 Ctrl-V use for mingw hosts.
4430 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4432 * gdb.python/py-value.c: Improve test case.
4433 * gdb.python/py-value.exp: Add new test.
4435 2014-04-07 David Blaikie <dblaikie@gmail.com>
4437 * lib/compiler.c: Identify the clang compiler.
4438 * lib/compiler.cc: Ditto.
4440 2014-04-03 Yao Qi <yao@codesourcery.com>
4442 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4444 2014-04-01 Anton Blanchard <anton@samba.org>
4446 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4449 2014-04-01 Anton Blanchard <anton@samba.org>
4451 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4452 prepare_for_testing.
4454 2014-04-01 Anton Blanchard <anton@samba.org>
4456 * gdb.arch/ppc64-atomic-inst.c: Remove.
4457 * gdb.arch/ppc64-atomic-inst.S: New file.
4458 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4460 2014-03-31 Doug Evans <dje@google.com>
4462 * gdb.base/print-symbol-loading-lib.c: New file.
4463 * gdb.base/print-symbol-loading-main.c: New file.
4464 * gdb.base/print-symbol-loading.exp: New file.
4466 2014-03-31 Yao Qi <yao@codesourcery.com>
4468 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4470 2014-03-28 Joel Brobecker <brobecker@adacore.com>
4472 * gdb.ada/mi_dyn_arr: New testcase.
4474 2014-03-27 Doug Evans <dje@google.com>
4476 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4478 2014-03-27 Yao Qi <yao@codesourcery.com>
4480 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4481 if target is nios2-*-*.
4483 2014-03-26 Yao Qi <yao@codesourcery.com>
4485 * lib/gdb.exp (readline_is_used): New proc.
4486 * gdb.base/completion.exp: Move tests on command complete up.
4487 Skip the rest of tests if readline is not used.
4488 * gdb.ada/complete.exp: Skp the test if readline is not
4490 * gdb.base/filesym.exp: Likewise.
4491 * gdb.base/macscp.exp: Likewise.
4492 * gdb.base/readline-ask.exp: Likewise.
4493 * gdb.base/readline.exp: Likewise.
4494 * gdb.python/py-cmd.exp: Likewise.
4495 * gdb.trace/tfile.exp: Likewise.
4497 2014-03-26 Yao Qi <yao@codesourcery.com>
4499 * gdb.base/macscp.exp: Fix code format issues.
4501 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4503 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4504 * gdb.asm/powerpc64le.inc: New file.
4506 2014-03-25 Pedro Alves <palves@redhat.com>
4507 Doug Evans <dje@google.com>
4509 * gdb.base/source-execution.c: New file.
4510 * gdb.base/source-execution.exp: New file.
4511 * gdb.base/source-execution.gdb: New file.
4513 2014-03-24 Doug Evans <dje@google.com>
4515 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4518 2014-03-24 Hui Zhu <hui@codesourcery.com>
4519 Pedro Alves <palves@redhat.com>
4521 PR breakpoints/16101
4522 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4523 test pass/fail messages. Detect missing support for dprintf when
4524 breakpoints are actually inserted.
4525 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4526 breakpoints are actually inserted.
4527 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4530 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4532 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4534 2014-03-22 Doug Evans <xdje42@gmail.com>
4536 * gdb.python/python.exp (python not supported): Verify multi-line
4537 python command issues an error.
4538 * gdb.guile/guile.exp (guile not supported): Verify multi-line
4539 guile command issues an error.
4541 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4543 * gdb.threads/thread-specific.exp: Handle the lack of usable
4544 $this_breakpoint and $this_thread.
4546 2014-03-21 Hui Zhu <hui@codesourcery.com>
4548 * gdb.base/attach.exp (do_command_attach_tests): New.
4550 2014-03-20 Tom Tromey <tromey@redhat.com>
4551 Pedro Alves <palves@redhat.com>
4554 * gdb.base/condbreak-call-false.c: New file.
4555 * gdb.base/condbreak-call-false.exp: New file.
4557 2014-03-20 Pedro Alves <palves@redhat.com>
4559 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4561 (block_signals, unblock_signals): Delete.
4562 (child_function_2, main): Remove references to deleted variable
4565 2014-03-20 Pedro Alves <palves@redhat.com>
4567 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4568 Use pthread_kill to signal thread 2.
4569 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4570 Adjust to make the test send itself a signal rather than using the
4571 host's "kill" command.
4573 2014-03-20 Pedro Alves <palves@redhat.com>
4575 * gdb.threads/multiple-step-overs.c: New file.
4576 * gdb.threads/multiple-step-overs.exp: New file.
4577 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4578 Adjust expected infrun debug output.
4580 2014-03-20 Pedro Alves <palves@redhat.com>
4582 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4583 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4585 2014-03-20 Pedro Alves <palves@redhat.com>
4588 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4589 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4590 of gdb_test_multiple.
4591 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4592 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4594 2014-03-20 Pedro Alves <palves@redhat.com>
4596 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4597 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4599 2014-03-19 Pedro Alves <palves@redhat.com>
4601 * gdb.base/async.exp: Remove early return.
4603 2014-03-19 Pedro Alves <palves@redhat.com>
4605 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4607 2014-03-19 Pedro Alves <palves@redhat.com>
4609 * gdb.base/async.exp (test_background): Expect \r\n after
4610 "completed." in the fail pattern.
4612 2014-03-19 Pedro Alves <palves@redhat.com>
4614 * gdb.base/async.exp (test_background): New procedure.
4615 Use it for all background execution command tests.
4617 2014-03-19 Pedro Alves <palves@redhat.com>
4619 * gdb.base/async.exp: Use prepare_for_testing.
4621 2014-03-19 Pedro Alves <palves@redhat.com>
4623 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4626 2014-03-19 Pedro Alves <palves@redhat.com>
4628 * gdb.base/async.c (main): Add "jump here" and "until here" line
4630 * gdb.base/async.exp (jump_here): New global.
4631 (jump& test): Use it.
4632 (until_here): New global.
4633 (until& test): Use it.
4635 2014-03-19 Pedro Alves <palves@redhat.com>
4637 * gdb.base/async.exp: Don't frob gdb_protocol.
4639 2014-03-18 Doug Evans <xdje42@gmail.com>
4641 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4642 Fix spelling of exec-done-display.
4644 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4647 * gdb.base/gdb-sigterm.c: New file.
4648 * gdb.base/gdb-sigterm.exp: New file.
4650 2014-03-18 Pedro Alves <palves@redhat.com>
4653 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4654 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4657 2014-03-17 Joel Brobecker <brobecker@adacore.com>
4659 * gdb.ada/pckd_arr_ren: New testcase.
4661 2014-03-13 Doug Evans <xdje42@gmail.com>
4664 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4665 collect after discarding symbols.
4667 2014-03-13 Ludovic Courtès <ludo@gnu.org>
4668 Doug Evans <xdje42@gmail.com>
4670 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4671 to history survives a gc.
4673 2014-03-13 Pedro Alves <palves@redhat.com>
4675 * gdb.base/default.exp: Don't test "target procfs".
4677 2014-03-13 Pedro Alves <palves@redhat.com>
4679 * gdb.base/default.exp: Update "target child" and "target procfs"
4680 tests to not expect "Unix".
4682 2014-03-12 Tom Tromey <tromey@redhat.com>
4684 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4685 New procs. Add target-async tests.
4686 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4687 Add target-async tests.
4689 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4692 'func_start' and 'func_end' for the beginning and end of the
4693 function code, respectively.
4694 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4695 'func_end' instead of 'func' and 'main'.
4697 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4699 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4700 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4701 generate the debug info assembler source.
4703 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4705 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4706 * gdb.dwarf2/arr-subrange.exp: Likewise.
4707 * gdb.dwarf2/dwz.exp: Likewise.
4708 * gdb.dwarf2/method-ptr.exp: Likewise.
4709 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4710 * gdb.dwarf2/subrange.exp: Likewise.
4711 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4712 * gdb.dwarf2/implptrpiece.exp: Likewise.
4713 * gdb.dwarf2/nostaticblock.exp: Likewise.
4715 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4717 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4718 directory to absolute path name arguments.
4720 2014-03-10 Joel Brobecker <brobecker@adacore.com>
4722 * gdb.ada/tagged_access: New testcase.
4724 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4726 * gdb.btrace/data.exp: Update expected output.
4728 2014-03-06 Yao Qi <yao@codesourcery.com>
4730 * gdb.trace/pr16508.exp: New file.
4732 2014-03-05 Pedro Alves <palves@redhat.com>
4735 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4737 (top level): Adjust to use it. Add tests that exercise breakpoint
4738 interaction with the code-cache.
4740 2014-02-26 Ludovic Courtès <ludo@gnu.org>
4742 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4743 test for 'history-append!'.
4745 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4747 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4748 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4749 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4750 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4751 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4752 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4754 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4756 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4757 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4758 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4760 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4762 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4764 2014-02-26 Joel Brobecker <brobecker@adacore.com>
4766 * gdb.dwarf2/arr-stride.c: New file.
4767 * gdb.dwarf2/arr-stride.exp: New file.
4769 2014-02-26 Pedro Alves <palves@redhat.com>
4771 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4772 that won't ever trigger. Make sure that GDB reports the correct
4773 breakpoint that caused the stop.
4775 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4778 * gdb.base/auto-load-script: New file.
4779 * gdb.base/auto-load.c: New file.
4780 * gdb.base/auto-load.exp: New file.
4783 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4785 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4787 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4788 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4790 2014-02-24 Doug Evans <dje@google.com>
4792 * lib/gdb.exp (run_on_host): Log error output if program fails.
4794 2014-02-21 Pedro Alves <palves@redhat.com>
4796 * gdb.threads/step-after-sr-lock.c: Rename to ...
4797 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4798 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4799 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4802 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4805 * gdb.arch/amd64-stap-special-operands.exp: New file.
4806 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4807 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4808 * gdb.arch/amd64-stap-triplet.S: Likewise.
4809 * gdb.arch/amd64-stap-triplet.c: Likewise.
4811 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4813 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4814 in .section pseudo-op.
4816 2014-02-20 lin zuojian <manjian2006@gmail.com>
4817 Joel Brobecker <brobecker@adacore.com>
4818 Doug Evans <xdje42@gmail.com>
4821 * gdb.dwarf2/dw2-icycle.S: New file.
4822 * gdb.dwarf2/dw2-icycle.c: New file.
4823 * gdb.dwarf2/dw2-icycle.exp: New file.
4825 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4827 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4828 operations on gdb.Value objects.
4829 * gdb.python/py-value-cc.exp: Add new test to test operations on
4832 2014-02-18 Doug Evans <dje@google.com>
4834 * Makefile.in (TESTS): New variable.
4835 (expanded_tests, expanded_tests_or_none): New variables
4836 (check-single): Pass $(expanded_tests_or_none) to runtest.
4837 (check-parallel): Only run tests in $(TESTS) if non-empty.
4838 (check/no-matching-tests-found): New rule.
4839 * README: Document TESTS makefile variable.
4841 2014-02-18 Doug Evans <dje@google.com>
4843 * Makefile.in (check-parallel): rm -rf outputs temp.
4845 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4847 Fix "ERROR: no fileid for" in the testsuite.
4848 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4850 2014-02-12 Doug Evans <dje@google.com>
4852 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4853 (MISCELLANEOUS): New variable.
4854 (clean): rm -rf $(MISCELLANEOUS).
4855 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4856 dwp live in the same directory as symlinks, with each symlink pointed
4857 to a differently named file in a different directory.
4859 2014-02-11 Doug Evans <dje@google.com>
4861 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4862 of Tcl file commands.
4864 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4866 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4869 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4871 * gdb.ada/tick_length_array_enum_idx: New testcase.
4873 2014-02-10 Doug Evans <xdje42@gmail.com>
4875 * configure.ac (AC_OUTPUT): Add gdb.guile.
4876 * configure: Regenerate.
4877 * lib/gdb-guile.exp: New file.
4878 * lib/gdb.exp (get_target_charset): New function.
4879 * gdb.base/help.exp: Update expected output from "apropos apropos".
4880 * gdb.guile/Makefile.in: New file.
4881 * gdb.guile/guile.exp: New file.
4882 * gdb.guile/scm-arch.c: New file.
4883 * gdb.guile/scm-arch.exp: New file.
4884 * gdb.guile/scm-block.c: New file.
4885 * gdb.guile/scm-block.exp: New file.
4886 * gdb.guile/scm-breakpoint.c: New file.
4887 * gdb.guile/scm-breakpoint.exp: New file.
4888 * gdb.guile/scm-disasm.c: New file.
4889 * gdb.guile/scm-disasm.exp: New file.
4890 * gdb.guile/scm-equal.c: New file.
4891 * gdb.guile/scm-equal.exp: New file.
4892 * gdb.guile/scm-error.exp: New file.
4893 * gdb.guile/scm-error.scm: New file.
4894 * gdb.guile/scm-frame-args.c: New file.
4895 * gdb.guile/scm-frame-args.exp: New file.
4896 * gdb.guile/scm-frame-args.scm: New file.
4897 * gdb.guile/scm-frame-inline.c: New file.
4898 * gdb.guile/scm-frame-inline.exp: New file.
4899 * gdb.guile/scm-frame.c: New file.
4900 * gdb.guile/scm-frame.exp: New file.
4901 * gdb.guile/scm-generics.exp: New file.
4902 * gdb.guile/scm-gsmob.exp: New file.
4903 * gdb.guile/scm-iterator.c: New file.
4904 * gdb.guile/scm-iterator.exp: New file.
4905 * gdb.guile/scm-math.c: New file.
4906 * gdb.guile/scm-math.exp: New file.
4907 * gdb.guile/scm-objfile-script-gdb.in: New file.
4908 * gdb.guile/scm-objfile-script.c: New file.
4909 * gdb.guile/scm-objfile-script.exp: New file.
4910 * gdb.guile/scm-objfile.c: New file.
4911 * gdb.guile/scm-objfile.exp: New file.
4912 * gdb.guile/scm-ports.exp: New file.
4913 * gdb.guile/scm-pretty-print.c: New file.
4914 * gdb.guile/scm-pretty-print.exp: New file.
4915 * gdb.guile/scm-pretty-print.scm: New file.
4916 * gdb.guile/scm-section-script.c: New file.
4917 * gdb.guile/scm-section-script.exp: New file.
4918 * gdb.guile/scm-section-script.scm: New file.
4919 * gdb.guile/scm-symbol.c: New file.
4920 * gdb.guile/scm-symbol.exp: New file.
4921 * gdb.guile/scm-symtab-2.c: New file.
4922 * gdb.guile/scm-symtab.c: New file.
4923 * gdb.guile/scm-symtab.exp: New file.
4924 * gdb.guile/scm-type.c: New file.
4925 * gdb.guile/scm-type.exp: New file.
4926 * gdb.guile/scm-value-cc.cc: New file.
4927 * gdb.guile/scm-value-cc.exp: New file.
4928 * gdb.guile/scm-value.c: New file.
4929 * gdb.guile/scm-value.exp: New file.
4930 * gdb.guile/source2.scm: New file.
4931 * gdb.guile/types-module.cc: New file.
4932 * gdb.guile/types-module.exp: New file.
4934 2014-02-10 Yao Qi <yao@codesourcery.com>
4937 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4938 * configure: Regenerated.
4939 * Makefile.in: New file.
4941 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4943 * gdb.python/py-framefilter.exp: Fix typo.
4945 2014-02-08 Yao Qi <yao@codesourcery.com>
4947 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4948 that no =breakpoint-modified is emitted when breakpoints are
4949 modified through MI commands.
4951 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4952 Pedro Alves <palves@redhat.com>
4954 * gdb.threads/step-after-sr-lock.c: New file.
4955 * gdb.threads/step-after-sr-lock.exp: New file.
4957 2014-02-07 Pedro Alves <palves@redhat.com>
4959 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4961 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4963 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4964 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4966 2014-02-06 Doug Evans <xdje42@gmail.com>
4968 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4971 * gdb.gdb/python-interrupts.exp: New file.
4973 2014-02-05 Yao Qi <yao@codesourcery.com>
4975 * gdb.trace/report.exp (use_collected_data): Test the output
4976 of "info threads" and "info inferiors".
4978 2014-02-05 Yao Qi <yao@codesourcery.com>
4982 2013-05-24 Yao Qi <yao@codesourcery.com>
4984 * gdb.trace/tfile.exp: Test inferior and thread.
4986 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4988 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4990 * gdb.base/step-bt.c: Call hello via function pointer to make
4991 sure its first instruction is executed on powerpc64le-linux.
4993 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4995 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4997 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4999 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
5000 of the test patterns for use on little-endian systems.
5002 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5004 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
5005 (decimal_vector): Fix for little-endian.
5007 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5009 * gdb.arch/sparc-sysstep.exp: New file.
5010 * gdb.arch/sparc-sysstep.c: Likewise.
5012 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
5014 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5016 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
5018 2014-01-23 Tom Tromey <tromey@redhat.com>
5020 * gdb.ada/array_char_idx: New testcase.
5022 2014-01-23 Tom Tromey <tromey@redhat.com>
5025 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
5026 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
5029 2014-01-23 Tom Tromey <tromey@redhat.com>
5032 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
5033 string from an inferior frame.
5034 * gdb.python/py-framefilter-mi.exp: Update.
5036 2014-01-22 Doug Evans <dje@google.com>
5038 * gdb.server/server-mon.exp: Add tests for "set debug-format".
5040 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5042 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
5044 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5046 * gdb.trace/entry-values.exp: Remove excess space character from
5047 regex patterns. Handle s390 call instruction.
5049 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5051 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
5052 define "*_start" label. Make "name" static.
5053 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
5054 ${name} by references to ${name}_start.
5056 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5058 * gdb.base/info-macros.exp: Remove "debug" from the compile
5061 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5063 * gdb.dlang/demangle.exp: New file.
5065 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5067 * gdb.dlang/primitive-types.exp: New file.
5069 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5071 * configure.ac: Create gdb.dlang/Makefile.
5072 * configure: Regenerate.
5073 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
5074 * gdb.dlang/Makefile.in: New file.
5075 * lib/d-support.exp: New file.
5076 * lib/gdb.exp (skip_d_tests): New proc.
5078 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5080 * gdb.btrace/delta.exp: Check reverse stepi.
5081 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
5082 * gdb.btrace/finish.exp: New.
5083 * gdb.btrace/next.exp: New.
5084 * gdb.btrace/nexti.exp: New.
5085 * gdb.btrace/record_goto.c: Add comments.
5086 * gdb.btrace/step.exp: New.
5087 * gdb.btrace/stepi.exp: New.
5088 * gdb.btrace/multi-thread-step.c: New.
5089 * gdb.btrace/multi-thread-step.exp: New.
5090 * gdb.btrace/rn-dl-bind.c: New.
5091 * gdb.btrace/rn-dl-bind.exp: New.
5092 * gdb.btrace/data.c: New.
5093 * gdb.btrace/data.exp: New.
5094 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5096 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5098 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
5099 * gdb.btrace/exception.exp: Update.
5100 * gdb.btrace/instruction_history.exp: Update.
5101 * gdb.btrace/record_goto.exp: Update.
5102 * gdb.btrace/tailcall.exp: Update.
5103 * gdb.btrace/unknown_functions.exp: Update.
5104 * gdb.btrace/delta.exp: New.
5106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5108 * gdb.btrace/record_goto.exp: Add backtrace test.
5109 * gdb.btrace/tailcall.exp: Add backtrace test.
5111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5113 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
5114 * gdb.btrace/record_goto.c: New.
5115 * gdb.btrace/record_goto.exp: New.
5116 * gdb.btrace/x86-record_goto.S: New.
5118 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5120 * gdb.btrace/function_call_history.exp: Update tests.
5121 * gdb.btrace/instruction_history.exp: Update tests.
5123 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5125 * gdb.btrace/function_call_history.exp: Fix expected field
5126 order for "record function-call-history".
5127 Add new tests for "record function-call-history /c".
5128 * gdb.btrace/exception.cc: New.
5129 * gdb.btrace/exception.exp: New.
5130 * gdb.btrace/tailcall.exp: New.
5131 * gdb.btrace/x86-tailcall.S: New.
5132 * gdb.btrace/x86-tailcall.c: New.
5133 * gdb.btrace/unknown_functions.c: New.
5134 * gdb.btrace/unknown_functions.exp: New.
5135 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
5137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5139 * gdb.btrace/instruction_history.exp: Update.
5140 * gdb.btrace/function_call_history.exp: Update.
5142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5144 * gdb.btrace/function_call_history.exp: Fix expected function
5146 * gdb.btrace/instruction_history.exp: Initialize traced.
5147 Remove traced_functions.
5149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5151 * gdb.btrace/function_call_history.exp: Update
5152 * gdb.btrace/instruction_history.exp: Update.
5154 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5156 * gdb.btrace/enable.exp: Update expected text.
5158 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
5160 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
5163 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
5165 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
5167 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
5169 * lib/gdb.exp (supports_process_record): Return true for
5170 arm*-linux*. (supports_reverse): Likewise.
5172 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
5176 * gdb.python/py-type.c: Enhance test case.
5177 * gdb.python/py-value-cc.cc: Likewise
5178 * gdb.python/py-type.exp: Add new tests.
5179 * gdb.python/py-value-cc.exp: Likewise
5181 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5182 Pedro Alves <palves@redhat.com>
5184 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
5186 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
5187 references to ${name}_start by references to ${name}.
5189 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5191 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
5193 2014-01-10 Joel Brobecker <brobecker@adacore.com>
5195 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
5197 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
5198 Pedro Alves <palves@redhat.com>
5200 * gdb.mi/mi-info-os.exp: Connect to the target with
5203 2014-01-08 Pedro Alves <palves@redhat.com>
5205 * gdb.threads/reconnect-signal.c: New file.
5206 * gdb.threads/reconnect-signal.exp: New file.
5208 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5210 * gdb.base/source-dir.exp: New file.
5212 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5214 * gdb.ada/mi_interface: New testcase.
5216 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5218 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
5219 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
5220 gdb.ada/pp-rec-component/pck.ads: New files.
5222 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5224 * gdb.python/py-pp-integral.c: New file.
5225 * gdb.python/py-pp-integral.py: New file.
5226 * gdb.python/py-pp-integral.exp: New file.
5228 For older changes see ChangeLog-1993-2013.
5234 ;; version-control: never
5237 Copyright 2014-2015 Free Software Foundation, Inc.
5238 Copying and distribution of this file, with or without modification,
5239 are permitted provided the copyright notice and this notice are preserved.