1 2016-08-03 Tom Tromey <tom@tromey.com>
4 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6 2016-08-01 Yao Qi <yao.qi@linaro.org>
8 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9 variable mode to "multi-process" if $multi_process is 1, otherwise
10 set it to "single-process".
12 2016-08-01 Yao Qi <yao.qi@linaro.org>
14 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
15 * gdb.cp/cpexprs.exp: Likewise.
16 * gdb.cp/m-static.exp: Likewise.
18 2016-07-26 Tom Tromey <tom@tromey.com>
21 * gdb.threads/tls.exp (check_thread_local): Add python symbol
24 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
26 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
27 selecting assembly source files.
28 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
29 assembly source files.
30 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
31 assembly source files.
32 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
33 selecting assembly source files.
35 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
37 * gdb.base/new-ui.exp (do_test_invalid_args): New
40 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
42 * gdb.btrace/reconnect.c: New file.
43 * gdb.btrace/reconnect.exp: New file.
45 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
47 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
48 to test_catch_syscall_group.
49 (test_catch_syscall_group): New.
51 2016-07-21 Tom Tromey <tom@tromey.com>
53 * gdb.rust/simple.rs (main): Use empty struct expression.
54 * gdb.rust/simple.exp: Add tests for empty struct expression.
56 2016-07-21 Yao Qi <yao.qi@linaro.org>
58 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
59 if gdb_skip_xml_test is true on some targets.
61 2016-07-21 Yao Qi <yao.qi@linaro.org>
63 * gdb.server/solib-list.exp: Unset last_loaded_file.
65 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
67 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
68 "step into captured_main (args)".
70 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
72 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
74 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
76 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
78 2016-07-19 Pedro Alves <palves@redhat.com>
80 * gdb.opt/inline-break.exp: Remove optimize=-O2.
81 * gdb.opt/inline-bt.exp: Likewise.
82 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
83 additional_flags=-Winline.
84 * gdb.opt/inline-locals.exp: Likewise.
85 * gdb.opt/inline-markers.c (ATTR): Define.
88 2016-07-19 Yao Qi <yao.qi@linaro.org>
90 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
91 (test_with_self): Remove some code. Remove argument executable.
92 (top-level): Use do_self_tests.
94 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
95 Don Breazeal <donb@codesourcery.com>
97 * gdb.base/maint.exp: Escape paths used in regular expressions.
98 * gdb.stabs/weird.exp: Likewise.
100 2016-07-13 Tom Tromey <tom@tromey.com>
102 PR python/15620, PR python/18620:
103 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
104 (test_bkpt_events): New procs.
106 2016-07-13 Tom Tromey <tom@tromey.com>
109 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
111 (test_watchpoints): Likewise.
112 (test_bkpt_pending): New proc.
114 2016-07-13 Tom Tromey <tom@tromey.com>
117 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
120 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
122 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
123 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
124 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
126 (g): Rename g_end_lbl to g_label.
127 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
129 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
131 2016-07-12 Tom Tromey <tom@tromey.com>
134 * gdb.python/py-unwind-maint.exp: Update tests.
136 2016-07-12 Yao Qi <yao.qi@linaro.org>
138 * lib/selftest-support.exp (selftest_setup): Match the output
139 when captured_main is inlined.
141 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
143 * gdb.fortran/derived-types.exp (result_line, result_line_2):
145 (print this%a, print this%b, print this): New tests.
146 * gdb.fortran/derived-types.f90 (this): New object and
149 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
151 * gdb.ada/arraydim.exp: Remove extra directory level in build
154 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
156 * lib/ada.exp: Remove extra directory level in build directory.
157 * gdb.ada/cond_lang.exp: Likewise.
158 * gdb.ada/exec_changed.exp: Likewise.
159 * gdb.ada/lang_switch.exp: Likewise.
161 2016-07-06 Manish Goregaokar <manish@mozilla.com>
163 * simple.rs: Add test for raw pointer subscripting
164 * simple.exp: Add test expectations
166 2016-07-05 Yao Qi <yao.qi@linaro.org>
168 * gdb.mi/mi-reverse.exp: Match =record-started output.
170 2016-07-01 Pedro Alves <palves@redhat.com>
172 * gdb.base/jit-reader.exp (info_registers_current_frame): New
174 (jit_reader_test): Test the jit reader's unwinder.
175 * gdb.base/jithost.c (jit_function_00_code): New global.
176 (main): Use memcpy to fill in the mmapped code, instead of poking
178 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
180 (read_debug_info): Save the function's range.
181 (read_sp): New function.
182 (unwind_frame): Use it. Also unwind RBP.
183 (get_frame_id): Use read_sp.
184 (gdb_init_reader): Use calloc instead of malloc.
185 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
186 parameter. Use gdb_test_multiple.
188 2016-07-01 Pedro Alves <palves@redhat.com>
189 Antoine Tremblay <antoine.tremblay@ericsson.com>
191 * gdb.threads/process-dies-while-detaching.c: New file.
192 * gdb.threads/process-dies-while-detaching.exp: New file.
194 2016-07-01 Pedro Alves <palves@redhat.com>
196 * gdb.multi/watchpoint-multi-exit.c: New file.
197 * gdb.multi/watchpoint-multi-exit.exp: New file.
199 2016-06-30 Pedro Alves <palves@redhat.com>
201 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
202 unset inferior_spawn_id.
204 2016-06-30 Pedro Alves <palves@redhat.com>
206 * lib/mi-support.exp (default_mi_gdb_start): Declare global
207 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
209 2016-06-29 Yao Qi <yao.qi@linaro.org>
211 * gdb.base/return.c: Add copyright header.
213 2016-06-29 Tom Tromey <tom@tromey.com>
216 * gdb.python/py-framefilter.exp: Add tests for setting priority
217 and disabling of non-existent frame filter.
219 2016-06-29 Yao Qi <yao.qi@linaro.org>
221 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
224 2016-06-28 Yao Qi <yao.qi@linaro.org>
226 * gdb.base/catch-syscall.exp: Remove check on isnative and target
227 triplets. Start gdb, execute catch syscall, and continue. Check
228 gdb's output to determine catch syscall is supported.
230 2016-06-27 Manish Goregaokar <manish@mozilla.com>
232 * gdb.rust/simple.rs: Add test for returning unit in a function.
233 * gdb.rust/simple.exp: Add expectation for functions returning
236 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
238 * gdb.python/py-breakpoint-create-fail.c,
239 gdb.python/py-breakpoint-create-fail.exp,
240 gdb.python/py-breakpoint-create-fail.py: New testcase.
242 2016-06-25 Manish Goregaokar <manish@mozilla.com>
245 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
246 * gdb.rust/simple.exp: Add test expectations for new NonZero
249 2016-06-24 David Taylor <dtaylor@emc.com>
251 * gdb.base/offsets.exp: New file.
252 * gdb.base/offsets.c: New file.
254 2016-06-23 Tom Tromey <tom@tromey.com>
257 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
258 before any filters are loaded.
260 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
262 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
263 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
265 * gdb.fortran/derived-type-function.exp: New file.
266 * gdb.fortran/derived-type-function.f90: New file.
269 2016-06-21 Pedro Alves <palves@redhat.com>
271 * gdb.base/new-ui.exp: New file.
272 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
273 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
274 (with_spawn_id): New procedure.
276 2016-06-21 Pedro Alves <palves@redhat.com>
278 * gdb.mi/mi-exec-run.exp: New file.
280 2016-06-21 Pedro Alves <palves@redhat.com>
282 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
283 breakpoint command's output on the main UI.
284 (test_break): New procedure, factored out from calls in the top
286 (top level): Use foreach_with_prefix to test MI as main UI and as
289 2016-06-21 Pedro Alves <palves@redhat.com>
291 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
292 (test_awatch_creation_and_listing)
293 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
294 Remove 'type' parameter.
295 (test_watchpoint_all): New parameter mi_mode. Remove
297 (top level): Use foreach_with_prefix, and add main/separate UI MI
300 2016-06-21 Pedro Alves <palves@redhat.com>
302 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
303 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
304 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
305 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
306 (gdb_main_spawn_id, mi_spawn_id): Declare and
308 (mi_create_inferior_pty): New procedure,
309 factored out from default_mi_gdb_start.
310 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
312 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
313 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
314 Use mi_create_inferior_pty.
315 (mi_gdb_start): Use eval to pass down args list.
317 2016-06-21 Pedro Alves <palves@redhat.com>
319 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
320 * gdb.opt/inline-cmds.exp: Add MI tests.
322 2016-06-21 Pedro Alves <palves@redhat.com>
324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
326 2016-06-21 Pedro Alves <palves@redhat.com>
328 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
329 (top level): Use it instead of mi_execute_to.
331 2016-06-21 Pedro Alves <palves@redhat.com>
333 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
334 (cont_handler_str): New.
335 (signal_stop_handler): Set stop_handler_str instead of printing to
337 (continue_handler): Set cont_handler_str instead of printing to
339 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
340 mi_send_resuming_command. Print stop_handler_str and
341 cont_handler_str instead of expecting the python events print
344 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
346 * gdb.base/jit-reader.exp: New file.
347 * gdb.base/jithost.c: New file.
348 * gdb.base/jithost.h: New file.
349 * gdb.base/jitreader.c : New file.
350 * gdb.base/jit-protocol.h: New file.
352 2016-06-17 Yao Qi <yao.qi@linaro.org>
354 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
355 parameters follow_fork and detach_on_fork. Set follow-fork-mode
356 and detach-on-fork. Adjust tests.
357 (top level): Invoke break_cond_on_syscall with combinations of
358 syscall, follow-fork-mode and detach-on-fork.
360 2016-06-17 Yao Qi <yao.qi@linaro.org>
362 * gdb.base/step-over-exit.c: New.
363 * gdb.base/step-over-exit.exp: New.
365 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
367 * gdb.base/float.exp: Add target check for nds32*-*-*.
368 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
370 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
372 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
373 for unsupported target features.
374 * gdb.base/call-rt-st.exp: Likewise.
375 * gdb.base/call-sc.exp: Likewise.
376 * gdb.base/call-signal-resume.exp: Likewise.
377 * gdb.base/call-strs.exp: Likewise.
378 * gdb.base/callexit.exp: Likewise.
379 * gdb.base/callfuncs.exp: Likewise.
380 * gdb.base/nodebug.exp: Likewise.
381 * gdb.base/printcmds.exp: Likewise.
382 * gdb.base/ptype.exp: Likewise.
383 * gdb.base/structs.exp: Likewise.
384 * gdb.base/unwindonsignal.exp: Likewise.
385 * gdb.cp/gdb2495.exp: Likewise.
386 * gdb.cp/templates.exp: Likewise.
387 * gdb.cp/virtfunc.exp: Likewise.
388 * gdb.threads/hand-call-in-threads.exp: Likewise.
389 * gdb.threads/interrupted-hand-call.exp: Likewise.
390 * gdb.threads/thread-unwindonsignal.exp: Likewise.
392 2016-06-10 Tom Tromey <tom@tromey.com>
395 * gdb.rust/expr.exp: Add test for integer constant larger than
398 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
400 * gdb.fortran/nested-funcs.exp: New.
401 * gdb.fortran/nested-funcs.f90: New.
403 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
405 * gdb.base/examine-backward.c: New file.
406 * gdb.base/examine-backward.exp: New file.
408 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
410 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
413 2016-06-02 Tom Tromey <tom@tromey.com>
416 * gdb.python/py-shared.exp: Add solib_name test.
418 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
420 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
422 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
425 * gdb.dwarf2/implref.exp: Rename to...
426 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
427 * gdb.dwarf2/implref-array.c: New file.
428 * gdb.dwarf2/implref-array.exp: Likewise.
429 * gdb.dwarf2/implref-global.c: Likewise.
430 * gdb.dwarf2/implref-global.exp: Likewise.
431 * gdb.dwarf2/implref-struct.c: Likewise.
432 * gdb.dwarf2/implref-struct.exp: Likewise.
434 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
436 * gdb.trace/trace-condition.exp: Add 64bit tests.
438 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
440 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
442 (main): Adapt to 8 to 64 bits types.
443 * gdb.trace/trace-condition.exp: Add new tests.
445 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
447 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
449 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
451 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
452 Move condition tests...
453 * gdb.trace/trace-condition.exp: Here.
455 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
457 * gdb.trace/trace-condition.exp: Add counter-case tests.
459 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
462 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
463 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
465 2016-05-27 Pedro Alves <palves@redhat.com>
467 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
469 (top level): Call it, and bail out of DejaGnu is known to be bad.
471 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
473 * gdb.base/whatis.c: Extend the test case.
474 * gdb.base/whatis.exp: Add additional tests.
476 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
478 * gdb.fortran/type.f90: Add pointer variable.
479 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
481 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
483 * gdb.fortran/vla-type.exp: Fix testcase name.
485 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
487 * gdb.fortran/vla-type.exp: Access elements in nested structs.
489 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
491 * gdb.fortran/type.f90: Add nested structures.
492 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
493 * gdb.fortran/derived-type.exp: Adapt expected output.
494 * gdb.fortran/vla-type.exp: Adapt expected output.
496 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
498 * gdb.fortran/whatis_type.exp: Adapt expected output.
500 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
502 * gdb.fortran/print_type.exp: Fix expected output.
503 * gdb.fortran/whatis_type.exp: Fix expected output.
505 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
507 * gdb.fortran/whatis_type.exp: Use multi_line.
509 2016-05-24 Tom Tromey <tom@tromey.com>
512 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
513 use value as an index.
515 2016-05-23 Tom Tromey <tom@tromey.com>
518 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
521 2016-05-24 Pedro Alves <palves@redhat.com>
524 * gdb.threads/clone-attach-detach.c: New file.
525 * gdb.threads/clone-attach-detach.exp: New file.
527 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
529 * gdb.base/annota-input-while-running.exp: Fix syntax error.
531 2016-05-23 Tom Tromey <tom@tromey.com>
533 PR python/19438, PR python/18393:
534 * gdb.python/py-progspace.exp: Add "dir" test.
535 * gdb.python/py-objfile.exp: Add "dir" test.
537 2016-05-23 Yao Qi <yao.qi@linaro.org>
539 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
540 * gdb.arch/thumb2-it.exp: Likewise.
542 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
544 * gdb.mi/mi-threads-interrupt.c: New file.
545 * gdb.mi/mi-threads-interrupt.exp: New file.
547 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
550 * gdb.mi/mi-async-run.exp: New file.
551 * gdb.mi/mi-async-run.c: New file.
553 2016-05-17 Tom Tromey <tom@tromey.com>
554 Manish Goregaokar <manishsmail@gmail.com>
556 * lib/rust-support.exp: New file.
557 * lib/gdb.exp (skip_rust_tests): New proc.
558 (build_executable_from_specs): Handle rust.
559 * lib/future.exp (gdb_find_rustc): New proc.
560 (gdb_default_target_compile): Handle rust.
561 * gdb.rust/expr.exp: New file.
562 * gdb.rust/generics.exp: New file.
563 * gdb.rust/generics.rs: New file.
564 * gdb.rust/methods.exp: New file.
565 * gdb.rust/methods.rs: New file.
566 * gdb.rust/modules.exp: New file.
567 * gdb.rust/modules.rs: New file.
568 * gdb.rust/simple.exp: New file.
569 * gdb.rust/simple.rs: New file.
571 2016-05-17 Tom Tromey <tom@tromey.com>
573 * gdb.base/default.exp (set language): Add rust.
575 2016-05-17 Tom Tromey <tom@tromey.com>
577 * gdb.gdb/unittest.exp: New file.
579 2016-05-16 Yao Qi <yao.qi@linaro.org>
581 * gdb.base/batch-preserve-term-settings.exp: Remove variable
582 shell_prompt. Update shell_prompt_re.
584 2016-05-12 Doug Evans <dje@google.com>
587 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
588 $options when building executable.
589 * gdb.dwarf2/fission-loclists-pie.S: New file.
590 * gdb.dwarf2/fission-loclists-pie.exp: New file.
592 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
594 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
595 of [is_remote target],
597 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
599 * lib/gdb.exp (use_gdb_stub): New procedure.
601 2016-05-03 Yunlian Jiang <yunlian@google.com>
602 Doug Evans <dje@google.com>
605 * gdb.dwarf2/dwp-sepdebug.c: New file.
606 * gdb.dwarf2/dwp-sepdebug.exp: New file.
608 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
610 * gdb.base/detach.exp: Remove is_remote check.
612 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
614 * gdb.base/annota-input-while-running.exp: Don't check for
615 [is_remote target]. Enable annotations after running to main.
616 Remove unused "set test..." line.
618 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
620 * gdb.trace/trace-enable-disable.exp: New file.
621 * gdb.trace/trace-enable-disable.c: New file.
623 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
625 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
626 use it in info sharedlibrary test.
627 * gdb.trace/ftrace-lock.exp: Likewise.
628 * gdb.trace/ftrace.exp: Likewise.
629 * gdb.trace/range-stepping.exp: Likewise.
630 * gdb.trace/trace-break.exp: Likewise.
631 * gdb.trace/trace-condition.exp: Likewise.
632 * gdb.trace/trace-mt.exp: Likewise.
634 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
636 * lib/gdb.exp (gdb_load_shlibs): Rename to...
637 (gdb_load_shlib): ... this.
638 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
640 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
641 * gdb.base/ctxobj.exp: Likewise.
642 * gdb.base/dprintf-pending.exp: Likewise.
643 * gdb.base/dso2dso.exp: Likewise.
644 * gdb.base/fixsection.exp: Likewise.
645 * gdb.base/gcore-relro.exp: Likewise.
646 * gdb.base/gdb1555.exp: Likewise.
647 * gdb.base/global-var-nested-by-dso.exp: Likewise.
648 * gdb.base/gnu-ifunc.exp: Likewise.
649 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
650 * gdb.base/jit-so.exp (one_jit_test): Likewise.
651 * gdb.base/pending.exp: Likewise.
652 * gdb.base/print-file-var.exp: Likewise.
653 * gdb.base/print-symbol-loading.exp: Likewise.
654 * gdb.base/shlib-call.exp: Likewise.
655 * gdb.base/shreloc.exp: Likewise.
656 * gdb.base/so-impl-ld.exp: Likewise.
657 * gdb.base/solib-disc.exp: Likewise.
658 * gdb.base/solib-nodir.exp: Likewise.
659 * gdb.base/solib-overlap.exp: Likewise.
660 * gdb.base/solib-symbol.exp: Likewise.
661 * gdb.base/solib-weak.exp (do_test): Likewise.
662 * gdb.base/sym-file.exp: Likewise.
663 * gdb.base/symtab-search-order.exp: Likewise.
664 * gdb.base/type-opaque.exp: Likewise.
665 * gdb.base/unload.exp: Likewise.
666 * gdb.base/watchpoint-solib.exp: Likewise.
667 * gdb.compile/compile.exp: Likewise.
668 * gdb.cp/gdb2384.exp: Likewise.
669 * gdb.cp/infcall-dlopen.exp: Likewise.
670 * gdb.cp/re-set-overloaded.exp: Likewise.
671 * gdb.fortran/library-module.exp: Likewise.
672 * gdb.opt/solib-intra-step.exp: Likewise.
673 * gdb.python/py-finish-breakpoint.exp: Likewise.
674 * gdb.python/py-shared.exp: Likewise.
675 * gdb.reverse/solib-precsave.exp: Likewise.
676 * gdb.reverse/solib-reverse.exp: Likewise.
677 * gdb.server/solib-list.exp: Likewise.
678 * gdb.threads/dlopen-libpthread.exp: Likewise.
679 * gdb.threads/tls-shared.exp: Likewise.
680 * gdb.threads/tls-so_extern.exp: Likewise.
681 * gdb.trace/change-loc.exp: Likewise.
682 * gdb.trace/ftrace-lock.exp: Likewise.
683 * gdb.trace/ftrace.exp: Likewise.
684 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
685 * gdb.trace/pending.exp: Likewise.
686 * gdb.trace/range-stepping.exp: Likewise.
687 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
688 (strace_info_marker): Likewise.
689 (strace_probe_marker): Likewise.
690 (strace_trace_on_same_addr): Likewise.
691 (strace_trace_on_diff_addr): Likewise.
692 * gdb.trace/trace-break.exp: Likewise.
693 * gdb.trace/trace-condition.exp: Likewise.
694 * gdb.trace/trace-mt.exp: Likewise.
696 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
698 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
699 result of gdb_remote_download.
700 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
701 * gdb.base/dso2dso.exp: Likewise.
702 * gdb.base/global-var-nested-by-dso.exp: Likewise.
703 * gdb.base/print-file-var.exp: Likewise.
704 * gdb.base/shlib-call.exp: Likewise.
705 * gdb.base/shreloc.exp: Likewise.
706 * gdb.base/solib-overlap.exp: Likewise.
707 * gdb.base/solib-weak.exp (do_test): Likewise.
708 * gdb.base/unload.exp: Likewise.
710 2016-04-27 Yao Qi <yao.qi@linaro.org>
712 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
715 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
717 * vla-type.exp: Print structure from toplevel.
719 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
721 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
723 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
726 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
728 * gdb.fortran/vla-type.f90: New file.
729 * gdb.fortran/vla-type.exp: New file.
731 2016-04-25 Yao Qi <yao.qi@linaro.org>
733 * gdb.base/branch-to-self.c: New file.
734 * gdb.base/branch-to-self.exp: New file.
736 2016-04-22 Yao Qi <yao.qi@linaro.org>
738 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
741 2016-04-22 Yao Qi <yao.qi@linaro.org>
743 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
744 * gdb.base/annota3.exp: Likewise.
746 2016-04-22 Yao Qi <yao.qi@linaro.org>
748 * gdb.reverse/step-precsave.exp: Do one step and test program
749 stops in "callee" and do multiple steps until program goes out
751 * gdb.reverse/step-reverse.exp: Likewise.
753 2016-04-22 Yao Qi <yao.qi@linaro.org>
755 * gdb.trace/signal.exp: Also pass if
756 $tracepoint_hits($i) > $iterations.
758 2016-04-22 Yao Qi <yao.qi@linaro.org>
760 * gdb.trace/signal.c: New file.
761 * gdb.trace/signal.exp: New file.
763 2016-04-19 Doug Evans <xdje42@gmail.com>
765 * gdb.base/bad-file.exp: New file.
767 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
769 * gdb.dwarf2/implref.exp: New file.
771 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
773 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
774 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
775 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
776 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
777 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
778 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
779 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
780 * lib/fortran.exp (fortran_int4): New procedure.
781 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
782 (fortran_logical4): Likewise.
784 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
786 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
788 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
790 * lib/compiler.c: Add Intel specific preprocessor macros.
791 * lib/compiler.cc: Likewise.
793 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
795 * gdb.server/connect-with-no-symbol-file.c: New file.
796 * gdb.server/connect-with-no-symbol-file.exp: New file.
798 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
800 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
802 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
804 * boards/gdbserver-base.exp (${board}_download): Copy source file to
805 standard output directory.
807 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
809 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
811 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
813 * gdb.btrace/instruction_history.c (loop): Add declaration.
815 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
817 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
819 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
821 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
822 parentheses to print.
823 (continue_handler): Likewise.
825 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
827 * gdb.server/solib-list.exp: Remove is_remote check.
828 Pass shlib= to gdb_compile. Don't link shared library with
829 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
830 Run binary filename through "readlink -f" on the target.
832 2016-04-08 Pedro Alves <palves@redhat.com>
834 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
835 interpreter filename as argument to gdbserver_spawn.
836 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
837 Return empty if $last_loaded_file does not exist.
839 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
841 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
842 * gdb.base/jit-main.c: Use exit after usage.
844 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
846 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
847 GDBHISTSIZE prior to the tests.
848 * gdb.base/gdbinit-history.exp: Likewise.
850 2016-04-07 Pedro Alves <palves@redhat.com>
852 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
853 instead of build_executable. Use gdb_load_shlibs.
855 2016-04-07 Yao Qi <yao.qi@linaro.org>
857 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
858 Execute "si" command.
860 2016-04-07 Yao Qi <yao.qi@linaro.org>
862 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
863 number instead of the comments on some line.
865 2016-04-06 Don Breazeal <donb@codesourcery.com>
867 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
868 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
870 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
872 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
873 standard_output_file. Remove unused binfile variable.
875 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
877 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
878 * gdb.python/py-mi-objfile.exp: Match "list main" output
881 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
883 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
886 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
888 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
890 * gdb.trace/ftrace.exp: Likewise.
891 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
893 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
894 (gdb_load_shlibs): Copy libraries to test directory when testing
895 natively. Only set solib-search-path if testing remotely.
896 * lib/mi-support.exp (mi_load_shlibs): Likewise.
898 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
900 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
901 gdb_download. Use it even if the target is not remote.
902 * gdb.base/jit.exp (compile_jit_test): Likewise.
903 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
904 output directory if the destination board is local, otherwise use
905 the standard remote_download from DejaGnu.
906 (gdb_download): Remove.
907 (gdb_load_shlibs): Use gdb_remote_download instead of
909 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
910 Use gdb_remote_download instead of gdb_download. Use it even if
911 the target is not remote.
912 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
913 instead of gdb_download.
915 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
917 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
918 (test_insert_delete_modify): Call mi_load_shlibs before trying to
921 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
924 * gdb.base/printcmds.exp: Add artificial arrays tests.
926 2016-03-31 Pedro Alves <palves@redhat.com>
929 * gdb.base/jit-main.c: Include unistd.h.
930 (ATTACH): Define to 0 if not already defined.
931 (wait_for_gdb, mypid): New globals.
932 (WAIT_FOR_GDB): New macro.
933 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
934 some breakpoint locations.
935 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
937 (one_jit_test): Add REATTACH parameter, and handle it. Use
938 continue_to_test_location.
939 (top level): Test attach, and adjusts calls to one_jit_test.
941 2016-03-31 Pedro Alves <palves@redhat.com>
944 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
945 BINSUFFIX parameter, and handle it.
946 (top level): Adjust calls compile_jit_test.
948 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
951 * gdb.python/py-mi-events-gdb.py: New file.
952 * gdb.python/py-mi-events.c: New file.
953 * gdb.python/py-mi-events.exp: New file.
955 2016-03-30 Yao Qi <yao.qi@linaro.org>
957 * gdb.reverse/until-precsave.exp: Match function name only.
958 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
959 Move malloc to a condition block.
960 * gdb.reverse/until-reverse.exp: Match function name only.
962 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
964 * gdb.trace/ftrace.exp: Set arg0exp for s390.
965 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
966 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
967 variable for GPR 0 instead of assuming it is register 0.
968 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
969 * lib/trace-support.exp: Add s390 registers.
971 2016-03-29 Yao Qi <yao.qi@linaro.org>
973 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
975 2016-03-24 Yao Qi <yao.qi@linaro.org>
977 * gdb.reverse/break-reverse.exp: Add quotation mark in the
980 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
982 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
983 maintaining separate logic for constructing the output path.
985 2016-03-16 Don Breazeal <donb@codesourcery.com>
987 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
988 Retry fork and waitpid on interrupted system call errors.
989 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
990 Use with_timeout_factor to increase timeout by factor of 10.
992 2016-03-15 Don Breazeal <donb@codesourcery.com>
994 * gdb.cp/scope-err.cc: New test program.
995 * gdb.cp/scope-err.exp: New test script.
996 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
997 lines and "set breakpoint here" comment.
998 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
999 Fixed some whitespace and format issues.
1000 * gdb.mi/mi-linespec-err-cp.cc: New test program.
1001 * gdb.mi/mi-linespec-err-cp.exp: New test script.
1003 2016-03-15 Doug Evans <dje@google.com>
1005 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
1006 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
1007 All callers updated. Add tests for enums, mixed flags register.
1009 2016-03-15 Doug Evans <dje@google.com>
1011 * gdb.base/skip.c (main): Call test_skip_file_and_function.
1012 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
1014 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
1016 * gdb.base/default.exp: Add $_as_string to the list of expected
1017 convenience functions.
1019 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1021 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1023 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1025 * gdb.python/py-as-string.exp: New file.
1026 * gdb.python/py-as-string.c: New file.
1028 2016-03-09 Pedro Alves <palves@redhat.com>
1030 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1031 signal" -> "Thread NN received signal" output change.
1032 * gdb.threads/ia64-sigill.exp: Likewise.
1033 * gdb.threads/linux-dp.exp: Likewise.
1034 * gdb.threads/manythreads.exp: Likewise.
1035 * gdb.threads/pending-step.exp: Likewise.
1036 * gdb.threads/print-threads.exp: Likewise.
1037 * gdb.threads/sigstep-threads.exp: Likewise.
1038 * gdb.threads/staticthreads.exp: Likewise.
1039 * gdb.threads/tls.exp: Likewise.
1041 2016-03-09 Pedro Alves <palves@redhat.com>
1043 * gdb.base/command-line-input.exp: New file.
1045 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1047 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1048 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1049 * gdb.trace/pending.exp: Accept leading dot before function name.
1050 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1051 * lib/trace-support.exp: Set registers for ppc.
1053 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1055 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1056 use it for disassembly; accept .main in addition to main in backtrace.
1058 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1059 Marcin Kościelnicki <koriakin@0x04.net>
1061 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1062 (gdb_recursion_test_ptr): New global variable.
1063 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1065 (gdb_c_test): Ditto.
1067 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1069 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1072 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1074 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1075 (bar): Add bar_start_lbl label.
1076 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1077 of foo/bar for emitting DWARF and tracing.
1079 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1081 * analyze-racy-logs.py: Set executable bit.
1083 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1085 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1086 (CHECK_TARGET_TMP): Likewise.
1087 (check-single-racy): New rule.
1088 (check-parallel-racy): Likewise.
1089 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1090 (do-check-parallel-racy): New rule.
1091 (check-racy/%.exp): Likewise.
1092 * README (Racy testcases): New section.
1093 * analyze-racy-logs.py: New file.
1095 2016-03-03 Doug Evans <dje@google.com>
1097 * gdb.base/skip.exp: Use with_test_prefix.
1099 2016-03-03 Yao Qi <yao.qi@linaro.org>
1101 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1102 Invoke step_over_syscall "clone" and break_cond_on_syscall
1104 * gdb.base/step-over-clone.c: New file.
1106 2016-03-03 Yao Qi <yao.qi@linaro.org>
1108 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1111 2016-03-03 Yao Qi <yao.qi@linaro.org>
1113 * gdb.base/disp-step-fork.c: Rename to ...
1114 * gdb.base/step-over-fork.c: ... it. New file.
1115 * gdb.base/disp-step-vfork.c: Rename to ...
1116 * gdb.base/step-over-vfork.c: ... it. New file.
1117 * gdb.base/disp-step-syscall.exp: Rename to ...
1118 * gdb.base/step-over-syscall.exp: ... it. New file.
1119 (disp_step_cross_syscall): Rename to ...
1120 (step_over_syscall): ... it.
1122 2016-03-03 Yao Qi <yao.qi@linaro.org>
1124 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1125 If target supports condition evaluation on target, invoke
1126 break_cond_on_syscall for fork and vfork.
1128 2016-03-03 Yao Qi <yao.qi@linaro.org>
1130 * gdb.base/disp-step-syscall.exp: Don't invoke
1131 support_displaced_stepping.
1132 (disp_step_cross_syscall): Test with displaced stepping off and
1135 2016-03-03 Yao Qi <yao.qi@linaro.org>
1137 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1140 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1143 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1145 * gdb.fortran/vla-history.exp: Remove breakpoint.
1147 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1149 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1152 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1154 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1157 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1159 * gdb.mi/vla.f90: Nullify pointer after declaration.
1161 2016-03-01 Pedro Alves <palves@redhat.com>
1163 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1165 2016-03-01 Pedro Alves <palves@redhat.com>
1167 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1168 before anything else.
1169 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1171 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1172 before anything else.
1173 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1175 2016-03-01 Pedro Alves <palves@redhat.com>
1177 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1179 2016-03-01 Yao Qi <yao.qi@linaro.org>
1181 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1182 prepare_for_testing.
1184 2016-03-01 Yao Qi <yao.qi@linaro.org>
1186 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1188 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1190 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1191 manually constructing the output path.
1193 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1195 * gdb.arch/s390-stackless.S: New.
1196 * gdb.arch/s390-stackless.exp: New.
1198 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1200 * gdb.dlang/circular.c: New file.
1201 * gdb.dlang/circular.exp: New file.
1203 2016-02-26 Yao Qi <yao.qi@linaro.org>
1205 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1206 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1207 (testcases): Update.
1209 2016-02-26 Yao Qi <yao.qi@linaro.org>
1211 * gdb.reverse/aarch64.c: Rename to ...
1212 * gdb.reverse/insn-reverse.c: ... it.
1213 * gdb.reverse/aarch64.exp: Rename to ...
1214 * gdb.reverse/insn-reverse.exp: ... it.
1216 2016-02-26 Yao Qi <yao.qi@linaro.org>
1218 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1219 (testcase_ftype): New.
1220 (testcases): New array.
1222 (main): Call each element in testcases.
1223 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1224 (read_testcase): New.
1225 Do the tests in a loop.
1227 2016-02-25 Yao Qi <yao.qi@linaro.org>
1229 * gdb.base/branches.c: Remove.
1231 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1234 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1236 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1238 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1240 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1242 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1243 change x86_64 call_insn to 'callq'.
1245 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1247 * gdb.trace/tfile-avx.c: Move to...
1248 * gdb.trace/tracefile-pseudo-reg.c: Here.
1249 * gdb.trace/tfile-avx.exp: Move to...
1250 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1252 2016-02-24 Gary Benson <gbenson@redhat.com>
1254 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1257 2016-02-23 Doug Evans <dje@google.com>
1259 * gdb.base/skip.c (test_skip): New function.
1260 (end_test_skip_file_and_function): New function.
1261 (test_skip_file_and_function): New function.
1262 * gdb.base/skip1.c (test_skip): New function.
1263 (skip1_test_skip_file_and_function): New function.
1264 * gdb.base/skip.exp: Add tests for new skip options.
1265 * gdb.base/skip-solib.exp: Update expected output.
1266 * gdb.perf/skip-command.cc: New file.
1267 * gdb.perf/skip-command.exp: New file.
1268 * gdb.perf/skip-command.py: New file.
1270 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1272 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1273 info registers pattern.
1275 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1277 * lib/future.exp: Add D support.
1278 (gdb_find_gdc): New proc.
1279 (gdb_default_target_compile): Add D support.
1281 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1283 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1285 (trace_speed_test): Determine the iteration count for a time
1286 between 15..30 seconds.
1288 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1290 * gdb.arch/i386-mpx-sigsegv.c: New file.
1291 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1292 * gdb.arch/i386-mpx-simple_segv.c: New file.
1293 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1295 2016-02-18 Yao Qi <yao.qi@linaro.org>
1297 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1298 Don't call setup_kfail.
1300 2016-02-18 Yao Qi <yao.qi@linaro.org>
1302 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1303 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1305 2016-02-16 Doug Evans <dje@google.com>
1307 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1308 * gdb.base/skip1.c: Ditto.
1309 * gdb.base/skip.exp: Whitespace cleanup.
1311 2016-02-16 Don Breazeal <donb@codesourcery.com>
1314 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1315 Remove kfail for PR remote/19496.
1317 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1319 * lib/gdb.exp (standard_temp_file): Return a path specific to
1320 the runtest invocation.
1322 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1324 * gdb.trace/save-trace.exp: Change relative path to be in the
1325 standard output directory.
1327 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1329 * gdb.arch/i386-prologue.c: Add missing prototypes.
1331 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1333 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1334 * gdb.arch/i386-prologue.exp: Likewise.
1335 * gdb.arch/i386-size.exp: Likewise.
1337 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1339 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1340 define object file path.
1341 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1343 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1344 standard_output_file to define binfile.
1346 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 Fix compatibility with recent gfortran-5.3.1.
1349 * gdb.fortran/vla-history.exp (print vla1 allocated)
1350 (print vla2 allocated, print $2, print $3): Remove
1351 (print $4): Rename to ...
1352 (print $2): ... here.
1353 (print $9): Rename to ...
1354 (print $5): ... here.
1355 (print $10): Rename to ...
1356 (print $6): ... here.
1357 * gdb.fortran/vla.f90: Add pvla initialization.
1359 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1361 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1363 * gdb.fortran/vla-value-sub.exp: Likewise.
1365 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1367 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1369 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1371 * i386-biarch-core.exp: Define corefile using
1372 standard_output_file.
1374 2016-02-12 Yao Qi <yao.qi@linaro.org>
1376 * gdb.arch/arm-single-step-kernel-helper.c: New.
1377 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1379 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1381 * gdb.btrace/tailcall-only.exp: New.
1382 * gdb.btrace/tailcall-only.c: New.
1383 * gdb.btrace/x86_64-tailcall-only.S: New.
1384 * gdb.btrace/i686-tailcall-only.S: New.
1386 2016-02-11 Pedro Alves <palves@redhat.com>
1388 * README (Parallel testing): Add missing double quotes.
1390 2016-02-11 Pedro Alves <palves@redhat.com>
1392 * README (Parallel testing): New section.
1393 (GDB_PARALLEL): Rewrite.
1394 (FORCE_PARALLEL): Document.
1396 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1398 * gdb.trace/tfile-avx.c: New test.
1399 * gdb.trace/tfile-avx.exp: New test.
1401 2016-02-09 Keith Seitz <keiths@redhat.com>
1403 PR breakpoints/19546
1404 * gdb.base/infcall-exec.c: New file.
1405 * gdb.base/infcall-exec2.c: New file.
1406 * gdb.base/infcall-exec.exp: New file.
1408 2016-02-09 Keith Seitz <keiths@redhat.com>
1410 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1411 (toplevel): Call test_bkpt_address.
1413 2016-02-09 Keith Seitz <keiths@redhat.com>
1416 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1417 (toplevel): Call test_bkpt_address.
1419 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1421 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1423 * configure: Regenerate.
1425 2016-02-09 Pedro Alves <palves@redhat.com>
1427 PR breakpoints/19548
1428 * gdb.base/execl-update-breakpoints.c (some_function): New
1431 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1432 Tighten expected GDB output.
1434 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1436 * Makefile.in (ALL_SUBDIRS): Remove.
1437 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1438 (distclean maintainer-clean realclean): Likewise.
1439 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1440 * configure: Regenerate.
1441 * gdb.ada/Makefile.in: Delete.
1442 * gdb.arch/Makefile.in: Likewise.
1443 * gdb.asm/Makefile.in: Likewise.
1444 * gdb.base/Makefile.in: Likewise.
1445 * gdb.btrace/Makefile.in: Likewise.
1446 * gdb.cell/Makefile.in: Likewise.
1447 * gdb.compile/Makefile.in: Likewise.
1448 * gdb.cp/Makefile.in: Likewise.
1449 * gdb.disasm/Makefile.in: Likewise.
1450 * gdb.dlang/Makefile.in: Likewise.
1451 * gdb.dwarf2/Makefile.in: Likewise.
1452 * gdb.fortran/Makefile.in: Likewise.
1453 * gdb.gdb/Makefile.in: Likewise.
1454 * gdb.go/Makefile.in: Likewise.
1455 * gdb.guile/Makefile.in: Likewise.
1456 * gdb.java/Makefile.in: Likewise.
1457 * gdb.linespec/Makefile.in: Likewise.
1458 * gdb.mi/Makefile.in: Likewise.
1459 * gdb.modula2/Makefile.in: Likewise.
1460 * gdb.multi/Makefile.in: Likewise.
1461 * gdb.objc/Makefile.in: Likewise.
1462 * gdb.opencl/Makefile.in: Likewise.
1463 * gdb.opt/Makefile.in: Likewise.
1464 * gdb.pascal/Makefile.in: Likewise.
1465 * gdb.perf/Makefile.in: Likewise.
1466 * gdb.python/Makefile.in: Likewise.
1467 * gdb.reverse/Makefile.in: Likewise.
1468 * gdb.server/Makefile.in: Likewise.
1469 * gdb.stabs/Makefile.in: Likewise.
1470 * gdb.threads/Makefile.in: Likewise.
1471 * gdb.trace/Makefile.in: Likewise.
1472 * gdb.xml/Makefile.in: Likewise.
1473 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1475 (standard_output_file): Remove check for GDB_PARALLEL, always
1476 return path in outputs/$subdir/$testname.
1478 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1480 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1481 (site.exp): Assign abs_srcdir to tcl's srcdir.
1483 2016-02-04 Yao Qi <yao.qi@linaro.org>
1485 * gdb.base/foll-exec-mode.c: Include limits.h.
1486 (main): Add parameters argc and argv. Get directory from
1488 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1490 * gdb.base/foll-exec.c: Include limits.h.
1491 (main): Add parameters argc and argv.
1492 Get directory from argv[0].
1493 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1494 Adjust tests on the number of lines as source code changed.
1495 * gdb.base/foll-vfork-exit.c: Include limits.h.
1496 (main): Add one line of statement before vfork.
1497 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1498 (main): Add parameters argc and argv. Get directory from
1500 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1501 (setup_gdb): Set tbreak to skip some source lines.
1502 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1503 (main): Add parameters argc and argv. Get directory from
1505 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1507 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1508 (main): Add parameters argc and argv. Get directory from
1510 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1513 2016-02-01 Doug Evans <dje@google.com>
1515 * gdb.base/skip.exp: Clean up multiple references to same test name.
1517 2016-02-01 Pedro Alves <palves@redhat.com>
1520 * gdb.threads/forking-threads-plus-breakpoint.exp
1521 (displaced_stepping_supported): New global.
1522 (probe_displaced_stepping_support): New procedure.
1523 (do_test): Add 'displaced' parameter, and use it.
1524 (top level): Check for displaced stepping support. Add displaced
1525 stepping on/off testing axis.
1527 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1529 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1530 pointer. Don't perform further tests on the unassociated pointer
1531 if the first test fails.
1533 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1535 * gdb.base/max-value-size.c: New file.
1536 * gdb.base/max-value-size.exp: New file.
1537 * gdb.base/huge.exp: Disable max-value-size for this test.
1539 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1541 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1543 2016-01-28 Yao Qi <yao.qi@linaro.org>
1545 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1547 2016-01-25 Pedro Alves <palves@redhat.com>
1550 * gdb.base/fork-running-state.c: New file.
1551 * gdb.base/fork-running-state.exp: New file.
1553 2016-01-25 Pedro Alves <palves@redhat.com>
1556 * gdb.base/catch-fork-kill.c: New file.
1557 * gdb.base/catch-fork-kill.exp: New file.
1559 2016-01-25 Pedro Alves <palves@redhat.com>
1561 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1562 Delete, moved to lib/gdb.exp.
1563 * gdb.threads/forking-threads-plus-breakpoint.exp
1564 (foreach_with_prefix): Likewise.
1565 * gdb.threads/process-dies-while-handling-bp.exp
1566 (foreach_with_prefix): Likewise.
1567 * lib/gdb.exp (foreach_with_prefix): New procedure.
1569 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1571 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1572 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1574 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1576 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1579 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1580 Pedro Alves <palves@redhat.com>
1582 Fix testsuite compatibility with Guile.
1583 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1586 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1588 Fix testsuite compatibility with Guile.
1589 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1590 (thread 1): New test for backtrace through signal handler.
1592 2016-01-22 Yao Qi <yao.qi@linaro.org>
1595 * gdb.base/multi-forks.c: Include
1596 ../lib/unbuffer_output.c
1597 (main): Call gdb_unbuffer_output.
1599 2016-01-21 Doug Evans <dje@google.com>
1601 * lib/ada.exp (gdb_compile_ada): Fix typo.
1603 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1605 * gdb.base/break-fun-addr.exp: New file.
1606 * gdb.base/break-fun-addr1.c: New file.
1607 * gdb.base/break-fun-addr2.c: New file.
1609 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1611 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1612 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1615 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1617 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1618 when GDB can not set the vector return value. Add more comments
1621 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1623 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1626 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1628 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1630 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1632 * Makefile.in (check-single): Pass --status to runtest.
1633 (check/%.exp): Likewise.
1635 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1637 * Makefile.in (check-parallel): Propagate return code from make
1640 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1642 * gdb.trace/ftrace.exp: Fix expected message on continue.
1643 * gdb.trace/pending.exp: Fix expected message on continue.
1644 * gdb.trace/trace-break.exp: Fix expected message on continue.
1646 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1648 * lib/gdb.exp (gdb_test): Remove unused global references.
1650 2016-01-18 Pedro Alves <palves@redhat.com>
1652 * gdb.base/async-shell.exp: Adjust expected output.
1653 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1654 * gdb.base/siginfo-thread.exp: Adjust expected output.
1655 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1656 * gdb.java/jnpe.exp: Adjust expected output.
1657 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1658 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1659 * gdb.threads/leader-exit.exp: Adjust expected output.
1660 * gdb.threads/manythreads.exp: Adjust expected output.
1661 * gdb.threads/pthreads.exp: Adjust expected output.
1662 * gdb.threads/schedlock.exp: Adjust expected output.
1663 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1664 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1666 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1668 * gdb.threads/sigthread.exp: Adjust expected output.
1669 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1671 2016-01-18 Yao Qi <yao.qi@linaro.org>
1673 * gdb.guile/scm-section-script.c: Replace @progbits with
1675 * gdb.python/py-section-script.c: Likewise.
1677 2016-01-15 Pedro Alves <palves@redhat.com>
1679 * gdb.multi/tids.exp: Test star wildcard ranges.
1681 2016-01-15 Pedro Alves <palves@redhat.com>
1683 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1684 command from "thread apply" invocation.
1685 (thr_apply_info_thr_invalid): Default the expected output to the
1687 (top level): Add tests that use convenience variables. Add tests
1688 for "thread apply" with a valid TID list, but missing the command.
1690 2016-01-13 Pedro Alves <palves@redhat.com>
1692 * gdb.base/default.exp: Expect $_gthread as well.
1693 * gdb.multi/tids.exp: Test $_gthread.
1694 * gdb.threads/thread-specific.exp: Test $_gthread.
1696 2016-01-13 Pedro Alves <palves@redhat.com>
1698 * gdb.multi/tids.exp: Test "info threads -gid".
1700 2016-01-13 Pedro Alves <palves@redhat.com>
1702 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1704 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1706 2016-01-07 Pedro Alves <palves@redhat.com>
1708 * gdb.base/break.exp: Adjust to output changes.
1709 * gdb.base/hbreak2.exp: Likewise.
1710 * gdb.base/sepdebug.exp: Likewise.
1711 * gdb.base/watch_thread_num.exp: Likewise.
1712 * gdb.linespec/keywords.exp: Likewise.
1713 * gdb.multi/info-threads.exp: Likewise.
1714 * gdb.threads/thread-find.exp: Likewise.
1715 * gdb.multi/tids.c: New file.
1716 * gdb.multi/tids.exp: New file.
1718 2016-01-13 Pedro Alves <palves@redhat.com>
1720 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1722 2016-01-13 Pedro Alves <palves@redhat.com>
1724 * gdb.base/default.exp: Expect $_inferior as well.
1725 * gdb.multi/base.exp: Test $_inferior.
1727 2016-01-13 Pedro Alves <palves@redhat.com>
1729 PR breakpoints/19388
1730 * gdb.base/catch-signal-siginfo-cond.c: New file.
1731 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1733 2016-01-12 Josh Stone <jistone@redhat.com>
1734 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1736 * gdb.base/catch-syscall.c (do_execve): New variable.
1737 (main): Conditionally trigger an execve.
1738 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1739 (test_catch_syscall_execve): New, check entry/return across execve.
1740 (do_syscall_tests): Call test_catch_syscall_execve.
1742 2016-01-12 Pedro Alves <palves@redhat.com>
1744 * gdb.base/random-signal.exp (do_test): New procedure, with body
1745 of testcase moved in.
1747 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Pedro Alves <palves@redhat.com>
1750 * gdb.base/funcargs.exp (finish from indirectly called function):
1751 Reintroduce the case for 'First'.
1753 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1754 Pedro Alves <palves@redhat.com>
1756 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1757 (tcatch_vfork_then_child_follow_exec)
1758 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1761 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1763 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1764 and repeats to unlimited.
1765 * gdb.python/py-value.exp: Likewise.
1766 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1767 and repeats to unlimited.
1769 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1771 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1772 and reordering the functions.
1773 * gdb.multi/hangout.c: Likewise.
1774 * gdb.multi/hello.c: Likewise.
1776 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1778 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1780 (SingleStatisticTestResult.report): Use dict.keys instead of
1783 2016-01-06 Pedro Alves <palves@redhat.com>
1785 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1787 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1789 * gdb.btrace/dlopen.exp: New.
1790 * gdb.btrace/dlopen.c: New.
1791 * gdb.btrace/dlopen-dso.c: New.
1793 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1795 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1796 PATTERN argument is optional.
1798 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1800 * lib/ada.exp (target_compile_ada_from_dir): New function.
1801 (gdb_compile_ada): Reimplement avoiding the use of project files.
1802 * gdb.ada/gnat_ada.gpr: Delete.
1803 * gdb.ada/cond_lang.exp: Adjust test to make path before
1805 * gdb.ada/small_reg_param.exp: Likewise.
1807 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1809 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1811 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1813 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1816 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1818 * gdb.base/break.exp: Remove dead code.
1819 * gdb.base/sepdebug.exp: Likewise.
1821 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1823 * gdb.asm/asm-source.exp: Remove HP-UX references.
1824 * gdb.base/annota1.exp: Likewise.
1825 * gdb.base/annota3.exp: Likewise.
1826 * gdb.base/attach.exp: Likewise.
1827 * gdb.base/bigcore.exp: Likewise.
1828 * gdb.base/break.exp: Likewise.
1829 * gdb.base/call-ar-st.exp: Likewise.
1830 * gdb.base/callfuncs.exp: Likewise.
1831 * gdb.base/catch-fork-static.exp: Likewise.
1832 * gdb.base/display.exp: Likewise.
1833 * gdb.base/foll-exec-mode.exp: Likewise.
1834 * gdb.base/foll-exec.exp: Likewise.
1835 * gdb.base/foll-fork.exp: Likewise.
1836 * gdb.base/foll-vfork.exp: Likewise.
1837 * gdb.base/funcargs.exp: Likewise.
1838 * gdb.base/hbreak2.exp: Likewise.
1839 * gdb.base/inferior-died.exp: Likewise.
1840 * gdb.base/interrupt.exp: Likewise.
1841 * gdb.base/multi-forks.exp: Likewise.
1842 * gdb.base/nodebug.exp: Likewise.
1843 * gdb.base/sepdebug.exp: Likewise.
1844 * gdb.base/solib1.c: Likewise.
1845 * gdb.base/step-test.exp: Likewise.
1846 * gdb.mi/non-stop.c: Likewise.
1847 * gdb.mi/pthreads.c: Likewise.
1848 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1849 * gdb.threads/pthreads.c: Likewise.
1850 * gdb.threads/staticthreads.exp: Likewise.
1851 * lib/future.exp: Likewise.
1852 * lib/gdb.exp: Likewise.
1853 * gdb.base/so-indr-cl.c: Remove.
1854 * gdb.base/so-indr-cl.exp: Likewise.
1855 * gdb.base/solib.c: Likewise.
1856 * gdb.base/solib.exp: Likewise.
1857 * gdb.base/solib2.c: Likewise.
1859 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1861 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1862 * gdb.base/call-ar-st.exp: Likewise.
1863 * gdb.base/callfuncs.exp: Likewise.
1864 * gdb.base/condbreak.exp: Likewise.
1865 * gdb.base/constvars.exp: Likewise.
1866 * gdb.base/hbreak2.exp: Likewise.
1867 * gdb.base/langs.exp: Likewise.
1868 * gdb.base/list.exp: Likewise.
1869 * gdb.base/long_long.exp: Likewise.
1870 * gdb.base/ptype.exp: Likewise.
1871 * gdb.base/scope.exp: Likewise.
1872 * gdb.base/signals.exp: Likewise.
1873 * gdb.base/so-impl-ld.exp: Likewise.
1874 * gdb.base/varargs.exp: Likewise.
1875 * gdb.base/volatile.exp: Likewise.
1876 * gdb.base/whatis.exp: Likewise.
1877 * gdb.cp/cplusfuncs.exp: Likewise.
1878 * gdb.cp/inherit.exp: Likewise.
1879 * gdb.cp/local.exp: Likewise.
1880 * gdb.cp/member-ptr.exp: Likewise.
1881 * gdb.cp/method.exp: Likewise.
1882 * gdb.cp/overload.exp: Likewise.
1883 * gdb.cp/templates.exp: Likewise.
1884 * gdb.stabs/weird.exp: Likewise.
1885 * lib/compiler.c: Likewise.
1886 * lib/compiler.cc: Likewise.
1887 * lib/cp-support.exp: Likewise.
1888 * lib/gdb.exp: Likewise.
1890 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1892 * configure.ac: Remove HP-UX case.
1893 * configure: Regenerate.
1895 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1897 * lib/gdb.exp (gdb_compile): Add function doc.
1899 2015-12-17 Pedro Alves <palves@redhat.com>
1902 * gdb.multi/info-threads.exp: New file.
1904 2015-12-15 Yao Qi <yao.qi@linaro.org>
1906 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1909 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1911 * gdb.base/history-duplicates.exp: Skip if no readline support.
1913 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1915 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1917 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1919 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1921 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1923 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1924 ctrl-C if nointerrupts target property is set.
1925 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1926 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1927 * gdb.base/paginate-bg-execution.exp: Likewise.
1928 * gdb.base/paginate-execution-startup.exp: Likewise.
1929 * gdb.base/random-signal.exp: Likewise.
1930 * gdb.base/range-stepping.exp: Likewise.
1931 * gdb.cp/annota2.exp: Likewise.
1932 * gdb.cp/annota3.exp: Likewise.
1933 * gdb.gdb/selftest.exp: Likewise.
1934 * gdb.threads/continue-pending-status.exp: Likewise.
1935 * gdb.threads/leader-exit.exp: Likewise.
1936 * gdb.threads/manythreads.exp: Likewise.
1937 * gdb.threads/pthreads.exp: Likewise.
1938 * gdb.threads/schedlock.exp: Likewise.
1939 * gdb.threads/sigthread.exp: Likewise.
1941 2015-12-11 Don Breazeal <donb@codesourcery.com>
1943 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1945 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1946 * gdb.base/foll-exec.exp (main): Enable for target remote.
1947 * gdb.base/foll-fork.exp (main): Likewise.
1948 * gdb.base/foll-vfork.exp (main): Likewise.
1949 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1950 (proc continue_to_exit_bp_loc): Use clean_restart.
1951 * gdb.base/pie-execl.exp (main): Disable for target remote.
1952 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1953 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1954 * gdb.threads/execl.exp (main): Likewise.
1955 * gdb.threads/fork-child-threads.exp (main): Likewise.
1956 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1958 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1960 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1961 pid.tid style ptids, instead of just tid.
1962 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1963 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1964 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1965 ptids, instead of just tid.
1967 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1969 * gdb.base/list.exp (test_list_forward): Add end of file error
1971 (test_repeat_list_command): Add end of file error test.
1972 (test_list_backwards): Add beginning of file error test.
1974 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1976 * gdb.base/list.exp (test_list_invalid_args): New function,
1977 defined, and called.
1979 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1981 * gdb.base/list.exp (test_list): Make test names unique.
1983 2015-12-11 Yao Qi <yao.qi@linaro.org>
1985 * gdb.base/coremaker2.c: Remove.
1987 2015-12-10 Pedro Alves <palves@redhat.com>
1989 * gdb.multi/base.exp: Remove stale "spaces" references.
1991 2015-12-10 Pedro Alves <palves@redhat.com>
1993 * gdb.multi/base.exp: Don't use nowarnings.
1994 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1995 * gdb.multi/hangout.c: Include stdio.h.
1996 * gdb.multi/hello.c: Include stdlib.h.
1997 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1998 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1999 * gdb.multi/multi-arch.exp: Don't use nowarnings.
2001 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
2003 * gdb.dwarf2/dw2-ranges-base.c: New file.
2004 * gdb.dwarf2/dw2-ranges-base.exp: New file.
2005 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
2006 support additional line table, and debug ranges generation.
2007 (Dwarf::ranges): New function, generate .debug_ranges.
2008 (Dwarf::lines): Support generating simple line table programs.
2009 (Dwarf::assemble): Initialise new namespace variables.
2011 2015-12-09 Kevin Buettner <kevinb@redhat.com>
2013 * gdb.base/async.exp (proc test_background): Add case for
2014 asynchronous execution not supported.
2016 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2018 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2019 format and change test names to make them unique.
2021 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2022 Pedro Alves <pedro@redhat.com>
2025 Add checking of floatformats setup on x86_64 hosts.
2026 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2027 (smallval, bigval): New labels/constants.
2028 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2029 float" after loading bigval and smallval.
2031 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2033 * gdb.ada/fun_overload_menu.exp: New testcase.
2034 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2036 2015-12-04 Josh Stone <jistone@redhat.com>
2038 * gdb.base/catch-fork-static.exp: New.
2040 2015-12-03 Yao Qi <yao.qi@linaro.org>
2042 * gdb.base/sizeof.c: Don't include stdio.h and
2043 ../lib/unbuffer_output.c.
2044 (main): New variable 'size' and 'value'. Remove printf and
2045 gdb_unbuffer_output. Assign return value to size and value.
2046 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2048 (check_sizeof): Check the result by printing variable 'size'.
2049 (check_valueof): Check the result by printing variable 'value'.
2051 2015-12-01 Yao Qi <yao.qi@linaro.org>
2053 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2054 for aarch64*-*-linux* target.
2056 2015-11-30 Pedro Alves <palves@redhat.com>
2058 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2060 2015-11-30 Pedro Alves <palves@redhat.com>
2062 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2063 Handle non-stop mode vCont replies.
2065 2015-11-30 Pedro Alves <palves@redhat.com>
2067 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2068 prepare_for_testing. Start gdb with "set non-stop on" appended to
2069 GDBFLAGS. Lax expected stop output.
2071 2015-11-27 Yao Qi <yao.qi@linaro.org>
2073 * gdb.arch/arm-neon.exp: New.
2074 * gdb.arch/arm-neon.c: New.
2076 2015-11-27 Yao Qi <yao.qi@linaro.org>
2078 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2080 2015-11-27 Yao Qi <yao.qi@linaro.org>
2082 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2083 frames-invalid annotation.
2085 2015-11-27 Yao Qi <yao.qi@linaro.org>
2087 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2089 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2091 * gdb.threads/names.exp: New file.
2092 * gdb.threads/names.c: New file.
2093 * README: Mention gdb,no_thread_names.
2095 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2098 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2101 2015-11-24 Pedro Alves <palves@redhat.com>
2104 * gdb.base/display.exp: Expect displays to be sorted in ascending
2105 order. Use multi_line.
2106 * gdb.base/solib-display.exp: Likewise.
2108 2015-11-24 Pedro Alves <palves@redhat.com>
2111 * gdb.base/display.exp: Expect displays to be sorted in ascending
2112 order. Use multi_line.
2113 * gdb.base/solib-display.exp: Likewise.
2115 2015-11-24 Pedro Alves <palves@redhat.com>
2118 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2119 threads in ascending order.
2120 * gdb.base/foll-fork.exp: Likewise.
2121 * gdb.base/foll-vfork.exp: Likewise.
2122 * gdb.base/multi-forks.exp: Likewise.
2123 * gdb.mi/mi-nonstop.exp: Likewise.
2124 * gdb.mi/mi-nsintrall.exp: Likewise.
2125 * gdb.multi/base.exp: Likewise.
2126 * gdb.multi/multi-arch.exp: Likewise.
2127 * gdb.python/py-inferior.exp: Likewise.
2128 * gdb.threads/break-while-running.exp: Likewise.
2129 * gdb.threads/execl.exp: Likewise.
2130 * gdb.threads/gcore-thread.exp: Likewise.
2131 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2132 * gdb.threads/kill.exp: Likewise.
2133 * gdb.threads/linux-dp.exp: Likewise.
2134 * gdb.threads/multiple-step-overs.exp: Likewise.
2135 * gdb.threads/next-bp-other-thread.exp: Likewise.
2136 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2137 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2138 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2139 * gdb.threads/thread-find.exp: Likewise.
2140 * gdb.threads/tls.exp: Likewise.
2141 * lib/mi-support.exp (mi_reverse_list): Delete.
2142 (mi_check_thread_states): No longer reverse list.
2144 2015-11-24 Pedro Alves <palves@redhat.com>
2146 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2149 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2151 * gdb.trace/actions.c: Include trace-common.h.
2152 (main): Add a location for a fast tracepoint.
2153 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2154 the normal tracepoints.
2155 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2157 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2159 * save-trace.exp: Factor out code to these...
2160 (gdb_save_tracepoints): New.
2161 (gdb_load_tracepoints): New.
2162 (do_save_load_test): New.
2164 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2166 * gdb.base/asmlabel.exp: New test.
2167 * gdb.base/asmlabel.c: New test case.
2169 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2171 * gdb.base/wrong_frame_bt_full-main.c: New file.
2172 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2173 * gdb.base/wrong_frame_bt_full.exp: New file.
2175 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2177 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2179 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2181 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2182 pstate register when comparing registers values in
2183 sparc64-*-linux-gnu targets to avoid spurious differences.
2185 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2187 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2189 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2191 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2192 as type argument to gdb_compile.
2193 * gdb.base/nested-subp2.exp: Likewise.
2194 * gdb.base/nested-subp3.exp: Likewise.
2196 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2198 * lib/dwarf.exp (_note): Fix left shift of negative value.
2199 * gdb.trace/trace-condition.exp: Likewise.
2201 2015-11-13 Yao Qi <yao.qi@linaro.org>
2203 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2204 comments about d10v.
2205 (test_scalar_returns): Likewise.
2206 * gdb.base/d10v.ld: Remove.
2207 * gdb.base/overlays.exp: Remove the target triplet checking for
2209 * gdb.base/structs.exp (test_struct_returns): Remove the
2210 comments about d10v.
2211 (test_struct_calls): Likewise.
2213 2015-11-13 Yao Qi <yao.qi@linaro.org>
2215 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2216 * gdb.base/gnu_vector.c: Don't include stdio.h.
2217 (main): Don't print res and call add_some_intvecs.
2219 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2221 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2224 (func4): Use FAST_TRACEPOINT_LABEL.
2225 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2228 (thread_function): Use FAST_TRACEPOINT_LABEL.
2229 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2231 (marker): Use FAST_TRACEPOINT_LABEL.
2232 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2233 (pendfunc1): Remove.
2234 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2235 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2237 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2238 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2241 (marker): Use FAST_TRACEPOINT_LABEL.
2242 * gdb.trace/trace-common.h: New header.
2243 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2246 (marker): Use FAST_TRACEPOINT_LABEL.
2247 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2249 (thread_function): Use FAST_TRACEPOINT_LABEL.
2251 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2253 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2255 * gdb.trace/change-loc.exp: Use global pcreg definition.
2256 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2257 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2259 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2260 * gdb.trace/pending.exp: Likewise.
2261 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2262 * gdb.trace/trace-break.exp: Likewise.
2263 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2265 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2266 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2268 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2270 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2272 * gdb.ada/fin_fun_out: New testcase.
2274 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2276 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2277 value associated with DW_AT_byte_size.
2278 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2279 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2282 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2284 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2285 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2287 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2288 gdb.dwarf2/dw2-canonicalize-type.exp,
2289 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2290 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2291 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2292 provided by gdb_target_symbol_prefix_flags_asm.
2293 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2294 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2295 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2296 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2297 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2298 macros where needed). Use this macro for symbols which require
2299 the prefix provided by SYMBOL_PREFIX.
2301 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2303 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2305 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2306 representing expressions, of more than one list element.
2307 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2308 to prepend linker symbol prefix to f.
2309 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2310 table_1 and table_2.
2311 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2312 Likewise, for f and g.
2313 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2315 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2317 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2318 table_1_ptr and table_2_ptr.
2320 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2321 Joel Brobecker <brobecker@adacore.com>
2323 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2325 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2327 * gdb.reverse/s390-mvcle.c: New test.
2328 * gdb.reverse/s390-mvcle.exp: New file.
2329 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2331 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2333 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2335 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2337 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2339 * gdb.reverse/getresuid-reverse.exp: Likewise.
2340 * gdb.reverse/pipe-reverse.exp: Likewise.
2341 * gdb.reverse/readv-reverse.exp: Likewise.
2342 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2343 * gdb.reverse/time-reverse.exp: Likewise.
2344 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2346 2015-10-30 Yao Qi <yao.qi@linaro.org>
2348 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2349 (empty_cycle): Remove.
2350 (main): Don't call empty_cycle. Don't use watch_count_done.
2351 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2352 empty_cycle. Rewrite the code counting HW watchpoints.
2354 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2356 * gdb.reverse/fstatat-reverse.c: New test.
2357 * gdb.reverse/fstatat-reverse.exp: New file.
2358 * gdb.reverse/getresuid-reverse.c: New test.
2359 * gdb.reverse/getresuid-reverse.exp: New file.
2360 * gdb.reverse/pipe-reverse.c: New test.
2361 * gdb.reverse/pipe-reverse.exp: New file.
2362 * gdb.reverse/readv-reverse.c: New test.
2363 * gdb.reverse/readv-reverse.exp: New file.
2364 * gdb.reverse/recvmsg-reverse.c: New test.
2365 * gdb.reverse/recvmsg-reverse.exp: New file.
2366 * gdb.reverse/time-reverse.c: New test.
2367 * gdb.reverse/time-reverse.exp: New file.
2368 * gdb.reverse/waitpid-reverse.c: New test.
2369 * gdb.reverse/waitpid-reverse.exp: New file.
2371 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2373 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2375 2015-10-26 Doug Evans <dje@google.com>
2378 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2379 * gdb.dwarf2/bad-regnum.c: New file.
2380 * gdb.dwarf2/bad-regnum.exp: New file.
2382 2015-10-26 Doug Evans <dje@google.com>
2385 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2388 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2390 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2391 for a change by "Mention language in compile error message".
2393 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2396 * gdb.python/py-type.c (C::a_method): New.
2397 (C::a_const_method): New.
2398 (C::a_static_method): New.
2400 * gdb.python/py-type.exp (test_fields): Test getting fields
2401 from function and method.
2403 2015-10-21 Keven Boell <keven.boell@intel.com>
2405 * gdb.fortran/vla-alloc-assoc.exp: New file.
2406 * gdb.fortran/vla-datatypes.exp: New file.
2407 * gdb.fortran/vla-datatypes.f90: New file.
2408 * gdb.fortran/vla-history.exp: New file.
2409 * gdb.fortran/vla-ptype-sub.exp: New file.
2410 * gdb.fortran/vla-ptype.exp: New file.
2411 * gdb.fortran/vla-sizeof.exp: New file.
2412 * gdb.fortran/vla-sub.f90: New file.
2413 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2414 * gdb.fortran/vla-value-sub-finish.exp: New file.
2415 * gdb.fortran/vla-value-sub.exp: New file.
2416 * gdb.fortran/vla-value.exp: New file.
2417 * gdb.fortran/vla-ptr-info.exp: New file.
2418 * gdb.mi/mi-vla-fortran.exp: New file.
2419 * gdb.mi/vla.f90: New file.
2421 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2423 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2424 of hardwired timeout value.
2426 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2427 Pedro Alves <palves@redhat.com>
2429 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2430 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2432 2015-10-19 Josh Stone <jistone@redhat.com>
2434 * gdb.base/catch-syscall.c: Include <sched.h>.
2435 (unknown_syscall): New variable.
2436 (main): Trigger a vfork and an unknown syscall.
2437 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2438 (unknown_syscall_number): Likewise.
2439 (check_call_to_syscall): Accept an optional syscall pattern.
2440 (check_return_from_syscall): Likewise.
2441 (check_continue): Likewise.
2442 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2443 (test_catch_syscall_skipping_return): New test toggling off 'catch
2444 syscall' to step over the syscall return, then toggling back on.
2445 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2446 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2447 (do_syscall_tests): Call test_catch_syscall_without_args and
2448 test_catch_syscall_mid_vfork.
2449 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2450 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2452 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2454 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2455 print g_vE): Add new pass patterns.
2456 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2457 print various symbol names for vptr fields.
2459 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2461 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2464 2015-10-12 Yao Qi <yao.qi@linaro.org>
2466 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2468 2015-10-12 Yao Qi <yao.qi@linaro.org>
2470 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2471 is aarch64*-*-linux*.
2473 2015-10-12 Yao Qi <yao.qi@linaro.org>
2475 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2476 (can_relocate_bcond_true): ... it.
2477 (can_relocate_bcond_false): New function.
2479 (can_relocate_bl): Likewise.
2480 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2483 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2485 * gdb.base/nested-addr.c: New file.
2486 * gdb.base/nested-addr.exp: New testcase.
2488 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2490 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2491 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2492 its output. Ignore the output of "record goto begin" and instead
2493 check that GDB is replaying.
2495 2015-10-09 Pedro Alves <palves@redhat.com>
2497 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2498 (top level): Use it in the run with no args test.
2500 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2502 * gdb.dlang/properties.exp: New file.
2504 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2506 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2507 whether or not address 0x1000 is mapped on the target.
2509 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2511 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2514 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2516 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2517 instruction-history test.
2519 2015-09-28 Doug Evans <dje@google.com>
2521 * gdb.base/gcore.c (array_func): Add reference to static_array.
2523 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2525 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2528 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2530 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2531 short or char as base type.
2533 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2535 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2536 to allow any size enum.
2538 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2540 * gdb.ada/array_ptr_renaming.exp: New testcase.
2541 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2542 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2544 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2546 * gdb.trace/ftrace-lock.c: New file.
2547 * gdb.trace/ftrace-lock.exp: New file.
2549 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2551 * gdb.arch/insn-reloc.c: New file.
2552 * gdb.arch/ftrace-insn-reloc.exp: New file.
2554 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2556 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2558 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2559 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2560 * gdb.trace/range-stepping.c: Likewise.
2561 * gdb.trace/trace-break.c: Likewise.
2562 * gdb.trace/trace-mt.c (thread_function): Likewise.
2563 * gdb.trace/ftrace.c (marker): Likewise.
2564 * gdb.trace/trace-condition.c (marker): Likewise.
2565 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2566 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2569 2015-09-18 Doug Evans <xdje42@gmail.com>
2571 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2572 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2574 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2576 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2579 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2581 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2582 the pending breakpoint. Remove timeout override for "Run till
2583 MI pending breakpoint on pendfunc3 on thread 2" test.
2585 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2587 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2590 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2592 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2593 in breakpoint filename pattern.
2595 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2597 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2599 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2601 * gdb.linespec/explicit.exp: Check for readline support for
2602 tab-completion tests. Fix obvious typo.
2604 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2606 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2609 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2611 * gdb.btrace/non-stop.c: New.
2612 * gdb.btrace/non-stop.exp: New.
2614 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2615 Yao Qi <yao.qi@linaro.org>
2617 * gdb.trace/trace-condition.c: New file.
2618 * gdb.trace/trace-condition.exp: New file.
2620 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2622 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2623 for testing bytecode compilation.
2625 2015-09-16 Pedro Alves <palves@redhat.com>
2626 Sandra Loosemore <sandra@codesourcery.com>
2628 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2629 (SECONDS): Redefine.
2630 (main): Call pthread_kill and alarm early.
2631 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2633 (test): If the target can't hardware step and doesn't support
2634 displaced stepping, increase the timeout.
2636 2015-09-16 Pedro Alves <palves@redhat.com>
2638 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2639 (enable_debug): New procedures.
2640 (test): Use them. Bail out if waiting for threads fails.
2641 (top level): Bail out if a test fails.
2643 2015-09-16 Yao Qi <yao.qi@linaro.org>
2645 * gdb.asm/asm-source.exp: Set asm-arch for
2646 aarch64*-*-* target.
2647 * gdb.asm/aarch64.inc: New file.
2649 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2651 * gdb.ada/array_of_variable_length.exp: New testcase.
2652 * gdb.ada/array_of_variable_length/foo.adb: New file.
2653 * gdb.ada/array_of_variable_length/pck.adb: New file.
2654 * gdb.ada/array_of_variable_length/pck.ads: New file.
2656 2015-09-15 Doug Evans <dje@google.com>
2658 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2659 of function static local variable.
2661 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2663 * gdb.threads/tls-so_extern.exp: New test file.
2664 * gdb.threads/tls-so_extern.c: New test file.
2665 * gdb.threads/tls-so_extern_main.c: New test file.
2667 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2669 * gdb.opt/solib-intra-step-lib.c: New file.
2670 * gdb.opt/solib-intra-step-main.c: New file.
2671 * gdb.opt/solib-intra-step.exp: New file.
2673 2015-09-15 Pedro Alves <palves@redhat.com>
2675 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2676 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2678 2015-09-14 Pedro Alves <palves@redhat.com>
2680 * gdb.base/hook-stop-continue.c: Delete.
2681 * gdb.base/hook-stop-continue.exp: Delete.
2682 * gdb.base/hook-stop-frame.c: Delete.
2683 * gdb.base/hook-stop-frame.exp: Delete.
2684 * gdb.base/hook-stop.c: New file.
2685 * gdb.base/hook-stop.exp: New file.
2687 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2689 * gdb.ada/access_to_packed_array.exp: New testcase.
2690 * gdb.ada/access_to_packed_array/foo.adb: New file.
2691 * gdb.ada/access_to_packed_array/pack.adb: New file.
2692 * gdb.ada/access_to_packed_array/pack.ads: New file.
2694 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2696 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2699 2015-09-11 Don Breazeal <donb@codesourcery.com>
2701 * gdb.base/foll-exec.c: Add copyright header. Fix
2703 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2704 (do_exec_tests): Use clean_restart in place of zap_session,
2705 and for test initialization. Fix formatting issues. Use
2706 fail in place of perror.
2707 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2708 an expect statement to match an expression with output from
2709 the program under debug.
2710 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2711 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2712 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2713 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2714 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2716 2015-09-09 Doug Evans <dje@google.com>
2718 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2720 2015-09-09 Doug Evans <dje@google.com>
2722 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2724 2015-09-09 Doug Evans <dje@google.com>
2726 * gdb.base/savedregs.exp: Fix typo.
2728 2015-09-09 Pedro Alves <palves@redhat.com>
2730 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2732 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2734 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2735 command actually switches threads. Give up on remaining
2736 tests if target fails to stop at breakpoint.
2738 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2740 * gdb.ada/funcall_char.exp: New testcase.
2741 * gdb.ada/funcall_char/foo.adb: New file.
2743 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2745 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2746 expected outputs. Add two testcases for completing ambiguous
2748 * gdb.ada/complete/aux_pck.adb: New file.
2749 * gdb.ada/complete/aux_pck.ads: New file.
2750 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2751 Ambiguous_Func functions.
2752 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2753 * gdb.ada/complete/pck.adb: Likewise.
2755 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2757 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2758 failures to run the test program under GDB.
2760 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2762 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2765 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2767 * gdb.base/run-after-attach.exp: New test file.
2768 * gdb.base/run-after-attach.c: New test file.
2770 2015-08-26 Don Breazeal <donb@codesourcery.com>
2772 * gdb.base/foll-exec-2.c: New test program.
2773 * gdb.base/foll-exec-2.exp: New test.
2775 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2777 * gdb.base/nested-subp1.exp: New file.
2778 * gdb.base/nested-subp1.c: New file.
2779 * gdb.base/nested-subp2.exp: New file.
2780 * gdb.base/nested-subp2.c: New file.
2781 * gdb.base/nested-subp3.exp: New file.
2782 * gdb.base/nested-subp3.c: New file.
2784 2015-08-24 Pedro Alves <palves@redhat.com>
2786 * gdb.server/connect-without-multi-process.c: New file.
2787 * gdb.server/connect-without-multi-process.exp: New file.
2789 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2791 * gdb.opt/inline-markers.c: Make z int.
2793 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2795 * gdb.opt/inline-markers.c: Make z volatile.
2797 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2799 * gdb.opt/inline-bt.c: New volatile global z.
2800 * gdb.opt/inline-cmds.c: Likewise.
2801 * gdb.opt/inline-locals.c: Likewise.
2802 * gdb.opt/inline-markers.c: New extern global z.
2804 (inline_fn): Likewise.
2806 2015-08-24 Pedro Alves <palves@redhat.com>
2808 * config/m32r-stub.exp: Remove file.
2809 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2810 * gdb.base/call-rt-st.exp: Likewise.
2811 * gdb.base/call-strs.exp: Likewise.
2812 * gdb.base/default.exp: Remove references to h8300-*-hms and
2814 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2816 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2818 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2819 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2820 and "return" use KFAIL when GDB can not read/write the vector
2823 2015-08-21 Gary Benson <gbenson@redhat.com>
2825 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2827 2015-08-20 Pedro Alves <palves@redhat.com>
2829 * gdb.server/solib-list.exp: No longer expect an interior stop in
2832 2015-08-20 Pedro Alves <palves@redhat.com>
2834 * gdb.server/connect-stopped-target.c: New file.
2835 * gdb.server/connect-stopped-target.exp: New file.
2837 2015-08-20 Pedro Alves <palves@redhat.com>
2839 * gdb.dwarf2/comp-unit-lang.exp: New file.
2840 * gdb.dwarf2/comp-unit-lang.c: New file.
2842 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2844 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2845 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2847 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2849 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2850 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2852 2015-08-18 Doug Evans <dje@google.com>
2853 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2855 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2856 skip_python_tests. New arg prompt_regexp.
2857 (skip_python_tests): New function.
2858 * lib/mi-support.exp (mi_skip_python_tests): New function.
2859 * gdb.python/py-mi-objfile-gdb.py: New file.
2860 * gdb.python/py-mi-objfile.c: New file.
2861 * gdb.python/py-mi-objfile.exp: New file.
2863 2015-08-17 Keith Seitz <keiths@redhat.com>
2865 * gdb.linespec/explicit.exp: Move strace test from here ...
2866 * gdb.trace/strace.exp: ... to here.
2868 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2870 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2871 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2873 2015-08-14 Doug Evans <xdje42@gmail.com>
2875 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2876 inferior before selecting a new file.
2878 2015-08-14 Doug Evans <xdje42@gmail.com>
2880 * gdb.mi/mi-disassemble.exp: Update.
2881 * gdb.base/disasm-optim.S: New file.
2882 * gdb.base/disasm-optim.c: New file.
2883 * gdb.base/disasm-optim.h: New file.
2884 * gdb.base/disasm-optim.exp: New file.
2886 2015-08-14 Keith Seitz <keiths@redhat.com>
2888 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2891 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2893 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2895 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2897 * gdb.ada/fun_renaming.exp: New testcase.
2898 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2899 * gdb.ada/fun_renaming/pack.adb: New file.
2900 * gdb.ada/fun_renaming/pack.ads: New file.
2902 2015-08-12 Keith Seitz <keiths@redhat.com>
2904 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2905 gdb_get_line_number.
2907 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2909 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2910 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2911 gdb.base/dso2dso.exp: New files.
2913 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2914 Pedro Alves <palves@redhat.com>
2915 Keith Seitz <keiths@redhat.com>
2917 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2920 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2922 * gdb.base/gdbhistsize-history.exp
2923 (test_histsize_history_setting): Use save_vars.
2924 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2926 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2927 * gdb.base/readline.exp: Use save_vars.
2929 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2931 * lib/gdb.exp (save_vars): New proc.
2933 2015-08-11 Keith Seitz <keiths@redhat.com>
2935 * gdb.base/help.exp: Update help_breakpoint_text.
2937 2015-08-11 Keith Seitz <keiths@redhat.com>
2939 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2940 (at toplevel): Call test_explicit_breakpoints.
2941 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2943 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2944 breakpoint conditions, "-cond".
2946 2015-08-11 Keith Seitz <keiths@redhat.com>
2948 * gdb.linespec/3explicit.c: New file.
2949 * gdb.linespec/cpexplicit.cc: New file.
2950 * gdb.linespec/cpexplicit.exp: New file.
2951 * gdb.linespec/explicit.c: New file.
2952 * gdb.linespec/explicit.exp: New file.
2953 * gdb.linespec/explicit2.c: New file.
2954 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2955 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2956 before using in the matching pattern.
2957 Clarify that `prefix' is a regular expression.
2959 2015-08-11 Keith Seitz <keiths@redhat.com>
2961 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2963 Add tests for missing ",FMT" and ",".
2965 2015-08-10 Doug Evans <dje@google.com>
2966 Keith Seitz <keiths@redhat.com>
2969 * gdb.base/completion.exp: Add location completer tests.
2971 2015-08-07 Pedro Alves <palves@redhat.com>
2973 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2975 (top level): Run do_test with and without displaced stepping.
2977 2015-08-07 Pedro Alves <palves@redhat.com>
2979 * gdb.base/valgrind-disp-step.c: New file.
2980 * gdb.base/valgrind-disp-step.exp: New file.
2982 2015-08-07 Pedro Alves <palves@redhat.com>
2984 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2986 (main): Add alarm. Run an infinite loop instead of calling
2988 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2990 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2992 (main): Add alarm. Run an infinite loop instead of calling
2994 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2997 2015-08-07 Pedro Alves <palves@redhat.com>
2999 * gdb.base/checkpoint-ns.exp: New file.
3000 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
3003 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
3005 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
3006 * gdb.btrace/instruction_history.exp: Update.
3007 * gdb.btrace/tsx.exp: New.
3008 * gdb.btrace/tsx.c: New.
3010 2015-08-06 Pedro Alves <palves@redhat.com>
3012 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
3014 * gdb.reverse/until-precsave.exp: Bump timeouts.
3016 2015-08-06 Pedro Alves <palves@redhat.com>
3018 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3020 2015-08-06 Pedro Alves <palves@redhat.com>
3023 * gdb.threads/process-dies-while-handling-bp.c: New file.
3024 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3026 2015-08-06 Pedro Alves <palves@redhat.com>
3028 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3029 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3031 2015-08-05 Pedro Alves <palves@redhat.com>
3033 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3034 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3036 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3038 * gdb.base/bp-permanent.exp: Report test as unsupported if
3039 the target cannot stop at the permanent breakpoint.
3041 2015-08-03 Doug Evans <dje@google.com>
3043 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3046 2015-08-03 Doug Evans <dje@google.com>
3048 * Makefile.in (workers/%.worker, build-perf): New rule.
3049 (GDB_PERFTEST_MODE): New variable.
3050 (check-perf): Use it.
3051 (clean): Clean up gdb.perf parallel build subdirs.
3052 * lib/build-piece.exp: New file.
3053 * lib/gdb.exp (make_gdb_parallel_path): New function
3054 (standard_output_file, standard_temp_file): Call it.
3055 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3057 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3059 2015-08-03 Doug Evans <dje@google.com>
3061 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3062 (LOG_FILE_NAME): New global.
3063 (TextReporter.__init__): Initialize self.txt_sum.
3064 (TextReporter.report): Add support for multiple data-points.
3065 Move report to perftest.sum, put raw data in perftest.log.
3066 (TextReporter.start): Open sum and log files.
3067 (TextReporter.end): Close sum and log files.
3068 * gdb.perf/lib/perftest/testresult.py
3069 (SingleStatisticTestResult.record): Handle multiple data-points.
3071 2015-07-31 Pedro Alves <palves@redhat.com>
3073 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3074 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3075 kill_wait_spawned_process instead of explicit "kill -9".
3076 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3077 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3078 kill_wait_spawned_process.
3079 * gdb.base/attach-twice.exp: Likewise.
3080 * gdb.base/attach.exp: Likewise.
3081 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3083 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3084 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3085 kill_wait_spawned_process.
3086 * gdb.base/valgrind-infcall.exp: Likewise.
3087 * gdb.multi/multi-attach.exp: Likewise.
3088 * gdb.python/py-prompt.exp: Likewise.
3089 * gdb.python/py-sync-interp.exp: Likewise.
3090 * gdb.server/ext-attach.exp: Likewise.
3091 * gdb.threads/attach-into-signal.exp (corefunc): Use
3092 spawn_wait_for_attach, spawn_id_get_pid and
3093 kill_wait_spawned_process.
3094 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3095 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3096 spawn_id_get_pid and kill_wait_spawned_process.
3097 * gdb.threads/attach-stopped.exp (corefunc): Use
3098 spawn_wait_for_attach, spawn_id_get_pid and
3099 kill_wait_spawned_process.
3100 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3101 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3102 kill_wait_spawned_process instead of explicit "kill -9".
3103 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3104 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3105 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3106 processes. Don't map cygwin/windows pids here. Now returns a
3109 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3111 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3112 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3115 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3117 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3119 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3122 2014-05-21 Mark Wielaard <mjw@redhat.com>
3124 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3126 2015-07-30 Pedro Alves <palves@redhat.com>
3128 * linux-low.c (handle_extended_wait): Set the child's last
3129 reported status to TARGET_WAITKIND_STOPPED.
3131 2015-07-30 Pedro Alves <palves@redhat.com>
3134 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3135 only shows inferior 1.
3137 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3138 Pedro Alves <palves@redhat.com>
3141 * gdb.threads/fork-plus-threads.c: New file.
3142 * gdb.threads/fork-plus-threads.exp: New file.
3144 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3146 * gdb.base/batch-preserve-term-settings.exp
3147 (test_terminal_settings_preserved_after_cli_exit): Use
3150 2015-07-29 Pedro Alves <palves@redhat.com>
3151 Don Breazeal <donb@codesourcery.com>
3153 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3154 output from both inferior_spawn_id and gdb_spawn_id.
3156 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3158 * gdb.threads/attach-into-signal.exp (corefunc): Use
3159 with_test_prefix on nested loops, uniquefying the test messages.
3161 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3163 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3166 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3168 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3170 (test_terminal_settings_preserved_after_sigterm): New test.
3172 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3174 * gdb.base/batch-preserve-term-settings.exp
3175 (test_terminal_settings_preserved_after_cli_exit): New test.
3177 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3179 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3180 manipulation of saved_gdbflags.
3181 (test_terminal_settings_preserved): Remove global declaration of
3182 the unused variable pagination_prompt. Remove manipulation of
3183 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3186 2015-07-29 Pedro Alves <palves@redhat.com>
3188 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3190 2015-07-29 Pedro Alves <palves@redhat.com>
3192 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3195 2015-07-29 Pedro Alves <palves@redhat.com>
3197 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3198 (main): Call gdb_unbuffer_output.
3199 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3200 (main): Call gdb_unbuffer_output.
3201 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3202 (main): Call gdb_unbuffer_output.
3203 * gdb.base/call-strs.exp: Adjust to step over the
3204 gdb_unbuffer_output call.
3205 * gdb.base/catch-gdb-caused-signals.c: Include
3206 "../lib/unbuffer_output.c".
3207 (main): Call gdb_unbuffer_output.
3208 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3209 (main): Call gdb_unbuffer_output.
3210 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3211 (main): Call gdb_unbuffer_output.
3212 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3213 (main): Call gdb_unbuffer_output.
3214 * gdb.base/shlib-call.exp: Adjust to step over the
3215 gdb_unbuffer_output call.
3216 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3217 (main): Call gdb_unbuffer_output.
3218 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3219 (main): Call gdb_unbuffer_output.
3220 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3221 (main): Rename to ...
3223 (main): Reimplement.
3224 * gdb.base/varargs.exp: Run to test instead of to main.
3225 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3226 (main): Call gdb_unbuffer_output.
3228 2015-07-29 Pedro Alves <palves@redhat.com>
3230 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3231 factore out from mi_continue_dprintf. For call-style dprintfs,
3232 expect dprintf output out of $inferior_spawn_id.
3233 (mi_continue_dprintf): Use mi_expect_dprintf.
3234 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3235 (main): Call gdb_unbuffer_output.
3237 2015-07-29 Pedro Alves <palves@redhat.com>
3239 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3240 (default_mi_gdb_start): Set inferior_spawn_id instead of
3241 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3243 (mi_gdb_test): Always expect inferior output from both
3244 $inferior_spawn_id and $gdb_spawn_id.
3246 2015-07-29 Pedro Alves <palves@redhat.com>
3248 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3249 send_inferior and $inferior_spawn_id.
3251 2015-07-29 Pedro Alves <palves@redhat.com>
3253 * gdb.gdb/complaints.exp (test_initial_complaints)
3254 (test_serial_complaints, test_short_complaints): Use
3256 (test_empty_complaint): Handle $inferior_spawn_id !=
3259 2015-07-29 Pedro Alves <palves@redhat.com>
3261 * gdb.base/varargs.exp: Use gdb_test_stdio.
3263 2015-07-29 Pedro Alves <palves@redhat.com>
3265 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3267 2015-07-29 Pedro Alves <palves@redhat.com>
3269 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3271 2015-07-29 Pedro Alves <palves@redhat.com>
3273 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3274 parameter into two new parameters, "inf_result" and "gdb_result".
3275 Expect inferior output and gdb output from $inferior_spawn_id and
3276 $gdb_spawn_id, respectively. Adjust all callers.
3278 2015-07-29 Pedro Alves <palves@redhat.com>
3280 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3281 of gdb_test_sequence.
3283 2015-07-29 Pedro Alves <palves@redhat.com>
3285 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3286 (saw_spurious_output): Expect inferior output from
3287 $inferior_spawn_id. Use gdb_test_stdio.
3289 2015-07-29 Pedro Alves <palves@redhat.com>
3291 * gdb.base/dprintf.exp: Use standard_testfile. Change
3292 prepare_for_testing call.
3293 (srcfile): Don't set.
3294 (restart): New procedure.
3295 (test_dprintf): New procecure, use to continue over dprintfs.
3296 (test_call, test_agent): New procedures, tests moved here.
3297 Restart gdb and recreate dprintfs. Adjust expected output.
3299 2015-07-29 Pedro Alves <palves@redhat.com>
3301 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3303 2015-07-29 Pedro Alves <palves@redhat.com>
3305 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3307 2015-07-29 Pedro Alves <palves@redhat.com>
3309 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3312 2015-07-29 Pedro Alves <palves@redhat.com>
3314 * lib/gdb.exp (gdb_test_stdio): New procedure.
3316 2015-07-29 Pedro Alves <palves@redhat.com>
3318 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3320 2015-07-29 Pedro Alves <palves@redhat.com>
3322 * gdb.base/call-signal-resume.exp: Remove check for
3323 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3324 * gdb.base/unwindonsignal.exp: Likewise.
3325 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3326 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3328 2015-07-29 Pedro Alves <palves@redhat.com>
3330 * gdb.base/siginfo-addr.c (pass): New function.
3331 (handler): Call it iff si_addr is correct.
3332 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3333 Set a breakpoint at "pass" and continue to it.
3335 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3337 * gdb.python/py-objfile.exp: Make some tests have unique names.
3338 * gdb.python/py-pp-registration.exp: Likewise.
3340 2015-07-28 Pedro Alves <palves@redhat.com>
3342 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3344 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3346 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3348 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3350 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3352 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3354 * gdb.base/gdb-sigterm-2.exp: New test.
3356 2015-07-25 Doug Evans <xdje42@gmail.com>
3359 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3360 (workers/%.worker, build-perf): New rule.
3361 (GDB_PERFTEST_MODE): New variable.
3362 (check-perf): Use it.
3363 (clean): Clean up gdb.perf parallel build subdirs.
3364 * lib/build-piece.exp: New file.
3365 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3366 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3368 (standard_temp_file): Ditto.
3369 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3372 2015-07-24 Doug Evans <dje@google.com>
3374 * gdb.perf/lib/perftest/utils.py: New file.
3375 * gdb.perf/gm-hello.cc: New file.
3376 * gdb.perf/gm-pervasive-typedef.cc: New file.
3377 * gdb.perf/gm-pervasive-typedef.h: New file.
3378 * gdb.perf/gm-std.cc: New file.
3379 * gdb.perf/gm-std.h: New file.
3380 * gdb.perf/gm-use-cerr.cc: New file.
3381 * gdb.perf/gm-utils.h: New file.
3382 * gdb.perf/gmonster-null-lookup.py: New file.
3383 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3384 * gdb.perf/gmonster-print-cerr.py: New file.
3385 * gdb.perf/gmonster-ptype-string.py: New file.
3386 * gdb.perf/gmonster-runto-main.py: New file.
3387 * gdb.perf/gmonster-select-file.py: New file.
3388 * gdb.perf/gmonster1-null-lookup.exp: New file.
3389 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3390 * gdb.perf/gmonster1-print-cerr.exp: New file.
3391 * gdb.perf/gmonster1-ptype-string.exp: New file.
3392 * gdb.perf/gmonster1-runto-main.exp: New file.
3393 * gdb.perf/gmonster1-select-file.exp: New file.
3394 * gdb.perf/gmonster1.cc: New file.
3395 * gdb.perf/gmonster1.exp: New file.
3396 * gdb.perf/gmonster2-null-lookup.exp: New file.
3397 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3398 * gdb.perf/gmonster2-print-cerr.exp: New file.
3399 * gdb.perf/gmonster2-ptype-string.exp: New file.
3400 * gdb.perf/gmonster2-runto-main.exp: New file.
3401 * gdb.perf/gmonster2-select-file.exp: New file.
3402 * gdb.perf/gmonster2.cc: New file.
3403 * gdb.perf/gmonster2.exp: New file.
3405 2015-07-24 Doug Evans <dje@google.com>
3407 * gdb.perf/README: New file.
3408 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3409 * lib/gen-perf-test.exp: New file.
3411 2015-07-24 Doug Evans <dje@google.com>
3413 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3414 (PerfTest::startup): New function.
3415 (PerfTest::run): Return result of calling body.
3416 (PerfTest::assemble): Rewrite.
3417 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3418 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3419 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3420 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3421 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3423 2015-07-24 Doug Evans <dje@google.com>
3425 * lib/gdb.exp (clean_restart): Make executable optional.
3427 2015-07-24 Doug Evans <dje@google.com>
3429 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3430 compiler_info references.
3431 * gdb.cp/temargs.exp: Ditto.
3432 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3433 (get_compiler_info): Early exit if already computed. Set compiler_info
3434 to "unknown" if there was a problem.
3435 (test_compiler_info): Add function comment. Call get_compiler_info.
3437 2015-07-24 Doug Evans <dje@google.com>
3439 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3440 (workers/%.worker, build-perf): New rule.
3441 (GDB_PERFTEST_MODE): New variable.
3442 (check-perf): Use it.
3443 (clean): Clean up gdb.perf parallel build subdirs.
3444 * lib/build-piece.exp: New file.
3445 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3446 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3448 (standard_temp_file): Ditto.
3449 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3452 2015-07-24 Doug Evans <dje@google.com>
3454 * lib/future.exp (gdb_default_target_compile): New option
3456 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3459 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3461 * gdb.base/catch-syscall.exp: Call gdb_exit before
3464 2015-07-24 Pedro Alves <palves@redhat.com>
3466 * gdb.python/py-events.exp: Accept output between the stop event
3468 * gdb.python/py-evsignal.exp: Likewise.
3469 * gdb.python/py-evthreads.exp: Likewise.
3471 2015-07-24 Pedro Alves <palves@redhat.com>
3474 * gdb.threads/non-ldr-exit.c: New file.
3475 * gdb.threads/non-ldr-exit.exp: New file.
3477 2015-07-24 Yao Qi <yao.qi@linaro.org>
3479 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3482 2015-07-24 Yao Qi <yao.qi@linaro.org>
3484 * gdb.server/ext-restart.exp: New file.
3486 2015-07-24 Yao Qi <yao.qi@linaro.org>
3488 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3490 * gdb.server/ext-wrapper.exp: New file.
3492 2015-07-23 Doug Evans <dje@google.com>
3494 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3495 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3497 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3499 * gdb.ada/var_arr_typedef.exp: New testcase.
3500 * gdb.ada/var_arr_typedef/pack.adb: New file.
3501 * gdb.ada/var_arr_typedef/pack.ads: New file.
3502 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3504 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3506 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3508 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3510 * gdb.arch/i386-biarch-core.exp: Replace istarget
3511 by "complete set gnutarget". Remove expectation for the "core-file"
3514 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3516 Revert the previous commit:
3517 Tests for validate symbol file using build-id.
3519 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3521 Tests for validate symbol file using build-id.
3522 * gdb.base/solib-mismatch-lib.c: New file.
3523 * gdb.base/solib-mismatch-libmod.c: New file.
3524 * gdb.base/solib-mismatch.c: New file.
3525 * gdb.base/solib-mismatch.exp: New file.
3527 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3529 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3531 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3532 * gdb.base/siginfo.exp: Likewise.
3533 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3535 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3537 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3539 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3541 * gdb.trace/range-stepping.exp: Check that the target supports
3544 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3546 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3548 2015-07-14 Pedro Alves <palves@redhat.com>
3550 * gdb.base/killed-outside.exp: New file.
3551 * gdb.base/killed-outside.c: New file.
3553 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3555 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3557 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3559 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3561 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3562 infcall tests instead of setting up for KFAIL.
3564 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3566 * gdb.btrace/record_goto-step.exp: New.
3568 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3571 * gdb.compile/compile.c (struct struct_type): Add volatile to
3573 * gdb.compile/compile.exp
3574 (compile code struct_object.selffield = &struct_object): Skip further
3575 struct_object tests if this one xfails.
3577 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3580 * gdb.trace/ax.exp: Add test.
3582 2015-07-07 Yao Qi <yao.qi@linaro.org>
3584 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3585 instead of istarget "aarch64*-*-*".
3586 * gdb.arch/aarch64-fp.exp: Likewise.
3587 * gdb.base/float.exp: Likewise.
3588 * gdb.reverse/aarch64.exp: Likewise.
3589 * lib/gdb.exp (is_aarch64_target): New proc.
3591 2015-07-07 Yao Qi <yao.qi@linaro.org>
3593 * lib/gdb.exp (is_aarch32_target): New proc.
3594 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3595 instead of "istarget "arm*-*-*"".
3596 * gdb.arch/arm-disp-step.exp: Likewise.
3597 * gdb.arch/thumb-bx-pc.exp: Likewise.
3598 * gdb.arch/thumb-prologue.exp: Likewise.
3599 * gdb.arch/thumb-singlestep.exp: Likewise.
3600 * gdb.base/disp-step-syscall.exp: Likewise.
3601 * gdb.base/float.exp: Likewise.
3603 2015-07-07 Yao Qi <yao.qi@linaro.org>
3605 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3606 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3608 2015-07-07 Yao Qi <yao.qi@linaro.org>
3610 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3611 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3613 * gdb.multi/multi-arch.exp: Likewise.
3615 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3617 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3620 2015-07-07 Yao Qi <yao.qi@linaro.org>
3622 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3624 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3626 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3627 '[' and ']' characters.
3629 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3631 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3633 2015-06-29 Pedro Alves <palves@redhat.com>
3636 * gdb.threads/hand-call-new-thread.c: New file.
3637 * gdb.threads/hand-call-new-thread.c: New file.
3639 2015-06-26 Keith Seitz <keiths@redhat.com>
3640 Doug Evans <dje@google.com>
3643 * gdb.cp/var-tag-2.cc: New file.
3644 * gdb.cp/var-tag-3.cc: New file.
3645 * gdb.cp/var-tag-4.cc: New file.
3646 * gdb.cp/var-tag.cc: New file.
3647 * gdb.cp/var-tag.exp: New file.
3649 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3651 * gdb.base/history-duplicates.exp: New test.
3653 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3655 * gdb.base/completion.exp: Test the completion of the "focus"
3658 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3660 * gdb.arch/amd64-prologue-skip.S: New file.
3661 * gdb.arch/amd64-prologue-skip.exp: New file.
3663 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3665 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3666 is_address_zero_readable check.
3668 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3670 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3671 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3673 2015-06-24 Yao Qi <yao.qi@linaro.org>
3675 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3678 2015-06-24 Yao Qi <yao.qi@linaro.org>
3680 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3681 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3682 * gdb.base/siginfo-thread.exp: Likewise.
3684 2015-06-22 Yao Qi <yao.qi@linaro.org>
3686 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3688 2015-06-22 Yao Qi <yao.qi@linaro.org>
3690 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3692 (skip_hw_watchpoint_tests): Likewise.
3694 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3696 * gdb.base/gdbinit-history.exp: Test the interaction between
3697 setting GDBHISTSIZE and setting the history size via .gdbinit.
3699 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3702 * gdb.base/gdbhistsize-history.exp: New test.
3704 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3706 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3708 * gdb.base/readline.exp: Likewise.
3710 2015-06-17 Yao Qi <yao.qi@linaro.org>
3712 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3715 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3717 * gdb.base/gdbinit-history.exp: Add test case to check that
3718 an unlimited history file does not get truncated on exit.
3720 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3722 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3723 (VECTOR): New macro. Use it...
3724 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3725 ...for these typedefs.
3726 (int8, char1, int1, double1): New typedefs.
3727 (struct just_int2, struct two_int2): New structures.
3728 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3729 (add_structvecs, add_singlevecs): New functions.
3730 (main): Call add_some_intvecs twice.
3731 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3732 the compile and exit upon failure. Try compiling for the "native"
3733 architecture. Test inferior function calls with vector arguments
3734 and vector return value handling with "finish" and "return".
3736 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3738 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3739 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3741 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3743 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3745 PR breakpoints/16465
3746 * gdb.mi/mi-dprintf-pending.c: New file.
3747 * gdb.mi/mi-dprintf-pending.exp: New test.
3748 * gdb.mi/mi-dprintf-pendshr.c: New file.
3750 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3751 Mircea Gherzan <mircea.gherzan@intel.com>
3753 * gdb.arch/i386-mpx-map.c: New file.
3754 * gdb.arch/i386-mpx-map.exp: New File.
3756 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3758 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3759 * gdb.arch/i386-mpx.exp: Indentation fixed.
3761 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3763 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3764 function and improved indentation.
3765 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3766 gdb_test_multiple. Added additional tests to skip the test.
3768 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3770 * gdb.arch/i386-avx512.c: Change path in include file.
3771 * gdb.arch/i386-avx512.exp: Change include dir path
3773 * gdb.arch/i386-mpx.c: Change path in include file.
3774 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3777 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3779 * gdb.compile/compile-print.exp (compile print *vararray@3)
3780 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3782 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3784 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3785 (do not keep jit in memory): ... this.
3786 (expect 5): Change it to ...
3787 (expect no 5): ... this.
3789 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3792 * gdb.mi/mi-detach.exp: New file.
3794 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3797 * gdb.arch/amd64-tailcall-self.S: New file.
3798 * gdb.arch/amd64-tailcall-self.c: New file.
3799 * gdb.arch/amd64-tailcall-self.exp: New file.
3801 2015-05-28 Don Breazeal <donb@codesourcery.com>
3803 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3804 tests for remote targets by checking is_target_gdbserver.
3806 2015-05-27 Doug Evans <dje@google.com>
3808 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3809 * gdb.dwarf2/opaque-type-lookup.c: New file.
3810 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3812 2015-05-26 Doug Evans <dje@google.com>
3814 * gdb.cp/iostream.cc: New file.
3815 * gdb.cp/iostream.exp: New file.
3817 2015-05-26 Doug Evans <dje@google.com>
3819 * gdb.dwarf2/dw2-op-call.exp: Update.
3820 * gdb.dwarf2/dw4-sig-types.exp: Update.
3821 * gdb.dwarf2/implptr.exp: Update.
3822 * gdb.mi/mi-cmd-param-changed.exp: Update.
3824 2015-05-26 Doug Evans <dje@google.com>
3826 * gdb.python/py-lazy-string.c: New file.
3827 * gdb.python/py-lazy-string.exp: New file.
3828 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3829 (main): Update. Add estring3.
3830 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3831 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3833 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3834 Yao Qi <yao.qi@linaro.org>
3836 * gdb.reverse/aarch64.c: New.
3837 * gdb.reverse/aarch64.exp: New.
3839 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3841 * lib/gdb.exp (supports_process_record): Return true for
3843 (supports_reverse): Likewise.
3845 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3847 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3848 Use with_test_prefix.
3850 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3852 * gdb.base/completion.exp: Add test for completion of layout
3855 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3857 * lib/gdb.exp (skip_tui_tests): New proc.
3858 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3860 2015-05-19 Pedro Alves <palves@redhat.com>
3862 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3863 Save the whole env array instead of just HOME. Unset HISTSIZE in
3864 the environment while testing. Restore whole environment
3867 2015-05-16 Doug Evans <xdje42@gmail.com>
3869 * gdb.guile/scm-ports.c: New file.
3870 * gdb.guile/scm-ports.exp: Add memory port tests.
3872 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3874 * gdb.compile/compile-print.c: New file.
3875 * gdb.compile/compile-print.exp: New file.
3877 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3879 * gdb.compile/compile-ops.exp: Cast param to void.
3880 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3881 (compile code struct_object.selffield = &struct_object): Add xfail.
3883 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3885 * gdb.ada/arr_enum_with_gap: New testcase.
3887 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3889 * gdb.ada/byte_packed_arr: New testcase.
3891 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3893 * gdb.ada/pckd_neg: New testcase.
3895 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3898 * gdb.base/gdbinit-history.exp: New test.
3899 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3900 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3902 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3904 * gdb.python/py-xmethods.cc: Enhance test case.
3905 * gdb.python/py-xmethods.exp: New tests.
3906 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3908 (B_indexoper): Likewise.
3909 (global_dm_list) : Add new xmethod worker functions.
3911 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3913 * gdb.base/coredump-filter.exp: Correctly unset
3914 "coredump_var_addr" array.
3916 2015-05-08 Pedro Alves <palves@redhat.com>
3918 * gdb.server/non-existing-program.exp: Unset spawn_id.
3920 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3923 * gdb.python/py-xmethods.exp: Add tests.
3925 2015-05-08 Yao Qi <yao.qi@linaro.org>
3928 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3929 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3930 function set_coredump_filter, and remove remote_exec call.
3931 Remove argument ipid. Callers update.
3932 (top level): Don't get inferior's PID.
3934 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3936 * gdb.base/watch_thread_num.exp: Skip test on targets without
3939 2015-05-06 Pedro Alves <palves@redhat.com>
3942 * gdb.server/non-existing-program.exp: New file.
3944 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3946 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3948 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3950 * gdb.ada/out_of_line_in_inlined: New testcase.
3952 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3954 * gdb.ada/var_rec_arr: New testcase.
3956 2015-04-30 Yao Qi <yao.qi@linaro.org>
3958 * gdb.base/break-idempotent.exp: If
3959 skip_hw_watchpoint_multi_tests returns true, skip the tests
3960 on "rwatch" and "awatch".
3962 2015-04-30 Yao Qi <yao.qi@linaro.org>
3964 * gdb.base/relativedebug.exp: Invoke gdb command
3965 "info sharedlibrary", and if libc.so doesn't have debug info,
3968 2015-04-29 Doug Evans <dje@google.com>
3970 * gdb.python/py-xmethods.exp: Add ptype tests.
3971 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3972 get_result_type method.
3974 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3976 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3977 the target does not support hardware watchpoints.
3979 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3981 * gdb.base/break-always.exp: Abort testing if writing to memory
3984 2015-04-28 Doug Evans <dje@google.com>
3986 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3987 * gdb.python/py-pp-registration.exp: ... here. New file.
3988 * gdb.python/py-pp-registration.c: New file.
3989 * gdb.python/py-pp-registration.py: New file.
3991 2015-04-28 Doug Evans <dje@google.com>
3993 * gdb.python/py-bad-printers.c: New file.
3994 * gdb.python/py-bad-printers.py: New file.
3995 * gdb.python/py-bad-printers.exp: New file.
3997 2015-04-28 Sasha Smundak <asmundak@google.com>
3999 * gdb.python/py-type.exp: New test.
4001 2015-04-28 Andy Wingo <wingo@igalia.com>
4003 * gdb.python/py-parameter.exp:
4004 * gdb.guile/scm-parameter.exp: Escape the path that we are
4005 matching against, as it might contain characters that are special
4006 to regular expressions.
4008 2015-04-27 Joel Brobecker <brobecker@adacore.com>
4010 * gdb.ada/rec_comp: New testcase.
4012 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
4014 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4017 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4019 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4020 new tests for verilog output.
4022 2015-04-24 Yao Qi <yao.qi@linaro.org>
4024 * boards/remote-gdbserver-on-localhost.exp: New file.
4026 2015-04-23 Pedro Alves <palves@redhat.com>
4028 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4029 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4030 "end of file", remove $inferior_spawn_id from the indirect list.
4032 2015-04-23 Pedro Alves <palves@redhat.com>
4034 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4036 2015-04-23 Pedro Alves <palves@redhat.com>
4038 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4039 on $any_spawn_id instead of only on $gdb_spawn_id.
4041 2015-04-21 Pierre Muller <muller@sourceware.org>
4044 * lib/pascal.exp (gpc_compile): Add new option "class".
4045 (fpc_compile): Likewise.
4046 * gdb.pascal/case-insensitive-symbols.pas: New file.
4047 * gdb.pascal/case-insensitive-symbols.exp: New file.
4049 2015-04-20 Gary Benson <gbenson@redhat.com>
4051 * gdb.base/attach.exp: Fix three extended remote failures.
4053 2015-04-17 Gary Benson <gbenson@redhat.com>
4055 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4056 the main executable over the remote protocol.
4058 2015-04-16 Pedro Alves <palves@redhat.com>
4060 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4061 a new gdbserver if gdbserver_reconnect_p is set.
4063 2015-04-16 Pedro Alves <palves@redhat.com>
4065 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4066 is set, don't exit gdbserver.
4068 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4070 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4071 appropriate .insn, such that an older assembler can be used.
4072 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4073 the z/Architecture instruction set on 31-bit targets as well.
4075 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4077 * gdb.go/handcall.exp: Remove all logic related to the first
4078 breakpoint and rely on go_runto_main instead.
4079 * gdb.go/strings.exp: Likewise.
4080 * gdb.go/unsafe.exp: Likewise.
4081 * gdb.go/hello.exp: Likewise. Also rename the remaining
4082 breakpoint marker to "breakpoint 1".
4083 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4084 * gdb.go/strings.go: Likewise.
4085 * gdb.go/unsafe.go: Likewise.
4086 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4087 "set breakpoint 2 here" and rename the remaining breakpoint marker
4090 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4092 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4093 if itertools.imap is not present.
4094 * gdb.python/py-objfile.exp: Add parentheses.
4095 * gdb.python/py-type.exp: Same.
4096 * gdb.python/py-unwind-maint.py: Same.
4098 2015-04-15 Yao Qi <yao.qi@linaro.org>
4100 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4101 of ":$ptr_size" and set its form explicitly.
4103 2015-04-15 Pedro Alves <palves@redhat.com>
4104 Yao Qi <yao.qi@linaro.org>
4106 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4107 timeout by factor of 4.
4108 (test_regular_watch): Likewise.
4109 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4110 * gdb.reverse/sigall-reverse.exp: Likewise.
4111 * gdb.reverse/until-precsave.exp: Likewise.
4112 * lib/gdb.exp (with_timeout_factor): New proc.
4113 (gdb_expect): Move some code to ...
4114 (get_largest_timeout): ... here. New procedure.
4116 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4118 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4120 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4122 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4123 to write to the .text section.
4125 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4127 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4128 Handle the case of targets that do not provide PID information.
4130 2015-04-13 Yao Qi <yao.qi@linaro.org>
4132 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4133 and use expect instead of gdb_expect.
4135 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4137 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4138 "coredump_var_addr" to avoid naming conflict with other testcases.
4140 2015-04-10 Pedro Alves <palves@redhat.com>
4142 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4143 gdb_test_sequence and gdb_assert.
4145 2015-04-10 Pedro Alves <palves@redhat.com>
4147 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4148 test messages that don't include the breakpoint address.
4150 2015-04-10 Yao Qi <yao.qi@linaro.org>
4152 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4153 false for some offset and width combinations which aren't
4154 supported by linux kernel.
4156 2015-04-10 Pedro Alves <palves@redhat.com>
4158 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4159 procedure, factored out from ...
4160 (top level): ... here. Add "set displaced-stepping" testing axis.
4161 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4162 parameter "displaced". Use it.
4163 (top level): Use foreach and add "set displaced-stepping" testing
4166 2015-04-10 Pedro Alves <palves@redhat.com>
4168 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4170 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4171 both the address of the instruction that triggers the watchpoint
4172 and the address of the instruction immediately after, and use
4173 those addresses for the test. Fix comment.
4175 2015-04-10 Pedro Alves <palves@redhat.com>
4177 * gdb.base/sigstep.exp (breakpoint_to_handler)
4178 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4179 Test "backtrace" in handler.
4180 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4181 (top level): Add new "displaced" test axis to
4182 breakpoint_to_handler, breakpoint_to_handler_entry and
4183 breakpoint_over_handler.
4185 2015-04-10 Pedro Alves <palves@redhat.com>
4188 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4190 2015-04-10 Yao Qi <yao.qi@linaro.org>
4192 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4193 (test_add_rn_pc): New function.
4194 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4195 (top level): Invoke test_add_rn_pc.
4197 2015-04-10 Pedro Alves <palves@redhat.com>
4200 * gdb.base/step-over-no-symbols.exp: New file.
4202 2015-04-09 Andy Wingo <wingo@igalia.com>
4204 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4205 after the Python tests.
4207 2015-04-08 Keith Seitz <keiths@redhat.com>
4210 * gdb.python/py-completion.exp: New tests for completion.
4211 * gdb.python/py-completion.py (CompleteLimit1): New class.
4212 (CompleteLimit2): Likewise.
4213 (CompleteLimit3): Likewise.
4214 (CompleteLimit4): Likewise.
4215 (CompleteLimit5): Likewise.
4216 (CompleteLimit6): Likewise.
4217 (CompleteLimit7): Likewise.
4219 2015-04-08 Pedro Alves <palves@redhat.com>
4223 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4225 (main): Install it as SIGUSR1 handler.
4226 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4227 parameter. Always use "setup" as prefix. Toggle "set
4228 displaced-stepping" off/on depending on global. Don't switch to
4230 (top level): Add displaced stepping "off/on" test axis. Update
4231 "setup" calls. Wrap each subtest with with_test_prefix. Test
4232 continuing with a queued signal in each thread.
4234 2015-04-08 Pedro Alves <palves@redhat.com>
4236 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4237 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4238 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4239 Return early if running to main fails.
4240 * gdb.trace/while-stepping.exp: Likewise.
4242 2015-04-07 Pedro Alves <palves@redhat.com>
4244 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4245 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4246 interact with inferior program.
4248 2015-04-07 Pedro Alves <palves@redhat.com>
4250 * lib/gdb.exp (inferior_spawn_id): New global.
4251 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4252 spawn id after processing the user code.
4253 (default_gdb_start): Set inferior_spawn_id.
4254 (send_inferior): New procedure.
4255 * lib/gdbserver-support.exp (gdbserver_start): Set
4257 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4259 2015-04-07 Pedro Alves <palves@redhat.com>
4261 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4262 * lib/gdbserver-support.exp (gdbserver_start): Make
4263 $server_spawn_id global.
4264 (gdbserver_start): Don't wait for gdbserver's spawn id with
4266 (close_gdbserver): New procedure.
4267 (gdb_exit): Rename the default version and reimplement.
4269 2015-04-07 Pedro Alves <palves@redhat.com>
4271 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4272 append the substituted item, not the original item.
4274 2015-04-07 Pedro Alves <palves@redhat.com>
4276 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4279 2015-04-07 Pedro Alves <palves@redhat.com>
4281 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4282 output appearing once only.
4284 2015-04-07 Pedro Alves <palves@redhat.com>
4286 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4287 that doesn't expect anything. Return early if running to main
4290 2015-04-07 Yao Qi <yao.qi@linaro.org>
4292 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4293 (child_function): Call alarm.
4294 (main): Move call to alarm into the loop.
4295 * gdb.threads/non-stop-fair-events.exp: Build program with
4298 2015-04-06 Doug Evans <xdje42@gmail.com>
4300 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4301 Fix dest parameter to board_info.
4302 (fpc_compile): Ditto.
4303 (gdb_compile_pascal): Rename dest arg to destfile.
4305 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4307 * gdb.ada/funcall_ref.exp: New file.
4308 * gdb.ada/funcall_ref/foo.adb: New file.
4310 2015-04-02 Yao Qi <yao.qi@linaro.org>
4312 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4315 2015-04-02 Gary Benson <gbenson@redhat.com>
4317 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4319 2015-04-01 Sasha Smundak <asmundak@google.com>
4321 * gdb.python/py-unwind-maint.c: New file.
4322 * gdb.python/py-unwind-maint.exp: New test.
4323 * gdb.python/py-unwind-maint.py: New file.
4324 * gdb.python/py-unwind.c: New file.
4325 * gdb.python/py-unwind.exp: New test.
4326 * gdb.python/py-unwind.py: New test.
4328 2015-04-01 Pedro Alves <palves@redhat.com>
4330 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4331 to fail instead of non-existent $test.
4333 2015-04-01 Pedro Alves <palves@redhat.com>
4335 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4336 GDBFLAGS if not empty.
4338 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4340 * gdb.ada/complete.exp: Remove "multi_line".
4341 * gdb.ada/info_exc.exp: Remove "multi_line".
4342 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4343 * gdb.ada/ptype_field.exp: Remove "multi_line".
4344 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4345 * gdb.ada/tagged.exp: Remove "multi_line".
4346 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4348 * gdb.btrace/delta.exp: Likewise.
4349 * gdb.btrace/exception.exp: Likewise.
4350 * gdb.btrace/function_call_history.exp: Likewise.
4351 * gdb.btrace/instruction_history.exp: Likewise.
4352 * gdb.btrace/nohist.exp: Likewise.
4353 * gdb.btrace/record_goto.exp: Likewise.
4354 * gdb.btrace/segv.exp: Likewise.
4355 * gdb.btrace/stepi.exp: Likewise.
4356 * gdb.btrace/tailcall.exp: Likewise.
4357 * gdb.btrace/unknown_functions.exp: Likewise.
4358 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4359 * lib/gdb.exp: Add the "multi_line" helper.
4361 2015-04-01 Pedro Alves <palves@redhat.com>
4363 * gdb.threads/tid-reuse.c: New file.
4364 * gdb.threads/tid-reuse.exp: New file.
4366 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4369 * gdb.base/coredump-filter.c: New file.
4370 * gdb.base/coredump-filter.exp: Likewise.
4372 2015-03-27 Petr Machata <pmachata@redhat.com>
4374 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4375 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4376 (Dwarf::assemble): Initialize them.
4377 (Dwarf::lines): New function.
4379 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4381 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4382 SYMBOL_PREFIX for x86_64-*-cygwin.
4384 2015-03-26 Andy Wingo <wingo@igalia.com>
4387 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4388 const_value but not a location.
4389 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4390 location defined in non-main CUs are visible.
4392 2015-03-26 Yao Qi <yao.qi@linaro.org>
4395 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4396 Add a line number entry for the same line.
4397 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4398 Add a line number entry for the same line.
4400 2015-03-26 Yao Qi <yao.qi@linaro.org>
4402 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4404 (func): Likewise. Add .Lfunc_1 label.
4406 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4411 2015-03-26 Yao Qi <yao.qi@linaro.org>
4413 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4414 Call gdb_compile instead to compile each .s files without debug
4417 2015-03-26 Yao Qi <yao.qi@linaro.org>
4419 * gdb.base/savedregs.exp (process_saved_regs): Make
4420 "Saved registers:" optional in the pattern.
4422 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4424 * gdb.btrace/next.exp: Merged into step.exp.
4425 * gdb.btrace/finish.exp: Merged into step.exp.
4426 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4427 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4428 "record goto" and checking the exact replay position.
4429 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4430 check for "Recording format" in "info record" output.
4431 * gdb.btrace/record_goto.exp: Choose test file based on target.
4432 * gdb.btrace/x86-record_goto.S: Renamed into ...
4433 * gdb.btrace/x86_64-record_goto.S: ... this.
4434 * gdb.btrace/i686-record_goto.S: New.
4435 * gdb.btrace/x86-tailcall.S: Renamed into ...
4436 * gdb.btrace/x86_64-tailcall.S: ... this.
4437 * gdb.btrace/i686-tailcall.S: New.
4438 * gdb.btrace/x86-tailcall.c: Renamed into ...
4439 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4440 separate statements. Update test.
4441 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4442 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4443 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4444 * gdb.btrace/tailcall.exp: Choose test file based on target.
4445 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4447 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4449 * gdb.btrace/exception.exp: Increase BTS buffer size.
4451 2015-03-24 Pedro Alves <palves@redhat.com>
4453 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4455 2015-03-24 Pedro Alves <palves@redhat.com>
4457 * gdb.threads/schedlock.exp (test_step): No longer expect that
4458 "set scheduler-locking step" with "next" over a function call runs
4461 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4463 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4465 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4467 PR breakpoints/16466
4468 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4469 * gdb.mi/mi-pending.c (thread_func): New function.
4470 (int main): Add threading support required.
4471 * gdb.mi/mi-pending.exp: Add tests for this issue.
4472 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4473 (pendfunc2): Remove stdio dependency.
4474 * gdb.mi/mi-pendshr2.c: New file.
4476 2015-03-23 Keith Seitz <keiths@redhat.com>
4478 * gdb.linespec/keywords.c: New file.
4479 * gdb.linespec/keywords.exp: New file.
4481 2015-03-23 Keith Seitz <keiths@redhat.com>
4484 * gdb.dwarf2/staticvirtual.exp: New test.
4486 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4488 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4489 * README: Remove HP-UX and gdb.hp.
4491 * configure: Regenerate.
4492 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4493 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4494 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4495 gdb.hp/gdb.defects/Makefile.
4496 * gdb.hp/Makefile.in: File deleted.
4497 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4498 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4499 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4500 * gdb.hp/gdb.aCC/run.c: File deleted.
4501 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4502 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4503 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4504 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4505 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4506 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4507 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4508 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4509 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4510 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4511 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4512 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4513 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4514 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4515 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4516 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4517 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4518 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4519 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4520 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4521 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4522 * gdb.hp/gdb.compat/average.c: File deleted.
4523 * gdb.hp/gdb.compat/sum.c: File deleted.
4524 * gdb.hp/gdb.compat/xdb.c: File deleted.
4525 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4526 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4527 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4528 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4529 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4530 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4531 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4532 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4533 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4534 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4535 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4536 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4537 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4538 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4539 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4540 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4541 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4542 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4543 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4544 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4545 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4546 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4547 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4548 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4549 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4550 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4551 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4552 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4553 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4554 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4555 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4556 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4557 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4558 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4559 * gdb.hp/tools/odump: File deleted.
4561 2015-03-19 Pedro Alves <palves@redhat.com>
4563 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4564 (saw_thread_3): New globals.
4565 (top level): Increment them when an event for the corresponding
4567 (no thread starvation): New test.
4569 2015-03-19 Pedro Alves <palves@redhat.com>
4571 * gdb.threads/continue-pending-status.c: New file.
4572 * gdb.threads/continue-pending-status.exp: New file.
4574 2015-03-18 Pedro Alves <palves@redhat.com>
4576 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4577 Use gdb_is_target_remote instead of is_remote. Use
4578 gdb_test_multiple instead of gdb_expect. Exit early if
4579 gdb_test_multiple hits its internal matches. Tighten stepi tests
4580 expected output. Fail on exit with any signal, instead of just
4583 2015-03-18 Yao Qi <yao.qi@linaro.org>
4586 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4588 * gdb.base/catch-syscall.exp: Don't skip it on
4589 aarch64*-*-linux* target. Remove elements in all_syscalls.
4590 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4592 (setup_all_syscalls): New proc.
4594 2015-03-16 Yao Qi <yao.qi@linaro.org>
4596 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4597 (top level): Skip tests if valid_addr_p returns false for
4600 2015-03-11 Andy Wingo <wingo@igalia.com>
4602 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4604 2015-03-11 Yao Qi <yao.qi@linaro.org>
4606 * gdb.base/catch-syscall.exp: Fix typo in comments.
4608 2015-03-11 Yao Qi <yao.qi@linaro.org>
4610 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4612 2015-03-09 Pedro Alves <palves@redhat.com>
4614 * dg-extract-results.py: Delete.
4616 2015-03-09 Pedro Alves <palves@redhat.com>
4618 Merge dg-extract-results.sh from GCC upstream (r218843).
4620 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4621 * dg-extract-results.sh: Use --text with grep to avoid issues with
4622 binary files. Fall back to cat -v, if that doesn't work.
4624 2015-03-05 Pedro Alves <palves@redhat.com>
4626 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4628 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4630 * lib/mi-support.exp (mi_expect_interrupt): Accept
4631 alternative event for when in all-stop mode.
4633 2015-03-04 Pedro Alves <palves@redhat.com>
4635 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4637 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4639 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4641 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4643 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4644 regexps for GDB's current line display, accept a hex address
4645 preceding the line number.
4647 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4649 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4650 the 'arch1' variable for "s390*-linux*" targets.
4652 2015-03-04 Pedro Alves <palves@redhat.com>
4654 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4655 (main): Pass missing retval argument to pthread_join call.
4657 2015-03-02 Pedro Alves <palves@redhat.com>
4659 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4660 (top level): Call do_test with non-stop as well.
4662 2015-03-02 Pedro Alves <palves@redhat.com>
4664 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4667 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4669 * gdb.arch/s390-vregs.exp: New test.
4670 * gdb.arch/s390-vregs.S: New file.
4672 2015-02-27 Pedro Alves <palves@redhat.com>
4674 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4675 call to catch_command_errors.
4676 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4677 catch_command_errors.
4679 2015-02-27 Pedro Alves <palves@redhat.com>
4681 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4682 "true" for boolean result.
4683 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4686 2015-02-27 Pedro Alves <palves@redhat.com>
4688 * lib/unbuffer_output.c: New file.
4689 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4690 (main): Call gdb_unbuffer_output.
4692 2015-02-27 Yao Qi <yao.qi@linaro.org>
4694 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4697 2015-02-26 Doug Evans <dje@google.com>
4699 * gdb.cp/class2.cc (Dbase, D): New classes.
4700 (main): New local delta.
4701 * gdb.cp/class2.exp: Test printing delta.
4702 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4703 (dynbar): New global.
4704 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4706 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4708 * gdb.compile/compile-ifunc.c: New file.
4709 * gdb.compile/compile-ifunc.exp: New file.
4711 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4713 * gdb.base/structs.exp: Check for correct struct on finish.
4715 2015-02-26 Yao Qi <yao.qi@linaro.org>
4717 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4720 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4722 * gdb.arch/cordic.ko.bz2: New file.
4723 * gdb.arch/cordic.ko.debug.bz2: New file.
4724 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4726 2015-02-25 Yao Qi <yao.qi@linaro.org>
4728 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4729 aarch64*-*-* target.
4731 2015-02-23 Pedro Alves <palves@redhat.com>
4733 * lib/gdb.exp (delete_breakpoints): Rewrite using
4736 2015-02-23 Pedro Alves <palves@redhat.com>
4738 * gdb.base/info-os.c: Include stdlib.h.
4740 2015-02-22 Doug Evans <xdje42@gmail.com>
4743 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4744 is read after symbols have been re-read.
4745 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4746 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4748 2015-02-21 Doug Evans <dje@google.com>
4750 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4752 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4755 * gdb.arch/i386-biarch-core.core.bz2: New file.
4756 * gdb.arch/i386-biarch-core.exp: New file.
4758 2015-02-21 Pedro Alves <palves@redhat.com>
4760 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4763 2015-02-20 Pedro Alves <palves@redhat.com>
4765 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4768 2015-02-20 Pedro Alves <palves@redhat.com>
4770 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4772 2015-02-20 Pedro Alves <palves@redhat.com>
4774 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4775 clean_restart before gdb_target_supports_trace.
4777 2015-02-20 Pedro Alves <palves@redhat.com>
4780 * gdb.threads/clone-thread_db.c: New file.
4781 * gdb.threads/clone-thread_db.exp: New file.
4783 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4785 PR breakpoints/16812
4786 * gdb.base/catch-gdb-caused-signals.c: New file.
4787 * gdb.base/catch-gdb-caused-signals.exp: New file.
4789 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4791 * configure: Regenerated.
4792 * configure.ac: Use GDB_AC_TRANSFORM.
4793 * aclocal.m4: sinclude ../transform.m4.
4795 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4797 * lib/dtrace.exp: New file.
4798 * gdb.base/dtrace-probe.exp: Likewise.
4799 * gdb.base/dtrace-probe.d: Likewise.
4800 * gdb.base/dtrace-probe.c: Likewise.
4801 * lib/pdtrace.in: Likewise.
4802 * configure.ac: Output variables with the transformed names of
4803 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4804 * configure: Regenerated.
4806 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4808 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4809 expected message when trying to access $_probe_* convenience
4810 variables while not on a probe.
4812 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4814 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4816 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4818 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4819 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4821 2015-02-10 Doug Evans <xdje42@gmail.com>
4823 * lib/gdb.exp (gdb_load): Always return a result.
4825 2015-02-10 Pedro Alves <palves@redhat.com>
4827 * gdb.threads/signal-sigtrap.c: New file.
4828 * gdb.threads/signal-sigtrap.exp: New file.
4830 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4832 * gdb.trace/no-attach-trace.c: New file.
4833 * gdb.trace/no-attach-trace.exp: New file.
4835 2015-02-09 Mark Wielaard <mjw@redhat.com>
4837 * gdb.dwarf2/atomic.c: New file.
4838 * gdb.dwarf2/atomic-type.exp: Likewise.
4840 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4842 * gdb.btrace/buffer-size.exp: Update "info record" output.
4843 * gdb.btrace/delta.exp: Update "info record" output.
4844 * gdb.btrace/enable.exp: Update "info record" output.
4845 * gdb.btrace/finish.exp: Update "info record" output.
4846 * gdb.btrace/instruction_history.exp: Update "info record" output.
4847 * gdb.btrace/next.exp: Update "info record" output.
4848 * gdb.btrace/nexti.exp: Update "info record" output.
4849 * gdb.btrace/step.exp: Update "info record" output.
4850 * gdb.btrace/stepi.exp: Update "info record" output.
4851 * gdb.btrace/nohist.exp: Update "info record" output.
4853 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4855 * gdb.btrace/buffer-size: New.
4857 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4859 * gdb.btrace/delta.exp: Update "info record" output.
4860 * gdb.btrace/enable.exp: Update "info record" output.
4861 * gdb.btrace/finish.exp: Update "info record" output.
4862 * gdb.btrace/instruction_history.exp: Update "info record" output.
4863 * gdb.btrace/next.exp: Update "info record" output.
4864 * gdb.btrace/nexti.exp: Update "info record" output.
4865 * gdb.btrace/step.exp: Update "info record" output.
4866 * gdb.btrace/stepi.exp: Update "info record" output.
4867 * gdb.btrace/nohist.exp: Update "info record" output.
4869 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4872 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4874 2015-02-06 Pedro Alves <palves@redhat.com>
4876 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4878 (seconds_left, again): New globals.
4879 (main): Wait seconds_left in a 1-second sleep loop instead of
4880 sleeping 180 seconds. If 'again' is set, reset the seconds
4882 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4883 'again' in the inferior before detaching. Print the seconds left.
4884 (options): New global.
4885 (top level): Build program with -DTIMEOUT=$timeout.
4887 2015-02-06 Pedro Alves <palves@redhat.com>
4889 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4890 determine how many seconds to pass to 'alarm'.
4891 * gdb.base/gdb-sigterm.exp (top level): Build program with
4893 (do_test): Return success/failure indication. Add more verbose
4894 logging. Don't fail if 200 single steps are seen. Instead, fail
4895 when the test times out.
4896 (passes): New global.
4897 (top level): Break the testing loop if testing fails on any
4898 iteration. Use gdb_assert.
4900 2015-02-04 Don Breazeal <donb@codesourcery.com>
4902 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4903 and initialize them.
4904 (ipc_cleanup): New function.
4905 (main): Don't declare shmid, semid, and msqid. Add a call to
4906 atexit so that we call ipc_cleanup on exit.
4908 2015-02-04 Pedro Alves <palves@redhat.com>
4910 * boards/native-extended-gdbserver.exp: Remove any target variant
4911 specifications from the board name before clearing the isremote
4912 flag from board_info.
4914 2015-01-31 Doug Evans <xdje42@gmail.com>
4916 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4918 2015-01-31 Gary Benson <gbenson@redhat.com>
4920 * gdb.base/completion.exp: Disable completion limiting for
4921 existing tests. Add new tests to check completion limiting.
4922 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4924 2015-01-31 Doug Evans <xdje42@gmail.com>
4926 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4928 2015-01-31 Doug Evans <xdje42@gmail.com>
4930 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4931 entries. Duplicate file section script entries.
4932 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4933 inlined entries. Add test for safe-path rejection.
4934 * gdb.python/py-section-script.c: Add duplicate inlined section script
4935 entries. Duplicate file section script entries.
4936 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4937 inlined entries. Add test for safe-path rejection.
4939 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4941 * gdb.ada/disc_arr_bound: New testcase.
4943 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4945 * gdb.ada/mi_var_array: New testcase.
4947 2015-01-27 Doug Evans <dje@google.com>
4949 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4950 Add test for objfile.filename, objfile.username after objfile
4953 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4955 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4956 the second test to print the name attribute of value
4957 returned by the call to gdb.lookup_type, and adjust
4958 the expected output accordingly.
4960 2015-01-25 Mark Wielaard <mjw@redhat.com>
4962 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4963 * gdb.base/disp-step-fork.c: Include unistd.h.
4964 * gdb.base/siginfo-obj.c: Include stdio.h.
4965 * gdb.base/siginfo-thread.c: Likewise.
4966 * gdb.mi/non-stop.c: Include unistd.h.
4967 * gdb.mi/nsthrexec.c: Include stdio.h.
4968 * gdb.mi/pthreads.c: Include unistd.h.
4969 * gdb.modula2/unbounded1.c (main): Declare returns int.
4970 * gdb.reverse/consecutive-reverse.c: Likewise.
4971 * gdb.threads/create-fail.c: Include unistd.h.
4972 * gdb.threads/killed.c: Likewise.
4973 * gdb.threads/linux-dp.c: Likewise.
4974 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4975 * gdb.threads/non-ldr-exc-2.c: Likewise.
4976 * gdb.threads/non-ldr-exc-3.c: Likewise.
4977 * gdb.threads/non-ldr-exc-4.c: Likewise.
4978 * gdb.threads/pthreads.c: Include unistd.h.
4979 (main): Declare returns int.
4980 * gdb.threads/tls-main.c (foo): New declaration.
4981 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4983 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4985 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4986 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4988 2015-01-15 Mark Wielaard <mjw@redhat.com>
4990 * gdb.base/noreturn-return.c: New file.
4991 * gdb.base/noreturn-return.exp: New file.
4992 * gdb.base/noreturn-finish.c: New file.
4993 * gdb.base/noreturn-finish.exp: New file.
4995 2015-01-23 Pedro Alves <palves@redhat.com>
4997 * gdb.threads/continue-pending-after-query.c: New file.
4998 * gdb.threads/continue-pending-after-query.exp: New file.
5000 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
5001 Simon Marchi <simon.marchi@ericsson.com>
5003 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
5004 * gdb.base/valgrind-db-attach.exp: Same.
5005 * gdb.base/valgrind-infcall.exp: Same.
5006 * lib/mi-support.exp (default_mi_gdb_start): Same.
5007 * lib/prompt.exp (default_prompt_gdb_start): Same.
5008 * lib/gdb.exp (default_gdb_spawn): Same.
5009 (gdb_interact): New.
5012 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5014 * gdb.compile/compile.exp (pointer to jit function): New test.
5016 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5018 * lib/gdb.exp (supports_process_record): Return true for
5020 (supports_reverse): Likewise.
5022 2015-01-15 Don Breazeal <donb@codesourcery.com>
5024 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5025 instead of checking whether the target board is remote and
5026 use spawn_wait_for_attach instead of exec/sleep.
5027 * gdb.base/attach-twice.exp: Likewise.
5029 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5031 * gdb.ada/var_arr_attrs: New testcase.
5033 2015-01-14 Pedro Alves <palves@redhat.com>
5034 Joel Brobecker <brobecker@adacore.com>
5037 * gdb.base/bp-cmds-execution-x-script.c: New file.
5038 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5039 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5041 2015-01-14 Pedro Alves <palves@redhat.com>
5044 * gdb.base/batch-preserve-term-settings.c: New file.
5045 * gdb.base/batch-preserve-term-settings.exp: New file.
5047 2015-01-13 Doug Evans <dje@google.com>
5049 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5052 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5054 * Makefile.in (clean mostlyclean): Do not delete *.py.
5056 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5058 * gdb.python/py-lookup-type.exp: New file.
5060 2015-01-12 Pedro Alves <palves@redhat.com>
5062 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5063 restore GDBFLAGS before returning.
5065 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5067 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5068 is_amd64_regs_target and is_x86_like_target.
5070 2015-01-11 Doug Evans <xdje42@gmail.com>
5072 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5073 is given without an explicit form.
5074 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5076 * gdb.dwarf/corrupt.exp: Ditto.
5077 * gdb.dwarf2/enum-type.exp: Ditto.
5078 * gdb.trace/entry-values.exp: Ditto.
5079 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5081 2015-01-11 Doug Evans <xdje42@gmail.com>
5084 * gdb.base/maint.exp: Remove references to "maint demangle".
5085 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5086 Add tests for explicitly specifying language to demangle.
5087 * gdb.dlang/demangle.exp: Ditto.
5089 2015-01-09 Pedro Alves <palves@redhat.com>
5091 * gdb.threads/non-stop-fair-events.c: New file.
5092 * gdb.threads/non-stop-fair-events.exp: New file.
5094 2015-01-09 Pedro Alves <palves@redhat.com>
5096 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5097 the global scope. Set a breakpoint after all threads are started
5098 rather than stepping over two source lines. Expect the prompt.
5099 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5102 (main): Use threads_started_barrier to wait for all threads to
5103 start. Main thread no longer calls thread_function. Exit after
5105 (loop): New function.
5106 (thread_function): Wait on threads_started_barrier barrier. Call
5107 'loop' at each iteration.
5108 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5109 threads have started, instead of hardcoding number of "next"
5110 steps. Use an access watchpoint instead of a write watchpoint.
5112 2015-01-09 Pedro Alves <palves@redhat.com>
5114 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5115 (thread_func): Wait on barrier.
5116 (main): Wait for all threads to start before stopping GDB.
5117 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5119 (thread1_func, thread2_func): Wait on barrier.
5120 (main): Wait for all threads to start before stopping GDB.
5121 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5123 (thread1_func, thread2_func): Wait on barrier.
5124 (main): Wait for all threads to start before stopping GDB.
5126 2015-01-09 Pedro Alves <palves@redhat.com>
5128 * gdb.threads/attach-many-short-lived-threads.c: New file.
5129 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5131 2014-01-09 Pedro Alves <palves@redhat.com>
5133 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5134 instead of to thread 2.
5135 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5136 Add barrier around each pthread_create call instead of around all
5138 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5139 Set a break on thread_function and have the child threads hit it
5142 2015-01-09 Pedro Alves <palves@redhat.com>
5144 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5145 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5147 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5148 checking whether the target board is remote.
5149 * gdb.multi/multi-attach.exp: Likewise.
5150 * gdb.python/py-sync-interp.exp: Likewise.
5151 * gdb.server/ext-attach.exp: Likewise.
5152 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5153 tests that need to attach, instead of checking whether the target
5154 board is remote at the top of the file.
5156 2015-01-08 Yao Qi <yao@codesourcery.com>
5158 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5160 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5162 Fix testcase compilation.
5163 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5165 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5167 * gdb.python/py-type.exp: Add a couple test about empty
5168 array creation, and negative-length array creation.
5170 2015-01-02 Doug Evans <xdje42@gmail.com>
5172 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5174 2015-01-02 Doug Evans <dje@google.com>
5176 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5178 2014-12-29 Yao Qi <yao@codesourcery.com>
5180 * gdb.trace/entry-values.exp: Update comments. Rename variable
5181 bar_call_foo to returned_from_foo.
5183 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5186 * gdb.linespec/break-asm-file.c: New file.
5187 * gdb.linespec/break-asm-file.exp: New file.
5188 * gdb.linespec/break-asm-file0.s: New file.
5189 * gdb.linespec/break-asm-file1.s: New file.
5191 2014-12-18 Nigel Stephens <nigel@mips.com>
5192 Maciej W. Rozycki <macro@codesourcery.com>
5194 * gdb.base/float.exp: Handle the new output from "info float" on
5197 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5199 Fix MinGW compilation.
5200 * gdb.compile/compile-ops.exp: Update untested message if
5201 !skip_compile_feature_tests.
5202 * gdb.compile/compile-setjmp.exp: Likewise.
5203 * gdb.compile/compile-tls.exp: Likewise.
5204 * gdb.compile/compile.exp: Likewise.
5205 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5206 supported on this host".
5208 2014-12-16 Doug Evans <xdje42@gmail.com>
5210 * boards/stabs.exp: New file.
5212 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5214 * gdb.base/completion.exp: Adjust to format changes of "maint
5215 print user-registers".
5217 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5220 * gdb.arch/aarch64-fp.c: New file.
5221 * gdb.arch/aarch64-fp.exp: New file.
5223 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5225 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5226 r210637, r210913, r211666, r215400, r215817).
5228 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5229 * dg-extract-results.py: New file.
5230 * dg-extract-results.sh: Use it if the environment seems
5233 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5235 * dg-extract-results.py (parse_run): Handle warnings that
5236 are printed before a test harness is run.
5238 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5240 * dg-extract-results.py (Named): Remove __cmp__ method.
5241 (output_variation): Use a key to sort variation.harnesses.
5243 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5245 * dg-extract-results.py: For Python 3, force sys.stdout to
5246 handle surrogate escape sequences.
5247 (safe_open): New function.
5248 (output_segment, main): Use it.
5250 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5252 * dg-extract-results.py (Prog.result_re): Include options
5255 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5257 * dg-extract-results.py (output_variation): Always sort if
5260 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5262 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5263 as long as we get pagination notifications.
5265 2014-12-15 Jason Merrill <jason@redhat.com>
5267 * Makefile.in (check-gdb.%): Restore.
5268 * README: Mention it.
5270 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5272 * gdb.ada/str_uninit: New testcase.
5274 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5277 * gdb.base/vla-stub-define.c: New file.
5278 * gdb.base/vla-stub.c: New file.
5279 * gdb.base/vla-stub.exp: New file.
5281 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5282 Jan Kratochvil <jan.kratochvil@redhat.com>
5283 Tom Tromey <tromey@redhat.com>
5285 * configure.ac: Add gdb.compile/.
5286 * configure: Regenerate.
5287 * gdb.compile/Makefile.in: New file.
5288 * gdb.compile/compile-ops.exp: New file.
5289 * gdb.compile/compile-ops.c: New file.
5290 * gdb.compile/compile-tls.c: New file.
5291 * gdb.compile/compile-tls.exp: New file.
5292 * gdb.compile/compile-constvar.S: New file.
5293 * gdb.compile/compile-constvar.c: New file.
5294 * gdb.compile/compile-mod.c: New file.
5295 * gdb.compile/compile-nodebug.c: New file.
5296 * gdb.compile/compile-setjmp-mod.c: New file.
5297 * gdb.compile/compile-setjmp.c: New file.
5298 * gdb.compile/compile-setjmp.exp: New file.
5299 * gdb.compile/compile-shlib.c: New file.
5300 * gdb.compile/compile.c: New file.
5301 * gdb.compile/compile.exp: New file.
5302 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5304 2014-12-12 Tom Tromey <tromey@redhat.com>
5306 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5307 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5309 2014-12-12 Doug Evans <dje@google.com>
5311 * lib/gdb-python.exp (get_python_valueof): New function.
5312 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5314 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5316 * gdb.base/completion.exp: Add test for completion of "info
5319 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5321 * gdb.base/func-ptrs.c: New file.
5322 * gdb.base/func-ptrs.exp: New file.
5324 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5326 PR breakpoints/17012
5327 * gdb.base/dprintf-detach.c: New file.
5328 * gdb.base/dprintf-detach.exp: New file.
5330 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5332 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5333 * lib/gdb.exp (target_is_gdbserver): New procedure.
5335 2014-12-08 Doug Evans <dje@google.com>
5337 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5339 2014-12-05 Yao Qi <yao@codesourcery.com>
5341 * gdb.guile/scm-error.exp: Remove the third argument to
5342 gdb_remote_download.
5343 * gdb.guile/scm-frame-args.exp: Likewise.
5344 * gdb.guile/scm-section-script.exp: Likewise.
5346 2014-12-05 Yao Qi <yao@codesourcery.com>
5348 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5350 2014-12-04 Doug Evans <dje@google.com>
5352 * gdb.python/py-objfile.exp: Add tests for
5353 objfile.add_separate_debug_file.
5355 2014-12-04 Doug Evans <dje@google.com>
5357 * lib/gdb.exp (get_build_id): New function.
5358 (build_id_debug_filename_get): Rewrite to use it.
5359 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5361 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5363 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5364 `method(long)', not just 0x0.
5365 * gdb.cp/nsalias.exp: Align code labels to 4.
5366 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5367 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5368 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5369 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5370 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5371 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5373 2014-12-02 Doug Evans <dje@google.com>
5376 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5377 * gdb.cp/anon-ns2.cc: ... here. New file.
5378 * gdb.cp/anon-ns.exp: Update.
5380 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5382 * gdb.python/py-events.py (inferior_call_handler): New.
5383 (register_changed_handler, memory_changed_handler): New.
5384 (test_events.invoke): Register new handlers.
5385 * gdb.python/py-events.exp: Add tests for inferior call,
5386 memory_changed and register_changed events.
5388 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5390 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5391 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5392 if the linker doesn't understand this.
5394 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5396 * gdb.python/python.exp: Change expected reply to help().
5398 2014-12-01 Yao Qi <yao@codesourcery.com>
5400 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5401 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5402 * configure: Re-generated.
5404 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5406 * gdb.cp/chained-calls.cc: New file.
5407 * gdb.cp/chained-calls.exp: New file.
5408 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5410 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5412 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5413 * gdb.dwarf2/symtab-producer.exp: Same.
5414 * gdb.gdb/python-interrupts.exp: Same.
5415 * gdb.gdb/python-selftest.exp: Same.
5416 * gdb.python/py-linetable.exp: Same.
5417 * gdb.python/py-type.exp: Same.
5418 * gdb.python/py-value-cc.exp: Same.
5419 * gdb.python/py-value.exp: Same.
5421 2014-11-28 Yao Qi <yao@codesourcery.com>
5423 * gdb.base/break-probes.exp: Match library name prefixed with
5426 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5428 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5429 test expected output. Add parentheses for the call to print.
5430 Remove L suffix from integers.
5432 2014-11-26 Doug Evans <dje@google.com>
5434 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5436 2014-11-22 Yao Qi <yao@codesourcery.com>
5438 * gdb.trace/entry-values.c: Remove asms.
5439 (foo): Add foo_label.
5440 (bar): Add bar_label.
5441 * gdb.trace/entry-values.exp: Remove code computing foo's
5442 length and bar's length.
5443 (Dwarf::assemble): Invoke function_range for bar and use
5444 MACRO_AT_func for foo.
5446 2014-11-22 Yao Qi <yao@codesourcery.com>
5448 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5449 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5450 Use .Lgcc43_procstart instead of gcc43.
5452 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5454 * gdb.ada/n_arr_bound: New testcase.
5456 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5458 PR breakpoints/10737
5459 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5460 test_catch_syscall_multi_arch.
5461 (test_catch_syscall_multi_arch): New function.
5463 2014-11-20 Doug Evans <xdje42@gmail.com>
5465 * gdb.base/maint.exp: Update expected output.
5467 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5469 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5470 4-byte instruction on S390.
5472 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5474 * gdb.ada/arr_arr: New testcase.
5476 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5478 * gdb.ada/pkd_arr_elem: New Testcase.
5480 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5482 * gdb.reverse/break-precsave: Expect completion message for
5484 * gdb.reverse/consecutive-precsave.exp: Likewise.
5485 * gdb.reverse/finish-precsave.exp: Likewise.
5486 * gdb.reverse/i386-precsave.exp: Likewise.
5487 * gdb.reverse/machinestate-precsave.exp: Likewise.
5488 * gdb.reverse/sigall-precsave.exp: Likewise.
5489 * gdb.reverse/solib-precsave.exp: Likewise.
5490 * gdb.reverse/step-precsave.exp: Likewise.
5491 * gdb.reverse/until-precsave.exp: Likewise.
5492 * gdb.reverse/watch-precsave.exp: Likewise.
5494 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5496 * gdb.base/bp-permanent.c: Include unistd.h.
5497 * gdb.python/py-framefilter-mi.c (main): Add return type.
5498 * gdb.python/py-framefilter.c (main): Likewise.
5499 * gdb.trace/actions-changed.c (main): Likewise.
5501 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5503 * gdb.mi/until.c: Add eye-catchers.
5504 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5507 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5509 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5510 function header variants in break1.c.
5511 * gdb.base/ena-dis-br.exp: Likewise.
5512 * gdb.base/hbreak2.exp: Likewise.
5513 * gdb.reverse/until-precsave.exp: Drop references to removed
5514 non-prototype function header variants in ur1.c.
5515 * gdb.reverse/until-reverse.exp: Likewise.
5517 2014-11-17 Petr Machata <pmachata@redhat.com>
5519 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5520 ${_cu_offset_size} bytes abbrev offset.
5522 2014-11-15 Doug Evans <xdje42@gmail.com>
5525 * gdb.base/line-symtabs.exp: New file.
5526 * gdb.base/line-symtabs.c: New file.
5527 * gdb.base/line-symtabs.h: New file.
5529 2014-11-14 Yao Qi <yao@codesourcery.com>
5531 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5532 (func): Add label func_label.
5533 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5534 Replace low_pc and high_pc with MACRO_AT_range.
5535 Replace name, low_pc and high_pc with MACRO_AT_func.
5537 2014-11-14 Yao Qi <yao@codesourcery.com>
5539 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5540 Replace name, low_pc and high_pc with MACRO_AT_func.
5542 2014-11-14 Yao Qi <yao@codesourcery.com>
5544 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5545 produce debug information.
5546 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5548 2014-11-14 Yao Qi <yao@codesourcery.com>
5550 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5551 object and get function length.
5552 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5554 (top-level): Replace gdb_compile and clean_restart with
5555 prepare_for_testing.
5556 * gdb.dwarf2/main.c (main): Add label main_label.
5558 2014-11-14 Yao Qi <yao@codesourcery.com>
5560 * lib/dwarf.exp (function_range): New procedure.
5561 (Dwarf::_handle_macro_at_func): New procedure.
5562 (Dwarf::_handle_macro_at_range): New procedure.
5563 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5565 2014-11-14 Yao Qi <yao@codesourcery.com>
5567 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5568 (_handle_attribute): New procedure.
5570 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5573 * gdb.base/call-sc.c (zed): Likewise.
5574 * gdb.base/checkpoint.c (main): Likewise.
5575 * gdb.base/dump.c (main): Likewise.
5576 * gdb.base/gcore.c (main): Likewise.
5577 * gdb.base/huge.c (main): Likewise.
5578 * gdb.base/multi-forks.c (main): Likewise.
5579 * gdb.base/pr10179-a.c (main): Likewise.
5580 * gdb.base/savedregs.c (main): Likewise.
5581 * gdb.base/sigaltstack.c (main): Likewise.
5582 * gdb.base/siginfo.c (main): Likewise.
5583 * gdb.base/structs.c (zed): Likewise.
5584 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5585 * gdb.mi/mi-syn-frame.c (main): Likewise.
5586 * gdb.mi/until.c (foo, main): Likewise.
5587 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5588 * gdb.base/solib-weak.c (foo): Declare.
5589 * gdb.base/attach-twice.c: Include stdio.h.
5590 * gdb.base/weaklib1.c: Likewise.
5591 * gdb.base/weaklib2.c: Likewise.
5592 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5593 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5595 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5596 * gdb.mi/mi-exit-code.c: Likewise.
5597 * gdb.base/break-interp-lib.c: Include string.h.
5598 * gdb.base/coremaker.c: Likewise.
5599 * gdb.base/testenv.c: Likewise.
5600 * gdb.python/py-finish-breakpoint.c: Likewise.
5601 * gdb.base/inferior-died.c: Include sys/wait.h.
5602 * gdb.base/fileio.c: Include time.h.
5603 * gdb.base/async-shell.c: Include unistd.h.
5604 * gdb.base/dprintf-non-stop.c: Likewise.
5605 * gdb.base/info-os.c: Likewise.
5606 * gdb.mi/mi-console.c: Likewise.
5607 * gdb.mi/watch-nonstop.c: Likewise.
5608 * gdb.python/py-events.c: Likewise.
5609 * gdb.base/async.c (baz): Move up before its invocation.
5610 * gdb.base/code_elim2.c (my_global_func): Likewise.
5611 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5612 * gdb.base/advance.c (func2): Likewise.
5614 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5616 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5618 * gdb.base/annota3.c: Likewise.
5619 * gdb.base/async.c: Likewise.
5620 * gdb.base/average.c: Likewise.
5621 * gdb.base/call-ar-st.c: Likewise.
5622 * gdb.base/call-rt-st.c: Likewise.
5623 * gdb.base/call-sc.c: Likewise.
5624 * gdb.base/call-strs.c: Likewise.
5625 * gdb.base/ending-run.c: Likewise.
5626 * gdb.base/execd-prog.c: Likewise.
5627 * gdb.base/exprs.c: Likewise.
5628 * gdb.base/foll-exec.c: Likewise.
5629 * gdb.base/foll-fork.c: Likewise.
5630 * gdb.base/foll-vfork.c: Likewise.
5631 * gdb.base/funcargs.c: Likewise.
5632 * gdb.base/gcore.c: Likewise.
5633 * gdb.base/jump.c: Likewise.
5634 * gdb.base/langs0.c: Likewise.
5635 * gdb.base/langs1.c: Likewise.
5636 * gdb.base/langs2.c: Likewise.
5637 * gdb.base/mips_pro.c: Likewise.
5638 * gdb.base/nodebug.c: Likewise.
5639 * gdb.base/opaque0.c: Likewise.
5640 * gdb.base/opaque1.c: Likewise.
5641 * gdb.base/recurse.c: Likewise.
5642 * gdb.base/run.c: Likewise.
5643 * gdb.base/scope0.c: Likewise.
5644 * gdb.base/scope1.c: Likewise.
5645 * gdb.base/setshow.c: Likewise.
5646 * gdb.base/setvar.c: Likewise.
5647 * gdb.base/shmain.c: Likewise.
5648 * gdb.base/shr1.c: Likewise.
5649 * gdb.base/shr2.c: Likewise.
5650 * gdb.base/sigall.c: Likewise.
5651 * gdb.base/signals.c: Likewise.
5652 * gdb.base/so-indr-cl.c: Likewise.
5653 * gdb.base/solib2.c: Likewise.
5654 * gdb.base/structs.c: Likewise.
5655 * gdb.base/sum.c: Likewise.
5656 * gdb.base/vforked-prog.c: Likewise.
5657 * gdb.base/watchpoint.c: Likewise.
5658 * gdb.reverse/shr2.c: Likewise.
5659 * gdb.reverse/until-reverse.c: Likewise.
5660 * gdb.reverse/ur1.c: Likewise.
5661 * gdb.reverse/watch-reverse.c: Likewise.
5663 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5665 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5667 * gdb.base/sepdebug.exp: Drop references to removed code.
5669 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5671 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5672 variant. Preserve original line numbering.
5673 * gdb.base/list1.c: Likewise.
5675 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5677 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5679 * gdb.base/break1.c: Likewise.
5680 * gdb.base/break.exp: Drop references to removed code.
5682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5684 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5687 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5689 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5691 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5693 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5694 logic into perform_all_tests() and invoke it with and without
5695 function header prototypes.
5696 (do_function_calls): Remove conditional XFAIL for PR 5318.
5697 (rerun_and_prepare): Remove duplicate code.
5698 (perform_all_tests): New. Main logic moved here.
5700 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5702 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5703 code guarded by #ifdef NO_PROTOTYPES.
5704 (t_double_many_args): Likewise.
5705 (DEF_FUNC_MANY_ARGS_1): Likewise.
5706 (DEF_FUNC_VALUES_1): Likewise.
5707 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5708 guarded by #ifdef PROTOTYPES.
5710 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5712 * gdb.mi/mi-console.c: Add eye-catcher.
5713 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5714 instead of literal line number.
5716 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5718 * gdb.base/shr2.c: Add eye-catcher.
5719 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5722 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5724 * gdb.base/jump.c: Add eye-catchers.
5725 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5728 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5730 * gdb.base/execd-prog.c: Add eye-catchers.
5731 * gdb.base/foll-exec.c: Likewise.
5732 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5735 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5737 * gdb.base/ending-run.c: Add eye-catchers.
5738 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5739 literal line numbers.
5741 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5743 * gdb.base/call-rt-st.c: Add eye-catchers.
5744 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5745 literal line numbers.
5747 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5749 * gdb.base/call-ar-st.c: Add eye-catchers.
5750 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5751 literal line numbers.
5753 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5755 * gdb.base/average.c: Add eye-catchers.
5756 * gdb.base/sum.c: Likewise.
5757 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5758 regexps dynamically.
5760 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5762 * gdb.base/solib1.c: Add eye-catchers.
5763 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5764 literal line numbers.
5766 2014-11-12 Pedro Alves <palves@redhat.com>
5768 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5771 2014-11-12 Pedro Alves <palves@redhat.com>
5773 * gdb.arch/i386-bp_permanent.c: New file.
5774 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5775 (srcfile): Set to i386-bp_permanent.c.
5776 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5777 that stepi does not execute the 'leave' instruction, instead of
5778 testing it does execute.
5779 * gdb.base/bp-permanent.c: New file.
5780 * gdb.base/bp-permanent.exp: New file.
5782 2014-11-10 Doug Evans <xdje42@gmail.com>
5785 * gdb.base/symtab-search-order.exp: New file.
5786 * gdb.base/symtab-search-order.c: New file.
5787 * gdb.base/symtab-search-order-1.c: New file.
5788 * gdb.base/symtab-search-order-shlib-1.c: New file.
5790 2014-11-07 Pedro Alves <palves@redhat.com>
5793 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5796 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5799 * gdb.cp/pr17494.cc: New file.
5800 * gdb.cp/pr17494.exp: New file.
5802 2014-11-02 Yao Qi <yao@codesourcery.com>
5804 * gdb.python/python.exp: Get working directory and match the
5805 output of "set extended-prompt \\w " with it.
5807 2014-10-30 Doug Evans <dje@google.com>
5809 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5811 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5814 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5816 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5817 * gdb.base/realname-expand.exp: Likewise.
5818 * gdb.linespec/macro-relative.exp: Likewise.
5820 2014-10-29 Pedro Alves <palves@redhat.com>
5823 * gdb.threads/schedlock.c (some_function): New function.
5824 (call_function): New global.
5825 (MAYBE_CALL_SOME_FUNCTION): New macro.
5826 (thread_function): Call it.
5827 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5828 and use it instead of a global counter. Adjust all callers.
5829 (get_current_thread): Use "find current thread" for test message
5830 here rather than having all callers pass down the same string.
5831 (goto_loop): New procedure, factored out from ...
5832 (my_continue): ... this.
5833 (step_ten_loops): Change parameter from test message to command to
5835 (list_count): Delete global.
5836 (check_result): New procedure, factored out from duplicate top
5838 (continue tests): Wrap in with_test_prefix.
5839 (test_step): New procedure, factored out from duplicate top level
5841 (top level): Test "step" in combination with all scheduler-locking
5842 modes. Test "next" in combination with all scheduler-locking
5843 modes, and in combination with stepping over a function call or
5845 * gdb.threads/next-bp-other-thread.c: New file.
5846 * gdb.threads/next-bp-other-thread.exp: New file.
5848 2014-10-29 Pedro Alves <palves@redhat.com>
5851 * gdb.python/python.exp: Test a multi-line command that spawns
5853 * gdb.base/multi-line-starts-subshell.exp: New file.
5855 2014-10-29 Yao Qi <yao@codesourcery.com>
5857 * gdb.base/fileio.exp: Make directories on host.
5859 2014-10-29 Yao Qi <yao@codesourcery.com>
5861 * gdb.base/fileio.c (test_write): Close the file.
5863 2014-10-28 Pedro Alves <palves@redhat.com>
5866 * gdb.base/sigstep.c (no_handler): New global.
5867 (main): If 'no_handler is true, set the signal handlers to
5869 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5870 with_sw_watch and no_handler parameters. Handle them.
5871 (top level) <stepping over handler when stopped at a breakpoint
5872 test>: Add a test axis for testing with a software watchpoint, and
5873 another for testing with the signal handler set to SIG_IGN.
5874 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5875 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5877 2014-10-28 Pedro Alves <palves@redhat.com>
5880 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5881 * gdb.base/sigstep.exp (other_handler_location): New global.
5882 (advance): Support stepping into the signal handler, and running
5883 commands while in the handler.
5884 (in_handler_map): New global.
5885 (top level): In the advance test, add combinations for getting
5886 into the handler with stepping commands, and for running commands
5887 in the handler. Add comment descripting the advancei tests.
5889 2014-10-28 Pedro Alves <palves@redhat.com>
5891 * gdb.base/sigstep.exp: Use build_executable instead of
5892 prepare_for_testing.
5893 (top level): Move code that starts GDB, runs to main and creates a
5895 (restart): ... this new procedure.
5896 (top level): Move backtrace from signal handler test to ...
5897 (validate_backtrace): ... this new procedure.
5898 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5899 with_test_prefix. Always restart GDB.
5900 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5901 with_test_prefix. Always restart GDB. No need to delete
5902 breakpoints after the test.
5903 (test_skip_handler): Remove prefix parameter.
5904 (skip_over_handler, breakpoint_to_handler)
5905 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5906 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5907 restart GDB. No need to delete breakpoints after the test.
5908 (top level): Use foreach to call the test procedures with
5911 2014-10-28 Pedro Alves <palves@redhat.com>
5913 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5914 instead of GNATS numbers.
5915 * gdb.base/sigbpt.exp: Likewise.
5916 * gdb.base/siginfo.exp: Likewise.
5917 * gdb.base/sigstep.exp: Likewise.
5919 2014-10-27 Pedro Alves <palves@redhat.com>
5921 * gdb.base/sigstep.c (dummy): New global.
5922 (main): Issue a couple writes to the new global.
5923 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5925 (skip_over_handler): Use test_skip_handler.
5926 (top level): Call skip_over_handler for stepi and nexti too.
5927 (breakpoint_over_handler): Use test_skip_handler.
5928 (top level): Call breakpoint_over_handler for stepi and nexti too.
5930 2014-10-27 Yao Qi <yao@codesourcery.com>
5932 * gdb.trace/tfile.c (adjust_function_address)
5933 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5934 function descriptor.
5936 2014-10-24 Don Breazeal <donb@codesourcery.com>
5938 * gdb.base/foll-fork.exp (test_follow_fork,
5939 catch_fork_child_follow): Check for updated fork messages emitted
5941 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5942 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5943 vfork_and_exec_child_follow_through_step): Check for updated vfork
5944 messages emitted from infrun.c.
5946 2014-10-24 Pedro Alves <palves@redhat.com>
5948 * gdb.base/corefile.exp: Remove references to ultrix.
5949 * gdb.base/interrupt.exp: Likewise.
5950 * gdb.base/whatis.exp: Likewise.
5951 * gdb.gdb/selftest.exp: Likewise.
5952 * gdb.threads/manythreads.exp: Likewise.
5953 * gdb.threads/print-threads.exp: Likewise.
5954 * gdb.threads/pthreads.exp:: Likewise.
5955 * gdb.threads/schedlock.exp: Likewise.
5957 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5959 * gdb.cp/non-trivial-retval.cc: Add a test case.
5960 * gdb.cp/non-trivial-retval.exp: Add a test.
5962 2014-10-20 Yao Qi <yao@codesourcery.com>
5964 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5965 * gdb.python/py-objfile-script-gdb.py: New file.
5966 * gdb.python/py-objfile-script.exp: Update reference to
5967 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5968 of remote_download. Remove the dest file.
5970 2014-10-20 Yao Qi <yao@codesourcery.com>
5972 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5973 * gdb.base/step-line.exp: Likewise.
5974 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5975 * gdb.dwarf2/dw2-basic.exp: Likewise.
5976 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5977 * gdb.dwarf2/dw2-filename.exp: Likewise.
5978 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5979 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5980 * gdb.dwarf2/dw2-producer.exp: Likewise.
5981 * gdb.dwarf2/mac-fileno.exp: Likewise.
5982 * gdb.python/py-frame-args.exp: Likewise.
5983 * gdb.python/py-framefilter.exp: Likewise.
5984 * gdb.python/py-mi.exp: Likewise.
5985 * gdb.python/py-objfile-script.exp: Likewise
5986 * gdb.python/py-pp-integral.exp: Likewise.
5987 * gdb.python/py-pp-re-notag.exp: Likewise.
5988 * gdb.python/py-prettyprint.exp: Likewise.
5989 * gdb.python/py-section-script.exp: Likewise.
5990 * gdb.python/py-typeprint.exp: Likewise.
5991 * gdb.python/py-xmethods.exp: Likewise.
5992 * gdb.stabs/weird.exp: Likewise.
5993 * gdb.xml/tdesc-regs.exp: Likewise.
5995 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5997 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5998 (out_cu): Use addr_len for the size of addresses.
5999 (out_line): Likewise. Size DW_LNE_set_address instruction
6000 according to addr_len.
6001 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
6002 (FUNC): Add START_INSNS to definition.
6004 2014-10-18 Yao Qi <yao@codesourcery.com>
6006 * gdb.base/argv0-symlink.exp: Check argv[0] value if
6007 gdb_has_argv0 return true.
6008 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
6009 check [target_info exists noargs], check [gdb_has_argv0]
6011 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6012 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
6015 2014-10-17 Doug Evans <dje@google.com>
6017 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6019 * gdb.python/py-events.py: Add clear_objfiles event.
6021 2014-10-17 Doug Evans <dje@google.com>
6023 * gdb.python/py-objfile.exp: Test progspace attribute.
6025 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6027 * gdb.guile/scm-breakpoint.exp: Do not assume any
6028 directory separators when matching source file paths.
6029 * gdb.python/py-breakpoint.exp: Likewise.
6030 * gdb.reverse/break-precsave.exp: Likewise.
6031 * gdb.reverse/break-reverse.exp: Likewise.
6032 * gdb.reverse/consecutive-precsave.exp: Likewise.
6033 * gdb.reverse/finish-precsave.exp: Likewise.
6034 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6035 * gdb.reverse/finish-reverse.exp: Likewise.
6036 * gdb.reverse/i386-precsave.exp: Likewise.
6037 * gdb.reverse/i387-env-reverse.exp: Likewise.
6038 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6039 * gdb.reverse/machinestate-precsave.exp: Likewise.
6040 * gdb.reverse/machinestate.exp: Likewise.
6041 * gdb.reverse/sigall-precsave.exp: Likewise.
6042 * gdb.reverse/solib-precsave.exp: Likewise.
6043 * gdb.reverse/step-precsave.exp: Likewise.
6044 * gdb.reverse/until-precsave.exp: Likewise.
6045 * gdb.reverse/watch-precsave.exp: Likewise.
6046 * gdb.reverse/watch-reverse.exp: Likewise.
6048 2014-10-17 Yao Qi <yao@codesourcery.com>
6050 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6051 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6053 2014-10-17 Pedro Alves <palves@redhat.com>
6056 * gdb.base/bg-execution-repeat.c: New file.
6057 * gdb.base/bg-execution-repeat.exp: New file.
6059 2014-10-17 Pedro Alves <palves@redhat.com>
6062 * gdb.base/continue-all-already-running.c: New file.
6063 * gdb.base/continue-all-already-running.exp: New file.
6065 2014-10-17 Pedro Alves <palves@redhat.com>
6068 * gdb.base/annota-input-while-running.c: New file.
6069 * gdb.base/annota-input-while-running.exp: New file.
6071 2014-10-17 Pedro Alves <palves@redhat.com>
6073 * gdb.base/callfuncs.exp: emove references to osf.
6074 * gdb.base/sigall.exp: Likewise.
6075 * gdb.gdb/selftest.exp: Likewise.
6076 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6077 * gdb.mi/non-stop.c: Likewise.
6078 * gdb.mi/pthreads.c: Likewise.
6079 * gdb.reverse/sigall-precsave.exp: Likewise.
6080 * gdb.reverse/sigall-reverse.exp: Likewise.
6081 * gdb.threads/pthreads.c: Likewise.
6082 * gdb.threads/pthreads.exp: Likewise.
6084 2014-10-17 Yao Qi <yao@codesourcery.com>
6086 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6087 check 'target_info exists noargs'.
6088 (test_command_prompt_position): Likewise.
6089 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6091 (progvar_simple_while_test): Likewise.
6092 (progvar_complex_if_while_test): Likewise.
6093 (if_while_breakpoint_command_test): Likewise.
6094 (infrun_breakpoint_command_test): Likewise.
6095 (breakpoint_command_test): Likewise.
6096 (watchpoint_command_test): Likewise.
6097 (bp_deleted_in_command_test): Likewise.
6098 (temporary_breakpoint_commands): Likewise.
6100 2014-10-16 Yao Qi <yao@codesourcery.com>
6102 * gdb.base/remotetimeout.exp: Remove noargs checking.
6104 2014-10-15 Pedro Alves <palves@redhat.com>
6107 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6108 * gdb.base/breakpoint-in-ro-region.exp
6109 (probe_target_hardware_step): New procedure.
6110 (top level): Probe hardware stepping and hardware breakpoint
6111 support. Test stepping through a read-only region, with both
6112 "breakpoint auto-hw" on and off and both "always-inserted" on and
6115 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6117 * gdb.dlang/demangle.exp: Update for demangling changes.
6119 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6121 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6122 * gdb.cp/non-trivial-retval.exp: Add new tests.
6124 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6128 * gdb.cp/non-trivial-retval.cc: New file.
6129 * gdb.cp/non-trivial-retval.exp: New file.
6131 2014-10-15 Yao Qi <yao@codesourcery.com>
6133 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6136 2014-10-15 Yao Qi <yao@codesourcery.com>
6138 * gdb.python/py-symbol.exp: Match file base name if host is
6139 remote, otherwise match file name with dir name.
6140 * gdb.python/py-symtab.exp: Likewise.
6141 * gdb.python/python.exp: Likewise.
6143 2014-10-15 Yao Qi <yao@codesourcery.com>
6145 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6147 * gdb.python/py-symtab.exp: Likewise.
6148 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6151 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6153 * gdb.ada/addr_arith: New testcase.
6155 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6157 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6158 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6159 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6160 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6162 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6164 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6165 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6166 * gdb.arch/stap-eval-lang-ada.exp: New file.
6168 2014-10-14 Yao Qi <yao@codesourcery.com>
6170 * gdb.mi/mi-var-child.c (nothing1): New function.
6171 (nothing2): New function.
6172 (do_children_tests): Set function pointers by nothing1 and
6174 * gdb.mi/mi-var-child.exp: Step over new added statements.
6175 Update test to match the new output.
6176 * gdb.mi/var-cmd.c (nothing1): New function.
6177 (nothing2): New function.
6178 (do_children_tests): Set function pointers by nothing1 and
6180 * gdb.mi/mi-var-display.exp: Update test to match output.
6181 Step to the line specified by $line_dct_nothing.
6182 Increase the number of lines to step.
6184 2014-10-14 Yao Qi <yao@codesourcery.com>
6186 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6188 * gdb.mi/mi2-var-child.exp: Likewise.
6190 2014-10-13 Doug Evans <dje@google.com>
6192 * gdb.python/py-objfile.exp: Change name of file name test.
6194 2014-10-13 Doug Evans <dje@google.com>
6196 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6197 from the start of the CU.
6199 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6200 Yao Qi <yao@codesourcery.com>
6202 Fix "save breakpoints" for "catch" command.
6203 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6204 Remove -nonewline. Match also the added "main" line.
6206 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6208 Fix "save breakpoints" for "disable $bpnum" command.
6209 * gdb.base/save-bp.c (main): Add label.
6210 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6212 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6214 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6216 2014-10-11 Yao Qi <yao@codesourcery.com>
6218 * gdb.server/server-kill.exp: Execute command
6219 "set remote trace-status-packet on" before "tstatus".
6221 2014-10-11 Yao Qi <yao@codesourcery.com>
6223 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6224 (main): Call getppid.
6225 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6226 and continue to it. Read variable "server_pid".
6228 2014-10-11 Yao Qi <yao@codesourcery.com>
6230 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6232 2014-10-11 Yao Qi <yao@codesourcery.com>
6234 * gdb.threads/thread-find.exp: Don't execute command
6236 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6237 * gdb.threads/linux-dp.exp: Don't check the condition
6238 $threads_created equals to zero.
6240 2014-10-10 Pedro Alves <palves@redhat.com>
6242 * gdb.base/bigcore.exp: Remove references to IRIX.
6243 * gdb.base/funcargs.exp: Likewise.
6244 * gdb.base/interrupt.exp: Likewise.
6245 * gdb.base/mips_pro.exp: Likewise.
6246 * gdb.base/nodebug.exp: Likewise.
6247 * gdb.base/setvar.exp: Likewise.
6248 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6250 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6251 Pedro Alves <palves@redhat.com>
6254 * gdb.base/vdso-warning.c: New file.
6255 * gdb.base/vdso-warning.exp: New file.
6257 2014-10-02 Doug Evans <dje@google.com>
6259 * gdb.base/structs.c (main): Don't run forever.
6261 2014-10-02 Pedro Alves <palves@redhat.com>
6263 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6264 (top level) <stop threads 1, stop threads 2>: Use it.
6266 2014-10-02 Pedro Alves <palves@redhat.com>
6268 * gdb.threads/break-while-running.exp (test): Add new
6269 'update_thread_list' argument. Skip "info threads" if false.
6270 (top level): Add new 'update_thread_list' axis.
6272 2014-10-02 Pedro Alves <palves@redhat.com>
6274 PR breakpoints/17431
6275 * gdb.base/execl-update-breakpoints.c: New file.
6276 * gdb.base/execl-update-breakpoints.exp: New file.
6278 2014-10-01 Pedro Alves <palves@redhat.com>
6280 * gdb.base/breakpoint-in-ro-region.c: New file.
6281 * gdb.base/breakpoint-in-ro-region.exp: New file.
6283 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6285 * gdb.mi/mi-exit-code.exp: New file.
6286 * gdb.mi/mi-exit-code.c: New file.
6288 2014-09-30 Yao Qi <yao@codesourcery.com>
6290 * lib/prelink-support.exp (build_executable_own_libs): Error if
6291 the target isn't native.
6293 2014-09-30 Yao Qi <yao@codesourcery.com>
6295 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6298 2014-09-22 Pedro Alves <palves@redhat.com>
6300 * gdb.threads/break-while-running.exp: New file.
6301 * gdb.threads/break-while-running.c: New file.
6303 2014-09-19 Yao Qi <yao@codesourcery.com>
6305 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6306 Invoke test. Restart GDB with --readnow and invoke test again.
6308 2014-09-19 Yao Qi <yao@codesourcery.com>
6310 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6311 proc set_breakpoint_on_gcd_function. Invoke
6312 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6313 invoke set_breakpoint_on_gcd_function again.
6315 2014-09-18 Doug Evans <dje@google.com>
6317 * gdb.dwarf2/symtab-producer.exp: New file.
6319 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6321 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6322 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6323 * gdb.base/global-var-nested-by-dso.c: Likewise.
6324 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6326 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6327 Pedro Alves <palves@redhat.com>
6329 * gdb.base/watch-bitfields.exp: Pass string other than test file
6330 name to prepare_for_testing.
6331 (watch): New procedure.
6332 (expect_watchpoint): Use with_test_prefix.
6333 (top level): Factor out tests to ...
6334 (test_watch_location, test_regular_watch): ... these new
6335 procedures, and use with_test_prefix and gdb_continue_to_end.
6337 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6339 PR breakpoints/12526
6340 * gdb.base/watch-bitfields.exp: New file.
6341 * gdb.base/watch-bitfields.c: New file.
6343 2014-09-16 Pedro Alves <palves@redhat.com>
6345 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6346 software and hardware addresses, not software address against
6349 2014-09-16 Pedro Alves <palves@redhat.com>
6351 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6352 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6354 2014-09-16 Pedro Alves <palves@redhat.com>
6356 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6358 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6359 "*-*-vxworks*" throughout.
6360 * gdb.base/break.exp: Likewise.
6361 * gdb.base/default.exp: Likewise.
6362 * gdb.base/scope.exp: Likewise.
6363 * gdb.base/sepdebug.exp: Likewise.
6364 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6366 * gdb.base/run.c: Likewise.
6367 * gdb.base/sepdebug.c: Likewise.
6368 * gdb.hp/gdb.aCC/run.c: Likewise.
6369 * gdb.reverse/until-reverse.c: Likewise.
6370 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6372 2014-09-16 Yao Qi <yao@codesourcery.com>
6374 * boards/local-remote-host-native.exp: New file.
6376 2014-09-14 Doug Evans <xdje42@gmail.com>
6378 * gdb.threads/queue-signal.c (thread_count): New variable.
6379 (thread_count_mutex, thread_count_condvar): New variables.
6380 (incr_thread_count, wait_all_threads_running): New functions.
6381 (main): Wait for all threads to be in their thread functions.
6383 2014-09-13 Doug Evans <xdje42@gmail.com>
6385 * gdb.threads/queue-signal.c: New file.
6386 * gdb.threads/queue-signal.exp: New file.
6388 2014-09-13 Doug Evans <xdje42@gmail.com>
6390 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6391 be consistent with what default_gdb_init uses.
6392 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6393 the plain text of the prompt. Add some logging printfs.
6394 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6396 2014-09-12 Pedro Alves <palves@redhat.com>
6398 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6399 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6400 * gdb.arch/i386-size-overlap.exp: Likewise.
6401 * gdb.arch/i386-size.exp: Likewise.
6402 * gdb.arch/i386-unwind.exp: Likewise.
6403 * gdb.base/a2-run.exp: Likewise.
6404 * gdb.base/break.exp: Likewise.
6405 * gdb.base/charset.exp: Likewise.
6406 * gdb.base/chng-syms.exp: Likewise.
6407 * gdb.base/commands.exp: Likewise.
6408 * gdb.base/dbx.exp: Likewise.
6409 * gdb.base/find.exp: Likewise.
6410 * gdb.base/funcargs.exp: Likewise.
6411 * gdb.base/jit-simple.exp: Likewise.
6412 * gdb.base/reread.exp: Likewise.
6413 * gdb.base/sepdebug.exp: Likewise.
6414 * gdb.base/step-bt.exp: Likewise.
6415 * gdb.cp/mb-inline.exp: Likewise.
6416 * gdb.cp/mb-templates.exp: Likewise.
6417 * gdb.objc/basicclass.exp: Likewise.
6418 * gdb.threads/killed.exp: Likewise.
6420 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6423 * gdb.arch/powerpc-stackless.S: New file.
6424 * gdb.arch/powerpc-stackless.exp: New file.
6426 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6428 * gdb.base/attach.c: Include unistd.h.
6429 (main): Call alarm. Add label postloop.
6430 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6431 gdb_breakpoint, gdb_continue_to_breakpoint.
6432 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6434 2014-09-11 Pedro Alves <palves@redhat.com>
6437 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6438 * gdb.base/attach.exp (test_command_line_attach_run): New
6440 (top level): Call it.
6442 2014-09-11 Pedro Alves <palves@redhat.com>
6444 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6445 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6446 (do_command_attach_tests): Use spawn_wait_for_attach.
6447 * gdb.base/solib-overlap.exp: Likewise.
6448 * gdb.multi/multi-attach.exp: Likewise.
6449 * gdb.python/py-prompt.exp: Likewise.
6450 * gdb.python/py-sync-interp.exp: Likewise.
6451 * gdb.server/ext-attach.exp: Likewise.
6453 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6455 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6456 command in testcase. Simplify testcase.
6458 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6460 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6462 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6464 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6466 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6468 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6470 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6472 * gdb.dwarf2/dynarr-ptr.c: New file.
6473 * gdb.dwarf2/dynarr-ptr.exp: New file.
6475 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6477 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6478 of 30 rather than hardcoding 120 for a slow test case. Take the
6479 `gdb,timeout' target setting into account for this calculation.
6480 Don't extend the timeout for the test cases that don't need it.
6482 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6484 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6485 a factor of 2 for a slow test case. Take the `gdb,timeout'
6486 target setting into account for this calculation.
6487 * gdb.reverse/until-precsave.exp: Increase the timeout by
6488 a factor of 15 and 3 respectively rather than adding 120
6489 for a pair of slow test cases. Take the `gdb,timeout'
6490 target setting into account for this calculation.
6492 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6494 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6495 timeout, don't pass one down to gdb_expect.
6496 (gdb_expect): Rework timeout selection.
6498 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6500 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6501 exception on timeout.
6502 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6503 (gdbserver_start_extended): Catch any `gdbserver_start' error
6505 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6506 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6507 `gdbserver_gdb_load' error exceptions.
6509 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6511 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6512 120 on waiting for the TCP socket to open.
6514 2014-09-09 Doug Evans <xdje42@gmail.com>
6516 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6517 _caller_matches, _any_caller_is, _any_caller_matches.
6519 2014-09-09 Doug Evans <xdje42@gmail.com>
6521 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6523 2014-09-09 Yao Qi <yao@codesourcery.com>
6525 * gdb.mi/mi-var-display.exp: Set print symbol off.
6527 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6530 * gdb.base/commands.exp: Add tests to verify user-defined
6531 commands with empty bodies.
6532 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6533 python commands in `show user command`.
6534 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6535 scheme commands in `show user command`.
6537 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6540 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6541 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6542 * gdb.python/py-framefilter-invalidarg.exp: New file.
6543 * gdb.python/py-framefilter-invalidarg.py: New file.
6545 2014-09-06 Doug Evans <xdje42@gmail.com>
6548 * gdb.python/py-caller-is.c: New file.
6549 * gdb.python/py-caller-is.exp: New file.
6551 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6554 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6555 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6557 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6560 * gdb.fortran/print-formatted.exp: New file.
6561 * gdb.fortran/print-formatted.f90: Likewise.
6563 2014-09-03 Sasha Smundak <asmundak@google.com>
6565 * gdb.python/py-frame.exp: Test Frame.read_register.
6567 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6570 * gdb.python/py-completion.exp: New file.
6571 * gdb.python/py-completion.py: Likewise.
6573 2014-08-28 Doug Evans <dje@google.com>
6575 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6576 eax,etc. are live with values set by gdb and thus the compiler can't
6578 * gdb.arch/i386-pseudo.c (main): Ditto.
6580 2014-08-27 Doug Evans <dje@google.com>
6582 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6584 2014-08-25 Doug Evans <dje@google.com>
6586 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6589 2014-08-25 Doug Evans <dje@google.com>
6591 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6593 2014-08-24 Yao Qi <yao@codesourcery.com>
6595 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6597 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6599 2014-08-22 Doug Evans <dje@google.com>
6602 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6603 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6604 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6606 2014-08-22 Yao Qi <yao@codesourcery.com>
6608 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6609 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6610 * gdb.python/python.exp: Likewise. Use .py file on the host
6611 instead of the build.
6613 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6615 * gdb.threads/gcore-stale-thread.c: New file.
6616 * gdb.threads/gcore-stale-thread.exp: New file.
6618 2014-08-21 Pedro Alves <palves@redhat.com>
6620 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6621 * gdb.base/gcore-relro-pie.exp: Likewise.
6622 * gdb.base/gcore-relro.exp: Likewise.
6623 * gdb.base/gcore.exp: Likewise.
6624 * gdb.base/print-symbol-loading.exp: Likewise.
6625 * gdb.threads/gcore-thread.exp: Likewise.
6626 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6628 2014-08-20 Pedro Alves <palves@redhat.com>
6629 Jan Kratochvil <jan.kratochvil@redhat.com>
6631 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6633 (EXPECT): Handle READ1 being set.
6634 (all): Depend on EXTRA_RULES.
6635 (check-read1, expect-read1, read1.so, read1): New rules.
6636 * README (Testsuite Parameters): Document the READ1 make variable.
6637 (Race detection): New section.
6638 * configure: Regenerate.
6639 * configure.ac: If build==host==target, and running under a
6640 GNU/glibc system, add read1 to the extra Makefile rules.
6641 (EXTRA_RULES): AC_SUBST it.
6642 * lib/read1.c: New file.
6644 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6646 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6647 the handling of variables declared as a typedef to an array
6648 which a DW_AT_data_location attribute.
6650 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6651 Pedro Alves <palves@redhat.com>
6655 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6658 2014-08-19 Pedro Alves <palves@redhat.com>
6660 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6662 2014-08-19 Yao Qi <yao@codesourcery.com>
6664 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6667 2014-08-18 David Blaikie <dblaikie@gmail.com>
6669 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6671 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6673 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6674 attribute in array range.
6676 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6678 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6680 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6683 * gdb.cp/pr17132.cc: New file.
6684 * gdb.cp/pr17132.exp: New file.
6686 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6688 * gdb.python/py-xmethods.py (A_getarrayind)
6689 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6690 Use 'print' with function call syntax.
6691 (E_method_matcher.match): Fix tab vs space indentation mixup.
6693 2014-08-15 Yao Qi <yao@codesourcery.com>
6695 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6698 2014-08-15 Yao Qi <yao@codesourcery.com>
6700 * gdb.cp/casts.exp: Set print symbol off.
6701 * gdb.cp/class2.exp: Likewise.
6702 * gdb.cp/overload.exp: Likewise.
6703 * gdb.cp/templates.exp: Likewise.
6705 2014-08-11 Doug Evans <dje@google.com>
6707 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6708 (test_load_shlib): Update.
6710 2014-08-09 Yao Qi <yao@codesourcery.com>
6712 * gdb.base/display.exp: Invoke is_address_zero_readable.
6713 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6714 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6715 * gdb.base/hbreak-unmapped.exp: Return if
6716 is_address_zero_readable returns true.
6717 * gdb.base/signest.exp: Likewise.
6718 * gdb.base/signull.exp: Likewise.
6719 * gdb.base/sigbpt.exp: Likewise.
6720 * gdb.guile/scm-disasm.exp: Do the test if
6721 is_address_zero_readable returns false.
6722 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6723 * gdb.python/py-arch.exp: Likewise.
6724 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6725 * lib/gdb.exp (is_address_zero_readable): New proc.
6727 2014-08-09 Yao Qi <yao@codesourcery.com>
6730 * gdb.mi/mi-var-display.exp: Make test messages unique.
6732 2014-08-04 Tom Tromey <tromey@redhat.com>
6734 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6737 2014-08-04 Tom Tromey <tromey@redhat.com>
6739 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6742 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6744 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6745 inner_vla_struct_object_size.
6746 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6749 2014-07-30 Pedro Alves <palves@redhat.com>
6751 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6754 2014-07-29 Yao Qi <yao@codesourcery.com>
6757 * gdb.base/until-nodebug.exp: New.
6759 2014-07-28 Doug Evans <xdje42@gmail.com>
6762 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6763 previously existing parameter, and previously ambiguously spelled
6766 2014-07-28 Will Newton <will.newton@linaro.org>
6768 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6770 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6771 Doug Evans <xdje42@gmail.com>
6774 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6776 2014-07-25 Pedro Alves <palves@redhat.com>
6778 * gdb.threads/signal-command-handle-nopass.c: New file.
6779 * gdb.threads/signal-command-handle-nopass.exp: New file.
6780 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6781 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6782 * gdb.threads/signal-delivered-right-thread.c: New file.
6783 * gdb.threads/signal-delivered-right-thread.exp: New file.
6785 2014-07-25 Pedro Alves <palves@redhat.com>
6787 * gdb.base/double-prompt-target-event-error.exp
6788 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6790 (cancel_pagination_in_target_event): Rework double prompt
6792 * gdb.base/paginate-after-ctrl-c-running.exp
6793 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6795 * gdb.base/paginate-bg-execution.exp
6796 (test_bg_execution_pagination_return)
6797 (test_bg_execution_pagination_cancel): Remove '-notransfer
6799 * gdb.base/paginate-execution-startup.exp
6800 (test_fg_execution_pagination_return)
6801 (test_fg_execution_pagination_cancel): Remove '-notransfer
6803 * gdb.base/paginate-inferior-exit.exp
6804 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6806 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6807 * lib/gdb.exp (pagination_prompt): Run text through
6809 (gdb_test_multiple): Match $pagination_prompt instead of
6811 (string_to_regexp): Move to lib/gdb-utils.exp.
6813 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6815 * gdb.arch/amd64-entry-value-paramref.S: New file.
6816 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6817 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6818 * gdb.arch/amd64-optimout-repeat.S: New file.
6819 * gdb.arch/amd64-optimout-repeat.c: New file.
6820 * gdb.arch/amd64-optimout-repeat.exp: New file.
6822 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6825 * gdb.base/statistics.exp: New file.
6827 2014-07-17 Doug Evans <dje@google.com>
6830 * gdb.base/maint.exp: Update testing of per-command stats.
6832 2014-07-16 Pedro Alves <palves@redhat.com>
6834 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6835 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6836 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6837 (tfile_write_buf): New functions.
6838 (add_memory_block): Rewrite using the above.
6839 (adjust_function_address): New function.
6840 (FUNCTION_ADDRESS): New macro.
6841 (write_basic_trace_file): Remove short_x local, and use
6842 tfile_write_16. Change type of func_addr local to unsigned long
6843 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6844 here. Cast argument of add_memory_block to char pointer.
6845 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6846 (main): Remove parameters.
6847 * gdb.trace/tfile.exp: Remove nowarnings.
6849 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6851 * gdb.base/debug-expr.exp: Test string evaluation with
6852 "debug expression" on.
6854 2014-07-15 Pedro Alves <palves@redhat.com>
6856 * gdb.base/reread.exp: Use clean_restart.
6858 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6860 * gdb.arch/avr-flash-qualifer.c: New.
6861 * gdb.arch/avr-flash-qualifer.exp: New.
6863 2014-07-14 Pedro Alves <palves@redhat.com>
6865 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6866 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6868 2014-07-14 Pedro Alves <palves@redhat.com>
6870 * gdb.base/double-prompt-target-event-error.c: New file.
6871 * gdb.base/double-prompt-target-event-error.exp: New file.
6873 2014-07-14 Pedro Alves <palves@redhat.com>
6876 * gdb.base/paginate-inferior-exit.c: New file.
6877 * gdb.base/paginate-inferior-exit.exp: New file.
6879 2014-07-14 Pedro Alves <palves@redhat.com>
6882 * gdb.base/paginate-bg-execution.c: New file.
6883 * gdb.base/paginate-bg-execution.exp: New file.
6885 2014-07-14 Pedro Alves <palves@redhat.com>
6888 * gdb.base/paginate-execution-startup.c: New file.
6889 * gdb.base/paginate-execution-startup.exp: New file.
6890 * lib/gdb.exp (pagination_prompt): New global.
6891 (default_gdb_spawn): New procedure, factored out from
6893 (default_gdb_start): Adjust to call default_gdb_spawn.
6894 (gdb_spawn): New procedure.
6896 2014-07-14 Pedro Alves <palves@redhat.com>
6898 * lib/gdb.exp (gdb_assert): New procedure.
6899 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6901 2014-07-14 Pedro Alves <palves@redhat.com>
6903 * gdb.base/execution-termios.c: New file.
6904 * gdb.base/execution-termios.exp: New file.
6906 2014-07-14 Tom Tromey <tromey@redhat.com>
6908 * gdb.cp/vla-cxx.cc: New file.
6909 * gdb.cp/vla-cxx.exp: New file.
6911 2014-07-14 Tom Tromey <tromey@redhat.com>
6913 * gdb.reverse/rerun-prec.c: New file.
6914 * gdb.reverse/rerun-prec.exp: New file.
6916 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6917 Maciej W. Rozycki <macro@codesourcery.com>
6919 * lib/gdb-utils.exp: New file.
6920 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6921 inline `gdb_init_command' processing.
6922 (gdb_start_cmd): Likewise.
6923 * lib/mi-support.exp (mi_run_cmd): Likewise.
6924 * README: Document `gdb_init_command' and `gdb_init_commands'.
6926 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6928 Fix false FAIL running under a very long directory name.
6929 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6930 and "set print elements 10000". Twice.
6932 2014-07-11 Yao Qi <yao@codesourcery.com>
6934 * gdb.base/exprs.exp: "set print symbol off".
6936 2014-07-11 Pedro Alves <palves@redhat.com>
6938 * gdb.threads/kill.c: New file.
6939 * gdb.threads/kill.exp: New file.
6941 2014-07-10 Yao Qi <yao@codesourcery.com>
6943 * gdb.trace/tfile.c (write_basic_trace_file)
6944 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6945 address written to trace file.
6947 2014-07-09 Pedro Alves <palves@redhat.com>
6949 * gdb.base/attach-wait-input.exp: New file.
6950 * gdb.base/attach-wait-input.c: New file.
6952 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6954 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6955 setting up test structures.
6956 (main): Call new test function.
6957 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6958 test function, continue into test function and walk test
6961 2014-07-02 Yao Qi <yao@codesourcery.com>
6963 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6964 'bar_start' at the beginning of functions 'foo' and 'bar'
6966 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6967 instead of 'foo' and 'bar'.
6969 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6971 * gdb.btrace/segv.exp: New.
6972 * gdb.btrace/segv.c: New.
6974 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6976 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6979 2014-06-30 Mark Wielaard <mjw@redhat.com>
6981 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6982 vulture, vilify, villar): New volatile array constants.
6983 (vindictive, vegetation): New const volatile array constants.
6984 * gdb.base/volatile.exp: Test volatile and const volatile array
6987 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6989 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6990 target lacks support for awatch, rwatch, or hbreak.
6992 2014-06-27 Yao Qi <yao@codesourcery.com>
6994 * gdb.multi/dummy-frame-restore.exp: New.
6995 * gdb.multi/dummy-frame-restore.c: New.
6997 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6999 * gdb.btrace/gcore.exp: New.
7001 2014-06-23 Pedro Alves <palves@redhat.com>
7003 * gdb.base/watchpoint-reuse-slot.c: New file.
7004 * gdb.base/watchpoint-reuse-slot.exp: New file.
7006 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
7008 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
7009 progspace's filename in 'info', 'enable' and 'disable' command
7012 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7014 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
7015 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7016 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7018 2014-06-20 Gary Benson <gbenson@redhat.com>
7020 * gdb.arch/i386-avx.exp: Fix include file location.
7021 * gdb.arch/i386-sse.exp: Likewise.
7023 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7025 * gdb.dlang/expression.exp: New file.
7027 2014-06-19 Pedro Alves <palves@redhat.com>
7029 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7031 (top level): ... here. Iterate running tests under different
7032 scheduler-locking settings.
7034 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7036 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7037 to DW_FORM_addr and use non-zero addresses.
7039 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7042 * gdb.python/py-xmethods.cc: Add global function call counters and
7043 increment them in their respective functions. Remove "cout"
7045 * gdb.python/py-xmethods.exp: Make tests check the global function
7046 call counters instead of depending on inferior IO.
7048 2014-06-18 Don Breazeal <donb@codesourcery.com>
7050 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7052 (explicit_fork_parent_follow): Deleted procedure.
7053 (explicit_fork_child_follow): Deleted procedure.
7054 (test_follow_fork): New procedure.
7055 (do_fork_tests): Replace calls to deleted procedures with
7056 calls to test_follow_fork and reset GDB for subsequent
7059 2014-06-17 Yao Qi <yao@codesourcery.com>
7061 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7064 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7066 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7067 Initialize ptr and S explicitly.
7068 (skip_type_update_when_not_use_rtti_test): Likewise.
7070 2014-06-16 Keith Seitz <keiths@redhat.com>
7073 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7074 the inferior is started.
7076 2014-06-16 Pedro Alves <palves@redhat.com>
7078 * gdb.base/break-main-file-remove-fail.c: New file.
7079 * gdb.base/break-main-file-remove-fail.exp: New file.
7080 * gdb.base/break-unload-file.exp: Use build_executable instead of
7081 prepare_for_testing.
7082 (test_break): New parameter "initial_load". Handle it.
7083 (top level): Add initial_load cmdline/file axis.
7085 2014-06-12 Tom Tromey <tromey@redhat.com>
7087 * gdb.base/completion.exp: Don't use directory name in test.
7089 2014-06-09 Gary Benson <gbenson@redhat.com>
7091 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7092 separate the always-available ANSI-standard signals from the
7093 signals that require checking.
7095 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7099 2014-06-07 Keith Seitz <keiths@redhat.com>
7103 * gdb.cp/var-tag.cc: New file.
7104 * gdb.cp/var-tag.exp: New file.
7105 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7106 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7107 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7108 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7110 2014-06-06 Doug Evans <xdje42@gmail.com>
7112 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7114 2014-06-06 Pedro Alves <palves@redhat.com>
7116 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7117 in target debug output instead of looking at RSP packets,
7118 disabling the test on any target that uses hardware stepping.
7121 2014-06-06 Pedro Alves <palves@redhat.com>
7123 * gdb.base/break-unload-file.exp: Fix typo.
7125 2014-06-06 Yao Qi <yao@codesourcery.com>
7127 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7128 from "jit_function" to "^jit_function".
7130 2014-06-06 Yao Qi <yao@codesourcery.com>
7132 * gdb.base/async.c (foo): Add one statement.
7133 * gdb.base/async.exp: Get the next instruction address and
7134 match the output of "nexti" by instruction address. Match
7135 the hex address in the output of "finish".
7137 2014-06-06 Gary Benson <gbenson@redhat.com>
7139 * gdb.base/call-signals.c: Remove preprocessor conditionals
7140 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7141 SIGSEGV and SIGTERM.
7142 * gdb.base/sigall.c: Likewise.
7143 * gdb.base/unwindonsignal.c: Likewise.
7144 * gdb.reverse/sigall-reverse.c: Likewise.
7146 2014-06-06 Yao Qi <yao@codesourcery.com>
7148 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7149 readable, skip the test.
7151 2014-06-06 Yao Qi <yao@codesourcery.com>
7153 * gdb.threads/staticthreads.c (thread_function): Move the line
7154 setting breakpoint on forward.
7155 * gdb.threads/staticthreads.exp: Update comments.
7157 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7159 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7160 "history-append! type error".
7162 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7164 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7165 erroneous dprintf expected input.
7167 2014-06-04 Doug Evans <xdje42@gmail.com>
7169 * gdb.guile/scm-generics.exp: Delete.
7171 2014-06-04 Doug Evans <xdje42@gmail.com>
7173 * gdb.guile/scm-breakpoint.exp: Update.
7174 Add tests for breakpoint registration.
7176 2014-06-04 Tom Tromey <tromey@redhat.com>
7178 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7180 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7181 inner_vla_struct, vla_union types. Initialize objects of those
7182 types and compute their sizes.
7184 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7185 Hui Zhu <hui@codesourcery.com>
7187 * gdb.base/fileio.exp: Add test for shell not available as well as
7189 * gdb.base/fileio.c (test_system): Check for shell twice.
7191 2014-06-04 Yao Qi <yao@codesourcery.com>
7193 * gdb.base/auto-connect-native-target.exp: Remove redundant
7194 space from the regexp pattern.
7196 2014-06-04 Yao Qi <yao@codesourcery.com>
7198 * gdb.base/default.exp: Replace "child" with "native" in
7201 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7203 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7204 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7205 * gdb.python/py-xmethods.py: Python script supporting the
7206 new testcase and tests.
7208 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7209 Pedro Alves <palves@redhat.com>
7211 PR breakpoints/17000
7212 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7213 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7215 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7217 * gdb.base/subst.exp: Add tests to verify partial path matching
7220 2014-06-03 Pedro Alves <palves@redhat.com>
7222 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7223 target that doesn't use software single-stepping.
7225 2014-06-03 Pedro Alves <palves@redhat.com>
7227 PR breakpoints/17000
7228 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7229 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7231 2014-06-02 Doug Evans <xdje42@gmail.com>
7233 * gdb.guile/scm-parameter.exp: New file.
7235 2014-06-02 Doug Evans <xdje42@gmail.com>
7237 * gdb.guile/scm-cmd.c: New file.
7238 * gdb.guile/scm-cmd.exp: New file.
7240 2014-06-02 Doug Evans <xdje42@gmail.com>
7242 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7243 pretty-printer lookup.
7244 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7245 (make-pp_s-printer): Call it.
7246 (make-pretty-printer-from-dict): New function.
7247 (lookup-pretty-printer-maker-from-dict): New function.
7248 (*pretty-printer*): Simplify.
7249 (make-objfile-pp_s-printer): New function.
7250 (install-objfile-pretty-printers!): New function.
7251 (make-progspace-pp_s-printer): New function.
7252 (install-progspace-pretty-printers!): New function.
7253 * gdb.guile/scm-progspace.c: New file.
7254 * gdb.guile/scm-progspace.exp: New file.
7256 2014-06-02 Pedro Alves <palves@redhat.com>
7258 * gdb.base/dprintf-bp-same-addr.c: New file.
7259 * gdb.base/dprintf-bp-same-addr.exp: New file.
7261 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7263 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7264 * gdb.arch/powerpc-power.s: Likewise.
7266 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7268 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7270 2014-06-01 Yao Qi <yao@codesourcery.com>
7272 * gdb.base/watchpoint.exp (test_watch_location): Check null
7273 pointer can be dereferenced. If not, do the test, otherwise
7276 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7278 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7280 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7282 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7284 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7285 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7286 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7287 * gdb.arch/amd64-invalid-stack-top.c: New file.
7288 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7290 2014-05-30 Pedro Alves <palves@redhat.com>
7292 PR breakpoints/17000
7293 * gdb.base/sss-bp-on-user-bp.c: New file.
7294 * gdb.base/sss-bp-on-user-bp.exp: New file.
7296 2014-05-30 David Blaikie <dblaikie@gmail.com>
7298 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7299 gnu_inline semantics via attribute.
7300 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7301 source explicitly specifies the required semantics.
7303 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7305 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7307 2014-05-29 Pedro Alves <palves@redhat.com>
7308 Tom Tromey <tromey@redhat.com>
7310 * gdb.base/async-shell.exp: Don't enable target-async.
7311 * gdb.base/async.exp
7312 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7314 (top level): Don't test with "target-async".
7315 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7316 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7317 * gdb.base/inferior-died.exp: Don't enable target-async.
7318 * gdb.base/interrupt-noterm.exp: Likewise.
7319 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7320 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7321 * gdb.mi/mi-nonstop.exp: Likewise.
7322 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7323 * gdb.mi/mi-nsintrall.exp: Likewise.
7324 * gdb.mi/mi-nsmoribund.exp: Likewise.
7325 * gdb.mi/mi-nsthrexec.exp: Likewise.
7326 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7327 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7328 * gdb.python/py-evsignal.exp: Don't enable target-async.
7329 * gdb.python/py-evthreads.exp: Likewise.
7330 * gdb.python/py-prompt.exp: Likewise.
7331 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7332 * gdb.server/solib-list.exp: Don't enable target-async.
7333 * gdb.threads/thread-specific-bp.exp: Likewise.
7334 * lib/mi-support.exp: Adjust to use mi-async.
7336 2014-05-29 Pedro Alves <palves@redhat.com>
7339 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7340 reason, even in sync mode.
7342 2014-05-29 Pedro Alves <palves@redhat.com>
7343 Hui Zhu <hui@codesourcery.com>
7346 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7347 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7348 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7349 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7351 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7353 * config/monitor.exp (gdb_target_monitor): Replace use of
7354 "set remotebaud" by "set serial baud".
7356 2014-05-26 Andy Wingo <wingo@igalia.com>
7358 * gdb.guile/scm-breakpoint.exp:
7359 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7360 properties instead of gdb-object-properties.
7362 2014-05-26 Yao Qi <yao@codesourcery.com>
7364 * gdb.server/no-thread-db.exp: Specify source file name
7365 explicitly when setting a breakpoint.
7367 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7369 * gdb.btrace/vdso.c: New.
7370 * gdb.btrace/vdso.exp: New.
7372 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7374 * gdb.base/gcore.exp (capture_command_output): Move ...
7375 * lib/gdb.exp (capture_command_output): ... here.
7377 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7379 * gdb.btrace/data.exp: Test memory access during btrace replay.
7381 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7383 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7385 2014-05-21 Pedro Alves <palves@redhat.com>
7388 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7389 (top level): Test that output related to execution commands is
7390 sent to the console with CLI commands, but not with MI commands.
7391 Test that breakpoint events are always mirrored to the console.
7392 Also expect the new source line to be output after a "next" in
7393 async mode too. Make it a pass/fail test.
7394 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7396 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7398 2014-05-21 Pedro Alves <palves@redhat.com>
7400 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7401 Use them to test variations of "list" after reaching a breakpoint.
7402 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7403 Test "list" with listsize 10 after reaching a breakpoint.
7404 * gdb.python/python.exp (decode_line current location line
7405 number): Adjust expected line number.
7407 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7409 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7410 behavior for $args, pass it directly to "run".
7412 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7414 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7417 2014-05-21 Pedro Alves <palves@redhat.com>
7419 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7420 auto-connect-native-target off".
7421 * gdb.base/auto-connect-native-target.c: New file.
7422 * gdb.base/auto-connect-native-target.exp: New file.
7424 2014-05-21 Pedro Alves <palves@redhat.com>
7426 * gdb.base/default.exp: Test "target native" instead of "target
7429 2014-05-21 Mark Wielaard <mjw@redhat.com>
7431 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7433 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7435 Fix TLS access for -static -pthread.
7436 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7437 <HAVE_TLS> (thread_function, main): Initialize it.
7438 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7440 <$have_tls != "">: Check TLSVAR.
7442 2014-05-21 Pedro Alves <palves@redhat.com>
7444 * gdb.base/dcache-line-read-error.c: New.
7445 * gdb.base/dcache-line-read-error.exp: New.
7447 2014-05-20 Pedro Alves <palves@redhat.com>
7449 * gdb.base/compare-sections.c: New file.
7450 * gdb.base/compare-sections.exp: New file.
7452 2014-05-20 Pedro Alves <palves@redhat.com>
7454 * gdb.base/break-idempotent.c: New file.
7455 * gdb.base/break-idempotent.exp: New file.
7457 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7459 * gdb.btrace/nohist.exp: New.
7461 2014-05-20 Yao Qi <yao@codesourcery.com>
7463 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7464 gdb.reverse directory and gdb_reverse_timeout exists in board
7466 * README: Document gdb_reverse_timeout.
7468 2014-05-20 Yao Qi <yao@codesourcery.com>
7470 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7471 'test_file_name'. Treat args as a string instead of a list.
7472 (gdb_init): Rename argument 'args' by 'test_file_name'.
7474 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7476 * gdb.arch/powerpc-power.exp: New file.
7477 * gdb.arch/powerpc-power.s: New file.
7479 2014-05-16 Doug Evans <dje@google.com>
7481 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7482 * gdb.base/completion.exp: Check that all expected files exist
7483 before doing file completion.
7485 2014-05-16 Doug Evans <dje@google.com>
7487 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7489 (do_syscall_tests_without_xml): Update.
7491 2014-05-16 Pedro Alves <palves@redhat.com>
7493 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7494 instead of "unknown output after running".
7496 2014-05-16 Yao Qi <yao@codesourcery.com>
7498 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7499 file1.txt from host at the end.
7500 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7502 2014-05-15 Doug Evans <dje@google.com>
7504 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7505 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7506 loading file. Add test for TU lookup.
7508 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7510 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7511 calling "-exec-arguments" or "set args" before running the
7514 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7516 * lib/mi-support.exp (mi_expect_stop): Expect message for
7517 inferiors that exit with non-zero exit code.
7519 2014-05-14 Yao Qi <yao@codesourcery.com>
7521 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7522 match absolute path on remote host.
7523 (test_file_list_exec_source_files): Remove "/" from the
7526 2014-05-14 Yao Qi <yao@codesourcery.com>
7528 * boards/local-remote-host-notty.exp (${board}_file): New
7531 2014-05-07 Kyle McMartin <kyle@redhat.com>
7533 Pushed by Joel Brobecker <brobecker@adacore.com>.
7534 * gdb.arch/aarch64-atomic-inst.c: New file.
7535 * gdb.arch/aarch64-atomic-inst.exp: New file.
7537 2014-05-07 Yao Qi <yao@codesourcery.com>
7539 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7540 in current context" too.
7542 2014-05-05 Keith Seitz <keiths@redhat.com>
7544 * gdb.linespec/ls-dollar.exp: Add test for linespec
7545 file:convenience_variable.
7547 2014-05-05 Yao Qi <yao@codesourcery.com>
7549 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7550 traceframes into tfile and ctf trace files. Read data from
7551 trace file and test collected data.
7552 (gdb_collect_locals_test): Likewise.
7553 (gdb_unavailable_registers_test): Likewise.
7554 (gdb_unavailable_floats): Likewise.
7555 (gdb_collect_globals_test): Likewise.
7556 (top-level): Append "ctf" to trace_file_targets if GDB
7559 2014-05-05 Yao Qi <yao@codesourcery.com>
7561 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7563 (gdb_collect_args_test_1): ... it. New proc.
7564 (gdb_collect_locals_test): Move some code to ...
7565 (gdb_collect_locals_test_1): ... it. New proc.
7566 (gdb_unavailable_registers_test): Move some code to ...
7567 (gdb_unavailable_registers_test_1): ... it. New proc.
7568 (gdb_unavailable_floats): Move some code to ...
7569 (gdb_unavailable_floats_1): ... it. New proc.
7571 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7573 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7574 probes to test for bitness recognition.
7575 * gdb.arch/amd64-stap-optional-prefix.exp
7576 (test_probe_value_without_reg): New procedure.
7577 Add code to test for different kinds of bitness.
7579 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7581 PR breakpoints/16889
7582 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7583 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7585 2014-05-01 Pedro Alves <palves@redhat.com>
7587 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7588 gdb_file_cmd if no file is specified.
7589 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7590 last_loaded_file to set the remote exec-file.
7592 2014-05-01 Pedro Alves <palves@redhat.com>
7594 * boards/local-remote-host.exp: New file.
7596 2014-05-01 Pedro Alves <palves@redhat.com>
7598 * boards/local-remote-host.exp: Rename to ...
7599 * boards/local-remote-host-notty.exp: ... this.
7601 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7603 * gdb.ada/dyn_arrayidx: New testcase.
7605 2014-04-26 Yao Qi <yao@codesourcery.com>
7607 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7608 and compute the length of function main. Save it in
7610 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7611 (top-level): Use gdb_compile to compile objects into
7612 executable and restart GDB. Remove invocation to
7613 prepare_for_testing.
7615 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7616 Pedro Alves <palves@redhat.com>
7619 * gdb.multi/multi-attach.c: New file.
7620 * gdb.multi/multi-attach.exp: New file.
7622 2014-04-25 Pedro Alves <palves@redhat.com>
7624 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7626 (top level): Test that "set remote conditional-breakpoints-packet
7627 off" works as intended.
7628 * gdb.base/dprintf.exp: Test that "set remote
7629 breakpoint-commands-packet off" works as intended.
7630 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7632 (top level): Call it.
7633 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7634 remote fast-tracepoints-packet off" works as intended.
7635 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7636 * lib/gdb.exp (gdb_is_target_remote): ... here.
7638 2014-04-24 David Blaikie <dblaikie@gmail.com>
7640 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7641 ensure clang would not discard them.
7642 * gdb.base/gdbvars.c: Ditto.
7643 * gdb.base/memattr.c: Ditto.
7644 * gdb.base/whatis.c: Ditto.
7645 * gdb.python/py-prettyprint.c: Ditto.
7646 * gdb.trace/actions.c: Ditto.
7647 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7648 ensure clang would not discard it.
7650 2014-04-24 David Blaikie <dblaikie@gmail.com>
7652 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7653 clang to emit the full definition of type required by the test
7654 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7656 2014-04-24 David Blaikie <dblaikie@gmail.com>
7658 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7659 coax Clang into emitting the definition of the type.
7660 * gdb.cp/pr10728-x.h (y): Ditto.
7661 * gdb.cp/pr10728-y.cc (y): Ditto.
7663 2014-04-24 David Blaikie <dblaikie@gmail.com>
7665 * gdb.base/label.exp: XFAIL label related tests under Clang.
7666 * gdb.cp/cplabel.exp: Ditto.
7667 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7668 under Clang those using labels.
7670 2014-04-25 Yao Qi <yao@codesourcery.com>
7672 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7674 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7675 partial_label and double_label.
7677 2014-04-24 David Blaikie <dblaikie@gmail.com>
7679 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7681 2014-04-24 David Blaikie <dblaikie@gmail.com>
7683 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7684 of the function to work across GCC and Clang.
7685 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7686 pointer types (const void ** const V void **).
7688 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7689 Walfred Tedeschi <walfred.tedeschi@intel.com>
7691 * Makefile.in (EXECUTABLES): Added i386-avx512.
7692 * gdb.arch/i386-avx512.c: New file.
7693 * gdb.arch/i386-avx512.exp: Likewise.
7695 2014-04-23 Keith Seitz <keiths@redhat.com>
7697 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7698 (mi_make_breakpoint_table): New procedure.
7699 (mi_create_breakpoint): Use mi_make_breakpoint
7700 and return the result.
7701 (mi_make_breakpoint): New procedure.
7702 (mi_build_kv_pairs): New procedure.
7704 * gdb.mi/mi-break.exp: Remove unused globals,
7705 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7706 All callers updated.
7707 * gdb.mi/mi-dprintf.exp: Use variable to track command
7709 Update all callers of mi_create_breakpoint and use
7710 mi_make_breakpoint_table.
7711 Remove any unused global variables.
7712 * gdb.mi/mi-nonstop.exp: Likewise.
7713 * gdb.mi/mi-nsintrall.exp: Likewise.
7714 * gdb.mi/mi-nsmoribund.exp: Likewise.
7715 * gdb.mi/mi-nsthrexec.exp: Likewise.
7716 * gdb.mi/mi-reverse.exp: Likewise.
7717 * gdb.mi/mi-simplerun.exp: Likewise.
7718 * gdb.mi/mi-stepn.exp: Likewise.
7719 * gdb.mi/mi-syn-frame.exp: Likewise.
7720 * gdb.mi/mi-until.exp: Likewise.
7721 * gdb.mi/mi-var-cp.exp: Likewise.
7722 * gdb.mi/mi-var-display.exp: Likewise.
7723 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7724 * gdb.mi/mi2-var-child.exp: Likewise.
7725 * gdb.mi/mi-vla-c99.exp: Likewise.
7726 * lib/mi-support.exp: Likewise.
7728 From Ian Lance Taylor <iant@cygnus.com>:
7729 * lib/gdb.exp (parse_args): New procedure.
7731 2014-04-23 Pedro Alves <palves@redhat.com>
7733 * gdb.base/break-unload-file.c: New file.
7734 * gdb.base/break-unload-file.exp: New file.
7735 * gdb.base/sym-file-lib.c (baz): New function.
7736 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7738 (load): Store the segment's mapped size.
7739 (unload): New function.
7740 (unload_shlib): New function.
7741 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7742 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7743 set a breakpoint at baz, and call it.
7744 * gdb.base/sym-file.exp: New tests for stale breakpoint
7747 2014-04-23 Pedro Alves <palves@redhat.com>
7749 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7750 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7751 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7752 * gdb.base/hbreak-unmapped.c: New file.
7753 * gdb.base/hbreak-unmapped.exp: New file.
7754 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7755 * lib/gdb.exp (gdb_is_target_remote): ... here.
7757 2014-04-22 Pedro Alves <palves@redhat.com>
7759 * gdb.base/consecutive-step-over.c: New file.
7760 * gdb.base/consecutive-step-over.exp: New file.
7762 2014-04-22 Pedro Alves <palves@redhat.com>
7764 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7765 instead of send_gdb/gdb_expect.
7767 2014-04-22 Yao Qi <yao@codesourcery.com>
7769 * lib/trace-support.exp (generate_tracefile): New procedure.
7770 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7772 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7773 if generate_tracefile returns 1.
7775 2014-04-18 Tom Tromey <palves@redhat.com>
7776 Pedro alves <tromey@redhat.com>
7779 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7780 with a backtrace limit.
7781 * gdb.python/py-frame-inline.exp: Test running to an inline
7782 function with a backtrace limit, and printing the newest frame.
7783 * gdb.python/py-frame-inline.c (main): Call f.
7785 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7787 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7789 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7791 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7792 Drop prefix from unsupported source file path.
7794 2014-04-17 Yao Qi <yao@codesourcery.com>
7796 * lib/gdb.exp (with_target_charset): New proc.
7797 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7798 with_target_charset.
7799 (test_print_strings): Likewise.
7800 (test_repeat_bytes): Likewise.
7801 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7804 2014-04-16 Keith Seitz <keiths@redhat.com>
7807 * gdb.dwarf2/corrupt.c: New file.
7808 * gdb.dwarf2/corrupt.exp: New file.
7810 2014-04-16 Keith Seitz <keiths@redhat.com>
7813 * gdb.cp/namelessclass.cc: New file.
7814 * gdb.cp/namelessclass.exp: New file.
7815 * gdb.cp/namelessclass.S: New file.
7817 2014-04-16 Doug Evans <dje@google.com>
7819 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7821 (gdbserver_default_get_comm_port): New function.
7822 (gdbserver_start): Check if board file provided
7823 "gdbserver,get_comm_port" and use it if so.
7824 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7825 (gdb,socketport): Set to "stdio".
7826 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7827 (stdio_gdbserver_template): Delete.
7828 (${board}_get_remote_address): Update.
7829 (${board}_build_remote_cmd): Delete.
7830 (${board}_get_comm_port): New function.
7831 (${board}_spawn): Update.
7832 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7834 (${board}_get_remote_address): Update.
7835 (${board}_get_comm_port): New function.
7837 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7839 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7840 appearing in any order.
7842 2014-04-15 Doug Evans <dje@google.com>
7844 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7845 uninitialized value of "description".
7847 2014-04-15 Keith Seitz <keiths@redhat.com>
7849 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7850 Remove unused globals.
7851 (test_running_the_program): Likewise.
7852 (test_controlled_execution): Likewise.
7853 (test_controlling_breakpoints): Likewise.
7854 (test_program_termination): Likewise.
7856 2014-04-15 Keith Seitz <keiths@redhat.com>
7858 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7860 (test_rbreak_creation_and_listing): Likewise.
7861 (test_ignore_count): Likewise.
7862 (test_error): Likewise.
7864 2014-04-15 Pedro Alves <palves@redhat.com>
7866 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7867 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7869 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7870 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7871 to sym-file-loader.c.
7872 (struct library): Forward declare.
7873 (load_shlib, lookup_function): Change prototypes.
7874 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7875 (translate_offset): Remove declarations.
7876 (get_text_addr): New declaration.
7877 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7878 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7880 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7881 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7882 here from sym-file-loader.h.
7883 (struct library): New structure.
7884 (load_shlib, lookup_function): Change prototypes and adjust to
7885 work with a struct library.
7886 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7887 (translate_offset): Make static.
7888 (get_text_addr): New function.
7889 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7891 2014-04-15 Pedro Alves <palves@redhat.com>
7893 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7895 2014-04-15 Pedro Alves <palves@redhat.com>
7897 * gdb.base/sym-file-loader.c: Include <limits.h>.
7898 (SELF_LINK): New define.
7899 (get_origin): New function.
7900 (load_shlib): Use it.
7901 * gdb.base/sym-file.exp: Don't early return if the target is
7902 remote. Use runto_main, and issue fail is that fails. Use
7904 (shlib_name): Delete.
7905 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7907 2014-04-15 Pedro Alves <palves@redhat.com>
7909 * gdb.base/sym-file.exp: Remove regex characters from test
7910 message. Don't refer to breakpoint numbers in test messages.
7912 2014-04-14 Keith Seitz <keiths@redhat.com>
7915 * gdb.cp/var-tag.cc: New file.
7916 * gdb.cp/var-tag.exp: New file.
7917 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7918 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7919 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7920 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7922 2014-04-14 Tom Tromey <tromey@redhat.com>
7924 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7925 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7927 * gdb.cp/enum-class.exp: New file.
7928 * gdb.cp/enum-class.cc: New file.
7930 2014-04-14 Tom Tromey <tromey@redhat.com>
7932 * gdb.dwarf2/enum-type.exp: New file.
7934 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7936 * gdb.mi/mi-vla-c99.exp: New file.
7937 * gdb.mi/vla.c: New file.
7939 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7941 * gdb.base/vla-datatypes.c: New file.
7942 * gdb.base/vla-datatypes.exp: New file.
7944 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7946 * gdb.base/vla-ptr.c: New file.
7947 * gdb.base/vla-ptr.exp: New file.
7949 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7951 * gdb.dwarf2/count.exp: New file.
7953 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7955 * gdb.base/vla-sideeffect.c: New file.
7956 * gdb.base/vla-sideeffect.exp: New file.
7958 2014-04-14 David Blaikie <dblaikie@gmail.com>
7960 * gdb.mi/non-stop.c: Add return value for non-void function return
7962 * gdb.threads/staticthreads.c: Ditto.
7964 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7965 Doug Evans <xdje42@gmail.com>
7967 * gdb.guile/scm-value.c: Improve test case.
7968 * gdb.guile/scm-value.exp: Add new test.
7970 2014-04-11 David Blaikie <dblaikie@gmail.com>
7972 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7973 override Clang's default.
7975 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7977 Revert the following changes (regressions):
7979 * gdb.base/vla-sideeffect.c: New file.
7980 * gdb.base/vla-sideeffect.exp: New file.
7982 * gdb.dwarf2/count.exp: New file.
7984 * gdb.base/vla-multi.c: New file.
7985 * gdb.base/vla-multi.exp: New file.
7987 * gdb.base/vla-ptr.c: New file.
7988 * gdb.base/vla-ptr.exp: New file.
7990 * gdb.base/vla-datatypes.c: New file.
7991 * gdb.base/vla-datatypes.exp: New file.
7993 * gdb.mi/mi-vla-c99.exp: New file.
7994 * gdb.mi/vla.c: New file.
7996 2014-04-11 Keith Seitz <keiths@redhat.com>
7999 * gdb.cp/cpsizeof.exp: New file.
8000 * gdb.cp/cpsizeof.cc: New file.
8002 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8004 * gdb.mi/mi-vla-c99.exp: New file.
8005 * gdb.mi/vla.c: New file.
8007 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8009 * gdb.base/vla-datatypes.c: New file.
8010 * gdb.base/vla-datatypes.exp: New file.
8012 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8014 * gdb.base/vla-ptr.c: New file.
8015 * gdb.base/vla-ptr.exp: New file.
8017 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8019 * gdb.base/vla-multi.c: New file.
8020 * gdb.base/vla-multi.exp: New file.
8022 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8024 * gdb.dwarf2/count.exp: New file.
8026 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8028 * gdb.base/vla-sideeffect.c: New file.
8029 * gdb.base/vla-sideeffect.exp: New file.
8031 2014-04-11 Yao Qi <yao@codesourcery.com>
8033 * gdb.base/completion.exp: Check file exists before running tests
8036 2014-04-10 Pedro Alves <palves@redhat.com>
8038 * gdb.base/cond-eval-mode.c: New file.
8039 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8040 prepare_for_testing to build the new file. Check result of
8042 (test_break, test_watch): New procedures.
8043 (top level): Use them.
8045 2014-04-08 Pierre Muller <muller@sourceware.org>
8047 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8048 Ctrl-V use for mingw hosts.
8050 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8052 * gdb.python/py-value.c: Improve test case.
8053 * gdb.python/py-value.exp: Add new test.
8055 2014-04-07 David Blaikie <dblaikie@gmail.com>
8057 * lib/compiler.c: Identify the clang compiler.
8058 * lib/compiler.cc: Ditto.
8060 2014-04-03 Yao Qi <yao@codesourcery.com>
8062 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8064 2014-04-01 Anton Blanchard <anton@samba.org>
8066 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8069 2014-04-01 Anton Blanchard <anton@samba.org>
8071 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8072 prepare_for_testing.
8074 2014-04-01 Anton Blanchard <anton@samba.org>
8076 * gdb.arch/ppc64-atomic-inst.c: Remove.
8077 * gdb.arch/ppc64-atomic-inst.S: New file.
8078 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8080 2014-03-31 Doug Evans <dje@google.com>
8082 * gdb.base/print-symbol-loading-lib.c: New file.
8083 * gdb.base/print-symbol-loading-main.c: New file.
8084 * gdb.base/print-symbol-loading.exp: New file.
8086 2014-03-31 Yao Qi <yao@codesourcery.com>
8088 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8090 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8092 * gdb.ada/mi_dyn_arr: New testcase.
8094 2014-03-27 Doug Evans <dje@google.com>
8096 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8098 2014-03-27 Yao Qi <yao@codesourcery.com>
8100 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8101 if target is nios2-*-*.
8103 2014-03-26 Yao Qi <yao@codesourcery.com>
8105 * lib/gdb.exp (readline_is_used): New proc.
8106 * gdb.base/completion.exp: Move tests on command complete up.
8107 Skip the rest of tests if readline is not used.
8108 * gdb.ada/complete.exp: Skp the test if readline is not
8110 * gdb.base/filesym.exp: Likewise.
8111 * gdb.base/macscp.exp: Likewise.
8112 * gdb.base/readline-ask.exp: Likewise.
8113 * gdb.base/readline.exp: Likewise.
8114 * gdb.python/py-cmd.exp: Likewise.
8115 * gdb.trace/tfile.exp: Likewise.
8117 2014-03-26 Yao Qi <yao@codesourcery.com>
8119 * gdb.base/macscp.exp: Fix code format issues.
8121 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8123 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8124 * gdb.asm/powerpc64le.inc: New file.
8126 2014-03-25 Pedro Alves <palves@redhat.com>
8127 Doug Evans <dje@google.com>
8129 * gdb.base/source-execution.c: New file.
8130 * gdb.base/source-execution.exp: New file.
8131 * gdb.base/source-execution.gdb: New file.
8133 2014-03-24 Doug Evans <dje@google.com>
8135 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8138 2014-03-24 Hui Zhu <hui@codesourcery.com>
8139 Pedro Alves <palves@redhat.com>
8141 PR breakpoints/16101
8142 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8143 test pass/fail messages. Detect missing support for dprintf when
8144 breakpoints are actually inserted.
8145 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8146 breakpoints are actually inserted.
8147 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8150 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8152 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8154 2014-03-22 Doug Evans <xdje42@gmail.com>
8156 * gdb.python/python.exp (python not supported): Verify multi-line
8157 python command issues an error.
8158 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8159 guile command issues an error.
8161 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8163 * gdb.threads/thread-specific.exp: Handle the lack of usable
8164 $this_breakpoint and $this_thread.
8166 2014-03-21 Hui Zhu <hui@codesourcery.com>
8168 * gdb.base/attach.exp (do_command_attach_tests): New.
8170 2014-03-20 Tom Tromey <tromey@redhat.com>
8171 Pedro Alves <palves@redhat.com>
8174 * gdb.base/condbreak-call-false.c: New file.
8175 * gdb.base/condbreak-call-false.exp: New file.
8177 2014-03-20 Pedro Alves <palves@redhat.com>
8179 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8181 (block_signals, unblock_signals): Delete.
8182 (child_function_2, main): Remove references to deleted variable
8185 2014-03-20 Pedro Alves <palves@redhat.com>
8187 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8188 Use pthread_kill to signal thread 2.
8189 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8190 Adjust to make the test send itself a signal rather than using the
8191 host's "kill" command.
8193 2014-03-20 Pedro Alves <palves@redhat.com>
8195 * gdb.threads/multiple-step-overs.c: New file.
8196 * gdb.threads/multiple-step-overs.exp: New file.
8197 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8198 Adjust expected infrun debug output.
8200 2014-03-20 Pedro Alves <palves@redhat.com>
8202 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8203 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8205 2014-03-20 Pedro Alves <palves@redhat.com>
8208 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8209 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8210 of gdb_test_multiple.
8211 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8212 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8214 2014-03-20 Pedro Alves <palves@redhat.com>
8216 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8217 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8219 2014-03-19 Pedro Alves <palves@redhat.com>
8221 * gdb.base/async.exp: Remove early return.
8223 2014-03-19 Pedro Alves <palves@redhat.com>
8225 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8227 2014-03-19 Pedro Alves <palves@redhat.com>
8229 * gdb.base/async.exp (test_background): Expect \r\n after
8230 "completed." in the fail pattern.
8232 2014-03-19 Pedro Alves <palves@redhat.com>
8234 * gdb.base/async.exp (test_background): New procedure.
8235 Use it for all background execution command tests.
8237 2014-03-19 Pedro Alves <palves@redhat.com>
8239 * gdb.base/async.exp: Use prepare_for_testing.
8241 2014-03-19 Pedro Alves <palves@redhat.com>
8243 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8246 2014-03-19 Pedro Alves <palves@redhat.com>
8248 * gdb.base/async.c (main): Add "jump here" and "until here" line
8250 * gdb.base/async.exp (jump_here): New global.
8251 (jump& test): Use it.
8252 (until_here): New global.
8253 (until& test): Use it.
8255 2014-03-19 Pedro Alves <palves@redhat.com>
8257 * gdb.base/async.exp: Don't frob gdb_protocol.
8259 2014-03-18 Doug Evans <xdje42@gmail.com>
8261 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8262 Fix spelling of exec-done-display.
8264 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8267 * gdb.base/gdb-sigterm.c: New file.
8268 * gdb.base/gdb-sigterm.exp: New file.
8270 2014-03-18 Pedro Alves <palves@redhat.com>
8273 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8274 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8277 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8279 * gdb.ada/pckd_arr_ren: New testcase.
8281 2014-03-13 Doug Evans <xdje42@gmail.com>
8284 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8285 collect after discarding symbols.
8287 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8288 Doug Evans <xdje42@gmail.com>
8290 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8291 to history survives a gc.
8293 2014-03-13 Pedro Alves <palves@redhat.com>
8295 * gdb.base/default.exp: Don't test "target procfs".
8297 2014-03-13 Pedro Alves <palves@redhat.com>
8299 * gdb.base/default.exp: Update "target child" and "target procfs"
8300 tests to not expect "Unix".
8302 2014-03-12 Tom Tromey <tromey@redhat.com>
8304 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8305 New procs. Add target-async tests.
8306 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8307 Add target-async tests.
8309 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8311 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8312 'func_start' and 'func_end' for the beginning and end of the
8313 function code, respectively.
8314 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8315 'func_end' instead of 'func' and 'main'.
8317 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8319 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8320 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8321 generate the debug info assembler source.
8323 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8325 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8326 * gdb.dwarf2/arr-subrange.exp: Likewise.
8327 * gdb.dwarf2/dwz.exp: Likewise.
8328 * gdb.dwarf2/method-ptr.exp: Likewise.
8329 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8330 * gdb.dwarf2/subrange.exp: Likewise.
8331 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8332 * gdb.dwarf2/implptrpiece.exp: Likewise.
8333 * gdb.dwarf2/nostaticblock.exp: Likewise.
8335 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8337 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8338 directory to absolute path name arguments.
8340 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8342 * gdb.ada/tagged_access: New testcase.
8344 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8346 * gdb.btrace/data.exp: Update expected output.
8348 2014-03-06 Yao Qi <yao@codesourcery.com>
8350 * gdb.trace/pr16508.exp: New file.
8352 2014-03-05 Pedro Alves <palves@redhat.com>
8355 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8357 (top level): Adjust to use it. Add tests that exercise breakpoint
8358 interaction with the code-cache.
8360 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8362 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8363 test for 'history-append!'.
8365 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8367 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8368 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8369 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8370 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8371 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8372 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8374 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8376 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8377 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8378 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8380 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8382 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8384 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8386 * gdb.dwarf2/arr-stride.c: New file.
8387 * gdb.dwarf2/arr-stride.exp: New file.
8389 2014-02-26 Pedro Alves <palves@redhat.com>
8391 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8392 that won't ever trigger. Make sure that GDB reports the correct
8393 breakpoint that caused the stop.
8395 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8398 * gdb.base/auto-load-script: New file.
8399 * gdb.base/auto-load.c: New file.
8400 * gdb.base/auto-load.exp: New file.
8403 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8405 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8407 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8408 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8410 2014-02-24 Doug Evans <dje@google.com>
8412 * lib/gdb.exp (run_on_host): Log error output if program fails.
8414 2014-02-21 Pedro Alves <palves@redhat.com>
8416 * gdb.threads/step-after-sr-lock.c: Rename to ...
8417 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8418 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8419 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8422 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8425 * gdb.arch/amd64-stap-special-operands.exp: New file.
8426 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8427 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8428 * gdb.arch/amd64-stap-triplet.S: Likewise.
8429 * gdb.arch/amd64-stap-triplet.c: Likewise.
8431 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8433 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8434 in .section pseudo-op.
8436 2014-02-20 lin zuojian <manjian2006@gmail.com>
8437 Joel Brobecker <brobecker@adacore.com>
8438 Doug Evans <xdje42@gmail.com>
8441 * gdb.dwarf2/dw2-icycle.S: New file.
8442 * gdb.dwarf2/dw2-icycle.c: New file.
8443 * gdb.dwarf2/dw2-icycle.exp: New file.
8445 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8447 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8448 operations on gdb.Value objects.
8449 * gdb.python/py-value-cc.exp: Add new test to test operations on
8452 2014-02-18 Doug Evans <dje@google.com>
8454 * Makefile.in (TESTS): New variable.
8455 (expanded_tests, expanded_tests_or_none): New variables
8456 (check-single): Pass $(expanded_tests_or_none) to runtest.
8457 (check-parallel): Only run tests in $(TESTS) if non-empty.
8458 (check/no-matching-tests-found): New rule.
8459 * README: Document TESTS makefile variable.
8461 2014-02-18 Doug Evans <dje@google.com>
8463 * Makefile.in (check-parallel): rm -rf outputs temp.
8465 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8467 Fix "ERROR: no fileid for" in the testsuite.
8468 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8470 2014-02-12 Doug Evans <dje@google.com>
8472 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8473 (MISCELLANEOUS): New variable.
8474 (clean): rm -rf $(MISCELLANEOUS).
8475 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8476 dwp live in the same directory as symlinks, with each symlink pointed
8477 to a differently named file in a different directory.
8479 2014-02-11 Doug Evans <dje@google.com>
8481 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8482 of Tcl file commands.
8484 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8486 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8489 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8491 * gdb.ada/tick_length_array_enum_idx: New testcase.
8493 2014-02-10 Doug Evans <xdje42@gmail.com>
8495 * configure.ac (AC_OUTPUT): Add gdb.guile.
8496 * configure: Regenerate.
8497 * lib/gdb-guile.exp: New file.
8498 * lib/gdb.exp (get_target_charset): New function.
8499 * gdb.base/help.exp: Update expected output from "apropos apropos".
8500 * gdb.guile/Makefile.in: New file.
8501 * gdb.guile/guile.exp: New file.
8502 * gdb.guile/scm-arch.c: New file.
8503 * gdb.guile/scm-arch.exp: New file.
8504 * gdb.guile/scm-block.c: New file.
8505 * gdb.guile/scm-block.exp: New file.
8506 * gdb.guile/scm-breakpoint.c: New file.
8507 * gdb.guile/scm-breakpoint.exp: New file.
8508 * gdb.guile/scm-disasm.c: New file.
8509 * gdb.guile/scm-disasm.exp: New file.
8510 * gdb.guile/scm-equal.c: New file.
8511 * gdb.guile/scm-equal.exp: New file.
8512 * gdb.guile/scm-error.exp: New file.
8513 * gdb.guile/scm-error.scm: New file.
8514 * gdb.guile/scm-frame-args.c: New file.
8515 * gdb.guile/scm-frame-args.exp: New file.
8516 * gdb.guile/scm-frame-args.scm: New file.
8517 * gdb.guile/scm-frame-inline.c: New file.
8518 * gdb.guile/scm-frame-inline.exp: New file.
8519 * gdb.guile/scm-frame.c: New file.
8520 * gdb.guile/scm-frame.exp: New file.
8521 * gdb.guile/scm-generics.exp: New file.
8522 * gdb.guile/scm-gsmob.exp: New file.
8523 * gdb.guile/scm-iterator.c: New file.
8524 * gdb.guile/scm-iterator.exp: New file.
8525 * gdb.guile/scm-math.c: New file.
8526 * gdb.guile/scm-math.exp: New file.
8527 * gdb.guile/scm-objfile-script-gdb.in: New file.
8528 * gdb.guile/scm-objfile-script.c: New file.
8529 * gdb.guile/scm-objfile-script.exp: New file.
8530 * gdb.guile/scm-objfile.c: New file.
8531 * gdb.guile/scm-objfile.exp: New file.
8532 * gdb.guile/scm-ports.exp: New file.
8533 * gdb.guile/scm-pretty-print.c: New file.
8534 * gdb.guile/scm-pretty-print.exp: New file.
8535 * gdb.guile/scm-pretty-print.scm: New file.
8536 * gdb.guile/scm-section-script.c: New file.
8537 * gdb.guile/scm-section-script.exp: New file.
8538 * gdb.guile/scm-section-script.scm: New file.
8539 * gdb.guile/scm-symbol.c: New file.
8540 * gdb.guile/scm-symbol.exp: New file.
8541 * gdb.guile/scm-symtab-2.c: New file.
8542 * gdb.guile/scm-symtab.c: New file.
8543 * gdb.guile/scm-symtab.exp: New file.
8544 * gdb.guile/scm-type.c: New file.
8545 * gdb.guile/scm-type.exp: New file.
8546 * gdb.guile/scm-value-cc.cc: New file.
8547 * gdb.guile/scm-value-cc.exp: New file.
8548 * gdb.guile/scm-value.c: New file.
8549 * gdb.guile/scm-value.exp: New file.
8550 * gdb.guile/source2.scm: New file.
8551 * gdb.guile/types-module.cc: New file.
8552 * gdb.guile/types-module.exp: New file.
8554 2014-02-10 Yao Qi <yao@codesourcery.com>
8557 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8558 * configure: Regenerated.
8559 * Makefile.in: New file.
8561 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8563 * gdb.python/py-framefilter.exp: Fix typo.
8565 2014-02-08 Yao Qi <yao@codesourcery.com>
8567 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8568 that no =breakpoint-modified is emitted when breakpoints are
8569 modified through MI commands.
8571 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8572 Pedro Alves <palves@redhat.com>
8574 * gdb.threads/step-after-sr-lock.c: New file.
8575 * gdb.threads/step-after-sr-lock.exp: New file.
8577 2014-02-07 Pedro Alves <palves@redhat.com>
8579 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8581 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8583 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8584 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8586 2014-02-06 Doug Evans <xdje42@gmail.com>
8588 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8591 * gdb.gdb/python-interrupts.exp: New file.
8593 2014-02-05 Yao Qi <yao@codesourcery.com>
8595 * gdb.trace/report.exp (use_collected_data): Test the output
8596 of "info threads" and "info inferiors".
8598 2014-02-05 Yao Qi <yao@codesourcery.com>
8602 2013-05-24 Yao Qi <yao@codesourcery.com>
8604 * gdb.trace/tfile.exp: Test inferior and thread.
8606 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8608 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8610 * gdb.base/step-bt.c: Call hello via function pointer to make
8611 sure its first instruction is executed on powerpc64le-linux.
8613 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8615 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8617 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8619 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8620 of the test patterns for use on little-endian systems.
8622 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8624 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8625 (decimal_vector): Fix for little-endian.
8627 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8629 * gdb.arch/sparc-sysstep.exp: New file.
8630 * gdb.arch/sparc-sysstep.c: Likewise.
8632 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8634 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8636 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8638 2014-01-23 Tom Tromey <tromey@redhat.com>
8640 * gdb.ada/array_char_idx: New testcase.
8642 2014-01-23 Tom Tromey <tromey@redhat.com>
8645 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8646 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8649 2014-01-23 Tom Tromey <tromey@redhat.com>
8652 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8653 string from an inferior frame.
8654 * gdb.python/py-framefilter-mi.exp: Update.
8656 2014-01-22 Doug Evans <dje@google.com>
8658 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8660 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8662 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8664 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8666 * gdb.trace/entry-values.exp: Remove excess space character from
8667 regex patterns. Handle s390 call instruction.
8669 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8671 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8672 define "*_start" label. Make "name" static.
8673 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8674 ${name} by references to ${name}_start.
8676 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8678 * gdb.base/info-macros.exp: Remove "debug" from the compile
8681 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8683 * gdb.dlang/demangle.exp: New file.
8685 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8687 * gdb.dlang/primitive-types.exp: New file.
8689 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8691 * configure.ac: Create gdb.dlang/Makefile.
8692 * configure: Regenerate.
8693 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8694 * gdb.dlang/Makefile.in: New file.
8695 * lib/d-support.exp: New file.
8696 * lib/gdb.exp (skip_d_tests): New proc.
8698 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8700 * gdb.btrace/delta.exp: Check reverse stepi.
8701 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8702 * gdb.btrace/finish.exp: New.
8703 * gdb.btrace/next.exp: New.
8704 * gdb.btrace/nexti.exp: New.
8705 * gdb.btrace/record_goto.c: Add comments.
8706 * gdb.btrace/step.exp: New.
8707 * gdb.btrace/stepi.exp: New.
8708 * gdb.btrace/multi-thread-step.c: New.
8709 * gdb.btrace/multi-thread-step.exp: New.
8710 * gdb.btrace/rn-dl-bind.c: New.
8711 * gdb.btrace/rn-dl-bind.exp: New.
8712 * gdb.btrace/data.c: New.
8713 * gdb.btrace/data.exp: New.
8714 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8716 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8718 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8719 * gdb.btrace/exception.exp: Update.
8720 * gdb.btrace/instruction_history.exp: Update.
8721 * gdb.btrace/record_goto.exp: Update.
8722 * gdb.btrace/tailcall.exp: Update.
8723 * gdb.btrace/unknown_functions.exp: Update.
8724 * gdb.btrace/delta.exp: New.
8726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8728 * gdb.btrace/record_goto.exp: Add backtrace test.
8729 * gdb.btrace/tailcall.exp: Add backtrace test.
8731 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8733 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8734 * gdb.btrace/record_goto.c: New.
8735 * gdb.btrace/record_goto.exp: New.
8736 * gdb.btrace/x86-record_goto.S: New.
8738 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8740 * gdb.btrace/function_call_history.exp: Update tests.
8741 * gdb.btrace/instruction_history.exp: Update tests.
8743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8745 * gdb.btrace/function_call_history.exp: Fix expected field
8746 order for "record function-call-history".
8747 Add new tests for "record function-call-history /c".
8748 * gdb.btrace/exception.cc: New.
8749 * gdb.btrace/exception.exp: New.
8750 * gdb.btrace/tailcall.exp: New.
8751 * gdb.btrace/x86-tailcall.S: New.
8752 * gdb.btrace/x86-tailcall.c: New.
8753 * gdb.btrace/unknown_functions.c: New.
8754 * gdb.btrace/unknown_functions.exp: New.
8755 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8757 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8759 * gdb.btrace/instruction_history.exp: Update.
8760 * gdb.btrace/function_call_history.exp: Update.
8762 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8764 * gdb.btrace/function_call_history.exp: Fix expected function
8766 * gdb.btrace/instruction_history.exp: Initialize traced.
8767 Remove traced_functions.
8769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8771 * gdb.btrace/function_call_history.exp: Update
8772 * gdb.btrace/instruction_history.exp: Update.
8774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8776 * gdb.btrace/enable.exp: Update expected text.
8778 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8780 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8783 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8785 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8787 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8789 * lib/gdb.exp (supports_process_record): Return true for
8790 arm*-linux*. (supports_reverse): Likewise.
8792 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8796 * gdb.python/py-type.c: Enhance test case.
8797 * gdb.python/py-value-cc.cc: Likewise
8798 * gdb.python/py-type.exp: Add new tests.
8799 * gdb.python/py-value-cc.exp: Likewise
8801 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8802 Pedro Alves <palves@redhat.com>
8804 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8806 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8807 references to ${name}_start by references to ${name}.
8809 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8811 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8813 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8815 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8817 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8818 Pedro Alves <palves@redhat.com>
8820 * gdb.mi/mi-info-os.exp: Connect to the target with
8823 2014-01-08 Pedro Alves <palves@redhat.com>
8825 * gdb.threads/reconnect-signal.c: New file.
8826 * gdb.threads/reconnect-signal.exp: New file.
8828 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8830 * gdb.base/source-dir.exp: New file.
8832 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8834 * gdb.ada/mi_interface: New testcase.
8836 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8838 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8839 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8840 gdb.ada/pp-rec-component/pck.ads: New files.
8842 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8844 * gdb.python/py-pp-integral.c: New file.
8845 * gdb.python/py-pp-integral.py: New file.
8846 * gdb.python/py-pp-integral.exp: New file.
8848 For older changes see ChangeLog-1993-2013.
8854 ;; version-control: never
8857 Copyright 2014-2016 Free Software Foundation, Inc.
8858 Copying and distribution of this file, with or without modification,
8859 are permitted provided the copyright notice and this notice are preserved.