1 2016-07-13 Tom Tromey <tom@tromey.com>
4 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6 (test_watchpoints): Likewise.
7 (test_bkpt_pending): New proc.
9 2016-07-13 Tom Tromey <tom@tromey.com>
12 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
15 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
18 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
19 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
21 (g): Rename g_end_lbl to g_label.
22 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
24 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
26 2016-07-12 Tom Tromey <tom@tromey.com>
29 * gdb.python/py-unwind-maint.exp: Update tests.
31 2016-07-12 Yao Qi <yao.qi@linaro.org>
33 * lib/selftest-support.exp (selftest_setup): Match the output
34 when captured_main is inlined.
36 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
38 * gdb.fortran/derived-types.exp (result_line, result_line_2):
40 (print this%a, print this%b, print this): New tests.
41 * gdb.fortran/derived-types.f90 (this): New object and
44 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
46 * gdb.ada/arraydim.exp: Remove extra directory level in build
49 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
51 * lib/ada.exp: Remove extra directory level in build directory.
52 * gdb.ada/cond_lang.exp: Likewise.
53 * gdb.ada/exec_changed.exp: Likewise.
54 * gdb.ada/lang_switch.exp: Likewise.
56 2016-07-06 Manish Goregaokar <manish@mozilla.com>
58 * simple.rs: Add test for raw pointer subscripting
59 * simple.exp: Add test expectations
61 2016-07-05 Yao Qi <yao.qi@linaro.org>
63 * gdb.mi/mi-reverse.exp: Match =record-started output.
65 2016-07-01 Pedro Alves <palves@redhat.com>
67 * gdb.base/jit-reader.exp (info_registers_current_frame): New
69 (jit_reader_test): Test the jit reader's unwinder.
70 * gdb.base/jithost.c (jit_function_00_code): New global.
71 (main): Use memcpy to fill in the mmapped code, instead of poking
73 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
75 (read_debug_info): Save the function's range.
76 (read_sp): New function.
77 (unwind_frame): Use it. Also unwind RBP.
78 (get_frame_id): Use read_sp.
79 (gdb_init_reader): Use calloc instead of malloc.
80 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
81 parameter. Use gdb_test_multiple.
83 2016-07-01 Pedro Alves <palves@redhat.com>
84 Antoine Tremblay <antoine.tremblay@ericsson.com>
86 * gdb.threads/process-dies-while-detaching.c: New file.
87 * gdb.threads/process-dies-while-detaching.exp: New file.
89 2016-07-01 Pedro Alves <palves@redhat.com>
91 * gdb.multi/watchpoint-multi-exit.c: New file.
92 * gdb.multi/watchpoint-multi-exit.exp: New file.
94 2016-06-30 Pedro Alves <palves@redhat.com>
96 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
97 unset inferior_spawn_id.
99 2016-06-30 Pedro Alves <palves@redhat.com>
101 * lib/mi-support.exp (default_mi_gdb_start): Declare global
102 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
104 2016-06-29 Yao Qi <yao.qi@linaro.org>
106 * gdb.base/return.c: Add copyright header.
108 2016-06-29 Tom Tromey <tom@tromey.com>
111 * gdb.python/py-framefilter.exp: Add tests for setting priority
112 and disabling of non-existent frame filter.
114 2016-06-29 Yao Qi <yao.qi@linaro.org>
116 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
119 2016-06-28 Yao Qi <yao.qi@linaro.org>
121 * gdb.base/catch-syscall.exp: Remove check on isnative and target
122 triplets. Start gdb, execute catch syscall, and continue. Check
123 gdb's output to determine catch syscall is supported.
125 2016-06-27 Manish Goregaokar <manish@mozilla.com>
127 * gdb.rust/simple.rs: Add test for returning unit in a function.
128 * gdb.rust/simple.exp: Add expectation for functions returning
131 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
133 * gdb.python/py-breakpoint-create-fail.c,
134 gdb.python/py-breakpoint-create-fail.exp,
135 gdb.python/py-breakpoint-create-fail.py: New testcase.
137 2016-06-25 Manish Goregaokar <manish@mozilla.com>
140 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
141 * gdb.rust/simple.exp: Add test expectations for new NonZero
144 2016-06-24 David Taylor <dtaylor@emc.com>
146 * gdb.base/offsets.exp: New file.
147 * gdb.base/offsets.c: New file.
149 2016-06-23 Tom Tromey <tom@tromey.com>
152 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
153 before any filters are loaded.
155 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
157 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
158 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
160 * gdb.fortran/derived-type-function.exp: New file.
161 * gdb.fortran/derived-type-function.f90: New file.
164 2016-06-21 Pedro Alves <palves@redhat.com>
166 * gdb.base/new-ui.exp: New file.
167 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
168 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
169 (with_spawn_id): New procedure.
171 2016-06-21 Pedro Alves <palves@redhat.com>
173 * gdb.mi/mi-exec-run.exp: New file.
175 2016-06-21 Pedro Alves <palves@redhat.com>
177 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
178 breakpoint command's output on the main UI.
179 (test_break): New procedure, factored out from calls in the top
181 (top level): Use foreach_with_prefix to test MI as main UI and as
184 2016-06-21 Pedro Alves <palves@redhat.com>
186 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
187 (test_awatch_creation_and_listing)
188 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
189 Remove 'type' parameter.
190 (test_watchpoint_all): New parameter mi_mode. Remove
192 (top level): Use foreach_with_prefix, and add main/separate UI MI
195 2016-06-21 Pedro Alves <palves@redhat.com>
197 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
198 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
199 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
200 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
201 (gdb_main_spawn_id, mi_spawn_id): Declare and
203 (mi_create_inferior_pty): New procedure,
204 factored out from default_mi_gdb_start.
205 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
207 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
208 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
209 Use mi_create_inferior_pty.
210 (mi_gdb_start): Use eval to pass down args list.
212 2016-06-21 Pedro Alves <palves@redhat.com>
214 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
215 * gdb.opt/inline-cmds.exp: Add MI tests.
217 2016-06-21 Pedro Alves <palves@redhat.com>
219 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
221 2016-06-21 Pedro Alves <palves@redhat.com>
223 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
224 (top level): Use it instead of mi_execute_to.
226 2016-06-21 Pedro Alves <palves@redhat.com>
228 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
229 (cont_handler_str): New.
230 (signal_stop_handler): Set stop_handler_str instead of printing to
232 (continue_handler): Set cont_handler_str instead of printing to
234 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
235 mi_send_resuming_command. Print stop_handler_str and
236 cont_handler_str instead of expecting the python events print
239 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
241 * gdb.base/jit-reader.exp: New file.
242 * gdb.base/jithost.c: New file.
243 * gdb.base/jithost.h: New file.
244 * gdb.base/jitreader.c : New file.
245 * gdb.base/jit-protocol.h: New file.
247 2016-06-17 Yao Qi <yao.qi@linaro.org>
249 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
250 parameters follow_fork and detach_on_fork. Set follow-fork-mode
251 and detach-on-fork. Adjust tests.
252 (top level): Invoke break_cond_on_syscall with combinations of
253 syscall, follow-fork-mode and detach-on-fork.
255 2016-06-17 Yao Qi <yao.qi@linaro.org>
257 * gdb.base/step-over-exit.c: New.
258 * gdb.base/step-over-exit.exp: New.
260 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
262 * gdb.base/float.exp: Add target check for nds32*-*-*.
263 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
265 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
267 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
268 for unsupported target features.
269 * gdb.base/call-rt-st.exp: Likewise.
270 * gdb.base/call-sc.exp: Likewise.
271 * gdb.base/call-signal-resume.exp: Likewise.
272 * gdb.base/call-strs.exp: Likewise.
273 * gdb.base/callexit.exp: Likewise.
274 * gdb.base/callfuncs.exp: Likewise.
275 * gdb.base/nodebug.exp: Likewise.
276 * gdb.base/printcmds.exp: Likewise.
277 * gdb.base/ptype.exp: Likewise.
278 * gdb.base/structs.exp: Likewise.
279 * gdb.base/unwindonsignal.exp: Likewise.
280 * gdb.cp/gdb2495.exp: Likewise.
281 * gdb.cp/templates.exp: Likewise.
282 * gdb.cp/virtfunc.exp: Likewise.
283 * gdb.threads/hand-call-in-threads.exp: Likewise.
284 * gdb.threads/interrupted-hand-call.exp: Likewise.
285 * gdb.threads/thread-unwindonsignal.exp: Likewise.
287 2016-06-10 Tom Tromey <tom@tromey.com>
290 * gdb.rust/expr.exp: Add test for integer constant larger than
293 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
295 * gdb.fortran/nested-funcs.exp: New.
296 * gdb.fortran/nested-funcs.f90: New.
298 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
300 * gdb.base/examine-backward.c: New file.
301 * gdb.base/examine-backward.exp: New file.
303 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
305 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
308 2016-06-02 Tom Tromey <tom@tromey.com>
311 * gdb.python/py-shared.exp: Add solib_name test.
313 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
315 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
317 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
320 * gdb.dwarf2/implref.exp: Rename to...
321 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
322 * gdb.dwarf2/implref-array.c: New file.
323 * gdb.dwarf2/implref-array.exp: Likewise.
324 * gdb.dwarf2/implref-global.c: Likewise.
325 * gdb.dwarf2/implref-global.exp: Likewise.
326 * gdb.dwarf2/implref-struct.c: Likewise.
327 * gdb.dwarf2/implref-struct.exp: Likewise.
329 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
331 * gdb.trace/trace-condition.exp: Add 64bit tests.
333 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
335 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
337 (main): Adapt to 8 to 64 bits types.
338 * gdb.trace/trace-condition.exp: Add new tests.
340 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
342 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
344 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
346 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
347 Move condition tests...
348 * gdb.trace/trace-condition.exp: Here.
350 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
352 * gdb.trace/trace-condition.exp: Add counter-case tests.
354 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
357 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
358 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
360 2016-05-27 Pedro Alves <palves@redhat.com>
362 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
364 (top level): Call it, and bail out of DejaGnu is known to be bad.
366 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
368 * gdb.base/whatis.c: Extend the test case.
369 * gdb.base/whatis.exp: Add additional tests.
371 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
373 * gdb.fortran/type.f90: Add pointer variable.
374 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
376 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
378 * gdb.fortran/vla-type.exp: Fix testcase name.
380 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
382 * gdb.fortran/vla-type.exp: Access elements in nested structs.
384 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
386 * gdb.fortran/type.f90: Add nested structures.
387 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
388 * gdb.fortran/derived-type.exp: Adapt expected output.
389 * gdb.fortran/vla-type.exp: Adapt expected output.
391 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
393 * gdb.fortran/whatis_type.exp: Adapt expected output.
395 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
397 * gdb.fortran/print_type.exp: Fix expected output.
398 * gdb.fortran/whatis_type.exp: Fix expected output.
400 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
402 * gdb.fortran/whatis_type.exp: Use multi_line.
404 2016-05-24 Tom Tromey <tom@tromey.com>
407 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
408 use value as an index.
410 2016-05-23 Tom Tromey <tom@tromey.com>
413 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
416 2016-05-24 Pedro Alves <palves@redhat.com>
419 * gdb.threads/clone-attach-detach.c: New file.
420 * gdb.threads/clone-attach-detach.exp: New file.
422 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
424 * gdb.base/annota-input-while-running.exp: Fix syntax error.
426 2016-05-23 Tom Tromey <tom@tromey.com>
428 PR python/19438, PR python/18393:
429 * gdb.python/py-progspace.exp: Add "dir" test.
430 * gdb.python/py-objfile.exp: Add "dir" test.
432 2016-05-23 Yao Qi <yao.qi@linaro.org>
434 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
435 * gdb.arch/thumb2-it.exp: Likewise.
437 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
439 * gdb.mi/mi-threads-interrupt.c: New file.
440 * gdb.mi/mi-threads-interrupt.exp: New file.
442 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
445 * gdb.mi/mi-async-run.exp: New file.
446 * gdb.mi/mi-async-run.c: New file.
448 2016-05-17 Tom Tromey <tom@tromey.com>
449 Manish Goregaokar <manishsmail@gmail.com>
451 * lib/rust-support.exp: New file.
452 * lib/gdb.exp (skip_rust_tests): New proc.
453 (build_executable_from_specs): Handle rust.
454 * lib/future.exp (gdb_find_rustc): New proc.
455 (gdb_default_target_compile): Handle rust.
456 * gdb.rust/expr.exp: New file.
457 * gdb.rust/generics.exp: New file.
458 * gdb.rust/generics.rs: New file.
459 * gdb.rust/methods.exp: New file.
460 * gdb.rust/methods.rs: New file.
461 * gdb.rust/modules.exp: New file.
462 * gdb.rust/modules.rs: New file.
463 * gdb.rust/simple.exp: New file.
464 * gdb.rust/simple.rs: New file.
466 2016-05-17 Tom Tromey <tom@tromey.com>
468 * gdb.base/default.exp (set language): Add rust.
470 2016-05-17 Tom Tromey <tom@tromey.com>
472 * gdb.gdb/unittest.exp: New file.
474 2016-05-16 Yao Qi <yao.qi@linaro.org>
476 * gdb.base/batch-preserve-term-settings.exp: Remove variable
477 shell_prompt. Update shell_prompt_re.
479 2016-05-12 Doug Evans <dje@google.com>
482 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
483 $options when building executable.
484 * gdb.dwarf2/fission-loclists-pie.S: New file.
485 * gdb.dwarf2/fission-loclists-pie.exp: New file.
487 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
489 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
490 of [is_remote target],
492 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
494 * lib/gdb.exp (use_gdb_stub): New procedure.
496 2016-05-03 Yunlian Jiang <yunlian@google.com>
497 Doug Evans <dje@google.com>
500 * gdb.dwarf2/dwp-sepdebug.c: New file.
501 * gdb.dwarf2/dwp-sepdebug.exp: New file.
503 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
505 * gdb.base/detach.exp: Remove is_remote check.
507 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
509 * gdb.base/annota-input-while-running.exp: Don't check for
510 [is_remote target]. Enable annotations after running to main.
511 Remove unused "set test..." line.
513 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
515 * gdb.trace/trace-enable-disable.exp: New file.
516 * gdb.trace/trace-enable-disable.c: New file.
518 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
520 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
521 use it in info sharedlibrary test.
522 * gdb.trace/ftrace-lock.exp: Likewise.
523 * gdb.trace/ftrace.exp: Likewise.
524 * gdb.trace/range-stepping.exp: Likewise.
525 * gdb.trace/trace-break.exp: Likewise.
526 * gdb.trace/trace-condition.exp: Likewise.
527 * gdb.trace/trace-mt.exp: Likewise.
529 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
531 * lib/gdb.exp (gdb_load_shlibs): Rename to...
532 (gdb_load_shlib): ... this.
533 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
535 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
536 * gdb.base/ctxobj.exp: Likewise.
537 * gdb.base/dprintf-pending.exp: Likewise.
538 * gdb.base/dso2dso.exp: Likewise.
539 * gdb.base/fixsection.exp: Likewise.
540 * gdb.base/gcore-relro.exp: Likewise.
541 * gdb.base/gdb1555.exp: Likewise.
542 * gdb.base/global-var-nested-by-dso.exp: Likewise.
543 * gdb.base/gnu-ifunc.exp: Likewise.
544 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
545 * gdb.base/jit-so.exp (one_jit_test): Likewise.
546 * gdb.base/pending.exp: Likewise.
547 * gdb.base/print-file-var.exp: Likewise.
548 * gdb.base/print-symbol-loading.exp: Likewise.
549 * gdb.base/shlib-call.exp: Likewise.
550 * gdb.base/shreloc.exp: Likewise.
551 * gdb.base/so-impl-ld.exp: Likewise.
552 * gdb.base/solib-disc.exp: Likewise.
553 * gdb.base/solib-nodir.exp: Likewise.
554 * gdb.base/solib-overlap.exp: Likewise.
555 * gdb.base/solib-symbol.exp: Likewise.
556 * gdb.base/solib-weak.exp (do_test): Likewise.
557 * gdb.base/sym-file.exp: Likewise.
558 * gdb.base/symtab-search-order.exp: Likewise.
559 * gdb.base/type-opaque.exp: Likewise.
560 * gdb.base/unload.exp: Likewise.
561 * gdb.base/watchpoint-solib.exp: Likewise.
562 * gdb.compile/compile.exp: Likewise.
563 * gdb.cp/gdb2384.exp: Likewise.
564 * gdb.cp/infcall-dlopen.exp: Likewise.
565 * gdb.cp/re-set-overloaded.exp: Likewise.
566 * gdb.fortran/library-module.exp: Likewise.
567 * gdb.opt/solib-intra-step.exp: Likewise.
568 * gdb.python/py-finish-breakpoint.exp: Likewise.
569 * gdb.python/py-shared.exp: Likewise.
570 * gdb.reverse/solib-precsave.exp: Likewise.
571 * gdb.reverse/solib-reverse.exp: Likewise.
572 * gdb.server/solib-list.exp: Likewise.
573 * gdb.threads/dlopen-libpthread.exp: Likewise.
574 * gdb.threads/tls-shared.exp: Likewise.
575 * gdb.threads/tls-so_extern.exp: Likewise.
576 * gdb.trace/change-loc.exp: Likewise.
577 * gdb.trace/ftrace-lock.exp: Likewise.
578 * gdb.trace/ftrace.exp: Likewise.
579 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
580 * gdb.trace/pending.exp: Likewise.
581 * gdb.trace/range-stepping.exp: Likewise.
582 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
583 (strace_info_marker): Likewise.
584 (strace_probe_marker): Likewise.
585 (strace_trace_on_same_addr): Likewise.
586 (strace_trace_on_diff_addr): Likewise.
587 * gdb.trace/trace-break.exp: Likewise.
588 * gdb.trace/trace-condition.exp: Likewise.
589 * gdb.trace/trace-mt.exp: Likewise.
591 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
593 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
594 result of gdb_remote_download.
595 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
596 * gdb.base/dso2dso.exp: Likewise.
597 * gdb.base/global-var-nested-by-dso.exp: Likewise.
598 * gdb.base/print-file-var.exp: Likewise.
599 * gdb.base/shlib-call.exp: Likewise.
600 * gdb.base/shreloc.exp: Likewise.
601 * gdb.base/solib-overlap.exp: Likewise.
602 * gdb.base/solib-weak.exp (do_test): Likewise.
603 * gdb.base/unload.exp: Likewise.
605 2016-04-27 Yao Qi <yao.qi@linaro.org>
607 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
610 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
612 * vla-type.exp: Print structure from toplevel.
614 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
616 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
618 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
621 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
623 * gdb.fortran/vla-type.f90: New file.
624 * gdb.fortran/vla-type.exp: New file.
626 2016-04-25 Yao Qi <yao.qi@linaro.org>
628 * gdb.base/branch-to-self.c: New file.
629 * gdb.base/branch-to-self.exp: New file.
631 2016-04-22 Yao Qi <yao.qi@linaro.org>
633 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
636 2016-04-22 Yao Qi <yao.qi@linaro.org>
638 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
639 * gdb.base/annota3.exp: Likewise.
641 2016-04-22 Yao Qi <yao.qi@linaro.org>
643 * gdb.reverse/step-precsave.exp: Do one step and test program
644 stops in "callee" and do multiple steps until program goes out
646 * gdb.reverse/step-reverse.exp: Likewise.
648 2016-04-22 Yao Qi <yao.qi@linaro.org>
650 * gdb.trace/signal.exp: Also pass if
651 $tracepoint_hits($i) > $iterations.
653 2016-04-22 Yao Qi <yao.qi@linaro.org>
655 * gdb.trace/signal.c: New file.
656 * gdb.trace/signal.exp: New file.
658 2016-04-19 Doug Evans <xdje42@gmail.com>
660 * gdb.base/bad-file.exp: New file.
662 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
664 * gdb.dwarf2/implref.exp: New file.
666 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
668 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
669 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
670 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
671 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
672 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
673 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
674 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
675 * lib/fortran.exp (fortran_int4): New procedure.
676 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
677 (fortran_logical4): Likewise.
679 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
681 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
683 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
685 * lib/compiler.c: Add Intel specific preprocessor macros.
686 * lib/compiler.cc: Likewise.
688 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
690 * gdb.server/connect-with-no-symbol-file.c: New file.
691 * gdb.server/connect-with-no-symbol-file.exp: New file.
693 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
695 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
697 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
699 * boards/gdbserver-base.exp (${board}_download): Copy source file to
700 standard output directory.
702 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
704 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
706 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
708 * gdb.btrace/instruction_history.c (loop): Add declaration.
710 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
712 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
714 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
716 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
717 parentheses to print.
718 (continue_handler): Likewise.
720 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
722 * gdb.server/solib-list.exp: Remove is_remote check.
723 Pass shlib= to gdb_compile. Don't link shared library with
724 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
725 Run binary filename through "readlink -f" on the target.
727 2016-04-08 Pedro Alves <palves@redhat.com>
729 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
730 interpreter filename as argument to gdbserver_spawn.
731 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
732 Return empty if $last_loaded_file does not exist.
734 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
736 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
737 * gdb.base/jit-main.c: Use exit after usage.
739 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
741 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
742 GDBHISTSIZE prior to the tests.
743 * gdb.base/gdbinit-history.exp: Likewise.
745 2016-04-07 Pedro Alves <palves@redhat.com>
747 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
748 instead of build_executable. Use gdb_load_shlibs.
750 2016-04-07 Yao Qi <yao.qi@linaro.org>
752 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
753 Execute "si" command.
755 2016-04-07 Yao Qi <yao.qi@linaro.org>
757 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
758 number instead of the comments on some line.
760 2016-04-06 Don Breazeal <donb@codesourcery.com>
762 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
763 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
765 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
767 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
768 standard_output_file. Remove unused binfile variable.
770 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
772 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
773 * gdb.python/py-mi-objfile.exp: Match "list main" output
776 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
778 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
781 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
783 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
785 * gdb.trace/ftrace.exp: Likewise.
786 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
788 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
789 (gdb_load_shlibs): Copy libraries to test directory when testing
790 natively. Only set solib-search-path if testing remotely.
791 * lib/mi-support.exp (mi_load_shlibs): Likewise.
793 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
795 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
796 gdb_download. Use it even if the target is not remote.
797 * gdb.base/jit.exp (compile_jit_test): Likewise.
798 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
799 output directory if the destination board is local, otherwise use
800 the standard remote_download from DejaGnu.
801 (gdb_download): Remove.
802 (gdb_load_shlibs): Use gdb_remote_download instead of
804 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
805 Use gdb_remote_download instead of gdb_download. Use it even if
806 the target is not remote.
807 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
808 instead of gdb_download.
810 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
812 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
813 (test_insert_delete_modify): Call mi_load_shlibs before trying to
816 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
819 * gdb.base/printcmds.exp: Add artificial arrays tests.
821 2016-03-31 Pedro Alves <palves@redhat.com>
824 * gdb.base/jit-main.c: Include unistd.h.
825 (ATTACH): Define to 0 if not already defined.
826 (wait_for_gdb, mypid): New globals.
827 (WAIT_FOR_GDB): New macro.
828 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
829 some breakpoint locations.
830 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
832 (one_jit_test): Add REATTACH parameter, and handle it. Use
833 continue_to_test_location.
834 (top level): Test attach, and adjusts calls to one_jit_test.
836 2016-03-31 Pedro Alves <palves@redhat.com>
839 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
840 BINSUFFIX parameter, and handle it.
841 (top level): Adjust calls compile_jit_test.
843 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
846 * gdb.python/py-mi-events-gdb.py: New file.
847 * gdb.python/py-mi-events.c: New file.
848 * gdb.python/py-mi-events.exp: New file.
850 2016-03-30 Yao Qi <yao.qi@linaro.org>
852 * gdb.reverse/until-precsave.exp: Match function name only.
853 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
854 Move malloc to a condition block.
855 * gdb.reverse/until-reverse.exp: Match function name only.
857 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
859 * gdb.trace/ftrace.exp: Set arg0exp for s390.
860 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
861 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
862 variable for GPR 0 instead of assuming it is register 0.
863 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
864 * lib/trace-support.exp: Add s390 registers.
866 2016-03-29 Yao Qi <yao.qi@linaro.org>
868 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
870 2016-03-24 Yao Qi <yao.qi@linaro.org>
872 * gdb.reverse/break-reverse.exp: Add quotation mark in the
875 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
877 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
878 maintaining separate logic for constructing the output path.
880 2016-03-16 Don Breazeal <donb@codesourcery.com>
882 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
883 Retry fork and waitpid on interrupted system call errors.
884 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
885 Use with_timeout_factor to increase timeout by factor of 10.
887 2016-03-15 Don Breazeal <donb@codesourcery.com>
889 * gdb.cp/scope-err.cc: New test program.
890 * gdb.cp/scope-err.exp: New test script.
891 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
892 lines and "set breakpoint here" comment.
893 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
894 Fixed some whitespace and format issues.
895 * gdb.mi/mi-linespec-err-cp.cc: New test program.
896 * gdb.mi/mi-linespec-err-cp.exp: New test script.
898 2016-03-15 Doug Evans <dje@google.com>
900 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
901 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
902 All callers updated. Add tests for enums, mixed flags register.
904 2016-03-15 Doug Evans <dje@google.com>
906 * gdb.base/skip.c (main): Call test_skip_file_and_function.
907 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
909 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
911 * gdb.base/default.exp: Add $_as_string to the list of expected
912 convenience functions.
914 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
916 * gdb.base/maint.exp: New tests for 'maint info line-table'.
918 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
920 * gdb.python/py-as-string.exp: New file.
921 * gdb.python/py-as-string.c: New file.
923 2016-03-09 Pedro Alves <palves@redhat.com>
925 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
926 signal" -> "Thread NN received signal" output change.
927 * gdb.threads/ia64-sigill.exp: Likewise.
928 * gdb.threads/linux-dp.exp: Likewise.
929 * gdb.threads/manythreads.exp: Likewise.
930 * gdb.threads/pending-step.exp: Likewise.
931 * gdb.threads/print-threads.exp: Likewise.
932 * gdb.threads/sigstep-threads.exp: Likewise.
933 * gdb.threads/staticthreads.exp: Likewise.
934 * gdb.threads/tls.exp: Likewise.
936 2016-03-09 Pedro Alves <palves@redhat.com>
938 * gdb.base/command-line-input.exp: New file.
940 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
942 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
943 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
944 * gdb.trace/pending.exp: Accept leading dot before function name.
945 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
946 * lib/trace-support.exp: Set registers for ppc.
948 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
950 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
951 use it for disassembly; accept .main in addition to main in backtrace.
953 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
954 Marcin Kościelnicki <koriakin@0x04.net>
956 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
957 (gdb_recursion_test_ptr): New global variable.
958 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
962 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
964 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
967 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
969 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
970 (bar): Add bar_start_lbl label.
971 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
972 of foo/bar for emitting DWARF and tracing.
974 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
976 * analyze-racy-logs.py: Set executable bit.
978 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
980 * Makefile.in (DEFAULT_RACY_ITER): New variable.
981 (CHECK_TARGET_TMP): Likewise.
982 (check-single-racy): New rule.
983 (check-parallel-racy): Likewise.
984 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
985 (do-check-parallel-racy): New rule.
986 (check-racy/%.exp): Likewise.
987 * README (Racy testcases): New section.
988 * analyze-racy-logs.py: New file.
990 2016-03-03 Doug Evans <dje@google.com>
992 * gdb.base/skip.exp: Use with_test_prefix.
994 2016-03-03 Yao Qi <yao.qi@linaro.org>
996 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
997 Invoke step_over_syscall "clone" and break_cond_on_syscall
999 * gdb.base/step-over-clone.c: New file.
1001 2016-03-03 Yao Qi <yao.qi@linaro.org>
1003 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
1006 2016-03-03 Yao Qi <yao.qi@linaro.org>
1008 * gdb.base/disp-step-fork.c: Rename to ...
1009 * gdb.base/step-over-fork.c: ... it. New file.
1010 * gdb.base/disp-step-vfork.c: Rename to ...
1011 * gdb.base/step-over-vfork.c: ... it. New file.
1012 * gdb.base/disp-step-syscall.exp: Rename to ...
1013 * gdb.base/step-over-syscall.exp: ... it. New file.
1014 (disp_step_cross_syscall): Rename to ...
1015 (step_over_syscall): ... it.
1017 2016-03-03 Yao Qi <yao.qi@linaro.org>
1019 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
1020 If target supports condition evaluation on target, invoke
1021 break_cond_on_syscall for fork and vfork.
1023 2016-03-03 Yao Qi <yao.qi@linaro.org>
1025 * gdb.base/disp-step-syscall.exp: Don't invoke
1026 support_displaced_stepping.
1027 (disp_step_cross_syscall): Test with displaced stepping off and
1030 2016-03-03 Yao Qi <yao.qi@linaro.org>
1032 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1035 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1038 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1040 * gdb.fortran/vla-history.exp: Remove breakpoint.
1042 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1044 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1047 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1049 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1052 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1054 * gdb.mi/vla.f90: Nullify pointer after declaration.
1056 2016-03-01 Pedro Alves <palves@redhat.com>
1058 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1060 2016-03-01 Pedro Alves <palves@redhat.com>
1062 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1063 before anything else.
1064 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1066 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1067 before anything else.
1068 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1070 2016-03-01 Pedro Alves <palves@redhat.com>
1072 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1074 2016-03-01 Yao Qi <yao.qi@linaro.org>
1076 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1077 prepare_for_testing.
1079 2016-03-01 Yao Qi <yao.qi@linaro.org>
1081 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1083 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1085 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1086 manually constructing the output path.
1088 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1090 * gdb.arch/s390-stackless.S: New.
1091 * gdb.arch/s390-stackless.exp: New.
1093 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1095 * gdb.dlang/circular.c: New file.
1096 * gdb.dlang/circular.exp: New file.
1098 2016-02-26 Yao Qi <yao.qi@linaro.org>
1100 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1101 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1102 (testcases): Update.
1104 2016-02-26 Yao Qi <yao.qi@linaro.org>
1106 * gdb.reverse/aarch64.c: Rename to ...
1107 * gdb.reverse/insn-reverse.c: ... it.
1108 * gdb.reverse/aarch64.exp: Rename to ...
1109 * gdb.reverse/insn-reverse.exp: ... it.
1111 2016-02-26 Yao Qi <yao.qi@linaro.org>
1113 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1114 (testcase_ftype): New.
1115 (testcases): New array.
1117 (main): Call each element in testcases.
1118 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1119 (read_testcase): New.
1120 Do the tests in a loop.
1122 2016-02-25 Yao Qi <yao.qi@linaro.org>
1124 * gdb.base/branches.c: Remove.
1126 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1129 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1131 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1133 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1135 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1137 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1138 change x86_64 call_insn to 'callq'.
1140 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1142 * gdb.trace/tfile-avx.c: Move to...
1143 * gdb.trace/tracefile-pseudo-reg.c: Here.
1144 * gdb.trace/tfile-avx.exp: Move to...
1145 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1147 2016-02-24 Gary Benson <gbenson@redhat.com>
1149 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1152 2016-02-23 Doug Evans <dje@google.com>
1154 * gdb.base/skip.c (test_skip): New function.
1155 (end_test_skip_file_and_function): New function.
1156 (test_skip_file_and_function): New function.
1157 * gdb.base/skip1.c (test_skip): New function.
1158 (skip1_test_skip_file_and_function): New function.
1159 * gdb.base/skip.exp: Add tests for new skip options.
1160 * gdb.base/skip-solib.exp: Update expected output.
1161 * gdb.perf/skip-command.cc: New file.
1162 * gdb.perf/skip-command.exp: New file.
1163 * gdb.perf/skip-command.py: New file.
1165 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1167 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1168 info registers pattern.
1170 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1172 * lib/future.exp: Add D support.
1173 (gdb_find_gdc): New proc.
1174 (gdb_default_target_compile): Add D support.
1176 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1178 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1180 (trace_speed_test): Determine the iteration count for a time
1181 between 15..30 seconds.
1183 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1185 * gdb.arch/i386-mpx-sigsegv.c: New file.
1186 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1187 * gdb.arch/i386-mpx-simple_segv.c: New file.
1188 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1190 2016-02-18 Yao Qi <yao.qi@linaro.org>
1192 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1193 Don't call setup_kfail.
1195 2016-02-18 Yao Qi <yao.qi@linaro.org>
1197 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1198 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1200 2016-02-16 Doug Evans <dje@google.com>
1202 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1203 * gdb.base/skip1.c: Ditto.
1204 * gdb.base/skip.exp: Whitespace cleanup.
1206 2016-02-16 Don Breazeal <donb@codesourcery.com>
1209 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1210 Remove kfail for PR remote/19496.
1212 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1214 * lib/gdb.exp (standard_temp_file): Return a path specific to
1215 the runtest invocation.
1217 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1219 * gdb.trace/save-trace.exp: Change relative path to be in the
1220 standard output directory.
1222 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1224 * gdb.arch/i386-prologue.c: Add missing prototypes.
1226 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1229 * gdb.arch/i386-prologue.exp: Likewise.
1230 * gdb.arch/i386-size.exp: Likewise.
1232 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1234 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1235 define object file path.
1236 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1238 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1239 standard_output_file to define binfile.
1241 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1243 Fix compatibility with recent gfortran-5.3.1.
1244 * gdb.fortran/vla-history.exp (print vla1 allocated)
1245 (print vla2 allocated, print $2, print $3): Remove
1246 (print $4): Rename to ...
1247 (print $2): ... here.
1248 (print $9): Rename to ...
1249 (print $5): ... here.
1250 (print $10): Rename to ...
1251 (print $6): ... here.
1252 * gdb.fortran/vla.f90: Add pvla initialization.
1254 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1256 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1258 * gdb.fortran/vla-value-sub.exp: Likewise.
1260 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1262 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1264 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1266 * i386-biarch-core.exp: Define corefile using
1267 standard_output_file.
1269 2016-02-12 Yao Qi <yao.qi@linaro.org>
1271 * gdb.arch/arm-single-step-kernel-helper.c: New.
1272 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1274 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1276 * gdb.btrace/tailcall-only.exp: New.
1277 * gdb.btrace/tailcall-only.c: New.
1278 * gdb.btrace/x86_64-tailcall-only.S: New.
1279 * gdb.btrace/i686-tailcall-only.S: New.
1281 2016-02-11 Pedro Alves <palves@redhat.com>
1283 * README (Parallel testing): Add missing double quotes.
1285 2016-02-11 Pedro Alves <palves@redhat.com>
1287 * README (Parallel testing): New section.
1288 (GDB_PARALLEL): Rewrite.
1289 (FORCE_PARALLEL): Document.
1291 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1293 * gdb.trace/tfile-avx.c: New test.
1294 * gdb.trace/tfile-avx.exp: New test.
1296 2016-02-09 Keith Seitz <keiths@redhat.com>
1298 PR breakpoints/19546
1299 * gdb.base/infcall-exec.c: New file.
1300 * gdb.base/infcall-exec2.c: New file.
1301 * gdb.base/infcall-exec.exp: New file.
1303 2016-02-09 Keith Seitz <keiths@redhat.com>
1305 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1306 (toplevel): Call test_bkpt_address.
1308 2016-02-09 Keith Seitz <keiths@redhat.com>
1311 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1312 (toplevel): Call test_bkpt_address.
1314 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1316 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1318 * configure: Regenerate.
1320 2016-02-09 Pedro Alves <palves@redhat.com>
1322 PR breakpoints/19548
1323 * gdb.base/execl-update-breakpoints.c (some_function): New
1326 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1327 Tighten expected GDB output.
1329 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1331 * Makefile.in (ALL_SUBDIRS): Remove.
1332 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1333 (distclean maintainer-clean realclean): Likewise.
1334 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1335 * configure: Regenerate.
1336 * gdb.ada/Makefile.in: Delete.
1337 * gdb.arch/Makefile.in: Likewise.
1338 * gdb.asm/Makefile.in: Likewise.
1339 * gdb.base/Makefile.in: Likewise.
1340 * gdb.btrace/Makefile.in: Likewise.
1341 * gdb.cell/Makefile.in: Likewise.
1342 * gdb.compile/Makefile.in: Likewise.
1343 * gdb.cp/Makefile.in: Likewise.
1344 * gdb.disasm/Makefile.in: Likewise.
1345 * gdb.dlang/Makefile.in: Likewise.
1346 * gdb.dwarf2/Makefile.in: Likewise.
1347 * gdb.fortran/Makefile.in: Likewise.
1348 * gdb.gdb/Makefile.in: Likewise.
1349 * gdb.go/Makefile.in: Likewise.
1350 * gdb.guile/Makefile.in: Likewise.
1351 * gdb.java/Makefile.in: Likewise.
1352 * gdb.linespec/Makefile.in: Likewise.
1353 * gdb.mi/Makefile.in: Likewise.
1354 * gdb.modula2/Makefile.in: Likewise.
1355 * gdb.multi/Makefile.in: Likewise.
1356 * gdb.objc/Makefile.in: Likewise.
1357 * gdb.opencl/Makefile.in: Likewise.
1358 * gdb.opt/Makefile.in: Likewise.
1359 * gdb.pascal/Makefile.in: Likewise.
1360 * gdb.perf/Makefile.in: Likewise.
1361 * gdb.python/Makefile.in: Likewise.
1362 * gdb.reverse/Makefile.in: Likewise.
1363 * gdb.server/Makefile.in: Likewise.
1364 * gdb.stabs/Makefile.in: Likewise.
1365 * gdb.threads/Makefile.in: Likewise.
1366 * gdb.trace/Makefile.in: Likewise.
1367 * gdb.xml/Makefile.in: Likewise.
1368 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1370 (standard_output_file): Remove check for GDB_PARALLEL, always
1371 return path in outputs/$subdir/$testname.
1373 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1375 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1376 (site.exp): Assign abs_srcdir to tcl's srcdir.
1378 2016-02-04 Yao Qi <yao.qi@linaro.org>
1380 * gdb.base/foll-exec-mode.c: Include limits.h.
1381 (main): Add parameters argc and argv. Get directory from
1383 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1385 * gdb.base/foll-exec.c: Include limits.h.
1386 (main): Add parameters argc and argv.
1387 Get directory from argv[0].
1388 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1389 Adjust tests on the number of lines as source code changed.
1390 * gdb.base/foll-vfork-exit.c: Include limits.h.
1391 (main): Add one line of statement before vfork.
1392 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1393 (main): Add parameters argc and argv. Get directory from
1395 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1396 (setup_gdb): Set tbreak to skip some source lines.
1397 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1398 (main): Add parameters argc and argv. Get directory from
1400 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1402 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1403 (main): Add parameters argc and argv. Get directory from
1405 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1408 2016-02-01 Doug Evans <dje@google.com>
1410 * gdb.base/skip.exp: Clean up multiple references to same test name.
1412 2016-02-01 Pedro Alves <palves@redhat.com>
1415 * gdb.threads/forking-threads-plus-breakpoint.exp
1416 (displaced_stepping_supported): New global.
1417 (probe_displaced_stepping_support): New procedure.
1418 (do_test): Add 'displaced' parameter, and use it.
1419 (top level): Check for displaced stepping support. Add displaced
1420 stepping on/off testing axis.
1422 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1424 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1425 pointer. Don't perform further tests on the unassociated pointer
1426 if the first test fails.
1428 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1430 * gdb.base/max-value-size.c: New file.
1431 * gdb.base/max-value-size.exp: New file.
1432 * gdb.base/huge.exp: Disable max-value-size for this test.
1434 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1436 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1438 2016-01-28 Yao Qi <yao.qi@linaro.org>
1440 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1442 2016-01-25 Pedro Alves <palves@redhat.com>
1445 * gdb.base/fork-running-state.c: New file.
1446 * gdb.base/fork-running-state.exp: New file.
1448 2016-01-25 Pedro Alves <palves@redhat.com>
1451 * gdb.base/catch-fork-kill.c: New file.
1452 * gdb.base/catch-fork-kill.exp: New file.
1454 2016-01-25 Pedro Alves <palves@redhat.com>
1456 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1457 Delete, moved to lib/gdb.exp.
1458 * gdb.threads/forking-threads-plus-breakpoint.exp
1459 (foreach_with_prefix): Likewise.
1460 * gdb.threads/process-dies-while-handling-bp.exp
1461 (foreach_with_prefix): Likewise.
1462 * lib/gdb.exp (foreach_with_prefix): New procedure.
1464 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1466 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1467 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1469 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1471 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1474 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1475 Pedro Alves <palves@redhat.com>
1477 Fix testsuite compatibility with Guile.
1478 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1481 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1483 Fix testsuite compatibility with Guile.
1484 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1485 (thread 1): New test for backtrace through signal handler.
1487 2016-01-22 Yao Qi <yao.qi@linaro.org>
1490 * gdb.base/multi-forks.c: Include
1491 ../lib/unbuffer_output.c
1492 (main): Call gdb_unbuffer_output.
1494 2016-01-21 Doug Evans <dje@google.com>
1496 * lib/ada.exp (gdb_compile_ada): Fix typo.
1498 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1500 * gdb.base/break-fun-addr.exp: New file.
1501 * gdb.base/break-fun-addr1.c: New file.
1502 * gdb.base/break-fun-addr2.c: New file.
1504 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1506 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1507 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1510 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1513 when GDB can not set the vector return value. Add more comments
1516 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1518 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1521 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1523 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1525 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1527 * Makefile.in (check-single): Pass --status to runtest.
1528 (check/%.exp): Likewise.
1530 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1532 * Makefile.in (check-parallel): Propagate return code from make
1535 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1537 * gdb.trace/ftrace.exp: Fix expected message on continue.
1538 * gdb.trace/pending.exp: Fix expected message on continue.
1539 * gdb.trace/trace-break.exp: Fix expected message on continue.
1541 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1543 * lib/gdb.exp (gdb_test): Remove unused global references.
1545 2016-01-18 Pedro Alves <palves@redhat.com>
1547 * gdb.base/async-shell.exp: Adjust expected output.
1548 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1549 * gdb.base/siginfo-thread.exp: Adjust expected output.
1550 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1551 * gdb.java/jnpe.exp: Adjust expected output.
1552 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1553 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1554 * gdb.threads/leader-exit.exp: Adjust expected output.
1555 * gdb.threads/manythreads.exp: Adjust expected output.
1556 * gdb.threads/pthreads.exp: Adjust expected output.
1557 * gdb.threads/schedlock.exp: Adjust expected output.
1558 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1559 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1561 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1563 * gdb.threads/sigthread.exp: Adjust expected output.
1564 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1566 2016-01-18 Yao Qi <yao.qi@linaro.org>
1568 * gdb.guile/scm-section-script.c: Replace @progbits with
1570 * gdb.python/py-section-script.c: Likewise.
1572 2016-01-15 Pedro Alves <palves@redhat.com>
1574 * gdb.multi/tids.exp: Test star wildcard ranges.
1576 2016-01-15 Pedro Alves <palves@redhat.com>
1578 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1579 command from "thread apply" invocation.
1580 (thr_apply_info_thr_invalid): Default the expected output to the
1582 (top level): Add tests that use convenience variables. Add tests
1583 for "thread apply" with a valid TID list, but missing the command.
1585 2016-01-13 Pedro Alves <palves@redhat.com>
1587 * gdb.base/default.exp: Expect $_gthread as well.
1588 * gdb.multi/tids.exp: Test $_gthread.
1589 * gdb.threads/thread-specific.exp: Test $_gthread.
1591 2016-01-13 Pedro Alves <palves@redhat.com>
1593 * gdb.multi/tids.exp: Test "info threads -gid".
1595 2016-01-13 Pedro Alves <palves@redhat.com>
1597 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1599 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1601 2016-01-07 Pedro Alves <palves@redhat.com>
1603 * gdb.base/break.exp: Adjust to output changes.
1604 * gdb.base/hbreak2.exp: Likewise.
1605 * gdb.base/sepdebug.exp: Likewise.
1606 * gdb.base/watch_thread_num.exp: Likewise.
1607 * gdb.linespec/keywords.exp: Likewise.
1608 * gdb.multi/info-threads.exp: Likewise.
1609 * gdb.threads/thread-find.exp: Likewise.
1610 * gdb.multi/tids.c: New file.
1611 * gdb.multi/tids.exp: New file.
1613 2016-01-13 Pedro Alves <palves@redhat.com>
1615 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1617 2016-01-13 Pedro Alves <palves@redhat.com>
1619 * gdb.base/default.exp: Expect $_inferior as well.
1620 * gdb.multi/base.exp: Test $_inferior.
1622 2016-01-13 Pedro Alves <palves@redhat.com>
1624 PR breakpoints/19388
1625 * gdb.base/catch-signal-siginfo-cond.c: New file.
1626 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1628 2016-01-12 Josh Stone <jistone@redhat.com>
1629 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1631 * gdb.base/catch-syscall.c (do_execve): New variable.
1632 (main): Conditionally trigger an execve.
1633 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1634 (test_catch_syscall_execve): New, check entry/return across execve.
1635 (do_syscall_tests): Call test_catch_syscall_execve.
1637 2016-01-12 Pedro Alves <palves@redhat.com>
1639 * gdb.base/random-signal.exp (do_test): New procedure, with body
1640 of testcase moved in.
1642 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1643 Pedro Alves <palves@redhat.com>
1645 * gdb.base/funcargs.exp (finish from indirectly called function):
1646 Reintroduce the case for 'First'.
1648 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1649 Pedro Alves <palves@redhat.com>
1651 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1652 (tcatch_vfork_then_child_follow_exec)
1653 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1656 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1658 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1659 and repeats to unlimited.
1660 * gdb.python/py-value.exp: Likewise.
1661 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1662 and repeats to unlimited.
1664 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1666 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1667 and reordering the functions.
1668 * gdb.multi/hangout.c: Likewise.
1669 * gdb.multi/hello.c: Likewise.
1671 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1673 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1675 (SingleStatisticTestResult.report): Use dict.keys instead of
1678 2016-01-06 Pedro Alves <palves@redhat.com>
1680 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1682 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1684 * gdb.btrace/dlopen.exp: New.
1685 * gdb.btrace/dlopen.c: New.
1686 * gdb.btrace/dlopen-dso.c: New.
1688 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1690 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1691 PATTERN argument is optional.
1693 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1695 * lib/ada.exp (target_compile_ada_from_dir): New function.
1696 (gdb_compile_ada): Reimplement avoiding the use of project files.
1697 * gdb.ada/gnat_ada.gpr: Delete.
1698 * gdb.ada/cond_lang.exp: Adjust test to make path before
1700 * gdb.ada/small_reg_param.exp: Likewise.
1702 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1704 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1706 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1708 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1711 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1713 * gdb.base/break.exp: Remove dead code.
1714 * gdb.base/sepdebug.exp: Likewise.
1716 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1718 * gdb.asm/asm-source.exp: Remove HP-UX references.
1719 * gdb.base/annota1.exp: Likewise.
1720 * gdb.base/annota3.exp: Likewise.
1721 * gdb.base/attach.exp: Likewise.
1722 * gdb.base/bigcore.exp: Likewise.
1723 * gdb.base/break.exp: Likewise.
1724 * gdb.base/call-ar-st.exp: Likewise.
1725 * gdb.base/callfuncs.exp: Likewise.
1726 * gdb.base/catch-fork-static.exp: Likewise.
1727 * gdb.base/display.exp: Likewise.
1728 * gdb.base/foll-exec-mode.exp: Likewise.
1729 * gdb.base/foll-exec.exp: Likewise.
1730 * gdb.base/foll-fork.exp: Likewise.
1731 * gdb.base/foll-vfork.exp: Likewise.
1732 * gdb.base/funcargs.exp: Likewise.
1733 * gdb.base/hbreak2.exp: Likewise.
1734 * gdb.base/inferior-died.exp: Likewise.
1735 * gdb.base/interrupt.exp: Likewise.
1736 * gdb.base/multi-forks.exp: Likewise.
1737 * gdb.base/nodebug.exp: Likewise.
1738 * gdb.base/sepdebug.exp: Likewise.
1739 * gdb.base/solib1.c: Likewise.
1740 * gdb.base/step-test.exp: Likewise.
1741 * gdb.mi/non-stop.c: Likewise.
1742 * gdb.mi/pthreads.c: Likewise.
1743 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1744 * gdb.threads/pthreads.c: Likewise.
1745 * gdb.threads/staticthreads.exp: Likewise.
1746 * lib/future.exp: Likewise.
1747 * lib/gdb.exp: Likewise.
1748 * gdb.base/so-indr-cl.c: Remove.
1749 * gdb.base/so-indr-cl.exp: Likewise.
1750 * gdb.base/solib.c: Likewise.
1751 * gdb.base/solib.exp: Likewise.
1752 * gdb.base/solib2.c: Likewise.
1754 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1756 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1757 * gdb.base/call-ar-st.exp: Likewise.
1758 * gdb.base/callfuncs.exp: Likewise.
1759 * gdb.base/condbreak.exp: Likewise.
1760 * gdb.base/constvars.exp: Likewise.
1761 * gdb.base/hbreak2.exp: Likewise.
1762 * gdb.base/langs.exp: Likewise.
1763 * gdb.base/list.exp: Likewise.
1764 * gdb.base/long_long.exp: Likewise.
1765 * gdb.base/ptype.exp: Likewise.
1766 * gdb.base/scope.exp: Likewise.
1767 * gdb.base/signals.exp: Likewise.
1768 * gdb.base/so-impl-ld.exp: Likewise.
1769 * gdb.base/varargs.exp: Likewise.
1770 * gdb.base/volatile.exp: Likewise.
1771 * gdb.base/whatis.exp: Likewise.
1772 * gdb.cp/cplusfuncs.exp: Likewise.
1773 * gdb.cp/inherit.exp: Likewise.
1774 * gdb.cp/local.exp: Likewise.
1775 * gdb.cp/member-ptr.exp: Likewise.
1776 * gdb.cp/method.exp: Likewise.
1777 * gdb.cp/overload.exp: Likewise.
1778 * gdb.cp/templates.exp: Likewise.
1779 * gdb.stabs/weird.exp: Likewise.
1780 * lib/compiler.c: Likewise.
1781 * lib/compiler.cc: Likewise.
1782 * lib/cp-support.exp: Likewise.
1783 * lib/gdb.exp: Likewise.
1785 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1787 * configure.ac: Remove HP-UX case.
1788 * configure: Regenerate.
1790 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1792 * lib/gdb.exp (gdb_compile): Add function doc.
1794 2015-12-17 Pedro Alves <palves@redhat.com>
1797 * gdb.multi/info-threads.exp: New file.
1799 2015-12-15 Yao Qi <yao.qi@linaro.org>
1801 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1804 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1806 * gdb.base/history-duplicates.exp: Skip if no readline support.
1808 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1810 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1812 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1814 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1816 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1818 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1819 ctrl-C if nointerrupts target property is set.
1820 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1821 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1822 * gdb.base/paginate-bg-execution.exp: Likewise.
1823 * gdb.base/paginate-execution-startup.exp: Likewise.
1824 * gdb.base/random-signal.exp: Likewise.
1825 * gdb.base/range-stepping.exp: Likewise.
1826 * gdb.cp/annota2.exp: Likewise.
1827 * gdb.cp/annota3.exp: Likewise.
1828 * gdb.gdb/selftest.exp: Likewise.
1829 * gdb.threads/continue-pending-status.exp: Likewise.
1830 * gdb.threads/leader-exit.exp: Likewise.
1831 * gdb.threads/manythreads.exp: Likewise.
1832 * gdb.threads/pthreads.exp: Likewise.
1833 * gdb.threads/schedlock.exp: Likewise.
1834 * gdb.threads/sigthread.exp: Likewise.
1836 2015-12-11 Don Breazeal <donb@codesourcery.com>
1838 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1840 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1841 * gdb.base/foll-exec.exp (main): Enable for target remote.
1842 * gdb.base/foll-fork.exp (main): Likewise.
1843 * gdb.base/foll-vfork.exp (main): Likewise.
1844 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1845 (proc continue_to_exit_bp_loc): Use clean_restart.
1846 * gdb.base/pie-execl.exp (main): Disable for target remote.
1847 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1848 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1849 * gdb.threads/execl.exp (main): Likewise.
1850 * gdb.threads/fork-child-threads.exp (main): Likewise.
1851 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1853 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1855 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1856 pid.tid style ptids, instead of just tid.
1857 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1858 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1859 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1860 ptids, instead of just tid.
1862 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1864 * gdb.base/list.exp (test_list_forward): Add end of file error
1866 (test_repeat_list_command): Add end of file error test.
1867 (test_list_backwards): Add beginning of file error test.
1869 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1871 * gdb.base/list.exp (test_list_invalid_args): New function,
1872 defined, and called.
1874 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1876 * gdb.base/list.exp (test_list): Make test names unique.
1878 2015-12-11 Yao Qi <yao.qi@linaro.org>
1880 * gdb.base/coremaker2.c: Remove.
1882 2015-12-10 Pedro Alves <palves@redhat.com>
1884 * gdb.multi/base.exp: Remove stale "spaces" references.
1886 2015-12-10 Pedro Alves <palves@redhat.com>
1888 * gdb.multi/base.exp: Don't use nowarnings.
1889 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1890 * gdb.multi/hangout.c: Include stdio.h.
1891 * gdb.multi/hello.c: Include stdlib.h.
1892 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1893 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1894 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1896 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1898 * gdb.dwarf2/dw2-ranges-base.c: New file.
1899 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1900 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1901 support additional line table, and debug ranges generation.
1902 (Dwarf::ranges): New function, generate .debug_ranges.
1903 (Dwarf::lines): Support generating simple line table programs.
1904 (Dwarf::assemble): Initialise new namespace variables.
1906 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1908 * gdb.base/async.exp (proc test_background): Add case for
1909 asynchronous execution not supported.
1911 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1913 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1914 format and change test names to make them unique.
1916 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1917 Pedro Alves <pedro@redhat.com>
1920 Add checking of floatformats setup on x86_64 hosts.
1921 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1922 (smallval, bigval): New labels/constants.
1923 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1924 float" after loading bigval and smallval.
1926 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1928 * gdb.ada/fun_overload_menu.exp: New testcase.
1929 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1931 2015-12-04 Josh Stone <jistone@redhat.com>
1933 * gdb.base/catch-fork-static.exp: New.
1935 2015-12-03 Yao Qi <yao.qi@linaro.org>
1937 * gdb.base/sizeof.c: Don't include stdio.h and
1938 ../lib/unbuffer_output.c.
1939 (main): New variable 'size' and 'value'. Remove printf and
1940 gdb_unbuffer_output. Assign return value to size and value.
1941 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1943 (check_sizeof): Check the result by printing variable 'size'.
1944 (check_valueof): Check the result by printing variable 'value'.
1946 2015-12-01 Yao Qi <yao.qi@linaro.org>
1948 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1949 for aarch64*-*-linux* target.
1951 2015-11-30 Pedro Alves <palves@redhat.com>
1953 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1955 2015-11-30 Pedro Alves <palves@redhat.com>
1957 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1958 Handle non-stop mode vCont replies.
1960 2015-11-30 Pedro Alves <palves@redhat.com>
1962 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1963 prepare_for_testing. Start gdb with "set non-stop on" appended to
1964 GDBFLAGS. Lax expected stop output.
1966 2015-11-27 Yao Qi <yao.qi@linaro.org>
1968 * gdb.arch/arm-neon.exp: New.
1969 * gdb.arch/arm-neon.c: New.
1971 2015-11-27 Yao Qi <yao.qi@linaro.org>
1973 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1975 2015-11-27 Yao Qi <yao.qi@linaro.org>
1977 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1978 frames-invalid annotation.
1980 2015-11-27 Yao Qi <yao.qi@linaro.org>
1982 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1984 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1986 * gdb.threads/names.exp: New file.
1987 * gdb.threads/names.c: New file.
1988 * README: Mention gdb,no_thread_names.
1990 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1993 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1996 2015-11-24 Pedro Alves <palves@redhat.com>
1999 * gdb.base/display.exp: Expect displays to be sorted in ascending
2000 order. Use multi_line.
2001 * gdb.base/solib-display.exp: Likewise.
2003 2015-11-24 Pedro Alves <palves@redhat.com>
2006 * gdb.base/display.exp: Expect displays to be sorted in ascending
2007 order. Use multi_line.
2008 * gdb.base/solib-display.exp: Likewise.
2010 2015-11-24 Pedro Alves <palves@redhat.com>
2013 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
2014 threads in ascending order.
2015 * gdb.base/foll-fork.exp: Likewise.
2016 * gdb.base/foll-vfork.exp: Likewise.
2017 * gdb.base/multi-forks.exp: Likewise.
2018 * gdb.mi/mi-nonstop.exp: Likewise.
2019 * gdb.mi/mi-nsintrall.exp: Likewise.
2020 * gdb.multi/base.exp: Likewise.
2021 * gdb.multi/multi-arch.exp: Likewise.
2022 * gdb.python/py-inferior.exp: Likewise.
2023 * gdb.threads/break-while-running.exp: Likewise.
2024 * gdb.threads/execl.exp: Likewise.
2025 * gdb.threads/gcore-thread.exp: Likewise.
2026 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2027 * gdb.threads/kill.exp: Likewise.
2028 * gdb.threads/linux-dp.exp: Likewise.
2029 * gdb.threads/multiple-step-overs.exp: Likewise.
2030 * gdb.threads/next-bp-other-thread.exp: Likewise.
2031 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2032 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2033 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2034 * gdb.threads/thread-find.exp: Likewise.
2035 * gdb.threads/tls.exp: Likewise.
2036 * lib/mi-support.exp (mi_reverse_list): Delete.
2037 (mi_check_thread_states): No longer reverse list.
2039 2015-11-24 Pedro Alves <palves@redhat.com>
2041 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2044 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2046 * gdb.trace/actions.c: Include trace-common.h.
2047 (main): Add a location for a fast tracepoint.
2048 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2049 the normal tracepoints.
2050 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2052 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2054 * save-trace.exp: Factor out code to these...
2055 (gdb_save_tracepoints): New.
2056 (gdb_load_tracepoints): New.
2057 (do_save_load_test): New.
2059 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2061 * gdb.base/asmlabel.exp: New test.
2062 * gdb.base/asmlabel.c: New test case.
2064 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2066 * gdb.base/wrong_frame_bt_full-main.c: New file.
2067 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2068 * gdb.base/wrong_frame_bt_full.exp: New file.
2070 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2072 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2074 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2076 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2077 pstate register when comparing registers values in
2078 sparc64-*-linux-gnu targets to avoid spurious differences.
2080 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2082 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2084 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2086 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2087 as type argument to gdb_compile.
2088 * gdb.base/nested-subp2.exp: Likewise.
2089 * gdb.base/nested-subp3.exp: Likewise.
2091 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2093 * lib/dwarf.exp (_note): Fix left shift of negative value.
2094 * gdb.trace/trace-condition.exp: Likewise.
2096 2015-11-13 Yao Qi <yao.qi@linaro.org>
2098 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2099 comments about d10v.
2100 (test_scalar_returns): Likewise.
2101 * gdb.base/d10v.ld: Remove.
2102 * gdb.base/overlays.exp: Remove the target triplet checking for
2104 * gdb.base/structs.exp (test_struct_returns): Remove the
2105 comments about d10v.
2106 (test_struct_calls): Likewise.
2108 2015-11-13 Yao Qi <yao.qi@linaro.org>
2110 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2111 * gdb.base/gnu_vector.c: Don't include stdio.h.
2112 (main): Don't print res and call add_some_intvecs.
2114 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2116 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2119 (func4): Use FAST_TRACEPOINT_LABEL.
2120 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2123 (thread_function): Use FAST_TRACEPOINT_LABEL.
2124 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2126 (marker): Use FAST_TRACEPOINT_LABEL.
2127 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2128 (pendfunc1): Remove.
2129 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2130 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2132 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2133 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2136 (marker): Use FAST_TRACEPOINT_LABEL.
2137 * gdb.trace/trace-common.h: New header.
2138 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2141 (marker): Use FAST_TRACEPOINT_LABEL.
2142 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2144 (thread_function): Use FAST_TRACEPOINT_LABEL.
2146 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2148 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2150 * gdb.trace/change-loc.exp: Use global pcreg definition.
2151 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2152 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2154 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2155 * gdb.trace/pending.exp: Likewise.
2156 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2157 * gdb.trace/trace-break.exp: Likewise.
2158 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2160 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2161 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2163 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2165 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2167 * gdb.ada/fin_fun_out: New testcase.
2169 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2171 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2172 value associated with DW_AT_byte_size.
2173 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2174 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2177 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2179 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2180 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2182 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2183 gdb.dwarf2/dw2-canonicalize-type.exp,
2184 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2185 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2186 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2187 provided by gdb_target_symbol_prefix_flags_asm.
2188 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2189 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2190 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2191 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2192 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2193 macros where needed). Use this macro for symbols which require
2194 the prefix provided by SYMBOL_PREFIX.
2196 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2198 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2200 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2201 representing expressions, of more than one list element.
2202 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2203 to prepend linker symbol prefix to f.
2204 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2205 table_1 and table_2.
2206 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2207 Likewise, for f and g.
2208 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2210 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2212 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2213 table_1_ptr and table_2_ptr.
2215 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2216 Joel Brobecker <brobecker@adacore.com>
2218 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2220 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2222 * gdb.reverse/s390-mvcle.c: New test.
2223 * gdb.reverse/s390-mvcle.exp: New file.
2224 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2226 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2228 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2230 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2232 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2234 * gdb.reverse/getresuid-reverse.exp: Likewise.
2235 * gdb.reverse/pipe-reverse.exp: Likewise.
2236 * gdb.reverse/readv-reverse.exp: Likewise.
2237 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2238 * gdb.reverse/time-reverse.exp: Likewise.
2239 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2241 2015-10-30 Yao Qi <yao.qi@linaro.org>
2243 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2244 (empty_cycle): Remove.
2245 (main): Don't call empty_cycle. Don't use watch_count_done.
2246 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2247 empty_cycle. Rewrite the code counting HW watchpoints.
2249 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2251 * gdb.reverse/fstatat-reverse.c: New test.
2252 * gdb.reverse/fstatat-reverse.exp: New file.
2253 * gdb.reverse/getresuid-reverse.c: New test.
2254 * gdb.reverse/getresuid-reverse.exp: New file.
2255 * gdb.reverse/pipe-reverse.c: New test.
2256 * gdb.reverse/pipe-reverse.exp: New file.
2257 * gdb.reverse/readv-reverse.c: New test.
2258 * gdb.reverse/readv-reverse.exp: New file.
2259 * gdb.reverse/recvmsg-reverse.c: New test.
2260 * gdb.reverse/recvmsg-reverse.exp: New file.
2261 * gdb.reverse/time-reverse.c: New test.
2262 * gdb.reverse/time-reverse.exp: New file.
2263 * gdb.reverse/waitpid-reverse.c: New test.
2264 * gdb.reverse/waitpid-reverse.exp: New file.
2266 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2268 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2270 2015-10-26 Doug Evans <dje@google.com>
2273 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2274 * gdb.dwarf2/bad-regnum.c: New file.
2275 * gdb.dwarf2/bad-regnum.exp: New file.
2277 2015-10-26 Doug Evans <dje@google.com>
2280 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2283 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2285 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2286 for a change by "Mention language in compile error message".
2288 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2291 * gdb.python/py-type.c (C::a_method): New.
2292 (C::a_const_method): New.
2293 (C::a_static_method): New.
2295 * gdb.python/py-type.exp (test_fields): Test getting fields
2296 from function and method.
2298 2015-10-21 Keven Boell <keven.boell@intel.com>
2300 * gdb.fortran/vla-alloc-assoc.exp: New file.
2301 * gdb.fortran/vla-datatypes.exp: New file.
2302 * gdb.fortran/vla-datatypes.f90: New file.
2303 * gdb.fortran/vla-history.exp: New file.
2304 * gdb.fortran/vla-ptype-sub.exp: New file.
2305 * gdb.fortran/vla-ptype.exp: New file.
2306 * gdb.fortran/vla-sizeof.exp: New file.
2307 * gdb.fortran/vla-sub.f90: New file.
2308 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2309 * gdb.fortran/vla-value-sub-finish.exp: New file.
2310 * gdb.fortran/vla-value-sub.exp: New file.
2311 * gdb.fortran/vla-value.exp: New file.
2312 * gdb.fortran/vla-ptr-info.exp: New file.
2313 * gdb.mi/mi-vla-fortran.exp: New file.
2314 * gdb.mi/vla.f90: New file.
2316 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2318 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2319 of hardwired timeout value.
2321 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2322 Pedro Alves <palves@redhat.com>
2324 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2325 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2327 2015-10-19 Josh Stone <jistone@redhat.com>
2329 * gdb.base/catch-syscall.c: Include <sched.h>.
2330 (unknown_syscall): New variable.
2331 (main): Trigger a vfork and an unknown syscall.
2332 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2333 (unknown_syscall_number): Likewise.
2334 (check_call_to_syscall): Accept an optional syscall pattern.
2335 (check_return_from_syscall): Likewise.
2336 (check_continue): Likewise.
2337 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2338 (test_catch_syscall_skipping_return): New test toggling off 'catch
2339 syscall' to step over the syscall return, then toggling back on.
2340 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2341 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2342 (do_syscall_tests): Call test_catch_syscall_without_args and
2343 test_catch_syscall_mid_vfork.
2344 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2345 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2347 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2349 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2350 print g_vE): Add new pass patterns.
2351 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2352 print various symbol names for vptr fields.
2354 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2356 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2359 2015-10-12 Yao Qi <yao.qi@linaro.org>
2361 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2363 2015-10-12 Yao Qi <yao.qi@linaro.org>
2365 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2366 is aarch64*-*-linux*.
2368 2015-10-12 Yao Qi <yao.qi@linaro.org>
2370 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2371 (can_relocate_bcond_true): ... it.
2372 (can_relocate_bcond_false): New function.
2374 (can_relocate_bl): Likewise.
2375 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2378 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2380 * gdb.base/nested-addr.c: New file.
2381 * gdb.base/nested-addr.exp: New testcase.
2383 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2385 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2386 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2387 its output. Ignore the output of "record goto begin" and instead
2388 check that GDB is replaying.
2390 2015-10-09 Pedro Alves <palves@redhat.com>
2392 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2393 (top level): Use it in the run with no args test.
2395 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2397 * gdb.dlang/properties.exp: New file.
2399 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2401 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2402 whether or not address 0x1000 is mapped on the target.
2404 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2406 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2409 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2411 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2412 instruction-history test.
2414 2015-09-28 Doug Evans <dje@google.com>
2416 * gdb.base/gcore.c (array_func): Add reference to static_array.
2418 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2420 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2423 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2425 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2426 short or char as base type.
2428 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2430 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2431 to allow any size enum.
2433 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2435 * gdb.ada/array_ptr_renaming.exp: New testcase.
2436 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2437 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2439 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2441 * gdb.trace/ftrace-lock.c: New file.
2442 * gdb.trace/ftrace-lock.exp: New file.
2444 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2446 * gdb.arch/insn-reloc.c: New file.
2447 * gdb.arch/ftrace-insn-reloc.exp: New file.
2449 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2451 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2453 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2454 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2455 * gdb.trace/range-stepping.c: Likewise.
2456 * gdb.trace/trace-break.c: Likewise.
2457 * gdb.trace/trace-mt.c (thread_function): Likewise.
2458 * gdb.trace/ftrace.c (marker): Likewise.
2459 * gdb.trace/trace-condition.c (marker): Likewise.
2460 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2461 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2464 2015-09-18 Doug Evans <xdje42@gmail.com>
2466 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2467 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2469 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2471 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2474 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2476 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2477 the pending breakpoint. Remove timeout override for "Run till
2478 MI pending breakpoint on pendfunc3 on thread 2" test.
2480 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2482 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2485 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2487 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2488 in breakpoint filename pattern.
2490 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2492 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2494 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2496 * gdb.linespec/explicit.exp: Check for readline support for
2497 tab-completion tests. Fix obvious typo.
2499 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2501 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2504 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2506 * gdb.btrace/non-stop.c: New.
2507 * gdb.btrace/non-stop.exp: New.
2509 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2510 Yao Qi <yao.qi@linaro.org>
2512 * gdb.trace/trace-condition.c: New file.
2513 * gdb.trace/trace-condition.exp: New file.
2515 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2517 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2518 for testing bytecode compilation.
2520 2015-09-16 Pedro Alves <palves@redhat.com>
2521 Sandra Loosemore <sandra@codesourcery.com>
2523 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2524 (SECONDS): Redefine.
2525 (main): Call pthread_kill and alarm early.
2526 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2528 (test): If the target can't hardware step and doesn't support
2529 displaced stepping, increase the timeout.
2531 2015-09-16 Pedro Alves <palves@redhat.com>
2533 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2534 (enable_debug): New procedures.
2535 (test): Use them. Bail out if waiting for threads fails.
2536 (top level): Bail out if a test fails.
2538 2015-09-16 Yao Qi <yao.qi@linaro.org>
2540 * gdb.asm/asm-source.exp: Set asm-arch for
2541 aarch64*-*-* target.
2542 * gdb.asm/aarch64.inc: New file.
2544 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2546 * gdb.ada/array_of_variable_length.exp: New testcase.
2547 * gdb.ada/array_of_variable_length/foo.adb: New file.
2548 * gdb.ada/array_of_variable_length/pck.adb: New file.
2549 * gdb.ada/array_of_variable_length/pck.ads: New file.
2551 2015-09-15 Doug Evans <dje@google.com>
2553 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2554 of function static local variable.
2556 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2558 * gdb.threads/tls-so_extern.exp: New test file.
2559 * gdb.threads/tls-so_extern.c: New test file.
2560 * gdb.threads/tls-so_extern_main.c: New test file.
2562 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2564 * gdb.opt/solib-intra-step-lib.c: New file.
2565 * gdb.opt/solib-intra-step-main.c: New file.
2566 * gdb.opt/solib-intra-step.exp: New file.
2568 2015-09-15 Pedro Alves <palves@redhat.com>
2570 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2571 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2573 2015-09-14 Pedro Alves <palves@redhat.com>
2575 * gdb.base/hook-stop-continue.c: Delete.
2576 * gdb.base/hook-stop-continue.exp: Delete.
2577 * gdb.base/hook-stop-frame.c: Delete.
2578 * gdb.base/hook-stop-frame.exp: Delete.
2579 * gdb.base/hook-stop.c: New file.
2580 * gdb.base/hook-stop.exp: New file.
2582 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2584 * gdb.ada/access_to_packed_array.exp: New testcase.
2585 * gdb.ada/access_to_packed_array/foo.adb: New file.
2586 * gdb.ada/access_to_packed_array/pack.adb: New file.
2587 * gdb.ada/access_to_packed_array/pack.ads: New file.
2589 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2591 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2594 2015-09-11 Don Breazeal <donb@codesourcery.com>
2596 * gdb.base/foll-exec.c: Add copyright header. Fix
2598 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2599 (do_exec_tests): Use clean_restart in place of zap_session,
2600 and for test initialization. Fix formatting issues. Use
2601 fail in place of perror.
2602 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2603 an expect statement to match an expression with output from
2604 the program under debug.
2605 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2606 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2607 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2608 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2609 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2611 2015-09-09 Doug Evans <dje@google.com>
2613 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2615 2015-09-09 Doug Evans <dje@google.com>
2617 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2619 2015-09-09 Doug Evans <dje@google.com>
2621 * gdb.base/savedregs.exp: Fix typo.
2623 2015-09-09 Pedro Alves <palves@redhat.com>
2625 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2627 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2629 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2630 command actually switches threads. Give up on remaining
2631 tests if target fails to stop at breakpoint.
2633 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2635 * gdb.ada/funcall_char.exp: New testcase.
2636 * gdb.ada/funcall_char/foo.adb: New file.
2638 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2640 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2641 expected outputs. Add two testcases for completing ambiguous
2643 * gdb.ada/complete/aux_pck.adb: New file.
2644 * gdb.ada/complete/aux_pck.ads: New file.
2645 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2646 Ambiguous_Func functions.
2647 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2648 * gdb.ada/complete/pck.adb: Likewise.
2650 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2652 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2653 failures to run the test program under GDB.
2655 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2657 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2660 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2662 * gdb.base/run-after-attach.exp: New test file.
2663 * gdb.base/run-after-attach.c: New test file.
2665 2015-08-26 Don Breazeal <donb@codesourcery.com>
2667 * gdb.base/foll-exec-2.c: New test program.
2668 * gdb.base/foll-exec-2.exp: New test.
2670 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2672 * gdb.base/nested-subp1.exp: New file.
2673 * gdb.base/nested-subp1.c: New file.
2674 * gdb.base/nested-subp2.exp: New file.
2675 * gdb.base/nested-subp2.c: New file.
2676 * gdb.base/nested-subp3.exp: New file.
2677 * gdb.base/nested-subp3.c: New file.
2679 2015-08-24 Pedro Alves <palves@redhat.com>
2681 * gdb.server/connect-without-multi-process.c: New file.
2682 * gdb.server/connect-without-multi-process.exp: New file.
2684 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2686 * gdb.opt/inline-markers.c: Make z int.
2688 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2690 * gdb.opt/inline-markers.c: Make z volatile.
2692 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2694 * gdb.opt/inline-bt.c: New volatile global z.
2695 * gdb.opt/inline-cmds.c: Likewise.
2696 * gdb.opt/inline-locals.c: Likewise.
2697 * gdb.opt/inline-markers.c: New extern global z.
2699 (inline_fn): Likewise.
2701 2015-08-24 Pedro Alves <palves@redhat.com>
2703 * config/m32r-stub.exp: Remove file.
2704 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2705 * gdb.base/call-rt-st.exp: Likewise.
2706 * gdb.base/call-strs.exp: Likewise.
2707 * gdb.base/default.exp: Remove references to h8300-*-hms and
2709 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2711 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2713 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2714 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2715 and "return" use KFAIL when GDB can not read/write the vector
2718 2015-08-21 Gary Benson <gbenson@redhat.com>
2720 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2722 2015-08-20 Pedro Alves <palves@redhat.com>
2724 * gdb.server/solib-list.exp: No longer expect an interior stop in
2727 2015-08-20 Pedro Alves <palves@redhat.com>
2729 * gdb.server/connect-stopped-target.c: New file.
2730 * gdb.server/connect-stopped-target.exp: New file.
2732 2015-08-20 Pedro Alves <palves@redhat.com>
2734 * gdb.dwarf2/comp-unit-lang.exp: New file.
2735 * gdb.dwarf2/comp-unit-lang.c: New file.
2737 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2739 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2740 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2742 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2744 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2745 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2747 2015-08-18 Doug Evans <dje@google.com>
2748 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2750 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2751 skip_python_tests. New arg prompt_regexp.
2752 (skip_python_tests): New function.
2753 * lib/mi-support.exp (mi_skip_python_tests): New function.
2754 * gdb.python/py-mi-objfile-gdb.py: New file.
2755 * gdb.python/py-mi-objfile.c: New file.
2756 * gdb.python/py-mi-objfile.exp: New file.
2758 2015-08-17 Keith Seitz <keiths@redhat.com>
2760 * gdb.linespec/explicit.exp: Move strace test from here ...
2761 * gdb.trace/strace.exp: ... to here.
2763 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2765 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2766 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2768 2015-08-14 Doug Evans <xdje42@gmail.com>
2770 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2771 inferior before selecting a new file.
2773 2015-08-14 Doug Evans <xdje42@gmail.com>
2775 * gdb.mi/mi-disassemble.exp: Update.
2776 * gdb.base/disasm-optim.S: New file.
2777 * gdb.base/disasm-optim.c: New file.
2778 * gdb.base/disasm-optim.h: New file.
2779 * gdb.base/disasm-optim.exp: New file.
2781 2015-08-14 Keith Seitz <keiths@redhat.com>
2783 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2786 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2788 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2790 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2792 * gdb.ada/fun_renaming.exp: New testcase.
2793 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2794 * gdb.ada/fun_renaming/pack.adb: New file.
2795 * gdb.ada/fun_renaming/pack.ads: New file.
2797 2015-08-12 Keith Seitz <keiths@redhat.com>
2799 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2800 gdb_get_line_number.
2802 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2804 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2805 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2806 gdb.base/dso2dso.exp: New files.
2808 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2809 Pedro Alves <palves@redhat.com>
2810 Keith Seitz <keiths@redhat.com>
2812 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2815 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2817 * gdb.base/gdbhistsize-history.exp
2818 (test_histsize_history_setting): Use save_vars.
2819 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2821 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2822 * gdb.base/readline.exp: Use save_vars.
2824 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2826 * lib/gdb.exp (save_vars): New proc.
2828 2015-08-11 Keith Seitz <keiths@redhat.com>
2830 * gdb.base/help.exp: Update help_breakpoint_text.
2832 2015-08-11 Keith Seitz <keiths@redhat.com>
2834 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2835 (at toplevel): Call test_explicit_breakpoints.
2836 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2838 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2839 breakpoint conditions, "-cond".
2841 2015-08-11 Keith Seitz <keiths@redhat.com>
2843 * gdb.linespec/3explicit.c: New file.
2844 * gdb.linespec/cpexplicit.cc: New file.
2845 * gdb.linespec/cpexplicit.exp: New file.
2846 * gdb.linespec/explicit.c: New file.
2847 * gdb.linespec/explicit.exp: New file.
2848 * gdb.linespec/explicit2.c: New file.
2849 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2850 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2851 before using in the matching pattern.
2852 Clarify that `prefix' is a regular expression.
2854 2015-08-11 Keith Seitz <keiths@redhat.com>
2856 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2858 Add tests for missing ",FMT" and ",".
2860 2015-08-10 Doug Evans <dje@google.com>
2861 Keith Seitz <keiths@redhat.com>
2864 * gdb.base/completion.exp: Add location completer tests.
2866 2015-08-07 Pedro Alves <palves@redhat.com>
2868 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2870 (top level): Run do_test with and without displaced stepping.
2872 2015-08-07 Pedro Alves <palves@redhat.com>
2874 * gdb.base/valgrind-disp-step.c: New file.
2875 * gdb.base/valgrind-disp-step.exp: New file.
2877 2015-08-07 Pedro Alves <palves@redhat.com>
2879 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2881 (main): Add alarm. Run an infinite loop instead of calling
2883 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2885 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2887 (main): Add alarm. Run an infinite loop instead of calling
2889 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2892 2015-08-07 Pedro Alves <palves@redhat.com>
2894 * gdb.base/checkpoint-ns.exp: New file.
2895 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2898 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2900 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2901 * gdb.btrace/instruction_history.exp: Update.
2902 * gdb.btrace/tsx.exp: New.
2903 * gdb.btrace/tsx.c: New.
2905 2015-08-06 Pedro Alves <palves@redhat.com>
2907 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2909 * gdb.reverse/until-precsave.exp: Bump timeouts.
2911 2015-08-06 Pedro Alves <palves@redhat.com>
2913 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2915 2015-08-06 Pedro Alves <palves@redhat.com>
2918 * gdb.threads/process-dies-while-handling-bp.c: New file.
2919 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2921 2015-08-06 Pedro Alves <palves@redhat.com>
2923 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2924 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2926 2015-08-05 Pedro Alves <palves@redhat.com>
2928 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2929 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2931 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2933 * gdb.base/bp-permanent.exp: Report test as unsupported if
2934 the target cannot stop at the permanent breakpoint.
2936 2015-08-03 Doug Evans <dje@google.com>
2938 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2941 2015-08-03 Doug Evans <dje@google.com>
2943 * Makefile.in (workers/%.worker, build-perf): New rule.
2944 (GDB_PERFTEST_MODE): New variable.
2945 (check-perf): Use it.
2946 (clean): Clean up gdb.perf parallel build subdirs.
2947 * lib/build-piece.exp: New file.
2948 * lib/gdb.exp (make_gdb_parallel_path): New function
2949 (standard_output_file, standard_temp_file): Call it.
2950 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2952 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2954 2015-08-03 Doug Evans <dje@google.com>
2956 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2957 (LOG_FILE_NAME): New global.
2958 (TextReporter.__init__): Initialize self.txt_sum.
2959 (TextReporter.report): Add support for multiple data-points.
2960 Move report to perftest.sum, put raw data in perftest.log.
2961 (TextReporter.start): Open sum and log files.
2962 (TextReporter.end): Close sum and log files.
2963 * gdb.perf/lib/perftest/testresult.py
2964 (SingleStatisticTestResult.record): Handle multiple data-points.
2966 2015-07-31 Pedro Alves <palves@redhat.com>
2968 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2969 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2970 kill_wait_spawned_process instead of explicit "kill -9".
2971 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2972 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2973 kill_wait_spawned_process.
2974 * gdb.base/attach-twice.exp: Likewise.
2975 * gdb.base/attach.exp: Likewise.
2976 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2978 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2979 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2980 kill_wait_spawned_process.
2981 * gdb.base/valgrind-infcall.exp: Likewise.
2982 * gdb.multi/multi-attach.exp: Likewise.
2983 * gdb.python/py-prompt.exp: Likewise.
2984 * gdb.python/py-sync-interp.exp: Likewise.
2985 * gdb.server/ext-attach.exp: Likewise.
2986 * gdb.threads/attach-into-signal.exp (corefunc): Use
2987 spawn_wait_for_attach, spawn_id_get_pid and
2988 kill_wait_spawned_process.
2989 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2990 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2991 spawn_id_get_pid and kill_wait_spawned_process.
2992 * gdb.threads/attach-stopped.exp (corefunc): Use
2993 spawn_wait_for_attach, spawn_id_get_pid and
2994 kill_wait_spawned_process.
2995 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2996 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2997 kill_wait_spawned_process instead of explicit "kill -9".
2998 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2999 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
3000 (spawn_wait_for_attach): Use spawn instead of exec to spawn
3001 processes. Don't map cygwin/windows pids here. Now returns a
3004 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3006 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
3007 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
3010 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3012 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
3014 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
3017 2014-05-21 Mark Wielaard <mjw@redhat.com>
3019 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3021 2015-07-30 Pedro Alves <palves@redhat.com>
3023 * linux-low.c (handle_extended_wait): Set the child's last
3024 reported status to TARGET_WAITKIND_STOPPED.
3026 2015-07-30 Pedro Alves <palves@redhat.com>
3029 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3030 only shows inferior 1.
3032 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3033 Pedro Alves <palves@redhat.com>
3036 * gdb.threads/fork-plus-threads.c: New file.
3037 * gdb.threads/fork-plus-threads.exp: New file.
3039 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3041 * gdb.base/batch-preserve-term-settings.exp
3042 (test_terminal_settings_preserved_after_cli_exit): Use
3045 2015-07-29 Pedro Alves <palves@redhat.com>
3046 Don Breazeal <donb@codesourcery.com>
3048 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3049 output from both inferior_spawn_id and gdb_spawn_id.
3051 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3053 * gdb.threads/attach-into-signal.exp (corefunc): Use
3054 with_test_prefix on nested loops, uniquefying the test messages.
3056 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3058 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3061 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3063 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3065 (test_terminal_settings_preserved_after_sigterm): New test.
3067 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3069 * gdb.base/batch-preserve-term-settings.exp
3070 (test_terminal_settings_preserved_after_cli_exit): New test.
3072 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3074 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3075 manipulation of saved_gdbflags.
3076 (test_terminal_settings_preserved): Remove global declaration of
3077 the unused variable pagination_prompt. Remove manipulation of
3078 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3081 2015-07-29 Pedro Alves <palves@redhat.com>
3083 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3085 2015-07-29 Pedro Alves <palves@redhat.com>
3087 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3090 2015-07-29 Pedro Alves <palves@redhat.com>
3092 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3093 (main): Call gdb_unbuffer_output.
3094 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3095 (main): Call gdb_unbuffer_output.
3096 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3097 (main): Call gdb_unbuffer_output.
3098 * gdb.base/call-strs.exp: Adjust to step over the
3099 gdb_unbuffer_output call.
3100 * gdb.base/catch-gdb-caused-signals.c: Include
3101 "../lib/unbuffer_output.c".
3102 (main): Call gdb_unbuffer_output.
3103 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3104 (main): Call gdb_unbuffer_output.
3105 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3106 (main): Call gdb_unbuffer_output.
3107 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3108 (main): Call gdb_unbuffer_output.
3109 * gdb.base/shlib-call.exp: Adjust to step over the
3110 gdb_unbuffer_output call.
3111 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3112 (main): Call gdb_unbuffer_output.
3113 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3114 (main): Call gdb_unbuffer_output.
3115 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3116 (main): Rename to ...
3118 (main): Reimplement.
3119 * gdb.base/varargs.exp: Run to test instead of to main.
3120 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3121 (main): Call gdb_unbuffer_output.
3123 2015-07-29 Pedro Alves <palves@redhat.com>
3125 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3126 factore out from mi_continue_dprintf. For call-style dprintfs,
3127 expect dprintf output out of $inferior_spawn_id.
3128 (mi_continue_dprintf): Use mi_expect_dprintf.
3129 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3130 (main): Call gdb_unbuffer_output.
3132 2015-07-29 Pedro Alves <palves@redhat.com>
3134 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3135 (default_mi_gdb_start): Set inferior_spawn_id instead of
3136 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3138 (mi_gdb_test): Always expect inferior output from both
3139 $inferior_spawn_id and $gdb_spawn_id.
3141 2015-07-29 Pedro Alves <palves@redhat.com>
3143 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3144 send_inferior and $inferior_spawn_id.
3146 2015-07-29 Pedro Alves <palves@redhat.com>
3148 * gdb.gdb/complaints.exp (test_initial_complaints)
3149 (test_serial_complaints, test_short_complaints): Use
3151 (test_empty_complaint): Handle $inferior_spawn_id !=
3154 2015-07-29 Pedro Alves <palves@redhat.com>
3156 * gdb.base/varargs.exp: Use gdb_test_stdio.
3158 2015-07-29 Pedro Alves <palves@redhat.com>
3160 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3162 2015-07-29 Pedro Alves <palves@redhat.com>
3164 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3166 2015-07-29 Pedro Alves <palves@redhat.com>
3168 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3169 parameter into two new parameters, "inf_result" and "gdb_result".
3170 Expect inferior output and gdb output from $inferior_spawn_id and
3171 $gdb_spawn_id, respectively. Adjust all callers.
3173 2015-07-29 Pedro Alves <palves@redhat.com>
3175 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3176 of gdb_test_sequence.
3178 2015-07-29 Pedro Alves <palves@redhat.com>
3180 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3181 (saw_spurious_output): Expect inferior output from
3182 $inferior_spawn_id. Use gdb_test_stdio.
3184 2015-07-29 Pedro Alves <palves@redhat.com>
3186 * gdb.base/dprintf.exp: Use standard_testfile. Change
3187 prepare_for_testing call.
3188 (srcfile): Don't set.
3189 (restart): New procedure.
3190 (test_dprintf): New procecure, use to continue over dprintfs.
3191 (test_call, test_agent): New procedures, tests moved here.
3192 Restart gdb and recreate dprintfs. Adjust expected output.
3194 2015-07-29 Pedro Alves <palves@redhat.com>
3196 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3198 2015-07-29 Pedro Alves <palves@redhat.com>
3200 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3202 2015-07-29 Pedro Alves <palves@redhat.com>
3204 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3207 2015-07-29 Pedro Alves <palves@redhat.com>
3209 * lib/gdb.exp (gdb_test_stdio): New procedure.
3211 2015-07-29 Pedro Alves <palves@redhat.com>
3213 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3215 2015-07-29 Pedro Alves <palves@redhat.com>
3217 * gdb.base/call-signal-resume.exp: Remove check for
3218 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3219 * gdb.base/unwindonsignal.exp: Likewise.
3220 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3221 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3223 2015-07-29 Pedro Alves <palves@redhat.com>
3225 * gdb.base/siginfo-addr.c (pass): New function.
3226 (handler): Call it iff si_addr is correct.
3227 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3228 Set a breakpoint at "pass" and continue to it.
3230 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3232 * gdb.python/py-objfile.exp: Make some tests have unique names.
3233 * gdb.python/py-pp-registration.exp: Likewise.
3235 2015-07-28 Pedro Alves <palves@redhat.com>
3237 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3239 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3241 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3243 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3245 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3247 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3249 * gdb.base/gdb-sigterm-2.exp: New test.
3251 2015-07-25 Doug Evans <xdje42@gmail.com>
3254 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3255 (workers/%.worker, build-perf): New rule.
3256 (GDB_PERFTEST_MODE): New variable.
3257 (check-perf): Use it.
3258 (clean): Clean up gdb.perf parallel build subdirs.
3259 * lib/build-piece.exp: New file.
3260 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3261 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3263 (standard_temp_file): Ditto.
3264 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3267 2015-07-24 Doug Evans <dje@google.com>
3269 * gdb.perf/lib/perftest/utils.py: New file.
3270 * gdb.perf/gm-hello.cc: New file.
3271 * gdb.perf/gm-pervasive-typedef.cc: New file.
3272 * gdb.perf/gm-pervasive-typedef.h: New file.
3273 * gdb.perf/gm-std.cc: New file.
3274 * gdb.perf/gm-std.h: New file.
3275 * gdb.perf/gm-use-cerr.cc: New file.
3276 * gdb.perf/gm-utils.h: New file.
3277 * gdb.perf/gmonster-null-lookup.py: New file.
3278 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3279 * gdb.perf/gmonster-print-cerr.py: New file.
3280 * gdb.perf/gmonster-ptype-string.py: New file.
3281 * gdb.perf/gmonster-runto-main.py: New file.
3282 * gdb.perf/gmonster-select-file.py: New file.
3283 * gdb.perf/gmonster1-null-lookup.exp: New file.
3284 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3285 * gdb.perf/gmonster1-print-cerr.exp: New file.
3286 * gdb.perf/gmonster1-ptype-string.exp: New file.
3287 * gdb.perf/gmonster1-runto-main.exp: New file.
3288 * gdb.perf/gmonster1-select-file.exp: New file.
3289 * gdb.perf/gmonster1.cc: New file.
3290 * gdb.perf/gmonster1.exp: New file.
3291 * gdb.perf/gmonster2-null-lookup.exp: New file.
3292 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3293 * gdb.perf/gmonster2-print-cerr.exp: New file.
3294 * gdb.perf/gmonster2-ptype-string.exp: New file.
3295 * gdb.perf/gmonster2-runto-main.exp: New file.
3296 * gdb.perf/gmonster2-select-file.exp: New file.
3297 * gdb.perf/gmonster2.cc: New file.
3298 * gdb.perf/gmonster2.exp: New file.
3300 2015-07-24 Doug Evans <dje@google.com>
3302 * gdb.perf/README: New file.
3303 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3304 * lib/gen-perf-test.exp: New file.
3306 2015-07-24 Doug Evans <dje@google.com>
3308 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3309 (PerfTest::startup): New function.
3310 (PerfTest::run): Return result of calling body.
3311 (PerfTest::assemble): Rewrite.
3312 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3313 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3314 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3315 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3316 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3318 2015-07-24 Doug Evans <dje@google.com>
3320 * lib/gdb.exp (clean_restart): Make executable optional.
3322 2015-07-24 Doug Evans <dje@google.com>
3324 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3325 compiler_info references.
3326 * gdb.cp/temargs.exp: Ditto.
3327 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3328 (get_compiler_info): Early exit if already computed. Set compiler_info
3329 to "unknown" if there was a problem.
3330 (test_compiler_info): Add function comment. Call get_compiler_info.
3332 2015-07-24 Doug Evans <dje@google.com>
3334 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3335 (workers/%.worker, build-perf): New rule.
3336 (GDB_PERFTEST_MODE): New variable.
3337 (check-perf): Use it.
3338 (clean): Clean up gdb.perf parallel build subdirs.
3339 * lib/build-piece.exp: New file.
3340 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3341 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3343 (standard_temp_file): Ditto.
3344 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3347 2015-07-24 Doug Evans <dje@google.com>
3349 * lib/future.exp (gdb_default_target_compile): New option
3351 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3354 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3356 * gdb.base/catch-syscall.exp: Call gdb_exit before
3359 2015-07-24 Pedro Alves <palves@redhat.com>
3361 * gdb.python/py-events.exp: Accept output between the stop event
3363 * gdb.python/py-evsignal.exp: Likewise.
3364 * gdb.python/py-evthreads.exp: Likewise.
3366 2015-07-24 Pedro Alves <palves@redhat.com>
3369 * gdb.threads/non-ldr-exit.c: New file.
3370 * gdb.threads/non-ldr-exit.exp: New file.
3372 2015-07-24 Yao Qi <yao.qi@linaro.org>
3374 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3377 2015-07-24 Yao Qi <yao.qi@linaro.org>
3379 * gdb.server/ext-restart.exp: New file.
3381 2015-07-24 Yao Qi <yao.qi@linaro.org>
3383 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3385 * gdb.server/ext-wrapper.exp: New file.
3387 2015-07-23 Doug Evans <dje@google.com>
3389 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3390 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3392 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3394 * gdb.ada/var_arr_typedef.exp: New testcase.
3395 * gdb.ada/var_arr_typedef/pack.adb: New file.
3396 * gdb.ada/var_arr_typedef/pack.ads: New file.
3397 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3399 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3401 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3403 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3405 * gdb.arch/i386-biarch-core.exp: Replace istarget
3406 by "complete set gnutarget". Remove expectation for the "core-file"
3409 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3411 Revert the previous commit:
3412 Tests for validate symbol file using build-id.
3414 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3416 Tests for validate symbol file using build-id.
3417 * gdb.base/solib-mismatch-lib.c: New file.
3418 * gdb.base/solib-mismatch-libmod.c: New file.
3419 * gdb.base/solib-mismatch.c: New file.
3420 * gdb.base/solib-mismatch.exp: New file.
3422 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3424 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3426 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3427 * gdb.base/siginfo.exp: Likewise.
3428 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3430 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3432 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3434 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3436 * gdb.trace/range-stepping.exp: Check that the target supports
3439 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3441 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3443 2015-07-14 Pedro Alves <palves@redhat.com>
3445 * gdb.base/killed-outside.exp: New file.
3446 * gdb.base/killed-outside.c: New file.
3448 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3450 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3452 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3454 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3456 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3457 infcall tests instead of setting up for KFAIL.
3459 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3461 * gdb.btrace/record_goto-step.exp: New.
3463 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3466 * gdb.compile/compile.c (struct struct_type): Add volatile to
3468 * gdb.compile/compile.exp
3469 (compile code struct_object.selffield = &struct_object): Skip further
3470 struct_object tests if this one xfails.
3472 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3475 * gdb.trace/ax.exp: Add test.
3477 2015-07-07 Yao Qi <yao.qi@linaro.org>
3479 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3480 instead of istarget "aarch64*-*-*".
3481 * gdb.arch/aarch64-fp.exp: Likewise.
3482 * gdb.base/float.exp: Likewise.
3483 * gdb.reverse/aarch64.exp: Likewise.
3484 * lib/gdb.exp (is_aarch64_target): New proc.
3486 2015-07-07 Yao Qi <yao.qi@linaro.org>
3488 * lib/gdb.exp (is_aarch32_target): New proc.
3489 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3490 instead of "istarget "arm*-*-*"".
3491 * gdb.arch/arm-disp-step.exp: Likewise.
3492 * gdb.arch/thumb-bx-pc.exp: Likewise.
3493 * gdb.arch/thumb-prologue.exp: Likewise.
3494 * gdb.arch/thumb-singlestep.exp: Likewise.
3495 * gdb.base/disp-step-syscall.exp: Likewise.
3496 * gdb.base/float.exp: Likewise.
3498 2015-07-07 Yao Qi <yao.qi@linaro.org>
3500 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3501 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3503 2015-07-07 Yao Qi <yao.qi@linaro.org>
3505 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3506 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3508 * gdb.multi/multi-arch.exp: Likewise.
3510 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3512 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3515 2015-07-07 Yao Qi <yao.qi@linaro.org>
3517 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3519 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3521 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3522 '[' and ']' characters.
3524 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3526 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3528 2015-06-29 Pedro Alves <palves@redhat.com>
3531 * gdb.threads/hand-call-new-thread.c: New file.
3532 * gdb.threads/hand-call-new-thread.c: New file.
3534 2015-06-26 Keith Seitz <keiths@redhat.com>
3535 Doug Evans <dje@google.com>
3538 * gdb.cp/var-tag-2.cc: New file.
3539 * gdb.cp/var-tag-3.cc: New file.
3540 * gdb.cp/var-tag-4.cc: New file.
3541 * gdb.cp/var-tag.cc: New file.
3542 * gdb.cp/var-tag.exp: New file.
3544 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3546 * gdb.base/history-duplicates.exp: New test.
3548 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3550 * gdb.base/completion.exp: Test the completion of the "focus"
3553 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3555 * gdb.arch/amd64-prologue-skip.S: New file.
3556 * gdb.arch/amd64-prologue-skip.exp: New file.
3558 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3560 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3561 is_address_zero_readable check.
3563 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3565 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3566 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3568 2015-06-24 Yao Qi <yao.qi@linaro.org>
3570 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3573 2015-06-24 Yao Qi <yao.qi@linaro.org>
3575 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3576 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3577 * gdb.base/siginfo-thread.exp: Likewise.
3579 2015-06-22 Yao Qi <yao.qi@linaro.org>
3581 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3583 2015-06-22 Yao Qi <yao.qi@linaro.org>
3585 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3587 (skip_hw_watchpoint_tests): Likewise.
3589 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3591 * gdb.base/gdbinit-history.exp: Test the interaction between
3592 setting GDBHISTSIZE and setting the history size via .gdbinit.
3594 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3597 * gdb.base/gdbhistsize-history.exp: New test.
3599 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3601 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3603 * gdb.base/readline.exp: Likewise.
3605 2015-06-17 Yao Qi <yao.qi@linaro.org>
3607 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3610 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3612 * gdb.base/gdbinit-history.exp: Add test case to check that
3613 an unlimited history file does not get truncated on exit.
3615 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3617 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3618 (VECTOR): New macro. Use it...
3619 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3620 ...for these typedefs.
3621 (int8, char1, int1, double1): New typedefs.
3622 (struct just_int2, struct two_int2): New structures.
3623 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3624 (add_structvecs, add_singlevecs): New functions.
3625 (main): Call add_some_intvecs twice.
3626 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3627 the compile and exit upon failure. Try compiling for the "native"
3628 architecture. Test inferior function calls with vector arguments
3629 and vector return value handling with "finish" and "return".
3631 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3633 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3634 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3636 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3638 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3640 PR breakpoints/16465
3641 * gdb.mi/mi-dprintf-pending.c: New file.
3642 * gdb.mi/mi-dprintf-pending.exp: New test.
3643 * gdb.mi/mi-dprintf-pendshr.c: New file.
3645 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3646 Mircea Gherzan <mircea.gherzan@intel.com>
3648 * gdb.arch/i386-mpx-map.c: New file.
3649 * gdb.arch/i386-mpx-map.exp: New File.
3651 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3653 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3654 * gdb.arch/i386-mpx.exp: Indentation fixed.
3656 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3658 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3659 function and improved indentation.
3660 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3661 gdb_test_multiple. Added additional tests to skip the test.
3663 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3665 * gdb.arch/i386-avx512.c: Change path in include file.
3666 * gdb.arch/i386-avx512.exp: Change include dir path
3668 * gdb.arch/i386-mpx.c: Change path in include file.
3669 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3672 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3674 * gdb.compile/compile-print.exp (compile print *vararray@3)
3675 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3677 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3679 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3680 (do not keep jit in memory): ... this.
3681 (expect 5): Change it to ...
3682 (expect no 5): ... this.
3684 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3687 * gdb.mi/mi-detach.exp: New file.
3689 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3692 * gdb.arch/amd64-tailcall-self.S: New file.
3693 * gdb.arch/amd64-tailcall-self.c: New file.
3694 * gdb.arch/amd64-tailcall-self.exp: New file.
3696 2015-05-28 Don Breazeal <donb@codesourcery.com>
3698 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3699 tests for remote targets by checking is_target_gdbserver.
3701 2015-05-27 Doug Evans <dje@google.com>
3703 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3704 * gdb.dwarf2/opaque-type-lookup.c: New file.
3705 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3707 2015-05-26 Doug Evans <dje@google.com>
3709 * gdb.cp/iostream.cc: New file.
3710 * gdb.cp/iostream.exp: New file.
3712 2015-05-26 Doug Evans <dje@google.com>
3714 * gdb.dwarf2/dw2-op-call.exp: Update.
3715 * gdb.dwarf2/dw4-sig-types.exp: Update.
3716 * gdb.dwarf2/implptr.exp: Update.
3717 * gdb.mi/mi-cmd-param-changed.exp: Update.
3719 2015-05-26 Doug Evans <dje@google.com>
3721 * gdb.python/py-lazy-string.c: New file.
3722 * gdb.python/py-lazy-string.exp: New file.
3723 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3724 (main): Update. Add estring3.
3725 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3726 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3728 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3729 Yao Qi <yao.qi@linaro.org>
3731 * gdb.reverse/aarch64.c: New.
3732 * gdb.reverse/aarch64.exp: New.
3734 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3736 * lib/gdb.exp (supports_process_record): Return true for
3738 (supports_reverse): Likewise.
3740 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3742 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3743 Use with_test_prefix.
3745 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3747 * gdb.base/completion.exp: Add test for completion of layout
3750 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3752 * lib/gdb.exp (skip_tui_tests): New proc.
3753 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3755 2015-05-19 Pedro Alves <palves@redhat.com>
3757 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3758 Save the whole env array instead of just HOME. Unset HISTSIZE in
3759 the environment while testing. Restore whole environment
3762 2015-05-16 Doug Evans <xdje42@gmail.com>
3764 * gdb.guile/scm-ports.c: New file.
3765 * gdb.guile/scm-ports.exp: Add memory port tests.
3767 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3769 * gdb.compile/compile-print.c: New file.
3770 * gdb.compile/compile-print.exp: New file.
3772 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3774 * gdb.compile/compile-ops.exp: Cast param to void.
3775 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3776 (compile code struct_object.selffield = &struct_object): Add xfail.
3778 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3780 * gdb.ada/arr_enum_with_gap: New testcase.
3782 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3784 * gdb.ada/byte_packed_arr: New testcase.
3786 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3788 * gdb.ada/pckd_neg: New testcase.
3790 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3793 * gdb.base/gdbinit-history.exp: New test.
3794 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3795 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3797 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3799 * gdb.python/py-xmethods.cc: Enhance test case.
3800 * gdb.python/py-xmethods.exp: New tests.
3801 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3803 (B_indexoper): Likewise.
3804 (global_dm_list) : Add new xmethod worker functions.
3806 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3808 * gdb.base/coredump-filter.exp: Correctly unset
3809 "coredump_var_addr" array.
3811 2015-05-08 Pedro Alves <palves@redhat.com>
3813 * gdb.server/non-existing-program.exp: Unset spawn_id.
3815 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3818 * gdb.python/py-xmethods.exp: Add tests.
3820 2015-05-08 Yao Qi <yao.qi@linaro.org>
3823 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3824 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3825 function set_coredump_filter, and remove remote_exec call.
3826 Remove argument ipid. Callers update.
3827 (top level): Don't get inferior's PID.
3829 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3831 * gdb.base/watch_thread_num.exp: Skip test on targets without
3834 2015-05-06 Pedro Alves <palves@redhat.com>
3837 * gdb.server/non-existing-program.exp: New file.
3839 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3841 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3843 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3845 * gdb.ada/out_of_line_in_inlined: New testcase.
3847 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3849 * gdb.ada/var_rec_arr: New testcase.
3851 2015-04-30 Yao Qi <yao.qi@linaro.org>
3853 * gdb.base/break-idempotent.exp: If
3854 skip_hw_watchpoint_multi_tests returns true, skip the tests
3855 on "rwatch" and "awatch".
3857 2015-04-30 Yao Qi <yao.qi@linaro.org>
3859 * gdb.base/relativedebug.exp: Invoke gdb command
3860 "info sharedlibrary", and if libc.so doesn't have debug info,
3863 2015-04-29 Doug Evans <dje@google.com>
3865 * gdb.python/py-xmethods.exp: Add ptype tests.
3866 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3867 get_result_type method.
3869 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3871 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3872 the target does not support hardware watchpoints.
3874 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3876 * gdb.base/break-always.exp: Abort testing if writing to memory
3879 2015-04-28 Doug Evans <dje@google.com>
3881 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3882 * gdb.python/py-pp-registration.exp: ... here. New file.
3883 * gdb.python/py-pp-registration.c: New file.
3884 * gdb.python/py-pp-registration.py: New file.
3886 2015-04-28 Doug Evans <dje@google.com>
3888 * gdb.python/py-bad-printers.c: New file.
3889 * gdb.python/py-bad-printers.py: New file.
3890 * gdb.python/py-bad-printers.exp: New file.
3892 2015-04-28 Sasha Smundak <asmundak@google.com>
3894 * gdb.python/py-type.exp: New test.
3896 2015-04-28 Andy Wingo <wingo@igalia.com>
3898 * gdb.python/py-parameter.exp:
3899 * gdb.guile/scm-parameter.exp: Escape the path that we are
3900 matching against, as it might contain characters that are special
3901 to regular expressions.
3903 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3905 * gdb.ada/rec_comp: New testcase.
3907 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3909 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3912 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3914 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3915 new tests for verilog output.
3917 2015-04-24 Yao Qi <yao.qi@linaro.org>
3919 * boards/remote-gdbserver-on-localhost.exp: New file.
3921 2015-04-23 Pedro Alves <palves@redhat.com>
3923 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3924 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3925 "end of file", remove $inferior_spawn_id from the indirect list.
3927 2015-04-23 Pedro Alves <palves@redhat.com>
3929 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3931 2015-04-23 Pedro Alves <palves@redhat.com>
3933 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3934 on $any_spawn_id instead of only on $gdb_spawn_id.
3936 2015-04-21 Pierre Muller <muller@sourceware.org>
3939 * lib/pascal.exp (gpc_compile): Add new option "class".
3940 (fpc_compile): Likewise.
3941 * gdb.pascal/case-insensitive-symbols.pas: New file.
3942 * gdb.pascal/case-insensitive-symbols.exp: New file.
3944 2015-04-20 Gary Benson <gbenson@redhat.com>
3946 * gdb.base/attach.exp: Fix three extended remote failures.
3948 2015-04-17 Gary Benson <gbenson@redhat.com>
3950 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3951 the main executable over the remote protocol.
3953 2015-04-16 Pedro Alves <palves@redhat.com>
3955 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3956 a new gdbserver if gdbserver_reconnect_p is set.
3958 2015-04-16 Pedro Alves <palves@redhat.com>
3960 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3961 is set, don't exit gdbserver.
3963 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3965 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3966 appropriate .insn, such that an older assembler can be used.
3967 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3968 the z/Architecture instruction set on 31-bit targets as well.
3970 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3972 * gdb.go/handcall.exp: Remove all logic related to the first
3973 breakpoint and rely on go_runto_main instead.
3974 * gdb.go/strings.exp: Likewise.
3975 * gdb.go/unsafe.exp: Likewise.
3976 * gdb.go/hello.exp: Likewise. Also rename the remaining
3977 breakpoint marker to "breakpoint 1".
3978 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3979 * gdb.go/strings.go: Likewise.
3980 * gdb.go/unsafe.go: Likewise.
3981 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3982 "set breakpoint 2 here" and rename the remaining breakpoint marker
3985 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3987 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3988 if itertools.imap is not present.
3989 * gdb.python/py-objfile.exp: Add parentheses.
3990 * gdb.python/py-type.exp: Same.
3991 * gdb.python/py-unwind-maint.py: Same.
3993 2015-04-15 Yao Qi <yao.qi@linaro.org>
3995 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3996 of ":$ptr_size" and set its form explicitly.
3998 2015-04-15 Pedro Alves <palves@redhat.com>
3999 Yao Qi <yao.qi@linaro.org>
4001 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
4002 timeout by factor of 4.
4003 (test_regular_watch): Likewise.
4004 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
4005 * gdb.reverse/sigall-reverse.exp: Likewise.
4006 * gdb.reverse/until-precsave.exp: Likewise.
4007 * lib/gdb.exp (with_timeout_factor): New proc.
4008 (gdb_expect): Move some code to ...
4009 (get_largest_timeout): ... here. New procedure.
4011 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
4013 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
4015 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4017 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
4018 to write to the .text section.
4020 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
4022 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
4023 Handle the case of targets that do not provide PID information.
4025 2015-04-13 Yao Qi <yao.qi@linaro.org>
4027 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4028 and use expect instead of gdb_expect.
4030 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4032 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4033 "coredump_var_addr" to avoid naming conflict with other testcases.
4035 2015-04-10 Pedro Alves <palves@redhat.com>
4037 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4038 gdb_test_sequence and gdb_assert.
4040 2015-04-10 Pedro Alves <palves@redhat.com>
4042 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4043 test messages that don't include the breakpoint address.
4045 2015-04-10 Yao Qi <yao.qi@linaro.org>
4047 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4048 false for some offset and width combinations which aren't
4049 supported by linux kernel.
4051 2015-04-10 Pedro Alves <palves@redhat.com>
4053 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4054 procedure, factored out from ...
4055 (top level): ... here. Add "set displaced-stepping" testing axis.
4056 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4057 parameter "displaced". Use it.
4058 (top level): Use foreach and add "set displaced-stepping" testing
4061 2015-04-10 Pedro Alves <palves@redhat.com>
4063 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4065 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4066 both the address of the instruction that triggers the watchpoint
4067 and the address of the instruction immediately after, and use
4068 those addresses for the test. Fix comment.
4070 2015-04-10 Pedro Alves <palves@redhat.com>
4072 * gdb.base/sigstep.exp (breakpoint_to_handler)
4073 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4074 Test "backtrace" in handler.
4075 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4076 (top level): Add new "displaced" test axis to
4077 breakpoint_to_handler, breakpoint_to_handler_entry and
4078 breakpoint_over_handler.
4080 2015-04-10 Pedro Alves <palves@redhat.com>
4083 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4085 2015-04-10 Yao Qi <yao.qi@linaro.org>
4087 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4088 (test_add_rn_pc): New function.
4089 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4090 (top level): Invoke test_add_rn_pc.
4092 2015-04-10 Pedro Alves <palves@redhat.com>
4095 * gdb.base/step-over-no-symbols.exp: New file.
4097 2015-04-09 Andy Wingo <wingo@igalia.com>
4099 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4100 after the Python tests.
4102 2015-04-08 Keith Seitz <keiths@redhat.com>
4105 * gdb.python/py-completion.exp: New tests for completion.
4106 * gdb.python/py-completion.py (CompleteLimit1): New class.
4107 (CompleteLimit2): Likewise.
4108 (CompleteLimit3): Likewise.
4109 (CompleteLimit4): Likewise.
4110 (CompleteLimit5): Likewise.
4111 (CompleteLimit6): Likewise.
4112 (CompleteLimit7): Likewise.
4114 2015-04-08 Pedro Alves <palves@redhat.com>
4118 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4120 (main): Install it as SIGUSR1 handler.
4121 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4122 parameter. Always use "setup" as prefix. Toggle "set
4123 displaced-stepping" off/on depending on global. Don't switch to
4125 (top level): Add displaced stepping "off/on" test axis. Update
4126 "setup" calls. Wrap each subtest with with_test_prefix. Test
4127 continuing with a queued signal in each thread.
4129 2015-04-08 Pedro Alves <palves@redhat.com>
4131 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4132 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4133 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4134 Return early if running to main fails.
4135 * gdb.trace/while-stepping.exp: Likewise.
4137 2015-04-07 Pedro Alves <palves@redhat.com>
4139 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4140 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4141 interact with inferior program.
4143 2015-04-07 Pedro Alves <palves@redhat.com>
4145 * lib/gdb.exp (inferior_spawn_id): New global.
4146 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4147 spawn id after processing the user code.
4148 (default_gdb_start): Set inferior_spawn_id.
4149 (send_inferior): New procedure.
4150 * lib/gdbserver-support.exp (gdbserver_start): Set
4152 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4154 2015-04-07 Pedro Alves <palves@redhat.com>
4156 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4157 * lib/gdbserver-support.exp (gdbserver_start): Make
4158 $server_spawn_id global.
4159 (gdbserver_start): Don't wait for gdbserver's spawn id with
4161 (close_gdbserver): New procedure.
4162 (gdb_exit): Rename the default version and reimplement.
4164 2015-04-07 Pedro Alves <palves@redhat.com>
4166 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4167 append the substituted item, not the original item.
4169 2015-04-07 Pedro Alves <palves@redhat.com>
4171 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4174 2015-04-07 Pedro Alves <palves@redhat.com>
4176 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4177 output appearing once only.
4179 2015-04-07 Pedro Alves <palves@redhat.com>
4181 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4182 that doesn't expect anything. Return early if running to main
4185 2015-04-07 Yao Qi <yao.qi@linaro.org>
4187 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4188 (child_function): Call alarm.
4189 (main): Move call to alarm into the loop.
4190 * gdb.threads/non-stop-fair-events.exp: Build program with
4193 2015-04-06 Doug Evans <xdje42@gmail.com>
4195 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4196 Fix dest parameter to board_info.
4197 (fpc_compile): Ditto.
4198 (gdb_compile_pascal): Rename dest arg to destfile.
4200 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4202 * gdb.ada/funcall_ref.exp: New file.
4203 * gdb.ada/funcall_ref/foo.adb: New file.
4205 2015-04-02 Yao Qi <yao.qi@linaro.org>
4207 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4210 2015-04-02 Gary Benson <gbenson@redhat.com>
4212 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4214 2015-04-01 Sasha Smundak <asmundak@google.com>
4216 * gdb.python/py-unwind-maint.c: New file.
4217 * gdb.python/py-unwind-maint.exp: New test.
4218 * gdb.python/py-unwind-maint.py: New file.
4219 * gdb.python/py-unwind.c: New file.
4220 * gdb.python/py-unwind.exp: New test.
4221 * gdb.python/py-unwind.py: New test.
4223 2015-04-01 Pedro Alves <palves@redhat.com>
4225 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4226 to fail instead of non-existent $test.
4228 2015-04-01 Pedro Alves <palves@redhat.com>
4230 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4231 GDBFLAGS if not empty.
4233 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4235 * gdb.ada/complete.exp: Remove "multi_line".
4236 * gdb.ada/info_exc.exp: Remove "multi_line".
4237 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4238 * gdb.ada/ptype_field.exp: Remove "multi_line".
4239 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4240 * gdb.ada/tagged.exp: Remove "multi_line".
4241 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4243 * gdb.btrace/delta.exp: Likewise.
4244 * gdb.btrace/exception.exp: Likewise.
4245 * gdb.btrace/function_call_history.exp: Likewise.
4246 * gdb.btrace/instruction_history.exp: Likewise.
4247 * gdb.btrace/nohist.exp: Likewise.
4248 * gdb.btrace/record_goto.exp: Likewise.
4249 * gdb.btrace/segv.exp: Likewise.
4250 * gdb.btrace/stepi.exp: Likewise.
4251 * gdb.btrace/tailcall.exp: Likewise.
4252 * gdb.btrace/unknown_functions.exp: Likewise.
4253 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4254 * lib/gdb.exp: Add the "multi_line" helper.
4256 2015-04-01 Pedro Alves <palves@redhat.com>
4258 * gdb.threads/tid-reuse.c: New file.
4259 * gdb.threads/tid-reuse.exp: New file.
4261 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4264 * gdb.base/coredump-filter.c: New file.
4265 * gdb.base/coredump-filter.exp: Likewise.
4267 2015-03-27 Petr Machata <pmachata@redhat.com>
4269 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4270 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4271 (Dwarf::assemble): Initialize them.
4272 (Dwarf::lines): New function.
4274 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4276 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4277 SYMBOL_PREFIX for x86_64-*-cygwin.
4279 2015-03-26 Andy Wingo <wingo@igalia.com>
4282 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4283 const_value but not a location.
4284 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4285 location defined in non-main CUs are visible.
4287 2015-03-26 Yao Qi <yao.qi@linaro.org>
4290 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4291 Add a line number entry for the same line.
4292 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4293 Add a line number entry for the same line.
4295 2015-03-26 Yao Qi <yao.qi@linaro.org>
4297 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4299 (func): Likewise. Add .Lfunc_1 label.
4301 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4306 2015-03-26 Yao Qi <yao.qi@linaro.org>
4308 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4309 Call gdb_compile instead to compile each .s files without debug
4312 2015-03-26 Yao Qi <yao.qi@linaro.org>
4314 * gdb.base/savedregs.exp (process_saved_regs): Make
4315 "Saved registers:" optional in the pattern.
4317 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4319 * gdb.btrace/next.exp: Merged into step.exp.
4320 * gdb.btrace/finish.exp: Merged into step.exp.
4321 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4322 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4323 "record goto" and checking the exact replay position.
4324 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4325 check for "Recording format" in "info record" output.
4326 * gdb.btrace/record_goto.exp: Choose test file based on target.
4327 * gdb.btrace/x86-record_goto.S: Renamed into ...
4328 * gdb.btrace/x86_64-record_goto.S: ... this.
4329 * gdb.btrace/i686-record_goto.S: New.
4330 * gdb.btrace/x86-tailcall.S: Renamed into ...
4331 * gdb.btrace/x86_64-tailcall.S: ... this.
4332 * gdb.btrace/i686-tailcall.S: New.
4333 * gdb.btrace/x86-tailcall.c: Renamed into ...
4334 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4335 separate statements. Update test.
4336 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4337 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4338 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4339 * gdb.btrace/tailcall.exp: Choose test file based on target.
4340 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4342 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4344 * gdb.btrace/exception.exp: Increase BTS buffer size.
4346 2015-03-24 Pedro Alves <palves@redhat.com>
4348 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4350 2015-03-24 Pedro Alves <palves@redhat.com>
4352 * gdb.threads/schedlock.exp (test_step): No longer expect that
4353 "set scheduler-locking step" with "next" over a function call runs
4356 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4358 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4360 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4362 PR breakpoints/16466
4363 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4364 * gdb.mi/mi-pending.c (thread_func): New function.
4365 (int main): Add threading support required.
4366 * gdb.mi/mi-pending.exp: Add tests for this issue.
4367 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4368 (pendfunc2): Remove stdio dependency.
4369 * gdb.mi/mi-pendshr2.c: New file.
4371 2015-03-23 Keith Seitz <keiths@redhat.com>
4373 * gdb.linespec/keywords.c: New file.
4374 * gdb.linespec/keywords.exp: New file.
4376 2015-03-23 Keith Seitz <keiths@redhat.com>
4379 * gdb.dwarf2/staticvirtual.exp: New test.
4381 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4383 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4384 * README: Remove HP-UX and gdb.hp.
4386 * configure: Regenerate.
4387 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4388 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4389 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4390 gdb.hp/gdb.defects/Makefile.
4391 * gdb.hp/Makefile.in: File deleted.
4392 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4393 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4394 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4395 * gdb.hp/gdb.aCC/run.c: File deleted.
4396 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4397 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4398 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4399 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4400 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4401 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4402 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4403 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4404 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4405 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4406 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4407 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4408 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4409 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4410 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4411 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4412 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4413 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4414 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4415 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4416 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4417 * gdb.hp/gdb.compat/average.c: File deleted.
4418 * gdb.hp/gdb.compat/sum.c: File deleted.
4419 * gdb.hp/gdb.compat/xdb.c: File deleted.
4420 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4421 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4422 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4423 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4424 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4425 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4426 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4427 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4428 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4429 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4430 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4431 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4432 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4433 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4434 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4435 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4436 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4437 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4438 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4439 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4440 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4441 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4442 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4443 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4444 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4445 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4446 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4447 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4448 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4449 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4450 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4451 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4452 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4453 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4454 * gdb.hp/tools/odump: File deleted.
4456 2015-03-19 Pedro Alves <palves@redhat.com>
4458 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4459 (saw_thread_3): New globals.
4460 (top level): Increment them when an event for the corresponding
4462 (no thread starvation): New test.
4464 2015-03-19 Pedro Alves <palves@redhat.com>
4466 * gdb.threads/continue-pending-status.c: New file.
4467 * gdb.threads/continue-pending-status.exp: New file.
4469 2015-03-18 Pedro Alves <palves@redhat.com>
4471 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4472 Use gdb_is_target_remote instead of is_remote. Use
4473 gdb_test_multiple instead of gdb_expect. Exit early if
4474 gdb_test_multiple hits its internal matches. Tighten stepi tests
4475 expected output. Fail on exit with any signal, instead of just
4478 2015-03-18 Yao Qi <yao.qi@linaro.org>
4481 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4483 * gdb.base/catch-syscall.exp: Don't skip it on
4484 aarch64*-*-linux* target. Remove elements in all_syscalls.
4485 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4487 (setup_all_syscalls): New proc.
4489 2015-03-16 Yao Qi <yao.qi@linaro.org>
4491 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4492 (top level): Skip tests if valid_addr_p returns false for
4495 2015-03-11 Andy Wingo <wingo@igalia.com>
4497 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4499 2015-03-11 Yao Qi <yao.qi@linaro.org>
4501 * gdb.base/catch-syscall.exp: Fix typo in comments.
4503 2015-03-11 Yao Qi <yao.qi@linaro.org>
4505 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4507 2015-03-09 Pedro Alves <palves@redhat.com>
4509 * dg-extract-results.py: Delete.
4511 2015-03-09 Pedro Alves <palves@redhat.com>
4513 Merge dg-extract-results.sh from GCC upstream (r218843).
4515 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4516 * dg-extract-results.sh: Use --text with grep to avoid issues with
4517 binary files. Fall back to cat -v, if that doesn't work.
4519 2015-03-05 Pedro Alves <palves@redhat.com>
4521 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4523 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4525 * lib/mi-support.exp (mi_expect_interrupt): Accept
4526 alternative event for when in all-stop mode.
4528 2015-03-04 Pedro Alves <palves@redhat.com>
4530 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4532 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4534 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4536 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4538 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4539 regexps for GDB's current line display, accept a hex address
4540 preceding the line number.
4542 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4544 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4545 the 'arch1' variable for "s390*-linux*" targets.
4547 2015-03-04 Pedro Alves <palves@redhat.com>
4549 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4550 (main): Pass missing retval argument to pthread_join call.
4552 2015-03-02 Pedro Alves <palves@redhat.com>
4554 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4555 (top level): Call do_test with non-stop as well.
4557 2015-03-02 Pedro Alves <palves@redhat.com>
4559 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4562 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4564 * gdb.arch/s390-vregs.exp: New test.
4565 * gdb.arch/s390-vregs.S: New file.
4567 2015-02-27 Pedro Alves <palves@redhat.com>
4569 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4570 call to catch_command_errors.
4571 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4572 catch_command_errors.
4574 2015-02-27 Pedro Alves <palves@redhat.com>
4576 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4577 "true" for boolean result.
4578 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4581 2015-02-27 Pedro Alves <palves@redhat.com>
4583 * lib/unbuffer_output.c: New file.
4584 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4585 (main): Call gdb_unbuffer_output.
4587 2015-02-27 Yao Qi <yao.qi@linaro.org>
4589 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4592 2015-02-26 Doug Evans <dje@google.com>
4594 * gdb.cp/class2.cc (Dbase, D): New classes.
4595 (main): New local delta.
4596 * gdb.cp/class2.exp: Test printing delta.
4597 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4598 (dynbar): New global.
4599 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4601 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4603 * gdb.compile/compile-ifunc.c: New file.
4604 * gdb.compile/compile-ifunc.exp: New file.
4606 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4608 * gdb.base/structs.exp: Check for correct struct on finish.
4610 2015-02-26 Yao Qi <yao.qi@linaro.org>
4612 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4615 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4617 * gdb.arch/cordic.ko.bz2: New file.
4618 * gdb.arch/cordic.ko.debug.bz2: New file.
4619 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4621 2015-02-25 Yao Qi <yao.qi@linaro.org>
4623 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4624 aarch64*-*-* target.
4626 2015-02-23 Pedro Alves <palves@redhat.com>
4628 * lib/gdb.exp (delete_breakpoints): Rewrite using
4631 2015-02-23 Pedro Alves <palves@redhat.com>
4633 * gdb.base/info-os.c: Include stdlib.h.
4635 2015-02-22 Doug Evans <xdje42@gmail.com>
4638 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4639 is read after symbols have been re-read.
4640 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4641 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4643 2015-02-21 Doug Evans <dje@google.com>
4645 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4647 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4650 * gdb.arch/i386-biarch-core.core.bz2: New file.
4651 * gdb.arch/i386-biarch-core.exp: New file.
4653 2015-02-21 Pedro Alves <palves@redhat.com>
4655 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4658 2015-02-20 Pedro Alves <palves@redhat.com>
4660 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4663 2015-02-20 Pedro Alves <palves@redhat.com>
4665 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4667 2015-02-20 Pedro Alves <palves@redhat.com>
4669 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4670 clean_restart before gdb_target_supports_trace.
4672 2015-02-20 Pedro Alves <palves@redhat.com>
4675 * gdb.threads/clone-thread_db.c: New file.
4676 * gdb.threads/clone-thread_db.exp: New file.
4678 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4680 PR breakpoints/16812
4681 * gdb.base/catch-gdb-caused-signals.c: New file.
4682 * gdb.base/catch-gdb-caused-signals.exp: New file.
4684 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4686 * configure: Regenerated.
4687 * configure.ac: Use GDB_AC_TRANSFORM.
4688 * aclocal.m4: sinclude ../transform.m4.
4690 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4692 * lib/dtrace.exp: New file.
4693 * gdb.base/dtrace-probe.exp: Likewise.
4694 * gdb.base/dtrace-probe.d: Likewise.
4695 * gdb.base/dtrace-probe.c: Likewise.
4696 * lib/pdtrace.in: Likewise.
4697 * configure.ac: Output variables with the transformed names of
4698 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4699 * configure: Regenerated.
4701 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4703 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4704 expected message when trying to access $_probe_* convenience
4705 variables while not on a probe.
4707 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4709 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4711 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4713 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4714 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4716 2015-02-10 Doug Evans <xdje42@gmail.com>
4718 * lib/gdb.exp (gdb_load): Always return a result.
4720 2015-02-10 Pedro Alves <palves@redhat.com>
4722 * gdb.threads/signal-sigtrap.c: New file.
4723 * gdb.threads/signal-sigtrap.exp: New file.
4725 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4727 * gdb.trace/no-attach-trace.c: New file.
4728 * gdb.trace/no-attach-trace.exp: New file.
4730 2015-02-09 Mark Wielaard <mjw@redhat.com>
4732 * gdb.dwarf2/atomic.c: New file.
4733 * gdb.dwarf2/atomic-type.exp: Likewise.
4735 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4737 * gdb.btrace/buffer-size.exp: Update "info record" output.
4738 * gdb.btrace/delta.exp: Update "info record" output.
4739 * gdb.btrace/enable.exp: Update "info record" output.
4740 * gdb.btrace/finish.exp: Update "info record" output.
4741 * gdb.btrace/instruction_history.exp: Update "info record" output.
4742 * gdb.btrace/next.exp: Update "info record" output.
4743 * gdb.btrace/nexti.exp: Update "info record" output.
4744 * gdb.btrace/step.exp: Update "info record" output.
4745 * gdb.btrace/stepi.exp: Update "info record" output.
4746 * gdb.btrace/nohist.exp: Update "info record" output.
4748 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4750 * gdb.btrace/buffer-size: New.
4752 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4754 * gdb.btrace/delta.exp: Update "info record" output.
4755 * gdb.btrace/enable.exp: Update "info record" output.
4756 * gdb.btrace/finish.exp: Update "info record" output.
4757 * gdb.btrace/instruction_history.exp: Update "info record" output.
4758 * gdb.btrace/next.exp: Update "info record" output.
4759 * gdb.btrace/nexti.exp: Update "info record" output.
4760 * gdb.btrace/step.exp: Update "info record" output.
4761 * gdb.btrace/stepi.exp: Update "info record" output.
4762 * gdb.btrace/nohist.exp: Update "info record" output.
4764 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4767 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4769 2015-02-06 Pedro Alves <palves@redhat.com>
4771 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4773 (seconds_left, again): New globals.
4774 (main): Wait seconds_left in a 1-second sleep loop instead of
4775 sleeping 180 seconds. If 'again' is set, reset the seconds
4777 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4778 'again' in the inferior before detaching. Print the seconds left.
4779 (options): New global.
4780 (top level): Build program with -DTIMEOUT=$timeout.
4782 2015-02-06 Pedro Alves <palves@redhat.com>
4784 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4785 determine how many seconds to pass to 'alarm'.
4786 * gdb.base/gdb-sigterm.exp (top level): Build program with
4788 (do_test): Return success/failure indication. Add more verbose
4789 logging. Don't fail if 200 single steps are seen. Instead, fail
4790 when the test times out.
4791 (passes): New global.
4792 (top level): Break the testing loop if testing fails on any
4793 iteration. Use gdb_assert.
4795 2015-02-04 Don Breazeal <donb@codesourcery.com>
4797 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4798 and initialize them.
4799 (ipc_cleanup): New function.
4800 (main): Don't declare shmid, semid, and msqid. Add a call to
4801 atexit so that we call ipc_cleanup on exit.
4803 2015-02-04 Pedro Alves <palves@redhat.com>
4805 * boards/native-extended-gdbserver.exp: Remove any target variant
4806 specifications from the board name before clearing the isremote
4807 flag from board_info.
4809 2015-01-31 Doug Evans <xdje42@gmail.com>
4811 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4813 2015-01-31 Gary Benson <gbenson@redhat.com>
4815 * gdb.base/completion.exp: Disable completion limiting for
4816 existing tests. Add new tests to check completion limiting.
4817 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4819 2015-01-31 Doug Evans <xdje42@gmail.com>
4821 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4823 2015-01-31 Doug Evans <xdje42@gmail.com>
4825 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4826 entries. Duplicate file section script entries.
4827 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4828 inlined entries. Add test for safe-path rejection.
4829 * gdb.python/py-section-script.c: Add duplicate inlined section script
4830 entries. Duplicate file section script entries.
4831 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4832 inlined entries. Add test for safe-path rejection.
4834 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4836 * gdb.ada/disc_arr_bound: New testcase.
4838 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4840 * gdb.ada/mi_var_array: New testcase.
4842 2015-01-27 Doug Evans <dje@google.com>
4844 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4845 Add test for objfile.filename, objfile.username after objfile
4848 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4850 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4851 the second test to print the name attribute of value
4852 returned by the call to gdb.lookup_type, and adjust
4853 the expected output accordingly.
4855 2015-01-25 Mark Wielaard <mjw@redhat.com>
4857 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4858 * gdb.base/disp-step-fork.c: Include unistd.h.
4859 * gdb.base/siginfo-obj.c: Include stdio.h.
4860 * gdb.base/siginfo-thread.c: Likewise.
4861 * gdb.mi/non-stop.c: Include unistd.h.
4862 * gdb.mi/nsthrexec.c: Include stdio.h.
4863 * gdb.mi/pthreads.c: Include unistd.h.
4864 * gdb.modula2/unbounded1.c (main): Declare returns int.
4865 * gdb.reverse/consecutive-reverse.c: Likewise.
4866 * gdb.threads/create-fail.c: Include unistd.h.
4867 * gdb.threads/killed.c: Likewise.
4868 * gdb.threads/linux-dp.c: Likewise.
4869 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4870 * gdb.threads/non-ldr-exc-2.c: Likewise.
4871 * gdb.threads/non-ldr-exc-3.c: Likewise.
4872 * gdb.threads/non-ldr-exc-4.c: Likewise.
4873 * gdb.threads/pthreads.c: Include unistd.h.
4874 (main): Declare returns int.
4875 * gdb.threads/tls-main.c (foo): New declaration.
4876 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4878 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4880 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4881 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4883 2015-01-15 Mark Wielaard <mjw@redhat.com>
4885 * gdb.base/noreturn-return.c: New file.
4886 * gdb.base/noreturn-return.exp: New file.
4887 * gdb.base/noreturn-finish.c: New file.
4888 * gdb.base/noreturn-finish.exp: New file.
4890 2015-01-23 Pedro Alves <palves@redhat.com>
4892 * gdb.threads/continue-pending-after-query.c: New file.
4893 * gdb.threads/continue-pending-after-query.exp: New file.
4895 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4896 Simon Marchi <simon.marchi@ericsson.com>
4898 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4899 * gdb.base/valgrind-db-attach.exp: Same.
4900 * gdb.base/valgrind-infcall.exp: Same.
4901 * lib/mi-support.exp (default_mi_gdb_start): Same.
4902 * lib/prompt.exp (default_prompt_gdb_start): Same.
4903 * lib/gdb.exp (default_gdb_spawn): Same.
4904 (gdb_interact): New.
4907 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4909 * gdb.compile/compile.exp (pointer to jit function): New test.
4911 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4913 * lib/gdb.exp (supports_process_record): Return true for
4915 (supports_reverse): Likewise.
4917 2015-01-15 Don Breazeal <donb@codesourcery.com>
4919 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4920 instead of checking whether the target board is remote and
4921 use spawn_wait_for_attach instead of exec/sleep.
4922 * gdb.base/attach-twice.exp: Likewise.
4924 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4926 * gdb.ada/var_arr_attrs: New testcase.
4928 2015-01-14 Pedro Alves <palves@redhat.com>
4929 Joel Brobecker <brobecker@adacore.com>
4932 * gdb.base/bp-cmds-execution-x-script.c: New file.
4933 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4934 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4936 2015-01-14 Pedro Alves <palves@redhat.com>
4939 * gdb.base/batch-preserve-term-settings.c: New file.
4940 * gdb.base/batch-preserve-term-settings.exp: New file.
4942 2015-01-13 Doug Evans <dje@google.com>
4944 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4947 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4949 * Makefile.in (clean mostlyclean): Do not delete *.py.
4951 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4953 * gdb.python/py-lookup-type.exp: New file.
4955 2015-01-12 Pedro Alves <palves@redhat.com>
4957 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4958 restore GDBFLAGS before returning.
4960 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4962 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4963 is_amd64_regs_target and is_x86_like_target.
4965 2015-01-11 Doug Evans <xdje42@gmail.com>
4967 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4968 is given without an explicit form.
4969 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4971 * gdb.dwarf/corrupt.exp: Ditto.
4972 * gdb.dwarf2/enum-type.exp: Ditto.
4973 * gdb.trace/entry-values.exp: Ditto.
4974 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4976 2015-01-11 Doug Evans <xdje42@gmail.com>
4979 * gdb.base/maint.exp: Remove references to "maint demangle".
4980 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4981 Add tests for explicitly specifying language to demangle.
4982 * gdb.dlang/demangle.exp: Ditto.
4984 2015-01-09 Pedro Alves <palves@redhat.com>
4986 * gdb.threads/non-stop-fair-events.c: New file.
4987 * gdb.threads/non-stop-fair-events.exp: New file.
4989 2015-01-09 Pedro Alves <palves@redhat.com>
4991 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4992 the global scope. Set a breakpoint after all threads are started
4993 rather than stepping over two source lines. Expect the prompt.
4994 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4997 (main): Use threads_started_barrier to wait for all threads to
4998 start. Main thread no longer calls thread_function. Exit after
5000 (loop): New function.
5001 (thread_function): Wait on threads_started_barrier barrier. Call
5002 'loop' at each iteration.
5003 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
5004 threads have started, instead of hardcoding number of "next"
5005 steps. Use an access watchpoint instead of a write watchpoint.
5007 2015-01-09 Pedro Alves <palves@redhat.com>
5009 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
5010 (thread_func): Wait on barrier.
5011 (main): Wait for all threads to start before stopping GDB.
5012 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
5014 (thread1_func, thread2_func): Wait on barrier.
5015 (main): Wait for all threads to start before stopping GDB.
5016 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
5018 (thread1_func, thread2_func): Wait on barrier.
5019 (main): Wait for all threads to start before stopping GDB.
5021 2015-01-09 Pedro Alves <palves@redhat.com>
5023 * gdb.threads/attach-many-short-lived-threads.c: New file.
5024 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5026 2014-01-09 Pedro Alves <palves@redhat.com>
5028 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5029 instead of to thread 2.
5030 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5031 Add barrier around each pthread_create call instead of around all
5033 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5034 Set a break on thread_function and have the child threads hit it
5037 2015-01-09 Pedro Alves <palves@redhat.com>
5039 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5040 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5042 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5043 checking whether the target board is remote.
5044 * gdb.multi/multi-attach.exp: Likewise.
5045 * gdb.python/py-sync-interp.exp: Likewise.
5046 * gdb.server/ext-attach.exp: Likewise.
5047 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5048 tests that need to attach, instead of checking whether the target
5049 board is remote at the top of the file.
5051 2015-01-08 Yao Qi <yao@codesourcery.com>
5053 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5055 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5057 Fix testcase compilation.
5058 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5060 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5062 * gdb.python/py-type.exp: Add a couple test about empty
5063 array creation, and negative-length array creation.
5065 2015-01-02 Doug Evans <xdje42@gmail.com>
5067 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5069 2015-01-02 Doug Evans <dje@google.com>
5071 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5073 2014-12-29 Yao Qi <yao@codesourcery.com>
5075 * gdb.trace/entry-values.exp: Update comments. Rename variable
5076 bar_call_foo to returned_from_foo.
5078 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5081 * gdb.linespec/break-asm-file.c: New file.
5082 * gdb.linespec/break-asm-file.exp: New file.
5083 * gdb.linespec/break-asm-file0.s: New file.
5084 * gdb.linespec/break-asm-file1.s: New file.
5086 2014-12-18 Nigel Stephens <nigel@mips.com>
5087 Maciej W. Rozycki <macro@codesourcery.com>
5089 * gdb.base/float.exp: Handle the new output from "info float" on
5092 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5094 Fix MinGW compilation.
5095 * gdb.compile/compile-ops.exp: Update untested message if
5096 !skip_compile_feature_tests.
5097 * gdb.compile/compile-setjmp.exp: Likewise.
5098 * gdb.compile/compile-tls.exp: Likewise.
5099 * gdb.compile/compile.exp: Likewise.
5100 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5101 supported on this host".
5103 2014-12-16 Doug Evans <xdje42@gmail.com>
5105 * boards/stabs.exp: New file.
5107 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5109 * gdb.base/completion.exp: Adjust to format changes of "maint
5110 print user-registers".
5112 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5115 * gdb.arch/aarch64-fp.c: New file.
5116 * gdb.arch/aarch64-fp.exp: New file.
5118 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5120 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5121 r210637, r210913, r211666, r215400, r215817).
5123 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5124 * dg-extract-results.py: New file.
5125 * dg-extract-results.sh: Use it if the environment seems
5128 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5130 * dg-extract-results.py (parse_run): Handle warnings that
5131 are printed before a test harness is run.
5133 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5135 * dg-extract-results.py (Named): Remove __cmp__ method.
5136 (output_variation): Use a key to sort variation.harnesses.
5138 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5140 * dg-extract-results.py: For Python 3, force sys.stdout to
5141 handle surrogate escape sequences.
5142 (safe_open): New function.
5143 (output_segment, main): Use it.
5145 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5147 * dg-extract-results.py (Prog.result_re): Include options
5150 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5152 * dg-extract-results.py (output_variation): Always sort if
5155 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5157 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5158 as long as we get pagination notifications.
5160 2014-12-15 Jason Merrill <jason@redhat.com>
5162 * Makefile.in (check-gdb.%): Restore.
5163 * README: Mention it.
5165 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5167 * gdb.ada/str_uninit: New testcase.
5169 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5172 * gdb.base/vla-stub-define.c: New file.
5173 * gdb.base/vla-stub.c: New file.
5174 * gdb.base/vla-stub.exp: New file.
5176 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5177 Jan Kratochvil <jan.kratochvil@redhat.com>
5178 Tom Tromey <tromey@redhat.com>
5180 * configure.ac: Add gdb.compile/.
5181 * configure: Regenerate.
5182 * gdb.compile/Makefile.in: New file.
5183 * gdb.compile/compile-ops.exp: New file.
5184 * gdb.compile/compile-ops.c: New file.
5185 * gdb.compile/compile-tls.c: New file.
5186 * gdb.compile/compile-tls.exp: New file.
5187 * gdb.compile/compile-constvar.S: New file.
5188 * gdb.compile/compile-constvar.c: New file.
5189 * gdb.compile/compile-mod.c: New file.
5190 * gdb.compile/compile-nodebug.c: New file.
5191 * gdb.compile/compile-setjmp-mod.c: New file.
5192 * gdb.compile/compile-setjmp.c: New file.
5193 * gdb.compile/compile-setjmp.exp: New file.
5194 * gdb.compile/compile-shlib.c: New file.
5195 * gdb.compile/compile.c: New file.
5196 * gdb.compile/compile.exp: New file.
5197 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5199 2014-12-12 Tom Tromey <tromey@redhat.com>
5201 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5202 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5204 2014-12-12 Doug Evans <dje@google.com>
5206 * lib/gdb-python.exp (get_python_valueof): New function.
5207 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5209 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5211 * gdb.base/completion.exp: Add test for completion of "info
5214 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5216 * gdb.base/func-ptrs.c: New file.
5217 * gdb.base/func-ptrs.exp: New file.
5219 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5221 PR breakpoints/17012
5222 * gdb.base/dprintf-detach.c: New file.
5223 * gdb.base/dprintf-detach.exp: New file.
5225 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5227 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5228 * lib/gdb.exp (target_is_gdbserver): New procedure.
5230 2014-12-08 Doug Evans <dje@google.com>
5232 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5234 2014-12-05 Yao Qi <yao@codesourcery.com>
5236 * gdb.guile/scm-error.exp: Remove the third argument to
5237 gdb_remote_download.
5238 * gdb.guile/scm-frame-args.exp: Likewise.
5239 * gdb.guile/scm-section-script.exp: Likewise.
5241 2014-12-05 Yao Qi <yao@codesourcery.com>
5243 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5245 2014-12-04 Doug Evans <dje@google.com>
5247 * gdb.python/py-objfile.exp: Add tests for
5248 objfile.add_separate_debug_file.
5250 2014-12-04 Doug Evans <dje@google.com>
5252 * lib/gdb.exp (get_build_id): New function.
5253 (build_id_debug_filename_get): Rewrite to use it.
5254 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5256 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5258 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5259 `method(long)', not just 0x0.
5260 * gdb.cp/nsalias.exp: Align code labels to 4.
5261 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5262 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5263 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5264 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5265 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5266 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5268 2014-12-02 Doug Evans <dje@google.com>
5271 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5272 * gdb.cp/anon-ns2.cc: ... here. New file.
5273 * gdb.cp/anon-ns.exp: Update.
5275 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5277 * gdb.python/py-events.py (inferior_call_handler): New.
5278 (register_changed_handler, memory_changed_handler): New.
5279 (test_events.invoke): Register new handlers.
5280 * gdb.python/py-events.exp: Add tests for inferior call,
5281 memory_changed and register_changed events.
5283 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5285 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5286 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5287 if the linker doesn't understand this.
5289 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5291 * gdb.python/python.exp: Change expected reply to help().
5293 2014-12-01 Yao Qi <yao@codesourcery.com>
5295 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5296 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5297 * configure: Re-generated.
5299 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5301 * gdb.cp/chained-calls.cc: New file.
5302 * gdb.cp/chained-calls.exp: New file.
5303 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5305 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5307 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5308 * gdb.dwarf2/symtab-producer.exp: Same.
5309 * gdb.gdb/python-interrupts.exp: Same.
5310 * gdb.gdb/python-selftest.exp: Same.
5311 * gdb.python/py-linetable.exp: Same.
5312 * gdb.python/py-type.exp: Same.
5313 * gdb.python/py-value-cc.exp: Same.
5314 * gdb.python/py-value.exp: Same.
5316 2014-11-28 Yao Qi <yao@codesourcery.com>
5318 * gdb.base/break-probes.exp: Match library name prefixed with
5321 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5323 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5324 test expected output. Add parentheses for the call to print.
5325 Remove L suffix from integers.
5327 2014-11-26 Doug Evans <dje@google.com>
5329 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5331 2014-11-22 Yao Qi <yao@codesourcery.com>
5333 * gdb.trace/entry-values.c: Remove asms.
5334 (foo): Add foo_label.
5335 (bar): Add bar_label.
5336 * gdb.trace/entry-values.exp: Remove code computing foo's
5337 length and bar's length.
5338 (Dwarf::assemble): Invoke function_range for bar and use
5339 MACRO_AT_func for foo.
5341 2014-11-22 Yao Qi <yao@codesourcery.com>
5343 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5344 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5345 Use .Lgcc43_procstart instead of gcc43.
5347 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5349 * gdb.ada/n_arr_bound: New testcase.
5351 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5353 PR breakpoints/10737
5354 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5355 test_catch_syscall_multi_arch.
5356 (test_catch_syscall_multi_arch): New function.
5358 2014-11-20 Doug Evans <xdje42@gmail.com>
5360 * gdb.base/maint.exp: Update expected output.
5362 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5364 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5365 4-byte instruction on S390.
5367 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5369 * gdb.ada/arr_arr: New testcase.
5371 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5373 * gdb.ada/pkd_arr_elem: New Testcase.
5375 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5377 * gdb.reverse/break-precsave: Expect completion message for
5379 * gdb.reverse/consecutive-precsave.exp: Likewise.
5380 * gdb.reverse/finish-precsave.exp: Likewise.
5381 * gdb.reverse/i386-precsave.exp: Likewise.
5382 * gdb.reverse/machinestate-precsave.exp: Likewise.
5383 * gdb.reverse/sigall-precsave.exp: Likewise.
5384 * gdb.reverse/solib-precsave.exp: Likewise.
5385 * gdb.reverse/step-precsave.exp: Likewise.
5386 * gdb.reverse/until-precsave.exp: Likewise.
5387 * gdb.reverse/watch-precsave.exp: Likewise.
5389 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5391 * gdb.base/bp-permanent.c: Include unistd.h.
5392 * gdb.python/py-framefilter-mi.c (main): Add return type.
5393 * gdb.python/py-framefilter.c (main): Likewise.
5394 * gdb.trace/actions-changed.c (main): Likewise.
5396 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5398 * gdb.mi/until.c: Add eye-catchers.
5399 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5402 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5404 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5405 function header variants in break1.c.
5406 * gdb.base/ena-dis-br.exp: Likewise.
5407 * gdb.base/hbreak2.exp: Likewise.
5408 * gdb.reverse/until-precsave.exp: Drop references to removed
5409 non-prototype function header variants in ur1.c.
5410 * gdb.reverse/until-reverse.exp: Likewise.
5412 2014-11-17 Petr Machata <pmachata@redhat.com>
5414 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5415 ${_cu_offset_size} bytes abbrev offset.
5417 2014-11-15 Doug Evans <xdje42@gmail.com>
5420 * gdb.base/line-symtabs.exp: New file.
5421 * gdb.base/line-symtabs.c: New file.
5422 * gdb.base/line-symtabs.h: New file.
5424 2014-11-14 Yao Qi <yao@codesourcery.com>
5426 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5427 (func): Add label func_label.
5428 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5429 Replace low_pc and high_pc with MACRO_AT_range.
5430 Replace name, low_pc and high_pc with MACRO_AT_func.
5432 2014-11-14 Yao Qi <yao@codesourcery.com>
5434 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5435 Replace name, low_pc and high_pc with MACRO_AT_func.
5437 2014-11-14 Yao Qi <yao@codesourcery.com>
5439 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5440 produce debug information.
5441 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5443 2014-11-14 Yao Qi <yao@codesourcery.com>
5445 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5446 object and get function length.
5447 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5449 (top-level): Replace gdb_compile and clean_restart with
5450 prepare_for_testing.
5451 * gdb.dwarf2/main.c (main): Add label main_label.
5453 2014-11-14 Yao Qi <yao@codesourcery.com>
5455 * lib/dwarf.exp (function_range): New procedure.
5456 (Dwarf::_handle_macro_at_func): New procedure.
5457 (Dwarf::_handle_macro_at_range): New procedure.
5458 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5460 2014-11-14 Yao Qi <yao@codesourcery.com>
5462 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5463 (_handle_attribute): New procedure.
5465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5468 * gdb.base/call-sc.c (zed): Likewise.
5469 * gdb.base/checkpoint.c (main): Likewise.
5470 * gdb.base/dump.c (main): Likewise.
5471 * gdb.base/gcore.c (main): Likewise.
5472 * gdb.base/huge.c (main): Likewise.
5473 * gdb.base/multi-forks.c (main): Likewise.
5474 * gdb.base/pr10179-a.c (main): Likewise.
5475 * gdb.base/savedregs.c (main): Likewise.
5476 * gdb.base/sigaltstack.c (main): Likewise.
5477 * gdb.base/siginfo.c (main): Likewise.
5478 * gdb.base/structs.c (zed): Likewise.
5479 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5480 * gdb.mi/mi-syn-frame.c (main): Likewise.
5481 * gdb.mi/until.c (foo, main): Likewise.
5482 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5483 * gdb.base/solib-weak.c (foo): Declare.
5484 * gdb.base/attach-twice.c: Include stdio.h.
5485 * gdb.base/weaklib1.c: Likewise.
5486 * gdb.base/weaklib2.c: Likewise.
5487 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5488 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5490 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5491 * gdb.mi/mi-exit-code.c: Likewise.
5492 * gdb.base/break-interp-lib.c: Include string.h.
5493 * gdb.base/coremaker.c: Likewise.
5494 * gdb.base/testenv.c: Likewise.
5495 * gdb.python/py-finish-breakpoint.c: Likewise.
5496 * gdb.base/inferior-died.c: Include sys/wait.h.
5497 * gdb.base/fileio.c: Include time.h.
5498 * gdb.base/async-shell.c: Include unistd.h.
5499 * gdb.base/dprintf-non-stop.c: Likewise.
5500 * gdb.base/info-os.c: Likewise.
5501 * gdb.mi/mi-console.c: Likewise.
5502 * gdb.mi/watch-nonstop.c: Likewise.
5503 * gdb.python/py-events.c: Likewise.
5504 * gdb.base/async.c (baz): Move up before its invocation.
5505 * gdb.base/code_elim2.c (my_global_func): Likewise.
5506 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5507 * gdb.base/advance.c (func2): Likewise.
5509 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5511 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5513 * gdb.base/annota3.c: Likewise.
5514 * gdb.base/async.c: Likewise.
5515 * gdb.base/average.c: Likewise.
5516 * gdb.base/call-ar-st.c: Likewise.
5517 * gdb.base/call-rt-st.c: Likewise.
5518 * gdb.base/call-sc.c: Likewise.
5519 * gdb.base/call-strs.c: Likewise.
5520 * gdb.base/ending-run.c: Likewise.
5521 * gdb.base/execd-prog.c: Likewise.
5522 * gdb.base/exprs.c: Likewise.
5523 * gdb.base/foll-exec.c: Likewise.
5524 * gdb.base/foll-fork.c: Likewise.
5525 * gdb.base/foll-vfork.c: Likewise.
5526 * gdb.base/funcargs.c: Likewise.
5527 * gdb.base/gcore.c: Likewise.
5528 * gdb.base/jump.c: Likewise.
5529 * gdb.base/langs0.c: Likewise.
5530 * gdb.base/langs1.c: Likewise.
5531 * gdb.base/langs2.c: Likewise.
5532 * gdb.base/mips_pro.c: Likewise.
5533 * gdb.base/nodebug.c: Likewise.
5534 * gdb.base/opaque0.c: Likewise.
5535 * gdb.base/opaque1.c: Likewise.
5536 * gdb.base/recurse.c: Likewise.
5537 * gdb.base/run.c: Likewise.
5538 * gdb.base/scope0.c: Likewise.
5539 * gdb.base/scope1.c: Likewise.
5540 * gdb.base/setshow.c: Likewise.
5541 * gdb.base/setvar.c: Likewise.
5542 * gdb.base/shmain.c: Likewise.
5543 * gdb.base/shr1.c: Likewise.
5544 * gdb.base/shr2.c: Likewise.
5545 * gdb.base/sigall.c: Likewise.
5546 * gdb.base/signals.c: Likewise.
5547 * gdb.base/so-indr-cl.c: Likewise.
5548 * gdb.base/solib2.c: Likewise.
5549 * gdb.base/structs.c: Likewise.
5550 * gdb.base/sum.c: Likewise.
5551 * gdb.base/vforked-prog.c: Likewise.
5552 * gdb.base/watchpoint.c: Likewise.
5553 * gdb.reverse/shr2.c: Likewise.
5554 * gdb.reverse/until-reverse.c: Likewise.
5555 * gdb.reverse/ur1.c: Likewise.
5556 * gdb.reverse/watch-reverse.c: Likewise.
5558 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5560 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5562 * gdb.base/sepdebug.exp: Drop references to removed code.
5564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5566 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5567 variant. Preserve original line numbering.
5568 * gdb.base/list1.c: Likewise.
5570 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5574 * gdb.base/break1.c: Likewise.
5575 * gdb.base/break.exp: Drop references to removed code.
5577 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5579 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5582 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5584 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5586 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5589 logic into perform_all_tests() and invoke it with and without
5590 function header prototypes.
5591 (do_function_calls): Remove conditional XFAIL for PR 5318.
5592 (rerun_and_prepare): Remove duplicate code.
5593 (perform_all_tests): New. Main logic moved here.
5595 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5597 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5598 code guarded by #ifdef NO_PROTOTYPES.
5599 (t_double_many_args): Likewise.
5600 (DEF_FUNC_MANY_ARGS_1): Likewise.
5601 (DEF_FUNC_VALUES_1): Likewise.
5602 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5603 guarded by #ifdef PROTOTYPES.
5605 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5607 * gdb.mi/mi-console.c: Add eye-catcher.
5608 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5609 instead of literal line number.
5611 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5613 * gdb.base/shr2.c: Add eye-catcher.
5614 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5617 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5619 * gdb.base/jump.c: Add eye-catchers.
5620 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5623 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5625 * gdb.base/execd-prog.c: Add eye-catchers.
5626 * gdb.base/foll-exec.c: Likewise.
5627 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5632 * gdb.base/ending-run.c: Add eye-catchers.
5633 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5634 literal line numbers.
5636 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5638 * gdb.base/call-rt-st.c: Add eye-catchers.
5639 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5640 literal line numbers.
5642 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5644 * gdb.base/call-ar-st.c: Add eye-catchers.
5645 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5646 literal line numbers.
5648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5650 * gdb.base/average.c: Add eye-catchers.
5651 * gdb.base/sum.c: Likewise.
5652 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5653 regexps dynamically.
5655 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657 * gdb.base/solib1.c: Add eye-catchers.
5658 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5659 literal line numbers.
5661 2014-11-12 Pedro Alves <palves@redhat.com>
5663 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5666 2014-11-12 Pedro Alves <palves@redhat.com>
5668 * gdb.arch/i386-bp_permanent.c: New file.
5669 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5670 (srcfile): Set to i386-bp_permanent.c.
5671 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5672 that stepi does not execute the 'leave' instruction, instead of
5673 testing it does execute.
5674 * gdb.base/bp-permanent.c: New file.
5675 * gdb.base/bp-permanent.exp: New file.
5677 2014-11-10 Doug Evans <xdje42@gmail.com>
5680 * gdb.base/symtab-search-order.exp: New file.
5681 * gdb.base/symtab-search-order.c: New file.
5682 * gdb.base/symtab-search-order-1.c: New file.
5683 * gdb.base/symtab-search-order-shlib-1.c: New file.
5685 2014-11-07 Pedro Alves <palves@redhat.com>
5688 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5691 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5694 * gdb.cp/pr17494.cc: New file.
5695 * gdb.cp/pr17494.exp: New file.
5697 2014-11-02 Yao Qi <yao@codesourcery.com>
5699 * gdb.python/python.exp: Get working directory and match the
5700 output of "set extended-prompt \\w " with it.
5702 2014-10-30 Doug Evans <dje@google.com>
5704 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5706 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5709 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5711 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5712 * gdb.base/realname-expand.exp: Likewise.
5713 * gdb.linespec/macro-relative.exp: Likewise.
5715 2014-10-29 Pedro Alves <palves@redhat.com>
5718 * gdb.threads/schedlock.c (some_function): New function.
5719 (call_function): New global.
5720 (MAYBE_CALL_SOME_FUNCTION): New macro.
5721 (thread_function): Call it.
5722 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5723 and use it instead of a global counter. Adjust all callers.
5724 (get_current_thread): Use "find current thread" for test message
5725 here rather than having all callers pass down the same string.
5726 (goto_loop): New procedure, factored out from ...
5727 (my_continue): ... this.
5728 (step_ten_loops): Change parameter from test message to command to
5730 (list_count): Delete global.
5731 (check_result): New procedure, factored out from duplicate top
5733 (continue tests): Wrap in with_test_prefix.
5734 (test_step): New procedure, factored out from duplicate top level
5736 (top level): Test "step" in combination with all scheduler-locking
5737 modes. Test "next" in combination with all scheduler-locking
5738 modes, and in combination with stepping over a function call or
5740 * gdb.threads/next-bp-other-thread.c: New file.
5741 * gdb.threads/next-bp-other-thread.exp: New file.
5743 2014-10-29 Pedro Alves <palves@redhat.com>
5746 * gdb.python/python.exp: Test a multi-line command that spawns
5748 * gdb.base/multi-line-starts-subshell.exp: New file.
5750 2014-10-29 Yao Qi <yao@codesourcery.com>
5752 * gdb.base/fileio.exp: Make directories on host.
5754 2014-10-29 Yao Qi <yao@codesourcery.com>
5756 * gdb.base/fileio.c (test_write): Close the file.
5758 2014-10-28 Pedro Alves <palves@redhat.com>
5761 * gdb.base/sigstep.c (no_handler): New global.
5762 (main): If 'no_handler is true, set the signal handlers to
5764 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5765 with_sw_watch and no_handler parameters. Handle them.
5766 (top level) <stepping over handler when stopped at a breakpoint
5767 test>: Add a test axis for testing with a software watchpoint, and
5768 another for testing with the signal handler set to SIG_IGN.
5769 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5770 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5772 2014-10-28 Pedro Alves <palves@redhat.com>
5775 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5776 * gdb.base/sigstep.exp (other_handler_location): New global.
5777 (advance): Support stepping into the signal handler, and running
5778 commands while in the handler.
5779 (in_handler_map): New global.
5780 (top level): In the advance test, add combinations for getting
5781 into the handler with stepping commands, and for running commands
5782 in the handler. Add comment descripting the advancei tests.
5784 2014-10-28 Pedro Alves <palves@redhat.com>
5786 * gdb.base/sigstep.exp: Use build_executable instead of
5787 prepare_for_testing.
5788 (top level): Move code that starts GDB, runs to main and creates a
5790 (restart): ... this new procedure.
5791 (top level): Move backtrace from signal handler test to ...
5792 (validate_backtrace): ... this new procedure.
5793 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5794 with_test_prefix. Always restart GDB.
5795 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5796 with_test_prefix. Always restart GDB. No need to delete
5797 breakpoints after the test.
5798 (test_skip_handler): Remove prefix parameter.
5799 (skip_over_handler, breakpoint_to_handler)
5800 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5801 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5802 restart GDB. No need to delete breakpoints after the test.
5803 (top level): Use foreach to call the test procedures with
5806 2014-10-28 Pedro Alves <palves@redhat.com>
5808 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5809 instead of GNATS numbers.
5810 * gdb.base/sigbpt.exp: Likewise.
5811 * gdb.base/siginfo.exp: Likewise.
5812 * gdb.base/sigstep.exp: Likewise.
5814 2014-10-27 Pedro Alves <palves@redhat.com>
5816 * gdb.base/sigstep.c (dummy): New global.
5817 (main): Issue a couple writes to the new global.
5818 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5820 (skip_over_handler): Use test_skip_handler.
5821 (top level): Call skip_over_handler for stepi and nexti too.
5822 (breakpoint_over_handler): Use test_skip_handler.
5823 (top level): Call breakpoint_over_handler for stepi and nexti too.
5825 2014-10-27 Yao Qi <yao@codesourcery.com>
5827 * gdb.trace/tfile.c (adjust_function_address)
5828 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5829 function descriptor.
5831 2014-10-24 Don Breazeal <donb@codesourcery.com>
5833 * gdb.base/foll-fork.exp (test_follow_fork,
5834 catch_fork_child_follow): Check for updated fork messages emitted
5836 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5837 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5838 vfork_and_exec_child_follow_through_step): Check for updated vfork
5839 messages emitted from infrun.c.
5841 2014-10-24 Pedro Alves <palves@redhat.com>
5843 * gdb.base/corefile.exp: Remove references to ultrix.
5844 * gdb.base/interrupt.exp: Likewise.
5845 * gdb.base/whatis.exp: Likewise.
5846 * gdb.gdb/selftest.exp: Likewise.
5847 * gdb.threads/manythreads.exp: Likewise.
5848 * gdb.threads/print-threads.exp: Likewise.
5849 * gdb.threads/pthreads.exp:: Likewise.
5850 * gdb.threads/schedlock.exp: Likewise.
5852 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5854 * gdb.cp/non-trivial-retval.cc: Add a test case.
5855 * gdb.cp/non-trivial-retval.exp: Add a test.
5857 2014-10-20 Yao Qi <yao@codesourcery.com>
5859 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5860 * gdb.python/py-objfile-script-gdb.py: New file.
5861 * gdb.python/py-objfile-script.exp: Update reference to
5862 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5863 of remote_download. Remove the dest file.
5865 2014-10-20 Yao Qi <yao@codesourcery.com>
5867 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5868 * gdb.base/step-line.exp: Likewise.
5869 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5870 * gdb.dwarf2/dw2-basic.exp: Likewise.
5871 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5872 * gdb.dwarf2/dw2-filename.exp: Likewise.
5873 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5874 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5875 * gdb.dwarf2/dw2-producer.exp: Likewise.
5876 * gdb.dwarf2/mac-fileno.exp: Likewise.
5877 * gdb.python/py-frame-args.exp: Likewise.
5878 * gdb.python/py-framefilter.exp: Likewise.
5879 * gdb.python/py-mi.exp: Likewise.
5880 * gdb.python/py-objfile-script.exp: Likewise
5881 * gdb.python/py-pp-integral.exp: Likewise.
5882 * gdb.python/py-pp-re-notag.exp: Likewise.
5883 * gdb.python/py-prettyprint.exp: Likewise.
5884 * gdb.python/py-section-script.exp: Likewise.
5885 * gdb.python/py-typeprint.exp: Likewise.
5886 * gdb.python/py-xmethods.exp: Likewise.
5887 * gdb.stabs/weird.exp: Likewise.
5888 * gdb.xml/tdesc-regs.exp: Likewise.
5890 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5892 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5893 (out_cu): Use addr_len for the size of addresses.
5894 (out_line): Likewise. Size DW_LNE_set_address instruction
5895 according to addr_len.
5896 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5897 (FUNC): Add START_INSNS to definition.
5899 2014-10-18 Yao Qi <yao@codesourcery.com>
5901 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5902 gdb_has_argv0 return true.
5903 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5904 check [target_info exists noargs], check [gdb_has_argv0]
5906 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5907 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5910 2014-10-17 Doug Evans <dje@google.com>
5912 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5914 * gdb.python/py-events.py: Add clear_objfiles event.
5916 2014-10-17 Doug Evans <dje@google.com>
5918 * gdb.python/py-objfile.exp: Test progspace attribute.
5920 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5922 * gdb.guile/scm-breakpoint.exp: Do not assume any
5923 directory separators when matching source file paths.
5924 * gdb.python/py-breakpoint.exp: Likewise.
5925 * gdb.reverse/break-precsave.exp: Likewise.
5926 * gdb.reverse/break-reverse.exp: Likewise.
5927 * gdb.reverse/consecutive-precsave.exp: Likewise.
5928 * gdb.reverse/finish-precsave.exp: Likewise.
5929 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5930 * gdb.reverse/finish-reverse.exp: Likewise.
5931 * gdb.reverse/i386-precsave.exp: Likewise.
5932 * gdb.reverse/i387-env-reverse.exp: Likewise.
5933 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5934 * gdb.reverse/machinestate-precsave.exp: Likewise.
5935 * gdb.reverse/machinestate.exp: Likewise.
5936 * gdb.reverse/sigall-precsave.exp: Likewise.
5937 * gdb.reverse/solib-precsave.exp: Likewise.
5938 * gdb.reverse/step-precsave.exp: Likewise.
5939 * gdb.reverse/until-precsave.exp: Likewise.
5940 * gdb.reverse/watch-precsave.exp: Likewise.
5941 * gdb.reverse/watch-reverse.exp: Likewise.
5943 2014-10-17 Yao Qi <yao@codesourcery.com>
5945 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5946 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5948 2014-10-17 Pedro Alves <palves@redhat.com>
5951 * gdb.base/bg-execution-repeat.c: New file.
5952 * gdb.base/bg-execution-repeat.exp: New file.
5954 2014-10-17 Pedro Alves <palves@redhat.com>
5957 * gdb.base/continue-all-already-running.c: New file.
5958 * gdb.base/continue-all-already-running.exp: New file.
5960 2014-10-17 Pedro Alves <palves@redhat.com>
5963 * gdb.base/annota-input-while-running.c: New file.
5964 * gdb.base/annota-input-while-running.exp: New file.
5966 2014-10-17 Pedro Alves <palves@redhat.com>
5968 * gdb.base/callfuncs.exp: emove references to osf.
5969 * gdb.base/sigall.exp: Likewise.
5970 * gdb.gdb/selftest.exp: Likewise.
5971 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5972 * gdb.mi/non-stop.c: Likewise.
5973 * gdb.mi/pthreads.c: Likewise.
5974 * gdb.reverse/sigall-precsave.exp: Likewise.
5975 * gdb.reverse/sigall-reverse.exp: Likewise.
5976 * gdb.threads/pthreads.c: Likewise.
5977 * gdb.threads/pthreads.exp: Likewise.
5979 2014-10-17 Yao Qi <yao@codesourcery.com>
5981 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5982 check 'target_info exists noargs'.
5983 (test_command_prompt_position): Likewise.
5984 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5986 (progvar_simple_while_test): Likewise.
5987 (progvar_complex_if_while_test): Likewise.
5988 (if_while_breakpoint_command_test): Likewise.
5989 (infrun_breakpoint_command_test): Likewise.
5990 (breakpoint_command_test): Likewise.
5991 (watchpoint_command_test): Likewise.
5992 (bp_deleted_in_command_test): Likewise.
5993 (temporary_breakpoint_commands): Likewise.
5995 2014-10-16 Yao Qi <yao@codesourcery.com>
5997 * gdb.base/remotetimeout.exp: Remove noargs checking.
5999 2014-10-15 Pedro Alves <palves@redhat.com>
6002 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
6003 * gdb.base/breakpoint-in-ro-region.exp
6004 (probe_target_hardware_step): New procedure.
6005 (top level): Probe hardware stepping and hardware breakpoint
6006 support. Test stepping through a read-only region, with both
6007 "breakpoint auto-hw" on and off and both "always-inserted" on and
6010 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
6012 * gdb.dlang/demangle.exp: Update for demangling changes.
6014 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6016 * gdb.cp/non-trivial-retval.cc: Add new test cases.
6017 * gdb.cp/non-trivial-retval.exp: Add new tests.
6019 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
6023 * gdb.cp/non-trivial-retval.cc: New file.
6024 * gdb.cp/non-trivial-retval.exp: New file.
6026 2014-10-15 Yao Qi <yao@codesourcery.com>
6028 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6031 2014-10-15 Yao Qi <yao@codesourcery.com>
6033 * gdb.python/py-symbol.exp: Match file base name if host is
6034 remote, otherwise match file name with dir name.
6035 * gdb.python/py-symtab.exp: Likewise.
6036 * gdb.python/python.exp: Likewise.
6038 2014-10-15 Yao Qi <yao@codesourcery.com>
6040 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6042 * gdb.python/py-symtab.exp: Likewise.
6043 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6046 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6048 * gdb.ada/addr_arith: New testcase.
6050 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6052 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6053 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6054 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6055 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6057 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6059 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6060 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6061 * gdb.arch/stap-eval-lang-ada.exp: New file.
6063 2014-10-14 Yao Qi <yao@codesourcery.com>
6065 * gdb.mi/mi-var-child.c (nothing1): New function.
6066 (nothing2): New function.
6067 (do_children_tests): Set function pointers by nothing1 and
6069 * gdb.mi/mi-var-child.exp: Step over new added statements.
6070 Update test to match the new output.
6071 * gdb.mi/var-cmd.c (nothing1): New function.
6072 (nothing2): New function.
6073 (do_children_tests): Set function pointers by nothing1 and
6075 * gdb.mi/mi-var-display.exp: Update test to match output.
6076 Step to the line specified by $line_dct_nothing.
6077 Increase the number of lines to step.
6079 2014-10-14 Yao Qi <yao@codesourcery.com>
6081 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6083 * gdb.mi/mi2-var-child.exp: Likewise.
6085 2014-10-13 Doug Evans <dje@google.com>
6087 * gdb.python/py-objfile.exp: Change name of file name test.
6089 2014-10-13 Doug Evans <dje@google.com>
6091 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6092 from the start of the CU.
6094 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6095 Yao Qi <yao@codesourcery.com>
6097 Fix "save breakpoints" for "catch" command.
6098 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6099 Remove -nonewline. Match also the added "main" line.
6101 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6103 Fix "save breakpoints" for "disable $bpnum" command.
6104 * gdb.base/save-bp.c (main): Add label.
6105 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6107 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6109 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6111 2014-10-11 Yao Qi <yao@codesourcery.com>
6113 * gdb.server/server-kill.exp: Execute command
6114 "set remote trace-status-packet on" before "tstatus".
6116 2014-10-11 Yao Qi <yao@codesourcery.com>
6118 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6119 (main): Call getppid.
6120 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6121 and continue to it. Read variable "server_pid".
6123 2014-10-11 Yao Qi <yao@codesourcery.com>
6125 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6127 2014-10-11 Yao Qi <yao@codesourcery.com>
6129 * gdb.threads/thread-find.exp: Don't execute command
6131 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6132 * gdb.threads/linux-dp.exp: Don't check the condition
6133 $threads_created equals to zero.
6135 2014-10-10 Pedro Alves <palves@redhat.com>
6137 * gdb.base/bigcore.exp: Remove references to IRIX.
6138 * gdb.base/funcargs.exp: Likewise.
6139 * gdb.base/interrupt.exp: Likewise.
6140 * gdb.base/mips_pro.exp: Likewise.
6141 * gdb.base/nodebug.exp: Likewise.
6142 * gdb.base/setvar.exp: Likewise.
6143 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6145 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6146 Pedro Alves <palves@redhat.com>
6149 * gdb.base/vdso-warning.c: New file.
6150 * gdb.base/vdso-warning.exp: New file.
6152 2014-10-02 Doug Evans <dje@google.com>
6154 * gdb.base/structs.c (main): Don't run forever.
6156 2014-10-02 Pedro Alves <palves@redhat.com>
6158 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6159 (top level) <stop threads 1, stop threads 2>: Use it.
6161 2014-10-02 Pedro Alves <palves@redhat.com>
6163 * gdb.threads/break-while-running.exp (test): Add new
6164 'update_thread_list' argument. Skip "info threads" if false.
6165 (top level): Add new 'update_thread_list' axis.
6167 2014-10-02 Pedro Alves <palves@redhat.com>
6169 PR breakpoints/17431
6170 * gdb.base/execl-update-breakpoints.c: New file.
6171 * gdb.base/execl-update-breakpoints.exp: New file.
6173 2014-10-01 Pedro Alves <palves@redhat.com>
6175 * gdb.base/breakpoint-in-ro-region.c: New file.
6176 * gdb.base/breakpoint-in-ro-region.exp: New file.
6178 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6180 * gdb.mi/mi-exit-code.exp: New file.
6181 * gdb.mi/mi-exit-code.c: New file.
6183 2014-09-30 Yao Qi <yao@codesourcery.com>
6185 * lib/prelink-support.exp (build_executable_own_libs): Error if
6186 the target isn't native.
6188 2014-09-30 Yao Qi <yao@codesourcery.com>
6190 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6193 2014-09-22 Pedro Alves <palves@redhat.com>
6195 * gdb.threads/break-while-running.exp: New file.
6196 * gdb.threads/break-while-running.c: New file.
6198 2014-09-19 Yao Qi <yao@codesourcery.com>
6200 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6201 Invoke test. Restart GDB with --readnow and invoke test again.
6203 2014-09-19 Yao Qi <yao@codesourcery.com>
6205 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6206 proc set_breakpoint_on_gcd_function. Invoke
6207 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6208 invoke set_breakpoint_on_gcd_function again.
6210 2014-09-18 Doug Evans <dje@google.com>
6212 * gdb.dwarf2/symtab-producer.exp: New file.
6214 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6216 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6217 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6218 * gdb.base/global-var-nested-by-dso.c: Likewise.
6219 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6221 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6222 Pedro Alves <palves@redhat.com>
6224 * gdb.base/watch-bitfields.exp: Pass string other than test file
6225 name to prepare_for_testing.
6226 (watch): New procedure.
6227 (expect_watchpoint): Use with_test_prefix.
6228 (top level): Factor out tests to ...
6229 (test_watch_location, test_regular_watch): ... these new
6230 procedures, and use with_test_prefix and gdb_continue_to_end.
6232 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6234 PR breakpoints/12526
6235 * gdb.base/watch-bitfields.exp: New file.
6236 * gdb.base/watch-bitfields.c: New file.
6238 2014-09-16 Pedro Alves <palves@redhat.com>
6240 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6241 software and hardware addresses, not software address against
6244 2014-09-16 Pedro Alves <palves@redhat.com>
6246 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6247 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6249 2014-09-16 Pedro Alves <palves@redhat.com>
6251 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6253 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6254 "*-*-vxworks*" throughout.
6255 * gdb.base/break.exp: Likewise.
6256 * gdb.base/default.exp: Likewise.
6257 * gdb.base/scope.exp: Likewise.
6258 * gdb.base/sepdebug.exp: Likewise.
6259 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6261 * gdb.base/run.c: Likewise.
6262 * gdb.base/sepdebug.c: Likewise.
6263 * gdb.hp/gdb.aCC/run.c: Likewise.
6264 * gdb.reverse/until-reverse.c: Likewise.
6265 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6267 2014-09-16 Yao Qi <yao@codesourcery.com>
6269 * boards/local-remote-host-native.exp: New file.
6271 2014-09-14 Doug Evans <xdje42@gmail.com>
6273 * gdb.threads/queue-signal.c (thread_count): New variable.
6274 (thread_count_mutex, thread_count_condvar): New variables.
6275 (incr_thread_count, wait_all_threads_running): New functions.
6276 (main): Wait for all threads to be in their thread functions.
6278 2014-09-13 Doug Evans <xdje42@gmail.com>
6280 * gdb.threads/queue-signal.c: New file.
6281 * gdb.threads/queue-signal.exp: New file.
6283 2014-09-13 Doug Evans <xdje42@gmail.com>
6285 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6286 be consistent with what default_gdb_init uses.
6287 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6288 the plain text of the prompt. Add some logging printfs.
6289 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6291 2014-09-12 Pedro Alves <palves@redhat.com>
6293 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6294 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6295 * gdb.arch/i386-size-overlap.exp: Likewise.
6296 * gdb.arch/i386-size.exp: Likewise.
6297 * gdb.arch/i386-unwind.exp: Likewise.
6298 * gdb.base/a2-run.exp: Likewise.
6299 * gdb.base/break.exp: Likewise.
6300 * gdb.base/charset.exp: Likewise.
6301 * gdb.base/chng-syms.exp: Likewise.
6302 * gdb.base/commands.exp: Likewise.
6303 * gdb.base/dbx.exp: Likewise.
6304 * gdb.base/find.exp: Likewise.
6305 * gdb.base/funcargs.exp: Likewise.
6306 * gdb.base/jit-simple.exp: Likewise.
6307 * gdb.base/reread.exp: Likewise.
6308 * gdb.base/sepdebug.exp: Likewise.
6309 * gdb.base/step-bt.exp: Likewise.
6310 * gdb.cp/mb-inline.exp: Likewise.
6311 * gdb.cp/mb-templates.exp: Likewise.
6312 * gdb.objc/basicclass.exp: Likewise.
6313 * gdb.threads/killed.exp: Likewise.
6315 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6318 * gdb.arch/powerpc-stackless.S: New file.
6319 * gdb.arch/powerpc-stackless.exp: New file.
6321 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6323 * gdb.base/attach.c: Include unistd.h.
6324 (main): Call alarm. Add label postloop.
6325 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6326 gdb_breakpoint, gdb_continue_to_breakpoint.
6327 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6329 2014-09-11 Pedro Alves <palves@redhat.com>
6332 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6333 * gdb.base/attach.exp (test_command_line_attach_run): New
6335 (top level): Call it.
6337 2014-09-11 Pedro Alves <palves@redhat.com>
6339 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6340 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6341 (do_command_attach_tests): Use spawn_wait_for_attach.
6342 * gdb.base/solib-overlap.exp: Likewise.
6343 * gdb.multi/multi-attach.exp: Likewise.
6344 * gdb.python/py-prompt.exp: Likewise.
6345 * gdb.python/py-sync-interp.exp: Likewise.
6346 * gdb.server/ext-attach.exp: Likewise.
6348 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6350 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6351 command in testcase. Simplify testcase.
6353 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6355 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6357 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6359 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6361 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6363 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6367 * gdb.dwarf2/dynarr-ptr.c: New file.
6368 * gdb.dwarf2/dynarr-ptr.exp: New file.
6370 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6372 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6373 of 30 rather than hardcoding 120 for a slow test case. Take the
6374 `gdb,timeout' target setting into account for this calculation.
6375 Don't extend the timeout for the test cases that don't need it.
6377 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6379 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6380 a factor of 2 for a slow test case. Take the `gdb,timeout'
6381 target setting into account for this calculation.
6382 * gdb.reverse/until-precsave.exp: Increase the timeout by
6383 a factor of 15 and 3 respectively rather than adding 120
6384 for a pair of slow test cases. Take the `gdb,timeout'
6385 target setting into account for this calculation.
6387 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6389 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6390 timeout, don't pass one down to gdb_expect.
6391 (gdb_expect): Rework timeout selection.
6393 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6395 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6396 exception on timeout.
6397 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6398 (gdbserver_start_extended): Catch any `gdbserver_start' error
6400 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6401 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6402 `gdbserver_gdb_load' error exceptions.
6404 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6406 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6407 120 on waiting for the TCP socket to open.
6409 2014-09-09 Doug Evans <xdje42@gmail.com>
6411 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6412 _caller_matches, _any_caller_is, _any_caller_matches.
6414 2014-09-09 Doug Evans <xdje42@gmail.com>
6416 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6418 2014-09-09 Yao Qi <yao@codesourcery.com>
6420 * gdb.mi/mi-var-display.exp: Set print symbol off.
6422 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6425 * gdb.base/commands.exp: Add tests to verify user-defined
6426 commands with empty bodies.
6427 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6428 python commands in `show user command`.
6429 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6430 scheme commands in `show user command`.
6432 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6435 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6436 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6437 * gdb.python/py-framefilter-invalidarg.exp: New file.
6438 * gdb.python/py-framefilter-invalidarg.py: New file.
6440 2014-09-06 Doug Evans <xdje42@gmail.com>
6443 * gdb.python/py-caller-is.c: New file.
6444 * gdb.python/py-caller-is.exp: New file.
6446 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6449 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6450 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6452 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6455 * gdb.fortran/print-formatted.exp: New file.
6456 * gdb.fortran/print-formatted.f90: Likewise.
6458 2014-09-03 Sasha Smundak <asmundak@google.com>
6460 * gdb.python/py-frame.exp: Test Frame.read_register.
6462 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6465 * gdb.python/py-completion.exp: New file.
6466 * gdb.python/py-completion.py: Likewise.
6468 2014-08-28 Doug Evans <dje@google.com>
6470 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6471 eax,etc. are live with values set by gdb and thus the compiler can't
6473 * gdb.arch/i386-pseudo.c (main): Ditto.
6475 2014-08-27 Doug Evans <dje@google.com>
6477 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6479 2014-08-25 Doug Evans <dje@google.com>
6481 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6484 2014-08-25 Doug Evans <dje@google.com>
6486 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6488 2014-08-24 Yao Qi <yao@codesourcery.com>
6490 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6492 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6494 2014-08-22 Doug Evans <dje@google.com>
6497 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6498 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6499 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6501 2014-08-22 Yao Qi <yao@codesourcery.com>
6503 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6504 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6505 * gdb.python/python.exp: Likewise. Use .py file on the host
6506 instead of the build.
6508 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6510 * gdb.threads/gcore-stale-thread.c: New file.
6511 * gdb.threads/gcore-stale-thread.exp: New file.
6513 2014-08-21 Pedro Alves <palves@redhat.com>
6515 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6516 * gdb.base/gcore-relro-pie.exp: Likewise.
6517 * gdb.base/gcore-relro.exp: Likewise.
6518 * gdb.base/gcore.exp: Likewise.
6519 * gdb.base/print-symbol-loading.exp: Likewise.
6520 * gdb.threads/gcore-thread.exp: Likewise.
6521 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6523 2014-08-20 Pedro Alves <palves@redhat.com>
6524 Jan Kratochvil <jan.kratochvil@redhat.com>
6526 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6528 (EXPECT): Handle READ1 being set.
6529 (all): Depend on EXTRA_RULES.
6530 (check-read1, expect-read1, read1.so, read1): New rules.
6531 * README (Testsuite Parameters): Document the READ1 make variable.
6532 (Race detection): New section.
6533 * configure: Regenerate.
6534 * configure.ac: If build==host==target, and running under a
6535 GNU/glibc system, add read1 to the extra Makefile rules.
6536 (EXTRA_RULES): AC_SUBST it.
6537 * lib/read1.c: New file.
6539 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6541 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6542 the handling of variables declared as a typedef to an array
6543 which a DW_AT_data_location attribute.
6545 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6546 Pedro Alves <palves@redhat.com>
6550 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6553 2014-08-19 Pedro Alves <palves@redhat.com>
6555 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6557 2014-08-19 Yao Qi <yao@codesourcery.com>
6559 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6562 2014-08-18 David Blaikie <dblaikie@gmail.com>
6564 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6566 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6568 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6569 attribute in array range.
6571 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6573 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6575 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6578 * gdb.cp/pr17132.cc: New file.
6579 * gdb.cp/pr17132.exp: New file.
6581 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6583 * gdb.python/py-xmethods.py (A_getarrayind)
6584 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6585 Use 'print' with function call syntax.
6586 (E_method_matcher.match): Fix tab vs space indentation mixup.
6588 2014-08-15 Yao Qi <yao@codesourcery.com>
6590 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6593 2014-08-15 Yao Qi <yao@codesourcery.com>
6595 * gdb.cp/casts.exp: Set print symbol off.
6596 * gdb.cp/class2.exp: Likewise.
6597 * gdb.cp/overload.exp: Likewise.
6598 * gdb.cp/templates.exp: Likewise.
6600 2014-08-11 Doug Evans <dje@google.com>
6602 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6603 (test_load_shlib): Update.
6605 2014-08-09 Yao Qi <yao@codesourcery.com>
6607 * gdb.base/display.exp: Invoke is_address_zero_readable.
6608 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6609 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6610 * gdb.base/hbreak-unmapped.exp: Return if
6611 is_address_zero_readable returns true.
6612 * gdb.base/signest.exp: Likewise.
6613 * gdb.base/signull.exp: Likewise.
6614 * gdb.base/sigbpt.exp: Likewise.
6615 * gdb.guile/scm-disasm.exp: Do the test if
6616 is_address_zero_readable returns false.
6617 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6618 * gdb.python/py-arch.exp: Likewise.
6619 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6620 * lib/gdb.exp (is_address_zero_readable): New proc.
6622 2014-08-09 Yao Qi <yao@codesourcery.com>
6625 * gdb.mi/mi-var-display.exp: Make test messages unique.
6627 2014-08-04 Tom Tromey <tromey@redhat.com>
6629 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6632 2014-08-04 Tom Tromey <tromey@redhat.com>
6634 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6637 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6639 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6640 inner_vla_struct_object_size.
6641 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6644 2014-07-30 Pedro Alves <palves@redhat.com>
6646 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6649 2014-07-29 Yao Qi <yao@codesourcery.com>
6652 * gdb.base/until-nodebug.exp: New.
6654 2014-07-28 Doug Evans <xdje42@gmail.com>
6657 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6658 previously existing parameter, and previously ambiguously spelled
6661 2014-07-28 Will Newton <will.newton@linaro.org>
6663 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6665 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6666 Doug Evans <xdje42@gmail.com>
6669 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6671 2014-07-25 Pedro Alves <palves@redhat.com>
6673 * gdb.threads/signal-command-handle-nopass.c: New file.
6674 * gdb.threads/signal-command-handle-nopass.exp: New file.
6675 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6676 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6677 * gdb.threads/signal-delivered-right-thread.c: New file.
6678 * gdb.threads/signal-delivered-right-thread.exp: New file.
6680 2014-07-25 Pedro Alves <palves@redhat.com>
6682 * gdb.base/double-prompt-target-event-error.exp
6683 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6685 (cancel_pagination_in_target_event): Rework double prompt
6687 * gdb.base/paginate-after-ctrl-c-running.exp
6688 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6690 * gdb.base/paginate-bg-execution.exp
6691 (test_bg_execution_pagination_return)
6692 (test_bg_execution_pagination_cancel): Remove '-notransfer
6694 * gdb.base/paginate-execution-startup.exp
6695 (test_fg_execution_pagination_return)
6696 (test_fg_execution_pagination_cancel): Remove '-notransfer
6698 * gdb.base/paginate-inferior-exit.exp
6699 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6701 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6702 * lib/gdb.exp (pagination_prompt): Run text through
6704 (gdb_test_multiple): Match $pagination_prompt instead of
6706 (string_to_regexp): Move to lib/gdb-utils.exp.
6708 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6710 * gdb.arch/amd64-entry-value-paramref.S: New file.
6711 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6712 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6713 * gdb.arch/amd64-optimout-repeat.S: New file.
6714 * gdb.arch/amd64-optimout-repeat.c: New file.
6715 * gdb.arch/amd64-optimout-repeat.exp: New file.
6717 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6720 * gdb.base/statistics.exp: New file.
6722 2014-07-17 Doug Evans <dje@google.com>
6725 * gdb.base/maint.exp: Update testing of per-command stats.
6727 2014-07-16 Pedro Alves <palves@redhat.com>
6729 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6730 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6731 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6732 (tfile_write_buf): New functions.
6733 (add_memory_block): Rewrite using the above.
6734 (adjust_function_address): New function.
6735 (FUNCTION_ADDRESS): New macro.
6736 (write_basic_trace_file): Remove short_x local, and use
6737 tfile_write_16. Change type of func_addr local to unsigned long
6738 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6739 here. Cast argument of add_memory_block to char pointer.
6740 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6741 (main): Remove parameters.
6742 * gdb.trace/tfile.exp: Remove nowarnings.
6744 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6746 * gdb.base/debug-expr.exp: Test string evaluation with
6747 "debug expression" on.
6749 2014-07-15 Pedro Alves <palves@redhat.com>
6751 * gdb.base/reread.exp: Use clean_restart.
6753 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6755 * gdb.arch/avr-flash-qualifer.c: New.
6756 * gdb.arch/avr-flash-qualifer.exp: New.
6758 2014-07-14 Pedro Alves <palves@redhat.com>
6760 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6761 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6763 2014-07-14 Pedro Alves <palves@redhat.com>
6765 * gdb.base/double-prompt-target-event-error.c: New file.
6766 * gdb.base/double-prompt-target-event-error.exp: New file.
6768 2014-07-14 Pedro Alves <palves@redhat.com>
6771 * gdb.base/paginate-inferior-exit.c: New file.
6772 * gdb.base/paginate-inferior-exit.exp: New file.
6774 2014-07-14 Pedro Alves <palves@redhat.com>
6777 * gdb.base/paginate-bg-execution.c: New file.
6778 * gdb.base/paginate-bg-execution.exp: New file.
6780 2014-07-14 Pedro Alves <palves@redhat.com>
6783 * gdb.base/paginate-execution-startup.c: New file.
6784 * gdb.base/paginate-execution-startup.exp: New file.
6785 * lib/gdb.exp (pagination_prompt): New global.
6786 (default_gdb_spawn): New procedure, factored out from
6788 (default_gdb_start): Adjust to call default_gdb_spawn.
6789 (gdb_spawn): New procedure.
6791 2014-07-14 Pedro Alves <palves@redhat.com>
6793 * lib/gdb.exp (gdb_assert): New procedure.
6794 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6796 2014-07-14 Pedro Alves <palves@redhat.com>
6798 * gdb.base/execution-termios.c: New file.
6799 * gdb.base/execution-termios.exp: New file.
6801 2014-07-14 Tom Tromey <tromey@redhat.com>
6803 * gdb.cp/vla-cxx.cc: New file.
6804 * gdb.cp/vla-cxx.exp: New file.
6806 2014-07-14 Tom Tromey <tromey@redhat.com>
6808 * gdb.reverse/rerun-prec.c: New file.
6809 * gdb.reverse/rerun-prec.exp: New file.
6811 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6812 Maciej W. Rozycki <macro@codesourcery.com>
6814 * lib/gdb-utils.exp: New file.
6815 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6816 inline `gdb_init_command' processing.
6817 (gdb_start_cmd): Likewise.
6818 * lib/mi-support.exp (mi_run_cmd): Likewise.
6819 * README: Document `gdb_init_command' and `gdb_init_commands'.
6821 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6823 Fix false FAIL running under a very long directory name.
6824 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6825 and "set print elements 10000". Twice.
6827 2014-07-11 Yao Qi <yao@codesourcery.com>
6829 * gdb.base/exprs.exp: "set print symbol off".
6831 2014-07-11 Pedro Alves <palves@redhat.com>
6833 * gdb.threads/kill.c: New file.
6834 * gdb.threads/kill.exp: New file.
6836 2014-07-10 Yao Qi <yao@codesourcery.com>
6838 * gdb.trace/tfile.c (write_basic_trace_file)
6839 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6840 address written to trace file.
6842 2014-07-09 Pedro Alves <palves@redhat.com>
6844 * gdb.base/attach-wait-input.exp: New file.
6845 * gdb.base/attach-wait-input.c: New file.
6847 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6849 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6850 setting up test structures.
6851 (main): Call new test function.
6852 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6853 test function, continue into test function and walk test
6856 2014-07-02 Yao Qi <yao@codesourcery.com>
6858 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6859 'bar_start' at the beginning of functions 'foo' and 'bar'
6861 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6862 instead of 'foo' and 'bar'.
6864 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6866 * gdb.btrace/segv.exp: New.
6867 * gdb.btrace/segv.c: New.
6869 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6871 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6874 2014-06-30 Mark Wielaard <mjw@redhat.com>
6876 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6877 vulture, vilify, villar): New volatile array constants.
6878 (vindictive, vegetation): New const volatile array constants.
6879 * gdb.base/volatile.exp: Test volatile and const volatile array
6882 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6884 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6885 target lacks support for awatch, rwatch, or hbreak.
6887 2014-06-27 Yao Qi <yao@codesourcery.com>
6889 * gdb.multi/dummy-frame-restore.exp: New.
6890 * gdb.multi/dummy-frame-restore.c: New.
6892 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6894 * gdb.btrace/gcore.exp: New.
6896 2014-06-23 Pedro Alves <palves@redhat.com>
6898 * gdb.base/watchpoint-reuse-slot.c: New file.
6899 * gdb.base/watchpoint-reuse-slot.exp: New file.
6901 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6903 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6904 progspace's filename in 'info', 'enable' and 'disable' command
6907 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6909 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6910 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6911 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6913 2014-06-20 Gary Benson <gbenson@redhat.com>
6915 * gdb.arch/i386-avx.exp: Fix include file location.
6916 * gdb.arch/i386-sse.exp: Likewise.
6918 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6920 * gdb.dlang/expression.exp: New file.
6922 2014-06-19 Pedro Alves <palves@redhat.com>
6924 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6926 (top level): ... here. Iterate running tests under different
6927 scheduler-locking settings.
6929 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6931 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6932 to DW_FORM_addr and use non-zero addresses.
6934 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6937 * gdb.python/py-xmethods.cc: Add global function call counters and
6938 increment them in their respective functions. Remove "cout"
6940 * gdb.python/py-xmethods.exp: Make tests check the global function
6941 call counters instead of depending on inferior IO.
6943 2014-06-18 Don Breazeal <donb@codesourcery.com>
6945 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6947 (explicit_fork_parent_follow): Deleted procedure.
6948 (explicit_fork_child_follow): Deleted procedure.
6949 (test_follow_fork): New procedure.
6950 (do_fork_tests): Replace calls to deleted procedures with
6951 calls to test_follow_fork and reset GDB for subsequent
6954 2014-06-17 Yao Qi <yao@codesourcery.com>
6956 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6959 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6961 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6962 Initialize ptr and S explicitly.
6963 (skip_type_update_when_not_use_rtti_test): Likewise.
6965 2014-06-16 Keith Seitz <keiths@redhat.com>
6968 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6969 the inferior is started.
6971 2014-06-16 Pedro Alves <palves@redhat.com>
6973 * gdb.base/break-main-file-remove-fail.c: New file.
6974 * gdb.base/break-main-file-remove-fail.exp: New file.
6975 * gdb.base/break-unload-file.exp: Use build_executable instead of
6976 prepare_for_testing.
6977 (test_break): New parameter "initial_load". Handle it.
6978 (top level): Add initial_load cmdline/file axis.
6980 2014-06-12 Tom Tromey <tromey@redhat.com>
6982 * gdb.base/completion.exp: Don't use directory name in test.
6984 2014-06-09 Gary Benson <gbenson@redhat.com>
6986 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6987 separate the always-available ANSI-standard signals from the
6988 signals that require checking.
6990 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6994 2014-06-07 Keith Seitz <keiths@redhat.com>
6998 * gdb.cp/var-tag.cc: New file.
6999 * gdb.cp/var-tag.exp: New file.
7000 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7001 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7002 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7003 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7005 2014-06-06 Doug Evans <xdje42@gmail.com>
7007 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
7009 2014-06-06 Pedro Alves <palves@redhat.com>
7011 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
7012 in target debug output instead of looking at RSP packets,
7013 disabling the test on any target that uses hardware stepping.
7016 2014-06-06 Pedro Alves <palves@redhat.com>
7018 * gdb.base/break-unload-file.exp: Fix typo.
7020 2014-06-06 Yao Qi <yao@codesourcery.com>
7022 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
7023 from "jit_function" to "^jit_function".
7025 2014-06-06 Yao Qi <yao@codesourcery.com>
7027 * gdb.base/async.c (foo): Add one statement.
7028 * gdb.base/async.exp: Get the next instruction address and
7029 match the output of "nexti" by instruction address. Match
7030 the hex address in the output of "finish".
7032 2014-06-06 Gary Benson <gbenson@redhat.com>
7034 * gdb.base/call-signals.c: Remove preprocessor conditionals
7035 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7036 SIGSEGV and SIGTERM.
7037 * gdb.base/sigall.c: Likewise.
7038 * gdb.base/unwindonsignal.c: Likewise.
7039 * gdb.reverse/sigall-reverse.c: Likewise.
7041 2014-06-06 Yao Qi <yao@codesourcery.com>
7043 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7044 readable, skip the test.
7046 2014-06-06 Yao Qi <yao@codesourcery.com>
7048 * gdb.threads/staticthreads.c (thread_function): Move the line
7049 setting breakpoint on forward.
7050 * gdb.threads/staticthreads.exp: Update comments.
7052 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7054 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7055 "history-append! type error".
7057 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7059 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7060 erroneous dprintf expected input.
7062 2014-06-04 Doug Evans <xdje42@gmail.com>
7064 * gdb.guile/scm-generics.exp: Delete.
7066 2014-06-04 Doug Evans <xdje42@gmail.com>
7068 * gdb.guile/scm-breakpoint.exp: Update.
7069 Add tests for breakpoint registration.
7071 2014-06-04 Tom Tromey <tromey@redhat.com>
7073 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7075 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7076 inner_vla_struct, vla_union types. Initialize objects of those
7077 types and compute their sizes.
7079 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7080 Hui Zhu <hui@codesourcery.com>
7082 * gdb.base/fileio.exp: Add test for shell not available as well as
7084 * gdb.base/fileio.c (test_system): Check for shell twice.
7086 2014-06-04 Yao Qi <yao@codesourcery.com>
7088 * gdb.base/auto-connect-native-target.exp: Remove redundant
7089 space from the regexp pattern.
7091 2014-06-04 Yao Qi <yao@codesourcery.com>
7093 * gdb.base/default.exp: Replace "child" with "native" in
7096 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7098 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7099 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7100 * gdb.python/py-xmethods.py: Python script supporting the
7101 new testcase and tests.
7103 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7104 Pedro Alves <palves@redhat.com>
7106 PR breakpoints/17000
7107 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7108 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7110 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7112 * gdb.base/subst.exp: Add tests to verify partial path matching
7115 2014-06-03 Pedro Alves <palves@redhat.com>
7117 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7118 target that doesn't use software single-stepping.
7120 2014-06-03 Pedro Alves <palves@redhat.com>
7122 PR breakpoints/17000
7123 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7124 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7126 2014-06-02 Doug Evans <xdje42@gmail.com>
7128 * gdb.guile/scm-parameter.exp: New file.
7130 2014-06-02 Doug Evans <xdje42@gmail.com>
7132 * gdb.guile/scm-cmd.c: New file.
7133 * gdb.guile/scm-cmd.exp: New file.
7135 2014-06-02 Doug Evans <xdje42@gmail.com>
7137 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7138 pretty-printer lookup.
7139 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7140 (make-pp_s-printer): Call it.
7141 (make-pretty-printer-from-dict): New function.
7142 (lookup-pretty-printer-maker-from-dict): New function.
7143 (*pretty-printer*): Simplify.
7144 (make-objfile-pp_s-printer): New function.
7145 (install-objfile-pretty-printers!): New function.
7146 (make-progspace-pp_s-printer): New function.
7147 (install-progspace-pretty-printers!): New function.
7148 * gdb.guile/scm-progspace.c: New file.
7149 * gdb.guile/scm-progspace.exp: New file.
7151 2014-06-02 Pedro Alves <palves@redhat.com>
7153 * gdb.base/dprintf-bp-same-addr.c: New file.
7154 * gdb.base/dprintf-bp-same-addr.exp: New file.
7156 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7158 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7159 * gdb.arch/powerpc-power.s: Likewise.
7161 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7163 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7165 2014-06-01 Yao Qi <yao@codesourcery.com>
7167 * gdb.base/watchpoint.exp (test_watch_location): Check null
7168 pointer can be dereferenced. If not, do the test, otherwise
7171 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7173 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7175 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7177 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7179 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7180 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7181 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7182 * gdb.arch/amd64-invalid-stack-top.c: New file.
7183 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7185 2014-05-30 Pedro Alves <palves@redhat.com>
7187 PR breakpoints/17000
7188 * gdb.base/sss-bp-on-user-bp.c: New file.
7189 * gdb.base/sss-bp-on-user-bp.exp: New file.
7191 2014-05-30 David Blaikie <dblaikie@gmail.com>
7193 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7194 gnu_inline semantics via attribute.
7195 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7196 source explicitly specifies the required semantics.
7198 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7200 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7202 2014-05-29 Pedro Alves <palves@redhat.com>
7203 Tom Tromey <tromey@redhat.com>
7205 * gdb.base/async-shell.exp: Don't enable target-async.
7206 * gdb.base/async.exp
7207 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7209 (top level): Don't test with "target-async".
7210 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7211 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7212 * gdb.base/inferior-died.exp: Don't enable target-async.
7213 * gdb.base/interrupt-noterm.exp: Likewise.
7214 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7215 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7216 * gdb.mi/mi-nonstop.exp: Likewise.
7217 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7218 * gdb.mi/mi-nsintrall.exp: Likewise.
7219 * gdb.mi/mi-nsmoribund.exp: Likewise.
7220 * gdb.mi/mi-nsthrexec.exp: Likewise.
7221 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7222 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7223 * gdb.python/py-evsignal.exp: Don't enable target-async.
7224 * gdb.python/py-evthreads.exp: Likewise.
7225 * gdb.python/py-prompt.exp: Likewise.
7226 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7227 * gdb.server/solib-list.exp: Don't enable target-async.
7228 * gdb.threads/thread-specific-bp.exp: Likewise.
7229 * lib/mi-support.exp: Adjust to use mi-async.
7231 2014-05-29 Pedro Alves <palves@redhat.com>
7234 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7235 reason, even in sync mode.
7237 2014-05-29 Pedro Alves <palves@redhat.com>
7238 Hui Zhu <hui@codesourcery.com>
7241 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7242 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7243 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7244 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7246 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7248 * config/monitor.exp (gdb_target_monitor): Replace use of
7249 "set remotebaud" by "set serial baud".
7251 2014-05-26 Andy Wingo <wingo@igalia.com>
7253 * gdb.guile/scm-breakpoint.exp:
7254 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7255 properties instead of gdb-object-properties.
7257 2014-05-26 Yao Qi <yao@codesourcery.com>
7259 * gdb.server/no-thread-db.exp: Specify source file name
7260 explicitly when setting a breakpoint.
7262 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7264 * gdb.btrace/vdso.c: New.
7265 * gdb.btrace/vdso.exp: New.
7267 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7269 * gdb.base/gcore.exp (capture_command_output): Move ...
7270 * lib/gdb.exp (capture_command_output): ... here.
7272 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7274 * gdb.btrace/data.exp: Test memory access during btrace replay.
7276 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7278 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7280 2014-05-21 Pedro Alves <palves@redhat.com>
7283 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7284 (top level): Test that output related to execution commands is
7285 sent to the console with CLI commands, but not with MI commands.
7286 Test that breakpoint events are always mirrored to the console.
7287 Also expect the new source line to be output after a "next" in
7288 async mode too. Make it a pass/fail test.
7289 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7291 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7293 2014-05-21 Pedro Alves <palves@redhat.com>
7295 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7296 Use them to test variations of "list" after reaching a breakpoint.
7297 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7298 Test "list" with listsize 10 after reaching a breakpoint.
7299 * gdb.python/python.exp (decode_line current location line
7300 number): Adjust expected line number.
7302 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7304 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7305 behavior for $args, pass it directly to "run".
7307 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7309 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7312 2014-05-21 Pedro Alves <palves@redhat.com>
7314 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7315 auto-connect-native-target off".
7316 * gdb.base/auto-connect-native-target.c: New file.
7317 * gdb.base/auto-connect-native-target.exp: New file.
7319 2014-05-21 Pedro Alves <palves@redhat.com>
7321 * gdb.base/default.exp: Test "target native" instead of "target
7324 2014-05-21 Mark Wielaard <mjw@redhat.com>
7326 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7328 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7330 Fix TLS access for -static -pthread.
7331 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7332 <HAVE_TLS> (thread_function, main): Initialize it.
7333 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7335 <$have_tls != "">: Check TLSVAR.
7337 2014-05-21 Pedro Alves <palves@redhat.com>
7339 * gdb.base/dcache-line-read-error.c: New.
7340 * gdb.base/dcache-line-read-error.exp: New.
7342 2014-05-20 Pedro Alves <palves@redhat.com>
7344 * gdb.base/compare-sections.c: New file.
7345 * gdb.base/compare-sections.exp: New file.
7347 2014-05-20 Pedro Alves <palves@redhat.com>
7349 * gdb.base/break-idempotent.c: New file.
7350 * gdb.base/break-idempotent.exp: New file.
7352 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7354 * gdb.btrace/nohist.exp: New.
7356 2014-05-20 Yao Qi <yao@codesourcery.com>
7358 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7359 gdb.reverse directory and gdb_reverse_timeout exists in board
7361 * README: Document gdb_reverse_timeout.
7363 2014-05-20 Yao Qi <yao@codesourcery.com>
7365 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7366 'test_file_name'. Treat args as a string instead of a list.
7367 (gdb_init): Rename argument 'args' by 'test_file_name'.
7369 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7371 * gdb.arch/powerpc-power.exp: New file.
7372 * gdb.arch/powerpc-power.s: New file.
7374 2014-05-16 Doug Evans <dje@google.com>
7376 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7377 * gdb.base/completion.exp: Check that all expected files exist
7378 before doing file completion.
7380 2014-05-16 Doug Evans <dje@google.com>
7382 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7384 (do_syscall_tests_without_xml): Update.
7386 2014-05-16 Pedro Alves <palves@redhat.com>
7388 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7389 instead of "unknown output after running".
7391 2014-05-16 Yao Qi <yao@codesourcery.com>
7393 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7394 file1.txt from host at the end.
7395 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7397 2014-05-15 Doug Evans <dje@google.com>
7399 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7400 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7401 loading file. Add test for TU lookup.
7403 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7405 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7406 calling "-exec-arguments" or "set args" before running the
7409 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7411 * lib/mi-support.exp (mi_expect_stop): Expect message for
7412 inferiors that exit with non-zero exit code.
7414 2014-05-14 Yao Qi <yao@codesourcery.com>
7416 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7417 match absolute path on remote host.
7418 (test_file_list_exec_source_files): Remove "/" from the
7421 2014-05-14 Yao Qi <yao@codesourcery.com>
7423 * boards/local-remote-host-notty.exp (${board}_file): New
7426 2014-05-07 Kyle McMartin <kyle@redhat.com>
7428 Pushed by Joel Brobecker <brobecker@adacore.com>.
7429 * gdb.arch/aarch64-atomic-inst.c: New file.
7430 * gdb.arch/aarch64-atomic-inst.exp: New file.
7432 2014-05-07 Yao Qi <yao@codesourcery.com>
7434 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7435 in current context" too.
7437 2014-05-05 Keith Seitz <keiths@redhat.com>
7439 * gdb.linespec/ls-dollar.exp: Add test for linespec
7440 file:convenience_variable.
7442 2014-05-05 Yao Qi <yao@codesourcery.com>
7444 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7445 traceframes into tfile and ctf trace files. Read data from
7446 trace file and test collected data.
7447 (gdb_collect_locals_test): Likewise.
7448 (gdb_unavailable_registers_test): Likewise.
7449 (gdb_unavailable_floats): Likewise.
7450 (gdb_collect_globals_test): Likewise.
7451 (top-level): Append "ctf" to trace_file_targets if GDB
7454 2014-05-05 Yao Qi <yao@codesourcery.com>
7456 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7458 (gdb_collect_args_test_1): ... it. New proc.
7459 (gdb_collect_locals_test): Move some code to ...
7460 (gdb_collect_locals_test_1): ... it. New proc.
7461 (gdb_unavailable_registers_test): Move some code to ...
7462 (gdb_unavailable_registers_test_1): ... it. New proc.
7463 (gdb_unavailable_floats): Move some code to ...
7464 (gdb_unavailable_floats_1): ... it. New proc.
7466 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7468 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7469 probes to test for bitness recognition.
7470 * gdb.arch/amd64-stap-optional-prefix.exp
7471 (test_probe_value_without_reg): New procedure.
7472 Add code to test for different kinds of bitness.
7474 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7476 PR breakpoints/16889
7477 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7478 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7480 2014-05-01 Pedro Alves <palves@redhat.com>
7482 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7483 gdb_file_cmd if no file is specified.
7484 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7485 last_loaded_file to set the remote exec-file.
7487 2014-05-01 Pedro Alves <palves@redhat.com>
7489 * boards/local-remote-host.exp: New file.
7491 2014-05-01 Pedro Alves <palves@redhat.com>
7493 * boards/local-remote-host.exp: Rename to ...
7494 * boards/local-remote-host-notty.exp: ... this.
7496 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7498 * gdb.ada/dyn_arrayidx: New testcase.
7500 2014-04-26 Yao Qi <yao@codesourcery.com>
7502 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7503 and compute the length of function main. Save it in
7505 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7506 (top-level): Use gdb_compile to compile objects into
7507 executable and restart GDB. Remove invocation to
7508 prepare_for_testing.
7510 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7511 Pedro Alves <palves@redhat.com>
7514 * gdb.multi/multi-attach.c: New file.
7515 * gdb.multi/multi-attach.exp: New file.
7517 2014-04-25 Pedro Alves <palves@redhat.com>
7519 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7521 (top level): Test that "set remote conditional-breakpoints-packet
7522 off" works as intended.
7523 * gdb.base/dprintf.exp: Test that "set remote
7524 breakpoint-commands-packet off" works as intended.
7525 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7527 (top level): Call it.
7528 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7529 remote fast-tracepoints-packet off" works as intended.
7530 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7531 * lib/gdb.exp (gdb_is_target_remote): ... here.
7533 2014-04-24 David Blaikie <dblaikie@gmail.com>
7535 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7536 ensure clang would not discard them.
7537 * gdb.base/gdbvars.c: Ditto.
7538 * gdb.base/memattr.c: Ditto.
7539 * gdb.base/whatis.c: Ditto.
7540 * gdb.python/py-prettyprint.c: Ditto.
7541 * gdb.trace/actions.c: Ditto.
7542 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7543 ensure clang would not discard it.
7545 2014-04-24 David Blaikie <dblaikie@gmail.com>
7547 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7548 clang to emit the full definition of type required by the test
7549 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7551 2014-04-24 David Blaikie <dblaikie@gmail.com>
7553 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7554 coax Clang into emitting the definition of the type.
7555 * gdb.cp/pr10728-x.h (y): Ditto.
7556 * gdb.cp/pr10728-y.cc (y): Ditto.
7558 2014-04-24 David Blaikie <dblaikie@gmail.com>
7560 * gdb.base/label.exp: XFAIL label related tests under Clang.
7561 * gdb.cp/cplabel.exp: Ditto.
7562 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7563 under Clang those using labels.
7565 2014-04-25 Yao Qi <yao@codesourcery.com>
7567 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7569 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7570 partial_label and double_label.
7572 2014-04-24 David Blaikie <dblaikie@gmail.com>
7574 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7576 2014-04-24 David Blaikie <dblaikie@gmail.com>
7578 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7579 of the function to work across GCC and Clang.
7580 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7581 pointer types (const void ** const V void **).
7583 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7584 Walfred Tedeschi <walfred.tedeschi@intel.com>
7586 * Makefile.in (EXECUTABLES): Added i386-avx512.
7587 * gdb.arch/i386-avx512.c: New file.
7588 * gdb.arch/i386-avx512.exp: Likewise.
7590 2014-04-23 Keith Seitz <keiths@redhat.com>
7592 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7593 (mi_make_breakpoint_table): New procedure.
7594 (mi_create_breakpoint): Use mi_make_breakpoint
7595 and return the result.
7596 (mi_make_breakpoint): New procedure.
7597 (mi_build_kv_pairs): New procedure.
7599 * gdb.mi/mi-break.exp: Remove unused globals,
7600 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7601 All callers updated.
7602 * gdb.mi/mi-dprintf.exp: Use variable to track command
7604 Update all callers of mi_create_breakpoint and use
7605 mi_make_breakpoint_table.
7606 Remove any unused global variables.
7607 * gdb.mi/mi-nonstop.exp: Likewise.
7608 * gdb.mi/mi-nsintrall.exp: Likewise.
7609 * gdb.mi/mi-nsmoribund.exp: Likewise.
7610 * gdb.mi/mi-nsthrexec.exp: Likewise.
7611 * gdb.mi/mi-reverse.exp: Likewise.
7612 * gdb.mi/mi-simplerun.exp: Likewise.
7613 * gdb.mi/mi-stepn.exp: Likewise.
7614 * gdb.mi/mi-syn-frame.exp: Likewise.
7615 * gdb.mi/mi-until.exp: Likewise.
7616 * gdb.mi/mi-var-cp.exp: Likewise.
7617 * gdb.mi/mi-var-display.exp: Likewise.
7618 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7619 * gdb.mi/mi2-var-child.exp: Likewise.
7620 * gdb.mi/mi-vla-c99.exp: Likewise.
7621 * lib/mi-support.exp: Likewise.
7623 From Ian Lance Taylor <iant@cygnus.com>:
7624 * lib/gdb.exp (parse_args): New procedure.
7626 2014-04-23 Pedro Alves <palves@redhat.com>
7628 * gdb.base/break-unload-file.c: New file.
7629 * gdb.base/break-unload-file.exp: New file.
7630 * gdb.base/sym-file-lib.c (baz): New function.
7631 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7633 (load): Store the segment's mapped size.
7634 (unload): New function.
7635 (unload_shlib): New function.
7636 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7637 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7638 set a breakpoint at baz, and call it.
7639 * gdb.base/sym-file.exp: New tests for stale breakpoint
7642 2014-04-23 Pedro Alves <palves@redhat.com>
7644 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7645 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7646 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7647 * gdb.base/hbreak-unmapped.c: New file.
7648 * gdb.base/hbreak-unmapped.exp: New file.
7649 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7650 * lib/gdb.exp (gdb_is_target_remote): ... here.
7652 2014-04-22 Pedro Alves <palves@redhat.com>
7654 * gdb.base/consecutive-step-over.c: New file.
7655 * gdb.base/consecutive-step-over.exp: New file.
7657 2014-04-22 Pedro Alves <palves@redhat.com>
7659 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7660 instead of send_gdb/gdb_expect.
7662 2014-04-22 Yao Qi <yao@codesourcery.com>
7664 * lib/trace-support.exp (generate_tracefile): New procedure.
7665 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7667 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7668 if generate_tracefile returns 1.
7670 2014-04-18 Tom Tromey <palves@redhat.com>
7671 Pedro alves <tromey@redhat.com>
7674 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7675 with a backtrace limit.
7676 * gdb.python/py-frame-inline.exp: Test running to an inline
7677 function with a backtrace limit, and printing the newest frame.
7678 * gdb.python/py-frame-inline.c (main): Call f.
7680 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7682 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7684 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7686 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7687 Drop prefix from unsupported source file path.
7689 2014-04-17 Yao Qi <yao@codesourcery.com>
7691 * lib/gdb.exp (with_target_charset): New proc.
7692 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7693 with_target_charset.
7694 (test_print_strings): Likewise.
7695 (test_repeat_bytes): Likewise.
7696 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7699 2014-04-16 Keith Seitz <keiths@redhat.com>
7702 * gdb.dwarf2/corrupt.c: New file.
7703 * gdb.dwarf2/corrupt.exp: New file.
7705 2014-04-16 Keith Seitz <keiths@redhat.com>
7708 * gdb.cp/namelessclass.cc: New file.
7709 * gdb.cp/namelessclass.exp: New file.
7710 * gdb.cp/namelessclass.S: New file.
7712 2014-04-16 Doug Evans <dje@google.com>
7714 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7716 (gdbserver_default_get_comm_port): New function.
7717 (gdbserver_start): Check if board file provided
7718 "gdbserver,get_comm_port" and use it if so.
7719 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7720 (gdb,socketport): Set to "stdio".
7721 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7722 (stdio_gdbserver_template): Delete.
7723 (${board}_get_remote_address): Update.
7724 (${board}_build_remote_cmd): Delete.
7725 (${board}_get_comm_port): New function.
7726 (${board}_spawn): Update.
7727 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7729 (${board}_get_remote_address): Update.
7730 (${board}_get_comm_port): New function.
7732 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7734 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7735 appearing in any order.
7737 2014-04-15 Doug Evans <dje@google.com>
7739 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7740 uninitialized value of "description".
7742 2014-04-15 Keith Seitz <keiths@redhat.com>
7744 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7745 Remove unused globals.
7746 (test_running_the_program): Likewise.
7747 (test_controlled_execution): Likewise.
7748 (test_controlling_breakpoints): Likewise.
7749 (test_program_termination): Likewise.
7751 2014-04-15 Keith Seitz <keiths@redhat.com>
7753 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7755 (test_rbreak_creation_and_listing): Likewise.
7756 (test_ignore_count): Likewise.
7757 (test_error): Likewise.
7759 2014-04-15 Pedro Alves <palves@redhat.com>
7761 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7762 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7764 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7765 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7766 to sym-file-loader.c.
7767 (struct library): Forward declare.
7768 (load_shlib, lookup_function): Change prototypes.
7769 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7770 (translate_offset): Remove declarations.
7771 (get_text_addr): New declaration.
7772 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7773 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7775 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7776 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7777 here from sym-file-loader.h.
7778 (struct library): New structure.
7779 (load_shlib, lookup_function): Change prototypes and adjust to
7780 work with a struct library.
7781 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7782 (translate_offset): Make static.
7783 (get_text_addr): New function.
7784 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7786 2014-04-15 Pedro Alves <palves@redhat.com>
7788 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7790 2014-04-15 Pedro Alves <palves@redhat.com>
7792 * gdb.base/sym-file-loader.c: Include <limits.h>.
7793 (SELF_LINK): New define.
7794 (get_origin): New function.
7795 (load_shlib): Use it.
7796 * gdb.base/sym-file.exp: Don't early return if the target is
7797 remote. Use runto_main, and issue fail is that fails. Use
7799 (shlib_name): Delete.
7800 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7802 2014-04-15 Pedro Alves <palves@redhat.com>
7804 * gdb.base/sym-file.exp: Remove regex characters from test
7805 message. Don't refer to breakpoint numbers in test messages.
7807 2014-04-14 Keith Seitz <keiths@redhat.com>
7810 * gdb.cp/var-tag.cc: New file.
7811 * gdb.cp/var-tag.exp: New file.
7812 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7813 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7814 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7815 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7817 2014-04-14 Tom Tromey <tromey@redhat.com>
7819 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7820 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7822 * gdb.cp/enum-class.exp: New file.
7823 * gdb.cp/enum-class.cc: New file.
7825 2014-04-14 Tom Tromey <tromey@redhat.com>
7827 * gdb.dwarf2/enum-type.exp: New file.
7829 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7831 * gdb.mi/mi-vla-c99.exp: New file.
7832 * gdb.mi/vla.c: New file.
7834 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7836 * gdb.base/vla-datatypes.c: New file.
7837 * gdb.base/vla-datatypes.exp: New file.
7839 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7841 * gdb.base/vla-ptr.c: New file.
7842 * gdb.base/vla-ptr.exp: New file.
7844 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7846 * gdb.dwarf2/count.exp: New file.
7848 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7850 * gdb.base/vla-sideeffect.c: New file.
7851 * gdb.base/vla-sideeffect.exp: New file.
7853 2014-04-14 David Blaikie <dblaikie@gmail.com>
7855 * gdb.mi/non-stop.c: Add return value for non-void function return
7857 * gdb.threads/staticthreads.c: Ditto.
7859 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7860 Doug Evans <xdje42@gmail.com>
7862 * gdb.guile/scm-value.c: Improve test case.
7863 * gdb.guile/scm-value.exp: Add new test.
7865 2014-04-11 David Blaikie <dblaikie@gmail.com>
7867 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7868 override Clang's default.
7870 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7872 Revert the following changes (regressions):
7874 * gdb.base/vla-sideeffect.c: New file.
7875 * gdb.base/vla-sideeffect.exp: New file.
7877 * gdb.dwarf2/count.exp: New file.
7879 * gdb.base/vla-multi.c: New file.
7880 * gdb.base/vla-multi.exp: New file.
7882 * gdb.base/vla-ptr.c: New file.
7883 * gdb.base/vla-ptr.exp: New file.
7885 * gdb.base/vla-datatypes.c: New file.
7886 * gdb.base/vla-datatypes.exp: New file.
7888 * gdb.mi/mi-vla-c99.exp: New file.
7889 * gdb.mi/vla.c: New file.
7891 2014-04-11 Keith Seitz <keiths@redhat.com>
7894 * gdb.cp/cpsizeof.exp: New file.
7895 * gdb.cp/cpsizeof.cc: New file.
7897 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7899 * gdb.mi/mi-vla-c99.exp: New file.
7900 * gdb.mi/vla.c: New file.
7902 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7904 * gdb.base/vla-datatypes.c: New file.
7905 * gdb.base/vla-datatypes.exp: New file.
7907 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7909 * gdb.base/vla-ptr.c: New file.
7910 * gdb.base/vla-ptr.exp: New file.
7912 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7914 * gdb.base/vla-multi.c: New file.
7915 * gdb.base/vla-multi.exp: New file.
7917 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7919 * gdb.dwarf2/count.exp: New file.
7921 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7923 * gdb.base/vla-sideeffect.c: New file.
7924 * gdb.base/vla-sideeffect.exp: New file.
7926 2014-04-11 Yao Qi <yao@codesourcery.com>
7928 * gdb.base/completion.exp: Check file exists before running tests
7931 2014-04-10 Pedro Alves <palves@redhat.com>
7933 * gdb.base/cond-eval-mode.c: New file.
7934 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7935 prepare_for_testing to build the new file. Check result of
7937 (test_break, test_watch): New procedures.
7938 (top level): Use them.
7940 2014-04-08 Pierre Muller <muller@sourceware.org>
7942 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7943 Ctrl-V use for mingw hosts.
7945 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7947 * gdb.python/py-value.c: Improve test case.
7948 * gdb.python/py-value.exp: Add new test.
7950 2014-04-07 David Blaikie <dblaikie@gmail.com>
7952 * lib/compiler.c: Identify the clang compiler.
7953 * lib/compiler.cc: Ditto.
7955 2014-04-03 Yao Qi <yao@codesourcery.com>
7957 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7959 2014-04-01 Anton Blanchard <anton@samba.org>
7961 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7964 2014-04-01 Anton Blanchard <anton@samba.org>
7966 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7967 prepare_for_testing.
7969 2014-04-01 Anton Blanchard <anton@samba.org>
7971 * gdb.arch/ppc64-atomic-inst.c: Remove.
7972 * gdb.arch/ppc64-atomic-inst.S: New file.
7973 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7975 2014-03-31 Doug Evans <dje@google.com>
7977 * gdb.base/print-symbol-loading-lib.c: New file.
7978 * gdb.base/print-symbol-loading-main.c: New file.
7979 * gdb.base/print-symbol-loading.exp: New file.
7981 2014-03-31 Yao Qi <yao@codesourcery.com>
7983 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7985 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7987 * gdb.ada/mi_dyn_arr: New testcase.
7989 2014-03-27 Doug Evans <dje@google.com>
7991 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7993 2014-03-27 Yao Qi <yao@codesourcery.com>
7995 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7996 if target is nios2-*-*.
7998 2014-03-26 Yao Qi <yao@codesourcery.com>
8000 * lib/gdb.exp (readline_is_used): New proc.
8001 * gdb.base/completion.exp: Move tests on command complete up.
8002 Skip the rest of tests if readline is not used.
8003 * gdb.ada/complete.exp: Skp the test if readline is not
8005 * gdb.base/filesym.exp: Likewise.
8006 * gdb.base/macscp.exp: Likewise.
8007 * gdb.base/readline-ask.exp: Likewise.
8008 * gdb.base/readline.exp: Likewise.
8009 * gdb.python/py-cmd.exp: Likewise.
8010 * gdb.trace/tfile.exp: Likewise.
8012 2014-03-26 Yao Qi <yao@codesourcery.com>
8014 * gdb.base/macscp.exp: Fix code format issues.
8016 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
8018 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
8019 * gdb.asm/powerpc64le.inc: New file.
8021 2014-03-25 Pedro Alves <palves@redhat.com>
8022 Doug Evans <dje@google.com>
8024 * gdb.base/source-execution.c: New file.
8025 * gdb.base/source-execution.exp: New file.
8026 * gdb.base/source-execution.gdb: New file.
8028 2014-03-24 Doug Evans <dje@google.com>
8030 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8033 2014-03-24 Hui Zhu <hui@codesourcery.com>
8034 Pedro Alves <palves@redhat.com>
8036 PR breakpoints/16101
8037 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8038 test pass/fail messages. Detect missing support for dprintf when
8039 breakpoints are actually inserted.
8040 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8041 breakpoints are actually inserted.
8042 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8045 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8047 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8049 2014-03-22 Doug Evans <xdje42@gmail.com>
8051 * gdb.python/python.exp (python not supported): Verify multi-line
8052 python command issues an error.
8053 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8054 guile command issues an error.
8056 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8058 * gdb.threads/thread-specific.exp: Handle the lack of usable
8059 $this_breakpoint and $this_thread.
8061 2014-03-21 Hui Zhu <hui@codesourcery.com>
8063 * gdb.base/attach.exp (do_command_attach_tests): New.
8065 2014-03-20 Tom Tromey <tromey@redhat.com>
8066 Pedro Alves <palves@redhat.com>
8069 * gdb.base/condbreak-call-false.c: New file.
8070 * gdb.base/condbreak-call-false.exp: New file.
8072 2014-03-20 Pedro Alves <palves@redhat.com>
8074 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8076 (block_signals, unblock_signals): Delete.
8077 (child_function_2, main): Remove references to deleted variable
8080 2014-03-20 Pedro Alves <palves@redhat.com>
8082 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8083 Use pthread_kill to signal thread 2.
8084 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8085 Adjust to make the test send itself a signal rather than using the
8086 host's "kill" command.
8088 2014-03-20 Pedro Alves <palves@redhat.com>
8090 * gdb.threads/multiple-step-overs.c: New file.
8091 * gdb.threads/multiple-step-overs.exp: New file.
8092 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8093 Adjust expected infrun debug output.
8095 2014-03-20 Pedro Alves <palves@redhat.com>
8097 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8098 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8100 2014-03-20 Pedro Alves <palves@redhat.com>
8103 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8104 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8105 of gdb_test_multiple.
8106 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8107 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8109 2014-03-20 Pedro Alves <palves@redhat.com>
8111 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8112 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8114 2014-03-19 Pedro Alves <palves@redhat.com>
8116 * gdb.base/async.exp: Remove early return.
8118 2014-03-19 Pedro Alves <palves@redhat.com>
8120 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8122 2014-03-19 Pedro Alves <palves@redhat.com>
8124 * gdb.base/async.exp (test_background): Expect \r\n after
8125 "completed." in the fail pattern.
8127 2014-03-19 Pedro Alves <palves@redhat.com>
8129 * gdb.base/async.exp (test_background): New procedure.
8130 Use it for all background execution command tests.
8132 2014-03-19 Pedro Alves <palves@redhat.com>
8134 * gdb.base/async.exp: Use prepare_for_testing.
8136 2014-03-19 Pedro Alves <palves@redhat.com>
8138 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8141 2014-03-19 Pedro Alves <palves@redhat.com>
8143 * gdb.base/async.c (main): Add "jump here" and "until here" line
8145 * gdb.base/async.exp (jump_here): New global.
8146 (jump& test): Use it.
8147 (until_here): New global.
8148 (until& test): Use it.
8150 2014-03-19 Pedro Alves <palves@redhat.com>
8152 * gdb.base/async.exp: Don't frob gdb_protocol.
8154 2014-03-18 Doug Evans <xdje42@gmail.com>
8156 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8157 Fix spelling of exec-done-display.
8159 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8162 * gdb.base/gdb-sigterm.c: New file.
8163 * gdb.base/gdb-sigterm.exp: New file.
8165 2014-03-18 Pedro Alves <palves@redhat.com>
8168 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8169 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8172 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8174 * gdb.ada/pckd_arr_ren: New testcase.
8176 2014-03-13 Doug Evans <xdje42@gmail.com>
8179 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8180 collect after discarding symbols.
8182 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8183 Doug Evans <xdje42@gmail.com>
8185 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8186 to history survives a gc.
8188 2014-03-13 Pedro Alves <palves@redhat.com>
8190 * gdb.base/default.exp: Don't test "target procfs".
8192 2014-03-13 Pedro Alves <palves@redhat.com>
8194 * gdb.base/default.exp: Update "target child" and "target procfs"
8195 tests to not expect "Unix".
8197 2014-03-12 Tom Tromey <tromey@redhat.com>
8199 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8200 New procs. Add target-async tests.
8201 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8202 Add target-async tests.
8204 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8206 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8207 'func_start' and 'func_end' for the beginning and end of the
8208 function code, respectively.
8209 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8210 'func_end' instead of 'func' and 'main'.
8212 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8214 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8215 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8216 generate the debug info assembler source.
8218 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8220 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8221 * gdb.dwarf2/arr-subrange.exp: Likewise.
8222 * gdb.dwarf2/dwz.exp: Likewise.
8223 * gdb.dwarf2/method-ptr.exp: Likewise.
8224 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8225 * gdb.dwarf2/subrange.exp: Likewise.
8226 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8227 * gdb.dwarf2/implptrpiece.exp: Likewise.
8228 * gdb.dwarf2/nostaticblock.exp: Likewise.
8230 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8232 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8233 directory to absolute path name arguments.
8235 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8237 * gdb.ada/tagged_access: New testcase.
8239 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8241 * gdb.btrace/data.exp: Update expected output.
8243 2014-03-06 Yao Qi <yao@codesourcery.com>
8245 * gdb.trace/pr16508.exp: New file.
8247 2014-03-05 Pedro Alves <palves@redhat.com>
8250 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8252 (top level): Adjust to use it. Add tests that exercise breakpoint
8253 interaction with the code-cache.
8255 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8257 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8258 test for 'history-append!'.
8260 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8262 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8263 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8264 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8265 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8266 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8267 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8269 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8271 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8272 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8273 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8275 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8277 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8279 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8281 * gdb.dwarf2/arr-stride.c: New file.
8282 * gdb.dwarf2/arr-stride.exp: New file.
8284 2014-02-26 Pedro Alves <palves@redhat.com>
8286 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8287 that won't ever trigger. Make sure that GDB reports the correct
8288 breakpoint that caused the stop.
8290 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8293 * gdb.base/auto-load-script: New file.
8294 * gdb.base/auto-load.c: New file.
8295 * gdb.base/auto-load.exp: New file.
8298 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8300 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8302 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8303 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8305 2014-02-24 Doug Evans <dje@google.com>
8307 * lib/gdb.exp (run_on_host): Log error output if program fails.
8309 2014-02-21 Pedro Alves <palves@redhat.com>
8311 * gdb.threads/step-after-sr-lock.c: Rename to ...
8312 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8313 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8314 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8317 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8320 * gdb.arch/amd64-stap-special-operands.exp: New file.
8321 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8322 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8323 * gdb.arch/amd64-stap-triplet.S: Likewise.
8324 * gdb.arch/amd64-stap-triplet.c: Likewise.
8326 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8328 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8329 in .section pseudo-op.
8331 2014-02-20 lin zuojian <manjian2006@gmail.com>
8332 Joel Brobecker <brobecker@adacore.com>
8333 Doug Evans <xdje42@gmail.com>
8336 * gdb.dwarf2/dw2-icycle.S: New file.
8337 * gdb.dwarf2/dw2-icycle.c: New file.
8338 * gdb.dwarf2/dw2-icycle.exp: New file.
8340 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8342 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8343 operations on gdb.Value objects.
8344 * gdb.python/py-value-cc.exp: Add new test to test operations on
8347 2014-02-18 Doug Evans <dje@google.com>
8349 * Makefile.in (TESTS): New variable.
8350 (expanded_tests, expanded_tests_or_none): New variables
8351 (check-single): Pass $(expanded_tests_or_none) to runtest.
8352 (check-parallel): Only run tests in $(TESTS) if non-empty.
8353 (check/no-matching-tests-found): New rule.
8354 * README: Document TESTS makefile variable.
8356 2014-02-18 Doug Evans <dje@google.com>
8358 * Makefile.in (check-parallel): rm -rf outputs temp.
8360 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8362 Fix "ERROR: no fileid for" in the testsuite.
8363 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8365 2014-02-12 Doug Evans <dje@google.com>
8367 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8368 (MISCELLANEOUS): New variable.
8369 (clean): rm -rf $(MISCELLANEOUS).
8370 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8371 dwp live in the same directory as symlinks, with each symlink pointed
8372 to a differently named file in a different directory.
8374 2014-02-11 Doug Evans <dje@google.com>
8376 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8377 of Tcl file commands.
8379 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8381 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8384 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8386 * gdb.ada/tick_length_array_enum_idx: New testcase.
8388 2014-02-10 Doug Evans <xdje42@gmail.com>
8390 * configure.ac (AC_OUTPUT): Add gdb.guile.
8391 * configure: Regenerate.
8392 * lib/gdb-guile.exp: New file.
8393 * lib/gdb.exp (get_target_charset): New function.
8394 * gdb.base/help.exp: Update expected output from "apropos apropos".
8395 * gdb.guile/Makefile.in: New file.
8396 * gdb.guile/guile.exp: New file.
8397 * gdb.guile/scm-arch.c: New file.
8398 * gdb.guile/scm-arch.exp: New file.
8399 * gdb.guile/scm-block.c: New file.
8400 * gdb.guile/scm-block.exp: New file.
8401 * gdb.guile/scm-breakpoint.c: New file.
8402 * gdb.guile/scm-breakpoint.exp: New file.
8403 * gdb.guile/scm-disasm.c: New file.
8404 * gdb.guile/scm-disasm.exp: New file.
8405 * gdb.guile/scm-equal.c: New file.
8406 * gdb.guile/scm-equal.exp: New file.
8407 * gdb.guile/scm-error.exp: New file.
8408 * gdb.guile/scm-error.scm: New file.
8409 * gdb.guile/scm-frame-args.c: New file.
8410 * gdb.guile/scm-frame-args.exp: New file.
8411 * gdb.guile/scm-frame-args.scm: New file.
8412 * gdb.guile/scm-frame-inline.c: New file.
8413 * gdb.guile/scm-frame-inline.exp: New file.
8414 * gdb.guile/scm-frame.c: New file.
8415 * gdb.guile/scm-frame.exp: New file.
8416 * gdb.guile/scm-generics.exp: New file.
8417 * gdb.guile/scm-gsmob.exp: New file.
8418 * gdb.guile/scm-iterator.c: New file.
8419 * gdb.guile/scm-iterator.exp: New file.
8420 * gdb.guile/scm-math.c: New file.
8421 * gdb.guile/scm-math.exp: New file.
8422 * gdb.guile/scm-objfile-script-gdb.in: New file.
8423 * gdb.guile/scm-objfile-script.c: New file.
8424 * gdb.guile/scm-objfile-script.exp: New file.
8425 * gdb.guile/scm-objfile.c: New file.
8426 * gdb.guile/scm-objfile.exp: New file.
8427 * gdb.guile/scm-ports.exp: New file.
8428 * gdb.guile/scm-pretty-print.c: New file.
8429 * gdb.guile/scm-pretty-print.exp: New file.
8430 * gdb.guile/scm-pretty-print.scm: New file.
8431 * gdb.guile/scm-section-script.c: New file.
8432 * gdb.guile/scm-section-script.exp: New file.
8433 * gdb.guile/scm-section-script.scm: New file.
8434 * gdb.guile/scm-symbol.c: New file.
8435 * gdb.guile/scm-symbol.exp: New file.
8436 * gdb.guile/scm-symtab-2.c: New file.
8437 * gdb.guile/scm-symtab.c: New file.
8438 * gdb.guile/scm-symtab.exp: New file.
8439 * gdb.guile/scm-type.c: New file.
8440 * gdb.guile/scm-type.exp: New file.
8441 * gdb.guile/scm-value-cc.cc: New file.
8442 * gdb.guile/scm-value-cc.exp: New file.
8443 * gdb.guile/scm-value.c: New file.
8444 * gdb.guile/scm-value.exp: New file.
8445 * gdb.guile/source2.scm: New file.
8446 * gdb.guile/types-module.cc: New file.
8447 * gdb.guile/types-module.exp: New file.
8449 2014-02-10 Yao Qi <yao@codesourcery.com>
8452 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8453 * configure: Regenerated.
8454 * Makefile.in: New file.
8456 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8458 * gdb.python/py-framefilter.exp: Fix typo.
8460 2014-02-08 Yao Qi <yao@codesourcery.com>
8462 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8463 that no =breakpoint-modified is emitted when breakpoints are
8464 modified through MI commands.
8466 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8467 Pedro Alves <palves@redhat.com>
8469 * gdb.threads/step-after-sr-lock.c: New file.
8470 * gdb.threads/step-after-sr-lock.exp: New file.
8472 2014-02-07 Pedro Alves <palves@redhat.com>
8474 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8476 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8478 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8479 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8481 2014-02-06 Doug Evans <xdje42@gmail.com>
8483 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8486 * gdb.gdb/python-interrupts.exp: New file.
8488 2014-02-05 Yao Qi <yao@codesourcery.com>
8490 * gdb.trace/report.exp (use_collected_data): Test the output
8491 of "info threads" and "info inferiors".
8493 2014-02-05 Yao Qi <yao@codesourcery.com>
8497 2013-05-24 Yao Qi <yao@codesourcery.com>
8499 * gdb.trace/tfile.exp: Test inferior and thread.
8501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8503 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8505 * gdb.base/step-bt.c: Call hello via function pointer to make
8506 sure its first instruction is executed on powerpc64le-linux.
8508 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8510 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8512 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8514 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8515 of the test patterns for use on little-endian systems.
8517 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8519 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8520 (decimal_vector): Fix for little-endian.
8522 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8524 * gdb.arch/sparc-sysstep.exp: New file.
8525 * gdb.arch/sparc-sysstep.c: Likewise.
8527 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8529 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8531 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8533 2014-01-23 Tom Tromey <tromey@redhat.com>
8535 * gdb.ada/array_char_idx: New testcase.
8537 2014-01-23 Tom Tromey <tromey@redhat.com>
8540 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8541 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8544 2014-01-23 Tom Tromey <tromey@redhat.com>
8547 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8548 string from an inferior frame.
8549 * gdb.python/py-framefilter-mi.exp: Update.
8551 2014-01-22 Doug Evans <dje@google.com>
8553 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8555 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8557 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8559 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8561 * gdb.trace/entry-values.exp: Remove excess space character from
8562 regex patterns. Handle s390 call instruction.
8564 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8566 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8567 define "*_start" label. Make "name" static.
8568 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8569 ${name} by references to ${name}_start.
8571 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8573 * gdb.base/info-macros.exp: Remove "debug" from the compile
8576 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8578 * gdb.dlang/demangle.exp: New file.
8580 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8582 * gdb.dlang/primitive-types.exp: New file.
8584 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8586 * configure.ac: Create gdb.dlang/Makefile.
8587 * configure: Regenerate.
8588 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8589 * gdb.dlang/Makefile.in: New file.
8590 * lib/d-support.exp: New file.
8591 * lib/gdb.exp (skip_d_tests): New proc.
8593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8595 * gdb.btrace/delta.exp: Check reverse stepi.
8596 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8597 * gdb.btrace/finish.exp: New.
8598 * gdb.btrace/next.exp: New.
8599 * gdb.btrace/nexti.exp: New.
8600 * gdb.btrace/record_goto.c: Add comments.
8601 * gdb.btrace/step.exp: New.
8602 * gdb.btrace/stepi.exp: New.
8603 * gdb.btrace/multi-thread-step.c: New.
8604 * gdb.btrace/multi-thread-step.exp: New.
8605 * gdb.btrace/rn-dl-bind.c: New.
8606 * gdb.btrace/rn-dl-bind.exp: New.
8607 * gdb.btrace/data.c: New.
8608 * gdb.btrace/data.exp: New.
8609 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8611 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8613 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8614 * gdb.btrace/exception.exp: Update.
8615 * gdb.btrace/instruction_history.exp: Update.
8616 * gdb.btrace/record_goto.exp: Update.
8617 * gdb.btrace/tailcall.exp: Update.
8618 * gdb.btrace/unknown_functions.exp: Update.
8619 * gdb.btrace/delta.exp: New.
8621 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8623 * gdb.btrace/record_goto.exp: Add backtrace test.
8624 * gdb.btrace/tailcall.exp: Add backtrace test.
8626 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8628 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8629 * gdb.btrace/record_goto.c: New.
8630 * gdb.btrace/record_goto.exp: New.
8631 * gdb.btrace/x86-record_goto.S: New.
8633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8635 * gdb.btrace/function_call_history.exp: Update tests.
8636 * gdb.btrace/instruction_history.exp: Update tests.
8638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8640 * gdb.btrace/function_call_history.exp: Fix expected field
8641 order for "record function-call-history".
8642 Add new tests for "record function-call-history /c".
8643 * gdb.btrace/exception.cc: New.
8644 * gdb.btrace/exception.exp: New.
8645 * gdb.btrace/tailcall.exp: New.
8646 * gdb.btrace/x86-tailcall.S: New.
8647 * gdb.btrace/x86-tailcall.c: New.
8648 * gdb.btrace/unknown_functions.c: New.
8649 * gdb.btrace/unknown_functions.exp: New.
8650 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8652 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8654 * gdb.btrace/instruction_history.exp: Update.
8655 * gdb.btrace/function_call_history.exp: Update.
8657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8659 * gdb.btrace/function_call_history.exp: Fix expected function
8661 * gdb.btrace/instruction_history.exp: Initialize traced.
8662 Remove traced_functions.
8664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8666 * gdb.btrace/function_call_history.exp: Update
8667 * gdb.btrace/instruction_history.exp: Update.
8669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8671 * gdb.btrace/enable.exp: Update expected text.
8673 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8675 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8678 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8680 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8682 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8684 * lib/gdb.exp (supports_process_record): Return true for
8685 arm*-linux*. (supports_reverse): Likewise.
8687 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8691 * gdb.python/py-type.c: Enhance test case.
8692 * gdb.python/py-value-cc.cc: Likewise
8693 * gdb.python/py-type.exp: Add new tests.
8694 * gdb.python/py-value-cc.exp: Likewise
8696 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8697 Pedro Alves <palves@redhat.com>
8699 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8701 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8702 references to ${name}_start by references to ${name}.
8704 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8706 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8708 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8710 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8712 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8713 Pedro Alves <palves@redhat.com>
8715 * gdb.mi/mi-info-os.exp: Connect to the target with
8718 2014-01-08 Pedro Alves <palves@redhat.com>
8720 * gdb.threads/reconnect-signal.c: New file.
8721 * gdb.threads/reconnect-signal.exp: New file.
8723 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8725 * gdb.base/source-dir.exp: New file.
8727 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8729 * gdb.ada/mi_interface: New testcase.
8731 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8733 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8734 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8735 gdb.ada/pp-rec-component/pck.ads: New files.
8737 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8739 * gdb.python/py-pp-integral.c: New file.
8740 * gdb.python/py-pp-integral.py: New file.
8741 * gdb.python/py-pp-integral.exp: New file.
8743 For older changes see ChangeLog-1993-2013.
8749 ;; version-control: never
8752 Copyright 2014-2016 Free Software Foundation, Inc.
8753 Copying and distribution of this file, with or without modification,
8754 are permitted provided the copyright notice and this notice are preserved.