1 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4 selecting assembly source files.
5 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10 selecting assembly source files.
12 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14 * gdb.base/new-ui.exp (do_test_invalid_args): New
17 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
19 * gdb.btrace/reconnect.c: New file.
20 * gdb.btrace/reconnect.exp: New file.
22 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
24 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
25 to test_catch_syscall_group.
26 (test_catch_syscall_group): New.
28 2016-07-21 Tom Tromey <tom@tromey.com>
30 * gdb.rust/simple.rs (main): Use empty struct expression.
31 * gdb.rust/simple.exp: Add tests for empty struct expression.
33 2016-07-21 Yao Qi <yao.qi@linaro.org>
35 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
36 if gdb_skip_xml_test is true on some targets.
38 2016-07-21 Yao Qi <yao.qi@linaro.org>
40 * gdb.server/solib-list.exp: Unset last_loaded_file.
42 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
44 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
45 "step into captured_main (args)".
47 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
49 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
51 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
53 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
55 2016-07-19 Pedro Alves <palves@redhat.com>
57 * gdb.opt/inline-break.exp: Remove optimize=-O2.
58 * gdb.opt/inline-bt.exp: Likewise.
59 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
60 additional_flags=-Winline.
61 * gdb.opt/inline-locals.exp: Likewise.
62 * gdb.opt/inline-markers.c (ATTR): Define.
65 2016-07-19 Yao Qi <yao.qi@linaro.org>
67 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
68 (test_with_self): Remove some code. Remove argument executable.
69 (top-level): Use do_self_tests.
71 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
72 Don Breazeal <donb@codesourcery.com>
74 * gdb.base/maint.exp: Escape paths used in regular expressions.
75 * gdb.stabs/weird.exp: Likewise.
77 2016-07-13 Tom Tromey <tom@tromey.com>
79 PR python/15620, PR python/18620:
80 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
81 (test_bkpt_events): New procs.
83 2016-07-13 Tom Tromey <tom@tromey.com>
86 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
88 (test_watchpoints): Likewise.
89 (test_bkpt_pending): New proc.
91 2016-07-13 Tom Tromey <tom@tromey.com>
94 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
97 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
99 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
100 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
101 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
103 (g): Rename g_end_lbl to g_label.
104 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
106 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
108 2016-07-12 Tom Tromey <tom@tromey.com>
111 * gdb.python/py-unwind-maint.exp: Update tests.
113 2016-07-12 Yao Qi <yao.qi@linaro.org>
115 * lib/selftest-support.exp (selftest_setup): Match the output
116 when captured_main is inlined.
118 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
120 * gdb.fortran/derived-types.exp (result_line, result_line_2):
122 (print this%a, print this%b, print this): New tests.
123 * gdb.fortran/derived-types.f90 (this): New object and
126 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
128 * gdb.ada/arraydim.exp: Remove extra directory level in build
131 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
133 * lib/ada.exp: Remove extra directory level in build directory.
134 * gdb.ada/cond_lang.exp: Likewise.
135 * gdb.ada/exec_changed.exp: Likewise.
136 * gdb.ada/lang_switch.exp: Likewise.
138 2016-07-06 Manish Goregaokar <manish@mozilla.com>
140 * simple.rs: Add test for raw pointer subscripting
141 * simple.exp: Add test expectations
143 2016-07-05 Yao Qi <yao.qi@linaro.org>
145 * gdb.mi/mi-reverse.exp: Match =record-started output.
147 2016-07-01 Pedro Alves <palves@redhat.com>
149 * gdb.base/jit-reader.exp (info_registers_current_frame): New
151 (jit_reader_test): Test the jit reader's unwinder.
152 * gdb.base/jithost.c (jit_function_00_code): New global.
153 (main): Use memcpy to fill in the mmapped code, instead of poking
155 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
157 (read_debug_info): Save the function's range.
158 (read_sp): New function.
159 (unwind_frame): Use it. Also unwind RBP.
160 (get_frame_id): Use read_sp.
161 (gdb_init_reader): Use calloc instead of malloc.
162 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
163 parameter. Use gdb_test_multiple.
165 2016-07-01 Pedro Alves <palves@redhat.com>
166 Antoine Tremblay <antoine.tremblay@ericsson.com>
168 * gdb.threads/process-dies-while-detaching.c: New file.
169 * gdb.threads/process-dies-while-detaching.exp: New file.
171 2016-07-01 Pedro Alves <palves@redhat.com>
173 * gdb.multi/watchpoint-multi-exit.c: New file.
174 * gdb.multi/watchpoint-multi-exit.exp: New file.
176 2016-06-30 Pedro Alves <palves@redhat.com>
178 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
179 unset inferior_spawn_id.
181 2016-06-30 Pedro Alves <palves@redhat.com>
183 * lib/mi-support.exp (default_mi_gdb_start): Declare global
184 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
186 2016-06-29 Yao Qi <yao.qi@linaro.org>
188 * gdb.base/return.c: Add copyright header.
190 2016-06-29 Tom Tromey <tom@tromey.com>
193 * gdb.python/py-framefilter.exp: Add tests for setting priority
194 and disabling of non-existent frame filter.
196 2016-06-29 Yao Qi <yao.qi@linaro.org>
198 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
201 2016-06-28 Yao Qi <yao.qi@linaro.org>
203 * gdb.base/catch-syscall.exp: Remove check on isnative and target
204 triplets. Start gdb, execute catch syscall, and continue. Check
205 gdb's output to determine catch syscall is supported.
207 2016-06-27 Manish Goregaokar <manish@mozilla.com>
209 * gdb.rust/simple.rs: Add test for returning unit in a function.
210 * gdb.rust/simple.exp: Add expectation for functions returning
213 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
215 * gdb.python/py-breakpoint-create-fail.c,
216 gdb.python/py-breakpoint-create-fail.exp,
217 gdb.python/py-breakpoint-create-fail.py: New testcase.
219 2016-06-25 Manish Goregaokar <manish@mozilla.com>
222 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
223 * gdb.rust/simple.exp: Add test expectations for new NonZero
226 2016-06-24 David Taylor <dtaylor@emc.com>
228 * gdb.base/offsets.exp: New file.
229 * gdb.base/offsets.c: New file.
231 2016-06-23 Tom Tromey <tom@tromey.com>
234 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
235 before any filters are loaded.
237 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
239 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
240 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
242 * gdb.fortran/derived-type-function.exp: New file.
243 * gdb.fortran/derived-type-function.f90: New file.
246 2016-06-21 Pedro Alves <palves@redhat.com>
248 * gdb.base/new-ui.exp: New file.
249 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
250 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
251 (with_spawn_id): New procedure.
253 2016-06-21 Pedro Alves <palves@redhat.com>
255 * gdb.mi/mi-exec-run.exp: New file.
257 2016-06-21 Pedro Alves <palves@redhat.com>
259 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
260 breakpoint command's output on the main UI.
261 (test_break): New procedure, factored out from calls in the top
263 (top level): Use foreach_with_prefix to test MI as main UI and as
266 2016-06-21 Pedro Alves <palves@redhat.com>
268 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
269 (test_awatch_creation_and_listing)
270 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
271 Remove 'type' parameter.
272 (test_watchpoint_all): New parameter mi_mode. Remove
274 (top level): Use foreach_with_prefix, and add main/separate UI MI
277 2016-06-21 Pedro Alves <palves@redhat.com>
279 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
280 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
281 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
282 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
283 (gdb_main_spawn_id, mi_spawn_id): Declare and
285 (mi_create_inferior_pty): New procedure,
286 factored out from default_mi_gdb_start.
287 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
289 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
290 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
291 Use mi_create_inferior_pty.
292 (mi_gdb_start): Use eval to pass down args list.
294 2016-06-21 Pedro Alves <palves@redhat.com>
296 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
297 * gdb.opt/inline-cmds.exp: Add MI tests.
299 2016-06-21 Pedro Alves <palves@redhat.com>
301 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
303 2016-06-21 Pedro Alves <palves@redhat.com>
305 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
306 (top level): Use it instead of mi_execute_to.
308 2016-06-21 Pedro Alves <palves@redhat.com>
310 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
311 (cont_handler_str): New.
312 (signal_stop_handler): Set stop_handler_str instead of printing to
314 (continue_handler): Set cont_handler_str instead of printing to
316 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
317 mi_send_resuming_command. Print stop_handler_str and
318 cont_handler_str instead of expecting the python events print
321 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
323 * gdb.base/jit-reader.exp: New file.
324 * gdb.base/jithost.c: New file.
325 * gdb.base/jithost.h: New file.
326 * gdb.base/jitreader.c : New file.
327 * gdb.base/jit-protocol.h: New file.
329 2016-06-17 Yao Qi <yao.qi@linaro.org>
331 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
332 parameters follow_fork and detach_on_fork. Set follow-fork-mode
333 and detach-on-fork. Adjust tests.
334 (top level): Invoke break_cond_on_syscall with combinations of
335 syscall, follow-fork-mode and detach-on-fork.
337 2016-06-17 Yao Qi <yao.qi@linaro.org>
339 * gdb.base/step-over-exit.c: New.
340 * gdb.base/step-over-exit.exp: New.
342 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
344 * gdb.base/float.exp: Add target check for nds32*-*-*.
345 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
347 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
349 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
350 for unsupported target features.
351 * gdb.base/call-rt-st.exp: Likewise.
352 * gdb.base/call-sc.exp: Likewise.
353 * gdb.base/call-signal-resume.exp: Likewise.
354 * gdb.base/call-strs.exp: Likewise.
355 * gdb.base/callexit.exp: Likewise.
356 * gdb.base/callfuncs.exp: Likewise.
357 * gdb.base/nodebug.exp: Likewise.
358 * gdb.base/printcmds.exp: Likewise.
359 * gdb.base/ptype.exp: Likewise.
360 * gdb.base/structs.exp: Likewise.
361 * gdb.base/unwindonsignal.exp: Likewise.
362 * gdb.cp/gdb2495.exp: Likewise.
363 * gdb.cp/templates.exp: Likewise.
364 * gdb.cp/virtfunc.exp: Likewise.
365 * gdb.threads/hand-call-in-threads.exp: Likewise.
366 * gdb.threads/interrupted-hand-call.exp: Likewise.
367 * gdb.threads/thread-unwindonsignal.exp: Likewise.
369 2016-06-10 Tom Tromey <tom@tromey.com>
372 * gdb.rust/expr.exp: Add test for integer constant larger than
375 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
377 * gdb.fortran/nested-funcs.exp: New.
378 * gdb.fortran/nested-funcs.f90: New.
380 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
382 * gdb.base/examine-backward.c: New file.
383 * gdb.base/examine-backward.exp: New file.
385 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
387 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
390 2016-06-02 Tom Tromey <tom@tromey.com>
393 * gdb.python/py-shared.exp: Add solib_name test.
395 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
397 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
399 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
402 * gdb.dwarf2/implref.exp: Rename to...
403 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
404 * gdb.dwarf2/implref-array.c: New file.
405 * gdb.dwarf2/implref-array.exp: Likewise.
406 * gdb.dwarf2/implref-global.c: Likewise.
407 * gdb.dwarf2/implref-global.exp: Likewise.
408 * gdb.dwarf2/implref-struct.c: Likewise.
409 * gdb.dwarf2/implref-struct.exp: Likewise.
411 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
413 * gdb.trace/trace-condition.exp: Add 64bit tests.
415 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
417 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
419 (main): Adapt to 8 to 64 bits types.
420 * gdb.trace/trace-condition.exp: Add new tests.
422 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
424 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
426 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
428 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
429 Move condition tests...
430 * gdb.trace/trace-condition.exp: Here.
432 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
434 * gdb.trace/trace-condition.exp: Add counter-case tests.
436 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
439 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
440 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
442 2016-05-27 Pedro Alves <palves@redhat.com>
444 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
446 (top level): Call it, and bail out of DejaGnu is known to be bad.
448 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
450 * gdb.base/whatis.c: Extend the test case.
451 * gdb.base/whatis.exp: Add additional tests.
453 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
455 * gdb.fortran/type.f90: Add pointer variable.
456 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
458 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
460 * gdb.fortran/vla-type.exp: Fix testcase name.
462 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
464 * gdb.fortran/vla-type.exp: Access elements in nested structs.
466 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
468 * gdb.fortran/type.f90: Add nested structures.
469 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
470 * gdb.fortran/derived-type.exp: Adapt expected output.
471 * gdb.fortran/vla-type.exp: Adapt expected output.
473 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
475 * gdb.fortran/whatis_type.exp: Adapt expected output.
477 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
479 * gdb.fortran/print_type.exp: Fix expected output.
480 * gdb.fortran/whatis_type.exp: Fix expected output.
482 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
484 * gdb.fortran/whatis_type.exp: Use multi_line.
486 2016-05-24 Tom Tromey <tom@tromey.com>
489 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
490 use value as an index.
492 2016-05-23 Tom Tromey <tom@tromey.com>
495 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
498 2016-05-24 Pedro Alves <palves@redhat.com>
501 * gdb.threads/clone-attach-detach.c: New file.
502 * gdb.threads/clone-attach-detach.exp: New file.
504 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
506 * gdb.base/annota-input-while-running.exp: Fix syntax error.
508 2016-05-23 Tom Tromey <tom@tromey.com>
510 PR python/19438, PR python/18393:
511 * gdb.python/py-progspace.exp: Add "dir" test.
512 * gdb.python/py-objfile.exp: Add "dir" test.
514 2016-05-23 Yao Qi <yao.qi@linaro.org>
516 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
517 * gdb.arch/thumb2-it.exp: Likewise.
519 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
521 * gdb.mi/mi-threads-interrupt.c: New file.
522 * gdb.mi/mi-threads-interrupt.exp: New file.
524 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
527 * gdb.mi/mi-async-run.exp: New file.
528 * gdb.mi/mi-async-run.c: New file.
530 2016-05-17 Tom Tromey <tom@tromey.com>
531 Manish Goregaokar <manishsmail@gmail.com>
533 * lib/rust-support.exp: New file.
534 * lib/gdb.exp (skip_rust_tests): New proc.
535 (build_executable_from_specs): Handle rust.
536 * lib/future.exp (gdb_find_rustc): New proc.
537 (gdb_default_target_compile): Handle rust.
538 * gdb.rust/expr.exp: New file.
539 * gdb.rust/generics.exp: New file.
540 * gdb.rust/generics.rs: New file.
541 * gdb.rust/methods.exp: New file.
542 * gdb.rust/methods.rs: New file.
543 * gdb.rust/modules.exp: New file.
544 * gdb.rust/modules.rs: New file.
545 * gdb.rust/simple.exp: New file.
546 * gdb.rust/simple.rs: New file.
548 2016-05-17 Tom Tromey <tom@tromey.com>
550 * gdb.base/default.exp (set language): Add rust.
552 2016-05-17 Tom Tromey <tom@tromey.com>
554 * gdb.gdb/unittest.exp: New file.
556 2016-05-16 Yao Qi <yao.qi@linaro.org>
558 * gdb.base/batch-preserve-term-settings.exp: Remove variable
559 shell_prompt. Update shell_prompt_re.
561 2016-05-12 Doug Evans <dje@google.com>
564 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
565 $options when building executable.
566 * gdb.dwarf2/fission-loclists-pie.S: New file.
567 * gdb.dwarf2/fission-loclists-pie.exp: New file.
569 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
571 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
572 of [is_remote target],
574 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
576 * lib/gdb.exp (use_gdb_stub): New procedure.
578 2016-05-03 Yunlian Jiang <yunlian@google.com>
579 Doug Evans <dje@google.com>
582 * gdb.dwarf2/dwp-sepdebug.c: New file.
583 * gdb.dwarf2/dwp-sepdebug.exp: New file.
585 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
587 * gdb.base/detach.exp: Remove is_remote check.
589 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
591 * gdb.base/annota-input-while-running.exp: Don't check for
592 [is_remote target]. Enable annotations after running to main.
593 Remove unused "set test..." line.
595 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
597 * gdb.trace/trace-enable-disable.exp: New file.
598 * gdb.trace/trace-enable-disable.c: New file.
600 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
602 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
603 use it in info sharedlibrary test.
604 * gdb.trace/ftrace-lock.exp: Likewise.
605 * gdb.trace/ftrace.exp: Likewise.
606 * gdb.trace/range-stepping.exp: Likewise.
607 * gdb.trace/trace-break.exp: Likewise.
608 * gdb.trace/trace-condition.exp: Likewise.
609 * gdb.trace/trace-mt.exp: Likewise.
611 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
613 * lib/gdb.exp (gdb_load_shlibs): Rename to...
614 (gdb_load_shlib): ... this.
615 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
617 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
618 * gdb.base/ctxobj.exp: Likewise.
619 * gdb.base/dprintf-pending.exp: Likewise.
620 * gdb.base/dso2dso.exp: Likewise.
621 * gdb.base/fixsection.exp: Likewise.
622 * gdb.base/gcore-relro.exp: Likewise.
623 * gdb.base/gdb1555.exp: Likewise.
624 * gdb.base/global-var-nested-by-dso.exp: Likewise.
625 * gdb.base/gnu-ifunc.exp: Likewise.
626 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
627 * gdb.base/jit-so.exp (one_jit_test): Likewise.
628 * gdb.base/pending.exp: Likewise.
629 * gdb.base/print-file-var.exp: Likewise.
630 * gdb.base/print-symbol-loading.exp: Likewise.
631 * gdb.base/shlib-call.exp: Likewise.
632 * gdb.base/shreloc.exp: Likewise.
633 * gdb.base/so-impl-ld.exp: Likewise.
634 * gdb.base/solib-disc.exp: Likewise.
635 * gdb.base/solib-nodir.exp: Likewise.
636 * gdb.base/solib-overlap.exp: Likewise.
637 * gdb.base/solib-symbol.exp: Likewise.
638 * gdb.base/solib-weak.exp (do_test): Likewise.
639 * gdb.base/sym-file.exp: Likewise.
640 * gdb.base/symtab-search-order.exp: Likewise.
641 * gdb.base/type-opaque.exp: Likewise.
642 * gdb.base/unload.exp: Likewise.
643 * gdb.base/watchpoint-solib.exp: Likewise.
644 * gdb.compile/compile.exp: Likewise.
645 * gdb.cp/gdb2384.exp: Likewise.
646 * gdb.cp/infcall-dlopen.exp: Likewise.
647 * gdb.cp/re-set-overloaded.exp: Likewise.
648 * gdb.fortran/library-module.exp: Likewise.
649 * gdb.opt/solib-intra-step.exp: Likewise.
650 * gdb.python/py-finish-breakpoint.exp: Likewise.
651 * gdb.python/py-shared.exp: Likewise.
652 * gdb.reverse/solib-precsave.exp: Likewise.
653 * gdb.reverse/solib-reverse.exp: Likewise.
654 * gdb.server/solib-list.exp: Likewise.
655 * gdb.threads/dlopen-libpthread.exp: Likewise.
656 * gdb.threads/tls-shared.exp: Likewise.
657 * gdb.threads/tls-so_extern.exp: Likewise.
658 * gdb.trace/change-loc.exp: Likewise.
659 * gdb.trace/ftrace-lock.exp: Likewise.
660 * gdb.trace/ftrace.exp: Likewise.
661 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
662 * gdb.trace/pending.exp: Likewise.
663 * gdb.trace/range-stepping.exp: Likewise.
664 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
665 (strace_info_marker): Likewise.
666 (strace_probe_marker): Likewise.
667 (strace_trace_on_same_addr): Likewise.
668 (strace_trace_on_diff_addr): Likewise.
669 * gdb.trace/trace-break.exp: Likewise.
670 * gdb.trace/trace-condition.exp: Likewise.
671 * gdb.trace/trace-mt.exp: Likewise.
673 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
675 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
676 result of gdb_remote_download.
677 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
678 * gdb.base/dso2dso.exp: Likewise.
679 * gdb.base/global-var-nested-by-dso.exp: Likewise.
680 * gdb.base/print-file-var.exp: Likewise.
681 * gdb.base/shlib-call.exp: Likewise.
682 * gdb.base/shreloc.exp: Likewise.
683 * gdb.base/solib-overlap.exp: Likewise.
684 * gdb.base/solib-weak.exp (do_test): Likewise.
685 * gdb.base/unload.exp: Likewise.
687 2016-04-27 Yao Qi <yao.qi@linaro.org>
689 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
692 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
694 * vla-type.exp: Print structure from toplevel.
696 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
698 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
700 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
703 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
705 * gdb.fortran/vla-type.f90: New file.
706 * gdb.fortran/vla-type.exp: New file.
708 2016-04-25 Yao Qi <yao.qi@linaro.org>
710 * gdb.base/branch-to-self.c: New file.
711 * gdb.base/branch-to-self.exp: New file.
713 2016-04-22 Yao Qi <yao.qi@linaro.org>
715 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
718 2016-04-22 Yao Qi <yao.qi@linaro.org>
720 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
721 * gdb.base/annota3.exp: Likewise.
723 2016-04-22 Yao Qi <yao.qi@linaro.org>
725 * gdb.reverse/step-precsave.exp: Do one step and test program
726 stops in "callee" and do multiple steps until program goes out
728 * gdb.reverse/step-reverse.exp: Likewise.
730 2016-04-22 Yao Qi <yao.qi@linaro.org>
732 * gdb.trace/signal.exp: Also pass if
733 $tracepoint_hits($i) > $iterations.
735 2016-04-22 Yao Qi <yao.qi@linaro.org>
737 * gdb.trace/signal.c: New file.
738 * gdb.trace/signal.exp: New file.
740 2016-04-19 Doug Evans <xdje42@gmail.com>
742 * gdb.base/bad-file.exp: New file.
744 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
746 * gdb.dwarf2/implref.exp: New file.
748 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
750 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
751 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
752 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
753 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
754 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
755 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
756 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
757 * lib/fortran.exp (fortran_int4): New procedure.
758 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
759 (fortran_logical4): Likewise.
761 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
763 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
765 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
767 * lib/compiler.c: Add Intel specific preprocessor macros.
768 * lib/compiler.cc: Likewise.
770 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
772 * gdb.server/connect-with-no-symbol-file.c: New file.
773 * gdb.server/connect-with-no-symbol-file.exp: New file.
775 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
777 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
779 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
781 * boards/gdbserver-base.exp (${board}_download): Copy source file to
782 standard output directory.
784 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
786 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
788 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
790 * gdb.btrace/instruction_history.c (loop): Add declaration.
792 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
794 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
796 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
798 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
799 parentheses to print.
800 (continue_handler): Likewise.
802 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
804 * gdb.server/solib-list.exp: Remove is_remote check.
805 Pass shlib= to gdb_compile. Don't link shared library with
806 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
807 Run binary filename through "readlink -f" on the target.
809 2016-04-08 Pedro Alves <palves@redhat.com>
811 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
812 interpreter filename as argument to gdbserver_spawn.
813 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
814 Return empty if $last_loaded_file does not exist.
816 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
818 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
819 * gdb.base/jit-main.c: Use exit after usage.
821 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
823 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
824 GDBHISTSIZE prior to the tests.
825 * gdb.base/gdbinit-history.exp: Likewise.
827 2016-04-07 Pedro Alves <palves@redhat.com>
829 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
830 instead of build_executable. Use gdb_load_shlibs.
832 2016-04-07 Yao Qi <yao.qi@linaro.org>
834 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
835 Execute "si" command.
837 2016-04-07 Yao Qi <yao.qi@linaro.org>
839 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
840 number instead of the comments on some line.
842 2016-04-06 Don Breazeal <donb@codesourcery.com>
844 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
845 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
847 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
849 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
850 standard_output_file. Remove unused binfile variable.
852 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
854 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
855 * gdb.python/py-mi-objfile.exp: Match "list main" output
858 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
860 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
863 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
865 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
867 * gdb.trace/ftrace.exp: Likewise.
868 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
870 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
871 (gdb_load_shlibs): Copy libraries to test directory when testing
872 natively. Only set solib-search-path if testing remotely.
873 * lib/mi-support.exp (mi_load_shlibs): Likewise.
875 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
877 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
878 gdb_download. Use it even if the target is not remote.
879 * gdb.base/jit.exp (compile_jit_test): Likewise.
880 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
881 output directory if the destination board is local, otherwise use
882 the standard remote_download from DejaGnu.
883 (gdb_download): Remove.
884 (gdb_load_shlibs): Use gdb_remote_download instead of
886 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
887 Use gdb_remote_download instead of gdb_download. Use it even if
888 the target is not remote.
889 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
890 instead of gdb_download.
892 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
894 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
895 (test_insert_delete_modify): Call mi_load_shlibs before trying to
898 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
901 * gdb.base/printcmds.exp: Add artificial arrays tests.
903 2016-03-31 Pedro Alves <palves@redhat.com>
906 * gdb.base/jit-main.c: Include unistd.h.
907 (ATTACH): Define to 0 if not already defined.
908 (wait_for_gdb, mypid): New globals.
909 (WAIT_FOR_GDB): New macro.
910 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
911 some breakpoint locations.
912 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
914 (one_jit_test): Add REATTACH parameter, and handle it. Use
915 continue_to_test_location.
916 (top level): Test attach, and adjusts calls to one_jit_test.
918 2016-03-31 Pedro Alves <palves@redhat.com>
921 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
922 BINSUFFIX parameter, and handle it.
923 (top level): Adjust calls compile_jit_test.
925 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
928 * gdb.python/py-mi-events-gdb.py: New file.
929 * gdb.python/py-mi-events.c: New file.
930 * gdb.python/py-mi-events.exp: New file.
932 2016-03-30 Yao Qi <yao.qi@linaro.org>
934 * gdb.reverse/until-precsave.exp: Match function name only.
935 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
936 Move malloc to a condition block.
937 * gdb.reverse/until-reverse.exp: Match function name only.
939 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
941 * gdb.trace/ftrace.exp: Set arg0exp for s390.
942 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
943 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
944 variable for GPR 0 instead of assuming it is register 0.
945 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
946 * lib/trace-support.exp: Add s390 registers.
948 2016-03-29 Yao Qi <yao.qi@linaro.org>
950 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
952 2016-03-24 Yao Qi <yao.qi@linaro.org>
954 * gdb.reverse/break-reverse.exp: Add quotation mark in the
957 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
959 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
960 maintaining separate logic for constructing the output path.
962 2016-03-16 Don Breazeal <donb@codesourcery.com>
964 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
965 Retry fork and waitpid on interrupted system call errors.
966 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
967 Use with_timeout_factor to increase timeout by factor of 10.
969 2016-03-15 Don Breazeal <donb@codesourcery.com>
971 * gdb.cp/scope-err.cc: New test program.
972 * gdb.cp/scope-err.exp: New test script.
973 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
974 lines and "set breakpoint here" comment.
975 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
976 Fixed some whitespace and format issues.
977 * gdb.mi/mi-linespec-err-cp.cc: New test program.
978 * gdb.mi/mi-linespec-err-cp.exp: New test script.
980 2016-03-15 Doug Evans <dje@google.com>
982 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
983 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
984 All callers updated. Add tests for enums, mixed flags register.
986 2016-03-15 Doug Evans <dje@google.com>
988 * gdb.base/skip.c (main): Call test_skip_file_and_function.
989 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
991 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
993 * gdb.base/default.exp: Add $_as_string to the list of expected
994 convenience functions.
996 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
998 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1000 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1002 * gdb.python/py-as-string.exp: New file.
1003 * gdb.python/py-as-string.c: New file.
1005 2016-03-09 Pedro Alves <palves@redhat.com>
1007 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1008 signal" -> "Thread NN received signal" output change.
1009 * gdb.threads/ia64-sigill.exp: Likewise.
1010 * gdb.threads/linux-dp.exp: Likewise.
1011 * gdb.threads/manythreads.exp: Likewise.
1012 * gdb.threads/pending-step.exp: Likewise.
1013 * gdb.threads/print-threads.exp: Likewise.
1014 * gdb.threads/sigstep-threads.exp: Likewise.
1015 * gdb.threads/staticthreads.exp: Likewise.
1016 * gdb.threads/tls.exp: Likewise.
1018 2016-03-09 Pedro Alves <palves@redhat.com>
1020 * gdb.base/command-line-input.exp: New file.
1022 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1024 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1025 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1026 * gdb.trace/pending.exp: Accept leading dot before function name.
1027 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1028 * lib/trace-support.exp: Set registers for ppc.
1030 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1032 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1033 use it for disassembly; accept .main in addition to main in backtrace.
1035 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1036 Marcin Kościelnicki <koriakin@0x04.net>
1038 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1039 (gdb_recursion_test_ptr): New global variable.
1040 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1042 (gdb_c_test): Ditto.
1044 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1046 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1049 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1051 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1052 (bar): Add bar_start_lbl label.
1053 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1054 of foo/bar for emitting DWARF and tracing.
1056 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1058 * analyze-racy-logs.py: Set executable bit.
1060 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1062 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1063 (CHECK_TARGET_TMP): Likewise.
1064 (check-single-racy): New rule.
1065 (check-parallel-racy): Likewise.
1066 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1067 (do-check-parallel-racy): New rule.
1068 (check-racy/%.exp): Likewise.
1069 * README (Racy testcases): New section.
1070 * analyze-racy-logs.py: New file.
1072 2016-03-03 Doug Evans <dje@google.com>
1074 * gdb.base/skip.exp: Use with_test_prefix.
1076 2016-03-03 Yao Qi <yao.qi@linaro.org>
1078 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1079 Invoke step_over_syscall "clone" and break_cond_on_syscall
1081 * gdb.base/step-over-clone.c: New file.
1083 2016-03-03 Yao Qi <yao.qi@linaro.org>
1085 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1088 2016-03-03 Yao Qi <yao.qi@linaro.org>
1090 * gdb.base/disp-step-fork.c: Rename to ...
1091 * gdb.base/step-over-fork.c: ... it. New file.
1092 * gdb.base/disp-step-vfork.c: Rename to ...
1093 * gdb.base/step-over-vfork.c: ... it. New file.
1094 * gdb.base/disp-step-syscall.exp: Rename to ...
1095 * gdb.base/step-over-syscall.exp: ... it. New file.
1096 (disp_step_cross_syscall): Rename to ...
1097 (step_over_syscall): ... it.
1099 2016-03-03 Yao Qi <yao.qi@linaro.org>
1101 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1102 If target supports condition evaluation on target, invoke
1103 break_cond_on_syscall for fork and vfork.
1105 2016-03-03 Yao Qi <yao.qi@linaro.org>
1107 * gdb.base/disp-step-syscall.exp: Don't invoke
1108 support_displaced_stepping.
1109 (disp_step_cross_syscall): Test with displaced stepping off and
1112 2016-03-03 Yao Qi <yao.qi@linaro.org>
1114 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1117 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1120 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1122 * gdb.fortran/vla-history.exp: Remove breakpoint.
1124 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1126 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1129 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1131 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1134 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1136 * gdb.mi/vla.f90: Nullify pointer after declaration.
1138 2016-03-01 Pedro Alves <palves@redhat.com>
1140 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1142 2016-03-01 Pedro Alves <palves@redhat.com>
1144 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1145 before anything else.
1146 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1148 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1149 before anything else.
1150 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1152 2016-03-01 Pedro Alves <palves@redhat.com>
1154 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1156 2016-03-01 Yao Qi <yao.qi@linaro.org>
1158 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1159 prepare_for_testing.
1161 2016-03-01 Yao Qi <yao.qi@linaro.org>
1163 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1165 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1167 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1168 manually constructing the output path.
1170 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1172 * gdb.arch/s390-stackless.S: New.
1173 * gdb.arch/s390-stackless.exp: New.
1175 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1177 * gdb.dlang/circular.c: New file.
1178 * gdb.dlang/circular.exp: New file.
1180 2016-02-26 Yao Qi <yao.qi@linaro.org>
1182 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1183 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1184 (testcases): Update.
1186 2016-02-26 Yao Qi <yao.qi@linaro.org>
1188 * gdb.reverse/aarch64.c: Rename to ...
1189 * gdb.reverse/insn-reverse.c: ... it.
1190 * gdb.reverse/aarch64.exp: Rename to ...
1191 * gdb.reverse/insn-reverse.exp: ... it.
1193 2016-02-26 Yao Qi <yao.qi@linaro.org>
1195 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1196 (testcase_ftype): New.
1197 (testcases): New array.
1199 (main): Call each element in testcases.
1200 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1201 (read_testcase): New.
1202 Do the tests in a loop.
1204 2016-02-25 Yao Qi <yao.qi@linaro.org>
1206 * gdb.base/branches.c: Remove.
1208 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1211 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1213 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1215 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1217 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1219 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1220 change x86_64 call_insn to 'callq'.
1222 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1224 * gdb.trace/tfile-avx.c: Move to...
1225 * gdb.trace/tracefile-pseudo-reg.c: Here.
1226 * gdb.trace/tfile-avx.exp: Move to...
1227 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1229 2016-02-24 Gary Benson <gbenson@redhat.com>
1231 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1234 2016-02-23 Doug Evans <dje@google.com>
1236 * gdb.base/skip.c (test_skip): New function.
1237 (end_test_skip_file_and_function): New function.
1238 (test_skip_file_and_function): New function.
1239 * gdb.base/skip1.c (test_skip): New function.
1240 (skip1_test_skip_file_and_function): New function.
1241 * gdb.base/skip.exp: Add tests for new skip options.
1242 * gdb.base/skip-solib.exp: Update expected output.
1243 * gdb.perf/skip-command.cc: New file.
1244 * gdb.perf/skip-command.exp: New file.
1245 * gdb.perf/skip-command.py: New file.
1247 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1249 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1250 info registers pattern.
1252 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1254 * lib/future.exp: Add D support.
1255 (gdb_find_gdc): New proc.
1256 (gdb_default_target_compile): Add D support.
1258 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1260 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1262 (trace_speed_test): Determine the iteration count for a time
1263 between 15..30 seconds.
1265 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1267 * gdb.arch/i386-mpx-sigsegv.c: New file.
1268 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1269 * gdb.arch/i386-mpx-simple_segv.c: New file.
1270 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1272 2016-02-18 Yao Qi <yao.qi@linaro.org>
1274 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1275 Don't call setup_kfail.
1277 2016-02-18 Yao Qi <yao.qi@linaro.org>
1279 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1280 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1282 2016-02-16 Doug Evans <dje@google.com>
1284 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1285 * gdb.base/skip1.c: Ditto.
1286 * gdb.base/skip.exp: Whitespace cleanup.
1288 2016-02-16 Don Breazeal <donb@codesourcery.com>
1291 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1292 Remove kfail for PR remote/19496.
1294 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1296 * lib/gdb.exp (standard_temp_file): Return a path specific to
1297 the runtest invocation.
1299 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1301 * gdb.trace/save-trace.exp: Change relative path to be in the
1302 standard output directory.
1304 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1306 * gdb.arch/i386-prologue.c: Add missing prototypes.
1308 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1310 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1311 * gdb.arch/i386-prologue.exp: Likewise.
1312 * gdb.arch/i386-size.exp: Likewise.
1314 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1316 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1317 define object file path.
1318 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1320 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1321 standard_output_file to define binfile.
1323 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1325 Fix compatibility with recent gfortran-5.3.1.
1326 * gdb.fortran/vla-history.exp (print vla1 allocated)
1327 (print vla2 allocated, print $2, print $3): Remove
1328 (print $4): Rename to ...
1329 (print $2): ... here.
1330 (print $9): Rename to ...
1331 (print $5): ... here.
1332 (print $10): Rename to ...
1333 (print $6): ... here.
1334 * gdb.fortran/vla.f90: Add pvla initialization.
1336 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1338 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1340 * gdb.fortran/vla-value-sub.exp: Likewise.
1342 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1344 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1346 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1348 * i386-biarch-core.exp: Define corefile using
1349 standard_output_file.
1351 2016-02-12 Yao Qi <yao.qi@linaro.org>
1353 * gdb.arch/arm-single-step-kernel-helper.c: New.
1354 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1356 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1358 * gdb.btrace/tailcall-only.exp: New.
1359 * gdb.btrace/tailcall-only.c: New.
1360 * gdb.btrace/x86_64-tailcall-only.S: New.
1361 * gdb.btrace/i686-tailcall-only.S: New.
1363 2016-02-11 Pedro Alves <palves@redhat.com>
1365 * README (Parallel testing): Add missing double quotes.
1367 2016-02-11 Pedro Alves <palves@redhat.com>
1369 * README (Parallel testing): New section.
1370 (GDB_PARALLEL): Rewrite.
1371 (FORCE_PARALLEL): Document.
1373 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1375 * gdb.trace/tfile-avx.c: New test.
1376 * gdb.trace/tfile-avx.exp: New test.
1378 2016-02-09 Keith Seitz <keiths@redhat.com>
1380 PR breakpoints/19546
1381 * gdb.base/infcall-exec.c: New file.
1382 * gdb.base/infcall-exec2.c: New file.
1383 * gdb.base/infcall-exec.exp: New file.
1385 2016-02-09 Keith Seitz <keiths@redhat.com>
1387 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1388 (toplevel): Call test_bkpt_address.
1390 2016-02-09 Keith Seitz <keiths@redhat.com>
1393 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1394 (toplevel): Call test_bkpt_address.
1396 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1398 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1400 * configure: Regenerate.
1402 2016-02-09 Pedro Alves <palves@redhat.com>
1404 PR breakpoints/19548
1405 * gdb.base/execl-update-breakpoints.c (some_function): New
1408 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1409 Tighten expected GDB output.
1411 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1413 * Makefile.in (ALL_SUBDIRS): Remove.
1414 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1415 (distclean maintainer-clean realclean): Likewise.
1416 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1417 * configure: Regenerate.
1418 * gdb.ada/Makefile.in: Delete.
1419 * gdb.arch/Makefile.in: Likewise.
1420 * gdb.asm/Makefile.in: Likewise.
1421 * gdb.base/Makefile.in: Likewise.
1422 * gdb.btrace/Makefile.in: Likewise.
1423 * gdb.cell/Makefile.in: Likewise.
1424 * gdb.compile/Makefile.in: Likewise.
1425 * gdb.cp/Makefile.in: Likewise.
1426 * gdb.disasm/Makefile.in: Likewise.
1427 * gdb.dlang/Makefile.in: Likewise.
1428 * gdb.dwarf2/Makefile.in: Likewise.
1429 * gdb.fortran/Makefile.in: Likewise.
1430 * gdb.gdb/Makefile.in: Likewise.
1431 * gdb.go/Makefile.in: Likewise.
1432 * gdb.guile/Makefile.in: Likewise.
1433 * gdb.java/Makefile.in: Likewise.
1434 * gdb.linespec/Makefile.in: Likewise.
1435 * gdb.mi/Makefile.in: Likewise.
1436 * gdb.modula2/Makefile.in: Likewise.
1437 * gdb.multi/Makefile.in: Likewise.
1438 * gdb.objc/Makefile.in: Likewise.
1439 * gdb.opencl/Makefile.in: Likewise.
1440 * gdb.opt/Makefile.in: Likewise.
1441 * gdb.pascal/Makefile.in: Likewise.
1442 * gdb.perf/Makefile.in: Likewise.
1443 * gdb.python/Makefile.in: Likewise.
1444 * gdb.reverse/Makefile.in: Likewise.
1445 * gdb.server/Makefile.in: Likewise.
1446 * gdb.stabs/Makefile.in: Likewise.
1447 * gdb.threads/Makefile.in: Likewise.
1448 * gdb.trace/Makefile.in: Likewise.
1449 * gdb.xml/Makefile.in: Likewise.
1450 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1452 (standard_output_file): Remove check for GDB_PARALLEL, always
1453 return path in outputs/$subdir/$testname.
1455 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1457 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1458 (site.exp): Assign abs_srcdir to tcl's srcdir.
1460 2016-02-04 Yao Qi <yao.qi@linaro.org>
1462 * gdb.base/foll-exec-mode.c: Include limits.h.
1463 (main): Add parameters argc and argv. Get directory from
1465 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1467 * gdb.base/foll-exec.c: Include limits.h.
1468 (main): Add parameters argc and argv.
1469 Get directory from argv[0].
1470 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1471 Adjust tests on the number of lines as source code changed.
1472 * gdb.base/foll-vfork-exit.c: Include limits.h.
1473 (main): Add one line of statement before vfork.
1474 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1475 (main): Add parameters argc and argv. Get directory from
1477 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1478 (setup_gdb): Set tbreak to skip some source lines.
1479 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1480 (main): Add parameters argc and argv. Get directory from
1482 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1484 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1485 (main): Add parameters argc and argv. Get directory from
1487 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1490 2016-02-01 Doug Evans <dje@google.com>
1492 * gdb.base/skip.exp: Clean up multiple references to same test name.
1494 2016-02-01 Pedro Alves <palves@redhat.com>
1497 * gdb.threads/forking-threads-plus-breakpoint.exp
1498 (displaced_stepping_supported): New global.
1499 (probe_displaced_stepping_support): New procedure.
1500 (do_test): Add 'displaced' parameter, and use it.
1501 (top level): Check for displaced stepping support. Add displaced
1502 stepping on/off testing axis.
1504 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1506 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1507 pointer. Don't perform further tests on the unassociated pointer
1508 if the first test fails.
1510 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1512 * gdb.base/max-value-size.c: New file.
1513 * gdb.base/max-value-size.exp: New file.
1514 * gdb.base/huge.exp: Disable max-value-size for this test.
1516 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1518 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1520 2016-01-28 Yao Qi <yao.qi@linaro.org>
1522 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1524 2016-01-25 Pedro Alves <palves@redhat.com>
1527 * gdb.base/fork-running-state.c: New file.
1528 * gdb.base/fork-running-state.exp: New file.
1530 2016-01-25 Pedro Alves <palves@redhat.com>
1533 * gdb.base/catch-fork-kill.c: New file.
1534 * gdb.base/catch-fork-kill.exp: New file.
1536 2016-01-25 Pedro Alves <palves@redhat.com>
1538 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1539 Delete, moved to lib/gdb.exp.
1540 * gdb.threads/forking-threads-plus-breakpoint.exp
1541 (foreach_with_prefix): Likewise.
1542 * gdb.threads/process-dies-while-handling-bp.exp
1543 (foreach_with_prefix): Likewise.
1544 * lib/gdb.exp (foreach_with_prefix): New procedure.
1546 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1548 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1549 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1551 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1553 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1556 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1557 Pedro Alves <palves@redhat.com>
1559 Fix testsuite compatibility with Guile.
1560 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1563 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1565 Fix testsuite compatibility with Guile.
1566 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1567 (thread 1): New test for backtrace through signal handler.
1569 2016-01-22 Yao Qi <yao.qi@linaro.org>
1572 * gdb.base/multi-forks.c: Include
1573 ../lib/unbuffer_output.c
1574 (main): Call gdb_unbuffer_output.
1576 2016-01-21 Doug Evans <dje@google.com>
1578 * lib/ada.exp (gdb_compile_ada): Fix typo.
1580 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1582 * gdb.base/break-fun-addr.exp: New file.
1583 * gdb.base/break-fun-addr1.c: New file.
1584 * gdb.base/break-fun-addr2.c: New file.
1586 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1588 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1589 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1592 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1594 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1595 when GDB can not set the vector return value. Add more comments
1598 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1600 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1603 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1605 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1607 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1609 * Makefile.in (check-single): Pass --status to runtest.
1610 (check/%.exp): Likewise.
1612 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1614 * Makefile.in (check-parallel): Propagate return code from make
1617 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1619 * gdb.trace/ftrace.exp: Fix expected message on continue.
1620 * gdb.trace/pending.exp: Fix expected message on continue.
1621 * gdb.trace/trace-break.exp: Fix expected message on continue.
1623 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1625 * lib/gdb.exp (gdb_test): Remove unused global references.
1627 2016-01-18 Pedro Alves <palves@redhat.com>
1629 * gdb.base/async-shell.exp: Adjust expected output.
1630 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1631 * gdb.base/siginfo-thread.exp: Adjust expected output.
1632 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1633 * gdb.java/jnpe.exp: Adjust expected output.
1634 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1635 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1636 * gdb.threads/leader-exit.exp: Adjust expected output.
1637 * gdb.threads/manythreads.exp: Adjust expected output.
1638 * gdb.threads/pthreads.exp: Adjust expected output.
1639 * gdb.threads/schedlock.exp: Adjust expected output.
1640 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1641 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1643 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1645 * gdb.threads/sigthread.exp: Adjust expected output.
1646 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1648 2016-01-18 Yao Qi <yao.qi@linaro.org>
1650 * gdb.guile/scm-section-script.c: Replace @progbits with
1652 * gdb.python/py-section-script.c: Likewise.
1654 2016-01-15 Pedro Alves <palves@redhat.com>
1656 * gdb.multi/tids.exp: Test star wildcard ranges.
1658 2016-01-15 Pedro Alves <palves@redhat.com>
1660 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1661 command from "thread apply" invocation.
1662 (thr_apply_info_thr_invalid): Default the expected output to the
1664 (top level): Add tests that use convenience variables. Add tests
1665 for "thread apply" with a valid TID list, but missing the command.
1667 2016-01-13 Pedro Alves <palves@redhat.com>
1669 * gdb.base/default.exp: Expect $_gthread as well.
1670 * gdb.multi/tids.exp: Test $_gthread.
1671 * gdb.threads/thread-specific.exp: Test $_gthread.
1673 2016-01-13 Pedro Alves <palves@redhat.com>
1675 * gdb.multi/tids.exp: Test "info threads -gid".
1677 2016-01-13 Pedro Alves <palves@redhat.com>
1679 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1681 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1683 2016-01-07 Pedro Alves <palves@redhat.com>
1685 * gdb.base/break.exp: Adjust to output changes.
1686 * gdb.base/hbreak2.exp: Likewise.
1687 * gdb.base/sepdebug.exp: Likewise.
1688 * gdb.base/watch_thread_num.exp: Likewise.
1689 * gdb.linespec/keywords.exp: Likewise.
1690 * gdb.multi/info-threads.exp: Likewise.
1691 * gdb.threads/thread-find.exp: Likewise.
1692 * gdb.multi/tids.c: New file.
1693 * gdb.multi/tids.exp: New file.
1695 2016-01-13 Pedro Alves <palves@redhat.com>
1697 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1699 2016-01-13 Pedro Alves <palves@redhat.com>
1701 * gdb.base/default.exp: Expect $_inferior as well.
1702 * gdb.multi/base.exp: Test $_inferior.
1704 2016-01-13 Pedro Alves <palves@redhat.com>
1706 PR breakpoints/19388
1707 * gdb.base/catch-signal-siginfo-cond.c: New file.
1708 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1710 2016-01-12 Josh Stone <jistone@redhat.com>
1711 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1713 * gdb.base/catch-syscall.c (do_execve): New variable.
1714 (main): Conditionally trigger an execve.
1715 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1716 (test_catch_syscall_execve): New, check entry/return across execve.
1717 (do_syscall_tests): Call test_catch_syscall_execve.
1719 2016-01-12 Pedro Alves <palves@redhat.com>
1721 * gdb.base/random-signal.exp (do_test): New procedure, with body
1722 of testcase moved in.
1724 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1725 Pedro Alves <palves@redhat.com>
1727 * gdb.base/funcargs.exp (finish from indirectly called function):
1728 Reintroduce the case for 'First'.
1730 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1731 Pedro Alves <palves@redhat.com>
1733 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1734 (tcatch_vfork_then_child_follow_exec)
1735 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1738 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1740 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1741 and repeats to unlimited.
1742 * gdb.python/py-value.exp: Likewise.
1743 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1744 and repeats to unlimited.
1746 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1749 and reordering the functions.
1750 * gdb.multi/hangout.c: Likewise.
1751 * gdb.multi/hello.c: Likewise.
1753 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1755 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1757 (SingleStatisticTestResult.report): Use dict.keys instead of
1760 2016-01-06 Pedro Alves <palves@redhat.com>
1762 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1764 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1766 * gdb.btrace/dlopen.exp: New.
1767 * gdb.btrace/dlopen.c: New.
1768 * gdb.btrace/dlopen-dso.c: New.
1770 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1772 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1773 PATTERN argument is optional.
1775 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1777 * lib/ada.exp (target_compile_ada_from_dir): New function.
1778 (gdb_compile_ada): Reimplement avoiding the use of project files.
1779 * gdb.ada/gnat_ada.gpr: Delete.
1780 * gdb.ada/cond_lang.exp: Adjust test to make path before
1782 * gdb.ada/small_reg_param.exp: Likewise.
1784 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1786 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1788 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1790 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1793 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1795 * gdb.base/break.exp: Remove dead code.
1796 * gdb.base/sepdebug.exp: Likewise.
1798 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1800 * gdb.asm/asm-source.exp: Remove HP-UX references.
1801 * gdb.base/annota1.exp: Likewise.
1802 * gdb.base/annota3.exp: Likewise.
1803 * gdb.base/attach.exp: Likewise.
1804 * gdb.base/bigcore.exp: Likewise.
1805 * gdb.base/break.exp: Likewise.
1806 * gdb.base/call-ar-st.exp: Likewise.
1807 * gdb.base/callfuncs.exp: Likewise.
1808 * gdb.base/catch-fork-static.exp: Likewise.
1809 * gdb.base/display.exp: Likewise.
1810 * gdb.base/foll-exec-mode.exp: Likewise.
1811 * gdb.base/foll-exec.exp: Likewise.
1812 * gdb.base/foll-fork.exp: Likewise.
1813 * gdb.base/foll-vfork.exp: Likewise.
1814 * gdb.base/funcargs.exp: Likewise.
1815 * gdb.base/hbreak2.exp: Likewise.
1816 * gdb.base/inferior-died.exp: Likewise.
1817 * gdb.base/interrupt.exp: Likewise.
1818 * gdb.base/multi-forks.exp: Likewise.
1819 * gdb.base/nodebug.exp: Likewise.
1820 * gdb.base/sepdebug.exp: Likewise.
1821 * gdb.base/solib1.c: Likewise.
1822 * gdb.base/step-test.exp: Likewise.
1823 * gdb.mi/non-stop.c: Likewise.
1824 * gdb.mi/pthreads.c: Likewise.
1825 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1826 * gdb.threads/pthreads.c: Likewise.
1827 * gdb.threads/staticthreads.exp: Likewise.
1828 * lib/future.exp: Likewise.
1829 * lib/gdb.exp: Likewise.
1830 * gdb.base/so-indr-cl.c: Remove.
1831 * gdb.base/so-indr-cl.exp: Likewise.
1832 * gdb.base/solib.c: Likewise.
1833 * gdb.base/solib.exp: Likewise.
1834 * gdb.base/solib2.c: Likewise.
1836 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1838 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1839 * gdb.base/call-ar-st.exp: Likewise.
1840 * gdb.base/callfuncs.exp: Likewise.
1841 * gdb.base/condbreak.exp: Likewise.
1842 * gdb.base/constvars.exp: Likewise.
1843 * gdb.base/hbreak2.exp: Likewise.
1844 * gdb.base/langs.exp: Likewise.
1845 * gdb.base/list.exp: Likewise.
1846 * gdb.base/long_long.exp: Likewise.
1847 * gdb.base/ptype.exp: Likewise.
1848 * gdb.base/scope.exp: Likewise.
1849 * gdb.base/signals.exp: Likewise.
1850 * gdb.base/so-impl-ld.exp: Likewise.
1851 * gdb.base/varargs.exp: Likewise.
1852 * gdb.base/volatile.exp: Likewise.
1853 * gdb.base/whatis.exp: Likewise.
1854 * gdb.cp/cplusfuncs.exp: Likewise.
1855 * gdb.cp/inherit.exp: Likewise.
1856 * gdb.cp/local.exp: Likewise.
1857 * gdb.cp/member-ptr.exp: Likewise.
1858 * gdb.cp/method.exp: Likewise.
1859 * gdb.cp/overload.exp: Likewise.
1860 * gdb.cp/templates.exp: Likewise.
1861 * gdb.stabs/weird.exp: Likewise.
1862 * lib/compiler.c: Likewise.
1863 * lib/compiler.cc: Likewise.
1864 * lib/cp-support.exp: Likewise.
1865 * lib/gdb.exp: Likewise.
1867 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1869 * configure.ac: Remove HP-UX case.
1870 * configure: Regenerate.
1872 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1874 * lib/gdb.exp (gdb_compile): Add function doc.
1876 2015-12-17 Pedro Alves <palves@redhat.com>
1879 * gdb.multi/info-threads.exp: New file.
1881 2015-12-15 Yao Qi <yao.qi@linaro.org>
1883 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1886 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1888 * gdb.base/history-duplicates.exp: Skip if no readline support.
1890 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1892 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1894 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1896 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1898 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1900 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1901 ctrl-C if nointerrupts target property is set.
1902 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1903 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1904 * gdb.base/paginate-bg-execution.exp: Likewise.
1905 * gdb.base/paginate-execution-startup.exp: Likewise.
1906 * gdb.base/random-signal.exp: Likewise.
1907 * gdb.base/range-stepping.exp: Likewise.
1908 * gdb.cp/annota2.exp: Likewise.
1909 * gdb.cp/annota3.exp: Likewise.
1910 * gdb.gdb/selftest.exp: Likewise.
1911 * gdb.threads/continue-pending-status.exp: Likewise.
1912 * gdb.threads/leader-exit.exp: Likewise.
1913 * gdb.threads/manythreads.exp: Likewise.
1914 * gdb.threads/pthreads.exp: Likewise.
1915 * gdb.threads/schedlock.exp: Likewise.
1916 * gdb.threads/sigthread.exp: Likewise.
1918 2015-12-11 Don Breazeal <donb@codesourcery.com>
1920 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1922 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1923 * gdb.base/foll-exec.exp (main): Enable for target remote.
1924 * gdb.base/foll-fork.exp (main): Likewise.
1925 * gdb.base/foll-vfork.exp (main): Likewise.
1926 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1927 (proc continue_to_exit_bp_loc): Use clean_restart.
1928 * gdb.base/pie-execl.exp (main): Disable for target remote.
1929 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1930 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1931 * gdb.threads/execl.exp (main): Likewise.
1932 * gdb.threads/fork-child-threads.exp (main): Likewise.
1933 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1935 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1937 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1938 pid.tid style ptids, instead of just tid.
1939 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1940 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1941 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1942 ptids, instead of just tid.
1944 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1946 * gdb.base/list.exp (test_list_forward): Add end of file error
1948 (test_repeat_list_command): Add end of file error test.
1949 (test_list_backwards): Add beginning of file error test.
1951 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1953 * gdb.base/list.exp (test_list_invalid_args): New function,
1954 defined, and called.
1956 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1958 * gdb.base/list.exp (test_list): Make test names unique.
1960 2015-12-11 Yao Qi <yao.qi@linaro.org>
1962 * gdb.base/coremaker2.c: Remove.
1964 2015-12-10 Pedro Alves <palves@redhat.com>
1966 * gdb.multi/base.exp: Remove stale "spaces" references.
1968 2015-12-10 Pedro Alves <palves@redhat.com>
1970 * gdb.multi/base.exp: Don't use nowarnings.
1971 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1972 * gdb.multi/hangout.c: Include stdio.h.
1973 * gdb.multi/hello.c: Include stdlib.h.
1974 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1975 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1976 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1978 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1980 * gdb.dwarf2/dw2-ranges-base.c: New file.
1981 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1982 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1983 support additional line table, and debug ranges generation.
1984 (Dwarf::ranges): New function, generate .debug_ranges.
1985 (Dwarf::lines): Support generating simple line table programs.
1986 (Dwarf::assemble): Initialise new namespace variables.
1988 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1990 * gdb.base/async.exp (proc test_background): Add case for
1991 asynchronous execution not supported.
1993 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1995 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1996 format and change test names to make them unique.
1998 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1999 Pedro Alves <pedro@redhat.com>
2002 Add checking of floatformats setup on x86_64 hosts.
2003 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2004 (smallval, bigval): New labels/constants.
2005 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2006 float" after loading bigval and smallval.
2008 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2010 * gdb.ada/fun_overload_menu.exp: New testcase.
2011 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2013 2015-12-04 Josh Stone <jistone@redhat.com>
2015 * gdb.base/catch-fork-static.exp: New.
2017 2015-12-03 Yao Qi <yao.qi@linaro.org>
2019 * gdb.base/sizeof.c: Don't include stdio.h and
2020 ../lib/unbuffer_output.c.
2021 (main): New variable 'size' and 'value'. Remove printf and
2022 gdb_unbuffer_output. Assign return value to size and value.
2023 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2025 (check_sizeof): Check the result by printing variable 'size'.
2026 (check_valueof): Check the result by printing variable 'value'.
2028 2015-12-01 Yao Qi <yao.qi@linaro.org>
2030 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2031 for aarch64*-*-linux* target.
2033 2015-11-30 Pedro Alves <palves@redhat.com>
2035 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2037 2015-11-30 Pedro Alves <palves@redhat.com>
2039 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2040 Handle non-stop mode vCont replies.
2042 2015-11-30 Pedro Alves <palves@redhat.com>
2044 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2045 prepare_for_testing. Start gdb with "set non-stop on" appended to
2046 GDBFLAGS. Lax expected stop output.
2048 2015-11-27 Yao Qi <yao.qi@linaro.org>
2050 * gdb.arch/arm-neon.exp: New.
2051 * gdb.arch/arm-neon.c: New.
2053 2015-11-27 Yao Qi <yao.qi@linaro.org>
2055 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2057 2015-11-27 Yao Qi <yao.qi@linaro.org>
2059 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2060 frames-invalid annotation.
2062 2015-11-27 Yao Qi <yao.qi@linaro.org>
2064 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2066 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2068 * gdb.threads/names.exp: New file.
2069 * gdb.threads/names.c: New file.
2070 * README: Mention gdb,no_thread_names.
2072 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2075 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2078 2015-11-24 Pedro Alves <palves@redhat.com>
2081 * gdb.base/display.exp: Expect displays to be sorted in ascending
2082 order. Use multi_line.
2083 * gdb.base/solib-display.exp: Likewise.
2085 2015-11-24 Pedro Alves <palves@redhat.com>
2088 * gdb.base/display.exp: Expect displays to be sorted in ascending
2089 order. Use multi_line.
2090 * gdb.base/solib-display.exp: Likewise.
2092 2015-11-24 Pedro Alves <palves@redhat.com>
2095 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2096 threads in ascending order.
2097 * gdb.base/foll-fork.exp: Likewise.
2098 * gdb.base/foll-vfork.exp: Likewise.
2099 * gdb.base/multi-forks.exp: Likewise.
2100 * gdb.mi/mi-nonstop.exp: Likewise.
2101 * gdb.mi/mi-nsintrall.exp: Likewise.
2102 * gdb.multi/base.exp: Likewise.
2103 * gdb.multi/multi-arch.exp: Likewise.
2104 * gdb.python/py-inferior.exp: Likewise.
2105 * gdb.threads/break-while-running.exp: Likewise.
2106 * gdb.threads/execl.exp: Likewise.
2107 * gdb.threads/gcore-thread.exp: Likewise.
2108 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2109 * gdb.threads/kill.exp: Likewise.
2110 * gdb.threads/linux-dp.exp: Likewise.
2111 * gdb.threads/multiple-step-overs.exp: Likewise.
2112 * gdb.threads/next-bp-other-thread.exp: Likewise.
2113 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2114 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2115 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2116 * gdb.threads/thread-find.exp: Likewise.
2117 * gdb.threads/tls.exp: Likewise.
2118 * lib/mi-support.exp (mi_reverse_list): Delete.
2119 (mi_check_thread_states): No longer reverse list.
2121 2015-11-24 Pedro Alves <palves@redhat.com>
2123 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2126 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2128 * gdb.trace/actions.c: Include trace-common.h.
2129 (main): Add a location for a fast tracepoint.
2130 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2131 the normal tracepoints.
2132 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2134 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2136 * save-trace.exp: Factor out code to these...
2137 (gdb_save_tracepoints): New.
2138 (gdb_load_tracepoints): New.
2139 (do_save_load_test): New.
2141 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2143 * gdb.base/asmlabel.exp: New test.
2144 * gdb.base/asmlabel.c: New test case.
2146 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2148 * gdb.base/wrong_frame_bt_full-main.c: New file.
2149 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2150 * gdb.base/wrong_frame_bt_full.exp: New file.
2152 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2154 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2156 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2158 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2159 pstate register when comparing registers values in
2160 sparc64-*-linux-gnu targets to avoid spurious differences.
2162 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2164 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2166 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2168 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2169 as type argument to gdb_compile.
2170 * gdb.base/nested-subp2.exp: Likewise.
2171 * gdb.base/nested-subp3.exp: Likewise.
2173 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2175 * lib/dwarf.exp (_note): Fix left shift of negative value.
2176 * gdb.trace/trace-condition.exp: Likewise.
2178 2015-11-13 Yao Qi <yao.qi@linaro.org>
2180 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2181 comments about d10v.
2182 (test_scalar_returns): Likewise.
2183 * gdb.base/d10v.ld: Remove.
2184 * gdb.base/overlays.exp: Remove the target triplet checking for
2186 * gdb.base/structs.exp (test_struct_returns): Remove the
2187 comments about d10v.
2188 (test_struct_calls): Likewise.
2190 2015-11-13 Yao Qi <yao.qi@linaro.org>
2192 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2193 * gdb.base/gnu_vector.c: Don't include stdio.h.
2194 (main): Don't print res and call add_some_intvecs.
2196 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2198 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2201 (func4): Use FAST_TRACEPOINT_LABEL.
2202 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2205 (thread_function): Use FAST_TRACEPOINT_LABEL.
2206 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2208 (marker): Use FAST_TRACEPOINT_LABEL.
2209 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2210 (pendfunc1): Remove.
2211 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2212 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2214 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2215 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2218 (marker): Use FAST_TRACEPOINT_LABEL.
2219 * gdb.trace/trace-common.h: New header.
2220 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2223 (marker): Use FAST_TRACEPOINT_LABEL.
2224 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2226 (thread_function): Use FAST_TRACEPOINT_LABEL.
2228 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2230 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2232 * gdb.trace/change-loc.exp: Use global pcreg definition.
2233 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2234 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2236 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2237 * gdb.trace/pending.exp: Likewise.
2238 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2239 * gdb.trace/trace-break.exp: Likewise.
2240 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2242 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2243 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2245 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2247 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2249 * gdb.ada/fin_fun_out: New testcase.
2251 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2253 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2254 value associated with DW_AT_byte_size.
2255 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2256 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2259 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2261 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2262 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2264 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2265 gdb.dwarf2/dw2-canonicalize-type.exp,
2266 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2267 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2268 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2269 provided by gdb_target_symbol_prefix_flags_asm.
2270 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2271 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2272 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2273 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2274 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2275 macros where needed). Use this macro for symbols which require
2276 the prefix provided by SYMBOL_PREFIX.
2278 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2280 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2282 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2283 representing expressions, of more than one list element.
2284 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2285 to prepend linker symbol prefix to f.
2286 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2287 table_1 and table_2.
2288 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2289 Likewise, for f and g.
2290 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2292 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2294 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2295 table_1_ptr and table_2_ptr.
2297 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2298 Joel Brobecker <brobecker@adacore.com>
2300 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2302 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2304 * gdb.reverse/s390-mvcle.c: New test.
2305 * gdb.reverse/s390-mvcle.exp: New file.
2306 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2308 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2310 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2312 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2314 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2316 * gdb.reverse/getresuid-reverse.exp: Likewise.
2317 * gdb.reverse/pipe-reverse.exp: Likewise.
2318 * gdb.reverse/readv-reverse.exp: Likewise.
2319 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2320 * gdb.reverse/time-reverse.exp: Likewise.
2321 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2323 2015-10-30 Yao Qi <yao.qi@linaro.org>
2325 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2326 (empty_cycle): Remove.
2327 (main): Don't call empty_cycle. Don't use watch_count_done.
2328 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2329 empty_cycle. Rewrite the code counting HW watchpoints.
2331 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2333 * gdb.reverse/fstatat-reverse.c: New test.
2334 * gdb.reverse/fstatat-reverse.exp: New file.
2335 * gdb.reverse/getresuid-reverse.c: New test.
2336 * gdb.reverse/getresuid-reverse.exp: New file.
2337 * gdb.reverse/pipe-reverse.c: New test.
2338 * gdb.reverse/pipe-reverse.exp: New file.
2339 * gdb.reverse/readv-reverse.c: New test.
2340 * gdb.reverse/readv-reverse.exp: New file.
2341 * gdb.reverse/recvmsg-reverse.c: New test.
2342 * gdb.reverse/recvmsg-reverse.exp: New file.
2343 * gdb.reverse/time-reverse.c: New test.
2344 * gdb.reverse/time-reverse.exp: New file.
2345 * gdb.reverse/waitpid-reverse.c: New test.
2346 * gdb.reverse/waitpid-reverse.exp: New file.
2348 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2350 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2352 2015-10-26 Doug Evans <dje@google.com>
2355 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2356 * gdb.dwarf2/bad-regnum.c: New file.
2357 * gdb.dwarf2/bad-regnum.exp: New file.
2359 2015-10-26 Doug Evans <dje@google.com>
2362 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2365 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2367 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2368 for a change by "Mention language in compile error message".
2370 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2373 * gdb.python/py-type.c (C::a_method): New.
2374 (C::a_const_method): New.
2375 (C::a_static_method): New.
2377 * gdb.python/py-type.exp (test_fields): Test getting fields
2378 from function and method.
2380 2015-10-21 Keven Boell <keven.boell@intel.com>
2382 * gdb.fortran/vla-alloc-assoc.exp: New file.
2383 * gdb.fortran/vla-datatypes.exp: New file.
2384 * gdb.fortran/vla-datatypes.f90: New file.
2385 * gdb.fortran/vla-history.exp: New file.
2386 * gdb.fortran/vla-ptype-sub.exp: New file.
2387 * gdb.fortran/vla-ptype.exp: New file.
2388 * gdb.fortran/vla-sizeof.exp: New file.
2389 * gdb.fortran/vla-sub.f90: New file.
2390 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2391 * gdb.fortran/vla-value-sub-finish.exp: New file.
2392 * gdb.fortran/vla-value-sub.exp: New file.
2393 * gdb.fortran/vla-value.exp: New file.
2394 * gdb.fortran/vla-ptr-info.exp: New file.
2395 * gdb.mi/mi-vla-fortran.exp: New file.
2396 * gdb.mi/vla.f90: New file.
2398 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2400 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2401 of hardwired timeout value.
2403 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Pedro Alves <palves@redhat.com>
2406 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2407 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2409 2015-10-19 Josh Stone <jistone@redhat.com>
2411 * gdb.base/catch-syscall.c: Include <sched.h>.
2412 (unknown_syscall): New variable.
2413 (main): Trigger a vfork and an unknown syscall.
2414 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2415 (unknown_syscall_number): Likewise.
2416 (check_call_to_syscall): Accept an optional syscall pattern.
2417 (check_return_from_syscall): Likewise.
2418 (check_continue): Likewise.
2419 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2420 (test_catch_syscall_skipping_return): New test toggling off 'catch
2421 syscall' to step over the syscall return, then toggling back on.
2422 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2423 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2424 (do_syscall_tests): Call test_catch_syscall_without_args and
2425 test_catch_syscall_mid_vfork.
2426 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2427 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2429 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2431 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2432 print g_vE): Add new pass patterns.
2433 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2434 print various symbol names for vptr fields.
2436 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2438 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2441 2015-10-12 Yao Qi <yao.qi@linaro.org>
2443 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2445 2015-10-12 Yao Qi <yao.qi@linaro.org>
2447 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2448 is aarch64*-*-linux*.
2450 2015-10-12 Yao Qi <yao.qi@linaro.org>
2452 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2453 (can_relocate_bcond_true): ... it.
2454 (can_relocate_bcond_false): New function.
2456 (can_relocate_bl): Likewise.
2457 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2460 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2462 * gdb.base/nested-addr.c: New file.
2463 * gdb.base/nested-addr.exp: New testcase.
2465 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2467 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2468 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2469 its output. Ignore the output of "record goto begin" and instead
2470 check that GDB is replaying.
2472 2015-10-09 Pedro Alves <palves@redhat.com>
2474 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2475 (top level): Use it in the run with no args test.
2477 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2479 * gdb.dlang/properties.exp: New file.
2481 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2483 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2484 whether or not address 0x1000 is mapped on the target.
2486 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2488 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2491 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2493 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2494 instruction-history test.
2496 2015-09-28 Doug Evans <dje@google.com>
2498 * gdb.base/gcore.c (array_func): Add reference to static_array.
2500 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2502 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2505 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2507 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2508 short or char as base type.
2510 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2512 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2513 to allow any size enum.
2515 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2517 * gdb.ada/array_ptr_renaming.exp: New testcase.
2518 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2519 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2521 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2523 * gdb.trace/ftrace-lock.c: New file.
2524 * gdb.trace/ftrace-lock.exp: New file.
2526 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2528 * gdb.arch/insn-reloc.c: New file.
2529 * gdb.arch/ftrace-insn-reloc.exp: New file.
2531 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2533 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2535 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2536 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2537 * gdb.trace/range-stepping.c: Likewise.
2538 * gdb.trace/trace-break.c: Likewise.
2539 * gdb.trace/trace-mt.c (thread_function): Likewise.
2540 * gdb.trace/ftrace.c (marker): Likewise.
2541 * gdb.trace/trace-condition.c (marker): Likewise.
2542 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2543 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2546 2015-09-18 Doug Evans <xdje42@gmail.com>
2548 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2549 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2551 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2553 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2556 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2558 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2559 the pending breakpoint. Remove timeout override for "Run till
2560 MI pending breakpoint on pendfunc3 on thread 2" test.
2562 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2564 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2567 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2569 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2570 in breakpoint filename pattern.
2572 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2574 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2576 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2578 * gdb.linespec/explicit.exp: Check for readline support for
2579 tab-completion tests. Fix obvious typo.
2581 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2583 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2586 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2588 * gdb.btrace/non-stop.c: New.
2589 * gdb.btrace/non-stop.exp: New.
2591 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2592 Yao Qi <yao.qi@linaro.org>
2594 * gdb.trace/trace-condition.c: New file.
2595 * gdb.trace/trace-condition.exp: New file.
2597 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2599 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2600 for testing bytecode compilation.
2602 2015-09-16 Pedro Alves <palves@redhat.com>
2603 Sandra Loosemore <sandra@codesourcery.com>
2605 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2606 (SECONDS): Redefine.
2607 (main): Call pthread_kill and alarm early.
2608 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2610 (test): If the target can't hardware step and doesn't support
2611 displaced stepping, increase the timeout.
2613 2015-09-16 Pedro Alves <palves@redhat.com>
2615 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2616 (enable_debug): New procedures.
2617 (test): Use them. Bail out if waiting for threads fails.
2618 (top level): Bail out if a test fails.
2620 2015-09-16 Yao Qi <yao.qi@linaro.org>
2622 * gdb.asm/asm-source.exp: Set asm-arch for
2623 aarch64*-*-* target.
2624 * gdb.asm/aarch64.inc: New file.
2626 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2628 * gdb.ada/array_of_variable_length.exp: New testcase.
2629 * gdb.ada/array_of_variable_length/foo.adb: New file.
2630 * gdb.ada/array_of_variable_length/pck.adb: New file.
2631 * gdb.ada/array_of_variable_length/pck.ads: New file.
2633 2015-09-15 Doug Evans <dje@google.com>
2635 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2636 of function static local variable.
2638 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2640 * gdb.threads/tls-so_extern.exp: New test file.
2641 * gdb.threads/tls-so_extern.c: New test file.
2642 * gdb.threads/tls-so_extern_main.c: New test file.
2644 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 * gdb.opt/solib-intra-step-lib.c: New file.
2647 * gdb.opt/solib-intra-step-main.c: New file.
2648 * gdb.opt/solib-intra-step.exp: New file.
2650 2015-09-15 Pedro Alves <palves@redhat.com>
2652 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2653 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2655 2015-09-14 Pedro Alves <palves@redhat.com>
2657 * gdb.base/hook-stop-continue.c: Delete.
2658 * gdb.base/hook-stop-continue.exp: Delete.
2659 * gdb.base/hook-stop-frame.c: Delete.
2660 * gdb.base/hook-stop-frame.exp: Delete.
2661 * gdb.base/hook-stop.c: New file.
2662 * gdb.base/hook-stop.exp: New file.
2664 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2666 * gdb.ada/access_to_packed_array.exp: New testcase.
2667 * gdb.ada/access_to_packed_array/foo.adb: New file.
2668 * gdb.ada/access_to_packed_array/pack.adb: New file.
2669 * gdb.ada/access_to_packed_array/pack.ads: New file.
2671 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2673 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2676 2015-09-11 Don Breazeal <donb@codesourcery.com>
2678 * gdb.base/foll-exec.c: Add copyright header. Fix
2680 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2681 (do_exec_tests): Use clean_restart in place of zap_session,
2682 and for test initialization. Fix formatting issues. Use
2683 fail in place of perror.
2684 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2685 an expect statement to match an expression with output from
2686 the program under debug.
2687 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2688 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2689 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2690 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2691 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2693 2015-09-09 Doug Evans <dje@google.com>
2695 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2697 2015-09-09 Doug Evans <dje@google.com>
2699 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2701 2015-09-09 Doug Evans <dje@google.com>
2703 * gdb.base/savedregs.exp: Fix typo.
2705 2015-09-09 Pedro Alves <palves@redhat.com>
2707 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2709 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2711 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2712 command actually switches threads. Give up on remaining
2713 tests if target fails to stop at breakpoint.
2715 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2717 * gdb.ada/funcall_char.exp: New testcase.
2718 * gdb.ada/funcall_char/foo.adb: New file.
2720 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2722 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2723 expected outputs. Add two testcases for completing ambiguous
2725 * gdb.ada/complete/aux_pck.adb: New file.
2726 * gdb.ada/complete/aux_pck.ads: New file.
2727 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2728 Ambiguous_Func functions.
2729 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2730 * gdb.ada/complete/pck.adb: Likewise.
2732 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2734 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2735 failures to run the test program under GDB.
2737 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2739 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2742 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2744 * gdb.base/run-after-attach.exp: New test file.
2745 * gdb.base/run-after-attach.c: New test file.
2747 2015-08-26 Don Breazeal <donb@codesourcery.com>
2749 * gdb.base/foll-exec-2.c: New test program.
2750 * gdb.base/foll-exec-2.exp: New test.
2752 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2754 * gdb.base/nested-subp1.exp: New file.
2755 * gdb.base/nested-subp1.c: New file.
2756 * gdb.base/nested-subp2.exp: New file.
2757 * gdb.base/nested-subp2.c: New file.
2758 * gdb.base/nested-subp3.exp: New file.
2759 * gdb.base/nested-subp3.c: New file.
2761 2015-08-24 Pedro Alves <palves@redhat.com>
2763 * gdb.server/connect-without-multi-process.c: New file.
2764 * gdb.server/connect-without-multi-process.exp: New file.
2766 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2768 * gdb.opt/inline-markers.c: Make z int.
2770 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2772 * gdb.opt/inline-markers.c: Make z volatile.
2774 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2776 * gdb.opt/inline-bt.c: New volatile global z.
2777 * gdb.opt/inline-cmds.c: Likewise.
2778 * gdb.opt/inline-locals.c: Likewise.
2779 * gdb.opt/inline-markers.c: New extern global z.
2781 (inline_fn): Likewise.
2783 2015-08-24 Pedro Alves <palves@redhat.com>
2785 * config/m32r-stub.exp: Remove file.
2786 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2787 * gdb.base/call-rt-st.exp: Likewise.
2788 * gdb.base/call-strs.exp: Likewise.
2789 * gdb.base/default.exp: Remove references to h8300-*-hms and
2791 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2793 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2795 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2796 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2797 and "return" use KFAIL when GDB can not read/write the vector
2800 2015-08-21 Gary Benson <gbenson@redhat.com>
2802 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2804 2015-08-20 Pedro Alves <palves@redhat.com>
2806 * gdb.server/solib-list.exp: No longer expect an interior stop in
2809 2015-08-20 Pedro Alves <palves@redhat.com>
2811 * gdb.server/connect-stopped-target.c: New file.
2812 * gdb.server/connect-stopped-target.exp: New file.
2814 2015-08-20 Pedro Alves <palves@redhat.com>
2816 * gdb.dwarf2/comp-unit-lang.exp: New file.
2817 * gdb.dwarf2/comp-unit-lang.c: New file.
2819 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2821 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2822 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2824 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2826 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2827 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2829 2015-08-18 Doug Evans <dje@google.com>
2830 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2832 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2833 skip_python_tests. New arg prompt_regexp.
2834 (skip_python_tests): New function.
2835 * lib/mi-support.exp (mi_skip_python_tests): New function.
2836 * gdb.python/py-mi-objfile-gdb.py: New file.
2837 * gdb.python/py-mi-objfile.c: New file.
2838 * gdb.python/py-mi-objfile.exp: New file.
2840 2015-08-17 Keith Seitz <keiths@redhat.com>
2842 * gdb.linespec/explicit.exp: Move strace test from here ...
2843 * gdb.trace/strace.exp: ... to here.
2845 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2847 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2848 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2850 2015-08-14 Doug Evans <xdje42@gmail.com>
2852 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2853 inferior before selecting a new file.
2855 2015-08-14 Doug Evans <xdje42@gmail.com>
2857 * gdb.mi/mi-disassemble.exp: Update.
2858 * gdb.base/disasm-optim.S: New file.
2859 * gdb.base/disasm-optim.c: New file.
2860 * gdb.base/disasm-optim.h: New file.
2861 * gdb.base/disasm-optim.exp: New file.
2863 2015-08-14 Keith Seitz <keiths@redhat.com>
2865 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2868 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2870 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2872 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2874 * gdb.ada/fun_renaming.exp: New testcase.
2875 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2876 * gdb.ada/fun_renaming/pack.adb: New file.
2877 * gdb.ada/fun_renaming/pack.ads: New file.
2879 2015-08-12 Keith Seitz <keiths@redhat.com>
2881 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2882 gdb_get_line_number.
2884 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2886 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2887 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2888 gdb.base/dso2dso.exp: New files.
2890 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2891 Pedro Alves <palves@redhat.com>
2892 Keith Seitz <keiths@redhat.com>
2894 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2897 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2899 * gdb.base/gdbhistsize-history.exp
2900 (test_histsize_history_setting): Use save_vars.
2901 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2903 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2904 * gdb.base/readline.exp: Use save_vars.
2906 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2908 * lib/gdb.exp (save_vars): New proc.
2910 2015-08-11 Keith Seitz <keiths@redhat.com>
2912 * gdb.base/help.exp: Update help_breakpoint_text.
2914 2015-08-11 Keith Seitz <keiths@redhat.com>
2916 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2917 (at toplevel): Call test_explicit_breakpoints.
2918 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2920 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2921 breakpoint conditions, "-cond".
2923 2015-08-11 Keith Seitz <keiths@redhat.com>
2925 * gdb.linespec/3explicit.c: New file.
2926 * gdb.linespec/cpexplicit.cc: New file.
2927 * gdb.linespec/cpexplicit.exp: New file.
2928 * gdb.linespec/explicit.c: New file.
2929 * gdb.linespec/explicit.exp: New file.
2930 * gdb.linespec/explicit2.c: New file.
2931 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2932 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2933 before using in the matching pattern.
2934 Clarify that `prefix' is a regular expression.
2936 2015-08-11 Keith Seitz <keiths@redhat.com>
2938 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2940 Add tests for missing ",FMT" and ",".
2942 2015-08-10 Doug Evans <dje@google.com>
2943 Keith Seitz <keiths@redhat.com>
2946 * gdb.base/completion.exp: Add location completer tests.
2948 2015-08-07 Pedro Alves <palves@redhat.com>
2950 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2952 (top level): Run do_test with and without displaced stepping.
2954 2015-08-07 Pedro Alves <palves@redhat.com>
2956 * gdb.base/valgrind-disp-step.c: New file.
2957 * gdb.base/valgrind-disp-step.exp: New file.
2959 2015-08-07 Pedro Alves <palves@redhat.com>
2961 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2963 (main): Add alarm. Run an infinite loop instead of calling
2965 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2967 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2969 (main): Add alarm. Run an infinite loop instead of calling
2971 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2974 2015-08-07 Pedro Alves <palves@redhat.com>
2976 * gdb.base/checkpoint-ns.exp: New file.
2977 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2980 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2982 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2983 * gdb.btrace/instruction_history.exp: Update.
2984 * gdb.btrace/tsx.exp: New.
2985 * gdb.btrace/tsx.c: New.
2987 2015-08-06 Pedro Alves <palves@redhat.com>
2989 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2991 * gdb.reverse/until-precsave.exp: Bump timeouts.
2993 2015-08-06 Pedro Alves <palves@redhat.com>
2995 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2997 2015-08-06 Pedro Alves <palves@redhat.com>
3000 * gdb.threads/process-dies-while-handling-bp.c: New file.
3001 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3003 2015-08-06 Pedro Alves <palves@redhat.com>
3005 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3006 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3008 2015-08-05 Pedro Alves <palves@redhat.com>
3010 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3011 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3013 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3015 * gdb.base/bp-permanent.exp: Report test as unsupported if
3016 the target cannot stop at the permanent breakpoint.
3018 2015-08-03 Doug Evans <dje@google.com>
3020 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3023 2015-08-03 Doug Evans <dje@google.com>
3025 * Makefile.in (workers/%.worker, build-perf): New rule.
3026 (GDB_PERFTEST_MODE): New variable.
3027 (check-perf): Use it.
3028 (clean): Clean up gdb.perf parallel build subdirs.
3029 * lib/build-piece.exp: New file.
3030 * lib/gdb.exp (make_gdb_parallel_path): New function
3031 (standard_output_file, standard_temp_file): Call it.
3032 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3034 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3036 2015-08-03 Doug Evans <dje@google.com>
3038 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3039 (LOG_FILE_NAME): New global.
3040 (TextReporter.__init__): Initialize self.txt_sum.
3041 (TextReporter.report): Add support for multiple data-points.
3042 Move report to perftest.sum, put raw data in perftest.log.
3043 (TextReporter.start): Open sum and log files.
3044 (TextReporter.end): Close sum and log files.
3045 * gdb.perf/lib/perftest/testresult.py
3046 (SingleStatisticTestResult.record): Handle multiple data-points.
3048 2015-07-31 Pedro Alves <palves@redhat.com>
3050 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3051 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3052 kill_wait_spawned_process instead of explicit "kill -9".
3053 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3054 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3055 kill_wait_spawned_process.
3056 * gdb.base/attach-twice.exp: Likewise.
3057 * gdb.base/attach.exp: Likewise.
3058 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3060 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3061 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3062 kill_wait_spawned_process.
3063 * gdb.base/valgrind-infcall.exp: Likewise.
3064 * gdb.multi/multi-attach.exp: Likewise.
3065 * gdb.python/py-prompt.exp: Likewise.
3066 * gdb.python/py-sync-interp.exp: Likewise.
3067 * gdb.server/ext-attach.exp: Likewise.
3068 * gdb.threads/attach-into-signal.exp (corefunc): Use
3069 spawn_wait_for_attach, spawn_id_get_pid and
3070 kill_wait_spawned_process.
3071 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3072 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3073 spawn_id_get_pid and kill_wait_spawned_process.
3074 * gdb.threads/attach-stopped.exp (corefunc): Use
3075 spawn_wait_for_attach, spawn_id_get_pid and
3076 kill_wait_spawned_process.
3077 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3078 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3079 kill_wait_spawned_process instead of explicit "kill -9".
3080 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3081 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3082 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3083 processes. Don't map cygwin/windows pids here. Now returns a
3086 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3088 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3089 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3092 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3094 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3096 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3099 2014-05-21 Mark Wielaard <mjw@redhat.com>
3101 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3103 2015-07-30 Pedro Alves <palves@redhat.com>
3105 * linux-low.c (handle_extended_wait): Set the child's last
3106 reported status to TARGET_WAITKIND_STOPPED.
3108 2015-07-30 Pedro Alves <palves@redhat.com>
3111 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3112 only shows inferior 1.
3114 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3115 Pedro Alves <palves@redhat.com>
3118 * gdb.threads/fork-plus-threads.c: New file.
3119 * gdb.threads/fork-plus-threads.exp: New file.
3121 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3123 * gdb.base/batch-preserve-term-settings.exp
3124 (test_terminal_settings_preserved_after_cli_exit): Use
3127 2015-07-29 Pedro Alves <palves@redhat.com>
3128 Don Breazeal <donb@codesourcery.com>
3130 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3131 output from both inferior_spawn_id and gdb_spawn_id.
3133 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3135 * gdb.threads/attach-into-signal.exp (corefunc): Use
3136 with_test_prefix on nested loops, uniquefying the test messages.
3138 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3140 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3143 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3145 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3147 (test_terminal_settings_preserved_after_sigterm): New test.
3149 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3151 * gdb.base/batch-preserve-term-settings.exp
3152 (test_terminal_settings_preserved_after_cli_exit): New test.
3154 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3156 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3157 manipulation of saved_gdbflags.
3158 (test_terminal_settings_preserved): Remove global declaration of
3159 the unused variable pagination_prompt. Remove manipulation of
3160 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3163 2015-07-29 Pedro Alves <palves@redhat.com>
3165 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3167 2015-07-29 Pedro Alves <palves@redhat.com>
3169 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3172 2015-07-29 Pedro Alves <palves@redhat.com>
3174 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3175 (main): Call gdb_unbuffer_output.
3176 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3177 (main): Call gdb_unbuffer_output.
3178 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3179 (main): Call gdb_unbuffer_output.
3180 * gdb.base/call-strs.exp: Adjust to step over the
3181 gdb_unbuffer_output call.
3182 * gdb.base/catch-gdb-caused-signals.c: Include
3183 "../lib/unbuffer_output.c".
3184 (main): Call gdb_unbuffer_output.
3185 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3186 (main): Call gdb_unbuffer_output.
3187 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3188 (main): Call gdb_unbuffer_output.
3189 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3190 (main): Call gdb_unbuffer_output.
3191 * gdb.base/shlib-call.exp: Adjust to step over the
3192 gdb_unbuffer_output call.
3193 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3194 (main): Call gdb_unbuffer_output.
3195 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3196 (main): Call gdb_unbuffer_output.
3197 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3198 (main): Rename to ...
3200 (main): Reimplement.
3201 * gdb.base/varargs.exp: Run to test instead of to main.
3202 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3203 (main): Call gdb_unbuffer_output.
3205 2015-07-29 Pedro Alves <palves@redhat.com>
3207 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3208 factore out from mi_continue_dprintf. For call-style dprintfs,
3209 expect dprintf output out of $inferior_spawn_id.
3210 (mi_continue_dprintf): Use mi_expect_dprintf.
3211 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3212 (main): Call gdb_unbuffer_output.
3214 2015-07-29 Pedro Alves <palves@redhat.com>
3216 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3217 (default_mi_gdb_start): Set inferior_spawn_id instead of
3218 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3220 (mi_gdb_test): Always expect inferior output from both
3221 $inferior_spawn_id and $gdb_spawn_id.
3223 2015-07-29 Pedro Alves <palves@redhat.com>
3225 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3226 send_inferior and $inferior_spawn_id.
3228 2015-07-29 Pedro Alves <palves@redhat.com>
3230 * gdb.gdb/complaints.exp (test_initial_complaints)
3231 (test_serial_complaints, test_short_complaints): Use
3233 (test_empty_complaint): Handle $inferior_spawn_id !=
3236 2015-07-29 Pedro Alves <palves@redhat.com>
3238 * gdb.base/varargs.exp: Use gdb_test_stdio.
3240 2015-07-29 Pedro Alves <palves@redhat.com>
3242 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3244 2015-07-29 Pedro Alves <palves@redhat.com>
3246 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3248 2015-07-29 Pedro Alves <palves@redhat.com>
3250 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3251 parameter into two new parameters, "inf_result" and "gdb_result".
3252 Expect inferior output and gdb output from $inferior_spawn_id and
3253 $gdb_spawn_id, respectively. Adjust all callers.
3255 2015-07-29 Pedro Alves <palves@redhat.com>
3257 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3258 of gdb_test_sequence.
3260 2015-07-29 Pedro Alves <palves@redhat.com>
3262 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3263 (saw_spurious_output): Expect inferior output from
3264 $inferior_spawn_id. Use gdb_test_stdio.
3266 2015-07-29 Pedro Alves <palves@redhat.com>
3268 * gdb.base/dprintf.exp: Use standard_testfile. Change
3269 prepare_for_testing call.
3270 (srcfile): Don't set.
3271 (restart): New procedure.
3272 (test_dprintf): New procecure, use to continue over dprintfs.
3273 (test_call, test_agent): New procedures, tests moved here.
3274 Restart gdb and recreate dprintfs. Adjust expected output.
3276 2015-07-29 Pedro Alves <palves@redhat.com>
3278 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3280 2015-07-29 Pedro Alves <palves@redhat.com>
3282 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3284 2015-07-29 Pedro Alves <palves@redhat.com>
3286 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3289 2015-07-29 Pedro Alves <palves@redhat.com>
3291 * lib/gdb.exp (gdb_test_stdio): New procedure.
3293 2015-07-29 Pedro Alves <palves@redhat.com>
3295 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3297 2015-07-29 Pedro Alves <palves@redhat.com>
3299 * gdb.base/call-signal-resume.exp: Remove check for
3300 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3301 * gdb.base/unwindonsignal.exp: Likewise.
3302 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3303 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3305 2015-07-29 Pedro Alves <palves@redhat.com>
3307 * gdb.base/siginfo-addr.c (pass): New function.
3308 (handler): Call it iff si_addr is correct.
3309 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3310 Set a breakpoint at "pass" and continue to it.
3312 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3314 * gdb.python/py-objfile.exp: Make some tests have unique names.
3315 * gdb.python/py-pp-registration.exp: Likewise.
3317 2015-07-28 Pedro Alves <palves@redhat.com>
3319 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3321 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3323 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3325 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3327 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3329 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3331 * gdb.base/gdb-sigterm-2.exp: New test.
3333 2015-07-25 Doug Evans <xdje42@gmail.com>
3336 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3337 (workers/%.worker, build-perf): New rule.
3338 (GDB_PERFTEST_MODE): New variable.
3339 (check-perf): Use it.
3340 (clean): Clean up gdb.perf parallel build subdirs.
3341 * lib/build-piece.exp: New file.
3342 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3343 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3345 (standard_temp_file): Ditto.
3346 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3349 2015-07-24 Doug Evans <dje@google.com>
3351 * gdb.perf/lib/perftest/utils.py: New file.
3352 * gdb.perf/gm-hello.cc: New file.
3353 * gdb.perf/gm-pervasive-typedef.cc: New file.
3354 * gdb.perf/gm-pervasive-typedef.h: New file.
3355 * gdb.perf/gm-std.cc: New file.
3356 * gdb.perf/gm-std.h: New file.
3357 * gdb.perf/gm-use-cerr.cc: New file.
3358 * gdb.perf/gm-utils.h: New file.
3359 * gdb.perf/gmonster-null-lookup.py: New file.
3360 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3361 * gdb.perf/gmonster-print-cerr.py: New file.
3362 * gdb.perf/gmonster-ptype-string.py: New file.
3363 * gdb.perf/gmonster-runto-main.py: New file.
3364 * gdb.perf/gmonster-select-file.py: New file.
3365 * gdb.perf/gmonster1-null-lookup.exp: New file.
3366 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3367 * gdb.perf/gmonster1-print-cerr.exp: New file.
3368 * gdb.perf/gmonster1-ptype-string.exp: New file.
3369 * gdb.perf/gmonster1-runto-main.exp: New file.
3370 * gdb.perf/gmonster1-select-file.exp: New file.
3371 * gdb.perf/gmonster1.cc: New file.
3372 * gdb.perf/gmonster1.exp: New file.
3373 * gdb.perf/gmonster2-null-lookup.exp: New file.
3374 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3375 * gdb.perf/gmonster2-print-cerr.exp: New file.
3376 * gdb.perf/gmonster2-ptype-string.exp: New file.
3377 * gdb.perf/gmonster2-runto-main.exp: New file.
3378 * gdb.perf/gmonster2-select-file.exp: New file.
3379 * gdb.perf/gmonster2.cc: New file.
3380 * gdb.perf/gmonster2.exp: New file.
3382 2015-07-24 Doug Evans <dje@google.com>
3384 * gdb.perf/README: New file.
3385 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3386 * lib/gen-perf-test.exp: New file.
3388 2015-07-24 Doug Evans <dje@google.com>
3390 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3391 (PerfTest::startup): New function.
3392 (PerfTest::run): Return result of calling body.
3393 (PerfTest::assemble): Rewrite.
3394 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3395 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3396 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3397 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3398 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3400 2015-07-24 Doug Evans <dje@google.com>
3402 * lib/gdb.exp (clean_restart): Make executable optional.
3404 2015-07-24 Doug Evans <dje@google.com>
3406 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3407 compiler_info references.
3408 * gdb.cp/temargs.exp: Ditto.
3409 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3410 (get_compiler_info): Early exit if already computed. Set compiler_info
3411 to "unknown" if there was a problem.
3412 (test_compiler_info): Add function comment. Call get_compiler_info.
3414 2015-07-24 Doug Evans <dje@google.com>
3416 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3417 (workers/%.worker, build-perf): New rule.
3418 (GDB_PERFTEST_MODE): New variable.
3419 (check-perf): Use it.
3420 (clean): Clean up gdb.perf parallel build subdirs.
3421 * lib/build-piece.exp: New file.
3422 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3423 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3425 (standard_temp_file): Ditto.
3426 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3429 2015-07-24 Doug Evans <dje@google.com>
3431 * lib/future.exp (gdb_default_target_compile): New option
3433 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3436 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3438 * gdb.base/catch-syscall.exp: Call gdb_exit before
3441 2015-07-24 Pedro Alves <palves@redhat.com>
3443 * gdb.python/py-events.exp: Accept output between the stop event
3445 * gdb.python/py-evsignal.exp: Likewise.
3446 * gdb.python/py-evthreads.exp: Likewise.
3448 2015-07-24 Pedro Alves <palves@redhat.com>
3451 * gdb.threads/non-ldr-exit.c: New file.
3452 * gdb.threads/non-ldr-exit.exp: New file.
3454 2015-07-24 Yao Qi <yao.qi@linaro.org>
3456 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3459 2015-07-24 Yao Qi <yao.qi@linaro.org>
3461 * gdb.server/ext-restart.exp: New file.
3463 2015-07-24 Yao Qi <yao.qi@linaro.org>
3465 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3467 * gdb.server/ext-wrapper.exp: New file.
3469 2015-07-23 Doug Evans <dje@google.com>
3471 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3472 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3474 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3476 * gdb.ada/var_arr_typedef.exp: New testcase.
3477 * gdb.ada/var_arr_typedef/pack.adb: New file.
3478 * gdb.ada/var_arr_typedef/pack.ads: New file.
3479 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3481 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3483 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3485 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3487 * gdb.arch/i386-biarch-core.exp: Replace istarget
3488 by "complete set gnutarget". Remove expectation for the "core-file"
3491 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3493 Revert the previous commit:
3494 Tests for validate symbol file using build-id.
3496 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3498 Tests for validate symbol file using build-id.
3499 * gdb.base/solib-mismatch-lib.c: New file.
3500 * gdb.base/solib-mismatch-libmod.c: New file.
3501 * gdb.base/solib-mismatch.c: New file.
3502 * gdb.base/solib-mismatch.exp: New file.
3504 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3506 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3508 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3509 * gdb.base/siginfo.exp: Likewise.
3510 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3512 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3514 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3516 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3518 * gdb.trace/range-stepping.exp: Check that the target supports
3521 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3523 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3525 2015-07-14 Pedro Alves <palves@redhat.com>
3527 * gdb.base/killed-outside.exp: New file.
3528 * gdb.base/killed-outside.c: New file.
3530 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3532 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3534 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3536 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3538 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3539 infcall tests instead of setting up for KFAIL.
3541 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3543 * gdb.btrace/record_goto-step.exp: New.
3545 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3548 * gdb.compile/compile.c (struct struct_type): Add volatile to
3550 * gdb.compile/compile.exp
3551 (compile code struct_object.selffield = &struct_object): Skip further
3552 struct_object tests if this one xfails.
3554 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3557 * gdb.trace/ax.exp: Add test.
3559 2015-07-07 Yao Qi <yao.qi@linaro.org>
3561 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3562 instead of istarget "aarch64*-*-*".
3563 * gdb.arch/aarch64-fp.exp: Likewise.
3564 * gdb.base/float.exp: Likewise.
3565 * gdb.reverse/aarch64.exp: Likewise.
3566 * lib/gdb.exp (is_aarch64_target): New proc.
3568 2015-07-07 Yao Qi <yao.qi@linaro.org>
3570 * lib/gdb.exp (is_aarch32_target): New proc.
3571 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3572 instead of "istarget "arm*-*-*"".
3573 * gdb.arch/arm-disp-step.exp: Likewise.
3574 * gdb.arch/thumb-bx-pc.exp: Likewise.
3575 * gdb.arch/thumb-prologue.exp: Likewise.
3576 * gdb.arch/thumb-singlestep.exp: Likewise.
3577 * gdb.base/disp-step-syscall.exp: Likewise.
3578 * gdb.base/float.exp: Likewise.
3580 2015-07-07 Yao Qi <yao.qi@linaro.org>
3582 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3583 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3585 2015-07-07 Yao Qi <yao.qi@linaro.org>
3587 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3588 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3590 * gdb.multi/multi-arch.exp: Likewise.
3592 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3594 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3597 2015-07-07 Yao Qi <yao.qi@linaro.org>
3599 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3601 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3603 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3604 '[' and ']' characters.
3606 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3608 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3610 2015-06-29 Pedro Alves <palves@redhat.com>
3613 * gdb.threads/hand-call-new-thread.c: New file.
3614 * gdb.threads/hand-call-new-thread.c: New file.
3616 2015-06-26 Keith Seitz <keiths@redhat.com>
3617 Doug Evans <dje@google.com>
3620 * gdb.cp/var-tag-2.cc: New file.
3621 * gdb.cp/var-tag-3.cc: New file.
3622 * gdb.cp/var-tag-4.cc: New file.
3623 * gdb.cp/var-tag.cc: New file.
3624 * gdb.cp/var-tag.exp: New file.
3626 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3628 * gdb.base/history-duplicates.exp: New test.
3630 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3632 * gdb.base/completion.exp: Test the completion of the "focus"
3635 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3637 * gdb.arch/amd64-prologue-skip.S: New file.
3638 * gdb.arch/amd64-prologue-skip.exp: New file.
3640 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3642 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3643 is_address_zero_readable check.
3645 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3647 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3648 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3650 2015-06-24 Yao Qi <yao.qi@linaro.org>
3652 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3655 2015-06-24 Yao Qi <yao.qi@linaro.org>
3657 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3658 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3659 * gdb.base/siginfo-thread.exp: Likewise.
3661 2015-06-22 Yao Qi <yao.qi@linaro.org>
3663 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3665 2015-06-22 Yao Qi <yao.qi@linaro.org>
3667 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3669 (skip_hw_watchpoint_tests): Likewise.
3671 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3673 * gdb.base/gdbinit-history.exp: Test the interaction between
3674 setting GDBHISTSIZE and setting the history size via .gdbinit.
3676 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3679 * gdb.base/gdbhistsize-history.exp: New test.
3681 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3683 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3685 * gdb.base/readline.exp: Likewise.
3687 2015-06-17 Yao Qi <yao.qi@linaro.org>
3689 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3692 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3694 * gdb.base/gdbinit-history.exp: Add test case to check that
3695 an unlimited history file does not get truncated on exit.
3697 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3699 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3700 (VECTOR): New macro. Use it...
3701 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3702 ...for these typedefs.
3703 (int8, char1, int1, double1): New typedefs.
3704 (struct just_int2, struct two_int2): New structures.
3705 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3706 (add_structvecs, add_singlevecs): New functions.
3707 (main): Call add_some_intvecs twice.
3708 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3709 the compile and exit upon failure. Try compiling for the "native"
3710 architecture. Test inferior function calls with vector arguments
3711 and vector return value handling with "finish" and "return".
3713 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3715 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3716 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3718 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3720 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3722 PR breakpoints/16465
3723 * gdb.mi/mi-dprintf-pending.c: New file.
3724 * gdb.mi/mi-dprintf-pending.exp: New test.
3725 * gdb.mi/mi-dprintf-pendshr.c: New file.
3727 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3728 Mircea Gherzan <mircea.gherzan@intel.com>
3730 * gdb.arch/i386-mpx-map.c: New file.
3731 * gdb.arch/i386-mpx-map.exp: New File.
3733 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3735 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3736 * gdb.arch/i386-mpx.exp: Indentation fixed.
3738 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3740 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3741 function and improved indentation.
3742 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3743 gdb_test_multiple. Added additional tests to skip the test.
3745 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3747 * gdb.arch/i386-avx512.c: Change path in include file.
3748 * gdb.arch/i386-avx512.exp: Change include dir path
3750 * gdb.arch/i386-mpx.c: Change path in include file.
3751 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3754 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3756 * gdb.compile/compile-print.exp (compile print *vararray@3)
3757 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3759 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3761 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3762 (do not keep jit in memory): ... this.
3763 (expect 5): Change it to ...
3764 (expect no 5): ... this.
3766 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3769 * gdb.mi/mi-detach.exp: New file.
3771 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3774 * gdb.arch/amd64-tailcall-self.S: New file.
3775 * gdb.arch/amd64-tailcall-self.c: New file.
3776 * gdb.arch/amd64-tailcall-self.exp: New file.
3778 2015-05-28 Don Breazeal <donb@codesourcery.com>
3780 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3781 tests for remote targets by checking is_target_gdbserver.
3783 2015-05-27 Doug Evans <dje@google.com>
3785 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3786 * gdb.dwarf2/opaque-type-lookup.c: New file.
3787 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3789 2015-05-26 Doug Evans <dje@google.com>
3791 * gdb.cp/iostream.cc: New file.
3792 * gdb.cp/iostream.exp: New file.
3794 2015-05-26 Doug Evans <dje@google.com>
3796 * gdb.dwarf2/dw2-op-call.exp: Update.
3797 * gdb.dwarf2/dw4-sig-types.exp: Update.
3798 * gdb.dwarf2/implptr.exp: Update.
3799 * gdb.mi/mi-cmd-param-changed.exp: Update.
3801 2015-05-26 Doug Evans <dje@google.com>
3803 * gdb.python/py-lazy-string.c: New file.
3804 * gdb.python/py-lazy-string.exp: New file.
3805 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3806 (main): Update. Add estring3.
3807 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3808 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3810 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3811 Yao Qi <yao.qi@linaro.org>
3813 * gdb.reverse/aarch64.c: New.
3814 * gdb.reverse/aarch64.exp: New.
3816 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3818 * lib/gdb.exp (supports_process_record): Return true for
3820 (supports_reverse): Likewise.
3822 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3824 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3825 Use with_test_prefix.
3827 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3829 * gdb.base/completion.exp: Add test for completion of layout
3832 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3834 * lib/gdb.exp (skip_tui_tests): New proc.
3835 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3837 2015-05-19 Pedro Alves <palves@redhat.com>
3839 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3840 Save the whole env array instead of just HOME. Unset HISTSIZE in
3841 the environment while testing. Restore whole environment
3844 2015-05-16 Doug Evans <xdje42@gmail.com>
3846 * gdb.guile/scm-ports.c: New file.
3847 * gdb.guile/scm-ports.exp: Add memory port tests.
3849 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3851 * gdb.compile/compile-print.c: New file.
3852 * gdb.compile/compile-print.exp: New file.
3854 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * gdb.compile/compile-ops.exp: Cast param to void.
3857 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3858 (compile code struct_object.selffield = &struct_object): Add xfail.
3860 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3862 * gdb.ada/arr_enum_with_gap: New testcase.
3864 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3866 * gdb.ada/byte_packed_arr: New testcase.
3868 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3870 * gdb.ada/pckd_neg: New testcase.
3872 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3875 * gdb.base/gdbinit-history.exp: New test.
3876 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3877 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3879 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3881 * gdb.python/py-xmethods.cc: Enhance test case.
3882 * gdb.python/py-xmethods.exp: New tests.
3883 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3885 (B_indexoper): Likewise.
3886 (global_dm_list) : Add new xmethod worker functions.
3888 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3890 * gdb.base/coredump-filter.exp: Correctly unset
3891 "coredump_var_addr" array.
3893 2015-05-08 Pedro Alves <palves@redhat.com>
3895 * gdb.server/non-existing-program.exp: Unset spawn_id.
3897 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3900 * gdb.python/py-xmethods.exp: Add tests.
3902 2015-05-08 Yao Qi <yao.qi@linaro.org>
3905 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3906 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3907 function set_coredump_filter, and remove remote_exec call.
3908 Remove argument ipid. Callers update.
3909 (top level): Don't get inferior's PID.
3911 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3913 * gdb.base/watch_thread_num.exp: Skip test on targets without
3916 2015-05-06 Pedro Alves <palves@redhat.com>
3919 * gdb.server/non-existing-program.exp: New file.
3921 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3923 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3925 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3927 * gdb.ada/out_of_line_in_inlined: New testcase.
3929 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3931 * gdb.ada/var_rec_arr: New testcase.
3933 2015-04-30 Yao Qi <yao.qi@linaro.org>
3935 * gdb.base/break-idempotent.exp: If
3936 skip_hw_watchpoint_multi_tests returns true, skip the tests
3937 on "rwatch" and "awatch".
3939 2015-04-30 Yao Qi <yao.qi@linaro.org>
3941 * gdb.base/relativedebug.exp: Invoke gdb command
3942 "info sharedlibrary", and if libc.so doesn't have debug info,
3945 2015-04-29 Doug Evans <dje@google.com>
3947 * gdb.python/py-xmethods.exp: Add ptype tests.
3948 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3949 get_result_type method.
3951 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3953 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3954 the target does not support hardware watchpoints.
3956 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3958 * gdb.base/break-always.exp: Abort testing if writing to memory
3961 2015-04-28 Doug Evans <dje@google.com>
3963 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3964 * gdb.python/py-pp-registration.exp: ... here. New file.
3965 * gdb.python/py-pp-registration.c: New file.
3966 * gdb.python/py-pp-registration.py: New file.
3968 2015-04-28 Doug Evans <dje@google.com>
3970 * gdb.python/py-bad-printers.c: New file.
3971 * gdb.python/py-bad-printers.py: New file.
3972 * gdb.python/py-bad-printers.exp: New file.
3974 2015-04-28 Sasha Smundak <asmundak@google.com>
3976 * gdb.python/py-type.exp: New test.
3978 2015-04-28 Andy Wingo <wingo@igalia.com>
3980 * gdb.python/py-parameter.exp:
3981 * gdb.guile/scm-parameter.exp: Escape the path that we are
3982 matching against, as it might contain characters that are special
3983 to regular expressions.
3985 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3987 * gdb.ada/rec_comp: New testcase.
3989 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3991 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3994 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3996 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3997 new tests for verilog output.
3999 2015-04-24 Yao Qi <yao.qi@linaro.org>
4001 * boards/remote-gdbserver-on-localhost.exp: New file.
4003 2015-04-23 Pedro Alves <palves@redhat.com>
4005 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4006 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4007 "end of file", remove $inferior_spawn_id from the indirect list.
4009 2015-04-23 Pedro Alves <palves@redhat.com>
4011 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4013 2015-04-23 Pedro Alves <palves@redhat.com>
4015 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4016 on $any_spawn_id instead of only on $gdb_spawn_id.
4018 2015-04-21 Pierre Muller <muller@sourceware.org>
4021 * lib/pascal.exp (gpc_compile): Add new option "class".
4022 (fpc_compile): Likewise.
4023 * gdb.pascal/case-insensitive-symbols.pas: New file.
4024 * gdb.pascal/case-insensitive-symbols.exp: New file.
4026 2015-04-20 Gary Benson <gbenson@redhat.com>
4028 * gdb.base/attach.exp: Fix three extended remote failures.
4030 2015-04-17 Gary Benson <gbenson@redhat.com>
4032 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4033 the main executable over the remote protocol.
4035 2015-04-16 Pedro Alves <palves@redhat.com>
4037 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4038 a new gdbserver if gdbserver_reconnect_p is set.
4040 2015-04-16 Pedro Alves <palves@redhat.com>
4042 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4043 is set, don't exit gdbserver.
4045 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4047 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4048 appropriate .insn, such that an older assembler can be used.
4049 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4050 the z/Architecture instruction set on 31-bit targets as well.
4052 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4054 * gdb.go/handcall.exp: Remove all logic related to the first
4055 breakpoint and rely on go_runto_main instead.
4056 * gdb.go/strings.exp: Likewise.
4057 * gdb.go/unsafe.exp: Likewise.
4058 * gdb.go/hello.exp: Likewise. Also rename the remaining
4059 breakpoint marker to "breakpoint 1".
4060 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4061 * gdb.go/strings.go: Likewise.
4062 * gdb.go/unsafe.go: Likewise.
4063 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4064 "set breakpoint 2 here" and rename the remaining breakpoint marker
4067 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4069 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4070 if itertools.imap is not present.
4071 * gdb.python/py-objfile.exp: Add parentheses.
4072 * gdb.python/py-type.exp: Same.
4073 * gdb.python/py-unwind-maint.py: Same.
4075 2015-04-15 Yao Qi <yao.qi@linaro.org>
4077 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4078 of ":$ptr_size" and set its form explicitly.
4080 2015-04-15 Pedro Alves <palves@redhat.com>
4081 Yao Qi <yao.qi@linaro.org>
4083 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4084 timeout by factor of 4.
4085 (test_regular_watch): Likewise.
4086 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4087 * gdb.reverse/sigall-reverse.exp: Likewise.
4088 * gdb.reverse/until-precsave.exp: Likewise.
4089 * lib/gdb.exp (with_timeout_factor): New proc.
4090 (gdb_expect): Move some code to ...
4091 (get_largest_timeout): ... here. New procedure.
4093 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4095 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4097 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4099 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4100 to write to the .text section.
4102 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4104 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4105 Handle the case of targets that do not provide PID information.
4107 2015-04-13 Yao Qi <yao.qi@linaro.org>
4109 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4110 and use expect instead of gdb_expect.
4112 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4114 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4115 "coredump_var_addr" to avoid naming conflict with other testcases.
4117 2015-04-10 Pedro Alves <palves@redhat.com>
4119 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4120 gdb_test_sequence and gdb_assert.
4122 2015-04-10 Pedro Alves <palves@redhat.com>
4124 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4125 test messages that don't include the breakpoint address.
4127 2015-04-10 Yao Qi <yao.qi@linaro.org>
4129 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4130 false for some offset and width combinations which aren't
4131 supported by linux kernel.
4133 2015-04-10 Pedro Alves <palves@redhat.com>
4135 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4136 procedure, factored out from ...
4137 (top level): ... here. Add "set displaced-stepping" testing axis.
4138 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4139 parameter "displaced". Use it.
4140 (top level): Use foreach and add "set displaced-stepping" testing
4143 2015-04-10 Pedro Alves <palves@redhat.com>
4145 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4147 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4148 both the address of the instruction that triggers the watchpoint
4149 and the address of the instruction immediately after, and use
4150 those addresses for the test. Fix comment.
4152 2015-04-10 Pedro Alves <palves@redhat.com>
4154 * gdb.base/sigstep.exp (breakpoint_to_handler)
4155 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4156 Test "backtrace" in handler.
4157 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4158 (top level): Add new "displaced" test axis to
4159 breakpoint_to_handler, breakpoint_to_handler_entry and
4160 breakpoint_over_handler.
4162 2015-04-10 Pedro Alves <palves@redhat.com>
4165 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4167 2015-04-10 Yao Qi <yao.qi@linaro.org>
4169 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4170 (test_add_rn_pc): New function.
4171 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4172 (top level): Invoke test_add_rn_pc.
4174 2015-04-10 Pedro Alves <palves@redhat.com>
4177 * gdb.base/step-over-no-symbols.exp: New file.
4179 2015-04-09 Andy Wingo <wingo@igalia.com>
4181 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4182 after the Python tests.
4184 2015-04-08 Keith Seitz <keiths@redhat.com>
4187 * gdb.python/py-completion.exp: New tests for completion.
4188 * gdb.python/py-completion.py (CompleteLimit1): New class.
4189 (CompleteLimit2): Likewise.
4190 (CompleteLimit3): Likewise.
4191 (CompleteLimit4): Likewise.
4192 (CompleteLimit5): Likewise.
4193 (CompleteLimit6): Likewise.
4194 (CompleteLimit7): Likewise.
4196 2015-04-08 Pedro Alves <palves@redhat.com>
4200 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4202 (main): Install it as SIGUSR1 handler.
4203 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4204 parameter. Always use "setup" as prefix. Toggle "set
4205 displaced-stepping" off/on depending on global. Don't switch to
4207 (top level): Add displaced stepping "off/on" test axis. Update
4208 "setup" calls. Wrap each subtest with with_test_prefix. Test
4209 continuing with a queued signal in each thread.
4211 2015-04-08 Pedro Alves <palves@redhat.com>
4213 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4214 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4215 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4216 Return early if running to main fails.
4217 * gdb.trace/while-stepping.exp: Likewise.
4219 2015-04-07 Pedro Alves <palves@redhat.com>
4221 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4222 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4223 interact with inferior program.
4225 2015-04-07 Pedro Alves <palves@redhat.com>
4227 * lib/gdb.exp (inferior_spawn_id): New global.
4228 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4229 spawn id after processing the user code.
4230 (default_gdb_start): Set inferior_spawn_id.
4231 (send_inferior): New procedure.
4232 * lib/gdbserver-support.exp (gdbserver_start): Set
4234 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4236 2015-04-07 Pedro Alves <palves@redhat.com>
4238 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4239 * lib/gdbserver-support.exp (gdbserver_start): Make
4240 $server_spawn_id global.
4241 (gdbserver_start): Don't wait for gdbserver's spawn id with
4243 (close_gdbserver): New procedure.
4244 (gdb_exit): Rename the default version and reimplement.
4246 2015-04-07 Pedro Alves <palves@redhat.com>
4248 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4249 append the substituted item, not the original item.
4251 2015-04-07 Pedro Alves <palves@redhat.com>
4253 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4256 2015-04-07 Pedro Alves <palves@redhat.com>
4258 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4259 output appearing once only.
4261 2015-04-07 Pedro Alves <palves@redhat.com>
4263 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4264 that doesn't expect anything. Return early if running to main
4267 2015-04-07 Yao Qi <yao.qi@linaro.org>
4269 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4270 (child_function): Call alarm.
4271 (main): Move call to alarm into the loop.
4272 * gdb.threads/non-stop-fair-events.exp: Build program with
4275 2015-04-06 Doug Evans <xdje42@gmail.com>
4277 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4278 Fix dest parameter to board_info.
4279 (fpc_compile): Ditto.
4280 (gdb_compile_pascal): Rename dest arg to destfile.
4282 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4284 * gdb.ada/funcall_ref.exp: New file.
4285 * gdb.ada/funcall_ref/foo.adb: New file.
4287 2015-04-02 Yao Qi <yao.qi@linaro.org>
4289 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4292 2015-04-02 Gary Benson <gbenson@redhat.com>
4294 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4296 2015-04-01 Sasha Smundak <asmundak@google.com>
4298 * gdb.python/py-unwind-maint.c: New file.
4299 * gdb.python/py-unwind-maint.exp: New test.
4300 * gdb.python/py-unwind-maint.py: New file.
4301 * gdb.python/py-unwind.c: New file.
4302 * gdb.python/py-unwind.exp: New test.
4303 * gdb.python/py-unwind.py: New test.
4305 2015-04-01 Pedro Alves <palves@redhat.com>
4307 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4308 to fail instead of non-existent $test.
4310 2015-04-01 Pedro Alves <palves@redhat.com>
4312 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4313 GDBFLAGS if not empty.
4315 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4317 * gdb.ada/complete.exp: Remove "multi_line".
4318 * gdb.ada/info_exc.exp: Remove "multi_line".
4319 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4320 * gdb.ada/ptype_field.exp: Remove "multi_line".
4321 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4322 * gdb.ada/tagged.exp: Remove "multi_line".
4323 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4325 * gdb.btrace/delta.exp: Likewise.
4326 * gdb.btrace/exception.exp: Likewise.
4327 * gdb.btrace/function_call_history.exp: Likewise.
4328 * gdb.btrace/instruction_history.exp: Likewise.
4329 * gdb.btrace/nohist.exp: Likewise.
4330 * gdb.btrace/record_goto.exp: Likewise.
4331 * gdb.btrace/segv.exp: Likewise.
4332 * gdb.btrace/stepi.exp: Likewise.
4333 * gdb.btrace/tailcall.exp: Likewise.
4334 * gdb.btrace/unknown_functions.exp: Likewise.
4335 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4336 * lib/gdb.exp: Add the "multi_line" helper.
4338 2015-04-01 Pedro Alves <palves@redhat.com>
4340 * gdb.threads/tid-reuse.c: New file.
4341 * gdb.threads/tid-reuse.exp: New file.
4343 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4346 * gdb.base/coredump-filter.c: New file.
4347 * gdb.base/coredump-filter.exp: Likewise.
4349 2015-03-27 Petr Machata <pmachata@redhat.com>
4351 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4352 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4353 (Dwarf::assemble): Initialize them.
4354 (Dwarf::lines): New function.
4356 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4358 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4359 SYMBOL_PREFIX for x86_64-*-cygwin.
4361 2015-03-26 Andy Wingo <wingo@igalia.com>
4364 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4365 const_value but not a location.
4366 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4367 location defined in non-main CUs are visible.
4369 2015-03-26 Yao Qi <yao.qi@linaro.org>
4372 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4373 Add a line number entry for the same line.
4374 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4375 Add a line number entry for the same line.
4377 2015-03-26 Yao Qi <yao.qi@linaro.org>
4379 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4381 (func): Likewise. Add .Lfunc_1 label.
4383 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4388 2015-03-26 Yao Qi <yao.qi@linaro.org>
4390 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4391 Call gdb_compile instead to compile each .s files without debug
4394 2015-03-26 Yao Qi <yao.qi@linaro.org>
4396 * gdb.base/savedregs.exp (process_saved_regs): Make
4397 "Saved registers:" optional in the pattern.
4399 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4401 * gdb.btrace/next.exp: Merged into step.exp.
4402 * gdb.btrace/finish.exp: Merged into step.exp.
4403 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4404 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4405 "record goto" and checking the exact replay position.
4406 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4407 check for "Recording format" in "info record" output.
4408 * gdb.btrace/record_goto.exp: Choose test file based on target.
4409 * gdb.btrace/x86-record_goto.S: Renamed into ...
4410 * gdb.btrace/x86_64-record_goto.S: ... this.
4411 * gdb.btrace/i686-record_goto.S: New.
4412 * gdb.btrace/x86-tailcall.S: Renamed into ...
4413 * gdb.btrace/x86_64-tailcall.S: ... this.
4414 * gdb.btrace/i686-tailcall.S: New.
4415 * gdb.btrace/x86-tailcall.c: Renamed into ...
4416 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4417 separate statements. Update test.
4418 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4419 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4420 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4421 * gdb.btrace/tailcall.exp: Choose test file based on target.
4422 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4424 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4426 * gdb.btrace/exception.exp: Increase BTS buffer size.
4428 2015-03-24 Pedro Alves <palves@redhat.com>
4430 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4432 2015-03-24 Pedro Alves <palves@redhat.com>
4434 * gdb.threads/schedlock.exp (test_step): No longer expect that
4435 "set scheduler-locking step" with "next" over a function call runs
4438 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4440 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4442 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4444 PR breakpoints/16466
4445 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4446 * gdb.mi/mi-pending.c (thread_func): New function.
4447 (int main): Add threading support required.
4448 * gdb.mi/mi-pending.exp: Add tests for this issue.
4449 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4450 (pendfunc2): Remove stdio dependency.
4451 * gdb.mi/mi-pendshr2.c: New file.
4453 2015-03-23 Keith Seitz <keiths@redhat.com>
4455 * gdb.linespec/keywords.c: New file.
4456 * gdb.linespec/keywords.exp: New file.
4458 2015-03-23 Keith Seitz <keiths@redhat.com>
4461 * gdb.dwarf2/staticvirtual.exp: New test.
4463 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4465 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4466 * README: Remove HP-UX and gdb.hp.
4468 * configure: Regenerate.
4469 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4470 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4471 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4472 gdb.hp/gdb.defects/Makefile.
4473 * gdb.hp/Makefile.in: File deleted.
4474 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4475 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4476 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4477 * gdb.hp/gdb.aCC/run.c: File deleted.
4478 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4479 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4480 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4481 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4482 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4483 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4484 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4485 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4486 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4487 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4488 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4489 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4490 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4491 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4492 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4493 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4494 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4495 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4496 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4497 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4498 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4499 * gdb.hp/gdb.compat/average.c: File deleted.
4500 * gdb.hp/gdb.compat/sum.c: File deleted.
4501 * gdb.hp/gdb.compat/xdb.c: File deleted.
4502 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4503 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4504 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4505 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4506 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4507 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4508 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4509 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4510 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4511 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4512 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4513 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4514 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4515 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4516 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4517 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4518 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4519 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4520 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4521 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4522 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4523 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4524 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4525 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4526 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4527 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4528 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4529 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4530 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4531 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4532 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4533 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4534 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4535 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4536 * gdb.hp/tools/odump: File deleted.
4538 2015-03-19 Pedro Alves <palves@redhat.com>
4540 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4541 (saw_thread_3): New globals.
4542 (top level): Increment them when an event for the corresponding
4544 (no thread starvation): New test.
4546 2015-03-19 Pedro Alves <palves@redhat.com>
4548 * gdb.threads/continue-pending-status.c: New file.
4549 * gdb.threads/continue-pending-status.exp: New file.
4551 2015-03-18 Pedro Alves <palves@redhat.com>
4553 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4554 Use gdb_is_target_remote instead of is_remote. Use
4555 gdb_test_multiple instead of gdb_expect. Exit early if
4556 gdb_test_multiple hits its internal matches. Tighten stepi tests
4557 expected output. Fail on exit with any signal, instead of just
4560 2015-03-18 Yao Qi <yao.qi@linaro.org>
4563 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4565 * gdb.base/catch-syscall.exp: Don't skip it on
4566 aarch64*-*-linux* target. Remove elements in all_syscalls.
4567 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4569 (setup_all_syscalls): New proc.
4571 2015-03-16 Yao Qi <yao.qi@linaro.org>
4573 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4574 (top level): Skip tests if valid_addr_p returns false for
4577 2015-03-11 Andy Wingo <wingo@igalia.com>
4579 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4581 2015-03-11 Yao Qi <yao.qi@linaro.org>
4583 * gdb.base/catch-syscall.exp: Fix typo in comments.
4585 2015-03-11 Yao Qi <yao.qi@linaro.org>
4587 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4589 2015-03-09 Pedro Alves <palves@redhat.com>
4591 * dg-extract-results.py: Delete.
4593 2015-03-09 Pedro Alves <palves@redhat.com>
4595 Merge dg-extract-results.sh from GCC upstream (r218843).
4597 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4598 * dg-extract-results.sh: Use --text with grep to avoid issues with
4599 binary files. Fall back to cat -v, if that doesn't work.
4601 2015-03-05 Pedro Alves <palves@redhat.com>
4603 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4605 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4607 * lib/mi-support.exp (mi_expect_interrupt): Accept
4608 alternative event for when in all-stop mode.
4610 2015-03-04 Pedro Alves <palves@redhat.com>
4612 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4614 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4616 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4618 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4621 regexps for GDB's current line display, accept a hex address
4622 preceding the line number.
4624 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4627 the 'arch1' variable for "s390*-linux*" targets.
4629 2015-03-04 Pedro Alves <palves@redhat.com>
4631 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4632 (main): Pass missing retval argument to pthread_join call.
4634 2015-03-02 Pedro Alves <palves@redhat.com>
4636 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4637 (top level): Call do_test with non-stop as well.
4639 2015-03-02 Pedro Alves <palves@redhat.com>
4641 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4644 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4646 * gdb.arch/s390-vregs.exp: New test.
4647 * gdb.arch/s390-vregs.S: New file.
4649 2015-02-27 Pedro Alves <palves@redhat.com>
4651 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4652 call to catch_command_errors.
4653 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4654 catch_command_errors.
4656 2015-02-27 Pedro Alves <palves@redhat.com>
4658 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4659 "true" for boolean result.
4660 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4663 2015-02-27 Pedro Alves <palves@redhat.com>
4665 * lib/unbuffer_output.c: New file.
4666 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4667 (main): Call gdb_unbuffer_output.
4669 2015-02-27 Yao Qi <yao.qi@linaro.org>
4671 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4674 2015-02-26 Doug Evans <dje@google.com>
4676 * gdb.cp/class2.cc (Dbase, D): New classes.
4677 (main): New local delta.
4678 * gdb.cp/class2.exp: Test printing delta.
4679 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4680 (dynbar): New global.
4681 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4683 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4685 * gdb.compile/compile-ifunc.c: New file.
4686 * gdb.compile/compile-ifunc.exp: New file.
4688 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4690 * gdb.base/structs.exp: Check for correct struct on finish.
4692 2015-02-26 Yao Qi <yao.qi@linaro.org>
4694 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4697 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4699 * gdb.arch/cordic.ko.bz2: New file.
4700 * gdb.arch/cordic.ko.debug.bz2: New file.
4701 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4703 2015-02-25 Yao Qi <yao.qi@linaro.org>
4705 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4706 aarch64*-*-* target.
4708 2015-02-23 Pedro Alves <palves@redhat.com>
4710 * lib/gdb.exp (delete_breakpoints): Rewrite using
4713 2015-02-23 Pedro Alves <palves@redhat.com>
4715 * gdb.base/info-os.c: Include stdlib.h.
4717 2015-02-22 Doug Evans <xdje42@gmail.com>
4720 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4721 is read after symbols have been re-read.
4722 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4723 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4725 2015-02-21 Doug Evans <dje@google.com>
4727 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4729 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4732 * gdb.arch/i386-biarch-core.core.bz2: New file.
4733 * gdb.arch/i386-biarch-core.exp: New file.
4735 2015-02-21 Pedro Alves <palves@redhat.com>
4737 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4740 2015-02-20 Pedro Alves <palves@redhat.com>
4742 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4745 2015-02-20 Pedro Alves <palves@redhat.com>
4747 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4749 2015-02-20 Pedro Alves <palves@redhat.com>
4751 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4752 clean_restart before gdb_target_supports_trace.
4754 2015-02-20 Pedro Alves <palves@redhat.com>
4757 * gdb.threads/clone-thread_db.c: New file.
4758 * gdb.threads/clone-thread_db.exp: New file.
4760 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4762 PR breakpoints/16812
4763 * gdb.base/catch-gdb-caused-signals.c: New file.
4764 * gdb.base/catch-gdb-caused-signals.exp: New file.
4766 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4768 * configure: Regenerated.
4769 * configure.ac: Use GDB_AC_TRANSFORM.
4770 * aclocal.m4: sinclude ../transform.m4.
4772 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4774 * lib/dtrace.exp: New file.
4775 * gdb.base/dtrace-probe.exp: Likewise.
4776 * gdb.base/dtrace-probe.d: Likewise.
4777 * gdb.base/dtrace-probe.c: Likewise.
4778 * lib/pdtrace.in: Likewise.
4779 * configure.ac: Output variables with the transformed names of
4780 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4781 * configure: Regenerated.
4783 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4785 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4786 expected message when trying to access $_probe_* convenience
4787 variables while not on a probe.
4789 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4791 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4793 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4795 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4796 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4798 2015-02-10 Doug Evans <xdje42@gmail.com>
4800 * lib/gdb.exp (gdb_load): Always return a result.
4802 2015-02-10 Pedro Alves <palves@redhat.com>
4804 * gdb.threads/signal-sigtrap.c: New file.
4805 * gdb.threads/signal-sigtrap.exp: New file.
4807 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4809 * gdb.trace/no-attach-trace.c: New file.
4810 * gdb.trace/no-attach-trace.exp: New file.
4812 2015-02-09 Mark Wielaard <mjw@redhat.com>
4814 * gdb.dwarf2/atomic.c: New file.
4815 * gdb.dwarf2/atomic-type.exp: Likewise.
4817 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4819 * gdb.btrace/buffer-size.exp: Update "info record" output.
4820 * gdb.btrace/delta.exp: Update "info record" output.
4821 * gdb.btrace/enable.exp: Update "info record" output.
4822 * gdb.btrace/finish.exp: Update "info record" output.
4823 * gdb.btrace/instruction_history.exp: Update "info record" output.
4824 * gdb.btrace/next.exp: Update "info record" output.
4825 * gdb.btrace/nexti.exp: Update "info record" output.
4826 * gdb.btrace/step.exp: Update "info record" output.
4827 * gdb.btrace/stepi.exp: Update "info record" output.
4828 * gdb.btrace/nohist.exp: Update "info record" output.
4830 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4832 * gdb.btrace/buffer-size: New.
4834 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4836 * gdb.btrace/delta.exp: Update "info record" output.
4837 * gdb.btrace/enable.exp: Update "info record" output.
4838 * gdb.btrace/finish.exp: Update "info record" output.
4839 * gdb.btrace/instruction_history.exp: Update "info record" output.
4840 * gdb.btrace/next.exp: Update "info record" output.
4841 * gdb.btrace/nexti.exp: Update "info record" output.
4842 * gdb.btrace/step.exp: Update "info record" output.
4843 * gdb.btrace/stepi.exp: Update "info record" output.
4844 * gdb.btrace/nohist.exp: Update "info record" output.
4846 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4849 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4851 2015-02-06 Pedro Alves <palves@redhat.com>
4853 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4855 (seconds_left, again): New globals.
4856 (main): Wait seconds_left in a 1-second sleep loop instead of
4857 sleeping 180 seconds. If 'again' is set, reset the seconds
4859 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4860 'again' in the inferior before detaching. Print the seconds left.
4861 (options): New global.
4862 (top level): Build program with -DTIMEOUT=$timeout.
4864 2015-02-06 Pedro Alves <palves@redhat.com>
4866 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4867 determine how many seconds to pass to 'alarm'.
4868 * gdb.base/gdb-sigterm.exp (top level): Build program with
4870 (do_test): Return success/failure indication. Add more verbose
4871 logging. Don't fail if 200 single steps are seen. Instead, fail
4872 when the test times out.
4873 (passes): New global.
4874 (top level): Break the testing loop if testing fails on any
4875 iteration. Use gdb_assert.
4877 2015-02-04 Don Breazeal <donb@codesourcery.com>
4879 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4880 and initialize them.
4881 (ipc_cleanup): New function.
4882 (main): Don't declare shmid, semid, and msqid. Add a call to
4883 atexit so that we call ipc_cleanup on exit.
4885 2015-02-04 Pedro Alves <palves@redhat.com>
4887 * boards/native-extended-gdbserver.exp: Remove any target variant
4888 specifications from the board name before clearing the isremote
4889 flag from board_info.
4891 2015-01-31 Doug Evans <xdje42@gmail.com>
4893 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4895 2015-01-31 Gary Benson <gbenson@redhat.com>
4897 * gdb.base/completion.exp: Disable completion limiting for
4898 existing tests. Add new tests to check completion limiting.
4899 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4901 2015-01-31 Doug Evans <xdje42@gmail.com>
4903 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4905 2015-01-31 Doug Evans <xdje42@gmail.com>
4907 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4908 entries. Duplicate file section script entries.
4909 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4910 inlined entries. Add test for safe-path rejection.
4911 * gdb.python/py-section-script.c: Add duplicate inlined section script
4912 entries. Duplicate file section script entries.
4913 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4914 inlined entries. Add test for safe-path rejection.
4916 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4918 * gdb.ada/disc_arr_bound: New testcase.
4920 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4922 * gdb.ada/mi_var_array: New testcase.
4924 2015-01-27 Doug Evans <dje@google.com>
4926 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4927 Add test for objfile.filename, objfile.username after objfile
4930 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4932 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4933 the second test to print the name attribute of value
4934 returned by the call to gdb.lookup_type, and adjust
4935 the expected output accordingly.
4937 2015-01-25 Mark Wielaard <mjw@redhat.com>
4939 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4940 * gdb.base/disp-step-fork.c: Include unistd.h.
4941 * gdb.base/siginfo-obj.c: Include stdio.h.
4942 * gdb.base/siginfo-thread.c: Likewise.
4943 * gdb.mi/non-stop.c: Include unistd.h.
4944 * gdb.mi/nsthrexec.c: Include stdio.h.
4945 * gdb.mi/pthreads.c: Include unistd.h.
4946 * gdb.modula2/unbounded1.c (main): Declare returns int.
4947 * gdb.reverse/consecutive-reverse.c: Likewise.
4948 * gdb.threads/create-fail.c: Include unistd.h.
4949 * gdb.threads/killed.c: Likewise.
4950 * gdb.threads/linux-dp.c: Likewise.
4951 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4952 * gdb.threads/non-ldr-exc-2.c: Likewise.
4953 * gdb.threads/non-ldr-exc-3.c: Likewise.
4954 * gdb.threads/non-ldr-exc-4.c: Likewise.
4955 * gdb.threads/pthreads.c: Include unistd.h.
4956 (main): Declare returns int.
4957 * gdb.threads/tls-main.c (foo): New declaration.
4958 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4960 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4962 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4963 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4965 2015-01-15 Mark Wielaard <mjw@redhat.com>
4967 * gdb.base/noreturn-return.c: New file.
4968 * gdb.base/noreturn-return.exp: New file.
4969 * gdb.base/noreturn-finish.c: New file.
4970 * gdb.base/noreturn-finish.exp: New file.
4972 2015-01-23 Pedro Alves <palves@redhat.com>
4974 * gdb.threads/continue-pending-after-query.c: New file.
4975 * gdb.threads/continue-pending-after-query.exp: New file.
4977 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4978 Simon Marchi <simon.marchi@ericsson.com>
4980 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4981 * gdb.base/valgrind-db-attach.exp: Same.
4982 * gdb.base/valgrind-infcall.exp: Same.
4983 * lib/mi-support.exp (default_mi_gdb_start): Same.
4984 * lib/prompt.exp (default_prompt_gdb_start): Same.
4985 * lib/gdb.exp (default_gdb_spawn): Same.
4986 (gdb_interact): New.
4989 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4991 * gdb.compile/compile.exp (pointer to jit function): New test.
4993 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4995 * lib/gdb.exp (supports_process_record): Return true for
4997 (supports_reverse): Likewise.
4999 2015-01-15 Don Breazeal <donb@codesourcery.com>
5001 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5002 instead of checking whether the target board is remote and
5003 use spawn_wait_for_attach instead of exec/sleep.
5004 * gdb.base/attach-twice.exp: Likewise.
5006 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5008 * gdb.ada/var_arr_attrs: New testcase.
5010 2015-01-14 Pedro Alves <palves@redhat.com>
5011 Joel Brobecker <brobecker@adacore.com>
5014 * gdb.base/bp-cmds-execution-x-script.c: New file.
5015 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5016 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5018 2015-01-14 Pedro Alves <palves@redhat.com>
5021 * gdb.base/batch-preserve-term-settings.c: New file.
5022 * gdb.base/batch-preserve-term-settings.exp: New file.
5024 2015-01-13 Doug Evans <dje@google.com>
5026 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5029 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5031 * Makefile.in (clean mostlyclean): Do not delete *.py.
5033 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5035 * gdb.python/py-lookup-type.exp: New file.
5037 2015-01-12 Pedro Alves <palves@redhat.com>
5039 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5040 restore GDBFLAGS before returning.
5042 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5044 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5045 is_amd64_regs_target and is_x86_like_target.
5047 2015-01-11 Doug Evans <xdje42@gmail.com>
5049 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5050 is given without an explicit form.
5051 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5053 * gdb.dwarf/corrupt.exp: Ditto.
5054 * gdb.dwarf2/enum-type.exp: Ditto.
5055 * gdb.trace/entry-values.exp: Ditto.
5056 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5058 2015-01-11 Doug Evans <xdje42@gmail.com>
5061 * gdb.base/maint.exp: Remove references to "maint demangle".
5062 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5063 Add tests for explicitly specifying language to demangle.
5064 * gdb.dlang/demangle.exp: Ditto.
5066 2015-01-09 Pedro Alves <palves@redhat.com>
5068 * gdb.threads/non-stop-fair-events.c: New file.
5069 * gdb.threads/non-stop-fair-events.exp: New file.
5071 2015-01-09 Pedro Alves <palves@redhat.com>
5073 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5074 the global scope. Set a breakpoint after all threads are started
5075 rather than stepping over two source lines. Expect the prompt.
5076 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5079 (main): Use threads_started_barrier to wait for all threads to
5080 start. Main thread no longer calls thread_function. Exit after
5082 (loop): New function.
5083 (thread_function): Wait on threads_started_barrier barrier. Call
5084 'loop' at each iteration.
5085 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5086 threads have started, instead of hardcoding number of "next"
5087 steps. Use an access watchpoint instead of a write watchpoint.
5089 2015-01-09 Pedro Alves <palves@redhat.com>
5091 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5092 (thread_func): Wait on barrier.
5093 (main): Wait for all threads to start before stopping GDB.
5094 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5096 (thread1_func, thread2_func): Wait on barrier.
5097 (main): Wait for all threads to start before stopping GDB.
5098 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5100 (thread1_func, thread2_func): Wait on barrier.
5101 (main): Wait for all threads to start before stopping GDB.
5103 2015-01-09 Pedro Alves <palves@redhat.com>
5105 * gdb.threads/attach-many-short-lived-threads.c: New file.
5106 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5108 2014-01-09 Pedro Alves <palves@redhat.com>
5110 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5111 instead of to thread 2.
5112 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5113 Add barrier around each pthread_create call instead of around all
5115 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5116 Set a break on thread_function and have the child threads hit it
5119 2015-01-09 Pedro Alves <palves@redhat.com>
5121 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5122 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5124 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5125 checking whether the target board is remote.
5126 * gdb.multi/multi-attach.exp: Likewise.
5127 * gdb.python/py-sync-interp.exp: Likewise.
5128 * gdb.server/ext-attach.exp: Likewise.
5129 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5130 tests that need to attach, instead of checking whether the target
5131 board is remote at the top of the file.
5133 2015-01-08 Yao Qi <yao@codesourcery.com>
5135 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5137 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5139 Fix testcase compilation.
5140 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5142 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5144 * gdb.python/py-type.exp: Add a couple test about empty
5145 array creation, and negative-length array creation.
5147 2015-01-02 Doug Evans <xdje42@gmail.com>
5149 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5151 2015-01-02 Doug Evans <dje@google.com>
5153 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5155 2014-12-29 Yao Qi <yao@codesourcery.com>
5157 * gdb.trace/entry-values.exp: Update comments. Rename variable
5158 bar_call_foo to returned_from_foo.
5160 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5163 * gdb.linespec/break-asm-file.c: New file.
5164 * gdb.linespec/break-asm-file.exp: New file.
5165 * gdb.linespec/break-asm-file0.s: New file.
5166 * gdb.linespec/break-asm-file1.s: New file.
5168 2014-12-18 Nigel Stephens <nigel@mips.com>
5169 Maciej W. Rozycki <macro@codesourcery.com>
5171 * gdb.base/float.exp: Handle the new output from "info float" on
5174 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5176 Fix MinGW compilation.
5177 * gdb.compile/compile-ops.exp: Update untested message if
5178 !skip_compile_feature_tests.
5179 * gdb.compile/compile-setjmp.exp: Likewise.
5180 * gdb.compile/compile-tls.exp: Likewise.
5181 * gdb.compile/compile.exp: Likewise.
5182 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5183 supported on this host".
5185 2014-12-16 Doug Evans <xdje42@gmail.com>
5187 * boards/stabs.exp: New file.
5189 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5191 * gdb.base/completion.exp: Adjust to format changes of "maint
5192 print user-registers".
5194 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5197 * gdb.arch/aarch64-fp.c: New file.
5198 * gdb.arch/aarch64-fp.exp: New file.
5200 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5202 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5203 r210637, r210913, r211666, r215400, r215817).
5205 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5206 * dg-extract-results.py: New file.
5207 * dg-extract-results.sh: Use it if the environment seems
5210 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5212 * dg-extract-results.py (parse_run): Handle warnings that
5213 are printed before a test harness is run.
5215 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5217 * dg-extract-results.py (Named): Remove __cmp__ method.
5218 (output_variation): Use a key to sort variation.harnesses.
5220 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5222 * dg-extract-results.py: For Python 3, force sys.stdout to
5223 handle surrogate escape sequences.
5224 (safe_open): New function.
5225 (output_segment, main): Use it.
5227 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5229 * dg-extract-results.py (Prog.result_re): Include options
5232 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5234 * dg-extract-results.py (output_variation): Always sort if
5237 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5239 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5240 as long as we get pagination notifications.
5242 2014-12-15 Jason Merrill <jason@redhat.com>
5244 * Makefile.in (check-gdb.%): Restore.
5245 * README: Mention it.
5247 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5249 * gdb.ada/str_uninit: New testcase.
5251 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5254 * gdb.base/vla-stub-define.c: New file.
5255 * gdb.base/vla-stub.c: New file.
5256 * gdb.base/vla-stub.exp: New file.
5258 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5259 Jan Kratochvil <jan.kratochvil@redhat.com>
5260 Tom Tromey <tromey@redhat.com>
5262 * configure.ac: Add gdb.compile/.
5263 * configure: Regenerate.
5264 * gdb.compile/Makefile.in: New file.
5265 * gdb.compile/compile-ops.exp: New file.
5266 * gdb.compile/compile-ops.c: New file.
5267 * gdb.compile/compile-tls.c: New file.
5268 * gdb.compile/compile-tls.exp: New file.
5269 * gdb.compile/compile-constvar.S: New file.
5270 * gdb.compile/compile-constvar.c: New file.
5271 * gdb.compile/compile-mod.c: New file.
5272 * gdb.compile/compile-nodebug.c: New file.
5273 * gdb.compile/compile-setjmp-mod.c: New file.
5274 * gdb.compile/compile-setjmp.c: New file.
5275 * gdb.compile/compile-setjmp.exp: New file.
5276 * gdb.compile/compile-shlib.c: New file.
5277 * gdb.compile/compile.c: New file.
5278 * gdb.compile/compile.exp: New file.
5279 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5281 2014-12-12 Tom Tromey <tromey@redhat.com>
5283 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5284 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5286 2014-12-12 Doug Evans <dje@google.com>
5288 * lib/gdb-python.exp (get_python_valueof): New function.
5289 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5291 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5293 * gdb.base/completion.exp: Add test for completion of "info
5296 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5298 * gdb.base/func-ptrs.c: New file.
5299 * gdb.base/func-ptrs.exp: New file.
5301 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5303 PR breakpoints/17012
5304 * gdb.base/dprintf-detach.c: New file.
5305 * gdb.base/dprintf-detach.exp: New file.
5307 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5309 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5310 * lib/gdb.exp (target_is_gdbserver): New procedure.
5312 2014-12-08 Doug Evans <dje@google.com>
5314 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5316 2014-12-05 Yao Qi <yao@codesourcery.com>
5318 * gdb.guile/scm-error.exp: Remove the third argument to
5319 gdb_remote_download.
5320 * gdb.guile/scm-frame-args.exp: Likewise.
5321 * gdb.guile/scm-section-script.exp: Likewise.
5323 2014-12-05 Yao Qi <yao@codesourcery.com>
5325 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5327 2014-12-04 Doug Evans <dje@google.com>
5329 * gdb.python/py-objfile.exp: Add tests for
5330 objfile.add_separate_debug_file.
5332 2014-12-04 Doug Evans <dje@google.com>
5334 * lib/gdb.exp (get_build_id): New function.
5335 (build_id_debug_filename_get): Rewrite to use it.
5336 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5338 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5340 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5341 `method(long)', not just 0x0.
5342 * gdb.cp/nsalias.exp: Align code labels to 4.
5343 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5344 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5345 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5346 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5347 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5348 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5350 2014-12-02 Doug Evans <dje@google.com>
5353 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5354 * gdb.cp/anon-ns2.cc: ... here. New file.
5355 * gdb.cp/anon-ns.exp: Update.
5357 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5359 * gdb.python/py-events.py (inferior_call_handler): New.
5360 (register_changed_handler, memory_changed_handler): New.
5361 (test_events.invoke): Register new handlers.
5362 * gdb.python/py-events.exp: Add tests for inferior call,
5363 memory_changed and register_changed events.
5365 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5367 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5368 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5369 if the linker doesn't understand this.
5371 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5373 * gdb.python/python.exp: Change expected reply to help().
5375 2014-12-01 Yao Qi <yao@codesourcery.com>
5377 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5378 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5379 * configure: Re-generated.
5381 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5383 * gdb.cp/chained-calls.cc: New file.
5384 * gdb.cp/chained-calls.exp: New file.
5385 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5387 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5389 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5390 * gdb.dwarf2/symtab-producer.exp: Same.
5391 * gdb.gdb/python-interrupts.exp: Same.
5392 * gdb.gdb/python-selftest.exp: Same.
5393 * gdb.python/py-linetable.exp: Same.
5394 * gdb.python/py-type.exp: Same.
5395 * gdb.python/py-value-cc.exp: Same.
5396 * gdb.python/py-value.exp: Same.
5398 2014-11-28 Yao Qi <yao@codesourcery.com>
5400 * gdb.base/break-probes.exp: Match library name prefixed with
5403 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5405 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5406 test expected output. Add parentheses for the call to print.
5407 Remove L suffix from integers.
5409 2014-11-26 Doug Evans <dje@google.com>
5411 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5413 2014-11-22 Yao Qi <yao@codesourcery.com>
5415 * gdb.trace/entry-values.c: Remove asms.
5416 (foo): Add foo_label.
5417 (bar): Add bar_label.
5418 * gdb.trace/entry-values.exp: Remove code computing foo's
5419 length and bar's length.
5420 (Dwarf::assemble): Invoke function_range for bar and use
5421 MACRO_AT_func for foo.
5423 2014-11-22 Yao Qi <yao@codesourcery.com>
5425 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5426 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5427 Use .Lgcc43_procstart instead of gcc43.
5429 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5431 * gdb.ada/n_arr_bound: New testcase.
5433 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5435 PR breakpoints/10737
5436 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5437 test_catch_syscall_multi_arch.
5438 (test_catch_syscall_multi_arch): New function.
5440 2014-11-20 Doug Evans <xdje42@gmail.com>
5442 * gdb.base/maint.exp: Update expected output.
5444 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5446 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5447 4-byte instruction on S390.
5449 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5451 * gdb.ada/arr_arr: New testcase.
5453 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5455 * gdb.ada/pkd_arr_elem: New Testcase.
5457 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5459 * gdb.reverse/break-precsave: Expect completion message for
5461 * gdb.reverse/consecutive-precsave.exp: Likewise.
5462 * gdb.reverse/finish-precsave.exp: Likewise.
5463 * gdb.reverse/i386-precsave.exp: Likewise.
5464 * gdb.reverse/machinestate-precsave.exp: Likewise.
5465 * gdb.reverse/sigall-precsave.exp: Likewise.
5466 * gdb.reverse/solib-precsave.exp: Likewise.
5467 * gdb.reverse/step-precsave.exp: Likewise.
5468 * gdb.reverse/until-precsave.exp: Likewise.
5469 * gdb.reverse/watch-precsave.exp: Likewise.
5471 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5473 * gdb.base/bp-permanent.c: Include unistd.h.
5474 * gdb.python/py-framefilter-mi.c (main): Add return type.
5475 * gdb.python/py-framefilter.c (main): Likewise.
5476 * gdb.trace/actions-changed.c (main): Likewise.
5478 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5480 * gdb.mi/until.c: Add eye-catchers.
5481 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5484 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5487 function header variants in break1.c.
5488 * gdb.base/ena-dis-br.exp: Likewise.
5489 * gdb.base/hbreak2.exp: Likewise.
5490 * gdb.reverse/until-precsave.exp: Drop references to removed
5491 non-prototype function header variants in ur1.c.
5492 * gdb.reverse/until-reverse.exp: Likewise.
5494 2014-11-17 Petr Machata <pmachata@redhat.com>
5496 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5497 ${_cu_offset_size} bytes abbrev offset.
5499 2014-11-15 Doug Evans <xdje42@gmail.com>
5502 * gdb.base/line-symtabs.exp: New file.
5503 * gdb.base/line-symtabs.c: New file.
5504 * gdb.base/line-symtabs.h: New file.
5506 2014-11-14 Yao Qi <yao@codesourcery.com>
5508 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5509 (func): Add label func_label.
5510 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5511 Replace low_pc and high_pc with MACRO_AT_range.
5512 Replace name, low_pc and high_pc with MACRO_AT_func.
5514 2014-11-14 Yao Qi <yao@codesourcery.com>
5516 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5517 Replace name, low_pc and high_pc with MACRO_AT_func.
5519 2014-11-14 Yao Qi <yao@codesourcery.com>
5521 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5522 produce debug information.
5523 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5525 2014-11-14 Yao Qi <yao@codesourcery.com>
5527 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5528 object and get function length.
5529 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5531 (top-level): Replace gdb_compile and clean_restart with
5532 prepare_for_testing.
5533 * gdb.dwarf2/main.c (main): Add label main_label.
5535 2014-11-14 Yao Qi <yao@codesourcery.com>
5537 * lib/dwarf.exp (function_range): New procedure.
5538 (Dwarf::_handle_macro_at_func): New procedure.
5539 (Dwarf::_handle_macro_at_range): New procedure.
5540 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5542 2014-11-14 Yao Qi <yao@codesourcery.com>
5544 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5545 (_handle_attribute): New procedure.
5547 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5549 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5550 * gdb.base/call-sc.c (zed): Likewise.
5551 * gdb.base/checkpoint.c (main): Likewise.
5552 * gdb.base/dump.c (main): Likewise.
5553 * gdb.base/gcore.c (main): Likewise.
5554 * gdb.base/huge.c (main): Likewise.
5555 * gdb.base/multi-forks.c (main): Likewise.
5556 * gdb.base/pr10179-a.c (main): Likewise.
5557 * gdb.base/savedregs.c (main): Likewise.
5558 * gdb.base/sigaltstack.c (main): Likewise.
5559 * gdb.base/siginfo.c (main): Likewise.
5560 * gdb.base/structs.c (zed): Likewise.
5561 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5562 * gdb.mi/mi-syn-frame.c (main): Likewise.
5563 * gdb.mi/until.c (foo, main): Likewise.
5564 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5565 * gdb.base/solib-weak.c (foo): Declare.
5566 * gdb.base/attach-twice.c: Include stdio.h.
5567 * gdb.base/weaklib1.c: Likewise.
5568 * gdb.base/weaklib2.c: Likewise.
5569 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5570 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5572 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5573 * gdb.mi/mi-exit-code.c: Likewise.
5574 * gdb.base/break-interp-lib.c: Include string.h.
5575 * gdb.base/coremaker.c: Likewise.
5576 * gdb.base/testenv.c: Likewise.
5577 * gdb.python/py-finish-breakpoint.c: Likewise.
5578 * gdb.base/inferior-died.c: Include sys/wait.h.
5579 * gdb.base/fileio.c: Include time.h.
5580 * gdb.base/async-shell.c: Include unistd.h.
5581 * gdb.base/dprintf-non-stop.c: Likewise.
5582 * gdb.base/info-os.c: Likewise.
5583 * gdb.mi/mi-console.c: Likewise.
5584 * gdb.mi/watch-nonstop.c: Likewise.
5585 * gdb.python/py-events.c: Likewise.
5586 * gdb.base/async.c (baz): Move up before its invocation.
5587 * gdb.base/code_elim2.c (my_global_func): Likewise.
5588 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5589 * gdb.base/advance.c (func2): Likewise.
5591 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5593 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5595 * gdb.base/annota3.c: Likewise.
5596 * gdb.base/async.c: Likewise.
5597 * gdb.base/average.c: Likewise.
5598 * gdb.base/call-ar-st.c: Likewise.
5599 * gdb.base/call-rt-st.c: Likewise.
5600 * gdb.base/call-sc.c: Likewise.
5601 * gdb.base/call-strs.c: Likewise.
5602 * gdb.base/ending-run.c: Likewise.
5603 * gdb.base/execd-prog.c: Likewise.
5604 * gdb.base/exprs.c: Likewise.
5605 * gdb.base/foll-exec.c: Likewise.
5606 * gdb.base/foll-fork.c: Likewise.
5607 * gdb.base/foll-vfork.c: Likewise.
5608 * gdb.base/funcargs.c: Likewise.
5609 * gdb.base/gcore.c: Likewise.
5610 * gdb.base/jump.c: Likewise.
5611 * gdb.base/langs0.c: Likewise.
5612 * gdb.base/langs1.c: Likewise.
5613 * gdb.base/langs2.c: Likewise.
5614 * gdb.base/mips_pro.c: Likewise.
5615 * gdb.base/nodebug.c: Likewise.
5616 * gdb.base/opaque0.c: Likewise.
5617 * gdb.base/opaque1.c: Likewise.
5618 * gdb.base/recurse.c: Likewise.
5619 * gdb.base/run.c: Likewise.
5620 * gdb.base/scope0.c: Likewise.
5621 * gdb.base/scope1.c: Likewise.
5622 * gdb.base/setshow.c: Likewise.
5623 * gdb.base/setvar.c: Likewise.
5624 * gdb.base/shmain.c: Likewise.
5625 * gdb.base/shr1.c: Likewise.
5626 * gdb.base/shr2.c: Likewise.
5627 * gdb.base/sigall.c: Likewise.
5628 * gdb.base/signals.c: Likewise.
5629 * gdb.base/so-indr-cl.c: Likewise.
5630 * gdb.base/solib2.c: Likewise.
5631 * gdb.base/structs.c: Likewise.
5632 * gdb.base/sum.c: Likewise.
5633 * gdb.base/vforked-prog.c: Likewise.
5634 * gdb.base/watchpoint.c: Likewise.
5635 * gdb.reverse/shr2.c: Likewise.
5636 * gdb.reverse/until-reverse.c: Likewise.
5637 * gdb.reverse/ur1.c: Likewise.
5638 * gdb.reverse/watch-reverse.c: Likewise.
5640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5642 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5644 * gdb.base/sepdebug.exp: Drop references to removed code.
5646 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5648 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5649 variant. Preserve original line numbering.
5650 * gdb.base/list1.c: Likewise.
5652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5654 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5656 * gdb.base/break1.c: Likewise.
5657 * gdb.base/break.exp: Drop references to removed code.
5659 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5661 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5664 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5666 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5668 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5670 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5671 logic into perform_all_tests() and invoke it with and without
5672 function header prototypes.
5673 (do_function_calls): Remove conditional XFAIL for PR 5318.
5674 (rerun_and_prepare): Remove duplicate code.
5675 (perform_all_tests): New. Main logic moved here.
5677 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5679 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5680 code guarded by #ifdef NO_PROTOTYPES.
5681 (t_double_many_args): Likewise.
5682 (DEF_FUNC_MANY_ARGS_1): Likewise.
5683 (DEF_FUNC_VALUES_1): Likewise.
5684 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5685 guarded by #ifdef PROTOTYPES.
5687 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5689 * gdb.mi/mi-console.c: Add eye-catcher.
5690 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5691 instead of literal line number.
5693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5695 * gdb.base/shr2.c: Add eye-catcher.
5696 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5701 * gdb.base/jump.c: Add eye-catchers.
5702 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5705 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5707 * gdb.base/execd-prog.c: Add eye-catchers.
5708 * gdb.base/foll-exec.c: Likewise.
5709 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5712 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5714 * gdb.base/ending-run.c: Add eye-catchers.
5715 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5716 literal line numbers.
5718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5720 * gdb.base/call-rt-st.c: Add eye-catchers.
5721 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5722 literal line numbers.
5724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5726 * gdb.base/call-ar-st.c: Add eye-catchers.
5727 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5728 literal line numbers.
5730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5732 * gdb.base/average.c: Add eye-catchers.
5733 * gdb.base/sum.c: Likewise.
5734 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5735 regexps dynamically.
5737 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5739 * gdb.base/solib1.c: Add eye-catchers.
5740 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5741 literal line numbers.
5743 2014-11-12 Pedro Alves <palves@redhat.com>
5745 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5748 2014-11-12 Pedro Alves <palves@redhat.com>
5750 * gdb.arch/i386-bp_permanent.c: New file.
5751 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5752 (srcfile): Set to i386-bp_permanent.c.
5753 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5754 that stepi does not execute the 'leave' instruction, instead of
5755 testing it does execute.
5756 * gdb.base/bp-permanent.c: New file.
5757 * gdb.base/bp-permanent.exp: New file.
5759 2014-11-10 Doug Evans <xdje42@gmail.com>
5762 * gdb.base/symtab-search-order.exp: New file.
5763 * gdb.base/symtab-search-order.c: New file.
5764 * gdb.base/symtab-search-order-1.c: New file.
5765 * gdb.base/symtab-search-order-shlib-1.c: New file.
5767 2014-11-07 Pedro Alves <palves@redhat.com>
5770 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5773 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5776 * gdb.cp/pr17494.cc: New file.
5777 * gdb.cp/pr17494.exp: New file.
5779 2014-11-02 Yao Qi <yao@codesourcery.com>
5781 * gdb.python/python.exp: Get working directory and match the
5782 output of "set extended-prompt \\w " with it.
5784 2014-10-30 Doug Evans <dje@google.com>
5786 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5788 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5791 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5793 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5794 * gdb.base/realname-expand.exp: Likewise.
5795 * gdb.linespec/macro-relative.exp: Likewise.
5797 2014-10-29 Pedro Alves <palves@redhat.com>
5800 * gdb.threads/schedlock.c (some_function): New function.
5801 (call_function): New global.
5802 (MAYBE_CALL_SOME_FUNCTION): New macro.
5803 (thread_function): Call it.
5804 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5805 and use it instead of a global counter. Adjust all callers.
5806 (get_current_thread): Use "find current thread" for test message
5807 here rather than having all callers pass down the same string.
5808 (goto_loop): New procedure, factored out from ...
5809 (my_continue): ... this.
5810 (step_ten_loops): Change parameter from test message to command to
5812 (list_count): Delete global.
5813 (check_result): New procedure, factored out from duplicate top
5815 (continue tests): Wrap in with_test_prefix.
5816 (test_step): New procedure, factored out from duplicate top level
5818 (top level): Test "step" in combination with all scheduler-locking
5819 modes. Test "next" in combination with all scheduler-locking
5820 modes, and in combination with stepping over a function call or
5822 * gdb.threads/next-bp-other-thread.c: New file.
5823 * gdb.threads/next-bp-other-thread.exp: New file.
5825 2014-10-29 Pedro Alves <palves@redhat.com>
5828 * gdb.python/python.exp: Test a multi-line command that spawns
5830 * gdb.base/multi-line-starts-subshell.exp: New file.
5832 2014-10-29 Yao Qi <yao@codesourcery.com>
5834 * gdb.base/fileio.exp: Make directories on host.
5836 2014-10-29 Yao Qi <yao@codesourcery.com>
5838 * gdb.base/fileio.c (test_write): Close the file.
5840 2014-10-28 Pedro Alves <palves@redhat.com>
5843 * gdb.base/sigstep.c (no_handler): New global.
5844 (main): If 'no_handler is true, set the signal handlers to
5846 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5847 with_sw_watch and no_handler parameters. Handle them.
5848 (top level) <stepping over handler when stopped at a breakpoint
5849 test>: Add a test axis for testing with a software watchpoint, and
5850 another for testing with the signal handler set to SIG_IGN.
5851 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5852 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5854 2014-10-28 Pedro Alves <palves@redhat.com>
5857 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5858 * gdb.base/sigstep.exp (other_handler_location): New global.
5859 (advance): Support stepping into the signal handler, and running
5860 commands while in the handler.
5861 (in_handler_map): New global.
5862 (top level): In the advance test, add combinations for getting
5863 into the handler with stepping commands, and for running commands
5864 in the handler. Add comment descripting the advancei tests.
5866 2014-10-28 Pedro Alves <palves@redhat.com>
5868 * gdb.base/sigstep.exp: Use build_executable instead of
5869 prepare_for_testing.
5870 (top level): Move code that starts GDB, runs to main and creates a
5872 (restart): ... this new procedure.
5873 (top level): Move backtrace from signal handler test to ...
5874 (validate_backtrace): ... this new procedure.
5875 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5876 with_test_prefix. Always restart GDB.
5877 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5878 with_test_prefix. Always restart GDB. No need to delete
5879 breakpoints after the test.
5880 (test_skip_handler): Remove prefix parameter.
5881 (skip_over_handler, breakpoint_to_handler)
5882 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5883 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5884 restart GDB. No need to delete breakpoints after the test.
5885 (top level): Use foreach to call the test procedures with
5888 2014-10-28 Pedro Alves <palves@redhat.com>
5890 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5891 instead of GNATS numbers.
5892 * gdb.base/sigbpt.exp: Likewise.
5893 * gdb.base/siginfo.exp: Likewise.
5894 * gdb.base/sigstep.exp: Likewise.
5896 2014-10-27 Pedro Alves <palves@redhat.com>
5898 * gdb.base/sigstep.c (dummy): New global.
5899 (main): Issue a couple writes to the new global.
5900 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5902 (skip_over_handler): Use test_skip_handler.
5903 (top level): Call skip_over_handler for stepi and nexti too.
5904 (breakpoint_over_handler): Use test_skip_handler.
5905 (top level): Call breakpoint_over_handler for stepi and nexti too.
5907 2014-10-27 Yao Qi <yao@codesourcery.com>
5909 * gdb.trace/tfile.c (adjust_function_address)
5910 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5911 function descriptor.
5913 2014-10-24 Don Breazeal <donb@codesourcery.com>
5915 * gdb.base/foll-fork.exp (test_follow_fork,
5916 catch_fork_child_follow): Check for updated fork messages emitted
5918 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5919 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5920 vfork_and_exec_child_follow_through_step): Check for updated vfork
5921 messages emitted from infrun.c.
5923 2014-10-24 Pedro Alves <palves@redhat.com>
5925 * gdb.base/corefile.exp: Remove references to ultrix.
5926 * gdb.base/interrupt.exp: Likewise.
5927 * gdb.base/whatis.exp: Likewise.
5928 * gdb.gdb/selftest.exp: Likewise.
5929 * gdb.threads/manythreads.exp: Likewise.
5930 * gdb.threads/print-threads.exp: Likewise.
5931 * gdb.threads/pthreads.exp:: Likewise.
5932 * gdb.threads/schedlock.exp: Likewise.
5934 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5936 * gdb.cp/non-trivial-retval.cc: Add a test case.
5937 * gdb.cp/non-trivial-retval.exp: Add a test.
5939 2014-10-20 Yao Qi <yao@codesourcery.com>
5941 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5942 * gdb.python/py-objfile-script-gdb.py: New file.
5943 * gdb.python/py-objfile-script.exp: Update reference to
5944 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5945 of remote_download. Remove the dest file.
5947 2014-10-20 Yao Qi <yao@codesourcery.com>
5949 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5950 * gdb.base/step-line.exp: Likewise.
5951 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5952 * gdb.dwarf2/dw2-basic.exp: Likewise.
5953 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5954 * gdb.dwarf2/dw2-filename.exp: Likewise.
5955 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5956 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5957 * gdb.dwarf2/dw2-producer.exp: Likewise.
5958 * gdb.dwarf2/mac-fileno.exp: Likewise.
5959 * gdb.python/py-frame-args.exp: Likewise.
5960 * gdb.python/py-framefilter.exp: Likewise.
5961 * gdb.python/py-mi.exp: Likewise.
5962 * gdb.python/py-objfile-script.exp: Likewise
5963 * gdb.python/py-pp-integral.exp: Likewise.
5964 * gdb.python/py-pp-re-notag.exp: Likewise.
5965 * gdb.python/py-prettyprint.exp: Likewise.
5966 * gdb.python/py-section-script.exp: Likewise.
5967 * gdb.python/py-typeprint.exp: Likewise.
5968 * gdb.python/py-xmethods.exp: Likewise.
5969 * gdb.stabs/weird.exp: Likewise.
5970 * gdb.xml/tdesc-regs.exp: Likewise.
5972 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5974 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5975 (out_cu): Use addr_len for the size of addresses.
5976 (out_line): Likewise. Size DW_LNE_set_address instruction
5977 according to addr_len.
5978 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5979 (FUNC): Add START_INSNS to definition.
5981 2014-10-18 Yao Qi <yao@codesourcery.com>
5983 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5984 gdb_has_argv0 return true.
5985 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5986 check [target_info exists noargs], check [gdb_has_argv0]
5988 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5989 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5992 2014-10-17 Doug Evans <dje@google.com>
5994 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5996 * gdb.python/py-events.py: Add clear_objfiles event.
5998 2014-10-17 Doug Evans <dje@google.com>
6000 * gdb.python/py-objfile.exp: Test progspace attribute.
6002 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6004 * gdb.guile/scm-breakpoint.exp: Do not assume any
6005 directory separators when matching source file paths.
6006 * gdb.python/py-breakpoint.exp: Likewise.
6007 * gdb.reverse/break-precsave.exp: Likewise.
6008 * gdb.reverse/break-reverse.exp: Likewise.
6009 * gdb.reverse/consecutive-precsave.exp: Likewise.
6010 * gdb.reverse/finish-precsave.exp: Likewise.
6011 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6012 * gdb.reverse/finish-reverse.exp: Likewise.
6013 * gdb.reverse/i386-precsave.exp: Likewise.
6014 * gdb.reverse/i387-env-reverse.exp: Likewise.
6015 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6016 * gdb.reverse/machinestate-precsave.exp: Likewise.
6017 * gdb.reverse/machinestate.exp: Likewise.
6018 * gdb.reverse/sigall-precsave.exp: Likewise.
6019 * gdb.reverse/solib-precsave.exp: Likewise.
6020 * gdb.reverse/step-precsave.exp: Likewise.
6021 * gdb.reverse/until-precsave.exp: Likewise.
6022 * gdb.reverse/watch-precsave.exp: Likewise.
6023 * gdb.reverse/watch-reverse.exp: Likewise.
6025 2014-10-17 Yao Qi <yao@codesourcery.com>
6027 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6028 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6030 2014-10-17 Pedro Alves <palves@redhat.com>
6033 * gdb.base/bg-execution-repeat.c: New file.
6034 * gdb.base/bg-execution-repeat.exp: New file.
6036 2014-10-17 Pedro Alves <palves@redhat.com>
6039 * gdb.base/continue-all-already-running.c: New file.
6040 * gdb.base/continue-all-already-running.exp: New file.
6042 2014-10-17 Pedro Alves <palves@redhat.com>
6045 * gdb.base/annota-input-while-running.c: New file.
6046 * gdb.base/annota-input-while-running.exp: New file.
6048 2014-10-17 Pedro Alves <palves@redhat.com>
6050 * gdb.base/callfuncs.exp: emove references to osf.
6051 * gdb.base/sigall.exp: Likewise.
6052 * gdb.gdb/selftest.exp: Likewise.
6053 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6054 * gdb.mi/non-stop.c: Likewise.
6055 * gdb.mi/pthreads.c: Likewise.
6056 * gdb.reverse/sigall-precsave.exp: Likewise.
6057 * gdb.reverse/sigall-reverse.exp: Likewise.
6058 * gdb.threads/pthreads.c: Likewise.
6059 * gdb.threads/pthreads.exp: Likewise.
6061 2014-10-17 Yao Qi <yao@codesourcery.com>
6063 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6064 check 'target_info exists noargs'.
6065 (test_command_prompt_position): Likewise.
6066 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6068 (progvar_simple_while_test): Likewise.
6069 (progvar_complex_if_while_test): Likewise.
6070 (if_while_breakpoint_command_test): Likewise.
6071 (infrun_breakpoint_command_test): Likewise.
6072 (breakpoint_command_test): Likewise.
6073 (watchpoint_command_test): Likewise.
6074 (bp_deleted_in_command_test): Likewise.
6075 (temporary_breakpoint_commands): Likewise.
6077 2014-10-16 Yao Qi <yao@codesourcery.com>
6079 * gdb.base/remotetimeout.exp: Remove noargs checking.
6081 2014-10-15 Pedro Alves <palves@redhat.com>
6084 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6085 * gdb.base/breakpoint-in-ro-region.exp
6086 (probe_target_hardware_step): New procedure.
6087 (top level): Probe hardware stepping and hardware breakpoint
6088 support. Test stepping through a read-only region, with both
6089 "breakpoint auto-hw" on and off and both "always-inserted" on and
6092 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6094 * gdb.dlang/demangle.exp: Update for demangling changes.
6096 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6098 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6099 * gdb.cp/non-trivial-retval.exp: Add new tests.
6101 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6105 * gdb.cp/non-trivial-retval.cc: New file.
6106 * gdb.cp/non-trivial-retval.exp: New file.
6108 2014-10-15 Yao Qi <yao@codesourcery.com>
6110 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6113 2014-10-15 Yao Qi <yao@codesourcery.com>
6115 * gdb.python/py-symbol.exp: Match file base name if host is
6116 remote, otherwise match file name with dir name.
6117 * gdb.python/py-symtab.exp: Likewise.
6118 * gdb.python/python.exp: Likewise.
6120 2014-10-15 Yao Qi <yao@codesourcery.com>
6122 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6124 * gdb.python/py-symtab.exp: Likewise.
6125 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6128 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6130 * gdb.ada/addr_arith: New testcase.
6132 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6134 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6135 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6136 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6137 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6139 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6141 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6142 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6143 * gdb.arch/stap-eval-lang-ada.exp: New file.
6145 2014-10-14 Yao Qi <yao@codesourcery.com>
6147 * gdb.mi/mi-var-child.c (nothing1): New function.
6148 (nothing2): New function.
6149 (do_children_tests): Set function pointers by nothing1 and
6151 * gdb.mi/mi-var-child.exp: Step over new added statements.
6152 Update test to match the new output.
6153 * gdb.mi/var-cmd.c (nothing1): New function.
6154 (nothing2): New function.
6155 (do_children_tests): Set function pointers by nothing1 and
6157 * gdb.mi/mi-var-display.exp: Update test to match output.
6158 Step to the line specified by $line_dct_nothing.
6159 Increase the number of lines to step.
6161 2014-10-14 Yao Qi <yao@codesourcery.com>
6163 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6165 * gdb.mi/mi2-var-child.exp: Likewise.
6167 2014-10-13 Doug Evans <dje@google.com>
6169 * gdb.python/py-objfile.exp: Change name of file name test.
6171 2014-10-13 Doug Evans <dje@google.com>
6173 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6174 from the start of the CU.
6176 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6177 Yao Qi <yao@codesourcery.com>
6179 Fix "save breakpoints" for "catch" command.
6180 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6181 Remove -nonewline. Match also the added "main" line.
6183 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6185 Fix "save breakpoints" for "disable $bpnum" command.
6186 * gdb.base/save-bp.c (main): Add label.
6187 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6189 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6191 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6193 2014-10-11 Yao Qi <yao@codesourcery.com>
6195 * gdb.server/server-kill.exp: Execute command
6196 "set remote trace-status-packet on" before "tstatus".
6198 2014-10-11 Yao Qi <yao@codesourcery.com>
6200 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6201 (main): Call getppid.
6202 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6203 and continue to it. Read variable "server_pid".
6205 2014-10-11 Yao Qi <yao@codesourcery.com>
6207 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6209 2014-10-11 Yao Qi <yao@codesourcery.com>
6211 * gdb.threads/thread-find.exp: Don't execute command
6213 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6214 * gdb.threads/linux-dp.exp: Don't check the condition
6215 $threads_created equals to zero.
6217 2014-10-10 Pedro Alves <palves@redhat.com>
6219 * gdb.base/bigcore.exp: Remove references to IRIX.
6220 * gdb.base/funcargs.exp: Likewise.
6221 * gdb.base/interrupt.exp: Likewise.
6222 * gdb.base/mips_pro.exp: Likewise.
6223 * gdb.base/nodebug.exp: Likewise.
6224 * gdb.base/setvar.exp: Likewise.
6225 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6227 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 Pedro Alves <palves@redhat.com>
6231 * gdb.base/vdso-warning.c: New file.
6232 * gdb.base/vdso-warning.exp: New file.
6234 2014-10-02 Doug Evans <dje@google.com>
6236 * gdb.base/structs.c (main): Don't run forever.
6238 2014-10-02 Pedro Alves <palves@redhat.com>
6240 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6241 (top level) <stop threads 1, stop threads 2>: Use it.
6243 2014-10-02 Pedro Alves <palves@redhat.com>
6245 * gdb.threads/break-while-running.exp (test): Add new
6246 'update_thread_list' argument. Skip "info threads" if false.
6247 (top level): Add new 'update_thread_list' axis.
6249 2014-10-02 Pedro Alves <palves@redhat.com>
6251 PR breakpoints/17431
6252 * gdb.base/execl-update-breakpoints.c: New file.
6253 * gdb.base/execl-update-breakpoints.exp: New file.
6255 2014-10-01 Pedro Alves <palves@redhat.com>
6257 * gdb.base/breakpoint-in-ro-region.c: New file.
6258 * gdb.base/breakpoint-in-ro-region.exp: New file.
6260 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6262 * gdb.mi/mi-exit-code.exp: New file.
6263 * gdb.mi/mi-exit-code.c: New file.
6265 2014-09-30 Yao Qi <yao@codesourcery.com>
6267 * lib/prelink-support.exp (build_executable_own_libs): Error if
6268 the target isn't native.
6270 2014-09-30 Yao Qi <yao@codesourcery.com>
6272 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6275 2014-09-22 Pedro Alves <palves@redhat.com>
6277 * gdb.threads/break-while-running.exp: New file.
6278 * gdb.threads/break-while-running.c: New file.
6280 2014-09-19 Yao Qi <yao@codesourcery.com>
6282 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6283 Invoke test. Restart GDB with --readnow and invoke test again.
6285 2014-09-19 Yao Qi <yao@codesourcery.com>
6287 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6288 proc set_breakpoint_on_gcd_function. Invoke
6289 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6290 invoke set_breakpoint_on_gcd_function again.
6292 2014-09-18 Doug Evans <dje@google.com>
6294 * gdb.dwarf2/symtab-producer.exp: New file.
6296 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6298 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6299 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6300 * gdb.base/global-var-nested-by-dso.c: Likewise.
6301 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6303 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6304 Pedro Alves <palves@redhat.com>
6306 * gdb.base/watch-bitfields.exp: Pass string other than test file
6307 name to prepare_for_testing.
6308 (watch): New procedure.
6309 (expect_watchpoint): Use with_test_prefix.
6310 (top level): Factor out tests to ...
6311 (test_watch_location, test_regular_watch): ... these new
6312 procedures, and use with_test_prefix and gdb_continue_to_end.
6314 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6316 PR breakpoints/12526
6317 * gdb.base/watch-bitfields.exp: New file.
6318 * gdb.base/watch-bitfields.c: New file.
6320 2014-09-16 Pedro Alves <palves@redhat.com>
6322 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6323 software and hardware addresses, not software address against
6326 2014-09-16 Pedro Alves <palves@redhat.com>
6328 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6329 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6331 2014-09-16 Pedro Alves <palves@redhat.com>
6333 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6335 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6336 "*-*-vxworks*" throughout.
6337 * gdb.base/break.exp: Likewise.
6338 * gdb.base/default.exp: Likewise.
6339 * gdb.base/scope.exp: Likewise.
6340 * gdb.base/sepdebug.exp: Likewise.
6341 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6343 * gdb.base/run.c: Likewise.
6344 * gdb.base/sepdebug.c: Likewise.
6345 * gdb.hp/gdb.aCC/run.c: Likewise.
6346 * gdb.reverse/until-reverse.c: Likewise.
6347 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6349 2014-09-16 Yao Qi <yao@codesourcery.com>
6351 * boards/local-remote-host-native.exp: New file.
6353 2014-09-14 Doug Evans <xdje42@gmail.com>
6355 * gdb.threads/queue-signal.c (thread_count): New variable.
6356 (thread_count_mutex, thread_count_condvar): New variables.
6357 (incr_thread_count, wait_all_threads_running): New functions.
6358 (main): Wait for all threads to be in their thread functions.
6360 2014-09-13 Doug Evans <xdje42@gmail.com>
6362 * gdb.threads/queue-signal.c: New file.
6363 * gdb.threads/queue-signal.exp: New file.
6365 2014-09-13 Doug Evans <xdje42@gmail.com>
6367 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6368 be consistent with what default_gdb_init uses.
6369 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6370 the plain text of the prompt. Add some logging printfs.
6371 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6373 2014-09-12 Pedro Alves <palves@redhat.com>
6375 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6376 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6377 * gdb.arch/i386-size-overlap.exp: Likewise.
6378 * gdb.arch/i386-size.exp: Likewise.
6379 * gdb.arch/i386-unwind.exp: Likewise.
6380 * gdb.base/a2-run.exp: Likewise.
6381 * gdb.base/break.exp: Likewise.
6382 * gdb.base/charset.exp: Likewise.
6383 * gdb.base/chng-syms.exp: Likewise.
6384 * gdb.base/commands.exp: Likewise.
6385 * gdb.base/dbx.exp: Likewise.
6386 * gdb.base/find.exp: Likewise.
6387 * gdb.base/funcargs.exp: Likewise.
6388 * gdb.base/jit-simple.exp: Likewise.
6389 * gdb.base/reread.exp: Likewise.
6390 * gdb.base/sepdebug.exp: Likewise.
6391 * gdb.base/step-bt.exp: Likewise.
6392 * gdb.cp/mb-inline.exp: Likewise.
6393 * gdb.cp/mb-templates.exp: Likewise.
6394 * gdb.objc/basicclass.exp: Likewise.
6395 * gdb.threads/killed.exp: Likewise.
6397 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6400 * gdb.arch/powerpc-stackless.S: New file.
6401 * gdb.arch/powerpc-stackless.exp: New file.
6403 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6405 * gdb.base/attach.c: Include unistd.h.
6406 (main): Call alarm. Add label postloop.
6407 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6408 gdb_breakpoint, gdb_continue_to_breakpoint.
6409 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6411 2014-09-11 Pedro Alves <palves@redhat.com>
6414 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6415 * gdb.base/attach.exp (test_command_line_attach_run): New
6417 (top level): Call it.
6419 2014-09-11 Pedro Alves <palves@redhat.com>
6421 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6422 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6423 (do_command_attach_tests): Use spawn_wait_for_attach.
6424 * gdb.base/solib-overlap.exp: Likewise.
6425 * gdb.multi/multi-attach.exp: Likewise.
6426 * gdb.python/py-prompt.exp: Likewise.
6427 * gdb.python/py-sync-interp.exp: Likewise.
6428 * gdb.server/ext-attach.exp: Likewise.
6430 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6432 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6433 command in testcase. Simplify testcase.
6435 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6437 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6439 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6441 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6443 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6445 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6447 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6449 * gdb.dwarf2/dynarr-ptr.c: New file.
6450 * gdb.dwarf2/dynarr-ptr.exp: New file.
6452 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6454 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6455 of 30 rather than hardcoding 120 for a slow test case. Take the
6456 `gdb,timeout' target setting into account for this calculation.
6457 Don't extend the timeout for the test cases that don't need it.
6459 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6461 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6462 a factor of 2 for a slow test case. Take the `gdb,timeout'
6463 target setting into account for this calculation.
6464 * gdb.reverse/until-precsave.exp: Increase the timeout by
6465 a factor of 15 and 3 respectively rather than adding 120
6466 for a pair of slow test cases. Take the `gdb,timeout'
6467 target setting into account for this calculation.
6469 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6471 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6472 timeout, don't pass one down to gdb_expect.
6473 (gdb_expect): Rework timeout selection.
6475 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6477 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6478 exception on timeout.
6479 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6480 (gdbserver_start_extended): Catch any `gdbserver_start' error
6482 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6483 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6484 `gdbserver_gdb_load' error exceptions.
6486 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6488 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6489 120 on waiting for the TCP socket to open.
6491 2014-09-09 Doug Evans <xdje42@gmail.com>
6493 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6494 _caller_matches, _any_caller_is, _any_caller_matches.
6496 2014-09-09 Doug Evans <xdje42@gmail.com>
6498 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6500 2014-09-09 Yao Qi <yao@codesourcery.com>
6502 * gdb.mi/mi-var-display.exp: Set print symbol off.
6504 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6507 * gdb.base/commands.exp: Add tests to verify user-defined
6508 commands with empty bodies.
6509 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6510 python commands in `show user command`.
6511 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6512 scheme commands in `show user command`.
6514 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6517 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6518 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6519 * gdb.python/py-framefilter-invalidarg.exp: New file.
6520 * gdb.python/py-framefilter-invalidarg.py: New file.
6522 2014-09-06 Doug Evans <xdje42@gmail.com>
6525 * gdb.python/py-caller-is.c: New file.
6526 * gdb.python/py-caller-is.exp: New file.
6528 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6531 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6532 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6534 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6537 * gdb.fortran/print-formatted.exp: New file.
6538 * gdb.fortran/print-formatted.f90: Likewise.
6540 2014-09-03 Sasha Smundak <asmundak@google.com>
6542 * gdb.python/py-frame.exp: Test Frame.read_register.
6544 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6547 * gdb.python/py-completion.exp: New file.
6548 * gdb.python/py-completion.py: Likewise.
6550 2014-08-28 Doug Evans <dje@google.com>
6552 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6553 eax,etc. are live with values set by gdb and thus the compiler can't
6555 * gdb.arch/i386-pseudo.c (main): Ditto.
6557 2014-08-27 Doug Evans <dje@google.com>
6559 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6561 2014-08-25 Doug Evans <dje@google.com>
6563 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6566 2014-08-25 Doug Evans <dje@google.com>
6568 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6570 2014-08-24 Yao Qi <yao@codesourcery.com>
6572 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6574 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6576 2014-08-22 Doug Evans <dje@google.com>
6579 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6580 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6581 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6583 2014-08-22 Yao Qi <yao@codesourcery.com>
6585 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6586 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6587 * gdb.python/python.exp: Likewise. Use .py file on the host
6588 instead of the build.
6590 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6592 * gdb.threads/gcore-stale-thread.c: New file.
6593 * gdb.threads/gcore-stale-thread.exp: New file.
6595 2014-08-21 Pedro Alves <palves@redhat.com>
6597 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6598 * gdb.base/gcore-relro-pie.exp: Likewise.
6599 * gdb.base/gcore-relro.exp: Likewise.
6600 * gdb.base/gcore.exp: Likewise.
6601 * gdb.base/print-symbol-loading.exp: Likewise.
6602 * gdb.threads/gcore-thread.exp: Likewise.
6603 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6605 2014-08-20 Pedro Alves <palves@redhat.com>
6606 Jan Kratochvil <jan.kratochvil@redhat.com>
6608 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6610 (EXPECT): Handle READ1 being set.
6611 (all): Depend on EXTRA_RULES.
6612 (check-read1, expect-read1, read1.so, read1): New rules.
6613 * README (Testsuite Parameters): Document the READ1 make variable.
6614 (Race detection): New section.
6615 * configure: Regenerate.
6616 * configure.ac: If build==host==target, and running under a
6617 GNU/glibc system, add read1 to the extra Makefile rules.
6618 (EXTRA_RULES): AC_SUBST it.
6619 * lib/read1.c: New file.
6621 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6623 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6624 the handling of variables declared as a typedef to an array
6625 which a DW_AT_data_location attribute.
6627 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6628 Pedro Alves <palves@redhat.com>
6632 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6635 2014-08-19 Pedro Alves <palves@redhat.com>
6637 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6639 2014-08-19 Yao Qi <yao@codesourcery.com>
6641 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6644 2014-08-18 David Blaikie <dblaikie@gmail.com>
6646 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6648 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6650 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6651 attribute in array range.
6653 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6655 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6657 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6660 * gdb.cp/pr17132.cc: New file.
6661 * gdb.cp/pr17132.exp: New file.
6663 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6665 * gdb.python/py-xmethods.py (A_getarrayind)
6666 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6667 Use 'print' with function call syntax.
6668 (E_method_matcher.match): Fix tab vs space indentation mixup.
6670 2014-08-15 Yao Qi <yao@codesourcery.com>
6672 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6675 2014-08-15 Yao Qi <yao@codesourcery.com>
6677 * gdb.cp/casts.exp: Set print symbol off.
6678 * gdb.cp/class2.exp: Likewise.
6679 * gdb.cp/overload.exp: Likewise.
6680 * gdb.cp/templates.exp: Likewise.
6682 2014-08-11 Doug Evans <dje@google.com>
6684 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6685 (test_load_shlib): Update.
6687 2014-08-09 Yao Qi <yao@codesourcery.com>
6689 * gdb.base/display.exp: Invoke is_address_zero_readable.
6690 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6691 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6692 * gdb.base/hbreak-unmapped.exp: Return if
6693 is_address_zero_readable returns true.
6694 * gdb.base/signest.exp: Likewise.
6695 * gdb.base/signull.exp: Likewise.
6696 * gdb.base/sigbpt.exp: Likewise.
6697 * gdb.guile/scm-disasm.exp: Do the test if
6698 is_address_zero_readable returns false.
6699 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6700 * gdb.python/py-arch.exp: Likewise.
6701 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6702 * lib/gdb.exp (is_address_zero_readable): New proc.
6704 2014-08-09 Yao Qi <yao@codesourcery.com>
6707 * gdb.mi/mi-var-display.exp: Make test messages unique.
6709 2014-08-04 Tom Tromey <tromey@redhat.com>
6711 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6714 2014-08-04 Tom Tromey <tromey@redhat.com>
6716 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6719 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6721 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6722 inner_vla_struct_object_size.
6723 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6726 2014-07-30 Pedro Alves <palves@redhat.com>
6728 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6731 2014-07-29 Yao Qi <yao@codesourcery.com>
6734 * gdb.base/until-nodebug.exp: New.
6736 2014-07-28 Doug Evans <xdje42@gmail.com>
6739 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6740 previously existing parameter, and previously ambiguously spelled
6743 2014-07-28 Will Newton <will.newton@linaro.org>
6745 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6747 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6748 Doug Evans <xdje42@gmail.com>
6751 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6753 2014-07-25 Pedro Alves <palves@redhat.com>
6755 * gdb.threads/signal-command-handle-nopass.c: New file.
6756 * gdb.threads/signal-command-handle-nopass.exp: New file.
6757 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6758 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6759 * gdb.threads/signal-delivered-right-thread.c: New file.
6760 * gdb.threads/signal-delivered-right-thread.exp: New file.
6762 2014-07-25 Pedro Alves <palves@redhat.com>
6764 * gdb.base/double-prompt-target-event-error.exp
6765 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6767 (cancel_pagination_in_target_event): Rework double prompt
6769 * gdb.base/paginate-after-ctrl-c-running.exp
6770 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6772 * gdb.base/paginate-bg-execution.exp
6773 (test_bg_execution_pagination_return)
6774 (test_bg_execution_pagination_cancel): Remove '-notransfer
6776 * gdb.base/paginate-execution-startup.exp
6777 (test_fg_execution_pagination_return)
6778 (test_fg_execution_pagination_cancel): Remove '-notransfer
6780 * gdb.base/paginate-inferior-exit.exp
6781 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6783 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6784 * lib/gdb.exp (pagination_prompt): Run text through
6786 (gdb_test_multiple): Match $pagination_prompt instead of
6788 (string_to_regexp): Move to lib/gdb-utils.exp.
6790 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6792 * gdb.arch/amd64-entry-value-paramref.S: New file.
6793 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6794 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6795 * gdb.arch/amd64-optimout-repeat.S: New file.
6796 * gdb.arch/amd64-optimout-repeat.c: New file.
6797 * gdb.arch/amd64-optimout-repeat.exp: New file.
6799 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6802 * gdb.base/statistics.exp: New file.
6804 2014-07-17 Doug Evans <dje@google.com>
6807 * gdb.base/maint.exp: Update testing of per-command stats.
6809 2014-07-16 Pedro Alves <palves@redhat.com>
6811 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6812 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6813 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6814 (tfile_write_buf): New functions.
6815 (add_memory_block): Rewrite using the above.
6816 (adjust_function_address): New function.
6817 (FUNCTION_ADDRESS): New macro.
6818 (write_basic_trace_file): Remove short_x local, and use
6819 tfile_write_16. Change type of func_addr local to unsigned long
6820 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6821 here. Cast argument of add_memory_block to char pointer.
6822 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6823 (main): Remove parameters.
6824 * gdb.trace/tfile.exp: Remove nowarnings.
6826 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6828 * gdb.base/debug-expr.exp: Test string evaluation with
6829 "debug expression" on.
6831 2014-07-15 Pedro Alves <palves@redhat.com>
6833 * gdb.base/reread.exp: Use clean_restart.
6835 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6837 * gdb.arch/avr-flash-qualifer.c: New.
6838 * gdb.arch/avr-flash-qualifer.exp: New.
6840 2014-07-14 Pedro Alves <palves@redhat.com>
6842 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6843 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6845 2014-07-14 Pedro Alves <palves@redhat.com>
6847 * gdb.base/double-prompt-target-event-error.c: New file.
6848 * gdb.base/double-prompt-target-event-error.exp: New file.
6850 2014-07-14 Pedro Alves <palves@redhat.com>
6853 * gdb.base/paginate-inferior-exit.c: New file.
6854 * gdb.base/paginate-inferior-exit.exp: New file.
6856 2014-07-14 Pedro Alves <palves@redhat.com>
6859 * gdb.base/paginate-bg-execution.c: New file.
6860 * gdb.base/paginate-bg-execution.exp: New file.
6862 2014-07-14 Pedro Alves <palves@redhat.com>
6865 * gdb.base/paginate-execution-startup.c: New file.
6866 * gdb.base/paginate-execution-startup.exp: New file.
6867 * lib/gdb.exp (pagination_prompt): New global.
6868 (default_gdb_spawn): New procedure, factored out from
6870 (default_gdb_start): Adjust to call default_gdb_spawn.
6871 (gdb_spawn): New procedure.
6873 2014-07-14 Pedro Alves <palves@redhat.com>
6875 * lib/gdb.exp (gdb_assert): New procedure.
6876 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6878 2014-07-14 Pedro Alves <palves@redhat.com>
6880 * gdb.base/execution-termios.c: New file.
6881 * gdb.base/execution-termios.exp: New file.
6883 2014-07-14 Tom Tromey <tromey@redhat.com>
6885 * gdb.cp/vla-cxx.cc: New file.
6886 * gdb.cp/vla-cxx.exp: New file.
6888 2014-07-14 Tom Tromey <tromey@redhat.com>
6890 * gdb.reverse/rerun-prec.c: New file.
6891 * gdb.reverse/rerun-prec.exp: New file.
6893 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6894 Maciej W. Rozycki <macro@codesourcery.com>
6896 * lib/gdb-utils.exp: New file.
6897 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6898 inline `gdb_init_command' processing.
6899 (gdb_start_cmd): Likewise.
6900 * lib/mi-support.exp (mi_run_cmd): Likewise.
6901 * README: Document `gdb_init_command' and `gdb_init_commands'.
6903 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6905 Fix false FAIL running under a very long directory name.
6906 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6907 and "set print elements 10000". Twice.
6909 2014-07-11 Yao Qi <yao@codesourcery.com>
6911 * gdb.base/exprs.exp: "set print symbol off".
6913 2014-07-11 Pedro Alves <palves@redhat.com>
6915 * gdb.threads/kill.c: New file.
6916 * gdb.threads/kill.exp: New file.
6918 2014-07-10 Yao Qi <yao@codesourcery.com>
6920 * gdb.trace/tfile.c (write_basic_trace_file)
6921 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6922 address written to trace file.
6924 2014-07-09 Pedro Alves <palves@redhat.com>
6926 * gdb.base/attach-wait-input.exp: New file.
6927 * gdb.base/attach-wait-input.c: New file.
6929 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6931 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6932 setting up test structures.
6933 (main): Call new test function.
6934 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6935 test function, continue into test function and walk test
6938 2014-07-02 Yao Qi <yao@codesourcery.com>
6940 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6941 'bar_start' at the beginning of functions 'foo' and 'bar'
6943 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6944 instead of 'foo' and 'bar'.
6946 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6948 * gdb.btrace/segv.exp: New.
6949 * gdb.btrace/segv.c: New.
6951 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6953 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6956 2014-06-30 Mark Wielaard <mjw@redhat.com>
6958 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6959 vulture, vilify, villar): New volatile array constants.
6960 (vindictive, vegetation): New const volatile array constants.
6961 * gdb.base/volatile.exp: Test volatile and const volatile array
6964 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6966 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6967 target lacks support for awatch, rwatch, or hbreak.
6969 2014-06-27 Yao Qi <yao@codesourcery.com>
6971 * gdb.multi/dummy-frame-restore.exp: New.
6972 * gdb.multi/dummy-frame-restore.c: New.
6974 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6976 * gdb.btrace/gcore.exp: New.
6978 2014-06-23 Pedro Alves <palves@redhat.com>
6980 * gdb.base/watchpoint-reuse-slot.c: New file.
6981 * gdb.base/watchpoint-reuse-slot.exp: New file.
6983 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6985 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6986 progspace's filename in 'info', 'enable' and 'disable' command
6989 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6991 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6992 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6993 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6995 2014-06-20 Gary Benson <gbenson@redhat.com>
6997 * gdb.arch/i386-avx.exp: Fix include file location.
6998 * gdb.arch/i386-sse.exp: Likewise.
7000 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7002 * gdb.dlang/expression.exp: New file.
7004 2014-06-19 Pedro Alves <palves@redhat.com>
7006 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7008 (top level): ... here. Iterate running tests under different
7009 scheduler-locking settings.
7011 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7013 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7014 to DW_FORM_addr and use non-zero addresses.
7016 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7019 * gdb.python/py-xmethods.cc: Add global function call counters and
7020 increment them in their respective functions. Remove "cout"
7022 * gdb.python/py-xmethods.exp: Make tests check the global function
7023 call counters instead of depending on inferior IO.
7025 2014-06-18 Don Breazeal <donb@codesourcery.com>
7027 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7029 (explicit_fork_parent_follow): Deleted procedure.
7030 (explicit_fork_child_follow): Deleted procedure.
7031 (test_follow_fork): New procedure.
7032 (do_fork_tests): Replace calls to deleted procedures with
7033 calls to test_follow_fork and reset GDB for subsequent
7036 2014-06-17 Yao Qi <yao@codesourcery.com>
7038 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7041 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7043 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7044 Initialize ptr and S explicitly.
7045 (skip_type_update_when_not_use_rtti_test): Likewise.
7047 2014-06-16 Keith Seitz <keiths@redhat.com>
7050 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7051 the inferior is started.
7053 2014-06-16 Pedro Alves <palves@redhat.com>
7055 * gdb.base/break-main-file-remove-fail.c: New file.
7056 * gdb.base/break-main-file-remove-fail.exp: New file.
7057 * gdb.base/break-unload-file.exp: Use build_executable instead of
7058 prepare_for_testing.
7059 (test_break): New parameter "initial_load". Handle it.
7060 (top level): Add initial_load cmdline/file axis.
7062 2014-06-12 Tom Tromey <tromey@redhat.com>
7064 * gdb.base/completion.exp: Don't use directory name in test.
7066 2014-06-09 Gary Benson <gbenson@redhat.com>
7068 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7069 separate the always-available ANSI-standard signals from the
7070 signals that require checking.
7072 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7076 2014-06-07 Keith Seitz <keiths@redhat.com>
7080 * gdb.cp/var-tag.cc: New file.
7081 * gdb.cp/var-tag.exp: New file.
7082 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7083 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7084 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7085 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7087 2014-06-06 Doug Evans <xdje42@gmail.com>
7089 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7091 2014-06-06 Pedro Alves <palves@redhat.com>
7093 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7094 in target debug output instead of looking at RSP packets,
7095 disabling the test on any target that uses hardware stepping.
7098 2014-06-06 Pedro Alves <palves@redhat.com>
7100 * gdb.base/break-unload-file.exp: Fix typo.
7102 2014-06-06 Yao Qi <yao@codesourcery.com>
7104 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7105 from "jit_function" to "^jit_function".
7107 2014-06-06 Yao Qi <yao@codesourcery.com>
7109 * gdb.base/async.c (foo): Add one statement.
7110 * gdb.base/async.exp: Get the next instruction address and
7111 match the output of "nexti" by instruction address. Match
7112 the hex address in the output of "finish".
7114 2014-06-06 Gary Benson <gbenson@redhat.com>
7116 * gdb.base/call-signals.c: Remove preprocessor conditionals
7117 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7118 SIGSEGV and SIGTERM.
7119 * gdb.base/sigall.c: Likewise.
7120 * gdb.base/unwindonsignal.c: Likewise.
7121 * gdb.reverse/sigall-reverse.c: Likewise.
7123 2014-06-06 Yao Qi <yao@codesourcery.com>
7125 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7126 readable, skip the test.
7128 2014-06-06 Yao Qi <yao@codesourcery.com>
7130 * gdb.threads/staticthreads.c (thread_function): Move the line
7131 setting breakpoint on forward.
7132 * gdb.threads/staticthreads.exp: Update comments.
7134 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7136 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7137 "history-append! type error".
7139 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7141 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7142 erroneous dprintf expected input.
7144 2014-06-04 Doug Evans <xdje42@gmail.com>
7146 * gdb.guile/scm-generics.exp: Delete.
7148 2014-06-04 Doug Evans <xdje42@gmail.com>
7150 * gdb.guile/scm-breakpoint.exp: Update.
7151 Add tests for breakpoint registration.
7153 2014-06-04 Tom Tromey <tromey@redhat.com>
7155 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7157 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7158 inner_vla_struct, vla_union types. Initialize objects of those
7159 types and compute their sizes.
7161 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7162 Hui Zhu <hui@codesourcery.com>
7164 * gdb.base/fileio.exp: Add test for shell not available as well as
7166 * gdb.base/fileio.c (test_system): Check for shell twice.
7168 2014-06-04 Yao Qi <yao@codesourcery.com>
7170 * gdb.base/auto-connect-native-target.exp: Remove redundant
7171 space from the regexp pattern.
7173 2014-06-04 Yao Qi <yao@codesourcery.com>
7175 * gdb.base/default.exp: Replace "child" with "native" in
7178 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7180 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7181 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7182 * gdb.python/py-xmethods.py: Python script supporting the
7183 new testcase and tests.
7185 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7186 Pedro Alves <palves@redhat.com>
7188 PR breakpoints/17000
7189 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7190 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7192 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7194 * gdb.base/subst.exp: Add tests to verify partial path matching
7197 2014-06-03 Pedro Alves <palves@redhat.com>
7199 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7200 target that doesn't use software single-stepping.
7202 2014-06-03 Pedro Alves <palves@redhat.com>
7204 PR breakpoints/17000
7205 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7206 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7208 2014-06-02 Doug Evans <xdje42@gmail.com>
7210 * gdb.guile/scm-parameter.exp: New file.
7212 2014-06-02 Doug Evans <xdje42@gmail.com>
7214 * gdb.guile/scm-cmd.c: New file.
7215 * gdb.guile/scm-cmd.exp: New file.
7217 2014-06-02 Doug Evans <xdje42@gmail.com>
7219 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7220 pretty-printer lookup.
7221 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7222 (make-pp_s-printer): Call it.
7223 (make-pretty-printer-from-dict): New function.
7224 (lookup-pretty-printer-maker-from-dict): New function.
7225 (*pretty-printer*): Simplify.
7226 (make-objfile-pp_s-printer): New function.
7227 (install-objfile-pretty-printers!): New function.
7228 (make-progspace-pp_s-printer): New function.
7229 (install-progspace-pretty-printers!): New function.
7230 * gdb.guile/scm-progspace.c: New file.
7231 * gdb.guile/scm-progspace.exp: New file.
7233 2014-06-02 Pedro Alves <palves@redhat.com>
7235 * gdb.base/dprintf-bp-same-addr.c: New file.
7236 * gdb.base/dprintf-bp-same-addr.exp: New file.
7238 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7240 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7241 * gdb.arch/powerpc-power.s: Likewise.
7243 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7245 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7247 2014-06-01 Yao Qi <yao@codesourcery.com>
7249 * gdb.base/watchpoint.exp (test_watch_location): Check null
7250 pointer can be dereferenced. If not, do the test, otherwise
7253 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7255 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7257 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7259 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7261 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7262 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7263 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7264 * gdb.arch/amd64-invalid-stack-top.c: New file.
7265 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7267 2014-05-30 Pedro Alves <palves@redhat.com>
7269 PR breakpoints/17000
7270 * gdb.base/sss-bp-on-user-bp.c: New file.
7271 * gdb.base/sss-bp-on-user-bp.exp: New file.
7273 2014-05-30 David Blaikie <dblaikie@gmail.com>
7275 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7276 gnu_inline semantics via attribute.
7277 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7278 source explicitly specifies the required semantics.
7280 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7282 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7284 2014-05-29 Pedro Alves <palves@redhat.com>
7285 Tom Tromey <tromey@redhat.com>
7287 * gdb.base/async-shell.exp: Don't enable target-async.
7288 * gdb.base/async.exp
7289 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7291 (top level): Don't test with "target-async".
7292 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7293 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7294 * gdb.base/inferior-died.exp: Don't enable target-async.
7295 * gdb.base/interrupt-noterm.exp: Likewise.
7296 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7297 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7298 * gdb.mi/mi-nonstop.exp: Likewise.
7299 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7300 * gdb.mi/mi-nsintrall.exp: Likewise.
7301 * gdb.mi/mi-nsmoribund.exp: Likewise.
7302 * gdb.mi/mi-nsthrexec.exp: Likewise.
7303 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7304 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7305 * gdb.python/py-evsignal.exp: Don't enable target-async.
7306 * gdb.python/py-evthreads.exp: Likewise.
7307 * gdb.python/py-prompt.exp: Likewise.
7308 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7309 * gdb.server/solib-list.exp: Don't enable target-async.
7310 * gdb.threads/thread-specific-bp.exp: Likewise.
7311 * lib/mi-support.exp: Adjust to use mi-async.
7313 2014-05-29 Pedro Alves <palves@redhat.com>
7316 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7317 reason, even in sync mode.
7319 2014-05-29 Pedro Alves <palves@redhat.com>
7320 Hui Zhu <hui@codesourcery.com>
7323 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7324 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7325 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7326 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7328 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7330 * config/monitor.exp (gdb_target_monitor): Replace use of
7331 "set remotebaud" by "set serial baud".
7333 2014-05-26 Andy Wingo <wingo@igalia.com>
7335 * gdb.guile/scm-breakpoint.exp:
7336 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7337 properties instead of gdb-object-properties.
7339 2014-05-26 Yao Qi <yao@codesourcery.com>
7341 * gdb.server/no-thread-db.exp: Specify source file name
7342 explicitly when setting a breakpoint.
7344 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7346 * gdb.btrace/vdso.c: New.
7347 * gdb.btrace/vdso.exp: New.
7349 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7351 * gdb.base/gcore.exp (capture_command_output): Move ...
7352 * lib/gdb.exp (capture_command_output): ... here.
7354 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7356 * gdb.btrace/data.exp: Test memory access during btrace replay.
7358 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7360 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7362 2014-05-21 Pedro Alves <palves@redhat.com>
7365 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7366 (top level): Test that output related to execution commands is
7367 sent to the console with CLI commands, but not with MI commands.
7368 Test that breakpoint events are always mirrored to the console.
7369 Also expect the new source line to be output after a "next" in
7370 async mode too. Make it a pass/fail test.
7371 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7373 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7375 2014-05-21 Pedro Alves <palves@redhat.com>
7377 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7378 Use them to test variations of "list" after reaching a breakpoint.
7379 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7380 Test "list" with listsize 10 after reaching a breakpoint.
7381 * gdb.python/python.exp (decode_line current location line
7382 number): Adjust expected line number.
7384 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7386 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7387 behavior for $args, pass it directly to "run".
7389 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7391 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7394 2014-05-21 Pedro Alves <palves@redhat.com>
7396 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7397 auto-connect-native-target off".
7398 * gdb.base/auto-connect-native-target.c: New file.
7399 * gdb.base/auto-connect-native-target.exp: New file.
7401 2014-05-21 Pedro Alves <palves@redhat.com>
7403 * gdb.base/default.exp: Test "target native" instead of "target
7406 2014-05-21 Mark Wielaard <mjw@redhat.com>
7408 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7410 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7412 Fix TLS access for -static -pthread.
7413 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7414 <HAVE_TLS> (thread_function, main): Initialize it.
7415 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7417 <$have_tls != "">: Check TLSVAR.
7419 2014-05-21 Pedro Alves <palves@redhat.com>
7421 * gdb.base/dcache-line-read-error.c: New.
7422 * gdb.base/dcache-line-read-error.exp: New.
7424 2014-05-20 Pedro Alves <palves@redhat.com>
7426 * gdb.base/compare-sections.c: New file.
7427 * gdb.base/compare-sections.exp: New file.
7429 2014-05-20 Pedro Alves <palves@redhat.com>
7431 * gdb.base/break-idempotent.c: New file.
7432 * gdb.base/break-idempotent.exp: New file.
7434 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7436 * gdb.btrace/nohist.exp: New.
7438 2014-05-20 Yao Qi <yao@codesourcery.com>
7440 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7441 gdb.reverse directory and gdb_reverse_timeout exists in board
7443 * README: Document gdb_reverse_timeout.
7445 2014-05-20 Yao Qi <yao@codesourcery.com>
7447 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7448 'test_file_name'. Treat args as a string instead of a list.
7449 (gdb_init): Rename argument 'args' by 'test_file_name'.
7451 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7453 * gdb.arch/powerpc-power.exp: New file.
7454 * gdb.arch/powerpc-power.s: New file.
7456 2014-05-16 Doug Evans <dje@google.com>
7458 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7459 * gdb.base/completion.exp: Check that all expected files exist
7460 before doing file completion.
7462 2014-05-16 Doug Evans <dje@google.com>
7464 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7466 (do_syscall_tests_without_xml): Update.
7468 2014-05-16 Pedro Alves <palves@redhat.com>
7470 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7471 instead of "unknown output after running".
7473 2014-05-16 Yao Qi <yao@codesourcery.com>
7475 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7476 file1.txt from host at the end.
7477 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7479 2014-05-15 Doug Evans <dje@google.com>
7481 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7482 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7483 loading file. Add test for TU lookup.
7485 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7487 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7488 calling "-exec-arguments" or "set args" before running the
7491 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7493 * lib/mi-support.exp (mi_expect_stop): Expect message for
7494 inferiors that exit with non-zero exit code.
7496 2014-05-14 Yao Qi <yao@codesourcery.com>
7498 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7499 match absolute path on remote host.
7500 (test_file_list_exec_source_files): Remove "/" from the
7503 2014-05-14 Yao Qi <yao@codesourcery.com>
7505 * boards/local-remote-host-notty.exp (${board}_file): New
7508 2014-05-07 Kyle McMartin <kyle@redhat.com>
7510 Pushed by Joel Brobecker <brobecker@adacore.com>.
7511 * gdb.arch/aarch64-atomic-inst.c: New file.
7512 * gdb.arch/aarch64-atomic-inst.exp: New file.
7514 2014-05-07 Yao Qi <yao@codesourcery.com>
7516 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7517 in current context" too.
7519 2014-05-05 Keith Seitz <keiths@redhat.com>
7521 * gdb.linespec/ls-dollar.exp: Add test for linespec
7522 file:convenience_variable.
7524 2014-05-05 Yao Qi <yao@codesourcery.com>
7526 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7527 traceframes into tfile and ctf trace files. Read data from
7528 trace file and test collected data.
7529 (gdb_collect_locals_test): Likewise.
7530 (gdb_unavailable_registers_test): Likewise.
7531 (gdb_unavailable_floats): Likewise.
7532 (gdb_collect_globals_test): Likewise.
7533 (top-level): Append "ctf" to trace_file_targets if GDB
7536 2014-05-05 Yao Qi <yao@codesourcery.com>
7538 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7540 (gdb_collect_args_test_1): ... it. New proc.
7541 (gdb_collect_locals_test): Move some code to ...
7542 (gdb_collect_locals_test_1): ... it. New proc.
7543 (gdb_unavailable_registers_test): Move some code to ...
7544 (gdb_unavailable_registers_test_1): ... it. New proc.
7545 (gdb_unavailable_floats): Move some code to ...
7546 (gdb_unavailable_floats_1): ... it. New proc.
7548 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7550 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7551 probes to test for bitness recognition.
7552 * gdb.arch/amd64-stap-optional-prefix.exp
7553 (test_probe_value_without_reg): New procedure.
7554 Add code to test for different kinds of bitness.
7556 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7558 PR breakpoints/16889
7559 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7560 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7562 2014-05-01 Pedro Alves <palves@redhat.com>
7564 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7565 gdb_file_cmd if no file is specified.
7566 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7567 last_loaded_file to set the remote exec-file.
7569 2014-05-01 Pedro Alves <palves@redhat.com>
7571 * boards/local-remote-host.exp: New file.
7573 2014-05-01 Pedro Alves <palves@redhat.com>
7575 * boards/local-remote-host.exp: Rename to ...
7576 * boards/local-remote-host-notty.exp: ... this.
7578 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7580 * gdb.ada/dyn_arrayidx: New testcase.
7582 2014-04-26 Yao Qi <yao@codesourcery.com>
7584 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7585 and compute the length of function main. Save it in
7587 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7588 (top-level): Use gdb_compile to compile objects into
7589 executable and restart GDB. Remove invocation to
7590 prepare_for_testing.
7592 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7593 Pedro Alves <palves@redhat.com>
7596 * gdb.multi/multi-attach.c: New file.
7597 * gdb.multi/multi-attach.exp: New file.
7599 2014-04-25 Pedro Alves <palves@redhat.com>
7601 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7603 (top level): Test that "set remote conditional-breakpoints-packet
7604 off" works as intended.
7605 * gdb.base/dprintf.exp: Test that "set remote
7606 breakpoint-commands-packet off" works as intended.
7607 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7609 (top level): Call it.
7610 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7611 remote fast-tracepoints-packet off" works as intended.
7612 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7613 * lib/gdb.exp (gdb_is_target_remote): ... here.
7615 2014-04-24 David Blaikie <dblaikie@gmail.com>
7617 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7618 ensure clang would not discard them.
7619 * gdb.base/gdbvars.c: Ditto.
7620 * gdb.base/memattr.c: Ditto.
7621 * gdb.base/whatis.c: Ditto.
7622 * gdb.python/py-prettyprint.c: Ditto.
7623 * gdb.trace/actions.c: Ditto.
7624 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7625 ensure clang would not discard it.
7627 2014-04-24 David Blaikie <dblaikie@gmail.com>
7629 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7630 clang to emit the full definition of type required by the test
7631 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7633 2014-04-24 David Blaikie <dblaikie@gmail.com>
7635 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7636 coax Clang into emitting the definition of the type.
7637 * gdb.cp/pr10728-x.h (y): Ditto.
7638 * gdb.cp/pr10728-y.cc (y): Ditto.
7640 2014-04-24 David Blaikie <dblaikie@gmail.com>
7642 * gdb.base/label.exp: XFAIL label related tests under Clang.
7643 * gdb.cp/cplabel.exp: Ditto.
7644 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7645 under Clang those using labels.
7647 2014-04-25 Yao Qi <yao@codesourcery.com>
7649 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7651 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7652 partial_label and double_label.
7654 2014-04-24 David Blaikie <dblaikie@gmail.com>
7656 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7658 2014-04-24 David Blaikie <dblaikie@gmail.com>
7660 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7661 of the function to work across GCC and Clang.
7662 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7663 pointer types (const void ** const V void **).
7665 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7666 Walfred Tedeschi <walfred.tedeschi@intel.com>
7668 * Makefile.in (EXECUTABLES): Added i386-avx512.
7669 * gdb.arch/i386-avx512.c: New file.
7670 * gdb.arch/i386-avx512.exp: Likewise.
7672 2014-04-23 Keith Seitz <keiths@redhat.com>
7674 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7675 (mi_make_breakpoint_table): New procedure.
7676 (mi_create_breakpoint): Use mi_make_breakpoint
7677 and return the result.
7678 (mi_make_breakpoint): New procedure.
7679 (mi_build_kv_pairs): New procedure.
7681 * gdb.mi/mi-break.exp: Remove unused globals,
7682 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7683 All callers updated.
7684 * gdb.mi/mi-dprintf.exp: Use variable to track command
7686 Update all callers of mi_create_breakpoint and use
7687 mi_make_breakpoint_table.
7688 Remove any unused global variables.
7689 * gdb.mi/mi-nonstop.exp: Likewise.
7690 * gdb.mi/mi-nsintrall.exp: Likewise.
7691 * gdb.mi/mi-nsmoribund.exp: Likewise.
7692 * gdb.mi/mi-nsthrexec.exp: Likewise.
7693 * gdb.mi/mi-reverse.exp: Likewise.
7694 * gdb.mi/mi-simplerun.exp: Likewise.
7695 * gdb.mi/mi-stepn.exp: Likewise.
7696 * gdb.mi/mi-syn-frame.exp: Likewise.
7697 * gdb.mi/mi-until.exp: Likewise.
7698 * gdb.mi/mi-var-cp.exp: Likewise.
7699 * gdb.mi/mi-var-display.exp: Likewise.
7700 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7701 * gdb.mi/mi2-var-child.exp: Likewise.
7702 * gdb.mi/mi-vla-c99.exp: Likewise.
7703 * lib/mi-support.exp: Likewise.
7705 From Ian Lance Taylor <iant@cygnus.com>:
7706 * lib/gdb.exp (parse_args): New procedure.
7708 2014-04-23 Pedro Alves <palves@redhat.com>
7710 * gdb.base/break-unload-file.c: New file.
7711 * gdb.base/break-unload-file.exp: New file.
7712 * gdb.base/sym-file-lib.c (baz): New function.
7713 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7715 (load): Store the segment's mapped size.
7716 (unload): New function.
7717 (unload_shlib): New function.
7718 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7719 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7720 set a breakpoint at baz, and call it.
7721 * gdb.base/sym-file.exp: New tests for stale breakpoint
7724 2014-04-23 Pedro Alves <palves@redhat.com>
7726 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7727 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7728 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7729 * gdb.base/hbreak-unmapped.c: New file.
7730 * gdb.base/hbreak-unmapped.exp: New file.
7731 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7732 * lib/gdb.exp (gdb_is_target_remote): ... here.
7734 2014-04-22 Pedro Alves <palves@redhat.com>
7736 * gdb.base/consecutive-step-over.c: New file.
7737 * gdb.base/consecutive-step-over.exp: New file.
7739 2014-04-22 Pedro Alves <palves@redhat.com>
7741 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7742 instead of send_gdb/gdb_expect.
7744 2014-04-22 Yao Qi <yao@codesourcery.com>
7746 * lib/trace-support.exp (generate_tracefile): New procedure.
7747 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7749 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7750 if generate_tracefile returns 1.
7752 2014-04-18 Tom Tromey <palves@redhat.com>
7753 Pedro alves <tromey@redhat.com>
7756 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7757 with a backtrace limit.
7758 * gdb.python/py-frame-inline.exp: Test running to an inline
7759 function with a backtrace limit, and printing the newest frame.
7760 * gdb.python/py-frame-inline.c (main): Call f.
7762 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7764 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7766 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7768 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7769 Drop prefix from unsupported source file path.
7771 2014-04-17 Yao Qi <yao@codesourcery.com>
7773 * lib/gdb.exp (with_target_charset): New proc.
7774 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7775 with_target_charset.
7776 (test_print_strings): Likewise.
7777 (test_repeat_bytes): Likewise.
7778 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7781 2014-04-16 Keith Seitz <keiths@redhat.com>
7784 * gdb.dwarf2/corrupt.c: New file.
7785 * gdb.dwarf2/corrupt.exp: New file.
7787 2014-04-16 Keith Seitz <keiths@redhat.com>
7790 * gdb.cp/namelessclass.cc: New file.
7791 * gdb.cp/namelessclass.exp: New file.
7792 * gdb.cp/namelessclass.S: New file.
7794 2014-04-16 Doug Evans <dje@google.com>
7796 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7798 (gdbserver_default_get_comm_port): New function.
7799 (gdbserver_start): Check if board file provided
7800 "gdbserver,get_comm_port" and use it if so.
7801 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7802 (gdb,socketport): Set to "stdio".
7803 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7804 (stdio_gdbserver_template): Delete.
7805 (${board}_get_remote_address): Update.
7806 (${board}_build_remote_cmd): Delete.
7807 (${board}_get_comm_port): New function.
7808 (${board}_spawn): Update.
7809 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7811 (${board}_get_remote_address): Update.
7812 (${board}_get_comm_port): New function.
7814 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7816 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7817 appearing in any order.
7819 2014-04-15 Doug Evans <dje@google.com>
7821 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7822 uninitialized value of "description".
7824 2014-04-15 Keith Seitz <keiths@redhat.com>
7826 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7827 Remove unused globals.
7828 (test_running_the_program): Likewise.
7829 (test_controlled_execution): Likewise.
7830 (test_controlling_breakpoints): Likewise.
7831 (test_program_termination): Likewise.
7833 2014-04-15 Keith Seitz <keiths@redhat.com>
7835 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7837 (test_rbreak_creation_and_listing): Likewise.
7838 (test_ignore_count): Likewise.
7839 (test_error): Likewise.
7841 2014-04-15 Pedro Alves <palves@redhat.com>
7843 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7844 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7846 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7847 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7848 to sym-file-loader.c.
7849 (struct library): Forward declare.
7850 (load_shlib, lookup_function): Change prototypes.
7851 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7852 (translate_offset): Remove declarations.
7853 (get_text_addr): New declaration.
7854 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7855 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7857 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7858 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7859 here from sym-file-loader.h.
7860 (struct library): New structure.
7861 (load_shlib, lookup_function): Change prototypes and adjust to
7862 work with a struct library.
7863 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7864 (translate_offset): Make static.
7865 (get_text_addr): New function.
7866 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7868 2014-04-15 Pedro Alves <palves@redhat.com>
7870 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7872 2014-04-15 Pedro Alves <palves@redhat.com>
7874 * gdb.base/sym-file-loader.c: Include <limits.h>.
7875 (SELF_LINK): New define.
7876 (get_origin): New function.
7877 (load_shlib): Use it.
7878 * gdb.base/sym-file.exp: Don't early return if the target is
7879 remote. Use runto_main, and issue fail is that fails. Use
7881 (shlib_name): Delete.
7882 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7884 2014-04-15 Pedro Alves <palves@redhat.com>
7886 * gdb.base/sym-file.exp: Remove regex characters from test
7887 message. Don't refer to breakpoint numbers in test messages.
7889 2014-04-14 Keith Seitz <keiths@redhat.com>
7892 * gdb.cp/var-tag.cc: New file.
7893 * gdb.cp/var-tag.exp: New file.
7894 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7895 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7896 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7897 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7899 2014-04-14 Tom Tromey <tromey@redhat.com>
7901 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7902 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7904 * gdb.cp/enum-class.exp: New file.
7905 * gdb.cp/enum-class.cc: New file.
7907 2014-04-14 Tom Tromey <tromey@redhat.com>
7909 * gdb.dwarf2/enum-type.exp: New file.
7911 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7913 * gdb.mi/mi-vla-c99.exp: New file.
7914 * gdb.mi/vla.c: New file.
7916 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7918 * gdb.base/vla-datatypes.c: New file.
7919 * gdb.base/vla-datatypes.exp: New file.
7921 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7923 * gdb.base/vla-ptr.c: New file.
7924 * gdb.base/vla-ptr.exp: New file.
7926 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7928 * gdb.dwarf2/count.exp: New file.
7930 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7932 * gdb.base/vla-sideeffect.c: New file.
7933 * gdb.base/vla-sideeffect.exp: New file.
7935 2014-04-14 David Blaikie <dblaikie@gmail.com>
7937 * gdb.mi/non-stop.c: Add return value for non-void function return
7939 * gdb.threads/staticthreads.c: Ditto.
7941 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7942 Doug Evans <xdje42@gmail.com>
7944 * gdb.guile/scm-value.c: Improve test case.
7945 * gdb.guile/scm-value.exp: Add new test.
7947 2014-04-11 David Blaikie <dblaikie@gmail.com>
7949 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7950 override Clang's default.
7952 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7954 Revert the following changes (regressions):
7956 * gdb.base/vla-sideeffect.c: New file.
7957 * gdb.base/vla-sideeffect.exp: New file.
7959 * gdb.dwarf2/count.exp: New file.
7961 * gdb.base/vla-multi.c: New file.
7962 * gdb.base/vla-multi.exp: New file.
7964 * gdb.base/vla-ptr.c: New file.
7965 * gdb.base/vla-ptr.exp: New file.
7967 * gdb.base/vla-datatypes.c: New file.
7968 * gdb.base/vla-datatypes.exp: New file.
7970 * gdb.mi/mi-vla-c99.exp: New file.
7971 * gdb.mi/vla.c: New file.
7973 2014-04-11 Keith Seitz <keiths@redhat.com>
7976 * gdb.cp/cpsizeof.exp: New file.
7977 * gdb.cp/cpsizeof.cc: New file.
7979 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7981 * gdb.mi/mi-vla-c99.exp: New file.
7982 * gdb.mi/vla.c: New file.
7984 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7986 * gdb.base/vla-datatypes.c: New file.
7987 * gdb.base/vla-datatypes.exp: New file.
7989 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7991 * gdb.base/vla-ptr.c: New file.
7992 * gdb.base/vla-ptr.exp: New file.
7994 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7996 * gdb.base/vla-multi.c: New file.
7997 * gdb.base/vla-multi.exp: New file.
7999 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8001 * gdb.dwarf2/count.exp: New file.
8003 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8005 * gdb.base/vla-sideeffect.c: New file.
8006 * gdb.base/vla-sideeffect.exp: New file.
8008 2014-04-11 Yao Qi <yao@codesourcery.com>
8010 * gdb.base/completion.exp: Check file exists before running tests
8013 2014-04-10 Pedro Alves <palves@redhat.com>
8015 * gdb.base/cond-eval-mode.c: New file.
8016 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8017 prepare_for_testing to build the new file. Check result of
8019 (test_break, test_watch): New procedures.
8020 (top level): Use them.
8022 2014-04-08 Pierre Muller <muller@sourceware.org>
8024 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8025 Ctrl-V use for mingw hosts.
8027 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8029 * gdb.python/py-value.c: Improve test case.
8030 * gdb.python/py-value.exp: Add new test.
8032 2014-04-07 David Blaikie <dblaikie@gmail.com>
8034 * lib/compiler.c: Identify the clang compiler.
8035 * lib/compiler.cc: Ditto.
8037 2014-04-03 Yao Qi <yao@codesourcery.com>
8039 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8041 2014-04-01 Anton Blanchard <anton@samba.org>
8043 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8046 2014-04-01 Anton Blanchard <anton@samba.org>
8048 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8049 prepare_for_testing.
8051 2014-04-01 Anton Blanchard <anton@samba.org>
8053 * gdb.arch/ppc64-atomic-inst.c: Remove.
8054 * gdb.arch/ppc64-atomic-inst.S: New file.
8055 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8057 2014-03-31 Doug Evans <dje@google.com>
8059 * gdb.base/print-symbol-loading-lib.c: New file.
8060 * gdb.base/print-symbol-loading-main.c: New file.
8061 * gdb.base/print-symbol-loading.exp: New file.
8063 2014-03-31 Yao Qi <yao@codesourcery.com>
8065 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8067 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8069 * gdb.ada/mi_dyn_arr: New testcase.
8071 2014-03-27 Doug Evans <dje@google.com>
8073 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8075 2014-03-27 Yao Qi <yao@codesourcery.com>
8077 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8078 if target is nios2-*-*.
8080 2014-03-26 Yao Qi <yao@codesourcery.com>
8082 * lib/gdb.exp (readline_is_used): New proc.
8083 * gdb.base/completion.exp: Move tests on command complete up.
8084 Skip the rest of tests if readline is not used.
8085 * gdb.ada/complete.exp: Skp the test if readline is not
8087 * gdb.base/filesym.exp: Likewise.
8088 * gdb.base/macscp.exp: Likewise.
8089 * gdb.base/readline-ask.exp: Likewise.
8090 * gdb.base/readline.exp: Likewise.
8091 * gdb.python/py-cmd.exp: Likewise.
8092 * gdb.trace/tfile.exp: Likewise.
8094 2014-03-26 Yao Qi <yao@codesourcery.com>
8096 * gdb.base/macscp.exp: Fix code format issues.
8098 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8100 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8101 * gdb.asm/powerpc64le.inc: New file.
8103 2014-03-25 Pedro Alves <palves@redhat.com>
8104 Doug Evans <dje@google.com>
8106 * gdb.base/source-execution.c: New file.
8107 * gdb.base/source-execution.exp: New file.
8108 * gdb.base/source-execution.gdb: New file.
8110 2014-03-24 Doug Evans <dje@google.com>
8112 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8115 2014-03-24 Hui Zhu <hui@codesourcery.com>
8116 Pedro Alves <palves@redhat.com>
8118 PR breakpoints/16101
8119 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8120 test pass/fail messages. Detect missing support for dprintf when
8121 breakpoints are actually inserted.
8122 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8123 breakpoints are actually inserted.
8124 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8127 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8129 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8131 2014-03-22 Doug Evans <xdje42@gmail.com>
8133 * gdb.python/python.exp (python not supported): Verify multi-line
8134 python command issues an error.
8135 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8136 guile command issues an error.
8138 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8140 * gdb.threads/thread-specific.exp: Handle the lack of usable
8141 $this_breakpoint and $this_thread.
8143 2014-03-21 Hui Zhu <hui@codesourcery.com>
8145 * gdb.base/attach.exp (do_command_attach_tests): New.
8147 2014-03-20 Tom Tromey <tromey@redhat.com>
8148 Pedro Alves <palves@redhat.com>
8151 * gdb.base/condbreak-call-false.c: New file.
8152 * gdb.base/condbreak-call-false.exp: New file.
8154 2014-03-20 Pedro Alves <palves@redhat.com>
8156 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8158 (block_signals, unblock_signals): Delete.
8159 (child_function_2, main): Remove references to deleted variable
8162 2014-03-20 Pedro Alves <palves@redhat.com>
8164 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8165 Use pthread_kill to signal thread 2.
8166 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8167 Adjust to make the test send itself a signal rather than using the
8168 host's "kill" command.
8170 2014-03-20 Pedro Alves <palves@redhat.com>
8172 * gdb.threads/multiple-step-overs.c: New file.
8173 * gdb.threads/multiple-step-overs.exp: New file.
8174 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8175 Adjust expected infrun debug output.
8177 2014-03-20 Pedro Alves <palves@redhat.com>
8179 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8180 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8182 2014-03-20 Pedro Alves <palves@redhat.com>
8185 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8186 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8187 of gdb_test_multiple.
8188 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8189 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8191 2014-03-20 Pedro Alves <palves@redhat.com>
8193 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8194 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8196 2014-03-19 Pedro Alves <palves@redhat.com>
8198 * gdb.base/async.exp: Remove early return.
8200 2014-03-19 Pedro Alves <palves@redhat.com>
8202 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8204 2014-03-19 Pedro Alves <palves@redhat.com>
8206 * gdb.base/async.exp (test_background): Expect \r\n after
8207 "completed." in the fail pattern.
8209 2014-03-19 Pedro Alves <palves@redhat.com>
8211 * gdb.base/async.exp (test_background): New procedure.
8212 Use it for all background execution command tests.
8214 2014-03-19 Pedro Alves <palves@redhat.com>
8216 * gdb.base/async.exp: Use prepare_for_testing.
8218 2014-03-19 Pedro Alves <palves@redhat.com>
8220 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8223 2014-03-19 Pedro Alves <palves@redhat.com>
8225 * gdb.base/async.c (main): Add "jump here" and "until here" line
8227 * gdb.base/async.exp (jump_here): New global.
8228 (jump& test): Use it.
8229 (until_here): New global.
8230 (until& test): Use it.
8232 2014-03-19 Pedro Alves <palves@redhat.com>
8234 * gdb.base/async.exp: Don't frob gdb_protocol.
8236 2014-03-18 Doug Evans <xdje42@gmail.com>
8238 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8239 Fix spelling of exec-done-display.
8241 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8244 * gdb.base/gdb-sigterm.c: New file.
8245 * gdb.base/gdb-sigterm.exp: New file.
8247 2014-03-18 Pedro Alves <palves@redhat.com>
8250 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8251 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8254 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8256 * gdb.ada/pckd_arr_ren: New testcase.
8258 2014-03-13 Doug Evans <xdje42@gmail.com>
8261 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8262 collect after discarding symbols.
8264 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8265 Doug Evans <xdje42@gmail.com>
8267 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8268 to history survives a gc.
8270 2014-03-13 Pedro Alves <palves@redhat.com>
8272 * gdb.base/default.exp: Don't test "target procfs".
8274 2014-03-13 Pedro Alves <palves@redhat.com>
8276 * gdb.base/default.exp: Update "target child" and "target procfs"
8277 tests to not expect "Unix".
8279 2014-03-12 Tom Tromey <tromey@redhat.com>
8281 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8282 New procs. Add target-async tests.
8283 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8284 Add target-async tests.
8286 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8288 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8289 'func_start' and 'func_end' for the beginning and end of the
8290 function code, respectively.
8291 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8292 'func_end' instead of 'func' and 'main'.
8294 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8296 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8297 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8298 generate the debug info assembler source.
8300 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8302 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8303 * gdb.dwarf2/arr-subrange.exp: Likewise.
8304 * gdb.dwarf2/dwz.exp: Likewise.
8305 * gdb.dwarf2/method-ptr.exp: Likewise.
8306 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8307 * gdb.dwarf2/subrange.exp: Likewise.
8308 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8309 * gdb.dwarf2/implptrpiece.exp: Likewise.
8310 * gdb.dwarf2/nostaticblock.exp: Likewise.
8312 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8314 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8315 directory to absolute path name arguments.
8317 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8319 * gdb.ada/tagged_access: New testcase.
8321 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8323 * gdb.btrace/data.exp: Update expected output.
8325 2014-03-06 Yao Qi <yao@codesourcery.com>
8327 * gdb.trace/pr16508.exp: New file.
8329 2014-03-05 Pedro Alves <palves@redhat.com>
8332 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8334 (top level): Adjust to use it. Add tests that exercise breakpoint
8335 interaction with the code-cache.
8337 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8339 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8340 test for 'history-append!'.
8342 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8344 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8345 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8346 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8347 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8348 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8349 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8351 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8353 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8354 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8355 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8357 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8359 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8361 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8363 * gdb.dwarf2/arr-stride.c: New file.
8364 * gdb.dwarf2/arr-stride.exp: New file.
8366 2014-02-26 Pedro Alves <palves@redhat.com>
8368 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8369 that won't ever trigger. Make sure that GDB reports the correct
8370 breakpoint that caused the stop.
8372 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8375 * gdb.base/auto-load-script: New file.
8376 * gdb.base/auto-load.c: New file.
8377 * gdb.base/auto-load.exp: New file.
8380 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8382 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8384 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8385 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8387 2014-02-24 Doug Evans <dje@google.com>
8389 * lib/gdb.exp (run_on_host): Log error output if program fails.
8391 2014-02-21 Pedro Alves <palves@redhat.com>
8393 * gdb.threads/step-after-sr-lock.c: Rename to ...
8394 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8395 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8396 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8399 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8402 * gdb.arch/amd64-stap-special-operands.exp: New file.
8403 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8404 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8405 * gdb.arch/amd64-stap-triplet.S: Likewise.
8406 * gdb.arch/amd64-stap-triplet.c: Likewise.
8408 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8410 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8411 in .section pseudo-op.
8413 2014-02-20 lin zuojian <manjian2006@gmail.com>
8414 Joel Brobecker <brobecker@adacore.com>
8415 Doug Evans <xdje42@gmail.com>
8418 * gdb.dwarf2/dw2-icycle.S: New file.
8419 * gdb.dwarf2/dw2-icycle.c: New file.
8420 * gdb.dwarf2/dw2-icycle.exp: New file.
8422 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8424 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8425 operations on gdb.Value objects.
8426 * gdb.python/py-value-cc.exp: Add new test to test operations on
8429 2014-02-18 Doug Evans <dje@google.com>
8431 * Makefile.in (TESTS): New variable.
8432 (expanded_tests, expanded_tests_or_none): New variables
8433 (check-single): Pass $(expanded_tests_or_none) to runtest.
8434 (check-parallel): Only run tests in $(TESTS) if non-empty.
8435 (check/no-matching-tests-found): New rule.
8436 * README: Document TESTS makefile variable.
8438 2014-02-18 Doug Evans <dje@google.com>
8440 * Makefile.in (check-parallel): rm -rf outputs temp.
8442 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8444 Fix "ERROR: no fileid for" in the testsuite.
8445 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8447 2014-02-12 Doug Evans <dje@google.com>
8449 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8450 (MISCELLANEOUS): New variable.
8451 (clean): rm -rf $(MISCELLANEOUS).
8452 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8453 dwp live in the same directory as symlinks, with each symlink pointed
8454 to a differently named file in a different directory.
8456 2014-02-11 Doug Evans <dje@google.com>
8458 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8459 of Tcl file commands.
8461 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8463 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8466 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8468 * gdb.ada/tick_length_array_enum_idx: New testcase.
8470 2014-02-10 Doug Evans <xdje42@gmail.com>
8472 * configure.ac (AC_OUTPUT): Add gdb.guile.
8473 * configure: Regenerate.
8474 * lib/gdb-guile.exp: New file.
8475 * lib/gdb.exp (get_target_charset): New function.
8476 * gdb.base/help.exp: Update expected output from "apropos apropos".
8477 * gdb.guile/Makefile.in: New file.
8478 * gdb.guile/guile.exp: New file.
8479 * gdb.guile/scm-arch.c: New file.
8480 * gdb.guile/scm-arch.exp: New file.
8481 * gdb.guile/scm-block.c: New file.
8482 * gdb.guile/scm-block.exp: New file.
8483 * gdb.guile/scm-breakpoint.c: New file.
8484 * gdb.guile/scm-breakpoint.exp: New file.
8485 * gdb.guile/scm-disasm.c: New file.
8486 * gdb.guile/scm-disasm.exp: New file.
8487 * gdb.guile/scm-equal.c: New file.
8488 * gdb.guile/scm-equal.exp: New file.
8489 * gdb.guile/scm-error.exp: New file.
8490 * gdb.guile/scm-error.scm: New file.
8491 * gdb.guile/scm-frame-args.c: New file.
8492 * gdb.guile/scm-frame-args.exp: New file.
8493 * gdb.guile/scm-frame-args.scm: New file.
8494 * gdb.guile/scm-frame-inline.c: New file.
8495 * gdb.guile/scm-frame-inline.exp: New file.
8496 * gdb.guile/scm-frame.c: New file.
8497 * gdb.guile/scm-frame.exp: New file.
8498 * gdb.guile/scm-generics.exp: New file.
8499 * gdb.guile/scm-gsmob.exp: New file.
8500 * gdb.guile/scm-iterator.c: New file.
8501 * gdb.guile/scm-iterator.exp: New file.
8502 * gdb.guile/scm-math.c: New file.
8503 * gdb.guile/scm-math.exp: New file.
8504 * gdb.guile/scm-objfile-script-gdb.in: New file.
8505 * gdb.guile/scm-objfile-script.c: New file.
8506 * gdb.guile/scm-objfile-script.exp: New file.
8507 * gdb.guile/scm-objfile.c: New file.
8508 * gdb.guile/scm-objfile.exp: New file.
8509 * gdb.guile/scm-ports.exp: New file.
8510 * gdb.guile/scm-pretty-print.c: New file.
8511 * gdb.guile/scm-pretty-print.exp: New file.
8512 * gdb.guile/scm-pretty-print.scm: New file.
8513 * gdb.guile/scm-section-script.c: New file.
8514 * gdb.guile/scm-section-script.exp: New file.
8515 * gdb.guile/scm-section-script.scm: New file.
8516 * gdb.guile/scm-symbol.c: New file.
8517 * gdb.guile/scm-symbol.exp: New file.
8518 * gdb.guile/scm-symtab-2.c: New file.
8519 * gdb.guile/scm-symtab.c: New file.
8520 * gdb.guile/scm-symtab.exp: New file.
8521 * gdb.guile/scm-type.c: New file.
8522 * gdb.guile/scm-type.exp: New file.
8523 * gdb.guile/scm-value-cc.cc: New file.
8524 * gdb.guile/scm-value-cc.exp: New file.
8525 * gdb.guile/scm-value.c: New file.
8526 * gdb.guile/scm-value.exp: New file.
8527 * gdb.guile/source2.scm: New file.
8528 * gdb.guile/types-module.cc: New file.
8529 * gdb.guile/types-module.exp: New file.
8531 2014-02-10 Yao Qi <yao@codesourcery.com>
8534 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8535 * configure: Regenerated.
8536 * Makefile.in: New file.
8538 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8540 * gdb.python/py-framefilter.exp: Fix typo.
8542 2014-02-08 Yao Qi <yao@codesourcery.com>
8544 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8545 that no =breakpoint-modified is emitted when breakpoints are
8546 modified through MI commands.
8548 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8549 Pedro Alves <palves@redhat.com>
8551 * gdb.threads/step-after-sr-lock.c: New file.
8552 * gdb.threads/step-after-sr-lock.exp: New file.
8554 2014-02-07 Pedro Alves <palves@redhat.com>
8556 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8558 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8560 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8561 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8563 2014-02-06 Doug Evans <xdje42@gmail.com>
8565 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8568 * gdb.gdb/python-interrupts.exp: New file.
8570 2014-02-05 Yao Qi <yao@codesourcery.com>
8572 * gdb.trace/report.exp (use_collected_data): Test the output
8573 of "info threads" and "info inferiors".
8575 2014-02-05 Yao Qi <yao@codesourcery.com>
8579 2013-05-24 Yao Qi <yao@codesourcery.com>
8581 * gdb.trace/tfile.exp: Test inferior and thread.
8583 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8585 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8587 * gdb.base/step-bt.c: Call hello via function pointer to make
8588 sure its first instruction is executed on powerpc64le-linux.
8590 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8592 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8594 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8596 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8597 of the test patterns for use on little-endian systems.
8599 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8601 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8602 (decimal_vector): Fix for little-endian.
8604 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8606 * gdb.arch/sparc-sysstep.exp: New file.
8607 * gdb.arch/sparc-sysstep.c: Likewise.
8609 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8611 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8613 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8615 2014-01-23 Tom Tromey <tromey@redhat.com>
8617 * gdb.ada/array_char_idx: New testcase.
8619 2014-01-23 Tom Tromey <tromey@redhat.com>
8622 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8623 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8626 2014-01-23 Tom Tromey <tromey@redhat.com>
8629 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8630 string from an inferior frame.
8631 * gdb.python/py-framefilter-mi.exp: Update.
8633 2014-01-22 Doug Evans <dje@google.com>
8635 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8637 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8639 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8641 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8643 * gdb.trace/entry-values.exp: Remove excess space character from
8644 regex patterns. Handle s390 call instruction.
8646 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8648 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8649 define "*_start" label. Make "name" static.
8650 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8651 ${name} by references to ${name}_start.
8653 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8655 * gdb.base/info-macros.exp: Remove "debug" from the compile
8658 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8660 * gdb.dlang/demangle.exp: New file.
8662 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8664 * gdb.dlang/primitive-types.exp: New file.
8666 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8668 * configure.ac: Create gdb.dlang/Makefile.
8669 * configure: Regenerate.
8670 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8671 * gdb.dlang/Makefile.in: New file.
8672 * lib/d-support.exp: New file.
8673 * lib/gdb.exp (skip_d_tests): New proc.
8675 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8677 * gdb.btrace/delta.exp: Check reverse stepi.
8678 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8679 * gdb.btrace/finish.exp: New.
8680 * gdb.btrace/next.exp: New.
8681 * gdb.btrace/nexti.exp: New.
8682 * gdb.btrace/record_goto.c: Add comments.
8683 * gdb.btrace/step.exp: New.
8684 * gdb.btrace/stepi.exp: New.
8685 * gdb.btrace/multi-thread-step.c: New.
8686 * gdb.btrace/multi-thread-step.exp: New.
8687 * gdb.btrace/rn-dl-bind.c: New.
8688 * gdb.btrace/rn-dl-bind.exp: New.
8689 * gdb.btrace/data.c: New.
8690 * gdb.btrace/data.exp: New.
8691 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8695 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8696 * gdb.btrace/exception.exp: Update.
8697 * gdb.btrace/instruction_history.exp: Update.
8698 * gdb.btrace/record_goto.exp: Update.
8699 * gdb.btrace/tailcall.exp: Update.
8700 * gdb.btrace/unknown_functions.exp: Update.
8701 * gdb.btrace/delta.exp: New.
8703 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8705 * gdb.btrace/record_goto.exp: Add backtrace test.
8706 * gdb.btrace/tailcall.exp: Add backtrace test.
8708 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8710 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8711 * gdb.btrace/record_goto.c: New.
8712 * gdb.btrace/record_goto.exp: New.
8713 * gdb.btrace/x86-record_goto.S: New.
8715 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8717 * gdb.btrace/function_call_history.exp: Update tests.
8718 * gdb.btrace/instruction_history.exp: Update tests.
8720 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8722 * gdb.btrace/function_call_history.exp: Fix expected field
8723 order for "record function-call-history".
8724 Add new tests for "record function-call-history /c".
8725 * gdb.btrace/exception.cc: New.
8726 * gdb.btrace/exception.exp: New.
8727 * gdb.btrace/tailcall.exp: New.
8728 * gdb.btrace/x86-tailcall.S: New.
8729 * gdb.btrace/x86-tailcall.c: New.
8730 * gdb.btrace/unknown_functions.c: New.
8731 * gdb.btrace/unknown_functions.exp: New.
8732 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8734 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8736 * gdb.btrace/instruction_history.exp: Update.
8737 * gdb.btrace/function_call_history.exp: Update.
8739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8741 * gdb.btrace/function_call_history.exp: Fix expected function
8743 * gdb.btrace/instruction_history.exp: Initialize traced.
8744 Remove traced_functions.
8746 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8748 * gdb.btrace/function_call_history.exp: Update
8749 * gdb.btrace/instruction_history.exp: Update.
8751 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8753 * gdb.btrace/enable.exp: Update expected text.
8755 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8757 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8760 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8762 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8764 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8766 * lib/gdb.exp (supports_process_record): Return true for
8767 arm*-linux*. (supports_reverse): Likewise.
8769 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8773 * gdb.python/py-type.c: Enhance test case.
8774 * gdb.python/py-value-cc.cc: Likewise
8775 * gdb.python/py-type.exp: Add new tests.
8776 * gdb.python/py-value-cc.exp: Likewise
8778 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8779 Pedro Alves <palves@redhat.com>
8781 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8783 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8784 references to ${name}_start by references to ${name}.
8786 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8788 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8790 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8792 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8794 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8795 Pedro Alves <palves@redhat.com>
8797 * gdb.mi/mi-info-os.exp: Connect to the target with
8800 2014-01-08 Pedro Alves <palves@redhat.com>
8802 * gdb.threads/reconnect-signal.c: New file.
8803 * gdb.threads/reconnect-signal.exp: New file.
8805 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8807 * gdb.base/source-dir.exp: New file.
8809 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8811 * gdb.ada/mi_interface: New testcase.
8813 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8815 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8816 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8817 gdb.ada/pp-rec-component/pck.ads: New files.
8819 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8821 * gdb.python/py-pp-integral.c: New file.
8822 * gdb.python/py-pp-integral.py: New file.
8823 * gdb.python/py-pp-integral.exp: New file.
8825 For older changes see ChangeLog-1993-2013.
8831 ;; version-control: never
8834 Copyright 2014-2016 Free Software Foundation, Inc.
8835 Copying and distribution of this file, with or without modification,
8836 are permitted provided the copyright notice and this notice are preserved.