1 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.base/new-ui.exp (do_test_invalid_args): New
6 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8 * gdb.btrace/reconnect.c: New file.
9 * gdb.btrace/reconnect.exp: New file.
11 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14 to test_catch_syscall_group.
15 (test_catch_syscall_group): New.
17 2016-07-21 Tom Tromey <tom@tromey.com>
19 * gdb.rust/simple.rs (main): Use empty struct expression.
20 * gdb.rust/simple.exp: Add tests for empty struct expression.
22 2016-07-21 Yao Qi <yao.qi@linaro.org>
24 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
25 if gdb_skip_xml_test is true on some targets.
27 2016-07-21 Yao Qi <yao.qi@linaro.org>
29 * gdb.server/solib-list.exp: Unset last_loaded_file.
31 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
33 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
34 "step into captured_main (args)".
36 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
38 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
40 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
42 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
44 2016-07-19 Pedro Alves <palves@redhat.com>
46 * gdb.opt/inline-break.exp: Remove optimize=-O2.
47 * gdb.opt/inline-bt.exp: Likewise.
48 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
49 additional_flags=-Winline.
50 * gdb.opt/inline-locals.exp: Likewise.
51 * gdb.opt/inline-markers.c (ATTR): Define.
54 2016-07-19 Yao Qi <yao.qi@linaro.org>
56 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
57 (test_with_self): Remove some code. Remove argument executable.
58 (top-level): Use do_self_tests.
60 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
61 Don Breazeal <donb@codesourcery.com>
63 * gdb.base/maint.exp: Escape paths used in regular expressions.
64 * gdb.stabs/weird.exp: Likewise.
66 2016-07-13 Tom Tromey <tom@tromey.com>
68 PR python/15620, PR python/18620:
69 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
70 (test_bkpt_events): New procs.
72 2016-07-13 Tom Tromey <tom@tromey.com>
75 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
77 (test_watchpoints): Likewise.
78 (test_bkpt_pending): New proc.
80 2016-07-13 Tom Tromey <tom@tromey.com>
83 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
86 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
88 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
89 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
90 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
92 (g): Rename g_end_lbl to g_label.
93 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
95 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
97 2016-07-12 Tom Tromey <tom@tromey.com>
100 * gdb.python/py-unwind-maint.exp: Update tests.
102 2016-07-12 Yao Qi <yao.qi@linaro.org>
104 * lib/selftest-support.exp (selftest_setup): Match the output
105 when captured_main is inlined.
107 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
109 * gdb.fortran/derived-types.exp (result_line, result_line_2):
111 (print this%a, print this%b, print this): New tests.
112 * gdb.fortran/derived-types.f90 (this): New object and
115 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
117 * gdb.ada/arraydim.exp: Remove extra directory level in build
120 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
122 * lib/ada.exp: Remove extra directory level in build directory.
123 * gdb.ada/cond_lang.exp: Likewise.
124 * gdb.ada/exec_changed.exp: Likewise.
125 * gdb.ada/lang_switch.exp: Likewise.
127 2016-07-06 Manish Goregaokar <manish@mozilla.com>
129 * simple.rs: Add test for raw pointer subscripting
130 * simple.exp: Add test expectations
132 2016-07-05 Yao Qi <yao.qi@linaro.org>
134 * gdb.mi/mi-reverse.exp: Match =record-started output.
136 2016-07-01 Pedro Alves <palves@redhat.com>
138 * gdb.base/jit-reader.exp (info_registers_current_frame): New
140 (jit_reader_test): Test the jit reader's unwinder.
141 * gdb.base/jithost.c (jit_function_00_code): New global.
142 (main): Use memcpy to fill in the mmapped code, instead of poking
144 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
146 (read_debug_info): Save the function's range.
147 (read_sp): New function.
148 (unwind_frame): Use it. Also unwind RBP.
149 (get_frame_id): Use read_sp.
150 (gdb_init_reader): Use calloc instead of malloc.
151 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
152 parameter. Use gdb_test_multiple.
154 2016-07-01 Pedro Alves <palves@redhat.com>
155 Antoine Tremblay <antoine.tremblay@ericsson.com>
157 * gdb.threads/process-dies-while-detaching.c: New file.
158 * gdb.threads/process-dies-while-detaching.exp: New file.
160 2016-07-01 Pedro Alves <palves@redhat.com>
162 * gdb.multi/watchpoint-multi-exit.c: New file.
163 * gdb.multi/watchpoint-multi-exit.exp: New file.
165 2016-06-30 Pedro Alves <palves@redhat.com>
167 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
168 unset inferior_spawn_id.
170 2016-06-30 Pedro Alves <palves@redhat.com>
172 * lib/mi-support.exp (default_mi_gdb_start): Declare global
173 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
175 2016-06-29 Yao Qi <yao.qi@linaro.org>
177 * gdb.base/return.c: Add copyright header.
179 2016-06-29 Tom Tromey <tom@tromey.com>
182 * gdb.python/py-framefilter.exp: Add tests for setting priority
183 and disabling of non-existent frame filter.
185 2016-06-29 Yao Qi <yao.qi@linaro.org>
187 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
190 2016-06-28 Yao Qi <yao.qi@linaro.org>
192 * gdb.base/catch-syscall.exp: Remove check on isnative and target
193 triplets. Start gdb, execute catch syscall, and continue. Check
194 gdb's output to determine catch syscall is supported.
196 2016-06-27 Manish Goregaokar <manish@mozilla.com>
198 * gdb.rust/simple.rs: Add test for returning unit in a function.
199 * gdb.rust/simple.exp: Add expectation for functions returning
202 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
204 * gdb.python/py-breakpoint-create-fail.c,
205 gdb.python/py-breakpoint-create-fail.exp,
206 gdb.python/py-breakpoint-create-fail.py: New testcase.
208 2016-06-25 Manish Goregaokar <manish@mozilla.com>
211 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
212 * gdb.rust/simple.exp: Add test expectations for new NonZero
215 2016-06-24 David Taylor <dtaylor@emc.com>
217 * gdb.base/offsets.exp: New file.
218 * gdb.base/offsets.c: New file.
220 2016-06-23 Tom Tromey <tom@tromey.com>
223 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
224 before any filters are loaded.
226 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
228 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
229 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
231 * gdb.fortran/derived-type-function.exp: New file.
232 * gdb.fortran/derived-type-function.f90: New file.
235 2016-06-21 Pedro Alves <palves@redhat.com>
237 * gdb.base/new-ui.exp: New file.
238 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
239 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
240 (with_spawn_id): New procedure.
242 2016-06-21 Pedro Alves <palves@redhat.com>
244 * gdb.mi/mi-exec-run.exp: New file.
246 2016-06-21 Pedro Alves <palves@redhat.com>
248 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
249 breakpoint command's output on the main UI.
250 (test_break): New procedure, factored out from calls in the top
252 (top level): Use foreach_with_prefix to test MI as main UI and as
255 2016-06-21 Pedro Alves <palves@redhat.com>
257 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
258 (test_awatch_creation_and_listing)
259 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
260 Remove 'type' parameter.
261 (test_watchpoint_all): New parameter mi_mode. Remove
263 (top level): Use foreach_with_prefix, and add main/separate UI MI
266 2016-06-21 Pedro Alves <palves@redhat.com>
268 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
269 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
270 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
271 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
272 (gdb_main_spawn_id, mi_spawn_id): Declare and
274 (mi_create_inferior_pty): New procedure,
275 factored out from default_mi_gdb_start.
276 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
278 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
279 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
280 Use mi_create_inferior_pty.
281 (mi_gdb_start): Use eval to pass down args list.
283 2016-06-21 Pedro Alves <palves@redhat.com>
285 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
286 * gdb.opt/inline-cmds.exp: Add MI tests.
288 2016-06-21 Pedro Alves <palves@redhat.com>
290 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
292 2016-06-21 Pedro Alves <palves@redhat.com>
294 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
295 (top level): Use it instead of mi_execute_to.
297 2016-06-21 Pedro Alves <palves@redhat.com>
299 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
300 (cont_handler_str): New.
301 (signal_stop_handler): Set stop_handler_str instead of printing to
303 (continue_handler): Set cont_handler_str instead of printing to
305 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
306 mi_send_resuming_command. Print stop_handler_str and
307 cont_handler_str instead of expecting the python events print
310 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
312 * gdb.base/jit-reader.exp: New file.
313 * gdb.base/jithost.c: New file.
314 * gdb.base/jithost.h: New file.
315 * gdb.base/jitreader.c : New file.
316 * gdb.base/jit-protocol.h: New file.
318 2016-06-17 Yao Qi <yao.qi@linaro.org>
320 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
321 parameters follow_fork and detach_on_fork. Set follow-fork-mode
322 and detach-on-fork. Adjust tests.
323 (top level): Invoke break_cond_on_syscall with combinations of
324 syscall, follow-fork-mode and detach-on-fork.
326 2016-06-17 Yao Qi <yao.qi@linaro.org>
328 * gdb.base/step-over-exit.c: New.
329 * gdb.base/step-over-exit.exp: New.
331 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
333 * gdb.base/float.exp: Add target check for nds32*-*-*.
334 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
336 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
338 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
339 for unsupported target features.
340 * gdb.base/call-rt-st.exp: Likewise.
341 * gdb.base/call-sc.exp: Likewise.
342 * gdb.base/call-signal-resume.exp: Likewise.
343 * gdb.base/call-strs.exp: Likewise.
344 * gdb.base/callexit.exp: Likewise.
345 * gdb.base/callfuncs.exp: Likewise.
346 * gdb.base/nodebug.exp: Likewise.
347 * gdb.base/printcmds.exp: Likewise.
348 * gdb.base/ptype.exp: Likewise.
349 * gdb.base/structs.exp: Likewise.
350 * gdb.base/unwindonsignal.exp: Likewise.
351 * gdb.cp/gdb2495.exp: Likewise.
352 * gdb.cp/templates.exp: Likewise.
353 * gdb.cp/virtfunc.exp: Likewise.
354 * gdb.threads/hand-call-in-threads.exp: Likewise.
355 * gdb.threads/interrupted-hand-call.exp: Likewise.
356 * gdb.threads/thread-unwindonsignal.exp: Likewise.
358 2016-06-10 Tom Tromey <tom@tromey.com>
361 * gdb.rust/expr.exp: Add test for integer constant larger than
364 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
366 * gdb.fortran/nested-funcs.exp: New.
367 * gdb.fortran/nested-funcs.f90: New.
369 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
371 * gdb.base/examine-backward.c: New file.
372 * gdb.base/examine-backward.exp: New file.
374 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
376 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
379 2016-06-02 Tom Tromey <tom@tromey.com>
382 * gdb.python/py-shared.exp: Add solib_name test.
384 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
386 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
388 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
391 * gdb.dwarf2/implref.exp: Rename to...
392 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
393 * gdb.dwarf2/implref-array.c: New file.
394 * gdb.dwarf2/implref-array.exp: Likewise.
395 * gdb.dwarf2/implref-global.c: Likewise.
396 * gdb.dwarf2/implref-global.exp: Likewise.
397 * gdb.dwarf2/implref-struct.c: Likewise.
398 * gdb.dwarf2/implref-struct.exp: Likewise.
400 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
402 * gdb.trace/trace-condition.exp: Add 64bit tests.
404 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
406 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
408 (main): Adapt to 8 to 64 bits types.
409 * gdb.trace/trace-condition.exp: Add new tests.
411 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
413 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
415 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
417 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
418 Move condition tests...
419 * gdb.trace/trace-condition.exp: Here.
421 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
423 * gdb.trace/trace-condition.exp: Add counter-case tests.
425 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
428 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
429 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
431 2016-05-27 Pedro Alves <palves@redhat.com>
433 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
435 (top level): Call it, and bail out of DejaGnu is known to be bad.
437 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
439 * gdb.base/whatis.c: Extend the test case.
440 * gdb.base/whatis.exp: Add additional tests.
442 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
444 * gdb.fortran/type.f90: Add pointer variable.
445 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
447 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
449 * gdb.fortran/vla-type.exp: Fix testcase name.
451 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
453 * gdb.fortran/vla-type.exp: Access elements in nested structs.
455 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
457 * gdb.fortran/type.f90: Add nested structures.
458 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
459 * gdb.fortran/derived-type.exp: Adapt expected output.
460 * gdb.fortran/vla-type.exp: Adapt expected output.
462 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
464 * gdb.fortran/whatis_type.exp: Adapt expected output.
466 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
468 * gdb.fortran/print_type.exp: Fix expected output.
469 * gdb.fortran/whatis_type.exp: Fix expected output.
471 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
473 * gdb.fortran/whatis_type.exp: Use multi_line.
475 2016-05-24 Tom Tromey <tom@tromey.com>
478 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
479 use value as an index.
481 2016-05-23 Tom Tromey <tom@tromey.com>
484 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
487 2016-05-24 Pedro Alves <palves@redhat.com>
490 * gdb.threads/clone-attach-detach.c: New file.
491 * gdb.threads/clone-attach-detach.exp: New file.
493 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
495 * gdb.base/annota-input-while-running.exp: Fix syntax error.
497 2016-05-23 Tom Tromey <tom@tromey.com>
499 PR python/19438, PR python/18393:
500 * gdb.python/py-progspace.exp: Add "dir" test.
501 * gdb.python/py-objfile.exp: Add "dir" test.
503 2016-05-23 Yao Qi <yao.qi@linaro.org>
505 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
506 * gdb.arch/thumb2-it.exp: Likewise.
508 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
510 * gdb.mi/mi-threads-interrupt.c: New file.
511 * gdb.mi/mi-threads-interrupt.exp: New file.
513 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
516 * gdb.mi/mi-async-run.exp: New file.
517 * gdb.mi/mi-async-run.c: New file.
519 2016-05-17 Tom Tromey <tom@tromey.com>
520 Manish Goregaokar <manishsmail@gmail.com>
522 * lib/rust-support.exp: New file.
523 * lib/gdb.exp (skip_rust_tests): New proc.
524 (build_executable_from_specs): Handle rust.
525 * lib/future.exp (gdb_find_rustc): New proc.
526 (gdb_default_target_compile): Handle rust.
527 * gdb.rust/expr.exp: New file.
528 * gdb.rust/generics.exp: New file.
529 * gdb.rust/generics.rs: New file.
530 * gdb.rust/methods.exp: New file.
531 * gdb.rust/methods.rs: New file.
532 * gdb.rust/modules.exp: New file.
533 * gdb.rust/modules.rs: New file.
534 * gdb.rust/simple.exp: New file.
535 * gdb.rust/simple.rs: New file.
537 2016-05-17 Tom Tromey <tom@tromey.com>
539 * gdb.base/default.exp (set language): Add rust.
541 2016-05-17 Tom Tromey <tom@tromey.com>
543 * gdb.gdb/unittest.exp: New file.
545 2016-05-16 Yao Qi <yao.qi@linaro.org>
547 * gdb.base/batch-preserve-term-settings.exp: Remove variable
548 shell_prompt. Update shell_prompt_re.
550 2016-05-12 Doug Evans <dje@google.com>
553 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
554 $options when building executable.
555 * gdb.dwarf2/fission-loclists-pie.S: New file.
556 * gdb.dwarf2/fission-loclists-pie.exp: New file.
558 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
560 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
561 of [is_remote target],
563 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
565 * lib/gdb.exp (use_gdb_stub): New procedure.
567 2016-05-03 Yunlian Jiang <yunlian@google.com>
568 Doug Evans <dje@google.com>
571 * gdb.dwarf2/dwp-sepdebug.c: New file.
572 * gdb.dwarf2/dwp-sepdebug.exp: New file.
574 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
576 * gdb.base/detach.exp: Remove is_remote check.
578 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
580 * gdb.base/annota-input-while-running.exp: Don't check for
581 [is_remote target]. Enable annotations after running to main.
582 Remove unused "set test..." line.
584 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
586 * gdb.trace/trace-enable-disable.exp: New file.
587 * gdb.trace/trace-enable-disable.c: New file.
589 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
591 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
592 use it in info sharedlibrary test.
593 * gdb.trace/ftrace-lock.exp: Likewise.
594 * gdb.trace/ftrace.exp: Likewise.
595 * gdb.trace/range-stepping.exp: Likewise.
596 * gdb.trace/trace-break.exp: Likewise.
597 * gdb.trace/trace-condition.exp: Likewise.
598 * gdb.trace/trace-mt.exp: Likewise.
600 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
602 * lib/gdb.exp (gdb_load_shlibs): Rename to...
603 (gdb_load_shlib): ... this.
604 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
606 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
607 * gdb.base/ctxobj.exp: Likewise.
608 * gdb.base/dprintf-pending.exp: Likewise.
609 * gdb.base/dso2dso.exp: Likewise.
610 * gdb.base/fixsection.exp: Likewise.
611 * gdb.base/gcore-relro.exp: Likewise.
612 * gdb.base/gdb1555.exp: Likewise.
613 * gdb.base/global-var-nested-by-dso.exp: Likewise.
614 * gdb.base/gnu-ifunc.exp: Likewise.
615 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
616 * gdb.base/jit-so.exp (one_jit_test): Likewise.
617 * gdb.base/pending.exp: Likewise.
618 * gdb.base/print-file-var.exp: Likewise.
619 * gdb.base/print-symbol-loading.exp: Likewise.
620 * gdb.base/shlib-call.exp: Likewise.
621 * gdb.base/shreloc.exp: Likewise.
622 * gdb.base/so-impl-ld.exp: Likewise.
623 * gdb.base/solib-disc.exp: Likewise.
624 * gdb.base/solib-nodir.exp: Likewise.
625 * gdb.base/solib-overlap.exp: Likewise.
626 * gdb.base/solib-symbol.exp: Likewise.
627 * gdb.base/solib-weak.exp (do_test): Likewise.
628 * gdb.base/sym-file.exp: Likewise.
629 * gdb.base/symtab-search-order.exp: Likewise.
630 * gdb.base/type-opaque.exp: Likewise.
631 * gdb.base/unload.exp: Likewise.
632 * gdb.base/watchpoint-solib.exp: Likewise.
633 * gdb.compile/compile.exp: Likewise.
634 * gdb.cp/gdb2384.exp: Likewise.
635 * gdb.cp/infcall-dlopen.exp: Likewise.
636 * gdb.cp/re-set-overloaded.exp: Likewise.
637 * gdb.fortran/library-module.exp: Likewise.
638 * gdb.opt/solib-intra-step.exp: Likewise.
639 * gdb.python/py-finish-breakpoint.exp: Likewise.
640 * gdb.python/py-shared.exp: Likewise.
641 * gdb.reverse/solib-precsave.exp: Likewise.
642 * gdb.reverse/solib-reverse.exp: Likewise.
643 * gdb.server/solib-list.exp: Likewise.
644 * gdb.threads/dlopen-libpthread.exp: Likewise.
645 * gdb.threads/tls-shared.exp: Likewise.
646 * gdb.threads/tls-so_extern.exp: Likewise.
647 * gdb.trace/change-loc.exp: Likewise.
648 * gdb.trace/ftrace-lock.exp: Likewise.
649 * gdb.trace/ftrace.exp: Likewise.
650 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
651 * gdb.trace/pending.exp: Likewise.
652 * gdb.trace/range-stepping.exp: Likewise.
653 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
654 (strace_info_marker): Likewise.
655 (strace_probe_marker): Likewise.
656 (strace_trace_on_same_addr): Likewise.
657 (strace_trace_on_diff_addr): Likewise.
658 * gdb.trace/trace-break.exp: Likewise.
659 * gdb.trace/trace-condition.exp: Likewise.
660 * gdb.trace/trace-mt.exp: Likewise.
662 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
664 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
665 result of gdb_remote_download.
666 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
667 * gdb.base/dso2dso.exp: Likewise.
668 * gdb.base/global-var-nested-by-dso.exp: Likewise.
669 * gdb.base/print-file-var.exp: Likewise.
670 * gdb.base/shlib-call.exp: Likewise.
671 * gdb.base/shreloc.exp: Likewise.
672 * gdb.base/solib-overlap.exp: Likewise.
673 * gdb.base/solib-weak.exp (do_test): Likewise.
674 * gdb.base/unload.exp: Likewise.
676 2016-04-27 Yao Qi <yao.qi@linaro.org>
678 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
681 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
683 * vla-type.exp: Print structure from toplevel.
685 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
687 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
689 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
692 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
694 * gdb.fortran/vla-type.f90: New file.
695 * gdb.fortran/vla-type.exp: New file.
697 2016-04-25 Yao Qi <yao.qi@linaro.org>
699 * gdb.base/branch-to-self.c: New file.
700 * gdb.base/branch-to-self.exp: New file.
702 2016-04-22 Yao Qi <yao.qi@linaro.org>
704 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
707 2016-04-22 Yao Qi <yao.qi@linaro.org>
709 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
710 * gdb.base/annota3.exp: Likewise.
712 2016-04-22 Yao Qi <yao.qi@linaro.org>
714 * gdb.reverse/step-precsave.exp: Do one step and test program
715 stops in "callee" and do multiple steps until program goes out
717 * gdb.reverse/step-reverse.exp: Likewise.
719 2016-04-22 Yao Qi <yao.qi@linaro.org>
721 * gdb.trace/signal.exp: Also pass if
722 $tracepoint_hits($i) > $iterations.
724 2016-04-22 Yao Qi <yao.qi@linaro.org>
726 * gdb.trace/signal.c: New file.
727 * gdb.trace/signal.exp: New file.
729 2016-04-19 Doug Evans <xdje42@gmail.com>
731 * gdb.base/bad-file.exp: New file.
733 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
735 * gdb.dwarf2/implref.exp: New file.
737 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
739 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
740 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
741 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
742 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
743 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
744 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
745 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
746 * lib/fortran.exp (fortran_int4): New procedure.
747 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
748 (fortran_logical4): Likewise.
750 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
752 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
754 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
756 * lib/compiler.c: Add Intel specific preprocessor macros.
757 * lib/compiler.cc: Likewise.
759 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
761 * gdb.server/connect-with-no-symbol-file.c: New file.
762 * gdb.server/connect-with-no-symbol-file.exp: New file.
764 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
766 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
768 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
770 * boards/gdbserver-base.exp (${board}_download): Copy source file to
771 standard output directory.
773 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
775 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
777 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
779 * gdb.btrace/instruction_history.c (loop): Add declaration.
781 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
783 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
785 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
787 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
788 parentheses to print.
789 (continue_handler): Likewise.
791 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
793 * gdb.server/solib-list.exp: Remove is_remote check.
794 Pass shlib= to gdb_compile. Don't link shared library with
795 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
796 Run binary filename through "readlink -f" on the target.
798 2016-04-08 Pedro Alves <palves@redhat.com>
800 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
801 interpreter filename as argument to gdbserver_spawn.
802 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
803 Return empty if $last_loaded_file does not exist.
805 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
807 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
808 * gdb.base/jit-main.c: Use exit after usage.
810 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
812 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
813 GDBHISTSIZE prior to the tests.
814 * gdb.base/gdbinit-history.exp: Likewise.
816 2016-04-07 Pedro Alves <palves@redhat.com>
818 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
819 instead of build_executable. Use gdb_load_shlibs.
821 2016-04-07 Yao Qi <yao.qi@linaro.org>
823 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
824 Execute "si" command.
826 2016-04-07 Yao Qi <yao.qi@linaro.org>
828 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
829 number instead of the comments on some line.
831 2016-04-06 Don Breazeal <donb@codesourcery.com>
833 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
834 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
836 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
838 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
839 standard_output_file. Remove unused binfile variable.
841 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
843 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
844 * gdb.python/py-mi-objfile.exp: Match "list main" output
847 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
849 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
852 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
854 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
856 * gdb.trace/ftrace.exp: Likewise.
857 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
859 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
860 (gdb_load_shlibs): Copy libraries to test directory when testing
861 natively. Only set solib-search-path if testing remotely.
862 * lib/mi-support.exp (mi_load_shlibs): Likewise.
864 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
866 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
867 gdb_download. Use it even if the target is not remote.
868 * gdb.base/jit.exp (compile_jit_test): Likewise.
869 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
870 output directory if the destination board is local, otherwise use
871 the standard remote_download from DejaGnu.
872 (gdb_download): Remove.
873 (gdb_load_shlibs): Use gdb_remote_download instead of
875 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
876 Use gdb_remote_download instead of gdb_download. Use it even if
877 the target is not remote.
878 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
879 instead of gdb_download.
881 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
883 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
884 (test_insert_delete_modify): Call mi_load_shlibs before trying to
887 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
890 * gdb.base/printcmds.exp: Add artificial arrays tests.
892 2016-03-31 Pedro Alves <palves@redhat.com>
895 * gdb.base/jit-main.c: Include unistd.h.
896 (ATTACH): Define to 0 if not already defined.
897 (wait_for_gdb, mypid): New globals.
898 (WAIT_FOR_GDB): New macro.
899 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
900 some breakpoint locations.
901 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
903 (one_jit_test): Add REATTACH parameter, and handle it. Use
904 continue_to_test_location.
905 (top level): Test attach, and adjusts calls to one_jit_test.
907 2016-03-31 Pedro Alves <palves@redhat.com>
910 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
911 BINSUFFIX parameter, and handle it.
912 (top level): Adjust calls compile_jit_test.
914 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
917 * gdb.python/py-mi-events-gdb.py: New file.
918 * gdb.python/py-mi-events.c: New file.
919 * gdb.python/py-mi-events.exp: New file.
921 2016-03-30 Yao Qi <yao.qi@linaro.org>
923 * gdb.reverse/until-precsave.exp: Match function name only.
924 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
925 Move malloc to a condition block.
926 * gdb.reverse/until-reverse.exp: Match function name only.
928 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
930 * gdb.trace/ftrace.exp: Set arg0exp for s390.
931 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
932 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
933 variable for GPR 0 instead of assuming it is register 0.
934 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
935 * lib/trace-support.exp: Add s390 registers.
937 2016-03-29 Yao Qi <yao.qi@linaro.org>
939 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
941 2016-03-24 Yao Qi <yao.qi@linaro.org>
943 * gdb.reverse/break-reverse.exp: Add quotation mark in the
946 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
948 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
949 maintaining separate logic for constructing the output path.
951 2016-03-16 Don Breazeal <donb@codesourcery.com>
953 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
954 Retry fork and waitpid on interrupted system call errors.
955 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
956 Use with_timeout_factor to increase timeout by factor of 10.
958 2016-03-15 Don Breazeal <donb@codesourcery.com>
960 * gdb.cp/scope-err.cc: New test program.
961 * gdb.cp/scope-err.exp: New test script.
962 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
963 lines and "set breakpoint here" comment.
964 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
965 Fixed some whitespace and format issues.
966 * gdb.mi/mi-linespec-err-cp.cc: New test program.
967 * gdb.mi/mi-linespec-err-cp.exp: New test script.
969 2016-03-15 Doug Evans <dje@google.com>
971 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
972 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
973 All callers updated. Add tests for enums, mixed flags register.
975 2016-03-15 Doug Evans <dje@google.com>
977 * gdb.base/skip.c (main): Call test_skip_file_and_function.
978 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
980 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
982 * gdb.base/default.exp: Add $_as_string to the list of expected
983 convenience functions.
985 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
987 * gdb.base/maint.exp: New tests for 'maint info line-table'.
989 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
991 * gdb.python/py-as-string.exp: New file.
992 * gdb.python/py-as-string.c: New file.
994 2016-03-09 Pedro Alves <palves@redhat.com>
996 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
997 signal" -> "Thread NN received signal" output change.
998 * gdb.threads/ia64-sigill.exp: Likewise.
999 * gdb.threads/linux-dp.exp: Likewise.
1000 * gdb.threads/manythreads.exp: Likewise.
1001 * gdb.threads/pending-step.exp: Likewise.
1002 * gdb.threads/print-threads.exp: Likewise.
1003 * gdb.threads/sigstep-threads.exp: Likewise.
1004 * gdb.threads/staticthreads.exp: Likewise.
1005 * gdb.threads/tls.exp: Likewise.
1007 2016-03-09 Pedro Alves <palves@redhat.com>
1009 * gdb.base/command-line-input.exp: New file.
1011 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1013 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1014 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1015 * gdb.trace/pending.exp: Accept leading dot before function name.
1016 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1017 * lib/trace-support.exp: Set registers for ppc.
1019 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1021 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1022 use it for disassembly; accept .main in addition to main in backtrace.
1024 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1025 Marcin Kościelnicki <koriakin@0x04.net>
1027 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1028 (gdb_recursion_test_ptr): New global variable.
1029 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1031 (gdb_c_test): Ditto.
1033 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1035 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1038 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1040 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1041 (bar): Add bar_start_lbl label.
1042 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1043 of foo/bar for emitting DWARF and tracing.
1045 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1047 * analyze-racy-logs.py: Set executable bit.
1049 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1051 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1052 (CHECK_TARGET_TMP): Likewise.
1053 (check-single-racy): New rule.
1054 (check-parallel-racy): Likewise.
1055 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1056 (do-check-parallel-racy): New rule.
1057 (check-racy/%.exp): Likewise.
1058 * README (Racy testcases): New section.
1059 * analyze-racy-logs.py: New file.
1061 2016-03-03 Doug Evans <dje@google.com>
1063 * gdb.base/skip.exp: Use with_test_prefix.
1065 2016-03-03 Yao Qi <yao.qi@linaro.org>
1067 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1068 Invoke step_over_syscall "clone" and break_cond_on_syscall
1070 * gdb.base/step-over-clone.c: New file.
1072 2016-03-03 Yao Qi <yao.qi@linaro.org>
1074 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1077 2016-03-03 Yao Qi <yao.qi@linaro.org>
1079 * gdb.base/disp-step-fork.c: Rename to ...
1080 * gdb.base/step-over-fork.c: ... it. New file.
1081 * gdb.base/disp-step-vfork.c: Rename to ...
1082 * gdb.base/step-over-vfork.c: ... it. New file.
1083 * gdb.base/disp-step-syscall.exp: Rename to ...
1084 * gdb.base/step-over-syscall.exp: ... it. New file.
1085 (disp_step_cross_syscall): Rename to ...
1086 (step_over_syscall): ... it.
1088 2016-03-03 Yao Qi <yao.qi@linaro.org>
1090 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1091 If target supports condition evaluation on target, invoke
1092 break_cond_on_syscall for fork and vfork.
1094 2016-03-03 Yao Qi <yao.qi@linaro.org>
1096 * gdb.base/disp-step-syscall.exp: Don't invoke
1097 support_displaced_stepping.
1098 (disp_step_cross_syscall): Test with displaced stepping off and
1101 2016-03-03 Yao Qi <yao.qi@linaro.org>
1103 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1106 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1109 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1111 * gdb.fortran/vla-history.exp: Remove breakpoint.
1113 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1115 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1118 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1120 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1123 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1125 * gdb.mi/vla.f90: Nullify pointer after declaration.
1127 2016-03-01 Pedro Alves <palves@redhat.com>
1129 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1131 2016-03-01 Pedro Alves <palves@redhat.com>
1133 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1134 before anything else.
1135 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1137 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1138 before anything else.
1139 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1141 2016-03-01 Pedro Alves <palves@redhat.com>
1143 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1145 2016-03-01 Yao Qi <yao.qi@linaro.org>
1147 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1148 prepare_for_testing.
1150 2016-03-01 Yao Qi <yao.qi@linaro.org>
1152 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1154 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1156 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1157 manually constructing the output path.
1159 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1161 * gdb.arch/s390-stackless.S: New.
1162 * gdb.arch/s390-stackless.exp: New.
1164 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1166 * gdb.dlang/circular.c: New file.
1167 * gdb.dlang/circular.exp: New file.
1169 2016-02-26 Yao Qi <yao.qi@linaro.org>
1171 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1172 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1173 (testcases): Update.
1175 2016-02-26 Yao Qi <yao.qi@linaro.org>
1177 * gdb.reverse/aarch64.c: Rename to ...
1178 * gdb.reverse/insn-reverse.c: ... it.
1179 * gdb.reverse/aarch64.exp: Rename to ...
1180 * gdb.reverse/insn-reverse.exp: ... it.
1182 2016-02-26 Yao Qi <yao.qi@linaro.org>
1184 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1185 (testcase_ftype): New.
1186 (testcases): New array.
1188 (main): Call each element in testcases.
1189 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1190 (read_testcase): New.
1191 Do the tests in a loop.
1193 2016-02-25 Yao Qi <yao.qi@linaro.org>
1195 * gdb.base/branches.c: Remove.
1197 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1200 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1202 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1204 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1206 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1208 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1209 change x86_64 call_insn to 'callq'.
1211 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1213 * gdb.trace/tfile-avx.c: Move to...
1214 * gdb.trace/tracefile-pseudo-reg.c: Here.
1215 * gdb.trace/tfile-avx.exp: Move to...
1216 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1218 2016-02-24 Gary Benson <gbenson@redhat.com>
1220 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1223 2016-02-23 Doug Evans <dje@google.com>
1225 * gdb.base/skip.c (test_skip): New function.
1226 (end_test_skip_file_and_function): New function.
1227 (test_skip_file_and_function): New function.
1228 * gdb.base/skip1.c (test_skip): New function.
1229 (skip1_test_skip_file_and_function): New function.
1230 * gdb.base/skip.exp: Add tests for new skip options.
1231 * gdb.base/skip-solib.exp: Update expected output.
1232 * gdb.perf/skip-command.cc: New file.
1233 * gdb.perf/skip-command.exp: New file.
1234 * gdb.perf/skip-command.py: New file.
1236 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1238 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1239 info registers pattern.
1241 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1243 * lib/future.exp: Add D support.
1244 (gdb_find_gdc): New proc.
1245 (gdb_default_target_compile): Add D support.
1247 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1249 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1251 (trace_speed_test): Determine the iteration count for a time
1252 between 15..30 seconds.
1254 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1256 * gdb.arch/i386-mpx-sigsegv.c: New file.
1257 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1258 * gdb.arch/i386-mpx-simple_segv.c: New file.
1259 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1261 2016-02-18 Yao Qi <yao.qi@linaro.org>
1263 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1264 Don't call setup_kfail.
1266 2016-02-18 Yao Qi <yao.qi@linaro.org>
1268 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1269 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1271 2016-02-16 Doug Evans <dje@google.com>
1273 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1274 * gdb.base/skip1.c: Ditto.
1275 * gdb.base/skip.exp: Whitespace cleanup.
1277 2016-02-16 Don Breazeal <donb@codesourcery.com>
1280 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1281 Remove kfail for PR remote/19496.
1283 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1285 * lib/gdb.exp (standard_temp_file): Return a path specific to
1286 the runtest invocation.
1288 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1290 * gdb.trace/save-trace.exp: Change relative path to be in the
1291 standard output directory.
1293 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1295 * gdb.arch/i386-prologue.c: Add missing prototypes.
1297 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1299 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1300 * gdb.arch/i386-prologue.exp: Likewise.
1301 * gdb.arch/i386-size.exp: Likewise.
1303 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1305 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1306 define object file path.
1307 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1309 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1310 standard_output_file to define binfile.
1312 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1314 Fix compatibility with recent gfortran-5.3.1.
1315 * gdb.fortran/vla-history.exp (print vla1 allocated)
1316 (print vla2 allocated, print $2, print $3): Remove
1317 (print $4): Rename to ...
1318 (print $2): ... here.
1319 (print $9): Rename to ...
1320 (print $5): ... here.
1321 (print $10): Rename to ...
1322 (print $6): ... here.
1323 * gdb.fortran/vla.f90: Add pvla initialization.
1325 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1327 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1329 * gdb.fortran/vla-value-sub.exp: Likewise.
1331 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1333 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1335 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1337 * i386-biarch-core.exp: Define corefile using
1338 standard_output_file.
1340 2016-02-12 Yao Qi <yao.qi@linaro.org>
1342 * gdb.arch/arm-single-step-kernel-helper.c: New.
1343 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1345 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1347 * gdb.btrace/tailcall-only.exp: New.
1348 * gdb.btrace/tailcall-only.c: New.
1349 * gdb.btrace/x86_64-tailcall-only.S: New.
1350 * gdb.btrace/i686-tailcall-only.S: New.
1352 2016-02-11 Pedro Alves <palves@redhat.com>
1354 * README (Parallel testing): Add missing double quotes.
1356 2016-02-11 Pedro Alves <palves@redhat.com>
1358 * README (Parallel testing): New section.
1359 (GDB_PARALLEL): Rewrite.
1360 (FORCE_PARALLEL): Document.
1362 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1364 * gdb.trace/tfile-avx.c: New test.
1365 * gdb.trace/tfile-avx.exp: New test.
1367 2016-02-09 Keith Seitz <keiths@redhat.com>
1369 PR breakpoints/19546
1370 * gdb.base/infcall-exec.c: New file.
1371 * gdb.base/infcall-exec2.c: New file.
1372 * gdb.base/infcall-exec.exp: New file.
1374 2016-02-09 Keith Seitz <keiths@redhat.com>
1376 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1377 (toplevel): Call test_bkpt_address.
1379 2016-02-09 Keith Seitz <keiths@redhat.com>
1382 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1383 (toplevel): Call test_bkpt_address.
1385 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1387 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1389 * configure: Regenerate.
1391 2016-02-09 Pedro Alves <palves@redhat.com>
1393 PR breakpoints/19548
1394 * gdb.base/execl-update-breakpoints.c (some_function): New
1397 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1398 Tighten expected GDB output.
1400 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1402 * Makefile.in (ALL_SUBDIRS): Remove.
1403 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1404 (distclean maintainer-clean realclean): Likewise.
1405 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1406 * configure: Regenerate.
1407 * gdb.ada/Makefile.in: Delete.
1408 * gdb.arch/Makefile.in: Likewise.
1409 * gdb.asm/Makefile.in: Likewise.
1410 * gdb.base/Makefile.in: Likewise.
1411 * gdb.btrace/Makefile.in: Likewise.
1412 * gdb.cell/Makefile.in: Likewise.
1413 * gdb.compile/Makefile.in: Likewise.
1414 * gdb.cp/Makefile.in: Likewise.
1415 * gdb.disasm/Makefile.in: Likewise.
1416 * gdb.dlang/Makefile.in: Likewise.
1417 * gdb.dwarf2/Makefile.in: Likewise.
1418 * gdb.fortran/Makefile.in: Likewise.
1419 * gdb.gdb/Makefile.in: Likewise.
1420 * gdb.go/Makefile.in: Likewise.
1421 * gdb.guile/Makefile.in: Likewise.
1422 * gdb.java/Makefile.in: Likewise.
1423 * gdb.linespec/Makefile.in: Likewise.
1424 * gdb.mi/Makefile.in: Likewise.
1425 * gdb.modula2/Makefile.in: Likewise.
1426 * gdb.multi/Makefile.in: Likewise.
1427 * gdb.objc/Makefile.in: Likewise.
1428 * gdb.opencl/Makefile.in: Likewise.
1429 * gdb.opt/Makefile.in: Likewise.
1430 * gdb.pascal/Makefile.in: Likewise.
1431 * gdb.perf/Makefile.in: Likewise.
1432 * gdb.python/Makefile.in: Likewise.
1433 * gdb.reverse/Makefile.in: Likewise.
1434 * gdb.server/Makefile.in: Likewise.
1435 * gdb.stabs/Makefile.in: Likewise.
1436 * gdb.threads/Makefile.in: Likewise.
1437 * gdb.trace/Makefile.in: Likewise.
1438 * gdb.xml/Makefile.in: Likewise.
1439 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1441 (standard_output_file): Remove check for GDB_PARALLEL, always
1442 return path in outputs/$subdir/$testname.
1444 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1446 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1447 (site.exp): Assign abs_srcdir to tcl's srcdir.
1449 2016-02-04 Yao Qi <yao.qi@linaro.org>
1451 * gdb.base/foll-exec-mode.c: Include limits.h.
1452 (main): Add parameters argc and argv. Get directory from
1454 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1456 * gdb.base/foll-exec.c: Include limits.h.
1457 (main): Add parameters argc and argv.
1458 Get directory from argv[0].
1459 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1460 Adjust tests on the number of lines as source code changed.
1461 * gdb.base/foll-vfork-exit.c: Include limits.h.
1462 (main): Add one line of statement before vfork.
1463 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1464 (main): Add parameters argc and argv. Get directory from
1466 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1467 (setup_gdb): Set tbreak to skip some source lines.
1468 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1469 (main): Add parameters argc and argv. Get directory from
1471 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1473 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1474 (main): Add parameters argc and argv. Get directory from
1476 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1479 2016-02-01 Doug Evans <dje@google.com>
1481 * gdb.base/skip.exp: Clean up multiple references to same test name.
1483 2016-02-01 Pedro Alves <palves@redhat.com>
1486 * gdb.threads/forking-threads-plus-breakpoint.exp
1487 (displaced_stepping_supported): New global.
1488 (probe_displaced_stepping_support): New procedure.
1489 (do_test): Add 'displaced' parameter, and use it.
1490 (top level): Check for displaced stepping support. Add displaced
1491 stepping on/off testing axis.
1493 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1495 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1496 pointer. Don't perform further tests on the unassociated pointer
1497 if the first test fails.
1499 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1501 * gdb.base/max-value-size.c: New file.
1502 * gdb.base/max-value-size.exp: New file.
1503 * gdb.base/huge.exp: Disable max-value-size for this test.
1505 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1507 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1509 2016-01-28 Yao Qi <yao.qi@linaro.org>
1511 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1513 2016-01-25 Pedro Alves <palves@redhat.com>
1516 * gdb.base/fork-running-state.c: New file.
1517 * gdb.base/fork-running-state.exp: New file.
1519 2016-01-25 Pedro Alves <palves@redhat.com>
1522 * gdb.base/catch-fork-kill.c: New file.
1523 * gdb.base/catch-fork-kill.exp: New file.
1525 2016-01-25 Pedro Alves <palves@redhat.com>
1527 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1528 Delete, moved to lib/gdb.exp.
1529 * gdb.threads/forking-threads-plus-breakpoint.exp
1530 (foreach_with_prefix): Likewise.
1531 * gdb.threads/process-dies-while-handling-bp.exp
1532 (foreach_with_prefix): Likewise.
1533 * lib/gdb.exp (foreach_with_prefix): New procedure.
1535 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1537 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1538 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1540 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1542 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1545 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1546 Pedro Alves <palves@redhat.com>
1548 Fix testsuite compatibility with Guile.
1549 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1552 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1554 Fix testsuite compatibility with Guile.
1555 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1556 (thread 1): New test for backtrace through signal handler.
1558 2016-01-22 Yao Qi <yao.qi@linaro.org>
1561 * gdb.base/multi-forks.c: Include
1562 ../lib/unbuffer_output.c
1563 (main): Call gdb_unbuffer_output.
1565 2016-01-21 Doug Evans <dje@google.com>
1567 * lib/ada.exp (gdb_compile_ada): Fix typo.
1569 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1571 * gdb.base/break-fun-addr.exp: New file.
1572 * gdb.base/break-fun-addr1.c: New file.
1573 * gdb.base/break-fun-addr2.c: New file.
1575 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1577 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1578 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1581 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1583 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1584 when GDB can not set the vector return value. Add more comments
1587 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1589 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1592 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1594 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1596 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1598 * Makefile.in (check-single): Pass --status to runtest.
1599 (check/%.exp): Likewise.
1601 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1603 * Makefile.in (check-parallel): Propagate return code from make
1606 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1608 * gdb.trace/ftrace.exp: Fix expected message on continue.
1609 * gdb.trace/pending.exp: Fix expected message on continue.
1610 * gdb.trace/trace-break.exp: Fix expected message on continue.
1612 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1614 * lib/gdb.exp (gdb_test): Remove unused global references.
1616 2016-01-18 Pedro Alves <palves@redhat.com>
1618 * gdb.base/async-shell.exp: Adjust expected output.
1619 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1620 * gdb.base/siginfo-thread.exp: Adjust expected output.
1621 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1622 * gdb.java/jnpe.exp: Adjust expected output.
1623 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1624 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1625 * gdb.threads/leader-exit.exp: Adjust expected output.
1626 * gdb.threads/manythreads.exp: Adjust expected output.
1627 * gdb.threads/pthreads.exp: Adjust expected output.
1628 * gdb.threads/schedlock.exp: Adjust expected output.
1629 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1630 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1632 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1634 * gdb.threads/sigthread.exp: Adjust expected output.
1635 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1637 2016-01-18 Yao Qi <yao.qi@linaro.org>
1639 * gdb.guile/scm-section-script.c: Replace @progbits with
1641 * gdb.python/py-section-script.c: Likewise.
1643 2016-01-15 Pedro Alves <palves@redhat.com>
1645 * gdb.multi/tids.exp: Test star wildcard ranges.
1647 2016-01-15 Pedro Alves <palves@redhat.com>
1649 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1650 command from "thread apply" invocation.
1651 (thr_apply_info_thr_invalid): Default the expected output to the
1653 (top level): Add tests that use convenience variables. Add tests
1654 for "thread apply" with a valid TID list, but missing the command.
1656 2016-01-13 Pedro Alves <palves@redhat.com>
1658 * gdb.base/default.exp: Expect $_gthread as well.
1659 * gdb.multi/tids.exp: Test $_gthread.
1660 * gdb.threads/thread-specific.exp: Test $_gthread.
1662 2016-01-13 Pedro Alves <palves@redhat.com>
1664 * gdb.multi/tids.exp: Test "info threads -gid".
1666 2016-01-13 Pedro Alves <palves@redhat.com>
1668 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1670 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1672 2016-01-07 Pedro Alves <palves@redhat.com>
1674 * gdb.base/break.exp: Adjust to output changes.
1675 * gdb.base/hbreak2.exp: Likewise.
1676 * gdb.base/sepdebug.exp: Likewise.
1677 * gdb.base/watch_thread_num.exp: Likewise.
1678 * gdb.linespec/keywords.exp: Likewise.
1679 * gdb.multi/info-threads.exp: Likewise.
1680 * gdb.threads/thread-find.exp: Likewise.
1681 * gdb.multi/tids.c: New file.
1682 * gdb.multi/tids.exp: New file.
1684 2016-01-13 Pedro Alves <palves@redhat.com>
1686 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1688 2016-01-13 Pedro Alves <palves@redhat.com>
1690 * gdb.base/default.exp: Expect $_inferior as well.
1691 * gdb.multi/base.exp: Test $_inferior.
1693 2016-01-13 Pedro Alves <palves@redhat.com>
1695 PR breakpoints/19388
1696 * gdb.base/catch-signal-siginfo-cond.c: New file.
1697 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1699 2016-01-12 Josh Stone <jistone@redhat.com>
1700 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1702 * gdb.base/catch-syscall.c (do_execve): New variable.
1703 (main): Conditionally trigger an execve.
1704 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1705 (test_catch_syscall_execve): New, check entry/return across execve.
1706 (do_syscall_tests): Call test_catch_syscall_execve.
1708 2016-01-12 Pedro Alves <palves@redhat.com>
1710 * gdb.base/random-signal.exp (do_test): New procedure, with body
1711 of testcase moved in.
1713 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1714 Pedro Alves <palves@redhat.com>
1716 * gdb.base/funcargs.exp (finish from indirectly called function):
1717 Reintroduce the case for 'First'.
1719 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1720 Pedro Alves <palves@redhat.com>
1722 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1723 (tcatch_vfork_then_child_follow_exec)
1724 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1727 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1729 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1730 and repeats to unlimited.
1731 * gdb.python/py-value.exp: Likewise.
1732 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1733 and repeats to unlimited.
1735 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1737 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1738 and reordering the functions.
1739 * gdb.multi/hangout.c: Likewise.
1740 * gdb.multi/hello.c: Likewise.
1742 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1744 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1746 (SingleStatisticTestResult.report): Use dict.keys instead of
1749 2016-01-06 Pedro Alves <palves@redhat.com>
1751 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1753 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1755 * gdb.btrace/dlopen.exp: New.
1756 * gdb.btrace/dlopen.c: New.
1757 * gdb.btrace/dlopen-dso.c: New.
1759 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1761 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1762 PATTERN argument is optional.
1764 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1766 * lib/ada.exp (target_compile_ada_from_dir): New function.
1767 (gdb_compile_ada): Reimplement avoiding the use of project files.
1768 * gdb.ada/gnat_ada.gpr: Delete.
1769 * gdb.ada/cond_lang.exp: Adjust test to make path before
1771 * gdb.ada/small_reg_param.exp: Likewise.
1773 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1775 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1777 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1779 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1782 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1784 * gdb.base/break.exp: Remove dead code.
1785 * gdb.base/sepdebug.exp: Likewise.
1787 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1789 * gdb.asm/asm-source.exp: Remove HP-UX references.
1790 * gdb.base/annota1.exp: Likewise.
1791 * gdb.base/annota3.exp: Likewise.
1792 * gdb.base/attach.exp: Likewise.
1793 * gdb.base/bigcore.exp: Likewise.
1794 * gdb.base/break.exp: Likewise.
1795 * gdb.base/call-ar-st.exp: Likewise.
1796 * gdb.base/callfuncs.exp: Likewise.
1797 * gdb.base/catch-fork-static.exp: Likewise.
1798 * gdb.base/display.exp: Likewise.
1799 * gdb.base/foll-exec-mode.exp: Likewise.
1800 * gdb.base/foll-exec.exp: Likewise.
1801 * gdb.base/foll-fork.exp: Likewise.
1802 * gdb.base/foll-vfork.exp: Likewise.
1803 * gdb.base/funcargs.exp: Likewise.
1804 * gdb.base/hbreak2.exp: Likewise.
1805 * gdb.base/inferior-died.exp: Likewise.
1806 * gdb.base/interrupt.exp: Likewise.
1807 * gdb.base/multi-forks.exp: Likewise.
1808 * gdb.base/nodebug.exp: Likewise.
1809 * gdb.base/sepdebug.exp: Likewise.
1810 * gdb.base/solib1.c: Likewise.
1811 * gdb.base/step-test.exp: Likewise.
1812 * gdb.mi/non-stop.c: Likewise.
1813 * gdb.mi/pthreads.c: Likewise.
1814 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1815 * gdb.threads/pthreads.c: Likewise.
1816 * gdb.threads/staticthreads.exp: Likewise.
1817 * lib/future.exp: Likewise.
1818 * lib/gdb.exp: Likewise.
1819 * gdb.base/so-indr-cl.c: Remove.
1820 * gdb.base/so-indr-cl.exp: Likewise.
1821 * gdb.base/solib.c: Likewise.
1822 * gdb.base/solib.exp: Likewise.
1823 * gdb.base/solib2.c: Likewise.
1825 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1827 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1828 * gdb.base/call-ar-st.exp: Likewise.
1829 * gdb.base/callfuncs.exp: Likewise.
1830 * gdb.base/condbreak.exp: Likewise.
1831 * gdb.base/constvars.exp: Likewise.
1832 * gdb.base/hbreak2.exp: Likewise.
1833 * gdb.base/langs.exp: Likewise.
1834 * gdb.base/list.exp: Likewise.
1835 * gdb.base/long_long.exp: Likewise.
1836 * gdb.base/ptype.exp: Likewise.
1837 * gdb.base/scope.exp: Likewise.
1838 * gdb.base/signals.exp: Likewise.
1839 * gdb.base/so-impl-ld.exp: Likewise.
1840 * gdb.base/varargs.exp: Likewise.
1841 * gdb.base/volatile.exp: Likewise.
1842 * gdb.base/whatis.exp: Likewise.
1843 * gdb.cp/cplusfuncs.exp: Likewise.
1844 * gdb.cp/inherit.exp: Likewise.
1845 * gdb.cp/local.exp: Likewise.
1846 * gdb.cp/member-ptr.exp: Likewise.
1847 * gdb.cp/method.exp: Likewise.
1848 * gdb.cp/overload.exp: Likewise.
1849 * gdb.cp/templates.exp: Likewise.
1850 * gdb.stabs/weird.exp: Likewise.
1851 * lib/compiler.c: Likewise.
1852 * lib/compiler.cc: Likewise.
1853 * lib/cp-support.exp: Likewise.
1854 * lib/gdb.exp: Likewise.
1856 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1858 * configure.ac: Remove HP-UX case.
1859 * configure: Regenerate.
1861 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1863 * lib/gdb.exp (gdb_compile): Add function doc.
1865 2015-12-17 Pedro Alves <palves@redhat.com>
1868 * gdb.multi/info-threads.exp: New file.
1870 2015-12-15 Yao Qi <yao.qi@linaro.org>
1872 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1875 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1877 * gdb.base/history-duplicates.exp: Skip if no readline support.
1879 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1881 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1883 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1885 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1887 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1889 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1890 ctrl-C if nointerrupts target property is set.
1891 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1892 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1893 * gdb.base/paginate-bg-execution.exp: Likewise.
1894 * gdb.base/paginate-execution-startup.exp: Likewise.
1895 * gdb.base/random-signal.exp: Likewise.
1896 * gdb.base/range-stepping.exp: Likewise.
1897 * gdb.cp/annota2.exp: Likewise.
1898 * gdb.cp/annota3.exp: Likewise.
1899 * gdb.gdb/selftest.exp: Likewise.
1900 * gdb.threads/continue-pending-status.exp: Likewise.
1901 * gdb.threads/leader-exit.exp: Likewise.
1902 * gdb.threads/manythreads.exp: Likewise.
1903 * gdb.threads/pthreads.exp: Likewise.
1904 * gdb.threads/schedlock.exp: Likewise.
1905 * gdb.threads/sigthread.exp: Likewise.
1907 2015-12-11 Don Breazeal <donb@codesourcery.com>
1909 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1911 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1912 * gdb.base/foll-exec.exp (main): Enable for target remote.
1913 * gdb.base/foll-fork.exp (main): Likewise.
1914 * gdb.base/foll-vfork.exp (main): Likewise.
1915 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1916 (proc continue_to_exit_bp_loc): Use clean_restart.
1917 * gdb.base/pie-execl.exp (main): Disable for target remote.
1918 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1919 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1920 * gdb.threads/execl.exp (main): Likewise.
1921 * gdb.threads/fork-child-threads.exp (main): Likewise.
1922 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1924 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1926 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1927 pid.tid style ptids, instead of just tid.
1928 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1929 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1930 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1931 ptids, instead of just tid.
1933 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1935 * gdb.base/list.exp (test_list_forward): Add end of file error
1937 (test_repeat_list_command): Add end of file error test.
1938 (test_list_backwards): Add beginning of file error test.
1940 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1942 * gdb.base/list.exp (test_list_invalid_args): New function,
1943 defined, and called.
1945 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1947 * gdb.base/list.exp (test_list): Make test names unique.
1949 2015-12-11 Yao Qi <yao.qi@linaro.org>
1951 * gdb.base/coremaker2.c: Remove.
1953 2015-12-10 Pedro Alves <palves@redhat.com>
1955 * gdb.multi/base.exp: Remove stale "spaces" references.
1957 2015-12-10 Pedro Alves <palves@redhat.com>
1959 * gdb.multi/base.exp: Don't use nowarnings.
1960 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1961 * gdb.multi/hangout.c: Include stdio.h.
1962 * gdb.multi/hello.c: Include stdlib.h.
1963 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1964 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1965 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1967 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1969 * gdb.dwarf2/dw2-ranges-base.c: New file.
1970 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1971 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1972 support additional line table, and debug ranges generation.
1973 (Dwarf::ranges): New function, generate .debug_ranges.
1974 (Dwarf::lines): Support generating simple line table programs.
1975 (Dwarf::assemble): Initialise new namespace variables.
1977 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1979 * gdb.base/async.exp (proc test_background): Add case for
1980 asynchronous execution not supported.
1982 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1984 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1985 format and change test names to make them unique.
1987 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1988 Pedro Alves <pedro@redhat.com>
1991 Add checking of floatformats setup on x86_64 hosts.
1992 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1993 (smallval, bigval): New labels/constants.
1994 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1995 float" after loading bigval and smallval.
1997 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1999 * gdb.ada/fun_overload_menu.exp: New testcase.
2000 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2002 2015-12-04 Josh Stone <jistone@redhat.com>
2004 * gdb.base/catch-fork-static.exp: New.
2006 2015-12-03 Yao Qi <yao.qi@linaro.org>
2008 * gdb.base/sizeof.c: Don't include stdio.h and
2009 ../lib/unbuffer_output.c.
2010 (main): New variable 'size' and 'value'. Remove printf and
2011 gdb_unbuffer_output. Assign return value to size and value.
2012 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2014 (check_sizeof): Check the result by printing variable 'size'.
2015 (check_valueof): Check the result by printing variable 'value'.
2017 2015-12-01 Yao Qi <yao.qi@linaro.org>
2019 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2020 for aarch64*-*-linux* target.
2022 2015-11-30 Pedro Alves <palves@redhat.com>
2024 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2026 2015-11-30 Pedro Alves <palves@redhat.com>
2028 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2029 Handle non-stop mode vCont replies.
2031 2015-11-30 Pedro Alves <palves@redhat.com>
2033 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2034 prepare_for_testing. Start gdb with "set non-stop on" appended to
2035 GDBFLAGS. Lax expected stop output.
2037 2015-11-27 Yao Qi <yao.qi@linaro.org>
2039 * gdb.arch/arm-neon.exp: New.
2040 * gdb.arch/arm-neon.c: New.
2042 2015-11-27 Yao Qi <yao.qi@linaro.org>
2044 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2046 2015-11-27 Yao Qi <yao.qi@linaro.org>
2048 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2049 frames-invalid annotation.
2051 2015-11-27 Yao Qi <yao.qi@linaro.org>
2053 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2055 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2057 * gdb.threads/names.exp: New file.
2058 * gdb.threads/names.c: New file.
2059 * README: Mention gdb,no_thread_names.
2061 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2064 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2067 2015-11-24 Pedro Alves <palves@redhat.com>
2070 * gdb.base/display.exp: Expect displays to be sorted in ascending
2071 order. Use multi_line.
2072 * gdb.base/solib-display.exp: Likewise.
2074 2015-11-24 Pedro Alves <palves@redhat.com>
2077 * gdb.base/display.exp: Expect displays to be sorted in ascending
2078 order. Use multi_line.
2079 * gdb.base/solib-display.exp: Likewise.
2081 2015-11-24 Pedro Alves <palves@redhat.com>
2084 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2085 threads in ascending order.
2086 * gdb.base/foll-fork.exp: Likewise.
2087 * gdb.base/foll-vfork.exp: Likewise.
2088 * gdb.base/multi-forks.exp: Likewise.
2089 * gdb.mi/mi-nonstop.exp: Likewise.
2090 * gdb.mi/mi-nsintrall.exp: Likewise.
2091 * gdb.multi/base.exp: Likewise.
2092 * gdb.multi/multi-arch.exp: Likewise.
2093 * gdb.python/py-inferior.exp: Likewise.
2094 * gdb.threads/break-while-running.exp: Likewise.
2095 * gdb.threads/execl.exp: Likewise.
2096 * gdb.threads/gcore-thread.exp: Likewise.
2097 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2098 * gdb.threads/kill.exp: Likewise.
2099 * gdb.threads/linux-dp.exp: Likewise.
2100 * gdb.threads/multiple-step-overs.exp: Likewise.
2101 * gdb.threads/next-bp-other-thread.exp: Likewise.
2102 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2103 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2104 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2105 * gdb.threads/thread-find.exp: Likewise.
2106 * gdb.threads/tls.exp: Likewise.
2107 * lib/mi-support.exp (mi_reverse_list): Delete.
2108 (mi_check_thread_states): No longer reverse list.
2110 2015-11-24 Pedro Alves <palves@redhat.com>
2112 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2115 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2117 * gdb.trace/actions.c: Include trace-common.h.
2118 (main): Add a location for a fast tracepoint.
2119 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2120 the normal tracepoints.
2121 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2123 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2125 * save-trace.exp: Factor out code to these...
2126 (gdb_save_tracepoints): New.
2127 (gdb_load_tracepoints): New.
2128 (do_save_load_test): New.
2130 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2132 * gdb.base/asmlabel.exp: New test.
2133 * gdb.base/asmlabel.c: New test case.
2135 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2137 * gdb.base/wrong_frame_bt_full-main.c: New file.
2138 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2139 * gdb.base/wrong_frame_bt_full.exp: New file.
2141 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2143 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2145 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2147 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2148 pstate register when comparing registers values in
2149 sparc64-*-linux-gnu targets to avoid spurious differences.
2151 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2153 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2155 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2157 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2158 as type argument to gdb_compile.
2159 * gdb.base/nested-subp2.exp: Likewise.
2160 * gdb.base/nested-subp3.exp: Likewise.
2162 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2164 * lib/dwarf.exp (_note): Fix left shift of negative value.
2165 * gdb.trace/trace-condition.exp: Likewise.
2167 2015-11-13 Yao Qi <yao.qi@linaro.org>
2169 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2170 comments about d10v.
2171 (test_scalar_returns): Likewise.
2172 * gdb.base/d10v.ld: Remove.
2173 * gdb.base/overlays.exp: Remove the target triplet checking for
2175 * gdb.base/structs.exp (test_struct_returns): Remove the
2176 comments about d10v.
2177 (test_struct_calls): Likewise.
2179 2015-11-13 Yao Qi <yao.qi@linaro.org>
2181 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2182 * gdb.base/gnu_vector.c: Don't include stdio.h.
2183 (main): Don't print res and call add_some_intvecs.
2185 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2187 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2190 (func4): Use FAST_TRACEPOINT_LABEL.
2191 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2194 (thread_function): Use FAST_TRACEPOINT_LABEL.
2195 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2197 (marker): Use FAST_TRACEPOINT_LABEL.
2198 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2199 (pendfunc1): Remove.
2200 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2201 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2203 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2204 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2207 (marker): Use FAST_TRACEPOINT_LABEL.
2208 * gdb.trace/trace-common.h: New header.
2209 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2212 (marker): Use FAST_TRACEPOINT_LABEL.
2213 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2215 (thread_function): Use FAST_TRACEPOINT_LABEL.
2217 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2219 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2221 * gdb.trace/change-loc.exp: Use global pcreg definition.
2222 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2223 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2225 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2226 * gdb.trace/pending.exp: Likewise.
2227 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2228 * gdb.trace/trace-break.exp: Likewise.
2229 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2231 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2232 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2234 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2236 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2238 * gdb.ada/fin_fun_out: New testcase.
2240 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2242 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2243 value associated with DW_AT_byte_size.
2244 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2245 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2248 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2250 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2251 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2253 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2254 gdb.dwarf2/dw2-canonicalize-type.exp,
2255 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2256 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2257 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2258 provided by gdb_target_symbol_prefix_flags_asm.
2259 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2260 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2261 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2262 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2263 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2264 macros where needed). Use this macro for symbols which require
2265 the prefix provided by SYMBOL_PREFIX.
2267 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2269 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2271 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2272 representing expressions, of more than one list element.
2273 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2274 to prepend linker symbol prefix to f.
2275 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2276 table_1 and table_2.
2277 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2278 Likewise, for f and g.
2279 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2281 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2283 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2284 table_1_ptr and table_2_ptr.
2286 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2287 Joel Brobecker <brobecker@adacore.com>
2289 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2291 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2293 * gdb.reverse/s390-mvcle.c: New test.
2294 * gdb.reverse/s390-mvcle.exp: New file.
2295 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2297 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2299 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2301 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2303 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2305 * gdb.reverse/getresuid-reverse.exp: Likewise.
2306 * gdb.reverse/pipe-reverse.exp: Likewise.
2307 * gdb.reverse/readv-reverse.exp: Likewise.
2308 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2309 * gdb.reverse/time-reverse.exp: Likewise.
2310 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2312 2015-10-30 Yao Qi <yao.qi@linaro.org>
2314 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2315 (empty_cycle): Remove.
2316 (main): Don't call empty_cycle. Don't use watch_count_done.
2317 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2318 empty_cycle. Rewrite the code counting HW watchpoints.
2320 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2322 * gdb.reverse/fstatat-reverse.c: New test.
2323 * gdb.reverse/fstatat-reverse.exp: New file.
2324 * gdb.reverse/getresuid-reverse.c: New test.
2325 * gdb.reverse/getresuid-reverse.exp: New file.
2326 * gdb.reverse/pipe-reverse.c: New test.
2327 * gdb.reverse/pipe-reverse.exp: New file.
2328 * gdb.reverse/readv-reverse.c: New test.
2329 * gdb.reverse/readv-reverse.exp: New file.
2330 * gdb.reverse/recvmsg-reverse.c: New test.
2331 * gdb.reverse/recvmsg-reverse.exp: New file.
2332 * gdb.reverse/time-reverse.c: New test.
2333 * gdb.reverse/time-reverse.exp: New file.
2334 * gdb.reverse/waitpid-reverse.c: New test.
2335 * gdb.reverse/waitpid-reverse.exp: New file.
2337 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2339 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2341 2015-10-26 Doug Evans <dje@google.com>
2344 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2345 * gdb.dwarf2/bad-regnum.c: New file.
2346 * gdb.dwarf2/bad-regnum.exp: New file.
2348 2015-10-26 Doug Evans <dje@google.com>
2351 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2354 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2356 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2357 for a change by "Mention language in compile error message".
2359 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2362 * gdb.python/py-type.c (C::a_method): New.
2363 (C::a_const_method): New.
2364 (C::a_static_method): New.
2366 * gdb.python/py-type.exp (test_fields): Test getting fields
2367 from function and method.
2369 2015-10-21 Keven Boell <keven.boell@intel.com>
2371 * gdb.fortran/vla-alloc-assoc.exp: New file.
2372 * gdb.fortran/vla-datatypes.exp: New file.
2373 * gdb.fortran/vla-datatypes.f90: New file.
2374 * gdb.fortran/vla-history.exp: New file.
2375 * gdb.fortran/vla-ptype-sub.exp: New file.
2376 * gdb.fortran/vla-ptype.exp: New file.
2377 * gdb.fortran/vla-sizeof.exp: New file.
2378 * gdb.fortran/vla-sub.f90: New file.
2379 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2380 * gdb.fortran/vla-value-sub-finish.exp: New file.
2381 * gdb.fortran/vla-value-sub.exp: New file.
2382 * gdb.fortran/vla-value.exp: New file.
2383 * gdb.fortran/vla-ptr-info.exp: New file.
2384 * gdb.mi/mi-vla-fortran.exp: New file.
2385 * gdb.mi/vla.f90: New file.
2387 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2389 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2390 of hardwired timeout value.
2392 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2393 Pedro Alves <palves@redhat.com>
2395 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2396 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2398 2015-10-19 Josh Stone <jistone@redhat.com>
2400 * gdb.base/catch-syscall.c: Include <sched.h>.
2401 (unknown_syscall): New variable.
2402 (main): Trigger a vfork and an unknown syscall.
2403 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2404 (unknown_syscall_number): Likewise.
2405 (check_call_to_syscall): Accept an optional syscall pattern.
2406 (check_return_from_syscall): Likewise.
2407 (check_continue): Likewise.
2408 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2409 (test_catch_syscall_skipping_return): New test toggling off 'catch
2410 syscall' to step over the syscall return, then toggling back on.
2411 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2412 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2413 (do_syscall_tests): Call test_catch_syscall_without_args and
2414 test_catch_syscall_mid_vfork.
2415 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2416 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2418 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2420 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2421 print g_vE): Add new pass patterns.
2422 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2423 print various symbol names for vptr fields.
2425 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2427 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2430 2015-10-12 Yao Qi <yao.qi@linaro.org>
2432 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2434 2015-10-12 Yao Qi <yao.qi@linaro.org>
2436 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2437 is aarch64*-*-linux*.
2439 2015-10-12 Yao Qi <yao.qi@linaro.org>
2441 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2442 (can_relocate_bcond_true): ... it.
2443 (can_relocate_bcond_false): New function.
2445 (can_relocate_bl): Likewise.
2446 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2449 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2451 * gdb.base/nested-addr.c: New file.
2452 * gdb.base/nested-addr.exp: New testcase.
2454 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2456 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2457 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2458 its output. Ignore the output of "record goto begin" and instead
2459 check that GDB is replaying.
2461 2015-10-09 Pedro Alves <palves@redhat.com>
2463 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2464 (top level): Use it in the run with no args test.
2466 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2468 * gdb.dlang/properties.exp: New file.
2470 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2472 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2473 whether or not address 0x1000 is mapped on the target.
2475 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2477 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2480 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2482 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2483 instruction-history test.
2485 2015-09-28 Doug Evans <dje@google.com>
2487 * gdb.base/gcore.c (array_func): Add reference to static_array.
2489 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2491 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2494 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2496 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2497 short or char as base type.
2499 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2501 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2502 to allow any size enum.
2504 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2506 * gdb.ada/array_ptr_renaming.exp: New testcase.
2507 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2508 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2510 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2512 * gdb.trace/ftrace-lock.c: New file.
2513 * gdb.trace/ftrace-lock.exp: New file.
2515 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2517 * gdb.arch/insn-reloc.c: New file.
2518 * gdb.arch/ftrace-insn-reloc.exp: New file.
2520 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2522 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2524 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2525 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2526 * gdb.trace/range-stepping.c: Likewise.
2527 * gdb.trace/trace-break.c: Likewise.
2528 * gdb.trace/trace-mt.c (thread_function): Likewise.
2529 * gdb.trace/ftrace.c (marker): Likewise.
2530 * gdb.trace/trace-condition.c (marker): Likewise.
2531 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2532 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2535 2015-09-18 Doug Evans <xdje42@gmail.com>
2537 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2538 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2540 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2542 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2545 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2547 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2548 the pending breakpoint. Remove timeout override for "Run till
2549 MI pending breakpoint on pendfunc3 on thread 2" test.
2551 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2553 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2556 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2558 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2559 in breakpoint filename pattern.
2561 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2563 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2565 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2567 * gdb.linespec/explicit.exp: Check for readline support for
2568 tab-completion tests. Fix obvious typo.
2570 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2572 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2575 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2577 * gdb.btrace/non-stop.c: New.
2578 * gdb.btrace/non-stop.exp: New.
2580 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2581 Yao Qi <yao.qi@linaro.org>
2583 * gdb.trace/trace-condition.c: New file.
2584 * gdb.trace/trace-condition.exp: New file.
2586 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2588 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2589 for testing bytecode compilation.
2591 2015-09-16 Pedro Alves <palves@redhat.com>
2592 Sandra Loosemore <sandra@codesourcery.com>
2594 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2595 (SECONDS): Redefine.
2596 (main): Call pthread_kill and alarm early.
2597 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2599 (test): If the target can't hardware step and doesn't support
2600 displaced stepping, increase the timeout.
2602 2015-09-16 Pedro Alves <palves@redhat.com>
2604 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2605 (enable_debug): New procedures.
2606 (test): Use them. Bail out if waiting for threads fails.
2607 (top level): Bail out if a test fails.
2609 2015-09-16 Yao Qi <yao.qi@linaro.org>
2611 * gdb.asm/asm-source.exp: Set asm-arch for
2612 aarch64*-*-* target.
2613 * gdb.asm/aarch64.inc: New file.
2615 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2617 * gdb.ada/array_of_variable_length.exp: New testcase.
2618 * gdb.ada/array_of_variable_length/foo.adb: New file.
2619 * gdb.ada/array_of_variable_length/pck.adb: New file.
2620 * gdb.ada/array_of_variable_length/pck.ads: New file.
2622 2015-09-15 Doug Evans <dje@google.com>
2624 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2625 of function static local variable.
2627 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2629 * gdb.threads/tls-so_extern.exp: New test file.
2630 * gdb.threads/tls-so_extern.c: New test file.
2631 * gdb.threads/tls-so_extern_main.c: New test file.
2633 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2635 * gdb.opt/solib-intra-step-lib.c: New file.
2636 * gdb.opt/solib-intra-step-main.c: New file.
2637 * gdb.opt/solib-intra-step.exp: New file.
2639 2015-09-15 Pedro Alves <palves@redhat.com>
2641 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2642 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2644 2015-09-14 Pedro Alves <palves@redhat.com>
2646 * gdb.base/hook-stop-continue.c: Delete.
2647 * gdb.base/hook-stop-continue.exp: Delete.
2648 * gdb.base/hook-stop-frame.c: Delete.
2649 * gdb.base/hook-stop-frame.exp: Delete.
2650 * gdb.base/hook-stop.c: New file.
2651 * gdb.base/hook-stop.exp: New file.
2653 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2655 * gdb.ada/access_to_packed_array.exp: New testcase.
2656 * gdb.ada/access_to_packed_array/foo.adb: New file.
2657 * gdb.ada/access_to_packed_array/pack.adb: New file.
2658 * gdb.ada/access_to_packed_array/pack.ads: New file.
2660 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2662 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2665 2015-09-11 Don Breazeal <donb@codesourcery.com>
2667 * gdb.base/foll-exec.c: Add copyright header. Fix
2669 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2670 (do_exec_tests): Use clean_restart in place of zap_session,
2671 and for test initialization. Fix formatting issues. Use
2672 fail in place of perror.
2673 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2674 an expect statement to match an expression with output from
2675 the program under debug.
2676 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2677 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2678 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2679 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2680 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2682 2015-09-09 Doug Evans <dje@google.com>
2684 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2686 2015-09-09 Doug Evans <dje@google.com>
2688 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2690 2015-09-09 Doug Evans <dje@google.com>
2692 * gdb.base/savedregs.exp: Fix typo.
2694 2015-09-09 Pedro Alves <palves@redhat.com>
2696 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2698 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2700 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2701 command actually switches threads. Give up on remaining
2702 tests if target fails to stop at breakpoint.
2704 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2706 * gdb.ada/funcall_char.exp: New testcase.
2707 * gdb.ada/funcall_char/foo.adb: New file.
2709 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2711 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2712 expected outputs. Add two testcases for completing ambiguous
2714 * gdb.ada/complete/aux_pck.adb: New file.
2715 * gdb.ada/complete/aux_pck.ads: New file.
2716 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2717 Ambiguous_Func functions.
2718 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2719 * gdb.ada/complete/pck.adb: Likewise.
2721 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2723 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2724 failures to run the test program under GDB.
2726 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2728 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2731 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2733 * gdb.base/run-after-attach.exp: New test file.
2734 * gdb.base/run-after-attach.c: New test file.
2736 2015-08-26 Don Breazeal <donb@codesourcery.com>
2738 * gdb.base/foll-exec-2.c: New test program.
2739 * gdb.base/foll-exec-2.exp: New test.
2741 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2743 * gdb.base/nested-subp1.exp: New file.
2744 * gdb.base/nested-subp1.c: New file.
2745 * gdb.base/nested-subp2.exp: New file.
2746 * gdb.base/nested-subp2.c: New file.
2747 * gdb.base/nested-subp3.exp: New file.
2748 * gdb.base/nested-subp3.c: New file.
2750 2015-08-24 Pedro Alves <palves@redhat.com>
2752 * gdb.server/connect-without-multi-process.c: New file.
2753 * gdb.server/connect-without-multi-process.exp: New file.
2755 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2757 * gdb.opt/inline-markers.c: Make z int.
2759 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2761 * gdb.opt/inline-markers.c: Make z volatile.
2763 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2765 * gdb.opt/inline-bt.c: New volatile global z.
2766 * gdb.opt/inline-cmds.c: Likewise.
2767 * gdb.opt/inline-locals.c: Likewise.
2768 * gdb.opt/inline-markers.c: New extern global z.
2770 (inline_fn): Likewise.
2772 2015-08-24 Pedro Alves <palves@redhat.com>
2774 * config/m32r-stub.exp: Remove file.
2775 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2776 * gdb.base/call-rt-st.exp: Likewise.
2777 * gdb.base/call-strs.exp: Likewise.
2778 * gdb.base/default.exp: Remove references to h8300-*-hms and
2780 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2782 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2784 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2785 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2786 and "return" use KFAIL when GDB can not read/write the vector
2789 2015-08-21 Gary Benson <gbenson@redhat.com>
2791 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2793 2015-08-20 Pedro Alves <palves@redhat.com>
2795 * gdb.server/solib-list.exp: No longer expect an interior stop in
2798 2015-08-20 Pedro Alves <palves@redhat.com>
2800 * gdb.server/connect-stopped-target.c: New file.
2801 * gdb.server/connect-stopped-target.exp: New file.
2803 2015-08-20 Pedro Alves <palves@redhat.com>
2805 * gdb.dwarf2/comp-unit-lang.exp: New file.
2806 * gdb.dwarf2/comp-unit-lang.c: New file.
2808 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2810 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2811 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2813 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2815 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2816 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2818 2015-08-18 Doug Evans <dje@google.com>
2819 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2821 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2822 skip_python_tests. New arg prompt_regexp.
2823 (skip_python_tests): New function.
2824 * lib/mi-support.exp (mi_skip_python_tests): New function.
2825 * gdb.python/py-mi-objfile-gdb.py: New file.
2826 * gdb.python/py-mi-objfile.c: New file.
2827 * gdb.python/py-mi-objfile.exp: New file.
2829 2015-08-17 Keith Seitz <keiths@redhat.com>
2831 * gdb.linespec/explicit.exp: Move strace test from here ...
2832 * gdb.trace/strace.exp: ... to here.
2834 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2836 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2837 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2839 2015-08-14 Doug Evans <xdje42@gmail.com>
2841 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2842 inferior before selecting a new file.
2844 2015-08-14 Doug Evans <xdje42@gmail.com>
2846 * gdb.mi/mi-disassemble.exp: Update.
2847 * gdb.base/disasm-optim.S: New file.
2848 * gdb.base/disasm-optim.c: New file.
2849 * gdb.base/disasm-optim.h: New file.
2850 * gdb.base/disasm-optim.exp: New file.
2852 2015-08-14 Keith Seitz <keiths@redhat.com>
2854 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2857 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2859 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2861 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2863 * gdb.ada/fun_renaming.exp: New testcase.
2864 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2865 * gdb.ada/fun_renaming/pack.adb: New file.
2866 * gdb.ada/fun_renaming/pack.ads: New file.
2868 2015-08-12 Keith Seitz <keiths@redhat.com>
2870 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2871 gdb_get_line_number.
2873 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2875 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2876 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2877 gdb.base/dso2dso.exp: New files.
2879 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2880 Pedro Alves <palves@redhat.com>
2881 Keith Seitz <keiths@redhat.com>
2883 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2886 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2888 * gdb.base/gdbhistsize-history.exp
2889 (test_histsize_history_setting): Use save_vars.
2890 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2892 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2893 * gdb.base/readline.exp: Use save_vars.
2895 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2897 * lib/gdb.exp (save_vars): New proc.
2899 2015-08-11 Keith Seitz <keiths@redhat.com>
2901 * gdb.base/help.exp: Update help_breakpoint_text.
2903 2015-08-11 Keith Seitz <keiths@redhat.com>
2905 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2906 (at toplevel): Call test_explicit_breakpoints.
2907 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2909 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2910 breakpoint conditions, "-cond".
2912 2015-08-11 Keith Seitz <keiths@redhat.com>
2914 * gdb.linespec/3explicit.c: New file.
2915 * gdb.linespec/cpexplicit.cc: New file.
2916 * gdb.linespec/cpexplicit.exp: New file.
2917 * gdb.linespec/explicit.c: New file.
2918 * gdb.linespec/explicit.exp: New file.
2919 * gdb.linespec/explicit2.c: New file.
2920 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2921 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2922 before using in the matching pattern.
2923 Clarify that `prefix' is a regular expression.
2925 2015-08-11 Keith Seitz <keiths@redhat.com>
2927 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2929 Add tests for missing ",FMT" and ",".
2931 2015-08-10 Doug Evans <dje@google.com>
2932 Keith Seitz <keiths@redhat.com>
2935 * gdb.base/completion.exp: Add location completer tests.
2937 2015-08-07 Pedro Alves <palves@redhat.com>
2939 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2941 (top level): Run do_test with and without displaced stepping.
2943 2015-08-07 Pedro Alves <palves@redhat.com>
2945 * gdb.base/valgrind-disp-step.c: New file.
2946 * gdb.base/valgrind-disp-step.exp: New file.
2948 2015-08-07 Pedro Alves <palves@redhat.com>
2950 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2952 (main): Add alarm. Run an infinite loop instead of calling
2954 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2956 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2958 (main): Add alarm. Run an infinite loop instead of calling
2960 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2963 2015-08-07 Pedro Alves <palves@redhat.com>
2965 * gdb.base/checkpoint-ns.exp: New file.
2966 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2969 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2971 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2972 * gdb.btrace/instruction_history.exp: Update.
2973 * gdb.btrace/tsx.exp: New.
2974 * gdb.btrace/tsx.c: New.
2976 2015-08-06 Pedro Alves <palves@redhat.com>
2978 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2980 * gdb.reverse/until-precsave.exp: Bump timeouts.
2982 2015-08-06 Pedro Alves <palves@redhat.com>
2984 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2986 2015-08-06 Pedro Alves <palves@redhat.com>
2989 * gdb.threads/process-dies-while-handling-bp.c: New file.
2990 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2992 2015-08-06 Pedro Alves <palves@redhat.com>
2994 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2995 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2997 2015-08-05 Pedro Alves <palves@redhat.com>
2999 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3000 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3002 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3004 * gdb.base/bp-permanent.exp: Report test as unsupported if
3005 the target cannot stop at the permanent breakpoint.
3007 2015-08-03 Doug Evans <dje@google.com>
3009 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3012 2015-08-03 Doug Evans <dje@google.com>
3014 * Makefile.in (workers/%.worker, build-perf): New rule.
3015 (GDB_PERFTEST_MODE): New variable.
3016 (check-perf): Use it.
3017 (clean): Clean up gdb.perf parallel build subdirs.
3018 * lib/build-piece.exp: New file.
3019 * lib/gdb.exp (make_gdb_parallel_path): New function
3020 (standard_output_file, standard_temp_file): Call it.
3021 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3023 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3025 2015-08-03 Doug Evans <dje@google.com>
3027 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3028 (LOG_FILE_NAME): New global.
3029 (TextReporter.__init__): Initialize self.txt_sum.
3030 (TextReporter.report): Add support for multiple data-points.
3031 Move report to perftest.sum, put raw data in perftest.log.
3032 (TextReporter.start): Open sum and log files.
3033 (TextReporter.end): Close sum and log files.
3034 * gdb.perf/lib/perftest/testresult.py
3035 (SingleStatisticTestResult.record): Handle multiple data-points.
3037 2015-07-31 Pedro Alves <palves@redhat.com>
3039 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3040 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3041 kill_wait_spawned_process instead of explicit "kill -9".
3042 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3043 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3044 kill_wait_spawned_process.
3045 * gdb.base/attach-twice.exp: Likewise.
3046 * gdb.base/attach.exp: Likewise.
3047 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3049 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3050 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3051 kill_wait_spawned_process.
3052 * gdb.base/valgrind-infcall.exp: Likewise.
3053 * gdb.multi/multi-attach.exp: Likewise.
3054 * gdb.python/py-prompt.exp: Likewise.
3055 * gdb.python/py-sync-interp.exp: Likewise.
3056 * gdb.server/ext-attach.exp: Likewise.
3057 * gdb.threads/attach-into-signal.exp (corefunc): Use
3058 spawn_wait_for_attach, spawn_id_get_pid and
3059 kill_wait_spawned_process.
3060 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3061 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3062 spawn_id_get_pid and kill_wait_spawned_process.
3063 * gdb.threads/attach-stopped.exp (corefunc): Use
3064 spawn_wait_for_attach, spawn_id_get_pid and
3065 kill_wait_spawned_process.
3066 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3067 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3068 kill_wait_spawned_process instead of explicit "kill -9".
3069 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3070 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3071 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3072 processes. Don't map cygwin/windows pids here. Now returns a
3075 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3077 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3078 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3081 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3083 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3085 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3088 2014-05-21 Mark Wielaard <mjw@redhat.com>
3090 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3092 2015-07-30 Pedro Alves <palves@redhat.com>
3094 * linux-low.c (handle_extended_wait): Set the child's last
3095 reported status to TARGET_WAITKIND_STOPPED.
3097 2015-07-30 Pedro Alves <palves@redhat.com>
3100 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3101 only shows inferior 1.
3103 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3104 Pedro Alves <palves@redhat.com>
3107 * gdb.threads/fork-plus-threads.c: New file.
3108 * gdb.threads/fork-plus-threads.exp: New file.
3110 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3112 * gdb.base/batch-preserve-term-settings.exp
3113 (test_terminal_settings_preserved_after_cli_exit): Use
3116 2015-07-29 Pedro Alves <palves@redhat.com>
3117 Don Breazeal <donb@codesourcery.com>
3119 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3120 output from both inferior_spawn_id and gdb_spawn_id.
3122 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3124 * gdb.threads/attach-into-signal.exp (corefunc): Use
3125 with_test_prefix on nested loops, uniquefying the test messages.
3127 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3129 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3132 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3134 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3136 (test_terminal_settings_preserved_after_sigterm): New test.
3138 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3140 * gdb.base/batch-preserve-term-settings.exp
3141 (test_terminal_settings_preserved_after_cli_exit): New test.
3143 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3145 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3146 manipulation of saved_gdbflags.
3147 (test_terminal_settings_preserved): Remove global declaration of
3148 the unused variable pagination_prompt. Remove manipulation of
3149 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3152 2015-07-29 Pedro Alves <palves@redhat.com>
3154 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3156 2015-07-29 Pedro Alves <palves@redhat.com>
3158 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3161 2015-07-29 Pedro Alves <palves@redhat.com>
3163 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3164 (main): Call gdb_unbuffer_output.
3165 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3166 (main): Call gdb_unbuffer_output.
3167 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3168 (main): Call gdb_unbuffer_output.
3169 * gdb.base/call-strs.exp: Adjust to step over the
3170 gdb_unbuffer_output call.
3171 * gdb.base/catch-gdb-caused-signals.c: Include
3172 "../lib/unbuffer_output.c".
3173 (main): Call gdb_unbuffer_output.
3174 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3175 (main): Call gdb_unbuffer_output.
3176 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3177 (main): Call gdb_unbuffer_output.
3178 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3179 (main): Call gdb_unbuffer_output.
3180 * gdb.base/shlib-call.exp: Adjust to step over the
3181 gdb_unbuffer_output call.
3182 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3183 (main): Call gdb_unbuffer_output.
3184 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3185 (main): Call gdb_unbuffer_output.
3186 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3187 (main): Rename to ...
3189 (main): Reimplement.
3190 * gdb.base/varargs.exp: Run to test instead of to main.
3191 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3192 (main): Call gdb_unbuffer_output.
3194 2015-07-29 Pedro Alves <palves@redhat.com>
3196 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3197 factore out from mi_continue_dprintf. For call-style dprintfs,
3198 expect dprintf output out of $inferior_spawn_id.
3199 (mi_continue_dprintf): Use mi_expect_dprintf.
3200 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3201 (main): Call gdb_unbuffer_output.
3203 2015-07-29 Pedro Alves <palves@redhat.com>
3205 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3206 (default_mi_gdb_start): Set inferior_spawn_id instead of
3207 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3209 (mi_gdb_test): Always expect inferior output from both
3210 $inferior_spawn_id and $gdb_spawn_id.
3212 2015-07-29 Pedro Alves <palves@redhat.com>
3214 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3215 send_inferior and $inferior_spawn_id.
3217 2015-07-29 Pedro Alves <palves@redhat.com>
3219 * gdb.gdb/complaints.exp (test_initial_complaints)
3220 (test_serial_complaints, test_short_complaints): Use
3222 (test_empty_complaint): Handle $inferior_spawn_id !=
3225 2015-07-29 Pedro Alves <palves@redhat.com>
3227 * gdb.base/varargs.exp: Use gdb_test_stdio.
3229 2015-07-29 Pedro Alves <palves@redhat.com>
3231 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3233 2015-07-29 Pedro Alves <palves@redhat.com>
3235 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3237 2015-07-29 Pedro Alves <palves@redhat.com>
3239 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3240 parameter into two new parameters, "inf_result" and "gdb_result".
3241 Expect inferior output and gdb output from $inferior_spawn_id and
3242 $gdb_spawn_id, respectively. Adjust all callers.
3244 2015-07-29 Pedro Alves <palves@redhat.com>
3246 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3247 of gdb_test_sequence.
3249 2015-07-29 Pedro Alves <palves@redhat.com>
3251 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3252 (saw_spurious_output): Expect inferior output from
3253 $inferior_spawn_id. Use gdb_test_stdio.
3255 2015-07-29 Pedro Alves <palves@redhat.com>
3257 * gdb.base/dprintf.exp: Use standard_testfile. Change
3258 prepare_for_testing call.
3259 (srcfile): Don't set.
3260 (restart): New procedure.
3261 (test_dprintf): New procecure, use to continue over dprintfs.
3262 (test_call, test_agent): New procedures, tests moved here.
3263 Restart gdb and recreate dprintfs. Adjust expected output.
3265 2015-07-29 Pedro Alves <palves@redhat.com>
3267 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3269 2015-07-29 Pedro Alves <palves@redhat.com>
3271 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3273 2015-07-29 Pedro Alves <palves@redhat.com>
3275 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3278 2015-07-29 Pedro Alves <palves@redhat.com>
3280 * lib/gdb.exp (gdb_test_stdio): New procedure.
3282 2015-07-29 Pedro Alves <palves@redhat.com>
3284 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3286 2015-07-29 Pedro Alves <palves@redhat.com>
3288 * gdb.base/call-signal-resume.exp: Remove check for
3289 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3290 * gdb.base/unwindonsignal.exp: Likewise.
3291 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3292 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3294 2015-07-29 Pedro Alves <palves@redhat.com>
3296 * gdb.base/siginfo-addr.c (pass): New function.
3297 (handler): Call it iff si_addr is correct.
3298 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3299 Set a breakpoint at "pass" and continue to it.
3301 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3303 * gdb.python/py-objfile.exp: Make some tests have unique names.
3304 * gdb.python/py-pp-registration.exp: Likewise.
3306 2015-07-28 Pedro Alves <palves@redhat.com>
3308 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3310 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3312 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3314 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3316 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3318 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3320 * gdb.base/gdb-sigterm-2.exp: New test.
3322 2015-07-25 Doug Evans <xdje42@gmail.com>
3325 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3326 (workers/%.worker, build-perf): New rule.
3327 (GDB_PERFTEST_MODE): New variable.
3328 (check-perf): Use it.
3329 (clean): Clean up gdb.perf parallel build subdirs.
3330 * lib/build-piece.exp: New file.
3331 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3332 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3334 (standard_temp_file): Ditto.
3335 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3338 2015-07-24 Doug Evans <dje@google.com>
3340 * gdb.perf/lib/perftest/utils.py: New file.
3341 * gdb.perf/gm-hello.cc: New file.
3342 * gdb.perf/gm-pervasive-typedef.cc: New file.
3343 * gdb.perf/gm-pervasive-typedef.h: New file.
3344 * gdb.perf/gm-std.cc: New file.
3345 * gdb.perf/gm-std.h: New file.
3346 * gdb.perf/gm-use-cerr.cc: New file.
3347 * gdb.perf/gm-utils.h: New file.
3348 * gdb.perf/gmonster-null-lookup.py: New file.
3349 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3350 * gdb.perf/gmonster-print-cerr.py: New file.
3351 * gdb.perf/gmonster-ptype-string.py: New file.
3352 * gdb.perf/gmonster-runto-main.py: New file.
3353 * gdb.perf/gmonster-select-file.py: New file.
3354 * gdb.perf/gmonster1-null-lookup.exp: New file.
3355 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3356 * gdb.perf/gmonster1-print-cerr.exp: New file.
3357 * gdb.perf/gmonster1-ptype-string.exp: New file.
3358 * gdb.perf/gmonster1-runto-main.exp: New file.
3359 * gdb.perf/gmonster1-select-file.exp: New file.
3360 * gdb.perf/gmonster1.cc: New file.
3361 * gdb.perf/gmonster1.exp: New file.
3362 * gdb.perf/gmonster2-null-lookup.exp: New file.
3363 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3364 * gdb.perf/gmonster2-print-cerr.exp: New file.
3365 * gdb.perf/gmonster2-ptype-string.exp: New file.
3366 * gdb.perf/gmonster2-runto-main.exp: New file.
3367 * gdb.perf/gmonster2-select-file.exp: New file.
3368 * gdb.perf/gmonster2.cc: New file.
3369 * gdb.perf/gmonster2.exp: New file.
3371 2015-07-24 Doug Evans <dje@google.com>
3373 * gdb.perf/README: New file.
3374 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3375 * lib/gen-perf-test.exp: New file.
3377 2015-07-24 Doug Evans <dje@google.com>
3379 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3380 (PerfTest::startup): New function.
3381 (PerfTest::run): Return result of calling body.
3382 (PerfTest::assemble): Rewrite.
3383 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3384 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3385 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3386 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3387 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3389 2015-07-24 Doug Evans <dje@google.com>
3391 * lib/gdb.exp (clean_restart): Make executable optional.
3393 2015-07-24 Doug Evans <dje@google.com>
3395 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3396 compiler_info references.
3397 * gdb.cp/temargs.exp: Ditto.
3398 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3399 (get_compiler_info): Early exit if already computed. Set compiler_info
3400 to "unknown" if there was a problem.
3401 (test_compiler_info): Add function comment. Call get_compiler_info.
3403 2015-07-24 Doug Evans <dje@google.com>
3405 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3406 (workers/%.worker, build-perf): New rule.
3407 (GDB_PERFTEST_MODE): New variable.
3408 (check-perf): Use it.
3409 (clean): Clean up gdb.perf parallel build subdirs.
3410 * lib/build-piece.exp: New file.
3411 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3412 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3414 (standard_temp_file): Ditto.
3415 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3418 2015-07-24 Doug Evans <dje@google.com>
3420 * lib/future.exp (gdb_default_target_compile): New option
3422 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3425 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3427 * gdb.base/catch-syscall.exp: Call gdb_exit before
3430 2015-07-24 Pedro Alves <palves@redhat.com>
3432 * gdb.python/py-events.exp: Accept output between the stop event
3434 * gdb.python/py-evsignal.exp: Likewise.
3435 * gdb.python/py-evthreads.exp: Likewise.
3437 2015-07-24 Pedro Alves <palves@redhat.com>
3440 * gdb.threads/non-ldr-exit.c: New file.
3441 * gdb.threads/non-ldr-exit.exp: New file.
3443 2015-07-24 Yao Qi <yao.qi@linaro.org>
3445 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3448 2015-07-24 Yao Qi <yao.qi@linaro.org>
3450 * gdb.server/ext-restart.exp: New file.
3452 2015-07-24 Yao Qi <yao.qi@linaro.org>
3454 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3456 * gdb.server/ext-wrapper.exp: New file.
3458 2015-07-23 Doug Evans <dje@google.com>
3460 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3461 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3463 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3465 * gdb.ada/var_arr_typedef.exp: New testcase.
3466 * gdb.ada/var_arr_typedef/pack.adb: New file.
3467 * gdb.ada/var_arr_typedef/pack.ads: New file.
3468 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3470 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3472 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3474 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3476 * gdb.arch/i386-biarch-core.exp: Replace istarget
3477 by "complete set gnutarget". Remove expectation for the "core-file"
3480 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3482 Revert the previous commit:
3483 Tests for validate symbol file using build-id.
3485 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3487 Tests for validate symbol file using build-id.
3488 * gdb.base/solib-mismatch-lib.c: New file.
3489 * gdb.base/solib-mismatch-libmod.c: New file.
3490 * gdb.base/solib-mismatch.c: New file.
3491 * gdb.base/solib-mismatch.exp: New file.
3493 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3495 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3497 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3498 * gdb.base/siginfo.exp: Likewise.
3499 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3501 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3503 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3505 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3507 * gdb.trace/range-stepping.exp: Check that the target supports
3510 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3512 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3514 2015-07-14 Pedro Alves <palves@redhat.com>
3516 * gdb.base/killed-outside.exp: New file.
3517 * gdb.base/killed-outside.c: New file.
3519 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3521 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3523 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3525 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3527 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3528 infcall tests instead of setting up for KFAIL.
3530 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3532 * gdb.btrace/record_goto-step.exp: New.
3534 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3537 * gdb.compile/compile.c (struct struct_type): Add volatile to
3539 * gdb.compile/compile.exp
3540 (compile code struct_object.selffield = &struct_object): Skip further
3541 struct_object tests if this one xfails.
3543 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3546 * gdb.trace/ax.exp: Add test.
3548 2015-07-07 Yao Qi <yao.qi@linaro.org>
3550 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3551 instead of istarget "aarch64*-*-*".
3552 * gdb.arch/aarch64-fp.exp: Likewise.
3553 * gdb.base/float.exp: Likewise.
3554 * gdb.reverse/aarch64.exp: Likewise.
3555 * lib/gdb.exp (is_aarch64_target): New proc.
3557 2015-07-07 Yao Qi <yao.qi@linaro.org>
3559 * lib/gdb.exp (is_aarch32_target): New proc.
3560 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3561 instead of "istarget "arm*-*-*"".
3562 * gdb.arch/arm-disp-step.exp: Likewise.
3563 * gdb.arch/thumb-bx-pc.exp: Likewise.
3564 * gdb.arch/thumb-prologue.exp: Likewise.
3565 * gdb.arch/thumb-singlestep.exp: Likewise.
3566 * gdb.base/disp-step-syscall.exp: Likewise.
3567 * gdb.base/float.exp: Likewise.
3569 2015-07-07 Yao Qi <yao.qi@linaro.org>
3571 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3572 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3574 2015-07-07 Yao Qi <yao.qi@linaro.org>
3576 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3577 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3579 * gdb.multi/multi-arch.exp: Likewise.
3581 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3583 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3586 2015-07-07 Yao Qi <yao.qi@linaro.org>
3588 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3590 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3592 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3593 '[' and ']' characters.
3595 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3597 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3599 2015-06-29 Pedro Alves <palves@redhat.com>
3602 * gdb.threads/hand-call-new-thread.c: New file.
3603 * gdb.threads/hand-call-new-thread.c: New file.
3605 2015-06-26 Keith Seitz <keiths@redhat.com>
3606 Doug Evans <dje@google.com>
3609 * gdb.cp/var-tag-2.cc: New file.
3610 * gdb.cp/var-tag-3.cc: New file.
3611 * gdb.cp/var-tag-4.cc: New file.
3612 * gdb.cp/var-tag.cc: New file.
3613 * gdb.cp/var-tag.exp: New file.
3615 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3617 * gdb.base/history-duplicates.exp: New test.
3619 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3621 * gdb.base/completion.exp: Test the completion of the "focus"
3624 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3626 * gdb.arch/amd64-prologue-skip.S: New file.
3627 * gdb.arch/amd64-prologue-skip.exp: New file.
3629 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3631 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3632 is_address_zero_readable check.
3634 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3636 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3637 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3639 2015-06-24 Yao Qi <yao.qi@linaro.org>
3641 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3644 2015-06-24 Yao Qi <yao.qi@linaro.org>
3646 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3647 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3648 * gdb.base/siginfo-thread.exp: Likewise.
3650 2015-06-22 Yao Qi <yao.qi@linaro.org>
3652 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3654 2015-06-22 Yao Qi <yao.qi@linaro.org>
3656 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3658 (skip_hw_watchpoint_tests): Likewise.
3660 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3662 * gdb.base/gdbinit-history.exp: Test the interaction between
3663 setting GDBHISTSIZE and setting the history size via .gdbinit.
3665 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3668 * gdb.base/gdbhistsize-history.exp: New test.
3670 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3672 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3674 * gdb.base/readline.exp: Likewise.
3676 2015-06-17 Yao Qi <yao.qi@linaro.org>
3678 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3681 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3683 * gdb.base/gdbinit-history.exp: Add test case to check that
3684 an unlimited history file does not get truncated on exit.
3686 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3688 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3689 (VECTOR): New macro. Use it...
3690 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3691 ...for these typedefs.
3692 (int8, char1, int1, double1): New typedefs.
3693 (struct just_int2, struct two_int2): New structures.
3694 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3695 (add_structvecs, add_singlevecs): New functions.
3696 (main): Call add_some_intvecs twice.
3697 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3698 the compile and exit upon failure. Try compiling for the "native"
3699 architecture. Test inferior function calls with vector arguments
3700 and vector return value handling with "finish" and "return".
3702 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3704 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3705 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3707 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3709 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3711 PR breakpoints/16465
3712 * gdb.mi/mi-dprintf-pending.c: New file.
3713 * gdb.mi/mi-dprintf-pending.exp: New test.
3714 * gdb.mi/mi-dprintf-pendshr.c: New file.
3716 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3717 Mircea Gherzan <mircea.gherzan@intel.com>
3719 * gdb.arch/i386-mpx-map.c: New file.
3720 * gdb.arch/i386-mpx-map.exp: New File.
3722 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3724 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3725 * gdb.arch/i386-mpx.exp: Indentation fixed.
3727 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3729 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3730 function and improved indentation.
3731 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3732 gdb_test_multiple. Added additional tests to skip the test.
3734 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3736 * gdb.arch/i386-avx512.c: Change path in include file.
3737 * gdb.arch/i386-avx512.exp: Change include dir path
3739 * gdb.arch/i386-mpx.c: Change path in include file.
3740 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3743 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3745 * gdb.compile/compile-print.exp (compile print *vararray@3)
3746 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3748 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3750 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3751 (do not keep jit in memory): ... this.
3752 (expect 5): Change it to ...
3753 (expect no 5): ... this.
3755 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3758 * gdb.mi/mi-detach.exp: New file.
3760 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3763 * gdb.arch/amd64-tailcall-self.S: New file.
3764 * gdb.arch/amd64-tailcall-self.c: New file.
3765 * gdb.arch/amd64-tailcall-self.exp: New file.
3767 2015-05-28 Don Breazeal <donb@codesourcery.com>
3769 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3770 tests for remote targets by checking is_target_gdbserver.
3772 2015-05-27 Doug Evans <dje@google.com>
3774 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3775 * gdb.dwarf2/opaque-type-lookup.c: New file.
3776 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3778 2015-05-26 Doug Evans <dje@google.com>
3780 * gdb.cp/iostream.cc: New file.
3781 * gdb.cp/iostream.exp: New file.
3783 2015-05-26 Doug Evans <dje@google.com>
3785 * gdb.dwarf2/dw2-op-call.exp: Update.
3786 * gdb.dwarf2/dw4-sig-types.exp: Update.
3787 * gdb.dwarf2/implptr.exp: Update.
3788 * gdb.mi/mi-cmd-param-changed.exp: Update.
3790 2015-05-26 Doug Evans <dje@google.com>
3792 * gdb.python/py-lazy-string.c: New file.
3793 * gdb.python/py-lazy-string.exp: New file.
3794 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3795 (main): Update. Add estring3.
3796 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3797 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3799 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3800 Yao Qi <yao.qi@linaro.org>
3802 * gdb.reverse/aarch64.c: New.
3803 * gdb.reverse/aarch64.exp: New.
3805 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3807 * lib/gdb.exp (supports_process_record): Return true for
3809 (supports_reverse): Likewise.
3811 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3813 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3814 Use with_test_prefix.
3816 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3818 * gdb.base/completion.exp: Add test for completion of layout
3821 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3823 * lib/gdb.exp (skip_tui_tests): New proc.
3824 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3826 2015-05-19 Pedro Alves <palves@redhat.com>
3828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3829 Save the whole env array instead of just HOME. Unset HISTSIZE in
3830 the environment while testing. Restore whole environment
3833 2015-05-16 Doug Evans <xdje42@gmail.com>
3835 * gdb.guile/scm-ports.c: New file.
3836 * gdb.guile/scm-ports.exp: Add memory port tests.
3838 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3840 * gdb.compile/compile-print.c: New file.
3841 * gdb.compile/compile-print.exp: New file.
3843 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * gdb.compile/compile-ops.exp: Cast param to void.
3846 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3847 (compile code struct_object.selffield = &struct_object): Add xfail.
3849 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3851 * gdb.ada/arr_enum_with_gap: New testcase.
3853 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3855 * gdb.ada/byte_packed_arr: New testcase.
3857 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3859 * gdb.ada/pckd_neg: New testcase.
3861 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3864 * gdb.base/gdbinit-history.exp: New test.
3865 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3866 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3868 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3870 * gdb.python/py-xmethods.cc: Enhance test case.
3871 * gdb.python/py-xmethods.exp: New tests.
3872 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3874 (B_indexoper): Likewise.
3875 (global_dm_list) : Add new xmethod worker functions.
3877 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3879 * gdb.base/coredump-filter.exp: Correctly unset
3880 "coredump_var_addr" array.
3882 2015-05-08 Pedro Alves <palves@redhat.com>
3884 * gdb.server/non-existing-program.exp: Unset spawn_id.
3886 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3889 * gdb.python/py-xmethods.exp: Add tests.
3891 2015-05-08 Yao Qi <yao.qi@linaro.org>
3894 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3895 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3896 function set_coredump_filter, and remove remote_exec call.
3897 Remove argument ipid. Callers update.
3898 (top level): Don't get inferior's PID.
3900 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3902 * gdb.base/watch_thread_num.exp: Skip test on targets without
3905 2015-05-06 Pedro Alves <palves@redhat.com>
3908 * gdb.server/non-existing-program.exp: New file.
3910 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3912 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3914 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3916 * gdb.ada/out_of_line_in_inlined: New testcase.
3918 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3920 * gdb.ada/var_rec_arr: New testcase.
3922 2015-04-30 Yao Qi <yao.qi@linaro.org>
3924 * gdb.base/break-idempotent.exp: If
3925 skip_hw_watchpoint_multi_tests returns true, skip the tests
3926 on "rwatch" and "awatch".
3928 2015-04-30 Yao Qi <yao.qi@linaro.org>
3930 * gdb.base/relativedebug.exp: Invoke gdb command
3931 "info sharedlibrary", and if libc.so doesn't have debug info,
3934 2015-04-29 Doug Evans <dje@google.com>
3936 * gdb.python/py-xmethods.exp: Add ptype tests.
3937 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3938 get_result_type method.
3940 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3942 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3943 the target does not support hardware watchpoints.
3945 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3947 * gdb.base/break-always.exp: Abort testing if writing to memory
3950 2015-04-28 Doug Evans <dje@google.com>
3952 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3953 * gdb.python/py-pp-registration.exp: ... here. New file.
3954 * gdb.python/py-pp-registration.c: New file.
3955 * gdb.python/py-pp-registration.py: New file.
3957 2015-04-28 Doug Evans <dje@google.com>
3959 * gdb.python/py-bad-printers.c: New file.
3960 * gdb.python/py-bad-printers.py: New file.
3961 * gdb.python/py-bad-printers.exp: New file.
3963 2015-04-28 Sasha Smundak <asmundak@google.com>
3965 * gdb.python/py-type.exp: New test.
3967 2015-04-28 Andy Wingo <wingo@igalia.com>
3969 * gdb.python/py-parameter.exp:
3970 * gdb.guile/scm-parameter.exp: Escape the path that we are
3971 matching against, as it might contain characters that are special
3972 to regular expressions.
3974 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3976 * gdb.ada/rec_comp: New testcase.
3978 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3980 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3983 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3985 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3986 new tests for verilog output.
3988 2015-04-24 Yao Qi <yao.qi@linaro.org>
3990 * boards/remote-gdbserver-on-localhost.exp: New file.
3992 2015-04-23 Pedro Alves <palves@redhat.com>
3994 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3995 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3996 "end of file", remove $inferior_spawn_id from the indirect list.
3998 2015-04-23 Pedro Alves <palves@redhat.com>
4000 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4002 2015-04-23 Pedro Alves <palves@redhat.com>
4004 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4005 on $any_spawn_id instead of only on $gdb_spawn_id.
4007 2015-04-21 Pierre Muller <muller@sourceware.org>
4010 * lib/pascal.exp (gpc_compile): Add new option "class".
4011 (fpc_compile): Likewise.
4012 * gdb.pascal/case-insensitive-symbols.pas: New file.
4013 * gdb.pascal/case-insensitive-symbols.exp: New file.
4015 2015-04-20 Gary Benson <gbenson@redhat.com>
4017 * gdb.base/attach.exp: Fix three extended remote failures.
4019 2015-04-17 Gary Benson <gbenson@redhat.com>
4021 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4022 the main executable over the remote protocol.
4024 2015-04-16 Pedro Alves <palves@redhat.com>
4026 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4027 a new gdbserver if gdbserver_reconnect_p is set.
4029 2015-04-16 Pedro Alves <palves@redhat.com>
4031 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4032 is set, don't exit gdbserver.
4034 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4036 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4037 appropriate .insn, such that an older assembler can be used.
4038 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4039 the z/Architecture instruction set on 31-bit targets as well.
4041 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4043 * gdb.go/handcall.exp: Remove all logic related to the first
4044 breakpoint and rely on go_runto_main instead.
4045 * gdb.go/strings.exp: Likewise.
4046 * gdb.go/unsafe.exp: Likewise.
4047 * gdb.go/hello.exp: Likewise. Also rename the remaining
4048 breakpoint marker to "breakpoint 1".
4049 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4050 * gdb.go/strings.go: Likewise.
4051 * gdb.go/unsafe.go: Likewise.
4052 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4053 "set breakpoint 2 here" and rename the remaining breakpoint marker
4056 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4058 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4059 if itertools.imap is not present.
4060 * gdb.python/py-objfile.exp: Add parentheses.
4061 * gdb.python/py-type.exp: Same.
4062 * gdb.python/py-unwind-maint.py: Same.
4064 2015-04-15 Yao Qi <yao.qi@linaro.org>
4066 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4067 of ":$ptr_size" and set its form explicitly.
4069 2015-04-15 Pedro Alves <palves@redhat.com>
4070 Yao Qi <yao.qi@linaro.org>
4072 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4073 timeout by factor of 4.
4074 (test_regular_watch): Likewise.
4075 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4076 * gdb.reverse/sigall-reverse.exp: Likewise.
4077 * gdb.reverse/until-precsave.exp: Likewise.
4078 * lib/gdb.exp (with_timeout_factor): New proc.
4079 (gdb_expect): Move some code to ...
4080 (get_largest_timeout): ... here. New procedure.
4082 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4084 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4086 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4088 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4089 to write to the .text section.
4091 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4093 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4094 Handle the case of targets that do not provide PID information.
4096 2015-04-13 Yao Qi <yao.qi@linaro.org>
4098 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4099 and use expect instead of gdb_expect.
4101 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4103 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4104 "coredump_var_addr" to avoid naming conflict with other testcases.
4106 2015-04-10 Pedro Alves <palves@redhat.com>
4108 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4109 gdb_test_sequence and gdb_assert.
4111 2015-04-10 Pedro Alves <palves@redhat.com>
4113 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4114 test messages that don't include the breakpoint address.
4116 2015-04-10 Yao Qi <yao.qi@linaro.org>
4118 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4119 false for some offset and width combinations which aren't
4120 supported by linux kernel.
4122 2015-04-10 Pedro Alves <palves@redhat.com>
4124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4125 procedure, factored out from ...
4126 (top level): ... here. Add "set displaced-stepping" testing axis.
4127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4128 parameter "displaced". Use it.
4129 (top level): Use foreach and add "set displaced-stepping" testing
4132 2015-04-10 Pedro Alves <palves@redhat.com>
4134 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4136 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4137 both the address of the instruction that triggers the watchpoint
4138 and the address of the instruction immediately after, and use
4139 those addresses for the test. Fix comment.
4141 2015-04-10 Pedro Alves <palves@redhat.com>
4143 * gdb.base/sigstep.exp (breakpoint_to_handler)
4144 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4145 Test "backtrace" in handler.
4146 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4147 (top level): Add new "displaced" test axis to
4148 breakpoint_to_handler, breakpoint_to_handler_entry and
4149 breakpoint_over_handler.
4151 2015-04-10 Pedro Alves <palves@redhat.com>
4154 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4156 2015-04-10 Yao Qi <yao.qi@linaro.org>
4158 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4159 (test_add_rn_pc): New function.
4160 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4161 (top level): Invoke test_add_rn_pc.
4163 2015-04-10 Pedro Alves <palves@redhat.com>
4166 * gdb.base/step-over-no-symbols.exp: New file.
4168 2015-04-09 Andy Wingo <wingo@igalia.com>
4170 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4171 after the Python tests.
4173 2015-04-08 Keith Seitz <keiths@redhat.com>
4176 * gdb.python/py-completion.exp: New tests for completion.
4177 * gdb.python/py-completion.py (CompleteLimit1): New class.
4178 (CompleteLimit2): Likewise.
4179 (CompleteLimit3): Likewise.
4180 (CompleteLimit4): Likewise.
4181 (CompleteLimit5): Likewise.
4182 (CompleteLimit6): Likewise.
4183 (CompleteLimit7): Likewise.
4185 2015-04-08 Pedro Alves <palves@redhat.com>
4189 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4191 (main): Install it as SIGUSR1 handler.
4192 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4193 parameter. Always use "setup" as prefix. Toggle "set
4194 displaced-stepping" off/on depending on global. Don't switch to
4196 (top level): Add displaced stepping "off/on" test axis. Update
4197 "setup" calls. Wrap each subtest with with_test_prefix. Test
4198 continuing with a queued signal in each thread.
4200 2015-04-08 Pedro Alves <palves@redhat.com>
4202 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4203 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4204 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4205 Return early if running to main fails.
4206 * gdb.trace/while-stepping.exp: Likewise.
4208 2015-04-07 Pedro Alves <palves@redhat.com>
4210 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4211 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4212 interact with inferior program.
4214 2015-04-07 Pedro Alves <palves@redhat.com>
4216 * lib/gdb.exp (inferior_spawn_id): New global.
4217 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4218 spawn id after processing the user code.
4219 (default_gdb_start): Set inferior_spawn_id.
4220 (send_inferior): New procedure.
4221 * lib/gdbserver-support.exp (gdbserver_start): Set
4223 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4225 2015-04-07 Pedro Alves <palves@redhat.com>
4227 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4228 * lib/gdbserver-support.exp (gdbserver_start): Make
4229 $server_spawn_id global.
4230 (gdbserver_start): Don't wait for gdbserver's spawn id with
4232 (close_gdbserver): New procedure.
4233 (gdb_exit): Rename the default version and reimplement.
4235 2015-04-07 Pedro Alves <palves@redhat.com>
4237 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4238 append the substituted item, not the original item.
4240 2015-04-07 Pedro Alves <palves@redhat.com>
4242 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4245 2015-04-07 Pedro Alves <palves@redhat.com>
4247 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4248 output appearing once only.
4250 2015-04-07 Pedro Alves <palves@redhat.com>
4252 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4253 that doesn't expect anything. Return early if running to main
4256 2015-04-07 Yao Qi <yao.qi@linaro.org>
4258 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4259 (child_function): Call alarm.
4260 (main): Move call to alarm into the loop.
4261 * gdb.threads/non-stop-fair-events.exp: Build program with
4264 2015-04-06 Doug Evans <xdje42@gmail.com>
4266 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4267 Fix dest parameter to board_info.
4268 (fpc_compile): Ditto.
4269 (gdb_compile_pascal): Rename dest arg to destfile.
4271 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4273 * gdb.ada/funcall_ref.exp: New file.
4274 * gdb.ada/funcall_ref/foo.adb: New file.
4276 2015-04-02 Yao Qi <yao.qi@linaro.org>
4278 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4281 2015-04-02 Gary Benson <gbenson@redhat.com>
4283 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4285 2015-04-01 Sasha Smundak <asmundak@google.com>
4287 * gdb.python/py-unwind-maint.c: New file.
4288 * gdb.python/py-unwind-maint.exp: New test.
4289 * gdb.python/py-unwind-maint.py: New file.
4290 * gdb.python/py-unwind.c: New file.
4291 * gdb.python/py-unwind.exp: New test.
4292 * gdb.python/py-unwind.py: New test.
4294 2015-04-01 Pedro Alves <palves@redhat.com>
4296 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4297 to fail instead of non-existent $test.
4299 2015-04-01 Pedro Alves <palves@redhat.com>
4301 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4302 GDBFLAGS if not empty.
4304 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4306 * gdb.ada/complete.exp: Remove "multi_line".
4307 * gdb.ada/info_exc.exp: Remove "multi_line".
4308 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4309 * gdb.ada/ptype_field.exp: Remove "multi_line".
4310 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4311 * gdb.ada/tagged.exp: Remove "multi_line".
4312 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4314 * gdb.btrace/delta.exp: Likewise.
4315 * gdb.btrace/exception.exp: Likewise.
4316 * gdb.btrace/function_call_history.exp: Likewise.
4317 * gdb.btrace/instruction_history.exp: Likewise.
4318 * gdb.btrace/nohist.exp: Likewise.
4319 * gdb.btrace/record_goto.exp: Likewise.
4320 * gdb.btrace/segv.exp: Likewise.
4321 * gdb.btrace/stepi.exp: Likewise.
4322 * gdb.btrace/tailcall.exp: Likewise.
4323 * gdb.btrace/unknown_functions.exp: Likewise.
4324 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4325 * lib/gdb.exp: Add the "multi_line" helper.
4327 2015-04-01 Pedro Alves <palves@redhat.com>
4329 * gdb.threads/tid-reuse.c: New file.
4330 * gdb.threads/tid-reuse.exp: New file.
4332 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4335 * gdb.base/coredump-filter.c: New file.
4336 * gdb.base/coredump-filter.exp: Likewise.
4338 2015-03-27 Petr Machata <pmachata@redhat.com>
4340 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4341 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4342 (Dwarf::assemble): Initialize them.
4343 (Dwarf::lines): New function.
4345 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4347 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4348 SYMBOL_PREFIX for x86_64-*-cygwin.
4350 2015-03-26 Andy Wingo <wingo@igalia.com>
4353 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4354 const_value but not a location.
4355 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4356 location defined in non-main CUs are visible.
4358 2015-03-26 Yao Qi <yao.qi@linaro.org>
4361 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4362 Add a line number entry for the same line.
4363 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4364 Add a line number entry for the same line.
4366 2015-03-26 Yao Qi <yao.qi@linaro.org>
4368 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4370 (func): Likewise. Add .Lfunc_1 label.
4372 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4377 2015-03-26 Yao Qi <yao.qi@linaro.org>
4379 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4380 Call gdb_compile instead to compile each .s files without debug
4383 2015-03-26 Yao Qi <yao.qi@linaro.org>
4385 * gdb.base/savedregs.exp (process_saved_regs): Make
4386 "Saved registers:" optional in the pattern.
4388 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4390 * gdb.btrace/next.exp: Merged into step.exp.
4391 * gdb.btrace/finish.exp: Merged into step.exp.
4392 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4393 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4394 "record goto" and checking the exact replay position.
4395 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4396 check for "Recording format" in "info record" output.
4397 * gdb.btrace/record_goto.exp: Choose test file based on target.
4398 * gdb.btrace/x86-record_goto.S: Renamed into ...
4399 * gdb.btrace/x86_64-record_goto.S: ... this.
4400 * gdb.btrace/i686-record_goto.S: New.
4401 * gdb.btrace/x86-tailcall.S: Renamed into ...
4402 * gdb.btrace/x86_64-tailcall.S: ... this.
4403 * gdb.btrace/i686-tailcall.S: New.
4404 * gdb.btrace/x86-tailcall.c: Renamed into ...
4405 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4406 separate statements. Update test.
4407 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4408 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4409 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4410 * gdb.btrace/tailcall.exp: Choose test file based on target.
4411 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4413 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4415 * gdb.btrace/exception.exp: Increase BTS buffer size.
4417 2015-03-24 Pedro Alves <palves@redhat.com>
4419 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4421 2015-03-24 Pedro Alves <palves@redhat.com>
4423 * gdb.threads/schedlock.exp (test_step): No longer expect that
4424 "set scheduler-locking step" with "next" over a function call runs
4427 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4429 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4431 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4433 PR breakpoints/16466
4434 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4435 * gdb.mi/mi-pending.c (thread_func): New function.
4436 (int main): Add threading support required.
4437 * gdb.mi/mi-pending.exp: Add tests for this issue.
4438 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4439 (pendfunc2): Remove stdio dependency.
4440 * gdb.mi/mi-pendshr2.c: New file.
4442 2015-03-23 Keith Seitz <keiths@redhat.com>
4444 * gdb.linespec/keywords.c: New file.
4445 * gdb.linespec/keywords.exp: New file.
4447 2015-03-23 Keith Seitz <keiths@redhat.com>
4450 * gdb.dwarf2/staticvirtual.exp: New test.
4452 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4454 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4455 * README: Remove HP-UX and gdb.hp.
4457 * configure: Regenerate.
4458 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4459 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4460 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4461 gdb.hp/gdb.defects/Makefile.
4462 * gdb.hp/Makefile.in: File deleted.
4463 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4464 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4465 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4466 * gdb.hp/gdb.aCC/run.c: File deleted.
4467 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4468 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4469 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4470 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4471 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4472 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4473 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4474 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4475 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4476 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4477 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4478 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4479 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4480 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4481 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4482 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4483 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4484 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4485 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4486 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4487 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4488 * gdb.hp/gdb.compat/average.c: File deleted.
4489 * gdb.hp/gdb.compat/sum.c: File deleted.
4490 * gdb.hp/gdb.compat/xdb.c: File deleted.
4491 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4492 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4493 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4494 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4495 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4496 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4497 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4498 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4499 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4500 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4501 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4502 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4503 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4504 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4505 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4506 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4507 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4508 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4509 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4510 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4511 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4512 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4513 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4514 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4515 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4516 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4517 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4518 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4519 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4520 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4521 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4522 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4523 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4524 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4525 * gdb.hp/tools/odump: File deleted.
4527 2015-03-19 Pedro Alves <palves@redhat.com>
4529 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4530 (saw_thread_3): New globals.
4531 (top level): Increment them when an event for the corresponding
4533 (no thread starvation): New test.
4535 2015-03-19 Pedro Alves <palves@redhat.com>
4537 * gdb.threads/continue-pending-status.c: New file.
4538 * gdb.threads/continue-pending-status.exp: New file.
4540 2015-03-18 Pedro Alves <palves@redhat.com>
4542 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4543 Use gdb_is_target_remote instead of is_remote. Use
4544 gdb_test_multiple instead of gdb_expect. Exit early if
4545 gdb_test_multiple hits its internal matches. Tighten stepi tests
4546 expected output. Fail on exit with any signal, instead of just
4549 2015-03-18 Yao Qi <yao.qi@linaro.org>
4552 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4554 * gdb.base/catch-syscall.exp: Don't skip it on
4555 aarch64*-*-linux* target. Remove elements in all_syscalls.
4556 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4558 (setup_all_syscalls): New proc.
4560 2015-03-16 Yao Qi <yao.qi@linaro.org>
4562 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4563 (top level): Skip tests if valid_addr_p returns false for
4566 2015-03-11 Andy Wingo <wingo@igalia.com>
4568 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4570 2015-03-11 Yao Qi <yao.qi@linaro.org>
4572 * gdb.base/catch-syscall.exp: Fix typo in comments.
4574 2015-03-11 Yao Qi <yao.qi@linaro.org>
4576 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4578 2015-03-09 Pedro Alves <palves@redhat.com>
4580 * dg-extract-results.py: Delete.
4582 2015-03-09 Pedro Alves <palves@redhat.com>
4584 Merge dg-extract-results.sh from GCC upstream (r218843).
4586 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4587 * dg-extract-results.sh: Use --text with grep to avoid issues with
4588 binary files. Fall back to cat -v, if that doesn't work.
4590 2015-03-05 Pedro Alves <palves@redhat.com>
4592 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4594 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4596 * lib/mi-support.exp (mi_expect_interrupt): Accept
4597 alternative event for when in all-stop mode.
4599 2015-03-04 Pedro Alves <palves@redhat.com>
4601 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4603 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4605 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4607 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4609 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4610 regexps for GDB's current line display, accept a hex address
4611 preceding the line number.
4613 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4616 the 'arch1' variable for "s390*-linux*" targets.
4618 2015-03-04 Pedro Alves <palves@redhat.com>
4620 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4621 (main): Pass missing retval argument to pthread_join call.
4623 2015-03-02 Pedro Alves <palves@redhat.com>
4625 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4626 (top level): Call do_test with non-stop as well.
4628 2015-03-02 Pedro Alves <palves@redhat.com>
4630 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4633 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4635 * gdb.arch/s390-vregs.exp: New test.
4636 * gdb.arch/s390-vregs.S: New file.
4638 2015-02-27 Pedro Alves <palves@redhat.com>
4640 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4641 call to catch_command_errors.
4642 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4643 catch_command_errors.
4645 2015-02-27 Pedro Alves <palves@redhat.com>
4647 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4648 "true" for boolean result.
4649 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4652 2015-02-27 Pedro Alves <palves@redhat.com>
4654 * lib/unbuffer_output.c: New file.
4655 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4656 (main): Call gdb_unbuffer_output.
4658 2015-02-27 Yao Qi <yao.qi@linaro.org>
4660 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4663 2015-02-26 Doug Evans <dje@google.com>
4665 * gdb.cp/class2.cc (Dbase, D): New classes.
4666 (main): New local delta.
4667 * gdb.cp/class2.exp: Test printing delta.
4668 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4669 (dynbar): New global.
4670 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4672 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4674 * gdb.compile/compile-ifunc.c: New file.
4675 * gdb.compile/compile-ifunc.exp: New file.
4677 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4679 * gdb.base/structs.exp: Check for correct struct on finish.
4681 2015-02-26 Yao Qi <yao.qi@linaro.org>
4683 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4686 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4688 * gdb.arch/cordic.ko.bz2: New file.
4689 * gdb.arch/cordic.ko.debug.bz2: New file.
4690 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4692 2015-02-25 Yao Qi <yao.qi@linaro.org>
4694 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4695 aarch64*-*-* target.
4697 2015-02-23 Pedro Alves <palves@redhat.com>
4699 * lib/gdb.exp (delete_breakpoints): Rewrite using
4702 2015-02-23 Pedro Alves <palves@redhat.com>
4704 * gdb.base/info-os.c: Include stdlib.h.
4706 2015-02-22 Doug Evans <xdje42@gmail.com>
4709 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4710 is read after symbols have been re-read.
4711 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4712 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4714 2015-02-21 Doug Evans <dje@google.com>
4716 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4718 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4721 * gdb.arch/i386-biarch-core.core.bz2: New file.
4722 * gdb.arch/i386-biarch-core.exp: New file.
4724 2015-02-21 Pedro Alves <palves@redhat.com>
4726 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4729 2015-02-20 Pedro Alves <palves@redhat.com>
4731 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4734 2015-02-20 Pedro Alves <palves@redhat.com>
4736 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4738 2015-02-20 Pedro Alves <palves@redhat.com>
4740 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4741 clean_restart before gdb_target_supports_trace.
4743 2015-02-20 Pedro Alves <palves@redhat.com>
4746 * gdb.threads/clone-thread_db.c: New file.
4747 * gdb.threads/clone-thread_db.exp: New file.
4749 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4751 PR breakpoints/16812
4752 * gdb.base/catch-gdb-caused-signals.c: New file.
4753 * gdb.base/catch-gdb-caused-signals.exp: New file.
4755 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4757 * configure: Regenerated.
4758 * configure.ac: Use GDB_AC_TRANSFORM.
4759 * aclocal.m4: sinclude ../transform.m4.
4761 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4763 * lib/dtrace.exp: New file.
4764 * gdb.base/dtrace-probe.exp: Likewise.
4765 * gdb.base/dtrace-probe.d: Likewise.
4766 * gdb.base/dtrace-probe.c: Likewise.
4767 * lib/pdtrace.in: Likewise.
4768 * configure.ac: Output variables with the transformed names of
4769 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4770 * configure: Regenerated.
4772 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4774 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4775 expected message when trying to access $_probe_* convenience
4776 variables while not on a probe.
4778 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4782 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4784 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4785 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4787 2015-02-10 Doug Evans <xdje42@gmail.com>
4789 * lib/gdb.exp (gdb_load): Always return a result.
4791 2015-02-10 Pedro Alves <palves@redhat.com>
4793 * gdb.threads/signal-sigtrap.c: New file.
4794 * gdb.threads/signal-sigtrap.exp: New file.
4796 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4798 * gdb.trace/no-attach-trace.c: New file.
4799 * gdb.trace/no-attach-trace.exp: New file.
4801 2015-02-09 Mark Wielaard <mjw@redhat.com>
4803 * gdb.dwarf2/atomic.c: New file.
4804 * gdb.dwarf2/atomic-type.exp: Likewise.
4806 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4808 * gdb.btrace/buffer-size.exp: Update "info record" output.
4809 * gdb.btrace/delta.exp: Update "info record" output.
4810 * gdb.btrace/enable.exp: Update "info record" output.
4811 * gdb.btrace/finish.exp: Update "info record" output.
4812 * gdb.btrace/instruction_history.exp: Update "info record" output.
4813 * gdb.btrace/next.exp: Update "info record" output.
4814 * gdb.btrace/nexti.exp: Update "info record" output.
4815 * gdb.btrace/step.exp: Update "info record" output.
4816 * gdb.btrace/stepi.exp: Update "info record" output.
4817 * gdb.btrace/nohist.exp: Update "info record" output.
4819 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4821 * gdb.btrace/buffer-size: New.
4823 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4825 * gdb.btrace/delta.exp: Update "info record" output.
4826 * gdb.btrace/enable.exp: Update "info record" output.
4827 * gdb.btrace/finish.exp: Update "info record" output.
4828 * gdb.btrace/instruction_history.exp: Update "info record" output.
4829 * gdb.btrace/next.exp: Update "info record" output.
4830 * gdb.btrace/nexti.exp: Update "info record" output.
4831 * gdb.btrace/step.exp: Update "info record" output.
4832 * gdb.btrace/stepi.exp: Update "info record" output.
4833 * gdb.btrace/nohist.exp: Update "info record" output.
4835 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4838 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4840 2015-02-06 Pedro Alves <palves@redhat.com>
4842 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4844 (seconds_left, again): New globals.
4845 (main): Wait seconds_left in a 1-second sleep loop instead of
4846 sleeping 180 seconds. If 'again' is set, reset the seconds
4848 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4849 'again' in the inferior before detaching. Print the seconds left.
4850 (options): New global.
4851 (top level): Build program with -DTIMEOUT=$timeout.
4853 2015-02-06 Pedro Alves <palves@redhat.com>
4855 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4856 determine how many seconds to pass to 'alarm'.
4857 * gdb.base/gdb-sigterm.exp (top level): Build program with
4859 (do_test): Return success/failure indication. Add more verbose
4860 logging. Don't fail if 200 single steps are seen. Instead, fail
4861 when the test times out.
4862 (passes): New global.
4863 (top level): Break the testing loop if testing fails on any
4864 iteration. Use gdb_assert.
4866 2015-02-04 Don Breazeal <donb@codesourcery.com>
4868 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4869 and initialize them.
4870 (ipc_cleanup): New function.
4871 (main): Don't declare shmid, semid, and msqid. Add a call to
4872 atexit so that we call ipc_cleanup on exit.
4874 2015-02-04 Pedro Alves <palves@redhat.com>
4876 * boards/native-extended-gdbserver.exp: Remove any target variant
4877 specifications from the board name before clearing the isremote
4878 flag from board_info.
4880 2015-01-31 Doug Evans <xdje42@gmail.com>
4882 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4884 2015-01-31 Gary Benson <gbenson@redhat.com>
4886 * gdb.base/completion.exp: Disable completion limiting for
4887 existing tests. Add new tests to check completion limiting.
4888 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4890 2015-01-31 Doug Evans <xdje42@gmail.com>
4892 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4894 2015-01-31 Doug Evans <xdje42@gmail.com>
4896 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4897 entries. Duplicate file section script entries.
4898 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4899 inlined entries. Add test for safe-path rejection.
4900 * gdb.python/py-section-script.c: Add duplicate inlined section script
4901 entries. Duplicate file section script entries.
4902 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4903 inlined entries. Add test for safe-path rejection.
4905 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4907 * gdb.ada/disc_arr_bound: New testcase.
4909 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4911 * gdb.ada/mi_var_array: New testcase.
4913 2015-01-27 Doug Evans <dje@google.com>
4915 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4916 Add test for objfile.filename, objfile.username after objfile
4919 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4921 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4922 the second test to print the name attribute of value
4923 returned by the call to gdb.lookup_type, and adjust
4924 the expected output accordingly.
4926 2015-01-25 Mark Wielaard <mjw@redhat.com>
4928 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4929 * gdb.base/disp-step-fork.c: Include unistd.h.
4930 * gdb.base/siginfo-obj.c: Include stdio.h.
4931 * gdb.base/siginfo-thread.c: Likewise.
4932 * gdb.mi/non-stop.c: Include unistd.h.
4933 * gdb.mi/nsthrexec.c: Include stdio.h.
4934 * gdb.mi/pthreads.c: Include unistd.h.
4935 * gdb.modula2/unbounded1.c (main): Declare returns int.
4936 * gdb.reverse/consecutive-reverse.c: Likewise.
4937 * gdb.threads/create-fail.c: Include unistd.h.
4938 * gdb.threads/killed.c: Likewise.
4939 * gdb.threads/linux-dp.c: Likewise.
4940 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4941 * gdb.threads/non-ldr-exc-2.c: Likewise.
4942 * gdb.threads/non-ldr-exc-3.c: Likewise.
4943 * gdb.threads/non-ldr-exc-4.c: Likewise.
4944 * gdb.threads/pthreads.c: Include unistd.h.
4945 (main): Declare returns int.
4946 * gdb.threads/tls-main.c (foo): New declaration.
4947 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4949 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4951 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4952 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4954 2015-01-15 Mark Wielaard <mjw@redhat.com>
4956 * gdb.base/noreturn-return.c: New file.
4957 * gdb.base/noreturn-return.exp: New file.
4958 * gdb.base/noreturn-finish.c: New file.
4959 * gdb.base/noreturn-finish.exp: New file.
4961 2015-01-23 Pedro Alves <palves@redhat.com>
4963 * gdb.threads/continue-pending-after-query.c: New file.
4964 * gdb.threads/continue-pending-after-query.exp: New file.
4966 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4967 Simon Marchi <simon.marchi@ericsson.com>
4969 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4970 * gdb.base/valgrind-db-attach.exp: Same.
4971 * gdb.base/valgrind-infcall.exp: Same.
4972 * lib/mi-support.exp (default_mi_gdb_start): Same.
4973 * lib/prompt.exp (default_prompt_gdb_start): Same.
4974 * lib/gdb.exp (default_gdb_spawn): Same.
4975 (gdb_interact): New.
4978 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4980 * gdb.compile/compile.exp (pointer to jit function): New test.
4982 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4984 * lib/gdb.exp (supports_process_record): Return true for
4986 (supports_reverse): Likewise.
4988 2015-01-15 Don Breazeal <donb@codesourcery.com>
4990 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4991 instead of checking whether the target board is remote and
4992 use spawn_wait_for_attach instead of exec/sleep.
4993 * gdb.base/attach-twice.exp: Likewise.
4995 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4997 * gdb.ada/var_arr_attrs: New testcase.
4999 2015-01-14 Pedro Alves <palves@redhat.com>
5000 Joel Brobecker <brobecker@adacore.com>
5003 * gdb.base/bp-cmds-execution-x-script.c: New file.
5004 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5005 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5007 2015-01-14 Pedro Alves <palves@redhat.com>
5010 * gdb.base/batch-preserve-term-settings.c: New file.
5011 * gdb.base/batch-preserve-term-settings.exp: New file.
5013 2015-01-13 Doug Evans <dje@google.com>
5015 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5018 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5020 * Makefile.in (clean mostlyclean): Do not delete *.py.
5022 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5024 * gdb.python/py-lookup-type.exp: New file.
5026 2015-01-12 Pedro Alves <palves@redhat.com>
5028 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5029 restore GDBFLAGS before returning.
5031 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5033 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5034 is_amd64_regs_target and is_x86_like_target.
5036 2015-01-11 Doug Evans <xdje42@gmail.com>
5038 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5039 is given without an explicit form.
5040 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5042 * gdb.dwarf/corrupt.exp: Ditto.
5043 * gdb.dwarf2/enum-type.exp: Ditto.
5044 * gdb.trace/entry-values.exp: Ditto.
5045 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5047 2015-01-11 Doug Evans <xdje42@gmail.com>
5050 * gdb.base/maint.exp: Remove references to "maint demangle".
5051 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5052 Add tests for explicitly specifying language to demangle.
5053 * gdb.dlang/demangle.exp: Ditto.
5055 2015-01-09 Pedro Alves <palves@redhat.com>
5057 * gdb.threads/non-stop-fair-events.c: New file.
5058 * gdb.threads/non-stop-fair-events.exp: New file.
5060 2015-01-09 Pedro Alves <palves@redhat.com>
5062 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5063 the global scope. Set a breakpoint after all threads are started
5064 rather than stepping over two source lines. Expect the prompt.
5065 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5068 (main): Use threads_started_barrier to wait for all threads to
5069 start. Main thread no longer calls thread_function. Exit after
5071 (loop): New function.
5072 (thread_function): Wait on threads_started_barrier barrier. Call
5073 'loop' at each iteration.
5074 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5075 threads have started, instead of hardcoding number of "next"
5076 steps. Use an access watchpoint instead of a write watchpoint.
5078 2015-01-09 Pedro Alves <palves@redhat.com>
5080 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5081 (thread_func): Wait on barrier.
5082 (main): Wait for all threads to start before stopping GDB.
5083 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5085 (thread1_func, thread2_func): Wait on barrier.
5086 (main): Wait for all threads to start before stopping GDB.
5087 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5089 (thread1_func, thread2_func): Wait on barrier.
5090 (main): Wait for all threads to start before stopping GDB.
5092 2015-01-09 Pedro Alves <palves@redhat.com>
5094 * gdb.threads/attach-many-short-lived-threads.c: New file.
5095 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5097 2014-01-09 Pedro Alves <palves@redhat.com>
5099 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5100 instead of to thread 2.
5101 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5102 Add barrier around each pthread_create call instead of around all
5104 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5105 Set a break on thread_function and have the child threads hit it
5108 2015-01-09 Pedro Alves <palves@redhat.com>
5110 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5111 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5113 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5114 checking whether the target board is remote.
5115 * gdb.multi/multi-attach.exp: Likewise.
5116 * gdb.python/py-sync-interp.exp: Likewise.
5117 * gdb.server/ext-attach.exp: Likewise.
5118 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5119 tests that need to attach, instead of checking whether the target
5120 board is remote at the top of the file.
5122 2015-01-08 Yao Qi <yao@codesourcery.com>
5124 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5126 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5128 Fix testcase compilation.
5129 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5131 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5133 * gdb.python/py-type.exp: Add a couple test about empty
5134 array creation, and negative-length array creation.
5136 2015-01-02 Doug Evans <xdje42@gmail.com>
5138 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5140 2015-01-02 Doug Evans <dje@google.com>
5142 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5144 2014-12-29 Yao Qi <yao@codesourcery.com>
5146 * gdb.trace/entry-values.exp: Update comments. Rename variable
5147 bar_call_foo to returned_from_foo.
5149 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5152 * gdb.linespec/break-asm-file.c: New file.
5153 * gdb.linespec/break-asm-file.exp: New file.
5154 * gdb.linespec/break-asm-file0.s: New file.
5155 * gdb.linespec/break-asm-file1.s: New file.
5157 2014-12-18 Nigel Stephens <nigel@mips.com>
5158 Maciej W. Rozycki <macro@codesourcery.com>
5160 * gdb.base/float.exp: Handle the new output from "info float" on
5163 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5165 Fix MinGW compilation.
5166 * gdb.compile/compile-ops.exp: Update untested message if
5167 !skip_compile_feature_tests.
5168 * gdb.compile/compile-setjmp.exp: Likewise.
5169 * gdb.compile/compile-tls.exp: Likewise.
5170 * gdb.compile/compile.exp: Likewise.
5171 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5172 supported on this host".
5174 2014-12-16 Doug Evans <xdje42@gmail.com>
5176 * boards/stabs.exp: New file.
5178 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5180 * gdb.base/completion.exp: Adjust to format changes of "maint
5181 print user-registers".
5183 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5186 * gdb.arch/aarch64-fp.c: New file.
5187 * gdb.arch/aarch64-fp.exp: New file.
5189 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5191 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5192 r210637, r210913, r211666, r215400, r215817).
5194 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5195 * dg-extract-results.py: New file.
5196 * dg-extract-results.sh: Use it if the environment seems
5199 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5201 * dg-extract-results.py (parse_run): Handle warnings that
5202 are printed before a test harness is run.
5204 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5206 * dg-extract-results.py (Named): Remove __cmp__ method.
5207 (output_variation): Use a key to sort variation.harnesses.
5209 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5211 * dg-extract-results.py: For Python 3, force sys.stdout to
5212 handle surrogate escape sequences.
5213 (safe_open): New function.
5214 (output_segment, main): Use it.
5216 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5218 * dg-extract-results.py (Prog.result_re): Include options
5221 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5223 * dg-extract-results.py (output_variation): Always sort if
5226 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5228 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5229 as long as we get pagination notifications.
5231 2014-12-15 Jason Merrill <jason@redhat.com>
5233 * Makefile.in (check-gdb.%): Restore.
5234 * README: Mention it.
5236 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5238 * gdb.ada/str_uninit: New testcase.
5240 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5243 * gdb.base/vla-stub-define.c: New file.
5244 * gdb.base/vla-stub.c: New file.
5245 * gdb.base/vla-stub.exp: New file.
5247 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5248 Jan Kratochvil <jan.kratochvil@redhat.com>
5249 Tom Tromey <tromey@redhat.com>
5251 * configure.ac: Add gdb.compile/.
5252 * configure: Regenerate.
5253 * gdb.compile/Makefile.in: New file.
5254 * gdb.compile/compile-ops.exp: New file.
5255 * gdb.compile/compile-ops.c: New file.
5256 * gdb.compile/compile-tls.c: New file.
5257 * gdb.compile/compile-tls.exp: New file.
5258 * gdb.compile/compile-constvar.S: New file.
5259 * gdb.compile/compile-constvar.c: New file.
5260 * gdb.compile/compile-mod.c: New file.
5261 * gdb.compile/compile-nodebug.c: New file.
5262 * gdb.compile/compile-setjmp-mod.c: New file.
5263 * gdb.compile/compile-setjmp.c: New file.
5264 * gdb.compile/compile-setjmp.exp: New file.
5265 * gdb.compile/compile-shlib.c: New file.
5266 * gdb.compile/compile.c: New file.
5267 * gdb.compile/compile.exp: New file.
5268 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5270 2014-12-12 Tom Tromey <tromey@redhat.com>
5272 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5273 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5275 2014-12-12 Doug Evans <dje@google.com>
5277 * lib/gdb-python.exp (get_python_valueof): New function.
5278 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5280 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5282 * gdb.base/completion.exp: Add test for completion of "info
5285 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5287 * gdb.base/func-ptrs.c: New file.
5288 * gdb.base/func-ptrs.exp: New file.
5290 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5292 PR breakpoints/17012
5293 * gdb.base/dprintf-detach.c: New file.
5294 * gdb.base/dprintf-detach.exp: New file.
5296 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5298 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5299 * lib/gdb.exp (target_is_gdbserver): New procedure.
5301 2014-12-08 Doug Evans <dje@google.com>
5303 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5305 2014-12-05 Yao Qi <yao@codesourcery.com>
5307 * gdb.guile/scm-error.exp: Remove the third argument to
5308 gdb_remote_download.
5309 * gdb.guile/scm-frame-args.exp: Likewise.
5310 * gdb.guile/scm-section-script.exp: Likewise.
5312 2014-12-05 Yao Qi <yao@codesourcery.com>
5314 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5316 2014-12-04 Doug Evans <dje@google.com>
5318 * gdb.python/py-objfile.exp: Add tests for
5319 objfile.add_separate_debug_file.
5321 2014-12-04 Doug Evans <dje@google.com>
5323 * lib/gdb.exp (get_build_id): New function.
5324 (build_id_debug_filename_get): Rewrite to use it.
5325 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5327 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5329 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5330 `method(long)', not just 0x0.
5331 * gdb.cp/nsalias.exp: Align code labels to 4.
5332 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5333 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5334 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5335 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5336 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5337 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5339 2014-12-02 Doug Evans <dje@google.com>
5342 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5343 * gdb.cp/anon-ns2.cc: ... here. New file.
5344 * gdb.cp/anon-ns.exp: Update.
5346 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5348 * gdb.python/py-events.py (inferior_call_handler): New.
5349 (register_changed_handler, memory_changed_handler): New.
5350 (test_events.invoke): Register new handlers.
5351 * gdb.python/py-events.exp: Add tests for inferior call,
5352 memory_changed and register_changed events.
5354 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5356 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5357 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5358 if the linker doesn't understand this.
5360 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5362 * gdb.python/python.exp: Change expected reply to help().
5364 2014-12-01 Yao Qi <yao@codesourcery.com>
5366 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5367 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5368 * configure: Re-generated.
5370 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5372 * gdb.cp/chained-calls.cc: New file.
5373 * gdb.cp/chained-calls.exp: New file.
5374 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5376 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5378 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5379 * gdb.dwarf2/symtab-producer.exp: Same.
5380 * gdb.gdb/python-interrupts.exp: Same.
5381 * gdb.gdb/python-selftest.exp: Same.
5382 * gdb.python/py-linetable.exp: Same.
5383 * gdb.python/py-type.exp: Same.
5384 * gdb.python/py-value-cc.exp: Same.
5385 * gdb.python/py-value.exp: Same.
5387 2014-11-28 Yao Qi <yao@codesourcery.com>
5389 * gdb.base/break-probes.exp: Match library name prefixed with
5392 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5394 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5395 test expected output. Add parentheses for the call to print.
5396 Remove L suffix from integers.
5398 2014-11-26 Doug Evans <dje@google.com>
5400 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5402 2014-11-22 Yao Qi <yao@codesourcery.com>
5404 * gdb.trace/entry-values.c: Remove asms.
5405 (foo): Add foo_label.
5406 (bar): Add bar_label.
5407 * gdb.trace/entry-values.exp: Remove code computing foo's
5408 length and bar's length.
5409 (Dwarf::assemble): Invoke function_range for bar and use
5410 MACRO_AT_func for foo.
5412 2014-11-22 Yao Qi <yao@codesourcery.com>
5414 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5415 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5416 Use .Lgcc43_procstart instead of gcc43.
5418 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5420 * gdb.ada/n_arr_bound: New testcase.
5422 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5424 PR breakpoints/10737
5425 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5426 test_catch_syscall_multi_arch.
5427 (test_catch_syscall_multi_arch): New function.
5429 2014-11-20 Doug Evans <xdje42@gmail.com>
5431 * gdb.base/maint.exp: Update expected output.
5433 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5435 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5436 4-byte instruction on S390.
5438 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5440 * gdb.ada/arr_arr: New testcase.
5442 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5444 * gdb.ada/pkd_arr_elem: New Testcase.
5446 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5448 * gdb.reverse/break-precsave: Expect completion message for
5450 * gdb.reverse/consecutive-precsave.exp: Likewise.
5451 * gdb.reverse/finish-precsave.exp: Likewise.
5452 * gdb.reverse/i386-precsave.exp: Likewise.
5453 * gdb.reverse/machinestate-precsave.exp: Likewise.
5454 * gdb.reverse/sigall-precsave.exp: Likewise.
5455 * gdb.reverse/solib-precsave.exp: Likewise.
5456 * gdb.reverse/step-precsave.exp: Likewise.
5457 * gdb.reverse/until-precsave.exp: Likewise.
5458 * gdb.reverse/watch-precsave.exp: Likewise.
5460 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5462 * gdb.base/bp-permanent.c: Include unistd.h.
5463 * gdb.python/py-framefilter-mi.c (main): Add return type.
5464 * gdb.python/py-framefilter.c (main): Likewise.
5465 * gdb.trace/actions-changed.c (main): Likewise.
5467 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5469 * gdb.mi/until.c: Add eye-catchers.
5470 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5473 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5475 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5476 function header variants in break1.c.
5477 * gdb.base/ena-dis-br.exp: Likewise.
5478 * gdb.base/hbreak2.exp: Likewise.
5479 * gdb.reverse/until-precsave.exp: Drop references to removed
5480 non-prototype function header variants in ur1.c.
5481 * gdb.reverse/until-reverse.exp: Likewise.
5483 2014-11-17 Petr Machata <pmachata@redhat.com>
5485 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5486 ${_cu_offset_size} bytes abbrev offset.
5488 2014-11-15 Doug Evans <xdje42@gmail.com>
5491 * gdb.base/line-symtabs.exp: New file.
5492 * gdb.base/line-symtabs.c: New file.
5493 * gdb.base/line-symtabs.h: New file.
5495 2014-11-14 Yao Qi <yao@codesourcery.com>
5497 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5498 (func): Add label func_label.
5499 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5500 Replace low_pc and high_pc with MACRO_AT_range.
5501 Replace name, low_pc and high_pc with MACRO_AT_func.
5503 2014-11-14 Yao Qi <yao@codesourcery.com>
5505 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5506 Replace name, low_pc and high_pc with MACRO_AT_func.
5508 2014-11-14 Yao Qi <yao@codesourcery.com>
5510 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5511 produce debug information.
5512 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5514 2014-11-14 Yao Qi <yao@codesourcery.com>
5516 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5517 object and get function length.
5518 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5520 (top-level): Replace gdb_compile and clean_restart with
5521 prepare_for_testing.
5522 * gdb.dwarf2/main.c (main): Add label main_label.
5524 2014-11-14 Yao Qi <yao@codesourcery.com>
5526 * lib/dwarf.exp (function_range): New procedure.
5527 (Dwarf::_handle_macro_at_func): New procedure.
5528 (Dwarf::_handle_macro_at_range): New procedure.
5529 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5531 2014-11-14 Yao Qi <yao@codesourcery.com>
5533 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5534 (_handle_attribute): New procedure.
5536 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5538 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5539 * gdb.base/call-sc.c (zed): Likewise.
5540 * gdb.base/checkpoint.c (main): Likewise.
5541 * gdb.base/dump.c (main): Likewise.
5542 * gdb.base/gcore.c (main): Likewise.
5543 * gdb.base/huge.c (main): Likewise.
5544 * gdb.base/multi-forks.c (main): Likewise.
5545 * gdb.base/pr10179-a.c (main): Likewise.
5546 * gdb.base/savedregs.c (main): Likewise.
5547 * gdb.base/sigaltstack.c (main): Likewise.
5548 * gdb.base/siginfo.c (main): Likewise.
5549 * gdb.base/structs.c (zed): Likewise.
5550 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5551 * gdb.mi/mi-syn-frame.c (main): Likewise.
5552 * gdb.mi/until.c (foo, main): Likewise.
5553 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5554 * gdb.base/solib-weak.c (foo): Declare.
5555 * gdb.base/attach-twice.c: Include stdio.h.
5556 * gdb.base/weaklib1.c: Likewise.
5557 * gdb.base/weaklib2.c: Likewise.
5558 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5559 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5561 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5562 * gdb.mi/mi-exit-code.c: Likewise.
5563 * gdb.base/break-interp-lib.c: Include string.h.
5564 * gdb.base/coremaker.c: Likewise.
5565 * gdb.base/testenv.c: Likewise.
5566 * gdb.python/py-finish-breakpoint.c: Likewise.
5567 * gdb.base/inferior-died.c: Include sys/wait.h.
5568 * gdb.base/fileio.c: Include time.h.
5569 * gdb.base/async-shell.c: Include unistd.h.
5570 * gdb.base/dprintf-non-stop.c: Likewise.
5571 * gdb.base/info-os.c: Likewise.
5572 * gdb.mi/mi-console.c: Likewise.
5573 * gdb.mi/watch-nonstop.c: Likewise.
5574 * gdb.python/py-events.c: Likewise.
5575 * gdb.base/async.c (baz): Move up before its invocation.
5576 * gdb.base/code_elim2.c (my_global_func): Likewise.
5577 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5578 * gdb.base/advance.c (func2): Likewise.
5580 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5582 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5584 * gdb.base/annota3.c: Likewise.
5585 * gdb.base/async.c: Likewise.
5586 * gdb.base/average.c: Likewise.
5587 * gdb.base/call-ar-st.c: Likewise.
5588 * gdb.base/call-rt-st.c: Likewise.
5589 * gdb.base/call-sc.c: Likewise.
5590 * gdb.base/call-strs.c: Likewise.
5591 * gdb.base/ending-run.c: Likewise.
5592 * gdb.base/execd-prog.c: Likewise.
5593 * gdb.base/exprs.c: Likewise.
5594 * gdb.base/foll-exec.c: Likewise.
5595 * gdb.base/foll-fork.c: Likewise.
5596 * gdb.base/foll-vfork.c: Likewise.
5597 * gdb.base/funcargs.c: Likewise.
5598 * gdb.base/gcore.c: Likewise.
5599 * gdb.base/jump.c: Likewise.
5600 * gdb.base/langs0.c: Likewise.
5601 * gdb.base/langs1.c: Likewise.
5602 * gdb.base/langs2.c: Likewise.
5603 * gdb.base/mips_pro.c: Likewise.
5604 * gdb.base/nodebug.c: Likewise.
5605 * gdb.base/opaque0.c: Likewise.
5606 * gdb.base/opaque1.c: Likewise.
5607 * gdb.base/recurse.c: Likewise.
5608 * gdb.base/run.c: Likewise.
5609 * gdb.base/scope0.c: Likewise.
5610 * gdb.base/scope1.c: Likewise.
5611 * gdb.base/setshow.c: Likewise.
5612 * gdb.base/setvar.c: Likewise.
5613 * gdb.base/shmain.c: Likewise.
5614 * gdb.base/shr1.c: Likewise.
5615 * gdb.base/shr2.c: Likewise.
5616 * gdb.base/sigall.c: Likewise.
5617 * gdb.base/signals.c: Likewise.
5618 * gdb.base/so-indr-cl.c: Likewise.
5619 * gdb.base/solib2.c: Likewise.
5620 * gdb.base/structs.c: Likewise.
5621 * gdb.base/sum.c: Likewise.
5622 * gdb.base/vforked-prog.c: Likewise.
5623 * gdb.base/watchpoint.c: Likewise.
5624 * gdb.reverse/shr2.c: Likewise.
5625 * gdb.reverse/until-reverse.c: Likewise.
5626 * gdb.reverse/ur1.c: Likewise.
5627 * gdb.reverse/watch-reverse.c: Likewise.
5629 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5631 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5633 * gdb.base/sepdebug.exp: Drop references to removed code.
5635 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5638 variant. Preserve original line numbering.
5639 * gdb.base/list1.c: Likewise.
5641 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5643 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5645 * gdb.base/break1.c: Likewise.
5646 * gdb.base/break.exp: Drop references to removed code.
5648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5650 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5655 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5657 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5659 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5660 logic into perform_all_tests() and invoke it with and without
5661 function header prototypes.
5662 (do_function_calls): Remove conditional XFAIL for PR 5318.
5663 (rerun_and_prepare): Remove duplicate code.
5664 (perform_all_tests): New. Main logic moved here.
5666 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5668 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5669 code guarded by #ifdef NO_PROTOTYPES.
5670 (t_double_many_args): Likewise.
5671 (DEF_FUNC_MANY_ARGS_1): Likewise.
5672 (DEF_FUNC_VALUES_1): Likewise.
5673 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5674 guarded by #ifdef PROTOTYPES.
5676 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5678 * gdb.mi/mi-console.c: Add eye-catcher.
5679 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5680 instead of literal line number.
5682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5684 * gdb.base/shr2.c: Add eye-catcher.
5685 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5688 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5690 * gdb.base/jump.c: Add eye-catchers.
5691 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5694 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5696 * gdb.base/execd-prog.c: Add eye-catchers.
5697 * gdb.base/foll-exec.c: Likewise.
5698 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5701 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5703 * gdb.base/ending-run.c: Add eye-catchers.
5704 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5705 literal line numbers.
5707 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5709 * gdb.base/call-rt-st.c: Add eye-catchers.
5710 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5711 literal line numbers.
5713 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5715 * gdb.base/call-ar-st.c: Add eye-catchers.
5716 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5717 literal line numbers.
5719 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5721 * gdb.base/average.c: Add eye-catchers.
5722 * gdb.base/sum.c: Likewise.
5723 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5724 regexps dynamically.
5726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5728 * gdb.base/solib1.c: Add eye-catchers.
5729 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5730 literal line numbers.
5732 2014-11-12 Pedro Alves <palves@redhat.com>
5734 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5737 2014-11-12 Pedro Alves <palves@redhat.com>
5739 * gdb.arch/i386-bp_permanent.c: New file.
5740 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5741 (srcfile): Set to i386-bp_permanent.c.
5742 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5743 that stepi does not execute the 'leave' instruction, instead of
5744 testing it does execute.
5745 * gdb.base/bp-permanent.c: New file.
5746 * gdb.base/bp-permanent.exp: New file.
5748 2014-11-10 Doug Evans <xdje42@gmail.com>
5751 * gdb.base/symtab-search-order.exp: New file.
5752 * gdb.base/symtab-search-order.c: New file.
5753 * gdb.base/symtab-search-order-1.c: New file.
5754 * gdb.base/symtab-search-order-shlib-1.c: New file.
5756 2014-11-07 Pedro Alves <palves@redhat.com>
5759 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5762 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5765 * gdb.cp/pr17494.cc: New file.
5766 * gdb.cp/pr17494.exp: New file.
5768 2014-11-02 Yao Qi <yao@codesourcery.com>
5770 * gdb.python/python.exp: Get working directory and match the
5771 output of "set extended-prompt \\w " with it.
5773 2014-10-30 Doug Evans <dje@google.com>
5775 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5777 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5780 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5782 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5783 * gdb.base/realname-expand.exp: Likewise.
5784 * gdb.linespec/macro-relative.exp: Likewise.
5786 2014-10-29 Pedro Alves <palves@redhat.com>
5789 * gdb.threads/schedlock.c (some_function): New function.
5790 (call_function): New global.
5791 (MAYBE_CALL_SOME_FUNCTION): New macro.
5792 (thread_function): Call it.
5793 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5794 and use it instead of a global counter. Adjust all callers.
5795 (get_current_thread): Use "find current thread" for test message
5796 here rather than having all callers pass down the same string.
5797 (goto_loop): New procedure, factored out from ...
5798 (my_continue): ... this.
5799 (step_ten_loops): Change parameter from test message to command to
5801 (list_count): Delete global.
5802 (check_result): New procedure, factored out from duplicate top
5804 (continue tests): Wrap in with_test_prefix.
5805 (test_step): New procedure, factored out from duplicate top level
5807 (top level): Test "step" in combination with all scheduler-locking
5808 modes. Test "next" in combination with all scheduler-locking
5809 modes, and in combination with stepping over a function call or
5811 * gdb.threads/next-bp-other-thread.c: New file.
5812 * gdb.threads/next-bp-other-thread.exp: New file.
5814 2014-10-29 Pedro Alves <palves@redhat.com>
5817 * gdb.python/python.exp: Test a multi-line command that spawns
5819 * gdb.base/multi-line-starts-subshell.exp: New file.
5821 2014-10-29 Yao Qi <yao@codesourcery.com>
5823 * gdb.base/fileio.exp: Make directories on host.
5825 2014-10-29 Yao Qi <yao@codesourcery.com>
5827 * gdb.base/fileio.c (test_write): Close the file.
5829 2014-10-28 Pedro Alves <palves@redhat.com>
5832 * gdb.base/sigstep.c (no_handler): New global.
5833 (main): If 'no_handler is true, set the signal handlers to
5835 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5836 with_sw_watch and no_handler parameters. Handle them.
5837 (top level) <stepping over handler when stopped at a breakpoint
5838 test>: Add a test axis for testing with a software watchpoint, and
5839 another for testing with the signal handler set to SIG_IGN.
5840 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5841 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5843 2014-10-28 Pedro Alves <palves@redhat.com>
5846 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5847 * gdb.base/sigstep.exp (other_handler_location): New global.
5848 (advance): Support stepping into the signal handler, and running
5849 commands while in the handler.
5850 (in_handler_map): New global.
5851 (top level): In the advance test, add combinations for getting
5852 into the handler with stepping commands, and for running commands
5853 in the handler. Add comment descripting the advancei tests.
5855 2014-10-28 Pedro Alves <palves@redhat.com>
5857 * gdb.base/sigstep.exp: Use build_executable instead of
5858 prepare_for_testing.
5859 (top level): Move code that starts GDB, runs to main and creates a
5861 (restart): ... this new procedure.
5862 (top level): Move backtrace from signal handler test to ...
5863 (validate_backtrace): ... this new procedure.
5864 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5865 with_test_prefix. Always restart GDB.
5866 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5867 with_test_prefix. Always restart GDB. No need to delete
5868 breakpoints after the test.
5869 (test_skip_handler): Remove prefix parameter.
5870 (skip_over_handler, breakpoint_to_handler)
5871 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5872 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5873 restart GDB. No need to delete breakpoints after the test.
5874 (top level): Use foreach to call the test procedures with
5877 2014-10-28 Pedro Alves <palves@redhat.com>
5879 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5880 instead of GNATS numbers.
5881 * gdb.base/sigbpt.exp: Likewise.
5882 * gdb.base/siginfo.exp: Likewise.
5883 * gdb.base/sigstep.exp: Likewise.
5885 2014-10-27 Pedro Alves <palves@redhat.com>
5887 * gdb.base/sigstep.c (dummy): New global.
5888 (main): Issue a couple writes to the new global.
5889 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5891 (skip_over_handler): Use test_skip_handler.
5892 (top level): Call skip_over_handler for stepi and nexti too.
5893 (breakpoint_over_handler): Use test_skip_handler.
5894 (top level): Call breakpoint_over_handler for stepi and nexti too.
5896 2014-10-27 Yao Qi <yao@codesourcery.com>
5898 * gdb.trace/tfile.c (adjust_function_address)
5899 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5900 function descriptor.
5902 2014-10-24 Don Breazeal <donb@codesourcery.com>
5904 * gdb.base/foll-fork.exp (test_follow_fork,
5905 catch_fork_child_follow): Check for updated fork messages emitted
5907 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5908 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5909 vfork_and_exec_child_follow_through_step): Check for updated vfork
5910 messages emitted from infrun.c.
5912 2014-10-24 Pedro Alves <palves@redhat.com>
5914 * gdb.base/corefile.exp: Remove references to ultrix.
5915 * gdb.base/interrupt.exp: Likewise.
5916 * gdb.base/whatis.exp: Likewise.
5917 * gdb.gdb/selftest.exp: Likewise.
5918 * gdb.threads/manythreads.exp: Likewise.
5919 * gdb.threads/print-threads.exp: Likewise.
5920 * gdb.threads/pthreads.exp:: Likewise.
5921 * gdb.threads/schedlock.exp: Likewise.
5923 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5925 * gdb.cp/non-trivial-retval.cc: Add a test case.
5926 * gdb.cp/non-trivial-retval.exp: Add a test.
5928 2014-10-20 Yao Qi <yao@codesourcery.com>
5930 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5931 * gdb.python/py-objfile-script-gdb.py: New file.
5932 * gdb.python/py-objfile-script.exp: Update reference to
5933 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5934 of remote_download. Remove the dest file.
5936 2014-10-20 Yao Qi <yao@codesourcery.com>
5938 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5939 * gdb.base/step-line.exp: Likewise.
5940 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5941 * gdb.dwarf2/dw2-basic.exp: Likewise.
5942 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5943 * gdb.dwarf2/dw2-filename.exp: Likewise.
5944 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5945 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5946 * gdb.dwarf2/dw2-producer.exp: Likewise.
5947 * gdb.dwarf2/mac-fileno.exp: Likewise.
5948 * gdb.python/py-frame-args.exp: Likewise.
5949 * gdb.python/py-framefilter.exp: Likewise.
5950 * gdb.python/py-mi.exp: Likewise.
5951 * gdb.python/py-objfile-script.exp: Likewise
5952 * gdb.python/py-pp-integral.exp: Likewise.
5953 * gdb.python/py-pp-re-notag.exp: Likewise.
5954 * gdb.python/py-prettyprint.exp: Likewise.
5955 * gdb.python/py-section-script.exp: Likewise.
5956 * gdb.python/py-typeprint.exp: Likewise.
5957 * gdb.python/py-xmethods.exp: Likewise.
5958 * gdb.stabs/weird.exp: Likewise.
5959 * gdb.xml/tdesc-regs.exp: Likewise.
5961 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5963 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5964 (out_cu): Use addr_len for the size of addresses.
5965 (out_line): Likewise. Size DW_LNE_set_address instruction
5966 according to addr_len.
5967 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5968 (FUNC): Add START_INSNS to definition.
5970 2014-10-18 Yao Qi <yao@codesourcery.com>
5972 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5973 gdb_has_argv0 return true.
5974 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5975 check [target_info exists noargs], check [gdb_has_argv0]
5977 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5978 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5981 2014-10-17 Doug Evans <dje@google.com>
5983 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5985 * gdb.python/py-events.py: Add clear_objfiles event.
5987 2014-10-17 Doug Evans <dje@google.com>
5989 * gdb.python/py-objfile.exp: Test progspace attribute.
5991 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5993 * gdb.guile/scm-breakpoint.exp: Do not assume any
5994 directory separators when matching source file paths.
5995 * gdb.python/py-breakpoint.exp: Likewise.
5996 * gdb.reverse/break-precsave.exp: Likewise.
5997 * gdb.reverse/break-reverse.exp: Likewise.
5998 * gdb.reverse/consecutive-precsave.exp: Likewise.
5999 * gdb.reverse/finish-precsave.exp: Likewise.
6000 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6001 * gdb.reverse/finish-reverse.exp: Likewise.
6002 * gdb.reverse/i386-precsave.exp: Likewise.
6003 * gdb.reverse/i387-env-reverse.exp: Likewise.
6004 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6005 * gdb.reverse/machinestate-precsave.exp: Likewise.
6006 * gdb.reverse/machinestate.exp: Likewise.
6007 * gdb.reverse/sigall-precsave.exp: Likewise.
6008 * gdb.reverse/solib-precsave.exp: Likewise.
6009 * gdb.reverse/step-precsave.exp: Likewise.
6010 * gdb.reverse/until-precsave.exp: Likewise.
6011 * gdb.reverse/watch-precsave.exp: Likewise.
6012 * gdb.reverse/watch-reverse.exp: Likewise.
6014 2014-10-17 Yao Qi <yao@codesourcery.com>
6016 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6017 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6019 2014-10-17 Pedro Alves <palves@redhat.com>
6022 * gdb.base/bg-execution-repeat.c: New file.
6023 * gdb.base/bg-execution-repeat.exp: New file.
6025 2014-10-17 Pedro Alves <palves@redhat.com>
6028 * gdb.base/continue-all-already-running.c: New file.
6029 * gdb.base/continue-all-already-running.exp: New file.
6031 2014-10-17 Pedro Alves <palves@redhat.com>
6034 * gdb.base/annota-input-while-running.c: New file.
6035 * gdb.base/annota-input-while-running.exp: New file.
6037 2014-10-17 Pedro Alves <palves@redhat.com>
6039 * gdb.base/callfuncs.exp: emove references to osf.
6040 * gdb.base/sigall.exp: Likewise.
6041 * gdb.gdb/selftest.exp: Likewise.
6042 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6043 * gdb.mi/non-stop.c: Likewise.
6044 * gdb.mi/pthreads.c: Likewise.
6045 * gdb.reverse/sigall-precsave.exp: Likewise.
6046 * gdb.reverse/sigall-reverse.exp: Likewise.
6047 * gdb.threads/pthreads.c: Likewise.
6048 * gdb.threads/pthreads.exp: Likewise.
6050 2014-10-17 Yao Qi <yao@codesourcery.com>
6052 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6053 check 'target_info exists noargs'.
6054 (test_command_prompt_position): Likewise.
6055 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6057 (progvar_simple_while_test): Likewise.
6058 (progvar_complex_if_while_test): Likewise.
6059 (if_while_breakpoint_command_test): Likewise.
6060 (infrun_breakpoint_command_test): Likewise.
6061 (breakpoint_command_test): Likewise.
6062 (watchpoint_command_test): Likewise.
6063 (bp_deleted_in_command_test): Likewise.
6064 (temporary_breakpoint_commands): Likewise.
6066 2014-10-16 Yao Qi <yao@codesourcery.com>
6068 * gdb.base/remotetimeout.exp: Remove noargs checking.
6070 2014-10-15 Pedro Alves <palves@redhat.com>
6073 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6074 * gdb.base/breakpoint-in-ro-region.exp
6075 (probe_target_hardware_step): New procedure.
6076 (top level): Probe hardware stepping and hardware breakpoint
6077 support. Test stepping through a read-only region, with both
6078 "breakpoint auto-hw" on and off and both "always-inserted" on and
6081 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6083 * gdb.dlang/demangle.exp: Update for demangling changes.
6085 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6087 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6088 * gdb.cp/non-trivial-retval.exp: Add new tests.
6090 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6094 * gdb.cp/non-trivial-retval.cc: New file.
6095 * gdb.cp/non-trivial-retval.exp: New file.
6097 2014-10-15 Yao Qi <yao@codesourcery.com>
6099 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6102 2014-10-15 Yao Qi <yao@codesourcery.com>
6104 * gdb.python/py-symbol.exp: Match file base name if host is
6105 remote, otherwise match file name with dir name.
6106 * gdb.python/py-symtab.exp: Likewise.
6107 * gdb.python/python.exp: Likewise.
6109 2014-10-15 Yao Qi <yao@codesourcery.com>
6111 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6113 * gdb.python/py-symtab.exp: Likewise.
6114 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6117 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6119 * gdb.ada/addr_arith: New testcase.
6121 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6123 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6124 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6125 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6126 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6128 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6130 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6131 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6132 * gdb.arch/stap-eval-lang-ada.exp: New file.
6134 2014-10-14 Yao Qi <yao@codesourcery.com>
6136 * gdb.mi/mi-var-child.c (nothing1): New function.
6137 (nothing2): New function.
6138 (do_children_tests): Set function pointers by nothing1 and
6140 * gdb.mi/mi-var-child.exp: Step over new added statements.
6141 Update test to match the new output.
6142 * gdb.mi/var-cmd.c (nothing1): New function.
6143 (nothing2): New function.
6144 (do_children_tests): Set function pointers by nothing1 and
6146 * gdb.mi/mi-var-display.exp: Update test to match output.
6147 Step to the line specified by $line_dct_nothing.
6148 Increase the number of lines to step.
6150 2014-10-14 Yao Qi <yao@codesourcery.com>
6152 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6154 * gdb.mi/mi2-var-child.exp: Likewise.
6156 2014-10-13 Doug Evans <dje@google.com>
6158 * gdb.python/py-objfile.exp: Change name of file name test.
6160 2014-10-13 Doug Evans <dje@google.com>
6162 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6163 from the start of the CU.
6165 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6166 Yao Qi <yao@codesourcery.com>
6168 Fix "save breakpoints" for "catch" command.
6169 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6170 Remove -nonewline. Match also the added "main" line.
6172 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6174 Fix "save breakpoints" for "disable $bpnum" command.
6175 * gdb.base/save-bp.c (main): Add label.
6176 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6178 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6180 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6182 2014-10-11 Yao Qi <yao@codesourcery.com>
6184 * gdb.server/server-kill.exp: Execute command
6185 "set remote trace-status-packet on" before "tstatus".
6187 2014-10-11 Yao Qi <yao@codesourcery.com>
6189 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6190 (main): Call getppid.
6191 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6192 and continue to it. Read variable "server_pid".
6194 2014-10-11 Yao Qi <yao@codesourcery.com>
6196 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6198 2014-10-11 Yao Qi <yao@codesourcery.com>
6200 * gdb.threads/thread-find.exp: Don't execute command
6202 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6203 * gdb.threads/linux-dp.exp: Don't check the condition
6204 $threads_created equals to zero.
6206 2014-10-10 Pedro Alves <palves@redhat.com>
6208 * gdb.base/bigcore.exp: Remove references to IRIX.
6209 * gdb.base/funcargs.exp: Likewise.
6210 * gdb.base/interrupt.exp: Likewise.
6211 * gdb.base/mips_pro.exp: Likewise.
6212 * gdb.base/nodebug.exp: Likewise.
6213 * gdb.base/setvar.exp: Likewise.
6214 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6216 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6217 Pedro Alves <palves@redhat.com>
6220 * gdb.base/vdso-warning.c: New file.
6221 * gdb.base/vdso-warning.exp: New file.
6223 2014-10-02 Doug Evans <dje@google.com>
6225 * gdb.base/structs.c (main): Don't run forever.
6227 2014-10-02 Pedro Alves <palves@redhat.com>
6229 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6230 (top level) <stop threads 1, stop threads 2>: Use it.
6232 2014-10-02 Pedro Alves <palves@redhat.com>
6234 * gdb.threads/break-while-running.exp (test): Add new
6235 'update_thread_list' argument. Skip "info threads" if false.
6236 (top level): Add new 'update_thread_list' axis.
6238 2014-10-02 Pedro Alves <palves@redhat.com>
6240 PR breakpoints/17431
6241 * gdb.base/execl-update-breakpoints.c: New file.
6242 * gdb.base/execl-update-breakpoints.exp: New file.
6244 2014-10-01 Pedro Alves <palves@redhat.com>
6246 * gdb.base/breakpoint-in-ro-region.c: New file.
6247 * gdb.base/breakpoint-in-ro-region.exp: New file.
6249 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6251 * gdb.mi/mi-exit-code.exp: New file.
6252 * gdb.mi/mi-exit-code.c: New file.
6254 2014-09-30 Yao Qi <yao@codesourcery.com>
6256 * lib/prelink-support.exp (build_executable_own_libs): Error if
6257 the target isn't native.
6259 2014-09-30 Yao Qi <yao@codesourcery.com>
6261 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6264 2014-09-22 Pedro Alves <palves@redhat.com>
6266 * gdb.threads/break-while-running.exp: New file.
6267 * gdb.threads/break-while-running.c: New file.
6269 2014-09-19 Yao Qi <yao@codesourcery.com>
6271 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6272 Invoke test. Restart GDB with --readnow and invoke test again.
6274 2014-09-19 Yao Qi <yao@codesourcery.com>
6276 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6277 proc set_breakpoint_on_gcd_function. Invoke
6278 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6279 invoke set_breakpoint_on_gcd_function again.
6281 2014-09-18 Doug Evans <dje@google.com>
6283 * gdb.dwarf2/symtab-producer.exp: New file.
6285 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6287 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6288 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6289 * gdb.base/global-var-nested-by-dso.c: Likewise.
6290 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6292 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6293 Pedro Alves <palves@redhat.com>
6295 * gdb.base/watch-bitfields.exp: Pass string other than test file
6296 name to prepare_for_testing.
6297 (watch): New procedure.
6298 (expect_watchpoint): Use with_test_prefix.
6299 (top level): Factor out tests to ...
6300 (test_watch_location, test_regular_watch): ... these new
6301 procedures, and use with_test_prefix and gdb_continue_to_end.
6303 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6305 PR breakpoints/12526
6306 * gdb.base/watch-bitfields.exp: New file.
6307 * gdb.base/watch-bitfields.c: New file.
6309 2014-09-16 Pedro Alves <palves@redhat.com>
6311 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6312 software and hardware addresses, not software address against
6315 2014-09-16 Pedro Alves <palves@redhat.com>
6317 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6318 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6320 2014-09-16 Pedro Alves <palves@redhat.com>
6322 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6324 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6325 "*-*-vxworks*" throughout.
6326 * gdb.base/break.exp: Likewise.
6327 * gdb.base/default.exp: Likewise.
6328 * gdb.base/scope.exp: Likewise.
6329 * gdb.base/sepdebug.exp: Likewise.
6330 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6332 * gdb.base/run.c: Likewise.
6333 * gdb.base/sepdebug.c: Likewise.
6334 * gdb.hp/gdb.aCC/run.c: Likewise.
6335 * gdb.reverse/until-reverse.c: Likewise.
6336 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6338 2014-09-16 Yao Qi <yao@codesourcery.com>
6340 * boards/local-remote-host-native.exp: New file.
6342 2014-09-14 Doug Evans <xdje42@gmail.com>
6344 * gdb.threads/queue-signal.c (thread_count): New variable.
6345 (thread_count_mutex, thread_count_condvar): New variables.
6346 (incr_thread_count, wait_all_threads_running): New functions.
6347 (main): Wait for all threads to be in their thread functions.
6349 2014-09-13 Doug Evans <xdje42@gmail.com>
6351 * gdb.threads/queue-signal.c: New file.
6352 * gdb.threads/queue-signal.exp: New file.
6354 2014-09-13 Doug Evans <xdje42@gmail.com>
6356 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6357 be consistent with what default_gdb_init uses.
6358 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6359 the plain text of the prompt. Add some logging printfs.
6360 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6362 2014-09-12 Pedro Alves <palves@redhat.com>
6364 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6365 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6366 * gdb.arch/i386-size-overlap.exp: Likewise.
6367 * gdb.arch/i386-size.exp: Likewise.
6368 * gdb.arch/i386-unwind.exp: Likewise.
6369 * gdb.base/a2-run.exp: Likewise.
6370 * gdb.base/break.exp: Likewise.
6371 * gdb.base/charset.exp: Likewise.
6372 * gdb.base/chng-syms.exp: Likewise.
6373 * gdb.base/commands.exp: Likewise.
6374 * gdb.base/dbx.exp: Likewise.
6375 * gdb.base/find.exp: Likewise.
6376 * gdb.base/funcargs.exp: Likewise.
6377 * gdb.base/jit-simple.exp: Likewise.
6378 * gdb.base/reread.exp: Likewise.
6379 * gdb.base/sepdebug.exp: Likewise.
6380 * gdb.base/step-bt.exp: Likewise.
6381 * gdb.cp/mb-inline.exp: Likewise.
6382 * gdb.cp/mb-templates.exp: Likewise.
6383 * gdb.objc/basicclass.exp: Likewise.
6384 * gdb.threads/killed.exp: Likewise.
6386 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6389 * gdb.arch/powerpc-stackless.S: New file.
6390 * gdb.arch/powerpc-stackless.exp: New file.
6392 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6394 * gdb.base/attach.c: Include unistd.h.
6395 (main): Call alarm. Add label postloop.
6396 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6397 gdb_breakpoint, gdb_continue_to_breakpoint.
6398 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6400 2014-09-11 Pedro Alves <palves@redhat.com>
6403 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6404 * gdb.base/attach.exp (test_command_line_attach_run): New
6406 (top level): Call it.
6408 2014-09-11 Pedro Alves <palves@redhat.com>
6410 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6411 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6412 (do_command_attach_tests): Use spawn_wait_for_attach.
6413 * gdb.base/solib-overlap.exp: Likewise.
6414 * gdb.multi/multi-attach.exp: Likewise.
6415 * gdb.python/py-prompt.exp: Likewise.
6416 * gdb.python/py-sync-interp.exp: Likewise.
6417 * gdb.server/ext-attach.exp: Likewise.
6419 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6421 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6422 command in testcase. Simplify testcase.
6424 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6426 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6428 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6430 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6432 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6434 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6436 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6438 * gdb.dwarf2/dynarr-ptr.c: New file.
6439 * gdb.dwarf2/dynarr-ptr.exp: New file.
6441 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6443 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6444 of 30 rather than hardcoding 120 for a slow test case. Take the
6445 `gdb,timeout' target setting into account for this calculation.
6446 Don't extend the timeout for the test cases that don't need it.
6448 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6450 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6451 a factor of 2 for a slow test case. Take the `gdb,timeout'
6452 target setting into account for this calculation.
6453 * gdb.reverse/until-precsave.exp: Increase the timeout by
6454 a factor of 15 and 3 respectively rather than adding 120
6455 for a pair of slow test cases. Take the `gdb,timeout'
6456 target setting into account for this calculation.
6458 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6460 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6461 timeout, don't pass one down to gdb_expect.
6462 (gdb_expect): Rework timeout selection.
6464 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6466 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6467 exception on timeout.
6468 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6469 (gdbserver_start_extended): Catch any `gdbserver_start' error
6471 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6472 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6473 `gdbserver_gdb_load' error exceptions.
6475 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6477 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6478 120 on waiting for the TCP socket to open.
6480 2014-09-09 Doug Evans <xdje42@gmail.com>
6482 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6483 _caller_matches, _any_caller_is, _any_caller_matches.
6485 2014-09-09 Doug Evans <xdje42@gmail.com>
6487 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6489 2014-09-09 Yao Qi <yao@codesourcery.com>
6491 * gdb.mi/mi-var-display.exp: Set print symbol off.
6493 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6496 * gdb.base/commands.exp: Add tests to verify user-defined
6497 commands with empty bodies.
6498 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6499 python commands in `show user command`.
6500 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6501 scheme commands in `show user command`.
6503 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6506 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6507 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6508 * gdb.python/py-framefilter-invalidarg.exp: New file.
6509 * gdb.python/py-framefilter-invalidarg.py: New file.
6511 2014-09-06 Doug Evans <xdje42@gmail.com>
6514 * gdb.python/py-caller-is.c: New file.
6515 * gdb.python/py-caller-is.exp: New file.
6517 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6520 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6521 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6523 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6526 * gdb.fortran/print-formatted.exp: New file.
6527 * gdb.fortran/print-formatted.f90: Likewise.
6529 2014-09-03 Sasha Smundak <asmundak@google.com>
6531 * gdb.python/py-frame.exp: Test Frame.read_register.
6533 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6536 * gdb.python/py-completion.exp: New file.
6537 * gdb.python/py-completion.py: Likewise.
6539 2014-08-28 Doug Evans <dje@google.com>
6541 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6542 eax,etc. are live with values set by gdb and thus the compiler can't
6544 * gdb.arch/i386-pseudo.c (main): Ditto.
6546 2014-08-27 Doug Evans <dje@google.com>
6548 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6550 2014-08-25 Doug Evans <dje@google.com>
6552 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6555 2014-08-25 Doug Evans <dje@google.com>
6557 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6559 2014-08-24 Yao Qi <yao@codesourcery.com>
6561 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6563 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6565 2014-08-22 Doug Evans <dje@google.com>
6568 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6569 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6570 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6572 2014-08-22 Yao Qi <yao@codesourcery.com>
6574 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6575 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6576 * gdb.python/python.exp: Likewise. Use .py file on the host
6577 instead of the build.
6579 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6581 * gdb.threads/gcore-stale-thread.c: New file.
6582 * gdb.threads/gcore-stale-thread.exp: New file.
6584 2014-08-21 Pedro Alves <palves@redhat.com>
6586 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6587 * gdb.base/gcore-relro-pie.exp: Likewise.
6588 * gdb.base/gcore-relro.exp: Likewise.
6589 * gdb.base/gcore.exp: Likewise.
6590 * gdb.base/print-symbol-loading.exp: Likewise.
6591 * gdb.threads/gcore-thread.exp: Likewise.
6592 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6594 2014-08-20 Pedro Alves <palves@redhat.com>
6595 Jan Kratochvil <jan.kratochvil@redhat.com>
6597 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6599 (EXPECT): Handle READ1 being set.
6600 (all): Depend on EXTRA_RULES.
6601 (check-read1, expect-read1, read1.so, read1): New rules.
6602 * README (Testsuite Parameters): Document the READ1 make variable.
6603 (Race detection): New section.
6604 * configure: Regenerate.
6605 * configure.ac: If build==host==target, and running under a
6606 GNU/glibc system, add read1 to the extra Makefile rules.
6607 (EXTRA_RULES): AC_SUBST it.
6608 * lib/read1.c: New file.
6610 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6612 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6613 the handling of variables declared as a typedef to an array
6614 which a DW_AT_data_location attribute.
6616 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6617 Pedro Alves <palves@redhat.com>
6621 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6624 2014-08-19 Pedro Alves <palves@redhat.com>
6626 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6628 2014-08-19 Yao Qi <yao@codesourcery.com>
6630 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6633 2014-08-18 David Blaikie <dblaikie@gmail.com>
6635 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6637 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6639 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6640 attribute in array range.
6642 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6644 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6646 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6649 * gdb.cp/pr17132.cc: New file.
6650 * gdb.cp/pr17132.exp: New file.
6652 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6654 * gdb.python/py-xmethods.py (A_getarrayind)
6655 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6656 Use 'print' with function call syntax.
6657 (E_method_matcher.match): Fix tab vs space indentation mixup.
6659 2014-08-15 Yao Qi <yao@codesourcery.com>
6661 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6664 2014-08-15 Yao Qi <yao@codesourcery.com>
6666 * gdb.cp/casts.exp: Set print symbol off.
6667 * gdb.cp/class2.exp: Likewise.
6668 * gdb.cp/overload.exp: Likewise.
6669 * gdb.cp/templates.exp: Likewise.
6671 2014-08-11 Doug Evans <dje@google.com>
6673 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6674 (test_load_shlib): Update.
6676 2014-08-09 Yao Qi <yao@codesourcery.com>
6678 * gdb.base/display.exp: Invoke is_address_zero_readable.
6679 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6680 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6681 * gdb.base/hbreak-unmapped.exp: Return if
6682 is_address_zero_readable returns true.
6683 * gdb.base/signest.exp: Likewise.
6684 * gdb.base/signull.exp: Likewise.
6685 * gdb.base/sigbpt.exp: Likewise.
6686 * gdb.guile/scm-disasm.exp: Do the test if
6687 is_address_zero_readable returns false.
6688 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6689 * gdb.python/py-arch.exp: Likewise.
6690 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6691 * lib/gdb.exp (is_address_zero_readable): New proc.
6693 2014-08-09 Yao Qi <yao@codesourcery.com>
6696 * gdb.mi/mi-var-display.exp: Make test messages unique.
6698 2014-08-04 Tom Tromey <tromey@redhat.com>
6700 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6703 2014-08-04 Tom Tromey <tromey@redhat.com>
6705 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6708 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6710 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6711 inner_vla_struct_object_size.
6712 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6715 2014-07-30 Pedro Alves <palves@redhat.com>
6717 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6720 2014-07-29 Yao Qi <yao@codesourcery.com>
6723 * gdb.base/until-nodebug.exp: New.
6725 2014-07-28 Doug Evans <xdje42@gmail.com>
6728 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6729 previously existing parameter, and previously ambiguously spelled
6732 2014-07-28 Will Newton <will.newton@linaro.org>
6734 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6736 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6737 Doug Evans <xdje42@gmail.com>
6740 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6742 2014-07-25 Pedro Alves <palves@redhat.com>
6744 * gdb.threads/signal-command-handle-nopass.c: New file.
6745 * gdb.threads/signal-command-handle-nopass.exp: New file.
6746 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6747 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6748 * gdb.threads/signal-delivered-right-thread.c: New file.
6749 * gdb.threads/signal-delivered-right-thread.exp: New file.
6751 2014-07-25 Pedro Alves <palves@redhat.com>
6753 * gdb.base/double-prompt-target-event-error.exp
6754 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6756 (cancel_pagination_in_target_event): Rework double prompt
6758 * gdb.base/paginate-after-ctrl-c-running.exp
6759 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6761 * gdb.base/paginate-bg-execution.exp
6762 (test_bg_execution_pagination_return)
6763 (test_bg_execution_pagination_cancel): Remove '-notransfer
6765 * gdb.base/paginate-execution-startup.exp
6766 (test_fg_execution_pagination_return)
6767 (test_fg_execution_pagination_cancel): Remove '-notransfer
6769 * gdb.base/paginate-inferior-exit.exp
6770 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6772 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6773 * lib/gdb.exp (pagination_prompt): Run text through
6775 (gdb_test_multiple): Match $pagination_prompt instead of
6777 (string_to_regexp): Move to lib/gdb-utils.exp.
6779 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6781 * gdb.arch/amd64-entry-value-paramref.S: New file.
6782 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6783 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6784 * gdb.arch/amd64-optimout-repeat.S: New file.
6785 * gdb.arch/amd64-optimout-repeat.c: New file.
6786 * gdb.arch/amd64-optimout-repeat.exp: New file.
6788 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6791 * gdb.base/statistics.exp: New file.
6793 2014-07-17 Doug Evans <dje@google.com>
6796 * gdb.base/maint.exp: Update testing of per-command stats.
6798 2014-07-16 Pedro Alves <palves@redhat.com>
6800 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6801 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6802 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6803 (tfile_write_buf): New functions.
6804 (add_memory_block): Rewrite using the above.
6805 (adjust_function_address): New function.
6806 (FUNCTION_ADDRESS): New macro.
6807 (write_basic_trace_file): Remove short_x local, and use
6808 tfile_write_16. Change type of func_addr local to unsigned long
6809 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6810 here. Cast argument of add_memory_block to char pointer.
6811 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6812 (main): Remove parameters.
6813 * gdb.trace/tfile.exp: Remove nowarnings.
6815 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6817 * gdb.base/debug-expr.exp: Test string evaluation with
6818 "debug expression" on.
6820 2014-07-15 Pedro Alves <palves@redhat.com>
6822 * gdb.base/reread.exp: Use clean_restart.
6824 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6826 * gdb.arch/avr-flash-qualifer.c: New.
6827 * gdb.arch/avr-flash-qualifer.exp: New.
6829 2014-07-14 Pedro Alves <palves@redhat.com>
6831 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6832 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6834 2014-07-14 Pedro Alves <palves@redhat.com>
6836 * gdb.base/double-prompt-target-event-error.c: New file.
6837 * gdb.base/double-prompt-target-event-error.exp: New file.
6839 2014-07-14 Pedro Alves <palves@redhat.com>
6842 * gdb.base/paginate-inferior-exit.c: New file.
6843 * gdb.base/paginate-inferior-exit.exp: New file.
6845 2014-07-14 Pedro Alves <palves@redhat.com>
6848 * gdb.base/paginate-bg-execution.c: New file.
6849 * gdb.base/paginate-bg-execution.exp: New file.
6851 2014-07-14 Pedro Alves <palves@redhat.com>
6854 * gdb.base/paginate-execution-startup.c: New file.
6855 * gdb.base/paginate-execution-startup.exp: New file.
6856 * lib/gdb.exp (pagination_prompt): New global.
6857 (default_gdb_spawn): New procedure, factored out from
6859 (default_gdb_start): Adjust to call default_gdb_spawn.
6860 (gdb_spawn): New procedure.
6862 2014-07-14 Pedro Alves <palves@redhat.com>
6864 * lib/gdb.exp (gdb_assert): New procedure.
6865 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6867 2014-07-14 Pedro Alves <palves@redhat.com>
6869 * gdb.base/execution-termios.c: New file.
6870 * gdb.base/execution-termios.exp: New file.
6872 2014-07-14 Tom Tromey <tromey@redhat.com>
6874 * gdb.cp/vla-cxx.cc: New file.
6875 * gdb.cp/vla-cxx.exp: New file.
6877 2014-07-14 Tom Tromey <tromey@redhat.com>
6879 * gdb.reverse/rerun-prec.c: New file.
6880 * gdb.reverse/rerun-prec.exp: New file.
6882 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6883 Maciej W. Rozycki <macro@codesourcery.com>
6885 * lib/gdb-utils.exp: New file.
6886 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6887 inline `gdb_init_command' processing.
6888 (gdb_start_cmd): Likewise.
6889 * lib/mi-support.exp (mi_run_cmd): Likewise.
6890 * README: Document `gdb_init_command' and `gdb_init_commands'.
6892 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6894 Fix false FAIL running under a very long directory name.
6895 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6896 and "set print elements 10000". Twice.
6898 2014-07-11 Yao Qi <yao@codesourcery.com>
6900 * gdb.base/exprs.exp: "set print symbol off".
6902 2014-07-11 Pedro Alves <palves@redhat.com>
6904 * gdb.threads/kill.c: New file.
6905 * gdb.threads/kill.exp: New file.
6907 2014-07-10 Yao Qi <yao@codesourcery.com>
6909 * gdb.trace/tfile.c (write_basic_trace_file)
6910 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6911 address written to trace file.
6913 2014-07-09 Pedro Alves <palves@redhat.com>
6915 * gdb.base/attach-wait-input.exp: New file.
6916 * gdb.base/attach-wait-input.c: New file.
6918 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6920 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6921 setting up test structures.
6922 (main): Call new test function.
6923 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6924 test function, continue into test function and walk test
6927 2014-07-02 Yao Qi <yao@codesourcery.com>
6929 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6930 'bar_start' at the beginning of functions 'foo' and 'bar'
6932 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6933 instead of 'foo' and 'bar'.
6935 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6937 * gdb.btrace/segv.exp: New.
6938 * gdb.btrace/segv.c: New.
6940 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6942 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6945 2014-06-30 Mark Wielaard <mjw@redhat.com>
6947 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6948 vulture, vilify, villar): New volatile array constants.
6949 (vindictive, vegetation): New const volatile array constants.
6950 * gdb.base/volatile.exp: Test volatile and const volatile array
6953 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6955 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6956 target lacks support for awatch, rwatch, or hbreak.
6958 2014-06-27 Yao Qi <yao@codesourcery.com>
6960 * gdb.multi/dummy-frame-restore.exp: New.
6961 * gdb.multi/dummy-frame-restore.c: New.
6963 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6965 * gdb.btrace/gcore.exp: New.
6967 2014-06-23 Pedro Alves <palves@redhat.com>
6969 * gdb.base/watchpoint-reuse-slot.c: New file.
6970 * gdb.base/watchpoint-reuse-slot.exp: New file.
6972 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6974 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6975 progspace's filename in 'info', 'enable' and 'disable' command
6978 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6980 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6981 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6982 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6984 2014-06-20 Gary Benson <gbenson@redhat.com>
6986 * gdb.arch/i386-avx.exp: Fix include file location.
6987 * gdb.arch/i386-sse.exp: Likewise.
6989 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6991 * gdb.dlang/expression.exp: New file.
6993 2014-06-19 Pedro Alves <palves@redhat.com>
6995 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6997 (top level): ... here. Iterate running tests under different
6998 scheduler-locking settings.
7000 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7002 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7003 to DW_FORM_addr and use non-zero addresses.
7005 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7008 * gdb.python/py-xmethods.cc: Add global function call counters and
7009 increment them in their respective functions. Remove "cout"
7011 * gdb.python/py-xmethods.exp: Make tests check the global function
7012 call counters instead of depending on inferior IO.
7014 2014-06-18 Don Breazeal <donb@codesourcery.com>
7016 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7018 (explicit_fork_parent_follow): Deleted procedure.
7019 (explicit_fork_child_follow): Deleted procedure.
7020 (test_follow_fork): New procedure.
7021 (do_fork_tests): Replace calls to deleted procedures with
7022 calls to test_follow_fork and reset GDB for subsequent
7025 2014-06-17 Yao Qi <yao@codesourcery.com>
7027 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7030 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7032 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7033 Initialize ptr and S explicitly.
7034 (skip_type_update_when_not_use_rtti_test): Likewise.
7036 2014-06-16 Keith Seitz <keiths@redhat.com>
7039 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7040 the inferior is started.
7042 2014-06-16 Pedro Alves <palves@redhat.com>
7044 * gdb.base/break-main-file-remove-fail.c: New file.
7045 * gdb.base/break-main-file-remove-fail.exp: New file.
7046 * gdb.base/break-unload-file.exp: Use build_executable instead of
7047 prepare_for_testing.
7048 (test_break): New parameter "initial_load". Handle it.
7049 (top level): Add initial_load cmdline/file axis.
7051 2014-06-12 Tom Tromey <tromey@redhat.com>
7053 * gdb.base/completion.exp: Don't use directory name in test.
7055 2014-06-09 Gary Benson <gbenson@redhat.com>
7057 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7058 separate the always-available ANSI-standard signals from the
7059 signals that require checking.
7061 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7065 2014-06-07 Keith Seitz <keiths@redhat.com>
7069 * gdb.cp/var-tag.cc: New file.
7070 * gdb.cp/var-tag.exp: New file.
7071 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7072 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7073 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7074 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7076 2014-06-06 Doug Evans <xdje42@gmail.com>
7078 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7080 2014-06-06 Pedro Alves <palves@redhat.com>
7082 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7083 in target debug output instead of looking at RSP packets,
7084 disabling the test on any target that uses hardware stepping.
7087 2014-06-06 Pedro Alves <palves@redhat.com>
7089 * gdb.base/break-unload-file.exp: Fix typo.
7091 2014-06-06 Yao Qi <yao@codesourcery.com>
7093 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7094 from "jit_function" to "^jit_function".
7096 2014-06-06 Yao Qi <yao@codesourcery.com>
7098 * gdb.base/async.c (foo): Add one statement.
7099 * gdb.base/async.exp: Get the next instruction address and
7100 match the output of "nexti" by instruction address. Match
7101 the hex address in the output of "finish".
7103 2014-06-06 Gary Benson <gbenson@redhat.com>
7105 * gdb.base/call-signals.c: Remove preprocessor conditionals
7106 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7107 SIGSEGV and SIGTERM.
7108 * gdb.base/sigall.c: Likewise.
7109 * gdb.base/unwindonsignal.c: Likewise.
7110 * gdb.reverse/sigall-reverse.c: Likewise.
7112 2014-06-06 Yao Qi <yao@codesourcery.com>
7114 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7115 readable, skip the test.
7117 2014-06-06 Yao Qi <yao@codesourcery.com>
7119 * gdb.threads/staticthreads.c (thread_function): Move the line
7120 setting breakpoint on forward.
7121 * gdb.threads/staticthreads.exp: Update comments.
7123 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7125 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7126 "history-append! type error".
7128 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7130 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7131 erroneous dprintf expected input.
7133 2014-06-04 Doug Evans <xdje42@gmail.com>
7135 * gdb.guile/scm-generics.exp: Delete.
7137 2014-06-04 Doug Evans <xdje42@gmail.com>
7139 * gdb.guile/scm-breakpoint.exp: Update.
7140 Add tests for breakpoint registration.
7142 2014-06-04 Tom Tromey <tromey@redhat.com>
7144 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7146 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7147 inner_vla_struct, vla_union types. Initialize objects of those
7148 types and compute their sizes.
7150 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7151 Hui Zhu <hui@codesourcery.com>
7153 * gdb.base/fileio.exp: Add test for shell not available as well as
7155 * gdb.base/fileio.c (test_system): Check for shell twice.
7157 2014-06-04 Yao Qi <yao@codesourcery.com>
7159 * gdb.base/auto-connect-native-target.exp: Remove redundant
7160 space from the regexp pattern.
7162 2014-06-04 Yao Qi <yao@codesourcery.com>
7164 * gdb.base/default.exp: Replace "child" with "native" in
7167 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7169 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7170 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7171 * gdb.python/py-xmethods.py: Python script supporting the
7172 new testcase and tests.
7174 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7175 Pedro Alves <palves@redhat.com>
7177 PR breakpoints/17000
7178 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7179 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7181 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7183 * gdb.base/subst.exp: Add tests to verify partial path matching
7186 2014-06-03 Pedro Alves <palves@redhat.com>
7188 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7189 target that doesn't use software single-stepping.
7191 2014-06-03 Pedro Alves <palves@redhat.com>
7193 PR breakpoints/17000
7194 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7195 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7197 2014-06-02 Doug Evans <xdje42@gmail.com>
7199 * gdb.guile/scm-parameter.exp: New file.
7201 2014-06-02 Doug Evans <xdje42@gmail.com>
7203 * gdb.guile/scm-cmd.c: New file.
7204 * gdb.guile/scm-cmd.exp: New file.
7206 2014-06-02 Doug Evans <xdje42@gmail.com>
7208 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7209 pretty-printer lookup.
7210 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7211 (make-pp_s-printer): Call it.
7212 (make-pretty-printer-from-dict): New function.
7213 (lookup-pretty-printer-maker-from-dict): New function.
7214 (*pretty-printer*): Simplify.
7215 (make-objfile-pp_s-printer): New function.
7216 (install-objfile-pretty-printers!): New function.
7217 (make-progspace-pp_s-printer): New function.
7218 (install-progspace-pretty-printers!): New function.
7219 * gdb.guile/scm-progspace.c: New file.
7220 * gdb.guile/scm-progspace.exp: New file.
7222 2014-06-02 Pedro Alves <palves@redhat.com>
7224 * gdb.base/dprintf-bp-same-addr.c: New file.
7225 * gdb.base/dprintf-bp-same-addr.exp: New file.
7227 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7229 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7230 * gdb.arch/powerpc-power.s: Likewise.
7232 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7234 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7236 2014-06-01 Yao Qi <yao@codesourcery.com>
7238 * gdb.base/watchpoint.exp (test_watch_location): Check null
7239 pointer can be dereferenced. If not, do the test, otherwise
7242 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7244 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7246 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7248 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7250 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7251 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7252 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7253 * gdb.arch/amd64-invalid-stack-top.c: New file.
7254 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7256 2014-05-30 Pedro Alves <palves@redhat.com>
7258 PR breakpoints/17000
7259 * gdb.base/sss-bp-on-user-bp.c: New file.
7260 * gdb.base/sss-bp-on-user-bp.exp: New file.
7262 2014-05-30 David Blaikie <dblaikie@gmail.com>
7264 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7265 gnu_inline semantics via attribute.
7266 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7267 source explicitly specifies the required semantics.
7269 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7271 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7273 2014-05-29 Pedro Alves <palves@redhat.com>
7274 Tom Tromey <tromey@redhat.com>
7276 * gdb.base/async-shell.exp: Don't enable target-async.
7277 * gdb.base/async.exp
7278 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7280 (top level): Don't test with "target-async".
7281 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7282 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7283 * gdb.base/inferior-died.exp: Don't enable target-async.
7284 * gdb.base/interrupt-noterm.exp: Likewise.
7285 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7286 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7287 * gdb.mi/mi-nonstop.exp: Likewise.
7288 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7289 * gdb.mi/mi-nsintrall.exp: Likewise.
7290 * gdb.mi/mi-nsmoribund.exp: Likewise.
7291 * gdb.mi/mi-nsthrexec.exp: Likewise.
7292 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7293 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7294 * gdb.python/py-evsignal.exp: Don't enable target-async.
7295 * gdb.python/py-evthreads.exp: Likewise.
7296 * gdb.python/py-prompt.exp: Likewise.
7297 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7298 * gdb.server/solib-list.exp: Don't enable target-async.
7299 * gdb.threads/thread-specific-bp.exp: Likewise.
7300 * lib/mi-support.exp: Adjust to use mi-async.
7302 2014-05-29 Pedro Alves <palves@redhat.com>
7305 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7306 reason, even in sync mode.
7308 2014-05-29 Pedro Alves <palves@redhat.com>
7309 Hui Zhu <hui@codesourcery.com>
7312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7313 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7314 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7315 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7317 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7319 * config/monitor.exp (gdb_target_monitor): Replace use of
7320 "set remotebaud" by "set serial baud".
7322 2014-05-26 Andy Wingo <wingo@igalia.com>
7324 * gdb.guile/scm-breakpoint.exp:
7325 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7326 properties instead of gdb-object-properties.
7328 2014-05-26 Yao Qi <yao@codesourcery.com>
7330 * gdb.server/no-thread-db.exp: Specify source file name
7331 explicitly when setting a breakpoint.
7333 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7335 * gdb.btrace/vdso.c: New.
7336 * gdb.btrace/vdso.exp: New.
7338 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7340 * gdb.base/gcore.exp (capture_command_output): Move ...
7341 * lib/gdb.exp (capture_command_output): ... here.
7343 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7345 * gdb.btrace/data.exp: Test memory access during btrace replay.
7347 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7349 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7351 2014-05-21 Pedro Alves <palves@redhat.com>
7354 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7355 (top level): Test that output related to execution commands is
7356 sent to the console with CLI commands, but not with MI commands.
7357 Test that breakpoint events are always mirrored to the console.
7358 Also expect the new source line to be output after a "next" in
7359 async mode too. Make it a pass/fail test.
7360 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7362 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7364 2014-05-21 Pedro Alves <palves@redhat.com>
7366 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7367 Use them to test variations of "list" after reaching a breakpoint.
7368 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7369 Test "list" with listsize 10 after reaching a breakpoint.
7370 * gdb.python/python.exp (decode_line current location line
7371 number): Adjust expected line number.
7373 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7375 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7376 behavior for $args, pass it directly to "run".
7378 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7380 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7383 2014-05-21 Pedro Alves <palves@redhat.com>
7385 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7386 auto-connect-native-target off".
7387 * gdb.base/auto-connect-native-target.c: New file.
7388 * gdb.base/auto-connect-native-target.exp: New file.
7390 2014-05-21 Pedro Alves <palves@redhat.com>
7392 * gdb.base/default.exp: Test "target native" instead of "target
7395 2014-05-21 Mark Wielaard <mjw@redhat.com>
7397 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7399 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7401 Fix TLS access for -static -pthread.
7402 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7403 <HAVE_TLS> (thread_function, main): Initialize it.
7404 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7406 <$have_tls != "">: Check TLSVAR.
7408 2014-05-21 Pedro Alves <palves@redhat.com>
7410 * gdb.base/dcache-line-read-error.c: New.
7411 * gdb.base/dcache-line-read-error.exp: New.
7413 2014-05-20 Pedro Alves <palves@redhat.com>
7415 * gdb.base/compare-sections.c: New file.
7416 * gdb.base/compare-sections.exp: New file.
7418 2014-05-20 Pedro Alves <palves@redhat.com>
7420 * gdb.base/break-idempotent.c: New file.
7421 * gdb.base/break-idempotent.exp: New file.
7423 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7425 * gdb.btrace/nohist.exp: New.
7427 2014-05-20 Yao Qi <yao@codesourcery.com>
7429 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7430 gdb.reverse directory and gdb_reverse_timeout exists in board
7432 * README: Document gdb_reverse_timeout.
7434 2014-05-20 Yao Qi <yao@codesourcery.com>
7436 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7437 'test_file_name'. Treat args as a string instead of a list.
7438 (gdb_init): Rename argument 'args' by 'test_file_name'.
7440 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7442 * gdb.arch/powerpc-power.exp: New file.
7443 * gdb.arch/powerpc-power.s: New file.
7445 2014-05-16 Doug Evans <dje@google.com>
7447 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7448 * gdb.base/completion.exp: Check that all expected files exist
7449 before doing file completion.
7451 2014-05-16 Doug Evans <dje@google.com>
7453 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7455 (do_syscall_tests_without_xml): Update.
7457 2014-05-16 Pedro Alves <palves@redhat.com>
7459 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7460 instead of "unknown output after running".
7462 2014-05-16 Yao Qi <yao@codesourcery.com>
7464 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7465 file1.txt from host at the end.
7466 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7468 2014-05-15 Doug Evans <dje@google.com>
7470 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7471 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7472 loading file. Add test for TU lookup.
7474 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7476 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7477 calling "-exec-arguments" or "set args" before running the
7480 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7482 * lib/mi-support.exp (mi_expect_stop): Expect message for
7483 inferiors that exit with non-zero exit code.
7485 2014-05-14 Yao Qi <yao@codesourcery.com>
7487 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7488 match absolute path on remote host.
7489 (test_file_list_exec_source_files): Remove "/" from the
7492 2014-05-14 Yao Qi <yao@codesourcery.com>
7494 * boards/local-remote-host-notty.exp (${board}_file): New
7497 2014-05-07 Kyle McMartin <kyle@redhat.com>
7499 Pushed by Joel Brobecker <brobecker@adacore.com>.
7500 * gdb.arch/aarch64-atomic-inst.c: New file.
7501 * gdb.arch/aarch64-atomic-inst.exp: New file.
7503 2014-05-07 Yao Qi <yao@codesourcery.com>
7505 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7506 in current context" too.
7508 2014-05-05 Keith Seitz <keiths@redhat.com>
7510 * gdb.linespec/ls-dollar.exp: Add test for linespec
7511 file:convenience_variable.
7513 2014-05-05 Yao Qi <yao@codesourcery.com>
7515 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7516 traceframes into tfile and ctf trace files. Read data from
7517 trace file and test collected data.
7518 (gdb_collect_locals_test): Likewise.
7519 (gdb_unavailable_registers_test): Likewise.
7520 (gdb_unavailable_floats): Likewise.
7521 (gdb_collect_globals_test): Likewise.
7522 (top-level): Append "ctf" to trace_file_targets if GDB
7525 2014-05-05 Yao Qi <yao@codesourcery.com>
7527 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7529 (gdb_collect_args_test_1): ... it. New proc.
7530 (gdb_collect_locals_test): Move some code to ...
7531 (gdb_collect_locals_test_1): ... it. New proc.
7532 (gdb_unavailable_registers_test): Move some code to ...
7533 (gdb_unavailable_registers_test_1): ... it. New proc.
7534 (gdb_unavailable_floats): Move some code to ...
7535 (gdb_unavailable_floats_1): ... it. New proc.
7537 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7539 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7540 probes to test for bitness recognition.
7541 * gdb.arch/amd64-stap-optional-prefix.exp
7542 (test_probe_value_without_reg): New procedure.
7543 Add code to test for different kinds of bitness.
7545 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7547 PR breakpoints/16889
7548 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7549 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7551 2014-05-01 Pedro Alves <palves@redhat.com>
7553 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7554 gdb_file_cmd if no file is specified.
7555 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7556 last_loaded_file to set the remote exec-file.
7558 2014-05-01 Pedro Alves <palves@redhat.com>
7560 * boards/local-remote-host.exp: New file.
7562 2014-05-01 Pedro Alves <palves@redhat.com>
7564 * boards/local-remote-host.exp: Rename to ...
7565 * boards/local-remote-host-notty.exp: ... this.
7567 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7569 * gdb.ada/dyn_arrayidx: New testcase.
7571 2014-04-26 Yao Qi <yao@codesourcery.com>
7573 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7574 and compute the length of function main. Save it in
7576 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7577 (top-level): Use gdb_compile to compile objects into
7578 executable and restart GDB. Remove invocation to
7579 prepare_for_testing.
7581 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7582 Pedro Alves <palves@redhat.com>
7585 * gdb.multi/multi-attach.c: New file.
7586 * gdb.multi/multi-attach.exp: New file.
7588 2014-04-25 Pedro Alves <palves@redhat.com>
7590 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7592 (top level): Test that "set remote conditional-breakpoints-packet
7593 off" works as intended.
7594 * gdb.base/dprintf.exp: Test that "set remote
7595 breakpoint-commands-packet off" works as intended.
7596 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7598 (top level): Call it.
7599 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7600 remote fast-tracepoints-packet off" works as intended.
7601 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7602 * lib/gdb.exp (gdb_is_target_remote): ... here.
7604 2014-04-24 David Blaikie <dblaikie@gmail.com>
7606 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7607 ensure clang would not discard them.
7608 * gdb.base/gdbvars.c: Ditto.
7609 * gdb.base/memattr.c: Ditto.
7610 * gdb.base/whatis.c: Ditto.
7611 * gdb.python/py-prettyprint.c: Ditto.
7612 * gdb.trace/actions.c: Ditto.
7613 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7614 ensure clang would not discard it.
7616 2014-04-24 David Blaikie <dblaikie@gmail.com>
7618 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7619 clang to emit the full definition of type required by the test
7620 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7622 2014-04-24 David Blaikie <dblaikie@gmail.com>
7624 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7625 coax Clang into emitting the definition of the type.
7626 * gdb.cp/pr10728-x.h (y): Ditto.
7627 * gdb.cp/pr10728-y.cc (y): Ditto.
7629 2014-04-24 David Blaikie <dblaikie@gmail.com>
7631 * gdb.base/label.exp: XFAIL label related tests under Clang.
7632 * gdb.cp/cplabel.exp: Ditto.
7633 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7634 under Clang those using labels.
7636 2014-04-25 Yao Qi <yao@codesourcery.com>
7638 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7640 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7641 partial_label and double_label.
7643 2014-04-24 David Blaikie <dblaikie@gmail.com>
7645 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7647 2014-04-24 David Blaikie <dblaikie@gmail.com>
7649 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7650 of the function to work across GCC and Clang.
7651 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7652 pointer types (const void ** const V void **).
7654 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7655 Walfred Tedeschi <walfred.tedeschi@intel.com>
7657 * Makefile.in (EXECUTABLES): Added i386-avx512.
7658 * gdb.arch/i386-avx512.c: New file.
7659 * gdb.arch/i386-avx512.exp: Likewise.
7661 2014-04-23 Keith Seitz <keiths@redhat.com>
7663 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7664 (mi_make_breakpoint_table): New procedure.
7665 (mi_create_breakpoint): Use mi_make_breakpoint
7666 and return the result.
7667 (mi_make_breakpoint): New procedure.
7668 (mi_build_kv_pairs): New procedure.
7670 * gdb.mi/mi-break.exp: Remove unused globals,
7671 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7672 All callers updated.
7673 * gdb.mi/mi-dprintf.exp: Use variable to track command
7675 Update all callers of mi_create_breakpoint and use
7676 mi_make_breakpoint_table.
7677 Remove any unused global variables.
7678 * gdb.mi/mi-nonstop.exp: Likewise.
7679 * gdb.mi/mi-nsintrall.exp: Likewise.
7680 * gdb.mi/mi-nsmoribund.exp: Likewise.
7681 * gdb.mi/mi-nsthrexec.exp: Likewise.
7682 * gdb.mi/mi-reverse.exp: Likewise.
7683 * gdb.mi/mi-simplerun.exp: Likewise.
7684 * gdb.mi/mi-stepn.exp: Likewise.
7685 * gdb.mi/mi-syn-frame.exp: Likewise.
7686 * gdb.mi/mi-until.exp: Likewise.
7687 * gdb.mi/mi-var-cp.exp: Likewise.
7688 * gdb.mi/mi-var-display.exp: Likewise.
7689 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7690 * gdb.mi/mi2-var-child.exp: Likewise.
7691 * gdb.mi/mi-vla-c99.exp: Likewise.
7692 * lib/mi-support.exp: Likewise.
7694 From Ian Lance Taylor <iant@cygnus.com>:
7695 * lib/gdb.exp (parse_args): New procedure.
7697 2014-04-23 Pedro Alves <palves@redhat.com>
7699 * gdb.base/break-unload-file.c: New file.
7700 * gdb.base/break-unload-file.exp: New file.
7701 * gdb.base/sym-file-lib.c (baz): New function.
7702 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7704 (load): Store the segment's mapped size.
7705 (unload): New function.
7706 (unload_shlib): New function.
7707 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7708 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7709 set a breakpoint at baz, and call it.
7710 * gdb.base/sym-file.exp: New tests for stale breakpoint
7713 2014-04-23 Pedro Alves <palves@redhat.com>
7715 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7716 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7717 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7718 * gdb.base/hbreak-unmapped.c: New file.
7719 * gdb.base/hbreak-unmapped.exp: New file.
7720 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7721 * lib/gdb.exp (gdb_is_target_remote): ... here.
7723 2014-04-22 Pedro Alves <palves@redhat.com>
7725 * gdb.base/consecutive-step-over.c: New file.
7726 * gdb.base/consecutive-step-over.exp: New file.
7728 2014-04-22 Pedro Alves <palves@redhat.com>
7730 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7731 instead of send_gdb/gdb_expect.
7733 2014-04-22 Yao Qi <yao@codesourcery.com>
7735 * lib/trace-support.exp (generate_tracefile): New procedure.
7736 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7738 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7739 if generate_tracefile returns 1.
7741 2014-04-18 Tom Tromey <palves@redhat.com>
7742 Pedro alves <tromey@redhat.com>
7745 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7746 with a backtrace limit.
7747 * gdb.python/py-frame-inline.exp: Test running to an inline
7748 function with a backtrace limit, and printing the newest frame.
7749 * gdb.python/py-frame-inline.c (main): Call f.
7751 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7753 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7755 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7757 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7758 Drop prefix from unsupported source file path.
7760 2014-04-17 Yao Qi <yao@codesourcery.com>
7762 * lib/gdb.exp (with_target_charset): New proc.
7763 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7764 with_target_charset.
7765 (test_print_strings): Likewise.
7766 (test_repeat_bytes): Likewise.
7767 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7770 2014-04-16 Keith Seitz <keiths@redhat.com>
7773 * gdb.dwarf2/corrupt.c: New file.
7774 * gdb.dwarf2/corrupt.exp: New file.
7776 2014-04-16 Keith Seitz <keiths@redhat.com>
7779 * gdb.cp/namelessclass.cc: New file.
7780 * gdb.cp/namelessclass.exp: New file.
7781 * gdb.cp/namelessclass.S: New file.
7783 2014-04-16 Doug Evans <dje@google.com>
7785 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7787 (gdbserver_default_get_comm_port): New function.
7788 (gdbserver_start): Check if board file provided
7789 "gdbserver,get_comm_port" and use it if so.
7790 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7791 (gdb,socketport): Set to "stdio".
7792 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7793 (stdio_gdbserver_template): Delete.
7794 (${board}_get_remote_address): Update.
7795 (${board}_build_remote_cmd): Delete.
7796 (${board}_get_comm_port): New function.
7797 (${board}_spawn): Update.
7798 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7800 (${board}_get_remote_address): Update.
7801 (${board}_get_comm_port): New function.
7803 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7805 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7806 appearing in any order.
7808 2014-04-15 Doug Evans <dje@google.com>
7810 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7811 uninitialized value of "description".
7813 2014-04-15 Keith Seitz <keiths@redhat.com>
7815 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7816 Remove unused globals.
7817 (test_running_the_program): Likewise.
7818 (test_controlled_execution): Likewise.
7819 (test_controlling_breakpoints): Likewise.
7820 (test_program_termination): Likewise.
7822 2014-04-15 Keith Seitz <keiths@redhat.com>
7824 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7826 (test_rbreak_creation_and_listing): Likewise.
7827 (test_ignore_count): Likewise.
7828 (test_error): Likewise.
7830 2014-04-15 Pedro Alves <palves@redhat.com>
7832 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7833 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7835 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7836 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7837 to sym-file-loader.c.
7838 (struct library): Forward declare.
7839 (load_shlib, lookup_function): Change prototypes.
7840 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7841 (translate_offset): Remove declarations.
7842 (get_text_addr): New declaration.
7843 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7844 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7846 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7847 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7848 here from sym-file-loader.h.
7849 (struct library): New structure.
7850 (load_shlib, lookup_function): Change prototypes and adjust to
7851 work with a struct library.
7852 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7853 (translate_offset): Make static.
7854 (get_text_addr): New function.
7855 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7857 2014-04-15 Pedro Alves <palves@redhat.com>
7859 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7861 2014-04-15 Pedro Alves <palves@redhat.com>
7863 * gdb.base/sym-file-loader.c: Include <limits.h>.
7864 (SELF_LINK): New define.
7865 (get_origin): New function.
7866 (load_shlib): Use it.
7867 * gdb.base/sym-file.exp: Don't early return if the target is
7868 remote. Use runto_main, and issue fail is that fails. Use
7870 (shlib_name): Delete.
7871 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7873 2014-04-15 Pedro Alves <palves@redhat.com>
7875 * gdb.base/sym-file.exp: Remove regex characters from test
7876 message. Don't refer to breakpoint numbers in test messages.
7878 2014-04-14 Keith Seitz <keiths@redhat.com>
7881 * gdb.cp/var-tag.cc: New file.
7882 * gdb.cp/var-tag.exp: New file.
7883 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7884 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7885 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7886 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7888 2014-04-14 Tom Tromey <tromey@redhat.com>
7890 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7891 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7893 * gdb.cp/enum-class.exp: New file.
7894 * gdb.cp/enum-class.cc: New file.
7896 2014-04-14 Tom Tromey <tromey@redhat.com>
7898 * gdb.dwarf2/enum-type.exp: New file.
7900 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7902 * gdb.mi/mi-vla-c99.exp: New file.
7903 * gdb.mi/vla.c: New file.
7905 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7907 * gdb.base/vla-datatypes.c: New file.
7908 * gdb.base/vla-datatypes.exp: New file.
7910 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7912 * gdb.base/vla-ptr.c: New file.
7913 * gdb.base/vla-ptr.exp: New file.
7915 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7917 * gdb.dwarf2/count.exp: New file.
7919 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7921 * gdb.base/vla-sideeffect.c: New file.
7922 * gdb.base/vla-sideeffect.exp: New file.
7924 2014-04-14 David Blaikie <dblaikie@gmail.com>
7926 * gdb.mi/non-stop.c: Add return value for non-void function return
7928 * gdb.threads/staticthreads.c: Ditto.
7930 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7931 Doug Evans <xdje42@gmail.com>
7933 * gdb.guile/scm-value.c: Improve test case.
7934 * gdb.guile/scm-value.exp: Add new test.
7936 2014-04-11 David Blaikie <dblaikie@gmail.com>
7938 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7939 override Clang's default.
7941 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7943 Revert the following changes (regressions):
7945 * gdb.base/vla-sideeffect.c: New file.
7946 * gdb.base/vla-sideeffect.exp: New file.
7948 * gdb.dwarf2/count.exp: New file.
7950 * gdb.base/vla-multi.c: New file.
7951 * gdb.base/vla-multi.exp: New file.
7953 * gdb.base/vla-ptr.c: New file.
7954 * gdb.base/vla-ptr.exp: New file.
7956 * gdb.base/vla-datatypes.c: New file.
7957 * gdb.base/vla-datatypes.exp: New file.
7959 * gdb.mi/mi-vla-c99.exp: New file.
7960 * gdb.mi/vla.c: New file.
7962 2014-04-11 Keith Seitz <keiths@redhat.com>
7965 * gdb.cp/cpsizeof.exp: New file.
7966 * gdb.cp/cpsizeof.cc: New file.
7968 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7970 * gdb.mi/mi-vla-c99.exp: New file.
7971 * gdb.mi/vla.c: New file.
7973 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7975 * gdb.base/vla-datatypes.c: New file.
7976 * gdb.base/vla-datatypes.exp: New file.
7978 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7980 * gdb.base/vla-ptr.c: New file.
7981 * gdb.base/vla-ptr.exp: New file.
7983 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7985 * gdb.base/vla-multi.c: New file.
7986 * gdb.base/vla-multi.exp: New file.
7988 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7990 * gdb.dwarf2/count.exp: New file.
7992 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7994 * gdb.base/vla-sideeffect.c: New file.
7995 * gdb.base/vla-sideeffect.exp: New file.
7997 2014-04-11 Yao Qi <yao@codesourcery.com>
7999 * gdb.base/completion.exp: Check file exists before running tests
8002 2014-04-10 Pedro Alves <palves@redhat.com>
8004 * gdb.base/cond-eval-mode.c: New file.
8005 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8006 prepare_for_testing to build the new file. Check result of
8008 (test_break, test_watch): New procedures.
8009 (top level): Use them.
8011 2014-04-08 Pierre Muller <muller@sourceware.org>
8013 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8014 Ctrl-V use for mingw hosts.
8016 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8018 * gdb.python/py-value.c: Improve test case.
8019 * gdb.python/py-value.exp: Add new test.
8021 2014-04-07 David Blaikie <dblaikie@gmail.com>
8023 * lib/compiler.c: Identify the clang compiler.
8024 * lib/compiler.cc: Ditto.
8026 2014-04-03 Yao Qi <yao@codesourcery.com>
8028 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8030 2014-04-01 Anton Blanchard <anton@samba.org>
8032 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8035 2014-04-01 Anton Blanchard <anton@samba.org>
8037 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8038 prepare_for_testing.
8040 2014-04-01 Anton Blanchard <anton@samba.org>
8042 * gdb.arch/ppc64-atomic-inst.c: Remove.
8043 * gdb.arch/ppc64-atomic-inst.S: New file.
8044 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8046 2014-03-31 Doug Evans <dje@google.com>
8048 * gdb.base/print-symbol-loading-lib.c: New file.
8049 * gdb.base/print-symbol-loading-main.c: New file.
8050 * gdb.base/print-symbol-loading.exp: New file.
8052 2014-03-31 Yao Qi <yao@codesourcery.com>
8054 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8056 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8058 * gdb.ada/mi_dyn_arr: New testcase.
8060 2014-03-27 Doug Evans <dje@google.com>
8062 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8064 2014-03-27 Yao Qi <yao@codesourcery.com>
8066 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8067 if target is nios2-*-*.
8069 2014-03-26 Yao Qi <yao@codesourcery.com>
8071 * lib/gdb.exp (readline_is_used): New proc.
8072 * gdb.base/completion.exp: Move tests on command complete up.
8073 Skip the rest of tests if readline is not used.
8074 * gdb.ada/complete.exp: Skp the test if readline is not
8076 * gdb.base/filesym.exp: Likewise.
8077 * gdb.base/macscp.exp: Likewise.
8078 * gdb.base/readline-ask.exp: Likewise.
8079 * gdb.base/readline.exp: Likewise.
8080 * gdb.python/py-cmd.exp: Likewise.
8081 * gdb.trace/tfile.exp: Likewise.
8083 2014-03-26 Yao Qi <yao@codesourcery.com>
8085 * gdb.base/macscp.exp: Fix code format issues.
8087 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8089 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8090 * gdb.asm/powerpc64le.inc: New file.
8092 2014-03-25 Pedro Alves <palves@redhat.com>
8093 Doug Evans <dje@google.com>
8095 * gdb.base/source-execution.c: New file.
8096 * gdb.base/source-execution.exp: New file.
8097 * gdb.base/source-execution.gdb: New file.
8099 2014-03-24 Doug Evans <dje@google.com>
8101 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8104 2014-03-24 Hui Zhu <hui@codesourcery.com>
8105 Pedro Alves <palves@redhat.com>
8107 PR breakpoints/16101
8108 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8109 test pass/fail messages. Detect missing support for dprintf when
8110 breakpoints are actually inserted.
8111 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8112 breakpoints are actually inserted.
8113 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8116 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8118 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8120 2014-03-22 Doug Evans <xdje42@gmail.com>
8122 * gdb.python/python.exp (python not supported): Verify multi-line
8123 python command issues an error.
8124 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8125 guile command issues an error.
8127 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8129 * gdb.threads/thread-specific.exp: Handle the lack of usable
8130 $this_breakpoint and $this_thread.
8132 2014-03-21 Hui Zhu <hui@codesourcery.com>
8134 * gdb.base/attach.exp (do_command_attach_tests): New.
8136 2014-03-20 Tom Tromey <tromey@redhat.com>
8137 Pedro Alves <palves@redhat.com>
8140 * gdb.base/condbreak-call-false.c: New file.
8141 * gdb.base/condbreak-call-false.exp: New file.
8143 2014-03-20 Pedro Alves <palves@redhat.com>
8145 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8147 (block_signals, unblock_signals): Delete.
8148 (child_function_2, main): Remove references to deleted variable
8151 2014-03-20 Pedro Alves <palves@redhat.com>
8153 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8154 Use pthread_kill to signal thread 2.
8155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8156 Adjust to make the test send itself a signal rather than using the
8157 host's "kill" command.
8159 2014-03-20 Pedro Alves <palves@redhat.com>
8161 * gdb.threads/multiple-step-overs.c: New file.
8162 * gdb.threads/multiple-step-overs.exp: New file.
8163 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8164 Adjust expected infrun debug output.
8166 2014-03-20 Pedro Alves <palves@redhat.com>
8168 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8169 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8171 2014-03-20 Pedro Alves <palves@redhat.com>
8174 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8175 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8176 of gdb_test_multiple.
8177 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8178 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8180 2014-03-20 Pedro Alves <palves@redhat.com>
8182 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8183 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8185 2014-03-19 Pedro Alves <palves@redhat.com>
8187 * gdb.base/async.exp: Remove early return.
8189 2014-03-19 Pedro Alves <palves@redhat.com>
8191 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8193 2014-03-19 Pedro Alves <palves@redhat.com>
8195 * gdb.base/async.exp (test_background): Expect \r\n after
8196 "completed." in the fail pattern.
8198 2014-03-19 Pedro Alves <palves@redhat.com>
8200 * gdb.base/async.exp (test_background): New procedure.
8201 Use it for all background execution command tests.
8203 2014-03-19 Pedro Alves <palves@redhat.com>
8205 * gdb.base/async.exp: Use prepare_for_testing.
8207 2014-03-19 Pedro Alves <palves@redhat.com>
8209 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8212 2014-03-19 Pedro Alves <palves@redhat.com>
8214 * gdb.base/async.c (main): Add "jump here" and "until here" line
8216 * gdb.base/async.exp (jump_here): New global.
8217 (jump& test): Use it.
8218 (until_here): New global.
8219 (until& test): Use it.
8221 2014-03-19 Pedro Alves <palves@redhat.com>
8223 * gdb.base/async.exp: Don't frob gdb_protocol.
8225 2014-03-18 Doug Evans <xdje42@gmail.com>
8227 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8228 Fix spelling of exec-done-display.
8230 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8233 * gdb.base/gdb-sigterm.c: New file.
8234 * gdb.base/gdb-sigterm.exp: New file.
8236 2014-03-18 Pedro Alves <palves@redhat.com>
8239 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8240 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8243 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8245 * gdb.ada/pckd_arr_ren: New testcase.
8247 2014-03-13 Doug Evans <xdje42@gmail.com>
8250 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8251 collect after discarding symbols.
8253 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8254 Doug Evans <xdje42@gmail.com>
8256 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8257 to history survives a gc.
8259 2014-03-13 Pedro Alves <palves@redhat.com>
8261 * gdb.base/default.exp: Don't test "target procfs".
8263 2014-03-13 Pedro Alves <palves@redhat.com>
8265 * gdb.base/default.exp: Update "target child" and "target procfs"
8266 tests to not expect "Unix".
8268 2014-03-12 Tom Tromey <tromey@redhat.com>
8270 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8271 New procs. Add target-async tests.
8272 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8273 Add target-async tests.
8275 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8277 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8278 'func_start' and 'func_end' for the beginning and end of the
8279 function code, respectively.
8280 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8281 'func_end' instead of 'func' and 'main'.
8283 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8285 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8286 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8287 generate the debug info assembler source.
8289 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8291 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8292 * gdb.dwarf2/arr-subrange.exp: Likewise.
8293 * gdb.dwarf2/dwz.exp: Likewise.
8294 * gdb.dwarf2/method-ptr.exp: Likewise.
8295 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8296 * gdb.dwarf2/subrange.exp: Likewise.
8297 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8298 * gdb.dwarf2/implptrpiece.exp: Likewise.
8299 * gdb.dwarf2/nostaticblock.exp: Likewise.
8301 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8303 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8304 directory to absolute path name arguments.
8306 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8308 * gdb.ada/tagged_access: New testcase.
8310 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8312 * gdb.btrace/data.exp: Update expected output.
8314 2014-03-06 Yao Qi <yao@codesourcery.com>
8316 * gdb.trace/pr16508.exp: New file.
8318 2014-03-05 Pedro Alves <palves@redhat.com>
8321 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8323 (top level): Adjust to use it. Add tests that exercise breakpoint
8324 interaction with the code-cache.
8326 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8328 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8329 test for 'history-append!'.
8331 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8333 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8334 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8335 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8336 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8337 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8338 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8340 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8342 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8343 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8344 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8346 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8348 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8350 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8352 * gdb.dwarf2/arr-stride.c: New file.
8353 * gdb.dwarf2/arr-stride.exp: New file.
8355 2014-02-26 Pedro Alves <palves@redhat.com>
8357 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8358 that won't ever trigger. Make sure that GDB reports the correct
8359 breakpoint that caused the stop.
8361 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8364 * gdb.base/auto-load-script: New file.
8365 * gdb.base/auto-load.c: New file.
8366 * gdb.base/auto-load.exp: New file.
8369 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8371 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8373 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8374 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8376 2014-02-24 Doug Evans <dje@google.com>
8378 * lib/gdb.exp (run_on_host): Log error output if program fails.
8380 2014-02-21 Pedro Alves <palves@redhat.com>
8382 * gdb.threads/step-after-sr-lock.c: Rename to ...
8383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8384 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8388 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8391 * gdb.arch/amd64-stap-special-operands.exp: New file.
8392 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8393 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8394 * gdb.arch/amd64-stap-triplet.S: Likewise.
8395 * gdb.arch/amd64-stap-triplet.c: Likewise.
8397 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8399 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8400 in .section pseudo-op.
8402 2014-02-20 lin zuojian <manjian2006@gmail.com>
8403 Joel Brobecker <brobecker@adacore.com>
8404 Doug Evans <xdje42@gmail.com>
8407 * gdb.dwarf2/dw2-icycle.S: New file.
8408 * gdb.dwarf2/dw2-icycle.c: New file.
8409 * gdb.dwarf2/dw2-icycle.exp: New file.
8411 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8413 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8414 operations on gdb.Value objects.
8415 * gdb.python/py-value-cc.exp: Add new test to test operations on
8418 2014-02-18 Doug Evans <dje@google.com>
8420 * Makefile.in (TESTS): New variable.
8421 (expanded_tests, expanded_tests_or_none): New variables
8422 (check-single): Pass $(expanded_tests_or_none) to runtest.
8423 (check-parallel): Only run tests in $(TESTS) if non-empty.
8424 (check/no-matching-tests-found): New rule.
8425 * README: Document TESTS makefile variable.
8427 2014-02-18 Doug Evans <dje@google.com>
8429 * Makefile.in (check-parallel): rm -rf outputs temp.
8431 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8433 Fix "ERROR: no fileid for" in the testsuite.
8434 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8436 2014-02-12 Doug Evans <dje@google.com>
8438 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8439 (MISCELLANEOUS): New variable.
8440 (clean): rm -rf $(MISCELLANEOUS).
8441 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8442 dwp live in the same directory as symlinks, with each symlink pointed
8443 to a differently named file in a different directory.
8445 2014-02-11 Doug Evans <dje@google.com>
8447 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8448 of Tcl file commands.
8450 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8452 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8455 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8457 * gdb.ada/tick_length_array_enum_idx: New testcase.
8459 2014-02-10 Doug Evans <xdje42@gmail.com>
8461 * configure.ac (AC_OUTPUT): Add gdb.guile.
8462 * configure: Regenerate.
8463 * lib/gdb-guile.exp: New file.
8464 * lib/gdb.exp (get_target_charset): New function.
8465 * gdb.base/help.exp: Update expected output from "apropos apropos".
8466 * gdb.guile/Makefile.in: New file.
8467 * gdb.guile/guile.exp: New file.
8468 * gdb.guile/scm-arch.c: New file.
8469 * gdb.guile/scm-arch.exp: New file.
8470 * gdb.guile/scm-block.c: New file.
8471 * gdb.guile/scm-block.exp: New file.
8472 * gdb.guile/scm-breakpoint.c: New file.
8473 * gdb.guile/scm-breakpoint.exp: New file.
8474 * gdb.guile/scm-disasm.c: New file.
8475 * gdb.guile/scm-disasm.exp: New file.
8476 * gdb.guile/scm-equal.c: New file.
8477 * gdb.guile/scm-equal.exp: New file.
8478 * gdb.guile/scm-error.exp: New file.
8479 * gdb.guile/scm-error.scm: New file.
8480 * gdb.guile/scm-frame-args.c: New file.
8481 * gdb.guile/scm-frame-args.exp: New file.
8482 * gdb.guile/scm-frame-args.scm: New file.
8483 * gdb.guile/scm-frame-inline.c: New file.
8484 * gdb.guile/scm-frame-inline.exp: New file.
8485 * gdb.guile/scm-frame.c: New file.
8486 * gdb.guile/scm-frame.exp: New file.
8487 * gdb.guile/scm-generics.exp: New file.
8488 * gdb.guile/scm-gsmob.exp: New file.
8489 * gdb.guile/scm-iterator.c: New file.
8490 * gdb.guile/scm-iterator.exp: New file.
8491 * gdb.guile/scm-math.c: New file.
8492 * gdb.guile/scm-math.exp: New file.
8493 * gdb.guile/scm-objfile-script-gdb.in: New file.
8494 * gdb.guile/scm-objfile-script.c: New file.
8495 * gdb.guile/scm-objfile-script.exp: New file.
8496 * gdb.guile/scm-objfile.c: New file.
8497 * gdb.guile/scm-objfile.exp: New file.
8498 * gdb.guile/scm-ports.exp: New file.
8499 * gdb.guile/scm-pretty-print.c: New file.
8500 * gdb.guile/scm-pretty-print.exp: New file.
8501 * gdb.guile/scm-pretty-print.scm: New file.
8502 * gdb.guile/scm-section-script.c: New file.
8503 * gdb.guile/scm-section-script.exp: New file.
8504 * gdb.guile/scm-section-script.scm: New file.
8505 * gdb.guile/scm-symbol.c: New file.
8506 * gdb.guile/scm-symbol.exp: New file.
8507 * gdb.guile/scm-symtab-2.c: New file.
8508 * gdb.guile/scm-symtab.c: New file.
8509 * gdb.guile/scm-symtab.exp: New file.
8510 * gdb.guile/scm-type.c: New file.
8511 * gdb.guile/scm-type.exp: New file.
8512 * gdb.guile/scm-value-cc.cc: New file.
8513 * gdb.guile/scm-value-cc.exp: New file.
8514 * gdb.guile/scm-value.c: New file.
8515 * gdb.guile/scm-value.exp: New file.
8516 * gdb.guile/source2.scm: New file.
8517 * gdb.guile/types-module.cc: New file.
8518 * gdb.guile/types-module.exp: New file.
8520 2014-02-10 Yao Qi <yao@codesourcery.com>
8523 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8524 * configure: Regenerated.
8525 * Makefile.in: New file.
8527 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8529 * gdb.python/py-framefilter.exp: Fix typo.
8531 2014-02-08 Yao Qi <yao@codesourcery.com>
8533 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8534 that no =breakpoint-modified is emitted when breakpoints are
8535 modified through MI commands.
8537 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8538 Pedro Alves <palves@redhat.com>
8540 * gdb.threads/step-after-sr-lock.c: New file.
8541 * gdb.threads/step-after-sr-lock.exp: New file.
8543 2014-02-07 Pedro Alves <palves@redhat.com>
8545 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8547 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8549 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8550 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8552 2014-02-06 Doug Evans <xdje42@gmail.com>
8554 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8557 * gdb.gdb/python-interrupts.exp: New file.
8559 2014-02-05 Yao Qi <yao@codesourcery.com>
8561 * gdb.trace/report.exp (use_collected_data): Test the output
8562 of "info threads" and "info inferiors".
8564 2014-02-05 Yao Qi <yao@codesourcery.com>
8568 2013-05-24 Yao Qi <yao@codesourcery.com>
8570 * gdb.trace/tfile.exp: Test inferior and thread.
8572 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8574 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8576 * gdb.base/step-bt.c: Call hello via function pointer to make
8577 sure its first instruction is executed on powerpc64le-linux.
8579 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8581 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8583 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8585 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8586 of the test patterns for use on little-endian systems.
8588 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8590 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8591 (decimal_vector): Fix for little-endian.
8593 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8595 * gdb.arch/sparc-sysstep.exp: New file.
8596 * gdb.arch/sparc-sysstep.c: Likewise.
8598 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8600 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8602 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8604 2014-01-23 Tom Tromey <tromey@redhat.com>
8606 * gdb.ada/array_char_idx: New testcase.
8608 2014-01-23 Tom Tromey <tromey@redhat.com>
8611 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8612 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8615 2014-01-23 Tom Tromey <tromey@redhat.com>
8618 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8619 string from an inferior frame.
8620 * gdb.python/py-framefilter-mi.exp: Update.
8622 2014-01-22 Doug Evans <dje@google.com>
8624 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8626 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8628 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8630 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8632 * gdb.trace/entry-values.exp: Remove excess space character from
8633 regex patterns. Handle s390 call instruction.
8635 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8637 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8638 define "*_start" label. Make "name" static.
8639 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8640 ${name} by references to ${name}_start.
8642 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8644 * gdb.base/info-macros.exp: Remove "debug" from the compile
8647 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8649 * gdb.dlang/demangle.exp: New file.
8651 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8653 * gdb.dlang/primitive-types.exp: New file.
8655 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8657 * configure.ac: Create gdb.dlang/Makefile.
8658 * configure: Regenerate.
8659 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8660 * gdb.dlang/Makefile.in: New file.
8661 * lib/d-support.exp: New file.
8662 * lib/gdb.exp (skip_d_tests): New proc.
8664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8666 * gdb.btrace/delta.exp: Check reverse stepi.
8667 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8668 * gdb.btrace/finish.exp: New.
8669 * gdb.btrace/next.exp: New.
8670 * gdb.btrace/nexti.exp: New.
8671 * gdb.btrace/record_goto.c: Add comments.
8672 * gdb.btrace/step.exp: New.
8673 * gdb.btrace/stepi.exp: New.
8674 * gdb.btrace/multi-thread-step.c: New.
8675 * gdb.btrace/multi-thread-step.exp: New.
8676 * gdb.btrace/rn-dl-bind.c: New.
8677 * gdb.btrace/rn-dl-bind.exp: New.
8678 * gdb.btrace/data.c: New.
8679 * gdb.btrace/data.exp: New.
8680 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8684 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8685 * gdb.btrace/exception.exp: Update.
8686 * gdb.btrace/instruction_history.exp: Update.
8687 * gdb.btrace/record_goto.exp: Update.
8688 * gdb.btrace/tailcall.exp: Update.
8689 * gdb.btrace/unknown_functions.exp: Update.
8690 * gdb.btrace/delta.exp: New.
8692 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8694 * gdb.btrace/record_goto.exp: Add backtrace test.
8695 * gdb.btrace/tailcall.exp: Add backtrace test.
8697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8699 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8700 * gdb.btrace/record_goto.c: New.
8701 * gdb.btrace/record_goto.exp: New.
8702 * gdb.btrace/x86-record_goto.S: New.
8704 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8706 * gdb.btrace/function_call_history.exp: Update tests.
8707 * gdb.btrace/instruction_history.exp: Update tests.
8709 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8711 * gdb.btrace/function_call_history.exp: Fix expected field
8712 order for "record function-call-history".
8713 Add new tests for "record function-call-history /c".
8714 * gdb.btrace/exception.cc: New.
8715 * gdb.btrace/exception.exp: New.
8716 * gdb.btrace/tailcall.exp: New.
8717 * gdb.btrace/x86-tailcall.S: New.
8718 * gdb.btrace/x86-tailcall.c: New.
8719 * gdb.btrace/unknown_functions.c: New.
8720 * gdb.btrace/unknown_functions.exp: New.
8721 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8725 * gdb.btrace/instruction_history.exp: Update.
8726 * gdb.btrace/function_call_history.exp: Update.
8728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8730 * gdb.btrace/function_call_history.exp: Fix expected function
8732 * gdb.btrace/instruction_history.exp: Initialize traced.
8733 Remove traced_functions.
8735 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8737 * gdb.btrace/function_call_history.exp: Update
8738 * gdb.btrace/instruction_history.exp: Update.
8740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8742 * gdb.btrace/enable.exp: Update expected text.
8744 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8746 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8749 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8751 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8753 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8755 * lib/gdb.exp (supports_process_record): Return true for
8756 arm*-linux*. (supports_reverse): Likewise.
8758 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8762 * gdb.python/py-type.c: Enhance test case.
8763 * gdb.python/py-value-cc.cc: Likewise
8764 * gdb.python/py-type.exp: Add new tests.
8765 * gdb.python/py-value-cc.exp: Likewise
8767 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8768 Pedro Alves <palves@redhat.com>
8770 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8772 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8773 references to ${name}_start by references to ${name}.
8775 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8777 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8779 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8781 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8783 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8784 Pedro Alves <palves@redhat.com>
8786 * gdb.mi/mi-info-os.exp: Connect to the target with
8789 2014-01-08 Pedro Alves <palves@redhat.com>
8791 * gdb.threads/reconnect-signal.c: New file.
8792 * gdb.threads/reconnect-signal.exp: New file.
8794 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8796 * gdb.base/source-dir.exp: New file.
8798 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8800 * gdb.ada/mi_interface: New testcase.
8802 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8804 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8805 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8806 gdb.ada/pp-rec-component/pck.ads: New files.
8808 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8810 * gdb.python/py-pp-integral.c: New file.
8811 * gdb.python/py-pp-integral.py: New file.
8812 * gdb.python/py-pp-integral.exp: New file.
8814 For older changes see ChangeLog-1993-2013.
8820 ;; version-control: never
8823 Copyright 2014-2016 Free Software Foundation, Inc.
8824 Copying and distribution of this file, with or without modification,
8825 are permitted provided the copyright notice and this notice are preserved.