1 2016-07-12 Tom Tromey <tom@tromey.com>
4 * gdb.python/py-unwind-maint.exp: Update tests.
6 2016-07-12 Yao Qi <yao.qi@linaro.org>
8 * lib/selftest-support.exp (selftest_setup): Match the output
9 when captured_main is inlined.
11 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13 * gdb.fortran/derived-types.exp (result_line, result_line_2):
15 (print this%a, print this%b, print this): New tests.
16 * gdb.fortran/derived-types.f90 (this): New object and
19 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
21 * gdb.ada/arraydim.exp: Remove extra directory level in build
24 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
26 * lib/ada.exp: Remove extra directory level in build directory.
27 * gdb.ada/cond_lang.exp: Likewise.
28 * gdb.ada/exec_changed.exp: Likewise.
29 * gdb.ada/lang_switch.exp: Likewise.
31 2016-07-06 Manish Goregaokar <manish@mozilla.com>
33 * simple.rs: Add test for raw pointer subscripting
34 * simple.exp: Add test expectations
36 2016-07-05 Yao Qi <yao.qi@linaro.org>
38 * gdb.mi/mi-reverse.exp: Match =record-started output.
40 2016-07-01 Pedro Alves <palves@redhat.com>
42 * gdb.base/jit-reader.exp (info_registers_current_frame): New
44 (jit_reader_test): Test the jit reader's unwinder.
45 * gdb.base/jithost.c (jit_function_00_code): New global.
46 (main): Use memcpy to fill in the mmapped code, instead of poking
48 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
50 (read_debug_info): Save the function's range.
51 (read_sp): New function.
52 (unwind_frame): Use it. Also unwind RBP.
53 (get_frame_id): Use read_sp.
54 (gdb_init_reader): Use calloc instead of malloc.
55 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
56 parameter. Use gdb_test_multiple.
58 2016-07-01 Pedro Alves <palves@redhat.com>
59 Antoine Tremblay <antoine.tremblay@ericsson.com>
61 * gdb.threads/process-dies-while-detaching.c: New file.
62 * gdb.threads/process-dies-while-detaching.exp: New file.
64 2016-07-01 Pedro Alves <palves@redhat.com>
66 * gdb.multi/watchpoint-multi-exit.c: New file.
67 * gdb.multi/watchpoint-multi-exit.exp: New file.
69 2016-06-30 Pedro Alves <palves@redhat.com>
71 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
72 unset inferior_spawn_id.
74 2016-06-30 Pedro Alves <palves@redhat.com>
76 * lib/mi-support.exp (default_mi_gdb_start): Declare global
77 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
79 2016-06-29 Yao Qi <yao.qi@linaro.org>
81 * gdb.base/return.c: Add copyright header.
83 2016-06-29 Tom Tromey <tom@tromey.com>
86 * gdb.python/py-framefilter.exp: Add tests for setting priority
87 and disabling of non-existent frame filter.
89 2016-06-29 Yao Qi <yao.qi@linaro.org>
91 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
94 2016-06-28 Yao Qi <yao.qi@linaro.org>
96 * gdb.base/catch-syscall.exp: Remove check on isnative and target
97 triplets. Start gdb, execute catch syscall, and continue. Check
98 gdb's output to determine catch syscall is supported.
100 2016-06-27 Manish Goregaokar <manish@mozilla.com>
102 * gdb.rust/simple.rs: Add test for returning unit in a function.
103 * gdb.rust/simple.exp: Add expectation for functions returning
106 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
108 * gdb.python/py-breakpoint-create-fail.c,
109 gdb.python/py-breakpoint-create-fail.exp,
110 gdb.python/py-breakpoint-create-fail.py: New testcase.
112 2016-06-25 Manish Goregaokar <manish@mozilla.com>
115 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
116 * gdb.rust/simple.exp: Add test expectations for new NonZero
119 2016-06-24 David Taylor <dtaylor@emc.com>
121 * gdb.base/offsets.exp: New file.
122 * gdb.base/offsets.c: New file.
124 2016-06-23 Tom Tromey <tom@tromey.com>
127 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
128 before any filters are loaded.
130 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
132 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
133 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
135 * gdb.fortran/derived-type-function.exp: New file.
136 * gdb.fortran/derived-type-function.f90: New file.
139 2016-06-21 Pedro Alves <palves@redhat.com>
141 * gdb.base/new-ui.exp: New file.
142 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
143 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
144 (with_spawn_id): New procedure.
146 2016-06-21 Pedro Alves <palves@redhat.com>
148 * gdb.mi/mi-exec-run.exp: New file.
150 2016-06-21 Pedro Alves <palves@redhat.com>
152 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
153 breakpoint command's output on the main UI.
154 (test_break): New procedure, factored out from calls in the top
156 (top level): Use foreach_with_prefix to test MI as main UI and as
159 2016-06-21 Pedro Alves <palves@redhat.com>
161 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
162 (test_awatch_creation_and_listing)
163 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
164 Remove 'type' parameter.
165 (test_watchpoint_all): New parameter mi_mode. Remove
167 (top level): Use foreach_with_prefix, and add main/separate UI MI
170 2016-06-21 Pedro Alves <palves@redhat.com>
172 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
173 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
174 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
175 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
176 (gdb_main_spawn_id, mi_spawn_id): Declare and
178 (mi_create_inferior_pty): New procedure,
179 factored out from default_mi_gdb_start.
180 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
182 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
183 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
184 Use mi_create_inferior_pty.
185 (mi_gdb_start): Use eval to pass down args list.
187 2016-06-21 Pedro Alves <palves@redhat.com>
189 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
190 * gdb.opt/inline-cmds.exp: Add MI tests.
192 2016-06-21 Pedro Alves <palves@redhat.com>
194 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
196 2016-06-21 Pedro Alves <palves@redhat.com>
198 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
199 (top level): Use it instead of mi_execute_to.
201 2016-06-21 Pedro Alves <palves@redhat.com>
203 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
204 (cont_handler_str): New.
205 (signal_stop_handler): Set stop_handler_str instead of printing to
207 (continue_handler): Set cont_handler_str instead of printing to
209 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
210 mi_send_resuming_command. Print stop_handler_str and
211 cont_handler_str instead of expecting the python events print
214 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
216 * gdb.base/jit-reader.exp: New file.
217 * gdb.base/jithost.c: New file.
218 * gdb.base/jithost.h: New file.
219 * gdb.base/jitreader.c : New file.
220 * gdb.base/jit-protocol.h: New file.
222 2016-06-17 Yao Qi <yao.qi@linaro.org>
224 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
225 parameters follow_fork and detach_on_fork. Set follow-fork-mode
226 and detach-on-fork. Adjust tests.
227 (top level): Invoke break_cond_on_syscall with combinations of
228 syscall, follow-fork-mode and detach-on-fork.
230 2016-06-17 Yao Qi <yao.qi@linaro.org>
232 * gdb.base/step-over-exit.c: New.
233 * gdb.base/step-over-exit.exp: New.
235 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
237 * gdb.base/float.exp: Add target check for nds32*-*-*.
238 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
240 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
242 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
243 for unsupported target features.
244 * gdb.base/call-rt-st.exp: Likewise.
245 * gdb.base/call-sc.exp: Likewise.
246 * gdb.base/call-signal-resume.exp: Likewise.
247 * gdb.base/call-strs.exp: Likewise.
248 * gdb.base/callexit.exp: Likewise.
249 * gdb.base/callfuncs.exp: Likewise.
250 * gdb.base/nodebug.exp: Likewise.
251 * gdb.base/printcmds.exp: Likewise.
252 * gdb.base/ptype.exp: Likewise.
253 * gdb.base/structs.exp: Likewise.
254 * gdb.base/unwindonsignal.exp: Likewise.
255 * gdb.cp/gdb2495.exp: Likewise.
256 * gdb.cp/templates.exp: Likewise.
257 * gdb.cp/virtfunc.exp: Likewise.
258 * gdb.threads/hand-call-in-threads.exp: Likewise.
259 * gdb.threads/interrupted-hand-call.exp: Likewise.
260 * gdb.threads/thread-unwindonsignal.exp: Likewise.
262 2016-06-10 Tom Tromey <tom@tromey.com>
265 * gdb.rust/expr.exp: Add test for integer constant larger than
268 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
270 * gdb.fortran/nested-funcs.exp: New.
271 * gdb.fortran/nested-funcs.f90: New.
273 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
275 * gdb.base/examine-backward.c: New file.
276 * gdb.base/examine-backward.exp: New file.
278 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
280 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
283 2016-06-02 Tom Tromey <tom@tromey.com>
286 * gdb.python/py-shared.exp: Add solib_name test.
288 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
290 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
292 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
295 * gdb.dwarf2/implref.exp: Rename to...
296 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
297 * gdb.dwarf2/implref-array.c: New file.
298 * gdb.dwarf2/implref-array.exp: Likewise.
299 * gdb.dwarf2/implref-global.c: Likewise.
300 * gdb.dwarf2/implref-global.exp: Likewise.
301 * gdb.dwarf2/implref-struct.c: Likewise.
302 * gdb.dwarf2/implref-struct.exp: Likewise.
304 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
306 * gdb.trace/trace-condition.exp: Add 64bit tests.
308 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
310 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
312 (main): Adapt to 8 to 64 bits types.
313 * gdb.trace/trace-condition.exp: Add new tests.
315 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
317 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
319 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
321 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
322 Move condition tests...
323 * gdb.trace/trace-condition.exp: Here.
325 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
327 * gdb.trace/trace-condition.exp: Add counter-case tests.
329 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
332 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
333 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
335 2016-05-27 Pedro Alves <palves@redhat.com>
337 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
339 (top level): Call it, and bail out of DejaGnu is known to be bad.
341 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
343 * gdb.base/whatis.c: Extend the test case.
344 * gdb.base/whatis.exp: Add additional tests.
346 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
348 * gdb.fortran/type.f90: Add pointer variable.
349 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
351 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
353 * gdb.fortran/vla-type.exp: Fix testcase name.
355 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
357 * gdb.fortran/vla-type.exp: Access elements in nested structs.
359 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
361 * gdb.fortran/type.f90: Add nested structures.
362 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
363 * gdb.fortran/derived-type.exp: Adapt expected output.
364 * gdb.fortran/vla-type.exp: Adapt expected output.
366 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
368 * gdb.fortran/whatis_type.exp: Adapt expected output.
370 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
372 * gdb.fortran/print_type.exp: Fix expected output.
373 * gdb.fortran/whatis_type.exp: Fix expected output.
375 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
377 * gdb.fortran/whatis_type.exp: Use multi_line.
379 2016-05-24 Tom Tromey <tom@tromey.com>
382 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
383 use value as an index.
385 2016-05-23 Tom Tromey <tom@tromey.com>
388 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
391 2016-05-24 Pedro Alves <palves@redhat.com>
394 * gdb.threads/clone-attach-detach.c: New file.
395 * gdb.threads/clone-attach-detach.exp: New file.
397 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
399 * gdb.base/annota-input-while-running.exp: Fix syntax error.
401 2016-05-23 Tom Tromey <tom@tromey.com>
403 PR python/19438, PR python/18393:
404 * gdb.python/py-progspace.exp: Add "dir" test.
405 * gdb.python/py-objfile.exp: Add "dir" test.
407 2016-05-23 Yao Qi <yao.qi@linaro.org>
409 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
410 * gdb.arch/thumb2-it.exp: Likewise.
412 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
414 * gdb.mi/mi-threads-interrupt.c: New file.
415 * gdb.mi/mi-threads-interrupt.exp: New file.
417 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
420 * gdb.mi/mi-async-run.exp: New file.
421 * gdb.mi/mi-async-run.c: New file.
423 2016-05-17 Tom Tromey <tom@tromey.com>
424 Manish Goregaokar <manishsmail@gmail.com>
426 * lib/rust-support.exp: New file.
427 * lib/gdb.exp (skip_rust_tests): New proc.
428 (build_executable_from_specs): Handle rust.
429 * lib/future.exp (gdb_find_rustc): New proc.
430 (gdb_default_target_compile): Handle rust.
431 * gdb.rust/expr.exp: New file.
432 * gdb.rust/generics.exp: New file.
433 * gdb.rust/generics.rs: New file.
434 * gdb.rust/methods.exp: New file.
435 * gdb.rust/methods.rs: New file.
436 * gdb.rust/modules.exp: New file.
437 * gdb.rust/modules.rs: New file.
438 * gdb.rust/simple.exp: New file.
439 * gdb.rust/simple.rs: New file.
441 2016-05-17 Tom Tromey <tom@tromey.com>
443 * gdb.base/default.exp (set language): Add rust.
445 2016-05-17 Tom Tromey <tom@tromey.com>
447 * gdb.gdb/unittest.exp: New file.
449 2016-05-16 Yao Qi <yao.qi@linaro.org>
451 * gdb.base/batch-preserve-term-settings.exp: Remove variable
452 shell_prompt. Update shell_prompt_re.
454 2016-05-12 Doug Evans <dje@google.com>
457 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
458 $options when building executable.
459 * gdb.dwarf2/fission-loclists-pie.S: New file.
460 * gdb.dwarf2/fission-loclists-pie.exp: New file.
462 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
464 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
465 of [is_remote target],
467 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
469 * lib/gdb.exp (use_gdb_stub): New procedure.
471 2016-05-03 Yunlian Jiang <yunlian@google.com>
472 Doug Evans <dje@google.com>
475 * gdb.dwarf2/dwp-sepdebug.c: New file.
476 * gdb.dwarf2/dwp-sepdebug.exp: New file.
478 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
480 * gdb.base/detach.exp: Remove is_remote check.
482 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
484 * gdb.base/annota-input-while-running.exp: Don't check for
485 [is_remote target]. Enable annotations after running to main.
486 Remove unused "set test..." line.
488 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
490 * gdb.trace/trace-enable-disable.exp: New file.
491 * gdb.trace/trace-enable-disable.c: New file.
493 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
495 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
496 use it in info sharedlibrary test.
497 * gdb.trace/ftrace-lock.exp: Likewise.
498 * gdb.trace/ftrace.exp: Likewise.
499 * gdb.trace/range-stepping.exp: Likewise.
500 * gdb.trace/trace-break.exp: Likewise.
501 * gdb.trace/trace-condition.exp: Likewise.
502 * gdb.trace/trace-mt.exp: Likewise.
504 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
506 * lib/gdb.exp (gdb_load_shlibs): Rename to...
507 (gdb_load_shlib): ... this.
508 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
510 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
511 * gdb.base/ctxobj.exp: Likewise.
512 * gdb.base/dprintf-pending.exp: Likewise.
513 * gdb.base/dso2dso.exp: Likewise.
514 * gdb.base/fixsection.exp: Likewise.
515 * gdb.base/gcore-relro.exp: Likewise.
516 * gdb.base/gdb1555.exp: Likewise.
517 * gdb.base/global-var-nested-by-dso.exp: Likewise.
518 * gdb.base/gnu-ifunc.exp: Likewise.
519 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
520 * gdb.base/jit-so.exp (one_jit_test): Likewise.
521 * gdb.base/pending.exp: Likewise.
522 * gdb.base/print-file-var.exp: Likewise.
523 * gdb.base/print-symbol-loading.exp: Likewise.
524 * gdb.base/shlib-call.exp: Likewise.
525 * gdb.base/shreloc.exp: Likewise.
526 * gdb.base/so-impl-ld.exp: Likewise.
527 * gdb.base/solib-disc.exp: Likewise.
528 * gdb.base/solib-nodir.exp: Likewise.
529 * gdb.base/solib-overlap.exp: Likewise.
530 * gdb.base/solib-symbol.exp: Likewise.
531 * gdb.base/solib-weak.exp (do_test): Likewise.
532 * gdb.base/sym-file.exp: Likewise.
533 * gdb.base/symtab-search-order.exp: Likewise.
534 * gdb.base/type-opaque.exp: Likewise.
535 * gdb.base/unload.exp: Likewise.
536 * gdb.base/watchpoint-solib.exp: Likewise.
537 * gdb.compile/compile.exp: Likewise.
538 * gdb.cp/gdb2384.exp: Likewise.
539 * gdb.cp/infcall-dlopen.exp: Likewise.
540 * gdb.cp/re-set-overloaded.exp: Likewise.
541 * gdb.fortran/library-module.exp: Likewise.
542 * gdb.opt/solib-intra-step.exp: Likewise.
543 * gdb.python/py-finish-breakpoint.exp: Likewise.
544 * gdb.python/py-shared.exp: Likewise.
545 * gdb.reverse/solib-precsave.exp: Likewise.
546 * gdb.reverse/solib-reverse.exp: Likewise.
547 * gdb.server/solib-list.exp: Likewise.
548 * gdb.threads/dlopen-libpthread.exp: Likewise.
549 * gdb.threads/tls-shared.exp: Likewise.
550 * gdb.threads/tls-so_extern.exp: Likewise.
551 * gdb.trace/change-loc.exp: Likewise.
552 * gdb.trace/ftrace-lock.exp: Likewise.
553 * gdb.trace/ftrace.exp: Likewise.
554 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
555 * gdb.trace/pending.exp: Likewise.
556 * gdb.trace/range-stepping.exp: Likewise.
557 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
558 (strace_info_marker): Likewise.
559 (strace_probe_marker): Likewise.
560 (strace_trace_on_same_addr): Likewise.
561 (strace_trace_on_diff_addr): Likewise.
562 * gdb.trace/trace-break.exp: Likewise.
563 * gdb.trace/trace-condition.exp: Likewise.
564 * gdb.trace/trace-mt.exp: Likewise.
566 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
568 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
569 result of gdb_remote_download.
570 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
571 * gdb.base/dso2dso.exp: Likewise.
572 * gdb.base/global-var-nested-by-dso.exp: Likewise.
573 * gdb.base/print-file-var.exp: Likewise.
574 * gdb.base/shlib-call.exp: Likewise.
575 * gdb.base/shreloc.exp: Likewise.
576 * gdb.base/solib-overlap.exp: Likewise.
577 * gdb.base/solib-weak.exp (do_test): Likewise.
578 * gdb.base/unload.exp: Likewise.
580 2016-04-27 Yao Qi <yao.qi@linaro.org>
582 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
585 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
587 * vla-type.exp: Print structure from toplevel.
589 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
591 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
593 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
596 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
598 * gdb.fortran/vla-type.f90: New file.
599 * gdb.fortran/vla-type.exp: New file.
601 2016-04-25 Yao Qi <yao.qi@linaro.org>
603 * gdb.base/branch-to-self.c: New file.
604 * gdb.base/branch-to-self.exp: New file.
606 2016-04-22 Yao Qi <yao.qi@linaro.org>
608 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
611 2016-04-22 Yao Qi <yao.qi@linaro.org>
613 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
614 * gdb.base/annota3.exp: Likewise.
616 2016-04-22 Yao Qi <yao.qi@linaro.org>
618 * gdb.reverse/step-precsave.exp: Do one step and test program
619 stops in "callee" and do multiple steps until program goes out
621 * gdb.reverse/step-reverse.exp: Likewise.
623 2016-04-22 Yao Qi <yao.qi@linaro.org>
625 * gdb.trace/signal.exp: Also pass if
626 $tracepoint_hits($i) > $iterations.
628 2016-04-22 Yao Qi <yao.qi@linaro.org>
630 * gdb.trace/signal.c: New file.
631 * gdb.trace/signal.exp: New file.
633 2016-04-19 Doug Evans <xdje42@gmail.com>
635 * gdb.base/bad-file.exp: New file.
637 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
639 * gdb.dwarf2/implref.exp: New file.
641 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
643 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
644 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
645 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
646 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
647 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
648 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
649 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
650 * lib/fortran.exp (fortran_int4): New procedure.
651 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
652 (fortran_logical4): Likewise.
654 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
656 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
658 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
660 * lib/compiler.c: Add Intel specific preprocessor macros.
661 * lib/compiler.cc: Likewise.
663 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
665 * gdb.server/connect-with-no-symbol-file.c: New file.
666 * gdb.server/connect-with-no-symbol-file.exp: New file.
668 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
670 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
672 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
674 * boards/gdbserver-base.exp (${board}_download): Copy source file to
675 standard output directory.
677 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
679 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
681 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
683 * gdb.btrace/instruction_history.c (loop): Add declaration.
685 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
687 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
689 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
691 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
692 parentheses to print.
693 (continue_handler): Likewise.
695 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
697 * gdb.server/solib-list.exp: Remove is_remote check.
698 Pass shlib= to gdb_compile. Don't link shared library with
699 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
700 Run binary filename through "readlink -f" on the target.
702 2016-04-08 Pedro Alves <palves@redhat.com>
704 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
705 interpreter filename as argument to gdbserver_spawn.
706 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
707 Return empty if $last_loaded_file does not exist.
709 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
711 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
712 * gdb.base/jit-main.c: Use exit after usage.
714 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
716 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
717 GDBHISTSIZE prior to the tests.
718 * gdb.base/gdbinit-history.exp: Likewise.
720 2016-04-07 Pedro Alves <palves@redhat.com>
722 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
723 instead of build_executable. Use gdb_load_shlibs.
725 2016-04-07 Yao Qi <yao.qi@linaro.org>
727 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
728 Execute "si" command.
730 2016-04-07 Yao Qi <yao.qi@linaro.org>
732 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
733 number instead of the comments on some line.
735 2016-04-06 Don Breazeal <donb@codesourcery.com>
737 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
738 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
740 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
742 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
743 standard_output_file. Remove unused binfile variable.
745 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
747 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
748 * gdb.python/py-mi-objfile.exp: Match "list main" output
751 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
753 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
756 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
758 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
760 * gdb.trace/ftrace.exp: Likewise.
761 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
763 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
764 (gdb_load_shlibs): Copy libraries to test directory when testing
765 natively. Only set solib-search-path if testing remotely.
766 * lib/mi-support.exp (mi_load_shlibs): Likewise.
768 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
770 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
771 gdb_download. Use it even if the target is not remote.
772 * gdb.base/jit.exp (compile_jit_test): Likewise.
773 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
774 output directory if the destination board is local, otherwise use
775 the standard remote_download from DejaGnu.
776 (gdb_download): Remove.
777 (gdb_load_shlibs): Use gdb_remote_download instead of
779 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
780 Use gdb_remote_download instead of gdb_download. Use it even if
781 the target is not remote.
782 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
783 instead of gdb_download.
785 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
787 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
788 (test_insert_delete_modify): Call mi_load_shlibs before trying to
791 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
794 * gdb.base/printcmds.exp: Add artificial arrays tests.
796 2016-03-31 Pedro Alves <palves@redhat.com>
799 * gdb.base/jit-main.c: Include unistd.h.
800 (ATTACH): Define to 0 if not already defined.
801 (wait_for_gdb, mypid): New globals.
802 (WAIT_FOR_GDB): New macro.
803 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
804 some breakpoint locations.
805 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
807 (one_jit_test): Add REATTACH parameter, and handle it. Use
808 continue_to_test_location.
809 (top level): Test attach, and adjusts calls to one_jit_test.
811 2016-03-31 Pedro Alves <palves@redhat.com>
814 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
815 BINSUFFIX parameter, and handle it.
816 (top level): Adjust calls compile_jit_test.
818 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
821 * gdb.python/py-mi-events-gdb.py: New file.
822 * gdb.python/py-mi-events.c: New file.
823 * gdb.python/py-mi-events.exp: New file.
825 2016-03-30 Yao Qi <yao.qi@linaro.org>
827 * gdb.reverse/until-precsave.exp: Match function name only.
828 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
829 Move malloc to a condition block.
830 * gdb.reverse/until-reverse.exp: Match function name only.
832 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
834 * gdb.trace/ftrace.exp: Set arg0exp for s390.
835 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
836 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
837 variable for GPR 0 instead of assuming it is register 0.
838 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
839 * lib/trace-support.exp: Add s390 registers.
841 2016-03-29 Yao Qi <yao.qi@linaro.org>
843 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
845 2016-03-24 Yao Qi <yao.qi@linaro.org>
847 * gdb.reverse/break-reverse.exp: Add quotation mark in the
850 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
852 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
853 maintaining separate logic for constructing the output path.
855 2016-03-16 Don Breazeal <donb@codesourcery.com>
857 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
858 Retry fork and waitpid on interrupted system call errors.
859 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
860 Use with_timeout_factor to increase timeout by factor of 10.
862 2016-03-15 Don Breazeal <donb@codesourcery.com>
864 * gdb.cp/scope-err.cc: New test program.
865 * gdb.cp/scope-err.exp: New test script.
866 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
867 lines and "set breakpoint here" comment.
868 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
869 Fixed some whitespace and format issues.
870 * gdb.mi/mi-linespec-err-cp.cc: New test program.
871 * gdb.mi/mi-linespec-err-cp.exp: New test script.
873 2016-03-15 Doug Evans <dje@google.com>
875 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
876 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
877 All callers updated. Add tests for enums, mixed flags register.
879 2016-03-15 Doug Evans <dje@google.com>
881 * gdb.base/skip.c (main): Call test_skip_file_and_function.
882 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
884 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
886 * gdb.base/default.exp: Add $_as_string to the list of expected
887 convenience functions.
889 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
891 * gdb.base/maint.exp: New tests for 'maint info line-table'.
893 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
895 * gdb.python/py-as-string.exp: New file.
896 * gdb.python/py-as-string.c: New file.
898 2016-03-09 Pedro Alves <palves@redhat.com>
900 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
901 signal" -> "Thread NN received signal" output change.
902 * gdb.threads/ia64-sigill.exp: Likewise.
903 * gdb.threads/linux-dp.exp: Likewise.
904 * gdb.threads/manythreads.exp: Likewise.
905 * gdb.threads/pending-step.exp: Likewise.
906 * gdb.threads/print-threads.exp: Likewise.
907 * gdb.threads/sigstep-threads.exp: Likewise.
908 * gdb.threads/staticthreads.exp: Likewise.
909 * gdb.threads/tls.exp: Likewise.
911 2016-03-09 Pedro Alves <palves@redhat.com>
913 * gdb.base/command-line-input.exp: New file.
915 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
917 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
918 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
919 * gdb.trace/pending.exp: Accept leading dot before function name.
920 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
921 * lib/trace-support.exp: Set registers for ppc.
923 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
925 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
926 use it for disassembly; accept .main in addition to main in backtrace.
928 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
929 Marcin Kościelnicki <koriakin@0x04.net>
931 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
932 (gdb_recursion_test_ptr): New global variable.
933 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
937 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
939 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
942 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
944 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
945 (bar): Add bar_start_lbl label.
946 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
947 of foo/bar for emitting DWARF and tracing.
949 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
951 * analyze-racy-logs.py: Set executable bit.
953 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
955 * Makefile.in (DEFAULT_RACY_ITER): New variable.
956 (CHECK_TARGET_TMP): Likewise.
957 (check-single-racy): New rule.
958 (check-parallel-racy): Likewise.
959 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
960 (do-check-parallel-racy): New rule.
961 (check-racy/%.exp): Likewise.
962 * README (Racy testcases): New section.
963 * analyze-racy-logs.py: New file.
965 2016-03-03 Doug Evans <dje@google.com>
967 * gdb.base/skip.exp: Use with_test_prefix.
969 2016-03-03 Yao Qi <yao.qi@linaro.org>
971 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
972 Invoke step_over_syscall "clone" and break_cond_on_syscall
974 * gdb.base/step-over-clone.c: New file.
976 2016-03-03 Yao Qi <yao.qi@linaro.org>
978 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
981 2016-03-03 Yao Qi <yao.qi@linaro.org>
983 * gdb.base/disp-step-fork.c: Rename to ...
984 * gdb.base/step-over-fork.c: ... it. New file.
985 * gdb.base/disp-step-vfork.c: Rename to ...
986 * gdb.base/step-over-vfork.c: ... it. New file.
987 * gdb.base/disp-step-syscall.exp: Rename to ...
988 * gdb.base/step-over-syscall.exp: ... it. New file.
989 (disp_step_cross_syscall): Rename to ...
990 (step_over_syscall): ... it.
992 2016-03-03 Yao Qi <yao.qi@linaro.org>
994 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
995 If target supports condition evaluation on target, invoke
996 break_cond_on_syscall for fork and vfork.
998 2016-03-03 Yao Qi <yao.qi@linaro.org>
1000 * gdb.base/disp-step-syscall.exp: Don't invoke
1001 support_displaced_stepping.
1002 (disp_step_cross_syscall): Test with displaced stepping off and
1005 2016-03-03 Yao Qi <yao.qi@linaro.org>
1007 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
1010 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
1013 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1015 * gdb.fortran/vla-history.exp: Remove breakpoint.
1017 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1019 * gdb.fortran/vla-history.exp: Lookup array elements and printing
1022 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1024 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1027 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1029 * gdb.mi/vla.f90: Nullify pointer after declaration.
1031 2016-03-01 Pedro Alves <palves@redhat.com>
1033 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1035 2016-03-01 Pedro Alves <palves@redhat.com>
1037 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1038 before anything else.
1039 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1041 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1042 before anything else.
1043 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1045 2016-03-01 Pedro Alves <palves@redhat.com>
1047 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1049 2016-03-01 Yao Qi <yao.qi@linaro.org>
1051 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1052 prepare_for_testing.
1054 2016-03-01 Yao Qi <yao.qi@linaro.org>
1056 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1058 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1060 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1061 manually constructing the output path.
1063 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1065 * gdb.arch/s390-stackless.S: New.
1066 * gdb.arch/s390-stackless.exp: New.
1068 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1070 * gdb.dlang/circular.c: New file.
1071 * gdb.dlang/circular.exp: New file.
1073 2016-02-26 Yao Qi <yao.qi@linaro.org>
1075 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1076 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1077 (testcases): Update.
1079 2016-02-26 Yao Qi <yao.qi@linaro.org>
1081 * gdb.reverse/aarch64.c: Rename to ...
1082 * gdb.reverse/insn-reverse.c: ... it.
1083 * gdb.reverse/aarch64.exp: Rename to ...
1084 * gdb.reverse/insn-reverse.exp: ... it.
1086 2016-02-26 Yao Qi <yao.qi@linaro.org>
1088 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1089 (testcase_ftype): New.
1090 (testcases): New array.
1092 (main): Call each element in testcases.
1093 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1094 (read_testcase): New.
1095 Do the tests in a loop.
1097 2016-02-25 Yao Qi <yao.qi@linaro.org>
1099 * gdb.base/branches.c: Remove.
1101 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1104 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1106 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1108 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1110 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1112 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1113 change x86_64 call_insn to 'callq'.
1115 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1117 * gdb.trace/tfile-avx.c: Move to...
1118 * gdb.trace/tracefile-pseudo-reg.c: Here.
1119 * gdb.trace/tfile-avx.exp: Move to...
1120 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1122 2016-02-24 Gary Benson <gbenson@redhat.com>
1124 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1127 2016-02-23 Doug Evans <dje@google.com>
1129 * gdb.base/skip.c (test_skip): New function.
1130 (end_test_skip_file_and_function): New function.
1131 (test_skip_file_and_function): New function.
1132 * gdb.base/skip1.c (test_skip): New function.
1133 (skip1_test_skip_file_and_function): New function.
1134 * gdb.base/skip.exp: Add tests for new skip options.
1135 * gdb.base/skip-solib.exp: Update expected output.
1136 * gdb.perf/skip-command.cc: New file.
1137 * gdb.perf/skip-command.exp: New file.
1138 * gdb.perf/skip-command.py: New file.
1140 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1142 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1143 info registers pattern.
1145 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1147 * lib/future.exp: Add D support.
1148 (gdb_find_gdc): New proc.
1149 (gdb_default_target_compile): Add D support.
1151 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1153 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1155 (trace_speed_test): Determine the iteration count for a time
1156 between 15..30 seconds.
1158 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1160 * gdb.arch/i386-mpx-sigsegv.c: New file.
1161 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1162 * gdb.arch/i386-mpx-simple_segv.c: New file.
1163 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1165 2016-02-18 Yao Qi <yao.qi@linaro.org>
1167 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1168 Don't call setup_kfail.
1170 2016-02-18 Yao Qi <yao.qi@linaro.org>
1172 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1173 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1175 2016-02-16 Doug Evans <dje@google.com>
1177 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1178 * gdb.base/skip1.c: Ditto.
1179 * gdb.base/skip.exp: Whitespace cleanup.
1181 2016-02-16 Don Breazeal <donb@codesourcery.com>
1184 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1185 Remove kfail for PR remote/19496.
1187 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1189 * lib/gdb.exp (standard_temp_file): Return a path specific to
1190 the runtest invocation.
1192 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1194 * gdb.trace/save-trace.exp: Change relative path to be in the
1195 standard output directory.
1197 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1199 * gdb.arch/i386-prologue.c: Add missing prototypes.
1201 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1203 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1204 * gdb.arch/i386-prologue.exp: Likewise.
1205 * gdb.arch/i386-size.exp: Likewise.
1207 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1209 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1210 define object file path.
1211 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1213 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1214 standard_output_file to define binfile.
1216 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1218 Fix compatibility with recent gfortran-5.3.1.
1219 * gdb.fortran/vla-history.exp (print vla1 allocated)
1220 (print vla2 allocated, print $2, print $3): Remove
1221 (print $4): Rename to ...
1222 (print $2): ... here.
1223 (print $9): Rename to ...
1224 (print $5): ... here.
1225 (print $10): Rename to ...
1226 (print $6): ... here.
1227 * gdb.fortran/vla.f90: Add pvla initialization.
1229 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1231 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1233 * gdb.fortran/vla-value-sub.exp: Likewise.
1235 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1237 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1239 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1241 * i386-biarch-core.exp: Define corefile using
1242 standard_output_file.
1244 2016-02-12 Yao Qi <yao.qi@linaro.org>
1246 * gdb.arch/arm-single-step-kernel-helper.c: New.
1247 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1249 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1251 * gdb.btrace/tailcall-only.exp: New.
1252 * gdb.btrace/tailcall-only.c: New.
1253 * gdb.btrace/x86_64-tailcall-only.S: New.
1254 * gdb.btrace/i686-tailcall-only.S: New.
1256 2016-02-11 Pedro Alves <palves@redhat.com>
1258 * README (Parallel testing): Add missing double quotes.
1260 2016-02-11 Pedro Alves <palves@redhat.com>
1262 * README (Parallel testing): New section.
1263 (GDB_PARALLEL): Rewrite.
1264 (FORCE_PARALLEL): Document.
1266 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1268 * gdb.trace/tfile-avx.c: New test.
1269 * gdb.trace/tfile-avx.exp: New test.
1271 2016-02-09 Keith Seitz <keiths@redhat.com>
1273 PR breakpoints/19546
1274 * gdb.base/infcall-exec.c: New file.
1275 * gdb.base/infcall-exec2.c: New file.
1276 * gdb.base/infcall-exec.exp: New file.
1278 2016-02-09 Keith Seitz <keiths@redhat.com>
1280 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1281 (toplevel): Call test_bkpt_address.
1283 2016-02-09 Keith Seitz <keiths@redhat.com>
1286 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1287 (toplevel): Call test_bkpt_address.
1289 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1291 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1293 * configure: Regenerate.
1295 2016-02-09 Pedro Alves <palves@redhat.com>
1297 PR breakpoints/19548
1298 * gdb.base/execl-update-breakpoints.c (some_function): New
1301 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1302 Tighten expected GDB output.
1304 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1306 * Makefile.in (ALL_SUBDIRS): Remove.
1307 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1308 (distclean maintainer-clean realclean): Likewise.
1309 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1310 * configure: Regenerate.
1311 * gdb.ada/Makefile.in: Delete.
1312 * gdb.arch/Makefile.in: Likewise.
1313 * gdb.asm/Makefile.in: Likewise.
1314 * gdb.base/Makefile.in: Likewise.
1315 * gdb.btrace/Makefile.in: Likewise.
1316 * gdb.cell/Makefile.in: Likewise.
1317 * gdb.compile/Makefile.in: Likewise.
1318 * gdb.cp/Makefile.in: Likewise.
1319 * gdb.disasm/Makefile.in: Likewise.
1320 * gdb.dlang/Makefile.in: Likewise.
1321 * gdb.dwarf2/Makefile.in: Likewise.
1322 * gdb.fortran/Makefile.in: Likewise.
1323 * gdb.gdb/Makefile.in: Likewise.
1324 * gdb.go/Makefile.in: Likewise.
1325 * gdb.guile/Makefile.in: Likewise.
1326 * gdb.java/Makefile.in: Likewise.
1327 * gdb.linespec/Makefile.in: Likewise.
1328 * gdb.mi/Makefile.in: Likewise.
1329 * gdb.modula2/Makefile.in: Likewise.
1330 * gdb.multi/Makefile.in: Likewise.
1331 * gdb.objc/Makefile.in: Likewise.
1332 * gdb.opencl/Makefile.in: Likewise.
1333 * gdb.opt/Makefile.in: Likewise.
1334 * gdb.pascal/Makefile.in: Likewise.
1335 * gdb.perf/Makefile.in: Likewise.
1336 * gdb.python/Makefile.in: Likewise.
1337 * gdb.reverse/Makefile.in: Likewise.
1338 * gdb.server/Makefile.in: Likewise.
1339 * gdb.stabs/Makefile.in: Likewise.
1340 * gdb.threads/Makefile.in: Likewise.
1341 * gdb.trace/Makefile.in: Likewise.
1342 * gdb.xml/Makefile.in: Likewise.
1343 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1345 (standard_output_file): Remove check for GDB_PARALLEL, always
1346 return path in outputs/$subdir/$testname.
1348 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1350 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1351 (site.exp): Assign abs_srcdir to tcl's srcdir.
1353 2016-02-04 Yao Qi <yao.qi@linaro.org>
1355 * gdb.base/foll-exec-mode.c: Include limits.h.
1356 (main): Add parameters argc and argv. Get directory from
1358 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1360 * gdb.base/foll-exec.c: Include limits.h.
1361 (main): Add parameters argc and argv.
1362 Get directory from argv[0].
1363 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1364 Adjust tests on the number of lines as source code changed.
1365 * gdb.base/foll-vfork-exit.c: Include limits.h.
1366 (main): Add one line of statement before vfork.
1367 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1368 (main): Add parameters argc and argv. Get directory from
1370 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1371 (setup_gdb): Set tbreak to skip some source lines.
1372 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1373 (main): Add parameters argc and argv. Get directory from
1375 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1377 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1378 (main): Add parameters argc and argv. Get directory from
1380 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1383 2016-02-01 Doug Evans <dje@google.com>
1385 * gdb.base/skip.exp: Clean up multiple references to same test name.
1387 2016-02-01 Pedro Alves <palves@redhat.com>
1390 * gdb.threads/forking-threads-plus-breakpoint.exp
1391 (displaced_stepping_supported): New global.
1392 (probe_displaced_stepping_support): New procedure.
1393 (do_test): Add 'displaced' parameter, and use it.
1394 (top level): Check for displaced stepping support. Add displaced
1395 stepping on/off testing axis.
1397 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1399 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1400 pointer. Don't perform further tests on the unassociated pointer
1401 if the first test fails.
1403 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1405 * gdb.base/max-value-size.c: New file.
1406 * gdb.base/max-value-size.exp: New file.
1407 * gdb.base/huge.exp: Disable max-value-size for this test.
1409 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1411 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1413 2016-01-28 Yao Qi <yao.qi@linaro.org>
1415 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1417 2016-01-25 Pedro Alves <palves@redhat.com>
1420 * gdb.base/fork-running-state.c: New file.
1421 * gdb.base/fork-running-state.exp: New file.
1423 2016-01-25 Pedro Alves <palves@redhat.com>
1426 * gdb.base/catch-fork-kill.c: New file.
1427 * gdb.base/catch-fork-kill.exp: New file.
1429 2016-01-25 Pedro Alves <palves@redhat.com>
1431 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1432 Delete, moved to lib/gdb.exp.
1433 * gdb.threads/forking-threads-plus-breakpoint.exp
1434 (foreach_with_prefix): Likewise.
1435 * gdb.threads/process-dies-while-handling-bp.exp
1436 (foreach_with_prefix): Likewise.
1437 * lib/gdb.exp (foreach_with_prefix): New procedure.
1439 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1441 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1442 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1444 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1446 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1449 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1450 Pedro Alves <palves@redhat.com>
1452 Fix testsuite compatibility with Guile.
1453 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1456 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 Fix testsuite compatibility with Guile.
1459 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1460 (thread 1): New test for backtrace through signal handler.
1462 2016-01-22 Yao Qi <yao.qi@linaro.org>
1465 * gdb.base/multi-forks.c: Include
1466 ../lib/unbuffer_output.c
1467 (main): Call gdb_unbuffer_output.
1469 2016-01-21 Doug Evans <dje@google.com>
1471 * lib/ada.exp (gdb_compile_ada): Fix typo.
1473 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1475 * gdb.base/break-fun-addr.exp: New file.
1476 * gdb.base/break-fun-addr1.c: New file.
1477 * gdb.base/break-fun-addr2.c: New file.
1479 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1481 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1482 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1485 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1487 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1488 when GDB can not set the vector return value. Add more comments
1491 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1493 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1496 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1498 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1500 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1502 * Makefile.in (check-single): Pass --status to runtest.
1503 (check/%.exp): Likewise.
1505 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1507 * Makefile.in (check-parallel): Propagate return code from make
1510 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1512 * gdb.trace/ftrace.exp: Fix expected message on continue.
1513 * gdb.trace/pending.exp: Fix expected message on continue.
1514 * gdb.trace/trace-break.exp: Fix expected message on continue.
1516 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1518 * lib/gdb.exp (gdb_test): Remove unused global references.
1520 2016-01-18 Pedro Alves <palves@redhat.com>
1522 * gdb.base/async-shell.exp: Adjust expected output.
1523 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1524 * gdb.base/siginfo-thread.exp: Adjust expected output.
1525 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1526 * gdb.java/jnpe.exp: Adjust expected output.
1527 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1528 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1529 * gdb.threads/leader-exit.exp: Adjust expected output.
1530 * gdb.threads/manythreads.exp: Adjust expected output.
1531 * gdb.threads/pthreads.exp: Adjust expected output.
1532 * gdb.threads/schedlock.exp: Adjust expected output.
1533 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1534 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1536 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1538 * gdb.threads/sigthread.exp: Adjust expected output.
1539 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1541 2016-01-18 Yao Qi <yao.qi@linaro.org>
1543 * gdb.guile/scm-section-script.c: Replace @progbits with
1545 * gdb.python/py-section-script.c: Likewise.
1547 2016-01-15 Pedro Alves <palves@redhat.com>
1549 * gdb.multi/tids.exp: Test star wildcard ranges.
1551 2016-01-15 Pedro Alves <palves@redhat.com>
1553 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1554 command from "thread apply" invocation.
1555 (thr_apply_info_thr_invalid): Default the expected output to the
1557 (top level): Add tests that use convenience variables. Add tests
1558 for "thread apply" with a valid TID list, but missing the command.
1560 2016-01-13 Pedro Alves <palves@redhat.com>
1562 * gdb.base/default.exp: Expect $_gthread as well.
1563 * gdb.multi/tids.exp: Test $_gthread.
1564 * gdb.threads/thread-specific.exp: Test $_gthread.
1566 2016-01-13 Pedro Alves <palves@redhat.com>
1568 * gdb.multi/tids.exp: Test "info threads -gid".
1570 2016-01-13 Pedro Alves <palves@redhat.com>
1572 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1574 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1576 2016-01-07 Pedro Alves <palves@redhat.com>
1578 * gdb.base/break.exp: Adjust to output changes.
1579 * gdb.base/hbreak2.exp: Likewise.
1580 * gdb.base/sepdebug.exp: Likewise.
1581 * gdb.base/watch_thread_num.exp: Likewise.
1582 * gdb.linespec/keywords.exp: Likewise.
1583 * gdb.multi/info-threads.exp: Likewise.
1584 * gdb.threads/thread-find.exp: Likewise.
1585 * gdb.multi/tids.c: New file.
1586 * gdb.multi/tids.exp: New file.
1588 2016-01-13 Pedro Alves <palves@redhat.com>
1590 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1592 2016-01-13 Pedro Alves <palves@redhat.com>
1594 * gdb.base/default.exp: Expect $_inferior as well.
1595 * gdb.multi/base.exp: Test $_inferior.
1597 2016-01-13 Pedro Alves <palves@redhat.com>
1599 PR breakpoints/19388
1600 * gdb.base/catch-signal-siginfo-cond.c: New file.
1601 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1603 2016-01-12 Josh Stone <jistone@redhat.com>
1604 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1606 * gdb.base/catch-syscall.c (do_execve): New variable.
1607 (main): Conditionally trigger an execve.
1608 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1609 (test_catch_syscall_execve): New, check entry/return across execve.
1610 (do_syscall_tests): Call test_catch_syscall_execve.
1612 2016-01-12 Pedro Alves <palves@redhat.com>
1614 * gdb.base/random-signal.exp (do_test): New procedure, with body
1615 of testcase moved in.
1617 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1618 Pedro Alves <palves@redhat.com>
1620 * gdb.base/funcargs.exp (finish from indirectly called function):
1621 Reintroduce the case for 'First'.
1623 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1624 Pedro Alves <palves@redhat.com>
1626 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1627 (tcatch_vfork_then_child_follow_exec)
1628 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1631 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1633 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1634 and repeats to unlimited.
1635 * gdb.python/py-value.exp: Likewise.
1636 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1637 and repeats to unlimited.
1639 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1641 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1642 and reordering the functions.
1643 * gdb.multi/hangout.c: Likewise.
1644 * gdb.multi/hello.c: Likewise.
1646 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1648 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1650 (SingleStatisticTestResult.report): Use dict.keys instead of
1653 2016-01-06 Pedro Alves <palves@redhat.com>
1655 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1657 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1659 * gdb.btrace/dlopen.exp: New.
1660 * gdb.btrace/dlopen.c: New.
1661 * gdb.btrace/dlopen-dso.c: New.
1663 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1665 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1666 PATTERN argument is optional.
1668 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1670 * lib/ada.exp (target_compile_ada_from_dir): New function.
1671 (gdb_compile_ada): Reimplement avoiding the use of project files.
1672 * gdb.ada/gnat_ada.gpr: Delete.
1673 * gdb.ada/cond_lang.exp: Adjust test to make path before
1675 * gdb.ada/small_reg_param.exp: Likewise.
1677 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1679 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1681 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1683 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1686 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1688 * gdb.base/break.exp: Remove dead code.
1689 * gdb.base/sepdebug.exp: Likewise.
1691 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1693 * gdb.asm/asm-source.exp: Remove HP-UX references.
1694 * gdb.base/annota1.exp: Likewise.
1695 * gdb.base/annota3.exp: Likewise.
1696 * gdb.base/attach.exp: Likewise.
1697 * gdb.base/bigcore.exp: Likewise.
1698 * gdb.base/break.exp: Likewise.
1699 * gdb.base/call-ar-st.exp: Likewise.
1700 * gdb.base/callfuncs.exp: Likewise.
1701 * gdb.base/catch-fork-static.exp: Likewise.
1702 * gdb.base/display.exp: Likewise.
1703 * gdb.base/foll-exec-mode.exp: Likewise.
1704 * gdb.base/foll-exec.exp: Likewise.
1705 * gdb.base/foll-fork.exp: Likewise.
1706 * gdb.base/foll-vfork.exp: Likewise.
1707 * gdb.base/funcargs.exp: Likewise.
1708 * gdb.base/hbreak2.exp: Likewise.
1709 * gdb.base/inferior-died.exp: Likewise.
1710 * gdb.base/interrupt.exp: Likewise.
1711 * gdb.base/multi-forks.exp: Likewise.
1712 * gdb.base/nodebug.exp: Likewise.
1713 * gdb.base/sepdebug.exp: Likewise.
1714 * gdb.base/solib1.c: Likewise.
1715 * gdb.base/step-test.exp: Likewise.
1716 * gdb.mi/non-stop.c: Likewise.
1717 * gdb.mi/pthreads.c: Likewise.
1718 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1719 * gdb.threads/pthreads.c: Likewise.
1720 * gdb.threads/staticthreads.exp: Likewise.
1721 * lib/future.exp: Likewise.
1722 * lib/gdb.exp: Likewise.
1723 * gdb.base/so-indr-cl.c: Remove.
1724 * gdb.base/so-indr-cl.exp: Likewise.
1725 * gdb.base/solib.c: Likewise.
1726 * gdb.base/solib.exp: Likewise.
1727 * gdb.base/solib2.c: Likewise.
1729 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1731 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1732 * gdb.base/call-ar-st.exp: Likewise.
1733 * gdb.base/callfuncs.exp: Likewise.
1734 * gdb.base/condbreak.exp: Likewise.
1735 * gdb.base/constvars.exp: Likewise.
1736 * gdb.base/hbreak2.exp: Likewise.
1737 * gdb.base/langs.exp: Likewise.
1738 * gdb.base/list.exp: Likewise.
1739 * gdb.base/long_long.exp: Likewise.
1740 * gdb.base/ptype.exp: Likewise.
1741 * gdb.base/scope.exp: Likewise.
1742 * gdb.base/signals.exp: Likewise.
1743 * gdb.base/so-impl-ld.exp: Likewise.
1744 * gdb.base/varargs.exp: Likewise.
1745 * gdb.base/volatile.exp: Likewise.
1746 * gdb.base/whatis.exp: Likewise.
1747 * gdb.cp/cplusfuncs.exp: Likewise.
1748 * gdb.cp/inherit.exp: Likewise.
1749 * gdb.cp/local.exp: Likewise.
1750 * gdb.cp/member-ptr.exp: Likewise.
1751 * gdb.cp/method.exp: Likewise.
1752 * gdb.cp/overload.exp: Likewise.
1753 * gdb.cp/templates.exp: Likewise.
1754 * gdb.stabs/weird.exp: Likewise.
1755 * lib/compiler.c: Likewise.
1756 * lib/compiler.cc: Likewise.
1757 * lib/cp-support.exp: Likewise.
1758 * lib/gdb.exp: Likewise.
1760 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1762 * configure.ac: Remove HP-UX case.
1763 * configure: Regenerate.
1765 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1767 * lib/gdb.exp (gdb_compile): Add function doc.
1769 2015-12-17 Pedro Alves <palves@redhat.com>
1772 * gdb.multi/info-threads.exp: New file.
1774 2015-12-15 Yao Qi <yao.qi@linaro.org>
1776 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1779 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1781 * gdb.base/history-duplicates.exp: Skip if no readline support.
1783 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1785 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1787 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1789 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1791 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1793 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1794 ctrl-C if nointerrupts target property is set.
1795 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1796 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1797 * gdb.base/paginate-bg-execution.exp: Likewise.
1798 * gdb.base/paginate-execution-startup.exp: Likewise.
1799 * gdb.base/random-signal.exp: Likewise.
1800 * gdb.base/range-stepping.exp: Likewise.
1801 * gdb.cp/annota2.exp: Likewise.
1802 * gdb.cp/annota3.exp: Likewise.
1803 * gdb.gdb/selftest.exp: Likewise.
1804 * gdb.threads/continue-pending-status.exp: Likewise.
1805 * gdb.threads/leader-exit.exp: Likewise.
1806 * gdb.threads/manythreads.exp: Likewise.
1807 * gdb.threads/pthreads.exp: Likewise.
1808 * gdb.threads/schedlock.exp: Likewise.
1809 * gdb.threads/sigthread.exp: Likewise.
1811 2015-12-11 Don Breazeal <donb@codesourcery.com>
1813 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1815 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1816 * gdb.base/foll-exec.exp (main): Enable for target remote.
1817 * gdb.base/foll-fork.exp (main): Likewise.
1818 * gdb.base/foll-vfork.exp (main): Likewise.
1819 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1820 (proc continue_to_exit_bp_loc): Use clean_restart.
1821 * gdb.base/pie-execl.exp (main): Disable for target remote.
1822 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1823 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1824 * gdb.threads/execl.exp (main): Likewise.
1825 * gdb.threads/fork-child-threads.exp (main): Likewise.
1826 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1828 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1830 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1831 pid.tid style ptids, instead of just tid.
1832 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1833 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1834 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1835 ptids, instead of just tid.
1837 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1839 * gdb.base/list.exp (test_list_forward): Add end of file error
1841 (test_repeat_list_command): Add end of file error test.
1842 (test_list_backwards): Add beginning of file error test.
1844 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1846 * gdb.base/list.exp (test_list_invalid_args): New function,
1847 defined, and called.
1849 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1851 * gdb.base/list.exp (test_list): Make test names unique.
1853 2015-12-11 Yao Qi <yao.qi@linaro.org>
1855 * gdb.base/coremaker2.c: Remove.
1857 2015-12-10 Pedro Alves <palves@redhat.com>
1859 * gdb.multi/base.exp: Remove stale "spaces" references.
1861 2015-12-10 Pedro Alves <palves@redhat.com>
1863 * gdb.multi/base.exp: Don't use nowarnings.
1864 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1865 * gdb.multi/hangout.c: Include stdio.h.
1866 * gdb.multi/hello.c: Include stdlib.h.
1867 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1868 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1869 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1871 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1873 * gdb.dwarf2/dw2-ranges-base.c: New file.
1874 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1875 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1876 support additional line table, and debug ranges generation.
1877 (Dwarf::ranges): New function, generate .debug_ranges.
1878 (Dwarf::lines): Support generating simple line table programs.
1879 (Dwarf::assemble): Initialise new namespace variables.
1881 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1883 * gdb.base/async.exp (proc test_background): Add case for
1884 asynchronous execution not supported.
1886 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1888 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1889 format and change test names to make them unique.
1891 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1892 Pedro Alves <pedro@redhat.com>
1895 Add checking of floatformats setup on x86_64 hosts.
1896 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1897 (smallval, bigval): New labels/constants.
1898 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1899 float" after loading bigval and smallval.
1901 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1903 * gdb.ada/fun_overload_menu.exp: New testcase.
1904 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1906 2015-12-04 Josh Stone <jistone@redhat.com>
1908 * gdb.base/catch-fork-static.exp: New.
1910 2015-12-03 Yao Qi <yao.qi@linaro.org>
1912 * gdb.base/sizeof.c: Don't include stdio.h and
1913 ../lib/unbuffer_output.c.
1914 (main): New variable 'size' and 'value'. Remove printf and
1915 gdb_unbuffer_output. Assign return value to size and value.
1916 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1918 (check_sizeof): Check the result by printing variable 'size'.
1919 (check_valueof): Check the result by printing variable 'value'.
1921 2015-12-01 Yao Qi <yao.qi@linaro.org>
1923 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1924 for aarch64*-*-linux* target.
1926 2015-11-30 Pedro Alves <palves@redhat.com>
1928 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1930 2015-11-30 Pedro Alves <palves@redhat.com>
1932 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1933 Handle non-stop mode vCont replies.
1935 2015-11-30 Pedro Alves <palves@redhat.com>
1937 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1938 prepare_for_testing. Start gdb with "set non-stop on" appended to
1939 GDBFLAGS. Lax expected stop output.
1941 2015-11-27 Yao Qi <yao.qi@linaro.org>
1943 * gdb.arch/arm-neon.exp: New.
1944 * gdb.arch/arm-neon.c: New.
1946 2015-11-27 Yao Qi <yao.qi@linaro.org>
1948 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1950 2015-11-27 Yao Qi <yao.qi@linaro.org>
1952 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1953 frames-invalid annotation.
1955 2015-11-27 Yao Qi <yao.qi@linaro.org>
1957 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1959 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1961 * gdb.threads/names.exp: New file.
1962 * gdb.threads/names.c: New file.
1963 * README: Mention gdb,no_thread_names.
1965 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1968 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1971 2015-11-24 Pedro Alves <palves@redhat.com>
1974 * gdb.base/display.exp: Expect displays to be sorted in ascending
1975 order. Use multi_line.
1976 * gdb.base/solib-display.exp: Likewise.
1978 2015-11-24 Pedro Alves <palves@redhat.com>
1981 * gdb.base/display.exp: Expect displays to be sorted in ascending
1982 order. Use multi_line.
1983 * gdb.base/solib-display.exp: Likewise.
1985 2015-11-24 Pedro Alves <palves@redhat.com>
1988 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1989 threads in ascending order.
1990 * gdb.base/foll-fork.exp: Likewise.
1991 * gdb.base/foll-vfork.exp: Likewise.
1992 * gdb.base/multi-forks.exp: Likewise.
1993 * gdb.mi/mi-nonstop.exp: Likewise.
1994 * gdb.mi/mi-nsintrall.exp: Likewise.
1995 * gdb.multi/base.exp: Likewise.
1996 * gdb.multi/multi-arch.exp: Likewise.
1997 * gdb.python/py-inferior.exp: Likewise.
1998 * gdb.threads/break-while-running.exp: Likewise.
1999 * gdb.threads/execl.exp: Likewise.
2000 * gdb.threads/gcore-thread.exp: Likewise.
2001 * gdb.threads/info-threads-cur-sal.exp: Likewise.
2002 * gdb.threads/kill.exp: Likewise.
2003 * gdb.threads/linux-dp.exp: Likewise.
2004 * gdb.threads/multiple-step-overs.exp: Likewise.
2005 * gdb.threads/next-bp-other-thread.exp: Likewise.
2006 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
2007 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
2008 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
2009 * gdb.threads/thread-find.exp: Likewise.
2010 * gdb.threads/tls.exp: Likewise.
2011 * lib/mi-support.exp (mi_reverse_list): Delete.
2012 (mi_check_thread_states): No longer reverse list.
2014 2015-11-24 Pedro Alves <palves@redhat.com>
2016 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
2019 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2021 * gdb.trace/actions.c: Include trace-common.h.
2022 (main): Add a location for a fast tracepoint.
2023 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2024 the normal tracepoints.
2025 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2027 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2029 * save-trace.exp: Factor out code to these...
2030 (gdb_save_tracepoints): New.
2031 (gdb_load_tracepoints): New.
2032 (do_save_load_test): New.
2034 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2036 * gdb.base/asmlabel.exp: New test.
2037 * gdb.base/asmlabel.c: New test case.
2039 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2041 * gdb.base/wrong_frame_bt_full-main.c: New file.
2042 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2043 * gdb.base/wrong_frame_bt_full.exp: New file.
2045 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2047 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2049 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2051 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2052 pstate register when comparing registers values in
2053 sparc64-*-linux-gnu targets to avoid spurious differences.
2055 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2057 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2059 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2061 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2062 as type argument to gdb_compile.
2063 * gdb.base/nested-subp2.exp: Likewise.
2064 * gdb.base/nested-subp3.exp: Likewise.
2066 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2068 * lib/dwarf.exp (_note): Fix left shift of negative value.
2069 * gdb.trace/trace-condition.exp: Likewise.
2071 2015-11-13 Yao Qi <yao.qi@linaro.org>
2073 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2074 comments about d10v.
2075 (test_scalar_returns): Likewise.
2076 * gdb.base/d10v.ld: Remove.
2077 * gdb.base/overlays.exp: Remove the target triplet checking for
2079 * gdb.base/structs.exp (test_struct_returns): Remove the
2080 comments about d10v.
2081 (test_struct_calls): Likewise.
2083 2015-11-13 Yao Qi <yao.qi@linaro.org>
2085 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2086 * gdb.base/gnu_vector.c: Don't include stdio.h.
2087 (main): Don't print res and call add_some_intvecs.
2089 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2091 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2094 (func4): Use FAST_TRACEPOINT_LABEL.
2095 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2098 (thread_function): Use FAST_TRACEPOINT_LABEL.
2099 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2101 (marker): Use FAST_TRACEPOINT_LABEL.
2102 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2103 (pendfunc1): Remove.
2104 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2105 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2107 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2108 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2111 (marker): Use FAST_TRACEPOINT_LABEL.
2112 * gdb.trace/trace-common.h: New header.
2113 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2116 (marker): Use FAST_TRACEPOINT_LABEL.
2117 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2119 (thread_function): Use FAST_TRACEPOINT_LABEL.
2121 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2123 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2125 * gdb.trace/change-loc.exp: Use global pcreg definition.
2126 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2127 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2129 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2130 * gdb.trace/pending.exp: Likewise.
2131 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2132 * gdb.trace/trace-break.exp: Likewise.
2133 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2135 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2136 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2138 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2140 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2142 * gdb.ada/fin_fun_out: New testcase.
2144 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2146 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2147 value associated with DW_AT_byte_size.
2148 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2149 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2152 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2154 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2155 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2157 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2158 gdb.dwarf2/dw2-canonicalize-type.exp,
2159 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2160 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2161 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2162 provided by gdb_target_symbol_prefix_flags_asm.
2163 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2164 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2165 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2166 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2167 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2168 macros where needed). Use this macro for symbols which require
2169 the prefix provided by SYMBOL_PREFIX.
2171 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2173 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2175 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2176 representing expressions, of more than one list element.
2177 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2178 to prepend linker symbol prefix to f.
2179 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2180 table_1 and table_2.
2181 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2182 Likewise, for f and g.
2183 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2185 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2187 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2188 table_1_ptr and table_2_ptr.
2190 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 Joel Brobecker <brobecker@adacore.com>
2193 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2195 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2197 * gdb.reverse/s390-mvcle.c: New test.
2198 * gdb.reverse/s390-mvcle.exp: New file.
2199 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2201 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2203 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2205 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2207 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2209 * gdb.reverse/getresuid-reverse.exp: Likewise.
2210 * gdb.reverse/pipe-reverse.exp: Likewise.
2211 * gdb.reverse/readv-reverse.exp: Likewise.
2212 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2213 * gdb.reverse/time-reverse.exp: Likewise.
2214 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2216 2015-10-30 Yao Qi <yao.qi@linaro.org>
2218 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2219 (empty_cycle): Remove.
2220 (main): Don't call empty_cycle. Don't use watch_count_done.
2221 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2222 empty_cycle. Rewrite the code counting HW watchpoints.
2224 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2226 * gdb.reverse/fstatat-reverse.c: New test.
2227 * gdb.reverse/fstatat-reverse.exp: New file.
2228 * gdb.reverse/getresuid-reverse.c: New test.
2229 * gdb.reverse/getresuid-reverse.exp: New file.
2230 * gdb.reverse/pipe-reverse.c: New test.
2231 * gdb.reverse/pipe-reverse.exp: New file.
2232 * gdb.reverse/readv-reverse.c: New test.
2233 * gdb.reverse/readv-reverse.exp: New file.
2234 * gdb.reverse/recvmsg-reverse.c: New test.
2235 * gdb.reverse/recvmsg-reverse.exp: New file.
2236 * gdb.reverse/time-reverse.c: New test.
2237 * gdb.reverse/time-reverse.exp: New file.
2238 * gdb.reverse/waitpid-reverse.c: New test.
2239 * gdb.reverse/waitpid-reverse.exp: New file.
2241 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2243 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2245 2015-10-26 Doug Evans <dje@google.com>
2248 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2249 * gdb.dwarf2/bad-regnum.c: New file.
2250 * gdb.dwarf2/bad-regnum.exp: New file.
2252 2015-10-26 Doug Evans <dje@google.com>
2255 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2258 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2260 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2261 for a change by "Mention language in compile error message".
2263 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2266 * gdb.python/py-type.c (C::a_method): New.
2267 (C::a_const_method): New.
2268 (C::a_static_method): New.
2270 * gdb.python/py-type.exp (test_fields): Test getting fields
2271 from function and method.
2273 2015-10-21 Keven Boell <keven.boell@intel.com>
2275 * gdb.fortran/vla-alloc-assoc.exp: New file.
2276 * gdb.fortran/vla-datatypes.exp: New file.
2277 * gdb.fortran/vla-datatypes.f90: New file.
2278 * gdb.fortran/vla-history.exp: New file.
2279 * gdb.fortran/vla-ptype-sub.exp: New file.
2280 * gdb.fortran/vla-ptype.exp: New file.
2281 * gdb.fortran/vla-sizeof.exp: New file.
2282 * gdb.fortran/vla-sub.f90: New file.
2283 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2284 * gdb.fortran/vla-value-sub-finish.exp: New file.
2285 * gdb.fortran/vla-value-sub.exp: New file.
2286 * gdb.fortran/vla-value.exp: New file.
2287 * gdb.fortran/vla-ptr-info.exp: New file.
2288 * gdb.mi/mi-vla-fortran.exp: New file.
2289 * gdb.mi/vla.f90: New file.
2291 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2293 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2294 of hardwired timeout value.
2296 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2297 Pedro Alves <palves@redhat.com>
2299 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2300 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2302 2015-10-19 Josh Stone <jistone@redhat.com>
2304 * gdb.base/catch-syscall.c: Include <sched.h>.
2305 (unknown_syscall): New variable.
2306 (main): Trigger a vfork and an unknown syscall.
2307 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2308 (unknown_syscall_number): Likewise.
2309 (check_call_to_syscall): Accept an optional syscall pattern.
2310 (check_return_from_syscall): Likewise.
2311 (check_continue): Likewise.
2312 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2313 (test_catch_syscall_skipping_return): New test toggling off 'catch
2314 syscall' to step over the syscall return, then toggling back on.
2315 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2316 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2317 (do_syscall_tests): Call test_catch_syscall_without_args and
2318 test_catch_syscall_mid_vfork.
2319 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2320 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2322 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2324 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2325 print g_vE): Add new pass patterns.
2326 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2327 print various symbol names for vptr fields.
2329 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2331 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2334 2015-10-12 Yao Qi <yao.qi@linaro.org>
2336 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2338 2015-10-12 Yao Qi <yao.qi@linaro.org>
2340 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2341 is aarch64*-*-linux*.
2343 2015-10-12 Yao Qi <yao.qi@linaro.org>
2345 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2346 (can_relocate_bcond_true): ... it.
2347 (can_relocate_bcond_false): New function.
2349 (can_relocate_bl): Likewise.
2350 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2353 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2355 * gdb.base/nested-addr.c: New file.
2356 * gdb.base/nested-addr.exp: New testcase.
2358 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2360 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2361 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2362 its output. Ignore the output of "record goto begin" and instead
2363 check that GDB is replaying.
2365 2015-10-09 Pedro Alves <palves@redhat.com>
2367 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2368 (top level): Use it in the run with no args test.
2370 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2372 * gdb.dlang/properties.exp: New file.
2374 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2376 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2377 whether or not address 0x1000 is mapped on the target.
2379 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2381 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2384 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2386 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2387 instruction-history test.
2389 2015-09-28 Doug Evans <dje@google.com>
2391 * gdb.base/gcore.c (array_func): Add reference to static_array.
2393 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2395 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2398 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2400 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2401 short or char as base type.
2403 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2405 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2406 to allow any size enum.
2408 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2410 * gdb.ada/array_ptr_renaming.exp: New testcase.
2411 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2412 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2414 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2416 * gdb.trace/ftrace-lock.c: New file.
2417 * gdb.trace/ftrace-lock.exp: New file.
2419 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2421 * gdb.arch/insn-reloc.c: New file.
2422 * gdb.arch/ftrace-insn-reloc.exp: New file.
2424 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2426 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2428 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2429 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2430 * gdb.trace/range-stepping.c: Likewise.
2431 * gdb.trace/trace-break.c: Likewise.
2432 * gdb.trace/trace-mt.c (thread_function): Likewise.
2433 * gdb.trace/ftrace.c (marker): Likewise.
2434 * gdb.trace/trace-condition.c (marker): Likewise.
2435 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2436 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2439 2015-09-18 Doug Evans <xdje42@gmail.com>
2441 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2442 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2444 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2446 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2449 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2451 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2452 the pending breakpoint. Remove timeout override for "Run till
2453 MI pending breakpoint on pendfunc3 on thread 2" test.
2455 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2457 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2460 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2462 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2463 in breakpoint filename pattern.
2465 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2467 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2469 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2471 * gdb.linespec/explicit.exp: Check for readline support for
2472 tab-completion tests. Fix obvious typo.
2474 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2476 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2479 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2481 * gdb.btrace/non-stop.c: New.
2482 * gdb.btrace/non-stop.exp: New.
2484 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2485 Yao Qi <yao.qi@linaro.org>
2487 * gdb.trace/trace-condition.c: New file.
2488 * gdb.trace/trace-condition.exp: New file.
2490 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2492 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2493 for testing bytecode compilation.
2495 2015-09-16 Pedro Alves <palves@redhat.com>
2496 Sandra Loosemore <sandra@codesourcery.com>
2498 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2499 (SECONDS): Redefine.
2500 (main): Call pthread_kill and alarm early.
2501 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2503 (test): If the target can't hardware step and doesn't support
2504 displaced stepping, increase the timeout.
2506 2015-09-16 Pedro Alves <palves@redhat.com>
2508 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2509 (enable_debug): New procedures.
2510 (test): Use them. Bail out if waiting for threads fails.
2511 (top level): Bail out if a test fails.
2513 2015-09-16 Yao Qi <yao.qi@linaro.org>
2515 * gdb.asm/asm-source.exp: Set asm-arch for
2516 aarch64*-*-* target.
2517 * gdb.asm/aarch64.inc: New file.
2519 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2521 * gdb.ada/array_of_variable_length.exp: New testcase.
2522 * gdb.ada/array_of_variable_length/foo.adb: New file.
2523 * gdb.ada/array_of_variable_length/pck.adb: New file.
2524 * gdb.ada/array_of_variable_length/pck.ads: New file.
2526 2015-09-15 Doug Evans <dje@google.com>
2528 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2529 of function static local variable.
2531 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2533 * gdb.threads/tls-so_extern.exp: New test file.
2534 * gdb.threads/tls-so_extern.c: New test file.
2535 * gdb.threads/tls-so_extern_main.c: New test file.
2537 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2539 * gdb.opt/solib-intra-step-lib.c: New file.
2540 * gdb.opt/solib-intra-step-main.c: New file.
2541 * gdb.opt/solib-intra-step.exp: New file.
2543 2015-09-15 Pedro Alves <palves@redhat.com>
2545 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2546 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2548 2015-09-14 Pedro Alves <palves@redhat.com>
2550 * gdb.base/hook-stop-continue.c: Delete.
2551 * gdb.base/hook-stop-continue.exp: Delete.
2552 * gdb.base/hook-stop-frame.c: Delete.
2553 * gdb.base/hook-stop-frame.exp: Delete.
2554 * gdb.base/hook-stop.c: New file.
2555 * gdb.base/hook-stop.exp: New file.
2557 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2559 * gdb.ada/access_to_packed_array.exp: New testcase.
2560 * gdb.ada/access_to_packed_array/foo.adb: New file.
2561 * gdb.ada/access_to_packed_array/pack.adb: New file.
2562 * gdb.ada/access_to_packed_array/pack.ads: New file.
2564 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2566 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2569 2015-09-11 Don Breazeal <donb@codesourcery.com>
2571 * gdb.base/foll-exec.c: Add copyright header. Fix
2573 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2574 (do_exec_tests): Use clean_restart in place of zap_session,
2575 and for test initialization. Fix formatting issues. Use
2576 fail in place of perror.
2577 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2578 an expect statement to match an expression with output from
2579 the program under debug.
2580 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2581 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2582 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2583 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2584 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2586 2015-09-09 Doug Evans <dje@google.com>
2588 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2590 2015-09-09 Doug Evans <dje@google.com>
2592 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2594 2015-09-09 Doug Evans <dje@google.com>
2596 * gdb.base/savedregs.exp: Fix typo.
2598 2015-09-09 Pedro Alves <palves@redhat.com>
2600 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2602 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2604 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2605 command actually switches threads. Give up on remaining
2606 tests if target fails to stop at breakpoint.
2608 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2610 * gdb.ada/funcall_char.exp: New testcase.
2611 * gdb.ada/funcall_char/foo.adb: New file.
2613 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2615 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2616 expected outputs. Add two testcases for completing ambiguous
2618 * gdb.ada/complete/aux_pck.adb: New file.
2619 * gdb.ada/complete/aux_pck.ads: New file.
2620 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2621 Ambiguous_Func functions.
2622 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2623 * gdb.ada/complete/pck.adb: Likewise.
2625 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2627 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2628 failures to run the test program under GDB.
2630 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2632 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2635 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2637 * gdb.base/run-after-attach.exp: New test file.
2638 * gdb.base/run-after-attach.c: New test file.
2640 2015-08-26 Don Breazeal <donb@codesourcery.com>
2642 * gdb.base/foll-exec-2.c: New test program.
2643 * gdb.base/foll-exec-2.exp: New test.
2645 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2647 * gdb.base/nested-subp1.exp: New file.
2648 * gdb.base/nested-subp1.c: New file.
2649 * gdb.base/nested-subp2.exp: New file.
2650 * gdb.base/nested-subp2.c: New file.
2651 * gdb.base/nested-subp3.exp: New file.
2652 * gdb.base/nested-subp3.c: New file.
2654 2015-08-24 Pedro Alves <palves@redhat.com>
2656 * gdb.server/connect-without-multi-process.c: New file.
2657 * gdb.server/connect-without-multi-process.exp: New file.
2659 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2661 * gdb.opt/inline-markers.c: Make z int.
2663 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2665 * gdb.opt/inline-markers.c: Make z volatile.
2667 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2669 * gdb.opt/inline-bt.c: New volatile global z.
2670 * gdb.opt/inline-cmds.c: Likewise.
2671 * gdb.opt/inline-locals.c: Likewise.
2672 * gdb.opt/inline-markers.c: New extern global z.
2674 (inline_fn): Likewise.
2676 2015-08-24 Pedro Alves <palves@redhat.com>
2678 * config/m32r-stub.exp: Remove file.
2679 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2680 * gdb.base/call-rt-st.exp: Likewise.
2681 * gdb.base/call-strs.exp: Likewise.
2682 * gdb.base/default.exp: Remove references to h8300-*-hms and
2684 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2686 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2688 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2689 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2690 and "return" use KFAIL when GDB can not read/write the vector
2693 2015-08-21 Gary Benson <gbenson@redhat.com>
2695 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2697 2015-08-20 Pedro Alves <palves@redhat.com>
2699 * gdb.server/solib-list.exp: No longer expect an interior stop in
2702 2015-08-20 Pedro Alves <palves@redhat.com>
2704 * gdb.server/connect-stopped-target.c: New file.
2705 * gdb.server/connect-stopped-target.exp: New file.
2707 2015-08-20 Pedro Alves <palves@redhat.com>
2709 * gdb.dwarf2/comp-unit-lang.exp: New file.
2710 * gdb.dwarf2/comp-unit-lang.c: New file.
2712 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2714 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2715 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2717 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2719 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2720 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2722 2015-08-18 Doug Evans <dje@google.com>
2723 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2725 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2726 skip_python_tests. New arg prompt_regexp.
2727 (skip_python_tests): New function.
2728 * lib/mi-support.exp (mi_skip_python_tests): New function.
2729 * gdb.python/py-mi-objfile-gdb.py: New file.
2730 * gdb.python/py-mi-objfile.c: New file.
2731 * gdb.python/py-mi-objfile.exp: New file.
2733 2015-08-17 Keith Seitz <keiths@redhat.com>
2735 * gdb.linespec/explicit.exp: Move strace test from here ...
2736 * gdb.trace/strace.exp: ... to here.
2738 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2740 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2741 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2743 2015-08-14 Doug Evans <xdje42@gmail.com>
2745 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2746 inferior before selecting a new file.
2748 2015-08-14 Doug Evans <xdje42@gmail.com>
2750 * gdb.mi/mi-disassemble.exp: Update.
2751 * gdb.base/disasm-optim.S: New file.
2752 * gdb.base/disasm-optim.c: New file.
2753 * gdb.base/disasm-optim.h: New file.
2754 * gdb.base/disasm-optim.exp: New file.
2756 2015-08-14 Keith Seitz <keiths@redhat.com>
2758 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2761 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2763 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2765 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2767 * gdb.ada/fun_renaming.exp: New testcase.
2768 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2769 * gdb.ada/fun_renaming/pack.adb: New file.
2770 * gdb.ada/fun_renaming/pack.ads: New file.
2772 2015-08-12 Keith Seitz <keiths@redhat.com>
2774 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2775 gdb_get_line_number.
2777 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2779 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2780 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2781 gdb.base/dso2dso.exp: New files.
2783 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2784 Pedro Alves <palves@redhat.com>
2785 Keith Seitz <keiths@redhat.com>
2787 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2790 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2792 * gdb.base/gdbhistsize-history.exp
2793 (test_histsize_history_setting): Use save_vars.
2794 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2796 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2797 * gdb.base/readline.exp: Use save_vars.
2799 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2801 * lib/gdb.exp (save_vars): New proc.
2803 2015-08-11 Keith Seitz <keiths@redhat.com>
2805 * gdb.base/help.exp: Update help_breakpoint_text.
2807 2015-08-11 Keith Seitz <keiths@redhat.com>
2809 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2810 (at toplevel): Call test_explicit_breakpoints.
2811 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2813 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2814 breakpoint conditions, "-cond".
2816 2015-08-11 Keith Seitz <keiths@redhat.com>
2818 * gdb.linespec/3explicit.c: New file.
2819 * gdb.linespec/cpexplicit.cc: New file.
2820 * gdb.linespec/cpexplicit.exp: New file.
2821 * gdb.linespec/explicit.c: New file.
2822 * gdb.linespec/explicit.exp: New file.
2823 * gdb.linespec/explicit2.c: New file.
2824 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2825 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2826 before using in the matching pattern.
2827 Clarify that `prefix' is a regular expression.
2829 2015-08-11 Keith Seitz <keiths@redhat.com>
2831 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2833 Add tests for missing ",FMT" and ",".
2835 2015-08-10 Doug Evans <dje@google.com>
2836 Keith Seitz <keiths@redhat.com>
2839 * gdb.base/completion.exp: Add location completer tests.
2841 2015-08-07 Pedro Alves <palves@redhat.com>
2843 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2845 (top level): Run do_test with and without displaced stepping.
2847 2015-08-07 Pedro Alves <palves@redhat.com>
2849 * gdb.base/valgrind-disp-step.c: New file.
2850 * gdb.base/valgrind-disp-step.exp: New file.
2852 2015-08-07 Pedro Alves <palves@redhat.com>
2854 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2856 (main): Add alarm. Run an infinite loop instead of calling
2858 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2860 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2862 (main): Add alarm. Run an infinite loop instead of calling
2864 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2867 2015-08-07 Pedro Alves <palves@redhat.com>
2869 * gdb.base/checkpoint-ns.exp: New file.
2870 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2873 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2875 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2876 * gdb.btrace/instruction_history.exp: Update.
2877 * gdb.btrace/tsx.exp: New.
2878 * gdb.btrace/tsx.c: New.
2880 2015-08-06 Pedro Alves <palves@redhat.com>
2882 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2884 * gdb.reverse/until-precsave.exp: Bump timeouts.
2886 2015-08-06 Pedro Alves <palves@redhat.com>
2888 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2890 2015-08-06 Pedro Alves <palves@redhat.com>
2893 * gdb.threads/process-dies-while-handling-bp.c: New file.
2894 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2896 2015-08-06 Pedro Alves <palves@redhat.com>
2898 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2899 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2901 2015-08-05 Pedro Alves <palves@redhat.com>
2903 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2904 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2906 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2908 * gdb.base/bp-permanent.exp: Report test as unsupported if
2909 the target cannot stop at the permanent breakpoint.
2911 2015-08-03 Doug Evans <dje@google.com>
2913 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2916 2015-08-03 Doug Evans <dje@google.com>
2918 * Makefile.in (workers/%.worker, build-perf): New rule.
2919 (GDB_PERFTEST_MODE): New variable.
2920 (check-perf): Use it.
2921 (clean): Clean up gdb.perf parallel build subdirs.
2922 * lib/build-piece.exp: New file.
2923 * lib/gdb.exp (make_gdb_parallel_path): New function
2924 (standard_output_file, standard_temp_file): Call it.
2925 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2927 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2929 2015-08-03 Doug Evans <dje@google.com>
2931 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2932 (LOG_FILE_NAME): New global.
2933 (TextReporter.__init__): Initialize self.txt_sum.
2934 (TextReporter.report): Add support for multiple data-points.
2935 Move report to perftest.sum, put raw data in perftest.log.
2936 (TextReporter.start): Open sum and log files.
2937 (TextReporter.end): Close sum and log files.
2938 * gdb.perf/lib/perftest/testresult.py
2939 (SingleStatisticTestResult.record): Handle multiple data-points.
2941 2015-07-31 Pedro Alves <palves@redhat.com>
2943 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2944 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2945 kill_wait_spawned_process instead of explicit "kill -9".
2946 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2947 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2948 kill_wait_spawned_process.
2949 * gdb.base/attach-twice.exp: Likewise.
2950 * gdb.base/attach.exp: Likewise.
2951 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2953 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2954 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2955 kill_wait_spawned_process.
2956 * gdb.base/valgrind-infcall.exp: Likewise.
2957 * gdb.multi/multi-attach.exp: Likewise.
2958 * gdb.python/py-prompt.exp: Likewise.
2959 * gdb.python/py-sync-interp.exp: Likewise.
2960 * gdb.server/ext-attach.exp: Likewise.
2961 * gdb.threads/attach-into-signal.exp (corefunc): Use
2962 spawn_wait_for_attach, spawn_id_get_pid and
2963 kill_wait_spawned_process.
2964 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2965 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2966 spawn_id_get_pid and kill_wait_spawned_process.
2967 * gdb.threads/attach-stopped.exp (corefunc): Use
2968 spawn_wait_for_attach, spawn_id_get_pid and
2969 kill_wait_spawned_process.
2970 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2971 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2972 kill_wait_spawned_process instead of explicit "kill -9".
2973 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2974 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2975 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2976 processes. Don't map cygwin/windows pids here. Now returns a
2979 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2981 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2982 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2985 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2987 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2989 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2992 2014-05-21 Mark Wielaard <mjw@redhat.com>
2994 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2996 2015-07-30 Pedro Alves <palves@redhat.com>
2998 * linux-low.c (handle_extended_wait): Set the child's last
2999 reported status to TARGET_WAITKIND_STOPPED.
3001 2015-07-30 Pedro Alves <palves@redhat.com>
3004 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
3005 only shows inferior 1.
3007 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
3008 Pedro Alves <palves@redhat.com>
3011 * gdb.threads/fork-plus-threads.c: New file.
3012 * gdb.threads/fork-plus-threads.exp: New file.
3014 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3016 * gdb.base/batch-preserve-term-settings.exp
3017 (test_terminal_settings_preserved_after_cli_exit): Use
3020 2015-07-29 Pedro Alves <palves@redhat.com>
3021 Don Breazeal <donb@codesourcery.com>
3023 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3024 output from both inferior_spawn_id and gdb_spawn_id.
3026 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3028 * gdb.threads/attach-into-signal.exp (corefunc): Use
3029 with_test_prefix on nested loops, uniquefying the test messages.
3031 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3033 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3036 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3038 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3040 (test_terminal_settings_preserved_after_sigterm): New test.
3042 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3044 * gdb.base/batch-preserve-term-settings.exp
3045 (test_terminal_settings_preserved_after_cli_exit): New test.
3047 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3049 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3050 manipulation of saved_gdbflags.
3051 (test_terminal_settings_preserved): Remove global declaration of
3052 the unused variable pagination_prompt. Remove manipulation of
3053 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3056 2015-07-29 Pedro Alves <palves@redhat.com>
3058 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3060 2015-07-29 Pedro Alves <palves@redhat.com>
3062 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3065 2015-07-29 Pedro Alves <palves@redhat.com>
3067 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3068 (main): Call gdb_unbuffer_output.
3069 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3070 (main): Call gdb_unbuffer_output.
3071 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3072 (main): Call gdb_unbuffer_output.
3073 * gdb.base/call-strs.exp: Adjust to step over the
3074 gdb_unbuffer_output call.
3075 * gdb.base/catch-gdb-caused-signals.c: Include
3076 "../lib/unbuffer_output.c".
3077 (main): Call gdb_unbuffer_output.
3078 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3079 (main): Call gdb_unbuffer_output.
3080 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3081 (main): Call gdb_unbuffer_output.
3082 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3083 (main): Call gdb_unbuffer_output.
3084 * gdb.base/shlib-call.exp: Adjust to step over the
3085 gdb_unbuffer_output call.
3086 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3087 (main): Call gdb_unbuffer_output.
3088 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3089 (main): Call gdb_unbuffer_output.
3090 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3091 (main): Rename to ...
3093 (main): Reimplement.
3094 * gdb.base/varargs.exp: Run to test instead of to main.
3095 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3096 (main): Call gdb_unbuffer_output.
3098 2015-07-29 Pedro Alves <palves@redhat.com>
3100 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3101 factore out from mi_continue_dprintf. For call-style dprintfs,
3102 expect dprintf output out of $inferior_spawn_id.
3103 (mi_continue_dprintf): Use mi_expect_dprintf.
3104 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3105 (main): Call gdb_unbuffer_output.
3107 2015-07-29 Pedro Alves <palves@redhat.com>
3109 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3110 (default_mi_gdb_start): Set inferior_spawn_id instead of
3111 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3113 (mi_gdb_test): Always expect inferior output from both
3114 $inferior_spawn_id and $gdb_spawn_id.
3116 2015-07-29 Pedro Alves <palves@redhat.com>
3118 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3119 send_inferior and $inferior_spawn_id.
3121 2015-07-29 Pedro Alves <palves@redhat.com>
3123 * gdb.gdb/complaints.exp (test_initial_complaints)
3124 (test_serial_complaints, test_short_complaints): Use
3126 (test_empty_complaint): Handle $inferior_spawn_id !=
3129 2015-07-29 Pedro Alves <palves@redhat.com>
3131 * gdb.base/varargs.exp: Use gdb_test_stdio.
3133 2015-07-29 Pedro Alves <palves@redhat.com>
3135 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3137 2015-07-29 Pedro Alves <palves@redhat.com>
3139 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3141 2015-07-29 Pedro Alves <palves@redhat.com>
3143 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3144 parameter into two new parameters, "inf_result" and "gdb_result".
3145 Expect inferior output and gdb output from $inferior_spawn_id and
3146 $gdb_spawn_id, respectively. Adjust all callers.
3148 2015-07-29 Pedro Alves <palves@redhat.com>
3150 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3151 of gdb_test_sequence.
3153 2015-07-29 Pedro Alves <palves@redhat.com>
3155 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3156 (saw_spurious_output): Expect inferior output from
3157 $inferior_spawn_id. Use gdb_test_stdio.
3159 2015-07-29 Pedro Alves <palves@redhat.com>
3161 * gdb.base/dprintf.exp: Use standard_testfile. Change
3162 prepare_for_testing call.
3163 (srcfile): Don't set.
3164 (restart): New procedure.
3165 (test_dprintf): New procecure, use to continue over dprintfs.
3166 (test_call, test_agent): New procedures, tests moved here.
3167 Restart gdb and recreate dprintfs. Adjust expected output.
3169 2015-07-29 Pedro Alves <palves@redhat.com>
3171 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3173 2015-07-29 Pedro Alves <palves@redhat.com>
3175 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3177 2015-07-29 Pedro Alves <palves@redhat.com>
3179 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3182 2015-07-29 Pedro Alves <palves@redhat.com>
3184 * lib/gdb.exp (gdb_test_stdio): New procedure.
3186 2015-07-29 Pedro Alves <palves@redhat.com>
3188 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3190 2015-07-29 Pedro Alves <palves@redhat.com>
3192 * gdb.base/call-signal-resume.exp: Remove check for
3193 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3194 * gdb.base/unwindonsignal.exp: Likewise.
3195 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3196 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3198 2015-07-29 Pedro Alves <palves@redhat.com>
3200 * gdb.base/siginfo-addr.c (pass): New function.
3201 (handler): Call it iff si_addr is correct.
3202 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3203 Set a breakpoint at "pass" and continue to it.
3205 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3207 * gdb.python/py-objfile.exp: Make some tests have unique names.
3208 * gdb.python/py-pp-registration.exp: Likewise.
3210 2015-07-28 Pedro Alves <palves@redhat.com>
3212 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3214 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3216 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3218 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3220 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3222 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3224 * gdb.base/gdb-sigterm-2.exp: New test.
3226 2015-07-25 Doug Evans <xdje42@gmail.com>
3229 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3230 (workers/%.worker, build-perf): New rule.
3231 (GDB_PERFTEST_MODE): New variable.
3232 (check-perf): Use it.
3233 (clean): Clean up gdb.perf parallel build subdirs.
3234 * lib/build-piece.exp: New file.
3235 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3236 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3238 (standard_temp_file): Ditto.
3239 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3242 2015-07-24 Doug Evans <dje@google.com>
3244 * gdb.perf/lib/perftest/utils.py: New file.
3245 * gdb.perf/gm-hello.cc: New file.
3246 * gdb.perf/gm-pervasive-typedef.cc: New file.
3247 * gdb.perf/gm-pervasive-typedef.h: New file.
3248 * gdb.perf/gm-std.cc: New file.
3249 * gdb.perf/gm-std.h: New file.
3250 * gdb.perf/gm-use-cerr.cc: New file.
3251 * gdb.perf/gm-utils.h: New file.
3252 * gdb.perf/gmonster-null-lookup.py: New file.
3253 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3254 * gdb.perf/gmonster-print-cerr.py: New file.
3255 * gdb.perf/gmonster-ptype-string.py: New file.
3256 * gdb.perf/gmonster-runto-main.py: New file.
3257 * gdb.perf/gmonster-select-file.py: New file.
3258 * gdb.perf/gmonster1-null-lookup.exp: New file.
3259 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3260 * gdb.perf/gmonster1-print-cerr.exp: New file.
3261 * gdb.perf/gmonster1-ptype-string.exp: New file.
3262 * gdb.perf/gmonster1-runto-main.exp: New file.
3263 * gdb.perf/gmonster1-select-file.exp: New file.
3264 * gdb.perf/gmonster1.cc: New file.
3265 * gdb.perf/gmonster1.exp: New file.
3266 * gdb.perf/gmonster2-null-lookup.exp: New file.
3267 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3268 * gdb.perf/gmonster2-print-cerr.exp: New file.
3269 * gdb.perf/gmonster2-ptype-string.exp: New file.
3270 * gdb.perf/gmonster2-runto-main.exp: New file.
3271 * gdb.perf/gmonster2-select-file.exp: New file.
3272 * gdb.perf/gmonster2.cc: New file.
3273 * gdb.perf/gmonster2.exp: New file.
3275 2015-07-24 Doug Evans <dje@google.com>
3277 * gdb.perf/README: New file.
3278 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3279 * lib/gen-perf-test.exp: New file.
3281 2015-07-24 Doug Evans <dje@google.com>
3283 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3284 (PerfTest::startup): New function.
3285 (PerfTest::run): Return result of calling body.
3286 (PerfTest::assemble): Rewrite.
3287 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3288 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3289 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3290 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3291 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3293 2015-07-24 Doug Evans <dje@google.com>
3295 * lib/gdb.exp (clean_restart): Make executable optional.
3297 2015-07-24 Doug Evans <dje@google.com>
3299 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3300 compiler_info references.
3301 * gdb.cp/temargs.exp: Ditto.
3302 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3303 (get_compiler_info): Early exit if already computed. Set compiler_info
3304 to "unknown" if there was a problem.
3305 (test_compiler_info): Add function comment. Call get_compiler_info.
3307 2015-07-24 Doug Evans <dje@google.com>
3309 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3310 (workers/%.worker, build-perf): New rule.
3311 (GDB_PERFTEST_MODE): New variable.
3312 (check-perf): Use it.
3313 (clean): Clean up gdb.perf parallel build subdirs.
3314 * lib/build-piece.exp: New file.
3315 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3316 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3318 (standard_temp_file): Ditto.
3319 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3322 2015-07-24 Doug Evans <dje@google.com>
3324 * lib/future.exp (gdb_default_target_compile): New option
3326 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3329 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3331 * gdb.base/catch-syscall.exp: Call gdb_exit before
3334 2015-07-24 Pedro Alves <palves@redhat.com>
3336 * gdb.python/py-events.exp: Accept output between the stop event
3338 * gdb.python/py-evsignal.exp: Likewise.
3339 * gdb.python/py-evthreads.exp: Likewise.
3341 2015-07-24 Pedro Alves <palves@redhat.com>
3344 * gdb.threads/non-ldr-exit.c: New file.
3345 * gdb.threads/non-ldr-exit.exp: New file.
3347 2015-07-24 Yao Qi <yao.qi@linaro.org>
3349 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3352 2015-07-24 Yao Qi <yao.qi@linaro.org>
3354 * gdb.server/ext-restart.exp: New file.
3356 2015-07-24 Yao Qi <yao.qi@linaro.org>
3358 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3360 * gdb.server/ext-wrapper.exp: New file.
3362 2015-07-23 Doug Evans <dje@google.com>
3364 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3365 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3367 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3369 * gdb.ada/var_arr_typedef.exp: New testcase.
3370 * gdb.ada/var_arr_typedef/pack.adb: New file.
3371 * gdb.ada/var_arr_typedef/pack.ads: New file.
3372 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3374 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3376 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3378 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3380 * gdb.arch/i386-biarch-core.exp: Replace istarget
3381 by "complete set gnutarget". Remove expectation for the "core-file"
3384 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3386 Revert the previous commit:
3387 Tests for validate symbol file using build-id.
3389 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3391 Tests for validate symbol file using build-id.
3392 * gdb.base/solib-mismatch-lib.c: New file.
3393 * gdb.base/solib-mismatch-libmod.c: New file.
3394 * gdb.base/solib-mismatch.c: New file.
3395 * gdb.base/solib-mismatch.exp: New file.
3397 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3399 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3401 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3402 * gdb.base/siginfo.exp: Likewise.
3403 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3405 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3407 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3409 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3411 * gdb.trace/range-stepping.exp: Check that the target supports
3414 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3416 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3418 2015-07-14 Pedro Alves <palves@redhat.com>
3420 * gdb.base/killed-outside.exp: New file.
3421 * gdb.base/killed-outside.c: New file.
3423 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3425 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3427 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3429 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3431 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3432 infcall tests instead of setting up for KFAIL.
3434 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3436 * gdb.btrace/record_goto-step.exp: New.
3438 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3441 * gdb.compile/compile.c (struct struct_type): Add volatile to
3443 * gdb.compile/compile.exp
3444 (compile code struct_object.selffield = &struct_object): Skip further
3445 struct_object tests if this one xfails.
3447 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3450 * gdb.trace/ax.exp: Add test.
3452 2015-07-07 Yao Qi <yao.qi@linaro.org>
3454 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3455 instead of istarget "aarch64*-*-*".
3456 * gdb.arch/aarch64-fp.exp: Likewise.
3457 * gdb.base/float.exp: Likewise.
3458 * gdb.reverse/aarch64.exp: Likewise.
3459 * lib/gdb.exp (is_aarch64_target): New proc.
3461 2015-07-07 Yao Qi <yao.qi@linaro.org>
3463 * lib/gdb.exp (is_aarch32_target): New proc.
3464 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3465 instead of "istarget "arm*-*-*"".
3466 * gdb.arch/arm-disp-step.exp: Likewise.
3467 * gdb.arch/thumb-bx-pc.exp: Likewise.
3468 * gdb.arch/thumb-prologue.exp: Likewise.
3469 * gdb.arch/thumb-singlestep.exp: Likewise.
3470 * gdb.base/disp-step-syscall.exp: Likewise.
3471 * gdb.base/float.exp: Likewise.
3473 2015-07-07 Yao Qi <yao.qi@linaro.org>
3475 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3476 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3478 2015-07-07 Yao Qi <yao.qi@linaro.org>
3480 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3481 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3483 * gdb.multi/multi-arch.exp: Likewise.
3485 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3487 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3490 2015-07-07 Yao Qi <yao.qi@linaro.org>
3492 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3494 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3496 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3497 '[' and ']' characters.
3499 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3501 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3503 2015-06-29 Pedro Alves <palves@redhat.com>
3506 * gdb.threads/hand-call-new-thread.c: New file.
3507 * gdb.threads/hand-call-new-thread.c: New file.
3509 2015-06-26 Keith Seitz <keiths@redhat.com>
3510 Doug Evans <dje@google.com>
3513 * gdb.cp/var-tag-2.cc: New file.
3514 * gdb.cp/var-tag-3.cc: New file.
3515 * gdb.cp/var-tag-4.cc: New file.
3516 * gdb.cp/var-tag.cc: New file.
3517 * gdb.cp/var-tag.exp: New file.
3519 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3521 * gdb.base/history-duplicates.exp: New test.
3523 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3525 * gdb.base/completion.exp: Test the completion of the "focus"
3528 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3530 * gdb.arch/amd64-prologue-skip.S: New file.
3531 * gdb.arch/amd64-prologue-skip.exp: New file.
3533 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3535 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3536 is_address_zero_readable check.
3538 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3540 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3541 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3543 2015-06-24 Yao Qi <yao.qi@linaro.org>
3545 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3548 2015-06-24 Yao Qi <yao.qi@linaro.org>
3550 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3551 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3552 * gdb.base/siginfo-thread.exp: Likewise.
3554 2015-06-22 Yao Qi <yao.qi@linaro.org>
3556 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3558 2015-06-22 Yao Qi <yao.qi@linaro.org>
3560 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3562 (skip_hw_watchpoint_tests): Likewise.
3564 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3566 * gdb.base/gdbinit-history.exp: Test the interaction between
3567 setting GDBHISTSIZE and setting the history size via .gdbinit.
3569 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3572 * gdb.base/gdbhistsize-history.exp: New test.
3574 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3576 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3578 * gdb.base/readline.exp: Likewise.
3580 2015-06-17 Yao Qi <yao.qi@linaro.org>
3582 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3585 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3587 * gdb.base/gdbinit-history.exp: Add test case to check that
3588 an unlimited history file does not get truncated on exit.
3590 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3592 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3593 (VECTOR): New macro. Use it...
3594 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3595 ...for these typedefs.
3596 (int8, char1, int1, double1): New typedefs.
3597 (struct just_int2, struct two_int2): New structures.
3598 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3599 (add_structvecs, add_singlevecs): New functions.
3600 (main): Call add_some_intvecs twice.
3601 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3602 the compile and exit upon failure. Try compiling for the "native"
3603 architecture. Test inferior function calls with vector arguments
3604 and vector return value handling with "finish" and "return".
3606 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3608 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3609 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3611 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3613 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3615 PR breakpoints/16465
3616 * gdb.mi/mi-dprintf-pending.c: New file.
3617 * gdb.mi/mi-dprintf-pending.exp: New test.
3618 * gdb.mi/mi-dprintf-pendshr.c: New file.
3620 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3621 Mircea Gherzan <mircea.gherzan@intel.com>
3623 * gdb.arch/i386-mpx-map.c: New file.
3624 * gdb.arch/i386-mpx-map.exp: New File.
3626 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3628 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3629 * gdb.arch/i386-mpx.exp: Indentation fixed.
3631 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3633 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3634 function and improved indentation.
3635 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3636 gdb_test_multiple. Added additional tests to skip the test.
3638 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3640 * gdb.arch/i386-avx512.c: Change path in include file.
3641 * gdb.arch/i386-avx512.exp: Change include dir path
3643 * gdb.arch/i386-mpx.c: Change path in include file.
3644 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3647 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3649 * gdb.compile/compile-print.exp (compile print *vararray@3)
3650 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3652 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3654 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3655 (do not keep jit in memory): ... this.
3656 (expect 5): Change it to ...
3657 (expect no 5): ... this.
3659 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3662 * gdb.mi/mi-detach.exp: New file.
3664 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3667 * gdb.arch/amd64-tailcall-self.S: New file.
3668 * gdb.arch/amd64-tailcall-self.c: New file.
3669 * gdb.arch/amd64-tailcall-self.exp: New file.
3671 2015-05-28 Don Breazeal <donb@codesourcery.com>
3673 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3674 tests for remote targets by checking is_target_gdbserver.
3676 2015-05-27 Doug Evans <dje@google.com>
3678 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3679 * gdb.dwarf2/opaque-type-lookup.c: New file.
3680 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3682 2015-05-26 Doug Evans <dje@google.com>
3684 * gdb.cp/iostream.cc: New file.
3685 * gdb.cp/iostream.exp: New file.
3687 2015-05-26 Doug Evans <dje@google.com>
3689 * gdb.dwarf2/dw2-op-call.exp: Update.
3690 * gdb.dwarf2/dw4-sig-types.exp: Update.
3691 * gdb.dwarf2/implptr.exp: Update.
3692 * gdb.mi/mi-cmd-param-changed.exp: Update.
3694 2015-05-26 Doug Evans <dje@google.com>
3696 * gdb.python/py-lazy-string.c: New file.
3697 * gdb.python/py-lazy-string.exp: New file.
3698 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3699 (main): Update. Add estring3.
3700 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3701 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3703 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3704 Yao Qi <yao.qi@linaro.org>
3706 * gdb.reverse/aarch64.c: New.
3707 * gdb.reverse/aarch64.exp: New.
3709 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3711 * lib/gdb.exp (supports_process_record): Return true for
3713 (supports_reverse): Likewise.
3715 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3717 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3718 Use with_test_prefix.
3720 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3722 * gdb.base/completion.exp: Add test for completion of layout
3725 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3727 * lib/gdb.exp (skip_tui_tests): New proc.
3728 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3730 2015-05-19 Pedro Alves <palves@redhat.com>
3732 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3733 Save the whole env array instead of just HOME. Unset HISTSIZE in
3734 the environment while testing. Restore whole environment
3737 2015-05-16 Doug Evans <xdje42@gmail.com>
3739 * gdb.guile/scm-ports.c: New file.
3740 * gdb.guile/scm-ports.exp: Add memory port tests.
3742 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3744 * gdb.compile/compile-print.c: New file.
3745 * gdb.compile/compile-print.exp: New file.
3747 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3749 * gdb.compile/compile-ops.exp: Cast param to void.
3750 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3751 (compile code struct_object.selffield = &struct_object): Add xfail.
3753 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3755 * gdb.ada/arr_enum_with_gap: New testcase.
3757 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3759 * gdb.ada/byte_packed_arr: New testcase.
3761 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3763 * gdb.ada/pckd_neg: New testcase.
3765 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3768 * gdb.base/gdbinit-history.exp: New test.
3769 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3770 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3772 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3774 * gdb.python/py-xmethods.cc: Enhance test case.
3775 * gdb.python/py-xmethods.exp: New tests.
3776 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3778 (B_indexoper): Likewise.
3779 (global_dm_list) : Add new xmethod worker functions.
3781 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3783 * gdb.base/coredump-filter.exp: Correctly unset
3784 "coredump_var_addr" array.
3786 2015-05-08 Pedro Alves <palves@redhat.com>
3788 * gdb.server/non-existing-program.exp: Unset spawn_id.
3790 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3793 * gdb.python/py-xmethods.exp: Add tests.
3795 2015-05-08 Yao Qi <yao.qi@linaro.org>
3798 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3799 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3800 function set_coredump_filter, and remove remote_exec call.
3801 Remove argument ipid. Callers update.
3802 (top level): Don't get inferior's PID.
3804 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3806 * gdb.base/watch_thread_num.exp: Skip test on targets without
3809 2015-05-06 Pedro Alves <palves@redhat.com>
3812 * gdb.server/non-existing-program.exp: New file.
3814 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3816 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3818 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3820 * gdb.ada/out_of_line_in_inlined: New testcase.
3822 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3824 * gdb.ada/var_rec_arr: New testcase.
3826 2015-04-30 Yao Qi <yao.qi@linaro.org>
3828 * gdb.base/break-idempotent.exp: If
3829 skip_hw_watchpoint_multi_tests returns true, skip the tests
3830 on "rwatch" and "awatch".
3832 2015-04-30 Yao Qi <yao.qi@linaro.org>
3834 * gdb.base/relativedebug.exp: Invoke gdb command
3835 "info sharedlibrary", and if libc.so doesn't have debug info,
3838 2015-04-29 Doug Evans <dje@google.com>
3840 * gdb.python/py-xmethods.exp: Add ptype tests.
3841 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3842 get_result_type method.
3844 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3846 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3847 the target does not support hardware watchpoints.
3849 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3851 * gdb.base/break-always.exp: Abort testing if writing to memory
3854 2015-04-28 Doug Evans <dje@google.com>
3856 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3857 * gdb.python/py-pp-registration.exp: ... here. New file.
3858 * gdb.python/py-pp-registration.c: New file.
3859 * gdb.python/py-pp-registration.py: New file.
3861 2015-04-28 Doug Evans <dje@google.com>
3863 * gdb.python/py-bad-printers.c: New file.
3864 * gdb.python/py-bad-printers.py: New file.
3865 * gdb.python/py-bad-printers.exp: New file.
3867 2015-04-28 Sasha Smundak <asmundak@google.com>
3869 * gdb.python/py-type.exp: New test.
3871 2015-04-28 Andy Wingo <wingo@igalia.com>
3873 * gdb.python/py-parameter.exp:
3874 * gdb.guile/scm-parameter.exp: Escape the path that we are
3875 matching against, as it might contain characters that are special
3876 to regular expressions.
3878 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3880 * gdb.ada/rec_comp: New testcase.
3882 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3884 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3887 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3889 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3890 new tests for verilog output.
3892 2015-04-24 Yao Qi <yao.qi@linaro.org>
3894 * boards/remote-gdbserver-on-localhost.exp: New file.
3896 2015-04-23 Pedro Alves <palves@redhat.com>
3898 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3899 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3900 "end of file", remove $inferior_spawn_id from the indirect list.
3902 2015-04-23 Pedro Alves <palves@redhat.com>
3904 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3906 2015-04-23 Pedro Alves <palves@redhat.com>
3908 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3909 on $any_spawn_id instead of only on $gdb_spawn_id.
3911 2015-04-21 Pierre Muller <muller@sourceware.org>
3914 * lib/pascal.exp (gpc_compile): Add new option "class".
3915 (fpc_compile): Likewise.
3916 * gdb.pascal/case-insensitive-symbols.pas: New file.
3917 * gdb.pascal/case-insensitive-symbols.exp: New file.
3919 2015-04-20 Gary Benson <gbenson@redhat.com>
3921 * gdb.base/attach.exp: Fix three extended remote failures.
3923 2015-04-17 Gary Benson <gbenson@redhat.com>
3925 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3926 the main executable over the remote protocol.
3928 2015-04-16 Pedro Alves <palves@redhat.com>
3930 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3931 a new gdbserver if gdbserver_reconnect_p is set.
3933 2015-04-16 Pedro Alves <palves@redhat.com>
3935 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3936 is set, don't exit gdbserver.
3938 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3940 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3941 appropriate .insn, such that an older assembler can be used.
3942 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3943 the z/Architecture instruction set on 31-bit targets as well.
3945 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3947 * gdb.go/handcall.exp: Remove all logic related to the first
3948 breakpoint and rely on go_runto_main instead.
3949 * gdb.go/strings.exp: Likewise.
3950 * gdb.go/unsafe.exp: Likewise.
3951 * gdb.go/hello.exp: Likewise. Also rename the remaining
3952 breakpoint marker to "breakpoint 1".
3953 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3954 * gdb.go/strings.go: Likewise.
3955 * gdb.go/unsafe.go: Likewise.
3956 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3957 "set breakpoint 2 here" and rename the remaining breakpoint marker
3960 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3962 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3963 if itertools.imap is not present.
3964 * gdb.python/py-objfile.exp: Add parentheses.
3965 * gdb.python/py-type.exp: Same.
3966 * gdb.python/py-unwind-maint.py: Same.
3968 2015-04-15 Yao Qi <yao.qi@linaro.org>
3970 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3971 of ":$ptr_size" and set its form explicitly.
3973 2015-04-15 Pedro Alves <palves@redhat.com>
3974 Yao Qi <yao.qi@linaro.org>
3976 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3977 timeout by factor of 4.
3978 (test_regular_watch): Likewise.
3979 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3980 * gdb.reverse/sigall-reverse.exp: Likewise.
3981 * gdb.reverse/until-precsave.exp: Likewise.
3982 * lib/gdb.exp (with_timeout_factor): New proc.
3983 (gdb_expect): Move some code to ...
3984 (get_largest_timeout): ... here. New procedure.
3986 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3988 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3990 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3992 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3993 to write to the .text section.
3995 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3997 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3998 Handle the case of targets that do not provide PID information.
4000 2015-04-13 Yao Qi <yao.qi@linaro.org>
4002 * lib/gdbserver-support.exp (gdb_exit): Catch exception
4003 and use expect instead of gdb_expect.
4005 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
4007 * gdb.base/coredump-filter.exp: Rename variable "addr" to
4008 "coredump_var_addr" to avoid naming conflict with other testcases.
4010 2015-04-10 Pedro Alves <palves@redhat.com>
4012 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
4013 gdb_test_sequence and gdb_assert.
4015 2015-04-10 Pedro Alves <palves@redhat.com>
4017 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
4018 test messages that don't include the breakpoint address.
4020 2015-04-10 Yao Qi <yao.qi@linaro.org>
4022 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4023 false for some offset and width combinations which aren't
4024 supported by linux kernel.
4026 2015-04-10 Pedro Alves <palves@redhat.com>
4028 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4029 procedure, factored out from ...
4030 (top level): ... here. Add "set displaced-stepping" testing axis.
4031 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4032 parameter "displaced". Use it.
4033 (top level): Use foreach and add "set displaced-stepping" testing
4036 2015-04-10 Pedro Alves <palves@redhat.com>
4038 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4040 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4041 both the address of the instruction that triggers the watchpoint
4042 and the address of the instruction immediately after, and use
4043 those addresses for the test. Fix comment.
4045 2015-04-10 Pedro Alves <palves@redhat.com>
4047 * gdb.base/sigstep.exp (breakpoint_to_handler)
4048 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4049 Test "backtrace" in handler.
4050 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4051 (top level): Add new "displaced" test axis to
4052 breakpoint_to_handler, breakpoint_to_handler_entry and
4053 breakpoint_over_handler.
4055 2015-04-10 Pedro Alves <palves@redhat.com>
4058 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4060 2015-04-10 Yao Qi <yao.qi@linaro.org>
4062 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4063 (test_add_rn_pc): New function.
4064 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4065 (top level): Invoke test_add_rn_pc.
4067 2015-04-10 Pedro Alves <palves@redhat.com>
4070 * gdb.base/step-over-no-symbols.exp: New file.
4072 2015-04-09 Andy Wingo <wingo@igalia.com>
4074 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4075 after the Python tests.
4077 2015-04-08 Keith Seitz <keiths@redhat.com>
4080 * gdb.python/py-completion.exp: New tests for completion.
4081 * gdb.python/py-completion.py (CompleteLimit1): New class.
4082 (CompleteLimit2): Likewise.
4083 (CompleteLimit3): Likewise.
4084 (CompleteLimit4): Likewise.
4085 (CompleteLimit5): Likewise.
4086 (CompleteLimit6): Likewise.
4087 (CompleteLimit7): Likewise.
4089 2015-04-08 Pedro Alves <palves@redhat.com>
4093 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4095 (main): Install it as SIGUSR1 handler.
4096 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4097 parameter. Always use "setup" as prefix. Toggle "set
4098 displaced-stepping" off/on depending on global. Don't switch to
4100 (top level): Add displaced stepping "off/on" test axis. Update
4101 "setup" calls. Wrap each subtest with with_test_prefix. Test
4102 continuing with a queued signal in each thread.
4104 2015-04-08 Pedro Alves <palves@redhat.com>
4106 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4107 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4108 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4109 Return early if running to main fails.
4110 * gdb.trace/while-stepping.exp: Likewise.
4112 2015-04-07 Pedro Alves <palves@redhat.com>
4114 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4115 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4116 interact with inferior program.
4118 2015-04-07 Pedro Alves <palves@redhat.com>
4120 * lib/gdb.exp (inferior_spawn_id): New global.
4121 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4122 spawn id after processing the user code.
4123 (default_gdb_start): Set inferior_spawn_id.
4124 (send_inferior): New procedure.
4125 * lib/gdbserver-support.exp (gdbserver_start): Set
4127 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4129 2015-04-07 Pedro Alves <palves@redhat.com>
4131 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4132 * lib/gdbserver-support.exp (gdbserver_start): Make
4133 $server_spawn_id global.
4134 (gdbserver_start): Don't wait for gdbserver's spawn id with
4136 (close_gdbserver): New procedure.
4137 (gdb_exit): Rename the default version and reimplement.
4139 2015-04-07 Pedro Alves <palves@redhat.com>
4141 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4142 append the substituted item, not the original item.
4144 2015-04-07 Pedro Alves <palves@redhat.com>
4146 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4149 2015-04-07 Pedro Alves <palves@redhat.com>
4151 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4152 output appearing once only.
4154 2015-04-07 Pedro Alves <palves@redhat.com>
4156 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4157 that doesn't expect anything. Return early if running to main
4160 2015-04-07 Yao Qi <yao.qi@linaro.org>
4162 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4163 (child_function): Call alarm.
4164 (main): Move call to alarm into the loop.
4165 * gdb.threads/non-stop-fair-events.exp: Build program with
4168 2015-04-06 Doug Evans <xdje42@gmail.com>
4170 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4171 Fix dest parameter to board_info.
4172 (fpc_compile): Ditto.
4173 (gdb_compile_pascal): Rename dest arg to destfile.
4175 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4177 * gdb.ada/funcall_ref.exp: New file.
4178 * gdb.ada/funcall_ref/foo.adb: New file.
4180 2015-04-02 Yao Qi <yao.qi@linaro.org>
4182 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4185 2015-04-02 Gary Benson <gbenson@redhat.com>
4187 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4189 2015-04-01 Sasha Smundak <asmundak@google.com>
4191 * gdb.python/py-unwind-maint.c: New file.
4192 * gdb.python/py-unwind-maint.exp: New test.
4193 * gdb.python/py-unwind-maint.py: New file.
4194 * gdb.python/py-unwind.c: New file.
4195 * gdb.python/py-unwind.exp: New test.
4196 * gdb.python/py-unwind.py: New test.
4198 2015-04-01 Pedro Alves <palves@redhat.com>
4200 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4201 to fail instead of non-existent $test.
4203 2015-04-01 Pedro Alves <palves@redhat.com>
4205 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4206 GDBFLAGS if not empty.
4208 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4210 * gdb.ada/complete.exp: Remove "multi_line".
4211 * gdb.ada/info_exc.exp: Remove "multi_line".
4212 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4213 * gdb.ada/ptype_field.exp: Remove "multi_line".
4214 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4215 * gdb.ada/tagged.exp: Remove "multi_line".
4216 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4218 * gdb.btrace/delta.exp: Likewise.
4219 * gdb.btrace/exception.exp: Likewise.
4220 * gdb.btrace/function_call_history.exp: Likewise.
4221 * gdb.btrace/instruction_history.exp: Likewise.
4222 * gdb.btrace/nohist.exp: Likewise.
4223 * gdb.btrace/record_goto.exp: Likewise.
4224 * gdb.btrace/segv.exp: Likewise.
4225 * gdb.btrace/stepi.exp: Likewise.
4226 * gdb.btrace/tailcall.exp: Likewise.
4227 * gdb.btrace/unknown_functions.exp: Likewise.
4228 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4229 * lib/gdb.exp: Add the "multi_line" helper.
4231 2015-04-01 Pedro Alves <palves@redhat.com>
4233 * gdb.threads/tid-reuse.c: New file.
4234 * gdb.threads/tid-reuse.exp: New file.
4236 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4239 * gdb.base/coredump-filter.c: New file.
4240 * gdb.base/coredump-filter.exp: Likewise.
4242 2015-03-27 Petr Machata <pmachata@redhat.com>
4244 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4245 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4246 (Dwarf::assemble): Initialize them.
4247 (Dwarf::lines): New function.
4249 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4251 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4252 SYMBOL_PREFIX for x86_64-*-cygwin.
4254 2015-03-26 Andy Wingo <wingo@igalia.com>
4257 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4258 const_value but not a location.
4259 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4260 location defined in non-main CUs are visible.
4262 2015-03-26 Yao Qi <yao.qi@linaro.org>
4265 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4266 Add a line number entry for the same line.
4267 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4268 Add a line number entry for the same line.
4270 2015-03-26 Yao Qi <yao.qi@linaro.org>
4272 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4274 (func): Likewise. Add .Lfunc_1 label.
4276 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4281 2015-03-26 Yao Qi <yao.qi@linaro.org>
4283 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4284 Call gdb_compile instead to compile each .s files without debug
4287 2015-03-26 Yao Qi <yao.qi@linaro.org>
4289 * gdb.base/savedregs.exp (process_saved_regs): Make
4290 "Saved registers:" optional in the pattern.
4292 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4294 * gdb.btrace/next.exp: Merged into step.exp.
4295 * gdb.btrace/finish.exp: Merged into step.exp.
4296 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4297 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4298 "record goto" and checking the exact replay position.
4299 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4300 check for "Recording format" in "info record" output.
4301 * gdb.btrace/record_goto.exp: Choose test file based on target.
4302 * gdb.btrace/x86-record_goto.S: Renamed into ...
4303 * gdb.btrace/x86_64-record_goto.S: ... this.
4304 * gdb.btrace/i686-record_goto.S: New.
4305 * gdb.btrace/x86-tailcall.S: Renamed into ...
4306 * gdb.btrace/x86_64-tailcall.S: ... this.
4307 * gdb.btrace/i686-tailcall.S: New.
4308 * gdb.btrace/x86-tailcall.c: Renamed into ...
4309 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4310 separate statements. Update test.
4311 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4312 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4313 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4314 * gdb.btrace/tailcall.exp: Choose test file based on target.
4315 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4317 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4319 * gdb.btrace/exception.exp: Increase BTS buffer size.
4321 2015-03-24 Pedro Alves <palves@redhat.com>
4323 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4325 2015-03-24 Pedro Alves <palves@redhat.com>
4327 * gdb.threads/schedlock.exp (test_step): No longer expect that
4328 "set scheduler-locking step" with "next" over a function call runs
4331 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4333 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4335 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4337 PR breakpoints/16466
4338 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4339 * gdb.mi/mi-pending.c (thread_func): New function.
4340 (int main): Add threading support required.
4341 * gdb.mi/mi-pending.exp: Add tests for this issue.
4342 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4343 (pendfunc2): Remove stdio dependency.
4344 * gdb.mi/mi-pendshr2.c: New file.
4346 2015-03-23 Keith Seitz <keiths@redhat.com>
4348 * gdb.linespec/keywords.c: New file.
4349 * gdb.linespec/keywords.exp: New file.
4351 2015-03-23 Keith Seitz <keiths@redhat.com>
4354 * gdb.dwarf2/staticvirtual.exp: New test.
4356 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4358 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4359 * README: Remove HP-UX and gdb.hp.
4361 * configure: Regenerate.
4362 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4363 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4364 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4365 gdb.hp/gdb.defects/Makefile.
4366 * gdb.hp/Makefile.in: File deleted.
4367 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4368 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4369 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4370 * gdb.hp/gdb.aCC/run.c: File deleted.
4371 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4372 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4373 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4374 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4375 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4376 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4377 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4378 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4379 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4380 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4381 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4382 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4383 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4384 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4385 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4386 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4387 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4388 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4389 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4390 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4391 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4392 * gdb.hp/gdb.compat/average.c: File deleted.
4393 * gdb.hp/gdb.compat/sum.c: File deleted.
4394 * gdb.hp/gdb.compat/xdb.c: File deleted.
4395 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4396 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4397 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4398 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4399 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4400 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4401 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4402 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4403 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4404 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4405 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4406 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4407 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4408 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4409 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4410 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4411 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4412 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4413 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4414 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4415 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4416 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4417 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4418 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4419 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4420 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4421 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4422 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4423 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4424 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4425 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4426 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4427 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4428 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4429 * gdb.hp/tools/odump: File deleted.
4431 2015-03-19 Pedro Alves <palves@redhat.com>
4433 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4434 (saw_thread_3): New globals.
4435 (top level): Increment them when an event for the corresponding
4437 (no thread starvation): New test.
4439 2015-03-19 Pedro Alves <palves@redhat.com>
4441 * gdb.threads/continue-pending-status.c: New file.
4442 * gdb.threads/continue-pending-status.exp: New file.
4444 2015-03-18 Pedro Alves <palves@redhat.com>
4446 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4447 Use gdb_is_target_remote instead of is_remote. Use
4448 gdb_test_multiple instead of gdb_expect. Exit early if
4449 gdb_test_multiple hits its internal matches. Tighten stepi tests
4450 expected output. Fail on exit with any signal, instead of just
4453 2015-03-18 Yao Qi <yao.qi@linaro.org>
4456 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4458 * gdb.base/catch-syscall.exp: Don't skip it on
4459 aarch64*-*-linux* target. Remove elements in all_syscalls.
4460 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4462 (setup_all_syscalls): New proc.
4464 2015-03-16 Yao Qi <yao.qi@linaro.org>
4466 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4467 (top level): Skip tests if valid_addr_p returns false for
4470 2015-03-11 Andy Wingo <wingo@igalia.com>
4472 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4474 2015-03-11 Yao Qi <yao.qi@linaro.org>
4476 * gdb.base/catch-syscall.exp: Fix typo in comments.
4478 2015-03-11 Yao Qi <yao.qi@linaro.org>
4480 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4482 2015-03-09 Pedro Alves <palves@redhat.com>
4484 * dg-extract-results.py: Delete.
4486 2015-03-09 Pedro Alves <palves@redhat.com>
4488 Merge dg-extract-results.sh from GCC upstream (r218843).
4490 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4491 * dg-extract-results.sh: Use --text with grep to avoid issues with
4492 binary files. Fall back to cat -v, if that doesn't work.
4494 2015-03-05 Pedro Alves <palves@redhat.com>
4496 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4498 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4500 * lib/mi-support.exp (mi_expect_interrupt): Accept
4501 alternative event for when in all-stop mode.
4503 2015-03-04 Pedro Alves <palves@redhat.com>
4505 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4507 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4509 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4511 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4513 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4514 regexps for GDB's current line display, accept a hex address
4515 preceding the line number.
4517 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4519 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4520 the 'arch1' variable for "s390*-linux*" targets.
4522 2015-03-04 Pedro Alves <palves@redhat.com>
4524 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4525 (main): Pass missing retval argument to pthread_join call.
4527 2015-03-02 Pedro Alves <palves@redhat.com>
4529 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4530 (top level): Call do_test with non-stop as well.
4532 2015-03-02 Pedro Alves <palves@redhat.com>
4534 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4537 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4539 * gdb.arch/s390-vregs.exp: New test.
4540 * gdb.arch/s390-vregs.S: New file.
4542 2015-02-27 Pedro Alves <palves@redhat.com>
4544 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4545 call to catch_command_errors.
4546 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4547 catch_command_errors.
4549 2015-02-27 Pedro Alves <palves@redhat.com>
4551 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4552 "true" for boolean result.
4553 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4556 2015-02-27 Pedro Alves <palves@redhat.com>
4558 * lib/unbuffer_output.c: New file.
4559 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4560 (main): Call gdb_unbuffer_output.
4562 2015-02-27 Yao Qi <yao.qi@linaro.org>
4564 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4567 2015-02-26 Doug Evans <dje@google.com>
4569 * gdb.cp/class2.cc (Dbase, D): New classes.
4570 (main): New local delta.
4571 * gdb.cp/class2.exp: Test printing delta.
4572 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4573 (dynbar): New global.
4574 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4576 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4578 * gdb.compile/compile-ifunc.c: New file.
4579 * gdb.compile/compile-ifunc.exp: New file.
4581 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4583 * gdb.base/structs.exp: Check for correct struct on finish.
4585 2015-02-26 Yao Qi <yao.qi@linaro.org>
4587 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4590 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4592 * gdb.arch/cordic.ko.bz2: New file.
4593 * gdb.arch/cordic.ko.debug.bz2: New file.
4594 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4596 2015-02-25 Yao Qi <yao.qi@linaro.org>
4598 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4599 aarch64*-*-* target.
4601 2015-02-23 Pedro Alves <palves@redhat.com>
4603 * lib/gdb.exp (delete_breakpoints): Rewrite using
4606 2015-02-23 Pedro Alves <palves@redhat.com>
4608 * gdb.base/info-os.c: Include stdlib.h.
4610 2015-02-22 Doug Evans <xdje42@gmail.com>
4613 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4614 is read after symbols have been re-read.
4615 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4616 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4618 2015-02-21 Doug Evans <dje@google.com>
4620 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4622 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4625 * gdb.arch/i386-biarch-core.core.bz2: New file.
4626 * gdb.arch/i386-biarch-core.exp: New file.
4628 2015-02-21 Pedro Alves <palves@redhat.com>
4630 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4633 2015-02-20 Pedro Alves <palves@redhat.com>
4635 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4638 2015-02-20 Pedro Alves <palves@redhat.com>
4640 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4642 2015-02-20 Pedro Alves <palves@redhat.com>
4644 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4645 clean_restart before gdb_target_supports_trace.
4647 2015-02-20 Pedro Alves <palves@redhat.com>
4650 * gdb.threads/clone-thread_db.c: New file.
4651 * gdb.threads/clone-thread_db.exp: New file.
4653 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4655 PR breakpoints/16812
4656 * gdb.base/catch-gdb-caused-signals.c: New file.
4657 * gdb.base/catch-gdb-caused-signals.exp: New file.
4659 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4661 * configure: Regenerated.
4662 * configure.ac: Use GDB_AC_TRANSFORM.
4663 * aclocal.m4: sinclude ../transform.m4.
4665 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4667 * lib/dtrace.exp: New file.
4668 * gdb.base/dtrace-probe.exp: Likewise.
4669 * gdb.base/dtrace-probe.d: Likewise.
4670 * gdb.base/dtrace-probe.c: Likewise.
4671 * lib/pdtrace.in: Likewise.
4672 * configure.ac: Output variables with the transformed names of
4673 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4674 * configure: Regenerated.
4676 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4678 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4679 expected message when trying to access $_probe_* convenience
4680 variables while not on a probe.
4682 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4684 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4686 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4688 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4689 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4691 2015-02-10 Doug Evans <xdje42@gmail.com>
4693 * lib/gdb.exp (gdb_load): Always return a result.
4695 2015-02-10 Pedro Alves <palves@redhat.com>
4697 * gdb.threads/signal-sigtrap.c: New file.
4698 * gdb.threads/signal-sigtrap.exp: New file.
4700 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4702 * gdb.trace/no-attach-trace.c: New file.
4703 * gdb.trace/no-attach-trace.exp: New file.
4705 2015-02-09 Mark Wielaard <mjw@redhat.com>
4707 * gdb.dwarf2/atomic.c: New file.
4708 * gdb.dwarf2/atomic-type.exp: Likewise.
4710 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4712 * gdb.btrace/buffer-size.exp: Update "info record" output.
4713 * gdb.btrace/delta.exp: Update "info record" output.
4714 * gdb.btrace/enable.exp: Update "info record" output.
4715 * gdb.btrace/finish.exp: Update "info record" output.
4716 * gdb.btrace/instruction_history.exp: Update "info record" output.
4717 * gdb.btrace/next.exp: Update "info record" output.
4718 * gdb.btrace/nexti.exp: Update "info record" output.
4719 * gdb.btrace/step.exp: Update "info record" output.
4720 * gdb.btrace/stepi.exp: Update "info record" output.
4721 * gdb.btrace/nohist.exp: Update "info record" output.
4723 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4725 * gdb.btrace/buffer-size: New.
4727 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4729 * gdb.btrace/delta.exp: Update "info record" output.
4730 * gdb.btrace/enable.exp: Update "info record" output.
4731 * gdb.btrace/finish.exp: Update "info record" output.
4732 * gdb.btrace/instruction_history.exp: Update "info record" output.
4733 * gdb.btrace/next.exp: Update "info record" output.
4734 * gdb.btrace/nexti.exp: Update "info record" output.
4735 * gdb.btrace/step.exp: Update "info record" output.
4736 * gdb.btrace/stepi.exp: Update "info record" output.
4737 * gdb.btrace/nohist.exp: Update "info record" output.
4739 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4742 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4744 2015-02-06 Pedro Alves <palves@redhat.com>
4746 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4748 (seconds_left, again): New globals.
4749 (main): Wait seconds_left in a 1-second sleep loop instead of
4750 sleeping 180 seconds. If 'again' is set, reset the seconds
4752 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4753 'again' in the inferior before detaching. Print the seconds left.
4754 (options): New global.
4755 (top level): Build program with -DTIMEOUT=$timeout.
4757 2015-02-06 Pedro Alves <palves@redhat.com>
4759 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4760 determine how many seconds to pass to 'alarm'.
4761 * gdb.base/gdb-sigterm.exp (top level): Build program with
4763 (do_test): Return success/failure indication. Add more verbose
4764 logging. Don't fail if 200 single steps are seen. Instead, fail
4765 when the test times out.
4766 (passes): New global.
4767 (top level): Break the testing loop if testing fails on any
4768 iteration. Use gdb_assert.
4770 2015-02-04 Don Breazeal <donb@codesourcery.com>
4772 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4773 and initialize them.
4774 (ipc_cleanup): New function.
4775 (main): Don't declare shmid, semid, and msqid. Add a call to
4776 atexit so that we call ipc_cleanup on exit.
4778 2015-02-04 Pedro Alves <palves@redhat.com>
4780 * boards/native-extended-gdbserver.exp: Remove any target variant
4781 specifications from the board name before clearing the isremote
4782 flag from board_info.
4784 2015-01-31 Doug Evans <xdje42@gmail.com>
4786 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4788 2015-01-31 Gary Benson <gbenson@redhat.com>
4790 * gdb.base/completion.exp: Disable completion limiting for
4791 existing tests. Add new tests to check completion limiting.
4792 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4794 2015-01-31 Doug Evans <xdje42@gmail.com>
4796 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4798 2015-01-31 Doug Evans <xdje42@gmail.com>
4800 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4801 entries. Duplicate file section script entries.
4802 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4803 inlined entries. Add test for safe-path rejection.
4804 * gdb.python/py-section-script.c: Add duplicate inlined section script
4805 entries. Duplicate file section script entries.
4806 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4807 inlined entries. Add test for safe-path rejection.
4809 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4811 * gdb.ada/disc_arr_bound: New testcase.
4813 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4815 * gdb.ada/mi_var_array: New testcase.
4817 2015-01-27 Doug Evans <dje@google.com>
4819 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4820 Add test for objfile.filename, objfile.username after objfile
4823 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4825 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4826 the second test to print the name attribute of value
4827 returned by the call to gdb.lookup_type, and adjust
4828 the expected output accordingly.
4830 2015-01-25 Mark Wielaard <mjw@redhat.com>
4832 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4833 * gdb.base/disp-step-fork.c: Include unistd.h.
4834 * gdb.base/siginfo-obj.c: Include stdio.h.
4835 * gdb.base/siginfo-thread.c: Likewise.
4836 * gdb.mi/non-stop.c: Include unistd.h.
4837 * gdb.mi/nsthrexec.c: Include stdio.h.
4838 * gdb.mi/pthreads.c: Include unistd.h.
4839 * gdb.modula2/unbounded1.c (main): Declare returns int.
4840 * gdb.reverse/consecutive-reverse.c: Likewise.
4841 * gdb.threads/create-fail.c: Include unistd.h.
4842 * gdb.threads/killed.c: Likewise.
4843 * gdb.threads/linux-dp.c: Likewise.
4844 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4845 * gdb.threads/non-ldr-exc-2.c: Likewise.
4846 * gdb.threads/non-ldr-exc-3.c: Likewise.
4847 * gdb.threads/non-ldr-exc-4.c: Likewise.
4848 * gdb.threads/pthreads.c: Include unistd.h.
4849 (main): Declare returns int.
4850 * gdb.threads/tls-main.c (foo): New declaration.
4851 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4853 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4855 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4856 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4858 2015-01-15 Mark Wielaard <mjw@redhat.com>
4860 * gdb.base/noreturn-return.c: New file.
4861 * gdb.base/noreturn-return.exp: New file.
4862 * gdb.base/noreturn-finish.c: New file.
4863 * gdb.base/noreturn-finish.exp: New file.
4865 2015-01-23 Pedro Alves <palves@redhat.com>
4867 * gdb.threads/continue-pending-after-query.c: New file.
4868 * gdb.threads/continue-pending-after-query.exp: New file.
4870 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4871 Simon Marchi <simon.marchi@ericsson.com>
4873 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4874 * gdb.base/valgrind-db-attach.exp: Same.
4875 * gdb.base/valgrind-infcall.exp: Same.
4876 * lib/mi-support.exp (default_mi_gdb_start): Same.
4877 * lib/prompt.exp (default_prompt_gdb_start): Same.
4878 * lib/gdb.exp (default_gdb_spawn): Same.
4879 (gdb_interact): New.
4882 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4884 * gdb.compile/compile.exp (pointer to jit function): New test.
4886 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4888 * lib/gdb.exp (supports_process_record): Return true for
4890 (supports_reverse): Likewise.
4892 2015-01-15 Don Breazeal <donb@codesourcery.com>
4894 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4895 instead of checking whether the target board is remote and
4896 use spawn_wait_for_attach instead of exec/sleep.
4897 * gdb.base/attach-twice.exp: Likewise.
4899 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4901 * gdb.ada/var_arr_attrs: New testcase.
4903 2015-01-14 Pedro Alves <palves@redhat.com>
4904 Joel Brobecker <brobecker@adacore.com>
4907 * gdb.base/bp-cmds-execution-x-script.c: New file.
4908 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4909 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4911 2015-01-14 Pedro Alves <palves@redhat.com>
4914 * gdb.base/batch-preserve-term-settings.c: New file.
4915 * gdb.base/batch-preserve-term-settings.exp: New file.
4917 2015-01-13 Doug Evans <dje@google.com>
4919 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4922 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4924 * Makefile.in (clean mostlyclean): Do not delete *.py.
4926 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4928 * gdb.python/py-lookup-type.exp: New file.
4930 2015-01-12 Pedro Alves <palves@redhat.com>
4932 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4933 restore GDBFLAGS before returning.
4935 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4937 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4938 is_amd64_regs_target and is_x86_like_target.
4940 2015-01-11 Doug Evans <xdje42@gmail.com>
4942 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4943 is given without an explicit form.
4944 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4946 * gdb.dwarf/corrupt.exp: Ditto.
4947 * gdb.dwarf2/enum-type.exp: Ditto.
4948 * gdb.trace/entry-values.exp: Ditto.
4949 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4951 2015-01-11 Doug Evans <xdje42@gmail.com>
4954 * gdb.base/maint.exp: Remove references to "maint demangle".
4955 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4956 Add tests for explicitly specifying language to demangle.
4957 * gdb.dlang/demangle.exp: Ditto.
4959 2015-01-09 Pedro Alves <palves@redhat.com>
4961 * gdb.threads/non-stop-fair-events.c: New file.
4962 * gdb.threads/non-stop-fair-events.exp: New file.
4964 2015-01-09 Pedro Alves <palves@redhat.com>
4966 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4967 the global scope. Set a breakpoint after all threads are started
4968 rather than stepping over two source lines. Expect the prompt.
4969 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4972 (main): Use threads_started_barrier to wait for all threads to
4973 start. Main thread no longer calls thread_function. Exit after
4975 (loop): New function.
4976 (thread_function): Wait on threads_started_barrier barrier. Call
4977 'loop' at each iteration.
4978 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4979 threads have started, instead of hardcoding number of "next"
4980 steps. Use an access watchpoint instead of a write watchpoint.
4982 2015-01-09 Pedro Alves <palves@redhat.com>
4984 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4985 (thread_func): Wait on barrier.
4986 (main): Wait for all threads to start before stopping GDB.
4987 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4989 (thread1_func, thread2_func): Wait on barrier.
4990 (main): Wait for all threads to start before stopping GDB.
4991 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4993 (thread1_func, thread2_func): Wait on barrier.
4994 (main): Wait for all threads to start before stopping GDB.
4996 2015-01-09 Pedro Alves <palves@redhat.com>
4998 * gdb.threads/attach-many-short-lived-threads.c: New file.
4999 * gdb.threads/attach-many-short-lived-threads.exp: New file.
5001 2014-01-09 Pedro Alves <palves@redhat.com>
5003 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
5004 instead of to thread 2.
5005 * gdb.threads/signal-command-multiple-signals-pending.c (main):
5006 Add barrier around each pthread_create call instead of around all
5008 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
5009 Set a break on thread_function and have the child threads hit it
5012 2015-01-09 Pedro Alves <palves@redhat.com>
5014 * lib/gdb.exp (can_spawn_for_attach): New procedure.
5015 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
5017 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
5018 checking whether the target board is remote.
5019 * gdb.multi/multi-attach.exp: Likewise.
5020 * gdb.python/py-sync-interp.exp: Likewise.
5021 * gdb.server/ext-attach.exp: Likewise.
5022 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5023 tests that need to attach, instead of checking whether the target
5024 board is remote at the top of the file.
5026 2015-01-08 Yao Qi <yao@codesourcery.com>
5028 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5030 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5032 Fix testcase compilation.
5033 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5035 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5037 * gdb.python/py-type.exp: Add a couple test about empty
5038 array creation, and negative-length array creation.
5040 2015-01-02 Doug Evans <xdje42@gmail.com>
5042 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5044 2015-01-02 Doug Evans <dje@google.com>
5046 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5048 2014-12-29 Yao Qi <yao@codesourcery.com>
5050 * gdb.trace/entry-values.exp: Update comments. Rename variable
5051 bar_call_foo to returned_from_foo.
5053 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5056 * gdb.linespec/break-asm-file.c: New file.
5057 * gdb.linespec/break-asm-file.exp: New file.
5058 * gdb.linespec/break-asm-file0.s: New file.
5059 * gdb.linespec/break-asm-file1.s: New file.
5061 2014-12-18 Nigel Stephens <nigel@mips.com>
5062 Maciej W. Rozycki <macro@codesourcery.com>
5064 * gdb.base/float.exp: Handle the new output from "info float" on
5067 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5069 Fix MinGW compilation.
5070 * gdb.compile/compile-ops.exp: Update untested message if
5071 !skip_compile_feature_tests.
5072 * gdb.compile/compile-setjmp.exp: Likewise.
5073 * gdb.compile/compile-tls.exp: Likewise.
5074 * gdb.compile/compile.exp: Likewise.
5075 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5076 supported on this host".
5078 2014-12-16 Doug Evans <xdje42@gmail.com>
5080 * boards/stabs.exp: New file.
5082 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5084 * gdb.base/completion.exp: Adjust to format changes of "maint
5085 print user-registers".
5087 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5090 * gdb.arch/aarch64-fp.c: New file.
5091 * gdb.arch/aarch64-fp.exp: New file.
5093 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5095 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5096 r210637, r210913, r211666, r215400, r215817).
5098 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5099 * dg-extract-results.py: New file.
5100 * dg-extract-results.sh: Use it if the environment seems
5103 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5105 * dg-extract-results.py (parse_run): Handle warnings that
5106 are printed before a test harness is run.
5108 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5110 * dg-extract-results.py (Named): Remove __cmp__ method.
5111 (output_variation): Use a key to sort variation.harnesses.
5113 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5115 * dg-extract-results.py: For Python 3, force sys.stdout to
5116 handle surrogate escape sequences.
5117 (safe_open): New function.
5118 (output_segment, main): Use it.
5120 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5122 * dg-extract-results.py (Prog.result_re): Include options
5125 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5127 * dg-extract-results.py (output_variation): Always sort if
5130 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5132 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5133 as long as we get pagination notifications.
5135 2014-12-15 Jason Merrill <jason@redhat.com>
5137 * Makefile.in (check-gdb.%): Restore.
5138 * README: Mention it.
5140 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5142 * gdb.ada/str_uninit: New testcase.
5144 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5147 * gdb.base/vla-stub-define.c: New file.
5148 * gdb.base/vla-stub.c: New file.
5149 * gdb.base/vla-stub.exp: New file.
5151 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5152 Jan Kratochvil <jan.kratochvil@redhat.com>
5153 Tom Tromey <tromey@redhat.com>
5155 * configure.ac: Add gdb.compile/.
5156 * configure: Regenerate.
5157 * gdb.compile/Makefile.in: New file.
5158 * gdb.compile/compile-ops.exp: New file.
5159 * gdb.compile/compile-ops.c: New file.
5160 * gdb.compile/compile-tls.c: New file.
5161 * gdb.compile/compile-tls.exp: New file.
5162 * gdb.compile/compile-constvar.S: New file.
5163 * gdb.compile/compile-constvar.c: New file.
5164 * gdb.compile/compile-mod.c: New file.
5165 * gdb.compile/compile-nodebug.c: New file.
5166 * gdb.compile/compile-setjmp-mod.c: New file.
5167 * gdb.compile/compile-setjmp.c: New file.
5168 * gdb.compile/compile-setjmp.exp: New file.
5169 * gdb.compile/compile-shlib.c: New file.
5170 * gdb.compile/compile.c: New file.
5171 * gdb.compile/compile.exp: New file.
5172 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5174 2014-12-12 Tom Tromey <tromey@redhat.com>
5176 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5177 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5179 2014-12-12 Doug Evans <dje@google.com>
5181 * lib/gdb-python.exp (get_python_valueof): New function.
5182 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5184 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5186 * gdb.base/completion.exp: Add test for completion of "info
5189 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5191 * gdb.base/func-ptrs.c: New file.
5192 * gdb.base/func-ptrs.exp: New file.
5194 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5196 PR breakpoints/17012
5197 * gdb.base/dprintf-detach.c: New file.
5198 * gdb.base/dprintf-detach.exp: New file.
5200 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5202 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5203 * lib/gdb.exp (target_is_gdbserver): New procedure.
5205 2014-12-08 Doug Evans <dje@google.com>
5207 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5209 2014-12-05 Yao Qi <yao@codesourcery.com>
5211 * gdb.guile/scm-error.exp: Remove the third argument to
5212 gdb_remote_download.
5213 * gdb.guile/scm-frame-args.exp: Likewise.
5214 * gdb.guile/scm-section-script.exp: Likewise.
5216 2014-12-05 Yao Qi <yao@codesourcery.com>
5218 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5220 2014-12-04 Doug Evans <dje@google.com>
5222 * gdb.python/py-objfile.exp: Add tests for
5223 objfile.add_separate_debug_file.
5225 2014-12-04 Doug Evans <dje@google.com>
5227 * lib/gdb.exp (get_build_id): New function.
5228 (build_id_debug_filename_get): Rewrite to use it.
5229 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5231 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5233 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5234 `method(long)', not just 0x0.
5235 * gdb.cp/nsalias.exp: Align code labels to 4.
5236 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5237 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5238 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5239 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5240 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5241 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5243 2014-12-02 Doug Evans <dje@google.com>
5246 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5247 * gdb.cp/anon-ns2.cc: ... here. New file.
5248 * gdb.cp/anon-ns.exp: Update.
5250 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5252 * gdb.python/py-events.py (inferior_call_handler): New.
5253 (register_changed_handler, memory_changed_handler): New.
5254 (test_events.invoke): Register new handlers.
5255 * gdb.python/py-events.exp: Add tests for inferior call,
5256 memory_changed and register_changed events.
5258 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5260 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5261 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5262 if the linker doesn't understand this.
5264 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5266 * gdb.python/python.exp: Change expected reply to help().
5268 2014-12-01 Yao Qi <yao@codesourcery.com>
5270 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5271 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5272 * configure: Re-generated.
5274 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5276 * gdb.cp/chained-calls.cc: New file.
5277 * gdb.cp/chained-calls.exp: New file.
5278 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5280 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5282 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5283 * gdb.dwarf2/symtab-producer.exp: Same.
5284 * gdb.gdb/python-interrupts.exp: Same.
5285 * gdb.gdb/python-selftest.exp: Same.
5286 * gdb.python/py-linetable.exp: Same.
5287 * gdb.python/py-type.exp: Same.
5288 * gdb.python/py-value-cc.exp: Same.
5289 * gdb.python/py-value.exp: Same.
5291 2014-11-28 Yao Qi <yao@codesourcery.com>
5293 * gdb.base/break-probes.exp: Match library name prefixed with
5296 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5298 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5299 test expected output. Add parentheses for the call to print.
5300 Remove L suffix from integers.
5302 2014-11-26 Doug Evans <dje@google.com>
5304 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5306 2014-11-22 Yao Qi <yao@codesourcery.com>
5308 * gdb.trace/entry-values.c: Remove asms.
5309 (foo): Add foo_label.
5310 (bar): Add bar_label.
5311 * gdb.trace/entry-values.exp: Remove code computing foo's
5312 length and bar's length.
5313 (Dwarf::assemble): Invoke function_range for bar and use
5314 MACRO_AT_func for foo.
5316 2014-11-22 Yao Qi <yao@codesourcery.com>
5318 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5319 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5320 Use .Lgcc43_procstart instead of gcc43.
5322 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5324 * gdb.ada/n_arr_bound: New testcase.
5326 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5328 PR breakpoints/10737
5329 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5330 test_catch_syscall_multi_arch.
5331 (test_catch_syscall_multi_arch): New function.
5333 2014-11-20 Doug Evans <xdje42@gmail.com>
5335 * gdb.base/maint.exp: Update expected output.
5337 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5339 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5340 4-byte instruction on S390.
5342 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5344 * gdb.ada/arr_arr: New testcase.
5346 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5348 * gdb.ada/pkd_arr_elem: New Testcase.
5350 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5352 * gdb.reverse/break-precsave: Expect completion message for
5354 * gdb.reverse/consecutive-precsave.exp: Likewise.
5355 * gdb.reverse/finish-precsave.exp: Likewise.
5356 * gdb.reverse/i386-precsave.exp: Likewise.
5357 * gdb.reverse/machinestate-precsave.exp: Likewise.
5358 * gdb.reverse/sigall-precsave.exp: Likewise.
5359 * gdb.reverse/solib-precsave.exp: Likewise.
5360 * gdb.reverse/step-precsave.exp: Likewise.
5361 * gdb.reverse/until-precsave.exp: Likewise.
5362 * gdb.reverse/watch-precsave.exp: Likewise.
5364 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5366 * gdb.base/bp-permanent.c: Include unistd.h.
5367 * gdb.python/py-framefilter-mi.c (main): Add return type.
5368 * gdb.python/py-framefilter.c (main): Likewise.
5369 * gdb.trace/actions-changed.c (main): Likewise.
5371 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5373 * gdb.mi/until.c: Add eye-catchers.
5374 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5377 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5379 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5380 function header variants in break1.c.
5381 * gdb.base/ena-dis-br.exp: Likewise.
5382 * gdb.base/hbreak2.exp: Likewise.
5383 * gdb.reverse/until-precsave.exp: Drop references to removed
5384 non-prototype function header variants in ur1.c.
5385 * gdb.reverse/until-reverse.exp: Likewise.
5387 2014-11-17 Petr Machata <pmachata@redhat.com>
5389 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5390 ${_cu_offset_size} bytes abbrev offset.
5392 2014-11-15 Doug Evans <xdje42@gmail.com>
5395 * gdb.base/line-symtabs.exp: New file.
5396 * gdb.base/line-symtabs.c: New file.
5397 * gdb.base/line-symtabs.h: New file.
5399 2014-11-14 Yao Qi <yao@codesourcery.com>
5401 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5402 (func): Add label func_label.
5403 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5404 Replace low_pc and high_pc with MACRO_AT_range.
5405 Replace name, low_pc and high_pc with MACRO_AT_func.
5407 2014-11-14 Yao Qi <yao@codesourcery.com>
5409 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5410 Replace name, low_pc and high_pc with MACRO_AT_func.
5412 2014-11-14 Yao Qi <yao@codesourcery.com>
5414 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5415 produce debug information.
5416 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5418 2014-11-14 Yao Qi <yao@codesourcery.com>
5420 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5421 object and get function length.
5422 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5424 (top-level): Replace gdb_compile and clean_restart with
5425 prepare_for_testing.
5426 * gdb.dwarf2/main.c (main): Add label main_label.
5428 2014-11-14 Yao Qi <yao@codesourcery.com>
5430 * lib/dwarf.exp (function_range): New procedure.
5431 (Dwarf::_handle_macro_at_func): New procedure.
5432 (Dwarf::_handle_macro_at_range): New procedure.
5433 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5435 2014-11-14 Yao Qi <yao@codesourcery.com>
5437 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5438 (_handle_attribute): New procedure.
5440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5442 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5443 * gdb.base/call-sc.c (zed): Likewise.
5444 * gdb.base/checkpoint.c (main): Likewise.
5445 * gdb.base/dump.c (main): Likewise.
5446 * gdb.base/gcore.c (main): Likewise.
5447 * gdb.base/huge.c (main): Likewise.
5448 * gdb.base/multi-forks.c (main): Likewise.
5449 * gdb.base/pr10179-a.c (main): Likewise.
5450 * gdb.base/savedregs.c (main): Likewise.
5451 * gdb.base/sigaltstack.c (main): Likewise.
5452 * gdb.base/siginfo.c (main): Likewise.
5453 * gdb.base/structs.c (zed): Likewise.
5454 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5455 * gdb.mi/mi-syn-frame.c (main): Likewise.
5456 * gdb.mi/until.c (foo, main): Likewise.
5457 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5458 * gdb.base/solib-weak.c (foo): Declare.
5459 * gdb.base/attach-twice.c: Include stdio.h.
5460 * gdb.base/weaklib1.c: Likewise.
5461 * gdb.base/weaklib2.c: Likewise.
5462 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5463 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5465 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5466 * gdb.mi/mi-exit-code.c: Likewise.
5467 * gdb.base/break-interp-lib.c: Include string.h.
5468 * gdb.base/coremaker.c: Likewise.
5469 * gdb.base/testenv.c: Likewise.
5470 * gdb.python/py-finish-breakpoint.c: Likewise.
5471 * gdb.base/inferior-died.c: Include sys/wait.h.
5472 * gdb.base/fileio.c: Include time.h.
5473 * gdb.base/async-shell.c: Include unistd.h.
5474 * gdb.base/dprintf-non-stop.c: Likewise.
5475 * gdb.base/info-os.c: Likewise.
5476 * gdb.mi/mi-console.c: Likewise.
5477 * gdb.mi/watch-nonstop.c: Likewise.
5478 * gdb.python/py-events.c: Likewise.
5479 * gdb.base/async.c (baz): Move up before its invocation.
5480 * gdb.base/code_elim2.c (my_global_func): Likewise.
5481 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5482 * gdb.base/advance.c (func2): Likewise.
5484 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5488 * gdb.base/annota3.c: Likewise.
5489 * gdb.base/async.c: Likewise.
5490 * gdb.base/average.c: Likewise.
5491 * gdb.base/call-ar-st.c: Likewise.
5492 * gdb.base/call-rt-st.c: Likewise.
5493 * gdb.base/call-sc.c: Likewise.
5494 * gdb.base/call-strs.c: Likewise.
5495 * gdb.base/ending-run.c: Likewise.
5496 * gdb.base/execd-prog.c: Likewise.
5497 * gdb.base/exprs.c: Likewise.
5498 * gdb.base/foll-exec.c: Likewise.
5499 * gdb.base/foll-fork.c: Likewise.
5500 * gdb.base/foll-vfork.c: Likewise.
5501 * gdb.base/funcargs.c: Likewise.
5502 * gdb.base/gcore.c: Likewise.
5503 * gdb.base/jump.c: Likewise.
5504 * gdb.base/langs0.c: Likewise.
5505 * gdb.base/langs1.c: Likewise.
5506 * gdb.base/langs2.c: Likewise.
5507 * gdb.base/mips_pro.c: Likewise.
5508 * gdb.base/nodebug.c: Likewise.
5509 * gdb.base/opaque0.c: Likewise.
5510 * gdb.base/opaque1.c: Likewise.
5511 * gdb.base/recurse.c: Likewise.
5512 * gdb.base/run.c: Likewise.
5513 * gdb.base/scope0.c: Likewise.
5514 * gdb.base/scope1.c: Likewise.
5515 * gdb.base/setshow.c: Likewise.
5516 * gdb.base/setvar.c: Likewise.
5517 * gdb.base/shmain.c: Likewise.
5518 * gdb.base/shr1.c: Likewise.
5519 * gdb.base/shr2.c: Likewise.
5520 * gdb.base/sigall.c: Likewise.
5521 * gdb.base/signals.c: Likewise.
5522 * gdb.base/so-indr-cl.c: Likewise.
5523 * gdb.base/solib2.c: Likewise.
5524 * gdb.base/structs.c: Likewise.
5525 * gdb.base/sum.c: Likewise.
5526 * gdb.base/vforked-prog.c: Likewise.
5527 * gdb.base/watchpoint.c: Likewise.
5528 * gdb.reverse/shr2.c: Likewise.
5529 * gdb.reverse/until-reverse.c: Likewise.
5530 * gdb.reverse/ur1.c: Likewise.
5531 * gdb.reverse/watch-reverse.c: Likewise.
5533 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5535 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5537 * gdb.base/sepdebug.exp: Drop references to removed code.
5539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5541 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5542 variant. Preserve original line numbering.
5543 * gdb.base/list1.c: Likewise.
5545 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5547 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5549 * gdb.base/break1.c: Likewise.
5550 * gdb.base/break.exp: Drop references to removed code.
5552 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5554 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5557 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5559 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5561 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5563 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5564 logic into perform_all_tests() and invoke it with and without
5565 function header prototypes.
5566 (do_function_calls): Remove conditional XFAIL for PR 5318.
5567 (rerun_and_prepare): Remove duplicate code.
5568 (perform_all_tests): New. Main logic moved here.
5570 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5573 code guarded by #ifdef NO_PROTOTYPES.
5574 (t_double_many_args): Likewise.
5575 (DEF_FUNC_MANY_ARGS_1): Likewise.
5576 (DEF_FUNC_VALUES_1): Likewise.
5577 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5578 guarded by #ifdef PROTOTYPES.
5580 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5582 * gdb.mi/mi-console.c: Add eye-catcher.
5583 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5584 instead of literal line number.
5586 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588 * gdb.base/shr2.c: Add eye-catcher.
5589 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5592 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5594 * gdb.base/jump.c: Add eye-catchers.
5595 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5598 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5600 * gdb.base/execd-prog.c: Add eye-catchers.
5601 * gdb.base/foll-exec.c: Likewise.
5602 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5605 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5607 * gdb.base/ending-run.c: Add eye-catchers.
5608 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5609 literal line numbers.
5611 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5613 * gdb.base/call-rt-st.c: Add eye-catchers.
5614 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5615 literal line numbers.
5617 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5619 * gdb.base/call-ar-st.c: Add eye-catchers.
5620 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5621 literal line numbers.
5623 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5625 * gdb.base/average.c: Add eye-catchers.
5626 * gdb.base/sum.c: Likewise.
5627 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5628 regexps dynamically.
5630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5632 * gdb.base/solib1.c: Add eye-catchers.
5633 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5634 literal line numbers.
5636 2014-11-12 Pedro Alves <palves@redhat.com>
5638 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5641 2014-11-12 Pedro Alves <palves@redhat.com>
5643 * gdb.arch/i386-bp_permanent.c: New file.
5644 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5645 (srcfile): Set to i386-bp_permanent.c.
5646 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5647 that stepi does not execute the 'leave' instruction, instead of
5648 testing it does execute.
5649 * gdb.base/bp-permanent.c: New file.
5650 * gdb.base/bp-permanent.exp: New file.
5652 2014-11-10 Doug Evans <xdje42@gmail.com>
5655 * gdb.base/symtab-search-order.exp: New file.
5656 * gdb.base/symtab-search-order.c: New file.
5657 * gdb.base/symtab-search-order-1.c: New file.
5658 * gdb.base/symtab-search-order-shlib-1.c: New file.
5660 2014-11-07 Pedro Alves <palves@redhat.com>
5663 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5666 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5669 * gdb.cp/pr17494.cc: New file.
5670 * gdb.cp/pr17494.exp: New file.
5672 2014-11-02 Yao Qi <yao@codesourcery.com>
5674 * gdb.python/python.exp: Get working directory and match the
5675 output of "set extended-prompt \\w " with it.
5677 2014-10-30 Doug Evans <dje@google.com>
5679 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5681 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5684 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5686 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5687 * gdb.base/realname-expand.exp: Likewise.
5688 * gdb.linespec/macro-relative.exp: Likewise.
5690 2014-10-29 Pedro Alves <palves@redhat.com>
5693 * gdb.threads/schedlock.c (some_function): New function.
5694 (call_function): New global.
5695 (MAYBE_CALL_SOME_FUNCTION): New macro.
5696 (thread_function): Call it.
5697 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5698 and use it instead of a global counter. Adjust all callers.
5699 (get_current_thread): Use "find current thread" for test message
5700 here rather than having all callers pass down the same string.
5701 (goto_loop): New procedure, factored out from ...
5702 (my_continue): ... this.
5703 (step_ten_loops): Change parameter from test message to command to
5705 (list_count): Delete global.
5706 (check_result): New procedure, factored out from duplicate top
5708 (continue tests): Wrap in with_test_prefix.
5709 (test_step): New procedure, factored out from duplicate top level
5711 (top level): Test "step" in combination with all scheduler-locking
5712 modes. Test "next" in combination with all scheduler-locking
5713 modes, and in combination with stepping over a function call or
5715 * gdb.threads/next-bp-other-thread.c: New file.
5716 * gdb.threads/next-bp-other-thread.exp: New file.
5718 2014-10-29 Pedro Alves <palves@redhat.com>
5721 * gdb.python/python.exp: Test a multi-line command that spawns
5723 * gdb.base/multi-line-starts-subshell.exp: New file.
5725 2014-10-29 Yao Qi <yao@codesourcery.com>
5727 * gdb.base/fileio.exp: Make directories on host.
5729 2014-10-29 Yao Qi <yao@codesourcery.com>
5731 * gdb.base/fileio.c (test_write): Close the file.
5733 2014-10-28 Pedro Alves <palves@redhat.com>
5736 * gdb.base/sigstep.c (no_handler): New global.
5737 (main): If 'no_handler is true, set the signal handlers to
5739 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5740 with_sw_watch and no_handler parameters. Handle them.
5741 (top level) <stepping over handler when stopped at a breakpoint
5742 test>: Add a test axis for testing with a software watchpoint, and
5743 another for testing with the signal handler set to SIG_IGN.
5744 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5745 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5747 2014-10-28 Pedro Alves <palves@redhat.com>
5750 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5751 * gdb.base/sigstep.exp (other_handler_location): New global.
5752 (advance): Support stepping into the signal handler, and running
5753 commands while in the handler.
5754 (in_handler_map): New global.
5755 (top level): In the advance test, add combinations for getting
5756 into the handler with stepping commands, and for running commands
5757 in the handler. Add comment descripting the advancei tests.
5759 2014-10-28 Pedro Alves <palves@redhat.com>
5761 * gdb.base/sigstep.exp: Use build_executable instead of
5762 prepare_for_testing.
5763 (top level): Move code that starts GDB, runs to main and creates a
5765 (restart): ... this new procedure.
5766 (top level): Move backtrace from signal handler test to ...
5767 (validate_backtrace): ... this new procedure.
5768 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5769 with_test_prefix. Always restart GDB.
5770 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5771 with_test_prefix. Always restart GDB. No need to delete
5772 breakpoints after the test.
5773 (test_skip_handler): Remove prefix parameter.
5774 (skip_over_handler, breakpoint_to_handler)
5775 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5776 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5777 restart GDB. No need to delete breakpoints after the test.
5778 (top level): Use foreach to call the test procedures with
5781 2014-10-28 Pedro Alves <palves@redhat.com>
5783 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5784 instead of GNATS numbers.
5785 * gdb.base/sigbpt.exp: Likewise.
5786 * gdb.base/siginfo.exp: Likewise.
5787 * gdb.base/sigstep.exp: Likewise.
5789 2014-10-27 Pedro Alves <palves@redhat.com>
5791 * gdb.base/sigstep.c (dummy): New global.
5792 (main): Issue a couple writes to the new global.
5793 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5795 (skip_over_handler): Use test_skip_handler.
5796 (top level): Call skip_over_handler for stepi and nexti too.
5797 (breakpoint_over_handler): Use test_skip_handler.
5798 (top level): Call breakpoint_over_handler for stepi and nexti too.
5800 2014-10-27 Yao Qi <yao@codesourcery.com>
5802 * gdb.trace/tfile.c (adjust_function_address)
5803 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5804 function descriptor.
5806 2014-10-24 Don Breazeal <donb@codesourcery.com>
5808 * gdb.base/foll-fork.exp (test_follow_fork,
5809 catch_fork_child_follow): Check for updated fork messages emitted
5811 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5812 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5813 vfork_and_exec_child_follow_through_step): Check for updated vfork
5814 messages emitted from infrun.c.
5816 2014-10-24 Pedro Alves <palves@redhat.com>
5818 * gdb.base/corefile.exp: Remove references to ultrix.
5819 * gdb.base/interrupt.exp: Likewise.
5820 * gdb.base/whatis.exp: Likewise.
5821 * gdb.gdb/selftest.exp: Likewise.
5822 * gdb.threads/manythreads.exp: Likewise.
5823 * gdb.threads/print-threads.exp: Likewise.
5824 * gdb.threads/pthreads.exp:: Likewise.
5825 * gdb.threads/schedlock.exp: Likewise.
5827 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5829 * gdb.cp/non-trivial-retval.cc: Add a test case.
5830 * gdb.cp/non-trivial-retval.exp: Add a test.
5832 2014-10-20 Yao Qi <yao@codesourcery.com>
5834 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5835 * gdb.python/py-objfile-script-gdb.py: New file.
5836 * gdb.python/py-objfile-script.exp: Update reference to
5837 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5838 of remote_download. Remove the dest file.
5840 2014-10-20 Yao Qi <yao@codesourcery.com>
5842 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5843 * gdb.base/step-line.exp: Likewise.
5844 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5845 * gdb.dwarf2/dw2-basic.exp: Likewise.
5846 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5847 * gdb.dwarf2/dw2-filename.exp: Likewise.
5848 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5849 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5850 * gdb.dwarf2/dw2-producer.exp: Likewise.
5851 * gdb.dwarf2/mac-fileno.exp: Likewise.
5852 * gdb.python/py-frame-args.exp: Likewise.
5853 * gdb.python/py-framefilter.exp: Likewise.
5854 * gdb.python/py-mi.exp: Likewise.
5855 * gdb.python/py-objfile-script.exp: Likewise
5856 * gdb.python/py-pp-integral.exp: Likewise.
5857 * gdb.python/py-pp-re-notag.exp: Likewise.
5858 * gdb.python/py-prettyprint.exp: Likewise.
5859 * gdb.python/py-section-script.exp: Likewise.
5860 * gdb.python/py-typeprint.exp: Likewise.
5861 * gdb.python/py-xmethods.exp: Likewise.
5862 * gdb.stabs/weird.exp: Likewise.
5863 * gdb.xml/tdesc-regs.exp: Likewise.
5865 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5867 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5868 (out_cu): Use addr_len for the size of addresses.
5869 (out_line): Likewise. Size DW_LNE_set_address instruction
5870 according to addr_len.
5871 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5872 (FUNC): Add START_INSNS to definition.
5874 2014-10-18 Yao Qi <yao@codesourcery.com>
5876 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5877 gdb_has_argv0 return true.
5878 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5879 check [target_info exists noargs], check [gdb_has_argv0]
5881 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5882 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5885 2014-10-17 Doug Evans <dje@google.com>
5887 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5889 * gdb.python/py-events.py: Add clear_objfiles event.
5891 2014-10-17 Doug Evans <dje@google.com>
5893 * gdb.python/py-objfile.exp: Test progspace attribute.
5895 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5897 * gdb.guile/scm-breakpoint.exp: Do not assume any
5898 directory separators when matching source file paths.
5899 * gdb.python/py-breakpoint.exp: Likewise.
5900 * gdb.reverse/break-precsave.exp: Likewise.
5901 * gdb.reverse/break-reverse.exp: Likewise.
5902 * gdb.reverse/consecutive-precsave.exp: Likewise.
5903 * gdb.reverse/finish-precsave.exp: Likewise.
5904 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5905 * gdb.reverse/finish-reverse.exp: Likewise.
5906 * gdb.reverse/i386-precsave.exp: Likewise.
5907 * gdb.reverse/i387-env-reverse.exp: Likewise.
5908 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5909 * gdb.reverse/machinestate-precsave.exp: Likewise.
5910 * gdb.reverse/machinestate.exp: Likewise.
5911 * gdb.reverse/sigall-precsave.exp: Likewise.
5912 * gdb.reverse/solib-precsave.exp: Likewise.
5913 * gdb.reverse/step-precsave.exp: Likewise.
5914 * gdb.reverse/until-precsave.exp: Likewise.
5915 * gdb.reverse/watch-precsave.exp: Likewise.
5916 * gdb.reverse/watch-reverse.exp: Likewise.
5918 2014-10-17 Yao Qi <yao@codesourcery.com>
5920 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5921 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5923 2014-10-17 Pedro Alves <palves@redhat.com>
5926 * gdb.base/bg-execution-repeat.c: New file.
5927 * gdb.base/bg-execution-repeat.exp: New file.
5929 2014-10-17 Pedro Alves <palves@redhat.com>
5932 * gdb.base/continue-all-already-running.c: New file.
5933 * gdb.base/continue-all-already-running.exp: New file.
5935 2014-10-17 Pedro Alves <palves@redhat.com>
5938 * gdb.base/annota-input-while-running.c: New file.
5939 * gdb.base/annota-input-while-running.exp: New file.
5941 2014-10-17 Pedro Alves <palves@redhat.com>
5943 * gdb.base/callfuncs.exp: emove references to osf.
5944 * gdb.base/sigall.exp: Likewise.
5945 * gdb.gdb/selftest.exp: Likewise.
5946 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5947 * gdb.mi/non-stop.c: Likewise.
5948 * gdb.mi/pthreads.c: Likewise.
5949 * gdb.reverse/sigall-precsave.exp: Likewise.
5950 * gdb.reverse/sigall-reverse.exp: Likewise.
5951 * gdb.threads/pthreads.c: Likewise.
5952 * gdb.threads/pthreads.exp: Likewise.
5954 2014-10-17 Yao Qi <yao@codesourcery.com>
5956 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5957 check 'target_info exists noargs'.
5958 (test_command_prompt_position): Likewise.
5959 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5961 (progvar_simple_while_test): Likewise.
5962 (progvar_complex_if_while_test): Likewise.
5963 (if_while_breakpoint_command_test): Likewise.
5964 (infrun_breakpoint_command_test): Likewise.
5965 (breakpoint_command_test): Likewise.
5966 (watchpoint_command_test): Likewise.
5967 (bp_deleted_in_command_test): Likewise.
5968 (temporary_breakpoint_commands): Likewise.
5970 2014-10-16 Yao Qi <yao@codesourcery.com>
5972 * gdb.base/remotetimeout.exp: Remove noargs checking.
5974 2014-10-15 Pedro Alves <palves@redhat.com>
5977 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5978 * gdb.base/breakpoint-in-ro-region.exp
5979 (probe_target_hardware_step): New procedure.
5980 (top level): Probe hardware stepping and hardware breakpoint
5981 support. Test stepping through a read-only region, with both
5982 "breakpoint auto-hw" on and off and both "always-inserted" on and
5985 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5987 * gdb.dlang/demangle.exp: Update for demangling changes.
5989 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5991 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5992 * gdb.cp/non-trivial-retval.exp: Add new tests.
5994 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5998 * gdb.cp/non-trivial-retval.cc: New file.
5999 * gdb.cp/non-trivial-retval.exp: New file.
6001 2014-10-15 Yao Qi <yao@codesourcery.com>
6003 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
6006 2014-10-15 Yao Qi <yao@codesourcery.com>
6008 * gdb.python/py-symbol.exp: Match file base name if host is
6009 remote, otherwise match file name with dir name.
6010 * gdb.python/py-symtab.exp: Likewise.
6011 * gdb.python/python.exp: Likewise.
6013 2014-10-15 Yao Qi <yao@codesourcery.com>
6015 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
6017 * gdb.python/py-symtab.exp: Likewise.
6018 * gdb.python/python.exp: Remove trailing ".*". Fix typo
6021 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6023 * gdb.ada/addr_arith: New testcase.
6025 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6027 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6028 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6029 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6030 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6032 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6034 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6035 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6036 * gdb.arch/stap-eval-lang-ada.exp: New file.
6038 2014-10-14 Yao Qi <yao@codesourcery.com>
6040 * gdb.mi/mi-var-child.c (nothing1): New function.
6041 (nothing2): New function.
6042 (do_children_tests): Set function pointers by nothing1 and
6044 * gdb.mi/mi-var-child.exp: Step over new added statements.
6045 Update test to match the new output.
6046 * gdb.mi/var-cmd.c (nothing1): New function.
6047 (nothing2): New function.
6048 (do_children_tests): Set function pointers by nothing1 and
6050 * gdb.mi/mi-var-display.exp: Update test to match output.
6051 Step to the line specified by $line_dct_nothing.
6052 Increase the number of lines to step.
6054 2014-10-14 Yao Qi <yao@codesourcery.com>
6056 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6058 * gdb.mi/mi2-var-child.exp: Likewise.
6060 2014-10-13 Doug Evans <dje@google.com>
6062 * gdb.python/py-objfile.exp: Change name of file name test.
6064 2014-10-13 Doug Evans <dje@google.com>
6066 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6067 from the start of the CU.
6069 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6070 Yao Qi <yao@codesourcery.com>
6072 Fix "save breakpoints" for "catch" command.
6073 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6074 Remove -nonewline. Match also the added "main" line.
6076 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6078 Fix "save breakpoints" for "disable $bpnum" command.
6079 * gdb.base/save-bp.c (main): Add label.
6080 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6082 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6084 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6086 2014-10-11 Yao Qi <yao@codesourcery.com>
6088 * gdb.server/server-kill.exp: Execute command
6089 "set remote trace-status-packet on" before "tstatus".
6091 2014-10-11 Yao Qi <yao@codesourcery.com>
6093 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6094 (main): Call getppid.
6095 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6096 and continue to it. Read variable "server_pid".
6098 2014-10-11 Yao Qi <yao@codesourcery.com>
6100 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6102 2014-10-11 Yao Qi <yao@codesourcery.com>
6104 * gdb.threads/thread-find.exp: Don't execute command
6106 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6107 * gdb.threads/linux-dp.exp: Don't check the condition
6108 $threads_created equals to zero.
6110 2014-10-10 Pedro Alves <palves@redhat.com>
6112 * gdb.base/bigcore.exp: Remove references to IRIX.
6113 * gdb.base/funcargs.exp: Likewise.
6114 * gdb.base/interrupt.exp: Likewise.
6115 * gdb.base/mips_pro.exp: Likewise.
6116 * gdb.base/nodebug.exp: Likewise.
6117 * gdb.base/setvar.exp: Likewise.
6118 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6120 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6121 Pedro Alves <palves@redhat.com>
6124 * gdb.base/vdso-warning.c: New file.
6125 * gdb.base/vdso-warning.exp: New file.
6127 2014-10-02 Doug Evans <dje@google.com>
6129 * gdb.base/structs.c (main): Don't run forever.
6131 2014-10-02 Pedro Alves <palves@redhat.com>
6133 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6134 (top level) <stop threads 1, stop threads 2>: Use it.
6136 2014-10-02 Pedro Alves <palves@redhat.com>
6138 * gdb.threads/break-while-running.exp (test): Add new
6139 'update_thread_list' argument. Skip "info threads" if false.
6140 (top level): Add new 'update_thread_list' axis.
6142 2014-10-02 Pedro Alves <palves@redhat.com>
6144 PR breakpoints/17431
6145 * gdb.base/execl-update-breakpoints.c: New file.
6146 * gdb.base/execl-update-breakpoints.exp: New file.
6148 2014-10-01 Pedro Alves <palves@redhat.com>
6150 * gdb.base/breakpoint-in-ro-region.c: New file.
6151 * gdb.base/breakpoint-in-ro-region.exp: New file.
6153 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6155 * gdb.mi/mi-exit-code.exp: New file.
6156 * gdb.mi/mi-exit-code.c: New file.
6158 2014-09-30 Yao Qi <yao@codesourcery.com>
6160 * lib/prelink-support.exp (build_executable_own_libs): Error if
6161 the target isn't native.
6163 2014-09-30 Yao Qi <yao@codesourcery.com>
6165 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6168 2014-09-22 Pedro Alves <palves@redhat.com>
6170 * gdb.threads/break-while-running.exp: New file.
6171 * gdb.threads/break-while-running.c: New file.
6173 2014-09-19 Yao Qi <yao@codesourcery.com>
6175 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6176 Invoke test. Restart GDB with --readnow and invoke test again.
6178 2014-09-19 Yao Qi <yao@codesourcery.com>
6180 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6181 proc set_breakpoint_on_gcd_function. Invoke
6182 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6183 invoke set_breakpoint_on_gcd_function again.
6185 2014-09-18 Doug Evans <dje@google.com>
6187 * gdb.dwarf2/symtab-producer.exp: New file.
6189 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6191 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6192 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6193 * gdb.base/global-var-nested-by-dso.c: Likewise.
6194 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6196 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6197 Pedro Alves <palves@redhat.com>
6199 * gdb.base/watch-bitfields.exp: Pass string other than test file
6200 name to prepare_for_testing.
6201 (watch): New procedure.
6202 (expect_watchpoint): Use with_test_prefix.
6203 (top level): Factor out tests to ...
6204 (test_watch_location, test_regular_watch): ... these new
6205 procedures, and use with_test_prefix and gdb_continue_to_end.
6207 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6209 PR breakpoints/12526
6210 * gdb.base/watch-bitfields.exp: New file.
6211 * gdb.base/watch-bitfields.c: New file.
6213 2014-09-16 Pedro Alves <palves@redhat.com>
6215 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6216 software and hardware addresses, not software address against
6219 2014-09-16 Pedro Alves <palves@redhat.com>
6221 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6222 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6224 2014-09-16 Pedro Alves <palves@redhat.com>
6226 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6228 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6229 "*-*-vxworks*" throughout.
6230 * gdb.base/break.exp: Likewise.
6231 * gdb.base/default.exp: Likewise.
6232 * gdb.base/scope.exp: Likewise.
6233 * gdb.base/sepdebug.exp: Likewise.
6234 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6236 * gdb.base/run.c: Likewise.
6237 * gdb.base/sepdebug.c: Likewise.
6238 * gdb.hp/gdb.aCC/run.c: Likewise.
6239 * gdb.reverse/until-reverse.c: Likewise.
6240 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6242 2014-09-16 Yao Qi <yao@codesourcery.com>
6244 * boards/local-remote-host-native.exp: New file.
6246 2014-09-14 Doug Evans <xdje42@gmail.com>
6248 * gdb.threads/queue-signal.c (thread_count): New variable.
6249 (thread_count_mutex, thread_count_condvar): New variables.
6250 (incr_thread_count, wait_all_threads_running): New functions.
6251 (main): Wait for all threads to be in their thread functions.
6253 2014-09-13 Doug Evans <xdje42@gmail.com>
6255 * gdb.threads/queue-signal.c: New file.
6256 * gdb.threads/queue-signal.exp: New file.
6258 2014-09-13 Doug Evans <xdje42@gmail.com>
6260 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6261 be consistent with what default_gdb_init uses.
6262 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6263 the plain text of the prompt. Add some logging printfs.
6264 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6266 2014-09-12 Pedro Alves <palves@redhat.com>
6268 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6269 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6270 * gdb.arch/i386-size-overlap.exp: Likewise.
6271 * gdb.arch/i386-size.exp: Likewise.
6272 * gdb.arch/i386-unwind.exp: Likewise.
6273 * gdb.base/a2-run.exp: Likewise.
6274 * gdb.base/break.exp: Likewise.
6275 * gdb.base/charset.exp: Likewise.
6276 * gdb.base/chng-syms.exp: Likewise.
6277 * gdb.base/commands.exp: Likewise.
6278 * gdb.base/dbx.exp: Likewise.
6279 * gdb.base/find.exp: Likewise.
6280 * gdb.base/funcargs.exp: Likewise.
6281 * gdb.base/jit-simple.exp: Likewise.
6282 * gdb.base/reread.exp: Likewise.
6283 * gdb.base/sepdebug.exp: Likewise.
6284 * gdb.base/step-bt.exp: Likewise.
6285 * gdb.cp/mb-inline.exp: Likewise.
6286 * gdb.cp/mb-templates.exp: Likewise.
6287 * gdb.objc/basicclass.exp: Likewise.
6288 * gdb.threads/killed.exp: Likewise.
6290 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6293 * gdb.arch/powerpc-stackless.S: New file.
6294 * gdb.arch/powerpc-stackless.exp: New file.
6296 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6298 * gdb.base/attach.c: Include unistd.h.
6299 (main): Call alarm. Add label postloop.
6300 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6301 gdb_breakpoint, gdb_continue_to_breakpoint.
6302 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6304 2014-09-11 Pedro Alves <palves@redhat.com>
6307 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6308 * gdb.base/attach.exp (test_command_line_attach_run): New
6310 (top level): Call it.
6312 2014-09-11 Pedro Alves <palves@redhat.com>
6314 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6315 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6316 (do_command_attach_tests): Use spawn_wait_for_attach.
6317 * gdb.base/solib-overlap.exp: Likewise.
6318 * gdb.multi/multi-attach.exp: Likewise.
6319 * gdb.python/py-prompt.exp: Likewise.
6320 * gdb.python/py-sync-interp.exp: Likewise.
6321 * gdb.server/ext-attach.exp: Likewise.
6323 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6325 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6326 command in testcase. Simplify testcase.
6328 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6330 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6332 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6334 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6336 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6338 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6340 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6342 * gdb.dwarf2/dynarr-ptr.c: New file.
6343 * gdb.dwarf2/dynarr-ptr.exp: New file.
6345 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6347 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6348 of 30 rather than hardcoding 120 for a slow test case. Take the
6349 `gdb,timeout' target setting into account for this calculation.
6350 Don't extend the timeout for the test cases that don't need it.
6352 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6354 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6355 a factor of 2 for a slow test case. Take the `gdb,timeout'
6356 target setting into account for this calculation.
6357 * gdb.reverse/until-precsave.exp: Increase the timeout by
6358 a factor of 15 and 3 respectively rather than adding 120
6359 for a pair of slow test cases. Take the `gdb,timeout'
6360 target setting into account for this calculation.
6362 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6364 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6365 timeout, don't pass one down to gdb_expect.
6366 (gdb_expect): Rework timeout selection.
6368 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6370 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6371 exception on timeout.
6372 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6373 (gdbserver_start_extended): Catch any `gdbserver_start' error
6375 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6376 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6377 `gdbserver_gdb_load' error exceptions.
6379 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6381 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6382 120 on waiting for the TCP socket to open.
6384 2014-09-09 Doug Evans <xdje42@gmail.com>
6386 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6387 _caller_matches, _any_caller_is, _any_caller_matches.
6389 2014-09-09 Doug Evans <xdje42@gmail.com>
6391 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6393 2014-09-09 Yao Qi <yao@codesourcery.com>
6395 * gdb.mi/mi-var-display.exp: Set print symbol off.
6397 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6400 * gdb.base/commands.exp: Add tests to verify user-defined
6401 commands with empty bodies.
6402 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6403 python commands in `show user command`.
6404 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6405 scheme commands in `show user command`.
6407 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6410 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6411 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6412 * gdb.python/py-framefilter-invalidarg.exp: New file.
6413 * gdb.python/py-framefilter-invalidarg.py: New file.
6415 2014-09-06 Doug Evans <xdje42@gmail.com>
6418 * gdb.python/py-caller-is.c: New file.
6419 * gdb.python/py-caller-is.exp: New file.
6421 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6424 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6425 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6427 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6430 * gdb.fortran/print-formatted.exp: New file.
6431 * gdb.fortran/print-formatted.f90: Likewise.
6433 2014-09-03 Sasha Smundak <asmundak@google.com>
6435 * gdb.python/py-frame.exp: Test Frame.read_register.
6437 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6440 * gdb.python/py-completion.exp: New file.
6441 * gdb.python/py-completion.py: Likewise.
6443 2014-08-28 Doug Evans <dje@google.com>
6445 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6446 eax,etc. are live with values set by gdb and thus the compiler can't
6448 * gdb.arch/i386-pseudo.c (main): Ditto.
6450 2014-08-27 Doug Evans <dje@google.com>
6452 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6454 2014-08-25 Doug Evans <dje@google.com>
6456 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6459 2014-08-25 Doug Evans <dje@google.com>
6461 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6463 2014-08-24 Yao Qi <yao@codesourcery.com>
6465 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6467 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6469 2014-08-22 Doug Evans <dje@google.com>
6472 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6473 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6474 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6476 2014-08-22 Yao Qi <yao@codesourcery.com>
6478 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6479 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6480 * gdb.python/python.exp: Likewise. Use .py file on the host
6481 instead of the build.
6483 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6485 * gdb.threads/gcore-stale-thread.c: New file.
6486 * gdb.threads/gcore-stale-thread.exp: New file.
6488 2014-08-21 Pedro Alves <palves@redhat.com>
6490 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6491 * gdb.base/gcore-relro-pie.exp: Likewise.
6492 * gdb.base/gcore-relro.exp: Likewise.
6493 * gdb.base/gcore.exp: Likewise.
6494 * gdb.base/print-symbol-loading.exp: Likewise.
6495 * gdb.threads/gcore-thread.exp: Likewise.
6496 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6498 2014-08-20 Pedro Alves <palves@redhat.com>
6499 Jan Kratochvil <jan.kratochvil@redhat.com>
6501 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6503 (EXPECT): Handle READ1 being set.
6504 (all): Depend on EXTRA_RULES.
6505 (check-read1, expect-read1, read1.so, read1): New rules.
6506 * README (Testsuite Parameters): Document the READ1 make variable.
6507 (Race detection): New section.
6508 * configure: Regenerate.
6509 * configure.ac: If build==host==target, and running under a
6510 GNU/glibc system, add read1 to the extra Makefile rules.
6511 (EXTRA_RULES): AC_SUBST it.
6512 * lib/read1.c: New file.
6514 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6516 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6517 the handling of variables declared as a typedef to an array
6518 which a DW_AT_data_location attribute.
6520 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6521 Pedro Alves <palves@redhat.com>
6525 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6528 2014-08-19 Pedro Alves <palves@redhat.com>
6530 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6532 2014-08-19 Yao Qi <yao@codesourcery.com>
6534 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6537 2014-08-18 David Blaikie <dblaikie@gmail.com>
6539 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6541 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6543 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6544 attribute in array range.
6546 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6548 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6550 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6553 * gdb.cp/pr17132.cc: New file.
6554 * gdb.cp/pr17132.exp: New file.
6556 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6558 * gdb.python/py-xmethods.py (A_getarrayind)
6559 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6560 Use 'print' with function call syntax.
6561 (E_method_matcher.match): Fix tab vs space indentation mixup.
6563 2014-08-15 Yao Qi <yao@codesourcery.com>
6565 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6568 2014-08-15 Yao Qi <yao@codesourcery.com>
6570 * gdb.cp/casts.exp: Set print symbol off.
6571 * gdb.cp/class2.exp: Likewise.
6572 * gdb.cp/overload.exp: Likewise.
6573 * gdb.cp/templates.exp: Likewise.
6575 2014-08-11 Doug Evans <dje@google.com>
6577 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6578 (test_load_shlib): Update.
6580 2014-08-09 Yao Qi <yao@codesourcery.com>
6582 * gdb.base/display.exp: Invoke is_address_zero_readable.
6583 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6584 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6585 * gdb.base/hbreak-unmapped.exp: Return if
6586 is_address_zero_readable returns true.
6587 * gdb.base/signest.exp: Likewise.
6588 * gdb.base/signull.exp: Likewise.
6589 * gdb.base/sigbpt.exp: Likewise.
6590 * gdb.guile/scm-disasm.exp: Do the test if
6591 is_address_zero_readable returns false.
6592 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6593 * gdb.python/py-arch.exp: Likewise.
6594 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6595 * lib/gdb.exp (is_address_zero_readable): New proc.
6597 2014-08-09 Yao Qi <yao@codesourcery.com>
6600 * gdb.mi/mi-var-display.exp: Make test messages unique.
6602 2014-08-04 Tom Tromey <tromey@redhat.com>
6604 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6607 2014-08-04 Tom Tromey <tromey@redhat.com>
6609 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6612 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6614 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6615 inner_vla_struct_object_size.
6616 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6619 2014-07-30 Pedro Alves <palves@redhat.com>
6621 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6624 2014-07-29 Yao Qi <yao@codesourcery.com>
6627 * gdb.base/until-nodebug.exp: New.
6629 2014-07-28 Doug Evans <xdje42@gmail.com>
6632 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6633 previously existing parameter, and previously ambiguously spelled
6636 2014-07-28 Will Newton <will.newton@linaro.org>
6638 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6640 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6641 Doug Evans <xdje42@gmail.com>
6644 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6646 2014-07-25 Pedro Alves <palves@redhat.com>
6648 * gdb.threads/signal-command-handle-nopass.c: New file.
6649 * gdb.threads/signal-command-handle-nopass.exp: New file.
6650 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6651 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6652 * gdb.threads/signal-delivered-right-thread.c: New file.
6653 * gdb.threads/signal-delivered-right-thread.exp: New file.
6655 2014-07-25 Pedro Alves <palves@redhat.com>
6657 * gdb.base/double-prompt-target-event-error.exp
6658 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6660 (cancel_pagination_in_target_event): Rework double prompt
6662 * gdb.base/paginate-after-ctrl-c-running.exp
6663 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6665 * gdb.base/paginate-bg-execution.exp
6666 (test_bg_execution_pagination_return)
6667 (test_bg_execution_pagination_cancel): Remove '-notransfer
6669 * gdb.base/paginate-execution-startup.exp
6670 (test_fg_execution_pagination_return)
6671 (test_fg_execution_pagination_cancel): Remove '-notransfer
6673 * gdb.base/paginate-inferior-exit.exp
6674 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6676 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6677 * lib/gdb.exp (pagination_prompt): Run text through
6679 (gdb_test_multiple): Match $pagination_prompt instead of
6681 (string_to_regexp): Move to lib/gdb-utils.exp.
6683 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6685 * gdb.arch/amd64-entry-value-paramref.S: New file.
6686 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6687 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6688 * gdb.arch/amd64-optimout-repeat.S: New file.
6689 * gdb.arch/amd64-optimout-repeat.c: New file.
6690 * gdb.arch/amd64-optimout-repeat.exp: New file.
6692 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6695 * gdb.base/statistics.exp: New file.
6697 2014-07-17 Doug Evans <dje@google.com>
6700 * gdb.base/maint.exp: Update testing of per-command stats.
6702 2014-07-16 Pedro Alves <palves@redhat.com>
6704 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6705 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6706 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6707 (tfile_write_buf): New functions.
6708 (add_memory_block): Rewrite using the above.
6709 (adjust_function_address): New function.
6710 (FUNCTION_ADDRESS): New macro.
6711 (write_basic_trace_file): Remove short_x local, and use
6712 tfile_write_16. Change type of func_addr local to unsigned long
6713 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6714 here. Cast argument of add_memory_block to char pointer.
6715 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6716 (main): Remove parameters.
6717 * gdb.trace/tfile.exp: Remove nowarnings.
6719 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6721 * gdb.base/debug-expr.exp: Test string evaluation with
6722 "debug expression" on.
6724 2014-07-15 Pedro Alves <palves@redhat.com>
6726 * gdb.base/reread.exp: Use clean_restart.
6728 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6730 * gdb.arch/avr-flash-qualifer.c: New.
6731 * gdb.arch/avr-flash-qualifer.exp: New.
6733 2014-07-14 Pedro Alves <palves@redhat.com>
6735 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6736 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6738 2014-07-14 Pedro Alves <palves@redhat.com>
6740 * gdb.base/double-prompt-target-event-error.c: New file.
6741 * gdb.base/double-prompt-target-event-error.exp: New file.
6743 2014-07-14 Pedro Alves <palves@redhat.com>
6746 * gdb.base/paginate-inferior-exit.c: New file.
6747 * gdb.base/paginate-inferior-exit.exp: New file.
6749 2014-07-14 Pedro Alves <palves@redhat.com>
6752 * gdb.base/paginate-bg-execution.c: New file.
6753 * gdb.base/paginate-bg-execution.exp: New file.
6755 2014-07-14 Pedro Alves <palves@redhat.com>
6758 * gdb.base/paginate-execution-startup.c: New file.
6759 * gdb.base/paginate-execution-startup.exp: New file.
6760 * lib/gdb.exp (pagination_prompt): New global.
6761 (default_gdb_spawn): New procedure, factored out from
6763 (default_gdb_start): Adjust to call default_gdb_spawn.
6764 (gdb_spawn): New procedure.
6766 2014-07-14 Pedro Alves <palves@redhat.com>
6768 * lib/gdb.exp (gdb_assert): New procedure.
6769 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6771 2014-07-14 Pedro Alves <palves@redhat.com>
6773 * gdb.base/execution-termios.c: New file.
6774 * gdb.base/execution-termios.exp: New file.
6776 2014-07-14 Tom Tromey <tromey@redhat.com>
6778 * gdb.cp/vla-cxx.cc: New file.
6779 * gdb.cp/vla-cxx.exp: New file.
6781 2014-07-14 Tom Tromey <tromey@redhat.com>
6783 * gdb.reverse/rerun-prec.c: New file.
6784 * gdb.reverse/rerun-prec.exp: New file.
6786 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6787 Maciej W. Rozycki <macro@codesourcery.com>
6789 * lib/gdb-utils.exp: New file.
6790 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6791 inline `gdb_init_command' processing.
6792 (gdb_start_cmd): Likewise.
6793 * lib/mi-support.exp (mi_run_cmd): Likewise.
6794 * README: Document `gdb_init_command' and `gdb_init_commands'.
6796 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6798 Fix false FAIL running under a very long directory name.
6799 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6800 and "set print elements 10000". Twice.
6802 2014-07-11 Yao Qi <yao@codesourcery.com>
6804 * gdb.base/exprs.exp: "set print symbol off".
6806 2014-07-11 Pedro Alves <palves@redhat.com>
6808 * gdb.threads/kill.c: New file.
6809 * gdb.threads/kill.exp: New file.
6811 2014-07-10 Yao Qi <yao@codesourcery.com>
6813 * gdb.trace/tfile.c (write_basic_trace_file)
6814 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6815 address written to trace file.
6817 2014-07-09 Pedro Alves <palves@redhat.com>
6819 * gdb.base/attach-wait-input.exp: New file.
6820 * gdb.base/attach-wait-input.c: New file.
6822 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6824 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6825 setting up test structures.
6826 (main): Call new test function.
6827 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6828 test function, continue into test function and walk test
6831 2014-07-02 Yao Qi <yao@codesourcery.com>
6833 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6834 'bar_start' at the beginning of functions 'foo' and 'bar'
6836 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6837 instead of 'foo' and 'bar'.
6839 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6841 * gdb.btrace/segv.exp: New.
6842 * gdb.btrace/segv.c: New.
6844 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6846 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6849 2014-06-30 Mark Wielaard <mjw@redhat.com>
6851 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6852 vulture, vilify, villar): New volatile array constants.
6853 (vindictive, vegetation): New const volatile array constants.
6854 * gdb.base/volatile.exp: Test volatile and const volatile array
6857 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6859 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6860 target lacks support for awatch, rwatch, or hbreak.
6862 2014-06-27 Yao Qi <yao@codesourcery.com>
6864 * gdb.multi/dummy-frame-restore.exp: New.
6865 * gdb.multi/dummy-frame-restore.c: New.
6867 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6869 * gdb.btrace/gcore.exp: New.
6871 2014-06-23 Pedro Alves <palves@redhat.com>
6873 * gdb.base/watchpoint-reuse-slot.c: New file.
6874 * gdb.base/watchpoint-reuse-slot.exp: New file.
6876 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6878 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6879 progspace's filename in 'info', 'enable' and 'disable' command
6882 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6884 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6885 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6886 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6888 2014-06-20 Gary Benson <gbenson@redhat.com>
6890 * gdb.arch/i386-avx.exp: Fix include file location.
6891 * gdb.arch/i386-sse.exp: Likewise.
6893 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6895 * gdb.dlang/expression.exp: New file.
6897 2014-06-19 Pedro Alves <palves@redhat.com>
6899 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6901 (top level): ... here. Iterate running tests under different
6902 scheduler-locking settings.
6904 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6906 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6907 to DW_FORM_addr and use non-zero addresses.
6909 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6912 * gdb.python/py-xmethods.cc: Add global function call counters and
6913 increment them in their respective functions. Remove "cout"
6915 * gdb.python/py-xmethods.exp: Make tests check the global function
6916 call counters instead of depending on inferior IO.
6918 2014-06-18 Don Breazeal <donb@codesourcery.com>
6920 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6922 (explicit_fork_parent_follow): Deleted procedure.
6923 (explicit_fork_child_follow): Deleted procedure.
6924 (test_follow_fork): New procedure.
6925 (do_fork_tests): Replace calls to deleted procedures with
6926 calls to test_follow_fork and reset GDB for subsequent
6929 2014-06-17 Yao Qi <yao@codesourcery.com>
6931 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6934 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6936 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6937 Initialize ptr and S explicitly.
6938 (skip_type_update_when_not_use_rtti_test): Likewise.
6940 2014-06-16 Keith Seitz <keiths@redhat.com>
6943 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6944 the inferior is started.
6946 2014-06-16 Pedro Alves <palves@redhat.com>
6948 * gdb.base/break-main-file-remove-fail.c: New file.
6949 * gdb.base/break-main-file-remove-fail.exp: New file.
6950 * gdb.base/break-unload-file.exp: Use build_executable instead of
6951 prepare_for_testing.
6952 (test_break): New parameter "initial_load". Handle it.
6953 (top level): Add initial_load cmdline/file axis.
6955 2014-06-12 Tom Tromey <tromey@redhat.com>
6957 * gdb.base/completion.exp: Don't use directory name in test.
6959 2014-06-09 Gary Benson <gbenson@redhat.com>
6961 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6962 separate the always-available ANSI-standard signals from the
6963 signals that require checking.
6965 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6969 2014-06-07 Keith Seitz <keiths@redhat.com>
6973 * gdb.cp/var-tag.cc: New file.
6974 * gdb.cp/var-tag.exp: New file.
6975 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6976 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6977 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6978 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6980 2014-06-06 Doug Evans <xdje42@gmail.com>
6982 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6984 2014-06-06 Pedro Alves <palves@redhat.com>
6986 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6987 in target debug output instead of looking at RSP packets,
6988 disabling the test on any target that uses hardware stepping.
6991 2014-06-06 Pedro Alves <palves@redhat.com>
6993 * gdb.base/break-unload-file.exp: Fix typo.
6995 2014-06-06 Yao Qi <yao@codesourcery.com>
6997 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6998 from "jit_function" to "^jit_function".
7000 2014-06-06 Yao Qi <yao@codesourcery.com>
7002 * gdb.base/async.c (foo): Add one statement.
7003 * gdb.base/async.exp: Get the next instruction address and
7004 match the output of "nexti" by instruction address. Match
7005 the hex address in the output of "finish".
7007 2014-06-06 Gary Benson <gbenson@redhat.com>
7009 * gdb.base/call-signals.c: Remove preprocessor conditionals
7010 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
7011 SIGSEGV and SIGTERM.
7012 * gdb.base/sigall.c: Likewise.
7013 * gdb.base/unwindonsignal.c: Likewise.
7014 * gdb.reverse/sigall-reverse.c: Likewise.
7016 2014-06-06 Yao Qi <yao@codesourcery.com>
7018 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
7019 readable, skip the test.
7021 2014-06-06 Yao Qi <yao@codesourcery.com>
7023 * gdb.threads/staticthreads.c (thread_function): Move the line
7024 setting breakpoint on forward.
7025 * gdb.threads/staticthreads.exp: Update comments.
7027 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7029 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7030 "history-append! type error".
7032 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7034 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7035 erroneous dprintf expected input.
7037 2014-06-04 Doug Evans <xdje42@gmail.com>
7039 * gdb.guile/scm-generics.exp: Delete.
7041 2014-06-04 Doug Evans <xdje42@gmail.com>
7043 * gdb.guile/scm-breakpoint.exp: Update.
7044 Add tests for breakpoint registration.
7046 2014-06-04 Tom Tromey <tromey@redhat.com>
7048 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7050 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7051 inner_vla_struct, vla_union types. Initialize objects of those
7052 types and compute their sizes.
7054 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7055 Hui Zhu <hui@codesourcery.com>
7057 * gdb.base/fileio.exp: Add test for shell not available as well as
7059 * gdb.base/fileio.c (test_system): Check for shell twice.
7061 2014-06-04 Yao Qi <yao@codesourcery.com>
7063 * gdb.base/auto-connect-native-target.exp: Remove redundant
7064 space from the regexp pattern.
7066 2014-06-04 Yao Qi <yao@codesourcery.com>
7068 * gdb.base/default.exp: Replace "child" with "native" in
7071 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7073 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7074 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7075 * gdb.python/py-xmethods.py: Python script supporting the
7076 new testcase and tests.
7078 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7079 Pedro Alves <palves@redhat.com>
7081 PR breakpoints/17000
7082 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7083 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7085 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7087 * gdb.base/subst.exp: Add tests to verify partial path matching
7090 2014-06-03 Pedro Alves <palves@redhat.com>
7092 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7093 target that doesn't use software single-stepping.
7095 2014-06-03 Pedro Alves <palves@redhat.com>
7097 PR breakpoints/17000
7098 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7099 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7101 2014-06-02 Doug Evans <xdje42@gmail.com>
7103 * gdb.guile/scm-parameter.exp: New file.
7105 2014-06-02 Doug Evans <xdje42@gmail.com>
7107 * gdb.guile/scm-cmd.c: New file.
7108 * gdb.guile/scm-cmd.exp: New file.
7110 2014-06-02 Doug Evans <xdje42@gmail.com>
7112 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7113 pretty-printer lookup.
7114 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7115 (make-pp_s-printer): Call it.
7116 (make-pretty-printer-from-dict): New function.
7117 (lookup-pretty-printer-maker-from-dict): New function.
7118 (*pretty-printer*): Simplify.
7119 (make-objfile-pp_s-printer): New function.
7120 (install-objfile-pretty-printers!): New function.
7121 (make-progspace-pp_s-printer): New function.
7122 (install-progspace-pretty-printers!): New function.
7123 * gdb.guile/scm-progspace.c: New file.
7124 * gdb.guile/scm-progspace.exp: New file.
7126 2014-06-02 Pedro Alves <palves@redhat.com>
7128 * gdb.base/dprintf-bp-same-addr.c: New file.
7129 * gdb.base/dprintf-bp-same-addr.exp: New file.
7131 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7133 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7134 * gdb.arch/powerpc-power.s: Likewise.
7136 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7138 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7140 2014-06-01 Yao Qi <yao@codesourcery.com>
7142 * gdb.base/watchpoint.exp (test_watch_location): Check null
7143 pointer can be dereferenced. If not, do the test, otherwise
7146 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7148 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7150 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7152 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7154 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7155 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7156 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7157 * gdb.arch/amd64-invalid-stack-top.c: New file.
7158 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7160 2014-05-30 Pedro Alves <palves@redhat.com>
7162 PR breakpoints/17000
7163 * gdb.base/sss-bp-on-user-bp.c: New file.
7164 * gdb.base/sss-bp-on-user-bp.exp: New file.
7166 2014-05-30 David Blaikie <dblaikie@gmail.com>
7168 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7169 gnu_inline semantics via attribute.
7170 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7171 source explicitly specifies the required semantics.
7173 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7175 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7177 2014-05-29 Pedro Alves <palves@redhat.com>
7178 Tom Tromey <tromey@redhat.com>
7180 * gdb.base/async-shell.exp: Don't enable target-async.
7181 * gdb.base/async.exp
7182 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7184 (top level): Don't test with "target-async".
7185 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7186 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7187 * gdb.base/inferior-died.exp: Don't enable target-async.
7188 * gdb.base/interrupt-noterm.exp: Likewise.
7189 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7190 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7191 * gdb.mi/mi-nonstop.exp: Likewise.
7192 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7193 * gdb.mi/mi-nsintrall.exp: Likewise.
7194 * gdb.mi/mi-nsmoribund.exp: Likewise.
7195 * gdb.mi/mi-nsthrexec.exp: Likewise.
7196 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7197 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7198 * gdb.python/py-evsignal.exp: Don't enable target-async.
7199 * gdb.python/py-evthreads.exp: Likewise.
7200 * gdb.python/py-prompt.exp: Likewise.
7201 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7202 * gdb.server/solib-list.exp: Don't enable target-async.
7203 * gdb.threads/thread-specific-bp.exp: Likewise.
7204 * lib/mi-support.exp: Adjust to use mi-async.
7206 2014-05-29 Pedro Alves <palves@redhat.com>
7209 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7210 reason, even in sync mode.
7212 2014-05-29 Pedro Alves <palves@redhat.com>
7213 Hui Zhu <hui@codesourcery.com>
7216 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7217 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7218 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7219 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7221 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7223 * config/monitor.exp (gdb_target_monitor): Replace use of
7224 "set remotebaud" by "set serial baud".
7226 2014-05-26 Andy Wingo <wingo@igalia.com>
7228 * gdb.guile/scm-breakpoint.exp:
7229 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7230 properties instead of gdb-object-properties.
7232 2014-05-26 Yao Qi <yao@codesourcery.com>
7234 * gdb.server/no-thread-db.exp: Specify source file name
7235 explicitly when setting a breakpoint.
7237 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7239 * gdb.btrace/vdso.c: New.
7240 * gdb.btrace/vdso.exp: New.
7242 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7244 * gdb.base/gcore.exp (capture_command_output): Move ...
7245 * lib/gdb.exp (capture_command_output): ... here.
7247 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7249 * gdb.btrace/data.exp: Test memory access during btrace replay.
7251 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7253 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7255 2014-05-21 Pedro Alves <palves@redhat.com>
7258 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7259 (top level): Test that output related to execution commands is
7260 sent to the console with CLI commands, but not with MI commands.
7261 Test that breakpoint events are always mirrored to the console.
7262 Also expect the new source line to be output after a "next" in
7263 async mode too. Make it a pass/fail test.
7264 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7266 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7268 2014-05-21 Pedro Alves <palves@redhat.com>
7270 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7271 Use them to test variations of "list" after reaching a breakpoint.
7272 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7273 Test "list" with listsize 10 after reaching a breakpoint.
7274 * gdb.python/python.exp (decode_line current location line
7275 number): Adjust expected line number.
7277 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7279 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7280 behavior for $args, pass it directly to "run".
7282 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7284 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7287 2014-05-21 Pedro Alves <palves@redhat.com>
7289 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7290 auto-connect-native-target off".
7291 * gdb.base/auto-connect-native-target.c: New file.
7292 * gdb.base/auto-connect-native-target.exp: New file.
7294 2014-05-21 Pedro Alves <palves@redhat.com>
7296 * gdb.base/default.exp: Test "target native" instead of "target
7299 2014-05-21 Mark Wielaard <mjw@redhat.com>
7301 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7303 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7305 Fix TLS access for -static -pthread.
7306 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7307 <HAVE_TLS> (thread_function, main): Initialize it.
7308 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7310 <$have_tls != "">: Check TLSVAR.
7312 2014-05-21 Pedro Alves <palves@redhat.com>
7314 * gdb.base/dcache-line-read-error.c: New.
7315 * gdb.base/dcache-line-read-error.exp: New.
7317 2014-05-20 Pedro Alves <palves@redhat.com>
7319 * gdb.base/compare-sections.c: New file.
7320 * gdb.base/compare-sections.exp: New file.
7322 2014-05-20 Pedro Alves <palves@redhat.com>
7324 * gdb.base/break-idempotent.c: New file.
7325 * gdb.base/break-idempotent.exp: New file.
7327 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7329 * gdb.btrace/nohist.exp: New.
7331 2014-05-20 Yao Qi <yao@codesourcery.com>
7333 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7334 gdb.reverse directory and gdb_reverse_timeout exists in board
7336 * README: Document gdb_reverse_timeout.
7338 2014-05-20 Yao Qi <yao@codesourcery.com>
7340 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7341 'test_file_name'. Treat args as a string instead of a list.
7342 (gdb_init): Rename argument 'args' by 'test_file_name'.
7344 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7346 * gdb.arch/powerpc-power.exp: New file.
7347 * gdb.arch/powerpc-power.s: New file.
7349 2014-05-16 Doug Evans <dje@google.com>
7351 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7352 * gdb.base/completion.exp: Check that all expected files exist
7353 before doing file completion.
7355 2014-05-16 Doug Evans <dje@google.com>
7357 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7359 (do_syscall_tests_without_xml): Update.
7361 2014-05-16 Pedro Alves <palves@redhat.com>
7363 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7364 instead of "unknown output after running".
7366 2014-05-16 Yao Qi <yao@codesourcery.com>
7368 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7369 file1.txt from host at the end.
7370 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7372 2014-05-15 Doug Evans <dje@google.com>
7374 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7375 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7376 loading file. Add test for TU lookup.
7378 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7380 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7381 calling "-exec-arguments" or "set args" before running the
7384 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7386 * lib/mi-support.exp (mi_expect_stop): Expect message for
7387 inferiors that exit with non-zero exit code.
7389 2014-05-14 Yao Qi <yao@codesourcery.com>
7391 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7392 match absolute path on remote host.
7393 (test_file_list_exec_source_files): Remove "/" from the
7396 2014-05-14 Yao Qi <yao@codesourcery.com>
7398 * boards/local-remote-host-notty.exp (${board}_file): New
7401 2014-05-07 Kyle McMartin <kyle@redhat.com>
7403 Pushed by Joel Brobecker <brobecker@adacore.com>.
7404 * gdb.arch/aarch64-atomic-inst.c: New file.
7405 * gdb.arch/aarch64-atomic-inst.exp: New file.
7407 2014-05-07 Yao Qi <yao@codesourcery.com>
7409 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7410 in current context" too.
7412 2014-05-05 Keith Seitz <keiths@redhat.com>
7414 * gdb.linespec/ls-dollar.exp: Add test for linespec
7415 file:convenience_variable.
7417 2014-05-05 Yao Qi <yao@codesourcery.com>
7419 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7420 traceframes into tfile and ctf trace files. Read data from
7421 trace file and test collected data.
7422 (gdb_collect_locals_test): Likewise.
7423 (gdb_unavailable_registers_test): Likewise.
7424 (gdb_unavailable_floats): Likewise.
7425 (gdb_collect_globals_test): Likewise.
7426 (top-level): Append "ctf" to trace_file_targets if GDB
7429 2014-05-05 Yao Qi <yao@codesourcery.com>
7431 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7433 (gdb_collect_args_test_1): ... it. New proc.
7434 (gdb_collect_locals_test): Move some code to ...
7435 (gdb_collect_locals_test_1): ... it. New proc.
7436 (gdb_unavailable_registers_test): Move some code to ...
7437 (gdb_unavailable_registers_test_1): ... it. New proc.
7438 (gdb_unavailable_floats): Move some code to ...
7439 (gdb_unavailable_floats_1): ... it. New proc.
7441 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7443 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7444 probes to test for bitness recognition.
7445 * gdb.arch/amd64-stap-optional-prefix.exp
7446 (test_probe_value_without_reg): New procedure.
7447 Add code to test for different kinds of bitness.
7449 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7451 PR breakpoints/16889
7452 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7453 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7455 2014-05-01 Pedro Alves <palves@redhat.com>
7457 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7458 gdb_file_cmd if no file is specified.
7459 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7460 last_loaded_file to set the remote exec-file.
7462 2014-05-01 Pedro Alves <palves@redhat.com>
7464 * boards/local-remote-host.exp: New file.
7466 2014-05-01 Pedro Alves <palves@redhat.com>
7468 * boards/local-remote-host.exp: Rename to ...
7469 * boards/local-remote-host-notty.exp: ... this.
7471 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7473 * gdb.ada/dyn_arrayidx: New testcase.
7475 2014-04-26 Yao Qi <yao@codesourcery.com>
7477 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7478 and compute the length of function main. Save it in
7480 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7481 (top-level): Use gdb_compile to compile objects into
7482 executable and restart GDB. Remove invocation to
7483 prepare_for_testing.
7485 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7486 Pedro Alves <palves@redhat.com>
7489 * gdb.multi/multi-attach.c: New file.
7490 * gdb.multi/multi-attach.exp: New file.
7492 2014-04-25 Pedro Alves <palves@redhat.com>
7494 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7496 (top level): Test that "set remote conditional-breakpoints-packet
7497 off" works as intended.
7498 * gdb.base/dprintf.exp: Test that "set remote
7499 breakpoint-commands-packet off" works as intended.
7500 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7502 (top level): Call it.
7503 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7504 remote fast-tracepoints-packet off" works as intended.
7505 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7506 * lib/gdb.exp (gdb_is_target_remote): ... here.
7508 2014-04-24 David Blaikie <dblaikie@gmail.com>
7510 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7511 ensure clang would not discard them.
7512 * gdb.base/gdbvars.c: Ditto.
7513 * gdb.base/memattr.c: Ditto.
7514 * gdb.base/whatis.c: Ditto.
7515 * gdb.python/py-prettyprint.c: Ditto.
7516 * gdb.trace/actions.c: Ditto.
7517 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7518 ensure clang would not discard it.
7520 2014-04-24 David Blaikie <dblaikie@gmail.com>
7522 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7523 clang to emit the full definition of type required by the test
7524 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7526 2014-04-24 David Blaikie <dblaikie@gmail.com>
7528 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7529 coax Clang into emitting the definition of the type.
7530 * gdb.cp/pr10728-x.h (y): Ditto.
7531 * gdb.cp/pr10728-y.cc (y): Ditto.
7533 2014-04-24 David Blaikie <dblaikie@gmail.com>
7535 * gdb.base/label.exp: XFAIL label related tests under Clang.
7536 * gdb.cp/cplabel.exp: Ditto.
7537 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7538 under Clang those using labels.
7540 2014-04-25 Yao Qi <yao@codesourcery.com>
7542 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7544 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7545 partial_label and double_label.
7547 2014-04-24 David Blaikie <dblaikie@gmail.com>
7549 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7551 2014-04-24 David Blaikie <dblaikie@gmail.com>
7553 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7554 of the function to work across GCC and Clang.
7555 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7556 pointer types (const void ** const V void **).
7558 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7559 Walfred Tedeschi <walfred.tedeschi@intel.com>
7561 * Makefile.in (EXECUTABLES): Added i386-avx512.
7562 * gdb.arch/i386-avx512.c: New file.
7563 * gdb.arch/i386-avx512.exp: Likewise.
7565 2014-04-23 Keith Seitz <keiths@redhat.com>
7567 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7568 (mi_make_breakpoint_table): New procedure.
7569 (mi_create_breakpoint): Use mi_make_breakpoint
7570 and return the result.
7571 (mi_make_breakpoint): New procedure.
7572 (mi_build_kv_pairs): New procedure.
7574 * gdb.mi/mi-break.exp: Remove unused globals,
7575 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7576 All callers updated.
7577 * gdb.mi/mi-dprintf.exp: Use variable to track command
7579 Update all callers of mi_create_breakpoint and use
7580 mi_make_breakpoint_table.
7581 Remove any unused global variables.
7582 * gdb.mi/mi-nonstop.exp: Likewise.
7583 * gdb.mi/mi-nsintrall.exp: Likewise.
7584 * gdb.mi/mi-nsmoribund.exp: Likewise.
7585 * gdb.mi/mi-nsthrexec.exp: Likewise.
7586 * gdb.mi/mi-reverse.exp: Likewise.
7587 * gdb.mi/mi-simplerun.exp: Likewise.
7588 * gdb.mi/mi-stepn.exp: Likewise.
7589 * gdb.mi/mi-syn-frame.exp: Likewise.
7590 * gdb.mi/mi-until.exp: Likewise.
7591 * gdb.mi/mi-var-cp.exp: Likewise.
7592 * gdb.mi/mi-var-display.exp: Likewise.
7593 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7594 * gdb.mi/mi2-var-child.exp: Likewise.
7595 * gdb.mi/mi-vla-c99.exp: Likewise.
7596 * lib/mi-support.exp: Likewise.
7598 From Ian Lance Taylor <iant@cygnus.com>:
7599 * lib/gdb.exp (parse_args): New procedure.
7601 2014-04-23 Pedro Alves <palves@redhat.com>
7603 * gdb.base/break-unload-file.c: New file.
7604 * gdb.base/break-unload-file.exp: New file.
7605 * gdb.base/sym-file-lib.c (baz): New function.
7606 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7608 (load): Store the segment's mapped size.
7609 (unload): New function.
7610 (unload_shlib): New function.
7611 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7612 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7613 set a breakpoint at baz, and call it.
7614 * gdb.base/sym-file.exp: New tests for stale breakpoint
7617 2014-04-23 Pedro Alves <palves@redhat.com>
7619 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7620 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7621 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7622 * gdb.base/hbreak-unmapped.c: New file.
7623 * gdb.base/hbreak-unmapped.exp: New file.
7624 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7625 * lib/gdb.exp (gdb_is_target_remote): ... here.
7627 2014-04-22 Pedro Alves <palves@redhat.com>
7629 * gdb.base/consecutive-step-over.c: New file.
7630 * gdb.base/consecutive-step-over.exp: New file.
7632 2014-04-22 Pedro Alves <palves@redhat.com>
7634 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7635 instead of send_gdb/gdb_expect.
7637 2014-04-22 Yao Qi <yao@codesourcery.com>
7639 * lib/trace-support.exp (generate_tracefile): New procedure.
7640 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7642 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7643 if generate_tracefile returns 1.
7645 2014-04-18 Tom Tromey <palves@redhat.com>
7646 Pedro alves <tromey@redhat.com>
7649 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7650 with a backtrace limit.
7651 * gdb.python/py-frame-inline.exp: Test running to an inline
7652 function with a backtrace limit, and printing the newest frame.
7653 * gdb.python/py-frame-inline.c (main): Call f.
7655 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7657 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7659 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7661 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7662 Drop prefix from unsupported source file path.
7664 2014-04-17 Yao Qi <yao@codesourcery.com>
7666 * lib/gdb.exp (with_target_charset): New proc.
7667 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7668 with_target_charset.
7669 (test_print_strings): Likewise.
7670 (test_repeat_bytes): Likewise.
7671 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7674 2014-04-16 Keith Seitz <keiths@redhat.com>
7677 * gdb.dwarf2/corrupt.c: New file.
7678 * gdb.dwarf2/corrupt.exp: New file.
7680 2014-04-16 Keith Seitz <keiths@redhat.com>
7683 * gdb.cp/namelessclass.cc: New file.
7684 * gdb.cp/namelessclass.exp: New file.
7685 * gdb.cp/namelessclass.S: New file.
7687 2014-04-16 Doug Evans <dje@google.com>
7689 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7691 (gdbserver_default_get_comm_port): New function.
7692 (gdbserver_start): Check if board file provided
7693 "gdbserver,get_comm_port" and use it if so.
7694 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7695 (gdb,socketport): Set to "stdio".
7696 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7697 (stdio_gdbserver_template): Delete.
7698 (${board}_get_remote_address): Update.
7699 (${board}_build_remote_cmd): Delete.
7700 (${board}_get_comm_port): New function.
7701 (${board}_spawn): Update.
7702 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7704 (${board}_get_remote_address): Update.
7705 (${board}_get_comm_port): New function.
7707 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7709 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7710 appearing in any order.
7712 2014-04-15 Doug Evans <dje@google.com>
7714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7715 uninitialized value of "description".
7717 2014-04-15 Keith Seitz <keiths@redhat.com>
7719 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7720 Remove unused globals.
7721 (test_running_the_program): Likewise.
7722 (test_controlled_execution): Likewise.
7723 (test_controlling_breakpoints): Likewise.
7724 (test_program_termination): Likewise.
7726 2014-04-15 Keith Seitz <keiths@redhat.com>
7728 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7730 (test_rbreak_creation_and_listing): Likewise.
7731 (test_ignore_count): Likewise.
7732 (test_error): Likewise.
7734 2014-04-15 Pedro Alves <palves@redhat.com>
7736 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7737 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7739 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7740 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7741 to sym-file-loader.c.
7742 (struct library): Forward declare.
7743 (load_shlib, lookup_function): Change prototypes.
7744 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7745 (translate_offset): Remove declarations.
7746 (get_text_addr): New declaration.
7747 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7748 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7750 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7751 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7752 here from sym-file-loader.h.
7753 (struct library): New structure.
7754 (load_shlib, lookup_function): Change prototypes and adjust to
7755 work with a struct library.
7756 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7757 (translate_offset): Make static.
7758 (get_text_addr): New function.
7759 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7761 2014-04-15 Pedro Alves <palves@redhat.com>
7763 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7765 2014-04-15 Pedro Alves <palves@redhat.com>
7767 * gdb.base/sym-file-loader.c: Include <limits.h>.
7768 (SELF_LINK): New define.
7769 (get_origin): New function.
7770 (load_shlib): Use it.
7771 * gdb.base/sym-file.exp: Don't early return if the target is
7772 remote. Use runto_main, and issue fail is that fails. Use
7774 (shlib_name): Delete.
7775 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7777 2014-04-15 Pedro Alves <palves@redhat.com>
7779 * gdb.base/sym-file.exp: Remove regex characters from test
7780 message. Don't refer to breakpoint numbers in test messages.
7782 2014-04-14 Keith Seitz <keiths@redhat.com>
7785 * gdb.cp/var-tag.cc: New file.
7786 * gdb.cp/var-tag.exp: New file.
7787 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7788 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7789 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7790 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7792 2014-04-14 Tom Tromey <tromey@redhat.com>
7794 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7795 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7797 * gdb.cp/enum-class.exp: New file.
7798 * gdb.cp/enum-class.cc: New file.
7800 2014-04-14 Tom Tromey <tromey@redhat.com>
7802 * gdb.dwarf2/enum-type.exp: New file.
7804 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7806 * gdb.mi/mi-vla-c99.exp: New file.
7807 * gdb.mi/vla.c: New file.
7809 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7811 * gdb.base/vla-datatypes.c: New file.
7812 * gdb.base/vla-datatypes.exp: New file.
7814 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7816 * gdb.base/vla-ptr.c: New file.
7817 * gdb.base/vla-ptr.exp: New file.
7819 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7821 * gdb.dwarf2/count.exp: New file.
7823 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7825 * gdb.base/vla-sideeffect.c: New file.
7826 * gdb.base/vla-sideeffect.exp: New file.
7828 2014-04-14 David Blaikie <dblaikie@gmail.com>
7830 * gdb.mi/non-stop.c: Add return value for non-void function return
7832 * gdb.threads/staticthreads.c: Ditto.
7834 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7835 Doug Evans <xdje42@gmail.com>
7837 * gdb.guile/scm-value.c: Improve test case.
7838 * gdb.guile/scm-value.exp: Add new test.
7840 2014-04-11 David Blaikie <dblaikie@gmail.com>
7842 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7843 override Clang's default.
7845 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7847 Revert the following changes (regressions):
7849 * gdb.base/vla-sideeffect.c: New file.
7850 * gdb.base/vla-sideeffect.exp: New file.
7852 * gdb.dwarf2/count.exp: New file.
7854 * gdb.base/vla-multi.c: New file.
7855 * gdb.base/vla-multi.exp: New file.
7857 * gdb.base/vla-ptr.c: New file.
7858 * gdb.base/vla-ptr.exp: New file.
7860 * gdb.base/vla-datatypes.c: New file.
7861 * gdb.base/vla-datatypes.exp: New file.
7863 * gdb.mi/mi-vla-c99.exp: New file.
7864 * gdb.mi/vla.c: New file.
7866 2014-04-11 Keith Seitz <keiths@redhat.com>
7869 * gdb.cp/cpsizeof.exp: New file.
7870 * gdb.cp/cpsizeof.cc: New file.
7872 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7874 * gdb.mi/mi-vla-c99.exp: New file.
7875 * gdb.mi/vla.c: New file.
7877 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7879 * gdb.base/vla-datatypes.c: New file.
7880 * gdb.base/vla-datatypes.exp: New file.
7882 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7884 * gdb.base/vla-ptr.c: New file.
7885 * gdb.base/vla-ptr.exp: New file.
7887 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7889 * gdb.base/vla-multi.c: New file.
7890 * gdb.base/vla-multi.exp: New file.
7892 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7894 * gdb.dwarf2/count.exp: New file.
7896 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7898 * gdb.base/vla-sideeffect.c: New file.
7899 * gdb.base/vla-sideeffect.exp: New file.
7901 2014-04-11 Yao Qi <yao@codesourcery.com>
7903 * gdb.base/completion.exp: Check file exists before running tests
7906 2014-04-10 Pedro Alves <palves@redhat.com>
7908 * gdb.base/cond-eval-mode.c: New file.
7909 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7910 prepare_for_testing to build the new file. Check result of
7912 (test_break, test_watch): New procedures.
7913 (top level): Use them.
7915 2014-04-08 Pierre Muller <muller@sourceware.org>
7917 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7918 Ctrl-V use for mingw hosts.
7920 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7922 * gdb.python/py-value.c: Improve test case.
7923 * gdb.python/py-value.exp: Add new test.
7925 2014-04-07 David Blaikie <dblaikie@gmail.com>
7927 * lib/compiler.c: Identify the clang compiler.
7928 * lib/compiler.cc: Ditto.
7930 2014-04-03 Yao Qi <yao@codesourcery.com>
7932 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7934 2014-04-01 Anton Blanchard <anton@samba.org>
7936 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7939 2014-04-01 Anton Blanchard <anton@samba.org>
7941 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7942 prepare_for_testing.
7944 2014-04-01 Anton Blanchard <anton@samba.org>
7946 * gdb.arch/ppc64-atomic-inst.c: Remove.
7947 * gdb.arch/ppc64-atomic-inst.S: New file.
7948 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7950 2014-03-31 Doug Evans <dje@google.com>
7952 * gdb.base/print-symbol-loading-lib.c: New file.
7953 * gdb.base/print-symbol-loading-main.c: New file.
7954 * gdb.base/print-symbol-loading.exp: New file.
7956 2014-03-31 Yao Qi <yao@codesourcery.com>
7958 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7960 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7962 * gdb.ada/mi_dyn_arr: New testcase.
7964 2014-03-27 Doug Evans <dje@google.com>
7966 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7968 2014-03-27 Yao Qi <yao@codesourcery.com>
7970 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7971 if target is nios2-*-*.
7973 2014-03-26 Yao Qi <yao@codesourcery.com>
7975 * lib/gdb.exp (readline_is_used): New proc.
7976 * gdb.base/completion.exp: Move tests on command complete up.
7977 Skip the rest of tests if readline is not used.
7978 * gdb.ada/complete.exp: Skp the test if readline is not
7980 * gdb.base/filesym.exp: Likewise.
7981 * gdb.base/macscp.exp: Likewise.
7982 * gdb.base/readline-ask.exp: Likewise.
7983 * gdb.base/readline.exp: Likewise.
7984 * gdb.python/py-cmd.exp: Likewise.
7985 * gdb.trace/tfile.exp: Likewise.
7987 2014-03-26 Yao Qi <yao@codesourcery.com>
7989 * gdb.base/macscp.exp: Fix code format issues.
7991 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7993 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7994 * gdb.asm/powerpc64le.inc: New file.
7996 2014-03-25 Pedro Alves <palves@redhat.com>
7997 Doug Evans <dje@google.com>
7999 * gdb.base/source-execution.c: New file.
8000 * gdb.base/source-execution.exp: New file.
8001 * gdb.base/source-execution.gdb: New file.
8003 2014-03-24 Doug Evans <dje@google.com>
8005 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
8008 2014-03-24 Hui Zhu <hui@codesourcery.com>
8009 Pedro Alves <palves@redhat.com>
8011 PR breakpoints/16101
8012 * gdb.base/dprintf.exp: Use unsupported rather than changing the
8013 test pass/fail messages. Detect missing support for dprintf when
8014 breakpoints are actually inserted.
8015 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
8016 breakpoints are actually inserted.
8017 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
8020 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8022 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8024 2014-03-22 Doug Evans <xdje42@gmail.com>
8026 * gdb.python/python.exp (python not supported): Verify multi-line
8027 python command issues an error.
8028 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8029 guile command issues an error.
8031 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8033 * gdb.threads/thread-specific.exp: Handle the lack of usable
8034 $this_breakpoint and $this_thread.
8036 2014-03-21 Hui Zhu <hui@codesourcery.com>
8038 * gdb.base/attach.exp (do_command_attach_tests): New.
8040 2014-03-20 Tom Tromey <tromey@redhat.com>
8041 Pedro Alves <palves@redhat.com>
8044 * gdb.base/condbreak-call-false.c: New file.
8045 * gdb.base/condbreak-call-false.exp: New file.
8047 2014-03-20 Pedro Alves <palves@redhat.com>
8049 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8051 (block_signals, unblock_signals): Delete.
8052 (child_function_2, main): Remove references to deleted variable
8055 2014-03-20 Pedro Alves <palves@redhat.com>
8057 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8058 Use pthread_kill to signal thread 2.
8059 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8060 Adjust to make the test send itself a signal rather than using the
8061 host's "kill" command.
8063 2014-03-20 Pedro Alves <palves@redhat.com>
8065 * gdb.threads/multiple-step-overs.c: New file.
8066 * gdb.threads/multiple-step-overs.exp: New file.
8067 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8068 Adjust expected infrun debug output.
8070 2014-03-20 Pedro Alves <palves@redhat.com>
8072 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8073 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8075 2014-03-20 Pedro Alves <palves@redhat.com>
8078 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8079 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8080 of gdb_test_multiple.
8081 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8082 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8084 2014-03-20 Pedro Alves <palves@redhat.com>
8086 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8087 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8089 2014-03-19 Pedro Alves <palves@redhat.com>
8091 * gdb.base/async.exp: Remove early return.
8093 2014-03-19 Pedro Alves <palves@redhat.com>
8095 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8097 2014-03-19 Pedro Alves <palves@redhat.com>
8099 * gdb.base/async.exp (test_background): Expect \r\n after
8100 "completed." in the fail pattern.
8102 2014-03-19 Pedro Alves <palves@redhat.com>
8104 * gdb.base/async.exp (test_background): New procedure.
8105 Use it for all background execution command tests.
8107 2014-03-19 Pedro Alves <palves@redhat.com>
8109 * gdb.base/async.exp: Use prepare_for_testing.
8111 2014-03-19 Pedro Alves <palves@redhat.com>
8113 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8116 2014-03-19 Pedro Alves <palves@redhat.com>
8118 * gdb.base/async.c (main): Add "jump here" and "until here" line
8120 * gdb.base/async.exp (jump_here): New global.
8121 (jump& test): Use it.
8122 (until_here): New global.
8123 (until& test): Use it.
8125 2014-03-19 Pedro Alves <palves@redhat.com>
8127 * gdb.base/async.exp: Don't frob gdb_protocol.
8129 2014-03-18 Doug Evans <xdje42@gmail.com>
8131 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8132 Fix spelling of exec-done-display.
8134 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8137 * gdb.base/gdb-sigterm.c: New file.
8138 * gdb.base/gdb-sigterm.exp: New file.
8140 2014-03-18 Pedro Alves <palves@redhat.com>
8143 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8144 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8147 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8149 * gdb.ada/pckd_arr_ren: New testcase.
8151 2014-03-13 Doug Evans <xdje42@gmail.com>
8154 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8155 collect after discarding symbols.
8157 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8158 Doug Evans <xdje42@gmail.com>
8160 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8161 to history survives a gc.
8163 2014-03-13 Pedro Alves <palves@redhat.com>
8165 * gdb.base/default.exp: Don't test "target procfs".
8167 2014-03-13 Pedro Alves <palves@redhat.com>
8169 * gdb.base/default.exp: Update "target child" and "target procfs"
8170 tests to not expect "Unix".
8172 2014-03-12 Tom Tromey <tromey@redhat.com>
8174 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8175 New procs. Add target-async tests.
8176 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8177 Add target-async tests.
8179 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8181 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8182 'func_start' and 'func_end' for the beginning and end of the
8183 function code, respectively.
8184 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8185 'func_end' instead of 'func' and 'main'.
8187 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8189 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8190 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8191 generate the debug info assembler source.
8193 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8195 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8196 * gdb.dwarf2/arr-subrange.exp: Likewise.
8197 * gdb.dwarf2/dwz.exp: Likewise.
8198 * gdb.dwarf2/method-ptr.exp: Likewise.
8199 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8200 * gdb.dwarf2/subrange.exp: Likewise.
8201 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8202 * gdb.dwarf2/implptrpiece.exp: Likewise.
8203 * gdb.dwarf2/nostaticblock.exp: Likewise.
8205 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8207 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8208 directory to absolute path name arguments.
8210 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8212 * gdb.ada/tagged_access: New testcase.
8214 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8216 * gdb.btrace/data.exp: Update expected output.
8218 2014-03-06 Yao Qi <yao@codesourcery.com>
8220 * gdb.trace/pr16508.exp: New file.
8222 2014-03-05 Pedro Alves <palves@redhat.com>
8225 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8227 (top level): Adjust to use it. Add tests that exercise breakpoint
8228 interaction with the code-cache.
8230 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8232 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8233 test for 'history-append!'.
8235 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8237 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8238 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8239 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8240 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8241 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8242 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8244 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8246 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8247 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8248 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8250 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8252 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8254 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8256 * gdb.dwarf2/arr-stride.c: New file.
8257 * gdb.dwarf2/arr-stride.exp: New file.
8259 2014-02-26 Pedro Alves <palves@redhat.com>
8261 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8262 that won't ever trigger. Make sure that GDB reports the correct
8263 breakpoint that caused the stop.
8265 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8268 * gdb.base/auto-load-script: New file.
8269 * gdb.base/auto-load.c: New file.
8270 * gdb.base/auto-load.exp: New file.
8273 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8275 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8277 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8278 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8280 2014-02-24 Doug Evans <dje@google.com>
8282 * lib/gdb.exp (run_on_host): Log error output if program fails.
8284 2014-02-21 Pedro Alves <palves@redhat.com>
8286 * gdb.threads/step-after-sr-lock.c: Rename to ...
8287 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8288 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8289 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8292 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8295 * gdb.arch/amd64-stap-special-operands.exp: New file.
8296 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8297 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8298 * gdb.arch/amd64-stap-triplet.S: Likewise.
8299 * gdb.arch/amd64-stap-triplet.c: Likewise.
8301 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8303 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8304 in .section pseudo-op.
8306 2014-02-20 lin zuojian <manjian2006@gmail.com>
8307 Joel Brobecker <brobecker@adacore.com>
8308 Doug Evans <xdje42@gmail.com>
8311 * gdb.dwarf2/dw2-icycle.S: New file.
8312 * gdb.dwarf2/dw2-icycle.c: New file.
8313 * gdb.dwarf2/dw2-icycle.exp: New file.
8315 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8317 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8318 operations on gdb.Value objects.
8319 * gdb.python/py-value-cc.exp: Add new test to test operations on
8322 2014-02-18 Doug Evans <dje@google.com>
8324 * Makefile.in (TESTS): New variable.
8325 (expanded_tests, expanded_tests_or_none): New variables
8326 (check-single): Pass $(expanded_tests_or_none) to runtest.
8327 (check-parallel): Only run tests in $(TESTS) if non-empty.
8328 (check/no-matching-tests-found): New rule.
8329 * README: Document TESTS makefile variable.
8331 2014-02-18 Doug Evans <dje@google.com>
8333 * Makefile.in (check-parallel): rm -rf outputs temp.
8335 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8337 Fix "ERROR: no fileid for" in the testsuite.
8338 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8340 2014-02-12 Doug Evans <dje@google.com>
8342 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8343 (MISCELLANEOUS): New variable.
8344 (clean): rm -rf $(MISCELLANEOUS).
8345 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8346 dwp live in the same directory as symlinks, with each symlink pointed
8347 to a differently named file in a different directory.
8349 2014-02-11 Doug Evans <dje@google.com>
8351 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8352 of Tcl file commands.
8354 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8356 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8359 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8361 * gdb.ada/tick_length_array_enum_idx: New testcase.
8363 2014-02-10 Doug Evans <xdje42@gmail.com>
8365 * configure.ac (AC_OUTPUT): Add gdb.guile.
8366 * configure: Regenerate.
8367 * lib/gdb-guile.exp: New file.
8368 * lib/gdb.exp (get_target_charset): New function.
8369 * gdb.base/help.exp: Update expected output from "apropos apropos".
8370 * gdb.guile/Makefile.in: New file.
8371 * gdb.guile/guile.exp: New file.
8372 * gdb.guile/scm-arch.c: New file.
8373 * gdb.guile/scm-arch.exp: New file.
8374 * gdb.guile/scm-block.c: New file.
8375 * gdb.guile/scm-block.exp: New file.
8376 * gdb.guile/scm-breakpoint.c: New file.
8377 * gdb.guile/scm-breakpoint.exp: New file.
8378 * gdb.guile/scm-disasm.c: New file.
8379 * gdb.guile/scm-disasm.exp: New file.
8380 * gdb.guile/scm-equal.c: New file.
8381 * gdb.guile/scm-equal.exp: New file.
8382 * gdb.guile/scm-error.exp: New file.
8383 * gdb.guile/scm-error.scm: New file.
8384 * gdb.guile/scm-frame-args.c: New file.
8385 * gdb.guile/scm-frame-args.exp: New file.
8386 * gdb.guile/scm-frame-args.scm: New file.
8387 * gdb.guile/scm-frame-inline.c: New file.
8388 * gdb.guile/scm-frame-inline.exp: New file.
8389 * gdb.guile/scm-frame.c: New file.
8390 * gdb.guile/scm-frame.exp: New file.
8391 * gdb.guile/scm-generics.exp: New file.
8392 * gdb.guile/scm-gsmob.exp: New file.
8393 * gdb.guile/scm-iterator.c: New file.
8394 * gdb.guile/scm-iterator.exp: New file.
8395 * gdb.guile/scm-math.c: New file.
8396 * gdb.guile/scm-math.exp: New file.
8397 * gdb.guile/scm-objfile-script-gdb.in: New file.
8398 * gdb.guile/scm-objfile-script.c: New file.
8399 * gdb.guile/scm-objfile-script.exp: New file.
8400 * gdb.guile/scm-objfile.c: New file.
8401 * gdb.guile/scm-objfile.exp: New file.
8402 * gdb.guile/scm-ports.exp: New file.
8403 * gdb.guile/scm-pretty-print.c: New file.
8404 * gdb.guile/scm-pretty-print.exp: New file.
8405 * gdb.guile/scm-pretty-print.scm: New file.
8406 * gdb.guile/scm-section-script.c: New file.
8407 * gdb.guile/scm-section-script.exp: New file.
8408 * gdb.guile/scm-section-script.scm: New file.
8409 * gdb.guile/scm-symbol.c: New file.
8410 * gdb.guile/scm-symbol.exp: New file.
8411 * gdb.guile/scm-symtab-2.c: New file.
8412 * gdb.guile/scm-symtab.c: New file.
8413 * gdb.guile/scm-symtab.exp: New file.
8414 * gdb.guile/scm-type.c: New file.
8415 * gdb.guile/scm-type.exp: New file.
8416 * gdb.guile/scm-value-cc.cc: New file.
8417 * gdb.guile/scm-value-cc.exp: New file.
8418 * gdb.guile/scm-value.c: New file.
8419 * gdb.guile/scm-value.exp: New file.
8420 * gdb.guile/source2.scm: New file.
8421 * gdb.guile/types-module.cc: New file.
8422 * gdb.guile/types-module.exp: New file.
8424 2014-02-10 Yao Qi <yao@codesourcery.com>
8427 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8428 * configure: Regenerated.
8429 * Makefile.in: New file.
8431 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8433 * gdb.python/py-framefilter.exp: Fix typo.
8435 2014-02-08 Yao Qi <yao@codesourcery.com>
8437 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8438 that no =breakpoint-modified is emitted when breakpoints are
8439 modified through MI commands.
8441 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8442 Pedro Alves <palves@redhat.com>
8444 * gdb.threads/step-after-sr-lock.c: New file.
8445 * gdb.threads/step-after-sr-lock.exp: New file.
8447 2014-02-07 Pedro Alves <palves@redhat.com>
8449 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8451 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8453 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8454 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8456 2014-02-06 Doug Evans <xdje42@gmail.com>
8458 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8461 * gdb.gdb/python-interrupts.exp: New file.
8463 2014-02-05 Yao Qi <yao@codesourcery.com>
8465 * gdb.trace/report.exp (use_collected_data): Test the output
8466 of "info threads" and "info inferiors".
8468 2014-02-05 Yao Qi <yao@codesourcery.com>
8472 2013-05-24 Yao Qi <yao@codesourcery.com>
8474 * gdb.trace/tfile.exp: Test inferior and thread.
8476 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8478 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8480 * gdb.base/step-bt.c: Call hello via function pointer to make
8481 sure its first instruction is executed on powerpc64le-linux.
8483 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8485 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8487 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8489 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8490 of the test patterns for use on little-endian systems.
8492 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8494 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8495 (decimal_vector): Fix for little-endian.
8497 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8499 * gdb.arch/sparc-sysstep.exp: New file.
8500 * gdb.arch/sparc-sysstep.c: Likewise.
8502 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8504 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8506 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8508 2014-01-23 Tom Tromey <tromey@redhat.com>
8510 * gdb.ada/array_char_idx: New testcase.
8512 2014-01-23 Tom Tromey <tromey@redhat.com>
8515 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8516 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8519 2014-01-23 Tom Tromey <tromey@redhat.com>
8522 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8523 string from an inferior frame.
8524 * gdb.python/py-framefilter-mi.exp: Update.
8526 2014-01-22 Doug Evans <dje@google.com>
8528 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8530 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8532 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8534 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8536 * gdb.trace/entry-values.exp: Remove excess space character from
8537 regex patterns. Handle s390 call instruction.
8539 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8541 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8542 define "*_start" label. Make "name" static.
8543 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8544 ${name} by references to ${name}_start.
8546 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8548 * gdb.base/info-macros.exp: Remove "debug" from the compile
8551 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8553 * gdb.dlang/demangle.exp: New file.
8555 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8557 * gdb.dlang/primitive-types.exp: New file.
8559 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8561 * configure.ac: Create gdb.dlang/Makefile.
8562 * configure: Regenerate.
8563 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8564 * gdb.dlang/Makefile.in: New file.
8565 * lib/d-support.exp: New file.
8566 * lib/gdb.exp (skip_d_tests): New proc.
8568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8570 * gdb.btrace/delta.exp: Check reverse stepi.
8571 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8572 * gdb.btrace/finish.exp: New.
8573 * gdb.btrace/next.exp: New.
8574 * gdb.btrace/nexti.exp: New.
8575 * gdb.btrace/record_goto.c: Add comments.
8576 * gdb.btrace/step.exp: New.
8577 * gdb.btrace/stepi.exp: New.
8578 * gdb.btrace/multi-thread-step.c: New.
8579 * gdb.btrace/multi-thread-step.exp: New.
8580 * gdb.btrace/rn-dl-bind.c: New.
8581 * gdb.btrace/rn-dl-bind.exp: New.
8582 * gdb.btrace/data.c: New.
8583 * gdb.btrace/data.exp: New.
8584 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8586 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8588 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8589 * gdb.btrace/exception.exp: Update.
8590 * gdb.btrace/instruction_history.exp: Update.
8591 * gdb.btrace/record_goto.exp: Update.
8592 * gdb.btrace/tailcall.exp: Update.
8593 * gdb.btrace/unknown_functions.exp: Update.
8594 * gdb.btrace/delta.exp: New.
8596 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8598 * gdb.btrace/record_goto.exp: Add backtrace test.
8599 * gdb.btrace/tailcall.exp: Add backtrace test.
8601 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8603 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8604 * gdb.btrace/record_goto.c: New.
8605 * gdb.btrace/record_goto.exp: New.
8606 * gdb.btrace/x86-record_goto.S: New.
8608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8610 * gdb.btrace/function_call_history.exp: Update tests.
8611 * gdb.btrace/instruction_history.exp: Update tests.
8613 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8615 * gdb.btrace/function_call_history.exp: Fix expected field
8616 order for "record function-call-history".
8617 Add new tests for "record function-call-history /c".
8618 * gdb.btrace/exception.cc: New.
8619 * gdb.btrace/exception.exp: New.
8620 * gdb.btrace/tailcall.exp: New.
8621 * gdb.btrace/x86-tailcall.S: New.
8622 * gdb.btrace/x86-tailcall.c: New.
8623 * gdb.btrace/unknown_functions.c: New.
8624 * gdb.btrace/unknown_functions.exp: New.
8625 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8627 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8629 * gdb.btrace/instruction_history.exp: Update.
8630 * gdb.btrace/function_call_history.exp: Update.
8632 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8634 * gdb.btrace/function_call_history.exp: Fix expected function
8636 * gdb.btrace/instruction_history.exp: Initialize traced.
8637 Remove traced_functions.
8639 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8641 * gdb.btrace/function_call_history.exp: Update
8642 * gdb.btrace/instruction_history.exp: Update.
8644 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8646 * gdb.btrace/enable.exp: Update expected text.
8648 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8650 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8653 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8655 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8657 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8659 * lib/gdb.exp (supports_process_record): Return true for
8660 arm*-linux*. (supports_reverse): Likewise.
8662 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8666 * gdb.python/py-type.c: Enhance test case.
8667 * gdb.python/py-value-cc.cc: Likewise
8668 * gdb.python/py-type.exp: Add new tests.
8669 * gdb.python/py-value-cc.exp: Likewise
8671 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8672 Pedro Alves <palves@redhat.com>
8674 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8676 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8677 references to ${name}_start by references to ${name}.
8679 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8681 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8683 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8685 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8687 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8688 Pedro Alves <palves@redhat.com>
8690 * gdb.mi/mi-info-os.exp: Connect to the target with
8693 2014-01-08 Pedro Alves <palves@redhat.com>
8695 * gdb.threads/reconnect-signal.c: New file.
8696 * gdb.threads/reconnect-signal.exp: New file.
8698 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8700 * gdb.base/source-dir.exp: New file.
8702 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8704 * gdb.ada/mi_interface: New testcase.
8706 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8708 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8709 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8710 gdb.ada/pp-rec-component/pck.ads: New files.
8712 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8714 * gdb.python/py-pp-integral.c: New file.
8715 * gdb.python/py-pp-integral.py: New file.
8716 * gdb.python/py-pp-integral.exp: New file.
8718 For older changes see ChangeLog-1993-2013.
8724 ;; version-control: never
8727 Copyright 2014-2016 Free Software Foundation, Inc.
8728 Copying and distribution of this file, with or without modification,
8729 are permitted provided the copyright notice and this notice are preserved.