1 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5 * gdb.rust/simple.exp: Add test expectations for new NonZero tests.
7 2016-06-24 David Taylor <dtaylor@emc.com>
9 * gdb.base/offsets.exp: New file.
10 * gdb.base/offsets.c: New file.
12 2016-06-23 Tom Tromey <tom@tromey.com>
15 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
16 before any filters are loaded.
18 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
20 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
21 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
23 * gdb.fortran/derived-type-function.exp: New file.
24 * gdb.fortran/derived-type-function.f90: New file.
27 2016-06-21 Pedro Alves <palves@redhat.com>
29 * gdb.base/new-ui.exp: New file.
30 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
31 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
32 (with_spawn_id): New procedure.
34 2016-06-21 Pedro Alves <palves@redhat.com>
36 * gdb.mi/mi-exec-run.exp: New file.
38 2016-06-21 Pedro Alves <palves@redhat.com>
40 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
41 breakpoint command's output on the main UI.
42 (test_break): New procedure, factored out from calls in the top
44 (top level): Use foreach_with_prefix to test MI as main UI and as
47 2016-06-21 Pedro Alves <palves@redhat.com>
49 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
50 (test_awatch_creation_and_listing)
51 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
52 Remove 'type' parameter.
53 (test_watchpoint_all): New parameter mi_mode. Remove
55 (top level): Use foreach_with_prefix, and add main/separate UI MI
58 2016-06-21 Pedro Alves <palves@redhat.com>
60 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
61 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
62 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
63 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
64 (gdb_main_spawn_id, mi_spawn_id): Declare and
66 (mi_create_inferior_pty): New procedure,
67 factored out from default_mi_gdb_start.
68 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
70 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
71 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
72 Use mi_create_inferior_pty.
73 (mi_gdb_start): Use eval to pass down args list.
75 2016-06-21 Pedro Alves <palves@redhat.com>
77 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
78 * gdb.opt/inline-cmds.exp: Add MI tests.
80 2016-06-21 Pedro Alves <palves@redhat.com>
82 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
84 2016-06-21 Pedro Alves <palves@redhat.com>
86 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
87 (top level): Use it instead of mi_execute_to.
89 2016-06-21 Pedro Alves <palves@redhat.com>
91 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
92 (cont_handler_str): New.
93 (signal_stop_handler): Set stop_handler_str instead of printing to
95 (continue_handler): Set cont_handler_str instead of printing to
97 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
98 mi_send_resuming_command. Print stop_handler_str and
99 cont_handler_str instead of expecting the python events print
102 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
104 * gdb.base/jit-reader.exp: New file.
105 * gdb.base/jithost.c: New file.
106 * gdb.base/jithost.h: New file.
107 * gdb.base/jitreader.c : New file.
108 * gdb.base/jit-protocol.h: New file.
110 2016-06-17 Yao Qi <yao.qi@linaro.org>
112 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
113 parameters follow_fork and detach_on_fork. Set follow-fork-mode
114 and detach-on-fork. Adjust tests.
115 (top level): Invoke break_cond_on_syscall with combinations of
116 syscall, follow-fork-mode and detach-on-fork.
118 2016-06-17 Yao Qi <yao.qi@linaro.org>
120 * gdb.base/step-over-exit.c: New.
121 * gdb.base/step-over-exit.exp: New.
123 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
125 * gdb.base/float.exp: Add target check for nds32*-*-*.
126 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
128 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
130 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
131 for unsupported target features.
132 * gdb.base/call-rt-st.exp: Likewise.
133 * gdb.base/call-sc.exp: Likewise.
134 * gdb.base/call-signal-resume.exp: Likewise.
135 * gdb.base/call-strs.exp: Likewise.
136 * gdb.base/callexit.exp: Likewise.
137 * gdb.base/callfuncs.exp: Likewise.
138 * gdb.base/nodebug.exp: Likewise.
139 * gdb.base/printcmds.exp: Likewise.
140 * gdb.base/ptype.exp: Likewise.
141 * gdb.base/structs.exp: Likewise.
142 * gdb.base/unwindonsignal.exp: Likewise.
143 * gdb.cp/gdb2495.exp: Likewise.
144 * gdb.cp/templates.exp: Likewise.
145 * gdb.cp/virtfunc.exp: Likewise.
146 * gdb.threads/hand-call-in-threads.exp: Likewise.
147 * gdb.threads/interrupted-hand-call.exp: Likewise.
148 * gdb.threads/thread-unwindonsignal.exp: Likewise.
150 2016-06-10 Tom Tromey <tom@tromey.com>
153 * gdb.rust/expr.exp: Add test for integer constant larger than
156 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
158 * gdb.fortran/nested-funcs.exp: New.
159 * gdb.fortran/nested-funcs.f90: New.
161 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
163 * gdb.base/examine-backward.c: New file.
164 * gdb.base/examine-backward.exp: New file.
166 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
168 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
171 2016-06-02 Tom Tromey <tom@tromey.com>
174 * gdb.python/py-shared.exp: Add solib_name test.
176 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
178 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
180 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
183 * gdb.dwarf2/implref.exp: Rename to...
184 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
185 * gdb.dwarf2/implref-array.c: New file.
186 * gdb.dwarf2/implref-array.exp: Likewise.
187 * gdb.dwarf2/implref-global.c: Likewise.
188 * gdb.dwarf2/implref-global.exp: Likewise.
189 * gdb.dwarf2/implref-struct.c: Likewise.
190 * gdb.dwarf2/implref-struct.exp: Likewise.
192 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
194 * gdb.trace/trace-condition.exp: Add 64bit tests.
196 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
198 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
200 (main): Adapt to 8 to 64 bits types.
201 * gdb.trace/trace-condition.exp: Add new tests.
203 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
205 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
207 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
209 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
210 Move condition tests...
211 * gdb.trace/trace-condition.exp: Here.
213 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
215 * gdb.trace/trace-condition.exp: Add counter-case tests.
217 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
220 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
221 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
223 2016-05-27 Pedro Alves <palves@redhat.com>
225 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
227 (top level): Call it, and bail out of DejaGnu is known to be bad.
229 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
231 * gdb.base/whatis.c: Extend the test case.
232 * gdb.base/whatis.exp: Add additional tests.
234 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
236 * gdb.fortran/type.f90: Add pointer variable.
237 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
239 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
241 * gdb.fortran/vla-type.exp: Fix testcase name.
243 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
245 * gdb.fortran/vla-type.exp: Access elements in nested structs.
247 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
249 * gdb.fortran/type.f90: Add nested structures.
250 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
251 * gdb.fortran/derived-type.exp: Adapt expected output.
252 * gdb.fortran/vla-type.exp: Adapt expected output.
254 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
256 * gdb.fortran/whatis_type.exp: Adapt expected output.
258 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
260 * gdb.fortran/print_type.exp: Fix expected output.
261 * gdb.fortran/whatis_type.exp: Fix expected output.
263 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
265 * gdb.fortran/whatis_type.exp: Use multi_line.
267 2016-05-24 Tom Tromey <tom@tromey.com>
270 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
271 use value as an index.
273 2016-05-23 Tom Tromey <tom@tromey.com>
276 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
279 2016-05-24 Pedro Alves <palves@redhat.com>
282 * gdb.threads/clone-attach-detach.c: New file.
283 * gdb.threads/clone-attach-detach.exp: New file.
285 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
287 * gdb.base/annota-input-while-running.exp: Fix syntax error.
289 2016-05-23 Tom Tromey <tom@tromey.com>
291 PR python/19438, PR python/18393:
292 * gdb.python/py-progspace.exp: Add "dir" test.
293 * gdb.python/py-objfile.exp: Add "dir" test.
295 2016-05-23 Yao Qi <yao.qi@linaro.org>
297 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
298 * gdb.arch/thumb2-it.exp: Likewise.
300 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
302 * gdb.mi/mi-threads-interrupt.c: New file.
303 * gdb.mi/mi-threads-interrupt.exp: New file.
305 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
308 * gdb.mi/mi-async-run.exp: New file.
309 * gdb.mi/mi-async-run.c: New file.
311 2016-05-17 Tom Tromey <tom@tromey.com>
312 Manish Goregaokar <manishsmail@gmail.com>
314 * lib/rust-support.exp: New file.
315 * lib/gdb.exp (skip_rust_tests): New proc.
316 (build_executable_from_specs): Handle rust.
317 * lib/future.exp (gdb_find_rustc): New proc.
318 (gdb_default_target_compile): Handle rust.
319 * gdb.rust/expr.exp: New file.
320 * gdb.rust/generics.exp: New file.
321 * gdb.rust/generics.rs: New file.
322 * gdb.rust/methods.exp: New file.
323 * gdb.rust/methods.rs: New file.
324 * gdb.rust/modules.exp: New file.
325 * gdb.rust/modules.rs: New file.
326 * gdb.rust/simple.exp: New file.
327 * gdb.rust/simple.rs: New file.
329 2016-05-17 Tom Tromey <tom@tromey.com>
331 * gdb.base/default.exp (set language): Add rust.
333 2016-05-17 Tom Tromey <tom@tromey.com>
335 * gdb.gdb/unittest.exp: New file.
337 2016-05-16 Yao Qi <yao.qi@linaro.org>
339 * gdb.base/batch-preserve-term-settings.exp: Remove variable
340 shell_prompt. Update shell_prompt_re.
342 2016-05-12 Doug Evans <dje@google.com>
345 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
346 $options when building executable.
347 * gdb.dwarf2/fission-loclists-pie.S: New file.
348 * gdb.dwarf2/fission-loclists-pie.exp: New file.
350 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
352 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
353 of [is_remote target],
355 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
357 * lib/gdb.exp (use_gdb_stub): New procedure.
359 2016-05-03 Yunlian Jiang <yunlian@google.com>
360 Doug Evans <dje@google.com>
363 * gdb.dwarf2/dwp-sepdebug.c: New file.
364 * gdb.dwarf2/dwp-sepdebug.exp: New file.
366 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
368 * gdb.base/detach.exp: Remove is_remote check.
370 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
372 * gdb.base/annota-input-while-running.exp: Don't check for
373 [is_remote target]. Enable annotations after running to main.
374 Remove unused "set test..." line.
376 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
378 * gdb.trace/trace-enable-disable.exp: New file.
379 * gdb.trace/trace-enable-disable.c: New file.
381 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
383 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
384 use it in info sharedlibrary test.
385 * gdb.trace/ftrace-lock.exp: Likewise.
386 * gdb.trace/ftrace.exp: Likewise.
387 * gdb.trace/range-stepping.exp: Likewise.
388 * gdb.trace/trace-break.exp: Likewise.
389 * gdb.trace/trace-condition.exp: Likewise.
390 * gdb.trace/trace-mt.exp: Likewise.
392 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
394 * lib/gdb.exp (gdb_load_shlibs): Rename to...
395 (gdb_load_shlib): ... this.
396 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
398 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
399 * gdb.base/ctxobj.exp: Likewise.
400 * gdb.base/dprintf-pending.exp: Likewise.
401 * gdb.base/dso2dso.exp: Likewise.
402 * gdb.base/fixsection.exp: Likewise.
403 * gdb.base/gcore-relro.exp: Likewise.
404 * gdb.base/gdb1555.exp: Likewise.
405 * gdb.base/global-var-nested-by-dso.exp: Likewise.
406 * gdb.base/gnu-ifunc.exp: Likewise.
407 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
408 * gdb.base/jit-so.exp (one_jit_test): Likewise.
409 * gdb.base/pending.exp: Likewise.
410 * gdb.base/print-file-var.exp: Likewise.
411 * gdb.base/print-symbol-loading.exp: Likewise.
412 * gdb.base/shlib-call.exp: Likewise.
413 * gdb.base/shreloc.exp: Likewise.
414 * gdb.base/so-impl-ld.exp: Likewise.
415 * gdb.base/solib-disc.exp: Likewise.
416 * gdb.base/solib-nodir.exp: Likewise.
417 * gdb.base/solib-overlap.exp: Likewise.
418 * gdb.base/solib-symbol.exp: Likewise.
419 * gdb.base/solib-weak.exp (do_test): Likewise.
420 * gdb.base/sym-file.exp: Likewise.
421 * gdb.base/symtab-search-order.exp: Likewise.
422 * gdb.base/type-opaque.exp: Likewise.
423 * gdb.base/unload.exp: Likewise.
424 * gdb.base/watchpoint-solib.exp: Likewise.
425 * gdb.compile/compile.exp: Likewise.
426 * gdb.cp/gdb2384.exp: Likewise.
427 * gdb.cp/infcall-dlopen.exp: Likewise.
428 * gdb.cp/re-set-overloaded.exp: Likewise.
429 * gdb.fortran/library-module.exp: Likewise.
430 * gdb.opt/solib-intra-step.exp: Likewise.
431 * gdb.python/py-finish-breakpoint.exp: Likewise.
432 * gdb.python/py-shared.exp: Likewise.
433 * gdb.reverse/solib-precsave.exp: Likewise.
434 * gdb.reverse/solib-reverse.exp: Likewise.
435 * gdb.server/solib-list.exp: Likewise.
436 * gdb.threads/dlopen-libpthread.exp: Likewise.
437 * gdb.threads/tls-shared.exp: Likewise.
438 * gdb.threads/tls-so_extern.exp: Likewise.
439 * gdb.trace/change-loc.exp: Likewise.
440 * gdb.trace/ftrace-lock.exp: Likewise.
441 * gdb.trace/ftrace.exp: Likewise.
442 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
443 * gdb.trace/pending.exp: Likewise.
444 * gdb.trace/range-stepping.exp: Likewise.
445 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
446 (strace_info_marker): Likewise.
447 (strace_probe_marker): Likewise.
448 (strace_trace_on_same_addr): Likewise.
449 (strace_trace_on_diff_addr): Likewise.
450 * gdb.trace/trace-break.exp: Likewise.
451 * gdb.trace/trace-condition.exp: Likewise.
452 * gdb.trace/trace-mt.exp: Likewise.
454 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
456 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
457 result of gdb_remote_download.
458 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
459 * gdb.base/dso2dso.exp: Likewise.
460 * gdb.base/global-var-nested-by-dso.exp: Likewise.
461 * gdb.base/print-file-var.exp: Likewise.
462 * gdb.base/shlib-call.exp: Likewise.
463 * gdb.base/shreloc.exp: Likewise.
464 * gdb.base/solib-overlap.exp: Likewise.
465 * gdb.base/solib-weak.exp (do_test): Likewise.
466 * gdb.base/unload.exp: Likewise.
468 2016-04-27 Yao Qi <yao.qi@linaro.org>
470 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
473 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
475 * vla-type.exp: Print structure from toplevel.
477 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
479 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
481 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
484 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
486 * gdb.fortran/vla-type.f90: New file.
487 * gdb.fortran/vla-type.exp: New file.
489 2016-04-25 Yao Qi <yao.qi@linaro.org>
491 * gdb.base/branch-to-self.c: New file.
492 * gdb.base/branch-to-self.exp: New file.
494 2016-04-22 Yao Qi <yao.qi@linaro.org>
496 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
499 2016-04-22 Yao Qi <yao.qi@linaro.org>
501 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
502 * gdb.base/annota3.exp: Likewise.
504 2016-04-22 Yao Qi <yao.qi@linaro.org>
506 * gdb.reverse/step-precsave.exp: Do one step and test program
507 stops in "callee" and do multiple steps until program goes out
509 * gdb.reverse/step-reverse.exp: Likewise.
511 2016-04-22 Yao Qi <yao.qi@linaro.org>
513 * gdb.trace/signal.exp: Also pass if
514 $tracepoint_hits($i) > $iterations.
516 2016-04-22 Yao Qi <yao.qi@linaro.org>
518 * gdb.trace/signal.c: New file.
519 * gdb.trace/signal.exp: New file.
521 2016-04-19 Doug Evans <xdje42@gmail.com>
523 * gdb.base/bad-file.exp: New file.
525 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
527 * gdb.dwarf2/implref.exp: New file.
529 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
531 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
532 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
533 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
534 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
535 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
536 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
537 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
538 * lib/fortran.exp (fortran_int4): New procedure.
539 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
540 (fortran_logical4): Likewise.
542 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
544 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
546 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
548 * lib/compiler.c: Add Intel specific preprocessor macros.
549 * lib/compiler.cc: Likewise.
551 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
553 * gdb.server/connect-with-no-symbol-file.c: New file.
554 * gdb.server/connect-with-no-symbol-file.exp: New file.
556 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
558 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
560 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
562 * boards/gdbserver-base.exp (${board}_download): Copy source file to
563 standard output directory.
565 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
567 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
569 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
571 * gdb.btrace/instruction_history.c (loop): Add declaration.
573 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
575 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
577 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
579 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
580 parentheses to print.
581 (continue_handler): Likewise.
583 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
585 * gdb.server/solib-list.exp: Remove is_remote check.
586 Pass shlib= to gdb_compile. Don't link shared library with
587 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
588 Run binary filename through "readlink -f" on the target.
590 2016-04-08 Pedro Alves <palves@redhat.com>
592 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
593 interpreter filename as argument to gdbserver_spawn.
594 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
595 Return empty if $last_loaded_file does not exist.
597 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
599 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
600 * gdb.base/jit-main.c: Use exit after usage.
602 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
605 GDBHISTSIZE prior to the tests.
606 * gdb.base/gdbinit-history.exp: Likewise.
608 2016-04-07 Pedro Alves <palves@redhat.com>
610 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
611 instead of build_executable. Use gdb_load_shlibs.
613 2016-04-07 Yao Qi <yao.qi@linaro.org>
615 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
616 Execute "si" command.
618 2016-04-07 Yao Qi <yao.qi@linaro.org>
620 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
621 number instead of the comments on some line.
623 2016-04-06 Don Breazeal <donb@codesourcery.com>
625 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
626 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
628 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
630 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
631 standard_output_file. Remove unused binfile variable.
633 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
635 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
636 * gdb.python/py-mi-objfile.exp: Match "list main" output
639 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
641 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
644 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
646 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
648 * gdb.trace/ftrace.exp: Likewise.
649 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
651 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
652 (gdb_load_shlibs): Copy libraries to test directory when testing
653 natively. Only set solib-search-path if testing remotely.
654 * lib/mi-support.exp (mi_load_shlibs): Likewise.
656 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
658 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
659 gdb_download. Use it even if the target is not remote.
660 * gdb.base/jit.exp (compile_jit_test): Likewise.
661 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
662 output directory if the destination board is local, otherwise use
663 the standard remote_download from DejaGnu.
664 (gdb_download): Remove.
665 (gdb_load_shlibs): Use gdb_remote_download instead of
667 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
668 Use gdb_remote_download instead of gdb_download. Use it even if
669 the target is not remote.
670 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
671 instead of gdb_download.
673 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
675 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
676 (test_insert_delete_modify): Call mi_load_shlibs before trying to
679 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
682 * gdb.base/printcmds.exp: Add artificial arrays tests.
684 2016-03-31 Pedro Alves <palves@redhat.com>
687 * gdb.base/jit-main.c: Include unistd.h.
688 (ATTACH): Define to 0 if not already defined.
689 (wait_for_gdb, mypid): New globals.
690 (WAIT_FOR_GDB): New macro.
691 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
692 some breakpoint locations.
693 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
695 (one_jit_test): Add REATTACH parameter, and handle it. Use
696 continue_to_test_location.
697 (top level): Test attach, and adjusts calls to one_jit_test.
699 2016-03-31 Pedro Alves <palves@redhat.com>
702 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
703 BINSUFFIX parameter, and handle it.
704 (top level): Adjust calls compile_jit_test.
706 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
709 * gdb.python/py-mi-events-gdb.py: New file.
710 * gdb.python/py-mi-events.c: New file.
711 * gdb.python/py-mi-events.exp: New file.
713 2016-03-30 Yao Qi <yao.qi@linaro.org>
715 * gdb.reverse/until-precsave.exp: Match function name only.
716 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
717 Move malloc to a condition block.
718 * gdb.reverse/until-reverse.exp: Match function name only.
720 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
722 * gdb.trace/ftrace.exp: Set arg0exp for s390.
723 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
724 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
725 variable for GPR 0 instead of assuming it is register 0.
726 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
727 * lib/trace-support.exp: Add s390 registers.
729 2016-03-29 Yao Qi <yao.qi@linaro.org>
731 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
733 2016-03-24 Yao Qi <yao.qi@linaro.org>
735 * gdb.reverse/break-reverse.exp: Add quotation mark in the
738 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
740 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
741 maintaining separate logic for constructing the output path.
743 2016-03-16 Don Breazeal <donb@codesourcery.com>
745 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
746 Retry fork and waitpid on interrupted system call errors.
747 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
748 Use with_timeout_factor to increase timeout by factor of 10.
750 2016-03-15 Don Breazeal <donb@codesourcery.com>
752 * gdb.cp/scope-err.cc: New test program.
753 * gdb.cp/scope-err.exp: New test script.
754 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
755 lines and "set breakpoint here" comment.
756 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
757 Fixed some whitespace and format issues.
758 * gdb.mi/mi-linespec-err-cp.cc: New test program.
759 * gdb.mi/mi-linespec-err-cp.exp: New test script.
761 2016-03-15 Doug Evans <dje@google.com>
763 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
764 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
765 All callers updated. Add tests for enums, mixed flags register.
767 2016-03-15 Doug Evans <dje@google.com>
769 * gdb.base/skip.c (main): Call test_skip_file_and_function.
770 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
772 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
774 * gdb.base/default.exp: Add $_as_string to the list of expected
775 convenience functions.
777 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
779 * gdb.base/maint.exp: New tests for 'maint info line-table'.
781 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
783 * gdb.python/py-as-string.exp: New file.
784 * gdb.python/py-as-string.c: New file.
786 2016-03-09 Pedro Alves <palves@redhat.com>
788 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
789 signal" -> "Thread NN received signal" output change.
790 * gdb.threads/ia64-sigill.exp: Likewise.
791 * gdb.threads/linux-dp.exp: Likewise.
792 * gdb.threads/manythreads.exp: Likewise.
793 * gdb.threads/pending-step.exp: Likewise.
794 * gdb.threads/print-threads.exp: Likewise.
795 * gdb.threads/sigstep-threads.exp: Likewise.
796 * gdb.threads/staticthreads.exp: Likewise.
797 * gdb.threads/tls.exp: Likewise.
799 2016-03-09 Pedro Alves <palves@redhat.com>
801 * gdb.base/command-line-input.exp: New file.
803 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
805 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
806 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
807 * gdb.trace/pending.exp: Accept leading dot before function name.
808 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
809 * lib/trace-support.exp: Set registers for ppc.
811 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
813 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
814 use it for disassembly; accept .main in addition to main in backtrace.
816 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
817 Marcin Kościelnicki <koriakin@0x04.net>
819 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
820 (gdb_recursion_test_ptr): New global variable.
821 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
825 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
827 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
830 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
832 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
833 (bar): Add bar_start_lbl label.
834 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
835 of foo/bar for emitting DWARF and tracing.
837 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
839 * analyze-racy-logs.py: Set executable bit.
841 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
843 * Makefile.in (DEFAULT_RACY_ITER): New variable.
844 (CHECK_TARGET_TMP): Likewise.
845 (check-single-racy): New rule.
846 (check-parallel-racy): Likewise.
847 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
848 (do-check-parallel-racy): New rule.
849 (check-racy/%.exp): Likewise.
850 * README (Racy testcases): New section.
851 * analyze-racy-logs.py: New file.
853 2016-03-03 Doug Evans <dje@google.com>
855 * gdb.base/skip.exp: Use with_test_prefix.
857 2016-03-03 Yao Qi <yao.qi@linaro.org>
859 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
860 Invoke step_over_syscall "clone" and break_cond_on_syscall
862 * gdb.base/step-over-clone.c: New file.
864 2016-03-03 Yao Qi <yao.qi@linaro.org>
866 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
869 2016-03-03 Yao Qi <yao.qi@linaro.org>
871 * gdb.base/disp-step-fork.c: Rename to ...
872 * gdb.base/step-over-fork.c: ... it. New file.
873 * gdb.base/disp-step-vfork.c: Rename to ...
874 * gdb.base/step-over-vfork.c: ... it. New file.
875 * gdb.base/disp-step-syscall.exp: Rename to ...
876 * gdb.base/step-over-syscall.exp: ... it. New file.
877 (disp_step_cross_syscall): Rename to ...
878 (step_over_syscall): ... it.
880 2016-03-03 Yao Qi <yao.qi@linaro.org>
882 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
883 If target supports condition evaluation on target, invoke
884 break_cond_on_syscall for fork and vfork.
886 2016-03-03 Yao Qi <yao.qi@linaro.org>
888 * gdb.base/disp-step-syscall.exp: Don't invoke
889 support_displaced_stepping.
890 (disp_step_cross_syscall): Test with displaced stepping off and
893 2016-03-03 Yao Qi <yao.qi@linaro.org>
895 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
898 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
901 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
903 * gdb.fortran/vla-history.exp: Remove breakpoint.
905 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
907 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
909 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
911 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
913 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
915 * gdb.mi/vla.f90: Nullify pointer after declaration.
917 2016-03-01 Pedro Alves <palves@redhat.com>
919 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
921 2016-03-01 Pedro Alves <palves@redhat.com>
923 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
924 before anything else.
925 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
927 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
928 before anything else.
929 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
931 2016-03-01 Pedro Alves <palves@redhat.com>
933 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
935 2016-03-01 Yao Qi <yao.qi@linaro.org>
937 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
940 2016-03-01 Yao Qi <yao.qi@linaro.org>
942 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
944 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
946 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
947 manually constructing the output path.
949 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
951 * gdb.arch/s390-stackless.S: New.
952 * gdb.arch/s390-stackless.exp: New.
954 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
956 * gdb.dlang/circular.c: New file.
957 * gdb.dlang/circular.exp: New file.
959 2016-02-26 Yao Qi <yao.qi@linaro.org>
961 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
962 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
965 2016-02-26 Yao Qi <yao.qi@linaro.org>
967 * gdb.reverse/aarch64.c: Rename to ...
968 * gdb.reverse/insn-reverse.c: ... it.
969 * gdb.reverse/aarch64.exp: Rename to ...
970 * gdb.reverse/insn-reverse.exp: ... it.
972 2016-02-26 Yao Qi <yao.qi@linaro.org>
974 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
975 (testcase_ftype): New.
976 (testcases): New array.
978 (main): Call each element in testcases.
979 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
980 (read_testcase): New.
981 Do the tests in a loop.
983 2016-02-25 Yao Qi <yao.qi@linaro.org>
985 * gdb.base/branches.c: Remove.
987 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
990 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
992 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
994 * gdb.trace/ftrace.exp: Remove unnecessary target check.
996 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
998 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
999 change x86_64 call_insn to 'callq'.
1001 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1003 * gdb.trace/tfile-avx.c: Move to...
1004 * gdb.trace/tracefile-pseudo-reg.c: Here.
1005 * gdb.trace/tfile-avx.exp: Move to...
1006 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1008 2016-02-24 Gary Benson <gbenson@redhat.com>
1010 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1013 2016-02-23 Doug Evans <dje@google.com>
1015 * gdb.base/skip.c (test_skip): New function.
1016 (end_test_skip_file_and_function): New function.
1017 (test_skip_file_and_function): New function.
1018 * gdb.base/skip1.c (test_skip): New function.
1019 (skip1_test_skip_file_and_function): New function.
1020 * gdb.base/skip.exp: Add tests for new skip options.
1021 * gdb.base/skip-solib.exp: Update expected output.
1022 * gdb.perf/skip-command.cc: New file.
1023 * gdb.perf/skip-command.exp: New file.
1024 * gdb.perf/skip-command.py: New file.
1026 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1028 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1029 info registers pattern.
1031 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1033 * lib/future.exp: Add D support.
1034 (gdb_find_gdc): New proc.
1035 (gdb_default_target_compile): Add D support.
1037 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1039 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1041 (trace_speed_test): Determine the iteration count for a time
1042 between 15..30 seconds.
1044 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1046 * gdb.arch/i386-mpx-sigsegv.c: New file.
1047 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1048 * gdb.arch/i386-mpx-simple_segv.c: New file.
1049 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1051 2016-02-18 Yao Qi <yao.qi@linaro.org>
1053 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1054 Don't call setup_kfail.
1056 2016-02-18 Yao Qi <yao.qi@linaro.org>
1058 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1059 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1061 2016-02-16 Doug Evans <dje@google.com>
1063 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1064 * gdb.base/skip1.c: Ditto.
1065 * gdb.base/skip.exp: Whitespace cleanup.
1067 2016-02-16 Don Breazeal <donb@codesourcery.com>
1070 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1071 Remove kfail for PR remote/19496.
1073 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1075 * lib/gdb.exp (standard_temp_file): Return a path specific to
1076 the runtest invocation.
1078 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1080 * gdb.trace/save-trace.exp: Change relative path to be in the
1081 standard output directory.
1083 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1085 * gdb.arch/i386-prologue.c: Add missing prototypes.
1087 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1089 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1090 * gdb.arch/i386-prologue.exp: Likewise.
1091 * gdb.arch/i386-size.exp: Likewise.
1093 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1095 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1096 define object file path.
1097 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1099 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1100 standard_output_file to define binfile.
1102 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1104 Fix compatibility with recent gfortran-5.3.1.
1105 * gdb.fortran/vla-history.exp (print vla1 allocated)
1106 (print vla2 allocated, print $2, print $3): Remove
1107 (print $4): Rename to ...
1108 (print $2): ... here.
1109 (print $9): Rename to ...
1110 (print $5): ... here.
1111 (print $10): Rename to ...
1112 (print $6): ... here.
1113 * gdb.fortran/vla.f90: Add pvla initialization.
1115 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1117 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1119 * gdb.fortran/vla-value-sub.exp: Likewise.
1121 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1123 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1125 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1127 * i386-biarch-core.exp: Define corefile using
1128 standard_output_file.
1130 2016-02-12 Yao Qi <yao.qi@linaro.org>
1132 * gdb.arch/arm-single-step-kernel-helper.c: New.
1133 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1135 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1137 * gdb.btrace/tailcall-only.exp: New.
1138 * gdb.btrace/tailcall-only.c: New.
1139 * gdb.btrace/x86_64-tailcall-only.S: New.
1140 * gdb.btrace/i686-tailcall-only.S: New.
1142 2016-02-11 Pedro Alves <palves@redhat.com>
1144 * README (Parallel testing): Add missing double quotes.
1146 2016-02-11 Pedro Alves <palves@redhat.com>
1148 * README (Parallel testing): New section.
1149 (GDB_PARALLEL): Rewrite.
1150 (FORCE_PARALLEL): Document.
1152 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1154 * gdb.trace/tfile-avx.c: New test.
1155 * gdb.trace/tfile-avx.exp: New test.
1157 2016-02-09 Keith Seitz <keiths@redhat.com>
1159 PR breakpoints/19546
1160 * gdb.base/infcall-exec.c: New file.
1161 * gdb.base/infcall-exec2.c: New file.
1162 * gdb.base/infcall-exec.exp: New file.
1164 2016-02-09 Keith Seitz <keiths@redhat.com>
1166 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1167 (toplevel): Call test_bkpt_address.
1169 2016-02-09 Keith Seitz <keiths@redhat.com>
1172 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1173 (toplevel): Call test_bkpt_address.
1175 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1177 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1179 * configure: Regenerate.
1181 2016-02-09 Pedro Alves <palves@redhat.com>
1183 PR breakpoints/19548
1184 * gdb.base/execl-update-breakpoints.c (some_function): New
1187 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1188 Tighten expected GDB output.
1190 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1192 * Makefile.in (ALL_SUBDIRS): Remove.
1193 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1194 (distclean maintainer-clean realclean): Likewise.
1195 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1196 * configure: Regenerate.
1197 * gdb.ada/Makefile.in: Delete.
1198 * gdb.arch/Makefile.in: Likewise.
1199 * gdb.asm/Makefile.in: Likewise.
1200 * gdb.base/Makefile.in: Likewise.
1201 * gdb.btrace/Makefile.in: Likewise.
1202 * gdb.cell/Makefile.in: Likewise.
1203 * gdb.compile/Makefile.in: Likewise.
1204 * gdb.cp/Makefile.in: Likewise.
1205 * gdb.disasm/Makefile.in: Likewise.
1206 * gdb.dlang/Makefile.in: Likewise.
1207 * gdb.dwarf2/Makefile.in: Likewise.
1208 * gdb.fortran/Makefile.in: Likewise.
1209 * gdb.gdb/Makefile.in: Likewise.
1210 * gdb.go/Makefile.in: Likewise.
1211 * gdb.guile/Makefile.in: Likewise.
1212 * gdb.java/Makefile.in: Likewise.
1213 * gdb.linespec/Makefile.in: Likewise.
1214 * gdb.mi/Makefile.in: Likewise.
1215 * gdb.modula2/Makefile.in: Likewise.
1216 * gdb.multi/Makefile.in: Likewise.
1217 * gdb.objc/Makefile.in: Likewise.
1218 * gdb.opencl/Makefile.in: Likewise.
1219 * gdb.opt/Makefile.in: Likewise.
1220 * gdb.pascal/Makefile.in: Likewise.
1221 * gdb.perf/Makefile.in: Likewise.
1222 * gdb.python/Makefile.in: Likewise.
1223 * gdb.reverse/Makefile.in: Likewise.
1224 * gdb.server/Makefile.in: Likewise.
1225 * gdb.stabs/Makefile.in: Likewise.
1226 * gdb.threads/Makefile.in: Likewise.
1227 * gdb.trace/Makefile.in: Likewise.
1228 * gdb.xml/Makefile.in: Likewise.
1229 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1231 (standard_output_file): Remove check for GDB_PARALLEL, always
1232 return path in outputs/$subdir/$testname.
1234 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1236 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1237 (site.exp): Assign abs_srcdir to tcl's srcdir.
1239 2016-02-04 Yao Qi <yao.qi@linaro.org>
1241 * gdb.base/foll-exec-mode.c: Include limits.h.
1242 (main): Add parameters argc and argv. Get directory from
1244 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1246 * gdb.base/foll-exec.c: Include limits.h.
1247 (main): Add parameters argc and argv.
1248 Get directory from argv[0].
1249 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1250 Adjust tests on the number of lines as source code changed.
1251 * gdb.base/foll-vfork-exit.c: Include limits.h.
1252 (main): Add one line of statement before vfork.
1253 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1254 (main): Add parameters argc and argv. Get directory from
1256 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1257 (setup_gdb): Set tbreak to skip some source lines.
1258 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1259 (main): Add parameters argc and argv. Get directory from
1261 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1263 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1264 (main): Add parameters argc and argv. Get directory from
1266 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1269 2016-02-01 Doug Evans <dje@google.com>
1271 * gdb.base/skip.exp: Clean up multiple references to same test name.
1273 2016-02-01 Pedro Alves <palves@redhat.com>
1276 * gdb.threads/forking-threads-plus-breakpoint.exp
1277 (displaced_stepping_supported): New global.
1278 (probe_displaced_stepping_support): New procedure.
1279 (do_test): Add 'displaced' parameter, and use it.
1280 (top level): Check for displaced stepping support. Add displaced
1281 stepping on/off testing axis.
1283 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1285 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1286 pointer. Don't perform further tests on the unassociated pointer
1287 if the first test fails.
1289 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1291 * gdb.base/max-value-size.c: New file.
1292 * gdb.base/max-value-size.exp: New file.
1293 * gdb.base/huge.exp: Disable max-value-size for this test.
1295 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1297 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1299 2016-01-28 Yao Qi <yao.qi@linaro.org>
1301 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1303 2016-01-25 Pedro Alves <palves@redhat.com>
1306 * gdb.base/fork-running-state.c: New file.
1307 * gdb.base/fork-running-state.exp: New file.
1309 2016-01-25 Pedro Alves <palves@redhat.com>
1312 * gdb.base/catch-fork-kill.c: New file.
1313 * gdb.base/catch-fork-kill.exp: New file.
1315 2016-01-25 Pedro Alves <palves@redhat.com>
1317 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1318 Delete, moved to lib/gdb.exp.
1319 * gdb.threads/forking-threads-plus-breakpoint.exp
1320 (foreach_with_prefix): Likewise.
1321 * gdb.threads/process-dies-while-handling-bp.exp
1322 (foreach_with_prefix): Likewise.
1323 * lib/gdb.exp (foreach_with_prefix): New procedure.
1325 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1327 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1328 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1330 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1332 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1335 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1336 Pedro Alves <palves@redhat.com>
1338 Fix testsuite compatibility with Guile.
1339 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1342 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1344 Fix testsuite compatibility with Guile.
1345 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1346 (thread 1): New test for backtrace through signal handler.
1348 2016-01-22 Yao Qi <yao.qi@linaro.org>
1351 * gdb.base/multi-forks.c: Include
1352 ../lib/unbuffer_output.c
1353 (main): Call gdb_unbuffer_output.
1355 2016-01-21 Doug Evans <dje@google.com>
1357 * lib/ada.exp (gdb_compile_ada): Fix typo.
1359 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1361 * gdb.base/break-fun-addr.exp: New file.
1362 * gdb.base/break-fun-addr1.c: New file.
1363 * gdb.base/break-fun-addr2.c: New file.
1365 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1367 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1368 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1371 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1373 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1374 when GDB can not set the vector return value. Add more comments
1377 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1379 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1382 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1384 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1386 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1388 * Makefile.in (check-single): Pass --status to runtest.
1389 (check/%.exp): Likewise.
1391 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1393 * Makefile.in (check-parallel): Propagate return code from make
1396 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1398 * gdb.trace/ftrace.exp: Fix expected message on continue.
1399 * gdb.trace/pending.exp: Fix expected message on continue.
1400 * gdb.trace/trace-break.exp: Fix expected message on continue.
1402 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1404 * lib/gdb.exp (gdb_test): Remove unused global references.
1406 2016-01-18 Pedro Alves <palves@redhat.com>
1408 * gdb.base/async-shell.exp: Adjust expected output.
1409 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1410 * gdb.base/siginfo-thread.exp: Adjust expected output.
1411 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1412 * gdb.java/jnpe.exp: Adjust expected output.
1413 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1414 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1415 * gdb.threads/leader-exit.exp: Adjust expected output.
1416 * gdb.threads/manythreads.exp: Adjust expected output.
1417 * gdb.threads/pthreads.exp: Adjust expected output.
1418 * gdb.threads/schedlock.exp: Adjust expected output.
1419 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1420 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1422 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1424 * gdb.threads/sigthread.exp: Adjust expected output.
1425 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1427 2016-01-18 Yao Qi <yao.qi@linaro.org>
1429 * gdb.guile/scm-section-script.c: Replace @progbits with
1431 * gdb.python/py-section-script.c: Likewise.
1433 2016-01-15 Pedro Alves <palves@redhat.com>
1435 * gdb.multi/tids.exp: Test star wildcard ranges.
1437 2016-01-15 Pedro Alves <palves@redhat.com>
1439 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1440 command from "thread apply" invocation.
1441 (thr_apply_info_thr_invalid): Default the expected output to the
1443 (top level): Add tests that use convenience variables. Add tests
1444 for "thread apply" with a valid TID list, but missing the command.
1446 2016-01-13 Pedro Alves <palves@redhat.com>
1448 * gdb.base/default.exp: Expect $_gthread as well.
1449 * gdb.multi/tids.exp: Test $_gthread.
1450 * gdb.threads/thread-specific.exp: Test $_gthread.
1452 2016-01-13 Pedro Alves <palves@redhat.com>
1454 * gdb.multi/tids.exp: Test "info threads -gid".
1456 2016-01-13 Pedro Alves <palves@redhat.com>
1458 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1460 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1462 2016-01-07 Pedro Alves <palves@redhat.com>
1464 * gdb.base/break.exp: Adjust to output changes.
1465 * gdb.base/hbreak2.exp: Likewise.
1466 * gdb.base/sepdebug.exp: Likewise.
1467 * gdb.base/watch_thread_num.exp: Likewise.
1468 * gdb.linespec/keywords.exp: Likewise.
1469 * gdb.multi/info-threads.exp: Likewise.
1470 * gdb.threads/thread-find.exp: Likewise.
1471 * gdb.multi/tids.c: New file.
1472 * gdb.multi/tids.exp: New file.
1474 2016-01-13 Pedro Alves <palves@redhat.com>
1476 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1478 2016-01-13 Pedro Alves <palves@redhat.com>
1480 * gdb.base/default.exp: Expect $_inferior as well.
1481 * gdb.multi/base.exp: Test $_inferior.
1483 2016-01-13 Pedro Alves <palves@redhat.com>
1485 PR breakpoints/19388
1486 * gdb.base/catch-signal-siginfo-cond.c: New file.
1487 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1489 2016-01-12 Josh Stone <jistone@redhat.com>
1490 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1492 * gdb.base/catch-syscall.c (do_execve): New variable.
1493 (main): Conditionally trigger an execve.
1494 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1495 (test_catch_syscall_execve): New, check entry/return across execve.
1496 (do_syscall_tests): Call test_catch_syscall_execve.
1498 2016-01-12 Pedro Alves <palves@redhat.com>
1500 * gdb.base/random-signal.exp (do_test): New procedure, with body
1501 of testcase moved in.
1503 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1504 Pedro Alves <palves@redhat.com>
1506 * gdb.base/funcargs.exp (finish from indirectly called function):
1507 Reintroduce the case for 'First'.
1509 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1510 Pedro Alves <palves@redhat.com>
1512 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1513 (tcatch_vfork_then_child_follow_exec)
1514 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1517 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1519 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1520 and repeats to unlimited.
1521 * gdb.python/py-value.exp: Likewise.
1522 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1523 and repeats to unlimited.
1525 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1527 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1528 and reordering the functions.
1529 * gdb.multi/hangout.c: Likewise.
1530 * gdb.multi/hello.c: Likewise.
1532 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1534 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1536 (SingleStatisticTestResult.report): Use dict.keys instead of
1539 2016-01-06 Pedro Alves <palves@redhat.com>
1541 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1543 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1545 * gdb.btrace/dlopen.exp: New.
1546 * gdb.btrace/dlopen.c: New.
1547 * gdb.btrace/dlopen-dso.c: New.
1549 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1551 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1552 PATTERN argument is optional.
1554 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1556 * lib/ada.exp (target_compile_ada_from_dir): New function.
1557 (gdb_compile_ada): Reimplement avoiding the use of project files.
1558 * gdb.ada/gnat_ada.gpr: Delete.
1559 * gdb.ada/cond_lang.exp: Adjust test to make path before
1561 * gdb.ada/small_reg_param.exp: Likewise.
1563 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1565 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1567 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1569 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1572 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1574 * gdb.base/break.exp: Remove dead code.
1575 * gdb.base/sepdebug.exp: Likewise.
1577 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1579 * gdb.asm/asm-source.exp: Remove HP-UX references.
1580 * gdb.base/annota1.exp: Likewise.
1581 * gdb.base/annota3.exp: Likewise.
1582 * gdb.base/attach.exp: Likewise.
1583 * gdb.base/bigcore.exp: Likewise.
1584 * gdb.base/break.exp: Likewise.
1585 * gdb.base/call-ar-st.exp: Likewise.
1586 * gdb.base/callfuncs.exp: Likewise.
1587 * gdb.base/catch-fork-static.exp: Likewise.
1588 * gdb.base/display.exp: Likewise.
1589 * gdb.base/foll-exec-mode.exp: Likewise.
1590 * gdb.base/foll-exec.exp: Likewise.
1591 * gdb.base/foll-fork.exp: Likewise.
1592 * gdb.base/foll-vfork.exp: Likewise.
1593 * gdb.base/funcargs.exp: Likewise.
1594 * gdb.base/hbreak2.exp: Likewise.
1595 * gdb.base/inferior-died.exp: Likewise.
1596 * gdb.base/interrupt.exp: Likewise.
1597 * gdb.base/multi-forks.exp: Likewise.
1598 * gdb.base/nodebug.exp: Likewise.
1599 * gdb.base/sepdebug.exp: Likewise.
1600 * gdb.base/solib1.c: Likewise.
1601 * gdb.base/step-test.exp: Likewise.
1602 * gdb.mi/non-stop.c: Likewise.
1603 * gdb.mi/pthreads.c: Likewise.
1604 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1605 * gdb.threads/pthreads.c: Likewise.
1606 * gdb.threads/staticthreads.exp: Likewise.
1607 * lib/future.exp: Likewise.
1608 * lib/gdb.exp: Likewise.
1609 * gdb.base/so-indr-cl.c: Remove.
1610 * gdb.base/so-indr-cl.exp: Likewise.
1611 * gdb.base/solib.c: Likewise.
1612 * gdb.base/solib.exp: Likewise.
1613 * gdb.base/solib2.c: Likewise.
1615 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1617 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1618 * gdb.base/call-ar-st.exp: Likewise.
1619 * gdb.base/callfuncs.exp: Likewise.
1620 * gdb.base/condbreak.exp: Likewise.
1621 * gdb.base/constvars.exp: Likewise.
1622 * gdb.base/hbreak2.exp: Likewise.
1623 * gdb.base/langs.exp: Likewise.
1624 * gdb.base/list.exp: Likewise.
1625 * gdb.base/long_long.exp: Likewise.
1626 * gdb.base/ptype.exp: Likewise.
1627 * gdb.base/scope.exp: Likewise.
1628 * gdb.base/signals.exp: Likewise.
1629 * gdb.base/so-impl-ld.exp: Likewise.
1630 * gdb.base/varargs.exp: Likewise.
1631 * gdb.base/volatile.exp: Likewise.
1632 * gdb.base/whatis.exp: Likewise.
1633 * gdb.cp/cplusfuncs.exp: Likewise.
1634 * gdb.cp/inherit.exp: Likewise.
1635 * gdb.cp/local.exp: Likewise.
1636 * gdb.cp/member-ptr.exp: Likewise.
1637 * gdb.cp/method.exp: Likewise.
1638 * gdb.cp/overload.exp: Likewise.
1639 * gdb.cp/templates.exp: Likewise.
1640 * gdb.stabs/weird.exp: Likewise.
1641 * lib/compiler.c: Likewise.
1642 * lib/compiler.cc: Likewise.
1643 * lib/cp-support.exp: Likewise.
1644 * lib/gdb.exp: Likewise.
1646 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1648 * configure.ac: Remove HP-UX case.
1649 * configure: Regenerate.
1651 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1653 * lib/gdb.exp (gdb_compile): Add function doc.
1655 2015-12-17 Pedro Alves <palves@redhat.com>
1658 * gdb.multi/info-threads.exp: New file.
1660 2015-12-15 Yao Qi <yao.qi@linaro.org>
1662 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1665 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1667 * gdb.base/history-duplicates.exp: Skip if no readline support.
1669 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1671 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1673 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1675 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1677 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1679 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1680 ctrl-C if nointerrupts target property is set.
1681 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1682 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1683 * gdb.base/paginate-bg-execution.exp: Likewise.
1684 * gdb.base/paginate-execution-startup.exp: Likewise.
1685 * gdb.base/random-signal.exp: Likewise.
1686 * gdb.base/range-stepping.exp: Likewise.
1687 * gdb.cp/annota2.exp: Likewise.
1688 * gdb.cp/annota3.exp: Likewise.
1689 * gdb.gdb/selftest.exp: Likewise.
1690 * gdb.threads/continue-pending-status.exp: Likewise.
1691 * gdb.threads/leader-exit.exp: Likewise.
1692 * gdb.threads/manythreads.exp: Likewise.
1693 * gdb.threads/pthreads.exp: Likewise.
1694 * gdb.threads/schedlock.exp: Likewise.
1695 * gdb.threads/sigthread.exp: Likewise.
1697 2015-12-11 Don Breazeal <donb@codesourcery.com>
1699 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1701 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1702 * gdb.base/foll-exec.exp (main): Enable for target remote.
1703 * gdb.base/foll-fork.exp (main): Likewise.
1704 * gdb.base/foll-vfork.exp (main): Likewise.
1705 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1706 (proc continue_to_exit_bp_loc): Use clean_restart.
1707 * gdb.base/pie-execl.exp (main): Disable for target remote.
1708 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1709 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1710 * gdb.threads/execl.exp (main): Likewise.
1711 * gdb.threads/fork-child-threads.exp (main): Likewise.
1712 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1714 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1716 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1717 pid.tid style ptids, instead of just tid.
1718 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1719 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1720 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1721 ptids, instead of just tid.
1723 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1725 * gdb.base/list.exp (test_list_forward): Add end of file error
1727 (test_repeat_list_command): Add end of file error test.
1728 (test_list_backwards): Add beginning of file error test.
1730 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1732 * gdb.base/list.exp (test_list_invalid_args): New function,
1733 defined, and called.
1735 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1737 * gdb.base/list.exp (test_list): Make test names unique.
1739 2015-12-11 Yao Qi <yao.qi@linaro.org>
1741 * gdb.base/coremaker2.c: Remove.
1743 2015-12-10 Pedro Alves <palves@redhat.com>
1745 * gdb.multi/base.exp: Remove stale "spaces" references.
1747 2015-12-10 Pedro Alves <palves@redhat.com>
1749 * gdb.multi/base.exp: Don't use nowarnings.
1750 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1751 * gdb.multi/hangout.c: Include stdio.h.
1752 * gdb.multi/hello.c: Include stdlib.h.
1753 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1754 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1755 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1757 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1759 * gdb.dwarf2/dw2-ranges-base.c: New file.
1760 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1761 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1762 support additional line table, and debug ranges generation.
1763 (Dwarf::ranges): New function, generate .debug_ranges.
1764 (Dwarf::lines): Support generating simple line table programs.
1765 (Dwarf::assemble): Initialise new namespace variables.
1767 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1769 * gdb.base/async.exp (proc test_background): Add case for
1770 asynchronous execution not supported.
1772 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1774 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1775 format and change test names to make them unique.
1777 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1778 Pedro Alves <pedro@redhat.com>
1781 Add checking of floatformats setup on x86_64 hosts.
1782 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1783 (smallval, bigval): New labels/constants.
1784 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1785 float" after loading bigval and smallval.
1787 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1789 * gdb.ada/fun_overload_menu.exp: New testcase.
1790 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1792 2015-12-04 Josh Stone <jistone@redhat.com>
1794 * gdb.base/catch-fork-static.exp: New.
1796 2015-12-03 Yao Qi <yao.qi@linaro.org>
1798 * gdb.base/sizeof.c: Don't include stdio.h and
1799 ../lib/unbuffer_output.c.
1800 (main): New variable 'size' and 'value'. Remove printf and
1801 gdb_unbuffer_output. Assign return value to size and value.
1802 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1804 (check_sizeof): Check the result by printing variable 'size'.
1805 (check_valueof): Check the result by printing variable 'value'.
1807 2015-12-01 Yao Qi <yao.qi@linaro.org>
1809 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1810 for aarch64*-*-linux* target.
1812 2015-11-30 Pedro Alves <palves@redhat.com>
1814 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1816 2015-11-30 Pedro Alves <palves@redhat.com>
1818 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1819 Handle non-stop mode vCont replies.
1821 2015-11-30 Pedro Alves <palves@redhat.com>
1823 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1824 prepare_for_testing. Start gdb with "set non-stop on" appended to
1825 GDBFLAGS. Lax expected stop output.
1827 2015-11-27 Yao Qi <yao.qi@linaro.org>
1829 * gdb.arch/arm-neon.exp: New.
1830 * gdb.arch/arm-neon.c: New.
1832 2015-11-27 Yao Qi <yao.qi@linaro.org>
1834 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1836 2015-11-27 Yao Qi <yao.qi@linaro.org>
1838 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1839 frames-invalid annotation.
1841 2015-11-27 Yao Qi <yao.qi@linaro.org>
1843 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1845 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1847 * gdb.threads/names.exp: New file.
1848 * gdb.threads/names.c: New file.
1849 * README: Mention gdb,no_thread_names.
1851 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1854 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1857 2015-11-24 Pedro Alves <palves@redhat.com>
1860 * gdb.base/display.exp: Expect displays to be sorted in ascending
1861 order. Use multi_line.
1862 * gdb.base/solib-display.exp: Likewise.
1864 2015-11-24 Pedro Alves <palves@redhat.com>
1867 * gdb.base/display.exp: Expect displays to be sorted in ascending
1868 order. Use multi_line.
1869 * gdb.base/solib-display.exp: Likewise.
1871 2015-11-24 Pedro Alves <palves@redhat.com>
1874 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1875 threads in ascending order.
1876 * gdb.base/foll-fork.exp: Likewise.
1877 * gdb.base/foll-vfork.exp: Likewise.
1878 * gdb.base/multi-forks.exp: Likewise.
1879 * gdb.mi/mi-nonstop.exp: Likewise.
1880 * gdb.mi/mi-nsintrall.exp: Likewise.
1881 * gdb.multi/base.exp: Likewise.
1882 * gdb.multi/multi-arch.exp: Likewise.
1883 * gdb.python/py-inferior.exp: Likewise.
1884 * gdb.threads/break-while-running.exp: Likewise.
1885 * gdb.threads/execl.exp: Likewise.
1886 * gdb.threads/gcore-thread.exp: Likewise.
1887 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1888 * gdb.threads/kill.exp: Likewise.
1889 * gdb.threads/linux-dp.exp: Likewise.
1890 * gdb.threads/multiple-step-overs.exp: Likewise.
1891 * gdb.threads/next-bp-other-thread.exp: Likewise.
1892 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1893 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1894 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1895 * gdb.threads/thread-find.exp: Likewise.
1896 * gdb.threads/tls.exp: Likewise.
1897 * lib/mi-support.exp (mi_reverse_list): Delete.
1898 (mi_check_thread_states): No longer reverse list.
1900 2015-11-24 Pedro Alves <palves@redhat.com>
1902 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1905 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1907 * gdb.trace/actions.c: Include trace-common.h.
1908 (main): Add a location for a fast tracepoint.
1909 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1910 the normal tracepoints.
1911 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1913 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1915 * save-trace.exp: Factor out code to these...
1916 (gdb_save_tracepoints): New.
1917 (gdb_load_tracepoints): New.
1918 (do_save_load_test): New.
1920 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1922 * gdb.base/asmlabel.exp: New test.
1923 * gdb.base/asmlabel.c: New test case.
1925 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1927 * gdb.base/wrong_frame_bt_full-main.c: New file.
1928 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1929 * gdb.base/wrong_frame_bt_full.exp: New file.
1931 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1933 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1935 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1937 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1938 pstate register when comparing registers values in
1939 sparc64-*-linux-gnu targets to avoid spurious differences.
1941 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1943 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1945 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1947 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1948 as type argument to gdb_compile.
1949 * gdb.base/nested-subp2.exp: Likewise.
1950 * gdb.base/nested-subp3.exp: Likewise.
1952 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1954 * lib/dwarf.exp (_note): Fix left shift of negative value.
1955 * gdb.trace/trace-condition.exp: Likewise.
1957 2015-11-13 Yao Qi <yao.qi@linaro.org>
1959 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1960 comments about d10v.
1961 (test_scalar_returns): Likewise.
1962 * gdb.base/d10v.ld: Remove.
1963 * gdb.base/overlays.exp: Remove the target triplet checking for
1965 * gdb.base/structs.exp (test_struct_returns): Remove the
1966 comments about d10v.
1967 (test_struct_calls): Likewise.
1969 2015-11-13 Yao Qi <yao.qi@linaro.org>
1971 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1972 * gdb.base/gnu_vector.c: Don't include stdio.h.
1973 (main): Don't print res and call add_some_intvecs.
1975 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1977 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1980 (func4): Use FAST_TRACEPOINT_LABEL.
1981 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1984 (thread_function): Use FAST_TRACEPOINT_LABEL.
1985 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1987 (marker): Use FAST_TRACEPOINT_LABEL.
1988 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1989 (pendfunc1): Remove.
1990 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1991 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1993 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1994 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1997 (marker): Use FAST_TRACEPOINT_LABEL.
1998 * gdb.trace/trace-common.h: New header.
1999 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2002 (marker): Use FAST_TRACEPOINT_LABEL.
2003 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2005 (thread_function): Use FAST_TRACEPOINT_LABEL.
2007 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2009 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2011 * gdb.trace/change-loc.exp: Use global pcreg definition.
2012 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2013 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2015 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2016 * gdb.trace/pending.exp: Likewise.
2017 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2018 * gdb.trace/trace-break.exp: Likewise.
2019 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2021 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2022 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2024 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2026 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2028 * gdb.ada/fin_fun_out: New testcase.
2030 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2032 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2033 value associated with DW_AT_byte_size.
2034 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2035 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2038 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2040 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2041 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2043 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2044 gdb.dwarf2/dw2-canonicalize-type.exp,
2045 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2046 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2047 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2048 provided by gdb_target_symbol_prefix_flags_asm.
2049 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2050 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2051 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2052 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2053 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2054 macros where needed). Use this macro for symbols which require
2055 the prefix provided by SYMBOL_PREFIX.
2057 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2059 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2061 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2062 representing expressions, of more than one list element.
2063 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2064 to prepend linker symbol prefix to f.
2065 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2066 table_1 and table_2.
2067 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2068 Likewise, for f and g.
2069 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2071 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2073 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2074 table_1_ptr and table_2_ptr.
2076 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2077 Joel Brobecker <brobecker@adacore.com>
2079 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2081 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2083 * gdb.reverse/s390-mvcle.c: New test.
2084 * gdb.reverse/s390-mvcle.exp: New file.
2085 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2087 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2089 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2091 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2093 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2095 * gdb.reverse/getresuid-reverse.exp: Likewise.
2096 * gdb.reverse/pipe-reverse.exp: Likewise.
2097 * gdb.reverse/readv-reverse.exp: Likewise.
2098 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2099 * gdb.reverse/time-reverse.exp: Likewise.
2100 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2102 2015-10-30 Yao Qi <yao.qi@linaro.org>
2104 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2105 (empty_cycle): Remove.
2106 (main): Don't call empty_cycle. Don't use watch_count_done.
2107 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2108 empty_cycle. Rewrite the code counting HW watchpoints.
2110 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2112 * gdb.reverse/fstatat-reverse.c: New test.
2113 * gdb.reverse/fstatat-reverse.exp: New file.
2114 * gdb.reverse/getresuid-reverse.c: New test.
2115 * gdb.reverse/getresuid-reverse.exp: New file.
2116 * gdb.reverse/pipe-reverse.c: New test.
2117 * gdb.reverse/pipe-reverse.exp: New file.
2118 * gdb.reverse/readv-reverse.c: New test.
2119 * gdb.reverse/readv-reverse.exp: New file.
2120 * gdb.reverse/recvmsg-reverse.c: New test.
2121 * gdb.reverse/recvmsg-reverse.exp: New file.
2122 * gdb.reverse/time-reverse.c: New test.
2123 * gdb.reverse/time-reverse.exp: New file.
2124 * gdb.reverse/waitpid-reverse.c: New test.
2125 * gdb.reverse/waitpid-reverse.exp: New file.
2127 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2129 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2131 2015-10-26 Doug Evans <dje@google.com>
2134 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2135 * gdb.dwarf2/bad-regnum.c: New file.
2136 * gdb.dwarf2/bad-regnum.exp: New file.
2138 2015-10-26 Doug Evans <dje@google.com>
2141 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2144 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2146 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2147 for a change by "Mention language in compile error message".
2149 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2152 * gdb.python/py-type.c (C::a_method): New.
2153 (C::a_const_method): New.
2154 (C::a_static_method): New.
2156 * gdb.python/py-type.exp (test_fields): Test getting fields
2157 from function and method.
2159 2015-10-21 Keven Boell <keven.boell@intel.com>
2161 * gdb.fortran/vla-alloc-assoc.exp: New file.
2162 * gdb.fortran/vla-datatypes.exp: New file.
2163 * gdb.fortran/vla-datatypes.f90: New file.
2164 * gdb.fortran/vla-history.exp: New file.
2165 * gdb.fortran/vla-ptype-sub.exp: New file.
2166 * gdb.fortran/vla-ptype.exp: New file.
2167 * gdb.fortran/vla-sizeof.exp: New file.
2168 * gdb.fortran/vla-sub.f90: New file.
2169 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2170 * gdb.fortran/vla-value-sub-finish.exp: New file.
2171 * gdb.fortran/vla-value-sub.exp: New file.
2172 * gdb.fortran/vla-value.exp: New file.
2173 * gdb.fortran/vla-ptr-info.exp: New file.
2174 * gdb.mi/mi-vla-fortran.exp: New file.
2175 * gdb.mi/vla.f90: New file.
2177 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2179 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2180 of hardwired timeout value.
2182 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2183 Pedro Alves <palves@redhat.com>
2185 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2186 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2188 2015-10-19 Josh Stone <jistone@redhat.com>
2190 * gdb.base/catch-syscall.c: Include <sched.h>.
2191 (unknown_syscall): New variable.
2192 (main): Trigger a vfork and an unknown syscall.
2193 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2194 (unknown_syscall_number): Likewise.
2195 (check_call_to_syscall): Accept an optional syscall pattern.
2196 (check_return_from_syscall): Likewise.
2197 (check_continue): Likewise.
2198 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2199 (test_catch_syscall_skipping_return): New test toggling off 'catch
2200 syscall' to step over the syscall return, then toggling back on.
2201 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2202 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2203 (do_syscall_tests): Call test_catch_syscall_without_args and
2204 test_catch_syscall_mid_vfork.
2205 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2206 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2208 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2210 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2211 print g_vE): Add new pass patterns.
2212 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2213 print various symbol names for vptr fields.
2215 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2217 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2220 2015-10-12 Yao Qi <yao.qi@linaro.org>
2222 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2224 2015-10-12 Yao Qi <yao.qi@linaro.org>
2226 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2227 is aarch64*-*-linux*.
2229 2015-10-12 Yao Qi <yao.qi@linaro.org>
2231 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2232 (can_relocate_bcond_true): ... it.
2233 (can_relocate_bcond_false): New function.
2235 (can_relocate_bl): Likewise.
2236 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2239 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2241 * gdb.base/nested-addr.c: New file.
2242 * gdb.base/nested-addr.exp: New testcase.
2244 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2246 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2247 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2248 its output. Ignore the output of "record goto begin" and instead
2249 check that GDB is replaying.
2251 2015-10-09 Pedro Alves <palves@redhat.com>
2253 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2254 (top level): Use it in the run with no args test.
2256 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2258 * gdb.dlang/properties.exp: New file.
2260 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2262 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2263 whether or not address 0x1000 is mapped on the target.
2265 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2267 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2270 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2272 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2273 instruction-history test.
2275 2015-09-28 Doug Evans <dje@google.com>
2277 * gdb.base/gcore.c (array_func): Add reference to static_array.
2279 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2281 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2284 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2286 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2287 short or char as base type.
2289 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2291 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2292 to allow any size enum.
2294 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2296 * gdb.ada/array_ptr_renaming.exp: New testcase.
2297 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2298 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2300 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2302 * gdb.trace/ftrace-lock.c: New file.
2303 * gdb.trace/ftrace-lock.exp: New file.
2305 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2307 * gdb.arch/insn-reloc.c: New file.
2308 * gdb.arch/ftrace-insn-reloc.exp: New file.
2310 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2312 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2314 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2315 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2316 * gdb.trace/range-stepping.c: Likewise.
2317 * gdb.trace/trace-break.c: Likewise.
2318 * gdb.trace/trace-mt.c (thread_function): Likewise.
2319 * gdb.trace/ftrace.c (marker): Likewise.
2320 * gdb.trace/trace-condition.c (marker): Likewise.
2321 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2322 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2325 2015-09-18 Doug Evans <xdje42@gmail.com>
2327 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2328 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2330 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2332 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2335 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2337 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2338 the pending breakpoint. Remove timeout override for "Run till
2339 MI pending breakpoint on pendfunc3 on thread 2" test.
2341 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2343 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2346 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2348 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2349 in breakpoint filename pattern.
2351 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2353 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2355 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2357 * gdb.linespec/explicit.exp: Check for readline support for
2358 tab-completion tests. Fix obvious typo.
2360 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2362 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2365 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2367 * gdb.btrace/non-stop.c: New.
2368 * gdb.btrace/non-stop.exp: New.
2370 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2371 Yao Qi <yao.qi@linaro.org>
2373 * gdb.trace/trace-condition.c: New file.
2374 * gdb.trace/trace-condition.exp: New file.
2376 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2378 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2379 for testing bytecode compilation.
2381 2015-09-16 Pedro Alves <palves@redhat.com>
2382 Sandra Loosemore <sandra@codesourcery.com>
2384 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2385 (SECONDS): Redefine.
2386 (main): Call pthread_kill and alarm early.
2387 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2389 (test): If the target can't hardware step and doesn't support
2390 displaced stepping, increase the timeout.
2392 2015-09-16 Pedro Alves <palves@redhat.com>
2394 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2395 (enable_debug): New procedures.
2396 (test): Use them. Bail out if waiting for threads fails.
2397 (top level): Bail out if a test fails.
2399 2015-09-16 Yao Qi <yao.qi@linaro.org>
2401 * gdb.asm/asm-source.exp: Set asm-arch for
2402 aarch64*-*-* target.
2403 * gdb.asm/aarch64.inc: New file.
2405 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2407 * gdb.ada/array_of_variable_length.exp: New testcase.
2408 * gdb.ada/array_of_variable_length/foo.adb: New file.
2409 * gdb.ada/array_of_variable_length/pck.adb: New file.
2410 * gdb.ada/array_of_variable_length/pck.ads: New file.
2412 2015-09-15 Doug Evans <dje@google.com>
2414 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2415 of function static local variable.
2417 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2419 * gdb.threads/tls-so_extern.exp: New test file.
2420 * gdb.threads/tls-so_extern.c: New test file.
2421 * gdb.threads/tls-so_extern_main.c: New test file.
2423 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2425 * gdb.opt/solib-intra-step-lib.c: New file.
2426 * gdb.opt/solib-intra-step-main.c: New file.
2427 * gdb.opt/solib-intra-step.exp: New file.
2429 2015-09-15 Pedro Alves <palves@redhat.com>
2431 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2432 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2434 2015-09-14 Pedro Alves <palves@redhat.com>
2436 * gdb.base/hook-stop-continue.c: Delete.
2437 * gdb.base/hook-stop-continue.exp: Delete.
2438 * gdb.base/hook-stop-frame.c: Delete.
2439 * gdb.base/hook-stop-frame.exp: Delete.
2440 * gdb.base/hook-stop.c: New file.
2441 * gdb.base/hook-stop.exp: New file.
2443 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2445 * gdb.ada/access_to_packed_array.exp: New testcase.
2446 * gdb.ada/access_to_packed_array/foo.adb: New file.
2447 * gdb.ada/access_to_packed_array/pack.adb: New file.
2448 * gdb.ada/access_to_packed_array/pack.ads: New file.
2450 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2452 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2455 2015-09-11 Don Breazeal <donb@codesourcery.com>
2457 * gdb.base/foll-exec.c: Add copyright header. Fix
2459 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2460 (do_exec_tests): Use clean_restart in place of zap_session,
2461 and for test initialization. Fix formatting issues. Use
2462 fail in place of perror.
2463 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2464 an expect statement to match an expression with output from
2465 the program under debug.
2466 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2467 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2468 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2469 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2470 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2472 2015-09-09 Doug Evans <dje@google.com>
2474 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2476 2015-09-09 Doug Evans <dje@google.com>
2478 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2480 2015-09-09 Doug Evans <dje@google.com>
2482 * gdb.base/savedregs.exp: Fix typo.
2484 2015-09-09 Pedro Alves <palves@redhat.com>
2486 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2488 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2490 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2491 command actually switches threads. Give up on remaining
2492 tests if target fails to stop at breakpoint.
2494 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2496 * gdb.ada/funcall_char.exp: New testcase.
2497 * gdb.ada/funcall_char/foo.adb: New file.
2499 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2501 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2502 expected outputs. Add two testcases for completing ambiguous
2504 * gdb.ada/complete/aux_pck.adb: New file.
2505 * gdb.ada/complete/aux_pck.ads: New file.
2506 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2507 Ambiguous_Func functions.
2508 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2509 * gdb.ada/complete/pck.adb: Likewise.
2511 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2513 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2514 failures to run the test program under GDB.
2516 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2518 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2521 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2523 * gdb.base/run-after-attach.exp: New test file.
2524 * gdb.base/run-after-attach.c: New test file.
2526 2015-08-26 Don Breazeal <donb@codesourcery.com>
2528 * gdb.base/foll-exec-2.c: New test program.
2529 * gdb.base/foll-exec-2.exp: New test.
2531 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2533 * gdb.base/nested-subp1.exp: New file.
2534 * gdb.base/nested-subp1.c: New file.
2535 * gdb.base/nested-subp2.exp: New file.
2536 * gdb.base/nested-subp2.c: New file.
2537 * gdb.base/nested-subp3.exp: New file.
2538 * gdb.base/nested-subp3.c: New file.
2540 2015-08-24 Pedro Alves <palves@redhat.com>
2542 * gdb.server/connect-without-multi-process.c: New file.
2543 * gdb.server/connect-without-multi-process.exp: New file.
2545 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2547 * gdb.opt/inline-markers.c: Make z int.
2549 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2551 * gdb.opt/inline-markers.c: Make z volatile.
2553 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2555 * gdb.opt/inline-bt.c: New volatile global z.
2556 * gdb.opt/inline-cmds.c: Likewise.
2557 * gdb.opt/inline-locals.c: Likewise.
2558 * gdb.opt/inline-markers.c: New extern global z.
2560 (inline_fn): Likewise.
2562 2015-08-24 Pedro Alves <palves@redhat.com>
2564 * config/m32r-stub.exp: Remove file.
2565 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2566 * gdb.base/call-rt-st.exp: Likewise.
2567 * gdb.base/call-strs.exp: Likewise.
2568 * gdb.base/default.exp: Remove references to h8300-*-hms and
2570 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2572 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2574 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2575 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2576 and "return" use KFAIL when GDB can not read/write the vector
2579 2015-08-21 Gary Benson <gbenson@redhat.com>
2581 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2583 2015-08-20 Pedro Alves <palves@redhat.com>
2585 * gdb.server/solib-list.exp: No longer expect an interior stop in
2588 2015-08-20 Pedro Alves <palves@redhat.com>
2590 * gdb.server/connect-stopped-target.c: New file.
2591 * gdb.server/connect-stopped-target.exp: New file.
2593 2015-08-20 Pedro Alves <palves@redhat.com>
2595 * gdb.dwarf2/comp-unit-lang.exp: New file.
2596 * gdb.dwarf2/comp-unit-lang.c: New file.
2598 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2600 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2601 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2603 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2605 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2606 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2608 2015-08-18 Doug Evans <dje@google.com>
2609 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2611 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2612 skip_python_tests. New arg prompt_regexp.
2613 (skip_python_tests): New function.
2614 * lib/mi-support.exp (mi_skip_python_tests): New function.
2615 * gdb.python/py-mi-objfile-gdb.py: New file.
2616 * gdb.python/py-mi-objfile.c: New file.
2617 * gdb.python/py-mi-objfile.exp: New file.
2619 2015-08-17 Keith Seitz <keiths@redhat.com>
2621 * gdb.linespec/explicit.exp: Move strace test from here ...
2622 * gdb.trace/strace.exp: ... to here.
2624 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2626 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2627 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2629 2015-08-14 Doug Evans <xdje42@gmail.com>
2631 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2632 inferior before selecting a new file.
2634 2015-08-14 Doug Evans <xdje42@gmail.com>
2636 * gdb.mi/mi-disassemble.exp: Update.
2637 * gdb.base/disasm-optim.S: New file.
2638 * gdb.base/disasm-optim.c: New file.
2639 * gdb.base/disasm-optim.h: New file.
2640 * gdb.base/disasm-optim.exp: New file.
2642 2015-08-14 Keith Seitz <keiths@redhat.com>
2644 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2647 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2649 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2651 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2653 * gdb.ada/fun_renaming.exp: New testcase.
2654 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2655 * gdb.ada/fun_renaming/pack.adb: New file.
2656 * gdb.ada/fun_renaming/pack.ads: New file.
2658 2015-08-12 Keith Seitz <keiths@redhat.com>
2660 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2661 gdb_get_line_number.
2663 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2665 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2666 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2667 gdb.base/dso2dso.exp: New files.
2669 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2670 Pedro Alves <palves@redhat.com>
2671 Keith Seitz <keiths@redhat.com>
2673 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2676 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2678 * gdb.base/gdbhistsize-history.exp
2679 (test_histsize_history_setting): Use save_vars.
2680 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2682 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2683 * gdb.base/readline.exp: Use save_vars.
2685 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2687 * lib/gdb.exp (save_vars): New proc.
2689 2015-08-11 Keith Seitz <keiths@redhat.com>
2691 * gdb.base/help.exp: Update help_breakpoint_text.
2693 2015-08-11 Keith Seitz <keiths@redhat.com>
2695 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2696 (at toplevel): Call test_explicit_breakpoints.
2697 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2699 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2700 breakpoint conditions, "-cond".
2702 2015-08-11 Keith Seitz <keiths@redhat.com>
2704 * gdb.linespec/3explicit.c: New file.
2705 * gdb.linespec/cpexplicit.cc: New file.
2706 * gdb.linespec/cpexplicit.exp: New file.
2707 * gdb.linespec/explicit.c: New file.
2708 * gdb.linespec/explicit.exp: New file.
2709 * gdb.linespec/explicit2.c: New file.
2710 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2711 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2712 before using in the matching pattern.
2713 Clarify that `prefix' is a regular expression.
2715 2015-08-11 Keith Seitz <keiths@redhat.com>
2717 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2719 Add tests for missing ",FMT" and ",".
2721 2015-08-10 Doug Evans <dje@google.com>
2722 Keith Seitz <keiths@redhat.com>
2725 * gdb.base/completion.exp: Add location completer tests.
2727 2015-08-07 Pedro Alves <palves@redhat.com>
2729 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2731 (top level): Run do_test with and without displaced stepping.
2733 2015-08-07 Pedro Alves <palves@redhat.com>
2735 * gdb.base/valgrind-disp-step.c: New file.
2736 * gdb.base/valgrind-disp-step.exp: New file.
2738 2015-08-07 Pedro Alves <palves@redhat.com>
2740 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2742 (main): Add alarm. Run an infinite loop instead of calling
2744 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2746 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2748 (main): Add alarm. Run an infinite loop instead of calling
2750 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2753 2015-08-07 Pedro Alves <palves@redhat.com>
2755 * gdb.base/checkpoint-ns.exp: New file.
2756 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2759 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2761 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2762 * gdb.btrace/instruction_history.exp: Update.
2763 * gdb.btrace/tsx.exp: New.
2764 * gdb.btrace/tsx.c: New.
2766 2015-08-06 Pedro Alves <palves@redhat.com>
2768 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2770 * gdb.reverse/until-precsave.exp: Bump timeouts.
2772 2015-08-06 Pedro Alves <palves@redhat.com>
2774 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2776 2015-08-06 Pedro Alves <palves@redhat.com>
2779 * gdb.threads/process-dies-while-handling-bp.c: New file.
2780 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2782 2015-08-06 Pedro Alves <palves@redhat.com>
2784 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2785 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2787 2015-08-05 Pedro Alves <palves@redhat.com>
2789 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2790 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2792 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2794 * gdb.base/bp-permanent.exp: Report test as unsupported if
2795 the target cannot stop at the permanent breakpoint.
2797 2015-08-03 Doug Evans <dje@google.com>
2799 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2802 2015-08-03 Doug Evans <dje@google.com>
2804 * Makefile.in (workers/%.worker, build-perf): New rule.
2805 (GDB_PERFTEST_MODE): New variable.
2806 (check-perf): Use it.
2807 (clean): Clean up gdb.perf parallel build subdirs.
2808 * lib/build-piece.exp: New file.
2809 * lib/gdb.exp (make_gdb_parallel_path): New function
2810 (standard_output_file, standard_temp_file): Call it.
2811 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2813 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2815 2015-08-03 Doug Evans <dje@google.com>
2817 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2818 (LOG_FILE_NAME): New global.
2819 (TextReporter.__init__): Initialize self.txt_sum.
2820 (TextReporter.report): Add support for multiple data-points.
2821 Move report to perftest.sum, put raw data in perftest.log.
2822 (TextReporter.start): Open sum and log files.
2823 (TextReporter.end): Close sum and log files.
2824 * gdb.perf/lib/perftest/testresult.py
2825 (SingleStatisticTestResult.record): Handle multiple data-points.
2827 2015-07-31 Pedro Alves <palves@redhat.com>
2829 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2830 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2831 kill_wait_spawned_process instead of explicit "kill -9".
2832 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2833 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2834 kill_wait_spawned_process.
2835 * gdb.base/attach-twice.exp: Likewise.
2836 * gdb.base/attach.exp: Likewise.
2837 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2839 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2840 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2841 kill_wait_spawned_process.
2842 * gdb.base/valgrind-infcall.exp: Likewise.
2843 * gdb.multi/multi-attach.exp: Likewise.
2844 * gdb.python/py-prompt.exp: Likewise.
2845 * gdb.python/py-sync-interp.exp: Likewise.
2846 * gdb.server/ext-attach.exp: Likewise.
2847 * gdb.threads/attach-into-signal.exp (corefunc): Use
2848 spawn_wait_for_attach, spawn_id_get_pid and
2849 kill_wait_spawned_process.
2850 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2851 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2852 spawn_id_get_pid and kill_wait_spawned_process.
2853 * gdb.threads/attach-stopped.exp (corefunc): Use
2854 spawn_wait_for_attach, spawn_id_get_pid and
2855 kill_wait_spawned_process.
2856 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2857 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2858 kill_wait_spawned_process instead of explicit "kill -9".
2859 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2860 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2861 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2862 processes. Don't map cygwin/windows pids here. Now returns a
2865 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2867 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2868 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2871 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2873 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2875 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2878 2014-05-21 Mark Wielaard <mjw@redhat.com>
2880 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2882 2015-07-30 Pedro Alves <palves@redhat.com>
2884 * linux-low.c (handle_extended_wait): Set the child's last
2885 reported status to TARGET_WAITKIND_STOPPED.
2887 2015-07-30 Pedro Alves <palves@redhat.com>
2890 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2891 only shows inferior 1.
2893 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2894 Pedro Alves <palves@redhat.com>
2897 * gdb.threads/fork-plus-threads.c: New file.
2898 * gdb.threads/fork-plus-threads.exp: New file.
2900 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2902 * gdb.base/batch-preserve-term-settings.exp
2903 (test_terminal_settings_preserved_after_cli_exit): Use
2906 2015-07-29 Pedro Alves <palves@redhat.com>
2907 Don Breazeal <donb@codesourcery.com>
2909 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2910 output from both inferior_spawn_id and gdb_spawn_id.
2912 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2914 * gdb.threads/attach-into-signal.exp (corefunc): Use
2915 with_test_prefix on nested loops, uniquefying the test messages.
2917 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2919 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2922 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2924 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2926 (test_terminal_settings_preserved_after_sigterm): New test.
2928 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2930 * gdb.base/batch-preserve-term-settings.exp
2931 (test_terminal_settings_preserved_after_cli_exit): New test.
2933 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2935 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2936 manipulation of saved_gdbflags.
2937 (test_terminal_settings_preserved): Remove global declaration of
2938 the unused variable pagination_prompt. Remove manipulation of
2939 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2942 2015-07-29 Pedro Alves <palves@redhat.com>
2944 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2946 2015-07-29 Pedro Alves <palves@redhat.com>
2948 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2951 2015-07-29 Pedro Alves <palves@redhat.com>
2953 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2954 (main): Call gdb_unbuffer_output.
2955 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2956 (main): Call gdb_unbuffer_output.
2957 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2958 (main): Call gdb_unbuffer_output.
2959 * gdb.base/call-strs.exp: Adjust to step over the
2960 gdb_unbuffer_output call.
2961 * gdb.base/catch-gdb-caused-signals.c: Include
2962 "../lib/unbuffer_output.c".
2963 (main): Call gdb_unbuffer_output.
2964 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2965 (main): Call gdb_unbuffer_output.
2966 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2967 (main): Call gdb_unbuffer_output.
2968 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2969 (main): Call gdb_unbuffer_output.
2970 * gdb.base/shlib-call.exp: Adjust to step over the
2971 gdb_unbuffer_output call.
2972 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2973 (main): Call gdb_unbuffer_output.
2974 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2975 (main): Call gdb_unbuffer_output.
2976 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2977 (main): Rename to ...
2979 (main): Reimplement.
2980 * gdb.base/varargs.exp: Run to test instead of to main.
2981 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2982 (main): Call gdb_unbuffer_output.
2984 2015-07-29 Pedro Alves <palves@redhat.com>
2986 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2987 factore out from mi_continue_dprintf. For call-style dprintfs,
2988 expect dprintf output out of $inferior_spawn_id.
2989 (mi_continue_dprintf): Use mi_expect_dprintf.
2990 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2991 (main): Call gdb_unbuffer_output.
2993 2015-07-29 Pedro Alves <palves@redhat.com>
2995 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2996 (default_mi_gdb_start): Set inferior_spawn_id instead of
2997 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2999 (mi_gdb_test): Always expect inferior output from both
3000 $inferior_spawn_id and $gdb_spawn_id.
3002 2015-07-29 Pedro Alves <palves@redhat.com>
3004 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3005 send_inferior and $inferior_spawn_id.
3007 2015-07-29 Pedro Alves <palves@redhat.com>
3009 * gdb.gdb/complaints.exp (test_initial_complaints)
3010 (test_serial_complaints, test_short_complaints): Use
3012 (test_empty_complaint): Handle $inferior_spawn_id !=
3015 2015-07-29 Pedro Alves <palves@redhat.com>
3017 * gdb.base/varargs.exp: Use gdb_test_stdio.
3019 2015-07-29 Pedro Alves <palves@redhat.com>
3021 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3023 2015-07-29 Pedro Alves <palves@redhat.com>
3025 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3027 2015-07-29 Pedro Alves <palves@redhat.com>
3029 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3030 parameter into two new parameters, "inf_result" and "gdb_result".
3031 Expect inferior output and gdb output from $inferior_spawn_id and
3032 $gdb_spawn_id, respectively. Adjust all callers.
3034 2015-07-29 Pedro Alves <palves@redhat.com>
3036 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3037 of gdb_test_sequence.
3039 2015-07-29 Pedro Alves <palves@redhat.com>
3041 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3042 (saw_spurious_output): Expect inferior output from
3043 $inferior_spawn_id. Use gdb_test_stdio.
3045 2015-07-29 Pedro Alves <palves@redhat.com>
3047 * gdb.base/dprintf.exp: Use standard_testfile. Change
3048 prepare_for_testing call.
3049 (srcfile): Don't set.
3050 (restart): New procedure.
3051 (test_dprintf): New procecure, use to continue over dprintfs.
3052 (test_call, test_agent): New procedures, tests moved here.
3053 Restart gdb and recreate dprintfs. Adjust expected output.
3055 2015-07-29 Pedro Alves <palves@redhat.com>
3057 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3059 2015-07-29 Pedro Alves <palves@redhat.com>
3061 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3063 2015-07-29 Pedro Alves <palves@redhat.com>
3065 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3068 2015-07-29 Pedro Alves <palves@redhat.com>
3070 * lib/gdb.exp (gdb_test_stdio): New procedure.
3072 2015-07-29 Pedro Alves <palves@redhat.com>
3074 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3076 2015-07-29 Pedro Alves <palves@redhat.com>
3078 * gdb.base/call-signal-resume.exp: Remove check for
3079 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3080 * gdb.base/unwindonsignal.exp: Likewise.
3081 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3082 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3084 2015-07-29 Pedro Alves <palves@redhat.com>
3086 * gdb.base/siginfo-addr.c (pass): New function.
3087 (handler): Call it iff si_addr is correct.
3088 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3089 Set a breakpoint at "pass" and continue to it.
3091 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3093 * gdb.python/py-objfile.exp: Make some tests have unique names.
3094 * gdb.python/py-pp-registration.exp: Likewise.
3096 2015-07-28 Pedro Alves <palves@redhat.com>
3098 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3100 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3102 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3104 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3106 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3108 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3110 * gdb.base/gdb-sigterm-2.exp: New test.
3112 2015-07-25 Doug Evans <xdje42@gmail.com>
3115 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3116 (workers/%.worker, build-perf): New rule.
3117 (GDB_PERFTEST_MODE): New variable.
3118 (check-perf): Use it.
3119 (clean): Clean up gdb.perf parallel build subdirs.
3120 * lib/build-piece.exp: New file.
3121 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3122 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3124 (standard_temp_file): Ditto.
3125 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3128 2015-07-24 Doug Evans <dje@google.com>
3130 * gdb.perf/lib/perftest/utils.py: New file.
3131 * gdb.perf/gm-hello.cc: New file.
3132 * gdb.perf/gm-pervasive-typedef.cc: New file.
3133 * gdb.perf/gm-pervasive-typedef.h: New file.
3134 * gdb.perf/gm-std.cc: New file.
3135 * gdb.perf/gm-std.h: New file.
3136 * gdb.perf/gm-use-cerr.cc: New file.
3137 * gdb.perf/gm-utils.h: New file.
3138 * gdb.perf/gmonster-null-lookup.py: New file.
3139 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3140 * gdb.perf/gmonster-print-cerr.py: New file.
3141 * gdb.perf/gmonster-ptype-string.py: New file.
3142 * gdb.perf/gmonster-runto-main.py: New file.
3143 * gdb.perf/gmonster-select-file.py: New file.
3144 * gdb.perf/gmonster1-null-lookup.exp: New file.
3145 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3146 * gdb.perf/gmonster1-print-cerr.exp: New file.
3147 * gdb.perf/gmonster1-ptype-string.exp: New file.
3148 * gdb.perf/gmonster1-runto-main.exp: New file.
3149 * gdb.perf/gmonster1-select-file.exp: New file.
3150 * gdb.perf/gmonster1.cc: New file.
3151 * gdb.perf/gmonster1.exp: New file.
3152 * gdb.perf/gmonster2-null-lookup.exp: New file.
3153 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3154 * gdb.perf/gmonster2-print-cerr.exp: New file.
3155 * gdb.perf/gmonster2-ptype-string.exp: New file.
3156 * gdb.perf/gmonster2-runto-main.exp: New file.
3157 * gdb.perf/gmonster2-select-file.exp: New file.
3158 * gdb.perf/gmonster2.cc: New file.
3159 * gdb.perf/gmonster2.exp: New file.
3161 2015-07-24 Doug Evans <dje@google.com>
3163 * gdb.perf/README: New file.
3164 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3165 * lib/gen-perf-test.exp: New file.
3167 2015-07-24 Doug Evans <dje@google.com>
3169 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3170 (PerfTest::startup): New function.
3171 (PerfTest::run): Return result of calling body.
3172 (PerfTest::assemble): Rewrite.
3173 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3174 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3175 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3176 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3177 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3179 2015-07-24 Doug Evans <dje@google.com>
3181 * lib/gdb.exp (clean_restart): Make executable optional.
3183 2015-07-24 Doug Evans <dje@google.com>
3185 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3186 compiler_info references.
3187 * gdb.cp/temargs.exp: Ditto.
3188 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3189 (get_compiler_info): Early exit if already computed. Set compiler_info
3190 to "unknown" if there was a problem.
3191 (test_compiler_info): Add function comment. Call get_compiler_info.
3193 2015-07-24 Doug Evans <dje@google.com>
3195 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3196 (workers/%.worker, build-perf): New rule.
3197 (GDB_PERFTEST_MODE): New variable.
3198 (check-perf): Use it.
3199 (clean): Clean up gdb.perf parallel build subdirs.
3200 * lib/build-piece.exp: New file.
3201 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3202 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3204 (standard_temp_file): Ditto.
3205 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3208 2015-07-24 Doug Evans <dje@google.com>
3210 * lib/future.exp (gdb_default_target_compile): New option
3212 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3215 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3217 * gdb.base/catch-syscall.exp: Call gdb_exit before
3220 2015-07-24 Pedro Alves <palves@redhat.com>
3222 * gdb.python/py-events.exp: Accept output between the stop event
3224 * gdb.python/py-evsignal.exp: Likewise.
3225 * gdb.python/py-evthreads.exp: Likewise.
3227 2015-07-24 Pedro Alves <palves@redhat.com>
3230 * gdb.threads/non-ldr-exit.c: New file.
3231 * gdb.threads/non-ldr-exit.exp: New file.
3233 2015-07-24 Yao Qi <yao.qi@linaro.org>
3235 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3238 2015-07-24 Yao Qi <yao.qi@linaro.org>
3240 * gdb.server/ext-restart.exp: New file.
3242 2015-07-24 Yao Qi <yao.qi@linaro.org>
3244 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3246 * gdb.server/ext-wrapper.exp: New file.
3248 2015-07-23 Doug Evans <dje@google.com>
3250 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3251 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3253 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3255 * gdb.ada/var_arr_typedef.exp: New testcase.
3256 * gdb.ada/var_arr_typedef/pack.adb: New file.
3257 * gdb.ada/var_arr_typedef/pack.ads: New file.
3258 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3260 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3262 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3264 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3266 * gdb.arch/i386-biarch-core.exp: Replace istarget
3267 by "complete set gnutarget". Remove expectation for the "core-file"
3270 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3272 Revert the previous commit:
3273 Tests for validate symbol file using build-id.
3275 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3277 Tests for validate symbol file using build-id.
3278 * gdb.base/solib-mismatch-lib.c: New file.
3279 * gdb.base/solib-mismatch-libmod.c: New file.
3280 * gdb.base/solib-mismatch.c: New file.
3281 * gdb.base/solib-mismatch.exp: New file.
3283 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3285 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3287 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3288 * gdb.base/siginfo.exp: Likewise.
3289 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3291 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3293 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3295 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3297 * gdb.trace/range-stepping.exp: Check that the target supports
3300 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3302 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3304 2015-07-14 Pedro Alves <palves@redhat.com>
3306 * gdb.base/killed-outside.exp: New file.
3307 * gdb.base/killed-outside.c: New file.
3309 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3311 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3313 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3315 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3317 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3318 infcall tests instead of setting up for KFAIL.
3320 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3322 * gdb.btrace/record_goto-step.exp: New.
3324 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3327 * gdb.compile/compile.c (struct struct_type): Add volatile to
3329 * gdb.compile/compile.exp
3330 (compile code struct_object.selffield = &struct_object): Skip further
3331 struct_object tests if this one xfails.
3333 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3336 * gdb.trace/ax.exp: Add test.
3338 2015-07-07 Yao Qi <yao.qi@linaro.org>
3340 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3341 instead of istarget "aarch64*-*-*".
3342 * gdb.arch/aarch64-fp.exp: Likewise.
3343 * gdb.base/float.exp: Likewise.
3344 * gdb.reverse/aarch64.exp: Likewise.
3345 * lib/gdb.exp (is_aarch64_target): New proc.
3347 2015-07-07 Yao Qi <yao.qi@linaro.org>
3349 * lib/gdb.exp (is_aarch32_target): New proc.
3350 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3351 instead of "istarget "arm*-*-*"".
3352 * gdb.arch/arm-disp-step.exp: Likewise.
3353 * gdb.arch/thumb-bx-pc.exp: Likewise.
3354 * gdb.arch/thumb-prologue.exp: Likewise.
3355 * gdb.arch/thumb-singlestep.exp: Likewise.
3356 * gdb.base/disp-step-syscall.exp: Likewise.
3357 * gdb.base/float.exp: Likewise.
3359 2015-07-07 Yao Qi <yao.qi@linaro.org>
3361 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3362 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3364 2015-07-07 Yao Qi <yao.qi@linaro.org>
3366 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3367 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3369 * gdb.multi/multi-arch.exp: Likewise.
3371 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3373 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3376 2015-07-07 Yao Qi <yao.qi@linaro.org>
3378 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3380 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3382 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3383 '[' and ']' characters.
3385 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3387 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3389 2015-06-29 Pedro Alves <palves@redhat.com>
3392 * gdb.threads/hand-call-new-thread.c: New file.
3393 * gdb.threads/hand-call-new-thread.c: New file.
3395 2015-06-26 Keith Seitz <keiths@redhat.com>
3396 Doug Evans <dje@google.com>
3399 * gdb.cp/var-tag-2.cc: New file.
3400 * gdb.cp/var-tag-3.cc: New file.
3401 * gdb.cp/var-tag-4.cc: New file.
3402 * gdb.cp/var-tag.cc: New file.
3403 * gdb.cp/var-tag.exp: New file.
3405 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3407 * gdb.base/history-duplicates.exp: New test.
3409 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3411 * gdb.base/completion.exp: Test the completion of the "focus"
3414 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3416 * gdb.arch/amd64-prologue-skip.S: New file.
3417 * gdb.arch/amd64-prologue-skip.exp: New file.
3419 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3421 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3422 is_address_zero_readable check.
3424 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3426 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3427 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3429 2015-06-24 Yao Qi <yao.qi@linaro.org>
3431 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3434 2015-06-24 Yao Qi <yao.qi@linaro.org>
3436 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3437 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3438 * gdb.base/siginfo-thread.exp: Likewise.
3440 2015-06-22 Yao Qi <yao.qi@linaro.org>
3442 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3444 2015-06-22 Yao Qi <yao.qi@linaro.org>
3446 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3448 (skip_hw_watchpoint_tests): Likewise.
3450 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3452 * gdb.base/gdbinit-history.exp: Test the interaction between
3453 setting GDBHISTSIZE and setting the history size via .gdbinit.
3455 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3458 * gdb.base/gdbhistsize-history.exp: New test.
3460 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3462 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3464 * gdb.base/readline.exp: Likewise.
3466 2015-06-17 Yao Qi <yao.qi@linaro.org>
3468 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3471 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3473 * gdb.base/gdbinit-history.exp: Add test case to check that
3474 an unlimited history file does not get truncated on exit.
3476 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3478 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3479 (VECTOR): New macro. Use it...
3480 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3481 ...for these typedefs.
3482 (int8, char1, int1, double1): New typedefs.
3483 (struct just_int2, struct two_int2): New structures.
3484 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3485 (add_structvecs, add_singlevecs): New functions.
3486 (main): Call add_some_intvecs twice.
3487 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3488 the compile and exit upon failure. Try compiling for the "native"
3489 architecture. Test inferior function calls with vector arguments
3490 and vector return value handling with "finish" and "return".
3492 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3494 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3495 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3497 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3499 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3501 PR breakpoints/16465
3502 * gdb.mi/mi-dprintf-pending.c: New file.
3503 * gdb.mi/mi-dprintf-pending.exp: New test.
3504 * gdb.mi/mi-dprintf-pendshr.c: New file.
3506 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3507 Mircea Gherzan <mircea.gherzan@intel.com>
3509 * gdb.arch/i386-mpx-map.c: New file.
3510 * gdb.arch/i386-mpx-map.exp: New File.
3512 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3514 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3515 * gdb.arch/i386-mpx.exp: Indentation fixed.
3517 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3519 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3520 function and improved indentation.
3521 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3522 gdb_test_multiple. Added additional tests to skip the test.
3524 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3526 * gdb.arch/i386-avx512.c: Change path in include file.
3527 * gdb.arch/i386-avx512.exp: Change include dir path
3529 * gdb.arch/i386-mpx.c: Change path in include file.
3530 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3533 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3535 * gdb.compile/compile-print.exp (compile print *vararray@3)
3536 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3538 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3540 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3541 (do not keep jit in memory): ... this.
3542 (expect 5): Change it to ...
3543 (expect no 5): ... this.
3545 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3548 * gdb.mi/mi-detach.exp: New file.
3550 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3553 * gdb.arch/amd64-tailcall-self.S: New file.
3554 * gdb.arch/amd64-tailcall-self.c: New file.
3555 * gdb.arch/amd64-tailcall-self.exp: New file.
3557 2015-05-28 Don Breazeal <donb@codesourcery.com>
3559 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3560 tests for remote targets by checking is_target_gdbserver.
3562 2015-05-27 Doug Evans <dje@google.com>
3564 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3565 * gdb.dwarf2/opaque-type-lookup.c: New file.
3566 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3568 2015-05-26 Doug Evans <dje@google.com>
3570 * gdb.cp/iostream.cc: New file.
3571 * gdb.cp/iostream.exp: New file.
3573 2015-05-26 Doug Evans <dje@google.com>
3575 * gdb.dwarf2/dw2-op-call.exp: Update.
3576 * gdb.dwarf2/dw4-sig-types.exp: Update.
3577 * gdb.dwarf2/implptr.exp: Update.
3578 * gdb.mi/mi-cmd-param-changed.exp: Update.
3580 2015-05-26 Doug Evans <dje@google.com>
3582 * gdb.python/py-lazy-string.c: New file.
3583 * gdb.python/py-lazy-string.exp: New file.
3584 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3585 (main): Update. Add estring3.
3586 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3587 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3589 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3590 Yao Qi <yao.qi@linaro.org>
3592 * gdb.reverse/aarch64.c: New.
3593 * gdb.reverse/aarch64.exp: New.
3595 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3597 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3598 (supports_reverse): Likewise.
3600 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3602 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3603 Use with_test_prefix.
3605 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3607 * gdb.base/completion.exp: Add test for completion of layout
3610 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3612 * lib/gdb.exp (skip_tui_tests): New proc.
3613 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3615 2015-05-19 Pedro Alves <palves@redhat.com>
3617 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3618 Save the whole env array instead of just HOME. Unset HISTSIZE in
3619 the environment while testing. Restore whole environment
3622 2015-05-16 Doug Evans <xdje42@gmail.com>
3624 * gdb.guile/scm-ports.c: New file.
3625 * gdb.guile/scm-ports.exp: Add memory port tests.
3627 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3629 * gdb.compile/compile-print.c: New file.
3630 * gdb.compile/compile-print.exp: New file.
3632 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3634 * gdb.compile/compile-ops.exp: Cast param to void.
3635 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3636 (compile code struct_object.selffield = &struct_object): Add xfail.
3638 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3640 * gdb.ada/arr_enum_with_gap: New testcase.
3642 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3644 * gdb.ada/byte_packed_arr: New testcase.
3646 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3648 * gdb.ada/pckd_neg: New testcase.
3650 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3653 * gdb.base/gdbinit-history.exp: New test.
3654 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3655 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3657 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3659 * gdb.python/py-xmethods.cc: Enhance test case.
3660 * gdb.python/py-xmethods.exp: New tests.
3661 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3663 (B_indexoper): Likewise.
3664 (global_dm_list) : Add new xmethod worker functions.
3666 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3668 * gdb.base/coredump-filter.exp: Correctly unset
3669 "coredump_var_addr" array.
3671 2015-05-08 Pedro Alves <palves@redhat.com>
3673 * gdb.server/non-existing-program.exp: Unset spawn_id.
3675 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3678 * gdb.python/py-xmethods.exp: Add tests.
3680 2015-05-08 Yao Qi <yao.qi@linaro.org>
3683 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3684 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3685 function set_coredump_filter, and remove remote_exec call.
3686 Remove argument ipid. Callers update.
3687 (top level): Don't get inferior's PID.
3689 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3691 * gdb.base/watch_thread_num.exp: Skip test on targets without
3694 2015-05-06 Pedro Alves <palves@redhat.com>
3697 * gdb.server/non-existing-program.exp: New file.
3699 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3701 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3703 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3705 * gdb.ada/out_of_line_in_inlined: New testcase.
3707 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3709 * gdb.ada/var_rec_arr: New testcase.
3711 2015-04-30 Yao Qi <yao.qi@linaro.org>
3713 * gdb.base/break-idempotent.exp: If
3714 skip_hw_watchpoint_multi_tests returns true, skip the tests
3715 on "rwatch" and "awatch".
3717 2015-04-30 Yao Qi <yao.qi@linaro.org>
3719 * gdb.base/relativedebug.exp: Invoke gdb command
3720 "info sharedlibrary", and if libc.so doesn't have debug info,
3723 2015-04-29 Doug Evans <dje@google.com>
3725 * gdb.python/py-xmethods.exp: Add ptype tests.
3726 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3727 get_result_type method.
3729 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3731 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3732 the target does not support hardware watchpoints.
3734 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3736 * gdb.base/break-always.exp: Abort testing if writing to memory
3739 2015-04-28 Doug Evans <dje@google.com>
3741 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3742 * gdb.python/py-pp-registration.exp: ... here. New file.
3743 * gdb.python/py-pp-registration.c: New file.
3744 * gdb.python/py-pp-registration.py: New file.
3746 2015-04-28 Doug Evans <dje@google.com>
3748 * gdb.python/py-bad-printers.c: New file.
3749 * gdb.python/py-bad-printers.py: New file.
3750 * gdb.python/py-bad-printers.exp: New file.
3752 2015-04-28 Sasha Smundak <asmundak@google.com>
3754 * gdb.python/py-type.exp: New test.
3756 2015-04-28 Andy Wingo <wingo@igalia.com>
3758 * gdb.python/py-parameter.exp:
3759 * gdb.guile/scm-parameter.exp: Escape the path that we are
3760 matching against, as it might contain characters that are special
3761 to regular expressions.
3763 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3765 * gdb.ada/rec_comp: New testcase.
3767 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3769 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3772 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3774 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3775 new tests for verilog output.
3777 2015-04-24 Yao Qi <yao.qi@linaro.org>
3779 * boards/remote-gdbserver-on-localhost.exp: New file.
3781 2015-04-23 Pedro Alves <palves@redhat.com>
3783 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3784 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3785 "end of file", remove $inferior_spawn_id from the indirect list.
3787 2015-04-23 Pedro Alves <palves@redhat.com>
3789 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3791 2015-04-23 Pedro Alves <palves@redhat.com>
3793 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3794 on $any_spawn_id instead of only on $gdb_spawn_id.
3796 2015-04-21 Pierre Muller <muller@sourceware.org>
3799 * lib/pascal.exp (gpc_compile): Add new option "class".
3800 (fpc_compile): Likewise.
3801 * gdb.pascal/case-insensitive-symbols.pas: New file.
3802 * gdb.pascal/case-insensitive-symbols.exp: New file.
3804 2015-04-20 Gary Benson <gbenson@redhat.com>
3806 * gdb.base/attach.exp: Fix three extended remote failures.
3808 2015-04-17 Gary Benson <gbenson@redhat.com>
3810 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3811 the main executable over the remote protocol.
3813 2015-04-16 Pedro Alves <palves@redhat.com>
3815 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3816 a new gdbserver if gdbserver_reconnect_p is set.
3818 2015-04-16 Pedro Alves <palves@redhat.com>
3820 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3821 is set, don't exit gdbserver.
3823 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3825 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3826 appropriate .insn, such that an older assembler can be used.
3827 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3828 the z/Architecture instruction set on 31-bit targets as well.
3830 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3832 * gdb.go/handcall.exp: Remove all logic related to the first
3833 breakpoint and rely on go_runto_main instead.
3834 * gdb.go/strings.exp: Likewise.
3835 * gdb.go/unsafe.exp: Likewise.
3836 * gdb.go/hello.exp: Likewise. Also rename the remaining
3837 breakpoint marker to "breakpoint 1".
3838 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3839 * gdb.go/strings.go: Likewise.
3840 * gdb.go/unsafe.go: Likewise.
3841 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3842 "set breakpoint 2 here" and rename the remaining breakpoint marker
3845 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3847 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3848 if itertools.imap is not present.
3849 * gdb.python/py-objfile.exp: Add parentheses.
3850 * gdb.python/py-type.exp: Same.
3851 * gdb.python/py-unwind-maint.py: Same.
3853 2015-04-15 Yao Qi <yao.qi@linaro.org>
3855 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3856 of ":$ptr_size" and set its form explicitly.
3858 2015-04-15 Pedro Alves <palves@redhat.com>
3859 Yao Qi <yao.qi@linaro.org>
3861 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3862 timeout by factor of 4.
3863 (test_regular_watch): Likewise.
3864 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3865 * gdb.reverse/sigall-reverse.exp: Likewise.
3866 * gdb.reverse/until-precsave.exp: Likewise.
3867 * lib/gdb.exp (with_timeout_factor): New proc.
3868 (gdb_expect): Move some code to ...
3869 (get_largest_timeout): ... here. New procedure.
3871 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3873 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3875 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3877 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3878 to write to the .text section.
3880 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3882 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3883 Handle the case of targets that do not provide PID information.
3885 2015-04-13 Yao Qi <yao.qi@linaro.org>
3887 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3888 and use expect instead of gdb_expect.
3890 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3892 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3893 "coredump_var_addr" to avoid naming conflict with other testcases.
3895 2015-04-10 Pedro Alves <palves@redhat.com>
3897 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3898 gdb_test_sequence and gdb_assert.
3900 2015-04-10 Pedro Alves <palves@redhat.com>
3902 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3903 test messages that don't include the breakpoint address.
3905 2015-04-10 Yao Qi <yao.qi@linaro.org>
3907 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3908 false for some offset and width combinations which aren't
3909 supported by linux kernel.
3911 2015-04-10 Pedro Alves <palves@redhat.com>
3913 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3914 procedure, factored out from ...
3915 (top level): ... here. Add "set displaced-stepping" testing axis.
3916 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3917 parameter "displaced". Use it.
3918 (top level): Use foreach and add "set displaced-stepping" testing
3921 2015-04-10 Pedro Alves <palves@redhat.com>
3923 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3925 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3926 both the address of the instruction that triggers the watchpoint
3927 and the address of the instruction immediately after, and use
3928 those addresses for the test. Fix comment.
3930 2015-04-10 Pedro Alves <palves@redhat.com>
3932 * gdb.base/sigstep.exp (breakpoint_to_handler)
3933 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3934 Test "backtrace" in handler.
3935 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3936 (top level): Add new "displaced" test axis to
3937 breakpoint_to_handler, breakpoint_to_handler_entry and
3938 breakpoint_over_handler.
3940 2015-04-10 Pedro Alves <palves@redhat.com>
3943 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3945 2015-04-10 Yao Qi <yao.qi@linaro.org>
3947 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3948 (test_add_rn_pc): New function.
3949 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3950 (top level): Invoke test_add_rn_pc.
3952 2015-04-10 Pedro Alves <palves@redhat.com>
3955 * gdb.base/step-over-no-symbols.exp: New file.
3957 2015-04-09 Andy Wingo <wingo@igalia.com>
3959 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3960 after the Python tests.
3962 2015-04-08 Keith Seitz <keiths@redhat.com>
3965 * gdb.python/py-completion.exp: New tests for completion.
3966 * gdb.python/py-completion.py (CompleteLimit1): New class.
3967 (CompleteLimit2): Likewise.
3968 (CompleteLimit3): Likewise.
3969 (CompleteLimit4): Likewise.
3970 (CompleteLimit5): Likewise.
3971 (CompleteLimit6): Likewise.
3972 (CompleteLimit7): Likewise.
3974 2015-04-08 Pedro Alves <palves@redhat.com>
3978 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3980 (main): Install it as SIGUSR1 handler.
3981 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3982 parameter. Always use "setup" as prefix. Toggle "set
3983 displaced-stepping" off/on depending on global. Don't switch to
3985 (top level): Add displaced stepping "off/on" test axis. Update
3986 "setup" calls. Wrap each subtest with with_test_prefix. Test
3987 continuing with a queued signal in each thread.
3989 2015-04-08 Pedro Alves <palves@redhat.com>
3991 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3992 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3993 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3994 Return early if running to main fails.
3995 * gdb.trace/while-stepping.exp: Likewise.
3997 2015-04-07 Pedro Alves <palves@redhat.com>
3999 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4000 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4001 interact with inferior program.
4003 2015-04-07 Pedro Alves <palves@redhat.com>
4005 * lib/gdb.exp (inferior_spawn_id): New global.
4006 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4007 spawn id after processing the user code.
4008 (default_gdb_start): Set inferior_spawn_id.
4009 (send_inferior): New procedure.
4010 * lib/gdbserver-support.exp (gdbserver_start): Set
4012 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4014 2015-04-07 Pedro Alves <palves@redhat.com>
4016 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4017 * lib/gdbserver-support.exp (gdbserver_start): Make
4018 $server_spawn_id global.
4019 (gdbserver_start): Don't wait for gdbserver's spawn id with
4021 (close_gdbserver): New procedure.
4022 (gdb_exit): Rename the default version and reimplement.
4024 2015-04-07 Pedro Alves <palves@redhat.com>
4026 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4027 append the substituted item, not the original item.
4029 2015-04-07 Pedro Alves <palves@redhat.com>
4031 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4034 2015-04-07 Pedro Alves <palves@redhat.com>
4036 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4037 output appearing once only.
4039 2015-04-07 Pedro Alves <palves@redhat.com>
4041 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4042 that doesn't expect anything. Return early if running to main
4045 2015-04-07 Yao Qi <yao.qi@linaro.org>
4047 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4048 (child_function): Call alarm.
4049 (main): Move call to alarm into the loop.
4050 * gdb.threads/non-stop-fair-events.exp: Build program with
4053 2015-04-06 Doug Evans <xdje42@gmail.com>
4055 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4056 Fix dest parameter to board_info.
4057 (fpc_compile): Ditto.
4058 (gdb_compile_pascal): Rename dest arg to destfile.
4060 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4062 * gdb.ada/funcall_ref.exp: New file.
4063 * gdb.ada/funcall_ref/foo.adb: New file.
4065 2015-04-02 Yao Qi <yao.qi@linaro.org>
4067 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4070 2015-04-02 Gary Benson <gbenson@redhat.com>
4072 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4074 2015-04-01 Sasha Smundak <asmundak@google.com>
4076 * gdb.python/py-unwind-maint.c: New file.
4077 * gdb.python/py-unwind-maint.exp: New test.
4078 * gdb.python/py-unwind-maint.py: New file.
4079 * gdb.python/py-unwind.c: New file.
4080 * gdb.python/py-unwind.exp: New test.
4081 * gdb.python/py-unwind.py: New test.
4083 2015-04-01 Pedro Alves <palves@redhat.com>
4085 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4086 to fail instead of non-existent $test.
4088 2015-04-01 Pedro Alves <palves@redhat.com>
4090 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4091 GDBFLAGS if not empty.
4093 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4095 * gdb.ada/complete.exp: Remove "multi_line".
4096 * gdb.ada/info_exc.exp: Remove "multi_line".
4097 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4098 * gdb.ada/ptype_field.exp: Remove "multi_line".
4099 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4100 * gdb.ada/tagged.exp: Remove "multi_line".
4101 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4103 * gdb.btrace/delta.exp: Likewise.
4104 * gdb.btrace/exception.exp: Likewise.
4105 * gdb.btrace/function_call_history.exp: Likewise.
4106 * gdb.btrace/instruction_history.exp: Likewise.
4107 * gdb.btrace/nohist.exp: Likewise.
4108 * gdb.btrace/record_goto.exp: Likewise.
4109 * gdb.btrace/segv.exp: Likewise.
4110 * gdb.btrace/stepi.exp: Likewise.
4111 * gdb.btrace/tailcall.exp: Likewise.
4112 * gdb.btrace/unknown_functions.exp: Likewise.
4113 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4114 * lib/gdb.exp: Add the "multi_line" helper.
4116 2015-04-01 Pedro Alves <palves@redhat.com>
4118 * gdb.threads/tid-reuse.c: New file.
4119 * gdb.threads/tid-reuse.exp: New file.
4121 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4124 * gdb.base/coredump-filter.c: New file.
4125 * gdb.base/coredump-filter.exp: Likewise.
4127 2015-03-27 Petr Machata <pmachata@redhat.com>
4129 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4130 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4131 (Dwarf::assemble): Initialize them.
4132 (Dwarf::lines): New function.
4134 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4136 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4137 SYMBOL_PREFIX for x86_64-*-cygwin.
4139 2015-03-26 Andy Wingo <wingo@igalia.com>
4142 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4143 const_value but not a location.
4144 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4145 location defined in non-main CUs are visible.
4147 2015-03-26 Yao Qi <yao.qi@linaro.org>
4150 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4151 Add a line number entry for the same line.
4152 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4153 Add a line number entry for the same line.
4155 2015-03-26 Yao Qi <yao.qi@linaro.org>
4157 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4159 (func): Likewise. Add .Lfunc_1 label.
4161 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4166 2015-03-26 Yao Qi <yao.qi@linaro.org>
4168 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4169 Call gdb_compile instead to compile each .s files without debug
4172 2015-03-26 Yao Qi <yao.qi@linaro.org>
4174 * gdb.base/savedregs.exp (process_saved_regs): Make
4175 "Saved registers:" optional in the pattern.
4177 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4179 * gdb.btrace/next.exp: Merged into step.exp.
4180 * gdb.btrace/finish.exp: Merged into step.exp.
4181 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4182 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4183 "record goto" and checking the exact replay position.
4184 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4185 check for "Recording format" in "info record" output.
4186 * gdb.btrace/record_goto.exp: Choose test file based on target.
4187 * gdb.btrace/x86-record_goto.S: Renamed into ...
4188 * gdb.btrace/x86_64-record_goto.S: ... this.
4189 * gdb.btrace/i686-record_goto.S: New.
4190 * gdb.btrace/x86-tailcall.S: Renamed into ...
4191 * gdb.btrace/x86_64-tailcall.S: ... this.
4192 * gdb.btrace/i686-tailcall.S: New.
4193 * gdb.btrace/x86-tailcall.c: Renamed into ...
4194 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4195 separate statements. Update test.
4196 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4197 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4198 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4199 * gdb.btrace/tailcall.exp: Choose test file based on target.
4200 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4202 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4204 * gdb.btrace/exception.exp: Increase BTS buffer size.
4206 2015-03-24 Pedro Alves <palves@redhat.com>
4208 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4210 2015-03-24 Pedro Alves <palves@redhat.com>
4212 * gdb.threads/schedlock.exp (test_step): No longer expect that
4213 "set scheduler-locking step" with "next" over a function call runs
4216 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4218 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4220 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4222 PR breakpoints/16466
4223 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4224 * gdb.mi/mi-pending.c (thread_func): New function.
4225 (int main): Add threading support required.
4226 * gdb.mi/mi-pending.exp: Add tests for this issue.
4227 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4228 (pendfunc2): Remove stdio dependency.
4229 * gdb.mi/mi-pendshr2.c: New file.
4231 2015-03-23 Keith Seitz <keiths@redhat.com>
4233 * gdb.linespec/keywords.c: New file.
4234 * gdb.linespec/keywords.exp: New file.
4236 2015-03-23 Keith Seitz <keiths@redhat.com>
4239 * gdb.dwarf2/staticvirtual.exp: New test.
4241 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4243 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4244 * README: Remove HP-UX and gdb.hp.
4246 * configure: Regenerate.
4247 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4248 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4249 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4250 gdb.hp/gdb.defects/Makefile.
4251 * gdb.hp/Makefile.in: File deleted.
4252 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4253 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4254 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4255 * gdb.hp/gdb.aCC/run.c: File deleted.
4256 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4257 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4258 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4259 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4260 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4261 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4262 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4263 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4264 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4265 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4266 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4267 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4268 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4269 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4270 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4271 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4272 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4273 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4274 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4275 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4276 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4277 * gdb.hp/gdb.compat/average.c: File deleted.
4278 * gdb.hp/gdb.compat/sum.c: File deleted.
4279 * gdb.hp/gdb.compat/xdb.c: File deleted.
4280 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4281 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4282 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4283 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4284 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4285 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4286 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4287 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4288 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4289 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4290 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4291 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4292 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4293 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4294 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4295 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4296 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4297 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4298 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4299 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4300 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4301 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4302 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4303 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4304 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4305 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4306 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4307 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4308 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4309 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4310 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4311 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4312 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4313 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4314 * gdb.hp/tools/odump: File deleted.
4316 2015-03-19 Pedro Alves <palves@redhat.com>
4318 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4319 (saw_thread_3): New globals.
4320 (top level): Increment them when an event for the corresponding
4322 (no thread starvation): New test.
4324 2015-03-19 Pedro Alves <palves@redhat.com>
4326 * gdb.threads/continue-pending-status.c: New file.
4327 * gdb.threads/continue-pending-status.exp: New file.
4329 2015-03-18 Pedro Alves <palves@redhat.com>
4331 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4332 Use gdb_is_target_remote instead of is_remote. Use
4333 gdb_test_multiple instead of gdb_expect. Exit early if
4334 gdb_test_multiple hits its internal matches. Tighten stepi tests
4335 expected output. Fail on exit with any signal, instead of just
4338 2015-03-18 Yao Qi <yao.qi@linaro.org>
4341 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4343 * gdb.base/catch-syscall.exp: Don't skip it on
4344 aarch64*-*-linux* target. Remove elements in all_syscalls.
4345 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4347 (setup_all_syscalls): New proc.
4349 2015-03-16 Yao Qi <yao.qi@linaro.org>
4351 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4352 (top level): Skip tests if valid_addr_p returns false for
4355 2015-03-11 Andy Wingo <wingo@igalia.com>
4357 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4359 2015-03-11 Yao Qi <yao.qi@linaro.org>
4361 * gdb.base/catch-syscall.exp: Fix typo in comments.
4363 2015-03-11 Yao Qi <yao.qi@linaro.org>
4365 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4367 2015-03-09 Pedro Alves <palves@redhat.com>
4369 * dg-extract-results.py: Delete.
4371 2015-03-09 Pedro Alves <palves@redhat.com>
4373 Merge dg-extract-results.sh from GCC upstream (r218843).
4375 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4376 * dg-extract-results.sh: Use --text with grep to avoid issues with
4377 binary files. Fall back to cat -v, if that doesn't work.
4379 2015-03-05 Pedro Alves <palves@redhat.com>
4381 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4383 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4385 * lib/mi-support.exp (mi_expect_interrupt): Accept
4386 alternative event for when in all-stop mode.
4388 2015-03-04 Pedro Alves <palves@redhat.com>
4390 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4392 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4394 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4396 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4398 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4399 regexps for GDB's current line display, accept a hex address
4400 preceding the line number.
4402 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4404 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4405 the 'arch1' variable for "s390*-linux*" targets.
4407 2015-03-04 Pedro Alves <palves@redhat.com>
4409 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4410 (main): Pass missing retval argument to pthread_join call.
4412 2015-03-02 Pedro Alves <palves@redhat.com>
4414 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4415 (top level): Call do_test with non-stop as well.
4417 2015-03-02 Pedro Alves <palves@redhat.com>
4419 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4422 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4424 * gdb.arch/s390-vregs.exp: New test.
4425 * gdb.arch/s390-vregs.S: New file.
4427 2015-02-27 Pedro Alves <palves@redhat.com>
4429 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4430 call to catch_command_errors.
4431 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4432 catch_command_errors.
4434 2015-02-27 Pedro Alves <palves@redhat.com>
4436 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4437 "true" for boolean result.
4438 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4441 2015-02-27 Pedro Alves <palves@redhat.com>
4443 * lib/unbuffer_output.c: New file.
4444 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4445 (main): Call gdb_unbuffer_output.
4447 2015-02-27 Yao Qi <yao.qi@linaro.org>
4449 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4452 2015-02-26 Doug Evans <dje@google.com>
4454 * gdb.cp/class2.cc (Dbase, D): New classes.
4455 (main): New local delta.
4456 * gdb.cp/class2.exp: Test printing delta.
4457 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4458 (dynbar): New global.
4459 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4461 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4463 * gdb.compile/compile-ifunc.c: New file.
4464 * gdb.compile/compile-ifunc.exp: New file.
4466 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4468 * gdb.base/structs.exp: Check for correct struct on finish.
4470 2015-02-26 Yao Qi <yao.qi@linaro.org>
4472 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4475 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4477 * gdb.arch/cordic.ko.bz2: New file.
4478 * gdb.arch/cordic.ko.debug.bz2: New file.
4479 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4481 2015-02-25 Yao Qi <yao.qi@linaro.org>
4483 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4484 aarch64*-*-* target.
4486 2015-02-23 Pedro Alves <palves@redhat.com>
4488 * lib/gdb.exp (delete_breakpoints): Rewrite using
4491 2015-02-23 Pedro Alves <palves@redhat.com>
4493 * gdb.base/info-os.c: Include stdlib.h.
4495 2015-02-22 Doug Evans <xdje42@gmail.com>
4498 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4499 is read after symbols have been re-read.
4500 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4501 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4503 2015-02-21 Doug Evans <dje@google.com>
4505 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4507 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4510 * gdb.arch/i386-biarch-core.core.bz2: New file.
4511 * gdb.arch/i386-biarch-core.exp: New file.
4513 2015-02-21 Pedro Alves <palves@redhat.com>
4515 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4518 2015-02-20 Pedro Alves <palves@redhat.com>
4520 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4523 2015-02-20 Pedro Alves <palves@redhat.com>
4525 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4527 2015-02-20 Pedro Alves <palves@redhat.com>
4529 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4530 clean_restart before gdb_target_supports_trace.
4532 2015-02-20 Pedro Alves <palves@redhat.com>
4535 * gdb.threads/clone-thread_db.c: New file.
4536 * gdb.threads/clone-thread_db.exp: New file.
4538 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4540 PR breakpoints/16812
4541 * gdb.base/catch-gdb-caused-signals.c: New file.
4542 * gdb.base/catch-gdb-caused-signals.exp: New file.
4544 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4546 * configure: Regenerated.
4547 * configure.ac: Use GDB_AC_TRANSFORM.
4548 * aclocal.m4: sinclude ../transform.m4.
4550 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4552 * lib/dtrace.exp: New file.
4553 * gdb.base/dtrace-probe.exp: Likewise.
4554 * gdb.base/dtrace-probe.d: Likewise.
4555 * gdb.base/dtrace-probe.c: Likewise.
4556 * lib/pdtrace.in: Likewise.
4557 * configure.ac: Output variables with the transformed names of
4558 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4559 * configure: Regenerated.
4561 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4563 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4564 expected message when trying to access $_probe_* convenience
4565 variables while not on a probe.
4567 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4569 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4571 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4573 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4574 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4576 2015-02-10 Doug Evans <xdje42@gmail.com>
4578 * lib/gdb.exp (gdb_load): Always return a result.
4580 2015-02-10 Pedro Alves <palves@redhat.com>
4582 * gdb.threads/signal-sigtrap.c: New file.
4583 * gdb.threads/signal-sigtrap.exp: New file.
4585 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4587 * gdb.trace/no-attach-trace.c: New file.
4588 * gdb.trace/no-attach-trace.exp: New file.
4590 2015-02-09 Mark Wielaard <mjw@redhat.com>
4592 * gdb.dwarf2/atomic.c: New file.
4593 * gdb.dwarf2/atomic-type.exp: Likewise.
4595 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4597 * gdb.btrace/buffer-size.exp: Update "info record" output.
4598 * gdb.btrace/delta.exp: Update "info record" output.
4599 * gdb.btrace/enable.exp: Update "info record" output.
4600 * gdb.btrace/finish.exp: Update "info record" output.
4601 * gdb.btrace/instruction_history.exp: Update "info record" output.
4602 * gdb.btrace/next.exp: Update "info record" output.
4603 * gdb.btrace/nexti.exp: Update "info record" output.
4604 * gdb.btrace/step.exp: Update "info record" output.
4605 * gdb.btrace/stepi.exp: Update "info record" output.
4606 * gdb.btrace/nohist.exp: Update "info record" output.
4608 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4610 * gdb.btrace/buffer-size: New.
4612 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4614 * gdb.btrace/delta.exp: Update "info record" output.
4615 * gdb.btrace/enable.exp: Update "info record" output.
4616 * gdb.btrace/finish.exp: Update "info record" output.
4617 * gdb.btrace/instruction_history.exp: Update "info record" output.
4618 * gdb.btrace/next.exp: Update "info record" output.
4619 * gdb.btrace/nexti.exp: Update "info record" output.
4620 * gdb.btrace/step.exp: Update "info record" output.
4621 * gdb.btrace/stepi.exp: Update "info record" output.
4622 * gdb.btrace/nohist.exp: Update "info record" output.
4624 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4627 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4629 2015-02-06 Pedro Alves <palves@redhat.com>
4631 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4633 (seconds_left, again): New globals.
4634 (main): Wait seconds_left in a 1-second sleep loop instead of
4635 sleeping 180 seconds. If 'again' is set, reset the seconds
4637 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4638 'again' in the inferior before detaching. Print the seconds left.
4639 (options): New global.
4640 (top level): Build program with -DTIMEOUT=$timeout.
4642 2015-02-06 Pedro Alves <palves@redhat.com>
4644 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4645 determine how many seconds to pass to 'alarm'.
4646 * gdb.base/gdb-sigterm.exp (top level): Build program with
4648 (do_test): Return success/failure indication. Add more verbose
4649 logging. Don't fail if 200 single steps are seen. Instead, fail
4650 when the test times out.
4651 (passes): New global.
4652 (top level): Break the testing loop if testing fails on any
4653 iteration. Use gdb_assert.
4655 2015-02-04 Don Breazeal <donb@codesourcery.com>
4657 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4658 and initialize them.
4659 (ipc_cleanup): New function.
4660 (main): Don't declare shmid, semid, and msqid. Add a call to
4661 atexit so that we call ipc_cleanup on exit.
4663 2015-02-04 Pedro Alves <palves@redhat.com>
4665 * boards/native-extended-gdbserver.exp: Remove any target variant
4666 specifications from the board name before clearing the isremote
4667 flag from board_info.
4669 2015-01-31 Doug Evans <xdje42@gmail.com>
4671 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4673 2015-01-31 Gary Benson <gbenson@redhat.com>
4675 * gdb.base/completion.exp: Disable completion limiting for
4676 existing tests. Add new tests to check completion limiting.
4677 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4679 2015-01-31 Doug Evans <xdje42@gmail.com>
4681 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4683 2015-01-31 Doug Evans <xdje42@gmail.com>
4685 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4686 entries. Duplicate file section script entries.
4687 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4688 inlined entries. Add test for safe-path rejection.
4689 * gdb.python/py-section-script.c: Add duplicate inlined section script
4690 entries. Duplicate file section script entries.
4691 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4692 inlined entries. Add test for safe-path rejection.
4694 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4696 * gdb.ada/disc_arr_bound: New testcase.
4698 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4700 * gdb.ada/mi_var_array: New testcase.
4702 2015-01-27 Doug Evans <dje@google.com>
4704 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4705 Add test for objfile.filename, objfile.username after objfile
4708 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4710 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4711 the second test to print the name attribute of value
4712 returned by the call to gdb.lookup_type, and adjust
4713 the expected output accordingly.
4715 2015-01-25 Mark Wielaard <mjw@redhat.com>
4717 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4718 * gdb.base/disp-step-fork.c: Include unistd.h.
4719 * gdb.base/siginfo-obj.c: Include stdio.h.
4720 * gdb.base/siginfo-thread.c: Likewise.
4721 * gdb.mi/non-stop.c: Include unistd.h.
4722 * gdb.mi/nsthrexec.c: Include stdio.h.
4723 * gdb.mi/pthreads.c: Include unistd.h.
4724 * gdb.modula2/unbounded1.c (main): Declare returns int.
4725 * gdb.reverse/consecutive-reverse.c: Likewise.
4726 * gdb.threads/create-fail.c: Include unistd.h.
4727 * gdb.threads/killed.c: Likewise.
4728 * gdb.threads/linux-dp.c: Likewise.
4729 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4730 * gdb.threads/non-ldr-exc-2.c: Likewise.
4731 * gdb.threads/non-ldr-exc-3.c: Likewise.
4732 * gdb.threads/non-ldr-exc-4.c: Likewise.
4733 * gdb.threads/pthreads.c: Include unistd.h.
4734 (main): Declare returns int.
4735 * gdb.threads/tls-main.c (foo): New declaration.
4736 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4738 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4740 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4741 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4743 2015-01-15 Mark Wielaard <mjw@redhat.com>
4745 * gdb.base/noreturn-return.c: New file.
4746 * gdb.base/noreturn-return.exp: New file.
4747 * gdb.base/noreturn-finish.c: New file.
4748 * gdb.base/noreturn-finish.exp: New file.
4750 2015-01-23 Pedro Alves <palves@redhat.com>
4752 * gdb.threads/continue-pending-after-query.c: New file.
4753 * gdb.threads/continue-pending-after-query.exp: New file.
4755 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4756 Simon Marchi <simon.marchi@ericsson.com>
4758 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4759 * gdb.base/valgrind-db-attach.exp: Same.
4760 * gdb.base/valgrind-infcall.exp: Same.
4761 * lib/mi-support.exp (default_mi_gdb_start): Same.
4762 * lib/prompt.exp (default_prompt_gdb_start): Same.
4763 * lib/gdb.exp (default_gdb_spawn): Same.
4764 (gdb_interact): New.
4767 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4769 * gdb.compile/compile.exp (pointer to jit function): New test.
4771 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4773 * lib/gdb.exp (supports_process_record): Return true for
4775 (supports_reverse): Likewise.
4777 2015-01-15 Don Breazeal <donb@codesourcery.com>
4779 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4780 instead of checking whether the target board is remote and
4781 use spawn_wait_for_attach instead of exec/sleep.
4782 * gdb.base/attach-twice.exp: Likewise.
4784 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4786 * gdb.ada/var_arr_attrs: New testcase.
4788 2015-01-14 Pedro Alves <palves@redhat.com>
4789 Joel Brobecker <brobecker@adacore.com>
4792 * gdb.base/bp-cmds-execution-x-script.c: New file.
4793 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4794 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4796 2015-01-14 Pedro Alves <palves@redhat.com>
4799 * gdb.base/batch-preserve-term-settings.c: New file.
4800 * gdb.base/batch-preserve-term-settings.exp: New file.
4802 2015-01-13 Doug Evans <dje@google.com>
4804 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4807 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4809 * Makefile.in (clean mostlyclean): Do not delete *.py.
4811 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4813 * gdb.python/py-lookup-type.exp: New file.
4815 2015-01-12 Pedro Alves <palves@redhat.com>
4817 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4818 restore GDBFLAGS before returning.
4820 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4823 is_amd64_regs_target and is_x86_like_target.
4825 2015-01-11 Doug Evans <xdje42@gmail.com>
4827 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4828 is given without an explicit form.
4829 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4831 * gdb.dwarf/corrupt.exp: Ditto.
4832 * gdb.dwarf2/enum-type.exp: Ditto.
4833 * gdb.trace/entry-values.exp: Ditto.
4834 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4836 2015-01-11 Doug Evans <xdje42@gmail.com>
4839 * gdb.base/maint.exp: Remove references to "maint demangle".
4840 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4841 Add tests for explicitly specifying language to demangle.
4842 * gdb.dlang/demangle.exp: Ditto.
4844 2015-01-09 Pedro Alves <palves@redhat.com>
4846 * gdb.threads/non-stop-fair-events.c: New file.
4847 * gdb.threads/non-stop-fair-events.exp: New file.
4849 2015-01-09 Pedro Alves <palves@redhat.com>
4851 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4852 the global scope. Set a breakpoint after all threads are started
4853 rather than stepping over two source lines. Expect the prompt.
4854 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4857 (main): Use threads_started_barrier to wait for all threads to
4858 start. Main thread no longer calls thread_function. Exit after
4860 (loop): New function.
4861 (thread_function): Wait on threads_started_barrier barrier. Call
4862 'loop' at each iteration.
4863 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4864 threads have started, instead of hardcoding number of "next"
4865 steps. Use an access watchpoint instead of a write watchpoint.
4867 2015-01-09 Pedro Alves <palves@redhat.com>
4869 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4870 (thread_func): Wait on barrier.
4871 (main): Wait for all threads to start before stopping GDB.
4872 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4874 (thread1_func, thread2_func): Wait on barrier.
4875 (main): Wait for all threads to start before stopping GDB.
4876 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4878 (thread1_func, thread2_func): Wait on barrier.
4879 (main): Wait for all threads to start before stopping GDB.
4881 2015-01-09 Pedro Alves <palves@redhat.com>
4883 * gdb.threads/attach-many-short-lived-threads.c: New file.
4884 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4886 2014-01-09 Pedro Alves <palves@redhat.com>
4888 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4889 instead of to thread 2.
4890 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4891 Add barrier around each pthread_create call instead of around all
4893 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4894 Set a break on thread_function and have the child threads hit it
4897 2015-01-09 Pedro Alves <palves@redhat.com>
4899 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4900 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4902 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4903 checking whether the target board is remote.
4904 * gdb.multi/multi-attach.exp: Likewise.
4905 * gdb.python/py-sync-interp.exp: Likewise.
4906 * gdb.server/ext-attach.exp: Likewise.
4907 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4908 tests that need to attach, instead of checking whether the target
4909 board is remote at the top of the file.
4911 2015-01-08 Yao Qi <yao@codesourcery.com>
4913 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4915 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4917 Fix testcase compilation.
4918 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4920 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4922 * gdb.python/py-type.exp: Add a couple test about empty
4923 array creation, and negative-length array creation.
4925 2015-01-02 Doug Evans <xdje42@gmail.com>
4927 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4929 2015-01-02 Doug Evans <dje@google.com>
4931 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4933 2014-12-29 Yao Qi <yao@codesourcery.com>
4935 * gdb.trace/entry-values.exp: Update comments. Rename variable
4936 bar_call_foo to returned_from_foo.
4938 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4941 * gdb.linespec/break-asm-file.c: New file.
4942 * gdb.linespec/break-asm-file.exp: New file.
4943 * gdb.linespec/break-asm-file0.s: New file.
4944 * gdb.linespec/break-asm-file1.s: New file.
4946 2014-12-18 Nigel Stephens <nigel@mips.com>
4947 Maciej W. Rozycki <macro@codesourcery.com>
4949 * gdb.base/float.exp: Handle the new output from "info float" on
4952 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4954 Fix MinGW compilation.
4955 * gdb.compile/compile-ops.exp: Update untested message if
4956 !skip_compile_feature_tests.
4957 * gdb.compile/compile-setjmp.exp: Likewise.
4958 * gdb.compile/compile-tls.exp: Likewise.
4959 * gdb.compile/compile.exp: Likewise.
4960 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4961 supported on this host".
4963 2014-12-16 Doug Evans <xdje42@gmail.com>
4965 * boards/stabs.exp: New file.
4967 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4969 * gdb.base/completion.exp: Adjust to format changes of "maint
4970 print user-registers".
4972 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4975 * gdb.arch/aarch64-fp.c: New file.
4976 * gdb.arch/aarch64-fp.exp: New file.
4978 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4980 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4981 r210637, r210913, r211666, r215400, r215817).
4983 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4984 * dg-extract-results.py: New file.
4985 * dg-extract-results.sh: Use it if the environment seems
4988 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4990 * dg-extract-results.py (parse_run): Handle warnings that
4991 are printed before a test harness is run.
4993 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4995 * dg-extract-results.py (Named): Remove __cmp__ method.
4996 (output_variation): Use a key to sort variation.harnesses.
4998 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5000 * dg-extract-results.py: For Python 3, force sys.stdout to
5001 handle surrogate escape sequences.
5002 (safe_open): New function.
5003 (output_segment, main): Use it.
5005 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5007 * dg-extract-results.py (Prog.result_re): Include options
5010 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5012 * dg-extract-results.py (output_variation): Always sort if
5015 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5017 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5018 as long as we get pagination notifications.
5020 2014-12-15 Jason Merrill <jason@redhat.com>
5022 * Makefile.in (check-gdb.%): Restore.
5023 * README: Mention it.
5025 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5027 * gdb.ada/str_uninit: New testcase.
5029 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5032 * gdb.base/vla-stub-define.c: New file.
5033 * gdb.base/vla-stub.c: New file.
5034 * gdb.base/vla-stub.exp: New file.
5036 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5037 Jan Kratochvil <jan.kratochvil@redhat.com>
5038 Tom Tromey <tromey@redhat.com>
5040 * configure.ac: Add gdb.compile/.
5041 * configure: Regenerate.
5042 * gdb.compile/Makefile.in: New file.
5043 * gdb.compile/compile-ops.exp: New file.
5044 * gdb.compile/compile-ops.c: New file.
5045 * gdb.compile/compile-tls.c: New file.
5046 * gdb.compile/compile-tls.exp: New file.
5047 * gdb.compile/compile-constvar.S: New file.
5048 * gdb.compile/compile-constvar.c: New file.
5049 * gdb.compile/compile-mod.c: New file.
5050 * gdb.compile/compile-nodebug.c: New file.
5051 * gdb.compile/compile-setjmp-mod.c: New file.
5052 * gdb.compile/compile-setjmp.c: New file.
5053 * gdb.compile/compile-setjmp.exp: New file.
5054 * gdb.compile/compile-shlib.c: New file.
5055 * gdb.compile/compile.c: New file.
5056 * gdb.compile/compile.exp: New file.
5057 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5059 2014-12-12 Tom Tromey <tromey@redhat.com>
5061 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5062 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5064 2014-12-12 Doug Evans <dje@google.com>
5066 * lib/gdb-python.exp (get_python_valueof): New function.
5067 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5069 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5071 * gdb.base/completion.exp: Add test for completion of "info
5074 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5076 * gdb.base/func-ptrs.c: New file.
5077 * gdb.base/func-ptrs.exp: New file.
5079 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5081 PR breakpoints/17012
5082 * gdb.base/dprintf-detach.c: New file.
5083 * gdb.base/dprintf-detach.exp: New file.
5085 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5087 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5088 * lib/gdb.exp (target_is_gdbserver): New procedure.
5090 2014-12-08 Doug Evans <dje@google.com>
5092 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5094 2014-12-05 Yao Qi <yao@codesourcery.com>
5096 * gdb.guile/scm-error.exp: Remove the third argument to
5097 gdb_remote_download.
5098 * gdb.guile/scm-frame-args.exp: Likewise.
5099 * gdb.guile/scm-section-script.exp: Likewise.
5101 2014-12-05 Yao Qi <yao@codesourcery.com>
5103 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5105 2014-12-04 Doug Evans <dje@google.com>
5107 * gdb.python/py-objfile.exp: Add tests for
5108 objfile.add_separate_debug_file.
5110 2014-12-04 Doug Evans <dje@google.com>
5112 * lib/gdb.exp (get_build_id): New function.
5113 (build_id_debug_filename_get): Rewrite to use it.
5114 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5116 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5118 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5119 `method(long)', not just 0x0.
5120 * gdb.cp/nsalias.exp: Align code labels to 4.
5121 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5122 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5123 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5124 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5125 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5126 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5128 2014-12-02 Doug Evans <dje@google.com>
5131 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5132 * gdb.cp/anon-ns2.cc: ... here. New file.
5133 * gdb.cp/anon-ns.exp: Update.
5135 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5137 * gdb.python/py-events.py (inferior_call_handler): New.
5138 (register_changed_handler, memory_changed_handler): New.
5139 (test_events.invoke): Register new handlers.
5140 * gdb.python/py-events.exp: Add tests for inferior call,
5141 memory_changed and register_changed events.
5143 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5145 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5146 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5147 if the linker doesn't understand this.
5149 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5151 * gdb.python/python.exp: Change expected reply to help().
5153 2014-12-01 Yao Qi <yao@codesourcery.com>
5155 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5156 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5157 * configure: Re-generated.
5159 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5161 * gdb.cp/chained-calls.cc: New file.
5162 * gdb.cp/chained-calls.exp: New file.
5163 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5165 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5167 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5168 * gdb.dwarf2/symtab-producer.exp: Same.
5169 * gdb.gdb/python-interrupts.exp: Same.
5170 * gdb.gdb/python-selftest.exp: Same.
5171 * gdb.python/py-linetable.exp: Same.
5172 * gdb.python/py-type.exp: Same.
5173 * gdb.python/py-value-cc.exp: Same.
5174 * gdb.python/py-value.exp: Same.
5176 2014-11-28 Yao Qi <yao@codesourcery.com>
5178 * gdb.base/break-probes.exp: Match library name prefixed with
5181 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5183 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5184 test expected output. Add parentheses for the call to print.
5185 Remove L suffix from integers.
5187 2014-11-26 Doug Evans <dje@google.com>
5189 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5191 2014-11-22 Yao Qi <yao@codesourcery.com>
5193 * gdb.trace/entry-values.c: Remove asms.
5194 (foo): Add foo_label.
5195 (bar): Add bar_label.
5196 * gdb.trace/entry-values.exp: Remove code computing foo's
5197 length and bar's length.
5198 (Dwarf::assemble): Invoke function_range for bar and use
5199 MACRO_AT_func for foo.
5201 2014-11-22 Yao Qi <yao@codesourcery.com>
5203 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5204 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5205 Use .Lgcc43_procstart instead of gcc43.
5207 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5209 * gdb.ada/n_arr_bound: New testcase.
5211 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5213 PR breakpoints/10737
5214 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5215 test_catch_syscall_multi_arch.
5216 (test_catch_syscall_multi_arch): New function.
5218 2014-11-20 Doug Evans <xdje42@gmail.com>
5220 * gdb.base/maint.exp: Update expected output.
5222 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5224 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5225 4-byte instruction on S390.
5227 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5229 * gdb.ada/arr_arr: New testcase.
5231 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5233 * gdb.ada/pkd_arr_elem: New Testcase.
5235 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5237 * gdb.reverse/break-precsave: Expect completion message for
5239 * gdb.reverse/consecutive-precsave.exp: Likewise.
5240 * gdb.reverse/finish-precsave.exp: Likewise.
5241 * gdb.reverse/i386-precsave.exp: Likewise.
5242 * gdb.reverse/machinestate-precsave.exp: Likewise.
5243 * gdb.reverse/sigall-precsave.exp: Likewise.
5244 * gdb.reverse/solib-precsave.exp: Likewise.
5245 * gdb.reverse/step-precsave.exp: Likewise.
5246 * gdb.reverse/until-precsave.exp: Likewise.
5247 * gdb.reverse/watch-precsave.exp: Likewise.
5249 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5251 * gdb.base/bp-permanent.c: Include unistd.h.
5252 * gdb.python/py-framefilter-mi.c (main): Add return type.
5253 * gdb.python/py-framefilter.c (main): Likewise.
5254 * gdb.trace/actions-changed.c (main): Likewise.
5256 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5258 * gdb.mi/until.c: Add eye-catchers.
5259 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5262 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5264 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5265 function header variants in break1.c.
5266 * gdb.base/ena-dis-br.exp: Likewise.
5267 * gdb.base/hbreak2.exp: Likewise.
5268 * gdb.reverse/until-precsave.exp: Drop references to removed
5269 non-prototype function header variants in ur1.c.
5270 * gdb.reverse/until-reverse.exp: Likewise.
5272 2014-11-17 Petr Machata <pmachata@redhat.com>
5274 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5275 ${_cu_offset_size} bytes abbrev offset.
5277 2014-11-15 Doug Evans <xdje42@gmail.com>
5280 * gdb.base/line-symtabs.exp: New file.
5281 * gdb.base/line-symtabs.c: New file.
5282 * gdb.base/line-symtabs.h: New file.
5284 2014-11-14 Yao Qi <yao@codesourcery.com>
5286 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5287 (func): Add label func_label.
5288 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5289 Replace low_pc and high_pc with MACRO_AT_range.
5290 Replace name, low_pc and high_pc with MACRO_AT_func.
5292 2014-11-14 Yao Qi <yao@codesourcery.com>
5294 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5295 Replace name, low_pc and high_pc with MACRO_AT_func.
5297 2014-11-14 Yao Qi <yao@codesourcery.com>
5299 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5300 produce debug information.
5301 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5303 2014-11-14 Yao Qi <yao@codesourcery.com>
5305 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5306 object and get function length.
5307 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5309 (top-level): Replace gdb_compile and clean_restart with
5310 prepare_for_testing.
5311 * gdb.dwarf2/main.c (main): Add label main_label.
5313 2014-11-14 Yao Qi <yao@codesourcery.com>
5315 * lib/dwarf.exp (function_range): New procedure.
5316 (Dwarf::_handle_macro_at_func): New procedure.
5317 (Dwarf::_handle_macro_at_range): New procedure.
5318 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5320 2014-11-14 Yao Qi <yao@codesourcery.com>
5322 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5323 (_handle_attribute): New procedure.
5325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5327 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5328 * gdb.base/call-sc.c (zed): Likewise.
5329 * gdb.base/checkpoint.c (main): Likewise.
5330 * gdb.base/dump.c (main): Likewise.
5331 * gdb.base/gcore.c (main): Likewise.
5332 * gdb.base/huge.c (main): Likewise.
5333 * gdb.base/multi-forks.c (main): Likewise.
5334 * gdb.base/pr10179-a.c (main): Likewise.
5335 * gdb.base/savedregs.c (main): Likewise.
5336 * gdb.base/sigaltstack.c (main): Likewise.
5337 * gdb.base/siginfo.c (main): Likewise.
5338 * gdb.base/structs.c (zed): Likewise.
5339 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5340 * gdb.mi/mi-syn-frame.c (main): Likewise.
5341 * gdb.mi/until.c (foo, main): Likewise.
5342 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5343 * gdb.base/solib-weak.c (foo): Declare.
5344 * gdb.base/attach-twice.c: Include stdio.h.
5345 * gdb.base/weaklib1.c: Likewise.
5346 * gdb.base/weaklib2.c: Likewise.
5347 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5348 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5350 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5351 * gdb.mi/mi-exit-code.c: Likewise.
5352 * gdb.base/break-interp-lib.c: Include string.h.
5353 * gdb.base/coremaker.c: Likewise.
5354 * gdb.base/testenv.c: Likewise.
5355 * gdb.python/py-finish-breakpoint.c: Likewise.
5356 * gdb.base/inferior-died.c: Include sys/wait.h.
5357 * gdb.base/fileio.c: Include time.h.
5358 * gdb.base/async-shell.c: Include unistd.h.
5359 * gdb.base/dprintf-non-stop.c: Likewise.
5360 * gdb.base/info-os.c: Likewise.
5361 * gdb.mi/mi-console.c: Likewise.
5362 * gdb.mi/watch-nonstop.c: Likewise.
5363 * gdb.python/py-events.c: Likewise.
5364 * gdb.base/async.c (baz): Move up before its invocation.
5365 * gdb.base/code_elim2.c (my_global_func): Likewise.
5366 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5367 * gdb.base/advance.c (func2): Likewise.
5369 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5371 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5373 * gdb.base/annota3.c: Likewise.
5374 * gdb.base/async.c: Likewise.
5375 * gdb.base/average.c: Likewise.
5376 * gdb.base/call-ar-st.c: Likewise.
5377 * gdb.base/call-rt-st.c: Likewise.
5378 * gdb.base/call-sc.c: Likewise.
5379 * gdb.base/call-strs.c: Likewise.
5380 * gdb.base/ending-run.c: Likewise.
5381 * gdb.base/execd-prog.c: Likewise.
5382 * gdb.base/exprs.c: Likewise.
5383 * gdb.base/foll-exec.c: Likewise.
5384 * gdb.base/foll-fork.c: Likewise.
5385 * gdb.base/foll-vfork.c: Likewise.
5386 * gdb.base/funcargs.c: Likewise.
5387 * gdb.base/gcore.c: Likewise.
5388 * gdb.base/jump.c: Likewise.
5389 * gdb.base/langs0.c: Likewise.
5390 * gdb.base/langs1.c: Likewise.
5391 * gdb.base/langs2.c: Likewise.
5392 * gdb.base/mips_pro.c: Likewise.
5393 * gdb.base/nodebug.c: Likewise.
5394 * gdb.base/opaque0.c: Likewise.
5395 * gdb.base/opaque1.c: Likewise.
5396 * gdb.base/recurse.c: Likewise.
5397 * gdb.base/run.c: Likewise.
5398 * gdb.base/scope0.c: Likewise.
5399 * gdb.base/scope1.c: Likewise.
5400 * gdb.base/setshow.c: Likewise.
5401 * gdb.base/setvar.c: Likewise.
5402 * gdb.base/shmain.c: Likewise.
5403 * gdb.base/shr1.c: Likewise.
5404 * gdb.base/shr2.c: Likewise.
5405 * gdb.base/sigall.c: Likewise.
5406 * gdb.base/signals.c: Likewise.
5407 * gdb.base/so-indr-cl.c: Likewise.
5408 * gdb.base/solib2.c: Likewise.
5409 * gdb.base/structs.c: Likewise.
5410 * gdb.base/sum.c: Likewise.
5411 * gdb.base/vforked-prog.c: Likewise.
5412 * gdb.base/watchpoint.c: Likewise.
5413 * gdb.reverse/shr2.c: Likewise.
5414 * gdb.reverse/until-reverse.c: Likewise.
5415 * gdb.reverse/ur1.c: Likewise.
5416 * gdb.reverse/watch-reverse.c: Likewise.
5418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5420 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5422 * gdb.base/sepdebug.exp: Drop references to removed code.
5424 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5426 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5427 variant. Preserve original line numbering.
5428 * gdb.base/list1.c: Likewise.
5430 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5432 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5434 * gdb.base/break1.c: Likewise.
5435 * gdb.base/break.exp: Drop references to removed code.
5437 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5439 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5442 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5444 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5446 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5448 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5449 logic into perform_all_tests() and invoke it with and without
5450 function header prototypes.
5451 (do_function_calls): Remove conditional XFAIL for PR 5318.
5452 (rerun_and_prepare): Remove duplicate code.
5453 (perform_all_tests): New. Main logic moved here.
5455 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5457 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5458 code guarded by #ifdef NO_PROTOTYPES.
5459 (t_double_many_args): Likewise.
5460 (DEF_FUNC_MANY_ARGS_1): Likewise.
5461 (DEF_FUNC_VALUES_1): Likewise.
5462 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5463 guarded by #ifdef PROTOTYPES.
5465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467 * gdb.mi/mi-console.c: Add eye-catcher.
5468 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5469 instead of literal line number.
5471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5473 * gdb.base/shr2.c: Add eye-catcher.
5474 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5479 * gdb.base/jump.c: Add eye-catchers.
5480 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5483 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5485 * gdb.base/execd-prog.c: Add eye-catchers.
5486 * gdb.base/foll-exec.c: Likewise.
5487 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5490 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492 * gdb.base/ending-run.c: Add eye-catchers.
5493 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5494 literal line numbers.
5496 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5498 * gdb.base/call-rt-st.c: Add eye-catchers.
5499 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5500 literal line numbers.
5502 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5504 * gdb.base/call-ar-st.c: Add eye-catchers.
5505 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5506 literal line numbers.
5508 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5510 * gdb.base/average.c: Add eye-catchers.
5511 * gdb.base/sum.c: Likewise.
5512 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5513 regexps dynamically.
5515 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5517 * gdb.base/solib1.c: Add eye-catchers.
5518 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5519 literal line numbers.
5521 2014-11-12 Pedro Alves <palves@redhat.com>
5523 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5526 2014-11-12 Pedro Alves <palves@redhat.com>
5528 * gdb.arch/i386-bp_permanent.c: New file.
5529 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5530 (srcfile): Set to i386-bp_permanent.c.
5531 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5532 that stepi does not execute the 'leave' instruction, instead of
5533 testing it does execute.
5534 * gdb.base/bp-permanent.c: New file.
5535 * gdb.base/bp-permanent.exp: New file.
5537 2014-11-10 Doug Evans <xdje42@gmail.com>
5540 * gdb.base/symtab-search-order.exp: New file.
5541 * gdb.base/symtab-search-order.c: New file.
5542 * gdb.base/symtab-search-order-1.c: New file.
5543 * gdb.base/symtab-search-order-shlib-1.c: New file.
5545 2014-11-07 Pedro Alves <palves@redhat.com>
5548 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5551 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5554 * gdb.cp/pr17494.cc: New file.
5555 * gdb.cp/pr17494.exp: New file.
5557 2014-11-02 Yao Qi <yao@codesourcery.com>
5559 * gdb.python/python.exp: Get working directory and match the
5560 output of "set extended-prompt \\w " with it.
5562 2014-10-30 Doug Evans <dje@google.com>
5564 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5566 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5569 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5571 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5572 * gdb.base/realname-expand.exp: Likewise.
5573 * gdb.linespec/macro-relative.exp: Likewise.
5575 2014-10-29 Pedro Alves <palves@redhat.com>
5578 * gdb.threads/schedlock.c (some_function): New function.
5579 (call_function): New global.
5580 (MAYBE_CALL_SOME_FUNCTION): New macro.
5581 (thread_function): Call it.
5582 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5583 and use it instead of a global counter. Adjust all callers.
5584 (get_current_thread): Use "find current thread" for test message
5585 here rather than having all callers pass down the same string.
5586 (goto_loop): New procedure, factored out from ...
5587 (my_continue): ... this.
5588 (step_ten_loops): Change parameter from test message to command to
5590 (list_count): Delete global.
5591 (check_result): New procedure, factored out from duplicate top
5593 (continue tests): Wrap in with_test_prefix.
5594 (test_step): New procedure, factored out from duplicate top level
5596 (top level): Test "step" in combination with all scheduler-locking
5597 modes. Test "next" in combination with all scheduler-locking
5598 modes, and in combination with stepping over a function call or
5600 * gdb.threads/next-bp-other-thread.c: New file.
5601 * gdb.threads/next-bp-other-thread.exp: New file.
5603 2014-10-29 Pedro Alves <palves@redhat.com>
5606 * gdb.python/python.exp: Test a multi-line command that spawns
5608 * gdb.base/multi-line-starts-subshell.exp: New file.
5610 2014-10-29 Yao Qi <yao@codesourcery.com>
5612 * gdb.base/fileio.exp: Make directories on host.
5614 2014-10-29 Yao Qi <yao@codesourcery.com>
5616 * gdb.base/fileio.c (test_write): Close the file.
5618 2014-10-28 Pedro Alves <palves@redhat.com>
5621 * gdb.base/sigstep.c (no_handler): New global.
5622 (main): If 'no_handler is true, set the signal handlers to
5624 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5625 with_sw_watch and no_handler parameters. Handle them.
5626 (top level) <stepping over handler when stopped at a breakpoint
5627 test>: Add a test axis for testing with a software watchpoint, and
5628 another for testing with the signal handler set to SIG_IGN.
5629 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5630 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5632 2014-10-28 Pedro Alves <palves@redhat.com>
5635 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5636 * gdb.base/sigstep.exp (other_handler_location): New global.
5637 (advance): Support stepping into the signal handler, and running
5638 commands while in the handler.
5639 (in_handler_map): New global.
5640 (top level): In the advance test, add combinations for getting
5641 into the handler with stepping commands, and for running commands
5642 in the handler. Add comment descripting the advancei tests.
5644 2014-10-28 Pedro Alves <palves@redhat.com>
5646 * gdb.base/sigstep.exp: Use build_executable instead of
5647 prepare_for_testing.
5648 (top level): Move code that starts GDB, runs to main and creates a
5650 (restart): ... this new procedure.
5651 (top level): Move backtrace from signal handler test to ...
5652 (validate_backtrace): ... this new procedure.
5653 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5654 with_test_prefix. Always restart GDB.
5655 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5656 with_test_prefix. Always restart GDB. No need to delete
5657 breakpoints after the test.
5658 (test_skip_handler): Remove prefix parameter.
5659 (skip_over_handler, breakpoint_to_handler)
5660 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5661 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5662 restart GDB. No need to delete breakpoints after the test.
5663 (top level): Use foreach to call the test procedures with
5666 2014-10-28 Pedro Alves <palves@redhat.com>
5668 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5669 instead of GNATS numbers.
5670 * gdb.base/sigbpt.exp: Likewise.
5671 * gdb.base/siginfo.exp: Likewise.
5672 * gdb.base/sigstep.exp: Likewise.
5674 2014-10-27 Pedro Alves <palves@redhat.com>
5676 * gdb.base/sigstep.c (dummy): New global.
5677 (main): Issue a couple writes to the new global.
5678 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5680 (skip_over_handler): Use test_skip_handler.
5681 (top level): Call skip_over_handler for stepi and nexti too.
5682 (breakpoint_over_handler): Use test_skip_handler.
5683 (top level): Call breakpoint_over_handler for stepi and nexti too.
5685 2014-10-27 Yao Qi <yao@codesourcery.com>
5687 * gdb.trace/tfile.c (adjust_function_address)
5688 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5689 function descriptor.
5691 2014-10-24 Don Breazeal <donb@codesourcery.com>
5693 * gdb.base/foll-fork.exp (test_follow_fork,
5694 catch_fork_child_follow): Check for updated fork messages emitted
5696 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5697 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5698 vfork_and_exec_child_follow_through_step): Check for updated vfork
5699 messages emitted from infrun.c.
5701 2014-10-24 Pedro Alves <palves@redhat.com>
5703 * gdb.base/corefile.exp: Remove references to ultrix.
5704 * gdb.base/interrupt.exp: Likewise.
5705 * gdb.base/whatis.exp: Likewise.
5706 * gdb.gdb/selftest.exp: Likewise.
5707 * gdb.threads/manythreads.exp: Likewise.
5708 * gdb.threads/print-threads.exp: Likewise.
5709 * gdb.threads/pthreads.exp:: Likewise.
5710 * gdb.threads/schedlock.exp: Likewise.
5712 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5714 * gdb.cp/non-trivial-retval.cc: Add a test case.
5715 * gdb.cp/non-trivial-retval.exp: Add a test.
5717 2014-10-20 Yao Qi <yao@codesourcery.com>
5719 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5720 * gdb.python/py-objfile-script-gdb.py: New file.
5721 * gdb.python/py-objfile-script.exp: Update reference to
5722 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5723 of remote_download. Remove the dest file.
5725 2014-10-20 Yao Qi <yao@codesourcery.com>
5727 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5728 * gdb.base/step-line.exp: Likewise.
5729 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5730 * gdb.dwarf2/dw2-basic.exp: Likewise.
5731 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5732 * gdb.dwarf2/dw2-filename.exp: Likewise.
5733 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5734 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5735 * gdb.dwarf2/dw2-producer.exp: Likewise.
5736 * gdb.dwarf2/mac-fileno.exp: Likewise.
5737 * gdb.python/py-frame-args.exp: Likewise.
5738 * gdb.python/py-framefilter.exp: Likewise.
5739 * gdb.python/py-mi.exp: Likewise.
5740 * gdb.python/py-objfile-script.exp: Likewise
5741 * gdb.python/py-pp-integral.exp: Likewise.
5742 * gdb.python/py-pp-re-notag.exp: Likewise.
5743 * gdb.python/py-prettyprint.exp: Likewise.
5744 * gdb.python/py-section-script.exp: Likewise.
5745 * gdb.python/py-typeprint.exp: Likewise.
5746 * gdb.python/py-xmethods.exp: Likewise.
5747 * gdb.stabs/weird.exp: Likewise.
5748 * gdb.xml/tdesc-regs.exp: Likewise.
5750 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5752 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5753 (out_cu): Use addr_len for the size of addresses.
5754 (out_line): Likewise. Size DW_LNE_set_address instruction
5755 according to addr_len.
5756 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5757 (FUNC): Add START_INSNS to definition.
5759 2014-10-18 Yao Qi <yao@codesourcery.com>
5761 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5762 gdb_has_argv0 return true.
5763 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5764 check [target_info exists noargs], check [gdb_has_argv0]
5766 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5767 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5770 2014-10-17 Doug Evans <dje@google.com>
5772 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5774 * gdb.python/py-events.py: Add clear_objfiles event.
5776 2014-10-17 Doug Evans <dje@google.com>
5778 * gdb.python/py-objfile.exp: Test progspace attribute.
5780 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5782 * gdb.guile/scm-breakpoint.exp: Do not assume any
5783 directory separators when matching source file paths.
5784 * gdb.python/py-breakpoint.exp: Likewise.
5785 * gdb.reverse/break-precsave.exp: Likewise.
5786 * gdb.reverse/break-reverse.exp: Likewise.
5787 * gdb.reverse/consecutive-precsave.exp: Likewise.
5788 * gdb.reverse/finish-precsave.exp: Likewise.
5789 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5790 * gdb.reverse/finish-reverse.exp: Likewise.
5791 * gdb.reverse/i386-precsave.exp: Likewise.
5792 * gdb.reverse/i387-env-reverse.exp: Likewise.
5793 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5794 * gdb.reverse/machinestate-precsave.exp: Likewise.
5795 * gdb.reverse/machinestate.exp: Likewise.
5796 * gdb.reverse/sigall-precsave.exp: Likewise.
5797 * gdb.reverse/solib-precsave.exp: Likewise.
5798 * gdb.reverse/step-precsave.exp: Likewise.
5799 * gdb.reverse/until-precsave.exp: Likewise.
5800 * gdb.reverse/watch-precsave.exp: Likewise.
5801 * gdb.reverse/watch-reverse.exp: Likewise.
5803 2014-10-17 Yao Qi <yao@codesourcery.com>
5805 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5806 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5808 2014-10-17 Pedro Alves <palves@redhat.com>
5811 * gdb.base/bg-execution-repeat.c: New file.
5812 * gdb.base/bg-execution-repeat.exp: New file.
5814 2014-10-17 Pedro Alves <palves@redhat.com>
5817 * gdb.base/continue-all-already-running.c: New file.
5818 * gdb.base/continue-all-already-running.exp: New file.
5820 2014-10-17 Pedro Alves <palves@redhat.com>
5823 * gdb.base/annota-input-while-running.c: New file.
5824 * gdb.base/annota-input-while-running.exp: New file.
5826 2014-10-17 Pedro Alves <palves@redhat.com>
5828 * gdb.base/callfuncs.exp: emove references to osf.
5829 * gdb.base/sigall.exp: Likewise.
5830 * gdb.gdb/selftest.exp: Likewise.
5831 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5832 * gdb.mi/non-stop.c: Likewise.
5833 * gdb.mi/pthreads.c: Likewise.
5834 * gdb.reverse/sigall-precsave.exp: Likewise.
5835 * gdb.reverse/sigall-reverse.exp: Likewise.
5836 * gdb.threads/pthreads.c: Likewise.
5837 * gdb.threads/pthreads.exp: Likewise.
5839 2014-10-17 Yao Qi <yao@codesourcery.com>
5841 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5842 check 'target_info exists noargs'.
5843 (test_command_prompt_position): Likewise.
5844 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5846 (progvar_simple_while_test): Likewise.
5847 (progvar_complex_if_while_test): Likewise.
5848 (if_while_breakpoint_command_test): Likewise.
5849 (infrun_breakpoint_command_test): Likewise.
5850 (breakpoint_command_test): Likewise.
5851 (watchpoint_command_test): Likewise.
5852 (bp_deleted_in_command_test): Likewise.
5853 (temporary_breakpoint_commands): Likewise.
5855 2014-10-16 Yao Qi <yao@codesourcery.com>
5857 * gdb.base/remotetimeout.exp: Remove noargs checking.
5859 2014-10-15 Pedro Alves <palves@redhat.com>
5862 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5863 * gdb.base/breakpoint-in-ro-region.exp
5864 (probe_target_hardware_step): New procedure.
5865 (top level): Probe hardware stepping and hardware breakpoint
5866 support. Test stepping through a read-only region, with both
5867 "breakpoint auto-hw" on and off and both "always-inserted" on and
5870 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5872 * gdb.dlang/demangle.exp: Update for demangling changes.
5874 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5876 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5877 * gdb.cp/non-trivial-retval.exp: Add new tests.
5879 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5883 * gdb.cp/non-trivial-retval.cc: New file.
5884 * gdb.cp/non-trivial-retval.exp: New file.
5886 2014-10-15 Yao Qi <yao@codesourcery.com>
5888 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5891 2014-10-15 Yao Qi <yao@codesourcery.com>
5893 * gdb.python/py-symbol.exp: Match file base name if host is
5894 remote, otherwise match file name with dir name.
5895 * gdb.python/py-symtab.exp: Likewise.
5896 * gdb.python/python.exp: Likewise.
5898 2014-10-15 Yao Qi <yao@codesourcery.com>
5900 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5902 * gdb.python/py-symtab.exp: Likewise.
5903 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5906 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5908 * gdb.ada/addr_arith: New testcase.
5910 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5912 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5913 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5914 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5915 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5917 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5919 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5920 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5921 * gdb.arch/stap-eval-lang-ada.exp: New file.
5923 2014-10-14 Yao Qi <yao@codesourcery.com>
5925 * gdb.mi/mi-var-child.c (nothing1): New function.
5926 (nothing2): New function.
5927 (do_children_tests): Set function pointers by nothing1 and
5929 * gdb.mi/mi-var-child.exp: Step over new added statements.
5930 Update test to match the new output.
5931 * gdb.mi/var-cmd.c (nothing1): New function.
5932 (nothing2): New function.
5933 (do_children_tests): Set function pointers by nothing1 and
5935 * gdb.mi/mi-var-display.exp: Update test to match output.
5936 Step to the line specified by $line_dct_nothing.
5937 Increase the number of lines to step.
5939 2014-10-14 Yao Qi <yao@codesourcery.com>
5941 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5943 * gdb.mi/mi2-var-child.exp: Likewise.
5945 2014-10-13 Doug Evans <dje@google.com>
5947 * gdb.python/py-objfile.exp: Change name of file name test.
5949 2014-10-13 Doug Evans <dje@google.com>
5951 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5952 from the start of the CU.
5954 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5955 Yao Qi <yao@codesourcery.com>
5957 Fix "save breakpoints" for "catch" command.
5958 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5959 Remove -nonewline. Match also the added "main" line.
5961 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5963 Fix "save breakpoints" for "disable $bpnum" command.
5964 * gdb.base/save-bp.c (main): Add label.
5965 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5967 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5969 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5971 2014-10-11 Yao Qi <yao@codesourcery.com>
5973 * gdb.server/server-kill.exp: Execute command
5974 "set remote trace-status-packet on" before "tstatus".
5976 2014-10-11 Yao Qi <yao@codesourcery.com>
5978 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5979 (main): Call getppid.
5980 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5981 and continue to it. Read variable "server_pid".
5983 2014-10-11 Yao Qi <yao@codesourcery.com>
5985 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5987 2014-10-11 Yao Qi <yao@codesourcery.com>
5989 * gdb.threads/thread-find.exp: Don't execute command
5991 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5992 * gdb.threads/linux-dp.exp: Don't check the condition
5993 $threads_created equals to zero.
5995 2014-10-10 Pedro Alves <palves@redhat.com>
5997 * gdb.base/bigcore.exp: Remove references to IRIX.
5998 * gdb.base/funcargs.exp: Likewise.
5999 * gdb.base/interrupt.exp: Likewise.
6000 * gdb.base/mips_pro.exp: Likewise.
6001 * gdb.base/nodebug.exp: Likewise.
6002 * gdb.base/setvar.exp: Likewise.
6003 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6005 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6006 Pedro Alves <palves@redhat.com>
6009 * gdb.base/vdso-warning.c: New file.
6010 * gdb.base/vdso-warning.exp: New file.
6012 2014-10-02 Doug Evans <dje@google.com>
6014 * gdb.base/structs.c (main): Don't run forever.
6016 2014-10-02 Pedro Alves <palves@redhat.com>
6018 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6019 (top level) <stop threads 1, stop threads 2>: Use it.
6021 2014-10-02 Pedro Alves <palves@redhat.com>
6023 * gdb.threads/break-while-running.exp (test): Add new
6024 'update_thread_list' argument. Skip "info threads" if false.
6025 (top level): Add new 'update_thread_list' axis.
6027 2014-10-02 Pedro Alves <palves@redhat.com>
6029 PR breakpoints/17431
6030 * gdb.base/execl-update-breakpoints.c: New file.
6031 * gdb.base/execl-update-breakpoints.exp: New file.
6033 2014-10-01 Pedro Alves <palves@redhat.com>
6035 * gdb.base/breakpoint-in-ro-region.c: New file.
6036 * gdb.base/breakpoint-in-ro-region.exp: New file.
6038 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6040 * gdb.mi/mi-exit-code.exp: New file.
6041 * gdb.mi/mi-exit-code.c: New file.
6043 2014-09-30 Yao Qi <yao@codesourcery.com>
6045 * lib/prelink-support.exp (build_executable_own_libs): Error if
6046 the target isn't native.
6048 2014-09-30 Yao Qi <yao@codesourcery.com>
6050 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6053 2014-09-22 Pedro Alves <palves@redhat.com>
6055 * gdb.threads/break-while-running.exp: New file.
6056 * gdb.threads/break-while-running.c: New file.
6058 2014-09-19 Yao Qi <yao@codesourcery.com>
6060 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6061 Invoke test. Restart GDB with --readnow and invoke test again.
6063 2014-09-19 Yao Qi <yao@codesourcery.com>
6065 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6066 proc set_breakpoint_on_gcd_function. Invoke
6067 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6068 invoke set_breakpoint_on_gcd_function again.
6070 2014-09-18 Doug Evans <dje@google.com>
6072 * gdb.dwarf2/symtab-producer.exp: New file.
6074 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6076 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6077 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6078 * gdb.base/global-var-nested-by-dso.c: Likewise.
6079 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6081 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6082 Pedro Alves <palves@redhat.com>
6084 * gdb.base/watch-bitfields.exp: Pass string other than test file
6085 name to prepare_for_testing.
6086 (watch): New procedure.
6087 (expect_watchpoint): Use with_test_prefix.
6088 (top level): Factor out tests to ...
6089 (test_watch_location, test_regular_watch): ... these new
6090 procedures, and use with_test_prefix and gdb_continue_to_end.
6092 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6094 PR breakpoints/12526
6095 * gdb.base/watch-bitfields.exp: New file.
6096 * gdb.base/watch-bitfields.c: New file.
6098 2014-09-16 Pedro Alves <palves@redhat.com>
6100 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6101 software and hardware addresses, not software address against
6104 2014-09-16 Pedro Alves <palves@redhat.com>
6106 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6107 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6109 2014-09-16 Pedro Alves <palves@redhat.com>
6111 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6113 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6114 "*-*-vxworks*" throughout.
6115 * gdb.base/break.exp: Likewise.
6116 * gdb.base/default.exp: Likewise.
6117 * gdb.base/scope.exp: Likewise.
6118 * gdb.base/sepdebug.exp: Likewise.
6119 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6121 * gdb.base/run.c: Likewise.
6122 * gdb.base/sepdebug.c: Likewise.
6123 * gdb.hp/gdb.aCC/run.c: Likewise.
6124 * gdb.reverse/until-reverse.c: Likewise.
6125 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6127 2014-09-16 Yao Qi <yao@codesourcery.com>
6129 * boards/local-remote-host-native.exp: New file.
6131 2014-09-14 Doug Evans <xdje42@gmail.com>
6133 * gdb.threads/queue-signal.c (thread_count): New variable.
6134 (thread_count_mutex, thread_count_condvar): New variables.
6135 (incr_thread_count, wait_all_threads_running): New functions.
6136 (main): Wait for all threads to be in their thread functions.
6138 2014-09-13 Doug Evans <xdje42@gmail.com>
6140 * gdb.threads/queue-signal.c: New file.
6141 * gdb.threads/queue-signal.exp: New file.
6143 2014-09-13 Doug Evans <xdje42@gmail.com>
6145 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6146 be consistent with what default_gdb_init uses.
6147 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6148 the plain text of the prompt. Add some logging printfs.
6149 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6151 2014-09-12 Pedro Alves <palves@redhat.com>
6153 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6154 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6155 * gdb.arch/i386-size-overlap.exp: Likewise.
6156 * gdb.arch/i386-size.exp: Likewise.
6157 * gdb.arch/i386-unwind.exp: Likewise.
6158 * gdb.base/a2-run.exp: Likewise.
6159 * gdb.base/break.exp: Likewise.
6160 * gdb.base/charset.exp: Likewise.
6161 * gdb.base/chng-syms.exp: Likewise.
6162 * gdb.base/commands.exp: Likewise.
6163 * gdb.base/dbx.exp: Likewise.
6164 * gdb.base/find.exp: Likewise.
6165 * gdb.base/funcargs.exp: Likewise.
6166 * gdb.base/jit-simple.exp: Likewise.
6167 * gdb.base/reread.exp: Likewise.
6168 * gdb.base/sepdebug.exp: Likewise.
6169 * gdb.base/step-bt.exp: Likewise.
6170 * gdb.cp/mb-inline.exp: Likewise.
6171 * gdb.cp/mb-templates.exp: Likewise.
6172 * gdb.objc/basicclass.exp: Likewise.
6173 * gdb.threads/killed.exp: Likewise.
6175 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6178 * gdb.arch/powerpc-stackless.S: New file.
6179 * gdb.arch/powerpc-stackless.exp: New file.
6181 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6183 * gdb.base/attach.c: Include unistd.h.
6184 (main): Call alarm. Add label postloop.
6185 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6186 gdb_breakpoint, gdb_continue_to_breakpoint.
6187 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6189 2014-09-11 Pedro Alves <palves@redhat.com>
6192 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6193 * gdb.base/attach.exp (test_command_line_attach_run): New
6195 (top level): Call it.
6197 2014-09-11 Pedro Alves <palves@redhat.com>
6199 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6200 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6201 (do_command_attach_tests): Use spawn_wait_for_attach.
6202 * gdb.base/solib-overlap.exp: Likewise.
6203 * gdb.multi/multi-attach.exp: Likewise.
6204 * gdb.python/py-prompt.exp: Likewise.
6205 * gdb.python/py-sync-interp.exp: Likewise.
6206 * gdb.server/ext-attach.exp: Likewise.
6208 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6210 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6211 command in testcase. Simplify testcase.
6213 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6215 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6217 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6219 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6221 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6223 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6225 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6227 * gdb.dwarf2/dynarr-ptr.c: New file.
6228 * gdb.dwarf2/dynarr-ptr.exp: New file.
6230 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6232 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6233 of 30 rather than hardcoding 120 for a slow test case. Take the
6234 `gdb,timeout' target setting into account for this calculation.
6235 Don't extend the timeout for the test cases that don't need it.
6237 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6239 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6240 a factor of 2 for a slow test case. Take the `gdb,timeout'
6241 target setting into account for this calculation.
6242 * gdb.reverse/until-precsave.exp: Increase the timeout by
6243 a factor of 15 and 3 respectively rather than adding 120
6244 for a pair of slow test cases. Take the `gdb,timeout'
6245 target setting into account for this calculation.
6247 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6249 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6250 timeout, don't pass one down to gdb_expect.
6251 (gdb_expect): Rework timeout selection.
6253 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6255 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6256 exception on timeout.
6257 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6258 (gdbserver_start_extended): Catch any `gdbserver_start' error
6260 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6261 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6262 `gdbserver_gdb_load' error exceptions.
6264 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6266 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6267 120 on waiting for the TCP socket to open.
6269 2014-09-09 Doug Evans <xdje42@gmail.com>
6271 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6272 _caller_matches, _any_caller_is, _any_caller_matches.
6274 2014-09-09 Doug Evans <xdje42@gmail.com>
6276 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6278 2014-09-09 Yao Qi <yao@codesourcery.com>
6280 * gdb.mi/mi-var-display.exp: Set print symbol off.
6282 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6285 * gdb.base/commands.exp: Add tests to verify user-defined
6286 commands with empty bodies.
6287 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6288 python commands in `show user command`.
6289 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6290 scheme commands in `show user command`.
6292 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6295 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6296 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6297 * gdb.python/py-framefilter-invalidarg.exp: New file.
6298 * gdb.python/py-framefilter-invalidarg.py: New file.
6300 2014-09-06 Doug Evans <xdje42@gmail.com>
6303 * gdb.python/py-caller-is.c: New file.
6304 * gdb.python/py-caller-is.exp: New file.
6306 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6309 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6310 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6312 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6315 * gdb.fortran/print-formatted.exp: New file.
6316 * gdb.fortran/print-formatted.f90: Likewise.
6318 2014-09-03 Sasha Smundak <asmundak@google.com>
6320 * gdb.python/py-frame.exp: Test Frame.read_register.
6322 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6325 * gdb.python/py-completion.exp: New file.
6326 * gdb.python/py-completion.py: Likewise.
6328 2014-08-28 Doug Evans <dje@google.com>
6330 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6331 eax,etc. are live with values set by gdb and thus the compiler can't
6333 * gdb.arch/i386-pseudo.c (main): Ditto.
6335 2014-08-27 Doug Evans <dje@google.com>
6337 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6339 2014-08-25 Doug Evans <dje@google.com>
6341 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6344 2014-08-25 Doug Evans <dje@google.com>
6346 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6348 2014-08-24 Yao Qi <yao@codesourcery.com>
6350 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6352 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6354 2014-08-22 Doug Evans <dje@google.com>
6357 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6358 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6359 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6361 2014-08-22 Yao Qi <yao@codesourcery.com>
6363 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6364 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6365 * gdb.python/python.exp: Likewise. Use .py file on the host
6366 instead of the build.
6368 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6370 * gdb.threads/gcore-stale-thread.c: New file.
6371 * gdb.threads/gcore-stale-thread.exp: New file.
6373 2014-08-21 Pedro Alves <palves@redhat.com>
6375 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6376 * gdb.base/gcore-relro-pie.exp: Likewise.
6377 * gdb.base/gcore-relro.exp: Likewise.
6378 * gdb.base/gcore.exp: Likewise.
6379 * gdb.base/print-symbol-loading.exp: Likewise.
6380 * gdb.threads/gcore-thread.exp: Likewise.
6381 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6383 2014-08-20 Pedro Alves <palves@redhat.com>
6384 Jan Kratochvil <jan.kratochvil@redhat.com>
6386 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6388 (EXPECT): Handle READ1 being set.
6389 (all): Depend on EXTRA_RULES.
6390 (check-read1, expect-read1, read1.so, read1): New rules.
6391 * README (Testsuite Parameters): Document the READ1 make variable.
6392 (Race detection): New section.
6393 * configure: Regenerate.
6394 * configure.ac: If build==host==target, and running under a
6395 GNU/glibc system, add read1 to the extra Makefile rules.
6396 (EXTRA_RULES): AC_SUBST it.
6397 * lib/read1.c: New file.
6399 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6401 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6402 the handling of variables declared as a typedef to an array
6403 which a DW_AT_data_location attribute.
6405 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6406 Pedro Alves <palves@redhat.com>
6410 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6413 2014-08-19 Pedro Alves <palves@redhat.com>
6415 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6417 2014-08-19 Yao Qi <yao@codesourcery.com>
6419 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6422 2014-08-18 David Blaikie <dblaikie@gmail.com>
6424 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6426 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6428 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6429 attribute in array range.
6431 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6433 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6435 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6438 * gdb.cp/pr17132.cc: New file.
6439 * gdb.cp/pr17132.exp: New file.
6441 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6443 * gdb.python/py-xmethods.py (A_getarrayind)
6444 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6445 Use 'print' with function call syntax.
6446 (E_method_matcher.match): Fix tab vs space indentation mixup.
6448 2014-08-15 Yao Qi <yao@codesourcery.com>
6450 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6453 2014-08-15 Yao Qi <yao@codesourcery.com>
6455 * gdb.cp/casts.exp: Set print symbol off.
6456 * gdb.cp/class2.exp: Likewise.
6457 * gdb.cp/overload.exp: Likewise.
6458 * gdb.cp/templates.exp: Likewise.
6460 2014-08-11 Doug Evans <dje@google.com>
6462 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6463 (test_load_shlib): Update.
6465 2014-08-09 Yao Qi <yao@codesourcery.com>
6467 * gdb.base/display.exp: Invoke is_address_zero_readable.
6468 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6469 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6470 * gdb.base/hbreak-unmapped.exp: Return if
6471 is_address_zero_readable returns true.
6472 * gdb.base/signest.exp: Likewise.
6473 * gdb.base/signull.exp: Likewise.
6474 * gdb.base/sigbpt.exp: Likewise.
6475 * gdb.guile/scm-disasm.exp: Do the test if
6476 is_address_zero_readable returns false.
6477 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6478 * gdb.python/py-arch.exp: Likewise.
6479 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6480 * lib/gdb.exp (is_address_zero_readable): New proc.
6482 2014-08-09 Yao Qi <yao@codesourcery.com>
6485 * gdb.mi/mi-var-display.exp: Make test messages unique.
6487 2014-08-04 Tom Tromey <tromey@redhat.com>
6489 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6492 2014-08-04 Tom Tromey <tromey@redhat.com>
6494 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6497 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6499 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6500 inner_vla_struct_object_size.
6501 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6504 2014-07-30 Pedro Alves <palves@redhat.com>
6506 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6509 2014-07-29 Yao Qi <yao@codesourcery.com>
6512 * gdb.base/until-nodebug.exp: New.
6514 2014-07-28 Doug Evans <xdje42@gmail.com>
6517 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6518 previously existing parameter, and previously ambiguously spelled
6521 2014-07-28 Will Newton <will.newton@linaro.org>
6523 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6525 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6526 Doug Evans <xdje42@gmail.com>
6529 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6531 2014-07-25 Pedro Alves <palves@redhat.com>
6533 * gdb.threads/signal-command-handle-nopass.c: New file.
6534 * gdb.threads/signal-command-handle-nopass.exp: New file.
6535 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6536 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6537 * gdb.threads/signal-delivered-right-thread.c: New file.
6538 * gdb.threads/signal-delivered-right-thread.exp: New file.
6540 2014-07-25 Pedro Alves <palves@redhat.com>
6542 * gdb.base/double-prompt-target-event-error.exp
6543 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6545 (cancel_pagination_in_target_event): Rework double prompt
6547 * gdb.base/paginate-after-ctrl-c-running.exp
6548 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6550 * gdb.base/paginate-bg-execution.exp
6551 (test_bg_execution_pagination_return)
6552 (test_bg_execution_pagination_cancel): Remove '-notransfer
6554 * gdb.base/paginate-execution-startup.exp
6555 (test_fg_execution_pagination_return)
6556 (test_fg_execution_pagination_cancel): Remove '-notransfer
6558 * gdb.base/paginate-inferior-exit.exp
6559 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6561 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6562 * lib/gdb.exp (pagination_prompt): Run text through
6564 (gdb_test_multiple): Match $pagination_prompt instead of
6566 (string_to_regexp): Move to lib/gdb-utils.exp.
6568 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6570 * gdb.arch/amd64-entry-value-paramref.S: New file.
6571 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6572 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6573 * gdb.arch/amd64-optimout-repeat.S: New file.
6574 * gdb.arch/amd64-optimout-repeat.c: New file.
6575 * gdb.arch/amd64-optimout-repeat.exp: New file.
6577 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6580 * gdb.base/statistics.exp: New file.
6582 2014-07-17 Doug Evans <dje@google.com>
6585 * gdb.base/maint.exp: Update testing of per-command stats.
6587 2014-07-16 Pedro Alves <palves@redhat.com>
6589 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6590 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6591 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6592 (tfile_write_buf): New functions.
6593 (add_memory_block): Rewrite using the above.
6594 (adjust_function_address): New function.
6595 (FUNCTION_ADDRESS): New macro.
6596 (write_basic_trace_file): Remove short_x local, and use
6597 tfile_write_16. Change type of func_addr local to unsigned long
6598 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6599 here. Cast argument of add_memory_block to char pointer.
6600 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6601 (main): Remove parameters.
6602 * gdb.trace/tfile.exp: Remove nowarnings.
6604 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6606 * gdb.base/debug-expr.exp: Test string evaluation with
6607 "debug expression" on.
6609 2014-07-15 Pedro Alves <palves@redhat.com>
6611 * gdb.base/reread.exp: Use clean_restart.
6613 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6615 * gdb.arch/avr-flash-qualifer.c: New.
6616 * gdb.arch/avr-flash-qualifer.exp: New.
6618 2014-07-14 Pedro Alves <palves@redhat.com>
6620 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6621 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6623 2014-07-14 Pedro Alves <palves@redhat.com>
6625 * gdb.base/double-prompt-target-event-error.c: New file.
6626 * gdb.base/double-prompt-target-event-error.exp: New file.
6628 2014-07-14 Pedro Alves <palves@redhat.com>
6631 * gdb.base/paginate-inferior-exit.c: New file.
6632 * gdb.base/paginate-inferior-exit.exp: New file.
6634 2014-07-14 Pedro Alves <palves@redhat.com>
6637 * gdb.base/paginate-bg-execution.c: New file.
6638 * gdb.base/paginate-bg-execution.exp: New file.
6640 2014-07-14 Pedro Alves <palves@redhat.com>
6643 * gdb.base/paginate-execution-startup.c: New file.
6644 * gdb.base/paginate-execution-startup.exp: New file.
6645 * lib/gdb.exp (pagination_prompt): New global.
6646 (default_gdb_spawn): New procedure, factored out from
6648 (default_gdb_start): Adjust to call default_gdb_spawn.
6649 (gdb_spawn): New procedure.
6651 2014-07-14 Pedro Alves <palves@redhat.com>
6653 * lib/gdb.exp (gdb_assert): New procedure.
6654 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6656 2014-07-14 Pedro Alves <palves@redhat.com>
6658 * gdb.base/execution-termios.c: New file.
6659 * gdb.base/execution-termios.exp: New file.
6661 2014-07-14 Tom Tromey <tromey@redhat.com>
6663 * gdb.cp/vla-cxx.cc: New file.
6664 * gdb.cp/vla-cxx.exp: New file.
6666 2014-07-14 Tom Tromey <tromey@redhat.com>
6668 * gdb.reverse/rerun-prec.c: New file.
6669 * gdb.reverse/rerun-prec.exp: New file.
6671 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6672 Maciej W. Rozycki <macro@codesourcery.com>
6674 * lib/gdb-utils.exp: New file.
6675 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6676 inline `gdb_init_command' processing.
6677 (gdb_start_cmd): Likewise.
6678 * lib/mi-support.exp (mi_run_cmd): Likewise.
6679 * README: Document `gdb_init_command' and `gdb_init_commands'.
6681 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6683 Fix false FAIL running under a very long directory name.
6684 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6685 and "set print elements 10000". Twice.
6687 2014-07-11 Yao Qi <yao@codesourcery.com>
6689 * gdb.base/exprs.exp: "set print symbol off".
6691 2014-07-11 Pedro Alves <palves@redhat.com>
6693 * gdb.threads/kill.c: New file.
6694 * gdb.threads/kill.exp: New file.
6696 2014-07-10 Yao Qi <yao@codesourcery.com>
6698 * gdb.trace/tfile.c (write_basic_trace_file)
6699 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6700 address written to trace file.
6702 2014-07-09 Pedro Alves <palves@redhat.com>
6704 * gdb.base/attach-wait-input.exp: New file.
6705 * gdb.base/attach-wait-input.c: New file.
6707 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6709 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6710 setting up test structures.
6711 (main): Call new test function.
6712 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6713 test function, continue into test function and walk test
6716 2014-07-02 Yao Qi <yao@codesourcery.com>
6718 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6719 'bar_start' at the beginning of functions 'foo' and 'bar'
6721 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6722 instead of 'foo' and 'bar'.
6724 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6726 * gdb.btrace/segv.exp: New.
6727 * gdb.btrace/segv.c: New.
6729 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6731 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6734 2014-06-30 Mark Wielaard <mjw@redhat.com>
6736 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6737 vulture, vilify, villar): New volatile array constants.
6738 (vindictive, vegetation): New const volatile array constants.
6739 * gdb.base/volatile.exp: Test volatile and const volatile array
6742 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6744 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6745 target lacks support for awatch, rwatch, or hbreak.
6747 2014-06-27 Yao Qi <yao@codesourcery.com>
6749 * gdb.multi/dummy-frame-restore.exp: New.
6750 * gdb.multi/dummy-frame-restore.c: New.
6752 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6754 * gdb.btrace/gcore.exp: New.
6756 2014-06-23 Pedro Alves <palves@redhat.com>
6758 * gdb.base/watchpoint-reuse-slot.c: New file.
6759 * gdb.base/watchpoint-reuse-slot.exp: New file.
6761 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6763 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6764 progspace's filename in 'info', 'enable' and 'disable' command
6767 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6769 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6770 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6771 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6773 2014-06-20 Gary Benson <gbenson@redhat.com>
6775 * gdb.arch/i386-avx.exp: Fix include file location.
6776 * gdb.arch/i386-sse.exp: Likewise.
6778 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6780 * gdb.dlang/expression.exp: New file.
6782 2014-06-19 Pedro Alves <palves@redhat.com>
6784 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6786 (top level): ... here. Iterate running tests under different
6787 scheduler-locking settings.
6789 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6791 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6792 to DW_FORM_addr and use non-zero addresses.
6794 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6797 * gdb.python/py-xmethods.cc: Add global function call counters and
6798 increment them in their respective functions. Remove "cout"
6800 * gdb.python/py-xmethods.exp: Make tests check the global function
6801 call counters instead of depending on inferior IO.
6803 2014-06-18 Don Breazeal <donb@codesourcery.com>
6805 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6807 (explicit_fork_parent_follow): Deleted procedure.
6808 (explicit_fork_child_follow): Deleted procedure.
6809 (test_follow_fork): New procedure.
6810 (do_fork_tests): Replace calls to deleted procedures with
6811 calls to test_follow_fork and reset GDB for subsequent
6814 2014-06-17 Yao Qi <yao@codesourcery.com>
6816 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6819 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6821 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6822 Initialize ptr and S explicitly.
6823 (skip_type_update_when_not_use_rtti_test): Likewise.
6825 2014-06-16 Keith Seitz <keiths@redhat.com>
6828 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6829 the inferior is started.
6831 2014-06-16 Pedro Alves <palves@redhat.com>
6833 * gdb.base/break-main-file-remove-fail.c: New file.
6834 * gdb.base/break-main-file-remove-fail.exp: New file.
6835 * gdb.base/break-unload-file.exp: Use build_executable instead of
6836 prepare_for_testing.
6837 (test_break): New parameter "initial_load". Handle it.
6838 (top level): Add initial_load cmdline/file axis.
6840 2014-06-12 Tom Tromey <tromey@redhat.com>
6842 * gdb.base/completion.exp: Don't use directory name in test.
6844 2014-06-09 Gary Benson <gbenson@redhat.com>
6846 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6847 separate the always-available ANSI-standard signals from the
6848 signals that require checking.
6850 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6854 2014-06-07 Keith Seitz <keiths@redhat.com>
6858 * gdb.cp/var-tag.cc: New file.
6859 * gdb.cp/var-tag.exp: New file.
6860 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6861 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6862 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6863 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6865 2014-06-06 Doug Evans <xdje42@gmail.com>
6867 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6869 2014-06-06 Pedro Alves <palves@redhat.com>
6871 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6872 in target debug output instead of looking at RSP packets,
6873 disabling the test on any target that uses hardware stepping.
6876 2014-06-06 Pedro Alves <palves@redhat.com>
6878 * gdb.base/break-unload-file.exp: Fix typo.
6880 2014-06-06 Yao Qi <yao@codesourcery.com>
6882 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6883 from "jit_function" to "^jit_function".
6885 2014-06-06 Yao Qi <yao@codesourcery.com>
6887 * gdb.base/async.c (foo): Add one statement.
6888 * gdb.base/async.exp: Get the next instruction address and
6889 match the output of "nexti" by instruction address. Match
6890 the hex address in the output of "finish".
6892 2014-06-06 Gary Benson <gbenson@redhat.com>
6894 * gdb.base/call-signals.c: Remove preprocessor conditionals
6895 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6896 SIGSEGV and SIGTERM.
6897 * gdb.base/sigall.c: Likewise.
6898 * gdb.base/unwindonsignal.c: Likewise.
6899 * gdb.reverse/sigall-reverse.c: Likewise.
6901 2014-06-06 Yao Qi <yao@codesourcery.com>
6903 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6904 readable, skip the test.
6906 2014-06-06 Yao Qi <yao@codesourcery.com>
6908 * gdb.threads/staticthreads.c (thread_function): Move the line
6909 setting breakpoint on forward.
6910 * gdb.threads/staticthreads.exp: Update comments.
6912 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6914 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6915 "history-append! type error".
6917 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6919 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6920 erroneous dprintf expected input.
6922 2014-06-04 Doug Evans <xdje42@gmail.com>
6924 * gdb.guile/scm-generics.exp: Delete.
6926 2014-06-04 Doug Evans <xdje42@gmail.com>
6928 * gdb.guile/scm-breakpoint.exp: Update.
6929 Add tests for breakpoint registration.
6931 2014-06-04 Tom Tromey <tromey@redhat.com>
6933 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6935 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6936 inner_vla_struct, vla_union types. Initialize objects of those
6937 types and compute their sizes.
6939 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6940 Hui Zhu <hui@codesourcery.com>
6942 * gdb.base/fileio.exp: Add test for shell not available as well as
6944 * gdb.base/fileio.c (test_system): Check for shell twice.
6946 2014-06-04 Yao Qi <yao@codesourcery.com>
6948 * gdb.base/auto-connect-native-target.exp: Remove redundant
6949 space from the regexp pattern.
6951 2014-06-04 Yao Qi <yao@codesourcery.com>
6953 * gdb.base/default.exp: Replace "child" with "native" in
6956 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6958 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6959 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6960 * gdb.python/py-xmethods.py: Python script supporting the
6961 new testcase and tests.
6963 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6964 Pedro Alves <palves@redhat.com>
6966 PR breakpoints/17000
6967 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6968 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6970 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6972 * gdb.base/subst.exp: Add tests to verify partial path matching
6975 2014-06-03 Pedro Alves <palves@redhat.com>
6977 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6978 target that doesn't use software single-stepping.
6980 2014-06-03 Pedro Alves <palves@redhat.com>
6982 PR breakpoints/17000
6983 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6984 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6986 2014-06-02 Doug Evans <xdje42@gmail.com>
6988 * gdb.guile/scm-parameter.exp: New file.
6990 2014-06-02 Doug Evans <xdje42@gmail.com>
6992 * gdb.guile/scm-cmd.c: New file.
6993 * gdb.guile/scm-cmd.exp: New file.
6995 2014-06-02 Doug Evans <xdje42@gmail.com>
6997 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6998 pretty-printer lookup.
6999 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7000 (make-pp_s-printer): Call it.
7001 (make-pretty-printer-from-dict): New function.
7002 (lookup-pretty-printer-maker-from-dict): New function.
7003 (*pretty-printer*): Simplify.
7004 (make-objfile-pp_s-printer): New function.
7005 (install-objfile-pretty-printers!): New function.
7006 (make-progspace-pp_s-printer): New function.
7007 (install-progspace-pretty-printers!): New function.
7008 * gdb.guile/scm-progspace.c: New file.
7009 * gdb.guile/scm-progspace.exp: New file.
7011 2014-06-02 Pedro Alves <palves@redhat.com>
7013 * gdb.base/dprintf-bp-same-addr.c: New file.
7014 * gdb.base/dprintf-bp-same-addr.exp: New file.
7016 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7018 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7019 * gdb.arch/powerpc-power.s: Likewise.
7021 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7023 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7025 2014-06-01 Yao Qi <yao@codesourcery.com>
7027 * gdb.base/watchpoint.exp (test_watch_location): Check null
7028 pointer can be dereferenced. If not, do the test, otherwise
7031 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7033 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7035 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7037 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7039 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7040 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7041 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7042 * gdb.arch/amd64-invalid-stack-top.c: New file.
7043 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7045 2014-05-30 Pedro Alves <palves@redhat.com>
7047 PR breakpoints/17000
7048 * gdb.base/sss-bp-on-user-bp.c: New file.
7049 * gdb.base/sss-bp-on-user-bp.exp: New file.
7051 2014-05-30 David Blaikie <dblaikie@gmail.com>
7053 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7054 gnu_inline semantics via attribute.
7055 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7056 source explicitly specifies the required semantics.
7058 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7060 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7062 2014-05-29 Pedro Alves <palves@redhat.com>
7063 Tom Tromey <tromey@redhat.com>
7065 * gdb.base/async-shell.exp: Don't enable target-async.
7066 * gdb.base/async.exp
7067 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7069 (top level): Don't test with "target-async".
7070 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7071 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7072 * gdb.base/inferior-died.exp: Don't enable target-async.
7073 * gdb.base/interrupt-noterm.exp: Likewise.
7074 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7075 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7076 * gdb.mi/mi-nonstop.exp: Likewise.
7077 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7078 * gdb.mi/mi-nsintrall.exp: Likewise.
7079 * gdb.mi/mi-nsmoribund.exp: Likewise.
7080 * gdb.mi/mi-nsthrexec.exp: Likewise.
7081 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7082 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7083 * gdb.python/py-evsignal.exp: Don't enable target-async.
7084 * gdb.python/py-evthreads.exp: Likewise.
7085 * gdb.python/py-prompt.exp: Likewise.
7086 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7087 * gdb.server/solib-list.exp: Don't enable target-async.
7088 * gdb.threads/thread-specific-bp.exp: Likewise.
7089 * lib/mi-support.exp: Adjust to use mi-async.
7091 2014-05-29 Pedro Alves <palves@redhat.com>
7094 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7095 reason, even in sync mode.
7097 2014-05-29 Pedro Alves <palves@redhat.com>
7098 Hui Zhu <hui@codesourcery.com>
7101 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7102 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7103 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7104 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7106 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7108 * config/monitor.exp (gdb_target_monitor): Replace use of
7109 "set remotebaud" by "set serial baud".
7111 2014-05-26 Andy Wingo <wingo@igalia.com>
7113 * gdb.guile/scm-breakpoint.exp:
7114 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7115 properties instead of gdb-object-properties.
7117 2014-05-26 Yao Qi <yao@codesourcery.com>
7119 * gdb.server/no-thread-db.exp: Specify source file name
7120 explicitly when setting a breakpoint.
7122 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7124 * gdb.btrace/vdso.c: New.
7125 * gdb.btrace/vdso.exp: New.
7127 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7129 * gdb.base/gcore.exp (capture_command_output): Move ...
7130 * lib/gdb.exp (capture_command_output): ... here.
7132 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7134 * gdb.btrace/data.exp: Test memory access during btrace replay.
7136 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7138 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7140 2014-05-21 Pedro Alves <palves@redhat.com>
7143 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7144 (top level): Test that output related to execution commands is
7145 sent to the console with CLI commands, but not with MI commands.
7146 Test that breakpoint events are always mirrored to the console.
7147 Also expect the new source line to be output after a "next" in
7148 async mode too. Make it a pass/fail test.
7149 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7151 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7153 2014-05-21 Pedro Alves <palves@redhat.com>
7155 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7156 Use them to test variations of "list" after reaching a breakpoint.
7157 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7158 Test "list" with listsize 10 after reaching a breakpoint.
7159 * gdb.python/python.exp (decode_line current location line
7160 number): Adjust expected line number.
7162 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7164 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7165 behavior for $args, pass it directly to "run".
7167 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7169 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7172 2014-05-21 Pedro Alves <palves@redhat.com>
7174 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7175 auto-connect-native-target off".
7176 * gdb.base/auto-connect-native-target.c: New file.
7177 * gdb.base/auto-connect-native-target.exp: New file.
7179 2014-05-21 Pedro Alves <palves@redhat.com>
7181 * gdb.base/default.exp: Test "target native" instead of "target
7184 2014-05-21 Mark Wielaard <mjw@redhat.com>
7186 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7188 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7190 Fix TLS access for -static -pthread.
7191 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7192 <HAVE_TLS> (thread_function, main): Initialize it.
7193 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7195 <$have_tls != "">: Check TLSVAR.
7197 2014-05-21 Pedro Alves <palves@redhat.com>
7199 * gdb.base/dcache-line-read-error.c: New.
7200 * gdb.base/dcache-line-read-error.exp: New.
7202 2014-05-20 Pedro Alves <palves@redhat.com>
7204 * gdb.base/compare-sections.c: New file.
7205 * gdb.base/compare-sections.exp: New file.
7207 2014-05-20 Pedro Alves <palves@redhat.com>
7209 * gdb.base/break-idempotent.c: New file.
7210 * gdb.base/break-idempotent.exp: New file.
7212 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7214 * gdb.btrace/nohist.exp: New.
7216 2014-05-20 Yao Qi <yao@codesourcery.com>
7218 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7219 gdb.reverse directory and gdb_reverse_timeout exists in board
7221 * README: Document gdb_reverse_timeout.
7223 2014-05-20 Yao Qi <yao@codesourcery.com>
7225 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7226 'test_file_name'. Treat args as a string instead of a list.
7227 (gdb_init): Rename argument 'args' by 'test_file_name'.
7229 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7231 * gdb.arch/powerpc-power.exp: New file.
7232 * gdb.arch/powerpc-power.s: New file.
7234 2014-05-16 Doug Evans <dje@google.com>
7236 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7237 * gdb.base/completion.exp: Check that all expected files exist
7238 before doing file completion.
7240 2014-05-16 Doug Evans <dje@google.com>
7242 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7244 (do_syscall_tests_without_xml): Update.
7246 2014-05-16 Pedro Alves <palves@redhat.com>
7248 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7249 instead of "unknown output after running".
7251 2014-05-16 Yao Qi <yao@codesourcery.com>
7253 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7254 file1.txt from host at the end.
7255 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7257 2014-05-15 Doug Evans <dje@google.com>
7259 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7260 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7261 loading file. Add test for TU lookup.
7263 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7265 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7266 calling "-exec-arguments" or "set args" before running the
7269 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7271 * lib/mi-support.exp (mi_expect_stop): Expect message for
7272 inferiors that exit with non-zero exit code.
7274 2014-05-14 Yao Qi <yao@codesourcery.com>
7276 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7277 match absolute path on remote host.
7278 (test_file_list_exec_source_files): Remove "/" from the
7281 2014-05-14 Yao Qi <yao@codesourcery.com>
7283 * boards/local-remote-host-notty.exp (${board}_file): New
7286 2014-05-07 Kyle McMartin <kyle@redhat.com>
7288 Pushed by Joel Brobecker <brobecker@adacore.com>.
7289 * gdb.arch/aarch64-atomic-inst.c: New file.
7290 * gdb.arch/aarch64-atomic-inst.exp: New file.
7292 2014-05-07 Yao Qi <yao@codesourcery.com>
7294 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7295 in current context" too.
7297 2014-05-05 Keith Seitz <keiths@redhat.com>
7299 * gdb.linespec/ls-dollar.exp: Add test for linespec
7300 file:convenience_variable.
7302 2014-05-05 Yao Qi <yao@codesourcery.com>
7304 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7305 traceframes into tfile and ctf trace files. Read data from
7306 trace file and test collected data.
7307 (gdb_collect_locals_test): Likewise.
7308 (gdb_unavailable_registers_test): Likewise.
7309 (gdb_unavailable_floats): Likewise.
7310 (gdb_collect_globals_test): Likewise.
7311 (top-level): Append "ctf" to trace_file_targets if GDB
7314 2014-05-05 Yao Qi <yao@codesourcery.com>
7316 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7318 (gdb_collect_args_test_1): ... it. New proc.
7319 (gdb_collect_locals_test): Move some code to ...
7320 (gdb_collect_locals_test_1): ... it. New proc.
7321 (gdb_unavailable_registers_test): Move some code to ...
7322 (gdb_unavailable_registers_test_1): ... it. New proc.
7323 (gdb_unavailable_floats): Move some code to ...
7324 (gdb_unavailable_floats_1): ... it. New proc.
7326 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7328 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7329 probes to test for bitness recognition.
7330 * gdb.arch/amd64-stap-optional-prefix.exp
7331 (test_probe_value_without_reg): New procedure.
7332 Add code to test for different kinds of bitness.
7334 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7336 PR breakpoints/16889
7337 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7338 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7340 2014-05-01 Pedro Alves <palves@redhat.com>
7342 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7343 gdb_file_cmd if no file is specified.
7344 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7345 last_loaded_file to set the remote exec-file.
7347 2014-05-01 Pedro Alves <palves@redhat.com>
7349 * boards/local-remote-host.exp: New file.
7351 2014-05-01 Pedro Alves <palves@redhat.com>
7353 * boards/local-remote-host.exp: Rename to ...
7354 * boards/local-remote-host-notty.exp: ... this.
7356 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7358 * gdb.ada/dyn_arrayidx: New testcase.
7360 2014-04-26 Yao Qi <yao@codesourcery.com>
7362 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7363 and compute the length of function main. Save it in
7365 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7366 (top-level): Use gdb_compile to compile objects into
7367 executable and restart GDB. Remove invocation to
7368 prepare_for_testing.
7370 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7371 Pedro Alves <palves@redhat.com>
7374 * gdb.multi/multi-attach.c: New file.
7375 * gdb.multi/multi-attach.exp: New file.
7377 2014-04-25 Pedro Alves <palves@redhat.com>
7379 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7381 (top level): Test that "set remote conditional-breakpoints-packet
7382 off" works as intended.
7383 * gdb.base/dprintf.exp: Test that "set remote
7384 breakpoint-commands-packet off" works as intended.
7385 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7387 (top level): Call it.
7388 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7389 remote fast-tracepoints-packet off" works as intended.
7390 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7391 * lib/gdb.exp (gdb_is_target_remote): ... here.
7393 2014-04-24 David Blaikie <dblaikie@gmail.com>
7395 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7396 ensure clang would not discard them.
7397 * gdb.base/gdbvars.c: Ditto.
7398 * gdb.base/memattr.c: Ditto.
7399 * gdb.base/whatis.c: Ditto.
7400 * gdb.python/py-prettyprint.c: Ditto.
7401 * gdb.trace/actions.c: Ditto.
7402 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7403 ensure clang would not discard it.
7405 2014-04-24 David Blaikie <dblaikie@gmail.com>
7407 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7408 clang to emit the full definition of type required by the test
7409 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7411 2014-04-24 David Blaikie <dblaikie@gmail.com>
7413 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7414 coax Clang into emitting the definition of the type.
7415 * gdb.cp/pr10728-x.h (y): Ditto.
7416 * gdb.cp/pr10728-y.cc (y): Ditto.
7418 2014-04-24 David Blaikie <dblaikie@gmail.com>
7420 * gdb.base/label.exp: XFAIL label related tests under Clang.
7421 * gdb.cp/cplabel.exp: Ditto.
7422 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7423 under Clang those using labels.
7425 2014-04-25 Yao Qi <yao@codesourcery.com>
7427 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7429 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7430 partial_label and double_label.
7432 2014-04-24 David Blaikie <dblaikie@gmail.com>
7434 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7436 2014-04-24 David Blaikie <dblaikie@gmail.com>
7438 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7439 of the function to work across GCC and Clang.
7440 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7441 pointer types (const void ** const V void **).
7443 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7444 Walfred Tedeschi <walfred.tedeschi@intel.com>
7446 * Makefile.in (EXECUTABLES): Added i386-avx512.
7447 * gdb.arch/i386-avx512.c: New file.
7448 * gdb.arch/i386-avx512.exp: Likewise.
7450 2014-04-23 Keith Seitz <keiths@redhat.com>
7452 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7453 (mi_make_breakpoint_table): New procedure.
7454 (mi_create_breakpoint): Use mi_make_breakpoint
7455 and return the result.
7456 (mi_make_breakpoint): New procedure.
7457 (mi_build_kv_pairs): New procedure.
7459 * gdb.mi/mi-break.exp: Remove unused globals,
7460 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7461 All callers updated.
7462 * gdb.mi/mi-dprintf.exp: Use variable to track command
7464 Update all callers of mi_create_breakpoint and use
7465 mi_make_breakpoint_table.
7466 Remove any unused global variables.
7467 * gdb.mi/mi-nonstop.exp: Likewise.
7468 * gdb.mi/mi-nsintrall.exp: Likewise.
7469 * gdb.mi/mi-nsmoribund.exp: Likewise.
7470 * gdb.mi/mi-nsthrexec.exp: Likewise.
7471 * gdb.mi/mi-reverse.exp: Likewise.
7472 * gdb.mi/mi-simplerun.exp: Likewise.
7473 * gdb.mi/mi-stepn.exp: Likewise.
7474 * gdb.mi/mi-syn-frame.exp: Likewise.
7475 * gdb.mi/mi-until.exp: Likewise.
7476 * gdb.mi/mi-var-cp.exp: Likewise.
7477 * gdb.mi/mi-var-display.exp: Likewise.
7478 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7479 * gdb.mi/mi2-var-child.exp: Likewise.
7480 * gdb.mi/mi-vla-c99.exp: Likewise.
7481 * lib/mi-support.exp: Likewise.
7483 From Ian Lance Taylor <iant@cygnus.com>:
7484 * lib/gdb.exp (parse_args): New procedure.
7486 2014-04-23 Pedro Alves <palves@redhat.com>
7488 * gdb.base/break-unload-file.c: New file.
7489 * gdb.base/break-unload-file.exp: New file.
7490 * gdb.base/sym-file-lib.c (baz): New function.
7491 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7493 (load): Store the segment's mapped size.
7494 (unload): New function.
7495 (unload_shlib): New function.
7496 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7497 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7498 set a breakpoint at baz, and call it.
7499 * gdb.base/sym-file.exp: New tests for stale breakpoint
7502 2014-04-23 Pedro Alves <palves@redhat.com>
7504 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7505 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7506 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7507 * gdb.base/hbreak-unmapped.c: New file.
7508 * gdb.base/hbreak-unmapped.exp: New file.
7509 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7510 * lib/gdb.exp (gdb_is_target_remote): ... here.
7512 2014-04-22 Pedro Alves <palves@redhat.com>
7514 * gdb.base/consecutive-step-over.c: New file.
7515 * gdb.base/consecutive-step-over.exp: New file.
7517 2014-04-22 Pedro Alves <palves@redhat.com>
7519 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7520 instead of send_gdb/gdb_expect.
7522 2014-04-22 Yao Qi <yao@codesourcery.com>
7524 * lib/trace-support.exp (generate_tracefile): New procedure.
7525 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7527 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7528 if generate_tracefile returns 1.
7530 2014-04-18 Tom Tromey <palves@redhat.com>
7531 Pedro alves <tromey@redhat.com>
7534 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7535 with a backtrace limit.
7536 * gdb.python/py-frame-inline.exp: Test running to an inline
7537 function with a backtrace limit, and printing the newest frame.
7538 * gdb.python/py-frame-inline.c (main): Call f.
7540 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7542 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7544 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7546 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7547 Drop prefix from unsupported source file path.
7549 2014-04-17 Yao Qi <yao@codesourcery.com>
7551 * lib/gdb.exp (with_target_charset): New proc.
7552 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7553 with_target_charset.
7554 (test_print_strings): Likewise.
7555 (test_repeat_bytes): Likewise.
7556 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7559 2014-04-16 Keith Seitz <keiths@redhat.com>
7562 * gdb.dwarf2/corrupt.c: New file.
7563 * gdb.dwarf2/corrupt.exp: New file.
7565 2014-04-16 Keith Seitz <keiths@redhat.com>
7568 * gdb.cp/namelessclass.cc: New file.
7569 * gdb.cp/namelessclass.exp: New file.
7570 * gdb.cp/namelessclass.S: New file.
7572 2014-04-16 Doug Evans <dje@google.com>
7574 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7576 (gdbserver_default_get_comm_port): New function.
7577 (gdbserver_start): Check if board file provided
7578 "gdbserver,get_comm_port" and use it if so.
7579 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7580 (gdb,socketport): Set to "stdio".
7581 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7582 (stdio_gdbserver_template): Delete.
7583 (${board}_get_remote_address): Update.
7584 (${board}_build_remote_cmd): Delete.
7585 (${board}_get_comm_port): New function.
7586 (${board}_spawn): Update.
7587 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7589 (${board}_get_remote_address): Update.
7590 (${board}_get_comm_port): New function.
7592 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7594 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7595 appearing in any order.
7597 2014-04-15 Doug Evans <dje@google.com>
7599 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7600 uninitialized value of "description".
7602 2014-04-15 Keith Seitz <keiths@redhat.com>
7604 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7605 Remove unused globals.
7606 (test_running_the_program): Likewise.
7607 (test_controlled_execution): Likewise.
7608 (test_controlling_breakpoints): Likewise.
7609 (test_program_termination): Likewise.
7611 2014-04-15 Keith Seitz <keiths@redhat.com>
7613 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7615 (test_rbreak_creation_and_listing): Likewise.
7616 (test_ignore_count): Likewise.
7617 (test_error): Likewise.
7619 2014-04-15 Pedro Alves <palves@redhat.com>
7621 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7622 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7624 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7625 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7626 to sym-file-loader.c.
7627 (struct library): Forward declare.
7628 (load_shlib, lookup_function): Change prototypes.
7629 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7630 (translate_offset): Remove declarations.
7631 (get_text_addr): New declaration.
7632 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7633 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7635 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7636 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7637 here from sym-file-loader.h.
7638 (struct library): New structure.
7639 (load_shlib, lookup_function): Change prototypes and adjust to
7640 work with a struct library.
7641 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7642 (translate_offset): Make static.
7643 (get_text_addr): New function.
7644 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7646 2014-04-15 Pedro Alves <palves@redhat.com>
7648 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7650 2014-04-15 Pedro Alves <palves@redhat.com>
7652 * gdb.base/sym-file-loader.c: Include <limits.h>.
7653 (SELF_LINK): New define.
7654 (get_origin): New function.
7655 (load_shlib): Use it.
7656 * gdb.base/sym-file.exp: Don't early return if the target is
7657 remote. Use runto_main, and issue fail is that fails. Use
7659 (shlib_name): Delete.
7660 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7662 2014-04-15 Pedro Alves <palves@redhat.com>
7664 * gdb.base/sym-file.exp: Remove regex characters from test
7665 message. Don't refer to breakpoint numbers in test messages.
7667 2014-04-14 Keith Seitz <keiths@redhat.com>
7670 * gdb.cp/var-tag.cc: New file.
7671 * gdb.cp/var-tag.exp: New file.
7672 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7673 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7674 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7675 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7677 2014-04-14 Tom Tromey <tromey@redhat.com>
7679 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7680 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7682 * gdb.cp/enum-class.exp: New file.
7683 * gdb.cp/enum-class.cc: New file.
7685 2014-04-14 Tom Tromey <tromey@redhat.com>
7687 * gdb.dwarf2/enum-type.exp: New file.
7689 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7691 * gdb.mi/mi-vla-c99.exp: New file.
7692 * gdb.mi/vla.c: New file.
7694 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7696 * gdb.base/vla-datatypes.c: New file.
7697 * gdb.base/vla-datatypes.exp: New file.
7699 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7701 * gdb.base/vla-ptr.c: New file.
7702 * gdb.base/vla-ptr.exp: New file.
7704 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7706 * gdb.dwarf2/count.exp: New file.
7708 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7710 * gdb.base/vla-sideeffect.c: New file.
7711 * gdb.base/vla-sideeffect.exp: New file.
7713 2014-04-14 David Blaikie <dblaikie@gmail.com>
7715 * gdb.mi/non-stop.c: Add return value for non-void function return
7717 * gdb.threads/staticthreads.c: Ditto.
7719 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7720 Doug Evans <xdje42@gmail.com>
7722 * gdb.guile/scm-value.c: Improve test case.
7723 * gdb.guile/scm-value.exp: Add new test.
7725 2014-04-11 David Blaikie <dblaikie@gmail.com>
7727 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7728 override Clang's default.
7730 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7732 Revert the following changes (regressions):
7734 * gdb.base/vla-sideeffect.c: New file.
7735 * gdb.base/vla-sideeffect.exp: New file.
7737 * gdb.dwarf2/count.exp: New file.
7739 * gdb.base/vla-multi.c: New file.
7740 * gdb.base/vla-multi.exp: New file.
7742 * gdb.base/vla-ptr.c: New file.
7743 * gdb.base/vla-ptr.exp: New file.
7745 * gdb.base/vla-datatypes.c: New file.
7746 * gdb.base/vla-datatypes.exp: New file.
7748 * gdb.mi/mi-vla-c99.exp: New file.
7749 * gdb.mi/vla.c: New file.
7751 2014-04-11 Keith Seitz <keiths@redhat.com>
7754 * gdb.cp/cpsizeof.exp: New file.
7755 * gdb.cp/cpsizeof.cc: New file.
7757 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7759 * gdb.mi/mi-vla-c99.exp: New file.
7760 * gdb.mi/vla.c: New file.
7762 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7764 * gdb.base/vla-datatypes.c: New file.
7765 * gdb.base/vla-datatypes.exp: New file.
7767 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7769 * gdb.base/vla-ptr.c: New file.
7770 * gdb.base/vla-ptr.exp: New file.
7772 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7774 * gdb.base/vla-multi.c: New file.
7775 * gdb.base/vla-multi.exp: New file.
7777 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7779 * gdb.dwarf2/count.exp: New file.
7781 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7783 * gdb.base/vla-sideeffect.c: New file.
7784 * gdb.base/vla-sideeffect.exp: New file.
7786 2014-04-11 Yao Qi <yao@codesourcery.com>
7788 * gdb.base/completion.exp: Check file exists before running tests
7791 2014-04-10 Pedro Alves <palves@redhat.com>
7793 * gdb.base/cond-eval-mode.c: New file.
7794 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7795 prepare_for_testing to build the new file. Check result of
7797 (test_break, test_watch): New procedures.
7798 (top level): Use them.
7800 2014-04-08 Pierre Muller <muller@sourceware.org>
7802 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7803 Ctrl-V use for mingw hosts.
7805 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7807 * gdb.python/py-value.c: Improve test case.
7808 * gdb.python/py-value.exp: Add new test.
7810 2014-04-07 David Blaikie <dblaikie@gmail.com>
7812 * lib/compiler.c: Identify the clang compiler.
7813 * lib/compiler.cc: Ditto.
7815 2014-04-03 Yao Qi <yao@codesourcery.com>
7817 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7819 2014-04-01 Anton Blanchard <anton@samba.org>
7821 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7824 2014-04-01 Anton Blanchard <anton@samba.org>
7826 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7827 prepare_for_testing.
7829 2014-04-01 Anton Blanchard <anton@samba.org>
7831 * gdb.arch/ppc64-atomic-inst.c: Remove.
7832 * gdb.arch/ppc64-atomic-inst.S: New file.
7833 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7835 2014-03-31 Doug Evans <dje@google.com>
7837 * gdb.base/print-symbol-loading-lib.c: New file.
7838 * gdb.base/print-symbol-loading-main.c: New file.
7839 * gdb.base/print-symbol-loading.exp: New file.
7841 2014-03-31 Yao Qi <yao@codesourcery.com>
7843 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7845 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7847 * gdb.ada/mi_dyn_arr: New testcase.
7849 2014-03-27 Doug Evans <dje@google.com>
7851 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7853 2014-03-27 Yao Qi <yao@codesourcery.com>
7855 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7856 if target is nios2-*-*.
7858 2014-03-26 Yao Qi <yao@codesourcery.com>
7860 * lib/gdb.exp (readline_is_used): New proc.
7861 * gdb.base/completion.exp: Move tests on command complete up.
7862 Skip the rest of tests if readline is not used.
7863 * gdb.ada/complete.exp: Skp the test if readline is not
7865 * gdb.base/filesym.exp: Likewise.
7866 * gdb.base/macscp.exp: Likewise.
7867 * gdb.base/readline-ask.exp: Likewise.
7868 * gdb.base/readline.exp: Likewise.
7869 * gdb.python/py-cmd.exp: Likewise.
7870 * gdb.trace/tfile.exp: Likewise.
7872 2014-03-26 Yao Qi <yao@codesourcery.com>
7874 * gdb.base/macscp.exp: Fix code format issues.
7876 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7878 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7879 * gdb.asm/powerpc64le.inc: New file.
7881 2014-03-25 Pedro Alves <palves@redhat.com>
7882 Doug Evans <dje@google.com>
7884 * gdb.base/source-execution.c: New file.
7885 * gdb.base/source-execution.exp: New file.
7886 * gdb.base/source-execution.gdb: New file.
7888 2014-03-24 Doug Evans <dje@google.com>
7890 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7893 2014-03-24 Hui Zhu <hui@codesourcery.com>
7894 Pedro Alves <palves@redhat.com>
7896 PR breakpoints/16101
7897 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7898 test pass/fail messages. Detect missing support for dprintf when
7899 breakpoints are actually inserted.
7900 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7901 breakpoints are actually inserted.
7902 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7905 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7907 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7909 2014-03-22 Doug Evans <xdje42@gmail.com>
7911 * gdb.python/python.exp (python not supported): Verify multi-line
7912 python command issues an error.
7913 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7914 guile command issues an error.
7916 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7918 * gdb.threads/thread-specific.exp: Handle the lack of usable
7919 $this_breakpoint and $this_thread.
7921 2014-03-21 Hui Zhu <hui@codesourcery.com>
7923 * gdb.base/attach.exp (do_command_attach_tests): New.
7925 2014-03-20 Tom Tromey <tromey@redhat.com>
7926 Pedro Alves <palves@redhat.com>
7929 * gdb.base/condbreak-call-false.c: New file.
7930 * gdb.base/condbreak-call-false.exp: New file.
7932 2014-03-20 Pedro Alves <palves@redhat.com>
7934 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7936 (block_signals, unblock_signals): Delete.
7937 (child_function_2, main): Remove references to deleted variable
7940 2014-03-20 Pedro Alves <palves@redhat.com>
7942 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7943 Use pthread_kill to signal thread 2.
7944 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7945 Adjust to make the test send itself a signal rather than using the
7946 host's "kill" command.
7948 2014-03-20 Pedro Alves <palves@redhat.com>
7950 * gdb.threads/multiple-step-overs.c: New file.
7951 * gdb.threads/multiple-step-overs.exp: New file.
7952 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7953 Adjust expected infrun debug output.
7955 2014-03-20 Pedro Alves <palves@redhat.com>
7957 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7958 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7960 2014-03-20 Pedro Alves <palves@redhat.com>
7963 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7964 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7965 of gdb_test_multiple.
7966 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7967 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7969 2014-03-20 Pedro Alves <palves@redhat.com>
7971 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7972 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7974 2014-03-19 Pedro Alves <palves@redhat.com>
7976 * gdb.base/async.exp: Remove early return.
7978 2014-03-19 Pedro Alves <palves@redhat.com>
7980 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7982 2014-03-19 Pedro Alves <palves@redhat.com>
7984 * gdb.base/async.exp (test_background): Expect \r\n after
7985 "completed." in the fail pattern.
7987 2014-03-19 Pedro Alves <palves@redhat.com>
7989 * gdb.base/async.exp (test_background): New procedure.
7990 Use it for all background execution command tests.
7992 2014-03-19 Pedro Alves <palves@redhat.com>
7994 * gdb.base/async.exp: Use prepare_for_testing.
7996 2014-03-19 Pedro Alves <palves@redhat.com>
7998 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8001 2014-03-19 Pedro Alves <palves@redhat.com>
8003 * gdb.base/async.c (main): Add "jump here" and "until here" line
8005 * gdb.base/async.exp (jump_here): New global.
8006 (jump& test): Use it.
8007 (until_here): New global.
8008 (until& test): Use it.
8010 2014-03-19 Pedro Alves <palves@redhat.com>
8012 * gdb.base/async.exp: Don't frob gdb_protocol.
8014 2014-03-18 Doug Evans <xdje42@gmail.com>
8016 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8017 Fix spelling of exec-done-display.
8019 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8022 * gdb.base/gdb-sigterm.c: New file.
8023 * gdb.base/gdb-sigterm.exp: New file.
8025 2014-03-18 Pedro Alves <palves@redhat.com>
8028 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8029 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8032 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8034 * gdb.ada/pckd_arr_ren: New testcase.
8036 2014-03-13 Doug Evans <xdje42@gmail.com>
8039 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8040 collect after discarding symbols.
8042 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8043 Doug Evans <xdje42@gmail.com>
8045 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8046 to history survives a gc.
8048 2014-03-13 Pedro Alves <palves@redhat.com>
8050 * gdb.base/default.exp: Don't test "target procfs".
8052 2014-03-13 Pedro Alves <palves@redhat.com>
8054 * gdb.base/default.exp: Update "target child" and "target procfs"
8055 tests to not expect "Unix".
8057 2014-03-12 Tom Tromey <tromey@redhat.com>
8059 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8060 New procs. Add target-async tests.
8061 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8062 Add target-async tests.
8064 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8066 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8067 'func_start' and 'func_end' for the beginning and end of the
8068 function code, respectively.
8069 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8070 'func_end' instead of 'func' and 'main'.
8072 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8074 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8075 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8076 generate the debug info assembler source.
8078 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8080 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8081 * gdb.dwarf2/arr-subrange.exp: Likewise.
8082 * gdb.dwarf2/dwz.exp: Likewise.
8083 * gdb.dwarf2/method-ptr.exp: Likewise.
8084 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8085 * gdb.dwarf2/subrange.exp: Likewise.
8086 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8087 * gdb.dwarf2/implptrpiece.exp: Likewise.
8088 * gdb.dwarf2/nostaticblock.exp: Likewise.
8090 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8092 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8093 directory to absolute path name arguments.
8095 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8097 * gdb.ada/tagged_access: New testcase.
8099 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8101 * gdb.btrace/data.exp: Update expected output.
8103 2014-03-06 Yao Qi <yao@codesourcery.com>
8105 * gdb.trace/pr16508.exp: New file.
8107 2014-03-05 Pedro Alves <palves@redhat.com>
8110 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8112 (top level): Adjust to use it. Add tests that exercise breakpoint
8113 interaction with the code-cache.
8115 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8117 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8118 test for 'history-append!'.
8120 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8122 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8123 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8124 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8125 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8126 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8127 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8129 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8131 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8132 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8133 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8135 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8137 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8139 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8141 * gdb.dwarf2/arr-stride.c: New file.
8142 * gdb.dwarf2/arr-stride.exp: New file.
8144 2014-02-26 Pedro Alves <palves@redhat.com>
8146 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8147 that won't ever trigger. Make sure that GDB reports the correct
8148 breakpoint that caused the stop.
8150 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8153 * gdb.base/auto-load-script: New file.
8154 * gdb.base/auto-load.c: New file.
8155 * gdb.base/auto-load.exp: New file.
8158 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8160 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8162 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8163 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8165 2014-02-24 Doug Evans <dje@google.com>
8167 * lib/gdb.exp (run_on_host): Log error output if program fails.
8169 2014-02-21 Pedro Alves <palves@redhat.com>
8171 * gdb.threads/step-after-sr-lock.c: Rename to ...
8172 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8173 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8174 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8177 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8180 * gdb.arch/amd64-stap-special-operands.exp: New file.
8181 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8182 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8183 * gdb.arch/amd64-stap-triplet.S: Likewise.
8184 * gdb.arch/amd64-stap-triplet.c: Likewise.
8186 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8188 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8189 in .section pseudo-op.
8191 2014-02-20 lin zuojian <manjian2006@gmail.com>
8192 Joel Brobecker <brobecker@adacore.com>
8193 Doug Evans <xdje42@gmail.com>
8196 * gdb.dwarf2/dw2-icycle.S: New file.
8197 * gdb.dwarf2/dw2-icycle.c: New file.
8198 * gdb.dwarf2/dw2-icycle.exp: New file.
8200 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8202 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8203 operations on gdb.Value objects.
8204 * gdb.python/py-value-cc.exp: Add new test to test operations on
8207 2014-02-18 Doug Evans <dje@google.com>
8209 * Makefile.in (TESTS): New variable.
8210 (expanded_tests, expanded_tests_or_none): New variables
8211 (check-single): Pass $(expanded_tests_or_none) to runtest.
8212 (check-parallel): Only run tests in $(TESTS) if non-empty.
8213 (check/no-matching-tests-found): New rule.
8214 * README: Document TESTS makefile variable.
8216 2014-02-18 Doug Evans <dje@google.com>
8218 * Makefile.in (check-parallel): rm -rf outputs temp.
8220 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8222 Fix "ERROR: no fileid for" in the testsuite.
8223 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8225 2014-02-12 Doug Evans <dje@google.com>
8227 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8228 (MISCELLANEOUS): New variable.
8229 (clean): rm -rf $(MISCELLANEOUS).
8230 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8231 dwp live in the same directory as symlinks, with each symlink pointed
8232 to a differently named file in a different directory.
8234 2014-02-11 Doug Evans <dje@google.com>
8236 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8237 of Tcl file commands.
8239 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8241 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8244 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8246 * gdb.ada/tick_length_array_enum_idx: New testcase.
8248 2014-02-10 Doug Evans <xdje42@gmail.com>
8250 * configure.ac (AC_OUTPUT): Add gdb.guile.
8251 * configure: Regenerate.
8252 * lib/gdb-guile.exp: New file.
8253 * lib/gdb.exp (get_target_charset): New function.
8254 * gdb.base/help.exp: Update expected output from "apropos apropos".
8255 * gdb.guile/Makefile.in: New file.
8256 * gdb.guile/guile.exp: New file.
8257 * gdb.guile/scm-arch.c: New file.
8258 * gdb.guile/scm-arch.exp: New file.
8259 * gdb.guile/scm-block.c: New file.
8260 * gdb.guile/scm-block.exp: New file.
8261 * gdb.guile/scm-breakpoint.c: New file.
8262 * gdb.guile/scm-breakpoint.exp: New file.
8263 * gdb.guile/scm-disasm.c: New file.
8264 * gdb.guile/scm-disasm.exp: New file.
8265 * gdb.guile/scm-equal.c: New file.
8266 * gdb.guile/scm-equal.exp: New file.
8267 * gdb.guile/scm-error.exp: New file.
8268 * gdb.guile/scm-error.scm: New file.
8269 * gdb.guile/scm-frame-args.c: New file.
8270 * gdb.guile/scm-frame-args.exp: New file.
8271 * gdb.guile/scm-frame-args.scm: New file.
8272 * gdb.guile/scm-frame-inline.c: New file.
8273 * gdb.guile/scm-frame-inline.exp: New file.
8274 * gdb.guile/scm-frame.c: New file.
8275 * gdb.guile/scm-frame.exp: New file.
8276 * gdb.guile/scm-generics.exp: New file.
8277 * gdb.guile/scm-gsmob.exp: New file.
8278 * gdb.guile/scm-iterator.c: New file.
8279 * gdb.guile/scm-iterator.exp: New file.
8280 * gdb.guile/scm-math.c: New file.
8281 * gdb.guile/scm-math.exp: New file.
8282 * gdb.guile/scm-objfile-script-gdb.in: New file.
8283 * gdb.guile/scm-objfile-script.c: New file.
8284 * gdb.guile/scm-objfile-script.exp: New file.
8285 * gdb.guile/scm-objfile.c: New file.
8286 * gdb.guile/scm-objfile.exp: New file.
8287 * gdb.guile/scm-ports.exp: New file.
8288 * gdb.guile/scm-pretty-print.c: New file.
8289 * gdb.guile/scm-pretty-print.exp: New file.
8290 * gdb.guile/scm-pretty-print.scm: New file.
8291 * gdb.guile/scm-section-script.c: New file.
8292 * gdb.guile/scm-section-script.exp: New file.
8293 * gdb.guile/scm-section-script.scm: New file.
8294 * gdb.guile/scm-symbol.c: New file.
8295 * gdb.guile/scm-symbol.exp: New file.
8296 * gdb.guile/scm-symtab-2.c: New file.
8297 * gdb.guile/scm-symtab.c: New file.
8298 * gdb.guile/scm-symtab.exp: New file.
8299 * gdb.guile/scm-type.c: New file.
8300 * gdb.guile/scm-type.exp: New file.
8301 * gdb.guile/scm-value-cc.cc: New file.
8302 * gdb.guile/scm-value-cc.exp: New file.
8303 * gdb.guile/scm-value.c: New file.
8304 * gdb.guile/scm-value.exp: New file.
8305 * gdb.guile/source2.scm: New file.
8306 * gdb.guile/types-module.cc: New file.
8307 * gdb.guile/types-module.exp: New file.
8309 2014-02-10 Yao Qi <yao@codesourcery.com>
8312 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8313 * configure: Regenerated.
8314 * Makefile.in: New file.
8316 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8318 * gdb.python/py-framefilter.exp: Fix typo.
8320 2014-02-08 Yao Qi <yao@codesourcery.com>
8322 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8323 that no =breakpoint-modified is emitted when breakpoints are
8324 modified through MI commands.
8326 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8327 Pedro Alves <palves@redhat.com>
8329 * gdb.threads/step-after-sr-lock.c: New file.
8330 * gdb.threads/step-after-sr-lock.exp: New file.
8332 2014-02-07 Pedro Alves <palves@redhat.com>
8334 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8336 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8338 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8339 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8341 2014-02-06 Doug Evans <xdje42@gmail.com>
8343 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8346 * gdb.gdb/python-interrupts.exp: New file.
8348 2014-02-05 Yao Qi <yao@codesourcery.com>
8350 * gdb.trace/report.exp (use_collected_data): Test the output
8351 of "info threads" and "info inferiors".
8353 2014-02-05 Yao Qi <yao@codesourcery.com>
8357 2013-05-24 Yao Qi <yao@codesourcery.com>
8359 * gdb.trace/tfile.exp: Test inferior and thread.
8361 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8363 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8365 * gdb.base/step-bt.c: Call hello via function pointer to make
8366 sure its first instruction is executed on powerpc64le-linux.
8368 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8370 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8372 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8374 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8375 of the test patterns for use on little-endian systems.
8377 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8379 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8380 (decimal_vector): Fix for little-endian.
8382 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8384 * gdb.arch/sparc-sysstep.exp: New file.
8385 * gdb.arch/sparc-sysstep.c: Likewise.
8387 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8389 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8391 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8393 2014-01-23 Tom Tromey <tromey@redhat.com>
8395 * gdb.ada/array_char_idx: New testcase.
8397 2014-01-23 Tom Tromey <tromey@redhat.com>
8400 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8401 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8404 2014-01-23 Tom Tromey <tromey@redhat.com>
8407 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8408 string from an inferior frame.
8409 * gdb.python/py-framefilter-mi.exp: Update.
8411 2014-01-22 Doug Evans <dje@google.com>
8413 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8415 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8417 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8419 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8421 * gdb.trace/entry-values.exp: Remove excess space character from
8422 regex patterns. Handle s390 call instruction.
8424 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8426 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8427 define "*_start" label. Make "name" static.
8428 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8429 ${name} by references to ${name}_start.
8431 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8433 * gdb.base/info-macros.exp: Remove "debug" from the compile
8436 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8438 * gdb.dlang/demangle.exp: New file.
8440 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8442 * gdb.dlang/primitive-types.exp: New file.
8444 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8446 * configure.ac: Create gdb.dlang/Makefile.
8447 * configure: Regenerate.
8448 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8449 * gdb.dlang/Makefile.in: New file.
8450 * lib/d-support.exp: New file.
8451 * lib/gdb.exp (skip_d_tests): New proc.
8453 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8455 * gdb.btrace/delta.exp: Check reverse stepi.
8456 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8457 * gdb.btrace/finish.exp: New.
8458 * gdb.btrace/next.exp: New.
8459 * gdb.btrace/nexti.exp: New.
8460 * gdb.btrace/record_goto.c: Add comments.
8461 * gdb.btrace/step.exp: New.
8462 * gdb.btrace/stepi.exp: New.
8463 * gdb.btrace/multi-thread-step.c: New.
8464 * gdb.btrace/multi-thread-step.exp: New.
8465 * gdb.btrace/rn-dl-bind.c: New.
8466 * gdb.btrace/rn-dl-bind.exp: New.
8467 * gdb.btrace/data.c: New.
8468 * gdb.btrace/data.exp: New.
8469 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8471 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8473 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8474 * gdb.btrace/exception.exp: Update.
8475 * gdb.btrace/instruction_history.exp: Update.
8476 * gdb.btrace/record_goto.exp: Update.
8477 * gdb.btrace/tailcall.exp: Update.
8478 * gdb.btrace/unknown_functions.exp: Update.
8479 * gdb.btrace/delta.exp: New.
8481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8483 * gdb.btrace/record_goto.exp: Add backtrace test.
8484 * gdb.btrace/tailcall.exp: Add backtrace test.
8486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8488 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8489 * gdb.btrace/record_goto.c: New.
8490 * gdb.btrace/record_goto.exp: New.
8491 * gdb.btrace/x86-record_goto.S: New.
8493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8495 * gdb.btrace/function_call_history.exp: Update tests.
8496 * gdb.btrace/instruction_history.exp: Update tests.
8498 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8500 * gdb.btrace/function_call_history.exp: Fix expected field
8501 order for "record function-call-history".
8502 Add new tests for "record function-call-history /c".
8503 * gdb.btrace/exception.cc: New.
8504 * gdb.btrace/exception.exp: New.
8505 * gdb.btrace/tailcall.exp: New.
8506 * gdb.btrace/x86-tailcall.S: New.
8507 * gdb.btrace/x86-tailcall.c: New.
8508 * gdb.btrace/unknown_functions.c: New.
8509 * gdb.btrace/unknown_functions.exp: New.
8510 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8512 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8514 * gdb.btrace/instruction_history.exp: Update.
8515 * gdb.btrace/function_call_history.exp: Update.
8517 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8519 * gdb.btrace/function_call_history.exp: Fix expected function
8521 * gdb.btrace/instruction_history.exp: Initialize traced.
8522 Remove traced_functions.
8524 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8526 * gdb.btrace/function_call_history.exp: Update
8527 * gdb.btrace/instruction_history.exp: Update.
8529 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8531 * gdb.btrace/enable.exp: Update expected text.
8533 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8535 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8538 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8540 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8542 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8544 * lib/gdb.exp (supports_process_record): Return true for
8545 arm*-linux*. (supports_reverse): Likewise.
8547 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8551 * gdb.python/py-type.c: Enhance test case.
8552 * gdb.python/py-value-cc.cc: Likewise
8553 * gdb.python/py-type.exp: Add new tests.
8554 * gdb.python/py-value-cc.exp: Likewise
8556 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8557 Pedro Alves <palves@redhat.com>
8559 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8561 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8562 references to ${name}_start by references to ${name}.
8564 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8566 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8568 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8570 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8572 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8573 Pedro Alves <palves@redhat.com>
8575 * gdb.mi/mi-info-os.exp: Connect to the target with
8578 2014-01-08 Pedro Alves <palves@redhat.com>
8580 * gdb.threads/reconnect-signal.c: New file.
8581 * gdb.threads/reconnect-signal.exp: New file.
8583 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8585 * gdb.base/source-dir.exp: New file.
8587 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8589 * gdb.ada/mi_interface: New testcase.
8591 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8593 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8594 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8595 gdb.ada/pp-rec-component/pck.ads: New files.
8597 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8599 * gdb.python/py-pp-integral.c: New file.
8600 * gdb.python/py-pp-integral.py: New file.
8601 * gdb.python/py-pp-integral.exp: New file.
8603 For older changes see ChangeLog-1993-2013.
8609 ;; version-control: never
8612 Copyright 2014-2016 Free Software Foundation, Inc.
8613 Copying and distribution of this file, with or without modification,
8614 are permitted provided the copyright notice and this notice are preserved.