1 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2 Jan Kratochvil <jan.kratochvil@redhat.com>
4 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5 make m1's definition to be different from m2's. Use 'dummy' as an
6 argument for probe 'two'.
8 2016-09-10 Jon Beniston <jon@beniston.com>
10 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
15 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
17 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
18 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
19 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
20 received HWCAP as its argument.
22 2016-09-06 Pedro Alves <palves@redhat.com>
24 * gdb.base/new-ui-pending-input.c: New file.
25 * gdb.base/new-ui-pending-input.exp: New file.
26 * gdb.exp (clear_gdb_spawn_id): New procedure.
27 (with_spawn_id): Check whether gdb_spawn_id exists before
28 referencing it. If gdb_spawn_id didn't exist on entry, clear it
31 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
33 * gdb.base/float128.c: New file.
34 * gdb.base/float128.exp: Likewise.
35 * gdb.base/floatn.c: Likewise.
36 * gdb.base/floatn.exp: Likewise.
38 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
40 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
42 2016-09-05 Pedro Alves <palves@redhat.com>
45 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
46 unwinders are immediately called as side effect of "source" or
47 "disable unwinder" commands.
48 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
50 2016-09-02 Yao Qi <yao.qi@linaro.org>
52 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
53 is true and $type is "float" or "double".
55 2016-09-02 Yao Qi <yao.qi@linaro.org>
57 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
59 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
60 * gdb.base/call-rt-st.exp: Likewise.
61 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
62 return value instead of gdb,skip_float_test.
63 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
64 (do_function_calls): Use its return value instead of
66 * gdb.base/finish.exp: Likewise.
67 * gdb.base/funcargs.exp: Likewise.
68 * gdb.base/return.exp: Likewise.
69 * gdb.base/return2.exp: Likewise.
70 * gdb.base/varargs.exp: Likewise.
71 * lib/gdb.exp (gdb_skip_float_test): Change it to
72 gdb_caching_proc. Detect the broken ptrace on arm-linux.
74 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
76 * gdb.multi/tids.exp: Test "thread apply all".
78 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
80 * gdb.base/default.exp (tty): Remove.
82 2016-08-24 Kevin Buettner <kevinb@redhat.com>
84 * gdb.python/py-recurse-unwind.c: New file.
85 * gdb.python/py-recurse-unwind.py: New file.
86 * gdb.python/py-recurse-unwind.exp: New file.
88 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
90 * gdb.base/set-inferior-tty.exp: New file.
91 * gdb.base/set-inferior-tty.c: New file.
93 2016-08-23 Pedro Alves <palves@redhat.com>
96 * gdb.base/new-ui-echo.c: New file.
97 * gdb.base/new-ui-echo.exp: New file.
99 2016-08-23 Yao Qi <yao.qi@linaro.org>
101 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
103 * gdb.server/connect-without-multi-process.exp (do_test):
106 2016-08-23 Yao Qi <yao.qi@linaro.org>
108 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
109 standalone_txt. Delete gdb_txt and standalone_txt on host
110 and target. Spawn the binary on target. Copy files from
113 2016-08-22 Pedro Alves <palves@redhat.com>
116 * gdb.base/vdso-warning.exp: Test core dumps too. Use
117 with_test_prefix. Factor out bits to ...
118 (test_no_vdso): ... this new procedure.
120 2016-08-19 Carl Love <cel@us.ibm.com>
122 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
123 maintaining separate logic for constructing the output path.
124 * gdb.arch/powerpc-d128-regs.exp: Likewise.
125 * gdb.arch/ppc-dfp.exp: Likewise.
126 * gdb.arch/ppc-fp.exp: Likewise.
127 * gdb.arch/vsx-regs.exp: Likewise.
128 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
129 binprefix for generating the additional binary files.
131 2016-08-19 Pedro Alves <palves@redhat.com>
133 * gdb.trace/mi-trace-frame-collected.exp
134 (test_trace_frame_collected): On x32, expect two registers.
136 2016-08-18 Carl Love <cel@us.ibm.com>
138 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
139 and sync up the test with tests in gas/testsuite/gas/ppc.
140 * gdb.arch/powerpc-power.exp: Likewise.
142 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
144 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
145 expected error message.
147 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
149 * gdb.multi/remove-inferiors.exp: New file.
150 * gdb.multi/remove-inferiors.c: New file.
152 2016-08-12 Yao Qi <yao.qi@linaro.org>
154 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
157 2016-08-10 Pedro Alves <palves@redhat.com>
160 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
163 2016-08-09 Pedro Alves <palves@redhat.com>
164 Simon Marchi <simon.marchi@ericsson.com>
167 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
168 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
170 2016-08-09 Pedro Alves <palves@redhat.com>
173 * gdb.mi/mi-cmd-error.exp: New file.
175 2016-08-09 Pedro Alves <palves@redhat.com>
178 * gdb.base/signals-state-child.c: New file.
179 * gdb.base/signals-state-child.exp: New file.
180 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
182 2016-08-09 Pedro Alves <palves@redhat.com>
184 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
186 2016-08-03 Tom Tromey <tom@tromey.com>
189 * gdb.python/py-frame-inline.exp: Add Frame.function test.
191 2016-08-01 Yao Qi <yao.qi@linaro.org>
193 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
194 variable mode to "multi-process" if $multi_process is 1, otherwise
195 set it to "single-process".
197 2016-08-01 Yao Qi <yao.qi@linaro.org>
199 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
200 * gdb.cp/cpexprs.exp: Likewise.
201 * gdb.cp/m-static.exp: Likewise.
203 2016-07-26 Tom Tromey <tom@tromey.com>
206 * gdb.threads/tls.exp (check_thread_local): Add python symbol
209 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
211 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
212 selecting assembly source files.
213 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
214 assembly source files.
215 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
216 assembly source files.
217 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
218 selecting assembly source files.
220 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
222 * gdb.base/new-ui.exp (do_test_invalid_args): New
225 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
227 * gdb.btrace/reconnect.c: New file.
228 * gdb.btrace/reconnect.exp: New file.
230 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
232 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
233 to test_catch_syscall_group.
234 (test_catch_syscall_group): New.
236 2016-07-21 Tom Tromey <tom@tromey.com>
238 * gdb.rust/simple.rs (main): Use empty struct expression.
239 * gdb.rust/simple.exp: Add tests for empty struct expression.
241 2016-07-21 Yao Qi <yao.qi@linaro.org>
243 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
244 if gdb_skip_xml_test is true on some targets.
246 2016-07-21 Yao Qi <yao.qi@linaro.org>
248 * gdb.server/solib-list.exp: Unset last_loaded_file.
250 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
252 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
253 "step into captured_main (args)".
255 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
257 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
259 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
261 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
263 2016-07-19 Pedro Alves <palves@redhat.com>
265 * gdb.opt/inline-break.exp: Remove optimize=-O2.
266 * gdb.opt/inline-bt.exp: Likewise.
267 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
268 additional_flags=-Winline.
269 * gdb.opt/inline-locals.exp: Likewise.
270 * gdb.opt/inline-markers.c (ATTR): Define.
271 (inlined_fn): Use it.
273 2016-07-19 Yao Qi <yao.qi@linaro.org>
275 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
276 (test_with_self): Remove some code. Remove argument executable.
277 (top-level): Use do_self_tests.
279 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
280 Don Breazeal <donb@codesourcery.com>
282 * gdb.base/maint.exp: Escape paths used in regular expressions.
283 * gdb.stabs/weird.exp: Likewise.
285 2016-07-13 Tom Tromey <tom@tromey.com>
287 PR python/15620, PR python/18620:
288 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
289 (test_bkpt_events): New procs.
291 2016-07-13 Tom Tromey <tom@tromey.com>
294 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
296 (test_watchpoints): Likewise.
297 (test_bkpt_pending): New proc.
299 2016-07-13 Tom Tromey <tom@tromey.com>
302 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
305 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
307 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
308 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
309 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
311 (g): Rename g_end_lbl to g_label.
312 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
314 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
316 2016-07-12 Tom Tromey <tom@tromey.com>
319 * gdb.python/py-unwind-maint.exp: Update tests.
321 2016-07-12 Yao Qi <yao.qi@linaro.org>
323 * lib/selftest-support.exp (selftest_setup): Match the output
324 when captured_main is inlined.
326 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
328 * gdb.fortran/derived-types.exp (result_line, result_line_2):
330 (print this%a, print this%b, print this): New tests.
331 * gdb.fortran/derived-types.f90 (this): New object and
334 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
336 * gdb.ada/arraydim.exp: Remove extra directory level in build
339 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
341 * lib/ada.exp: Remove extra directory level in build directory.
342 * gdb.ada/cond_lang.exp: Likewise.
343 * gdb.ada/exec_changed.exp: Likewise.
344 * gdb.ada/lang_switch.exp: Likewise.
346 2016-07-06 Manish Goregaokar <manish@mozilla.com>
348 * simple.rs: Add test for raw pointer subscripting
349 * simple.exp: Add test expectations
351 2016-07-05 Yao Qi <yao.qi@linaro.org>
353 * gdb.mi/mi-reverse.exp: Match =record-started output.
355 2016-07-01 Pedro Alves <palves@redhat.com>
357 * gdb.base/jit-reader.exp (info_registers_current_frame): New
359 (jit_reader_test): Test the jit reader's unwinder.
360 * gdb.base/jithost.c (jit_function_00_code): New global.
361 (main): Use memcpy to fill in the mmapped code, instead of poking
363 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
365 (read_debug_info): Save the function's range.
366 (read_sp): New function.
367 (unwind_frame): Use it. Also unwind RBP.
368 (get_frame_id): Use read_sp.
369 (gdb_init_reader): Use calloc instead of malloc.
370 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
371 parameter. Use gdb_test_multiple.
373 2016-07-01 Pedro Alves <palves@redhat.com>
374 Antoine Tremblay <antoine.tremblay@ericsson.com>
376 * gdb.threads/process-dies-while-detaching.c: New file.
377 * gdb.threads/process-dies-while-detaching.exp: New file.
379 2016-07-01 Pedro Alves <palves@redhat.com>
381 * gdb.multi/watchpoint-multi-exit.c: New file.
382 * gdb.multi/watchpoint-multi-exit.exp: New file.
384 2016-06-30 Pedro Alves <palves@redhat.com>
386 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
387 unset inferior_spawn_id.
389 2016-06-30 Pedro Alves <palves@redhat.com>
391 * lib/mi-support.exp (default_mi_gdb_start): Declare global
392 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
394 2016-06-29 Yao Qi <yao.qi@linaro.org>
396 * gdb.base/return.c: Add copyright header.
398 2016-06-29 Tom Tromey <tom@tromey.com>
401 * gdb.python/py-framefilter.exp: Add tests for setting priority
402 and disabling of non-existent frame filter.
404 2016-06-29 Yao Qi <yao.qi@linaro.org>
406 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
409 2016-06-28 Yao Qi <yao.qi@linaro.org>
411 * gdb.base/catch-syscall.exp: Remove check on isnative and target
412 triplets. Start gdb, execute catch syscall, and continue. Check
413 gdb's output to determine catch syscall is supported.
415 2016-06-27 Manish Goregaokar <manish@mozilla.com>
417 * gdb.rust/simple.rs: Add test for returning unit in a function.
418 * gdb.rust/simple.exp: Add expectation for functions returning
421 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
423 * gdb.python/py-breakpoint-create-fail.c,
424 gdb.python/py-breakpoint-create-fail.exp,
425 gdb.python/py-breakpoint-create-fail.py: New testcase.
427 2016-06-25 Manish Goregaokar <manish@mozilla.com>
430 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
431 * gdb.rust/simple.exp: Add test expectations for new NonZero
434 2016-06-24 David Taylor <dtaylor@emc.com>
436 * gdb.base/offsets.exp: New file.
437 * gdb.base/offsets.c: New file.
439 2016-06-23 Tom Tromey <tom@tromey.com>
442 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
443 before any filters are loaded.
445 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
447 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
448 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
450 * gdb.fortran/derived-type-function.exp: New file.
451 * gdb.fortran/derived-type-function.f90: New file.
454 2016-06-21 Pedro Alves <palves@redhat.com>
456 * gdb.base/new-ui.exp: New file.
457 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
458 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
459 (with_spawn_id): New procedure.
461 2016-06-21 Pedro Alves <palves@redhat.com>
463 * gdb.mi/mi-exec-run.exp: New file.
465 2016-06-21 Pedro Alves <palves@redhat.com>
467 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
468 breakpoint command's output on the main UI.
469 (test_break): New procedure, factored out from calls in the top
471 (top level): Use foreach_with_prefix to test MI as main UI and as
474 2016-06-21 Pedro Alves <palves@redhat.com>
476 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
477 (test_awatch_creation_and_listing)
478 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
479 Remove 'type' parameter.
480 (test_watchpoint_all): New parameter mi_mode. Remove
482 (top level): Use foreach_with_prefix, and add main/separate UI MI
485 2016-06-21 Pedro Alves <palves@redhat.com>
487 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
488 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
489 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
490 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
491 (gdb_main_spawn_id, mi_spawn_id): Declare and
493 (mi_create_inferior_pty): New procedure,
494 factored out from default_mi_gdb_start.
495 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
497 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
498 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
499 Use mi_create_inferior_pty.
500 (mi_gdb_start): Use eval to pass down args list.
502 2016-06-21 Pedro Alves <palves@redhat.com>
504 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
505 * gdb.opt/inline-cmds.exp: Add MI tests.
507 2016-06-21 Pedro Alves <palves@redhat.com>
509 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
511 2016-06-21 Pedro Alves <palves@redhat.com>
513 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
514 (top level): Use it instead of mi_execute_to.
516 2016-06-21 Pedro Alves <palves@redhat.com>
518 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
519 (cont_handler_str): New.
520 (signal_stop_handler): Set stop_handler_str instead of printing to
522 (continue_handler): Set cont_handler_str instead of printing to
524 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
525 mi_send_resuming_command. Print stop_handler_str and
526 cont_handler_str instead of expecting the python events print
529 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
531 * gdb.base/jit-reader.exp: New file.
532 * gdb.base/jithost.c: New file.
533 * gdb.base/jithost.h: New file.
534 * gdb.base/jitreader.c : New file.
535 * gdb.base/jit-protocol.h: New file.
537 2016-06-17 Yao Qi <yao.qi@linaro.org>
539 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
540 parameters follow_fork and detach_on_fork. Set follow-fork-mode
541 and detach-on-fork. Adjust tests.
542 (top level): Invoke break_cond_on_syscall with combinations of
543 syscall, follow-fork-mode and detach-on-fork.
545 2016-06-17 Yao Qi <yao.qi@linaro.org>
547 * gdb.base/step-over-exit.c: New.
548 * gdb.base/step-over-exit.exp: New.
550 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
552 * gdb.base/float.exp: Add target check for nds32*-*-*.
553 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
555 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
557 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
558 for unsupported target features.
559 * gdb.base/call-rt-st.exp: Likewise.
560 * gdb.base/call-sc.exp: Likewise.
561 * gdb.base/call-signal-resume.exp: Likewise.
562 * gdb.base/call-strs.exp: Likewise.
563 * gdb.base/callexit.exp: Likewise.
564 * gdb.base/callfuncs.exp: Likewise.
565 * gdb.base/nodebug.exp: Likewise.
566 * gdb.base/printcmds.exp: Likewise.
567 * gdb.base/ptype.exp: Likewise.
568 * gdb.base/structs.exp: Likewise.
569 * gdb.base/unwindonsignal.exp: Likewise.
570 * gdb.cp/gdb2495.exp: Likewise.
571 * gdb.cp/templates.exp: Likewise.
572 * gdb.cp/virtfunc.exp: Likewise.
573 * gdb.threads/hand-call-in-threads.exp: Likewise.
574 * gdb.threads/interrupted-hand-call.exp: Likewise.
575 * gdb.threads/thread-unwindonsignal.exp: Likewise.
577 2016-06-10 Tom Tromey <tom@tromey.com>
580 * gdb.rust/expr.exp: Add test for integer constant larger than
583 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
585 * gdb.fortran/nested-funcs.exp: New.
586 * gdb.fortran/nested-funcs.f90: New.
588 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
590 * gdb.base/examine-backward.c: New file.
591 * gdb.base/examine-backward.exp: New file.
593 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
595 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
598 2016-06-02 Tom Tromey <tom@tromey.com>
601 * gdb.python/py-shared.exp: Add solib_name test.
603 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
605 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
607 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
610 * gdb.dwarf2/implref.exp: Rename to...
611 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
612 * gdb.dwarf2/implref-array.c: New file.
613 * gdb.dwarf2/implref-array.exp: Likewise.
614 * gdb.dwarf2/implref-global.c: Likewise.
615 * gdb.dwarf2/implref-global.exp: Likewise.
616 * gdb.dwarf2/implref-struct.c: Likewise.
617 * gdb.dwarf2/implref-struct.exp: Likewise.
619 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
621 * gdb.trace/trace-condition.exp: Add 64bit tests.
623 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
625 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
627 (main): Adapt to 8 to 64 bits types.
628 * gdb.trace/trace-condition.exp: Add new tests.
630 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
632 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
634 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
636 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
637 Move condition tests...
638 * gdb.trace/trace-condition.exp: Here.
640 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
642 * gdb.trace/trace-condition.exp: Add counter-case tests.
644 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
647 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
648 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
650 2016-05-27 Pedro Alves <palves@redhat.com>
652 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
654 (top level): Call it, and bail out of DejaGnu is known to be bad.
656 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
658 * gdb.base/whatis.c: Extend the test case.
659 * gdb.base/whatis.exp: Add additional tests.
661 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
663 * gdb.fortran/type.f90: Add pointer variable.
664 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
666 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
668 * gdb.fortran/vla-type.exp: Fix testcase name.
670 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
672 * gdb.fortran/vla-type.exp: Access elements in nested structs.
674 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
676 * gdb.fortran/type.f90: Add nested structures.
677 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
678 * gdb.fortran/derived-type.exp: Adapt expected output.
679 * gdb.fortran/vla-type.exp: Adapt expected output.
681 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
683 * gdb.fortran/whatis_type.exp: Adapt expected output.
685 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
687 * gdb.fortran/print_type.exp: Fix expected output.
688 * gdb.fortran/whatis_type.exp: Fix expected output.
690 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
692 * gdb.fortran/whatis_type.exp: Use multi_line.
694 2016-05-24 Tom Tromey <tom@tromey.com>
697 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
698 use value as an index.
700 2016-05-23 Tom Tromey <tom@tromey.com>
703 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
706 2016-05-24 Pedro Alves <palves@redhat.com>
709 * gdb.threads/clone-attach-detach.c: New file.
710 * gdb.threads/clone-attach-detach.exp: New file.
712 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
714 * gdb.base/annota-input-while-running.exp: Fix syntax error.
716 2016-05-23 Tom Tromey <tom@tromey.com>
718 PR python/19438, PR python/18393:
719 * gdb.python/py-progspace.exp: Add "dir" test.
720 * gdb.python/py-objfile.exp: Add "dir" test.
722 2016-05-23 Yao Qi <yao.qi@linaro.org>
724 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
725 * gdb.arch/thumb2-it.exp: Likewise.
727 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
729 * gdb.mi/mi-threads-interrupt.c: New file.
730 * gdb.mi/mi-threads-interrupt.exp: New file.
732 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
735 * gdb.mi/mi-async-run.exp: New file.
736 * gdb.mi/mi-async-run.c: New file.
738 2016-05-17 Tom Tromey <tom@tromey.com>
739 Manish Goregaokar <manishsmail@gmail.com>
741 * lib/rust-support.exp: New file.
742 * lib/gdb.exp (skip_rust_tests): New proc.
743 (build_executable_from_specs): Handle rust.
744 * lib/future.exp (gdb_find_rustc): New proc.
745 (gdb_default_target_compile): Handle rust.
746 * gdb.rust/expr.exp: New file.
747 * gdb.rust/generics.exp: New file.
748 * gdb.rust/generics.rs: New file.
749 * gdb.rust/methods.exp: New file.
750 * gdb.rust/methods.rs: New file.
751 * gdb.rust/modules.exp: New file.
752 * gdb.rust/modules.rs: New file.
753 * gdb.rust/simple.exp: New file.
754 * gdb.rust/simple.rs: New file.
756 2016-05-17 Tom Tromey <tom@tromey.com>
758 * gdb.base/default.exp (set language): Add rust.
760 2016-05-17 Tom Tromey <tom@tromey.com>
762 * gdb.gdb/unittest.exp: New file.
764 2016-05-16 Yao Qi <yao.qi@linaro.org>
766 * gdb.base/batch-preserve-term-settings.exp: Remove variable
767 shell_prompt. Update shell_prompt_re.
769 2016-05-12 Doug Evans <dje@google.com>
772 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
773 $options when building executable.
774 * gdb.dwarf2/fission-loclists-pie.S: New file.
775 * gdb.dwarf2/fission-loclists-pie.exp: New file.
777 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
779 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
780 of [is_remote target],
782 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
784 * lib/gdb.exp (use_gdb_stub): New procedure.
786 2016-05-03 Yunlian Jiang <yunlian@google.com>
787 Doug Evans <dje@google.com>
790 * gdb.dwarf2/dwp-sepdebug.c: New file.
791 * gdb.dwarf2/dwp-sepdebug.exp: New file.
793 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
795 * gdb.base/detach.exp: Remove is_remote check.
797 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
799 * gdb.base/annota-input-while-running.exp: Don't check for
800 [is_remote target]. Enable annotations after running to main.
801 Remove unused "set test..." line.
803 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
805 * gdb.trace/trace-enable-disable.exp: New file.
806 * gdb.trace/trace-enable-disable.c: New file.
808 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
810 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
811 use it in info sharedlibrary test.
812 * gdb.trace/ftrace-lock.exp: Likewise.
813 * gdb.trace/ftrace.exp: Likewise.
814 * gdb.trace/range-stepping.exp: Likewise.
815 * gdb.trace/trace-break.exp: Likewise.
816 * gdb.trace/trace-condition.exp: Likewise.
817 * gdb.trace/trace-mt.exp: Likewise.
819 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
821 * lib/gdb.exp (gdb_load_shlibs): Rename to...
822 (gdb_load_shlib): ... this.
823 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
825 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
826 * gdb.base/ctxobj.exp: Likewise.
827 * gdb.base/dprintf-pending.exp: Likewise.
828 * gdb.base/dso2dso.exp: Likewise.
829 * gdb.base/fixsection.exp: Likewise.
830 * gdb.base/gcore-relro.exp: Likewise.
831 * gdb.base/gdb1555.exp: Likewise.
832 * gdb.base/global-var-nested-by-dso.exp: Likewise.
833 * gdb.base/gnu-ifunc.exp: Likewise.
834 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
835 * gdb.base/jit-so.exp (one_jit_test): Likewise.
836 * gdb.base/pending.exp: Likewise.
837 * gdb.base/print-file-var.exp: Likewise.
838 * gdb.base/print-symbol-loading.exp: Likewise.
839 * gdb.base/shlib-call.exp: Likewise.
840 * gdb.base/shreloc.exp: Likewise.
841 * gdb.base/so-impl-ld.exp: Likewise.
842 * gdb.base/solib-disc.exp: Likewise.
843 * gdb.base/solib-nodir.exp: Likewise.
844 * gdb.base/solib-overlap.exp: Likewise.
845 * gdb.base/solib-symbol.exp: Likewise.
846 * gdb.base/solib-weak.exp (do_test): Likewise.
847 * gdb.base/sym-file.exp: Likewise.
848 * gdb.base/symtab-search-order.exp: Likewise.
849 * gdb.base/type-opaque.exp: Likewise.
850 * gdb.base/unload.exp: Likewise.
851 * gdb.base/watchpoint-solib.exp: Likewise.
852 * gdb.compile/compile.exp: Likewise.
853 * gdb.cp/gdb2384.exp: Likewise.
854 * gdb.cp/infcall-dlopen.exp: Likewise.
855 * gdb.cp/re-set-overloaded.exp: Likewise.
856 * gdb.fortran/library-module.exp: Likewise.
857 * gdb.opt/solib-intra-step.exp: Likewise.
858 * gdb.python/py-finish-breakpoint.exp: Likewise.
859 * gdb.python/py-shared.exp: Likewise.
860 * gdb.reverse/solib-precsave.exp: Likewise.
861 * gdb.reverse/solib-reverse.exp: Likewise.
862 * gdb.server/solib-list.exp: Likewise.
863 * gdb.threads/dlopen-libpthread.exp: Likewise.
864 * gdb.threads/tls-shared.exp: Likewise.
865 * gdb.threads/tls-so_extern.exp: Likewise.
866 * gdb.trace/change-loc.exp: Likewise.
867 * gdb.trace/ftrace-lock.exp: Likewise.
868 * gdb.trace/ftrace.exp: Likewise.
869 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
870 * gdb.trace/pending.exp: Likewise.
871 * gdb.trace/range-stepping.exp: Likewise.
872 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
873 (strace_info_marker): Likewise.
874 (strace_probe_marker): Likewise.
875 (strace_trace_on_same_addr): Likewise.
876 (strace_trace_on_diff_addr): Likewise.
877 * gdb.trace/trace-break.exp: Likewise.
878 * gdb.trace/trace-condition.exp: Likewise.
879 * gdb.trace/trace-mt.exp: Likewise.
881 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
883 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
884 result of gdb_remote_download.
885 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
886 * gdb.base/dso2dso.exp: Likewise.
887 * gdb.base/global-var-nested-by-dso.exp: Likewise.
888 * gdb.base/print-file-var.exp: Likewise.
889 * gdb.base/shlib-call.exp: Likewise.
890 * gdb.base/shreloc.exp: Likewise.
891 * gdb.base/solib-overlap.exp: Likewise.
892 * gdb.base/solib-weak.exp (do_test): Likewise.
893 * gdb.base/unload.exp: Likewise.
895 2016-04-27 Yao Qi <yao.qi@linaro.org>
897 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
900 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
902 * vla-type.exp: Print structure from toplevel.
904 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
906 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
908 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
911 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
913 * gdb.fortran/vla-type.f90: New file.
914 * gdb.fortran/vla-type.exp: New file.
916 2016-04-25 Yao Qi <yao.qi@linaro.org>
918 * gdb.base/branch-to-self.c: New file.
919 * gdb.base/branch-to-self.exp: New file.
921 2016-04-22 Yao Qi <yao.qi@linaro.org>
923 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
926 2016-04-22 Yao Qi <yao.qi@linaro.org>
928 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
929 * gdb.base/annota3.exp: Likewise.
931 2016-04-22 Yao Qi <yao.qi@linaro.org>
933 * gdb.reverse/step-precsave.exp: Do one step and test program
934 stops in "callee" and do multiple steps until program goes out
936 * gdb.reverse/step-reverse.exp: Likewise.
938 2016-04-22 Yao Qi <yao.qi@linaro.org>
940 * gdb.trace/signal.exp: Also pass if
941 $tracepoint_hits($i) > $iterations.
943 2016-04-22 Yao Qi <yao.qi@linaro.org>
945 * gdb.trace/signal.c: New file.
946 * gdb.trace/signal.exp: New file.
948 2016-04-19 Doug Evans <xdje42@gmail.com>
950 * gdb.base/bad-file.exp: New file.
952 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
954 * gdb.dwarf2/implref.exp: New file.
956 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
958 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
959 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
960 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
961 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
962 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
963 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
964 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
965 * lib/fortran.exp (fortran_int4): New procedure.
966 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
967 (fortran_logical4): Likewise.
969 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
971 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
973 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
975 * lib/compiler.c: Add Intel specific preprocessor macros.
976 * lib/compiler.cc: Likewise.
978 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
980 * gdb.server/connect-with-no-symbol-file.c: New file.
981 * gdb.server/connect-with-no-symbol-file.exp: New file.
983 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
985 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
987 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
989 * boards/gdbserver-base.exp (${board}_download): Copy source file to
990 standard output directory.
992 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
994 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
996 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
998 * gdb.btrace/instruction_history.c (loop): Add declaration.
1000 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
1002 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
1004 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
1006 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
1007 parentheses to print.
1008 (continue_handler): Likewise.
1010 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
1012 * gdb.server/solib-list.exp: Remove is_remote check.
1013 Pass shlib= to gdb_compile. Don't link shared library with
1014 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
1015 Run binary filename through "readlink -f" on the target.
1017 2016-04-08 Pedro Alves <palves@redhat.com>
1019 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
1020 interpreter filename as argument to gdbserver_spawn.
1021 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1022 Return empty if $last_loaded_file does not exist.
1024 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1026 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
1027 * gdb.base/jit-main.c: Use exit after usage.
1029 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1031 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
1032 GDBHISTSIZE prior to the tests.
1033 * gdb.base/gdbinit-history.exp: Likewise.
1035 2016-04-07 Pedro Alves <palves@redhat.com>
1037 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
1038 instead of build_executable. Use gdb_load_shlibs.
1040 2016-04-07 Yao Qi <yao.qi@linaro.org>
1042 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
1043 Execute "si" command.
1045 2016-04-07 Yao Qi <yao.qi@linaro.org>
1047 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
1048 number instead of the comments on some line.
1050 2016-04-06 Don Breazeal <donb@codesourcery.com>
1052 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
1053 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
1055 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
1057 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
1058 standard_output_file. Remove unused binfile variable.
1060 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
1062 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
1063 * gdb.python/py-mi-objfile.exp: Match "list main" output
1066 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
1068 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
1071 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1073 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
1075 * gdb.trace/ftrace.exp: Likewise.
1076 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
1078 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
1079 (gdb_load_shlibs): Copy libraries to test directory when testing
1080 natively. Only set solib-search-path if testing remotely.
1081 * lib/mi-support.exp (mi_load_shlibs): Likewise.
1083 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
1085 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
1086 gdb_download. Use it even if the target is not remote.
1087 * gdb.base/jit.exp (compile_jit_test): Likewise.
1088 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
1089 output directory if the destination board is local, otherwise use
1090 the standard remote_download from DejaGnu.
1091 (gdb_download): Remove.
1092 (gdb_load_shlibs): Use gdb_remote_download instead of
1094 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
1095 Use gdb_remote_download instead of gdb_download. Use it even if
1096 the target is not remote.
1097 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
1098 instead of gdb_download.
1100 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
1102 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
1103 (test_insert_delete_modify): Call mi_load_shlibs before trying to
1106 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
1109 * gdb.base/printcmds.exp: Add artificial arrays tests.
1111 2016-03-31 Pedro Alves <palves@redhat.com>
1114 * gdb.base/jit-main.c: Include unistd.h.
1115 (ATTACH): Define to 0 if not already defined.
1116 (wait_for_gdb, mypid): New globals.
1117 (WAIT_FOR_GDB): New macro.
1118 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
1119 some breakpoint locations.
1120 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
1122 (one_jit_test): Add REATTACH parameter, and handle it. Use
1123 continue_to_test_location.
1124 (top level): Test attach, and adjusts calls to one_jit_test.
1126 2016-03-31 Pedro Alves <palves@redhat.com>
1129 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
1130 BINSUFFIX parameter, and handle it.
1131 (top level): Adjust calls compile_jit_test.
1133 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
1136 * gdb.python/py-mi-events-gdb.py: New file.
1137 * gdb.python/py-mi-events.c: New file.
1138 * gdb.python/py-mi-events.exp: New file.
1140 2016-03-30 Yao Qi <yao.qi@linaro.org>
1142 * gdb.reverse/until-precsave.exp: Match function name only.
1143 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
1144 Move malloc to a condition block.
1145 * gdb.reverse/until-reverse.exp: Match function name only.
1147 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
1149 * gdb.trace/ftrace.exp: Set arg0exp for s390.
1150 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
1151 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
1152 variable for GPR 0 instead of assuming it is register 0.
1153 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
1154 * lib/trace-support.exp: Add s390 registers.
1156 2016-03-29 Yao Qi <yao.qi@linaro.org>
1158 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
1160 2016-03-24 Yao Qi <yao.qi@linaro.org>
1162 * gdb.reverse/break-reverse.exp: Add quotation mark in the
1165 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1167 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
1168 maintaining separate logic for constructing the output path.
1170 2016-03-16 Don Breazeal <donb@codesourcery.com>
1172 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1173 Retry fork and waitpid on interrupted system call errors.
1174 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1175 Use with_timeout_factor to increase timeout by factor of 10.
1177 2016-03-15 Don Breazeal <donb@codesourcery.com>
1179 * gdb.cp/scope-err.cc: New test program.
1180 * gdb.cp/scope-err.exp: New test script.
1181 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
1182 lines and "set breakpoint here" comment.
1183 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
1184 Fixed some whitespace and format issues.
1185 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1186 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1188 2016-03-15 Doug Evans <dje@google.com>
1190 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1191 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1192 All callers updated. Add tests for enums, mixed flags register.
1194 2016-03-15 Doug Evans <dje@google.com>
1196 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1197 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1199 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1201 * gdb.base/default.exp: Add $_as_string to the list of expected
1202 convenience functions.
1204 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1206 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1208 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1210 * gdb.python/py-as-string.exp: New file.
1211 * gdb.python/py-as-string.c: New file.
1213 2016-03-09 Pedro Alves <palves@redhat.com>
1215 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1216 signal" -> "Thread NN received signal" output change.
1217 * gdb.threads/ia64-sigill.exp: Likewise.
1218 * gdb.threads/linux-dp.exp: Likewise.
1219 * gdb.threads/manythreads.exp: Likewise.
1220 * gdb.threads/pending-step.exp: Likewise.
1221 * gdb.threads/print-threads.exp: Likewise.
1222 * gdb.threads/sigstep-threads.exp: Likewise.
1223 * gdb.threads/staticthreads.exp: Likewise.
1224 * gdb.threads/tls.exp: Likewise.
1226 2016-03-09 Pedro Alves <palves@redhat.com>
1228 * gdb.base/command-line-input.exp: New file.
1230 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1232 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1233 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1234 * gdb.trace/pending.exp: Accept leading dot before function name.
1235 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1236 * lib/trace-support.exp: Set registers for ppc.
1238 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1240 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1241 use it for disassembly; accept .main in addition to main in backtrace.
1243 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1244 Marcin Kościelnicki <koriakin@0x04.net>
1246 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1247 (gdb_recursion_test_ptr): New global variable.
1248 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1250 (gdb_c_test): Ditto.
1252 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1254 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1257 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1259 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1260 (bar): Add bar_start_lbl label.
1261 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1262 of foo/bar for emitting DWARF and tracing.
1264 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1266 * analyze-racy-logs.py: Set executable bit.
1268 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1270 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1271 (CHECK_TARGET_TMP): Likewise.
1272 (check-single-racy): New rule.
1273 (check-parallel-racy): Likewise.
1274 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1275 (do-check-parallel-racy): New rule.
1276 (check-racy/%.exp): Likewise.
1277 * README (Racy testcases): New section.
1278 * analyze-racy-logs.py: New file.
1280 2016-03-03 Doug Evans <dje@google.com>
1282 * gdb.base/skip.exp: Use with_test_prefix.
1284 2016-03-03 Yao Qi <yao.qi@linaro.org>
1286 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1287 Invoke step_over_syscall "clone" and break_cond_on_syscall
1289 * gdb.base/step-over-clone.c: New file.
1291 2016-03-03 Yao Qi <yao.qi@linaro.org>
1293 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1296 2016-03-03 Yao Qi <yao.qi@linaro.org>
1298 * gdb.base/disp-step-fork.c: Rename to ...
1299 * gdb.base/step-over-fork.c: ... it. New file.
1300 * gdb.base/disp-step-vfork.c: Rename to ...
1301 * gdb.base/step-over-vfork.c: ... it. New file.
1302 * gdb.base/disp-step-syscall.exp: Rename to ...
1303 * gdb.base/step-over-syscall.exp: ... it. New file.
1304 (disp_step_cross_syscall): Rename to ...
1305 (step_over_syscall): ... it.
1307 2016-03-03 Yao Qi <yao.qi@linaro.org>
1309 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1310 If target supports condition evaluation on target, invoke
1311 break_cond_on_syscall for fork and vfork.
1313 2016-03-03 Yao Qi <yao.qi@linaro.org>
1315 * gdb.base/disp-step-syscall.exp: Don't invoke
1316 support_displaced_stepping.
1317 (disp_step_cross_syscall): Test with displaced stepping off and
1320 2016-03-03 Yao Qi <yao.qi@linaro.org>
1322 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1325 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1328 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1330 * gdb.fortran/vla-history.exp: Remove breakpoint.
1332 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1334 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1337 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1339 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1342 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1344 * gdb.mi/vla.f90: Nullify pointer after declaration.
1346 2016-03-01 Pedro Alves <palves@redhat.com>
1348 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1350 2016-03-01 Pedro Alves <palves@redhat.com>
1352 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1353 before anything else.
1354 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1356 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1357 before anything else.
1358 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1360 2016-03-01 Pedro Alves <palves@redhat.com>
1362 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1364 2016-03-01 Yao Qi <yao.qi@linaro.org>
1366 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1367 prepare_for_testing.
1369 2016-03-01 Yao Qi <yao.qi@linaro.org>
1371 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1373 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1375 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1376 manually constructing the output path.
1378 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1380 * gdb.arch/s390-stackless.S: New.
1381 * gdb.arch/s390-stackless.exp: New.
1383 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1385 * gdb.dlang/circular.c: New file.
1386 * gdb.dlang/circular.exp: New file.
1388 2016-02-26 Yao Qi <yao.qi@linaro.org>
1390 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1391 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1392 (testcases): Update.
1394 2016-02-26 Yao Qi <yao.qi@linaro.org>
1396 * gdb.reverse/aarch64.c: Rename to ...
1397 * gdb.reverse/insn-reverse.c: ... it.
1398 * gdb.reverse/aarch64.exp: Rename to ...
1399 * gdb.reverse/insn-reverse.exp: ... it.
1401 2016-02-26 Yao Qi <yao.qi@linaro.org>
1403 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1404 (testcase_ftype): New.
1405 (testcases): New array.
1407 (main): Call each element in testcases.
1408 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1409 (read_testcase): New.
1410 Do the tests in a loop.
1412 2016-02-25 Yao Qi <yao.qi@linaro.org>
1414 * gdb.base/branches.c: Remove.
1416 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1419 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1421 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1423 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1425 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1427 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1428 change x86_64 call_insn to 'callq'.
1430 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1432 * gdb.trace/tfile-avx.c: Move to...
1433 * gdb.trace/tracefile-pseudo-reg.c: Here.
1434 * gdb.trace/tfile-avx.exp: Move to...
1435 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1437 2016-02-24 Gary Benson <gbenson@redhat.com>
1439 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1442 2016-02-23 Doug Evans <dje@google.com>
1444 * gdb.base/skip.c (test_skip): New function.
1445 (end_test_skip_file_and_function): New function.
1446 (test_skip_file_and_function): New function.
1447 * gdb.base/skip1.c (test_skip): New function.
1448 (skip1_test_skip_file_and_function): New function.
1449 * gdb.base/skip.exp: Add tests for new skip options.
1450 * gdb.base/skip-solib.exp: Update expected output.
1451 * gdb.perf/skip-command.cc: New file.
1452 * gdb.perf/skip-command.exp: New file.
1453 * gdb.perf/skip-command.py: New file.
1455 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1457 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1458 info registers pattern.
1460 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1462 * lib/future.exp: Add D support.
1463 (gdb_find_gdc): New proc.
1464 (gdb_default_target_compile): Add D support.
1466 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1468 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1470 (trace_speed_test): Determine the iteration count for a time
1471 between 15..30 seconds.
1473 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1475 * gdb.arch/i386-mpx-sigsegv.c: New file.
1476 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1477 * gdb.arch/i386-mpx-simple_segv.c: New file.
1478 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1480 2016-02-18 Yao Qi <yao.qi@linaro.org>
1482 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1483 Don't call setup_kfail.
1485 2016-02-18 Yao Qi <yao.qi@linaro.org>
1487 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1488 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1490 2016-02-16 Doug Evans <dje@google.com>
1492 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1493 * gdb.base/skip1.c: Ditto.
1494 * gdb.base/skip.exp: Whitespace cleanup.
1496 2016-02-16 Don Breazeal <donb@codesourcery.com>
1499 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1500 Remove kfail for PR remote/19496.
1502 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1504 * lib/gdb.exp (standard_temp_file): Return a path specific to
1505 the runtest invocation.
1507 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1509 * gdb.trace/save-trace.exp: Change relative path to be in the
1510 standard output directory.
1512 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1514 * gdb.arch/i386-prologue.c: Add missing prototypes.
1516 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1518 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1519 * gdb.arch/i386-prologue.exp: Likewise.
1520 * gdb.arch/i386-size.exp: Likewise.
1522 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1524 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1525 define object file path.
1526 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1528 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1529 standard_output_file to define binfile.
1531 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1533 Fix compatibility with recent gfortran-5.3.1.
1534 * gdb.fortran/vla-history.exp (print vla1 allocated)
1535 (print vla2 allocated, print $2, print $3): Remove
1536 (print $4): Rename to ...
1537 (print $2): ... here.
1538 (print $9): Rename to ...
1539 (print $5): ... here.
1540 (print $10): Rename to ...
1541 (print $6): ... here.
1542 * gdb.fortran/vla.f90: Add pvla initialization.
1544 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1546 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1548 * gdb.fortran/vla-value-sub.exp: Likewise.
1550 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1552 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1554 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1556 * i386-biarch-core.exp: Define corefile using
1557 standard_output_file.
1559 2016-02-12 Yao Qi <yao.qi@linaro.org>
1561 * gdb.arch/arm-single-step-kernel-helper.c: New.
1562 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1564 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1566 * gdb.btrace/tailcall-only.exp: New.
1567 * gdb.btrace/tailcall-only.c: New.
1568 * gdb.btrace/x86_64-tailcall-only.S: New.
1569 * gdb.btrace/i686-tailcall-only.S: New.
1571 2016-02-11 Pedro Alves <palves@redhat.com>
1573 * README (Parallel testing): Add missing double quotes.
1575 2016-02-11 Pedro Alves <palves@redhat.com>
1577 * README (Parallel testing): New section.
1578 (GDB_PARALLEL): Rewrite.
1579 (FORCE_PARALLEL): Document.
1581 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1583 * gdb.trace/tfile-avx.c: New test.
1584 * gdb.trace/tfile-avx.exp: New test.
1586 2016-02-09 Keith Seitz <keiths@redhat.com>
1588 PR breakpoints/19546
1589 * gdb.base/infcall-exec.c: New file.
1590 * gdb.base/infcall-exec2.c: New file.
1591 * gdb.base/infcall-exec.exp: New file.
1593 2016-02-09 Keith Seitz <keiths@redhat.com>
1595 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1596 (toplevel): Call test_bkpt_address.
1598 2016-02-09 Keith Seitz <keiths@redhat.com>
1601 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1602 (toplevel): Call test_bkpt_address.
1604 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1606 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1608 * configure: Regenerate.
1610 2016-02-09 Pedro Alves <palves@redhat.com>
1612 PR breakpoints/19548
1613 * gdb.base/execl-update-breakpoints.c (some_function): New
1616 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1617 Tighten expected GDB output.
1619 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1621 * Makefile.in (ALL_SUBDIRS): Remove.
1622 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1623 (distclean maintainer-clean realclean): Likewise.
1624 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1625 * configure: Regenerate.
1626 * gdb.ada/Makefile.in: Delete.
1627 * gdb.arch/Makefile.in: Likewise.
1628 * gdb.asm/Makefile.in: Likewise.
1629 * gdb.base/Makefile.in: Likewise.
1630 * gdb.btrace/Makefile.in: Likewise.
1631 * gdb.cell/Makefile.in: Likewise.
1632 * gdb.compile/Makefile.in: Likewise.
1633 * gdb.cp/Makefile.in: Likewise.
1634 * gdb.disasm/Makefile.in: Likewise.
1635 * gdb.dlang/Makefile.in: Likewise.
1636 * gdb.dwarf2/Makefile.in: Likewise.
1637 * gdb.fortran/Makefile.in: Likewise.
1638 * gdb.gdb/Makefile.in: Likewise.
1639 * gdb.go/Makefile.in: Likewise.
1640 * gdb.guile/Makefile.in: Likewise.
1641 * gdb.java/Makefile.in: Likewise.
1642 * gdb.linespec/Makefile.in: Likewise.
1643 * gdb.mi/Makefile.in: Likewise.
1644 * gdb.modula2/Makefile.in: Likewise.
1645 * gdb.multi/Makefile.in: Likewise.
1646 * gdb.objc/Makefile.in: Likewise.
1647 * gdb.opencl/Makefile.in: Likewise.
1648 * gdb.opt/Makefile.in: Likewise.
1649 * gdb.pascal/Makefile.in: Likewise.
1650 * gdb.perf/Makefile.in: Likewise.
1651 * gdb.python/Makefile.in: Likewise.
1652 * gdb.reverse/Makefile.in: Likewise.
1653 * gdb.server/Makefile.in: Likewise.
1654 * gdb.stabs/Makefile.in: Likewise.
1655 * gdb.threads/Makefile.in: Likewise.
1656 * gdb.trace/Makefile.in: Likewise.
1657 * gdb.xml/Makefile.in: Likewise.
1658 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1660 (standard_output_file): Remove check for GDB_PARALLEL, always
1661 return path in outputs/$subdir/$testname.
1663 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1665 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1666 (site.exp): Assign abs_srcdir to tcl's srcdir.
1668 2016-02-04 Yao Qi <yao.qi@linaro.org>
1670 * gdb.base/foll-exec-mode.c: Include limits.h.
1671 (main): Add parameters argc and argv. Get directory from
1673 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1675 * gdb.base/foll-exec.c: Include limits.h.
1676 (main): Add parameters argc and argv.
1677 Get directory from argv[0].
1678 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1679 Adjust tests on the number of lines as source code changed.
1680 * gdb.base/foll-vfork-exit.c: Include limits.h.
1681 (main): Add one line of statement before vfork.
1682 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1683 (main): Add parameters argc and argv. Get directory from
1685 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1686 (setup_gdb): Set tbreak to skip some source lines.
1687 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1688 (main): Add parameters argc and argv. Get directory from
1690 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1692 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1693 (main): Add parameters argc and argv. Get directory from
1695 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1698 2016-02-01 Doug Evans <dje@google.com>
1700 * gdb.base/skip.exp: Clean up multiple references to same test name.
1702 2016-02-01 Pedro Alves <palves@redhat.com>
1705 * gdb.threads/forking-threads-plus-breakpoint.exp
1706 (displaced_stepping_supported): New global.
1707 (probe_displaced_stepping_support): New procedure.
1708 (do_test): Add 'displaced' parameter, and use it.
1709 (top level): Check for displaced stepping support. Add displaced
1710 stepping on/off testing axis.
1712 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1714 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1715 pointer. Don't perform further tests on the unassociated pointer
1716 if the first test fails.
1718 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1720 * gdb.base/max-value-size.c: New file.
1721 * gdb.base/max-value-size.exp: New file.
1722 * gdb.base/huge.exp: Disable max-value-size for this test.
1724 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1726 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1728 2016-01-28 Yao Qi <yao.qi@linaro.org>
1730 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1732 2016-01-25 Pedro Alves <palves@redhat.com>
1735 * gdb.base/fork-running-state.c: New file.
1736 * gdb.base/fork-running-state.exp: New file.
1738 2016-01-25 Pedro Alves <palves@redhat.com>
1741 * gdb.base/catch-fork-kill.c: New file.
1742 * gdb.base/catch-fork-kill.exp: New file.
1744 2016-01-25 Pedro Alves <palves@redhat.com>
1746 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1747 Delete, moved to lib/gdb.exp.
1748 * gdb.threads/forking-threads-plus-breakpoint.exp
1749 (foreach_with_prefix): Likewise.
1750 * gdb.threads/process-dies-while-handling-bp.exp
1751 (foreach_with_prefix): Likewise.
1752 * lib/gdb.exp (foreach_with_prefix): New procedure.
1754 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1756 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1757 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1759 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1761 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1764 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1765 Pedro Alves <palves@redhat.com>
1767 Fix testsuite compatibility with Guile.
1768 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1771 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1773 Fix testsuite compatibility with Guile.
1774 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1775 (thread 1): New test for backtrace through signal handler.
1777 2016-01-22 Yao Qi <yao.qi@linaro.org>
1780 * gdb.base/multi-forks.c: Include
1781 ../lib/unbuffer_output.c
1782 (main): Call gdb_unbuffer_output.
1784 2016-01-21 Doug Evans <dje@google.com>
1786 * lib/ada.exp (gdb_compile_ada): Fix typo.
1788 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1790 * gdb.base/break-fun-addr.exp: New file.
1791 * gdb.base/break-fun-addr1.c: New file.
1792 * gdb.base/break-fun-addr2.c: New file.
1794 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1796 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1797 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1800 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1802 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1803 when GDB can not set the vector return value. Add more comments
1806 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1808 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1811 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1813 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1815 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1817 * Makefile.in (check-single): Pass --status to runtest.
1818 (check/%.exp): Likewise.
1820 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1822 * Makefile.in (check-parallel): Propagate return code from make
1825 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1827 * gdb.trace/ftrace.exp: Fix expected message on continue.
1828 * gdb.trace/pending.exp: Fix expected message on continue.
1829 * gdb.trace/trace-break.exp: Fix expected message on continue.
1831 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1833 * lib/gdb.exp (gdb_test): Remove unused global references.
1835 2016-01-18 Pedro Alves <palves@redhat.com>
1837 * gdb.base/async-shell.exp: Adjust expected output.
1838 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1839 * gdb.base/siginfo-thread.exp: Adjust expected output.
1840 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1841 * gdb.java/jnpe.exp: Adjust expected output.
1842 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1843 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1844 * gdb.threads/leader-exit.exp: Adjust expected output.
1845 * gdb.threads/manythreads.exp: Adjust expected output.
1846 * gdb.threads/pthreads.exp: Adjust expected output.
1847 * gdb.threads/schedlock.exp: Adjust expected output.
1848 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1849 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1851 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1853 * gdb.threads/sigthread.exp: Adjust expected output.
1854 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1856 2016-01-18 Yao Qi <yao.qi@linaro.org>
1858 * gdb.guile/scm-section-script.c: Replace @progbits with
1860 * gdb.python/py-section-script.c: Likewise.
1862 2016-01-15 Pedro Alves <palves@redhat.com>
1864 * gdb.multi/tids.exp: Test star wildcard ranges.
1866 2016-01-15 Pedro Alves <palves@redhat.com>
1868 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1869 command from "thread apply" invocation.
1870 (thr_apply_info_thr_invalid): Default the expected output to the
1872 (top level): Add tests that use convenience variables. Add tests
1873 for "thread apply" with a valid TID list, but missing the command.
1875 2016-01-13 Pedro Alves <palves@redhat.com>
1877 * gdb.base/default.exp: Expect $_gthread as well.
1878 * gdb.multi/tids.exp: Test $_gthread.
1879 * gdb.threads/thread-specific.exp: Test $_gthread.
1881 2016-01-13 Pedro Alves <palves@redhat.com>
1883 * gdb.multi/tids.exp: Test "info threads -gid".
1885 2016-01-13 Pedro Alves <palves@redhat.com>
1887 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1889 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1891 2016-01-07 Pedro Alves <palves@redhat.com>
1893 * gdb.base/break.exp: Adjust to output changes.
1894 * gdb.base/hbreak2.exp: Likewise.
1895 * gdb.base/sepdebug.exp: Likewise.
1896 * gdb.base/watch_thread_num.exp: Likewise.
1897 * gdb.linespec/keywords.exp: Likewise.
1898 * gdb.multi/info-threads.exp: Likewise.
1899 * gdb.threads/thread-find.exp: Likewise.
1900 * gdb.multi/tids.c: New file.
1901 * gdb.multi/tids.exp: New file.
1903 2016-01-13 Pedro Alves <palves@redhat.com>
1905 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1907 2016-01-13 Pedro Alves <palves@redhat.com>
1909 * gdb.base/default.exp: Expect $_inferior as well.
1910 * gdb.multi/base.exp: Test $_inferior.
1912 2016-01-13 Pedro Alves <palves@redhat.com>
1914 PR breakpoints/19388
1915 * gdb.base/catch-signal-siginfo-cond.c: New file.
1916 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1918 2016-01-12 Josh Stone <jistone@redhat.com>
1919 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1921 * gdb.base/catch-syscall.c (do_execve): New variable.
1922 (main): Conditionally trigger an execve.
1923 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1924 (test_catch_syscall_execve): New, check entry/return across execve.
1925 (do_syscall_tests): Call test_catch_syscall_execve.
1927 2016-01-12 Pedro Alves <palves@redhat.com>
1929 * gdb.base/random-signal.exp (do_test): New procedure, with body
1930 of testcase moved in.
1932 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1933 Pedro Alves <palves@redhat.com>
1935 * gdb.base/funcargs.exp (finish from indirectly called function):
1936 Reintroduce the case for 'First'.
1938 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1939 Pedro Alves <palves@redhat.com>
1941 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1942 (tcatch_vfork_then_child_follow_exec)
1943 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1946 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1948 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1949 and repeats to unlimited.
1950 * gdb.python/py-value.exp: Likewise.
1951 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1952 and repeats to unlimited.
1954 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1956 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1957 and reordering the functions.
1958 * gdb.multi/hangout.c: Likewise.
1959 * gdb.multi/hello.c: Likewise.
1961 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1963 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1965 (SingleStatisticTestResult.report): Use dict.keys instead of
1968 2016-01-06 Pedro Alves <palves@redhat.com>
1970 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1972 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1974 * gdb.btrace/dlopen.exp: New.
1975 * gdb.btrace/dlopen.c: New.
1976 * gdb.btrace/dlopen-dso.c: New.
1978 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1980 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1981 PATTERN argument is optional.
1983 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1985 * lib/ada.exp (target_compile_ada_from_dir): New function.
1986 (gdb_compile_ada): Reimplement avoiding the use of project files.
1987 * gdb.ada/gnat_ada.gpr: Delete.
1988 * gdb.ada/cond_lang.exp: Adjust test to make path before
1990 * gdb.ada/small_reg_param.exp: Likewise.
1992 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1994 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1996 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1998 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
2001 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
2003 * gdb.base/break.exp: Remove dead code.
2004 * gdb.base/sepdebug.exp: Likewise.
2006 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2008 * gdb.asm/asm-source.exp: Remove HP-UX references.
2009 * gdb.base/annota1.exp: Likewise.
2010 * gdb.base/annota3.exp: Likewise.
2011 * gdb.base/attach.exp: Likewise.
2012 * gdb.base/bigcore.exp: Likewise.
2013 * gdb.base/break.exp: Likewise.
2014 * gdb.base/call-ar-st.exp: Likewise.
2015 * gdb.base/callfuncs.exp: Likewise.
2016 * gdb.base/catch-fork-static.exp: Likewise.
2017 * gdb.base/display.exp: Likewise.
2018 * gdb.base/foll-exec-mode.exp: Likewise.
2019 * gdb.base/foll-exec.exp: Likewise.
2020 * gdb.base/foll-fork.exp: Likewise.
2021 * gdb.base/foll-vfork.exp: Likewise.
2022 * gdb.base/funcargs.exp: Likewise.
2023 * gdb.base/hbreak2.exp: Likewise.
2024 * gdb.base/inferior-died.exp: Likewise.
2025 * gdb.base/interrupt.exp: Likewise.
2026 * gdb.base/multi-forks.exp: Likewise.
2027 * gdb.base/nodebug.exp: Likewise.
2028 * gdb.base/sepdebug.exp: Likewise.
2029 * gdb.base/solib1.c: Likewise.
2030 * gdb.base/step-test.exp: Likewise.
2031 * gdb.mi/non-stop.c: Likewise.
2032 * gdb.mi/pthreads.c: Likewise.
2033 * gdb.multi/bkpt-multi-exec.ex: Likewise.
2034 * gdb.threads/pthreads.c: Likewise.
2035 * gdb.threads/staticthreads.exp: Likewise.
2036 * lib/future.exp: Likewise.
2037 * lib/gdb.exp: Likewise.
2038 * gdb.base/so-indr-cl.c: Remove.
2039 * gdb.base/so-indr-cl.exp: Likewise.
2040 * gdb.base/solib.c: Likewise.
2041 * gdb.base/solib.exp: Likewise.
2042 * gdb.base/solib2.c: Likewise.
2044 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
2046 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
2047 * gdb.base/call-ar-st.exp: Likewise.
2048 * gdb.base/callfuncs.exp: Likewise.
2049 * gdb.base/condbreak.exp: Likewise.
2050 * gdb.base/constvars.exp: Likewise.
2051 * gdb.base/hbreak2.exp: Likewise.
2052 * gdb.base/langs.exp: Likewise.
2053 * gdb.base/list.exp: Likewise.
2054 * gdb.base/long_long.exp: Likewise.
2055 * gdb.base/ptype.exp: Likewise.
2056 * gdb.base/scope.exp: Likewise.
2057 * gdb.base/signals.exp: Likewise.
2058 * gdb.base/so-impl-ld.exp: Likewise.
2059 * gdb.base/varargs.exp: Likewise.
2060 * gdb.base/volatile.exp: Likewise.
2061 * gdb.base/whatis.exp: Likewise.
2062 * gdb.cp/cplusfuncs.exp: Likewise.
2063 * gdb.cp/inherit.exp: Likewise.
2064 * gdb.cp/local.exp: Likewise.
2065 * gdb.cp/member-ptr.exp: Likewise.
2066 * gdb.cp/method.exp: Likewise.
2067 * gdb.cp/overload.exp: Likewise.
2068 * gdb.cp/templates.exp: Likewise.
2069 * gdb.stabs/weird.exp: Likewise.
2070 * lib/compiler.c: Likewise.
2071 * lib/compiler.cc: Likewise.
2072 * lib/cp-support.exp: Likewise.
2073 * lib/gdb.exp: Likewise.
2075 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
2077 * configure.ac: Remove HP-UX case.
2078 * configure: Regenerate.
2080 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
2082 * lib/gdb.exp (gdb_compile): Add function doc.
2084 2015-12-17 Pedro Alves <palves@redhat.com>
2087 * gdb.multi/info-threads.exp: New file.
2089 2015-12-15 Yao Qi <yao.qi@linaro.org>
2091 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
2094 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2096 * gdb.base/history-duplicates.exp: Skip if no readline support.
2098 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2100 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
2102 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2104 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
2106 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
2108 * gdb.base/completion.exp: Skip tests that interrupt GDB with
2109 ctrl-C if nointerrupts target property is set.
2110 * gdb.base/double-prompt-target-event-error.exp: Likewise.
2111 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
2112 * gdb.base/paginate-bg-execution.exp: Likewise.
2113 * gdb.base/paginate-execution-startup.exp: Likewise.
2114 * gdb.base/random-signal.exp: Likewise.
2115 * gdb.base/range-stepping.exp: Likewise.
2116 * gdb.cp/annota2.exp: Likewise.
2117 * gdb.cp/annota3.exp: Likewise.
2118 * gdb.gdb/selftest.exp: Likewise.
2119 * gdb.threads/continue-pending-status.exp: Likewise.
2120 * gdb.threads/leader-exit.exp: Likewise.
2121 * gdb.threads/manythreads.exp: Likewise.
2122 * gdb.threads/pthreads.exp: Likewise.
2123 * gdb.threads/schedlock.exp: Likewise.
2124 * gdb.threads/sigthread.exp: Likewise.
2126 2015-12-11 Don Breazeal <donb@codesourcery.com>
2128 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
2130 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
2131 * gdb.base/foll-exec.exp (main): Enable for target remote.
2132 * gdb.base/foll-fork.exp (main): Likewise.
2133 * gdb.base/foll-vfork.exp (main): Likewise.
2134 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
2135 (proc continue_to_exit_bp_loc): Use clean_restart.
2136 * gdb.base/pie-execl.exp (main): Disable for target remote.
2137 * gdb.base/watch-vfork.exp (main): Enable for target remote.
2138 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
2139 * gdb.threads/execl.exp (main): Likewise.
2140 * gdb.threads/fork-child-threads.exp (main): Likewise.
2141 * gdb.threads/fork-plus-threads.exp (main): Disable for target
2143 * gdb.threads/fork-thread-pending.exp (main): Enable for target
2145 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
2146 pid.tid style ptids, instead of just tid.
2147 * gdb.threads/thread-execl.exp (main): Enable for target remote.
2148 * gdb.threads/watchpoint-fork.exp (main): Likewise.
2149 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
2150 ptids, instead of just tid.
2152 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2154 * gdb.base/list.exp (test_list_forward): Add end of file error
2156 (test_repeat_list_command): Add end of file error test.
2157 (test_list_backwards): Add beginning of file error test.
2159 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2161 * gdb.base/list.exp (test_list_invalid_args): New function,
2162 defined, and called.
2164 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2166 * gdb.base/list.exp (test_list): Make test names unique.
2168 2015-12-11 Yao Qi <yao.qi@linaro.org>
2170 * gdb.base/coremaker2.c: Remove.
2172 2015-12-10 Pedro Alves <palves@redhat.com>
2174 * gdb.multi/base.exp: Remove stale "spaces" references.
2176 2015-12-10 Pedro Alves <palves@redhat.com>
2178 * gdb.multi/base.exp: Don't use nowarnings.
2179 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
2180 * gdb.multi/hangout.c: Include stdio.h.
2181 * gdb.multi/hello.c: Include stdlib.h.
2182 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
2183 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
2184 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2186 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2188 * gdb.dwarf2/dw2-ranges-base.c: New file.
2189 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2190 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2191 support additional line table, and debug ranges generation.
2192 (Dwarf::ranges): New function, generate .debug_ranges.
2193 (Dwarf::lines): Support generating simple line table programs.
2194 (Dwarf::assemble): Initialise new namespace variables.
2196 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2198 * gdb.base/async.exp (proc test_background): Add case for
2199 asynchronous execution not supported.
2201 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2203 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2204 format and change test names to make them unique.
2206 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2207 Pedro Alves <pedro@redhat.com>
2210 Add checking of floatformats setup on x86_64 hosts.
2211 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2212 (smallval, bigval): New labels/constants.
2213 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2214 float" after loading bigval and smallval.
2216 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2218 * gdb.ada/fun_overload_menu.exp: New testcase.
2219 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2221 2015-12-04 Josh Stone <jistone@redhat.com>
2223 * gdb.base/catch-fork-static.exp: New.
2225 2015-12-03 Yao Qi <yao.qi@linaro.org>
2227 * gdb.base/sizeof.c: Don't include stdio.h and
2228 ../lib/unbuffer_output.c.
2229 (main): New variable 'size' and 'value'. Remove printf and
2230 gdb_unbuffer_output. Assign return value to size and value.
2231 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2233 (check_sizeof): Check the result by printing variable 'size'.
2234 (check_valueof): Check the result by printing variable 'value'.
2236 2015-12-01 Yao Qi <yao.qi@linaro.org>
2238 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2239 for aarch64*-*-linux* target.
2241 2015-11-30 Pedro Alves <palves@redhat.com>
2243 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2245 2015-11-30 Pedro Alves <palves@redhat.com>
2247 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2248 Handle non-stop mode vCont replies.
2250 2015-11-30 Pedro Alves <palves@redhat.com>
2252 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2253 prepare_for_testing. Start gdb with "set non-stop on" appended to
2254 GDBFLAGS. Lax expected stop output.
2256 2015-11-27 Yao Qi <yao.qi@linaro.org>
2258 * gdb.arch/arm-neon.exp: New.
2259 * gdb.arch/arm-neon.c: New.
2261 2015-11-27 Yao Qi <yao.qi@linaro.org>
2263 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2265 2015-11-27 Yao Qi <yao.qi@linaro.org>
2267 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2268 frames-invalid annotation.
2270 2015-11-27 Yao Qi <yao.qi@linaro.org>
2272 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2274 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2276 * gdb.threads/names.exp: New file.
2277 * gdb.threads/names.c: New file.
2278 * README: Mention gdb,no_thread_names.
2280 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2283 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2286 2015-11-24 Pedro Alves <palves@redhat.com>
2289 * gdb.base/display.exp: Expect displays to be sorted in ascending
2290 order. Use multi_line.
2291 * gdb.base/solib-display.exp: Likewise.
2293 2015-11-24 Pedro Alves <palves@redhat.com>
2296 * gdb.base/display.exp: Expect displays to be sorted in ascending
2297 order. Use multi_line.
2298 * gdb.base/solib-display.exp: Likewise.
2300 2015-11-24 Pedro Alves <palves@redhat.com>
2303 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2304 threads in ascending order.
2305 * gdb.base/foll-fork.exp: Likewise.
2306 * gdb.base/foll-vfork.exp: Likewise.
2307 * gdb.base/multi-forks.exp: Likewise.
2308 * gdb.mi/mi-nonstop.exp: Likewise.
2309 * gdb.mi/mi-nsintrall.exp: Likewise.
2310 * gdb.multi/base.exp: Likewise.
2311 * gdb.multi/multi-arch.exp: Likewise.
2312 * gdb.python/py-inferior.exp: Likewise.
2313 * gdb.threads/break-while-running.exp: Likewise.
2314 * gdb.threads/execl.exp: Likewise.
2315 * gdb.threads/gcore-thread.exp: Likewise.
2316 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2317 * gdb.threads/kill.exp: Likewise.
2318 * gdb.threads/linux-dp.exp: Likewise.
2319 * gdb.threads/multiple-step-overs.exp: Likewise.
2320 * gdb.threads/next-bp-other-thread.exp: Likewise.
2321 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2322 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2323 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2324 * gdb.threads/thread-find.exp: Likewise.
2325 * gdb.threads/tls.exp: Likewise.
2326 * lib/mi-support.exp (mi_reverse_list): Delete.
2327 (mi_check_thread_states): No longer reverse list.
2329 2015-11-24 Pedro Alves <palves@redhat.com>
2331 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2334 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2336 * gdb.trace/actions.c: Include trace-common.h.
2337 (main): Add a location for a fast tracepoint.
2338 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2339 the normal tracepoints.
2340 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2342 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2344 * save-trace.exp: Factor out code to these...
2345 (gdb_save_tracepoints): New.
2346 (gdb_load_tracepoints): New.
2347 (do_save_load_test): New.
2349 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2351 * gdb.base/asmlabel.exp: New test.
2352 * gdb.base/asmlabel.c: New test case.
2354 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2356 * gdb.base/wrong_frame_bt_full-main.c: New file.
2357 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2358 * gdb.base/wrong_frame_bt_full.exp: New file.
2360 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2362 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2364 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2366 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2367 pstate register when comparing registers values in
2368 sparc64-*-linux-gnu targets to avoid spurious differences.
2370 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2372 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2374 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2376 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2377 as type argument to gdb_compile.
2378 * gdb.base/nested-subp2.exp: Likewise.
2379 * gdb.base/nested-subp3.exp: Likewise.
2381 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2383 * lib/dwarf.exp (_note): Fix left shift of negative value.
2384 * gdb.trace/trace-condition.exp: Likewise.
2386 2015-11-13 Yao Qi <yao.qi@linaro.org>
2388 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2389 comments about d10v.
2390 (test_scalar_returns): Likewise.
2391 * gdb.base/d10v.ld: Remove.
2392 * gdb.base/overlays.exp: Remove the target triplet checking for
2394 * gdb.base/structs.exp (test_struct_returns): Remove the
2395 comments about d10v.
2396 (test_struct_calls): Likewise.
2398 2015-11-13 Yao Qi <yao.qi@linaro.org>
2400 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2401 * gdb.base/gnu_vector.c: Don't include stdio.h.
2402 (main): Don't print res and call add_some_intvecs.
2404 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2406 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2409 (func4): Use FAST_TRACEPOINT_LABEL.
2410 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2413 (thread_function): Use FAST_TRACEPOINT_LABEL.
2414 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2416 (marker): Use FAST_TRACEPOINT_LABEL.
2417 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2418 (pendfunc1): Remove.
2419 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2420 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2422 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2423 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2426 (marker): Use FAST_TRACEPOINT_LABEL.
2427 * gdb.trace/trace-common.h: New header.
2428 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2431 (marker): Use FAST_TRACEPOINT_LABEL.
2432 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2434 (thread_function): Use FAST_TRACEPOINT_LABEL.
2436 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2438 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2440 * gdb.trace/change-loc.exp: Use global pcreg definition.
2441 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2442 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2444 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2445 * gdb.trace/pending.exp: Likewise.
2446 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2447 * gdb.trace/trace-break.exp: Likewise.
2448 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2450 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2451 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2453 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2455 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2457 * gdb.ada/fin_fun_out: New testcase.
2459 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2461 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2462 value associated with DW_AT_byte_size.
2463 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2464 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2467 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2469 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2470 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2472 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2473 gdb.dwarf2/dw2-canonicalize-type.exp,
2474 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2475 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2476 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2477 provided by gdb_target_symbol_prefix_flags_asm.
2478 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2479 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2480 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2481 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2482 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2483 macros where needed). Use this macro for symbols which require
2484 the prefix provided by SYMBOL_PREFIX.
2486 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2488 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2490 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2491 representing expressions, of more than one list element.
2492 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2493 to prepend linker symbol prefix to f.
2494 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2495 table_1 and table_2.
2496 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2497 Likewise, for f and g.
2498 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2500 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2502 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2503 table_1_ptr and table_2_ptr.
2505 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2506 Joel Brobecker <brobecker@adacore.com>
2508 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2510 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2512 * gdb.reverse/s390-mvcle.c: New test.
2513 * gdb.reverse/s390-mvcle.exp: New file.
2514 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2516 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2518 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2520 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2522 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2524 * gdb.reverse/getresuid-reverse.exp: Likewise.
2525 * gdb.reverse/pipe-reverse.exp: Likewise.
2526 * gdb.reverse/readv-reverse.exp: Likewise.
2527 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2528 * gdb.reverse/time-reverse.exp: Likewise.
2529 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2531 2015-10-30 Yao Qi <yao.qi@linaro.org>
2533 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2534 (empty_cycle): Remove.
2535 (main): Don't call empty_cycle. Don't use watch_count_done.
2536 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2537 empty_cycle. Rewrite the code counting HW watchpoints.
2539 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2541 * gdb.reverse/fstatat-reverse.c: New test.
2542 * gdb.reverse/fstatat-reverse.exp: New file.
2543 * gdb.reverse/getresuid-reverse.c: New test.
2544 * gdb.reverse/getresuid-reverse.exp: New file.
2545 * gdb.reverse/pipe-reverse.c: New test.
2546 * gdb.reverse/pipe-reverse.exp: New file.
2547 * gdb.reverse/readv-reverse.c: New test.
2548 * gdb.reverse/readv-reverse.exp: New file.
2549 * gdb.reverse/recvmsg-reverse.c: New test.
2550 * gdb.reverse/recvmsg-reverse.exp: New file.
2551 * gdb.reverse/time-reverse.c: New test.
2552 * gdb.reverse/time-reverse.exp: New file.
2553 * gdb.reverse/waitpid-reverse.c: New test.
2554 * gdb.reverse/waitpid-reverse.exp: New file.
2556 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2558 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2560 2015-10-26 Doug Evans <dje@google.com>
2563 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2564 * gdb.dwarf2/bad-regnum.c: New file.
2565 * gdb.dwarf2/bad-regnum.exp: New file.
2567 2015-10-26 Doug Evans <dje@google.com>
2570 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2573 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2575 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2576 for a change by "Mention language in compile error message".
2578 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2581 * gdb.python/py-type.c (C::a_method): New.
2582 (C::a_const_method): New.
2583 (C::a_static_method): New.
2585 * gdb.python/py-type.exp (test_fields): Test getting fields
2586 from function and method.
2588 2015-10-21 Keven Boell <keven.boell@intel.com>
2590 * gdb.fortran/vla-alloc-assoc.exp: New file.
2591 * gdb.fortran/vla-datatypes.exp: New file.
2592 * gdb.fortran/vla-datatypes.f90: New file.
2593 * gdb.fortran/vla-history.exp: New file.
2594 * gdb.fortran/vla-ptype-sub.exp: New file.
2595 * gdb.fortran/vla-ptype.exp: New file.
2596 * gdb.fortran/vla-sizeof.exp: New file.
2597 * gdb.fortran/vla-sub.f90: New file.
2598 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2599 * gdb.fortran/vla-value-sub-finish.exp: New file.
2600 * gdb.fortran/vla-value-sub.exp: New file.
2601 * gdb.fortran/vla-value.exp: New file.
2602 * gdb.fortran/vla-ptr-info.exp: New file.
2603 * gdb.mi/mi-vla-fortran.exp: New file.
2604 * gdb.mi/vla.f90: New file.
2606 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2608 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2609 of hardwired timeout value.
2611 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2612 Pedro Alves <palves@redhat.com>
2614 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2615 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2617 2015-10-19 Josh Stone <jistone@redhat.com>
2619 * gdb.base/catch-syscall.c: Include <sched.h>.
2620 (unknown_syscall): New variable.
2621 (main): Trigger a vfork and an unknown syscall.
2622 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2623 (unknown_syscall_number): Likewise.
2624 (check_call_to_syscall): Accept an optional syscall pattern.
2625 (check_return_from_syscall): Likewise.
2626 (check_continue): Likewise.
2627 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2628 (test_catch_syscall_skipping_return): New test toggling off 'catch
2629 syscall' to step over the syscall return, then toggling back on.
2630 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2631 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2632 (do_syscall_tests): Call test_catch_syscall_without_args and
2633 test_catch_syscall_mid_vfork.
2634 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2635 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2637 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2639 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2640 print g_vE): Add new pass patterns.
2641 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2642 print various symbol names for vptr fields.
2644 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2646 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2649 2015-10-12 Yao Qi <yao.qi@linaro.org>
2651 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2653 2015-10-12 Yao Qi <yao.qi@linaro.org>
2655 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2656 is aarch64*-*-linux*.
2658 2015-10-12 Yao Qi <yao.qi@linaro.org>
2660 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2661 (can_relocate_bcond_true): ... it.
2662 (can_relocate_bcond_false): New function.
2664 (can_relocate_bl): Likewise.
2665 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2668 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2670 * gdb.base/nested-addr.c: New file.
2671 * gdb.base/nested-addr.exp: New testcase.
2673 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2675 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2676 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2677 its output. Ignore the output of "record goto begin" and instead
2678 check that GDB is replaying.
2680 2015-10-09 Pedro Alves <palves@redhat.com>
2682 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2683 (top level): Use it in the run with no args test.
2685 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2687 * gdb.dlang/properties.exp: New file.
2689 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2691 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2692 whether or not address 0x1000 is mapped on the target.
2694 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2696 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2699 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2701 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2702 instruction-history test.
2704 2015-09-28 Doug Evans <dje@google.com>
2706 * gdb.base/gcore.c (array_func): Add reference to static_array.
2708 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2710 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2713 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2715 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2716 short or char as base type.
2718 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2720 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2721 to allow any size enum.
2723 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2725 * gdb.ada/array_ptr_renaming.exp: New testcase.
2726 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2727 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2729 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2731 * gdb.trace/ftrace-lock.c: New file.
2732 * gdb.trace/ftrace-lock.exp: New file.
2734 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2736 * gdb.arch/insn-reloc.c: New file.
2737 * gdb.arch/ftrace-insn-reloc.exp: New file.
2739 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2741 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2743 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2744 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2745 * gdb.trace/range-stepping.c: Likewise.
2746 * gdb.trace/trace-break.c: Likewise.
2747 * gdb.trace/trace-mt.c (thread_function): Likewise.
2748 * gdb.trace/ftrace.c (marker): Likewise.
2749 * gdb.trace/trace-condition.c (marker): Likewise.
2750 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2751 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2754 2015-09-18 Doug Evans <xdje42@gmail.com>
2756 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2757 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2759 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2761 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2764 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2766 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2767 the pending breakpoint. Remove timeout override for "Run till
2768 MI pending breakpoint on pendfunc3 on thread 2" test.
2770 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2772 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2775 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2777 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2778 in breakpoint filename pattern.
2780 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2782 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2784 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2786 * gdb.linespec/explicit.exp: Check for readline support for
2787 tab-completion tests. Fix obvious typo.
2789 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2791 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2794 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2796 * gdb.btrace/non-stop.c: New.
2797 * gdb.btrace/non-stop.exp: New.
2799 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2800 Yao Qi <yao.qi@linaro.org>
2802 * gdb.trace/trace-condition.c: New file.
2803 * gdb.trace/trace-condition.exp: New file.
2805 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2807 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2808 for testing bytecode compilation.
2810 2015-09-16 Pedro Alves <palves@redhat.com>
2811 Sandra Loosemore <sandra@codesourcery.com>
2813 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2814 (SECONDS): Redefine.
2815 (main): Call pthread_kill and alarm early.
2816 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2818 (test): If the target can't hardware step and doesn't support
2819 displaced stepping, increase the timeout.
2821 2015-09-16 Pedro Alves <palves@redhat.com>
2823 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2824 (enable_debug): New procedures.
2825 (test): Use them. Bail out if waiting for threads fails.
2826 (top level): Bail out if a test fails.
2828 2015-09-16 Yao Qi <yao.qi@linaro.org>
2830 * gdb.asm/asm-source.exp: Set asm-arch for
2831 aarch64*-*-* target.
2832 * gdb.asm/aarch64.inc: New file.
2834 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2836 * gdb.ada/array_of_variable_length.exp: New testcase.
2837 * gdb.ada/array_of_variable_length/foo.adb: New file.
2838 * gdb.ada/array_of_variable_length/pck.adb: New file.
2839 * gdb.ada/array_of_variable_length/pck.ads: New file.
2841 2015-09-15 Doug Evans <dje@google.com>
2843 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2844 of function static local variable.
2846 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2848 * gdb.threads/tls-so_extern.exp: New test file.
2849 * gdb.threads/tls-so_extern.c: New test file.
2850 * gdb.threads/tls-so_extern_main.c: New test file.
2852 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2854 * gdb.opt/solib-intra-step-lib.c: New file.
2855 * gdb.opt/solib-intra-step-main.c: New file.
2856 * gdb.opt/solib-intra-step.exp: New file.
2858 2015-09-15 Pedro Alves <palves@redhat.com>
2860 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2861 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2863 2015-09-14 Pedro Alves <palves@redhat.com>
2865 * gdb.base/hook-stop-continue.c: Delete.
2866 * gdb.base/hook-stop-continue.exp: Delete.
2867 * gdb.base/hook-stop-frame.c: Delete.
2868 * gdb.base/hook-stop-frame.exp: Delete.
2869 * gdb.base/hook-stop.c: New file.
2870 * gdb.base/hook-stop.exp: New file.
2872 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2874 * gdb.ada/access_to_packed_array.exp: New testcase.
2875 * gdb.ada/access_to_packed_array/foo.adb: New file.
2876 * gdb.ada/access_to_packed_array/pack.adb: New file.
2877 * gdb.ada/access_to_packed_array/pack.ads: New file.
2879 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2881 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2884 2015-09-11 Don Breazeal <donb@codesourcery.com>
2886 * gdb.base/foll-exec.c: Add copyright header. Fix
2888 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2889 (do_exec_tests): Use clean_restart in place of zap_session,
2890 and for test initialization. Fix formatting issues. Use
2891 fail in place of perror.
2892 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2893 an expect statement to match an expression with output from
2894 the program under debug.
2895 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2896 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2897 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2898 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2899 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2901 2015-09-09 Doug Evans <dje@google.com>
2903 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2905 2015-09-09 Doug Evans <dje@google.com>
2907 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2909 2015-09-09 Doug Evans <dje@google.com>
2911 * gdb.base/savedregs.exp: Fix typo.
2913 2015-09-09 Pedro Alves <palves@redhat.com>
2915 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2917 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2919 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2920 command actually switches threads. Give up on remaining
2921 tests if target fails to stop at breakpoint.
2923 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2925 * gdb.ada/funcall_char.exp: New testcase.
2926 * gdb.ada/funcall_char/foo.adb: New file.
2928 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2930 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2931 expected outputs. Add two testcases for completing ambiguous
2933 * gdb.ada/complete/aux_pck.adb: New file.
2934 * gdb.ada/complete/aux_pck.ads: New file.
2935 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2936 Ambiguous_Func functions.
2937 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2938 * gdb.ada/complete/pck.adb: Likewise.
2940 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2942 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2943 failures to run the test program under GDB.
2945 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2947 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2950 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2952 * gdb.base/run-after-attach.exp: New test file.
2953 * gdb.base/run-after-attach.c: New test file.
2955 2015-08-26 Don Breazeal <donb@codesourcery.com>
2957 * gdb.base/foll-exec-2.c: New test program.
2958 * gdb.base/foll-exec-2.exp: New test.
2960 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2962 * gdb.base/nested-subp1.exp: New file.
2963 * gdb.base/nested-subp1.c: New file.
2964 * gdb.base/nested-subp2.exp: New file.
2965 * gdb.base/nested-subp2.c: New file.
2966 * gdb.base/nested-subp3.exp: New file.
2967 * gdb.base/nested-subp3.c: New file.
2969 2015-08-24 Pedro Alves <palves@redhat.com>
2971 * gdb.server/connect-without-multi-process.c: New file.
2972 * gdb.server/connect-without-multi-process.exp: New file.
2974 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2976 * gdb.opt/inline-markers.c: Make z int.
2978 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2980 * gdb.opt/inline-markers.c: Make z volatile.
2982 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2984 * gdb.opt/inline-bt.c: New volatile global z.
2985 * gdb.opt/inline-cmds.c: Likewise.
2986 * gdb.opt/inline-locals.c: Likewise.
2987 * gdb.opt/inline-markers.c: New extern global z.
2989 (inline_fn): Likewise.
2991 2015-08-24 Pedro Alves <palves@redhat.com>
2993 * config/m32r-stub.exp: Remove file.
2994 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2995 * gdb.base/call-rt-st.exp: Likewise.
2996 * gdb.base/call-strs.exp: Likewise.
2997 * gdb.base/default.exp: Remove references to h8300-*-hms and
2999 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
3001 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3003 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
3004 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
3005 and "return" use KFAIL when GDB can not read/write the vector
3008 2015-08-21 Gary Benson <gbenson@redhat.com>
3010 * gdb.trace/pending.exp: Cope with remote transfer warnings.
3012 2015-08-20 Pedro Alves <palves@redhat.com>
3014 * gdb.server/solib-list.exp: No longer expect an interior stop in
3017 2015-08-20 Pedro Alves <palves@redhat.com>
3019 * gdb.server/connect-stopped-target.c: New file.
3020 * gdb.server/connect-stopped-target.exp: New file.
3022 2015-08-20 Pedro Alves <palves@redhat.com>
3024 * gdb.dwarf2/comp-unit-lang.exp: New file.
3025 * gdb.dwarf2/comp-unit-lang.c: New file.
3027 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
3029 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
3030 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
3032 2015-08-19 Kevin Buettner <kevinb@redhat.com>
3034 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
3035 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
3037 2015-08-18 Doug Evans <dje@google.com>
3038 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3040 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
3041 skip_python_tests. New arg prompt_regexp.
3042 (skip_python_tests): New function.
3043 * lib/mi-support.exp (mi_skip_python_tests): New function.
3044 * gdb.python/py-mi-objfile-gdb.py: New file.
3045 * gdb.python/py-mi-objfile.c: New file.
3046 * gdb.python/py-mi-objfile.exp: New file.
3048 2015-08-17 Keith Seitz <keiths@redhat.com>
3050 * gdb.linespec/explicit.exp: Move strace test from here ...
3051 * gdb.trace/strace.exp: ... to here.
3053 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
3055 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
3056 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
3058 2015-08-14 Doug Evans <xdje42@gmail.com>
3060 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
3061 inferior before selecting a new file.
3063 2015-08-14 Doug Evans <xdje42@gmail.com>
3065 * gdb.mi/mi-disassemble.exp: Update.
3066 * gdb.base/disasm-optim.S: New file.
3067 * gdb.base/disasm-optim.c: New file.
3068 * gdb.base/disasm-optim.h: New file.
3069 * gdb.base/disasm-optim.exp: New file.
3071 2015-08-14 Keith Seitz <keiths@redhat.com>
3073 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
3076 2015-08-13 Joel Brobecker <brobecker@adacore.com>
3078 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
3080 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
3082 * gdb.ada/fun_renaming.exp: New testcase.
3083 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
3084 * gdb.ada/fun_renaming/pack.adb: New file.
3085 * gdb.ada/fun_renaming/pack.ads: New file.
3087 2015-08-12 Keith Seitz <keiths@redhat.com>
3089 * gdb.base/dso2dso.exp: Pass basename of source file in call to
3090 gdb_get_line_number.
3092 2015-08-12 Joel Brobecker <brobecker@adacore.com>
3094 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
3095 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
3096 gdb.base/dso2dso.exp: New files.
3098 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
3099 Pedro Alves <palves@redhat.com>
3100 Keith Seitz <keiths@redhat.com>
3102 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
3105 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3107 * gdb.base/gdbhistsize-history.exp
3108 (test_histsize_history_setting): Use save_vars.
3109 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3111 (test_no_truncation_of_unlimited_history_file): Use save_vars.
3112 * gdb.base/readline.exp: Use save_vars.
3114 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
3116 * lib/gdb.exp (save_vars): New proc.
3118 2015-08-11 Keith Seitz <keiths@redhat.com>
3120 * gdb.base/help.exp: Update help_breakpoint_text.
3122 2015-08-11 Keith Seitz <keiths@redhat.com>
3124 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
3125 (at toplevel): Call test_explicit_breakpoints.
3126 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
3128 * lib/mi-support.exp (mi_make_breakpoint): Add support for
3129 breakpoint conditions, "-cond".
3131 2015-08-11 Keith Seitz <keiths@redhat.com>
3133 * gdb.linespec/3explicit.c: New file.
3134 * gdb.linespec/cpexplicit.cc: New file.
3135 * gdb.linespec/cpexplicit.exp: New file.
3136 * gdb.linespec/explicit.c: New file.
3137 * gdb.linespec/explicit.exp: New file.
3138 * gdb.linespec/explicit2.c: New file.
3139 * gdb.linespec/ls-errs.exp: Add explicit location tests.
3140 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
3141 before using in the matching pattern.
3142 Clarify that `prefix' is a regular expression.
3144 2015-08-11 Keith Seitz <keiths@redhat.com>
3146 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
3148 Add tests for missing ",FMT" and ",".
3150 2015-08-10 Doug Evans <dje@google.com>
3151 Keith Seitz <keiths@redhat.com>
3154 * gdb.base/completion.exp: Add location completer tests.
3156 2015-08-07 Pedro Alves <palves@redhat.com>
3158 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
3160 (top level): Run do_test with and without displaced stepping.
3162 2015-08-07 Pedro Alves <palves@redhat.com>
3164 * gdb.base/valgrind-disp-step.c: New file.
3165 * gdb.base/valgrind-disp-step.exp: New file.
3167 2015-08-07 Pedro Alves <palves@redhat.com>
3169 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
3171 (main): Add alarm. Run an infinite loop instead of calling
3173 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
3175 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
3177 (main): Add alarm. Run an infinite loop instead of calling
3179 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
3182 2015-08-07 Pedro Alves <palves@redhat.com>
3184 * gdb.base/checkpoint-ns.exp: New file.
3185 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3188 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3190 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3191 * gdb.btrace/instruction_history.exp: Update.
3192 * gdb.btrace/tsx.exp: New.
3193 * gdb.btrace/tsx.c: New.
3195 2015-08-06 Pedro Alves <palves@redhat.com>
3197 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3199 * gdb.reverse/until-precsave.exp: Bump timeouts.
3201 2015-08-06 Pedro Alves <palves@redhat.com>
3203 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3205 2015-08-06 Pedro Alves <palves@redhat.com>
3208 * gdb.threads/process-dies-while-handling-bp.c: New file.
3209 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3211 2015-08-06 Pedro Alves <palves@redhat.com>
3213 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3214 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3216 2015-08-05 Pedro Alves <palves@redhat.com>
3218 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3219 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3221 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3223 * gdb.base/bp-permanent.exp: Report test as unsupported if
3224 the target cannot stop at the permanent breakpoint.
3226 2015-08-03 Doug Evans <dje@google.com>
3228 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3231 2015-08-03 Doug Evans <dje@google.com>
3233 * Makefile.in (workers/%.worker, build-perf): New rule.
3234 (GDB_PERFTEST_MODE): New variable.
3235 (check-perf): Use it.
3236 (clean): Clean up gdb.perf parallel build subdirs.
3237 * lib/build-piece.exp: New file.
3238 * lib/gdb.exp (make_gdb_parallel_path): New function
3239 (standard_output_file, standard_temp_file): Call it.
3240 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3242 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3244 2015-08-03 Doug Evans <dje@google.com>
3246 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3247 (LOG_FILE_NAME): New global.
3248 (TextReporter.__init__): Initialize self.txt_sum.
3249 (TextReporter.report): Add support for multiple data-points.
3250 Move report to perftest.sum, put raw data in perftest.log.
3251 (TextReporter.start): Open sum and log files.
3252 (TextReporter.end): Close sum and log files.
3253 * gdb.perf/lib/perftest/testresult.py
3254 (SingleStatisticTestResult.record): Handle multiple data-points.
3256 2015-07-31 Pedro Alves <palves@redhat.com>
3258 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3259 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3260 kill_wait_spawned_process instead of explicit "kill -9".
3261 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3262 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3263 kill_wait_spawned_process.
3264 * gdb.base/attach-twice.exp: Likewise.
3265 * gdb.base/attach.exp: Likewise.
3266 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3268 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3269 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3270 kill_wait_spawned_process.
3271 * gdb.base/valgrind-infcall.exp: Likewise.
3272 * gdb.multi/multi-attach.exp: Likewise.
3273 * gdb.python/py-prompt.exp: Likewise.
3274 * gdb.python/py-sync-interp.exp: Likewise.
3275 * gdb.server/ext-attach.exp: Likewise.
3276 * gdb.threads/attach-into-signal.exp (corefunc): Use
3277 spawn_wait_for_attach, spawn_id_get_pid and
3278 kill_wait_spawned_process.
3279 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3280 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3281 spawn_id_get_pid and kill_wait_spawned_process.
3282 * gdb.threads/attach-stopped.exp (corefunc): Use
3283 spawn_wait_for_attach, spawn_id_get_pid and
3284 kill_wait_spawned_process.
3285 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3286 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3287 kill_wait_spawned_process instead of explicit "kill -9".
3288 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3289 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3290 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3291 processes. Don't map cygwin/windows pids here. Now returns a
3294 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3296 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3297 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3300 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3302 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3304 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3307 2014-05-21 Mark Wielaard <mjw@redhat.com>
3309 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3311 2015-07-30 Pedro Alves <palves@redhat.com>
3313 * linux-low.c (handle_extended_wait): Set the child's last
3314 reported status to TARGET_WAITKIND_STOPPED.
3316 2015-07-30 Pedro Alves <palves@redhat.com>
3319 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3320 only shows inferior 1.
3322 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3323 Pedro Alves <palves@redhat.com>
3326 * gdb.threads/fork-plus-threads.c: New file.
3327 * gdb.threads/fork-plus-threads.exp: New file.
3329 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3331 * gdb.base/batch-preserve-term-settings.exp
3332 (test_terminal_settings_preserved_after_cli_exit): Use
3335 2015-07-29 Pedro Alves <palves@redhat.com>
3336 Don Breazeal <donb@codesourcery.com>
3338 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3339 output from both inferior_spawn_id and gdb_spawn_id.
3341 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3343 * gdb.threads/attach-into-signal.exp (corefunc): Use
3344 with_test_prefix on nested loops, uniquefying the test messages.
3346 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3348 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3351 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3353 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3355 (test_terminal_settings_preserved_after_sigterm): New test.
3357 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3359 * gdb.base/batch-preserve-term-settings.exp
3360 (test_terminal_settings_preserved_after_cli_exit): New test.
3362 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3364 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3365 manipulation of saved_gdbflags.
3366 (test_terminal_settings_preserved): Remove global declaration of
3367 the unused variable pagination_prompt. Remove manipulation of
3368 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3371 2015-07-29 Pedro Alves <palves@redhat.com>
3373 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3375 2015-07-29 Pedro Alves <palves@redhat.com>
3377 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3380 2015-07-29 Pedro Alves <palves@redhat.com>
3382 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3383 (main): Call gdb_unbuffer_output.
3384 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3385 (main): Call gdb_unbuffer_output.
3386 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3387 (main): Call gdb_unbuffer_output.
3388 * gdb.base/call-strs.exp: Adjust to step over the
3389 gdb_unbuffer_output call.
3390 * gdb.base/catch-gdb-caused-signals.c: Include
3391 "../lib/unbuffer_output.c".
3392 (main): Call gdb_unbuffer_output.
3393 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3394 (main): Call gdb_unbuffer_output.
3395 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3396 (main): Call gdb_unbuffer_output.
3397 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3398 (main): Call gdb_unbuffer_output.
3399 * gdb.base/shlib-call.exp: Adjust to step over the
3400 gdb_unbuffer_output call.
3401 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3402 (main): Call gdb_unbuffer_output.
3403 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3404 (main): Call gdb_unbuffer_output.
3405 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3406 (main): Rename to ...
3408 (main): Reimplement.
3409 * gdb.base/varargs.exp: Run to test instead of to main.
3410 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3411 (main): Call gdb_unbuffer_output.
3413 2015-07-29 Pedro Alves <palves@redhat.com>
3415 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3416 factore out from mi_continue_dprintf. For call-style dprintfs,
3417 expect dprintf output out of $inferior_spawn_id.
3418 (mi_continue_dprintf): Use mi_expect_dprintf.
3419 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3420 (main): Call gdb_unbuffer_output.
3422 2015-07-29 Pedro Alves <palves@redhat.com>
3424 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3425 (default_mi_gdb_start): Set inferior_spawn_id instead of
3426 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3428 (mi_gdb_test): Always expect inferior output from both
3429 $inferior_spawn_id and $gdb_spawn_id.
3431 2015-07-29 Pedro Alves <palves@redhat.com>
3433 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3434 send_inferior and $inferior_spawn_id.
3436 2015-07-29 Pedro Alves <palves@redhat.com>
3438 * gdb.gdb/complaints.exp (test_initial_complaints)
3439 (test_serial_complaints, test_short_complaints): Use
3441 (test_empty_complaint): Handle $inferior_spawn_id !=
3444 2015-07-29 Pedro Alves <palves@redhat.com>
3446 * gdb.base/varargs.exp: Use gdb_test_stdio.
3448 2015-07-29 Pedro Alves <palves@redhat.com>
3450 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3452 2015-07-29 Pedro Alves <palves@redhat.com>
3454 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3456 2015-07-29 Pedro Alves <palves@redhat.com>
3458 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3459 parameter into two new parameters, "inf_result" and "gdb_result".
3460 Expect inferior output and gdb output from $inferior_spawn_id and
3461 $gdb_spawn_id, respectively. Adjust all callers.
3463 2015-07-29 Pedro Alves <palves@redhat.com>
3465 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3466 of gdb_test_sequence.
3468 2015-07-29 Pedro Alves <palves@redhat.com>
3470 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3471 (saw_spurious_output): Expect inferior output from
3472 $inferior_spawn_id. Use gdb_test_stdio.
3474 2015-07-29 Pedro Alves <palves@redhat.com>
3476 * gdb.base/dprintf.exp: Use standard_testfile. Change
3477 prepare_for_testing call.
3478 (srcfile): Don't set.
3479 (restart): New procedure.
3480 (test_dprintf): New procecure, use to continue over dprintfs.
3481 (test_call, test_agent): New procedures, tests moved here.
3482 Restart gdb and recreate dprintfs. Adjust expected output.
3484 2015-07-29 Pedro Alves <palves@redhat.com>
3486 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3488 2015-07-29 Pedro Alves <palves@redhat.com>
3490 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3492 2015-07-29 Pedro Alves <palves@redhat.com>
3494 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3497 2015-07-29 Pedro Alves <palves@redhat.com>
3499 * lib/gdb.exp (gdb_test_stdio): New procedure.
3501 2015-07-29 Pedro Alves <palves@redhat.com>
3503 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3505 2015-07-29 Pedro Alves <palves@redhat.com>
3507 * gdb.base/call-signal-resume.exp: Remove check for
3508 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3509 * gdb.base/unwindonsignal.exp: Likewise.
3510 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3511 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3513 2015-07-29 Pedro Alves <palves@redhat.com>
3515 * gdb.base/siginfo-addr.c (pass): New function.
3516 (handler): Call it iff si_addr is correct.
3517 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3518 Set a breakpoint at "pass" and continue to it.
3520 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3522 * gdb.python/py-objfile.exp: Make some tests have unique names.
3523 * gdb.python/py-pp-registration.exp: Likewise.
3525 2015-07-28 Pedro Alves <palves@redhat.com>
3527 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3529 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3531 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3533 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3535 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3537 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3539 * gdb.base/gdb-sigterm-2.exp: New test.
3541 2015-07-25 Doug Evans <xdje42@gmail.com>
3544 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3545 (workers/%.worker, build-perf): New rule.
3546 (GDB_PERFTEST_MODE): New variable.
3547 (check-perf): Use it.
3548 (clean): Clean up gdb.perf parallel build subdirs.
3549 * lib/build-piece.exp: New file.
3550 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3551 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3553 (standard_temp_file): Ditto.
3554 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3557 2015-07-24 Doug Evans <dje@google.com>
3559 * gdb.perf/lib/perftest/utils.py: New file.
3560 * gdb.perf/gm-hello.cc: New file.
3561 * gdb.perf/gm-pervasive-typedef.cc: New file.
3562 * gdb.perf/gm-pervasive-typedef.h: New file.
3563 * gdb.perf/gm-std.cc: New file.
3564 * gdb.perf/gm-std.h: New file.
3565 * gdb.perf/gm-use-cerr.cc: New file.
3566 * gdb.perf/gm-utils.h: New file.
3567 * gdb.perf/gmonster-null-lookup.py: New file.
3568 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3569 * gdb.perf/gmonster-print-cerr.py: New file.
3570 * gdb.perf/gmonster-ptype-string.py: New file.
3571 * gdb.perf/gmonster-runto-main.py: New file.
3572 * gdb.perf/gmonster-select-file.py: New file.
3573 * gdb.perf/gmonster1-null-lookup.exp: New file.
3574 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3575 * gdb.perf/gmonster1-print-cerr.exp: New file.
3576 * gdb.perf/gmonster1-ptype-string.exp: New file.
3577 * gdb.perf/gmonster1-runto-main.exp: New file.
3578 * gdb.perf/gmonster1-select-file.exp: New file.
3579 * gdb.perf/gmonster1.cc: New file.
3580 * gdb.perf/gmonster1.exp: New file.
3581 * gdb.perf/gmonster2-null-lookup.exp: New file.
3582 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3583 * gdb.perf/gmonster2-print-cerr.exp: New file.
3584 * gdb.perf/gmonster2-ptype-string.exp: New file.
3585 * gdb.perf/gmonster2-runto-main.exp: New file.
3586 * gdb.perf/gmonster2-select-file.exp: New file.
3587 * gdb.perf/gmonster2.cc: New file.
3588 * gdb.perf/gmonster2.exp: New file.
3590 2015-07-24 Doug Evans <dje@google.com>
3592 * gdb.perf/README: New file.
3593 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3594 * lib/gen-perf-test.exp: New file.
3596 2015-07-24 Doug Evans <dje@google.com>
3598 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3599 (PerfTest::startup): New function.
3600 (PerfTest::run): Return result of calling body.
3601 (PerfTest::assemble): Rewrite.
3602 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3603 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3604 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3605 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3606 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3608 2015-07-24 Doug Evans <dje@google.com>
3610 * lib/gdb.exp (clean_restart): Make executable optional.
3612 2015-07-24 Doug Evans <dje@google.com>
3614 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3615 compiler_info references.
3616 * gdb.cp/temargs.exp: Ditto.
3617 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3618 (get_compiler_info): Early exit if already computed. Set compiler_info
3619 to "unknown" if there was a problem.
3620 (test_compiler_info): Add function comment. Call get_compiler_info.
3622 2015-07-24 Doug Evans <dje@google.com>
3624 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3625 (workers/%.worker, build-perf): New rule.
3626 (GDB_PERFTEST_MODE): New variable.
3627 (check-perf): Use it.
3628 (clean): Clean up gdb.perf parallel build subdirs.
3629 * lib/build-piece.exp: New file.
3630 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3631 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3633 (standard_temp_file): Ditto.
3634 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3637 2015-07-24 Doug Evans <dje@google.com>
3639 * lib/future.exp (gdb_default_target_compile): New option
3641 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3644 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3646 * gdb.base/catch-syscall.exp: Call gdb_exit before
3649 2015-07-24 Pedro Alves <palves@redhat.com>
3651 * gdb.python/py-events.exp: Accept output between the stop event
3653 * gdb.python/py-evsignal.exp: Likewise.
3654 * gdb.python/py-evthreads.exp: Likewise.
3656 2015-07-24 Pedro Alves <palves@redhat.com>
3659 * gdb.threads/non-ldr-exit.c: New file.
3660 * gdb.threads/non-ldr-exit.exp: New file.
3662 2015-07-24 Yao Qi <yao.qi@linaro.org>
3664 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3667 2015-07-24 Yao Qi <yao.qi@linaro.org>
3669 * gdb.server/ext-restart.exp: New file.
3671 2015-07-24 Yao Qi <yao.qi@linaro.org>
3673 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3675 * gdb.server/ext-wrapper.exp: New file.
3677 2015-07-23 Doug Evans <dje@google.com>
3679 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3680 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3682 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3684 * gdb.ada/var_arr_typedef.exp: New testcase.
3685 * gdb.ada/var_arr_typedef/pack.adb: New file.
3686 * gdb.ada/var_arr_typedef/pack.ads: New file.
3687 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3689 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3691 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3693 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3695 * gdb.arch/i386-biarch-core.exp: Replace istarget
3696 by "complete set gnutarget". Remove expectation for the "core-file"
3699 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3701 Revert the previous commit:
3702 Tests for validate symbol file using build-id.
3704 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3706 Tests for validate symbol file using build-id.
3707 * gdb.base/solib-mismatch-lib.c: New file.
3708 * gdb.base/solib-mismatch-libmod.c: New file.
3709 * gdb.base/solib-mismatch.c: New file.
3710 * gdb.base/solib-mismatch.exp: New file.
3712 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3714 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3716 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3717 * gdb.base/siginfo.exp: Likewise.
3718 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3720 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3722 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3724 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3726 * gdb.trace/range-stepping.exp: Check that the target supports
3729 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3731 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3733 2015-07-14 Pedro Alves <palves@redhat.com>
3735 * gdb.base/killed-outside.exp: New file.
3736 * gdb.base/killed-outside.c: New file.
3738 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3740 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3742 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3744 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3746 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3747 infcall tests instead of setting up for KFAIL.
3749 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3751 * gdb.btrace/record_goto-step.exp: New.
3753 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3756 * gdb.compile/compile.c (struct struct_type): Add volatile to
3758 * gdb.compile/compile.exp
3759 (compile code struct_object.selffield = &struct_object): Skip further
3760 struct_object tests if this one xfails.
3762 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3765 * gdb.trace/ax.exp: Add test.
3767 2015-07-07 Yao Qi <yao.qi@linaro.org>
3769 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3770 instead of istarget "aarch64*-*-*".
3771 * gdb.arch/aarch64-fp.exp: Likewise.
3772 * gdb.base/float.exp: Likewise.
3773 * gdb.reverse/aarch64.exp: Likewise.
3774 * lib/gdb.exp (is_aarch64_target): New proc.
3776 2015-07-07 Yao Qi <yao.qi@linaro.org>
3778 * lib/gdb.exp (is_aarch32_target): New proc.
3779 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3780 instead of "istarget "arm*-*-*"".
3781 * gdb.arch/arm-disp-step.exp: Likewise.
3782 * gdb.arch/thumb-bx-pc.exp: Likewise.
3783 * gdb.arch/thumb-prologue.exp: Likewise.
3784 * gdb.arch/thumb-singlestep.exp: Likewise.
3785 * gdb.base/disp-step-syscall.exp: Likewise.
3786 * gdb.base/float.exp: Likewise.
3788 2015-07-07 Yao Qi <yao.qi@linaro.org>
3790 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3791 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3793 2015-07-07 Yao Qi <yao.qi@linaro.org>
3795 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3796 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3798 * gdb.multi/multi-arch.exp: Likewise.
3800 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3802 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3805 2015-07-07 Yao Qi <yao.qi@linaro.org>
3807 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3809 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3811 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3812 '[' and ']' characters.
3814 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3816 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3818 2015-06-29 Pedro Alves <palves@redhat.com>
3821 * gdb.threads/hand-call-new-thread.c: New file.
3822 * gdb.threads/hand-call-new-thread.c: New file.
3824 2015-06-26 Keith Seitz <keiths@redhat.com>
3825 Doug Evans <dje@google.com>
3828 * gdb.cp/var-tag-2.cc: New file.
3829 * gdb.cp/var-tag-3.cc: New file.
3830 * gdb.cp/var-tag-4.cc: New file.
3831 * gdb.cp/var-tag.cc: New file.
3832 * gdb.cp/var-tag.exp: New file.
3834 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3836 * gdb.base/history-duplicates.exp: New test.
3838 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3840 * gdb.base/completion.exp: Test the completion of the "focus"
3843 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * gdb.arch/amd64-prologue-skip.S: New file.
3846 * gdb.arch/amd64-prologue-skip.exp: New file.
3848 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3850 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3851 is_address_zero_readable check.
3853 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3855 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3856 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3858 2015-06-24 Yao Qi <yao.qi@linaro.org>
3860 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3863 2015-06-24 Yao Qi <yao.qi@linaro.org>
3865 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3866 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3867 * gdb.base/siginfo-thread.exp: Likewise.
3869 2015-06-22 Yao Qi <yao.qi@linaro.org>
3871 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3873 2015-06-22 Yao Qi <yao.qi@linaro.org>
3875 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3877 (skip_hw_watchpoint_tests): Likewise.
3879 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3881 * gdb.base/gdbinit-history.exp: Test the interaction between
3882 setting GDBHISTSIZE and setting the history size via .gdbinit.
3884 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3887 * gdb.base/gdbhistsize-history.exp: New test.
3889 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3891 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3893 * gdb.base/readline.exp: Likewise.
3895 2015-06-17 Yao Qi <yao.qi@linaro.org>
3897 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3900 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3902 * gdb.base/gdbinit-history.exp: Add test case to check that
3903 an unlimited history file does not get truncated on exit.
3905 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3907 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3908 (VECTOR): New macro. Use it...
3909 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3910 ...for these typedefs.
3911 (int8, char1, int1, double1): New typedefs.
3912 (struct just_int2, struct two_int2): New structures.
3913 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3914 (add_structvecs, add_singlevecs): New functions.
3915 (main): Call add_some_intvecs twice.
3916 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3917 the compile and exit upon failure. Try compiling for the "native"
3918 architecture. Test inferior function calls with vector arguments
3919 and vector return value handling with "finish" and "return".
3921 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3923 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3924 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3926 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3928 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3930 PR breakpoints/16465
3931 * gdb.mi/mi-dprintf-pending.c: New file.
3932 * gdb.mi/mi-dprintf-pending.exp: New test.
3933 * gdb.mi/mi-dprintf-pendshr.c: New file.
3935 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3936 Mircea Gherzan <mircea.gherzan@intel.com>
3938 * gdb.arch/i386-mpx-map.c: New file.
3939 * gdb.arch/i386-mpx-map.exp: New File.
3941 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3943 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3944 * gdb.arch/i386-mpx.exp: Indentation fixed.
3946 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3948 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3949 function and improved indentation.
3950 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3951 gdb_test_multiple. Added additional tests to skip the test.
3953 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3955 * gdb.arch/i386-avx512.c: Change path in include file.
3956 * gdb.arch/i386-avx512.exp: Change include dir path
3958 * gdb.arch/i386-mpx.c: Change path in include file.
3959 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3962 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 * gdb.compile/compile-print.exp (compile print *vararray@3)
3965 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3967 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3969 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3970 (do not keep jit in memory): ... this.
3971 (expect 5): Change it to ...
3972 (expect no 5): ... this.
3974 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3977 * gdb.mi/mi-detach.exp: New file.
3979 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3982 * gdb.arch/amd64-tailcall-self.S: New file.
3983 * gdb.arch/amd64-tailcall-self.c: New file.
3984 * gdb.arch/amd64-tailcall-self.exp: New file.
3986 2015-05-28 Don Breazeal <donb@codesourcery.com>
3988 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3989 tests for remote targets by checking is_target_gdbserver.
3991 2015-05-27 Doug Evans <dje@google.com>
3993 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3994 * gdb.dwarf2/opaque-type-lookup.c: New file.
3995 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3997 2015-05-26 Doug Evans <dje@google.com>
3999 * gdb.cp/iostream.cc: New file.
4000 * gdb.cp/iostream.exp: New file.
4002 2015-05-26 Doug Evans <dje@google.com>
4004 * gdb.dwarf2/dw2-op-call.exp: Update.
4005 * gdb.dwarf2/dw4-sig-types.exp: Update.
4006 * gdb.dwarf2/implptr.exp: Update.
4007 * gdb.mi/mi-cmd-param-changed.exp: Update.
4009 2015-05-26 Doug Evans <dje@google.com>
4011 * gdb.python/py-lazy-string.c: New file.
4012 * gdb.python/py-lazy-string.exp: New file.
4013 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
4014 (main): Update. Add estring3.
4015 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
4016 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
4018 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4019 Yao Qi <yao.qi@linaro.org>
4021 * gdb.reverse/aarch64.c: New.
4022 * gdb.reverse/aarch64.exp: New.
4024 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
4026 * lib/gdb.exp (supports_process_record): Return true for
4028 (supports_reverse): Likewise.
4030 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
4032 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4033 Use with_test_prefix.
4035 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
4037 * gdb.base/completion.exp: Add test for completion of layout
4040 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
4042 * lib/gdb.exp (skip_tui_tests): New proc.
4043 * gdb.base/tui-layout.exp: Check skip_tui_tests.
4045 2015-05-19 Pedro Alves <palves@redhat.com>
4047 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
4048 Save the whole env array instead of just HOME. Unset HISTSIZE in
4049 the environment while testing. Restore whole environment
4052 2015-05-16 Doug Evans <xdje42@gmail.com>
4054 * gdb.guile/scm-ports.c: New file.
4055 * gdb.guile/scm-ports.exp: Add memory port tests.
4057 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4059 * gdb.compile/compile-print.c: New file.
4060 * gdb.compile/compile-print.exp: New file.
4062 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4064 * gdb.compile/compile-ops.exp: Cast param to void.
4065 * gdb.compile/compile.exp: Complete type for _gdb_expr.
4066 (compile code struct_object.selffield = &struct_object): Add xfail.
4068 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4070 * gdb.ada/arr_enum_with_gap: New testcase.
4072 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4074 * gdb.ada/byte_packed_arr: New testcase.
4076 2015-05-15 Joel Brobecker <brobecker@adacore.com>
4078 * gdb.ada/pckd_neg: New testcase.
4080 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
4083 * gdb.base/gdbinit-history.exp: New test.
4084 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
4085 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
4087 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
4089 * gdb.python/py-xmethods.cc: Enhance test case.
4090 * gdb.python/py-xmethods.exp: New tests.
4091 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
4093 (B_indexoper): Likewise.
4094 (global_dm_list) : Add new xmethod worker functions.
4096 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
4098 * gdb.base/coredump-filter.exp: Correctly unset
4099 "coredump_var_addr" array.
4101 2015-05-08 Pedro Alves <palves@redhat.com>
4103 * gdb.server/non-existing-program.exp: Unset spawn_id.
4105 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
4108 * gdb.python/py-xmethods.exp: Add tests.
4110 2015-05-08 Yao Qi <yao.qi@linaro.org>
4113 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
4114 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
4115 function set_coredump_filter, and remove remote_exec call.
4116 Remove argument ipid. Callers update.
4117 (top level): Don't get inferior's PID.
4119 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
4121 * gdb.base/watch_thread_num.exp: Skip test on targets without
4124 2015-05-06 Pedro Alves <palves@redhat.com>
4127 * gdb.server/non-existing-program.exp: New file.
4129 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4131 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
4133 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4135 * gdb.ada/out_of_line_in_inlined: New testcase.
4137 2015-05-05 Joel Brobecker <brobecker@adacore.com>
4139 * gdb.ada/var_rec_arr: New testcase.
4141 2015-04-30 Yao Qi <yao.qi@linaro.org>
4143 * gdb.base/break-idempotent.exp: If
4144 skip_hw_watchpoint_multi_tests returns true, skip the tests
4145 on "rwatch" and "awatch".
4147 2015-04-30 Yao Qi <yao.qi@linaro.org>
4149 * gdb.base/relativedebug.exp: Invoke gdb command
4150 "info sharedlibrary", and if libc.so doesn't have debug info,
4153 2015-04-29 Doug Evans <dje@google.com>
4155 * gdb.python/py-xmethods.exp: Add ptype tests.
4156 * gdb.python/py-xmethods.py (E_method_char_worker): Add
4157 get_result_type method.
4159 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4161 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
4162 the target does not support hardware watchpoints.
4164 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
4166 * gdb.base/break-always.exp: Abort testing if writing to memory
4169 2015-04-28 Doug Evans <dje@google.com>
4171 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4172 * gdb.python/py-pp-registration.exp: ... here. New file.
4173 * gdb.python/py-pp-registration.c: New file.
4174 * gdb.python/py-pp-registration.py: New file.
4176 2015-04-28 Doug Evans <dje@google.com>
4178 * gdb.python/py-bad-printers.c: New file.
4179 * gdb.python/py-bad-printers.py: New file.
4180 * gdb.python/py-bad-printers.exp: New file.
4182 2015-04-28 Sasha Smundak <asmundak@google.com>
4184 * gdb.python/py-type.exp: New test.
4186 2015-04-28 Andy Wingo <wingo@igalia.com>
4188 * gdb.python/py-parameter.exp:
4189 * gdb.guile/scm-parameter.exp: Escape the path that we are
4190 matching against, as it might contain characters that are special
4191 to regular expressions.
4193 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4195 * gdb.ada/rec_comp: New testcase.
4197 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4199 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4202 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4204 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4205 new tests for verilog output.
4207 2015-04-24 Yao Qi <yao.qi@linaro.org>
4209 * boards/remote-gdbserver-on-localhost.exp: New file.
4211 2015-04-23 Pedro Alves <palves@redhat.com>
4213 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4214 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4215 "end of file", remove $inferior_spawn_id from the indirect list.
4217 2015-04-23 Pedro Alves <palves@redhat.com>
4219 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4221 2015-04-23 Pedro Alves <palves@redhat.com>
4223 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4224 on $any_spawn_id instead of only on $gdb_spawn_id.
4226 2015-04-21 Pierre Muller <muller@sourceware.org>
4229 * lib/pascal.exp (gpc_compile): Add new option "class".
4230 (fpc_compile): Likewise.
4231 * gdb.pascal/case-insensitive-symbols.pas: New file.
4232 * gdb.pascal/case-insensitive-symbols.exp: New file.
4234 2015-04-20 Gary Benson <gbenson@redhat.com>
4236 * gdb.base/attach.exp: Fix three extended remote failures.
4238 2015-04-17 Gary Benson <gbenson@redhat.com>
4240 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4241 the main executable over the remote protocol.
4243 2015-04-16 Pedro Alves <palves@redhat.com>
4245 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4246 a new gdbserver if gdbserver_reconnect_p is set.
4248 2015-04-16 Pedro Alves <palves@redhat.com>
4250 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4251 is set, don't exit gdbserver.
4253 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4255 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4256 appropriate .insn, such that an older assembler can be used.
4257 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4258 the z/Architecture instruction set on 31-bit targets as well.
4260 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4262 * gdb.go/handcall.exp: Remove all logic related to the first
4263 breakpoint and rely on go_runto_main instead.
4264 * gdb.go/strings.exp: Likewise.
4265 * gdb.go/unsafe.exp: Likewise.
4266 * gdb.go/hello.exp: Likewise. Also rename the remaining
4267 breakpoint marker to "breakpoint 1".
4268 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4269 * gdb.go/strings.go: Likewise.
4270 * gdb.go/unsafe.go: Likewise.
4271 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4272 "set breakpoint 2 here" and rename the remaining breakpoint marker
4275 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4277 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4278 if itertools.imap is not present.
4279 * gdb.python/py-objfile.exp: Add parentheses.
4280 * gdb.python/py-type.exp: Same.
4281 * gdb.python/py-unwind-maint.py: Same.
4283 2015-04-15 Yao Qi <yao.qi@linaro.org>
4285 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4286 of ":$ptr_size" and set its form explicitly.
4288 2015-04-15 Pedro Alves <palves@redhat.com>
4289 Yao Qi <yao.qi@linaro.org>
4291 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4292 timeout by factor of 4.
4293 (test_regular_watch): Likewise.
4294 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4295 * gdb.reverse/sigall-reverse.exp: Likewise.
4296 * gdb.reverse/until-precsave.exp: Likewise.
4297 * lib/gdb.exp (with_timeout_factor): New proc.
4298 (gdb_expect): Move some code to ...
4299 (get_largest_timeout): ... here. New procedure.
4301 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4303 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4305 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4307 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4308 to write to the .text section.
4310 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4312 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4313 Handle the case of targets that do not provide PID information.
4315 2015-04-13 Yao Qi <yao.qi@linaro.org>
4317 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4318 and use expect instead of gdb_expect.
4320 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4322 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4323 "coredump_var_addr" to avoid naming conflict with other testcases.
4325 2015-04-10 Pedro Alves <palves@redhat.com>
4327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4328 gdb_test_sequence and gdb_assert.
4330 2015-04-10 Pedro Alves <palves@redhat.com>
4332 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4333 test messages that don't include the breakpoint address.
4335 2015-04-10 Yao Qi <yao.qi@linaro.org>
4337 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4338 false for some offset and width combinations which aren't
4339 supported by linux kernel.
4341 2015-04-10 Pedro Alves <palves@redhat.com>
4343 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4344 procedure, factored out from ...
4345 (top level): ... here. Add "set displaced-stepping" testing axis.
4346 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4347 parameter "displaced". Use it.
4348 (top level): Use foreach and add "set displaced-stepping" testing
4351 2015-04-10 Pedro Alves <palves@redhat.com>
4353 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4355 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4356 both the address of the instruction that triggers the watchpoint
4357 and the address of the instruction immediately after, and use
4358 those addresses for the test. Fix comment.
4360 2015-04-10 Pedro Alves <palves@redhat.com>
4362 * gdb.base/sigstep.exp (breakpoint_to_handler)
4363 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4364 Test "backtrace" in handler.
4365 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4366 (top level): Add new "displaced" test axis to
4367 breakpoint_to_handler, breakpoint_to_handler_entry and
4368 breakpoint_over_handler.
4370 2015-04-10 Pedro Alves <palves@redhat.com>
4373 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4375 2015-04-10 Yao Qi <yao.qi@linaro.org>
4377 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4378 (test_add_rn_pc): New function.
4379 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4380 (top level): Invoke test_add_rn_pc.
4382 2015-04-10 Pedro Alves <palves@redhat.com>
4385 * gdb.base/step-over-no-symbols.exp: New file.
4387 2015-04-09 Andy Wingo <wingo@igalia.com>
4389 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4390 after the Python tests.
4392 2015-04-08 Keith Seitz <keiths@redhat.com>
4395 * gdb.python/py-completion.exp: New tests for completion.
4396 * gdb.python/py-completion.py (CompleteLimit1): New class.
4397 (CompleteLimit2): Likewise.
4398 (CompleteLimit3): Likewise.
4399 (CompleteLimit4): Likewise.
4400 (CompleteLimit5): Likewise.
4401 (CompleteLimit6): Likewise.
4402 (CompleteLimit7): Likewise.
4404 2015-04-08 Pedro Alves <palves@redhat.com>
4408 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4410 (main): Install it as SIGUSR1 handler.
4411 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4412 parameter. Always use "setup" as prefix. Toggle "set
4413 displaced-stepping" off/on depending on global. Don't switch to
4415 (top level): Add displaced stepping "off/on" test axis. Update
4416 "setup" calls. Wrap each subtest with with_test_prefix. Test
4417 continuing with a queued signal in each thread.
4419 2015-04-08 Pedro Alves <palves@redhat.com>
4421 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4422 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4423 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4424 Return early if running to main fails.
4425 * gdb.trace/while-stepping.exp: Likewise.
4427 2015-04-07 Pedro Alves <palves@redhat.com>
4429 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4430 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4431 interact with inferior program.
4433 2015-04-07 Pedro Alves <palves@redhat.com>
4435 * lib/gdb.exp (inferior_spawn_id): New global.
4436 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4437 spawn id after processing the user code.
4438 (default_gdb_start): Set inferior_spawn_id.
4439 (send_inferior): New procedure.
4440 * lib/gdbserver-support.exp (gdbserver_start): Set
4442 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4444 2015-04-07 Pedro Alves <palves@redhat.com>
4446 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4447 * lib/gdbserver-support.exp (gdbserver_start): Make
4448 $server_spawn_id global.
4449 (gdbserver_start): Don't wait for gdbserver's spawn id with
4451 (close_gdbserver): New procedure.
4452 (gdb_exit): Rename the default version and reimplement.
4454 2015-04-07 Pedro Alves <palves@redhat.com>
4456 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4457 append the substituted item, not the original item.
4459 2015-04-07 Pedro Alves <palves@redhat.com>
4461 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4464 2015-04-07 Pedro Alves <palves@redhat.com>
4466 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4467 output appearing once only.
4469 2015-04-07 Pedro Alves <palves@redhat.com>
4471 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4472 that doesn't expect anything. Return early if running to main
4475 2015-04-07 Yao Qi <yao.qi@linaro.org>
4477 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4478 (child_function): Call alarm.
4479 (main): Move call to alarm into the loop.
4480 * gdb.threads/non-stop-fair-events.exp: Build program with
4483 2015-04-06 Doug Evans <xdje42@gmail.com>
4485 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4486 Fix dest parameter to board_info.
4487 (fpc_compile): Ditto.
4488 (gdb_compile_pascal): Rename dest arg to destfile.
4490 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4492 * gdb.ada/funcall_ref.exp: New file.
4493 * gdb.ada/funcall_ref/foo.adb: New file.
4495 2015-04-02 Yao Qi <yao.qi@linaro.org>
4497 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4500 2015-04-02 Gary Benson <gbenson@redhat.com>
4502 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4504 2015-04-01 Sasha Smundak <asmundak@google.com>
4506 * gdb.python/py-unwind-maint.c: New file.
4507 * gdb.python/py-unwind-maint.exp: New test.
4508 * gdb.python/py-unwind-maint.py: New file.
4509 * gdb.python/py-unwind.c: New file.
4510 * gdb.python/py-unwind.exp: New test.
4511 * gdb.python/py-unwind.py: New test.
4513 2015-04-01 Pedro Alves <palves@redhat.com>
4515 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4516 to fail instead of non-existent $test.
4518 2015-04-01 Pedro Alves <palves@redhat.com>
4520 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4521 GDBFLAGS if not empty.
4523 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4525 * gdb.ada/complete.exp: Remove "multi_line".
4526 * gdb.ada/info_exc.exp: Remove "multi_line".
4527 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4528 * gdb.ada/ptype_field.exp: Remove "multi_line".
4529 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4530 * gdb.ada/tagged.exp: Remove "multi_line".
4531 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4533 * gdb.btrace/delta.exp: Likewise.
4534 * gdb.btrace/exception.exp: Likewise.
4535 * gdb.btrace/function_call_history.exp: Likewise.
4536 * gdb.btrace/instruction_history.exp: Likewise.
4537 * gdb.btrace/nohist.exp: Likewise.
4538 * gdb.btrace/record_goto.exp: Likewise.
4539 * gdb.btrace/segv.exp: Likewise.
4540 * gdb.btrace/stepi.exp: Likewise.
4541 * gdb.btrace/tailcall.exp: Likewise.
4542 * gdb.btrace/unknown_functions.exp: Likewise.
4543 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4544 * lib/gdb.exp: Add the "multi_line" helper.
4546 2015-04-01 Pedro Alves <palves@redhat.com>
4548 * gdb.threads/tid-reuse.c: New file.
4549 * gdb.threads/tid-reuse.exp: New file.
4551 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4554 * gdb.base/coredump-filter.c: New file.
4555 * gdb.base/coredump-filter.exp: Likewise.
4557 2015-03-27 Petr Machata <pmachata@redhat.com>
4559 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4560 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4561 (Dwarf::assemble): Initialize them.
4562 (Dwarf::lines): New function.
4564 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4566 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4567 SYMBOL_PREFIX for x86_64-*-cygwin.
4569 2015-03-26 Andy Wingo <wingo@igalia.com>
4572 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4573 const_value but not a location.
4574 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4575 location defined in non-main CUs are visible.
4577 2015-03-26 Yao Qi <yao.qi@linaro.org>
4580 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4581 Add a line number entry for the same line.
4582 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4583 Add a line number entry for the same line.
4585 2015-03-26 Yao Qi <yao.qi@linaro.org>
4587 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4589 (func): Likewise. Add .Lfunc_1 label.
4591 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4596 2015-03-26 Yao Qi <yao.qi@linaro.org>
4598 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4599 Call gdb_compile instead to compile each .s files without debug
4602 2015-03-26 Yao Qi <yao.qi@linaro.org>
4604 * gdb.base/savedregs.exp (process_saved_regs): Make
4605 "Saved registers:" optional in the pattern.
4607 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4609 * gdb.btrace/next.exp: Merged into step.exp.
4610 * gdb.btrace/finish.exp: Merged into step.exp.
4611 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4612 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4613 "record goto" and checking the exact replay position.
4614 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4615 check for "Recording format" in "info record" output.
4616 * gdb.btrace/record_goto.exp: Choose test file based on target.
4617 * gdb.btrace/x86-record_goto.S: Renamed into ...
4618 * gdb.btrace/x86_64-record_goto.S: ... this.
4619 * gdb.btrace/i686-record_goto.S: New.
4620 * gdb.btrace/x86-tailcall.S: Renamed into ...
4621 * gdb.btrace/x86_64-tailcall.S: ... this.
4622 * gdb.btrace/i686-tailcall.S: New.
4623 * gdb.btrace/x86-tailcall.c: Renamed into ...
4624 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4625 separate statements. Update test.
4626 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4627 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4628 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4629 * gdb.btrace/tailcall.exp: Choose test file based on target.
4630 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4632 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4634 * gdb.btrace/exception.exp: Increase BTS buffer size.
4636 2015-03-24 Pedro Alves <palves@redhat.com>
4638 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4640 2015-03-24 Pedro Alves <palves@redhat.com>
4642 * gdb.threads/schedlock.exp (test_step): No longer expect that
4643 "set scheduler-locking step" with "next" over a function call runs
4646 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4648 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4650 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4652 PR breakpoints/16466
4653 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4654 * gdb.mi/mi-pending.c (thread_func): New function.
4655 (int main): Add threading support required.
4656 * gdb.mi/mi-pending.exp: Add tests for this issue.
4657 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4658 (pendfunc2): Remove stdio dependency.
4659 * gdb.mi/mi-pendshr2.c: New file.
4661 2015-03-23 Keith Seitz <keiths@redhat.com>
4663 * gdb.linespec/keywords.c: New file.
4664 * gdb.linespec/keywords.exp: New file.
4666 2015-03-23 Keith Seitz <keiths@redhat.com>
4669 * gdb.dwarf2/staticvirtual.exp: New test.
4671 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4673 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4674 * README: Remove HP-UX and gdb.hp.
4676 * configure: Regenerate.
4677 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4678 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4679 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4680 gdb.hp/gdb.defects/Makefile.
4681 * gdb.hp/Makefile.in: File deleted.
4682 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4683 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4684 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4685 * gdb.hp/gdb.aCC/run.c: File deleted.
4686 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4687 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4688 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4689 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4690 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4691 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4692 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4693 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4694 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4695 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4696 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4697 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4698 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4699 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4700 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4701 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4702 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4703 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4704 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4705 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4706 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4707 * gdb.hp/gdb.compat/average.c: File deleted.
4708 * gdb.hp/gdb.compat/sum.c: File deleted.
4709 * gdb.hp/gdb.compat/xdb.c: File deleted.
4710 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4711 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4712 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4713 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4714 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4715 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4716 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4717 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4718 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4719 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4720 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4721 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4722 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4723 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4724 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4725 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4726 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4727 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4728 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4729 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4730 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4731 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4732 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4733 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4734 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4735 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4736 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4737 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4738 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4739 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4740 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4741 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4742 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4743 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4744 * gdb.hp/tools/odump: File deleted.
4746 2015-03-19 Pedro Alves <palves@redhat.com>
4748 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4749 (saw_thread_3): New globals.
4750 (top level): Increment them when an event for the corresponding
4752 (no thread starvation): New test.
4754 2015-03-19 Pedro Alves <palves@redhat.com>
4756 * gdb.threads/continue-pending-status.c: New file.
4757 * gdb.threads/continue-pending-status.exp: New file.
4759 2015-03-18 Pedro Alves <palves@redhat.com>
4761 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4762 Use gdb_is_target_remote instead of is_remote. Use
4763 gdb_test_multiple instead of gdb_expect. Exit early if
4764 gdb_test_multiple hits its internal matches. Tighten stepi tests
4765 expected output. Fail on exit with any signal, instead of just
4768 2015-03-18 Yao Qi <yao.qi@linaro.org>
4771 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4773 * gdb.base/catch-syscall.exp: Don't skip it on
4774 aarch64*-*-linux* target. Remove elements in all_syscalls.
4775 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4777 (setup_all_syscalls): New proc.
4779 2015-03-16 Yao Qi <yao.qi@linaro.org>
4781 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4782 (top level): Skip tests if valid_addr_p returns false for
4785 2015-03-11 Andy Wingo <wingo@igalia.com>
4787 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4789 2015-03-11 Yao Qi <yao.qi@linaro.org>
4791 * gdb.base/catch-syscall.exp: Fix typo in comments.
4793 2015-03-11 Yao Qi <yao.qi@linaro.org>
4795 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4797 2015-03-09 Pedro Alves <palves@redhat.com>
4799 * dg-extract-results.py: Delete.
4801 2015-03-09 Pedro Alves <palves@redhat.com>
4803 Merge dg-extract-results.sh from GCC upstream (r218843).
4805 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4806 * dg-extract-results.sh: Use --text with grep to avoid issues with
4807 binary files. Fall back to cat -v, if that doesn't work.
4809 2015-03-05 Pedro Alves <palves@redhat.com>
4811 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4813 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4815 * lib/mi-support.exp (mi_expect_interrupt): Accept
4816 alternative event for when in all-stop mode.
4818 2015-03-04 Pedro Alves <palves@redhat.com>
4820 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4822 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4824 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4826 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4828 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4829 regexps for GDB's current line display, accept a hex address
4830 preceding the line number.
4832 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4834 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4835 the 'arch1' variable for "s390*-linux*" targets.
4837 2015-03-04 Pedro Alves <palves@redhat.com>
4839 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4840 (main): Pass missing retval argument to pthread_join call.
4842 2015-03-02 Pedro Alves <palves@redhat.com>
4844 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4845 (top level): Call do_test with non-stop as well.
4847 2015-03-02 Pedro Alves <palves@redhat.com>
4849 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4852 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4854 * gdb.arch/s390-vregs.exp: New test.
4855 * gdb.arch/s390-vregs.S: New file.
4857 2015-02-27 Pedro Alves <palves@redhat.com>
4859 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4860 call to catch_command_errors.
4861 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4862 catch_command_errors.
4864 2015-02-27 Pedro Alves <palves@redhat.com>
4866 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4867 "true" for boolean result.
4868 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4871 2015-02-27 Pedro Alves <palves@redhat.com>
4873 * lib/unbuffer_output.c: New file.
4874 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4875 (main): Call gdb_unbuffer_output.
4877 2015-02-27 Yao Qi <yao.qi@linaro.org>
4879 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4882 2015-02-26 Doug Evans <dje@google.com>
4884 * gdb.cp/class2.cc (Dbase, D): New classes.
4885 (main): New local delta.
4886 * gdb.cp/class2.exp: Test printing delta.
4887 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4888 (dynbar): New global.
4889 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4891 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4893 * gdb.compile/compile-ifunc.c: New file.
4894 * gdb.compile/compile-ifunc.exp: New file.
4896 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4898 * gdb.base/structs.exp: Check for correct struct on finish.
4900 2015-02-26 Yao Qi <yao.qi@linaro.org>
4902 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4905 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4907 * gdb.arch/cordic.ko.bz2: New file.
4908 * gdb.arch/cordic.ko.debug.bz2: New file.
4909 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4911 2015-02-25 Yao Qi <yao.qi@linaro.org>
4913 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4914 aarch64*-*-* target.
4916 2015-02-23 Pedro Alves <palves@redhat.com>
4918 * lib/gdb.exp (delete_breakpoints): Rewrite using
4921 2015-02-23 Pedro Alves <palves@redhat.com>
4923 * gdb.base/info-os.c: Include stdlib.h.
4925 2015-02-22 Doug Evans <xdje42@gmail.com>
4928 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4929 is read after symbols have been re-read.
4930 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4931 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4933 2015-02-21 Doug Evans <dje@google.com>
4935 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4937 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4940 * gdb.arch/i386-biarch-core.core.bz2: New file.
4941 * gdb.arch/i386-biarch-core.exp: New file.
4943 2015-02-21 Pedro Alves <palves@redhat.com>
4945 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4948 2015-02-20 Pedro Alves <palves@redhat.com>
4950 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4953 2015-02-20 Pedro Alves <palves@redhat.com>
4955 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4957 2015-02-20 Pedro Alves <palves@redhat.com>
4959 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4960 clean_restart before gdb_target_supports_trace.
4962 2015-02-20 Pedro Alves <palves@redhat.com>
4965 * gdb.threads/clone-thread_db.c: New file.
4966 * gdb.threads/clone-thread_db.exp: New file.
4968 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4970 PR breakpoints/16812
4971 * gdb.base/catch-gdb-caused-signals.c: New file.
4972 * gdb.base/catch-gdb-caused-signals.exp: New file.
4974 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4976 * configure: Regenerated.
4977 * configure.ac: Use GDB_AC_TRANSFORM.
4978 * aclocal.m4: sinclude ../transform.m4.
4980 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4982 * lib/dtrace.exp: New file.
4983 * gdb.base/dtrace-probe.exp: Likewise.
4984 * gdb.base/dtrace-probe.d: Likewise.
4985 * gdb.base/dtrace-probe.c: Likewise.
4986 * lib/pdtrace.in: Likewise.
4987 * configure.ac: Output variables with the transformed names of
4988 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4989 * configure: Regenerated.
4991 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4993 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4994 expected message when trying to access $_probe_* convenience
4995 variables while not on a probe.
4997 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4999 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
5001 2015-02-11 Pedro Alves <pedro@codesourcery.com>
5003 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
5004 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
5006 2015-02-10 Doug Evans <xdje42@gmail.com>
5008 * lib/gdb.exp (gdb_load): Always return a result.
5010 2015-02-10 Pedro Alves <palves@redhat.com>
5012 * gdb.threads/signal-sigtrap.c: New file.
5013 * gdb.threads/signal-sigtrap.exp: New file.
5015 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
5017 * gdb.trace/no-attach-trace.c: New file.
5018 * gdb.trace/no-attach-trace.exp: New file.
5020 2015-02-09 Mark Wielaard <mjw@redhat.com>
5022 * gdb.dwarf2/atomic.c: New file.
5023 * gdb.dwarf2/atomic-type.exp: Likewise.
5025 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5027 * gdb.btrace/buffer-size.exp: Update "info record" output.
5028 * gdb.btrace/delta.exp: Update "info record" output.
5029 * gdb.btrace/enable.exp: Update "info record" output.
5030 * gdb.btrace/finish.exp: Update "info record" output.
5031 * gdb.btrace/instruction_history.exp: Update "info record" output.
5032 * gdb.btrace/next.exp: Update "info record" output.
5033 * gdb.btrace/nexti.exp: Update "info record" output.
5034 * gdb.btrace/step.exp: Update "info record" output.
5035 * gdb.btrace/stepi.exp: Update "info record" output.
5036 * gdb.btrace/nohist.exp: Update "info record" output.
5038 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5040 * gdb.btrace/buffer-size: New.
5042 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
5044 * gdb.btrace/delta.exp: Update "info record" output.
5045 * gdb.btrace/enable.exp: Update "info record" output.
5046 * gdb.btrace/finish.exp: Update "info record" output.
5047 * gdb.btrace/instruction_history.exp: Update "info record" output.
5048 * gdb.btrace/next.exp: Update "info record" output.
5049 * gdb.btrace/nexti.exp: Update "info record" output.
5050 * gdb.btrace/step.exp: Update "info record" output.
5051 * gdb.btrace/stepi.exp: Update "info record" output.
5052 * gdb.btrace/nohist.exp: Update "info record" output.
5054 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
5057 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
5059 2015-02-06 Pedro Alves <palves@redhat.com>
5061 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
5063 (seconds_left, again): New globals.
5064 (main): Wait seconds_left in a 1-second sleep loop instead of
5065 sleeping 180 seconds. If 'again' is set, reset the seconds
5067 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
5068 'again' in the inferior before detaching. Print the seconds left.
5069 (options): New global.
5070 (top level): Build program with -DTIMEOUT=$timeout.
5072 2015-02-06 Pedro Alves <palves@redhat.com>
5074 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
5075 determine how many seconds to pass to 'alarm'.
5076 * gdb.base/gdb-sigterm.exp (top level): Build program with
5078 (do_test): Return success/failure indication. Add more verbose
5079 logging. Don't fail if 200 single steps are seen. Instead, fail
5080 when the test times out.
5081 (passes): New global.
5082 (top level): Break the testing loop if testing fails on any
5083 iteration. Use gdb_assert.
5085 2015-02-04 Don Breazeal <donb@codesourcery.com>
5087 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
5088 and initialize them.
5089 (ipc_cleanup): New function.
5090 (main): Don't declare shmid, semid, and msqid. Add a call to
5091 atexit so that we call ipc_cleanup on exit.
5093 2015-02-04 Pedro Alves <palves@redhat.com>
5095 * boards/native-extended-gdbserver.exp: Remove any target variant
5096 specifications from the board name before clearing the isremote
5097 flag from board_info.
5099 2015-01-31 Doug Evans <xdje42@gmail.com>
5101 * gdb.base/maint.exp <maint print type argc>: Update expected output.
5103 2015-01-31 Gary Benson <gbenson@redhat.com>
5105 * gdb.base/completion.exp: Disable completion limiting for
5106 existing tests. Add new tests to check completion limiting.
5107 * gdb.linespec/ls-errs.exp: Disable completion limiting.
5109 2015-01-31 Doug Evans <xdje42@gmail.com>
5111 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
5113 2015-01-31 Doug Evans <xdje42@gmail.com>
5115 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
5116 entries. Duplicate file section script entries.
5117 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
5118 inlined entries. Add test for safe-path rejection.
5119 * gdb.python/py-section-script.c: Add duplicate inlined section script
5120 entries. Duplicate file section script entries.
5121 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
5122 inlined entries. Add test for safe-path rejection.
5124 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5126 * gdb.ada/disc_arr_bound: New testcase.
5128 2015-01-29 Joel Brobecker <brobecker@adacore.com>
5130 * gdb.ada/mi_var_array: New testcase.
5132 2015-01-27 Doug Evans <dje@google.com>
5134 * gdb.python/py-objfile.exp: Add tests for objfile.username.
5135 Add test for objfile.filename, objfile.username after objfile
5138 2015-01-26 Joel Brobecker <brobecker@adacore.com>
5140 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
5141 the second test to print the name attribute of value
5142 returned by the call to gdb.lookup_type, and adjust
5143 the expected output accordingly.
5145 2015-01-25 Mark Wielaard <mjw@redhat.com>
5147 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
5148 * gdb.base/disp-step-fork.c: Include unistd.h.
5149 * gdb.base/siginfo-obj.c: Include stdio.h.
5150 * gdb.base/siginfo-thread.c: Likewise.
5151 * gdb.mi/non-stop.c: Include unistd.h.
5152 * gdb.mi/nsthrexec.c: Include stdio.h.
5153 * gdb.mi/pthreads.c: Include unistd.h.
5154 * gdb.modula2/unbounded1.c (main): Declare returns int.
5155 * gdb.reverse/consecutive-reverse.c: Likewise.
5156 * gdb.threads/create-fail.c: Include unistd.h.
5157 * gdb.threads/killed.c: Likewise.
5158 * gdb.threads/linux-dp.c: Likewise.
5159 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
5160 * gdb.threads/non-ldr-exc-2.c: Likewise.
5161 * gdb.threads/non-ldr-exc-3.c: Likewise.
5162 * gdb.threads/non-ldr-exc-4.c: Likewise.
5163 * gdb.threads/pthreads.c: Include unistd.h.
5164 (main): Declare returns int.
5165 * gdb.threads/tls-main.c (foo): New declaration.
5166 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
5168 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
5170 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
5171 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
5173 2015-01-15 Mark Wielaard <mjw@redhat.com>
5175 * gdb.base/noreturn-return.c: New file.
5176 * gdb.base/noreturn-return.exp: New file.
5177 * gdb.base/noreturn-finish.c: New file.
5178 * gdb.base/noreturn-finish.exp: New file.
5180 2015-01-23 Pedro Alves <palves@redhat.com>
5182 * gdb.threads/continue-pending-after-query.c: New file.
5183 * gdb.threads/continue-pending-after-query.exp: New file.
5185 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5186 Simon Marchi <simon.marchi@ericsson.com>
5188 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5189 * gdb.base/valgrind-db-attach.exp: Same.
5190 * gdb.base/valgrind-infcall.exp: Same.
5191 * lib/mi-support.exp (default_mi_gdb_start): Same.
5192 * lib/prompt.exp (default_prompt_gdb_start): Same.
5193 * lib/gdb.exp (default_gdb_spawn): Same.
5194 (gdb_interact): New.
5197 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5199 * gdb.compile/compile.exp (pointer to jit function): New test.
5201 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5203 * lib/gdb.exp (supports_process_record): Return true for
5205 (supports_reverse): Likewise.
5207 2015-01-15 Don Breazeal <donb@codesourcery.com>
5209 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5210 instead of checking whether the target board is remote and
5211 use spawn_wait_for_attach instead of exec/sleep.
5212 * gdb.base/attach-twice.exp: Likewise.
5214 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5216 * gdb.ada/var_arr_attrs: New testcase.
5218 2015-01-14 Pedro Alves <palves@redhat.com>
5219 Joel Brobecker <brobecker@adacore.com>
5222 * gdb.base/bp-cmds-execution-x-script.c: New file.
5223 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5224 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5226 2015-01-14 Pedro Alves <palves@redhat.com>
5229 * gdb.base/batch-preserve-term-settings.c: New file.
5230 * gdb.base/batch-preserve-term-settings.exp: New file.
5232 2015-01-13 Doug Evans <dje@google.com>
5234 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5237 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5239 * Makefile.in (clean mostlyclean): Do not delete *.py.
5241 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5243 * gdb.python/py-lookup-type.exp: New file.
5245 2015-01-12 Pedro Alves <palves@redhat.com>
5247 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5248 restore GDBFLAGS before returning.
5250 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5252 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5253 is_amd64_regs_target and is_x86_like_target.
5255 2015-01-11 Doug Evans <xdje42@gmail.com>
5257 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5258 is given without an explicit form.
5259 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5261 * gdb.dwarf/corrupt.exp: Ditto.
5262 * gdb.dwarf2/enum-type.exp: Ditto.
5263 * gdb.trace/entry-values.exp: Ditto.
5264 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5266 2015-01-11 Doug Evans <xdje42@gmail.com>
5269 * gdb.base/maint.exp: Remove references to "maint demangle".
5270 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5271 Add tests for explicitly specifying language to demangle.
5272 * gdb.dlang/demangle.exp: Ditto.
5274 2015-01-09 Pedro Alves <palves@redhat.com>
5276 * gdb.threads/non-stop-fair-events.c: New file.
5277 * gdb.threads/non-stop-fair-events.exp: New file.
5279 2015-01-09 Pedro Alves <palves@redhat.com>
5281 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5282 the global scope. Set a breakpoint after all threads are started
5283 rather than stepping over two source lines. Expect the prompt.
5284 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5287 (main): Use threads_started_barrier to wait for all threads to
5288 start. Main thread no longer calls thread_function. Exit after
5290 (loop): New function.
5291 (thread_function): Wait on threads_started_barrier barrier. Call
5292 'loop' at each iteration.
5293 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5294 threads have started, instead of hardcoding number of "next"
5295 steps. Use an access watchpoint instead of a write watchpoint.
5297 2015-01-09 Pedro Alves <palves@redhat.com>
5299 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5300 (thread_func): Wait on barrier.
5301 (main): Wait for all threads to start before stopping GDB.
5302 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5304 (thread1_func, thread2_func): Wait on barrier.
5305 (main): Wait for all threads to start before stopping GDB.
5306 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5308 (thread1_func, thread2_func): Wait on barrier.
5309 (main): Wait for all threads to start before stopping GDB.
5311 2015-01-09 Pedro Alves <palves@redhat.com>
5313 * gdb.threads/attach-many-short-lived-threads.c: New file.
5314 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5316 2014-01-09 Pedro Alves <palves@redhat.com>
5318 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5319 instead of to thread 2.
5320 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5321 Add barrier around each pthread_create call instead of around all
5323 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5324 Set a break on thread_function and have the child threads hit it
5327 2015-01-09 Pedro Alves <palves@redhat.com>
5329 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5330 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5332 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5333 checking whether the target board is remote.
5334 * gdb.multi/multi-attach.exp: Likewise.
5335 * gdb.python/py-sync-interp.exp: Likewise.
5336 * gdb.server/ext-attach.exp: Likewise.
5337 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5338 tests that need to attach, instead of checking whether the target
5339 board is remote at the top of the file.
5341 2015-01-08 Yao Qi <yao@codesourcery.com>
5343 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5345 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5347 Fix testcase compilation.
5348 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5350 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5352 * gdb.python/py-type.exp: Add a couple test about empty
5353 array creation, and negative-length array creation.
5355 2015-01-02 Doug Evans <xdje42@gmail.com>
5357 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5359 2015-01-02 Doug Evans <dje@google.com>
5361 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5363 2014-12-29 Yao Qi <yao@codesourcery.com>
5365 * gdb.trace/entry-values.exp: Update comments. Rename variable
5366 bar_call_foo to returned_from_foo.
5368 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5371 * gdb.linespec/break-asm-file.c: New file.
5372 * gdb.linespec/break-asm-file.exp: New file.
5373 * gdb.linespec/break-asm-file0.s: New file.
5374 * gdb.linespec/break-asm-file1.s: New file.
5376 2014-12-18 Nigel Stephens <nigel@mips.com>
5377 Maciej W. Rozycki <macro@codesourcery.com>
5379 * gdb.base/float.exp: Handle the new output from "info float" on
5382 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5384 Fix MinGW compilation.
5385 * gdb.compile/compile-ops.exp: Update untested message if
5386 !skip_compile_feature_tests.
5387 * gdb.compile/compile-setjmp.exp: Likewise.
5388 * gdb.compile/compile-tls.exp: Likewise.
5389 * gdb.compile/compile.exp: Likewise.
5390 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5391 supported on this host".
5393 2014-12-16 Doug Evans <xdje42@gmail.com>
5395 * boards/stabs.exp: New file.
5397 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5399 * gdb.base/completion.exp: Adjust to format changes of "maint
5400 print user-registers".
5402 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5405 * gdb.arch/aarch64-fp.c: New file.
5406 * gdb.arch/aarch64-fp.exp: New file.
5408 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5410 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5411 r210637, r210913, r211666, r215400, r215817).
5413 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5414 * dg-extract-results.py: New file.
5415 * dg-extract-results.sh: Use it if the environment seems
5418 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5420 * dg-extract-results.py (parse_run): Handle warnings that
5421 are printed before a test harness is run.
5423 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5425 * dg-extract-results.py (Named): Remove __cmp__ method.
5426 (output_variation): Use a key to sort variation.harnesses.
5428 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5430 * dg-extract-results.py: For Python 3, force sys.stdout to
5431 handle surrogate escape sequences.
5432 (safe_open): New function.
5433 (output_segment, main): Use it.
5435 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5437 * dg-extract-results.py (Prog.result_re): Include options
5440 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5442 * dg-extract-results.py (output_variation): Always sort if
5445 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5447 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5448 as long as we get pagination notifications.
5450 2014-12-15 Jason Merrill <jason@redhat.com>
5452 * Makefile.in (check-gdb.%): Restore.
5453 * README: Mention it.
5455 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5457 * gdb.ada/str_uninit: New testcase.
5459 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 * gdb.base/vla-stub-define.c: New file.
5463 * gdb.base/vla-stub.c: New file.
5464 * gdb.base/vla-stub.exp: New file.
5466 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5467 Jan Kratochvil <jan.kratochvil@redhat.com>
5468 Tom Tromey <tromey@redhat.com>
5470 * configure.ac: Add gdb.compile/.
5471 * configure: Regenerate.
5472 * gdb.compile/Makefile.in: New file.
5473 * gdb.compile/compile-ops.exp: New file.
5474 * gdb.compile/compile-ops.c: New file.
5475 * gdb.compile/compile-tls.c: New file.
5476 * gdb.compile/compile-tls.exp: New file.
5477 * gdb.compile/compile-constvar.S: New file.
5478 * gdb.compile/compile-constvar.c: New file.
5479 * gdb.compile/compile-mod.c: New file.
5480 * gdb.compile/compile-nodebug.c: New file.
5481 * gdb.compile/compile-setjmp-mod.c: New file.
5482 * gdb.compile/compile-setjmp.c: New file.
5483 * gdb.compile/compile-setjmp.exp: New file.
5484 * gdb.compile/compile-shlib.c: New file.
5485 * gdb.compile/compile.c: New file.
5486 * gdb.compile/compile.exp: New file.
5487 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5489 2014-12-12 Tom Tromey <tromey@redhat.com>
5491 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5492 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5494 2014-12-12 Doug Evans <dje@google.com>
5496 * lib/gdb-python.exp (get_python_valueof): New function.
5497 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5499 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5501 * gdb.base/completion.exp: Add test for completion of "info
5504 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5506 * gdb.base/func-ptrs.c: New file.
5507 * gdb.base/func-ptrs.exp: New file.
5509 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5511 PR breakpoints/17012
5512 * gdb.base/dprintf-detach.c: New file.
5513 * gdb.base/dprintf-detach.exp: New file.
5515 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5517 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5518 * lib/gdb.exp (target_is_gdbserver): New procedure.
5520 2014-12-08 Doug Evans <dje@google.com>
5522 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5524 2014-12-05 Yao Qi <yao@codesourcery.com>
5526 * gdb.guile/scm-error.exp: Remove the third argument to
5527 gdb_remote_download.
5528 * gdb.guile/scm-frame-args.exp: Likewise.
5529 * gdb.guile/scm-section-script.exp: Likewise.
5531 2014-12-05 Yao Qi <yao@codesourcery.com>
5533 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5535 2014-12-04 Doug Evans <dje@google.com>
5537 * gdb.python/py-objfile.exp: Add tests for
5538 objfile.add_separate_debug_file.
5540 2014-12-04 Doug Evans <dje@google.com>
5542 * lib/gdb.exp (get_build_id): New function.
5543 (build_id_debug_filename_get): Rewrite to use it.
5544 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5546 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5548 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5549 `method(long)', not just 0x0.
5550 * gdb.cp/nsalias.exp: Align code labels to 4.
5551 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5552 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5553 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5554 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5555 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5556 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5558 2014-12-02 Doug Evans <dje@google.com>
5561 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5562 * gdb.cp/anon-ns2.cc: ... here. New file.
5563 * gdb.cp/anon-ns.exp: Update.
5565 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5567 * gdb.python/py-events.py (inferior_call_handler): New.
5568 (register_changed_handler, memory_changed_handler): New.
5569 (test_events.invoke): Register new handlers.
5570 * gdb.python/py-events.exp: Add tests for inferior call,
5571 memory_changed and register_changed events.
5573 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5575 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5576 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5577 if the linker doesn't understand this.
5579 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5581 * gdb.python/python.exp: Change expected reply to help().
5583 2014-12-01 Yao Qi <yao@codesourcery.com>
5585 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5586 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5587 * configure: Re-generated.
5589 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5591 * gdb.cp/chained-calls.cc: New file.
5592 * gdb.cp/chained-calls.exp: New file.
5593 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5595 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5597 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5598 * gdb.dwarf2/symtab-producer.exp: Same.
5599 * gdb.gdb/python-interrupts.exp: Same.
5600 * gdb.gdb/python-selftest.exp: Same.
5601 * gdb.python/py-linetable.exp: Same.
5602 * gdb.python/py-type.exp: Same.
5603 * gdb.python/py-value-cc.exp: Same.
5604 * gdb.python/py-value.exp: Same.
5606 2014-11-28 Yao Qi <yao@codesourcery.com>
5608 * gdb.base/break-probes.exp: Match library name prefixed with
5611 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5613 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5614 test expected output. Add parentheses for the call to print.
5615 Remove L suffix from integers.
5617 2014-11-26 Doug Evans <dje@google.com>
5619 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5621 2014-11-22 Yao Qi <yao@codesourcery.com>
5623 * gdb.trace/entry-values.c: Remove asms.
5624 (foo): Add foo_label.
5625 (bar): Add bar_label.
5626 * gdb.trace/entry-values.exp: Remove code computing foo's
5627 length and bar's length.
5628 (Dwarf::assemble): Invoke function_range for bar and use
5629 MACRO_AT_func for foo.
5631 2014-11-22 Yao Qi <yao@codesourcery.com>
5633 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5634 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5635 Use .Lgcc43_procstart instead of gcc43.
5637 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5639 * gdb.ada/n_arr_bound: New testcase.
5641 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5643 PR breakpoints/10737
5644 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5645 test_catch_syscall_multi_arch.
5646 (test_catch_syscall_multi_arch): New function.
5648 2014-11-20 Doug Evans <xdje42@gmail.com>
5650 * gdb.base/maint.exp: Update expected output.
5652 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5654 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5655 4-byte instruction on S390.
5657 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5659 * gdb.ada/arr_arr: New testcase.
5661 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5663 * gdb.ada/pkd_arr_elem: New Testcase.
5665 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5667 * gdb.reverse/break-precsave: Expect completion message for
5669 * gdb.reverse/consecutive-precsave.exp: Likewise.
5670 * gdb.reverse/finish-precsave.exp: Likewise.
5671 * gdb.reverse/i386-precsave.exp: Likewise.
5672 * gdb.reverse/machinestate-precsave.exp: Likewise.
5673 * gdb.reverse/sigall-precsave.exp: Likewise.
5674 * gdb.reverse/solib-precsave.exp: Likewise.
5675 * gdb.reverse/step-precsave.exp: Likewise.
5676 * gdb.reverse/until-precsave.exp: Likewise.
5677 * gdb.reverse/watch-precsave.exp: Likewise.
5679 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5681 * gdb.base/bp-permanent.c: Include unistd.h.
5682 * gdb.python/py-framefilter-mi.c (main): Add return type.
5683 * gdb.python/py-framefilter.c (main): Likewise.
5684 * gdb.trace/actions-changed.c (main): Likewise.
5686 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5688 * gdb.mi/until.c: Add eye-catchers.
5689 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5692 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5694 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5695 function header variants in break1.c.
5696 * gdb.base/ena-dis-br.exp: Likewise.
5697 * gdb.base/hbreak2.exp: Likewise.
5698 * gdb.reverse/until-precsave.exp: Drop references to removed
5699 non-prototype function header variants in ur1.c.
5700 * gdb.reverse/until-reverse.exp: Likewise.
5702 2014-11-17 Petr Machata <pmachata@redhat.com>
5704 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5705 ${_cu_offset_size} bytes abbrev offset.
5707 2014-11-15 Doug Evans <xdje42@gmail.com>
5710 * gdb.base/line-symtabs.exp: New file.
5711 * gdb.base/line-symtabs.c: New file.
5712 * gdb.base/line-symtabs.h: New file.
5714 2014-11-14 Yao Qi <yao@codesourcery.com>
5716 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5717 (func): Add label func_label.
5718 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5719 Replace low_pc and high_pc with MACRO_AT_range.
5720 Replace name, low_pc and high_pc with MACRO_AT_func.
5722 2014-11-14 Yao Qi <yao@codesourcery.com>
5724 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5725 Replace name, low_pc and high_pc with MACRO_AT_func.
5727 2014-11-14 Yao Qi <yao@codesourcery.com>
5729 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5730 produce debug information.
5731 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5733 2014-11-14 Yao Qi <yao@codesourcery.com>
5735 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5736 object and get function length.
5737 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5739 (top-level): Replace gdb_compile and clean_restart with
5740 prepare_for_testing.
5741 * gdb.dwarf2/main.c (main): Add label main_label.
5743 2014-11-14 Yao Qi <yao@codesourcery.com>
5745 * lib/dwarf.exp (function_range): New procedure.
5746 (Dwarf::_handle_macro_at_func): New procedure.
5747 (Dwarf::_handle_macro_at_range): New procedure.
5748 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5750 2014-11-14 Yao Qi <yao@codesourcery.com>
5752 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5753 (_handle_attribute): New procedure.
5755 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5758 * gdb.base/call-sc.c (zed): Likewise.
5759 * gdb.base/checkpoint.c (main): Likewise.
5760 * gdb.base/dump.c (main): Likewise.
5761 * gdb.base/gcore.c (main): Likewise.
5762 * gdb.base/huge.c (main): Likewise.
5763 * gdb.base/multi-forks.c (main): Likewise.
5764 * gdb.base/pr10179-a.c (main): Likewise.
5765 * gdb.base/savedregs.c (main): Likewise.
5766 * gdb.base/sigaltstack.c (main): Likewise.
5767 * gdb.base/siginfo.c (main): Likewise.
5768 * gdb.base/structs.c (zed): Likewise.
5769 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5770 * gdb.mi/mi-syn-frame.c (main): Likewise.
5771 * gdb.mi/until.c (foo, main): Likewise.
5772 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5773 * gdb.base/solib-weak.c (foo): Declare.
5774 * gdb.base/attach-twice.c: Include stdio.h.
5775 * gdb.base/weaklib1.c: Likewise.
5776 * gdb.base/weaklib2.c: Likewise.
5777 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5778 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5780 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5781 * gdb.mi/mi-exit-code.c: Likewise.
5782 * gdb.base/break-interp-lib.c: Include string.h.
5783 * gdb.base/coremaker.c: Likewise.
5784 * gdb.base/testenv.c: Likewise.
5785 * gdb.python/py-finish-breakpoint.c: Likewise.
5786 * gdb.base/inferior-died.c: Include sys/wait.h.
5787 * gdb.base/fileio.c: Include time.h.
5788 * gdb.base/async-shell.c: Include unistd.h.
5789 * gdb.base/dprintf-non-stop.c: Likewise.
5790 * gdb.base/info-os.c: Likewise.
5791 * gdb.mi/mi-console.c: Likewise.
5792 * gdb.mi/watch-nonstop.c: Likewise.
5793 * gdb.python/py-events.c: Likewise.
5794 * gdb.base/async.c (baz): Move up before its invocation.
5795 * gdb.base/code_elim2.c (my_global_func): Likewise.
5796 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5797 * gdb.base/advance.c (func2): Likewise.
5799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5801 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5803 * gdb.base/annota3.c: Likewise.
5804 * gdb.base/async.c: Likewise.
5805 * gdb.base/average.c: Likewise.
5806 * gdb.base/call-ar-st.c: Likewise.
5807 * gdb.base/call-rt-st.c: Likewise.
5808 * gdb.base/call-sc.c: Likewise.
5809 * gdb.base/call-strs.c: Likewise.
5810 * gdb.base/ending-run.c: Likewise.
5811 * gdb.base/execd-prog.c: Likewise.
5812 * gdb.base/exprs.c: Likewise.
5813 * gdb.base/foll-exec.c: Likewise.
5814 * gdb.base/foll-fork.c: Likewise.
5815 * gdb.base/foll-vfork.c: Likewise.
5816 * gdb.base/funcargs.c: Likewise.
5817 * gdb.base/gcore.c: Likewise.
5818 * gdb.base/jump.c: Likewise.
5819 * gdb.base/langs0.c: Likewise.
5820 * gdb.base/langs1.c: Likewise.
5821 * gdb.base/langs2.c: Likewise.
5822 * gdb.base/mips_pro.c: Likewise.
5823 * gdb.base/nodebug.c: Likewise.
5824 * gdb.base/opaque0.c: Likewise.
5825 * gdb.base/opaque1.c: Likewise.
5826 * gdb.base/recurse.c: Likewise.
5827 * gdb.base/run.c: Likewise.
5828 * gdb.base/scope0.c: Likewise.
5829 * gdb.base/scope1.c: Likewise.
5830 * gdb.base/setshow.c: Likewise.
5831 * gdb.base/setvar.c: Likewise.
5832 * gdb.base/shmain.c: Likewise.
5833 * gdb.base/shr1.c: Likewise.
5834 * gdb.base/shr2.c: Likewise.
5835 * gdb.base/sigall.c: Likewise.
5836 * gdb.base/signals.c: Likewise.
5837 * gdb.base/so-indr-cl.c: Likewise.
5838 * gdb.base/solib2.c: Likewise.
5839 * gdb.base/structs.c: Likewise.
5840 * gdb.base/sum.c: Likewise.
5841 * gdb.base/vforked-prog.c: Likewise.
5842 * gdb.base/watchpoint.c: Likewise.
5843 * gdb.reverse/shr2.c: Likewise.
5844 * gdb.reverse/until-reverse.c: Likewise.
5845 * gdb.reverse/ur1.c: Likewise.
5846 * gdb.reverse/watch-reverse.c: Likewise.
5848 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5850 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5852 * gdb.base/sepdebug.exp: Drop references to removed code.
5854 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5856 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5857 variant. Preserve original line numbering.
5858 * gdb.base/list1.c: Likewise.
5860 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5862 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5864 * gdb.base/break1.c: Likewise.
5865 * gdb.base/break.exp: Drop references to removed code.
5867 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5869 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5872 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5874 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5878 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5879 logic into perform_all_tests() and invoke it with and without
5880 function header prototypes.
5881 (do_function_calls): Remove conditional XFAIL for PR 5318.
5882 (rerun_and_prepare): Remove duplicate code.
5883 (perform_all_tests): New. Main logic moved here.
5885 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5887 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5888 code guarded by #ifdef NO_PROTOTYPES.
5889 (t_double_many_args): Likewise.
5890 (DEF_FUNC_MANY_ARGS_1): Likewise.
5891 (DEF_FUNC_VALUES_1): Likewise.
5892 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5893 guarded by #ifdef PROTOTYPES.
5895 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5897 * gdb.mi/mi-console.c: Add eye-catcher.
5898 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5899 instead of literal line number.
5901 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5903 * gdb.base/shr2.c: Add eye-catcher.
5904 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5907 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5909 * gdb.base/jump.c: Add eye-catchers.
5910 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5913 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5915 * gdb.base/execd-prog.c: Add eye-catchers.
5916 * gdb.base/foll-exec.c: Likewise.
5917 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5920 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5922 * gdb.base/ending-run.c: Add eye-catchers.
5923 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5924 literal line numbers.
5926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5928 * gdb.base/call-rt-st.c: Add eye-catchers.
5929 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5930 literal line numbers.
5932 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5934 * gdb.base/call-ar-st.c: Add eye-catchers.
5935 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5936 literal line numbers.
5938 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5940 * gdb.base/average.c: Add eye-catchers.
5941 * gdb.base/sum.c: Likewise.
5942 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5943 regexps dynamically.
5945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5947 * gdb.base/solib1.c: Add eye-catchers.
5948 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5949 literal line numbers.
5951 2014-11-12 Pedro Alves <palves@redhat.com>
5953 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5956 2014-11-12 Pedro Alves <palves@redhat.com>
5958 * gdb.arch/i386-bp_permanent.c: New file.
5959 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5960 (srcfile): Set to i386-bp_permanent.c.
5961 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5962 that stepi does not execute the 'leave' instruction, instead of
5963 testing it does execute.
5964 * gdb.base/bp-permanent.c: New file.
5965 * gdb.base/bp-permanent.exp: New file.
5967 2014-11-10 Doug Evans <xdje42@gmail.com>
5970 * gdb.base/symtab-search-order.exp: New file.
5971 * gdb.base/symtab-search-order.c: New file.
5972 * gdb.base/symtab-search-order-1.c: New file.
5973 * gdb.base/symtab-search-order-shlib-1.c: New file.
5975 2014-11-07 Pedro Alves <palves@redhat.com>
5978 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5981 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5984 * gdb.cp/pr17494.cc: New file.
5985 * gdb.cp/pr17494.exp: New file.
5987 2014-11-02 Yao Qi <yao@codesourcery.com>
5989 * gdb.python/python.exp: Get working directory and match the
5990 output of "set extended-prompt \\w " with it.
5992 2014-10-30 Doug Evans <dje@google.com>
5994 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5996 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5999 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
6001 * gdb.base/fullpath-expand.exp: Skip for a remote host.
6002 * gdb.base/realname-expand.exp: Likewise.
6003 * gdb.linespec/macro-relative.exp: Likewise.
6005 2014-10-29 Pedro Alves <palves@redhat.com>
6008 * gdb.threads/schedlock.c (some_function): New function.
6009 (call_function): New global.
6010 (MAYBE_CALL_SOME_FUNCTION): New macro.
6011 (thread_function): Call it.
6012 * gdb.threads/schedlock.exp (get_args): Add description parameter,
6013 and use it instead of a global counter. Adjust all callers.
6014 (get_current_thread): Use "find current thread" for test message
6015 here rather than having all callers pass down the same string.
6016 (goto_loop): New procedure, factored out from ...
6017 (my_continue): ... this.
6018 (step_ten_loops): Change parameter from test message to command to
6020 (list_count): Delete global.
6021 (check_result): New procedure, factored out from duplicate top
6023 (continue tests): Wrap in with_test_prefix.
6024 (test_step): New procedure, factored out from duplicate top level
6026 (top level): Test "step" in combination with all scheduler-locking
6027 modes. Test "next" in combination with all scheduler-locking
6028 modes, and in combination with stepping over a function call or
6030 * gdb.threads/next-bp-other-thread.c: New file.
6031 * gdb.threads/next-bp-other-thread.exp: New file.
6033 2014-10-29 Pedro Alves <palves@redhat.com>
6036 * gdb.python/python.exp: Test a multi-line command that spawns
6038 * gdb.base/multi-line-starts-subshell.exp: New file.
6040 2014-10-29 Yao Qi <yao@codesourcery.com>
6042 * gdb.base/fileio.exp: Make directories on host.
6044 2014-10-29 Yao Qi <yao@codesourcery.com>
6046 * gdb.base/fileio.c (test_write): Close the file.
6048 2014-10-28 Pedro Alves <palves@redhat.com>
6051 * gdb.base/sigstep.c (no_handler): New global.
6052 (main): If 'no_handler is true, set the signal handlers to
6054 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
6055 with_sw_watch and no_handler parameters. Handle them.
6056 (top level) <stepping over handler when stopped at a breakpoint
6057 test>: Add a test axis for testing with a software watchpoint, and
6058 another for testing with the signal handler set to SIG_IGN.
6059 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
6060 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
6062 2014-10-28 Pedro Alves <palves@redhat.com>
6065 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
6066 * gdb.base/sigstep.exp (other_handler_location): New global.
6067 (advance): Support stepping into the signal handler, and running
6068 commands while in the handler.
6069 (in_handler_map): New global.
6070 (top level): In the advance test, add combinations for getting
6071 into the handler with stepping commands, and for running commands
6072 in the handler. Add comment descripting the advancei tests.
6074 2014-10-28 Pedro Alves <palves@redhat.com>
6076 * gdb.base/sigstep.exp: Use build_executable instead of
6077 prepare_for_testing.
6078 (top level): Move code that starts GDB, runs to main and creates a
6080 (restart): ... this new procedure.
6081 (top level): Move backtrace from signal handler test to ...
6082 (validate_backtrace): ... this new procedure.
6083 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
6084 with_test_prefix. Always restart GDB.
6085 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
6086 with_test_prefix. Always restart GDB. No need to delete
6087 breakpoints after the test.
6088 (test_skip_handler): Remove prefix parameter.
6089 (skip_over_handler, breakpoint_to_handler)
6090 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
6091 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
6092 restart GDB. No need to delete breakpoints after the test.
6093 (top level): Use foreach to call the test procedures with
6096 2014-10-28 Pedro Alves <palves@redhat.com>
6098 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
6099 instead of GNATS numbers.
6100 * gdb.base/sigbpt.exp: Likewise.
6101 * gdb.base/siginfo.exp: Likewise.
6102 * gdb.base/sigstep.exp: Likewise.
6104 2014-10-27 Pedro Alves <palves@redhat.com>
6106 * gdb.base/sigstep.c (dummy): New global.
6107 (main): Issue a couple writes to the new global.
6108 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
6110 (skip_over_handler): Use test_skip_handler.
6111 (top level): Call skip_over_handler for stepi and nexti too.
6112 (breakpoint_over_handler): Use test_skip_handler.
6113 (top level): Call breakpoint_over_handler for stepi and nexti too.
6115 2014-10-27 Yao Qi <yao@codesourcery.com>
6117 * gdb.trace/tfile.c (adjust_function_address)
6118 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
6119 function descriptor.
6121 2014-10-24 Don Breazeal <donb@codesourcery.com>
6123 * gdb.base/foll-fork.exp (test_follow_fork,
6124 catch_fork_child_follow): Check for updated fork messages emitted
6126 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
6127 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
6128 vfork_and_exec_child_follow_through_step): Check for updated vfork
6129 messages emitted from infrun.c.
6131 2014-10-24 Pedro Alves <palves@redhat.com>
6133 * gdb.base/corefile.exp: Remove references to ultrix.
6134 * gdb.base/interrupt.exp: Likewise.
6135 * gdb.base/whatis.exp: Likewise.
6136 * gdb.gdb/selftest.exp: Likewise.
6137 * gdb.threads/manythreads.exp: Likewise.
6138 * gdb.threads/print-threads.exp: Likewise.
6139 * gdb.threads/pthreads.exp:: Likewise.
6140 * gdb.threads/schedlock.exp: Likewise.
6142 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
6144 * gdb.cp/non-trivial-retval.cc: Add a test case.
6145 * gdb.cp/non-trivial-retval.exp: Add a test.
6147 2014-10-20 Yao Qi <yao@codesourcery.com>
6149 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
6150 * gdb.python/py-objfile-script-gdb.py: New file.
6151 * gdb.python/py-objfile-script.exp: Update reference to
6152 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
6153 of remote_download. Remove the dest file.
6155 2014-10-20 Yao Qi <yao@codesourcery.com>
6157 * gdb.base/checkpoint.exp: Don't remove file copied on host.
6158 * gdb.base/step-line.exp: Likewise.
6159 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6160 * gdb.dwarf2/dw2-basic.exp: Likewise.
6161 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6162 * gdb.dwarf2/dw2-filename.exp: Likewise.
6163 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6164 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6165 * gdb.dwarf2/dw2-producer.exp: Likewise.
6166 * gdb.dwarf2/mac-fileno.exp: Likewise.
6167 * gdb.python/py-frame-args.exp: Likewise.
6168 * gdb.python/py-framefilter.exp: Likewise.
6169 * gdb.python/py-mi.exp: Likewise.
6170 * gdb.python/py-objfile-script.exp: Likewise
6171 * gdb.python/py-pp-integral.exp: Likewise.
6172 * gdb.python/py-pp-re-notag.exp: Likewise.
6173 * gdb.python/py-prettyprint.exp: Likewise.
6174 * gdb.python/py-section-script.exp: Likewise.
6175 * gdb.python/py-typeprint.exp: Likewise.
6176 * gdb.python/py-xmethods.exp: Likewise.
6177 * gdb.stabs/weird.exp: Likewise.
6178 * gdb.xml/tdesc-regs.exp: Likewise.
6180 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
6182 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
6183 (out_cu): Use addr_len for the size of addresses.
6184 (out_line): Likewise. Size DW_LNE_set_address instruction
6185 according to addr_len.
6186 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6187 (FUNC): Add START_INSNS to definition.
6189 2014-10-18 Yao Qi <yao@codesourcery.com>
6191 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6192 gdb_has_argv0 return true.
6193 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6194 check [target_info exists noargs], check [gdb_has_argv0]
6196 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6197 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6200 2014-10-17 Doug Evans <dje@google.com>
6202 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6204 * gdb.python/py-events.py: Add clear_objfiles event.
6206 2014-10-17 Doug Evans <dje@google.com>
6208 * gdb.python/py-objfile.exp: Test progspace attribute.
6210 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6212 * gdb.guile/scm-breakpoint.exp: Do not assume any
6213 directory separators when matching source file paths.
6214 * gdb.python/py-breakpoint.exp: Likewise.
6215 * gdb.reverse/break-precsave.exp: Likewise.
6216 * gdb.reverse/break-reverse.exp: Likewise.
6217 * gdb.reverse/consecutive-precsave.exp: Likewise.
6218 * gdb.reverse/finish-precsave.exp: Likewise.
6219 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6220 * gdb.reverse/finish-reverse.exp: Likewise.
6221 * gdb.reverse/i386-precsave.exp: Likewise.
6222 * gdb.reverse/i387-env-reverse.exp: Likewise.
6223 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6224 * gdb.reverse/machinestate-precsave.exp: Likewise.
6225 * gdb.reverse/machinestate.exp: Likewise.
6226 * gdb.reverse/sigall-precsave.exp: Likewise.
6227 * gdb.reverse/solib-precsave.exp: Likewise.
6228 * gdb.reverse/step-precsave.exp: Likewise.
6229 * gdb.reverse/until-precsave.exp: Likewise.
6230 * gdb.reverse/watch-precsave.exp: Likewise.
6231 * gdb.reverse/watch-reverse.exp: Likewise.
6233 2014-10-17 Yao Qi <yao@codesourcery.com>
6235 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6236 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6238 2014-10-17 Pedro Alves <palves@redhat.com>
6241 * gdb.base/bg-execution-repeat.c: New file.
6242 * gdb.base/bg-execution-repeat.exp: New file.
6244 2014-10-17 Pedro Alves <palves@redhat.com>
6247 * gdb.base/continue-all-already-running.c: New file.
6248 * gdb.base/continue-all-already-running.exp: New file.
6250 2014-10-17 Pedro Alves <palves@redhat.com>
6253 * gdb.base/annota-input-while-running.c: New file.
6254 * gdb.base/annota-input-while-running.exp: New file.
6256 2014-10-17 Pedro Alves <palves@redhat.com>
6258 * gdb.base/callfuncs.exp: emove references to osf.
6259 * gdb.base/sigall.exp: Likewise.
6260 * gdb.gdb/selftest.exp: Likewise.
6261 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6262 * gdb.mi/non-stop.c: Likewise.
6263 * gdb.mi/pthreads.c: Likewise.
6264 * gdb.reverse/sigall-precsave.exp: Likewise.
6265 * gdb.reverse/sigall-reverse.exp: Likewise.
6266 * gdb.threads/pthreads.c: Likewise.
6267 * gdb.threads/pthreads.exp: Likewise.
6269 2014-10-17 Yao Qi <yao@codesourcery.com>
6271 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6272 check 'target_info exists noargs'.
6273 (test_command_prompt_position): Likewise.
6274 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6276 (progvar_simple_while_test): Likewise.
6277 (progvar_complex_if_while_test): Likewise.
6278 (if_while_breakpoint_command_test): Likewise.
6279 (infrun_breakpoint_command_test): Likewise.
6280 (breakpoint_command_test): Likewise.
6281 (watchpoint_command_test): Likewise.
6282 (bp_deleted_in_command_test): Likewise.
6283 (temporary_breakpoint_commands): Likewise.
6285 2014-10-16 Yao Qi <yao@codesourcery.com>
6287 * gdb.base/remotetimeout.exp: Remove noargs checking.
6289 2014-10-15 Pedro Alves <palves@redhat.com>
6292 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6293 * gdb.base/breakpoint-in-ro-region.exp
6294 (probe_target_hardware_step): New procedure.
6295 (top level): Probe hardware stepping and hardware breakpoint
6296 support. Test stepping through a read-only region, with both
6297 "breakpoint auto-hw" on and off and both "always-inserted" on and
6300 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6302 * gdb.dlang/demangle.exp: Update for demangling changes.
6304 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6306 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6307 * gdb.cp/non-trivial-retval.exp: Add new tests.
6309 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6313 * gdb.cp/non-trivial-retval.cc: New file.
6314 * gdb.cp/non-trivial-retval.exp: New file.
6316 2014-10-15 Yao Qi <yao@codesourcery.com>
6318 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6321 2014-10-15 Yao Qi <yao@codesourcery.com>
6323 * gdb.python/py-symbol.exp: Match file base name if host is
6324 remote, otherwise match file name with dir name.
6325 * gdb.python/py-symtab.exp: Likewise.
6326 * gdb.python/python.exp: Likewise.
6328 2014-10-15 Yao Qi <yao@codesourcery.com>
6330 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6332 * gdb.python/py-symtab.exp: Likewise.
6333 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6336 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6338 * gdb.ada/addr_arith: New testcase.
6340 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6342 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6343 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6344 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6345 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6347 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6349 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6350 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6351 * gdb.arch/stap-eval-lang-ada.exp: New file.
6353 2014-10-14 Yao Qi <yao@codesourcery.com>
6355 * gdb.mi/mi-var-child.c (nothing1): New function.
6356 (nothing2): New function.
6357 (do_children_tests): Set function pointers by nothing1 and
6359 * gdb.mi/mi-var-child.exp: Step over new added statements.
6360 Update test to match the new output.
6361 * gdb.mi/var-cmd.c (nothing1): New function.
6362 (nothing2): New function.
6363 (do_children_tests): Set function pointers by nothing1 and
6365 * gdb.mi/mi-var-display.exp: Update test to match output.
6366 Step to the line specified by $line_dct_nothing.
6367 Increase the number of lines to step.
6369 2014-10-14 Yao Qi <yao@codesourcery.com>
6371 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6373 * gdb.mi/mi2-var-child.exp: Likewise.
6375 2014-10-13 Doug Evans <dje@google.com>
6377 * gdb.python/py-objfile.exp: Change name of file name test.
6379 2014-10-13 Doug Evans <dje@google.com>
6381 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6382 from the start of the CU.
6384 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6385 Yao Qi <yao@codesourcery.com>
6387 Fix "save breakpoints" for "catch" command.
6388 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6389 Remove -nonewline. Match also the added "main" line.
6391 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6393 Fix "save breakpoints" for "disable $bpnum" command.
6394 * gdb.base/save-bp.c (main): Add label.
6395 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6397 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6399 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6401 2014-10-11 Yao Qi <yao@codesourcery.com>
6403 * gdb.server/server-kill.exp: Execute command
6404 "set remote trace-status-packet on" before "tstatus".
6406 2014-10-11 Yao Qi <yao@codesourcery.com>
6408 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6409 (main): Call getppid.
6410 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6411 and continue to it. Read variable "server_pid".
6413 2014-10-11 Yao Qi <yao@codesourcery.com>
6415 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6417 2014-10-11 Yao Qi <yao@codesourcery.com>
6419 * gdb.threads/thread-find.exp: Don't execute command
6421 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6422 * gdb.threads/linux-dp.exp: Don't check the condition
6423 $threads_created equals to zero.
6425 2014-10-10 Pedro Alves <palves@redhat.com>
6427 * gdb.base/bigcore.exp: Remove references to IRIX.
6428 * gdb.base/funcargs.exp: Likewise.
6429 * gdb.base/interrupt.exp: Likewise.
6430 * gdb.base/mips_pro.exp: Likewise.
6431 * gdb.base/nodebug.exp: Likewise.
6432 * gdb.base/setvar.exp: Likewise.
6433 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6435 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6436 Pedro Alves <palves@redhat.com>
6439 * gdb.base/vdso-warning.c: New file.
6440 * gdb.base/vdso-warning.exp: New file.
6442 2014-10-02 Doug Evans <dje@google.com>
6444 * gdb.base/structs.c (main): Don't run forever.
6446 2014-10-02 Pedro Alves <palves@redhat.com>
6448 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6449 (top level) <stop threads 1, stop threads 2>: Use it.
6451 2014-10-02 Pedro Alves <palves@redhat.com>
6453 * gdb.threads/break-while-running.exp (test): Add new
6454 'update_thread_list' argument. Skip "info threads" if false.
6455 (top level): Add new 'update_thread_list' axis.
6457 2014-10-02 Pedro Alves <palves@redhat.com>
6459 PR breakpoints/17431
6460 * gdb.base/execl-update-breakpoints.c: New file.
6461 * gdb.base/execl-update-breakpoints.exp: New file.
6463 2014-10-01 Pedro Alves <palves@redhat.com>
6465 * gdb.base/breakpoint-in-ro-region.c: New file.
6466 * gdb.base/breakpoint-in-ro-region.exp: New file.
6468 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6470 * gdb.mi/mi-exit-code.exp: New file.
6471 * gdb.mi/mi-exit-code.c: New file.
6473 2014-09-30 Yao Qi <yao@codesourcery.com>
6475 * lib/prelink-support.exp (build_executable_own_libs): Error if
6476 the target isn't native.
6478 2014-09-30 Yao Qi <yao@codesourcery.com>
6480 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6483 2014-09-22 Pedro Alves <palves@redhat.com>
6485 * gdb.threads/break-while-running.exp: New file.
6486 * gdb.threads/break-while-running.c: New file.
6488 2014-09-19 Yao Qi <yao@codesourcery.com>
6490 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6491 Invoke test. Restart GDB with --readnow and invoke test again.
6493 2014-09-19 Yao Qi <yao@codesourcery.com>
6495 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6496 proc set_breakpoint_on_gcd_function. Invoke
6497 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6498 invoke set_breakpoint_on_gcd_function again.
6500 2014-09-18 Doug Evans <dje@google.com>
6502 * gdb.dwarf2/symtab-producer.exp: New file.
6504 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6506 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6507 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6508 * gdb.base/global-var-nested-by-dso.c: Likewise.
6509 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6511 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6512 Pedro Alves <palves@redhat.com>
6514 * gdb.base/watch-bitfields.exp: Pass string other than test file
6515 name to prepare_for_testing.
6516 (watch): New procedure.
6517 (expect_watchpoint): Use with_test_prefix.
6518 (top level): Factor out tests to ...
6519 (test_watch_location, test_regular_watch): ... these new
6520 procedures, and use with_test_prefix and gdb_continue_to_end.
6522 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6524 PR breakpoints/12526
6525 * gdb.base/watch-bitfields.exp: New file.
6526 * gdb.base/watch-bitfields.c: New file.
6528 2014-09-16 Pedro Alves <palves@redhat.com>
6530 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6531 software and hardware addresses, not software address against
6534 2014-09-16 Pedro Alves <palves@redhat.com>
6536 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6537 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6539 2014-09-16 Pedro Alves <palves@redhat.com>
6541 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6543 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6544 "*-*-vxworks*" throughout.
6545 * gdb.base/break.exp: Likewise.
6546 * gdb.base/default.exp: Likewise.
6547 * gdb.base/scope.exp: Likewise.
6548 * gdb.base/sepdebug.exp: Likewise.
6549 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6551 * gdb.base/run.c: Likewise.
6552 * gdb.base/sepdebug.c: Likewise.
6553 * gdb.hp/gdb.aCC/run.c: Likewise.
6554 * gdb.reverse/until-reverse.c: Likewise.
6555 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6557 2014-09-16 Yao Qi <yao@codesourcery.com>
6559 * boards/local-remote-host-native.exp: New file.
6561 2014-09-14 Doug Evans <xdje42@gmail.com>
6563 * gdb.threads/queue-signal.c (thread_count): New variable.
6564 (thread_count_mutex, thread_count_condvar): New variables.
6565 (incr_thread_count, wait_all_threads_running): New functions.
6566 (main): Wait for all threads to be in their thread functions.
6568 2014-09-13 Doug Evans <xdje42@gmail.com>
6570 * gdb.threads/queue-signal.c: New file.
6571 * gdb.threads/queue-signal.exp: New file.
6573 2014-09-13 Doug Evans <xdje42@gmail.com>
6575 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6576 be consistent with what default_gdb_init uses.
6577 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6578 the plain text of the prompt. Add some logging printfs.
6579 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6581 2014-09-12 Pedro Alves <palves@redhat.com>
6583 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6584 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6585 * gdb.arch/i386-size-overlap.exp: Likewise.
6586 * gdb.arch/i386-size.exp: Likewise.
6587 * gdb.arch/i386-unwind.exp: Likewise.
6588 * gdb.base/a2-run.exp: Likewise.
6589 * gdb.base/break.exp: Likewise.
6590 * gdb.base/charset.exp: Likewise.
6591 * gdb.base/chng-syms.exp: Likewise.
6592 * gdb.base/commands.exp: Likewise.
6593 * gdb.base/dbx.exp: Likewise.
6594 * gdb.base/find.exp: Likewise.
6595 * gdb.base/funcargs.exp: Likewise.
6596 * gdb.base/jit-simple.exp: Likewise.
6597 * gdb.base/reread.exp: Likewise.
6598 * gdb.base/sepdebug.exp: Likewise.
6599 * gdb.base/step-bt.exp: Likewise.
6600 * gdb.cp/mb-inline.exp: Likewise.
6601 * gdb.cp/mb-templates.exp: Likewise.
6602 * gdb.objc/basicclass.exp: Likewise.
6603 * gdb.threads/killed.exp: Likewise.
6605 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6608 * gdb.arch/powerpc-stackless.S: New file.
6609 * gdb.arch/powerpc-stackless.exp: New file.
6611 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6613 * gdb.base/attach.c: Include unistd.h.
6614 (main): Call alarm. Add label postloop.
6615 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6616 gdb_breakpoint, gdb_continue_to_breakpoint.
6617 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6619 2014-09-11 Pedro Alves <palves@redhat.com>
6622 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6623 * gdb.base/attach.exp (test_command_line_attach_run): New
6625 (top level): Call it.
6627 2014-09-11 Pedro Alves <palves@redhat.com>
6629 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6630 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6631 (do_command_attach_tests): Use spawn_wait_for_attach.
6632 * gdb.base/solib-overlap.exp: Likewise.
6633 * gdb.multi/multi-attach.exp: Likewise.
6634 * gdb.python/py-prompt.exp: Likewise.
6635 * gdb.python/py-sync-interp.exp: Likewise.
6636 * gdb.server/ext-attach.exp: Likewise.
6638 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6640 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6641 command in testcase. Simplify testcase.
6643 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6645 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6647 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6649 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6651 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6653 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6655 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6657 * gdb.dwarf2/dynarr-ptr.c: New file.
6658 * gdb.dwarf2/dynarr-ptr.exp: New file.
6660 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6662 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6663 of 30 rather than hardcoding 120 for a slow test case. Take the
6664 `gdb,timeout' target setting into account for this calculation.
6665 Don't extend the timeout for the test cases that don't need it.
6667 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6669 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6670 a factor of 2 for a slow test case. Take the `gdb,timeout'
6671 target setting into account for this calculation.
6672 * gdb.reverse/until-precsave.exp: Increase the timeout by
6673 a factor of 15 and 3 respectively rather than adding 120
6674 for a pair of slow test cases. Take the `gdb,timeout'
6675 target setting into account for this calculation.
6677 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6679 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6680 timeout, don't pass one down to gdb_expect.
6681 (gdb_expect): Rework timeout selection.
6683 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6685 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6686 exception on timeout.
6687 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6688 (gdbserver_start_extended): Catch any `gdbserver_start' error
6690 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6691 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6692 `gdbserver_gdb_load' error exceptions.
6694 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6696 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6697 120 on waiting for the TCP socket to open.
6699 2014-09-09 Doug Evans <xdje42@gmail.com>
6701 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6702 _caller_matches, _any_caller_is, _any_caller_matches.
6704 2014-09-09 Doug Evans <xdje42@gmail.com>
6706 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6708 2014-09-09 Yao Qi <yao@codesourcery.com>
6710 * gdb.mi/mi-var-display.exp: Set print symbol off.
6712 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6715 * gdb.base/commands.exp: Add tests to verify user-defined
6716 commands with empty bodies.
6717 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6718 python commands in `show user command`.
6719 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6720 scheme commands in `show user command`.
6722 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6725 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6726 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6727 * gdb.python/py-framefilter-invalidarg.exp: New file.
6728 * gdb.python/py-framefilter-invalidarg.py: New file.
6730 2014-09-06 Doug Evans <xdje42@gmail.com>
6733 * gdb.python/py-caller-is.c: New file.
6734 * gdb.python/py-caller-is.exp: New file.
6736 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6739 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6740 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6742 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6745 * gdb.fortran/print-formatted.exp: New file.
6746 * gdb.fortran/print-formatted.f90: Likewise.
6748 2014-09-03 Sasha Smundak <asmundak@google.com>
6750 * gdb.python/py-frame.exp: Test Frame.read_register.
6752 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6755 * gdb.python/py-completion.exp: New file.
6756 * gdb.python/py-completion.py: Likewise.
6758 2014-08-28 Doug Evans <dje@google.com>
6760 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6761 eax,etc. are live with values set by gdb and thus the compiler can't
6763 * gdb.arch/i386-pseudo.c (main): Ditto.
6765 2014-08-27 Doug Evans <dje@google.com>
6767 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6769 2014-08-25 Doug Evans <dje@google.com>
6771 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6774 2014-08-25 Doug Evans <dje@google.com>
6776 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6778 2014-08-24 Yao Qi <yao@codesourcery.com>
6780 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6782 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6784 2014-08-22 Doug Evans <dje@google.com>
6787 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6788 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6789 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6791 2014-08-22 Yao Qi <yao@codesourcery.com>
6793 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6794 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6795 * gdb.python/python.exp: Likewise. Use .py file on the host
6796 instead of the build.
6798 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6800 * gdb.threads/gcore-stale-thread.c: New file.
6801 * gdb.threads/gcore-stale-thread.exp: New file.
6803 2014-08-21 Pedro Alves <palves@redhat.com>
6805 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6806 * gdb.base/gcore-relro-pie.exp: Likewise.
6807 * gdb.base/gcore-relro.exp: Likewise.
6808 * gdb.base/gcore.exp: Likewise.
6809 * gdb.base/print-symbol-loading.exp: Likewise.
6810 * gdb.threads/gcore-thread.exp: Likewise.
6811 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6813 2014-08-20 Pedro Alves <palves@redhat.com>
6814 Jan Kratochvil <jan.kratochvil@redhat.com>
6816 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6818 (EXPECT): Handle READ1 being set.
6819 (all): Depend on EXTRA_RULES.
6820 (check-read1, expect-read1, read1.so, read1): New rules.
6821 * README (Testsuite Parameters): Document the READ1 make variable.
6822 (Race detection): New section.
6823 * configure: Regenerate.
6824 * configure.ac: If build==host==target, and running under a
6825 GNU/glibc system, add read1 to the extra Makefile rules.
6826 (EXTRA_RULES): AC_SUBST it.
6827 * lib/read1.c: New file.
6829 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6831 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6832 the handling of variables declared as a typedef to an array
6833 which a DW_AT_data_location attribute.
6835 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6836 Pedro Alves <palves@redhat.com>
6840 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6843 2014-08-19 Pedro Alves <palves@redhat.com>
6845 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6847 2014-08-19 Yao Qi <yao@codesourcery.com>
6849 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6852 2014-08-18 David Blaikie <dblaikie@gmail.com>
6854 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6856 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6858 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6859 attribute in array range.
6861 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6863 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6865 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6868 * gdb.cp/pr17132.cc: New file.
6869 * gdb.cp/pr17132.exp: New file.
6871 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6873 * gdb.python/py-xmethods.py (A_getarrayind)
6874 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6875 Use 'print' with function call syntax.
6876 (E_method_matcher.match): Fix tab vs space indentation mixup.
6878 2014-08-15 Yao Qi <yao@codesourcery.com>
6880 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6883 2014-08-15 Yao Qi <yao@codesourcery.com>
6885 * gdb.cp/casts.exp: Set print symbol off.
6886 * gdb.cp/class2.exp: Likewise.
6887 * gdb.cp/overload.exp: Likewise.
6888 * gdb.cp/templates.exp: Likewise.
6890 2014-08-11 Doug Evans <dje@google.com>
6892 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6893 (test_load_shlib): Update.
6895 2014-08-09 Yao Qi <yao@codesourcery.com>
6897 * gdb.base/display.exp: Invoke is_address_zero_readable.
6898 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6899 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6900 * gdb.base/hbreak-unmapped.exp: Return if
6901 is_address_zero_readable returns true.
6902 * gdb.base/signest.exp: Likewise.
6903 * gdb.base/signull.exp: Likewise.
6904 * gdb.base/sigbpt.exp: Likewise.
6905 * gdb.guile/scm-disasm.exp: Do the test if
6906 is_address_zero_readable returns false.
6907 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6908 * gdb.python/py-arch.exp: Likewise.
6909 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6910 * lib/gdb.exp (is_address_zero_readable): New proc.
6912 2014-08-09 Yao Qi <yao@codesourcery.com>
6915 * gdb.mi/mi-var-display.exp: Make test messages unique.
6917 2014-08-04 Tom Tromey <tromey@redhat.com>
6919 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6922 2014-08-04 Tom Tromey <tromey@redhat.com>
6924 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6927 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6929 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6930 inner_vla_struct_object_size.
6931 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6934 2014-07-30 Pedro Alves <palves@redhat.com>
6936 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6939 2014-07-29 Yao Qi <yao@codesourcery.com>
6942 * gdb.base/until-nodebug.exp: New.
6944 2014-07-28 Doug Evans <xdje42@gmail.com>
6947 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6948 previously existing parameter, and previously ambiguously spelled
6951 2014-07-28 Will Newton <will.newton@linaro.org>
6953 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6955 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6956 Doug Evans <xdje42@gmail.com>
6959 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6961 2014-07-25 Pedro Alves <palves@redhat.com>
6963 * gdb.threads/signal-command-handle-nopass.c: New file.
6964 * gdb.threads/signal-command-handle-nopass.exp: New file.
6965 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6966 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6967 * gdb.threads/signal-delivered-right-thread.c: New file.
6968 * gdb.threads/signal-delivered-right-thread.exp: New file.
6970 2014-07-25 Pedro Alves <palves@redhat.com>
6972 * gdb.base/double-prompt-target-event-error.exp
6973 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6975 (cancel_pagination_in_target_event): Rework double prompt
6977 * gdb.base/paginate-after-ctrl-c-running.exp
6978 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6980 * gdb.base/paginate-bg-execution.exp
6981 (test_bg_execution_pagination_return)
6982 (test_bg_execution_pagination_cancel): Remove '-notransfer
6984 * gdb.base/paginate-execution-startup.exp
6985 (test_fg_execution_pagination_return)
6986 (test_fg_execution_pagination_cancel): Remove '-notransfer
6988 * gdb.base/paginate-inferior-exit.exp
6989 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6991 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6992 * lib/gdb.exp (pagination_prompt): Run text through
6994 (gdb_test_multiple): Match $pagination_prompt instead of
6996 (string_to_regexp): Move to lib/gdb-utils.exp.
6998 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7000 * gdb.arch/amd64-entry-value-paramref.S: New file.
7001 * gdb.arch/amd64-entry-value-paramref.cc: New file.
7002 * gdb.arch/amd64-entry-value-paramref.exp: New file.
7003 * gdb.arch/amd64-optimout-repeat.S: New file.
7004 * gdb.arch/amd64-optimout-repeat.c: New file.
7005 * gdb.arch/amd64-optimout-repeat.exp: New file.
7007 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7010 * gdb.base/statistics.exp: New file.
7012 2014-07-17 Doug Evans <dje@google.com>
7015 * gdb.base/maint.exp: Update testing of per-command stats.
7017 2014-07-16 Pedro Alves <palves@redhat.com>
7019 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
7020 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
7021 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
7022 (tfile_write_buf): New functions.
7023 (add_memory_block): Rewrite using the above.
7024 (adjust_function_address): New function.
7025 (FUNCTION_ADDRESS): New macro.
7026 (write_basic_trace_file): Remove short_x local, and use
7027 tfile_write_16. Change type of func_addr local to unsigned long
7028 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
7029 here. Cast argument of add_memory_block to char pointer.
7030 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
7031 (main): Remove parameters.
7032 * gdb.trace/tfile.exp: Remove nowarnings.
7034 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
7036 * gdb.base/debug-expr.exp: Test string evaluation with
7037 "debug expression" on.
7039 2014-07-15 Pedro Alves <palves@redhat.com>
7041 * gdb.base/reread.exp: Use clean_restart.
7043 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
7045 * gdb.arch/avr-flash-qualifer.c: New.
7046 * gdb.arch/avr-flash-qualifer.exp: New.
7048 2014-07-14 Pedro Alves <palves@redhat.com>
7050 * gdb.base/paginate-after-ctrl-c-running.c: New file.
7051 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
7053 2014-07-14 Pedro Alves <palves@redhat.com>
7055 * gdb.base/double-prompt-target-event-error.c: New file.
7056 * gdb.base/double-prompt-target-event-error.exp: New file.
7058 2014-07-14 Pedro Alves <palves@redhat.com>
7061 * gdb.base/paginate-inferior-exit.c: New file.
7062 * gdb.base/paginate-inferior-exit.exp: New file.
7064 2014-07-14 Pedro Alves <palves@redhat.com>
7067 * gdb.base/paginate-bg-execution.c: New file.
7068 * gdb.base/paginate-bg-execution.exp: New file.
7070 2014-07-14 Pedro Alves <palves@redhat.com>
7073 * gdb.base/paginate-execution-startup.c: New file.
7074 * gdb.base/paginate-execution-startup.exp: New file.
7075 * lib/gdb.exp (pagination_prompt): New global.
7076 (default_gdb_spawn): New procedure, factored out from
7078 (default_gdb_start): Adjust to call default_gdb_spawn.
7079 (gdb_spawn): New procedure.
7081 2014-07-14 Pedro Alves <palves@redhat.com>
7083 * lib/gdb.exp (gdb_assert): New procedure.
7084 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
7086 2014-07-14 Pedro Alves <palves@redhat.com>
7088 * gdb.base/execution-termios.c: New file.
7089 * gdb.base/execution-termios.exp: New file.
7091 2014-07-14 Tom Tromey <tromey@redhat.com>
7093 * gdb.cp/vla-cxx.cc: New file.
7094 * gdb.cp/vla-cxx.exp: New file.
7096 2014-07-14 Tom Tromey <tromey@redhat.com>
7098 * gdb.reverse/rerun-prec.c: New file.
7099 * gdb.reverse/rerun-prec.exp: New file.
7101 2014-07-12 Maciej W. Rozycki <macro@mips.com>
7102 Maciej W. Rozycki <macro@codesourcery.com>
7104 * lib/gdb-utils.exp: New file.
7105 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
7106 inline `gdb_init_command' processing.
7107 (gdb_start_cmd): Likewise.
7108 * lib/mi-support.exp (mi_run_cmd): Likewise.
7109 * README: Document `gdb_init_command' and `gdb_init_commands'.
7111 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7113 Fix false FAIL running under a very long directory name.
7114 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
7115 and "set print elements 10000". Twice.
7117 2014-07-11 Yao Qi <yao@codesourcery.com>
7119 * gdb.base/exprs.exp: "set print symbol off".
7121 2014-07-11 Pedro Alves <palves@redhat.com>
7123 * gdb.threads/kill.c: New file.
7124 * gdb.threads/kill.exp: New file.
7126 2014-07-10 Yao Qi <yao@codesourcery.com>
7128 * gdb.trace/tfile.c (write_basic_trace_file)
7129 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
7130 address written to trace file.
7132 2014-07-09 Pedro Alves <palves@redhat.com>
7134 * gdb.base/attach-wait-input.exp: New file.
7135 * gdb.base/attach-wait-input.c: New file.
7137 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7139 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
7140 setting up test structures.
7141 (main): Call new test function.
7142 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
7143 test function, continue into test function and walk test
7146 2014-07-02 Yao Qi <yao@codesourcery.com>
7148 * gdb.trace/entry-values.c: Define labels 'foo_start' and
7149 'bar_start' at the beginning of functions 'foo' and 'bar'
7151 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
7152 instead of 'foo' and 'bar'.
7154 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
7156 * gdb.btrace/segv.exp: New.
7157 * gdb.btrace/segv.c: New.
7159 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
7161 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
7164 2014-06-30 Mark Wielaard <mjw@redhat.com>
7166 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
7167 vulture, vilify, villar): New volatile array constants.
7168 (vindictive, vegetation): New const volatile array constants.
7169 * gdb.base/volatile.exp: Test volatile and const volatile array
7172 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7174 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
7175 target lacks support for awatch, rwatch, or hbreak.
7177 2014-06-27 Yao Qi <yao@codesourcery.com>
7179 * gdb.multi/dummy-frame-restore.exp: New.
7180 * gdb.multi/dummy-frame-restore.c: New.
7182 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
7184 * gdb.btrace/gcore.exp: New.
7186 2014-06-23 Pedro Alves <palves@redhat.com>
7188 * gdb.base/watchpoint-reuse-slot.c: New file.
7189 * gdb.base/watchpoint-reuse-slot.exp: New file.
7191 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7193 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7194 progspace's filename in 'info', 'enable' and 'disable' command
7197 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7199 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7200 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7201 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7203 2014-06-20 Gary Benson <gbenson@redhat.com>
7205 * gdb.arch/i386-avx.exp: Fix include file location.
7206 * gdb.arch/i386-sse.exp: Likewise.
7208 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7210 * gdb.dlang/expression.exp: New file.
7212 2014-06-19 Pedro Alves <palves@redhat.com>
7214 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7216 (top level): ... here. Iterate running tests under different
7217 scheduler-locking settings.
7219 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7221 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7222 to DW_FORM_addr and use non-zero addresses.
7224 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7227 * gdb.python/py-xmethods.cc: Add global function call counters and
7228 increment them in their respective functions. Remove "cout"
7230 * gdb.python/py-xmethods.exp: Make tests check the global function
7231 call counters instead of depending on inferior IO.
7233 2014-06-18 Don Breazeal <donb@codesourcery.com>
7235 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7237 (explicit_fork_parent_follow): Deleted procedure.
7238 (explicit_fork_child_follow): Deleted procedure.
7239 (test_follow_fork): New procedure.
7240 (do_fork_tests): Replace calls to deleted procedures with
7241 calls to test_follow_fork and reset GDB for subsequent
7244 2014-06-17 Yao Qi <yao@codesourcery.com>
7246 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7249 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7251 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7252 Initialize ptr and S explicitly.
7253 (skip_type_update_when_not_use_rtti_test): Likewise.
7255 2014-06-16 Keith Seitz <keiths@redhat.com>
7258 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7259 the inferior is started.
7261 2014-06-16 Pedro Alves <palves@redhat.com>
7263 * gdb.base/break-main-file-remove-fail.c: New file.
7264 * gdb.base/break-main-file-remove-fail.exp: New file.
7265 * gdb.base/break-unload-file.exp: Use build_executable instead of
7266 prepare_for_testing.
7267 (test_break): New parameter "initial_load". Handle it.
7268 (top level): Add initial_load cmdline/file axis.
7270 2014-06-12 Tom Tromey <tromey@redhat.com>
7272 * gdb.base/completion.exp: Don't use directory name in test.
7274 2014-06-09 Gary Benson <gbenson@redhat.com>
7276 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7277 separate the always-available ANSI-standard signals from the
7278 signals that require checking.
7280 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7284 2014-06-07 Keith Seitz <keiths@redhat.com>
7288 * gdb.cp/var-tag.cc: New file.
7289 * gdb.cp/var-tag.exp: New file.
7290 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7291 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7292 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7293 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7295 2014-06-06 Doug Evans <xdje42@gmail.com>
7297 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7299 2014-06-06 Pedro Alves <palves@redhat.com>
7301 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7302 in target debug output instead of looking at RSP packets,
7303 disabling the test on any target that uses hardware stepping.
7306 2014-06-06 Pedro Alves <palves@redhat.com>
7308 * gdb.base/break-unload-file.exp: Fix typo.
7310 2014-06-06 Yao Qi <yao@codesourcery.com>
7312 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7313 from "jit_function" to "^jit_function".
7315 2014-06-06 Yao Qi <yao@codesourcery.com>
7317 * gdb.base/async.c (foo): Add one statement.
7318 * gdb.base/async.exp: Get the next instruction address and
7319 match the output of "nexti" by instruction address. Match
7320 the hex address in the output of "finish".
7322 2014-06-06 Gary Benson <gbenson@redhat.com>
7324 * gdb.base/call-signals.c: Remove preprocessor conditionals
7325 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7326 SIGSEGV and SIGTERM.
7327 * gdb.base/sigall.c: Likewise.
7328 * gdb.base/unwindonsignal.c: Likewise.
7329 * gdb.reverse/sigall-reverse.c: Likewise.
7331 2014-06-06 Yao Qi <yao@codesourcery.com>
7333 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7334 readable, skip the test.
7336 2014-06-06 Yao Qi <yao@codesourcery.com>
7338 * gdb.threads/staticthreads.c (thread_function): Move the line
7339 setting breakpoint on forward.
7340 * gdb.threads/staticthreads.exp: Update comments.
7342 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7344 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7345 "history-append! type error".
7347 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7349 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7350 erroneous dprintf expected input.
7352 2014-06-04 Doug Evans <xdje42@gmail.com>
7354 * gdb.guile/scm-generics.exp: Delete.
7356 2014-06-04 Doug Evans <xdje42@gmail.com>
7358 * gdb.guile/scm-breakpoint.exp: Update.
7359 Add tests for breakpoint registration.
7361 2014-06-04 Tom Tromey <tromey@redhat.com>
7363 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7365 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7366 inner_vla_struct, vla_union types. Initialize objects of those
7367 types and compute their sizes.
7369 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7370 Hui Zhu <hui@codesourcery.com>
7372 * gdb.base/fileio.exp: Add test for shell not available as well as
7374 * gdb.base/fileio.c (test_system): Check for shell twice.
7376 2014-06-04 Yao Qi <yao@codesourcery.com>
7378 * gdb.base/auto-connect-native-target.exp: Remove redundant
7379 space from the regexp pattern.
7381 2014-06-04 Yao Qi <yao@codesourcery.com>
7383 * gdb.base/default.exp: Replace "child" with "native" in
7386 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7388 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7389 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7390 * gdb.python/py-xmethods.py: Python script supporting the
7391 new testcase and tests.
7393 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7394 Pedro Alves <palves@redhat.com>
7396 PR breakpoints/17000
7397 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7398 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7400 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7402 * gdb.base/subst.exp: Add tests to verify partial path matching
7405 2014-06-03 Pedro Alves <palves@redhat.com>
7407 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7408 target that doesn't use software single-stepping.
7410 2014-06-03 Pedro Alves <palves@redhat.com>
7412 PR breakpoints/17000
7413 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7414 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7416 2014-06-02 Doug Evans <xdje42@gmail.com>
7418 * gdb.guile/scm-parameter.exp: New file.
7420 2014-06-02 Doug Evans <xdje42@gmail.com>
7422 * gdb.guile/scm-cmd.c: New file.
7423 * gdb.guile/scm-cmd.exp: New file.
7425 2014-06-02 Doug Evans <xdje42@gmail.com>
7427 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7428 pretty-printer lookup.
7429 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7430 (make-pp_s-printer): Call it.
7431 (make-pretty-printer-from-dict): New function.
7432 (lookup-pretty-printer-maker-from-dict): New function.
7433 (*pretty-printer*): Simplify.
7434 (make-objfile-pp_s-printer): New function.
7435 (install-objfile-pretty-printers!): New function.
7436 (make-progspace-pp_s-printer): New function.
7437 (install-progspace-pretty-printers!): New function.
7438 * gdb.guile/scm-progspace.c: New file.
7439 * gdb.guile/scm-progspace.exp: New file.
7441 2014-06-02 Pedro Alves <palves@redhat.com>
7443 * gdb.base/dprintf-bp-same-addr.c: New file.
7444 * gdb.base/dprintf-bp-same-addr.exp: New file.
7446 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7448 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7449 * gdb.arch/powerpc-power.s: Likewise.
7451 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7453 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7455 2014-06-01 Yao Qi <yao@codesourcery.com>
7457 * gdb.base/watchpoint.exp (test_watch_location): Check null
7458 pointer can be dereferenced. If not, do the test, otherwise
7461 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7463 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7465 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7467 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7469 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7470 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7471 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7472 * gdb.arch/amd64-invalid-stack-top.c: New file.
7473 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7475 2014-05-30 Pedro Alves <palves@redhat.com>
7477 PR breakpoints/17000
7478 * gdb.base/sss-bp-on-user-bp.c: New file.
7479 * gdb.base/sss-bp-on-user-bp.exp: New file.
7481 2014-05-30 David Blaikie <dblaikie@gmail.com>
7483 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7484 gnu_inline semantics via attribute.
7485 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7486 source explicitly specifies the required semantics.
7488 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7490 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7492 2014-05-29 Pedro Alves <palves@redhat.com>
7493 Tom Tromey <tromey@redhat.com>
7495 * gdb.base/async-shell.exp: Don't enable target-async.
7496 * gdb.base/async.exp
7497 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7499 (top level): Don't test with "target-async".
7500 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7501 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7502 * gdb.base/inferior-died.exp: Don't enable target-async.
7503 * gdb.base/interrupt-noterm.exp: Likewise.
7504 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7505 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7506 * gdb.mi/mi-nonstop.exp: Likewise.
7507 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7508 * gdb.mi/mi-nsintrall.exp: Likewise.
7509 * gdb.mi/mi-nsmoribund.exp: Likewise.
7510 * gdb.mi/mi-nsthrexec.exp: Likewise.
7511 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7512 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7513 * gdb.python/py-evsignal.exp: Don't enable target-async.
7514 * gdb.python/py-evthreads.exp: Likewise.
7515 * gdb.python/py-prompt.exp: Likewise.
7516 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7517 * gdb.server/solib-list.exp: Don't enable target-async.
7518 * gdb.threads/thread-specific-bp.exp: Likewise.
7519 * lib/mi-support.exp: Adjust to use mi-async.
7521 2014-05-29 Pedro Alves <palves@redhat.com>
7524 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7525 reason, even in sync mode.
7527 2014-05-29 Pedro Alves <palves@redhat.com>
7528 Hui Zhu <hui@codesourcery.com>
7531 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7532 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7533 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7534 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7536 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7538 * config/monitor.exp (gdb_target_monitor): Replace use of
7539 "set remotebaud" by "set serial baud".
7541 2014-05-26 Andy Wingo <wingo@igalia.com>
7543 * gdb.guile/scm-breakpoint.exp:
7544 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7545 properties instead of gdb-object-properties.
7547 2014-05-26 Yao Qi <yao@codesourcery.com>
7549 * gdb.server/no-thread-db.exp: Specify source file name
7550 explicitly when setting a breakpoint.
7552 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7554 * gdb.btrace/vdso.c: New.
7555 * gdb.btrace/vdso.exp: New.
7557 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7559 * gdb.base/gcore.exp (capture_command_output): Move ...
7560 * lib/gdb.exp (capture_command_output): ... here.
7562 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7564 * gdb.btrace/data.exp: Test memory access during btrace replay.
7566 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7568 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7570 2014-05-21 Pedro Alves <palves@redhat.com>
7573 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7574 (top level): Test that output related to execution commands is
7575 sent to the console with CLI commands, but not with MI commands.
7576 Test that breakpoint events are always mirrored to the console.
7577 Also expect the new source line to be output after a "next" in
7578 async mode too. Make it a pass/fail test.
7579 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7581 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7583 2014-05-21 Pedro Alves <palves@redhat.com>
7585 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7586 Use them to test variations of "list" after reaching a breakpoint.
7587 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7588 Test "list" with listsize 10 after reaching a breakpoint.
7589 * gdb.python/python.exp (decode_line current location line
7590 number): Adjust expected line number.
7592 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7594 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7595 behavior for $args, pass it directly to "run".
7597 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7599 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7602 2014-05-21 Pedro Alves <palves@redhat.com>
7604 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7605 auto-connect-native-target off".
7606 * gdb.base/auto-connect-native-target.c: New file.
7607 * gdb.base/auto-connect-native-target.exp: New file.
7609 2014-05-21 Pedro Alves <palves@redhat.com>
7611 * gdb.base/default.exp: Test "target native" instead of "target
7614 2014-05-21 Mark Wielaard <mjw@redhat.com>
7616 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7618 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7620 Fix TLS access for -static -pthread.
7621 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7622 <HAVE_TLS> (thread_function, main): Initialize it.
7623 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7625 <$have_tls != "">: Check TLSVAR.
7627 2014-05-21 Pedro Alves <palves@redhat.com>
7629 * gdb.base/dcache-line-read-error.c: New.
7630 * gdb.base/dcache-line-read-error.exp: New.
7632 2014-05-20 Pedro Alves <palves@redhat.com>
7634 * gdb.base/compare-sections.c: New file.
7635 * gdb.base/compare-sections.exp: New file.
7637 2014-05-20 Pedro Alves <palves@redhat.com>
7639 * gdb.base/break-idempotent.c: New file.
7640 * gdb.base/break-idempotent.exp: New file.
7642 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7644 * gdb.btrace/nohist.exp: New.
7646 2014-05-20 Yao Qi <yao@codesourcery.com>
7648 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7649 gdb.reverse directory and gdb_reverse_timeout exists in board
7651 * README: Document gdb_reverse_timeout.
7653 2014-05-20 Yao Qi <yao@codesourcery.com>
7655 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7656 'test_file_name'. Treat args as a string instead of a list.
7657 (gdb_init): Rename argument 'args' by 'test_file_name'.
7659 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7661 * gdb.arch/powerpc-power.exp: New file.
7662 * gdb.arch/powerpc-power.s: New file.
7664 2014-05-16 Doug Evans <dje@google.com>
7666 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7667 * gdb.base/completion.exp: Check that all expected files exist
7668 before doing file completion.
7670 2014-05-16 Doug Evans <dje@google.com>
7672 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7674 (do_syscall_tests_without_xml): Update.
7676 2014-05-16 Pedro Alves <palves@redhat.com>
7678 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7679 instead of "unknown output after running".
7681 2014-05-16 Yao Qi <yao@codesourcery.com>
7683 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7684 file1.txt from host at the end.
7685 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7687 2014-05-15 Doug Evans <dje@google.com>
7689 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7690 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7691 loading file. Add test for TU lookup.
7693 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7695 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7696 calling "-exec-arguments" or "set args" before running the
7699 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7701 * lib/mi-support.exp (mi_expect_stop): Expect message for
7702 inferiors that exit with non-zero exit code.
7704 2014-05-14 Yao Qi <yao@codesourcery.com>
7706 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7707 match absolute path on remote host.
7708 (test_file_list_exec_source_files): Remove "/" from the
7711 2014-05-14 Yao Qi <yao@codesourcery.com>
7713 * boards/local-remote-host-notty.exp (${board}_file): New
7716 2014-05-07 Kyle McMartin <kyle@redhat.com>
7718 Pushed by Joel Brobecker <brobecker@adacore.com>.
7719 * gdb.arch/aarch64-atomic-inst.c: New file.
7720 * gdb.arch/aarch64-atomic-inst.exp: New file.
7722 2014-05-07 Yao Qi <yao@codesourcery.com>
7724 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7725 in current context" too.
7727 2014-05-05 Keith Seitz <keiths@redhat.com>
7729 * gdb.linespec/ls-dollar.exp: Add test for linespec
7730 file:convenience_variable.
7732 2014-05-05 Yao Qi <yao@codesourcery.com>
7734 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7735 traceframes into tfile and ctf trace files. Read data from
7736 trace file and test collected data.
7737 (gdb_collect_locals_test): Likewise.
7738 (gdb_unavailable_registers_test): Likewise.
7739 (gdb_unavailable_floats): Likewise.
7740 (gdb_collect_globals_test): Likewise.
7741 (top-level): Append "ctf" to trace_file_targets if GDB
7744 2014-05-05 Yao Qi <yao@codesourcery.com>
7746 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7748 (gdb_collect_args_test_1): ... it. New proc.
7749 (gdb_collect_locals_test): Move some code to ...
7750 (gdb_collect_locals_test_1): ... it. New proc.
7751 (gdb_unavailable_registers_test): Move some code to ...
7752 (gdb_unavailable_registers_test_1): ... it. New proc.
7753 (gdb_unavailable_floats): Move some code to ...
7754 (gdb_unavailable_floats_1): ... it. New proc.
7756 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7758 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7759 probes to test for bitness recognition.
7760 * gdb.arch/amd64-stap-optional-prefix.exp
7761 (test_probe_value_without_reg): New procedure.
7762 Add code to test for different kinds of bitness.
7764 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7766 PR breakpoints/16889
7767 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7768 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7770 2014-05-01 Pedro Alves <palves@redhat.com>
7772 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7773 gdb_file_cmd if no file is specified.
7774 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7775 last_loaded_file to set the remote exec-file.
7777 2014-05-01 Pedro Alves <palves@redhat.com>
7779 * boards/local-remote-host.exp: New file.
7781 2014-05-01 Pedro Alves <palves@redhat.com>
7783 * boards/local-remote-host.exp: Rename to ...
7784 * boards/local-remote-host-notty.exp: ... this.
7786 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7788 * gdb.ada/dyn_arrayidx: New testcase.
7790 2014-04-26 Yao Qi <yao@codesourcery.com>
7792 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7793 and compute the length of function main. Save it in
7795 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7796 (top-level): Use gdb_compile to compile objects into
7797 executable and restart GDB. Remove invocation to
7798 prepare_for_testing.
7800 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7801 Pedro Alves <palves@redhat.com>
7804 * gdb.multi/multi-attach.c: New file.
7805 * gdb.multi/multi-attach.exp: New file.
7807 2014-04-25 Pedro Alves <palves@redhat.com>
7809 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7811 (top level): Test that "set remote conditional-breakpoints-packet
7812 off" works as intended.
7813 * gdb.base/dprintf.exp: Test that "set remote
7814 breakpoint-commands-packet off" works as intended.
7815 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7817 (top level): Call it.
7818 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7819 remote fast-tracepoints-packet off" works as intended.
7820 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7821 * lib/gdb.exp (gdb_is_target_remote): ... here.
7823 2014-04-24 David Blaikie <dblaikie@gmail.com>
7825 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7826 ensure clang would not discard them.
7827 * gdb.base/gdbvars.c: Ditto.
7828 * gdb.base/memattr.c: Ditto.
7829 * gdb.base/whatis.c: Ditto.
7830 * gdb.python/py-prettyprint.c: Ditto.
7831 * gdb.trace/actions.c: Ditto.
7832 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7833 ensure clang would not discard it.
7835 2014-04-24 David Blaikie <dblaikie@gmail.com>
7837 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7838 clang to emit the full definition of type required by the test
7839 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7841 2014-04-24 David Blaikie <dblaikie@gmail.com>
7843 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7844 coax Clang into emitting the definition of the type.
7845 * gdb.cp/pr10728-x.h (y): Ditto.
7846 * gdb.cp/pr10728-y.cc (y): Ditto.
7848 2014-04-24 David Blaikie <dblaikie@gmail.com>
7850 * gdb.base/label.exp: XFAIL label related tests under Clang.
7851 * gdb.cp/cplabel.exp: Ditto.
7852 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7853 under Clang those using labels.
7855 2014-04-25 Yao Qi <yao@codesourcery.com>
7857 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7859 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7860 partial_label and double_label.
7862 2014-04-24 David Blaikie <dblaikie@gmail.com>
7864 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7866 2014-04-24 David Blaikie <dblaikie@gmail.com>
7868 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7869 of the function to work across GCC and Clang.
7870 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7871 pointer types (const void ** const V void **).
7873 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7874 Walfred Tedeschi <walfred.tedeschi@intel.com>
7876 * Makefile.in (EXECUTABLES): Added i386-avx512.
7877 * gdb.arch/i386-avx512.c: New file.
7878 * gdb.arch/i386-avx512.exp: Likewise.
7880 2014-04-23 Keith Seitz <keiths@redhat.com>
7882 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7883 (mi_make_breakpoint_table): New procedure.
7884 (mi_create_breakpoint): Use mi_make_breakpoint
7885 and return the result.
7886 (mi_make_breakpoint): New procedure.
7887 (mi_build_kv_pairs): New procedure.
7889 * gdb.mi/mi-break.exp: Remove unused globals,
7890 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7891 All callers updated.
7892 * gdb.mi/mi-dprintf.exp: Use variable to track command
7894 Update all callers of mi_create_breakpoint and use
7895 mi_make_breakpoint_table.
7896 Remove any unused global variables.
7897 * gdb.mi/mi-nonstop.exp: Likewise.
7898 * gdb.mi/mi-nsintrall.exp: Likewise.
7899 * gdb.mi/mi-nsmoribund.exp: Likewise.
7900 * gdb.mi/mi-nsthrexec.exp: Likewise.
7901 * gdb.mi/mi-reverse.exp: Likewise.
7902 * gdb.mi/mi-simplerun.exp: Likewise.
7903 * gdb.mi/mi-stepn.exp: Likewise.
7904 * gdb.mi/mi-syn-frame.exp: Likewise.
7905 * gdb.mi/mi-until.exp: Likewise.
7906 * gdb.mi/mi-var-cp.exp: Likewise.
7907 * gdb.mi/mi-var-display.exp: Likewise.
7908 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7909 * gdb.mi/mi2-var-child.exp: Likewise.
7910 * gdb.mi/mi-vla-c99.exp: Likewise.
7911 * lib/mi-support.exp: Likewise.
7913 From Ian Lance Taylor <iant@cygnus.com>:
7914 * lib/gdb.exp (parse_args): New procedure.
7916 2014-04-23 Pedro Alves <palves@redhat.com>
7918 * gdb.base/break-unload-file.c: New file.
7919 * gdb.base/break-unload-file.exp: New file.
7920 * gdb.base/sym-file-lib.c (baz): New function.
7921 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7923 (load): Store the segment's mapped size.
7924 (unload): New function.
7925 (unload_shlib): New function.
7926 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7927 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7928 set a breakpoint at baz, and call it.
7929 * gdb.base/sym-file.exp: New tests for stale breakpoint
7932 2014-04-23 Pedro Alves <palves@redhat.com>
7934 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7935 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7936 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7937 * gdb.base/hbreak-unmapped.c: New file.
7938 * gdb.base/hbreak-unmapped.exp: New file.
7939 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7940 * lib/gdb.exp (gdb_is_target_remote): ... here.
7942 2014-04-22 Pedro Alves <palves@redhat.com>
7944 * gdb.base/consecutive-step-over.c: New file.
7945 * gdb.base/consecutive-step-over.exp: New file.
7947 2014-04-22 Pedro Alves <palves@redhat.com>
7949 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7950 instead of send_gdb/gdb_expect.
7952 2014-04-22 Yao Qi <yao@codesourcery.com>
7954 * lib/trace-support.exp (generate_tracefile): New procedure.
7955 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7957 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7958 if generate_tracefile returns 1.
7960 2014-04-18 Tom Tromey <palves@redhat.com>
7961 Pedro alves <tromey@redhat.com>
7964 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7965 with a backtrace limit.
7966 * gdb.python/py-frame-inline.exp: Test running to an inline
7967 function with a backtrace limit, and printing the newest frame.
7968 * gdb.python/py-frame-inline.c (main): Call f.
7970 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7972 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7974 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7976 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7977 Drop prefix from unsupported source file path.
7979 2014-04-17 Yao Qi <yao@codesourcery.com>
7981 * lib/gdb.exp (with_target_charset): New proc.
7982 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7983 with_target_charset.
7984 (test_print_strings): Likewise.
7985 (test_repeat_bytes): Likewise.
7986 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7989 2014-04-16 Keith Seitz <keiths@redhat.com>
7992 * gdb.dwarf2/corrupt.c: New file.
7993 * gdb.dwarf2/corrupt.exp: New file.
7995 2014-04-16 Keith Seitz <keiths@redhat.com>
7998 * gdb.cp/namelessclass.cc: New file.
7999 * gdb.cp/namelessclass.exp: New file.
8000 * gdb.cp/namelessclass.S: New file.
8002 2014-04-16 Doug Evans <dje@google.com>
8004 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
8006 (gdbserver_default_get_comm_port): New function.
8007 (gdbserver_start): Check if board file provided
8008 "gdbserver,get_comm_port" and use it if so.
8009 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
8010 (gdb,socketport): Set to "stdio".
8011 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
8012 (stdio_gdbserver_template): Delete.
8013 (${board}_get_remote_address): Update.
8014 (${board}_build_remote_cmd): Delete.
8015 (${board}_get_comm_port): New function.
8016 (${board}_spawn): Update.
8017 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
8019 (${board}_get_remote_address): Update.
8020 (${board}_get_comm_port): New function.
8022 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
8024 * gdb.base/memattr.exp: Improve regexps to handle memory regions
8025 appearing in any order.
8027 2014-04-15 Doug Evans <dje@google.com>
8029 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
8030 uninitialized value of "description".
8032 2014-04-15 Keith Seitz <keiths@redhat.com>
8034 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
8035 Remove unused globals.
8036 (test_running_the_program): Likewise.
8037 (test_controlled_execution): Likewise.
8038 (test_controlling_breakpoints): Likewise.
8039 (test_program_termination): Likewise.
8041 2014-04-15 Keith Seitz <keiths@redhat.com>
8043 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
8045 (test_rbreak_creation_and_listing): Likewise.
8046 (test_ignore_count): Likewise.
8047 (test_error): Likewise.
8049 2014-04-15 Pedro Alves <palves@redhat.com>
8051 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
8052 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
8054 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8055 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8056 to sym-file-loader.c.
8057 (struct library): Forward declare.
8058 (load_shlib, lookup_function): Change prototypes.
8059 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8060 (translate_offset): Remove declarations.
8061 (get_text_addr): New declaration.
8062 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
8063 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
8065 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
8066 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
8067 here from sym-file-loader.h.
8068 (struct library): New structure.
8069 (load_shlib, lookup_function): Change prototypes and adjust to
8070 work with a struct library.
8071 (find_shstrtab, find_strtab, find_shdr, find_symtab)
8072 (translate_offset): Make static.
8073 (get_text_addr): New function.
8074 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
8076 2014-04-15 Pedro Alves <palves@redhat.com>
8078 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
8080 2014-04-15 Pedro Alves <palves@redhat.com>
8082 * gdb.base/sym-file-loader.c: Include <limits.h>.
8083 (SELF_LINK): New define.
8084 (get_origin): New function.
8085 (load_shlib): Use it.
8086 * gdb.base/sym-file.exp: Don't early return if the target is
8087 remote. Use runto_main, and issue fail is that fails. Use
8089 (shlib_name): Delete.
8090 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
8092 2014-04-15 Pedro Alves <palves@redhat.com>
8094 * gdb.base/sym-file.exp: Remove regex characters from test
8095 message. Don't refer to breakpoint numbers in test messages.
8097 2014-04-14 Keith Seitz <keiths@redhat.com>
8100 * gdb.cp/var-tag.cc: New file.
8101 * gdb.cp/var-tag.exp: New file.
8102 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
8103 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
8104 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8105 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8107 2014-04-14 Tom Tromey <tromey@redhat.com>
8109 * gdb.cp/classes.exp (test_enums): Handle underlying type.
8110 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
8112 * gdb.cp/enum-class.exp: New file.
8113 * gdb.cp/enum-class.cc: New file.
8115 2014-04-14 Tom Tromey <tromey@redhat.com>
8117 * gdb.dwarf2/enum-type.exp: New file.
8119 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8121 * gdb.mi/mi-vla-c99.exp: New file.
8122 * gdb.mi/vla.c: New file.
8124 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8126 * gdb.base/vla-datatypes.c: New file.
8127 * gdb.base/vla-datatypes.exp: New file.
8129 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8131 * gdb.base/vla-ptr.c: New file.
8132 * gdb.base/vla-ptr.exp: New file.
8134 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8136 * gdb.dwarf2/count.exp: New file.
8138 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8140 * gdb.base/vla-sideeffect.c: New file.
8141 * gdb.base/vla-sideeffect.exp: New file.
8143 2014-04-14 David Blaikie <dblaikie@gmail.com>
8145 * gdb.mi/non-stop.c: Add return value for non-void function return
8147 * gdb.threads/staticthreads.c: Ditto.
8149 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8150 Doug Evans <xdje42@gmail.com>
8152 * gdb.guile/scm-value.c: Improve test case.
8153 * gdb.guile/scm-value.exp: Add new test.
8155 2014-04-11 David Blaikie <dblaikie@gmail.com>
8157 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
8158 override Clang's default.
8160 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8162 Revert the following changes (regressions):
8164 * gdb.base/vla-sideeffect.c: New file.
8165 * gdb.base/vla-sideeffect.exp: New file.
8167 * gdb.dwarf2/count.exp: New file.
8169 * gdb.base/vla-multi.c: New file.
8170 * gdb.base/vla-multi.exp: New file.
8172 * gdb.base/vla-ptr.c: New file.
8173 * gdb.base/vla-ptr.exp: New file.
8175 * gdb.base/vla-datatypes.c: New file.
8176 * gdb.base/vla-datatypes.exp: New file.
8178 * gdb.mi/mi-vla-c99.exp: New file.
8179 * gdb.mi/vla.c: New file.
8181 2014-04-11 Keith Seitz <keiths@redhat.com>
8184 * gdb.cp/cpsizeof.exp: New file.
8185 * gdb.cp/cpsizeof.cc: New file.
8187 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8189 * gdb.mi/mi-vla-c99.exp: New file.
8190 * gdb.mi/vla.c: New file.
8192 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8194 * gdb.base/vla-datatypes.c: New file.
8195 * gdb.base/vla-datatypes.exp: New file.
8197 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8199 * gdb.base/vla-ptr.c: New file.
8200 * gdb.base/vla-ptr.exp: New file.
8202 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8204 * gdb.base/vla-multi.c: New file.
8205 * gdb.base/vla-multi.exp: New file.
8207 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8209 * gdb.dwarf2/count.exp: New file.
8211 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8213 * gdb.base/vla-sideeffect.c: New file.
8214 * gdb.base/vla-sideeffect.exp: New file.
8216 2014-04-11 Yao Qi <yao@codesourcery.com>
8218 * gdb.base/completion.exp: Check file exists before running tests
8221 2014-04-10 Pedro Alves <palves@redhat.com>
8223 * gdb.base/cond-eval-mode.c: New file.
8224 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8225 prepare_for_testing to build the new file. Check result of
8227 (test_break, test_watch): New procedures.
8228 (top level): Use them.
8230 2014-04-08 Pierre Muller <muller@sourceware.org>
8232 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8233 Ctrl-V use for mingw hosts.
8235 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8237 * gdb.python/py-value.c: Improve test case.
8238 * gdb.python/py-value.exp: Add new test.
8240 2014-04-07 David Blaikie <dblaikie@gmail.com>
8242 * lib/compiler.c: Identify the clang compiler.
8243 * lib/compiler.cc: Ditto.
8245 2014-04-03 Yao Qi <yao@codesourcery.com>
8247 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8249 2014-04-01 Anton Blanchard <anton@samba.org>
8251 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8254 2014-04-01 Anton Blanchard <anton@samba.org>
8256 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8257 prepare_for_testing.
8259 2014-04-01 Anton Blanchard <anton@samba.org>
8261 * gdb.arch/ppc64-atomic-inst.c: Remove.
8262 * gdb.arch/ppc64-atomic-inst.S: New file.
8263 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8265 2014-03-31 Doug Evans <dje@google.com>
8267 * gdb.base/print-symbol-loading-lib.c: New file.
8268 * gdb.base/print-symbol-loading-main.c: New file.
8269 * gdb.base/print-symbol-loading.exp: New file.
8271 2014-03-31 Yao Qi <yao@codesourcery.com>
8273 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8275 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8277 * gdb.ada/mi_dyn_arr: New testcase.
8279 2014-03-27 Doug Evans <dje@google.com>
8281 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8283 2014-03-27 Yao Qi <yao@codesourcery.com>
8285 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8286 if target is nios2-*-*.
8288 2014-03-26 Yao Qi <yao@codesourcery.com>
8290 * lib/gdb.exp (readline_is_used): New proc.
8291 * gdb.base/completion.exp: Move tests on command complete up.
8292 Skip the rest of tests if readline is not used.
8293 * gdb.ada/complete.exp: Skp the test if readline is not
8295 * gdb.base/filesym.exp: Likewise.
8296 * gdb.base/macscp.exp: Likewise.
8297 * gdb.base/readline-ask.exp: Likewise.
8298 * gdb.base/readline.exp: Likewise.
8299 * gdb.python/py-cmd.exp: Likewise.
8300 * gdb.trace/tfile.exp: Likewise.
8302 2014-03-26 Yao Qi <yao@codesourcery.com>
8304 * gdb.base/macscp.exp: Fix code format issues.
8306 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8308 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8309 * gdb.asm/powerpc64le.inc: New file.
8311 2014-03-25 Pedro Alves <palves@redhat.com>
8312 Doug Evans <dje@google.com>
8314 * gdb.base/source-execution.c: New file.
8315 * gdb.base/source-execution.exp: New file.
8316 * gdb.base/source-execution.gdb: New file.
8318 2014-03-24 Doug Evans <dje@google.com>
8320 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8323 2014-03-24 Hui Zhu <hui@codesourcery.com>
8324 Pedro Alves <palves@redhat.com>
8326 PR breakpoints/16101
8327 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8328 test pass/fail messages. Detect missing support for dprintf when
8329 breakpoints are actually inserted.
8330 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8331 breakpoints are actually inserted.
8332 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8335 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8337 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8339 2014-03-22 Doug Evans <xdje42@gmail.com>
8341 * gdb.python/python.exp (python not supported): Verify multi-line
8342 python command issues an error.
8343 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8344 guile command issues an error.
8346 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8348 * gdb.threads/thread-specific.exp: Handle the lack of usable
8349 $this_breakpoint and $this_thread.
8351 2014-03-21 Hui Zhu <hui@codesourcery.com>
8353 * gdb.base/attach.exp (do_command_attach_tests): New.
8355 2014-03-20 Tom Tromey <tromey@redhat.com>
8356 Pedro Alves <palves@redhat.com>
8359 * gdb.base/condbreak-call-false.c: New file.
8360 * gdb.base/condbreak-call-false.exp: New file.
8362 2014-03-20 Pedro Alves <palves@redhat.com>
8364 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8366 (block_signals, unblock_signals): Delete.
8367 (child_function_2, main): Remove references to deleted variable
8370 2014-03-20 Pedro Alves <palves@redhat.com>
8372 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8373 Use pthread_kill to signal thread 2.
8374 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8375 Adjust to make the test send itself a signal rather than using the
8376 host's "kill" command.
8378 2014-03-20 Pedro Alves <palves@redhat.com>
8380 * gdb.threads/multiple-step-overs.c: New file.
8381 * gdb.threads/multiple-step-overs.exp: New file.
8382 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8383 Adjust expected infrun debug output.
8385 2014-03-20 Pedro Alves <palves@redhat.com>
8387 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8388 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8390 2014-03-20 Pedro Alves <palves@redhat.com>
8393 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8394 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8395 of gdb_test_multiple.
8396 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8397 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8399 2014-03-20 Pedro Alves <palves@redhat.com>
8401 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8402 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8404 2014-03-19 Pedro Alves <palves@redhat.com>
8406 * gdb.base/async.exp: Remove early return.
8408 2014-03-19 Pedro Alves <palves@redhat.com>
8410 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8412 2014-03-19 Pedro Alves <palves@redhat.com>
8414 * gdb.base/async.exp (test_background): Expect \r\n after
8415 "completed." in the fail pattern.
8417 2014-03-19 Pedro Alves <palves@redhat.com>
8419 * gdb.base/async.exp (test_background): New procedure.
8420 Use it for all background execution command tests.
8422 2014-03-19 Pedro Alves <palves@redhat.com>
8424 * gdb.base/async.exp: Use prepare_for_testing.
8426 2014-03-19 Pedro Alves <palves@redhat.com>
8428 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8431 2014-03-19 Pedro Alves <palves@redhat.com>
8433 * gdb.base/async.c (main): Add "jump here" and "until here" line
8435 * gdb.base/async.exp (jump_here): New global.
8436 (jump& test): Use it.
8437 (until_here): New global.
8438 (until& test): Use it.
8440 2014-03-19 Pedro Alves <palves@redhat.com>
8442 * gdb.base/async.exp: Don't frob gdb_protocol.
8444 2014-03-18 Doug Evans <xdje42@gmail.com>
8446 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8447 Fix spelling of exec-done-display.
8449 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8452 * gdb.base/gdb-sigterm.c: New file.
8453 * gdb.base/gdb-sigterm.exp: New file.
8455 2014-03-18 Pedro Alves <palves@redhat.com>
8458 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8459 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8462 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8464 * gdb.ada/pckd_arr_ren: New testcase.
8466 2014-03-13 Doug Evans <xdje42@gmail.com>
8469 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8470 collect after discarding symbols.
8472 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8473 Doug Evans <xdje42@gmail.com>
8475 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8476 to history survives a gc.
8478 2014-03-13 Pedro Alves <palves@redhat.com>
8480 * gdb.base/default.exp: Don't test "target procfs".
8482 2014-03-13 Pedro Alves <palves@redhat.com>
8484 * gdb.base/default.exp: Update "target child" and "target procfs"
8485 tests to not expect "Unix".
8487 2014-03-12 Tom Tromey <tromey@redhat.com>
8489 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8490 New procs. Add target-async tests.
8491 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8492 Add target-async tests.
8494 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8496 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8497 'func_start' and 'func_end' for the beginning and end of the
8498 function code, respectively.
8499 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8500 'func_end' instead of 'func' and 'main'.
8502 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8504 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8505 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8506 generate the debug info assembler source.
8508 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8510 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8511 * gdb.dwarf2/arr-subrange.exp: Likewise.
8512 * gdb.dwarf2/dwz.exp: Likewise.
8513 * gdb.dwarf2/method-ptr.exp: Likewise.
8514 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8515 * gdb.dwarf2/subrange.exp: Likewise.
8516 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8517 * gdb.dwarf2/implptrpiece.exp: Likewise.
8518 * gdb.dwarf2/nostaticblock.exp: Likewise.
8520 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8522 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8523 directory to absolute path name arguments.
8525 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8527 * gdb.ada/tagged_access: New testcase.
8529 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8531 * gdb.btrace/data.exp: Update expected output.
8533 2014-03-06 Yao Qi <yao@codesourcery.com>
8535 * gdb.trace/pr16508.exp: New file.
8537 2014-03-05 Pedro Alves <palves@redhat.com>
8540 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8542 (top level): Adjust to use it. Add tests that exercise breakpoint
8543 interaction with the code-cache.
8545 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8547 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8548 test for 'history-append!'.
8550 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8552 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8553 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8554 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8555 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8556 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8557 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8559 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8561 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8562 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8563 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8565 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8567 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8569 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8571 * gdb.dwarf2/arr-stride.c: New file.
8572 * gdb.dwarf2/arr-stride.exp: New file.
8574 2014-02-26 Pedro Alves <palves@redhat.com>
8576 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8577 that won't ever trigger. Make sure that GDB reports the correct
8578 breakpoint that caused the stop.
8580 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8583 * gdb.base/auto-load-script: New file.
8584 * gdb.base/auto-load.c: New file.
8585 * gdb.base/auto-load.exp: New file.
8588 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8590 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8592 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8593 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8595 2014-02-24 Doug Evans <dje@google.com>
8597 * lib/gdb.exp (run_on_host): Log error output if program fails.
8599 2014-02-21 Pedro Alves <palves@redhat.com>
8601 * gdb.threads/step-after-sr-lock.c: Rename to ...
8602 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8603 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8604 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8607 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8610 * gdb.arch/amd64-stap-special-operands.exp: New file.
8611 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8612 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8613 * gdb.arch/amd64-stap-triplet.S: Likewise.
8614 * gdb.arch/amd64-stap-triplet.c: Likewise.
8616 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8618 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8619 in .section pseudo-op.
8621 2014-02-20 lin zuojian <manjian2006@gmail.com>
8622 Joel Brobecker <brobecker@adacore.com>
8623 Doug Evans <xdje42@gmail.com>
8626 * gdb.dwarf2/dw2-icycle.S: New file.
8627 * gdb.dwarf2/dw2-icycle.c: New file.
8628 * gdb.dwarf2/dw2-icycle.exp: New file.
8630 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8632 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8633 operations on gdb.Value objects.
8634 * gdb.python/py-value-cc.exp: Add new test to test operations on
8637 2014-02-18 Doug Evans <dje@google.com>
8639 * Makefile.in (TESTS): New variable.
8640 (expanded_tests, expanded_tests_or_none): New variables
8641 (check-single): Pass $(expanded_tests_or_none) to runtest.
8642 (check-parallel): Only run tests in $(TESTS) if non-empty.
8643 (check/no-matching-tests-found): New rule.
8644 * README: Document TESTS makefile variable.
8646 2014-02-18 Doug Evans <dje@google.com>
8648 * Makefile.in (check-parallel): rm -rf outputs temp.
8650 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8652 Fix "ERROR: no fileid for" in the testsuite.
8653 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8655 2014-02-12 Doug Evans <dje@google.com>
8657 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8658 (MISCELLANEOUS): New variable.
8659 (clean): rm -rf $(MISCELLANEOUS).
8660 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8661 dwp live in the same directory as symlinks, with each symlink pointed
8662 to a differently named file in a different directory.
8664 2014-02-11 Doug Evans <dje@google.com>
8666 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8667 of Tcl file commands.
8669 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8671 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8674 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8676 * gdb.ada/tick_length_array_enum_idx: New testcase.
8678 2014-02-10 Doug Evans <xdje42@gmail.com>
8680 * configure.ac (AC_OUTPUT): Add gdb.guile.
8681 * configure: Regenerate.
8682 * lib/gdb-guile.exp: New file.
8683 * lib/gdb.exp (get_target_charset): New function.
8684 * gdb.base/help.exp: Update expected output from "apropos apropos".
8685 * gdb.guile/Makefile.in: New file.
8686 * gdb.guile/guile.exp: New file.
8687 * gdb.guile/scm-arch.c: New file.
8688 * gdb.guile/scm-arch.exp: New file.
8689 * gdb.guile/scm-block.c: New file.
8690 * gdb.guile/scm-block.exp: New file.
8691 * gdb.guile/scm-breakpoint.c: New file.
8692 * gdb.guile/scm-breakpoint.exp: New file.
8693 * gdb.guile/scm-disasm.c: New file.
8694 * gdb.guile/scm-disasm.exp: New file.
8695 * gdb.guile/scm-equal.c: New file.
8696 * gdb.guile/scm-equal.exp: New file.
8697 * gdb.guile/scm-error.exp: New file.
8698 * gdb.guile/scm-error.scm: New file.
8699 * gdb.guile/scm-frame-args.c: New file.
8700 * gdb.guile/scm-frame-args.exp: New file.
8701 * gdb.guile/scm-frame-args.scm: New file.
8702 * gdb.guile/scm-frame-inline.c: New file.
8703 * gdb.guile/scm-frame-inline.exp: New file.
8704 * gdb.guile/scm-frame.c: New file.
8705 * gdb.guile/scm-frame.exp: New file.
8706 * gdb.guile/scm-generics.exp: New file.
8707 * gdb.guile/scm-gsmob.exp: New file.
8708 * gdb.guile/scm-iterator.c: New file.
8709 * gdb.guile/scm-iterator.exp: New file.
8710 * gdb.guile/scm-math.c: New file.
8711 * gdb.guile/scm-math.exp: New file.
8712 * gdb.guile/scm-objfile-script-gdb.in: New file.
8713 * gdb.guile/scm-objfile-script.c: New file.
8714 * gdb.guile/scm-objfile-script.exp: New file.
8715 * gdb.guile/scm-objfile.c: New file.
8716 * gdb.guile/scm-objfile.exp: New file.
8717 * gdb.guile/scm-ports.exp: New file.
8718 * gdb.guile/scm-pretty-print.c: New file.
8719 * gdb.guile/scm-pretty-print.exp: New file.
8720 * gdb.guile/scm-pretty-print.scm: New file.
8721 * gdb.guile/scm-section-script.c: New file.
8722 * gdb.guile/scm-section-script.exp: New file.
8723 * gdb.guile/scm-section-script.scm: New file.
8724 * gdb.guile/scm-symbol.c: New file.
8725 * gdb.guile/scm-symbol.exp: New file.
8726 * gdb.guile/scm-symtab-2.c: New file.
8727 * gdb.guile/scm-symtab.c: New file.
8728 * gdb.guile/scm-symtab.exp: New file.
8729 * gdb.guile/scm-type.c: New file.
8730 * gdb.guile/scm-type.exp: New file.
8731 * gdb.guile/scm-value-cc.cc: New file.
8732 * gdb.guile/scm-value-cc.exp: New file.
8733 * gdb.guile/scm-value.c: New file.
8734 * gdb.guile/scm-value.exp: New file.
8735 * gdb.guile/source2.scm: New file.
8736 * gdb.guile/types-module.cc: New file.
8737 * gdb.guile/types-module.exp: New file.
8739 2014-02-10 Yao Qi <yao@codesourcery.com>
8742 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8743 * configure: Regenerated.
8744 * Makefile.in: New file.
8746 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8748 * gdb.python/py-framefilter.exp: Fix typo.
8750 2014-02-08 Yao Qi <yao@codesourcery.com>
8752 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8753 that no =breakpoint-modified is emitted when breakpoints are
8754 modified through MI commands.
8756 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8757 Pedro Alves <palves@redhat.com>
8759 * gdb.threads/step-after-sr-lock.c: New file.
8760 * gdb.threads/step-after-sr-lock.exp: New file.
8762 2014-02-07 Pedro Alves <palves@redhat.com>
8764 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8766 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8768 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8769 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8771 2014-02-06 Doug Evans <xdje42@gmail.com>
8773 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8776 * gdb.gdb/python-interrupts.exp: New file.
8778 2014-02-05 Yao Qi <yao@codesourcery.com>
8780 * gdb.trace/report.exp (use_collected_data): Test the output
8781 of "info threads" and "info inferiors".
8783 2014-02-05 Yao Qi <yao@codesourcery.com>
8787 2013-05-24 Yao Qi <yao@codesourcery.com>
8789 * gdb.trace/tfile.exp: Test inferior and thread.
8791 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8793 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8795 * gdb.base/step-bt.c: Call hello via function pointer to make
8796 sure its first instruction is executed on powerpc64le-linux.
8798 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8800 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8802 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8804 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8805 of the test patterns for use on little-endian systems.
8807 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8809 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8810 (decimal_vector): Fix for little-endian.
8812 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8814 * gdb.arch/sparc-sysstep.exp: New file.
8815 * gdb.arch/sparc-sysstep.c: Likewise.
8817 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8819 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8821 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8823 2014-01-23 Tom Tromey <tromey@redhat.com>
8825 * gdb.ada/array_char_idx: New testcase.
8827 2014-01-23 Tom Tromey <tromey@redhat.com>
8830 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8831 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8834 2014-01-23 Tom Tromey <tromey@redhat.com>
8837 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8838 string from an inferior frame.
8839 * gdb.python/py-framefilter-mi.exp: Update.
8841 2014-01-22 Doug Evans <dje@google.com>
8843 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8845 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8847 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8849 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8851 * gdb.trace/entry-values.exp: Remove excess space character from
8852 regex patterns. Handle s390 call instruction.
8854 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8856 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8857 define "*_start" label. Make "name" static.
8858 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8859 ${name} by references to ${name}_start.
8861 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8863 * gdb.base/info-macros.exp: Remove "debug" from the compile
8866 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8868 * gdb.dlang/demangle.exp: New file.
8870 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8872 * gdb.dlang/primitive-types.exp: New file.
8874 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8876 * configure.ac: Create gdb.dlang/Makefile.
8877 * configure: Regenerate.
8878 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8879 * gdb.dlang/Makefile.in: New file.
8880 * lib/d-support.exp: New file.
8881 * lib/gdb.exp (skip_d_tests): New proc.
8883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8885 * gdb.btrace/delta.exp: Check reverse stepi.
8886 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8887 * gdb.btrace/finish.exp: New.
8888 * gdb.btrace/next.exp: New.
8889 * gdb.btrace/nexti.exp: New.
8890 * gdb.btrace/record_goto.c: Add comments.
8891 * gdb.btrace/step.exp: New.
8892 * gdb.btrace/stepi.exp: New.
8893 * gdb.btrace/multi-thread-step.c: New.
8894 * gdb.btrace/multi-thread-step.exp: New.
8895 * gdb.btrace/rn-dl-bind.c: New.
8896 * gdb.btrace/rn-dl-bind.exp: New.
8897 * gdb.btrace/data.c: New.
8898 * gdb.btrace/data.exp: New.
8899 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8901 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8903 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8904 * gdb.btrace/exception.exp: Update.
8905 * gdb.btrace/instruction_history.exp: Update.
8906 * gdb.btrace/record_goto.exp: Update.
8907 * gdb.btrace/tailcall.exp: Update.
8908 * gdb.btrace/unknown_functions.exp: Update.
8909 * gdb.btrace/delta.exp: New.
8911 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8913 * gdb.btrace/record_goto.exp: Add backtrace test.
8914 * gdb.btrace/tailcall.exp: Add backtrace test.
8916 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8918 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8919 * gdb.btrace/record_goto.c: New.
8920 * gdb.btrace/record_goto.exp: New.
8921 * gdb.btrace/x86-record_goto.S: New.
8923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8925 * gdb.btrace/function_call_history.exp: Update tests.
8926 * gdb.btrace/instruction_history.exp: Update tests.
8928 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8930 * gdb.btrace/function_call_history.exp: Fix expected field
8931 order for "record function-call-history".
8932 Add new tests for "record function-call-history /c".
8933 * gdb.btrace/exception.cc: New.
8934 * gdb.btrace/exception.exp: New.
8935 * gdb.btrace/tailcall.exp: New.
8936 * gdb.btrace/x86-tailcall.S: New.
8937 * gdb.btrace/x86-tailcall.c: New.
8938 * gdb.btrace/unknown_functions.c: New.
8939 * gdb.btrace/unknown_functions.exp: New.
8940 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8944 * gdb.btrace/instruction_history.exp: Update.
8945 * gdb.btrace/function_call_history.exp: Update.
8947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8949 * gdb.btrace/function_call_history.exp: Fix expected function
8951 * gdb.btrace/instruction_history.exp: Initialize traced.
8952 Remove traced_functions.
8954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8956 * gdb.btrace/function_call_history.exp: Update
8957 * gdb.btrace/instruction_history.exp: Update.
8959 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8961 * gdb.btrace/enable.exp: Update expected text.
8963 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8965 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8968 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8970 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8972 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8974 * lib/gdb.exp (supports_process_record): Return true for
8975 arm*-linux*. (supports_reverse): Likewise.
8977 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8981 * gdb.python/py-type.c: Enhance test case.
8982 * gdb.python/py-value-cc.cc: Likewise
8983 * gdb.python/py-type.exp: Add new tests.
8984 * gdb.python/py-value-cc.exp: Likewise
8986 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8987 Pedro Alves <palves@redhat.com>
8989 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8991 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8992 references to ${name}_start by references to ${name}.
8994 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8996 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8998 2014-01-10 Joel Brobecker <brobecker@adacore.com>
9000 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
9002 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
9003 Pedro Alves <palves@redhat.com>
9005 * gdb.mi/mi-info-os.exp: Connect to the target with
9008 2014-01-08 Pedro Alves <palves@redhat.com>
9010 * gdb.threads/reconnect-signal.c: New file.
9011 * gdb.threads/reconnect-signal.exp: New file.
9013 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9015 * gdb.base/source-dir.exp: New file.
9017 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9019 * gdb.ada/mi_interface: New testcase.
9021 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9023 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
9024 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
9025 gdb.ada/pp-rec-component/pck.ads: New files.
9027 2014-01-07 Joel Brobecker <brobecker@adacore.com>
9029 * gdb.python/py-pp-integral.c: New file.
9030 * gdb.python/py-pp-integral.py: New file.
9031 * gdb.python/py-pp-integral.exp: New file.
9033 For older changes see ChangeLog-1993-2013.
9039 ;; version-control: never
9042 Copyright 2014-2016 Free Software Foundation, Inc.
9043 Copying and distribution of this file, with or without modification,
9044 are permitted provided the copyright notice and this notice are preserved.