1 2016-07-26 Tom Tromey <tom@tromey.com>
4 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10 selecting assembly source files.
11 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12 assembly source files.
13 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14 assembly source files.
15 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
16 selecting assembly source files.
18 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
20 * gdb.base/new-ui.exp (do_test_invalid_args): New
23 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
25 * gdb.btrace/reconnect.c: New file.
26 * gdb.btrace/reconnect.exp: New file.
28 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
30 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
31 to test_catch_syscall_group.
32 (test_catch_syscall_group): New.
34 2016-07-21 Tom Tromey <tom@tromey.com>
36 * gdb.rust/simple.rs (main): Use empty struct expression.
37 * gdb.rust/simple.exp: Add tests for empty struct expression.
39 2016-07-21 Yao Qi <yao.qi@linaro.org>
41 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
42 if gdb_skip_xml_test is true on some targets.
44 2016-07-21 Yao Qi <yao.qi@linaro.org>
46 * gdb.server/solib-list.exp: Unset last_loaded_file.
48 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
50 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
51 "step into captured_main (args)".
53 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
55 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
57 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
59 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
61 2016-07-19 Pedro Alves <palves@redhat.com>
63 * gdb.opt/inline-break.exp: Remove optimize=-O2.
64 * gdb.opt/inline-bt.exp: Likewise.
65 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
66 additional_flags=-Winline.
67 * gdb.opt/inline-locals.exp: Likewise.
68 * gdb.opt/inline-markers.c (ATTR): Define.
71 2016-07-19 Yao Qi <yao.qi@linaro.org>
73 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
74 (test_with_self): Remove some code. Remove argument executable.
75 (top-level): Use do_self_tests.
77 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
78 Don Breazeal <donb@codesourcery.com>
80 * gdb.base/maint.exp: Escape paths used in regular expressions.
81 * gdb.stabs/weird.exp: Likewise.
83 2016-07-13 Tom Tromey <tom@tromey.com>
85 PR python/15620, PR python/18620:
86 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
87 (test_bkpt_events): New procs.
89 2016-07-13 Tom Tromey <tom@tromey.com>
92 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
94 (test_watchpoints): Likewise.
95 (test_bkpt_pending): New proc.
97 2016-07-13 Tom Tromey <tom@tromey.com>
100 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
103 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
105 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
106 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
107 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
109 (g): Rename g_end_lbl to g_label.
110 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
112 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
114 2016-07-12 Tom Tromey <tom@tromey.com>
117 * gdb.python/py-unwind-maint.exp: Update tests.
119 2016-07-12 Yao Qi <yao.qi@linaro.org>
121 * lib/selftest-support.exp (selftest_setup): Match the output
122 when captured_main is inlined.
124 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
126 * gdb.fortran/derived-types.exp (result_line, result_line_2):
128 (print this%a, print this%b, print this): New tests.
129 * gdb.fortran/derived-types.f90 (this): New object and
132 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
134 * gdb.ada/arraydim.exp: Remove extra directory level in build
137 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
139 * lib/ada.exp: Remove extra directory level in build directory.
140 * gdb.ada/cond_lang.exp: Likewise.
141 * gdb.ada/exec_changed.exp: Likewise.
142 * gdb.ada/lang_switch.exp: Likewise.
144 2016-07-06 Manish Goregaokar <manish@mozilla.com>
146 * simple.rs: Add test for raw pointer subscripting
147 * simple.exp: Add test expectations
149 2016-07-05 Yao Qi <yao.qi@linaro.org>
151 * gdb.mi/mi-reverse.exp: Match =record-started output.
153 2016-07-01 Pedro Alves <palves@redhat.com>
155 * gdb.base/jit-reader.exp (info_registers_current_frame): New
157 (jit_reader_test): Test the jit reader's unwinder.
158 * gdb.base/jithost.c (jit_function_00_code): New global.
159 (main): Use memcpy to fill in the mmapped code, instead of poking
161 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
163 (read_debug_info): Save the function's range.
164 (read_sp): New function.
165 (unwind_frame): Use it. Also unwind RBP.
166 (get_frame_id): Use read_sp.
167 (gdb_init_reader): Use calloc instead of malloc.
168 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
169 parameter. Use gdb_test_multiple.
171 2016-07-01 Pedro Alves <palves@redhat.com>
172 Antoine Tremblay <antoine.tremblay@ericsson.com>
174 * gdb.threads/process-dies-while-detaching.c: New file.
175 * gdb.threads/process-dies-while-detaching.exp: New file.
177 2016-07-01 Pedro Alves <palves@redhat.com>
179 * gdb.multi/watchpoint-multi-exit.c: New file.
180 * gdb.multi/watchpoint-multi-exit.exp: New file.
182 2016-06-30 Pedro Alves <palves@redhat.com>
184 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
185 unset inferior_spawn_id.
187 2016-06-30 Pedro Alves <palves@redhat.com>
189 * lib/mi-support.exp (default_mi_gdb_start): Declare global
190 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
192 2016-06-29 Yao Qi <yao.qi@linaro.org>
194 * gdb.base/return.c: Add copyright header.
196 2016-06-29 Tom Tromey <tom@tromey.com>
199 * gdb.python/py-framefilter.exp: Add tests for setting priority
200 and disabling of non-existent frame filter.
202 2016-06-29 Yao Qi <yao.qi@linaro.org>
204 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
207 2016-06-28 Yao Qi <yao.qi@linaro.org>
209 * gdb.base/catch-syscall.exp: Remove check on isnative and target
210 triplets. Start gdb, execute catch syscall, and continue. Check
211 gdb's output to determine catch syscall is supported.
213 2016-06-27 Manish Goregaokar <manish@mozilla.com>
215 * gdb.rust/simple.rs: Add test for returning unit in a function.
216 * gdb.rust/simple.exp: Add expectation for functions returning
219 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
221 * gdb.python/py-breakpoint-create-fail.c,
222 gdb.python/py-breakpoint-create-fail.exp,
223 gdb.python/py-breakpoint-create-fail.py: New testcase.
225 2016-06-25 Manish Goregaokar <manish@mozilla.com>
228 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
229 * gdb.rust/simple.exp: Add test expectations for new NonZero
232 2016-06-24 David Taylor <dtaylor@emc.com>
234 * gdb.base/offsets.exp: New file.
235 * gdb.base/offsets.c: New file.
237 2016-06-23 Tom Tromey <tom@tromey.com>
240 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
241 before any filters are loaded.
243 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
245 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
246 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
248 * gdb.fortran/derived-type-function.exp: New file.
249 * gdb.fortran/derived-type-function.f90: New file.
252 2016-06-21 Pedro Alves <palves@redhat.com>
254 * gdb.base/new-ui.exp: New file.
255 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
256 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
257 (with_spawn_id): New procedure.
259 2016-06-21 Pedro Alves <palves@redhat.com>
261 * gdb.mi/mi-exec-run.exp: New file.
263 2016-06-21 Pedro Alves <palves@redhat.com>
265 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
266 breakpoint command's output on the main UI.
267 (test_break): New procedure, factored out from calls in the top
269 (top level): Use foreach_with_prefix to test MI as main UI and as
272 2016-06-21 Pedro Alves <palves@redhat.com>
274 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
275 (test_awatch_creation_and_listing)
276 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
277 Remove 'type' parameter.
278 (test_watchpoint_all): New parameter mi_mode. Remove
280 (top level): Use foreach_with_prefix, and add main/separate UI MI
283 2016-06-21 Pedro Alves <palves@redhat.com>
285 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
286 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
287 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
288 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
289 (gdb_main_spawn_id, mi_spawn_id): Declare and
291 (mi_create_inferior_pty): New procedure,
292 factored out from default_mi_gdb_start.
293 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
295 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
296 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
297 Use mi_create_inferior_pty.
298 (mi_gdb_start): Use eval to pass down args list.
300 2016-06-21 Pedro Alves <palves@redhat.com>
302 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
303 * gdb.opt/inline-cmds.exp: Add MI tests.
305 2016-06-21 Pedro Alves <palves@redhat.com>
307 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
309 2016-06-21 Pedro Alves <palves@redhat.com>
311 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
312 (top level): Use it instead of mi_execute_to.
314 2016-06-21 Pedro Alves <palves@redhat.com>
316 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
317 (cont_handler_str): New.
318 (signal_stop_handler): Set stop_handler_str instead of printing to
320 (continue_handler): Set cont_handler_str instead of printing to
322 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
323 mi_send_resuming_command. Print stop_handler_str and
324 cont_handler_str instead of expecting the python events print
327 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
329 * gdb.base/jit-reader.exp: New file.
330 * gdb.base/jithost.c: New file.
331 * gdb.base/jithost.h: New file.
332 * gdb.base/jitreader.c : New file.
333 * gdb.base/jit-protocol.h: New file.
335 2016-06-17 Yao Qi <yao.qi@linaro.org>
337 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
338 parameters follow_fork and detach_on_fork. Set follow-fork-mode
339 and detach-on-fork. Adjust tests.
340 (top level): Invoke break_cond_on_syscall with combinations of
341 syscall, follow-fork-mode and detach-on-fork.
343 2016-06-17 Yao Qi <yao.qi@linaro.org>
345 * gdb.base/step-over-exit.c: New.
346 * gdb.base/step-over-exit.exp: New.
348 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
350 * gdb.base/float.exp: Add target check for nds32*-*-*.
351 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
353 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
355 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
356 for unsupported target features.
357 * gdb.base/call-rt-st.exp: Likewise.
358 * gdb.base/call-sc.exp: Likewise.
359 * gdb.base/call-signal-resume.exp: Likewise.
360 * gdb.base/call-strs.exp: Likewise.
361 * gdb.base/callexit.exp: Likewise.
362 * gdb.base/callfuncs.exp: Likewise.
363 * gdb.base/nodebug.exp: Likewise.
364 * gdb.base/printcmds.exp: Likewise.
365 * gdb.base/ptype.exp: Likewise.
366 * gdb.base/structs.exp: Likewise.
367 * gdb.base/unwindonsignal.exp: Likewise.
368 * gdb.cp/gdb2495.exp: Likewise.
369 * gdb.cp/templates.exp: Likewise.
370 * gdb.cp/virtfunc.exp: Likewise.
371 * gdb.threads/hand-call-in-threads.exp: Likewise.
372 * gdb.threads/interrupted-hand-call.exp: Likewise.
373 * gdb.threads/thread-unwindonsignal.exp: Likewise.
375 2016-06-10 Tom Tromey <tom@tromey.com>
378 * gdb.rust/expr.exp: Add test for integer constant larger than
381 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
383 * gdb.fortran/nested-funcs.exp: New.
384 * gdb.fortran/nested-funcs.f90: New.
386 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
388 * gdb.base/examine-backward.c: New file.
389 * gdb.base/examine-backward.exp: New file.
391 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
393 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
396 2016-06-02 Tom Tromey <tom@tromey.com>
399 * gdb.python/py-shared.exp: Add solib_name test.
401 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
403 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
405 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
408 * gdb.dwarf2/implref.exp: Rename to...
409 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
410 * gdb.dwarf2/implref-array.c: New file.
411 * gdb.dwarf2/implref-array.exp: Likewise.
412 * gdb.dwarf2/implref-global.c: Likewise.
413 * gdb.dwarf2/implref-global.exp: Likewise.
414 * gdb.dwarf2/implref-struct.c: Likewise.
415 * gdb.dwarf2/implref-struct.exp: Likewise.
417 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
419 * gdb.trace/trace-condition.exp: Add 64bit tests.
421 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
423 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
425 (main): Adapt to 8 to 64 bits types.
426 * gdb.trace/trace-condition.exp: Add new tests.
428 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
430 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
432 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
434 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
435 Move condition tests...
436 * gdb.trace/trace-condition.exp: Here.
438 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
440 * gdb.trace/trace-condition.exp: Add counter-case tests.
442 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
445 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
446 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
448 2016-05-27 Pedro Alves <palves@redhat.com>
450 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
452 (top level): Call it, and bail out of DejaGnu is known to be bad.
454 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
456 * gdb.base/whatis.c: Extend the test case.
457 * gdb.base/whatis.exp: Add additional tests.
459 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
461 * gdb.fortran/type.f90: Add pointer variable.
462 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
464 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
466 * gdb.fortran/vla-type.exp: Fix testcase name.
468 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
470 * gdb.fortran/vla-type.exp: Access elements in nested structs.
472 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
474 * gdb.fortran/type.f90: Add nested structures.
475 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
476 * gdb.fortran/derived-type.exp: Adapt expected output.
477 * gdb.fortran/vla-type.exp: Adapt expected output.
479 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
481 * gdb.fortran/whatis_type.exp: Adapt expected output.
483 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
485 * gdb.fortran/print_type.exp: Fix expected output.
486 * gdb.fortran/whatis_type.exp: Fix expected output.
488 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
490 * gdb.fortran/whatis_type.exp: Use multi_line.
492 2016-05-24 Tom Tromey <tom@tromey.com>
495 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
496 use value as an index.
498 2016-05-23 Tom Tromey <tom@tromey.com>
501 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
504 2016-05-24 Pedro Alves <palves@redhat.com>
507 * gdb.threads/clone-attach-detach.c: New file.
508 * gdb.threads/clone-attach-detach.exp: New file.
510 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
512 * gdb.base/annota-input-while-running.exp: Fix syntax error.
514 2016-05-23 Tom Tromey <tom@tromey.com>
516 PR python/19438, PR python/18393:
517 * gdb.python/py-progspace.exp: Add "dir" test.
518 * gdb.python/py-objfile.exp: Add "dir" test.
520 2016-05-23 Yao Qi <yao.qi@linaro.org>
522 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
523 * gdb.arch/thumb2-it.exp: Likewise.
525 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
527 * gdb.mi/mi-threads-interrupt.c: New file.
528 * gdb.mi/mi-threads-interrupt.exp: New file.
530 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
533 * gdb.mi/mi-async-run.exp: New file.
534 * gdb.mi/mi-async-run.c: New file.
536 2016-05-17 Tom Tromey <tom@tromey.com>
537 Manish Goregaokar <manishsmail@gmail.com>
539 * lib/rust-support.exp: New file.
540 * lib/gdb.exp (skip_rust_tests): New proc.
541 (build_executable_from_specs): Handle rust.
542 * lib/future.exp (gdb_find_rustc): New proc.
543 (gdb_default_target_compile): Handle rust.
544 * gdb.rust/expr.exp: New file.
545 * gdb.rust/generics.exp: New file.
546 * gdb.rust/generics.rs: New file.
547 * gdb.rust/methods.exp: New file.
548 * gdb.rust/methods.rs: New file.
549 * gdb.rust/modules.exp: New file.
550 * gdb.rust/modules.rs: New file.
551 * gdb.rust/simple.exp: New file.
552 * gdb.rust/simple.rs: New file.
554 2016-05-17 Tom Tromey <tom@tromey.com>
556 * gdb.base/default.exp (set language): Add rust.
558 2016-05-17 Tom Tromey <tom@tromey.com>
560 * gdb.gdb/unittest.exp: New file.
562 2016-05-16 Yao Qi <yao.qi@linaro.org>
564 * gdb.base/batch-preserve-term-settings.exp: Remove variable
565 shell_prompt. Update shell_prompt_re.
567 2016-05-12 Doug Evans <dje@google.com>
570 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
571 $options when building executable.
572 * gdb.dwarf2/fission-loclists-pie.S: New file.
573 * gdb.dwarf2/fission-loclists-pie.exp: New file.
575 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
577 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
578 of [is_remote target],
580 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
582 * lib/gdb.exp (use_gdb_stub): New procedure.
584 2016-05-03 Yunlian Jiang <yunlian@google.com>
585 Doug Evans <dje@google.com>
588 * gdb.dwarf2/dwp-sepdebug.c: New file.
589 * gdb.dwarf2/dwp-sepdebug.exp: New file.
591 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
593 * gdb.base/detach.exp: Remove is_remote check.
595 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
597 * gdb.base/annota-input-while-running.exp: Don't check for
598 [is_remote target]. Enable annotations after running to main.
599 Remove unused "set test..." line.
601 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
603 * gdb.trace/trace-enable-disable.exp: New file.
604 * gdb.trace/trace-enable-disable.c: New file.
606 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
608 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
609 use it in info sharedlibrary test.
610 * gdb.trace/ftrace-lock.exp: Likewise.
611 * gdb.trace/ftrace.exp: Likewise.
612 * gdb.trace/range-stepping.exp: Likewise.
613 * gdb.trace/trace-break.exp: Likewise.
614 * gdb.trace/trace-condition.exp: Likewise.
615 * gdb.trace/trace-mt.exp: Likewise.
617 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
619 * lib/gdb.exp (gdb_load_shlibs): Rename to...
620 (gdb_load_shlib): ... this.
621 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
623 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
624 * gdb.base/ctxobj.exp: Likewise.
625 * gdb.base/dprintf-pending.exp: Likewise.
626 * gdb.base/dso2dso.exp: Likewise.
627 * gdb.base/fixsection.exp: Likewise.
628 * gdb.base/gcore-relro.exp: Likewise.
629 * gdb.base/gdb1555.exp: Likewise.
630 * gdb.base/global-var-nested-by-dso.exp: Likewise.
631 * gdb.base/gnu-ifunc.exp: Likewise.
632 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
633 * gdb.base/jit-so.exp (one_jit_test): Likewise.
634 * gdb.base/pending.exp: Likewise.
635 * gdb.base/print-file-var.exp: Likewise.
636 * gdb.base/print-symbol-loading.exp: Likewise.
637 * gdb.base/shlib-call.exp: Likewise.
638 * gdb.base/shreloc.exp: Likewise.
639 * gdb.base/so-impl-ld.exp: Likewise.
640 * gdb.base/solib-disc.exp: Likewise.
641 * gdb.base/solib-nodir.exp: Likewise.
642 * gdb.base/solib-overlap.exp: Likewise.
643 * gdb.base/solib-symbol.exp: Likewise.
644 * gdb.base/solib-weak.exp (do_test): Likewise.
645 * gdb.base/sym-file.exp: Likewise.
646 * gdb.base/symtab-search-order.exp: Likewise.
647 * gdb.base/type-opaque.exp: Likewise.
648 * gdb.base/unload.exp: Likewise.
649 * gdb.base/watchpoint-solib.exp: Likewise.
650 * gdb.compile/compile.exp: Likewise.
651 * gdb.cp/gdb2384.exp: Likewise.
652 * gdb.cp/infcall-dlopen.exp: Likewise.
653 * gdb.cp/re-set-overloaded.exp: Likewise.
654 * gdb.fortran/library-module.exp: Likewise.
655 * gdb.opt/solib-intra-step.exp: Likewise.
656 * gdb.python/py-finish-breakpoint.exp: Likewise.
657 * gdb.python/py-shared.exp: Likewise.
658 * gdb.reverse/solib-precsave.exp: Likewise.
659 * gdb.reverse/solib-reverse.exp: Likewise.
660 * gdb.server/solib-list.exp: Likewise.
661 * gdb.threads/dlopen-libpthread.exp: Likewise.
662 * gdb.threads/tls-shared.exp: Likewise.
663 * gdb.threads/tls-so_extern.exp: Likewise.
664 * gdb.trace/change-loc.exp: Likewise.
665 * gdb.trace/ftrace-lock.exp: Likewise.
666 * gdb.trace/ftrace.exp: Likewise.
667 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
668 * gdb.trace/pending.exp: Likewise.
669 * gdb.trace/range-stepping.exp: Likewise.
670 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
671 (strace_info_marker): Likewise.
672 (strace_probe_marker): Likewise.
673 (strace_trace_on_same_addr): Likewise.
674 (strace_trace_on_diff_addr): Likewise.
675 * gdb.trace/trace-break.exp: Likewise.
676 * gdb.trace/trace-condition.exp: Likewise.
677 * gdb.trace/trace-mt.exp: Likewise.
679 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
681 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
682 result of gdb_remote_download.
683 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
684 * gdb.base/dso2dso.exp: Likewise.
685 * gdb.base/global-var-nested-by-dso.exp: Likewise.
686 * gdb.base/print-file-var.exp: Likewise.
687 * gdb.base/shlib-call.exp: Likewise.
688 * gdb.base/shreloc.exp: Likewise.
689 * gdb.base/solib-overlap.exp: Likewise.
690 * gdb.base/solib-weak.exp (do_test): Likewise.
691 * gdb.base/unload.exp: Likewise.
693 2016-04-27 Yao Qi <yao.qi@linaro.org>
695 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
698 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
700 * vla-type.exp: Print structure from toplevel.
702 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
704 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
706 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
709 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
711 * gdb.fortran/vla-type.f90: New file.
712 * gdb.fortran/vla-type.exp: New file.
714 2016-04-25 Yao Qi <yao.qi@linaro.org>
716 * gdb.base/branch-to-self.c: New file.
717 * gdb.base/branch-to-self.exp: New file.
719 2016-04-22 Yao Qi <yao.qi@linaro.org>
721 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
724 2016-04-22 Yao Qi <yao.qi@linaro.org>
726 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
727 * gdb.base/annota3.exp: Likewise.
729 2016-04-22 Yao Qi <yao.qi@linaro.org>
731 * gdb.reverse/step-precsave.exp: Do one step and test program
732 stops in "callee" and do multiple steps until program goes out
734 * gdb.reverse/step-reverse.exp: Likewise.
736 2016-04-22 Yao Qi <yao.qi@linaro.org>
738 * gdb.trace/signal.exp: Also pass if
739 $tracepoint_hits($i) > $iterations.
741 2016-04-22 Yao Qi <yao.qi@linaro.org>
743 * gdb.trace/signal.c: New file.
744 * gdb.trace/signal.exp: New file.
746 2016-04-19 Doug Evans <xdje42@gmail.com>
748 * gdb.base/bad-file.exp: New file.
750 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
752 * gdb.dwarf2/implref.exp: New file.
754 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
756 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
757 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
758 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
759 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
760 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
761 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
762 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
763 * lib/fortran.exp (fortran_int4): New procedure.
764 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
765 (fortran_logical4): Likewise.
767 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
769 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
771 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
773 * lib/compiler.c: Add Intel specific preprocessor macros.
774 * lib/compiler.cc: Likewise.
776 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
778 * gdb.server/connect-with-no-symbol-file.c: New file.
779 * gdb.server/connect-with-no-symbol-file.exp: New file.
781 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
783 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
785 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
787 * boards/gdbserver-base.exp (${board}_download): Copy source file to
788 standard output directory.
790 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
792 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
794 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
796 * gdb.btrace/instruction_history.c (loop): Add declaration.
798 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
800 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
802 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
804 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
805 parentheses to print.
806 (continue_handler): Likewise.
808 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
810 * gdb.server/solib-list.exp: Remove is_remote check.
811 Pass shlib= to gdb_compile. Don't link shared library with
812 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
813 Run binary filename through "readlink -f" on the target.
815 2016-04-08 Pedro Alves <palves@redhat.com>
817 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
818 interpreter filename as argument to gdbserver_spawn.
819 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
820 Return empty if $last_loaded_file does not exist.
822 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
824 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
825 * gdb.base/jit-main.c: Use exit after usage.
827 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
829 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
830 GDBHISTSIZE prior to the tests.
831 * gdb.base/gdbinit-history.exp: Likewise.
833 2016-04-07 Pedro Alves <palves@redhat.com>
835 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
836 instead of build_executable. Use gdb_load_shlibs.
838 2016-04-07 Yao Qi <yao.qi@linaro.org>
840 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
841 Execute "si" command.
843 2016-04-07 Yao Qi <yao.qi@linaro.org>
845 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
846 number instead of the comments on some line.
848 2016-04-06 Don Breazeal <donb@codesourcery.com>
850 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
851 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
853 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
855 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
856 standard_output_file. Remove unused binfile variable.
858 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
860 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
861 * gdb.python/py-mi-objfile.exp: Match "list main" output
864 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
866 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
869 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
871 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
873 * gdb.trace/ftrace.exp: Likewise.
874 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
876 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
877 (gdb_load_shlibs): Copy libraries to test directory when testing
878 natively. Only set solib-search-path if testing remotely.
879 * lib/mi-support.exp (mi_load_shlibs): Likewise.
881 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
883 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
884 gdb_download. Use it even if the target is not remote.
885 * gdb.base/jit.exp (compile_jit_test): Likewise.
886 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
887 output directory if the destination board is local, otherwise use
888 the standard remote_download from DejaGnu.
889 (gdb_download): Remove.
890 (gdb_load_shlibs): Use gdb_remote_download instead of
892 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
893 Use gdb_remote_download instead of gdb_download. Use it even if
894 the target is not remote.
895 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
896 instead of gdb_download.
898 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
900 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
901 (test_insert_delete_modify): Call mi_load_shlibs before trying to
904 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
907 * gdb.base/printcmds.exp: Add artificial arrays tests.
909 2016-03-31 Pedro Alves <palves@redhat.com>
912 * gdb.base/jit-main.c: Include unistd.h.
913 (ATTACH): Define to 0 if not already defined.
914 (wait_for_gdb, mypid): New globals.
915 (WAIT_FOR_GDB): New macro.
916 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
917 some breakpoint locations.
918 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
920 (one_jit_test): Add REATTACH parameter, and handle it. Use
921 continue_to_test_location.
922 (top level): Test attach, and adjusts calls to one_jit_test.
924 2016-03-31 Pedro Alves <palves@redhat.com>
927 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
928 BINSUFFIX parameter, and handle it.
929 (top level): Adjust calls compile_jit_test.
931 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
934 * gdb.python/py-mi-events-gdb.py: New file.
935 * gdb.python/py-mi-events.c: New file.
936 * gdb.python/py-mi-events.exp: New file.
938 2016-03-30 Yao Qi <yao.qi@linaro.org>
940 * gdb.reverse/until-precsave.exp: Match function name only.
941 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
942 Move malloc to a condition block.
943 * gdb.reverse/until-reverse.exp: Match function name only.
945 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
947 * gdb.trace/ftrace.exp: Set arg0exp for s390.
948 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
949 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
950 variable for GPR 0 instead of assuming it is register 0.
951 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
952 * lib/trace-support.exp: Add s390 registers.
954 2016-03-29 Yao Qi <yao.qi@linaro.org>
956 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
958 2016-03-24 Yao Qi <yao.qi@linaro.org>
960 * gdb.reverse/break-reverse.exp: Add quotation mark in the
963 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
965 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
966 maintaining separate logic for constructing the output path.
968 2016-03-16 Don Breazeal <donb@codesourcery.com>
970 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
971 Retry fork and waitpid on interrupted system call errors.
972 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
973 Use with_timeout_factor to increase timeout by factor of 10.
975 2016-03-15 Don Breazeal <donb@codesourcery.com>
977 * gdb.cp/scope-err.cc: New test program.
978 * gdb.cp/scope-err.exp: New test script.
979 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
980 lines and "set breakpoint here" comment.
981 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
982 Fixed some whitespace and format issues.
983 * gdb.mi/mi-linespec-err-cp.cc: New test program.
984 * gdb.mi/mi-linespec-err-cp.exp: New test script.
986 2016-03-15 Doug Evans <dje@google.com>
988 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
989 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
990 All callers updated. Add tests for enums, mixed flags register.
992 2016-03-15 Doug Evans <dje@google.com>
994 * gdb.base/skip.c (main): Call test_skip_file_and_function.
995 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
997 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
999 * gdb.base/default.exp: Add $_as_string to the list of expected
1000 convenience functions.
1002 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
1004 * gdb.base/maint.exp: New tests for 'maint info line-table'.
1006 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
1008 * gdb.python/py-as-string.exp: New file.
1009 * gdb.python/py-as-string.c: New file.
1011 2016-03-09 Pedro Alves <palves@redhat.com>
1013 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
1014 signal" -> "Thread NN received signal" output change.
1015 * gdb.threads/ia64-sigill.exp: Likewise.
1016 * gdb.threads/linux-dp.exp: Likewise.
1017 * gdb.threads/manythreads.exp: Likewise.
1018 * gdb.threads/pending-step.exp: Likewise.
1019 * gdb.threads/print-threads.exp: Likewise.
1020 * gdb.threads/sigstep-threads.exp: Likewise.
1021 * gdb.threads/staticthreads.exp: Likewise.
1022 * gdb.threads/tls.exp: Likewise.
1024 2016-03-09 Pedro Alves <palves@redhat.com>
1026 * gdb.base/command-line-input.exp: New file.
1028 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1030 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
1031 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
1032 * gdb.trace/pending.exp: Accept leading dot before function name.
1033 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
1034 * lib/trace-support.exp: Set registers for ppc.
1036 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1038 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
1039 use it for disassembly; accept .main in addition to main in backtrace.
1041 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
1042 Marcin Kościelnicki <koriakin@0x04.net>
1044 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
1045 (gdb_recursion_test_ptr): New global variable.
1046 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
1048 (gdb_c_test): Ditto.
1050 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1052 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
1055 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
1057 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
1058 (bar): Add bar_start_lbl label.
1059 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
1060 of foo/bar for emitting DWARF and tracing.
1062 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
1064 * analyze-racy-logs.py: Set executable bit.
1066 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
1068 * Makefile.in (DEFAULT_RACY_ITER): New variable.
1069 (CHECK_TARGET_TMP): Likewise.
1070 (check-single-racy): New rule.
1071 (check-parallel-racy): Likewise.
1072 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
1073 (do-check-parallel-racy): New rule.
1074 (check-racy/%.exp): Likewise.
1075 * README (Racy testcases): New section.
1076 * analyze-racy-logs.py: New file.
1078 2016-03-03 Doug Evans <dje@google.com>
1080 * gdb.base/skip.exp: Use with_test_prefix.
1082 2016-03-03 Yao Qi <yao.qi@linaro.org>
1084 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
1085 Invoke step_over_syscall "clone" and break_cond_on_syscall
1087 * gdb.base/step-over-clone.c: New file.
1089 2016-03-03 Yao Qi <yao.qi@linaro.org>
1091 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1094 2016-03-03 Yao Qi <yao.qi@linaro.org>
1096 * gdb.base/disp-step-fork.c: Rename to ...
1097 * gdb.base/step-over-fork.c: ... it. New file.
1098 * gdb.base/disp-step-vfork.c: Rename to ...
1099 * gdb.base/step-over-vfork.c: ... it. New file.
1100 * gdb.base/disp-step-syscall.exp: Rename to ...
1101 * gdb.base/step-over-syscall.exp: ... it. New file.
1102 (disp_step_cross_syscall): Rename to ...
1103 (step_over_syscall): ... it.
1105 2016-03-03 Yao Qi <yao.qi@linaro.org>
1107 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1108 If target supports condition evaluation on target, invoke
1109 break_cond_on_syscall for fork and vfork.
1111 2016-03-03 Yao Qi <yao.qi@linaro.org>
1113 * gdb.base/disp-step-syscall.exp: Don't invoke
1114 support_displaced_stepping.
1115 (disp_step_cross_syscall): Test with displaced stepping off and
1118 2016-03-03 Yao Qi <yao.qi@linaro.org>
1120 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1123 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1126 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1128 * gdb.fortran/vla-history.exp: Remove breakpoint.
1130 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1132 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1135 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1137 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1140 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1142 * gdb.mi/vla.f90: Nullify pointer after declaration.
1144 2016-03-01 Pedro Alves <palves@redhat.com>
1146 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1148 2016-03-01 Pedro Alves <palves@redhat.com>
1150 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1151 before anything else.
1152 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1154 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1155 before anything else.
1156 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1158 2016-03-01 Pedro Alves <palves@redhat.com>
1160 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1162 2016-03-01 Yao Qi <yao.qi@linaro.org>
1164 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1165 prepare_for_testing.
1167 2016-03-01 Yao Qi <yao.qi@linaro.org>
1169 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1171 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1173 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1174 manually constructing the output path.
1176 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1178 * gdb.arch/s390-stackless.S: New.
1179 * gdb.arch/s390-stackless.exp: New.
1181 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1183 * gdb.dlang/circular.c: New file.
1184 * gdb.dlang/circular.exp: New file.
1186 2016-02-26 Yao Qi <yao.qi@linaro.org>
1188 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1189 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1190 (testcases): Update.
1192 2016-02-26 Yao Qi <yao.qi@linaro.org>
1194 * gdb.reverse/aarch64.c: Rename to ...
1195 * gdb.reverse/insn-reverse.c: ... it.
1196 * gdb.reverse/aarch64.exp: Rename to ...
1197 * gdb.reverse/insn-reverse.exp: ... it.
1199 2016-02-26 Yao Qi <yao.qi@linaro.org>
1201 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1202 (testcase_ftype): New.
1203 (testcases): New array.
1205 (main): Call each element in testcases.
1206 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1207 (read_testcase): New.
1208 Do the tests in a loop.
1210 2016-02-25 Yao Qi <yao.qi@linaro.org>
1212 * gdb.base/branches.c: Remove.
1214 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1217 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1219 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1221 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1223 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1225 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1226 change x86_64 call_insn to 'callq'.
1228 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1230 * gdb.trace/tfile-avx.c: Move to...
1231 * gdb.trace/tracefile-pseudo-reg.c: Here.
1232 * gdb.trace/tfile-avx.exp: Move to...
1233 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1235 2016-02-24 Gary Benson <gbenson@redhat.com>
1237 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1240 2016-02-23 Doug Evans <dje@google.com>
1242 * gdb.base/skip.c (test_skip): New function.
1243 (end_test_skip_file_and_function): New function.
1244 (test_skip_file_and_function): New function.
1245 * gdb.base/skip1.c (test_skip): New function.
1246 (skip1_test_skip_file_and_function): New function.
1247 * gdb.base/skip.exp: Add tests for new skip options.
1248 * gdb.base/skip-solib.exp: Update expected output.
1249 * gdb.perf/skip-command.cc: New file.
1250 * gdb.perf/skip-command.exp: New file.
1251 * gdb.perf/skip-command.py: New file.
1253 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1255 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1256 info registers pattern.
1258 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1260 * lib/future.exp: Add D support.
1261 (gdb_find_gdc): New proc.
1262 (gdb_default_target_compile): Add D support.
1264 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1266 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1268 (trace_speed_test): Determine the iteration count for a time
1269 between 15..30 seconds.
1271 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1273 * gdb.arch/i386-mpx-sigsegv.c: New file.
1274 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1275 * gdb.arch/i386-mpx-simple_segv.c: New file.
1276 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1278 2016-02-18 Yao Qi <yao.qi@linaro.org>
1280 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1281 Don't call setup_kfail.
1283 2016-02-18 Yao Qi <yao.qi@linaro.org>
1285 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1286 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1288 2016-02-16 Doug Evans <dje@google.com>
1290 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1291 * gdb.base/skip1.c: Ditto.
1292 * gdb.base/skip.exp: Whitespace cleanup.
1294 2016-02-16 Don Breazeal <donb@codesourcery.com>
1297 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1298 Remove kfail for PR remote/19496.
1300 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1302 * lib/gdb.exp (standard_temp_file): Return a path specific to
1303 the runtest invocation.
1305 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1307 * gdb.trace/save-trace.exp: Change relative path to be in the
1308 standard output directory.
1310 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1312 * gdb.arch/i386-prologue.c: Add missing prototypes.
1314 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1316 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1317 * gdb.arch/i386-prologue.exp: Likewise.
1318 * gdb.arch/i386-size.exp: Likewise.
1320 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1322 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1323 define object file path.
1324 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1326 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1327 standard_output_file to define binfile.
1329 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 Fix compatibility with recent gfortran-5.3.1.
1332 * gdb.fortran/vla-history.exp (print vla1 allocated)
1333 (print vla2 allocated, print $2, print $3): Remove
1334 (print $4): Rename to ...
1335 (print $2): ... here.
1336 (print $9): Rename to ...
1337 (print $5): ... here.
1338 (print $10): Rename to ...
1339 (print $6): ... here.
1340 * gdb.fortran/vla.f90: Add pvla initialization.
1342 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1344 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1346 * gdb.fortran/vla-value-sub.exp: Likewise.
1348 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1350 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1352 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1354 * i386-biarch-core.exp: Define corefile using
1355 standard_output_file.
1357 2016-02-12 Yao Qi <yao.qi@linaro.org>
1359 * gdb.arch/arm-single-step-kernel-helper.c: New.
1360 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1362 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1364 * gdb.btrace/tailcall-only.exp: New.
1365 * gdb.btrace/tailcall-only.c: New.
1366 * gdb.btrace/x86_64-tailcall-only.S: New.
1367 * gdb.btrace/i686-tailcall-only.S: New.
1369 2016-02-11 Pedro Alves <palves@redhat.com>
1371 * README (Parallel testing): Add missing double quotes.
1373 2016-02-11 Pedro Alves <palves@redhat.com>
1375 * README (Parallel testing): New section.
1376 (GDB_PARALLEL): Rewrite.
1377 (FORCE_PARALLEL): Document.
1379 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1381 * gdb.trace/tfile-avx.c: New test.
1382 * gdb.trace/tfile-avx.exp: New test.
1384 2016-02-09 Keith Seitz <keiths@redhat.com>
1386 PR breakpoints/19546
1387 * gdb.base/infcall-exec.c: New file.
1388 * gdb.base/infcall-exec2.c: New file.
1389 * gdb.base/infcall-exec.exp: New file.
1391 2016-02-09 Keith Seitz <keiths@redhat.com>
1393 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1394 (toplevel): Call test_bkpt_address.
1396 2016-02-09 Keith Seitz <keiths@redhat.com>
1399 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1400 (toplevel): Call test_bkpt_address.
1402 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1404 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1406 * configure: Regenerate.
1408 2016-02-09 Pedro Alves <palves@redhat.com>
1410 PR breakpoints/19548
1411 * gdb.base/execl-update-breakpoints.c (some_function): New
1414 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1415 Tighten expected GDB output.
1417 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1419 * Makefile.in (ALL_SUBDIRS): Remove.
1420 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1421 (distclean maintainer-clean realclean): Likewise.
1422 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1423 * configure: Regenerate.
1424 * gdb.ada/Makefile.in: Delete.
1425 * gdb.arch/Makefile.in: Likewise.
1426 * gdb.asm/Makefile.in: Likewise.
1427 * gdb.base/Makefile.in: Likewise.
1428 * gdb.btrace/Makefile.in: Likewise.
1429 * gdb.cell/Makefile.in: Likewise.
1430 * gdb.compile/Makefile.in: Likewise.
1431 * gdb.cp/Makefile.in: Likewise.
1432 * gdb.disasm/Makefile.in: Likewise.
1433 * gdb.dlang/Makefile.in: Likewise.
1434 * gdb.dwarf2/Makefile.in: Likewise.
1435 * gdb.fortran/Makefile.in: Likewise.
1436 * gdb.gdb/Makefile.in: Likewise.
1437 * gdb.go/Makefile.in: Likewise.
1438 * gdb.guile/Makefile.in: Likewise.
1439 * gdb.java/Makefile.in: Likewise.
1440 * gdb.linespec/Makefile.in: Likewise.
1441 * gdb.mi/Makefile.in: Likewise.
1442 * gdb.modula2/Makefile.in: Likewise.
1443 * gdb.multi/Makefile.in: Likewise.
1444 * gdb.objc/Makefile.in: Likewise.
1445 * gdb.opencl/Makefile.in: Likewise.
1446 * gdb.opt/Makefile.in: Likewise.
1447 * gdb.pascal/Makefile.in: Likewise.
1448 * gdb.perf/Makefile.in: Likewise.
1449 * gdb.python/Makefile.in: Likewise.
1450 * gdb.reverse/Makefile.in: Likewise.
1451 * gdb.server/Makefile.in: Likewise.
1452 * gdb.stabs/Makefile.in: Likewise.
1453 * gdb.threads/Makefile.in: Likewise.
1454 * gdb.trace/Makefile.in: Likewise.
1455 * gdb.xml/Makefile.in: Likewise.
1456 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1458 (standard_output_file): Remove check for GDB_PARALLEL, always
1459 return path in outputs/$subdir/$testname.
1461 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1463 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1464 (site.exp): Assign abs_srcdir to tcl's srcdir.
1466 2016-02-04 Yao Qi <yao.qi@linaro.org>
1468 * gdb.base/foll-exec-mode.c: Include limits.h.
1469 (main): Add parameters argc and argv. Get directory from
1471 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1473 * gdb.base/foll-exec.c: Include limits.h.
1474 (main): Add parameters argc and argv.
1475 Get directory from argv[0].
1476 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1477 Adjust tests on the number of lines as source code changed.
1478 * gdb.base/foll-vfork-exit.c: Include limits.h.
1479 (main): Add one line of statement before vfork.
1480 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1481 (main): Add parameters argc and argv. Get directory from
1483 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1484 (setup_gdb): Set tbreak to skip some source lines.
1485 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1486 (main): Add parameters argc and argv. Get directory from
1488 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1490 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1491 (main): Add parameters argc and argv. Get directory from
1493 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1496 2016-02-01 Doug Evans <dje@google.com>
1498 * gdb.base/skip.exp: Clean up multiple references to same test name.
1500 2016-02-01 Pedro Alves <palves@redhat.com>
1503 * gdb.threads/forking-threads-plus-breakpoint.exp
1504 (displaced_stepping_supported): New global.
1505 (probe_displaced_stepping_support): New procedure.
1506 (do_test): Add 'displaced' parameter, and use it.
1507 (top level): Check for displaced stepping support. Add displaced
1508 stepping on/off testing axis.
1510 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1512 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1513 pointer. Don't perform further tests on the unassociated pointer
1514 if the first test fails.
1516 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1518 * gdb.base/max-value-size.c: New file.
1519 * gdb.base/max-value-size.exp: New file.
1520 * gdb.base/huge.exp: Disable max-value-size for this test.
1522 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1524 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1526 2016-01-28 Yao Qi <yao.qi@linaro.org>
1528 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1530 2016-01-25 Pedro Alves <palves@redhat.com>
1533 * gdb.base/fork-running-state.c: New file.
1534 * gdb.base/fork-running-state.exp: New file.
1536 2016-01-25 Pedro Alves <palves@redhat.com>
1539 * gdb.base/catch-fork-kill.c: New file.
1540 * gdb.base/catch-fork-kill.exp: New file.
1542 2016-01-25 Pedro Alves <palves@redhat.com>
1544 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1545 Delete, moved to lib/gdb.exp.
1546 * gdb.threads/forking-threads-plus-breakpoint.exp
1547 (foreach_with_prefix): Likewise.
1548 * gdb.threads/process-dies-while-handling-bp.exp
1549 (foreach_with_prefix): Likewise.
1550 * lib/gdb.exp (foreach_with_prefix): New procedure.
1552 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1554 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1555 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1557 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1559 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1562 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1563 Pedro Alves <palves@redhat.com>
1565 Fix testsuite compatibility with Guile.
1566 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1569 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1571 Fix testsuite compatibility with Guile.
1572 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1573 (thread 1): New test for backtrace through signal handler.
1575 2016-01-22 Yao Qi <yao.qi@linaro.org>
1578 * gdb.base/multi-forks.c: Include
1579 ../lib/unbuffer_output.c
1580 (main): Call gdb_unbuffer_output.
1582 2016-01-21 Doug Evans <dje@google.com>
1584 * lib/ada.exp (gdb_compile_ada): Fix typo.
1586 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1588 * gdb.base/break-fun-addr.exp: New file.
1589 * gdb.base/break-fun-addr1.c: New file.
1590 * gdb.base/break-fun-addr2.c: New file.
1592 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1594 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1595 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1598 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1600 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1601 when GDB can not set the vector return value. Add more comments
1604 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1606 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1609 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1611 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1613 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1615 * Makefile.in (check-single): Pass --status to runtest.
1616 (check/%.exp): Likewise.
1618 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1620 * Makefile.in (check-parallel): Propagate return code from make
1623 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1625 * gdb.trace/ftrace.exp: Fix expected message on continue.
1626 * gdb.trace/pending.exp: Fix expected message on continue.
1627 * gdb.trace/trace-break.exp: Fix expected message on continue.
1629 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1631 * lib/gdb.exp (gdb_test): Remove unused global references.
1633 2016-01-18 Pedro Alves <palves@redhat.com>
1635 * gdb.base/async-shell.exp: Adjust expected output.
1636 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1637 * gdb.base/siginfo-thread.exp: Adjust expected output.
1638 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1639 * gdb.java/jnpe.exp: Adjust expected output.
1640 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1641 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1642 * gdb.threads/leader-exit.exp: Adjust expected output.
1643 * gdb.threads/manythreads.exp: Adjust expected output.
1644 * gdb.threads/pthreads.exp: Adjust expected output.
1645 * gdb.threads/schedlock.exp: Adjust expected output.
1646 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1647 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1649 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1651 * gdb.threads/sigthread.exp: Adjust expected output.
1652 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1654 2016-01-18 Yao Qi <yao.qi@linaro.org>
1656 * gdb.guile/scm-section-script.c: Replace @progbits with
1658 * gdb.python/py-section-script.c: Likewise.
1660 2016-01-15 Pedro Alves <palves@redhat.com>
1662 * gdb.multi/tids.exp: Test star wildcard ranges.
1664 2016-01-15 Pedro Alves <palves@redhat.com>
1666 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1667 command from "thread apply" invocation.
1668 (thr_apply_info_thr_invalid): Default the expected output to the
1670 (top level): Add tests that use convenience variables. Add tests
1671 for "thread apply" with a valid TID list, but missing the command.
1673 2016-01-13 Pedro Alves <palves@redhat.com>
1675 * gdb.base/default.exp: Expect $_gthread as well.
1676 * gdb.multi/tids.exp: Test $_gthread.
1677 * gdb.threads/thread-specific.exp: Test $_gthread.
1679 2016-01-13 Pedro Alves <palves@redhat.com>
1681 * gdb.multi/tids.exp: Test "info threads -gid".
1683 2016-01-13 Pedro Alves <palves@redhat.com>
1685 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1687 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1689 2016-01-07 Pedro Alves <palves@redhat.com>
1691 * gdb.base/break.exp: Adjust to output changes.
1692 * gdb.base/hbreak2.exp: Likewise.
1693 * gdb.base/sepdebug.exp: Likewise.
1694 * gdb.base/watch_thread_num.exp: Likewise.
1695 * gdb.linespec/keywords.exp: Likewise.
1696 * gdb.multi/info-threads.exp: Likewise.
1697 * gdb.threads/thread-find.exp: Likewise.
1698 * gdb.multi/tids.c: New file.
1699 * gdb.multi/tids.exp: New file.
1701 2016-01-13 Pedro Alves <palves@redhat.com>
1703 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1705 2016-01-13 Pedro Alves <palves@redhat.com>
1707 * gdb.base/default.exp: Expect $_inferior as well.
1708 * gdb.multi/base.exp: Test $_inferior.
1710 2016-01-13 Pedro Alves <palves@redhat.com>
1712 PR breakpoints/19388
1713 * gdb.base/catch-signal-siginfo-cond.c: New file.
1714 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1716 2016-01-12 Josh Stone <jistone@redhat.com>
1717 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1719 * gdb.base/catch-syscall.c (do_execve): New variable.
1720 (main): Conditionally trigger an execve.
1721 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1722 (test_catch_syscall_execve): New, check entry/return across execve.
1723 (do_syscall_tests): Call test_catch_syscall_execve.
1725 2016-01-12 Pedro Alves <palves@redhat.com>
1727 * gdb.base/random-signal.exp (do_test): New procedure, with body
1728 of testcase moved in.
1730 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1731 Pedro Alves <palves@redhat.com>
1733 * gdb.base/funcargs.exp (finish from indirectly called function):
1734 Reintroduce the case for 'First'.
1736 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1737 Pedro Alves <palves@redhat.com>
1739 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1740 (tcatch_vfork_then_child_follow_exec)
1741 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1744 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1746 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1747 and repeats to unlimited.
1748 * gdb.python/py-value.exp: Likewise.
1749 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1750 and repeats to unlimited.
1752 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1754 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1755 and reordering the functions.
1756 * gdb.multi/hangout.c: Likewise.
1757 * gdb.multi/hello.c: Likewise.
1759 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1761 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1763 (SingleStatisticTestResult.report): Use dict.keys instead of
1766 2016-01-06 Pedro Alves <palves@redhat.com>
1768 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1770 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1772 * gdb.btrace/dlopen.exp: New.
1773 * gdb.btrace/dlopen.c: New.
1774 * gdb.btrace/dlopen-dso.c: New.
1776 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1778 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1779 PATTERN argument is optional.
1781 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1783 * lib/ada.exp (target_compile_ada_from_dir): New function.
1784 (gdb_compile_ada): Reimplement avoiding the use of project files.
1785 * gdb.ada/gnat_ada.gpr: Delete.
1786 * gdb.ada/cond_lang.exp: Adjust test to make path before
1788 * gdb.ada/small_reg_param.exp: Likewise.
1790 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1792 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1794 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1796 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1799 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1801 * gdb.base/break.exp: Remove dead code.
1802 * gdb.base/sepdebug.exp: Likewise.
1804 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1806 * gdb.asm/asm-source.exp: Remove HP-UX references.
1807 * gdb.base/annota1.exp: Likewise.
1808 * gdb.base/annota3.exp: Likewise.
1809 * gdb.base/attach.exp: Likewise.
1810 * gdb.base/bigcore.exp: Likewise.
1811 * gdb.base/break.exp: Likewise.
1812 * gdb.base/call-ar-st.exp: Likewise.
1813 * gdb.base/callfuncs.exp: Likewise.
1814 * gdb.base/catch-fork-static.exp: Likewise.
1815 * gdb.base/display.exp: Likewise.
1816 * gdb.base/foll-exec-mode.exp: Likewise.
1817 * gdb.base/foll-exec.exp: Likewise.
1818 * gdb.base/foll-fork.exp: Likewise.
1819 * gdb.base/foll-vfork.exp: Likewise.
1820 * gdb.base/funcargs.exp: Likewise.
1821 * gdb.base/hbreak2.exp: Likewise.
1822 * gdb.base/inferior-died.exp: Likewise.
1823 * gdb.base/interrupt.exp: Likewise.
1824 * gdb.base/multi-forks.exp: Likewise.
1825 * gdb.base/nodebug.exp: Likewise.
1826 * gdb.base/sepdebug.exp: Likewise.
1827 * gdb.base/solib1.c: Likewise.
1828 * gdb.base/step-test.exp: Likewise.
1829 * gdb.mi/non-stop.c: Likewise.
1830 * gdb.mi/pthreads.c: Likewise.
1831 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1832 * gdb.threads/pthreads.c: Likewise.
1833 * gdb.threads/staticthreads.exp: Likewise.
1834 * lib/future.exp: Likewise.
1835 * lib/gdb.exp: Likewise.
1836 * gdb.base/so-indr-cl.c: Remove.
1837 * gdb.base/so-indr-cl.exp: Likewise.
1838 * gdb.base/solib.c: Likewise.
1839 * gdb.base/solib.exp: Likewise.
1840 * gdb.base/solib2.c: Likewise.
1842 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1844 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1845 * gdb.base/call-ar-st.exp: Likewise.
1846 * gdb.base/callfuncs.exp: Likewise.
1847 * gdb.base/condbreak.exp: Likewise.
1848 * gdb.base/constvars.exp: Likewise.
1849 * gdb.base/hbreak2.exp: Likewise.
1850 * gdb.base/langs.exp: Likewise.
1851 * gdb.base/list.exp: Likewise.
1852 * gdb.base/long_long.exp: Likewise.
1853 * gdb.base/ptype.exp: Likewise.
1854 * gdb.base/scope.exp: Likewise.
1855 * gdb.base/signals.exp: Likewise.
1856 * gdb.base/so-impl-ld.exp: Likewise.
1857 * gdb.base/varargs.exp: Likewise.
1858 * gdb.base/volatile.exp: Likewise.
1859 * gdb.base/whatis.exp: Likewise.
1860 * gdb.cp/cplusfuncs.exp: Likewise.
1861 * gdb.cp/inherit.exp: Likewise.
1862 * gdb.cp/local.exp: Likewise.
1863 * gdb.cp/member-ptr.exp: Likewise.
1864 * gdb.cp/method.exp: Likewise.
1865 * gdb.cp/overload.exp: Likewise.
1866 * gdb.cp/templates.exp: Likewise.
1867 * gdb.stabs/weird.exp: Likewise.
1868 * lib/compiler.c: Likewise.
1869 * lib/compiler.cc: Likewise.
1870 * lib/cp-support.exp: Likewise.
1871 * lib/gdb.exp: Likewise.
1873 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1875 * configure.ac: Remove HP-UX case.
1876 * configure: Regenerate.
1878 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1880 * lib/gdb.exp (gdb_compile): Add function doc.
1882 2015-12-17 Pedro Alves <palves@redhat.com>
1885 * gdb.multi/info-threads.exp: New file.
1887 2015-12-15 Yao Qi <yao.qi@linaro.org>
1889 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1892 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1894 * gdb.base/history-duplicates.exp: Skip if no readline support.
1896 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1898 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1900 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1902 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1904 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1906 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1907 ctrl-C if nointerrupts target property is set.
1908 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1909 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1910 * gdb.base/paginate-bg-execution.exp: Likewise.
1911 * gdb.base/paginate-execution-startup.exp: Likewise.
1912 * gdb.base/random-signal.exp: Likewise.
1913 * gdb.base/range-stepping.exp: Likewise.
1914 * gdb.cp/annota2.exp: Likewise.
1915 * gdb.cp/annota3.exp: Likewise.
1916 * gdb.gdb/selftest.exp: Likewise.
1917 * gdb.threads/continue-pending-status.exp: Likewise.
1918 * gdb.threads/leader-exit.exp: Likewise.
1919 * gdb.threads/manythreads.exp: Likewise.
1920 * gdb.threads/pthreads.exp: Likewise.
1921 * gdb.threads/schedlock.exp: Likewise.
1922 * gdb.threads/sigthread.exp: Likewise.
1924 2015-12-11 Don Breazeal <donb@codesourcery.com>
1926 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1928 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1929 * gdb.base/foll-exec.exp (main): Enable for target remote.
1930 * gdb.base/foll-fork.exp (main): Likewise.
1931 * gdb.base/foll-vfork.exp (main): Likewise.
1932 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1933 (proc continue_to_exit_bp_loc): Use clean_restart.
1934 * gdb.base/pie-execl.exp (main): Disable for target remote.
1935 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1936 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1937 * gdb.threads/execl.exp (main): Likewise.
1938 * gdb.threads/fork-child-threads.exp (main): Likewise.
1939 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1941 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1943 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1944 pid.tid style ptids, instead of just tid.
1945 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1946 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1947 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1948 ptids, instead of just tid.
1950 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1952 * gdb.base/list.exp (test_list_forward): Add end of file error
1954 (test_repeat_list_command): Add end of file error test.
1955 (test_list_backwards): Add beginning of file error test.
1957 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1959 * gdb.base/list.exp (test_list_invalid_args): New function,
1960 defined, and called.
1962 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1964 * gdb.base/list.exp (test_list): Make test names unique.
1966 2015-12-11 Yao Qi <yao.qi@linaro.org>
1968 * gdb.base/coremaker2.c: Remove.
1970 2015-12-10 Pedro Alves <palves@redhat.com>
1972 * gdb.multi/base.exp: Remove stale "spaces" references.
1974 2015-12-10 Pedro Alves <palves@redhat.com>
1976 * gdb.multi/base.exp: Don't use nowarnings.
1977 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1978 * gdb.multi/hangout.c: Include stdio.h.
1979 * gdb.multi/hello.c: Include stdlib.h.
1980 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1981 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1982 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1984 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1986 * gdb.dwarf2/dw2-ranges-base.c: New file.
1987 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1988 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1989 support additional line table, and debug ranges generation.
1990 (Dwarf::ranges): New function, generate .debug_ranges.
1991 (Dwarf::lines): Support generating simple line table programs.
1992 (Dwarf::assemble): Initialise new namespace variables.
1994 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1996 * gdb.base/async.exp (proc test_background): Add case for
1997 asynchronous execution not supported.
1999 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
2001 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
2002 format and change test names to make them unique.
2004 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
2005 Pedro Alves <pedro@redhat.com>
2008 Add checking of floatformats setup on x86_64 hosts.
2009 * gdb.arch/i386-float.S (main): Load bigval and smallval.
2010 (smallval, bigval): New labels/constants.
2011 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
2012 float" after loading bigval and smallval.
2014 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
2016 * gdb.ada/fun_overload_menu.exp: New testcase.
2017 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
2019 2015-12-04 Josh Stone <jistone@redhat.com>
2021 * gdb.base/catch-fork-static.exp: New.
2023 2015-12-03 Yao Qi <yao.qi@linaro.org>
2025 * gdb.base/sizeof.c: Don't include stdio.h and
2026 ../lib/unbuffer_output.c.
2027 (main): New variable 'size' and 'value'. Remove printf and
2028 gdb_unbuffer_output. Assign return value to size and value.
2029 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
2031 (check_sizeof): Check the result by printing variable 'size'.
2032 (check_valueof): Check the result by printing variable 'value'.
2034 2015-12-01 Yao Qi <yao.qi@linaro.org>
2036 * gdb.base/disp-step-syscall.exp: Define syscall instruction
2037 for aarch64*-*-linux* target.
2039 2015-11-30 Pedro Alves <palves@redhat.com>
2041 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
2043 2015-11-30 Pedro Alves <palves@redhat.com>
2045 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2046 Handle non-stop mode vCont replies.
2048 2015-11-30 Pedro Alves <palves@redhat.com>
2050 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
2051 prepare_for_testing. Start gdb with "set non-stop on" appended to
2052 GDBFLAGS. Lax expected stop output.
2054 2015-11-27 Yao Qi <yao.qi@linaro.org>
2056 * gdb.arch/arm-neon.exp: New.
2057 * gdb.arch/arm-neon.c: New.
2059 2015-11-27 Yao Qi <yao.qi@linaro.org>
2061 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
2063 2015-11-27 Yao Qi <yao.qi@linaro.org>
2065 * gdb.cp/annota2.exp: Allow multiple occurrences of the
2066 frames-invalid annotation.
2068 2015-11-27 Yao Qi <yao.qi@linaro.org>
2070 * gdb.cp/annota2.exp: Use ${frames_invalid}.
2072 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
2074 * gdb.threads/names.exp: New file.
2075 * gdb.threads/names.c: New file.
2076 * README: Mention gdb,no_thread_names.
2078 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
2081 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
2084 2015-11-24 Pedro Alves <palves@redhat.com>
2087 * gdb.base/display.exp: Expect displays to be sorted in ascending
2088 order. Use multi_line.
2089 * gdb.base/solib-display.exp: Likewise.
2091 2015-11-24 Pedro Alves <palves@redhat.com>
2094 * gdb.base/display.exp: Expect displays to be sorted in ascending
2095 order. Use multi_line.
2096 * gdb.base/solib-display.exp: Likewise.
2098 2015-11-24 Pedro Alves <palves@redhat.com>
2101 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2102 threads in ascending order.
2103 * gdb.base/foll-fork.exp: Likewise.
2104 * gdb.base/foll-vfork.exp: Likewise.
2105 * gdb.base/multi-forks.exp: Likewise.
2106 * gdb.mi/mi-nonstop.exp: Likewise.
2107 * gdb.mi/mi-nsintrall.exp: Likewise.
2108 * gdb.multi/base.exp: Likewise.
2109 * gdb.multi/multi-arch.exp: Likewise.
2110 * gdb.python/py-inferior.exp: Likewise.
2111 * gdb.threads/break-while-running.exp: Likewise.
2112 * gdb.threads/execl.exp: Likewise.
2113 * gdb.threads/gcore-thread.exp: Likewise.
2114 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2115 * gdb.threads/kill.exp: Likewise.
2116 * gdb.threads/linux-dp.exp: Likewise.
2117 * gdb.threads/multiple-step-overs.exp: Likewise.
2118 * gdb.threads/next-bp-other-thread.exp: Likewise.
2119 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2120 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2121 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2122 * gdb.threads/thread-find.exp: Likewise.
2123 * gdb.threads/tls.exp: Likewise.
2124 * lib/mi-support.exp (mi_reverse_list): Delete.
2125 (mi_check_thread_states): No longer reverse list.
2127 2015-11-24 Pedro Alves <palves@redhat.com>
2129 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2132 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2134 * gdb.trace/actions.c: Include trace-common.h.
2135 (main): Add a location for a fast tracepoint.
2136 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2137 the normal tracepoints.
2138 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2140 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2142 * save-trace.exp: Factor out code to these...
2143 (gdb_save_tracepoints): New.
2144 (gdb_load_tracepoints): New.
2145 (do_save_load_test): New.
2147 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2149 * gdb.base/asmlabel.exp: New test.
2150 * gdb.base/asmlabel.c: New test case.
2152 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2154 * gdb.base/wrong_frame_bt_full-main.c: New file.
2155 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2156 * gdb.base/wrong_frame_bt_full.exp: New file.
2158 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2160 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2162 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2164 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2165 pstate register when comparing registers values in
2166 sparc64-*-linux-gnu targets to avoid spurious differences.
2168 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2170 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2172 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2174 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2175 as type argument to gdb_compile.
2176 * gdb.base/nested-subp2.exp: Likewise.
2177 * gdb.base/nested-subp3.exp: Likewise.
2179 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2181 * lib/dwarf.exp (_note): Fix left shift of negative value.
2182 * gdb.trace/trace-condition.exp: Likewise.
2184 2015-11-13 Yao Qi <yao.qi@linaro.org>
2186 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2187 comments about d10v.
2188 (test_scalar_returns): Likewise.
2189 * gdb.base/d10v.ld: Remove.
2190 * gdb.base/overlays.exp: Remove the target triplet checking for
2192 * gdb.base/structs.exp (test_struct_returns): Remove the
2193 comments about d10v.
2194 (test_struct_calls): Likewise.
2196 2015-11-13 Yao Qi <yao.qi@linaro.org>
2198 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2199 * gdb.base/gnu_vector.c: Don't include stdio.h.
2200 (main): Don't print res and call add_some_intvecs.
2202 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2204 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2207 (func4): Use FAST_TRACEPOINT_LABEL.
2208 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2211 (thread_function): Use FAST_TRACEPOINT_LABEL.
2212 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2214 (marker): Use FAST_TRACEPOINT_LABEL.
2215 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2216 (pendfunc1): Remove.
2217 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2218 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2220 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2221 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2224 (marker): Use FAST_TRACEPOINT_LABEL.
2225 * gdb.trace/trace-common.h: New header.
2226 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2229 (marker): Use FAST_TRACEPOINT_LABEL.
2230 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2232 (thread_function): Use FAST_TRACEPOINT_LABEL.
2234 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2236 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2238 * gdb.trace/change-loc.exp: Use global pcreg definition.
2239 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2240 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2242 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2243 * gdb.trace/pending.exp: Likewise.
2244 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2245 * gdb.trace/trace-break.exp: Likewise.
2246 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2248 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2249 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2251 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2253 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2255 * gdb.ada/fin_fun_out: New testcase.
2257 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2259 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2260 value associated with DW_AT_byte_size.
2261 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2262 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2265 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2267 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2268 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2270 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2271 gdb.dwarf2/dw2-canonicalize-type.exp,
2272 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2273 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2274 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2275 provided by gdb_target_symbol_prefix_flags_asm.
2276 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2277 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2278 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2279 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2280 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2281 macros where needed). Use this macro for symbols which require
2282 the prefix provided by SYMBOL_PREFIX.
2284 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2286 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2288 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2289 representing expressions, of more than one list element.
2290 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2291 to prepend linker symbol prefix to f.
2292 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2293 table_1 and table_2.
2294 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2295 Likewise, for f and g.
2296 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2298 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2300 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2301 table_1_ptr and table_2_ptr.
2303 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2304 Joel Brobecker <brobecker@adacore.com>
2306 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2308 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2310 * gdb.reverse/s390-mvcle.c: New test.
2311 * gdb.reverse/s390-mvcle.exp: New file.
2312 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2314 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2316 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2318 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2320 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2322 * gdb.reverse/getresuid-reverse.exp: Likewise.
2323 * gdb.reverse/pipe-reverse.exp: Likewise.
2324 * gdb.reverse/readv-reverse.exp: Likewise.
2325 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2326 * gdb.reverse/time-reverse.exp: Likewise.
2327 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2329 2015-10-30 Yao Qi <yao.qi@linaro.org>
2331 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2332 (empty_cycle): Remove.
2333 (main): Don't call empty_cycle. Don't use watch_count_done.
2334 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2335 empty_cycle. Rewrite the code counting HW watchpoints.
2337 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2339 * gdb.reverse/fstatat-reverse.c: New test.
2340 * gdb.reverse/fstatat-reverse.exp: New file.
2341 * gdb.reverse/getresuid-reverse.c: New test.
2342 * gdb.reverse/getresuid-reverse.exp: New file.
2343 * gdb.reverse/pipe-reverse.c: New test.
2344 * gdb.reverse/pipe-reverse.exp: New file.
2345 * gdb.reverse/readv-reverse.c: New test.
2346 * gdb.reverse/readv-reverse.exp: New file.
2347 * gdb.reverse/recvmsg-reverse.c: New test.
2348 * gdb.reverse/recvmsg-reverse.exp: New file.
2349 * gdb.reverse/time-reverse.c: New test.
2350 * gdb.reverse/time-reverse.exp: New file.
2351 * gdb.reverse/waitpid-reverse.c: New test.
2352 * gdb.reverse/waitpid-reverse.exp: New file.
2354 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2356 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2358 2015-10-26 Doug Evans <dje@google.com>
2361 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2362 * gdb.dwarf2/bad-regnum.c: New file.
2363 * gdb.dwarf2/bad-regnum.exp: New file.
2365 2015-10-26 Doug Evans <dje@google.com>
2368 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2371 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2373 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2374 for a change by "Mention language in compile error message".
2376 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2379 * gdb.python/py-type.c (C::a_method): New.
2380 (C::a_const_method): New.
2381 (C::a_static_method): New.
2383 * gdb.python/py-type.exp (test_fields): Test getting fields
2384 from function and method.
2386 2015-10-21 Keven Boell <keven.boell@intel.com>
2388 * gdb.fortran/vla-alloc-assoc.exp: New file.
2389 * gdb.fortran/vla-datatypes.exp: New file.
2390 * gdb.fortran/vla-datatypes.f90: New file.
2391 * gdb.fortran/vla-history.exp: New file.
2392 * gdb.fortran/vla-ptype-sub.exp: New file.
2393 * gdb.fortran/vla-ptype.exp: New file.
2394 * gdb.fortran/vla-sizeof.exp: New file.
2395 * gdb.fortran/vla-sub.f90: New file.
2396 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2397 * gdb.fortran/vla-value-sub-finish.exp: New file.
2398 * gdb.fortran/vla-value-sub.exp: New file.
2399 * gdb.fortran/vla-value.exp: New file.
2400 * gdb.fortran/vla-ptr-info.exp: New file.
2401 * gdb.mi/mi-vla-fortran.exp: New file.
2402 * gdb.mi/vla.f90: New file.
2404 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2406 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2407 of hardwired timeout value.
2409 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2410 Pedro Alves <palves@redhat.com>
2412 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2413 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2415 2015-10-19 Josh Stone <jistone@redhat.com>
2417 * gdb.base/catch-syscall.c: Include <sched.h>.
2418 (unknown_syscall): New variable.
2419 (main): Trigger a vfork and an unknown syscall.
2420 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2421 (unknown_syscall_number): Likewise.
2422 (check_call_to_syscall): Accept an optional syscall pattern.
2423 (check_return_from_syscall): Likewise.
2424 (check_continue): Likewise.
2425 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2426 (test_catch_syscall_skipping_return): New test toggling off 'catch
2427 syscall' to step over the syscall return, then toggling back on.
2428 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2429 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2430 (do_syscall_tests): Call test_catch_syscall_without_args and
2431 test_catch_syscall_mid_vfork.
2432 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2433 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2435 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2437 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2438 print g_vE): Add new pass patterns.
2439 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2440 print various symbol names for vptr fields.
2442 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2444 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2447 2015-10-12 Yao Qi <yao.qi@linaro.org>
2449 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2451 2015-10-12 Yao Qi <yao.qi@linaro.org>
2453 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2454 is aarch64*-*-linux*.
2456 2015-10-12 Yao Qi <yao.qi@linaro.org>
2458 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2459 (can_relocate_bcond_true): ... it.
2460 (can_relocate_bcond_false): New function.
2462 (can_relocate_bl): Likewise.
2463 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2466 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2468 * gdb.base/nested-addr.c: New file.
2469 * gdb.base/nested-addr.exp: New testcase.
2471 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2473 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2474 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2475 its output. Ignore the output of "record goto begin" and instead
2476 check that GDB is replaying.
2478 2015-10-09 Pedro Alves <palves@redhat.com>
2480 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2481 (top level): Use it in the run with no args test.
2483 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2485 * gdb.dlang/properties.exp: New file.
2487 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2489 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2490 whether or not address 0x1000 is mapped on the target.
2492 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2494 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2497 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2499 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2500 instruction-history test.
2502 2015-09-28 Doug Evans <dje@google.com>
2504 * gdb.base/gcore.c (array_func): Add reference to static_array.
2506 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2508 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2511 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2513 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2514 short or char as base type.
2516 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2518 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2519 to allow any size enum.
2521 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2523 * gdb.ada/array_ptr_renaming.exp: New testcase.
2524 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2525 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2527 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2529 * gdb.trace/ftrace-lock.c: New file.
2530 * gdb.trace/ftrace-lock.exp: New file.
2532 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2534 * gdb.arch/insn-reloc.c: New file.
2535 * gdb.arch/ftrace-insn-reloc.exp: New file.
2537 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2539 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2541 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2542 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2543 * gdb.trace/range-stepping.c: Likewise.
2544 * gdb.trace/trace-break.c: Likewise.
2545 * gdb.trace/trace-mt.c (thread_function): Likewise.
2546 * gdb.trace/ftrace.c (marker): Likewise.
2547 * gdb.trace/trace-condition.c (marker): Likewise.
2548 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2549 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2552 2015-09-18 Doug Evans <xdje42@gmail.com>
2554 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2555 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2557 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2559 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2562 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2564 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2565 the pending breakpoint. Remove timeout override for "Run till
2566 MI pending breakpoint on pendfunc3 on thread 2" test.
2568 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2570 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2573 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2575 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2576 in breakpoint filename pattern.
2578 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2580 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2582 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2584 * gdb.linespec/explicit.exp: Check for readline support for
2585 tab-completion tests. Fix obvious typo.
2587 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2589 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2592 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2594 * gdb.btrace/non-stop.c: New.
2595 * gdb.btrace/non-stop.exp: New.
2597 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2598 Yao Qi <yao.qi@linaro.org>
2600 * gdb.trace/trace-condition.c: New file.
2601 * gdb.trace/trace-condition.exp: New file.
2603 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2605 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2606 for testing bytecode compilation.
2608 2015-09-16 Pedro Alves <palves@redhat.com>
2609 Sandra Loosemore <sandra@codesourcery.com>
2611 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2612 (SECONDS): Redefine.
2613 (main): Call pthread_kill and alarm early.
2614 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2616 (test): If the target can't hardware step and doesn't support
2617 displaced stepping, increase the timeout.
2619 2015-09-16 Pedro Alves <palves@redhat.com>
2621 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2622 (enable_debug): New procedures.
2623 (test): Use them. Bail out if waiting for threads fails.
2624 (top level): Bail out if a test fails.
2626 2015-09-16 Yao Qi <yao.qi@linaro.org>
2628 * gdb.asm/asm-source.exp: Set asm-arch for
2629 aarch64*-*-* target.
2630 * gdb.asm/aarch64.inc: New file.
2632 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2634 * gdb.ada/array_of_variable_length.exp: New testcase.
2635 * gdb.ada/array_of_variable_length/foo.adb: New file.
2636 * gdb.ada/array_of_variable_length/pck.adb: New file.
2637 * gdb.ada/array_of_variable_length/pck.ads: New file.
2639 2015-09-15 Doug Evans <dje@google.com>
2641 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2642 of function static local variable.
2644 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2646 * gdb.threads/tls-so_extern.exp: New test file.
2647 * gdb.threads/tls-so_extern.c: New test file.
2648 * gdb.threads/tls-so_extern_main.c: New test file.
2650 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2652 * gdb.opt/solib-intra-step-lib.c: New file.
2653 * gdb.opt/solib-intra-step-main.c: New file.
2654 * gdb.opt/solib-intra-step.exp: New file.
2656 2015-09-15 Pedro Alves <palves@redhat.com>
2658 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2659 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2661 2015-09-14 Pedro Alves <palves@redhat.com>
2663 * gdb.base/hook-stop-continue.c: Delete.
2664 * gdb.base/hook-stop-continue.exp: Delete.
2665 * gdb.base/hook-stop-frame.c: Delete.
2666 * gdb.base/hook-stop-frame.exp: Delete.
2667 * gdb.base/hook-stop.c: New file.
2668 * gdb.base/hook-stop.exp: New file.
2670 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2672 * gdb.ada/access_to_packed_array.exp: New testcase.
2673 * gdb.ada/access_to_packed_array/foo.adb: New file.
2674 * gdb.ada/access_to_packed_array/pack.adb: New file.
2675 * gdb.ada/access_to_packed_array/pack.ads: New file.
2677 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2679 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2682 2015-09-11 Don Breazeal <donb@codesourcery.com>
2684 * gdb.base/foll-exec.c: Add copyright header. Fix
2686 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2687 (do_exec_tests): Use clean_restart in place of zap_session,
2688 and for test initialization. Fix formatting issues. Use
2689 fail in place of perror.
2690 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2691 an expect statement to match an expression with output from
2692 the program under debug.
2693 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2694 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2695 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2696 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2697 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2699 2015-09-09 Doug Evans <dje@google.com>
2701 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2703 2015-09-09 Doug Evans <dje@google.com>
2705 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2707 2015-09-09 Doug Evans <dje@google.com>
2709 * gdb.base/savedregs.exp: Fix typo.
2711 2015-09-09 Pedro Alves <palves@redhat.com>
2713 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2715 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2717 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2718 command actually switches threads. Give up on remaining
2719 tests if target fails to stop at breakpoint.
2721 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2723 * gdb.ada/funcall_char.exp: New testcase.
2724 * gdb.ada/funcall_char/foo.adb: New file.
2726 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2728 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2729 expected outputs. Add two testcases for completing ambiguous
2731 * gdb.ada/complete/aux_pck.adb: New file.
2732 * gdb.ada/complete/aux_pck.ads: New file.
2733 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2734 Ambiguous_Func functions.
2735 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2736 * gdb.ada/complete/pck.adb: Likewise.
2738 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2740 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2741 failures to run the test program under GDB.
2743 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2745 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2748 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2750 * gdb.base/run-after-attach.exp: New test file.
2751 * gdb.base/run-after-attach.c: New test file.
2753 2015-08-26 Don Breazeal <donb@codesourcery.com>
2755 * gdb.base/foll-exec-2.c: New test program.
2756 * gdb.base/foll-exec-2.exp: New test.
2758 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2760 * gdb.base/nested-subp1.exp: New file.
2761 * gdb.base/nested-subp1.c: New file.
2762 * gdb.base/nested-subp2.exp: New file.
2763 * gdb.base/nested-subp2.c: New file.
2764 * gdb.base/nested-subp3.exp: New file.
2765 * gdb.base/nested-subp3.c: New file.
2767 2015-08-24 Pedro Alves <palves@redhat.com>
2769 * gdb.server/connect-without-multi-process.c: New file.
2770 * gdb.server/connect-without-multi-process.exp: New file.
2772 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2774 * gdb.opt/inline-markers.c: Make z int.
2776 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2778 * gdb.opt/inline-markers.c: Make z volatile.
2780 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2782 * gdb.opt/inline-bt.c: New volatile global z.
2783 * gdb.opt/inline-cmds.c: Likewise.
2784 * gdb.opt/inline-locals.c: Likewise.
2785 * gdb.opt/inline-markers.c: New extern global z.
2787 (inline_fn): Likewise.
2789 2015-08-24 Pedro Alves <palves@redhat.com>
2791 * config/m32r-stub.exp: Remove file.
2792 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2793 * gdb.base/call-rt-st.exp: Likewise.
2794 * gdb.base/call-strs.exp: Likewise.
2795 * gdb.base/default.exp: Remove references to h8300-*-hms and
2797 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2799 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2801 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2802 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2803 and "return" use KFAIL when GDB can not read/write the vector
2806 2015-08-21 Gary Benson <gbenson@redhat.com>
2808 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2810 2015-08-20 Pedro Alves <palves@redhat.com>
2812 * gdb.server/solib-list.exp: No longer expect an interior stop in
2815 2015-08-20 Pedro Alves <palves@redhat.com>
2817 * gdb.server/connect-stopped-target.c: New file.
2818 * gdb.server/connect-stopped-target.exp: New file.
2820 2015-08-20 Pedro Alves <palves@redhat.com>
2822 * gdb.dwarf2/comp-unit-lang.exp: New file.
2823 * gdb.dwarf2/comp-unit-lang.c: New file.
2825 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2827 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2828 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2830 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2832 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2833 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2835 2015-08-18 Doug Evans <dje@google.com>
2836 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2838 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2839 skip_python_tests. New arg prompt_regexp.
2840 (skip_python_tests): New function.
2841 * lib/mi-support.exp (mi_skip_python_tests): New function.
2842 * gdb.python/py-mi-objfile-gdb.py: New file.
2843 * gdb.python/py-mi-objfile.c: New file.
2844 * gdb.python/py-mi-objfile.exp: New file.
2846 2015-08-17 Keith Seitz <keiths@redhat.com>
2848 * gdb.linespec/explicit.exp: Move strace test from here ...
2849 * gdb.trace/strace.exp: ... to here.
2851 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2853 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2854 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2856 2015-08-14 Doug Evans <xdje42@gmail.com>
2858 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2859 inferior before selecting a new file.
2861 2015-08-14 Doug Evans <xdje42@gmail.com>
2863 * gdb.mi/mi-disassemble.exp: Update.
2864 * gdb.base/disasm-optim.S: New file.
2865 * gdb.base/disasm-optim.c: New file.
2866 * gdb.base/disasm-optim.h: New file.
2867 * gdb.base/disasm-optim.exp: New file.
2869 2015-08-14 Keith Seitz <keiths@redhat.com>
2871 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2874 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2876 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2878 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2880 * gdb.ada/fun_renaming.exp: New testcase.
2881 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2882 * gdb.ada/fun_renaming/pack.adb: New file.
2883 * gdb.ada/fun_renaming/pack.ads: New file.
2885 2015-08-12 Keith Seitz <keiths@redhat.com>
2887 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2888 gdb_get_line_number.
2890 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2892 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2893 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2894 gdb.base/dso2dso.exp: New files.
2896 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2897 Pedro Alves <palves@redhat.com>
2898 Keith Seitz <keiths@redhat.com>
2900 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2903 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2905 * gdb.base/gdbhistsize-history.exp
2906 (test_histsize_history_setting): Use save_vars.
2907 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2909 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2910 * gdb.base/readline.exp: Use save_vars.
2912 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2914 * lib/gdb.exp (save_vars): New proc.
2916 2015-08-11 Keith Seitz <keiths@redhat.com>
2918 * gdb.base/help.exp: Update help_breakpoint_text.
2920 2015-08-11 Keith Seitz <keiths@redhat.com>
2922 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2923 (at toplevel): Call test_explicit_breakpoints.
2924 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2926 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2927 breakpoint conditions, "-cond".
2929 2015-08-11 Keith Seitz <keiths@redhat.com>
2931 * gdb.linespec/3explicit.c: New file.
2932 * gdb.linespec/cpexplicit.cc: New file.
2933 * gdb.linespec/cpexplicit.exp: New file.
2934 * gdb.linespec/explicit.c: New file.
2935 * gdb.linespec/explicit.exp: New file.
2936 * gdb.linespec/explicit2.c: New file.
2937 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2938 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2939 before using in the matching pattern.
2940 Clarify that `prefix' is a regular expression.
2942 2015-08-11 Keith Seitz <keiths@redhat.com>
2944 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2946 Add tests for missing ",FMT" and ",".
2948 2015-08-10 Doug Evans <dje@google.com>
2949 Keith Seitz <keiths@redhat.com>
2952 * gdb.base/completion.exp: Add location completer tests.
2954 2015-08-07 Pedro Alves <palves@redhat.com>
2956 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2958 (top level): Run do_test with and without displaced stepping.
2960 2015-08-07 Pedro Alves <palves@redhat.com>
2962 * gdb.base/valgrind-disp-step.c: New file.
2963 * gdb.base/valgrind-disp-step.exp: New file.
2965 2015-08-07 Pedro Alves <palves@redhat.com>
2967 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2969 (main): Add alarm. Run an infinite loop instead of calling
2971 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2973 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2975 (main): Add alarm. Run an infinite loop instead of calling
2977 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2980 2015-08-07 Pedro Alves <palves@redhat.com>
2982 * gdb.base/checkpoint-ns.exp: New file.
2983 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2986 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2988 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2989 * gdb.btrace/instruction_history.exp: Update.
2990 * gdb.btrace/tsx.exp: New.
2991 * gdb.btrace/tsx.c: New.
2993 2015-08-06 Pedro Alves <palves@redhat.com>
2995 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2997 * gdb.reverse/until-precsave.exp: Bump timeouts.
2999 2015-08-06 Pedro Alves <palves@redhat.com>
3001 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
3003 2015-08-06 Pedro Alves <palves@redhat.com>
3006 * gdb.threads/process-dies-while-handling-bp.c: New file.
3007 * gdb.threads/process-dies-while-handling-bp.exp: New file.
3009 2015-08-06 Pedro Alves <palves@redhat.com>
3011 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
3012 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
3014 2015-08-05 Pedro Alves <palves@redhat.com>
3016 * gdb.threads/next-while-other-thread-longjmps.c: New file.
3017 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
3019 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
3021 * gdb.base/bp-permanent.exp: Report test as unsupported if
3022 the target cannot stop at the permanent breakpoint.
3024 2015-08-03 Doug Evans <dje@google.com>
3026 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
3029 2015-08-03 Doug Evans <dje@google.com>
3031 * Makefile.in (workers/%.worker, build-perf): New rule.
3032 (GDB_PERFTEST_MODE): New variable.
3033 (check-perf): Use it.
3034 (clean): Clean up gdb.perf parallel build subdirs.
3035 * lib/build-piece.exp: New file.
3036 * lib/gdb.exp (make_gdb_parallel_path): New function
3037 (standard_output_file, standard_temp_file): Call it.
3038 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3040 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
3042 2015-08-03 Doug Evans <dje@google.com>
3044 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
3045 (LOG_FILE_NAME): New global.
3046 (TextReporter.__init__): Initialize self.txt_sum.
3047 (TextReporter.report): Add support for multiple data-points.
3048 Move report to perftest.sum, put raw data in perftest.log.
3049 (TextReporter.start): Open sum and log files.
3050 (TextReporter.end): Close sum and log files.
3051 * gdb.perf/lib/perftest/testresult.py
3052 (SingleStatisticTestResult.record): Handle multiple data-points.
3054 2015-07-31 Pedro Alves <palves@redhat.com>
3056 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
3057 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3058 kill_wait_spawned_process instead of explicit "kill -9".
3059 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
3060 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3061 kill_wait_spawned_process.
3062 * gdb.base/attach-twice.exp: Likewise.
3063 * gdb.base/attach.exp: Likewise.
3064 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
3066 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
3067 returning a spawn id instead of a pid. Use spawn_id_get_pid and
3068 kill_wait_spawned_process.
3069 * gdb.base/valgrind-infcall.exp: Likewise.
3070 * gdb.multi/multi-attach.exp: Likewise.
3071 * gdb.python/py-prompt.exp: Likewise.
3072 * gdb.python/py-sync-interp.exp: Likewise.
3073 * gdb.server/ext-attach.exp: Likewise.
3074 * gdb.threads/attach-into-signal.exp (corefunc): Use
3075 spawn_wait_for_attach, spawn_id_get_pid and
3076 kill_wait_spawned_process.
3077 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
3078 spawn_wait_for_attach returning a spawn id instead of a pid. Use
3079 spawn_id_get_pid and kill_wait_spawned_process.
3080 * gdb.threads/attach-stopped.exp (corefunc): Use
3081 spawn_wait_for_attach, spawn_id_get_pid and
3082 kill_wait_spawned_process.
3083 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
3084 Use spawn_id_get_pid. Wait for spawn id after eof. Use
3085 kill_wait_spawned_process instead of explicit "kill -9".
3086 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
3087 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3088 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3089 processes. Don't map cygwin/windows pids here. Now returns a
3092 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3094 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3095 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3098 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3100 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3102 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3105 2014-05-21 Mark Wielaard <mjw@redhat.com>
3107 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3109 2015-07-30 Pedro Alves <palves@redhat.com>
3111 * linux-low.c (handle_extended_wait): Set the child's last
3112 reported status to TARGET_WAITKIND_STOPPED.
3114 2015-07-30 Pedro Alves <palves@redhat.com>
3117 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3118 only shows inferior 1.
3120 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3121 Pedro Alves <palves@redhat.com>
3124 * gdb.threads/fork-plus-threads.c: New file.
3125 * gdb.threads/fork-plus-threads.exp: New file.
3127 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3129 * gdb.base/batch-preserve-term-settings.exp
3130 (test_terminal_settings_preserved_after_cli_exit): Use
3133 2015-07-29 Pedro Alves <palves@redhat.com>
3134 Don Breazeal <donb@codesourcery.com>
3136 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3137 output from both inferior_spawn_id and gdb_spawn_id.
3139 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3141 * gdb.threads/attach-into-signal.exp (corefunc): Use
3142 with_test_prefix on nested loops, uniquefying the test messages.
3144 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3146 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3149 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3151 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3153 (test_terminal_settings_preserved_after_sigterm): New test.
3155 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3157 * gdb.base/batch-preserve-term-settings.exp
3158 (test_terminal_settings_preserved_after_cli_exit): New test.
3160 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3162 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3163 manipulation of saved_gdbflags.
3164 (test_terminal_settings_preserved): Remove global declaration of
3165 the unused variable pagination_prompt. Remove manipulation of
3166 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3169 2015-07-29 Pedro Alves <palves@redhat.com>
3171 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3173 2015-07-29 Pedro Alves <palves@redhat.com>
3175 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3178 2015-07-29 Pedro Alves <palves@redhat.com>
3180 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3181 (main): Call gdb_unbuffer_output.
3182 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3183 (main): Call gdb_unbuffer_output.
3184 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3185 (main): Call gdb_unbuffer_output.
3186 * gdb.base/call-strs.exp: Adjust to step over the
3187 gdb_unbuffer_output call.
3188 * gdb.base/catch-gdb-caused-signals.c: Include
3189 "../lib/unbuffer_output.c".
3190 (main): Call gdb_unbuffer_output.
3191 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3192 (main): Call gdb_unbuffer_output.
3193 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3194 (main): Call gdb_unbuffer_output.
3195 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3196 (main): Call gdb_unbuffer_output.
3197 * gdb.base/shlib-call.exp: Adjust to step over the
3198 gdb_unbuffer_output call.
3199 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3200 (main): Call gdb_unbuffer_output.
3201 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3202 (main): Call gdb_unbuffer_output.
3203 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3204 (main): Rename to ...
3206 (main): Reimplement.
3207 * gdb.base/varargs.exp: Run to test instead of to main.
3208 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3209 (main): Call gdb_unbuffer_output.
3211 2015-07-29 Pedro Alves <palves@redhat.com>
3213 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3214 factore out from mi_continue_dprintf. For call-style dprintfs,
3215 expect dprintf output out of $inferior_spawn_id.
3216 (mi_continue_dprintf): Use mi_expect_dprintf.
3217 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3218 (main): Call gdb_unbuffer_output.
3220 2015-07-29 Pedro Alves <palves@redhat.com>
3222 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3223 (default_mi_gdb_start): Set inferior_spawn_id instead of
3224 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3226 (mi_gdb_test): Always expect inferior output from both
3227 $inferior_spawn_id and $gdb_spawn_id.
3229 2015-07-29 Pedro Alves <palves@redhat.com>
3231 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3232 send_inferior and $inferior_spawn_id.
3234 2015-07-29 Pedro Alves <palves@redhat.com>
3236 * gdb.gdb/complaints.exp (test_initial_complaints)
3237 (test_serial_complaints, test_short_complaints): Use
3239 (test_empty_complaint): Handle $inferior_spawn_id !=
3242 2015-07-29 Pedro Alves <palves@redhat.com>
3244 * gdb.base/varargs.exp: Use gdb_test_stdio.
3246 2015-07-29 Pedro Alves <palves@redhat.com>
3248 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3250 2015-07-29 Pedro Alves <palves@redhat.com>
3252 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3254 2015-07-29 Pedro Alves <palves@redhat.com>
3256 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3257 parameter into two new parameters, "inf_result" and "gdb_result".
3258 Expect inferior output and gdb output from $inferior_spawn_id and
3259 $gdb_spawn_id, respectively. Adjust all callers.
3261 2015-07-29 Pedro Alves <palves@redhat.com>
3263 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3264 of gdb_test_sequence.
3266 2015-07-29 Pedro Alves <palves@redhat.com>
3268 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3269 (saw_spurious_output): Expect inferior output from
3270 $inferior_spawn_id. Use gdb_test_stdio.
3272 2015-07-29 Pedro Alves <palves@redhat.com>
3274 * gdb.base/dprintf.exp: Use standard_testfile. Change
3275 prepare_for_testing call.
3276 (srcfile): Don't set.
3277 (restart): New procedure.
3278 (test_dprintf): New procecure, use to continue over dprintfs.
3279 (test_call, test_agent): New procedures, tests moved here.
3280 Restart gdb and recreate dprintfs. Adjust expected output.
3282 2015-07-29 Pedro Alves <palves@redhat.com>
3284 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3286 2015-07-29 Pedro Alves <palves@redhat.com>
3288 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3290 2015-07-29 Pedro Alves <palves@redhat.com>
3292 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3295 2015-07-29 Pedro Alves <palves@redhat.com>
3297 * lib/gdb.exp (gdb_test_stdio): New procedure.
3299 2015-07-29 Pedro Alves <palves@redhat.com>
3301 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3303 2015-07-29 Pedro Alves <palves@redhat.com>
3305 * gdb.base/call-signal-resume.exp: Remove check for
3306 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3307 * gdb.base/unwindonsignal.exp: Likewise.
3308 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3309 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3311 2015-07-29 Pedro Alves <palves@redhat.com>
3313 * gdb.base/siginfo-addr.c (pass): New function.
3314 (handler): Call it iff si_addr is correct.
3315 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3316 Set a breakpoint at "pass" and continue to it.
3318 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3320 * gdb.python/py-objfile.exp: Make some tests have unique names.
3321 * gdb.python/py-pp-registration.exp: Likewise.
3323 2015-07-28 Pedro Alves <palves@redhat.com>
3325 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3327 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3329 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3331 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3333 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3335 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3337 * gdb.base/gdb-sigterm-2.exp: New test.
3339 2015-07-25 Doug Evans <xdje42@gmail.com>
3342 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3343 (workers/%.worker, build-perf): New rule.
3344 (GDB_PERFTEST_MODE): New variable.
3345 (check-perf): Use it.
3346 (clean): Clean up gdb.perf parallel build subdirs.
3347 * lib/build-piece.exp: New file.
3348 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3349 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3351 (standard_temp_file): Ditto.
3352 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3355 2015-07-24 Doug Evans <dje@google.com>
3357 * gdb.perf/lib/perftest/utils.py: New file.
3358 * gdb.perf/gm-hello.cc: New file.
3359 * gdb.perf/gm-pervasive-typedef.cc: New file.
3360 * gdb.perf/gm-pervasive-typedef.h: New file.
3361 * gdb.perf/gm-std.cc: New file.
3362 * gdb.perf/gm-std.h: New file.
3363 * gdb.perf/gm-use-cerr.cc: New file.
3364 * gdb.perf/gm-utils.h: New file.
3365 * gdb.perf/gmonster-null-lookup.py: New file.
3366 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3367 * gdb.perf/gmonster-print-cerr.py: New file.
3368 * gdb.perf/gmonster-ptype-string.py: New file.
3369 * gdb.perf/gmonster-runto-main.py: New file.
3370 * gdb.perf/gmonster-select-file.py: New file.
3371 * gdb.perf/gmonster1-null-lookup.exp: New file.
3372 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3373 * gdb.perf/gmonster1-print-cerr.exp: New file.
3374 * gdb.perf/gmonster1-ptype-string.exp: New file.
3375 * gdb.perf/gmonster1-runto-main.exp: New file.
3376 * gdb.perf/gmonster1-select-file.exp: New file.
3377 * gdb.perf/gmonster1.cc: New file.
3378 * gdb.perf/gmonster1.exp: New file.
3379 * gdb.perf/gmonster2-null-lookup.exp: New file.
3380 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3381 * gdb.perf/gmonster2-print-cerr.exp: New file.
3382 * gdb.perf/gmonster2-ptype-string.exp: New file.
3383 * gdb.perf/gmonster2-runto-main.exp: New file.
3384 * gdb.perf/gmonster2-select-file.exp: New file.
3385 * gdb.perf/gmonster2.cc: New file.
3386 * gdb.perf/gmonster2.exp: New file.
3388 2015-07-24 Doug Evans <dje@google.com>
3390 * gdb.perf/README: New file.
3391 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3392 * lib/gen-perf-test.exp: New file.
3394 2015-07-24 Doug Evans <dje@google.com>
3396 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3397 (PerfTest::startup): New function.
3398 (PerfTest::run): Return result of calling body.
3399 (PerfTest::assemble): Rewrite.
3400 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3401 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3402 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3403 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3404 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3406 2015-07-24 Doug Evans <dje@google.com>
3408 * lib/gdb.exp (clean_restart): Make executable optional.
3410 2015-07-24 Doug Evans <dje@google.com>
3412 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3413 compiler_info references.
3414 * gdb.cp/temargs.exp: Ditto.
3415 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3416 (get_compiler_info): Early exit if already computed. Set compiler_info
3417 to "unknown" if there was a problem.
3418 (test_compiler_info): Add function comment. Call get_compiler_info.
3420 2015-07-24 Doug Evans <dje@google.com>
3422 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3423 (workers/%.worker, build-perf): New rule.
3424 (GDB_PERFTEST_MODE): New variable.
3425 (check-perf): Use it.
3426 (clean): Clean up gdb.perf parallel build subdirs.
3427 * lib/build-piece.exp: New file.
3428 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3429 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3431 (standard_temp_file): Ditto.
3432 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3435 2015-07-24 Doug Evans <dje@google.com>
3437 * lib/future.exp (gdb_default_target_compile): New option
3439 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3442 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3444 * gdb.base/catch-syscall.exp: Call gdb_exit before
3447 2015-07-24 Pedro Alves <palves@redhat.com>
3449 * gdb.python/py-events.exp: Accept output between the stop event
3451 * gdb.python/py-evsignal.exp: Likewise.
3452 * gdb.python/py-evthreads.exp: Likewise.
3454 2015-07-24 Pedro Alves <palves@redhat.com>
3457 * gdb.threads/non-ldr-exit.c: New file.
3458 * gdb.threads/non-ldr-exit.exp: New file.
3460 2015-07-24 Yao Qi <yao.qi@linaro.org>
3462 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3465 2015-07-24 Yao Qi <yao.qi@linaro.org>
3467 * gdb.server/ext-restart.exp: New file.
3469 2015-07-24 Yao Qi <yao.qi@linaro.org>
3471 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3473 * gdb.server/ext-wrapper.exp: New file.
3475 2015-07-23 Doug Evans <dje@google.com>
3477 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3478 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3480 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3482 * gdb.ada/var_arr_typedef.exp: New testcase.
3483 * gdb.ada/var_arr_typedef/pack.adb: New file.
3484 * gdb.ada/var_arr_typedef/pack.ads: New file.
3485 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3487 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3489 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3491 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3493 * gdb.arch/i386-biarch-core.exp: Replace istarget
3494 by "complete set gnutarget". Remove expectation for the "core-file"
3497 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3499 Revert the previous commit:
3500 Tests for validate symbol file using build-id.
3502 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3504 Tests for validate symbol file using build-id.
3505 * gdb.base/solib-mismatch-lib.c: New file.
3506 * gdb.base/solib-mismatch-libmod.c: New file.
3507 * gdb.base/solib-mismatch.c: New file.
3508 * gdb.base/solib-mismatch.exp: New file.
3510 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3512 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3514 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3515 * gdb.base/siginfo.exp: Likewise.
3516 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3518 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3520 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3522 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3524 * gdb.trace/range-stepping.exp: Check that the target supports
3527 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3529 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3531 2015-07-14 Pedro Alves <palves@redhat.com>
3533 * gdb.base/killed-outside.exp: New file.
3534 * gdb.base/killed-outside.c: New file.
3536 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3538 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3540 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3542 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3544 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3545 infcall tests instead of setting up for KFAIL.
3547 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3549 * gdb.btrace/record_goto-step.exp: New.
3551 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3554 * gdb.compile/compile.c (struct struct_type): Add volatile to
3556 * gdb.compile/compile.exp
3557 (compile code struct_object.selffield = &struct_object): Skip further
3558 struct_object tests if this one xfails.
3560 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3563 * gdb.trace/ax.exp: Add test.
3565 2015-07-07 Yao Qi <yao.qi@linaro.org>
3567 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3568 instead of istarget "aarch64*-*-*".
3569 * gdb.arch/aarch64-fp.exp: Likewise.
3570 * gdb.base/float.exp: Likewise.
3571 * gdb.reverse/aarch64.exp: Likewise.
3572 * lib/gdb.exp (is_aarch64_target): New proc.
3574 2015-07-07 Yao Qi <yao.qi@linaro.org>
3576 * lib/gdb.exp (is_aarch32_target): New proc.
3577 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3578 instead of "istarget "arm*-*-*"".
3579 * gdb.arch/arm-disp-step.exp: Likewise.
3580 * gdb.arch/thumb-bx-pc.exp: Likewise.
3581 * gdb.arch/thumb-prologue.exp: Likewise.
3582 * gdb.arch/thumb-singlestep.exp: Likewise.
3583 * gdb.base/disp-step-syscall.exp: Likewise.
3584 * gdb.base/float.exp: Likewise.
3586 2015-07-07 Yao Qi <yao.qi@linaro.org>
3588 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3589 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3591 2015-07-07 Yao Qi <yao.qi@linaro.org>
3593 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3594 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3596 * gdb.multi/multi-arch.exp: Likewise.
3598 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3600 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3603 2015-07-07 Yao Qi <yao.qi@linaro.org>
3605 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3607 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3609 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3610 '[' and ']' characters.
3612 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3614 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3616 2015-06-29 Pedro Alves <palves@redhat.com>
3619 * gdb.threads/hand-call-new-thread.c: New file.
3620 * gdb.threads/hand-call-new-thread.c: New file.
3622 2015-06-26 Keith Seitz <keiths@redhat.com>
3623 Doug Evans <dje@google.com>
3626 * gdb.cp/var-tag-2.cc: New file.
3627 * gdb.cp/var-tag-3.cc: New file.
3628 * gdb.cp/var-tag-4.cc: New file.
3629 * gdb.cp/var-tag.cc: New file.
3630 * gdb.cp/var-tag.exp: New file.
3632 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3634 * gdb.base/history-duplicates.exp: New test.
3636 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3638 * gdb.base/completion.exp: Test the completion of the "focus"
3641 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3643 * gdb.arch/amd64-prologue-skip.S: New file.
3644 * gdb.arch/amd64-prologue-skip.exp: New file.
3646 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3648 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3649 is_address_zero_readable check.
3651 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3653 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3654 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3656 2015-06-24 Yao Qi <yao.qi@linaro.org>
3658 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3661 2015-06-24 Yao Qi <yao.qi@linaro.org>
3663 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3664 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3665 * gdb.base/siginfo-thread.exp: Likewise.
3667 2015-06-22 Yao Qi <yao.qi@linaro.org>
3669 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3671 2015-06-22 Yao Qi <yao.qi@linaro.org>
3673 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3675 (skip_hw_watchpoint_tests): Likewise.
3677 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3679 * gdb.base/gdbinit-history.exp: Test the interaction between
3680 setting GDBHISTSIZE and setting the history size via .gdbinit.
3682 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3685 * gdb.base/gdbhistsize-history.exp: New test.
3687 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3689 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3691 * gdb.base/readline.exp: Likewise.
3693 2015-06-17 Yao Qi <yao.qi@linaro.org>
3695 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3698 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3700 * gdb.base/gdbinit-history.exp: Add test case to check that
3701 an unlimited history file does not get truncated on exit.
3703 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3705 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3706 (VECTOR): New macro. Use it...
3707 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3708 ...for these typedefs.
3709 (int8, char1, int1, double1): New typedefs.
3710 (struct just_int2, struct two_int2): New structures.
3711 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3712 (add_structvecs, add_singlevecs): New functions.
3713 (main): Call add_some_intvecs twice.
3714 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3715 the compile and exit upon failure. Try compiling for the "native"
3716 architecture. Test inferior function calls with vector arguments
3717 and vector return value handling with "finish" and "return".
3719 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3721 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3722 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3724 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3726 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3728 PR breakpoints/16465
3729 * gdb.mi/mi-dprintf-pending.c: New file.
3730 * gdb.mi/mi-dprintf-pending.exp: New test.
3731 * gdb.mi/mi-dprintf-pendshr.c: New file.
3733 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3734 Mircea Gherzan <mircea.gherzan@intel.com>
3736 * gdb.arch/i386-mpx-map.c: New file.
3737 * gdb.arch/i386-mpx-map.exp: New File.
3739 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3741 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3742 * gdb.arch/i386-mpx.exp: Indentation fixed.
3744 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3746 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3747 function and improved indentation.
3748 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3749 gdb_test_multiple. Added additional tests to skip the test.
3751 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3753 * gdb.arch/i386-avx512.c: Change path in include file.
3754 * gdb.arch/i386-avx512.exp: Change include dir path
3756 * gdb.arch/i386-mpx.c: Change path in include file.
3757 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3760 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3762 * gdb.compile/compile-print.exp (compile print *vararray@3)
3763 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3765 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3767 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3768 (do not keep jit in memory): ... this.
3769 (expect 5): Change it to ...
3770 (expect no 5): ... this.
3772 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3775 * gdb.mi/mi-detach.exp: New file.
3777 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3780 * gdb.arch/amd64-tailcall-self.S: New file.
3781 * gdb.arch/amd64-tailcall-self.c: New file.
3782 * gdb.arch/amd64-tailcall-self.exp: New file.
3784 2015-05-28 Don Breazeal <donb@codesourcery.com>
3786 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3787 tests for remote targets by checking is_target_gdbserver.
3789 2015-05-27 Doug Evans <dje@google.com>
3791 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3792 * gdb.dwarf2/opaque-type-lookup.c: New file.
3793 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3795 2015-05-26 Doug Evans <dje@google.com>
3797 * gdb.cp/iostream.cc: New file.
3798 * gdb.cp/iostream.exp: New file.
3800 2015-05-26 Doug Evans <dje@google.com>
3802 * gdb.dwarf2/dw2-op-call.exp: Update.
3803 * gdb.dwarf2/dw4-sig-types.exp: Update.
3804 * gdb.dwarf2/implptr.exp: Update.
3805 * gdb.mi/mi-cmd-param-changed.exp: Update.
3807 2015-05-26 Doug Evans <dje@google.com>
3809 * gdb.python/py-lazy-string.c: New file.
3810 * gdb.python/py-lazy-string.exp: New file.
3811 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3812 (main): Update. Add estring3.
3813 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3814 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3816 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3817 Yao Qi <yao.qi@linaro.org>
3819 * gdb.reverse/aarch64.c: New.
3820 * gdb.reverse/aarch64.exp: New.
3822 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3824 * lib/gdb.exp (supports_process_record): Return true for
3826 (supports_reverse): Likewise.
3828 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3830 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3831 Use with_test_prefix.
3833 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3835 * gdb.base/completion.exp: Add test for completion of layout
3838 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3840 * lib/gdb.exp (skip_tui_tests): New proc.
3841 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3843 2015-05-19 Pedro Alves <palves@redhat.com>
3845 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3846 Save the whole env array instead of just HOME. Unset HISTSIZE in
3847 the environment while testing. Restore whole environment
3850 2015-05-16 Doug Evans <xdje42@gmail.com>
3852 * gdb.guile/scm-ports.c: New file.
3853 * gdb.guile/scm-ports.exp: Add memory port tests.
3855 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3857 * gdb.compile/compile-print.c: New file.
3858 * gdb.compile/compile-print.exp: New file.
3860 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3862 * gdb.compile/compile-ops.exp: Cast param to void.
3863 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3864 (compile code struct_object.selffield = &struct_object): Add xfail.
3866 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3868 * gdb.ada/arr_enum_with_gap: New testcase.
3870 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3872 * gdb.ada/byte_packed_arr: New testcase.
3874 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3876 * gdb.ada/pckd_neg: New testcase.
3878 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3881 * gdb.base/gdbinit-history.exp: New test.
3882 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3883 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3885 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3887 * gdb.python/py-xmethods.cc: Enhance test case.
3888 * gdb.python/py-xmethods.exp: New tests.
3889 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3891 (B_indexoper): Likewise.
3892 (global_dm_list) : Add new xmethod worker functions.
3894 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3896 * gdb.base/coredump-filter.exp: Correctly unset
3897 "coredump_var_addr" array.
3899 2015-05-08 Pedro Alves <palves@redhat.com>
3901 * gdb.server/non-existing-program.exp: Unset spawn_id.
3903 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3906 * gdb.python/py-xmethods.exp: Add tests.
3908 2015-05-08 Yao Qi <yao.qi@linaro.org>
3911 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3912 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3913 function set_coredump_filter, and remove remote_exec call.
3914 Remove argument ipid. Callers update.
3915 (top level): Don't get inferior's PID.
3917 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3919 * gdb.base/watch_thread_num.exp: Skip test on targets without
3922 2015-05-06 Pedro Alves <palves@redhat.com>
3925 * gdb.server/non-existing-program.exp: New file.
3927 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3929 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3931 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3933 * gdb.ada/out_of_line_in_inlined: New testcase.
3935 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3937 * gdb.ada/var_rec_arr: New testcase.
3939 2015-04-30 Yao Qi <yao.qi@linaro.org>
3941 * gdb.base/break-idempotent.exp: If
3942 skip_hw_watchpoint_multi_tests returns true, skip the tests
3943 on "rwatch" and "awatch".
3945 2015-04-30 Yao Qi <yao.qi@linaro.org>
3947 * gdb.base/relativedebug.exp: Invoke gdb command
3948 "info sharedlibrary", and if libc.so doesn't have debug info,
3951 2015-04-29 Doug Evans <dje@google.com>
3953 * gdb.python/py-xmethods.exp: Add ptype tests.
3954 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3955 get_result_type method.
3957 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3959 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3960 the target does not support hardware watchpoints.
3962 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3964 * gdb.base/break-always.exp: Abort testing if writing to memory
3967 2015-04-28 Doug Evans <dje@google.com>
3969 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3970 * gdb.python/py-pp-registration.exp: ... here. New file.
3971 * gdb.python/py-pp-registration.c: New file.
3972 * gdb.python/py-pp-registration.py: New file.
3974 2015-04-28 Doug Evans <dje@google.com>
3976 * gdb.python/py-bad-printers.c: New file.
3977 * gdb.python/py-bad-printers.py: New file.
3978 * gdb.python/py-bad-printers.exp: New file.
3980 2015-04-28 Sasha Smundak <asmundak@google.com>
3982 * gdb.python/py-type.exp: New test.
3984 2015-04-28 Andy Wingo <wingo@igalia.com>
3986 * gdb.python/py-parameter.exp:
3987 * gdb.guile/scm-parameter.exp: Escape the path that we are
3988 matching against, as it might contain characters that are special
3989 to regular expressions.
3991 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3993 * gdb.ada/rec_comp: New testcase.
3995 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3997 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
4000 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
4002 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
4003 new tests for verilog output.
4005 2015-04-24 Yao Qi <yao.qi@linaro.org>
4007 * boards/remote-gdbserver-on-localhost.exp: New file.
4009 2015-04-23 Pedro Alves <palves@redhat.com>
4011 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
4012 $inferior_spawn_id instead of $inferior_spawn_id directly. On
4013 "end of file", remove $inferior_spawn_id from the indirect list.
4015 2015-04-23 Pedro Alves <palves@redhat.com>
4017 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
4019 2015-04-23 Pedro Alves <palves@redhat.com>
4021 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
4022 on $any_spawn_id instead of only on $gdb_spawn_id.
4024 2015-04-21 Pierre Muller <muller@sourceware.org>
4027 * lib/pascal.exp (gpc_compile): Add new option "class".
4028 (fpc_compile): Likewise.
4029 * gdb.pascal/case-insensitive-symbols.pas: New file.
4030 * gdb.pascal/case-insensitive-symbols.exp: New file.
4032 2015-04-20 Gary Benson <gbenson@redhat.com>
4034 * gdb.base/attach.exp: Fix three extended remote failures.
4036 2015-04-17 Gary Benson <gbenson@redhat.com>
4038 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
4039 the main executable over the remote protocol.
4041 2015-04-16 Pedro Alves <palves@redhat.com>
4043 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
4044 a new gdbserver if gdbserver_reconnect_p is set.
4046 2015-04-16 Pedro Alves <palves@redhat.com>
4048 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
4049 is set, don't exit gdbserver.
4051 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4053 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
4054 appropriate .insn, such that an older assembler can be used.
4055 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
4056 the z/Architecture instruction set on 31-bit targets as well.
4058 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4060 * gdb.go/handcall.exp: Remove all logic related to the first
4061 breakpoint and rely on go_runto_main instead.
4062 * gdb.go/strings.exp: Likewise.
4063 * gdb.go/unsafe.exp: Likewise.
4064 * gdb.go/hello.exp: Likewise. Also rename the remaining
4065 breakpoint marker to "breakpoint 1".
4066 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
4067 * gdb.go/strings.go: Likewise.
4068 * gdb.go/unsafe.go: Likewise.
4069 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
4070 "set breakpoint 2 here" and rename the remaining breakpoint marker
4073 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
4075 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
4076 if itertools.imap is not present.
4077 * gdb.python/py-objfile.exp: Add parentheses.
4078 * gdb.python/py-type.exp: Same.
4079 * gdb.python/py-unwind-maint.py: Same.
4081 2015-04-15 Yao Qi <yao.qi@linaro.org>
4083 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
4084 of ":$ptr_size" and set its form explicitly.
4086 2015-04-15 Pedro Alves <palves@redhat.com>
4087 Yao Qi <yao.qi@linaro.org>
4089 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4090 timeout by factor of 4.
4091 (test_regular_watch): Likewise.
4092 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4093 * gdb.reverse/sigall-reverse.exp: Likewise.
4094 * gdb.reverse/until-precsave.exp: Likewise.
4095 * lib/gdb.exp (with_timeout_factor): New proc.
4096 (gdb_expect): Move some code to ...
4097 (get_largest_timeout): ... here. New procedure.
4099 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4101 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4103 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4105 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4106 to write to the .text section.
4108 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4110 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4111 Handle the case of targets that do not provide PID information.
4113 2015-04-13 Yao Qi <yao.qi@linaro.org>
4115 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4116 and use expect instead of gdb_expect.
4118 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4120 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4121 "coredump_var_addr" to avoid naming conflict with other testcases.
4123 2015-04-10 Pedro Alves <palves@redhat.com>
4125 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4126 gdb_test_sequence and gdb_assert.
4128 2015-04-10 Pedro Alves <palves@redhat.com>
4130 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4131 test messages that don't include the breakpoint address.
4133 2015-04-10 Yao Qi <yao.qi@linaro.org>
4135 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4136 false for some offset and width combinations which aren't
4137 supported by linux kernel.
4139 2015-04-10 Pedro Alves <palves@redhat.com>
4141 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4142 procedure, factored out from ...
4143 (top level): ... here. Add "set displaced-stepping" testing axis.
4144 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4145 parameter "displaced". Use it.
4146 (top level): Use foreach and add "set displaced-stepping" testing
4149 2015-04-10 Pedro Alves <palves@redhat.com>
4151 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4153 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4154 both the address of the instruction that triggers the watchpoint
4155 and the address of the instruction immediately after, and use
4156 those addresses for the test. Fix comment.
4158 2015-04-10 Pedro Alves <palves@redhat.com>
4160 * gdb.base/sigstep.exp (breakpoint_to_handler)
4161 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4162 Test "backtrace" in handler.
4163 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4164 (top level): Add new "displaced" test axis to
4165 breakpoint_to_handler, breakpoint_to_handler_entry and
4166 breakpoint_over_handler.
4168 2015-04-10 Pedro Alves <palves@redhat.com>
4171 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4173 2015-04-10 Yao Qi <yao.qi@linaro.org>
4175 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4176 (test_add_rn_pc): New function.
4177 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4178 (top level): Invoke test_add_rn_pc.
4180 2015-04-10 Pedro Alves <palves@redhat.com>
4183 * gdb.base/step-over-no-symbols.exp: New file.
4185 2015-04-09 Andy Wingo <wingo@igalia.com>
4187 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4188 after the Python tests.
4190 2015-04-08 Keith Seitz <keiths@redhat.com>
4193 * gdb.python/py-completion.exp: New tests for completion.
4194 * gdb.python/py-completion.py (CompleteLimit1): New class.
4195 (CompleteLimit2): Likewise.
4196 (CompleteLimit3): Likewise.
4197 (CompleteLimit4): Likewise.
4198 (CompleteLimit5): Likewise.
4199 (CompleteLimit6): Likewise.
4200 (CompleteLimit7): Likewise.
4202 2015-04-08 Pedro Alves <palves@redhat.com>
4206 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4208 (main): Install it as SIGUSR1 handler.
4209 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4210 parameter. Always use "setup" as prefix. Toggle "set
4211 displaced-stepping" off/on depending on global. Don't switch to
4213 (top level): Add displaced stepping "off/on" test axis. Update
4214 "setup" calls. Wrap each subtest with with_test_prefix. Test
4215 continuing with a queued signal in each thread.
4217 2015-04-08 Pedro Alves <palves@redhat.com>
4219 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4220 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4221 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4222 Return early if running to main fails.
4223 * gdb.trace/while-stepping.exp: Likewise.
4225 2015-04-07 Pedro Alves <palves@redhat.com>
4227 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4228 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4229 interact with inferior program.
4231 2015-04-07 Pedro Alves <palves@redhat.com>
4233 * lib/gdb.exp (inferior_spawn_id): New global.
4234 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4235 spawn id after processing the user code.
4236 (default_gdb_start): Set inferior_spawn_id.
4237 (send_inferior): New procedure.
4238 * lib/gdbserver-support.exp (gdbserver_start): Set
4240 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4242 2015-04-07 Pedro Alves <palves@redhat.com>
4244 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4245 * lib/gdbserver-support.exp (gdbserver_start): Make
4246 $server_spawn_id global.
4247 (gdbserver_start): Don't wait for gdbserver's spawn id with
4249 (close_gdbserver): New procedure.
4250 (gdb_exit): Rename the default version and reimplement.
4252 2015-04-07 Pedro Alves <palves@redhat.com>
4254 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4255 append the substituted item, not the original item.
4257 2015-04-07 Pedro Alves <palves@redhat.com>
4259 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4262 2015-04-07 Pedro Alves <palves@redhat.com>
4264 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4265 output appearing once only.
4267 2015-04-07 Pedro Alves <palves@redhat.com>
4269 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4270 that doesn't expect anything. Return early if running to main
4273 2015-04-07 Yao Qi <yao.qi@linaro.org>
4275 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4276 (child_function): Call alarm.
4277 (main): Move call to alarm into the loop.
4278 * gdb.threads/non-stop-fair-events.exp: Build program with
4281 2015-04-06 Doug Evans <xdje42@gmail.com>
4283 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4284 Fix dest parameter to board_info.
4285 (fpc_compile): Ditto.
4286 (gdb_compile_pascal): Rename dest arg to destfile.
4288 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4290 * gdb.ada/funcall_ref.exp: New file.
4291 * gdb.ada/funcall_ref/foo.adb: New file.
4293 2015-04-02 Yao Qi <yao.qi@linaro.org>
4295 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4298 2015-04-02 Gary Benson <gbenson@redhat.com>
4300 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4302 2015-04-01 Sasha Smundak <asmundak@google.com>
4304 * gdb.python/py-unwind-maint.c: New file.
4305 * gdb.python/py-unwind-maint.exp: New test.
4306 * gdb.python/py-unwind-maint.py: New file.
4307 * gdb.python/py-unwind.c: New file.
4308 * gdb.python/py-unwind.exp: New test.
4309 * gdb.python/py-unwind.py: New test.
4311 2015-04-01 Pedro Alves <palves@redhat.com>
4313 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4314 to fail instead of non-existent $test.
4316 2015-04-01 Pedro Alves <palves@redhat.com>
4318 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4319 GDBFLAGS if not empty.
4321 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4323 * gdb.ada/complete.exp: Remove "multi_line".
4324 * gdb.ada/info_exc.exp: Remove "multi_line".
4325 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4326 * gdb.ada/ptype_field.exp: Remove "multi_line".
4327 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4328 * gdb.ada/tagged.exp: Remove "multi_line".
4329 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4331 * gdb.btrace/delta.exp: Likewise.
4332 * gdb.btrace/exception.exp: Likewise.
4333 * gdb.btrace/function_call_history.exp: Likewise.
4334 * gdb.btrace/instruction_history.exp: Likewise.
4335 * gdb.btrace/nohist.exp: Likewise.
4336 * gdb.btrace/record_goto.exp: Likewise.
4337 * gdb.btrace/segv.exp: Likewise.
4338 * gdb.btrace/stepi.exp: Likewise.
4339 * gdb.btrace/tailcall.exp: Likewise.
4340 * gdb.btrace/unknown_functions.exp: Likewise.
4341 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4342 * lib/gdb.exp: Add the "multi_line" helper.
4344 2015-04-01 Pedro Alves <palves@redhat.com>
4346 * gdb.threads/tid-reuse.c: New file.
4347 * gdb.threads/tid-reuse.exp: New file.
4349 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4352 * gdb.base/coredump-filter.c: New file.
4353 * gdb.base/coredump-filter.exp: Likewise.
4355 2015-03-27 Petr Machata <pmachata@redhat.com>
4357 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4358 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4359 (Dwarf::assemble): Initialize them.
4360 (Dwarf::lines): New function.
4362 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4364 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4365 SYMBOL_PREFIX for x86_64-*-cygwin.
4367 2015-03-26 Andy Wingo <wingo@igalia.com>
4370 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4371 const_value but not a location.
4372 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4373 location defined in non-main CUs are visible.
4375 2015-03-26 Yao Qi <yao.qi@linaro.org>
4378 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4379 Add a line number entry for the same line.
4380 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4381 Add a line number entry for the same line.
4383 2015-03-26 Yao Qi <yao.qi@linaro.org>
4385 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4387 (func): Likewise. Add .Lfunc_1 label.
4389 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4394 2015-03-26 Yao Qi <yao.qi@linaro.org>
4396 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4397 Call gdb_compile instead to compile each .s files without debug
4400 2015-03-26 Yao Qi <yao.qi@linaro.org>
4402 * gdb.base/savedregs.exp (process_saved_regs): Make
4403 "Saved registers:" optional in the pattern.
4405 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4407 * gdb.btrace/next.exp: Merged into step.exp.
4408 * gdb.btrace/finish.exp: Merged into step.exp.
4409 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4410 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4411 "record goto" and checking the exact replay position.
4412 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4413 check for "Recording format" in "info record" output.
4414 * gdb.btrace/record_goto.exp: Choose test file based on target.
4415 * gdb.btrace/x86-record_goto.S: Renamed into ...
4416 * gdb.btrace/x86_64-record_goto.S: ... this.
4417 * gdb.btrace/i686-record_goto.S: New.
4418 * gdb.btrace/x86-tailcall.S: Renamed into ...
4419 * gdb.btrace/x86_64-tailcall.S: ... this.
4420 * gdb.btrace/i686-tailcall.S: New.
4421 * gdb.btrace/x86-tailcall.c: Renamed into ...
4422 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4423 separate statements. Update test.
4424 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4425 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4426 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4427 * gdb.btrace/tailcall.exp: Choose test file based on target.
4428 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4430 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4432 * gdb.btrace/exception.exp: Increase BTS buffer size.
4434 2015-03-24 Pedro Alves <palves@redhat.com>
4436 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4438 2015-03-24 Pedro Alves <palves@redhat.com>
4440 * gdb.threads/schedlock.exp (test_step): No longer expect that
4441 "set scheduler-locking step" with "next" over a function call runs
4444 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4446 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4448 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4450 PR breakpoints/16466
4451 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4452 * gdb.mi/mi-pending.c (thread_func): New function.
4453 (int main): Add threading support required.
4454 * gdb.mi/mi-pending.exp: Add tests for this issue.
4455 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4456 (pendfunc2): Remove stdio dependency.
4457 * gdb.mi/mi-pendshr2.c: New file.
4459 2015-03-23 Keith Seitz <keiths@redhat.com>
4461 * gdb.linespec/keywords.c: New file.
4462 * gdb.linespec/keywords.exp: New file.
4464 2015-03-23 Keith Seitz <keiths@redhat.com>
4467 * gdb.dwarf2/staticvirtual.exp: New test.
4469 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4471 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4472 * README: Remove HP-UX and gdb.hp.
4474 * configure: Regenerate.
4475 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4476 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4477 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4478 gdb.hp/gdb.defects/Makefile.
4479 * gdb.hp/Makefile.in: File deleted.
4480 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4481 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4482 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4483 * gdb.hp/gdb.aCC/run.c: File deleted.
4484 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4485 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4486 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4487 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4488 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4489 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4490 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4491 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4492 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4493 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4494 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4495 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4496 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4497 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4498 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4499 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4500 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4501 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4502 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4503 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4504 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4505 * gdb.hp/gdb.compat/average.c: File deleted.
4506 * gdb.hp/gdb.compat/sum.c: File deleted.
4507 * gdb.hp/gdb.compat/xdb.c: File deleted.
4508 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4509 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4510 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4511 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4512 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4513 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4514 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4515 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4516 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4517 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4518 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4519 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4520 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4521 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4522 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4523 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4524 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4525 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4526 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4527 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4528 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4529 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4530 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4531 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4532 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4533 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4534 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4535 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4536 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4537 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4538 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4539 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4540 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4541 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4542 * gdb.hp/tools/odump: File deleted.
4544 2015-03-19 Pedro Alves <palves@redhat.com>
4546 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4547 (saw_thread_3): New globals.
4548 (top level): Increment them when an event for the corresponding
4550 (no thread starvation): New test.
4552 2015-03-19 Pedro Alves <palves@redhat.com>
4554 * gdb.threads/continue-pending-status.c: New file.
4555 * gdb.threads/continue-pending-status.exp: New file.
4557 2015-03-18 Pedro Alves <palves@redhat.com>
4559 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4560 Use gdb_is_target_remote instead of is_remote. Use
4561 gdb_test_multiple instead of gdb_expect. Exit early if
4562 gdb_test_multiple hits its internal matches. Tighten stepi tests
4563 expected output. Fail on exit with any signal, instead of just
4566 2015-03-18 Yao Qi <yao.qi@linaro.org>
4569 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4571 * gdb.base/catch-syscall.exp: Don't skip it on
4572 aarch64*-*-linux* target. Remove elements in all_syscalls.
4573 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4575 (setup_all_syscalls): New proc.
4577 2015-03-16 Yao Qi <yao.qi@linaro.org>
4579 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4580 (top level): Skip tests if valid_addr_p returns false for
4583 2015-03-11 Andy Wingo <wingo@igalia.com>
4585 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4587 2015-03-11 Yao Qi <yao.qi@linaro.org>
4589 * gdb.base/catch-syscall.exp: Fix typo in comments.
4591 2015-03-11 Yao Qi <yao.qi@linaro.org>
4593 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4595 2015-03-09 Pedro Alves <palves@redhat.com>
4597 * dg-extract-results.py: Delete.
4599 2015-03-09 Pedro Alves <palves@redhat.com>
4601 Merge dg-extract-results.sh from GCC upstream (r218843).
4603 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4604 * dg-extract-results.sh: Use --text with grep to avoid issues with
4605 binary files. Fall back to cat -v, if that doesn't work.
4607 2015-03-05 Pedro Alves <palves@redhat.com>
4609 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4611 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4613 * lib/mi-support.exp (mi_expect_interrupt): Accept
4614 alternative event for when in all-stop mode.
4616 2015-03-04 Pedro Alves <palves@redhat.com>
4618 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4620 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4622 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4624 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4627 regexps for GDB's current line display, accept a hex address
4628 preceding the line number.
4630 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4633 the 'arch1' variable for "s390*-linux*" targets.
4635 2015-03-04 Pedro Alves <palves@redhat.com>
4637 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4638 (main): Pass missing retval argument to pthread_join call.
4640 2015-03-02 Pedro Alves <palves@redhat.com>
4642 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4643 (top level): Call do_test with non-stop as well.
4645 2015-03-02 Pedro Alves <palves@redhat.com>
4647 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4650 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652 * gdb.arch/s390-vregs.exp: New test.
4653 * gdb.arch/s390-vregs.S: New file.
4655 2015-02-27 Pedro Alves <palves@redhat.com>
4657 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4658 call to catch_command_errors.
4659 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4660 catch_command_errors.
4662 2015-02-27 Pedro Alves <palves@redhat.com>
4664 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4665 "true" for boolean result.
4666 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4669 2015-02-27 Pedro Alves <palves@redhat.com>
4671 * lib/unbuffer_output.c: New file.
4672 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4673 (main): Call gdb_unbuffer_output.
4675 2015-02-27 Yao Qi <yao.qi@linaro.org>
4677 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4680 2015-02-26 Doug Evans <dje@google.com>
4682 * gdb.cp/class2.cc (Dbase, D): New classes.
4683 (main): New local delta.
4684 * gdb.cp/class2.exp: Test printing delta.
4685 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4686 (dynbar): New global.
4687 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4689 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4691 * gdb.compile/compile-ifunc.c: New file.
4692 * gdb.compile/compile-ifunc.exp: New file.
4694 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4696 * gdb.base/structs.exp: Check for correct struct on finish.
4698 2015-02-26 Yao Qi <yao.qi@linaro.org>
4700 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4703 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4705 * gdb.arch/cordic.ko.bz2: New file.
4706 * gdb.arch/cordic.ko.debug.bz2: New file.
4707 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4709 2015-02-25 Yao Qi <yao.qi@linaro.org>
4711 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4712 aarch64*-*-* target.
4714 2015-02-23 Pedro Alves <palves@redhat.com>
4716 * lib/gdb.exp (delete_breakpoints): Rewrite using
4719 2015-02-23 Pedro Alves <palves@redhat.com>
4721 * gdb.base/info-os.c: Include stdlib.h.
4723 2015-02-22 Doug Evans <xdje42@gmail.com>
4726 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4727 is read after symbols have been re-read.
4728 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4729 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4731 2015-02-21 Doug Evans <dje@google.com>
4733 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4735 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4738 * gdb.arch/i386-biarch-core.core.bz2: New file.
4739 * gdb.arch/i386-biarch-core.exp: New file.
4741 2015-02-21 Pedro Alves <palves@redhat.com>
4743 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4746 2015-02-20 Pedro Alves <palves@redhat.com>
4748 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4751 2015-02-20 Pedro Alves <palves@redhat.com>
4753 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4755 2015-02-20 Pedro Alves <palves@redhat.com>
4757 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4758 clean_restart before gdb_target_supports_trace.
4760 2015-02-20 Pedro Alves <palves@redhat.com>
4763 * gdb.threads/clone-thread_db.c: New file.
4764 * gdb.threads/clone-thread_db.exp: New file.
4766 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4768 PR breakpoints/16812
4769 * gdb.base/catch-gdb-caused-signals.c: New file.
4770 * gdb.base/catch-gdb-caused-signals.exp: New file.
4772 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4774 * configure: Regenerated.
4775 * configure.ac: Use GDB_AC_TRANSFORM.
4776 * aclocal.m4: sinclude ../transform.m4.
4778 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4780 * lib/dtrace.exp: New file.
4781 * gdb.base/dtrace-probe.exp: Likewise.
4782 * gdb.base/dtrace-probe.d: Likewise.
4783 * gdb.base/dtrace-probe.c: Likewise.
4784 * lib/pdtrace.in: Likewise.
4785 * configure.ac: Output variables with the transformed names of
4786 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4787 * configure: Regenerated.
4789 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4791 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4792 expected message when trying to access $_probe_* convenience
4793 variables while not on a probe.
4795 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4797 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4799 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4801 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4802 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4804 2015-02-10 Doug Evans <xdje42@gmail.com>
4806 * lib/gdb.exp (gdb_load): Always return a result.
4808 2015-02-10 Pedro Alves <palves@redhat.com>
4810 * gdb.threads/signal-sigtrap.c: New file.
4811 * gdb.threads/signal-sigtrap.exp: New file.
4813 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4815 * gdb.trace/no-attach-trace.c: New file.
4816 * gdb.trace/no-attach-trace.exp: New file.
4818 2015-02-09 Mark Wielaard <mjw@redhat.com>
4820 * gdb.dwarf2/atomic.c: New file.
4821 * gdb.dwarf2/atomic-type.exp: Likewise.
4823 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4825 * gdb.btrace/buffer-size.exp: Update "info record" output.
4826 * gdb.btrace/delta.exp: Update "info record" output.
4827 * gdb.btrace/enable.exp: Update "info record" output.
4828 * gdb.btrace/finish.exp: Update "info record" output.
4829 * gdb.btrace/instruction_history.exp: Update "info record" output.
4830 * gdb.btrace/next.exp: Update "info record" output.
4831 * gdb.btrace/nexti.exp: Update "info record" output.
4832 * gdb.btrace/step.exp: Update "info record" output.
4833 * gdb.btrace/stepi.exp: Update "info record" output.
4834 * gdb.btrace/nohist.exp: Update "info record" output.
4836 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4838 * gdb.btrace/buffer-size: New.
4840 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4842 * gdb.btrace/delta.exp: Update "info record" output.
4843 * gdb.btrace/enable.exp: Update "info record" output.
4844 * gdb.btrace/finish.exp: Update "info record" output.
4845 * gdb.btrace/instruction_history.exp: Update "info record" output.
4846 * gdb.btrace/next.exp: Update "info record" output.
4847 * gdb.btrace/nexti.exp: Update "info record" output.
4848 * gdb.btrace/step.exp: Update "info record" output.
4849 * gdb.btrace/stepi.exp: Update "info record" output.
4850 * gdb.btrace/nohist.exp: Update "info record" output.
4852 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4855 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4857 2015-02-06 Pedro Alves <palves@redhat.com>
4859 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4861 (seconds_left, again): New globals.
4862 (main): Wait seconds_left in a 1-second sleep loop instead of
4863 sleeping 180 seconds. If 'again' is set, reset the seconds
4865 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4866 'again' in the inferior before detaching. Print the seconds left.
4867 (options): New global.
4868 (top level): Build program with -DTIMEOUT=$timeout.
4870 2015-02-06 Pedro Alves <palves@redhat.com>
4872 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4873 determine how many seconds to pass to 'alarm'.
4874 * gdb.base/gdb-sigterm.exp (top level): Build program with
4876 (do_test): Return success/failure indication. Add more verbose
4877 logging. Don't fail if 200 single steps are seen. Instead, fail
4878 when the test times out.
4879 (passes): New global.
4880 (top level): Break the testing loop if testing fails on any
4881 iteration. Use gdb_assert.
4883 2015-02-04 Don Breazeal <donb@codesourcery.com>
4885 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4886 and initialize them.
4887 (ipc_cleanup): New function.
4888 (main): Don't declare shmid, semid, and msqid. Add a call to
4889 atexit so that we call ipc_cleanup on exit.
4891 2015-02-04 Pedro Alves <palves@redhat.com>
4893 * boards/native-extended-gdbserver.exp: Remove any target variant
4894 specifications from the board name before clearing the isremote
4895 flag from board_info.
4897 2015-01-31 Doug Evans <xdje42@gmail.com>
4899 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4901 2015-01-31 Gary Benson <gbenson@redhat.com>
4903 * gdb.base/completion.exp: Disable completion limiting for
4904 existing tests. Add new tests to check completion limiting.
4905 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4907 2015-01-31 Doug Evans <xdje42@gmail.com>
4909 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4911 2015-01-31 Doug Evans <xdje42@gmail.com>
4913 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4914 entries. Duplicate file section script entries.
4915 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4916 inlined entries. Add test for safe-path rejection.
4917 * gdb.python/py-section-script.c: Add duplicate inlined section script
4918 entries. Duplicate file section script entries.
4919 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4920 inlined entries. Add test for safe-path rejection.
4922 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4924 * gdb.ada/disc_arr_bound: New testcase.
4926 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4928 * gdb.ada/mi_var_array: New testcase.
4930 2015-01-27 Doug Evans <dje@google.com>
4932 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4933 Add test for objfile.filename, objfile.username after objfile
4936 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4938 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4939 the second test to print the name attribute of value
4940 returned by the call to gdb.lookup_type, and adjust
4941 the expected output accordingly.
4943 2015-01-25 Mark Wielaard <mjw@redhat.com>
4945 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4946 * gdb.base/disp-step-fork.c: Include unistd.h.
4947 * gdb.base/siginfo-obj.c: Include stdio.h.
4948 * gdb.base/siginfo-thread.c: Likewise.
4949 * gdb.mi/non-stop.c: Include unistd.h.
4950 * gdb.mi/nsthrexec.c: Include stdio.h.
4951 * gdb.mi/pthreads.c: Include unistd.h.
4952 * gdb.modula2/unbounded1.c (main): Declare returns int.
4953 * gdb.reverse/consecutive-reverse.c: Likewise.
4954 * gdb.threads/create-fail.c: Include unistd.h.
4955 * gdb.threads/killed.c: Likewise.
4956 * gdb.threads/linux-dp.c: Likewise.
4957 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4958 * gdb.threads/non-ldr-exc-2.c: Likewise.
4959 * gdb.threads/non-ldr-exc-3.c: Likewise.
4960 * gdb.threads/non-ldr-exc-4.c: Likewise.
4961 * gdb.threads/pthreads.c: Include unistd.h.
4962 (main): Declare returns int.
4963 * gdb.threads/tls-main.c (foo): New declaration.
4964 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4966 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4968 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4969 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4971 2015-01-15 Mark Wielaard <mjw@redhat.com>
4973 * gdb.base/noreturn-return.c: New file.
4974 * gdb.base/noreturn-return.exp: New file.
4975 * gdb.base/noreturn-finish.c: New file.
4976 * gdb.base/noreturn-finish.exp: New file.
4978 2015-01-23 Pedro Alves <palves@redhat.com>
4980 * gdb.threads/continue-pending-after-query.c: New file.
4981 * gdb.threads/continue-pending-after-query.exp: New file.
4983 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4984 Simon Marchi <simon.marchi@ericsson.com>
4986 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4987 * gdb.base/valgrind-db-attach.exp: Same.
4988 * gdb.base/valgrind-infcall.exp: Same.
4989 * lib/mi-support.exp (default_mi_gdb_start): Same.
4990 * lib/prompt.exp (default_prompt_gdb_start): Same.
4991 * lib/gdb.exp (default_gdb_spawn): Same.
4992 (gdb_interact): New.
4995 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4997 * gdb.compile/compile.exp (pointer to jit function): New test.
4999 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
5001 * lib/gdb.exp (supports_process_record): Return true for
5003 (supports_reverse): Likewise.
5005 2015-01-15 Don Breazeal <donb@codesourcery.com>
5007 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
5008 instead of checking whether the target board is remote and
5009 use spawn_wait_for_attach instead of exec/sleep.
5010 * gdb.base/attach-twice.exp: Likewise.
5012 2015-01-15 Joel Brobecker <brobecker@adacore.com>
5014 * gdb.ada/var_arr_attrs: New testcase.
5016 2015-01-14 Pedro Alves <palves@redhat.com>
5017 Joel Brobecker <brobecker@adacore.com>
5020 * gdb.base/bp-cmds-execution-x-script.c: New file.
5021 * gdb.base/bp-cmds-execution-x-script.exp: New file.
5022 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
5024 2015-01-14 Pedro Alves <palves@redhat.com>
5027 * gdb.base/batch-preserve-term-settings.c: New file.
5028 * gdb.base/batch-preserve-term-settings.exp: New file.
5030 2015-01-13 Doug Evans <dje@google.com>
5032 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
5035 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5037 * Makefile.in (clean mostlyclean): Do not delete *.py.
5039 2015-01-13 Joel Brobecker <brobecker@adacore.com>
5041 * gdb.python/py-lookup-type.exp: New file.
5043 2015-01-12 Pedro Alves <palves@redhat.com>
5045 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
5046 restore GDBFLAGS before returning.
5048 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5050 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
5051 is_amd64_regs_target and is_x86_like_target.
5053 2015-01-11 Doug Evans <xdje42@gmail.com>
5055 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
5056 is given without an explicit form.
5057 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
5059 * gdb.dwarf/corrupt.exp: Ditto.
5060 * gdb.dwarf2/enum-type.exp: Ditto.
5061 * gdb.trace/entry-values.exp: Ditto.
5062 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
5064 2015-01-11 Doug Evans <xdje42@gmail.com>
5067 * gdb.base/maint.exp: Remove references to "maint demangle".
5068 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
5069 Add tests for explicitly specifying language to demangle.
5070 * gdb.dlang/demangle.exp: Ditto.
5072 2015-01-09 Pedro Alves <palves@redhat.com>
5074 * gdb.threads/non-stop-fair-events.c: New file.
5075 * gdb.threads/non-stop-fair-events.exp: New file.
5077 2015-01-09 Pedro Alves <palves@redhat.com>
5079 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
5080 the global scope. Set a breakpoint after all threads are started
5081 rather than stepping over two source lines. Expect the prompt.
5082 * gdb.base/watch_thread_num.c (threads_started_barrier): New
5085 (main): Use threads_started_barrier to wait for all threads to
5086 start. Main thread no longer calls thread_function. Exit after
5088 (loop): New function.
5089 (thread_function): Wait on threads_started_barrier barrier. Call
5090 'loop' at each iteration.
5091 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5092 threads have started, instead of hardcoding number of "next"
5093 steps. Use an access watchpoint instead of a write watchpoint.
5095 2015-01-09 Pedro Alves <palves@redhat.com>
5097 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5098 (thread_func): Wait on barrier.
5099 (main): Wait for all threads to start before stopping GDB.
5100 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5102 (thread1_func, thread2_func): Wait on barrier.
5103 (main): Wait for all threads to start before stopping GDB.
5104 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5106 (thread1_func, thread2_func): Wait on barrier.
5107 (main): Wait for all threads to start before stopping GDB.
5109 2015-01-09 Pedro Alves <palves@redhat.com>
5111 * gdb.threads/attach-many-short-lived-threads.c: New file.
5112 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5114 2014-01-09 Pedro Alves <palves@redhat.com>
5116 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5117 instead of to thread 2.
5118 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5119 Add barrier around each pthread_create call instead of around all
5121 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5122 Set a break on thread_function and have the child threads hit it
5125 2015-01-09 Pedro Alves <palves@redhat.com>
5127 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5128 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5130 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5131 checking whether the target board is remote.
5132 * gdb.multi/multi-attach.exp: Likewise.
5133 * gdb.python/py-sync-interp.exp: Likewise.
5134 * gdb.server/ext-attach.exp: Likewise.
5135 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5136 tests that need to attach, instead of checking whether the target
5137 board is remote at the top of the file.
5139 2015-01-08 Yao Qi <yao@codesourcery.com>
5141 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5143 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5145 Fix testcase compilation.
5146 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5148 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5150 * gdb.python/py-type.exp: Add a couple test about empty
5151 array creation, and negative-length array creation.
5153 2015-01-02 Doug Evans <xdje42@gmail.com>
5155 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5157 2015-01-02 Doug Evans <dje@google.com>
5159 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5161 2014-12-29 Yao Qi <yao@codesourcery.com>
5163 * gdb.trace/entry-values.exp: Update comments. Rename variable
5164 bar_call_foo to returned_from_foo.
5166 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5169 * gdb.linespec/break-asm-file.c: New file.
5170 * gdb.linespec/break-asm-file.exp: New file.
5171 * gdb.linespec/break-asm-file0.s: New file.
5172 * gdb.linespec/break-asm-file1.s: New file.
5174 2014-12-18 Nigel Stephens <nigel@mips.com>
5175 Maciej W. Rozycki <macro@codesourcery.com>
5177 * gdb.base/float.exp: Handle the new output from "info float" on
5180 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5182 Fix MinGW compilation.
5183 * gdb.compile/compile-ops.exp: Update untested message if
5184 !skip_compile_feature_tests.
5185 * gdb.compile/compile-setjmp.exp: Likewise.
5186 * gdb.compile/compile-tls.exp: Likewise.
5187 * gdb.compile/compile.exp: Likewise.
5188 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5189 supported on this host".
5191 2014-12-16 Doug Evans <xdje42@gmail.com>
5193 * boards/stabs.exp: New file.
5195 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5197 * gdb.base/completion.exp: Adjust to format changes of "maint
5198 print user-registers".
5200 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5203 * gdb.arch/aarch64-fp.c: New file.
5204 * gdb.arch/aarch64-fp.exp: New file.
5206 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5208 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5209 r210637, r210913, r211666, r215400, r215817).
5211 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5212 * dg-extract-results.py: New file.
5213 * dg-extract-results.sh: Use it if the environment seems
5216 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5218 * dg-extract-results.py (parse_run): Handle warnings that
5219 are printed before a test harness is run.
5221 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5223 * dg-extract-results.py (Named): Remove __cmp__ method.
5224 (output_variation): Use a key to sort variation.harnesses.
5226 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5228 * dg-extract-results.py: For Python 3, force sys.stdout to
5229 handle surrogate escape sequences.
5230 (safe_open): New function.
5231 (output_segment, main): Use it.
5233 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5235 * dg-extract-results.py (Prog.result_re): Include options
5238 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5240 * dg-extract-results.py (output_variation): Always sort if
5243 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5245 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5246 as long as we get pagination notifications.
5248 2014-12-15 Jason Merrill <jason@redhat.com>
5250 * Makefile.in (check-gdb.%): Restore.
5251 * README: Mention it.
5253 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5255 * gdb.ada/str_uninit: New testcase.
5257 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5260 * gdb.base/vla-stub-define.c: New file.
5261 * gdb.base/vla-stub.c: New file.
5262 * gdb.base/vla-stub.exp: New file.
5264 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5265 Jan Kratochvil <jan.kratochvil@redhat.com>
5266 Tom Tromey <tromey@redhat.com>
5268 * configure.ac: Add gdb.compile/.
5269 * configure: Regenerate.
5270 * gdb.compile/Makefile.in: New file.
5271 * gdb.compile/compile-ops.exp: New file.
5272 * gdb.compile/compile-ops.c: New file.
5273 * gdb.compile/compile-tls.c: New file.
5274 * gdb.compile/compile-tls.exp: New file.
5275 * gdb.compile/compile-constvar.S: New file.
5276 * gdb.compile/compile-constvar.c: New file.
5277 * gdb.compile/compile-mod.c: New file.
5278 * gdb.compile/compile-nodebug.c: New file.
5279 * gdb.compile/compile-setjmp-mod.c: New file.
5280 * gdb.compile/compile-setjmp.c: New file.
5281 * gdb.compile/compile-setjmp.exp: New file.
5282 * gdb.compile/compile-shlib.c: New file.
5283 * gdb.compile/compile.c: New file.
5284 * gdb.compile/compile.exp: New file.
5285 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5287 2014-12-12 Tom Tromey <tromey@redhat.com>
5289 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5290 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5292 2014-12-12 Doug Evans <dje@google.com>
5294 * lib/gdb-python.exp (get_python_valueof): New function.
5295 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5297 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5299 * gdb.base/completion.exp: Add test for completion of "info
5302 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5304 * gdb.base/func-ptrs.c: New file.
5305 * gdb.base/func-ptrs.exp: New file.
5307 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5309 PR breakpoints/17012
5310 * gdb.base/dprintf-detach.c: New file.
5311 * gdb.base/dprintf-detach.exp: New file.
5313 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5315 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5316 * lib/gdb.exp (target_is_gdbserver): New procedure.
5318 2014-12-08 Doug Evans <dje@google.com>
5320 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5322 2014-12-05 Yao Qi <yao@codesourcery.com>
5324 * gdb.guile/scm-error.exp: Remove the third argument to
5325 gdb_remote_download.
5326 * gdb.guile/scm-frame-args.exp: Likewise.
5327 * gdb.guile/scm-section-script.exp: Likewise.
5329 2014-12-05 Yao Qi <yao@codesourcery.com>
5331 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5333 2014-12-04 Doug Evans <dje@google.com>
5335 * gdb.python/py-objfile.exp: Add tests for
5336 objfile.add_separate_debug_file.
5338 2014-12-04 Doug Evans <dje@google.com>
5340 * lib/gdb.exp (get_build_id): New function.
5341 (build_id_debug_filename_get): Rewrite to use it.
5342 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5344 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5346 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5347 `method(long)', not just 0x0.
5348 * gdb.cp/nsalias.exp: Align code labels to 4.
5349 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5350 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5351 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5352 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5353 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5354 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5356 2014-12-02 Doug Evans <dje@google.com>
5359 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5360 * gdb.cp/anon-ns2.cc: ... here. New file.
5361 * gdb.cp/anon-ns.exp: Update.
5363 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5365 * gdb.python/py-events.py (inferior_call_handler): New.
5366 (register_changed_handler, memory_changed_handler): New.
5367 (test_events.invoke): Register new handlers.
5368 * gdb.python/py-events.exp: Add tests for inferior call,
5369 memory_changed and register_changed events.
5371 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5373 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5374 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5375 if the linker doesn't understand this.
5377 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5379 * gdb.python/python.exp: Change expected reply to help().
5381 2014-12-01 Yao Qi <yao@codesourcery.com>
5383 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5384 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5385 * configure: Re-generated.
5387 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5389 * gdb.cp/chained-calls.cc: New file.
5390 * gdb.cp/chained-calls.exp: New file.
5391 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5393 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5395 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5396 * gdb.dwarf2/symtab-producer.exp: Same.
5397 * gdb.gdb/python-interrupts.exp: Same.
5398 * gdb.gdb/python-selftest.exp: Same.
5399 * gdb.python/py-linetable.exp: Same.
5400 * gdb.python/py-type.exp: Same.
5401 * gdb.python/py-value-cc.exp: Same.
5402 * gdb.python/py-value.exp: Same.
5404 2014-11-28 Yao Qi <yao@codesourcery.com>
5406 * gdb.base/break-probes.exp: Match library name prefixed with
5409 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5411 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5412 test expected output. Add parentheses for the call to print.
5413 Remove L suffix from integers.
5415 2014-11-26 Doug Evans <dje@google.com>
5417 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5419 2014-11-22 Yao Qi <yao@codesourcery.com>
5421 * gdb.trace/entry-values.c: Remove asms.
5422 (foo): Add foo_label.
5423 (bar): Add bar_label.
5424 * gdb.trace/entry-values.exp: Remove code computing foo's
5425 length and bar's length.
5426 (Dwarf::assemble): Invoke function_range for bar and use
5427 MACRO_AT_func for foo.
5429 2014-11-22 Yao Qi <yao@codesourcery.com>
5431 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5432 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5433 Use .Lgcc43_procstart instead of gcc43.
5435 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5437 * gdb.ada/n_arr_bound: New testcase.
5439 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5441 PR breakpoints/10737
5442 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5443 test_catch_syscall_multi_arch.
5444 (test_catch_syscall_multi_arch): New function.
5446 2014-11-20 Doug Evans <xdje42@gmail.com>
5448 * gdb.base/maint.exp: Update expected output.
5450 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5452 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5453 4-byte instruction on S390.
5455 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5457 * gdb.ada/arr_arr: New testcase.
5459 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5461 * gdb.ada/pkd_arr_elem: New Testcase.
5463 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5465 * gdb.reverse/break-precsave: Expect completion message for
5467 * gdb.reverse/consecutive-precsave.exp: Likewise.
5468 * gdb.reverse/finish-precsave.exp: Likewise.
5469 * gdb.reverse/i386-precsave.exp: Likewise.
5470 * gdb.reverse/machinestate-precsave.exp: Likewise.
5471 * gdb.reverse/sigall-precsave.exp: Likewise.
5472 * gdb.reverse/solib-precsave.exp: Likewise.
5473 * gdb.reverse/step-precsave.exp: Likewise.
5474 * gdb.reverse/until-precsave.exp: Likewise.
5475 * gdb.reverse/watch-precsave.exp: Likewise.
5477 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5479 * gdb.base/bp-permanent.c: Include unistd.h.
5480 * gdb.python/py-framefilter-mi.c (main): Add return type.
5481 * gdb.python/py-framefilter.c (main): Likewise.
5482 * gdb.trace/actions-changed.c (main): Likewise.
5484 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486 * gdb.mi/until.c: Add eye-catchers.
5487 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5490 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5493 function header variants in break1.c.
5494 * gdb.base/ena-dis-br.exp: Likewise.
5495 * gdb.base/hbreak2.exp: Likewise.
5496 * gdb.reverse/until-precsave.exp: Drop references to removed
5497 non-prototype function header variants in ur1.c.
5498 * gdb.reverse/until-reverse.exp: Likewise.
5500 2014-11-17 Petr Machata <pmachata@redhat.com>
5502 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5503 ${_cu_offset_size} bytes abbrev offset.
5505 2014-11-15 Doug Evans <xdje42@gmail.com>
5508 * gdb.base/line-symtabs.exp: New file.
5509 * gdb.base/line-symtabs.c: New file.
5510 * gdb.base/line-symtabs.h: New file.
5512 2014-11-14 Yao Qi <yao@codesourcery.com>
5514 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5515 (func): Add label func_label.
5516 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5517 Replace low_pc and high_pc with MACRO_AT_range.
5518 Replace name, low_pc and high_pc with MACRO_AT_func.
5520 2014-11-14 Yao Qi <yao@codesourcery.com>
5522 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5523 Replace name, low_pc and high_pc with MACRO_AT_func.
5525 2014-11-14 Yao Qi <yao@codesourcery.com>
5527 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5528 produce debug information.
5529 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5531 2014-11-14 Yao Qi <yao@codesourcery.com>
5533 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5534 object and get function length.
5535 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5537 (top-level): Replace gdb_compile and clean_restart with
5538 prepare_for_testing.
5539 * gdb.dwarf2/main.c (main): Add label main_label.
5541 2014-11-14 Yao Qi <yao@codesourcery.com>
5543 * lib/dwarf.exp (function_range): New procedure.
5544 (Dwarf::_handle_macro_at_func): New procedure.
5545 (Dwarf::_handle_macro_at_range): New procedure.
5546 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5548 2014-11-14 Yao Qi <yao@codesourcery.com>
5550 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5551 (_handle_attribute): New procedure.
5553 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5555 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5556 * gdb.base/call-sc.c (zed): Likewise.
5557 * gdb.base/checkpoint.c (main): Likewise.
5558 * gdb.base/dump.c (main): Likewise.
5559 * gdb.base/gcore.c (main): Likewise.
5560 * gdb.base/huge.c (main): Likewise.
5561 * gdb.base/multi-forks.c (main): Likewise.
5562 * gdb.base/pr10179-a.c (main): Likewise.
5563 * gdb.base/savedregs.c (main): Likewise.
5564 * gdb.base/sigaltstack.c (main): Likewise.
5565 * gdb.base/siginfo.c (main): Likewise.
5566 * gdb.base/structs.c (zed): Likewise.
5567 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5568 * gdb.mi/mi-syn-frame.c (main): Likewise.
5569 * gdb.mi/until.c (foo, main): Likewise.
5570 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5571 * gdb.base/solib-weak.c (foo): Declare.
5572 * gdb.base/attach-twice.c: Include stdio.h.
5573 * gdb.base/weaklib1.c: Likewise.
5574 * gdb.base/weaklib2.c: Likewise.
5575 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5576 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5578 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5579 * gdb.mi/mi-exit-code.c: Likewise.
5580 * gdb.base/break-interp-lib.c: Include string.h.
5581 * gdb.base/coremaker.c: Likewise.
5582 * gdb.base/testenv.c: Likewise.
5583 * gdb.python/py-finish-breakpoint.c: Likewise.
5584 * gdb.base/inferior-died.c: Include sys/wait.h.
5585 * gdb.base/fileio.c: Include time.h.
5586 * gdb.base/async-shell.c: Include unistd.h.
5587 * gdb.base/dprintf-non-stop.c: Likewise.
5588 * gdb.base/info-os.c: Likewise.
5589 * gdb.mi/mi-console.c: Likewise.
5590 * gdb.mi/watch-nonstop.c: Likewise.
5591 * gdb.python/py-events.c: Likewise.
5592 * gdb.base/async.c (baz): Move up before its invocation.
5593 * gdb.base/code_elim2.c (my_global_func): Likewise.
5594 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5595 * gdb.base/advance.c (func2): Likewise.
5597 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5599 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5601 * gdb.base/annota3.c: Likewise.
5602 * gdb.base/async.c: Likewise.
5603 * gdb.base/average.c: Likewise.
5604 * gdb.base/call-ar-st.c: Likewise.
5605 * gdb.base/call-rt-st.c: Likewise.
5606 * gdb.base/call-sc.c: Likewise.
5607 * gdb.base/call-strs.c: Likewise.
5608 * gdb.base/ending-run.c: Likewise.
5609 * gdb.base/execd-prog.c: Likewise.
5610 * gdb.base/exprs.c: Likewise.
5611 * gdb.base/foll-exec.c: Likewise.
5612 * gdb.base/foll-fork.c: Likewise.
5613 * gdb.base/foll-vfork.c: Likewise.
5614 * gdb.base/funcargs.c: Likewise.
5615 * gdb.base/gcore.c: Likewise.
5616 * gdb.base/jump.c: Likewise.
5617 * gdb.base/langs0.c: Likewise.
5618 * gdb.base/langs1.c: Likewise.
5619 * gdb.base/langs2.c: Likewise.
5620 * gdb.base/mips_pro.c: Likewise.
5621 * gdb.base/nodebug.c: Likewise.
5622 * gdb.base/opaque0.c: Likewise.
5623 * gdb.base/opaque1.c: Likewise.
5624 * gdb.base/recurse.c: Likewise.
5625 * gdb.base/run.c: Likewise.
5626 * gdb.base/scope0.c: Likewise.
5627 * gdb.base/scope1.c: Likewise.
5628 * gdb.base/setshow.c: Likewise.
5629 * gdb.base/setvar.c: Likewise.
5630 * gdb.base/shmain.c: Likewise.
5631 * gdb.base/shr1.c: Likewise.
5632 * gdb.base/shr2.c: Likewise.
5633 * gdb.base/sigall.c: Likewise.
5634 * gdb.base/signals.c: Likewise.
5635 * gdb.base/so-indr-cl.c: Likewise.
5636 * gdb.base/solib2.c: Likewise.
5637 * gdb.base/structs.c: Likewise.
5638 * gdb.base/sum.c: Likewise.
5639 * gdb.base/vforked-prog.c: Likewise.
5640 * gdb.base/watchpoint.c: Likewise.
5641 * gdb.reverse/shr2.c: Likewise.
5642 * gdb.reverse/until-reverse.c: Likewise.
5643 * gdb.reverse/ur1.c: Likewise.
5644 * gdb.reverse/watch-reverse.c: Likewise.
5646 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5648 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5650 * gdb.base/sepdebug.exp: Drop references to removed code.
5652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5654 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5655 variant. Preserve original line numbering.
5656 * gdb.base/list1.c: Likewise.
5658 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5660 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5662 * gdb.base/break1.c: Likewise.
5663 * gdb.base/break.exp: Drop references to removed code.
5665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5670 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5672 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5674 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5676 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5677 logic into perform_all_tests() and invoke it with and without
5678 function header prototypes.
5679 (do_function_calls): Remove conditional XFAIL for PR 5318.
5680 (rerun_and_prepare): Remove duplicate code.
5681 (perform_all_tests): New. Main logic moved here.
5683 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5685 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5686 code guarded by #ifdef NO_PROTOTYPES.
5687 (t_double_many_args): Likewise.
5688 (DEF_FUNC_MANY_ARGS_1): Likewise.
5689 (DEF_FUNC_VALUES_1): Likewise.
5690 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5691 guarded by #ifdef PROTOTYPES.
5693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5695 * gdb.mi/mi-console.c: Add eye-catcher.
5696 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5697 instead of literal line number.
5699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5701 * gdb.base/shr2.c: Add eye-catcher.
5702 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5705 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5707 * gdb.base/jump.c: Add eye-catchers.
5708 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5711 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5713 * gdb.base/execd-prog.c: Add eye-catchers.
5714 * gdb.base/foll-exec.c: Likewise.
5715 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5720 * gdb.base/ending-run.c: Add eye-catchers.
5721 * gdb.base/ending-run.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-rt-st.c: Add eye-catchers.
5727 * gdb.base/call-rt-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/call-ar-st.c: Add eye-catchers.
5733 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5734 literal line numbers.
5736 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5738 * gdb.base/average.c: Add eye-catchers.
5739 * gdb.base/sum.c: Likewise.
5740 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5741 regexps dynamically.
5743 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5745 * gdb.base/solib1.c: Add eye-catchers.
5746 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5747 literal line numbers.
5749 2014-11-12 Pedro Alves <palves@redhat.com>
5751 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5754 2014-11-12 Pedro Alves <palves@redhat.com>
5756 * gdb.arch/i386-bp_permanent.c: New file.
5757 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5758 (srcfile): Set to i386-bp_permanent.c.
5759 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5760 that stepi does not execute the 'leave' instruction, instead of
5761 testing it does execute.
5762 * gdb.base/bp-permanent.c: New file.
5763 * gdb.base/bp-permanent.exp: New file.
5765 2014-11-10 Doug Evans <xdje42@gmail.com>
5768 * gdb.base/symtab-search-order.exp: New file.
5769 * gdb.base/symtab-search-order.c: New file.
5770 * gdb.base/symtab-search-order-1.c: New file.
5771 * gdb.base/symtab-search-order-shlib-1.c: New file.
5773 2014-11-07 Pedro Alves <palves@redhat.com>
5776 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5779 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5782 * gdb.cp/pr17494.cc: New file.
5783 * gdb.cp/pr17494.exp: New file.
5785 2014-11-02 Yao Qi <yao@codesourcery.com>
5787 * gdb.python/python.exp: Get working directory and match the
5788 output of "set extended-prompt \\w " with it.
5790 2014-10-30 Doug Evans <dje@google.com>
5792 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5794 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5797 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5799 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5800 * gdb.base/realname-expand.exp: Likewise.
5801 * gdb.linespec/macro-relative.exp: Likewise.
5803 2014-10-29 Pedro Alves <palves@redhat.com>
5806 * gdb.threads/schedlock.c (some_function): New function.
5807 (call_function): New global.
5808 (MAYBE_CALL_SOME_FUNCTION): New macro.
5809 (thread_function): Call it.
5810 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5811 and use it instead of a global counter. Adjust all callers.
5812 (get_current_thread): Use "find current thread" for test message
5813 here rather than having all callers pass down the same string.
5814 (goto_loop): New procedure, factored out from ...
5815 (my_continue): ... this.
5816 (step_ten_loops): Change parameter from test message to command to
5818 (list_count): Delete global.
5819 (check_result): New procedure, factored out from duplicate top
5821 (continue tests): Wrap in with_test_prefix.
5822 (test_step): New procedure, factored out from duplicate top level
5824 (top level): Test "step" in combination with all scheduler-locking
5825 modes. Test "next" in combination with all scheduler-locking
5826 modes, and in combination with stepping over a function call or
5828 * gdb.threads/next-bp-other-thread.c: New file.
5829 * gdb.threads/next-bp-other-thread.exp: New file.
5831 2014-10-29 Pedro Alves <palves@redhat.com>
5834 * gdb.python/python.exp: Test a multi-line command that spawns
5836 * gdb.base/multi-line-starts-subshell.exp: New file.
5838 2014-10-29 Yao Qi <yao@codesourcery.com>
5840 * gdb.base/fileio.exp: Make directories on host.
5842 2014-10-29 Yao Qi <yao@codesourcery.com>
5844 * gdb.base/fileio.c (test_write): Close the file.
5846 2014-10-28 Pedro Alves <palves@redhat.com>
5849 * gdb.base/sigstep.c (no_handler): New global.
5850 (main): If 'no_handler is true, set the signal handlers to
5852 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5853 with_sw_watch and no_handler parameters. Handle them.
5854 (top level) <stepping over handler when stopped at a breakpoint
5855 test>: Add a test axis for testing with a software watchpoint, and
5856 another for testing with the signal handler set to SIG_IGN.
5857 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5858 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5860 2014-10-28 Pedro Alves <palves@redhat.com>
5863 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5864 * gdb.base/sigstep.exp (other_handler_location): New global.
5865 (advance): Support stepping into the signal handler, and running
5866 commands while in the handler.
5867 (in_handler_map): New global.
5868 (top level): In the advance test, add combinations for getting
5869 into the handler with stepping commands, and for running commands
5870 in the handler. Add comment descripting the advancei tests.
5872 2014-10-28 Pedro Alves <palves@redhat.com>
5874 * gdb.base/sigstep.exp: Use build_executable instead of
5875 prepare_for_testing.
5876 (top level): Move code that starts GDB, runs to main and creates a
5878 (restart): ... this new procedure.
5879 (top level): Move backtrace from signal handler test to ...
5880 (validate_backtrace): ... this new procedure.
5881 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5882 with_test_prefix. Always restart GDB.
5883 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5884 with_test_prefix. Always restart GDB. No need to delete
5885 breakpoints after the test.
5886 (test_skip_handler): Remove prefix parameter.
5887 (skip_over_handler, breakpoint_to_handler)
5888 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5889 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5890 restart GDB. No need to delete breakpoints after the test.
5891 (top level): Use foreach to call the test procedures with
5894 2014-10-28 Pedro Alves <palves@redhat.com>
5896 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5897 instead of GNATS numbers.
5898 * gdb.base/sigbpt.exp: Likewise.
5899 * gdb.base/siginfo.exp: Likewise.
5900 * gdb.base/sigstep.exp: Likewise.
5902 2014-10-27 Pedro Alves <palves@redhat.com>
5904 * gdb.base/sigstep.c (dummy): New global.
5905 (main): Issue a couple writes to the new global.
5906 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5908 (skip_over_handler): Use test_skip_handler.
5909 (top level): Call skip_over_handler for stepi and nexti too.
5910 (breakpoint_over_handler): Use test_skip_handler.
5911 (top level): Call breakpoint_over_handler for stepi and nexti too.
5913 2014-10-27 Yao Qi <yao@codesourcery.com>
5915 * gdb.trace/tfile.c (adjust_function_address)
5916 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5917 function descriptor.
5919 2014-10-24 Don Breazeal <donb@codesourcery.com>
5921 * gdb.base/foll-fork.exp (test_follow_fork,
5922 catch_fork_child_follow): Check for updated fork messages emitted
5924 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5925 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5926 vfork_and_exec_child_follow_through_step): Check for updated vfork
5927 messages emitted from infrun.c.
5929 2014-10-24 Pedro Alves <palves@redhat.com>
5931 * gdb.base/corefile.exp: Remove references to ultrix.
5932 * gdb.base/interrupt.exp: Likewise.
5933 * gdb.base/whatis.exp: Likewise.
5934 * gdb.gdb/selftest.exp: Likewise.
5935 * gdb.threads/manythreads.exp: Likewise.
5936 * gdb.threads/print-threads.exp: Likewise.
5937 * gdb.threads/pthreads.exp:: Likewise.
5938 * gdb.threads/schedlock.exp: Likewise.
5940 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5942 * gdb.cp/non-trivial-retval.cc: Add a test case.
5943 * gdb.cp/non-trivial-retval.exp: Add a test.
5945 2014-10-20 Yao Qi <yao@codesourcery.com>
5947 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5948 * gdb.python/py-objfile-script-gdb.py: New file.
5949 * gdb.python/py-objfile-script.exp: Update reference to
5950 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5951 of remote_download. Remove the dest file.
5953 2014-10-20 Yao Qi <yao@codesourcery.com>
5955 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5956 * gdb.base/step-line.exp: Likewise.
5957 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5958 * gdb.dwarf2/dw2-basic.exp: Likewise.
5959 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5960 * gdb.dwarf2/dw2-filename.exp: Likewise.
5961 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5962 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5963 * gdb.dwarf2/dw2-producer.exp: Likewise.
5964 * gdb.dwarf2/mac-fileno.exp: Likewise.
5965 * gdb.python/py-frame-args.exp: Likewise.
5966 * gdb.python/py-framefilter.exp: Likewise.
5967 * gdb.python/py-mi.exp: Likewise.
5968 * gdb.python/py-objfile-script.exp: Likewise
5969 * gdb.python/py-pp-integral.exp: Likewise.
5970 * gdb.python/py-pp-re-notag.exp: Likewise.
5971 * gdb.python/py-prettyprint.exp: Likewise.
5972 * gdb.python/py-section-script.exp: Likewise.
5973 * gdb.python/py-typeprint.exp: Likewise.
5974 * gdb.python/py-xmethods.exp: Likewise.
5975 * gdb.stabs/weird.exp: Likewise.
5976 * gdb.xml/tdesc-regs.exp: Likewise.
5978 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5980 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5981 (out_cu): Use addr_len for the size of addresses.
5982 (out_line): Likewise. Size DW_LNE_set_address instruction
5983 according to addr_len.
5984 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5985 (FUNC): Add START_INSNS to definition.
5987 2014-10-18 Yao Qi <yao@codesourcery.com>
5989 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5990 gdb_has_argv0 return true.
5991 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5992 check [target_info exists noargs], check [gdb_has_argv0]
5994 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5995 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5998 2014-10-17 Doug Evans <dje@google.com>
6000 * gdb.python/py-events.exp: Update expected output for clear_objfiles
6002 * gdb.python/py-events.py: Add clear_objfiles event.
6004 2014-10-17 Doug Evans <dje@google.com>
6006 * gdb.python/py-objfile.exp: Test progspace attribute.
6008 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
6010 * gdb.guile/scm-breakpoint.exp: Do not assume any
6011 directory separators when matching source file paths.
6012 * gdb.python/py-breakpoint.exp: Likewise.
6013 * gdb.reverse/break-precsave.exp: Likewise.
6014 * gdb.reverse/break-reverse.exp: Likewise.
6015 * gdb.reverse/consecutive-precsave.exp: Likewise.
6016 * gdb.reverse/finish-precsave.exp: Likewise.
6017 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6018 * gdb.reverse/finish-reverse.exp: Likewise.
6019 * gdb.reverse/i386-precsave.exp: Likewise.
6020 * gdb.reverse/i387-env-reverse.exp: Likewise.
6021 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6022 * gdb.reverse/machinestate-precsave.exp: Likewise.
6023 * gdb.reverse/machinestate.exp: Likewise.
6024 * gdb.reverse/sigall-precsave.exp: Likewise.
6025 * gdb.reverse/solib-precsave.exp: Likewise.
6026 * gdb.reverse/step-precsave.exp: Likewise.
6027 * gdb.reverse/until-precsave.exp: Likewise.
6028 * gdb.reverse/watch-precsave.exp: Likewise.
6029 * gdb.reverse/watch-reverse.exp: Likewise.
6031 2014-10-17 Yao Qi <yao@codesourcery.com>
6033 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
6034 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
6036 2014-10-17 Pedro Alves <palves@redhat.com>
6039 * gdb.base/bg-execution-repeat.c: New file.
6040 * gdb.base/bg-execution-repeat.exp: New file.
6042 2014-10-17 Pedro Alves <palves@redhat.com>
6045 * gdb.base/continue-all-already-running.c: New file.
6046 * gdb.base/continue-all-already-running.exp: New file.
6048 2014-10-17 Pedro Alves <palves@redhat.com>
6051 * gdb.base/annota-input-while-running.c: New file.
6052 * gdb.base/annota-input-while-running.exp: New file.
6054 2014-10-17 Pedro Alves <palves@redhat.com>
6056 * gdb.base/callfuncs.exp: emove references to osf.
6057 * gdb.base/sigall.exp: Likewise.
6058 * gdb.gdb/selftest.exp: Likewise.
6059 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6060 * gdb.mi/non-stop.c: Likewise.
6061 * gdb.mi/pthreads.c: Likewise.
6062 * gdb.reverse/sigall-precsave.exp: Likewise.
6063 * gdb.reverse/sigall-reverse.exp: Likewise.
6064 * gdb.threads/pthreads.c: Likewise.
6065 * gdb.threads/pthreads.exp: Likewise.
6067 2014-10-17 Yao Qi <yao@codesourcery.com>
6069 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
6070 check 'target_info exists noargs'.
6071 (test_command_prompt_position): Likewise.
6072 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
6074 (progvar_simple_while_test): Likewise.
6075 (progvar_complex_if_while_test): Likewise.
6076 (if_while_breakpoint_command_test): Likewise.
6077 (infrun_breakpoint_command_test): Likewise.
6078 (breakpoint_command_test): Likewise.
6079 (watchpoint_command_test): Likewise.
6080 (bp_deleted_in_command_test): Likewise.
6081 (temporary_breakpoint_commands): Likewise.
6083 2014-10-16 Yao Qi <yao@codesourcery.com>
6085 * gdb.base/remotetimeout.exp: Remove noargs checking.
6087 2014-10-15 Pedro Alves <palves@redhat.com>
6090 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6091 * gdb.base/breakpoint-in-ro-region.exp
6092 (probe_target_hardware_step): New procedure.
6093 (top level): Probe hardware stepping and hardware breakpoint
6094 support. Test stepping through a read-only region, with both
6095 "breakpoint auto-hw" on and off and both "always-inserted" on and
6098 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6100 * gdb.dlang/demangle.exp: Update for demangling changes.
6102 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6104 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6105 * gdb.cp/non-trivial-retval.exp: Add new tests.
6107 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6111 * gdb.cp/non-trivial-retval.cc: New file.
6112 * gdb.cp/non-trivial-retval.exp: New file.
6114 2014-10-15 Yao Qi <yao@codesourcery.com>
6116 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6119 2014-10-15 Yao Qi <yao@codesourcery.com>
6121 * gdb.python/py-symbol.exp: Match file base name if host is
6122 remote, otherwise match file name with dir name.
6123 * gdb.python/py-symtab.exp: Likewise.
6124 * gdb.python/python.exp: Likewise.
6126 2014-10-15 Yao Qi <yao@codesourcery.com>
6128 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6130 * gdb.python/py-symtab.exp: Likewise.
6131 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6134 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6136 * gdb.ada/addr_arith: New testcase.
6138 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6140 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6141 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6142 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6143 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6145 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6147 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6148 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6149 * gdb.arch/stap-eval-lang-ada.exp: New file.
6151 2014-10-14 Yao Qi <yao@codesourcery.com>
6153 * gdb.mi/mi-var-child.c (nothing1): New function.
6154 (nothing2): New function.
6155 (do_children_tests): Set function pointers by nothing1 and
6157 * gdb.mi/mi-var-child.exp: Step over new added statements.
6158 Update test to match the new output.
6159 * gdb.mi/var-cmd.c (nothing1): New function.
6160 (nothing2): New function.
6161 (do_children_tests): Set function pointers by nothing1 and
6163 * gdb.mi/mi-var-display.exp: Update test to match output.
6164 Step to the line specified by $line_dct_nothing.
6165 Increase the number of lines to step.
6167 2014-10-14 Yao Qi <yao@codesourcery.com>
6169 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6171 * gdb.mi/mi2-var-child.exp: Likewise.
6173 2014-10-13 Doug Evans <dje@google.com>
6175 * gdb.python/py-objfile.exp: Change name of file name test.
6177 2014-10-13 Doug Evans <dje@google.com>
6179 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6180 from the start of the CU.
6182 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6183 Yao Qi <yao@codesourcery.com>
6185 Fix "save breakpoints" for "catch" command.
6186 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6187 Remove -nonewline. Match also the added "main" line.
6189 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6191 Fix "save breakpoints" for "disable $bpnum" command.
6192 * gdb.base/save-bp.c (main): Add label.
6193 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6195 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6197 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6199 2014-10-11 Yao Qi <yao@codesourcery.com>
6201 * gdb.server/server-kill.exp: Execute command
6202 "set remote trace-status-packet on" before "tstatus".
6204 2014-10-11 Yao Qi <yao@codesourcery.com>
6206 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6207 (main): Call getppid.
6208 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6209 and continue to it. Read variable "server_pid".
6211 2014-10-11 Yao Qi <yao@codesourcery.com>
6213 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6215 2014-10-11 Yao Qi <yao@codesourcery.com>
6217 * gdb.threads/thread-find.exp: Don't execute command
6219 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6220 * gdb.threads/linux-dp.exp: Don't check the condition
6221 $threads_created equals to zero.
6223 2014-10-10 Pedro Alves <palves@redhat.com>
6225 * gdb.base/bigcore.exp: Remove references to IRIX.
6226 * gdb.base/funcargs.exp: Likewise.
6227 * gdb.base/interrupt.exp: Likewise.
6228 * gdb.base/mips_pro.exp: Likewise.
6229 * gdb.base/nodebug.exp: Likewise.
6230 * gdb.base/setvar.exp: Likewise.
6231 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6233 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6234 Pedro Alves <palves@redhat.com>
6237 * gdb.base/vdso-warning.c: New file.
6238 * gdb.base/vdso-warning.exp: New file.
6240 2014-10-02 Doug Evans <dje@google.com>
6242 * gdb.base/structs.c (main): Don't run forever.
6244 2014-10-02 Pedro Alves <palves@redhat.com>
6246 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6247 (top level) <stop threads 1, stop threads 2>: Use it.
6249 2014-10-02 Pedro Alves <palves@redhat.com>
6251 * gdb.threads/break-while-running.exp (test): Add new
6252 'update_thread_list' argument. Skip "info threads" if false.
6253 (top level): Add new 'update_thread_list' axis.
6255 2014-10-02 Pedro Alves <palves@redhat.com>
6257 PR breakpoints/17431
6258 * gdb.base/execl-update-breakpoints.c: New file.
6259 * gdb.base/execl-update-breakpoints.exp: New file.
6261 2014-10-01 Pedro Alves <palves@redhat.com>
6263 * gdb.base/breakpoint-in-ro-region.c: New file.
6264 * gdb.base/breakpoint-in-ro-region.exp: New file.
6266 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6268 * gdb.mi/mi-exit-code.exp: New file.
6269 * gdb.mi/mi-exit-code.c: New file.
6271 2014-09-30 Yao Qi <yao@codesourcery.com>
6273 * lib/prelink-support.exp (build_executable_own_libs): Error if
6274 the target isn't native.
6276 2014-09-30 Yao Qi <yao@codesourcery.com>
6278 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6281 2014-09-22 Pedro Alves <palves@redhat.com>
6283 * gdb.threads/break-while-running.exp: New file.
6284 * gdb.threads/break-while-running.c: New file.
6286 2014-09-19 Yao Qi <yao@codesourcery.com>
6288 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6289 Invoke test. Restart GDB with --readnow and invoke test again.
6291 2014-09-19 Yao Qi <yao@codesourcery.com>
6293 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6294 proc set_breakpoint_on_gcd_function. Invoke
6295 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6296 invoke set_breakpoint_on_gcd_function again.
6298 2014-09-18 Doug Evans <dje@google.com>
6300 * gdb.dwarf2/symtab-producer.exp: New file.
6302 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6304 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6305 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6306 * gdb.base/global-var-nested-by-dso.c: Likewise.
6307 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6309 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6310 Pedro Alves <palves@redhat.com>
6312 * gdb.base/watch-bitfields.exp: Pass string other than test file
6313 name to prepare_for_testing.
6314 (watch): New procedure.
6315 (expect_watchpoint): Use with_test_prefix.
6316 (top level): Factor out tests to ...
6317 (test_watch_location, test_regular_watch): ... these new
6318 procedures, and use with_test_prefix and gdb_continue_to_end.
6320 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6322 PR breakpoints/12526
6323 * gdb.base/watch-bitfields.exp: New file.
6324 * gdb.base/watch-bitfields.c: New file.
6326 2014-09-16 Pedro Alves <palves@redhat.com>
6328 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6329 software and hardware addresses, not software address against
6332 2014-09-16 Pedro Alves <palves@redhat.com>
6334 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6335 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6337 2014-09-16 Pedro Alves <palves@redhat.com>
6339 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6341 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6342 "*-*-vxworks*" throughout.
6343 * gdb.base/break.exp: Likewise.
6344 * gdb.base/default.exp: Likewise.
6345 * gdb.base/scope.exp: Likewise.
6346 * gdb.base/sepdebug.exp: Likewise.
6347 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6349 * gdb.base/run.c: Likewise.
6350 * gdb.base/sepdebug.c: Likewise.
6351 * gdb.hp/gdb.aCC/run.c: Likewise.
6352 * gdb.reverse/until-reverse.c: Likewise.
6353 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6355 2014-09-16 Yao Qi <yao@codesourcery.com>
6357 * boards/local-remote-host-native.exp: New file.
6359 2014-09-14 Doug Evans <xdje42@gmail.com>
6361 * gdb.threads/queue-signal.c (thread_count): New variable.
6362 (thread_count_mutex, thread_count_condvar): New variables.
6363 (incr_thread_count, wait_all_threads_running): New functions.
6364 (main): Wait for all threads to be in their thread functions.
6366 2014-09-13 Doug Evans <xdje42@gmail.com>
6368 * gdb.threads/queue-signal.c: New file.
6369 * gdb.threads/queue-signal.exp: New file.
6371 2014-09-13 Doug Evans <xdje42@gmail.com>
6373 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6374 be consistent with what default_gdb_init uses.
6375 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6376 the plain text of the prompt. Add some logging printfs.
6377 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6379 2014-09-12 Pedro Alves <palves@redhat.com>
6381 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6382 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6383 * gdb.arch/i386-size-overlap.exp: Likewise.
6384 * gdb.arch/i386-size.exp: Likewise.
6385 * gdb.arch/i386-unwind.exp: Likewise.
6386 * gdb.base/a2-run.exp: Likewise.
6387 * gdb.base/break.exp: Likewise.
6388 * gdb.base/charset.exp: Likewise.
6389 * gdb.base/chng-syms.exp: Likewise.
6390 * gdb.base/commands.exp: Likewise.
6391 * gdb.base/dbx.exp: Likewise.
6392 * gdb.base/find.exp: Likewise.
6393 * gdb.base/funcargs.exp: Likewise.
6394 * gdb.base/jit-simple.exp: Likewise.
6395 * gdb.base/reread.exp: Likewise.
6396 * gdb.base/sepdebug.exp: Likewise.
6397 * gdb.base/step-bt.exp: Likewise.
6398 * gdb.cp/mb-inline.exp: Likewise.
6399 * gdb.cp/mb-templates.exp: Likewise.
6400 * gdb.objc/basicclass.exp: Likewise.
6401 * gdb.threads/killed.exp: Likewise.
6403 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6406 * gdb.arch/powerpc-stackless.S: New file.
6407 * gdb.arch/powerpc-stackless.exp: New file.
6409 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6411 * gdb.base/attach.c: Include unistd.h.
6412 (main): Call alarm. Add label postloop.
6413 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6414 gdb_breakpoint, gdb_continue_to_breakpoint.
6415 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6417 2014-09-11 Pedro Alves <palves@redhat.com>
6420 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6421 * gdb.base/attach.exp (test_command_line_attach_run): New
6423 (top level): Call it.
6425 2014-09-11 Pedro Alves <palves@redhat.com>
6427 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6428 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6429 (do_command_attach_tests): Use spawn_wait_for_attach.
6430 * gdb.base/solib-overlap.exp: Likewise.
6431 * gdb.multi/multi-attach.exp: Likewise.
6432 * gdb.python/py-prompt.exp: Likewise.
6433 * gdb.python/py-sync-interp.exp: Likewise.
6434 * gdb.server/ext-attach.exp: Likewise.
6436 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6438 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6439 command in testcase. Simplify testcase.
6441 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6443 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6445 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6447 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6449 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6451 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6453 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6455 * gdb.dwarf2/dynarr-ptr.c: New file.
6456 * gdb.dwarf2/dynarr-ptr.exp: New file.
6458 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6460 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6461 of 30 rather than hardcoding 120 for a slow test case. Take the
6462 `gdb,timeout' target setting into account for this calculation.
6463 Don't extend the timeout for the test cases that don't need it.
6465 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6467 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6468 a factor of 2 for a slow test case. Take the `gdb,timeout'
6469 target setting into account for this calculation.
6470 * gdb.reverse/until-precsave.exp: Increase the timeout by
6471 a factor of 15 and 3 respectively rather than adding 120
6472 for a pair of slow test cases. Take the `gdb,timeout'
6473 target setting into account for this calculation.
6475 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6477 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6478 timeout, don't pass one down to gdb_expect.
6479 (gdb_expect): Rework timeout selection.
6481 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6483 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6484 exception on timeout.
6485 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6486 (gdbserver_start_extended): Catch any `gdbserver_start' error
6488 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6489 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6490 `gdbserver_gdb_load' error exceptions.
6492 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6494 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6495 120 on waiting for the TCP socket to open.
6497 2014-09-09 Doug Evans <xdje42@gmail.com>
6499 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6500 _caller_matches, _any_caller_is, _any_caller_matches.
6502 2014-09-09 Doug Evans <xdje42@gmail.com>
6504 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6506 2014-09-09 Yao Qi <yao@codesourcery.com>
6508 * gdb.mi/mi-var-display.exp: Set print symbol off.
6510 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6513 * gdb.base/commands.exp: Add tests to verify user-defined
6514 commands with empty bodies.
6515 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6516 python commands in `show user command`.
6517 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6518 scheme commands in `show user command`.
6520 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6523 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6524 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6525 * gdb.python/py-framefilter-invalidarg.exp: New file.
6526 * gdb.python/py-framefilter-invalidarg.py: New file.
6528 2014-09-06 Doug Evans <xdje42@gmail.com>
6531 * gdb.python/py-caller-is.c: New file.
6532 * gdb.python/py-caller-is.exp: New file.
6534 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6537 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6538 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6540 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6543 * gdb.fortran/print-formatted.exp: New file.
6544 * gdb.fortran/print-formatted.f90: Likewise.
6546 2014-09-03 Sasha Smundak <asmundak@google.com>
6548 * gdb.python/py-frame.exp: Test Frame.read_register.
6550 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6553 * gdb.python/py-completion.exp: New file.
6554 * gdb.python/py-completion.py: Likewise.
6556 2014-08-28 Doug Evans <dje@google.com>
6558 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6559 eax,etc. are live with values set by gdb and thus the compiler can't
6561 * gdb.arch/i386-pseudo.c (main): Ditto.
6563 2014-08-27 Doug Evans <dje@google.com>
6565 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6567 2014-08-25 Doug Evans <dje@google.com>
6569 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6572 2014-08-25 Doug Evans <dje@google.com>
6574 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6576 2014-08-24 Yao Qi <yao@codesourcery.com>
6578 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6580 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6582 2014-08-22 Doug Evans <dje@google.com>
6585 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6586 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6587 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6589 2014-08-22 Yao Qi <yao@codesourcery.com>
6591 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6592 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6593 * gdb.python/python.exp: Likewise. Use .py file on the host
6594 instead of the build.
6596 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6598 * gdb.threads/gcore-stale-thread.c: New file.
6599 * gdb.threads/gcore-stale-thread.exp: New file.
6601 2014-08-21 Pedro Alves <palves@redhat.com>
6603 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6604 * gdb.base/gcore-relro-pie.exp: Likewise.
6605 * gdb.base/gcore-relro.exp: Likewise.
6606 * gdb.base/gcore.exp: Likewise.
6607 * gdb.base/print-symbol-loading.exp: Likewise.
6608 * gdb.threads/gcore-thread.exp: Likewise.
6609 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6611 2014-08-20 Pedro Alves <palves@redhat.com>
6612 Jan Kratochvil <jan.kratochvil@redhat.com>
6614 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6616 (EXPECT): Handle READ1 being set.
6617 (all): Depend on EXTRA_RULES.
6618 (check-read1, expect-read1, read1.so, read1): New rules.
6619 * README (Testsuite Parameters): Document the READ1 make variable.
6620 (Race detection): New section.
6621 * configure: Regenerate.
6622 * configure.ac: If build==host==target, and running under a
6623 GNU/glibc system, add read1 to the extra Makefile rules.
6624 (EXTRA_RULES): AC_SUBST it.
6625 * lib/read1.c: New file.
6627 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6629 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6630 the handling of variables declared as a typedef to an array
6631 which a DW_AT_data_location attribute.
6633 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6634 Pedro Alves <palves@redhat.com>
6638 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6641 2014-08-19 Pedro Alves <palves@redhat.com>
6643 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6645 2014-08-19 Yao Qi <yao@codesourcery.com>
6647 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6650 2014-08-18 David Blaikie <dblaikie@gmail.com>
6652 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6654 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6656 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6657 attribute in array range.
6659 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6661 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6663 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6666 * gdb.cp/pr17132.cc: New file.
6667 * gdb.cp/pr17132.exp: New file.
6669 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6671 * gdb.python/py-xmethods.py (A_getarrayind)
6672 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6673 Use 'print' with function call syntax.
6674 (E_method_matcher.match): Fix tab vs space indentation mixup.
6676 2014-08-15 Yao Qi <yao@codesourcery.com>
6678 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6681 2014-08-15 Yao Qi <yao@codesourcery.com>
6683 * gdb.cp/casts.exp: Set print symbol off.
6684 * gdb.cp/class2.exp: Likewise.
6685 * gdb.cp/overload.exp: Likewise.
6686 * gdb.cp/templates.exp: Likewise.
6688 2014-08-11 Doug Evans <dje@google.com>
6690 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6691 (test_load_shlib): Update.
6693 2014-08-09 Yao Qi <yao@codesourcery.com>
6695 * gdb.base/display.exp: Invoke is_address_zero_readable.
6696 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6697 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6698 * gdb.base/hbreak-unmapped.exp: Return if
6699 is_address_zero_readable returns true.
6700 * gdb.base/signest.exp: Likewise.
6701 * gdb.base/signull.exp: Likewise.
6702 * gdb.base/sigbpt.exp: Likewise.
6703 * gdb.guile/scm-disasm.exp: Do the test if
6704 is_address_zero_readable returns false.
6705 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6706 * gdb.python/py-arch.exp: Likewise.
6707 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6708 * lib/gdb.exp (is_address_zero_readable): New proc.
6710 2014-08-09 Yao Qi <yao@codesourcery.com>
6713 * gdb.mi/mi-var-display.exp: Make test messages unique.
6715 2014-08-04 Tom Tromey <tromey@redhat.com>
6717 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6720 2014-08-04 Tom Tromey <tromey@redhat.com>
6722 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6725 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6727 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6728 inner_vla_struct_object_size.
6729 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6732 2014-07-30 Pedro Alves <palves@redhat.com>
6734 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6737 2014-07-29 Yao Qi <yao@codesourcery.com>
6740 * gdb.base/until-nodebug.exp: New.
6742 2014-07-28 Doug Evans <xdje42@gmail.com>
6745 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6746 previously existing parameter, and previously ambiguously spelled
6749 2014-07-28 Will Newton <will.newton@linaro.org>
6751 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6753 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6754 Doug Evans <xdje42@gmail.com>
6757 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6759 2014-07-25 Pedro Alves <palves@redhat.com>
6761 * gdb.threads/signal-command-handle-nopass.c: New file.
6762 * gdb.threads/signal-command-handle-nopass.exp: New file.
6763 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6764 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6765 * gdb.threads/signal-delivered-right-thread.c: New file.
6766 * gdb.threads/signal-delivered-right-thread.exp: New file.
6768 2014-07-25 Pedro Alves <palves@redhat.com>
6770 * gdb.base/double-prompt-target-event-error.exp
6771 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6773 (cancel_pagination_in_target_event): Rework double prompt
6775 * gdb.base/paginate-after-ctrl-c-running.exp
6776 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6778 * gdb.base/paginate-bg-execution.exp
6779 (test_bg_execution_pagination_return)
6780 (test_bg_execution_pagination_cancel): Remove '-notransfer
6782 * gdb.base/paginate-execution-startup.exp
6783 (test_fg_execution_pagination_return)
6784 (test_fg_execution_pagination_cancel): Remove '-notransfer
6786 * gdb.base/paginate-inferior-exit.exp
6787 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6789 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6790 * lib/gdb.exp (pagination_prompt): Run text through
6792 (gdb_test_multiple): Match $pagination_prompt instead of
6794 (string_to_regexp): Move to lib/gdb-utils.exp.
6796 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6798 * gdb.arch/amd64-entry-value-paramref.S: New file.
6799 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6800 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6801 * gdb.arch/amd64-optimout-repeat.S: New file.
6802 * gdb.arch/amd64-optimout-repeat.c: New file.
6803 * gdb.arch/amd64-optimout-repeat.exp: New file.
6805 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6808 * gdb.base/statistics.exp: New file.
6810 2014-07-17 Doug Evans <dje@google.com>
6813 * gdb.base/maint.exp: Update testing of per-command stats.
6815 2014-07-16 Pedro Alves <palves@redhat.com>
6817 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6818 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6819 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6820 (tfile_write_buf): New functions.
6821 (add_memory_block): Rewrite using the above.
6822 (adjust_function_address): New function.
6823 (FUNCTION_ADDRESS): New macro.
6824 (write_basic_trace_file): Remove short_x local, and use
6825 tfile_write_16. Change type of func_addr local to unsigned long
6826 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6827 here. Cast argument of add_memory_block to char pointer.
6828 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6829 (main): Remove parameters.
6830 * gdb.trace/tfile.exp: Remove nowarnings.
6832 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6834 * gdb.base/debug-expr.exp: Test string evaluation with
6835 "debug expression" on.
6837 2014-07-15 Pedro Alves <palves@redhat.com>
6839 * gdb.base/reread.exp: Use clean_restart.
6841 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6843 * gdb.arch/avr-flash-qualifer.c: New.
6844 * gdb.arch/avr-flash-qualifer.exp: New.
6846 2014-07-14 Pedro Alves <palves@redhat.com>
6848 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6849 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6851 2014-07-14 Pedro Alves <palves@redhat.com>
6853 * gdb.base/double-prompt-target-event-error.c: New file.
6854 * gdb.base/double-prompt-target-event-error.exp: New file.
6856 2014-07-14 Pedro Alves <palves@redhat.com>
6859 * gdb.base/paginate-inferior-exit.c: New file.
6860 * gdb.base/paginate-inferior-exit.exp: New file.
6862 2014-07-14 Pedro Alves <palves@redhat.com>
6865 * gdb.base/paginate-bg-execution.c: New file.
6866 * gdb.base/paginate-bg-execution.exp: New file.
6868 2014-07-14 Pedro Alves <palves@redhat.com>
6871 * gdb.base/paginate-execution-startup.c: New file.
6872 * gdb.base/paginate-execution-startup.exp: New file.
6873 * lib/gdb.exp (pagination_prompt): New global.
6874 (default_gdb_spawn): New procedure, factored out from
6876 (default_gdb_start): Adjust to call default_gdb_spawn.
6877 (gdb_spawn): New procedure.
6879 2014-07-14 Pedro Alves <palves@redhat.com>
6881 * lib/gdb.exp (gdb_assert): New procedure.
6882 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6884 2014-07-14 Pedro Alves <palves@redhat.com>
6886 * gdb.base/execution-termios.c: New file.
6887 * gdb.base/execution-termios.exp: New file.
6889 2014-07-14 Tom Tromey <tromey@redhat.com>
6891 * gdb.cp/vla-cxx.cc: New file.
6892 * gdb.cp/vla-cxx.exp: New file.
6894 2014-07-14 Tom Tromey <tromey@redhat.com>
6896 * gdb.reverse/rerun-prec.c: New file.
6897 * gdb.reverse/rerun-prec.exp: New file.
6899 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6900 Maciej W. Rozycki <macro@codesourcery.com>
6902 * lib/gdb-utils.exp: New file.
6903 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6904 inline `gdb_init_command' processing.
6905 (gdb_start_cmd): Likewise.
6906 * lib/mi-support.exp (mi_run_cmd): Likewise.
6907 * README: Document `gdb_init_command' and `gdb_init_commands'.
6909 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6911 Fix false FAIL running under a very long directory name.
6912 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6913 and "set print elements 10000". Twice.
6915 2014-07-11 Yao Qi <yao@codesourcery.com>
6917 * gdb.base/exprs.exp: "set print symbol off".
6919 2014-07-11 Pedro Alves <palves@redhat.com>
6921 * gdb.threads/kill.c: New file.
6922 * gdb.threads/kill.exp: New file.
6924 2014-07-10 Yao Qi <yao@codesourcery.com>
6926 * gdb.trace/tfile.c (write_basic_trace_file)
6927 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6928 address written to trace file.
6930 2014-07-09 Pedro Alves <palves@redhat.com>
6932 * gdb.base/attach-wait-input.exp: New file.
6933 * gdb.base/attach-wait-input.c: New file.
6935 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6937 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6938 setting up test structures.
6939 (main): Call new test function.
6940 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6941 test function, continue into test function and walk test
6944 2014-07-02 Yao Qi <yao@codesourcery.com>
6946 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6947 'bar_start' at the beginning of functions 'foo' and 'bar'
6949 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6950 instead of 'foo' and 'bar'.
6952 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6954 * gdb.btrace/segv.exp: New.
6955 * gdb.btrace/segv.c: New.
6957 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6959 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6962 2014-06-30 Mark Wielaard <mjw@redhat.com>
6964 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6965 vulture, vilify, villar): New volatile array constants.
6966 (vindictive, vegetation): New const volatile array constants.
6967 * gdb.base/volatile.exp: Test volatile and const volatile array
6970 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6972 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6973 target lacks support for awatch, rwatch, or hbreak.
6975 2014-06-27 Yao Qi <yao@codesourcery.com>
6977 * gdb.multi/dummy-frame-restore.exp: New.
6978 * gdb.multi/dummy-frame-restore.c: New.
6980 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6982 * gdb.btrace/gcore.exp: New.
6984 2014-06-23 Pedro Alves <palves@redhat.com>
6986 * gdb.base/watchpoint-reuse-slot.c: New file.
6987 * gdb.base/watchpoint-reuse-slot.exp: New file.
6989 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6991 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6992 progspace's filename in 'info', 'enable' and 'disable' command
6995 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6997 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6998 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6999 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
7001 2014-06-20 Gary Benson <gbenson@redhat.com>
7003 * gdb.arch/i386-avx.exp: Fix include file location.
7004 * gdb.arch/i386-sse.exp: Likewise.
7006 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
7008 * gdb.dlang/expression.exp: New file.
7010 2014-06-19 Pedro Alves <palves@redhat.com>
7012 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
7014 (top level): ... here. Iterate running tests under different
7015 scheduler-locking settings.
7017 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
7019 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
7020 to DW_FORM_addr and use non-zero addresses.
7022 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
7025 * gdb.python/py-xmethods.cc: Add global function call counters and
7026 increment them in their respective functions. Remove "cout"
7028 * gdb.python/py-xmethods.exp: Make tests check the global function
7029 call counters instead of depending on inferior IO.
7031 2014-06-18 Don Breazeal <donb@codesourcery.com>
7033 * gdb.base/foll-fork.exp (default_fork_parent_follow):
7035 (explicit_fork_parent_follow): Deleted procedure.
7036 (explicit_fork_child_follow): Deleted procedure.
7037 (test_follow_fork): New procedure.
7038 (do_fork_tests): Replace calls to deleted procedures with
7039 calls to test_follow_fork and reset GDB for subsequent
7042 2014-06-17 Yao Qi <yao@codesourcery.com>
7044 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
7047 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
7049 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
7050 Initialize ptr and S explicitly.
7051 (skip_type_update_when_not_use_rtti_test): Likewise.
7053 2014-06-16 Keith Seitz <keiths@redhat.com>
7056 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
7057 the inferior is started.
7059 2014-06-16 Pedro Alves <palves@redhat.com>
7061 * gdb.base/break-main-file-remove-fail.c: New file.
7062 * gdb.base/break-main-file-remove-fail.exp: New file.
7063 * gdb.base/break-unload-file.exp: Use build_executable instead of
7064 prepare_for_testing.
7065 (test_break): New parameter "initial_load". Handle it.
7066 (top level): Add initial_load cmdline/file axis.
7068 2014-06-12 Tom Tromey <tromey@redhat.com>
7070 * gdb.base/completion.exp: Don't use directory name in test.
7072 2014-06-09 Gary Benson <gbenson@redhat.com>
7074 * gdb.base/sigall.c [Functions to send signals]: Reorder to
7075 separate the always-available ANSI-standard signals from the
7076 signals that require checking.
7078 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
7082 2014-06-07 Keith Seitz <keiths@redhat.com>
7086 * gdb.cp/var-tag.cc: New file.
7087 * gdb.cp/var-tag.exp: New file.
7088 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7089 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7090 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7091 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7093 2014-06-06 Doug Evans <xdje42@gmail.com>
7095 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7097 2014-06-06 Pedro Alves <palves@redhat.com>
7099 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7100 in target debug output instead of looking at RSP packets,
7101 disabling the test on any target that uses hardware stepping.
7104 2014-06-06 Pedro Alves <palves@redhat.com>
7106 * gdb.base/break-unload-file.exp: Fix typo.
7108 2014-06-06 Yao Qi <yao@codesourcery.com>
7110 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7111 from "jit_function" to "^jit_function".
7113 2014-06-06 Yao Qi <yao@codesourcery.com>
7115 * gdb.base/async.c (foo): Add one statement.
7116 * gdb.base/async.exp: Get the next instruction address and
7117 match the output of "nexti" by instruction address. Match
7118 the hex address in the output of "finish".
7120 2014-06-06 Gary Benson <gbenson@redhat.com>
7122 * gdb.base/call-signals.c: Remove preprocessor conditionals
7123 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7124 SIGSEGV and SIGTERM.
7125 * gdb.base/sigall.c: Likewise.
7126 * gdb.base/unwindonsignal.c: Likewise.
7127 * gdb.reverse/sigall-reverse.c: Likewise.
7129 2014-06-06 Yao Qi <yao@codesourcery.com>
7131 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7132 readable, skip the test.
7134 2014-06-06 Yao Qi <yao@codesourcery.com>
7136 * gdb.threads/staticthreads.c (thread_function): Move the line
7137 setting breakpoint on forward.
7138 * gdb.threads/staticthreads.exp: Update comments.
7140 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7142 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7143 "history-append! type error".
7145 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7147 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7148 erroneous dprintf expected input.
7150 2014-06-04 Doug Evans <xdje42@gmail.com>
7152 * gdb.guile/scm-generics.exp: Delete.
7154 2014-06-04 Doug Evans <xdje42@gmail.com>
7156 * gdb.guile/scm-breakpoint.exp: Update.
7157 Add tests for breakpoint registration.
7159 2014-06-04 Tom Tromey <tromey@redhat.com>
7161 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7163 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7164 inner_vla_struct, vla_union types. Initialize objects of those
7165 types and compute their sizes.
7167 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7168 Hui Zhu <hui@codesourcery.com>
7170 * gdb.base/fileio.exp: Add test for shell not available as well as
7172 * gdb.base/fileio.c (test_system): Check for shell twice.
7174 2014-06-04 Yao Qi <yao@codesourcery.com>
7176 * gdb.base/auto-connect-native-target.exp: Remove redundant
7177 space from the regexp pattern.
7179 2014-06-04 Yao Qi <yao@codesourcery.com>
7181 * gdb.base/default.exp: Replace "child" with "native" in
7184 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7186 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7187 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7188 * gdb.python/py-xmethods.py: Python script supporting the
7189 new testcase and tests.
7191 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7192 Pedro Alves <palves@redhat.com>
7194 PR breakpoints/17000
7195 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7196 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7198 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7200 * gdb.base/subst.exp: Add tests to verify partial path matching
7203 2014-06-03 Pedro Alves <palves@redhat.com>
7205 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7206 target that doesn't use software single-stepping.
7208 2014-06-03 Pedro Alves <palves@redhat.com>
7210 PR breakpoints/17000
7211 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7212 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7214 2014-06-02 Doug Evans <xdje42@gmail.com>
7216 * gdb.guile/scm-parameter.exp: New file.
7218 2014-06-02 Doug Evans <xdje42@gmail.com>
7220 * gdb.guile/scm-cmd.c: New file.
7221 * gdb.guile/scm-cmd.exp: New file.
7223 2014-06-02 Doug Evans <xdje42@gmail.com>
7225 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7226 pretty-printer lookup.
7227 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7228 (make-pp_s-printer): Call it.
7229 (make-pretty-printer-from-dict): New function.
7230 (lookup-pretty-printer-maker-from-dict): New function.
7231 (*pretty-printer*): Simplify.
7232 (make-objfile-pp_s-printer): New function.
7233 (install-objfile-pretty-printers!): New function.
7234 (make-progspace-pp_s-printer): New function.
7235 (install-progspace-pretty-printers!): New function.
7236 * gdb.guile/scm-progspace.c: New file.
7237 * gdb.guile/scm-progspace.exp: New file.
7239 2014-06-02 Pedro Alves <palves@redhat.com>
7241 * gdb.base/dprintf-bp-same-addr.c: New file.
7242 * gdb.base/dprintf-bp-same-addr.exp: New file.
7244 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7246 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7247 * gdb.arch/powerpc-power.s: Likewise.
7249 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7251 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7253 2014-06-01 Yao Qi <yao@codesourcery.com>
7255 * gdb.base/watchpoint.exp (test_watch_location): Check null
7256 pointer can be dereferenced. If not, do the test, otherwise
7259 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7261 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7263 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7265 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7267 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7268 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7269 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7270 * gdb.arch/amd64-invalid-stack-top.c: New file.
7271 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7273 2014-05-30 Pedro Alves <palves@redhat.com>
7275 PR breakpoints/17000
7276 * gdb.base/sss-bp-on-user-bp.c: New file.
7277 * gdb.base/sss-bp-on-user-bp.exp: New file.
7279 2014-05-30 David Blaikie <dblaikie@gmail.com>
7281 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7282 gnu_inline semantics via attribute.
7283 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7284 source explicitly specifies the required semantics.
7286 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7288 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7290 2014-05-29 Pedro Alves <palves@redhat.com>
7291 Tom Tromey <tromey@redhat.com>
7293 * gdb.base/async-shell.exp: Don't enable target-async.
7294 * gdb.base/async.exp
7295 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7297 (top level): Don't test with "target-async".
7298 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7299 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7300 * gdb.base/inferior-died.exp: Don't enable target-async.
7301 * gdb.base/interrupt-noterm.exp: Likewise.
7302 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7303 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7304 * gdb.mi/mi-nonstop.exp: Likewise.
7305 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7306 * gdb.mi/mi-nsintrall.exp: Likewise.
7307 * gdb.mi/mi-nsmoribund.exp: Likewise.
7308 * gdb.mi/mi-nsthrexec.exp: Likewise.
7309 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7310 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7311 * gdb.python/py-evsignal.exp: Don't enable target-async.
7312 * gdb.python/py-evthreads.exp: Likewise.
7313 * gdb.python/py-prompt.exp: Likewise.
7314 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7315 * gdb.server/solib-list.exp: Don't enable target-async.
7316 * gdb.threads/thread-specific-bp.exp: Likewise.
7317 * lib/mi-support.exp: Adjust to use mi-async.
7319 2014-05-29 Pedro Alves <palves@redhat.com>
7322 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7323 reason, even in sync mode.
7325 2014-05-29 Pedro Alves <palves@redhat.com>
7326 Hui Zhu <hui@codesourcery.com>
7329 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7330 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7331 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7332 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7334 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7336 * config/monitor.exp (gdb_target_monitor): Replace use of
7337 "set remotebaud" by "set serial baud".
7339 2014-05-26 Andy Wingo <wingo@igalia.com>
7341 * gdb.guile/scm-breakpoint.exp:
7342 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7343 properties instead of gdb-object-properties.
7345 2014-05-26 Yao Qi <yao@codesourcery.com>
7347 * gdb.server/no-thread-db.exp: Specify source file name
7348 explicitly when setting a breakpoint.
7350 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7352 * gdb.btrace/vdso.c: New.
7353 * gdb.btrace/vdso.exp: New.
7355 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7357 * gdb.base/gcore.exp (capture_command_output): Move ...
7358 * lib/gdb.exp (capture_command_output): ... here.
7360 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7362 * gdb.btrace/data.exp: Test memory access during btrace replay.
7364 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7366 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7368 2014-05-21 Pedro Alves <palves@redhat.com>
7371 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7372 (top level): Test that output related to execution commands is
7373 sent to the console with CLI commands, but not with MI commands.
7374 Test that breakpoint events are always mirrored to the console.
7375 Also expect the new source line to be output after a "next" in
7376 async mode too. Make it a pass/fail test.
7377 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7379 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7381 2014-05-21 Pedro Alves <palves@redhat.com>
7383 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7384 Use them to test variations of "list" after reaching a breakpoint.
7385 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7386 Test "list" with listsize 10 after reaching a breakpoint.
7387 * gdb.python/python.exp (decode_line current location line
7388 number): Adjust expected line number.
7390 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7392 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7393 behavior for $args, pass it directly to "run".
7395 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7397 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7400 2014-05-21 Pedro Alves <palves@redhat.com>
7402 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7403 auto-connect-native-target off".
7404 * gdb.base/auto-connect-native-target.c: New file.
7405 * gdb.base/auto-connect-native-target.exp: New file.
7407 2014-05-21 Pedro Alves <palves@redhat.com>
7409 * gdb.base/default.exp: Test "target native" instead of "target
7412 2014-05-21 Mark Wielaard <mjw@redhat.com>
7414 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7416 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7418 Fix TLS access for -static -pthread.
7419 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7420 <HAVE_TLS> (thread_function, main): Initialize it.
7421 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7423 <$have_tls != "">: Check TLSVAR.
7425 2014-05-21 Pedro Alves <palves@redhat.com>
7427 * gdb.base/dcache-line-read-error.c: New.
7428 * gdb.base/dcache-line-read-error.exp: New.
7430 2014-05-20 Pedro Alves <palves@redhat.com>
7432 * gdb.base/compare-sections.c: New file.
7433 * gdb.base/compare-sections.exp: New file.
7435 2014-05-20 Pedro Alves <palves@redhat.com>
7437 * gdb.base/break-idempotent.c: New file.
7438 * gdb.base/break-idempotent.exp: New file.
7440 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7442 * gdb.btrace/nohist.exp: New.
7444 2014-05-20 Yao Qi <yao@codesourcery.com>
7446 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7447 gdb.reverse directory and gdb_reverse_timeout exists in board
7449 * README: Document gdb_reverse_timeout.
7451 2014-05-20 Yao Qi <yao@codesourcery.com>
7453 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7454 'test_file_name'. Treat args as a string instead of a list.
7455 (gdb_init): Rename argument 'args' by 'test_file_name'.
7457 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7459 * gdb.arch/powerpc-power.exp: New file.
7460 * gdb.arch/powerpc-power.s: New file.
7462 2014-05-16 Doug Evans <dje@google.com>
7464 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7465 * gdb.base/completion.exp: Check that all expected files exist
7466 before doing file completion.
7468 2014-05-16 Doug Evans <dje@google.com>
7470 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7472 (do_syscall_tests_without_xml): Update.
7474 2014-05-16 Pedro Alves <palves@redhat.com>
7476 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7477 instead of "unknown output after running".
7479 2014-05-16 Yao Qi <yao@codesourcery.com>
7481 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7482 file1.txt from host at the end.
7483 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7485 2014-05-15 Doug Evans <dje@google.com>
7487 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7488 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7489 loading file. Add test for TU lookup.
7491 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7493 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7494 calling "-exec-arguments" or "set args" before running the
7497 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7499 * lib/mi-support.exp (mi_expect_stop): Expect message for
7500 inferiors that exit with non-zero exit code.
7502 2014-05-14 Yao Qi <yao@codesourcery.com>
7504 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7505 match absolute path on remote host.
7506 (test_file_list_exec_source_files): Remove "/" from the
7509 2014-05-14 Yao Qi <yao@codesourcery.com>
7511 * boards/local-remote-host-notty.exp (${board}_file): New
7514 2014-05-07 Kyle McMartin <kyle@redhat.com>
7516 Pushed by Joel Brobecker <brobecker@adacore.com>.
7517 * gdb.arch/aarch64-atomic-inst.c: New file.
7518 * gdb.arch/aarch64-atomic-inst.exp: New file.
7520 2014-05-07 Yao Qi <yao@codesourcery.com>
7522 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7523 in current context" too.
7525 2014-05-05 Keith Seitz <keiths@redhat.com>
7527 * gdb.linespec/ls-dollar.exp: Add test for linespec
7528 file:convenience_variable.
7530 2014-05-05 Yao Qi <yao@codesourcery.com>
7532 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7533 traceframes into tfile and ctf trace files. Read data from
7534 trace file and test collected data.
7535 (gdb_collect_locals_test): Likewise.
7536 (gdb_unavailable_registers_test): Likewise.
7537 (gdb_unavailable_floats): Likewise.
7538 (gdb_collect_globals_test): Likewise.
7539 (top-level): Append "ctf" to trace_file_targets if GDB
7542 2014-05-05 Yao Qi <yao@codesourcery.com>
7544 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7546 (gdb_collect_args_test_1): ... it. New proc.
7547 (gdb_collect_locals_test): Move some code to ...
7548 (gdb_collect_locals_test_1): ... it. New proc.
7549 (gdb_unavailable_registers_test): Move some code to ...
7550 (gdb_unavailable_registers_test_1): ... it. New proc.
7551 (gdb_unavailable_floats): Move some code to ...
7552 (gdb_unavailable_floats_1): ... it. New proc.
7554 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7556 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7557 probes to test for bitness recognition.
7558 * gdb.arch/amd64-stap-optional-prefix.exp
7559 (test_probe_value_without_reg): New procedure.
7560 Add code to test for different kinds of bitness.
7562 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7564 PR breakpoints/16889
7565 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7566 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7568 2014-05-01 Pedro Alves <palves@redhat.com>
7570 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7571 gdb_file_cmd if no file is specified.
7572 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7573 last_loaded_file to set the remote exec-file.
7575 2014-05-01 Pedro Alves <palves@redhat.com>
7577 * boards/local-remote-host.exp: New file.
7579 2014-05-01 Pedro Alves <palves@redhat.com>
7581 * boards/local-remote-host.exp: Rename to ...
7582 * boards/local-remote-host-notty.exp: ... this.
7584 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7586 * gdb.ada/dyn_arrayidx: New testcase.
7588 2014-04-26 Yao Qi <yao@codesourcery.com>
7590 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7591 and compute the length of function main. Save it in
7593 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7594 (top-level): Use gdb_compile to compile objects into
7595 executable and restart GDB. Remove invocation to
7596 prepare_for_testing.
7598 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7599 Pedro Alves <palves@redhat.com>
7602 * gdb.multi/multi-attach.c: New file.
7603 * gdb.multi/multi-attach.exp: New file.
7605 2014-04-25 Pedro Alves <palves@redhat.com>
7607 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7609 (top level): Test that "set remote conditional-breakpoints-packet
7610 off" works as intended.
7611 * gdb.base/dprintf.exp: Test that "set remote
7612 breakpoint-commands-packet off" works as intended.
7613 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7615 (top level): Call it.
7616 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7617 remote fast-tracepoints-packet off" works as intended.
7618 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7619 * lib/gdb.exp (gdb_is_target_remote): ... here.
7621 2014-04-24 David Blaikie <dblaikie@gmail.com>
7623 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7624 ensure clang would not discard them.
7625 * gdb.base/gdbvars.c: Ditto.
7626 * gdb.base/memattr.c: Ditto.
7627 * gdb.base/whatis.c: Ditto.
7628 * gdb.python/py-prettyprint.c: Ditto.
7629 * gdb.trace/actions.c: Ditto.
7630 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7631 ensure clang would not discard it.
7633 2014-04-24 David Blaikie <dblaikie@gmail.com>
7635 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7636 clang to emit the full definition of type required by the test
7637 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7639 2014-04-24 David Blaikie <dblaikie@gmail.com>
7641 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7642 coax Clang into emitting the definition of the type.
7643 * gdb.cp/pr10728-x.h (y): Ditto.
7644 * gdb.cp/pr10728-y.cc (y): Ditto.
7646 2014-04-24 David Blaikie <dblaikie@gmail.com>
7648 * gdb.base/label.exp: XFAIL label related tests under Clang.
7649 * gdb.cp/cplabel.exp: Ditto.
7650 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7651 under Clang those using labels.
7653 2014-04-25 Yao Qi <yao@codesourcery.com>
7655 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7657 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7658 partial_label and double_label.
7660 2014-04-24 David Blaikie <dblaikie@gmail.com>
7662 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7664 2014-04-24 David Blaikie <dblaikie@gmail.com>
7666 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7667 of the function to work across GCC and Clang.
7668 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7669 pointer types (const void ** const V void **).
7671 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7672 Walfred Tedeschi <walfred.tedeschi@intel.com>
7674 * Makefile.in (EXECUTABLES): Added i386-avx512.
7675 * gdb.arch/i386-avx512.c: New file.
7676 * gdb.arch/i386-avx512.exp: Likewise.
7678 2014-04-23 Keith Seitz <keiths@redhat.com>
7680 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7681 (mi_make_breakpoint_table): New procedure.
7682 (mi_create_breakpoint): Use mi_make_breakpoint
7683 and return the result.
7684 (mi_make_breakpoint): New procedure.
7685 (mi_build_kv_pairs): New procedure.
7687 * gdb.mi/mi-break.exp: Remove unused globals,
7688 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7689 All callers updated.
7690 * gdb.mi/mi-dprintf.exp: Use variable to track command
7692 Update all callers of mi_create_breakpoint and use
7693 mi_make_breakpoint_table.
7694 Remove any unused global variables.
7695 * gdb.mi/mi-nonstop.exp: Likewise.
7696 * gdb.mi/mi-nsintrall.exp: Likewise.
7697 * gdb.mi/mi-nsmoribund.exp: Likewise.
7698 * gdb.mi/mi-nsthrexec.exp: Likewise.
7699 * gdb.mi/mi-reverse.exp: Likewise.
7700 * gdb.mi/mi-simplerun.exp: Likewise.
7701 * gdb.mi/mi-stepn.exp: Likewise.
7702 * gdb.mi/mi-syn-frame.exp: Likewise.
7703 * gdb.mi/mi-until.exp: Likewise.
7704 * gdb.mi/mi-var-cp.exp: Likewise.
7705 * gdb.mi/mi-var-display.exp: Likewise.
7706 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7707 * gdb.mi/mi2-var-child.exp: Likewise.
7708 * gdb.mi/mi-vla-c99.exp: Likewise.
7709 * lib/mi-support.exp: Likewise.
7711 From Ian Lance Taylor <iant@cygnus.com>:
7712 * lib/gdb.exp (parse_args): New procedure.
7714 2014-04-23 Pedro Alves <palves@redhat.com>
7716 * gdb.base/break-unload-file.c: New file.
7717 * gdb.base/break-unload-file.exp: New file.
7718 * gdb.base/sym-file-lib.c (baz): New function.
7719 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7721 (load): Store the segment's mapped size.
7722 (unload): New function.
7723 (unload_shlib): New function.
7724 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7725 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7726 set a breakpoint at baz, and call it.
7727 * gdb.base/sym-file.exp: New tests for stale breakpoint
7730 2014-04-23 Pedro Alves <palves@redhat.com>
7732 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7733 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7734 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7735 * gdb.base/hbreak-unmapped.c: New file.
7736 * gdb.base/hbreak-unmapped.exp: New file.
7737 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7738 * lib/gdb.exp (gdb_is_target_remote): ... here.
7740 2014-04-22 Pedro Alves <palves@redhat.com>
7742 * gdb.base/consecutive-step-over.c: New file.
7743 * gdb.base/consecutive-step-over.exp: New file.
7745 2014-04-22 Pedro Alves <palves@redhat.com>
7747 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7748 instead of send_gdb/gdb_expect.
7750 2014-04-22 Yao Qi <yao@codesourcery.com>
7752 * lib/trace-support.exp (generate_tracefile): New procedure.
7753 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7755 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7756 if generate_tracefile returns 1.
7758 2014-04-18 Tom Tromey <palves@redhat.com>
7759 Pedro alves <tromey@redhat.com>
7762 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7763 with a backtrace limit.
7764 * gdb.python/py-frame-inline.exp: Test running to an inline
7765 function with a backtrace limit, and printing the newest frame.
7766 * gdb.python/py-frame-inline.c (main): Call f.
7768 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7770 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7772 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7774 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7775 Drop prefix from unsupported source file path.
7777 2014-04-17 Yao Qi <yao@codesourcery.com>
7779 * lib/gdb.exp (with_target_charset): New proc.
7780 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7781 with_target_charset.
7782 (test_print_strings): Likewise.
7783 (test_repeat_bytes): Likewise.
7784 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7787 2014-04-16 Keith Seitz <keiths@redhat.com>
7790 * gdb.dwarf2/corrupt.c: New file.
7791 * gdb.dwarf2/corrupt.exp: New file.
7793 2014-04-16 Keith Seitz <keiths@redhat.com>
7796 * gdb.cp/namelessclass.cc: New file.
7797 * gdb.cp/namelessclass.exp: New file.
7798 * gdb.cp/namelessclass.S: New file.
7800 2014-04-16 Doug Evans <dje@google.com>
7802 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7804 (gdbserver_default_get_comm_port): New function.
7805 (gdbserver_start): Check if board file provided
7806 "gdbserver,get_comm_port" and use it if so.
7807 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7808 (gdb,socketport): Set to "stdio".
7809 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7810 (stdio_gdbserver_template): Delete.
7811 (${board}_get_remote_address): Update.
7812 (${board}_build_remote_cmd): Delete.
7813 (${board}_get_comm_port): New function.
7814 (${board}_spawn): Update.
7815 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7817 (${board}_get_remote_address): Update.
7818 (${board}_get_comm_port): New function.
7820 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7822 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7823 appearing in any order.
7825 2014-04-15 Doug Evans <dje@google.com>
7827 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7828 uninitialized value of "description".
7830 2014-04-15 Keith Seitz <keiths@redhat.com>
7832 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7833 Remove unused globals.
7834 (test_running_the_program): Likewise.
7835 (test_controlled_execution): Likewise.
7836 (test_controlling_breakpoints): Likewise.
7837 (test_program_termination): Likewise.
7839 2014-04-15 Keith Seitz <keiths@redhat.com>
7841 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7843 (test_rbreak_creation_and_listing): Likewise.
7844 (test_ignore_count): Likewise.
7845 (test_error): Likewise.
7847 2014-04-15 Pedro Alves <palves@redhat.com>
7849 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7850 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7852 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7853 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7854 to sym-file-loader.c.
7855 (struct library): Forward declare.
7856 (load_shlib, lookup_function): Change prototypes.
7857 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7858 (translate_offset): Remove declarations.
7859 (get_text_addr): New declaration.
7860 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7861 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7863 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7864 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7865 here from sym-file-loader.h.
7866 (struct library): New structure.
7867 (load_shlib, lookup_function): Change prototypes and adjust to
7868 work with a struct library.
7869 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7870 (translate_offset): Make static.
7871 (get_text_addr): New function.
7872 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7874 2014-04-15 Pedro Alves <palves@redhat.com>
7876 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7878 2014-04-15 Pedro Alves <palves@redhat.com>
7880 * gdb.base/sym-file-loader.c: Include <limits.h>.
7881 (SELF_LINK): New define.
7882 (get_origin): New function.
7883 (load_shlib): Use it.
7884 * gdb.base/sym-file.exp: Don't early return if the target is
7885 remote. Use runto_main, and issue fail is that fails. Use
7887 (shlib_name): Delete.
7888 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7890 2014-04-15 Pedro Alves <palves@redhat.com>
7892 * gdb.base/sym-file.exp: Remove regex characters from test
7893 message. Don't refer to breakpoint numbers in test messages.
7895 2014-04-14 Keith Seitz <keiths@redhat.com>
7898 * gdb.cp/var-tag.cc: New file.
7899 * gdb.cp/var-tag.exp: New file.
7900 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7901 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7902 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7903 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7905 2014-04-14 Tom Tromey <tromey@redhat.com>
7907 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7908 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7910 * gdb.cp/enum-class.exp: New file.
7911 * gdb.cp/enum-class.cc: New file.
7913 2014-04-14 Tom Tromey <tromey@redhat.com>
7915 * gdb.dwarf2/enum-type.exp: New file.
7917 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7919 * gdb.mi/mi-vla-c99.exp: New file.
7920 * gdb.mi/vla.c: New file.
7922 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7924 * gdb.base/vla-datatypes.c: New file.
7925 * gdb.base/vla-datatypes.exp: New file.
7927 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7929 * gdb.base/vla-ptr.c: New file.
7930 * gdb.base/vla-ptr.exp: New file.
7932 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7934 * gdb.dwarf2/count.exp: New file.
7936 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7938 * gdb.base/vla-sideeffect.c: New file.
7939 * gdb.base/vla-sideeffect.exp: New file.
7941 2014-04-14 David Blaikie <dblaikie@gmail.com>
7943 * gdb.mi/non-stop.c: Add return value for non-void function return
7945 * gdb.threads/staticthreads.c: Ditto.
7947 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7948 Doug Evans <xdje42@gmail.com>
7950 * gdb.guile/scm-value.c: Improve test case.
7951 * gdb.guile/scm-value.exp: Add new test.
7953 2014-04-11 David Blaikie <dblaikie@gmail.com>
7955 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7956 override Clang's default.
7958 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7960 Revert the following changes (regressions):
7962 * gdb.base/vla-sideeffect.c: New file.
7963 * gdb.base/vla-sideeffect.exp: New file.
7965 * gdb.dwarf2/count.exp: New file.
7967 * gdb.base/vla-multi.c: New file.
7968 * gdb.base/vla-multi.exp: New file.
7970 * gdb.base/vla-ptr.c: New file.
7971 * gdb.base/vla-ptr.exp: New file.
7973 * gdb.base/vla-datatypes.c: New file.
7974 * gdb.base/vla-datatypes.exp: New file.
7976 * gdb.mi/mi-vla-c99.exp: New file.
7977 * gdb.mi/vla.c: New file.
7979 2014-04-11 Keith Seitz <keiths@redhat.com>
7982 * gdb.cp/cpsizeof.exp: New file.
7983 * gdb.cp/cpsizeof.cc: New file.
7985 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7987 * gdb.mi/mi-vla-c99.exp: New file.
7988 * gdb.mi/vla.c: New file.
7990 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7992 * gdb.base/vla-datatypes.c: New file.
7993 * gdb.base/vla-datatypes.exp: New file.
7995 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7997 * gdb.base/vla-ptr.c: New file.
7998 * gdb.base/vla-ptr.exp: New file.
8000 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8002 * gdb.base/vla-multi.c: New file.
8003 * gdb.base/vla-multi.exp: New file.
8005 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8007 * gdb.dwarf2/count.exp: New file.
8009 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8011 * gdb.base/vla-sideeffect.c: New file.
8012 * gdb.base/vla-sideeffect.exp: New file.
8014 2014-04-11 Yao Qi <yao@codesourcery.com>
8016 * gdb.base/completion.exp: Check file exists before running tests
8019 2014-04-10 Pedro Alves <palves@redhat.com>
8021 * gdb.base/cond-eval-mode.c: New file.
8022 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
8023 prepare_for_testing to build the new file. Check result of
8025 (test_break, test_watch): New procedures.
8026 (top level): Use them.
8028 2014-04-08 Pierre Muller <muller@sourceware.org>
8030 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
8031 Ctrl-V use for mingw hosts.
8033 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8035 * gdb.python/py-value.c: Improve test case.
8036 * gdb.python/py-value.exp: Add new test.
8038 2014-04-07 David Blaikie <dblaikie@gmail.com>
8040 * lib/compiler.c: Identify the clang compiler.
8041 * lib/compiler.cc: Ditto.
8043 2014-04-03 Yao Qi <yao@codesourcery.com>
8045 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
8047 2014-04-01 Anton Blanchard <anton@samba.org>
8049 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
8052 2014-04-01 Anton Blanchard <anton@samba.org>
8054 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
8055 prepare_for_testing.
8057 2014-04-01 Anton Blanchard <anton@samba.org>
8059 * gdb.arch/ppc64-atomic-inst.c: Remove.
8060 * gdb.arch/ppc64-atomic-inst.S: New file.
8061 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
8063 2014-03-31 Doug Evans <dje@google.com>
8065 * gdb.base/print-symbol-loading-lib.c: New file.
8066 * gdb.base/print-symbol-loading-main.c: New file.
8067 * gdb.base/print-symbol-loading.exp: New file.
8069 2014-03-31 Yao Qi <yao@codesourcery.com>
8071 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
8073 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8075 * gdb.ada/mi_dyn_arr: New testcase.
8077 2014-03-27 Doug Evans <dje@google.com>
8079 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
8081 2014-03-27 Yao Qi <yao@codesourcery.com>
8083 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
8084 if target is nios2-*-*.
8086 2014-03-26 Yao Qi <yao@codesourcery.com>
8088 * lib/gdb.exp (readline_is_used): New proc.
8089 * gdb.base/completion.exp: Move tests on command complete up.
8090 Skip the rest of tests if readline is not used.
8091 * gdb.ada/complete.exp: Skp the test if readline is not
8093 * gdb.base/filesym.exp: Likewise.
8094 * gdb.base/macscp.exp: Likewise.
8095 * gdb.base/readline-ask.exp: Likewise.
8096 * gdb.base/readline.exp: Likewise.
8097 * gdb.python/py-cmd.exp: Likewise.
8098 * gdb.trace/tfile.exp: Likewise.
8100 2014-03-26 Yao Qi <yao@codesourcery.com>
8102 * gdb.base/macscp.exp: Fix code format issues.
8104 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8106 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8107 * gdb.asm/powerpc64le.inc: New file.
8109 2014-03-25 Pedro Alves <palves@redhat.com>
8110 Doug Evans <dje@google.com>
8112 * gdb.base/source-execution.c: New file.
8113 * gdb.base/source-execution.exp: New file.
8114 * gdb.base/source-execution.gdb: New file.
8116 2014-03-24 Doug Evans <dje@google.com>
8118 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8121 2014-03-24 Hui Zhu <hui@codesourcery.com>
8122 Pedro Alves <palves@redhat.com>
8124 PR breakpoints/16101
8125 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8126 test pass/fail messages. Detect missing support for dprintf when
8127 breakpoints are actually inserted.
8128 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8129 breakpoints are actually inserted.
8130 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8133 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8135 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8137 2014-03-22 Doug Evans <xdje42@gmail.com>
8139 * gdb.python/python.exp (python not supported): Verify multi-line
8140 python command issues an error.
8141 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8142 guile command issues an error.
8144 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8146 * gdb.threads/thread-specific.exp: Handle the lack of usable
8147 $this_breakpoint and $this_thread.
8149 2014-03-21 Hui Zhu <hui@codesourcery.com>
8151 * gdb.base/attach.exp (do_command_attach_tests): New.
8153 2014-03-20 Tom Tromey <tromey@redhat.com>
8154 Pedro Alves <palves@redhat.com>
8157 * gdb.base/condbreak-call-false.c: New file.
8158 * gdb.base/condbreak-call-false.exp: New file.
8160 2014-03-20 Pedro Alves <palves@redhat.com>
8162 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8164 (block_signals, unblock_signals): Delete.
8165 (child_function_2, main): Remove references to deleted variable
8168 2014-03-20 Pedro Alves <palves@redhat.com>
8170 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8171 Use pthread_kill to signal thread 2.
8172 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8173 Adjust to make the test send itself a signal rather than using the
8174 host's "kill" command.
8176 2014-03-20 Pedro Alves <palves@redhat.com>
8178 * gdb.threads/multiple-step-overs.c: New file.
8179 * gdb.threads/multiple-step-overs.exp: New file.
8180 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8181 Adjust expected infrun debug output.
8183 2014-03-20 Pedro Alves <palves@redhat.com>
8185 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8186 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8188 2014-03-20 Pedro Alves <palves@redhat.com>
8191 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8192 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8193 of gdb_test_multiple.
8194 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8195 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8197 2014-03-20 Pedro Alves <palves@redhat.com>
8199 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8200 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8202 2014-03-19 Pedro Alves <palves@redhat.com>
8204 * gdb.base/async.exp: Remove early return.
8206 2014-03-19 Pedro Alves <palves@redhat.com>
8208 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8210 2014-03-19 Pedro Alves <palves@redhat.com>
8212 * gdb.base/async.exp (test_background): Expect \r\n after
8213 "completed." in the fail pattern.
8215 2014-03-19 Pedro Alves <palves@redhat.com>
8217 * gdb.base/async.exp (test_background): New procedure.
8218 Use it for all background execution command tests.
8220 2014-03-19 Pedro Alves <palves@redhat.com>
8222 * gdb.base/async.exp: Use prepare_for_testing.
8224 2014-03-19 Pedro Alves <palves@redhat.com>
8226 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8229 2014-03-19 Pedro Alves <palves@redhat.com>
8231 * gdb.base/async.c (main): Add "jump here" and "until here" line
8233 * gdb.base/async.exp (jump_here): New global.
8234 (jump& test): Use it.
8235 (until_here): New global.
8236 (until& test): Use it.
8238 2014-03-19 Pedro Alves <palves@redhat.com>
8240 * gdb.base/async.exp: Don't frob gdb_protocol.
8242 2014-03-18 Doug Evans <xdje42@gmail.com>
8244 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8245 Fix spelling of exec-done-display.
8247 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8250 * gdb.base/gdb-sigterm.c: New file.
8251 * gdb.base/gdb-sigterm.exp: New file.
8253 2014-03-18 Pedro Alves <palves@redhat.com>
8256 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8257 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8260 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8262 * gdb.ada/pckd_arr_ren: New testcase.
8264 2014-03-13 Doug Evans <xdje42@gmail.com>
8267 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8268 collect after discarding symbols.
8270 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8271 Doug Evans <xdje42@gmail.com>
8273 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8274 to history survives a gc.
8276 2014-03-13 Pedro Alves <palves@redhat.com>
8278 * gdb.base/default.exp: Don't test "target procfs".
8280 2014-03-13 Pedro Alves <palves@redhat.com>
8282 * gdb.base/default.exp: Update "target child" and "target procfs"
8283 tests to not expect "Unix".
8285 2014-03-12 Tom Tromey <tromey@redhat.com>
8287 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8288 New procs. Add target-async tests.
8289 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8290 Add target-async tests.
8292 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8294 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8295 'func_start' and 'func_end' for the beginning and end of the
8296 function code, respectively.
8297 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8298 'func_end' instead of 'func' and 'main'.
8300 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8302 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8303 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8304 generate the debug info assembler source.
8306 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8308 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8309 * gdb.dwarf2/arr-subrange.exp: Likewise.
8310 * gdb.dwarf2/dwz.exp: Likewise.
8311 * gdb.dwarf2/method-ptr.exp: Likewise.
8312 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8313 * gdb.dwarf2/subrange.exp: Likewise.
8314 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8315 * gdb.dwarf2/implptrpiece.exp: Likewise.
8316 * gdb.dwarf2/nostaticblock.exp: Likewise.
8318 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8320 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8321 directory to absolute path name arguments.
8323 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8325 * gdb.ada/tagged_access: New testcase.
8327 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8329 * gdb.btrace/data.exp: Update expected output.
8331 2014-03-06 Yao Qi <yao@codesourcery.com>
8333 * gdb.trace/pr16508.exp: New file.
8335 2014-03-05 Pedro Alves <palves@redhat.com>
8338 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8340 (top level): Adjust to use it. Add tests that exercise breakpoint
8341 interaction with the code-cache.
8343 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8345 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8346 test for 'history-append!'.
8348 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8350 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8351 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8352 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8353 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8354 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8355 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8357 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8359 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8360 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8361 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8363 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8365 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8367 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8369 * gdb.dwarf2/arr-stride.c: New file.
8370 * gdb.dwarf2/arr-stride.exp: New file.
8372 2014-02-26 Pedro Alves <palves@redhat.com>
8374 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8375 that won't ever trigger. Make sure that GDB reports the correct
8376 breakpoint that caused the stop.
8378 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8381 * gdb.base/auto-load-script: New file.
8382 * gdb.base/auto-load.c: New file.
8383 * gdb.base/auto-load.exp: New file.
8386 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8388 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8390 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8391 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8393 2014-02-24 Doug Evans <dje@google.com>
8395 * lib/gdb.exp (run_on_host): Log error output if program fails.
8397 2014-02-21 Pedro Alves <palves@redhat.com>
8399 * gdb.threads/step-after-sr-lock.c: Rename to ...
8400 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8401 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8402 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8405 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8408 * gdb.arch/amd64-stap-special-operands.exp: New file.
8409 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8410 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8411 * gdb.arch/amd64-stap-triplet.S: Likewise.
8412 * gdb.arch/amd64-stap-triplet.c: Likewise.
8414 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8416 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8417 in .section pseudo-op.
8419 2014-02-20 lin zuojian <manjian2006@gmail.com>
8420 Joel Brobecker <brobecker@adacore.com>
8421 Doug Evans <xdje42@gmail.com>
8424 * gdb.dwarf2/dw2-icycle.S: New file.
8425 * gdb.dwarf2/dw2-icycle.c: New file.
8426 * gdb.dwarf2/dw2-icycle.exp: New file.
8428 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8430 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8431 operations on gdb.Value objects.
8432 * gdb.python/py-value-cc.exp: Add new test to test operations on
8435 2014-02-18 Doug Evans <dje@google.com>
8437 * Makefile.in (TESTS): New variable.
8438 (expanded_tests, expanded_tests_or_none): New variables
8439 (check-single): Pass $(expanded_tests_or_none) to runtest.
8440 (check-parallel): Only run tests in $(TESTS) if non-empty.
8441 (check/no-matching-tests-found): New rule.
8442 * README: Document TESTS makefile variable.
8444 2014-02-18 Doug Evans <dje@google.com>
8446 * Makefile.in (check-parallel): rm -rf outputs temp.
8448 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8450 Fix "ERROR: no fileid for" in the testsuite.
8451 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8453 2014-02-12 Doug Evans <dje@google.com>
8455 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8456 (MISCELLANEOUS): New variable.
8457 (clean): rm -rf $(MISCELLANEOUS).
8458 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8459 dwp live in the same directory as symlinks, with each symlink pointed
8460 to a differently named file in a different directory.
8462 2014-02-11 Doug Evans <dje@google.com>
8464 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8465 of Tcl file commands.
8467 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8469 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8472 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8474 * gdb.ada/tick_length_array_enum_idx: New testcase.
8476 2014-02-10 Doug Evans <xdje42@gmail.com>
8478 * configure.ac (AC_OUTPUT): Add gdb.guile.
8479 * configure: Regenerate.
8480 * lib/gdb-guile.exp: New file.
8481 * lib/gdb.exp (get_target_charset): New function.
8482 * gdb.base/help.exp: Update expected output from "apropos apropos".
8483 * gdb.guile/Makefile.in: New file.
8484 * gdb.guile/guile.exp: New file.
8485 * gdb.guile/scm-arch.c: New file.
8486 * gdb.guile/scm-arch.exp: New file.
8487 * gdb.guile/scm-block.c: New file.
8488 * gdb.guile/scm-block.exp: New file.
8489 * gdb.guile/scm-breakpoint.c: New file.
8490 * gdb.guile/scm-breakpoint.exp: New file.
8491 * gdb.guile/scm-disasm.c: New file.
8492 * gdb.guile/scm-disasm.exp: New file.
8493 * gdb.guile/scm-equal.c: New file.
8494 * gdb.guile/scm-equal.exp: New file.
8495 * gdb.guile/scm-error.exp: New file.
8496 * gdb.guile/scm-error.scm: New file.
8497 * gdb.guile/scm-frame-args.c: New file.
8498 * gdb.guile/scm-frame-args.exp: New file.
8499 * gdb.guile/scm-frame-args.scm: New file.
8500 * gdb.guile/scm-frame-inline.c: New file.
8501 * gdb.guile/scm-frame-inline.exp: New file.
8502 * gdb.guile/scm-frame.c: New file.
8503 * gdb.guile/scm-frame.exp: New file.
8504 * gdb.guile/scm-generics.exp: New file.
8505 * gdb.guile/scm-gsmob.exp: New file.
8506 * gdb.guile/scm-iterator.c: New file.
8507 * gdb.guile/scm-iterator.exp: New file.
8508 * gdb.guile/scm-math.c: New file.
8509 * gdb.guile/scm-math.exp: New file.
8510 * gdb.guile/scm-objfile-script-gdb.in: New file.
8511 * gdb.guile/scm-objfile-script.c: New file.
8512 * gdb.guile/scm-objfile-script.exp: New file.
8513 * gdb.guile/scm-objfile.c: New file.
8514 * gdb.guile/scm-objfile.exp: New file.
8515 * gdb.guile/scm-ports.exp: New file.
8516 * gdb.guile/scm-pretty-print.c: New file.
8517 * gdb.guile/scm-pretty-print.exp: New file.
8518 * gdb.guile/scm-pretty-print.scm: New file.
8519 * gdb.guile/scm-section-script.c: New file.
8520 * gdb.guile/scm-section-script.exp: New file.
8521 * gdb.guile/scm-section-script.scm: New file.
8522 * gdb.guile/scm-symbol.c: New file.
8523 * gdb.guile/scm-symbol.exp: New file.
8524 * gdb.guile/scm-symtab-2.c: New file.
8525 * gdb.guile/scm-symtab.c: New file.
8526 * gdb.guile/scm-symtab.exp: New file.
8527 * gdb.guile/scm-type.c: New file.
8528 * gdb.guile/scm-type.exp: New file.
8529 * gdb.guile/scm-value-cc.cc: New file.
8530 * gdb.guile/scm-value-cc.exp: New file.
8531 * gdb.guile/scm-value.c: New file.
8532 * gdb.guile/scm-value.exp: New file.
8533 * gdb.guile/source2.scm: New file.
8534 * gdb.guile/types-module.cc: New file.
8535 * gdb.guile/types-module.exp: New file.
8537 2014-02-10 Yao Qi <yao@codesourcery.com>
8540 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8541 * configure: Regenerated.
8542 * Makefile.in: New file.
8544 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8546 * gdb.python/py-framefilter.exp: Fix typo.
8548 2014-02-08 Yao Qi <yao@codesourcery.com>
8550 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8551 that no =breakpoint-modified is emitted when breakpoints are
8552 modified through MI commands.
8554 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8555 Pedro Alves <palves@redhat.com>
8557 * gdb.threads/step-after-sr-lock.c: New file.
8558 * gdb.threads/step-after-sr-lock.exp: New file.
8560 2014-02-07 Pedro Alves <palves@redhat.com>
8562 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8564 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8566 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8567 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8569 2014-02-06 Doug Evans <xdje42@gmail.com>
8571 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8574 * gdb.gdb/python-interrupts.exp: New file.
8576 2014-02-05 Yao Qi <yao@codesourcery.com>
8578 * gdb.trace/report.exp (use_collected_data): Test the output
8579 of "info threads" and "info inferiors".
8581 2014-02-05 Yao Qi <yao@codesourcery.com>
8585 2013-05-24 Yao Qi <yao@codesourcery.com>
8587 * gdb.trace/tfile.exp: Test inferior and thread.
8589 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8591 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8593 * gdb.base/step-bt.c: Call hello via function pointer to make
8594 sure its first instruction is executed on powerpc64le-linux.
8596 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8598 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8600 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8602 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8603 of the test patterns for use on little-endian systems.
8605 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8607 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8608 (decimal_vector): Fix for little-endian.
8610 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8612 * gdb.arch/sparc-sysstep.exp: New file.
8613 * gdb.arch/sparc-sysstep.c: Likewise.
8615 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8617 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8619 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8621 2014-01-23 Tom Tromey <tromey@redhat.com>
8623 * gdb.ada/array_char_idx: New testcase.
8625 2014-01-23 Tom Tromey <tromey@redhat.com>
8628 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8629 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8632 2014-01-23 Tom Tromey <tromey@redhat.com>
8635 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8636 string from an inferior frame.
8637 * gdb.python/py-framefilter-mi.exp: Update.
8639 2014-01-22 Doug Evans <dje@google.com>
8641 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8643 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8645 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8647 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8649 * gdb.trace/entry-values.exp: Remove excess space character from
8650 regex patterns. Handle s390 call instruction.
8652 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8654 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8655 define "*_start" label. Make "name" static.
8656 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8657 ${name} by references to ${name}_start.
8659 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8661 * gdb.base/info-macros.exp: Remove "debug" from the compile
8664 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8666 * gdb.dlang/demangle.exp: New file.
8668 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8670 * gdb.dlang/primitive-types.exp: New file.
8672 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8674 * configure.ac: Create gdb.dlang/Makefile.
8675 * configure: Regenerate.
8676 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8677 * gdb.dlang/Makefile.in: New file.
8678 * lib/d-support.exp: New file.
8679 * lib/gdb.exp (skip_d_tests): New proc.
8681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8683 * gdb.btrace/delta.exp: Check reverse stepi.
8684 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8685 * gdb.btrace/finish.exp: New.
8686 * gdb.btrace/next.exp: New.
8687 * gdb.btrace/nexti.exp: New.
8688 * gdb.btrace/record_goto.c: Add comments.
8689 * gdb.btrace/step.exp: New.
8690 * gdb.btrace/stepi.exp: New.
8691 * gdb.btrace/multi-thread-step.c: New.
8692 * gdb.btrace/multi-thread-step.exp: New.
8693 * gdb.btrace/rn-dl-bind.c: New.
8694 * gdb.btrace/rn-dl-bind.exp: New.
8695 * gdb.btrace/data.c: New.
8696 * gdb.btrace/data.exp: New.
8697 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8701 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8702 * gdb.btrace/exception.exp: Update.
8703 * gdb.btrace/instruction_history.exp: Update.
8704 * gdb.btrace/record_goto.exp: Update.
8705 * gdb.btrace/tailcall.exp: Update.
8706 * gdb.btrace/unknown_functions.exp: Update.
8707 * gdb.btrace/delta.exp: New.
8709 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8711 * gdb.btrace/record_goto.exp: Add backtrace test.
8712 * gdb.btrace/tailcall.exp: Add backtrace test.
8714 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8716 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8717 * gdb.btrace/record_goto.c: New.
8718 * gdb.btrace/record_goto.exp: New.
8719 * gdb.btrace/x86-record_goto.S: New.
8721 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8723 * gdb.btrace/function_call_history.exp: Update tests.
8724 * gdb.btrace/instruction_history.exp: Update tests.
8726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8728 * gdb.btrace/function_call_history.exp: Fix expected field
8729 order for "record function-call-history".
8730 Add new tests for "record function-call-history /c".
8731 * gdb.btrace/exception.cc: New.
8732 * gdb.btrace/exception.exp: New.
8733 * gdb.btrace/tailcall.exp: New.
8734 * gdb.btrace/x86-tailcall.S: New.
8735 * gdb.btrace/x86-tailcall.c: New.
8736 * gdb.btrace/unknown_functions.c: New.
8737 * gdb.btrace/unknown_functions.exp: New.
8738 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8742 * gdb.btrace/instruction_history.exp: Update.
8743 * gdb.btrace/function_call_history.exp: Update.
8745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8747 * gdb.btrace/function_call_history.exp: Fix expected function
8749 * gdb.btrace/instruction_history.exp: Initialize traced.
8750 Remove traced_functions.
8752 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8754 * gdb.btrace/function_call_history.exp: Update
8755 * gdb.btrace/instruction_history.exp: Update.
8757 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8759 * gdb.btrace/enable.exp: Update expected text.
8761 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8763 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8766 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8768 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8770 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8772 * lib/gdb.exp (supports_process_record): Return true for
8773 arm*-linux*. (supports_reverse): Likewise.
8775 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8779 * gdb.python/py-type.c: Enhance test case.
8780 * gdb.python/py-value-cc.cc: Likewise
8781 * gdb.python/py-type.exp: Add new tests.
8782 * gdb.python/py-value-cc.exp: Likewise
8784 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785 Pedro Alves <palves@redhat.com>
8787 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8789 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8790 references to ${name}_start by references to ${name}.
8792 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8794 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8796 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8798 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8800 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8801 Pedro Alves <palves@redhat.com>
8803 * gdb.mi/mi-info-os.exp: Connect to the target with
8806 2014-01-08 Pedro Alves <palves@redhat.com>
8808 * gdb.threads/reconnect-signal.c: New file.
8809 * gdb.threads/reconnect-signal.exp: New file.
8811 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8813 * gdb.base/source-dir.exp: New file.
8815 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8817 * gdb.ada/mi_interface: New testcase.
8819 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8821 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8822 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8823 gdb.ada/pp-rec-component/pck.ads: New files.
8825 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8827 * gdb.python/py-pp-integral.c: New file.
8828 * gdb.python/py-pp-integral.py: New file.
8829 * gdb.python/py-pp-integral.exp: New file.
8831 For older changes see ChangeLog-1993-2013.
8837 ;; version-control: never
8840 Copyright 2014-2016 Free Software Foundation, Inc.
8841 Copying and distribution of this file, with or without modification,
8842 are permitted provided the copyright notice and this notice are preserved.