1 2016-06-24 David Taylor <dtaylor@emc.com>
3 * gdb.base/offsets.exp: New file.
4 * gdb.base/offsets.c: New file.
6 2016-06-23 Tom Tromey <tom@tromey.com>
9 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10 before any filters are loaded.
12 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
17 * gdb.fortran/derived-type-function.exp: New file.
18 * gdb.fortran/derived-type-function.f90: New file.
21 2016-06-21 Pedro Alves <palves@redhat.com>
23 * gdb.base/new-ui.exp: New file.
24 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
25 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
26 (with_spawn_id): New procedure.
28 2016-06-21 Pedro Alves <palves@redhat.com>
30 * gdb.mi/mi-exec-run.exp: New file.
32 2016-06-21 Pedro Alves <palves@redhat.com>
34 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
35 breakpoint command's output on the main UI.
36 (test_break): New procedure, factored out from calls in the top
38 (top level): Use foreach_with_prefix to test MI as main UI and as
41 2016-06-21 Pedro Alves <palves@redhat.com>
43 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
44 (test_awatch_creation_and_listing)
45 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
46 Remove 'type' parameter.
47 (test_watchpoint_all): New parameter mi_mode. Remove
49 (top level): Use foreach_with_prefix, and add main/separate UI MI
52 2016-06-21 Pedro Alves <palves@redhat.com>
54 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
55 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
56 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
57 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
58 (gdb_main_spawn_id, mi_spawn_id): Declare and
60 (mi_create_inferior_pty): New procedure,
61 factored out from default_mi_gdb_start.
62 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
64 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
65 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
66 Use mi_create_inferior_pty.
67 (mi_gdb_start): Use eval to pass down args list.
69 2016-06-21 Pedro Alves <palves@redhat.com>
71 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
72 * gdb.opt/inline-cmds.exp: Add MI tests.
74 2016-06-21 Pedro Alves <palves@redhat.com>
76 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
78 2016-06-21 Pedro Alves <palves@redhat.com>
80 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
81 (top level): Use it instead of mi_execute_to.
83 2016-06-21 Pedro Alves <palves@redhat.com>
85 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
86 (cont_handler_str): New.
87 (signal_stop_handler): Set stop_handler_str instead of printing to
89 (continue_handler): Set cont_handler_str instead of printing to
91 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
92 mi_send_resuming_command. Print stop_handler_str and
93 cont_handler_str instead of expecting the python events print
96 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
98 * gdb.base/jit-reader.exp: New file.
99 * gdb.base/jithost.c: New file.
100 * gdb.base/jithost.h: New file.
101 * gdb.base/jitreader.c : New file.
102 * gdb.base/jit-protocol.h: New file.
104 2016-06-17 Yao Qi <yao.qi@linaro.org>
106 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
107 parameters follow_fork and detach_on_fork. Set follow-fork-mode
108 and detach-on-fork. Adjust tests.
109 (top level): Invoke break_cond_on_syscall with combinations of
110 syscall, follow-fork-mode and detach-on-fork.
112 2016-06-17 Yao Qi <yao.qi@linaro.org>
114 * gdb.base/step-over-exit.c: New.
115 * gdb.base/step-over-exit.exp: New.
117 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
119 * gdb.base/float.exp: Add target check for nds32*-*-*.
120 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
122 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
124 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
125 for unsupported target features.
126 * gdb.base/call-rt-st.exp: Likewise.
127 * gdb.base/call-sc.exp: Likewise.
128 * gdb.base/call-signal-resume.exp: Likewise.
129 * gdb.base/call-strs.exp: Likewise.
130 * gdb.base/callexit.exp: Likewise.
131 * gdb.base/callfuncs.exp: Likewise.
132 * gdb.base/nodebug.exp: Likewise.
133 * gdb.base/printcmds.exp: Likewise.
134 * gdb.base/ptype.exp: Likewise.
135 * gdb.base/structs.exp: Likewise.
136 * gdb.base/unwindonsignal.exp: Likewise.
137 * gdb.cp/gdb2495.exp: Likewise.
138 * gdb.cp/templates.exp: Likewise.
139 * gdb.cp/virtfunc.exp: Likewise.
140 * gdb.threads/hand-call-in-threads.exp: Likewise.
141 * gdb.threads/interrupted-hand-call.exp: Likewise.
142 * gdb.threads/thread-unwindonsignal.exp: Likewise.
144 2016-06-10 Tom Tromey <tom@tromey.com>
147 * gdb.rust/expr.exp: Add test for integer constant larger than
150 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
152 * gdb.fortran/nested-funcs.exp: New.
153 * gdb.fortran/nested-funcs.f90: New.
155 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
157 * gdb.base/examine-backward.c: New file.
158 * gdb.base/examine-backward.exp: New file.
160 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
162 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
165 2016-06-02 Tom Tromey <tom@tromey.com>
168 * gdb.python/py-shared.exp: Add solib_name test.
170 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
172 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
174 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
177 * gdb.dwarf2/implref.exp: Rename to...
178 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
179 * gdb.dwarf2/implref-array.c: New file.
180 * gdb.dwarf2/implref-array.exp: Likewise.
181 * gdb.dwarf2/implref-global.c: Likewise.
182 * gdb.dwarf2/implref-global.exp: Likewise.
183 * gdb.dwarf2/implref-struct.c: Likewise.
184 * gdb.dwarf2/implref-struct.exp: Likewise.
186 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
188 * gdb.trace/trace-condition.exp: Add 64bit tests.
190 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
192 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
194 (main): Adapt to 8 to 64 bits types.
195 * gdb.trace/trace-condition.exp: Add new tests.
197 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
199 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
201 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
203 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
204 Move condition tests...
205 * gdb.trace/trace-condition.exp: Here.
207 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
209 * gdb.trace/trace-condition.exp: Add counter-case tests.
211 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
214 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
215 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
217 2016-05-27 Pedro Alves <palves@redhat.com>
219 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
221 (top level): Call it, and bail out of DejaGnu is known to be bad.
223 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
225 * gdb.base/whatis.c: Extend the test case.
226 * gdb.base/whatis.exp: Add additional tests.
228 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
230 * gdb.fortran/type.f90: Add pointer variable.
231 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
233 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
235 * gdb.fortran/vla-type.exp: Fix testcase name.
237 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
239 * gdb.fortran/vla-type.exp: Access elements in nested structs.
241 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
243 * gdb.fortran/type.f90: Add nested structures.
244 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
245 * gdb.fortran/derived-type.exp: Adapt expected output.
246 * gdb.fortran/vla-type.exp: Adapt expected output.
248 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
250 * gdb.fortran/whatis_type.exp: Adapt expected output.
252 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
254 * gdb.fortran/print_type.exp: Fix expected output.
255 * gdb.fortran/whatis_type.exp: Fix expected output.
257 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
259 * gdb.fortran/whatis_type.exp: Use multi_line.
261 2016-05-24 Tom Tromey <tom@tromey.com>
264 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
265 use value as an index.
267 2016-05-23 Tom Tromey <tom@tromey.com>
270 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
273 2016-05-24 Pedro Alves <palves@redhat.com>
276 * gdb.threads/clone-attach-detach.c: New file.
277 * gdb.threads/clone-attach-detach.exp: New file.
279 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
281 * gdb.base/annota-input-while-running.exp: Fix syntax error.
283 2016-05-23 Tom Tromey <tom@tromey.com>
285 PR python/19438, PR python/18393:
286 * gdb.python/py-progspace.exp: Add "dir" test.
287 * gdb.python/py-objfile.exp: Add "dir" test.
289 2016-05-23 Yao Qi <yao.qi@linaro.org>
291 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
292 * gdb.arch/thumb2-it.exp: Likewise.
294 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
296 * gdb.mi/mi-threads-interrupt.c: New file.
297 * gdb.mi/mi-threads-interrupt.exp: New file.
299 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
302 * gdb.mi/mi-async-run.exp: New file.
303 * gdb.mi/mi-async-run.c: New file.
305 2016-05-17 Tom Tromey <tom@tromey.com>
306 Manish Goregaokar <manishsmail@gmail.com>
308 * lib/rust-support.exp: New file.
309 * lib/gdb.exp (skip_rust_tests): New proc.
310 (build_executable_from_specs): Handle rust.
311 * lib/future.exp (gdb_find_rustc): New proc.
312 (gdb_default_target_compile): Handle rust.
313 * gdb.rust/expr.exp: New file.
314 * gdb.rust/generics.exp: New file.
315 * gdb.rust/generics.rs: New file.
316 * gdb.rust/methods.exp: New file.
317 * gdb.rust/methods.rs: New file.
318 * gdb.rust/modules.exp: New file.
319 * gdb.rust/modules.rs: New file.
320 * gdb.rust/simple.exp: New file.
321 * gdb.rust/simple.rs: New file.
323 2016-05-17 Tom Tromey <tom@tromey.com>
325 * gdb.base/default.exp (set language): Add rust.
327 2016-05-17 Tom Tromey <tom@tromey.com>
329 * gdb.gdb/unittest.exp: New file.
331 2016-05-16 Yao Qi <yao.qi@linaro.org>
333 * gdb.base/batch-preserve-term-settings.exp: Remove variable
334 shell_prompt. Update shell_prompt_re.
336 2016-05-12 Doug Evans <dje@google.com>
339 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
340 $options when building executable.
341 * gdb.dwarf2/fission-loclists-pie.S: New file.
342 * gdb.dwarf2/fission-loclists-pie.exp: New file.
344 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
346 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
347 of [is_remote target],
349 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
351 * lib/gdb.exp (use_gdb_stub): New procedure.
353 2016-05-03 Yunlian Jiang <yunlian@google.com>
354 Doug Evans <dje@google.com>
357 * gdb.dwarf2/dwp-sepdebug.c: New file.
358 * gdb.dwarf2/dwp-sepdebug.exp: New file.
360 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
362 * gdb.base/detach.exp: Remove is_remote check.
364 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
366 * gdb.base/annota-input-while-running.exp: Don't check for
367 [is_remote target]. Enable annotations after running to main.
368 Remove unused "set test..." line.
370 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
372 * gdb.trace/trace-enable-disable.exp: New file.
373 * gdb.trace/trace-enable-disable.c: New file.
375 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
377 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
378 use it in info sharedlibrary test.
379 * gdb.trace/ftrace-lock.exp: Likewise.
380 * gdb.trace/ftrace.exp: Likewise.
381 * gdb.trace/range-stepping.exp: Likewise.
382 * gdb.trace/trace-break.exp: Likewise.
383 * gdb.trace/trace-condition.exp: Likewise.
384 * gdb.trace/trace-mt.exp: Likewise.
386 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
388 * lib/gdb.exp (gdb_load_shlibs): Rename to...
389 (gdb_load_shlib): ... this.
390 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
392 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
393 * gdb.base/ctxobj.exp: Likewise.
394 * gdb.base/dprintf-pending.exp: Likewise.
395 * gdb.base/dso2dso.exp: Likewise.
396 * gdb.base/fixsection.exp: Likewise.
397 * gdb.base/gcore-relro.exp: Likewise.
398 * gdb.base/gdb1555.exp: Likewise.
399 * gdb.base/global-var-nested-by-dso.exp: Likewise.
400 * gdb.base/gnu-ifunc.exp: Likewise.
401 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
402 * gdb.base/jit-so.exp (one_jit_test): Likewise.
403 * gdb.base/pending.exp: Likewise.
404 * gdb.base/print-file-var.exp: Likewise.
405 * gdb.base/print-symbol-loading.exp: Likewise.
406 * gdb.base/shlib-call.exp: Likewise.
407 * gdb.base/shreloc.exp: Likewise.
408 * gdb.base/so-impl-ld.exp: Likewise.
409 * gdb.base/solib-disc.exp: Likewise.
410 * gdb.base/solib-nodir.exp: Likewise.
411 * gdb.base/solib-overlap.exp: Likewise.
412 * gdb.base/solib-symbol.exp: Likewise.
413 * gdb.base/solib-weak.exp (do_test): Likewise.
414 * gdb.base/sym-file.exp: Likewise.
415 * gdb.base/symtab-search-order.exp: Likewise.
416 * gdb.base/type-opaque.exp: Likewise.
417 * gdb.base/unload.exp: Likewise.
418 * gdb.base/watchpoint-solib.exp: Likewise.
419 * gdb.compile/compile.exp: Likewise.
420 * gdb.cp/gdb2384.exp: Likewise.
421 * gdb.cp/infcall-dlopen.exp: Likewise.
422 * gdb.cp/re-set-overloaded.exp: Likewise.
423 * gdb.fortran/library-module.exp: Likewise.
424 * gdb.opt/solib-intra-step.exp: Likewise.
425 * gdb.python/py-finish-breakpoint.exp: Likewise.
426 * gdb.python/py-shared.exp: Likewise.
427 * gdb.reverse/solib-precsave.exp: Likewise.
428 * gdb.reverse/solib-reverse.exp: Likewise.
429 * gdb.server/solib-list.exp: Likewise.
430 * gdb.threads/dlopen-libpthread.exp: Likewise.
431 * gdb.threads/tls-shared.exp: Likewise.
432 * gdb.threads/tls-so_extern.exp: Likewise.
433 * gdb.trace/change-loc.exp: Likewise.
434 * gdb.trace/ftrace-lock.exp: Likewise.
435 * gdb.trace/ftrace.exp: Likewise.
436 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
437 * gdb.trace/pending.exp: Likewise.
438 * gdb.trace/range-stepping.exp: Likewise.
439 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
440 (strace_info_marker): Likewise.
441 (strace_probe_marker): Likewise.
442 (strace_trace_on_same_addr): Likewise.
443 (strace_trace_on_diff_addr): Likewise.
444 * gdb.trace/trace-break.exp: Likewise.
445 * gdb.trace/trace-condition.exp: Likewise.
446 * gdb.trace/trace-mt.exp: Likewise.
448 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
450 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
451 result of gdb_remote_download.
452 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
453 * gdb.base/dso2dso.exp: Likewise.
454 * gdb.base/global-var-nested-by-dso.exp: Likewise.
455 * gdb.base/print-file-var.exp: Likewise.
456 * gdb.base/shlib-call.exp: Likewise.
457 * gdb.base/shreloc.exp: Likewise.
458 * gdb.base/solib-overlap.exp: Likewise.
459 * gdb.base/solib-weak.exp (do_test): Likewise.
460 * gdb.base/unload.exp: Likewise.
462 2016-04-27 Yao Qi <yao.qi@linaro.org>
464 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
467 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
469 * vla-type.exp: Print structure from toplevel.
471 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
473 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
475 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
478 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
480 * gdb.fortran/vla-type.f90: New file.
481 * gdb.fortran/vla-type.exp: New file.
483 2016-04-25 Yao Qi <yao.qi@linaro.org>
485 * gdb.base/branch-to-self.c: New file.
486 * gdb.base/branch-to-self.exp: New file.
488 2016-04-22 Yao Qi <yao.qi@linaro.org>
490 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
493 2016-04-22 Yao Qi <yao.qi@linaro.org>
495 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
496 * gdb.base/annota3.exp: Likewise.
498 2016-04-22 Yao Qi <yao.qi@linaro.org>
500 * gdb.reverse/step-precsave.exp: Do one step and test program
501 stops in "callee" and do multiple steps until program goes out
503 * gdb.reverse/step-reverse.exp: Likewise.
505 2016-04-22 Yao Qi <yao.qi@linaro.org>
507 * gdb.trace/signal.exp: Also pass if
508 $tracepoint_hits($i) > $iterations.
510 2016-04-22 Yao Qi <yao.qi@linaro.org>
512 * gdb.trace/signal.c: New file.
513 * gdb.trace/signal.exp: New file.
515 2016-04-19 Doug Evans <xdje42@gmail.com>
517 * gdb.base/bad-file.exp: New file.
519 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
521 * gdb.dwarf2/implref.exp: New file.
523 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
525 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
526 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
527 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
528 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
529 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
530 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
531 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
532 * lib/fortran.exp (fortran_int4): New procedure.
533 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
534 (fortran_logical4): Likewise.
536 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
538 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
540 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
542 * lib/compiler.c: Add Intel specific preprocessor macros.
543 * lib/compiler.cc: Likewise.
545 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
547 * gdb.server/connect-with-no-symbol-file.c: New file.
548 * gdb.server/connect-with-no-symbol-file.exp: New file.
550 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
552 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
554 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
556 * boards/gdbserver-base.exp (${board}_download): Copy source file to
557 standard output directory.
559 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
561 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
563 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
565 * gdb.btrace/instruction_history.c (loop): Add declaration.
567 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
569 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
571 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
573 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
574 parentheses to print.
575 (continue_handler): Likewise.
577 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
579 * gdb.server/solib-list.exp: Remove is_remote check.
580 Pass shlib= to gdb_compile. Don't link shared library with
581 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
582 Run binary filename through "readlink -f" on the target.
584 2016-04-08 Pedro Alves <palves@redhat.com>
586 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
587 interpreter filename as argument to gdbserver_spawn.
588 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
589 Return empty if $last_loaded_file does not exist.
591 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
593 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
594 * gdb.base/jit-main.c: Use exit after usage.
596 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
598 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
599 GDBHISTSIZE prior to the tests.
600 * gdb.base/gdbinit-history.exp: Likewise.
602 2016-04-07 Pedro Alves <palves@redhat.com>
604 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
605 instead of build_executable. Use gdb_load_shlibs.
607 2016-04-07 Yao Qi <yao.qi@linaro.org>
609 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
610 Execute "si" command.
612 2016-04-07 Yao Qi <yao.qi@linaro.org>
614 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
615 number instead of the comments on some line.
617 2016-04-06 Don Breazeal <donb@codesourcery.com>
619 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
620 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
622 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
624 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
625 standard_output_file. Remove unused binfile variable.
627 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
629 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
630 * gdb.python/py-mi-objfile.exp: Match "list main" output
633 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
635 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
638 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
640 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
642 * gdb.trace/ftrace.exp: Likewise.
643 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
645 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
646 (gdb_load_shlibs): Copy libraries to test directory when testing
647 natively. Only set solib-search-path if testing remotely.
648 * lib/mi-support.exp (mi_load_shlibs): Likewise.
650 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
652 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
653 gdb_download. Use it even if the target is not remote.
654 * gdb.base/jit.exp (compile_jit_test): Likewise.
655 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
656 output directory if the destination board is local, otherwise use
657 the standard remote_download from DejaGnu.
658 (gdb_download): Remove.
659 (gdb_load_shlibs): Use gdb_remote_download instead of
661 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
662 Use gdb_remote_download instead of gdb_download. Use it even if
663 the target is not remote.
664 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
665 instead of gdb_download.
667 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
669 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
670 (test_insert_delete_modify): Call mi_load_shlibs before trying to
673 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
676 * gdb.base/printcmds.exp: Add artificial arrays tests.
678 2016-03-31 Pedro Alves <palves@redhat.com>
681 * gdb.base/jit-main.c: Include unistd.h.
682 (ATTACH): Define to 0 if not already defined.
683 (wait_for_gdb, mypid): New globals.
684 (WAIT_FOR_GDB): New macro.
685 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
686 some breakpoint locations.
687 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
689 (one_jit_test): Add REATTACH parameter, and handle it. Use
690 continue_to_test_location.
691 (top level): Test attach, and adjusts calls to one_jit_test.
693 2016-03-31 Pedro Alves <palves@redhat.com>
696 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
697 BINSUFFIX parameter, and handle it.
698 (top level): Adjust calls compile_jit_test.
700 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
703 * gdb.python/py-mi-events-gdb.py: New file.
704 * gdb.python/py-mi-events.c: New file.
705 * gdb.python/py-mi-events.exp: New file.
707 2016-03-30 Yao Qi <yao.qi@linaro.org>
709 * gdb.reverse/until-precsave.exp: Match function name only.
710 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
711 Move malloc to a condition block.
712 * gdb.reverse/until-reverse.exp: Match function name only.
714 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
716 * gdb.trace/ftrace.exp: Set arg0exp for s390.
717 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
718 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
719 variable for GPR 0 instead of assuming it is register 0.
720 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
721 * lib/trace-support.exp: Add s390 registers.
723 2016-03-29 Yao Qi <yao.qi@linaro.org>
725 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
727 2016-03-24 Yao Qi <yao.qi@linaro.org>
729 * gdb.reverse/break-reverse.exp: Add quotation mark in the
732 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
734 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
735 maintaining separate logic for constructing the output path.
737 2016-03-16 Don Breazeal <donb@codesourcery.com>
739 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
740 Retry fork and waitpid on interrupted system call errors.
741 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
742 Use with_timeout_factor to increase timeout by factor of 10.
744 2016-03-15 Don Breazeal <donb@codesourcery.com>
746 * gdb.cp/scope-err.cc: New test program.
747 * gdb.cp/scope-err.exp: New test script.
748 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
749 lines and "set breakpoint here" comment.
750 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
751 Fixed some whitespace and format issues.
752 * gdb.mi/mi-linespec-err-cp.cc: New test program.
753 * gdb.mi/mi-linespec-err-cp.exp: New test script.
755 2016-03-15 Doug Evans <dje@google.com>
757 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
758 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
759 All callers updated. Add tests for enums, mixed flags register.
761 2016-03-15 Doug Evans <dje@google.com>
763 * gdb.base/skip.c (main): Call test_skip_file_and_function.
764 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
766 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
768 * gdb.base/default.exp: Add $_as_string to the list of expected
769 convenience functions.
771 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
773 * gdb.base/maint.exp: New tests for 'maint info line-table'.
775 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
777 * gdb.python/py-as-string.exp: New file.
778 * gdb.python/py-as-string.c: New file.
780 2016-03-09 Pedro Alves <palves@redhat.com>
782 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
783 signal" -> "Thread NN received signal" output change.
784 * gdb.threads/ia64-sigill.exp: Likewise.
785 * gdb.threads/linux-dp.exp: Likewise.
786 * gdb.threads/manythreads.exp: Likewise.
787 * gdb.threads/pending-step.exp: Likewise.
788 * gdb.threads/print-threads.exp: Likewise.
789 * gdb.threads/sigstep-threads.exp: Likewise.
790 * gdb.threads/staticthreads.exp: Likewise.
791 * gdb.threads/tls.exp: Likewise.
793 2016-03-09 Pedro Alves <palves@redhat.com>
795 * gdb.base/command-line-input.exp: New file.
797 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
799 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
800 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
801 * gdb.trace/pending.exp: Accept leading dot before function name.
802 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
803 * lib/trace-support.exp: Set registers for ppc.
805 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
807 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
808 use it for disassembly; accept .main in addition to main in backtrace.
810 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
811 Marcin Kościelnicki <koriakin@0x04.net>
813 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
814 (gdb_recursion_test_ptr): New global variable.
815 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
819 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
821 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
824 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
826 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
827 (bar): Add bar_start_lbl label.
828 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
829 of foo/bar for emitting DWARF and tracing.
831 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
833 * analyze-racy-logs.py: Set executable bit.
835 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
837 * Makefile.in (DEFAULT_RACY_ITER): New variable.
838 (CHECK_TARGET_TMP): Likewise.
839 (check-single-racy): New rule.
840 (check-parallel-racy): Likewise.
841 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
842 (do-check-parallel-racy): New rule.
843 (check-racy/%.exp): Likewise.
844 * README (Racy testcases): New section.
845 * analyze-racy-logs.py: New file.
847 2016-03-03 Doug Evans <dje@google.com>
849 * gdb.base/skip.exp: Use with_test_prefix.
851 2016-03-03 Yao Qi <yao.qi@linaro.org>
853 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
854 Invoke step_over_syscall "clone" and break_cond_on_syscall
856 * gdb.base/step-over-clone.c: New file.
858 2016-03-03 Yao Qi <yao.qi@linaro.org>
860 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
863 2016-03-03 Yao Qi <yao.qi@linaro.org>
865 * gdb.base/disp-step-fork.c: Rename to ...
866 * gdb.base/step-over-fork.c: ... it. New file.
867 * gdb.base/disp-step-vfork.c: Rename to ...
868 * gdb.base/step-over-vfork.c: ... it. New file.
869 * gdb.base/disp-step-syscall.exp: Rename to ...
870 * gdb.base/step-over-syscall.exp: ... it. New file.
871 (disp_step_cross_syscall): Rename to ...
872 (step_over_syscall): ... it.
874 2016-03-03 Yao Qi <yao.qi@linaro.org>
876 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
877 If target supports condition evaluation on target, invoke
878 break_cond_on_syscall for fork and vfork.
880 2016-03-03 Yao Qi <yao.qi@linaro.org>
882 * gdb.base/disp-step-syscall.exp: Don't invoke
883 support_displaced_stepping.
884 (disp_step_cross_syscall): Test with displaced stepping off and
887 2016-03-03 Yao Qi <yao.qi@linaro.org>
889 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
892 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
895 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
897 * gdb.fortran/vla-history.exp: Remove breakpoint.
899 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
901 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
903 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
905 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
907 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
909 * gdb.mi/vla.f90: Nullify pointer after declaration.
911 2016-03-01 Pedro Alves <palves@redhat.com>
913 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
915 2016-03-01 Pedro Alves <palves@redhat.com>
917 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
918 before anything else.
919 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
921 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
922 before anything else.
923 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
925 2016-03-01 Pedro Alves <palves@redhat.com>
927 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
929 2016-03-01 Yao Qi <yao.qi@linaro.org>
931 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
934 2016-03-01 Yao Qi <yao.qi@linaro.org>
936 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
938 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
940 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
941 manually constructing the output path.
943 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
945 * gdb.arch/s390-stackless.S: New.
946 * gdb.arch/s390-stackless.exp: New.
948 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
950 * gdb.dlang/circular.c: New file.
951 * gdb.dlang/circular.exp: New file.
953 2016-02-26 Yao Qi <yao.qi@linaro.org>
955 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
956 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
959 2016-02-26 Yao Qi <yao.qi@linaro.org>
961 * gdb.reverse/aarch64.c: Rename to ...
962 * gdb.reverse/insn-reverse.c: ... it.
963 * gdb.reverse/aarch64.exp: Rename to ...
964 * gdb.reverse/insn-reverse.exp: ... it.
966 2016-02-26 Yao Qi <yao.qi@linaro.org>
968 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
969 (testcase_ftype): New.
970 (testcases): New array.
972 (main): Call each element in testcases.
973 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
974 (read_testcase): New.
975 Do the tests in a loop.
977 2016-02-25 Yao Qi <yao.qi@linaro.org>
979 * gdb.base/branches.c: Remove.
981 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
984 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
986 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
988 * gdb.trace/ftrace.exp: Remove unnecessary target check.
990 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
992 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
993 change x86_64 call_insn to 'callq'.
995 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
997 * gdb.trace/tfile-avx.c: Move to...
998 * gdb.trace/tracefile-pseudo-reg.c: Here.
999 * gdb.trace/tfile-avx.exp: Move to...
1000 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1002 2016-02-24 Gary Benson <gbenson@redhat.com>
1004 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1007 2016-02-23 Doug Evans <dje@google.com>
1009 * gdb.base/skip.c (test_skip): New function.
1010 (end_test_skip_file_and_function): New function.
1011 (test_skip_file_and_function): New function.
1012 * gdb.base/skip1.c (test_skip): New function.
1013 (skip1_test_skip_file_and_function): New function.
1014 * gdb.base/skip.exp: Add tests for new skip options.
1015 * gdb.base/skip-solib.exp: Update expected output.
1016 * gdb.perf/skip-command.cc: New file.
1017 * gdb.perf/skip-command.exp: New file.
1018 * gdb.perf/skip-command.py: New file.
1020 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1022 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1023 info registers pattern.
1025 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1027 * lib/future.exp: Add D support.
1028 (gdb_find_gdc): New proc.
1029 (gdb_default_target_compile): Add D support.
1031 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1033 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1035 (trace_speed_test): Determine the iteration count for a time
1036 between 15..30 seconds.
1038 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1040 * gdb.arch/i386-mpx-sigsegv.c: New file.
1041 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1042 * gdb.arch/i386-mpx-simple_segv.c: New file.
1043 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1045 2016-02-18 Yao Qi <yao.qi@linaro.org>
1047 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1048 Don't call setup_kfail.
1050 2016-02-18 Yao Qi <yao.qi@linaro.org>
1052 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1053 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1055 2016-02-16 Doug Evans <dje@google.com>
1057 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1058 * gdb.base/skip1.c: Ditto.
1059 * gdb.base/skip.exp: Whitespace cleanup.
1061 2016-02-16 Don Breazeal <donb@codesourcery.com>
1064 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1065 Remove kfail for PR remote/19496.
1067 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1069 * lib/gdb.exp (standard_temp_file): Return a path specific to
1070 the runtest invocation.
1072 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1074 * gdb.trace/save-trace.exp: Change relative path to be in the
1075 standard output directory.
1077 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1079 * gdb.arch/i386-prologue.c: Add missing prototypes.
1081 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1083 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1084 * gdb.arch/i386-prologue.exp: Likewise.
1085 * gdb.arch/i386-size.exp: Likewise.
1087 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1089 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1090 define object file path.
1091 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1093 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1094 standard_output_file to define binfile.
1096 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1098 Fix compatibility with recent gfortran-5.3.1.
1099 * gdb.fortran/vla-history.exp (print vla1 allocated)
1100 (print vla2 allocated, print $2, print $3): Remove
1101 (print $4): Rename to ...
1102 (print $2): ... here.
1103 (print $9): Rename to ...
1104 (print $5): ... here.
1105 (print $10): Rename to ...
1106 (print $6): ... here.
1107 * gdb.fortran/vla.f90: Add pvla initialization.
1109 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1111 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1113 * gdb.fortran/vla-value-sub.exp: Likewise.
1115 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1117 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1119 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1121 * i386-biarch-core.exp: Define corefile using
1122 standard_output_file.
1124 2016-02-12 Yao Qi <yao.qi@linaro.org>
1126 * gdb.arch/arm-single-step-kernel-helper.c: New.
1127 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1129 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1131 * gdb.btrace/tailcall-only.exp: New.
1132 * gdb.btrace/tailcall-only.c: New.
1133 * gdb.btrace/x86_64-tailcall-only.S: New.
1134 * gdb.btrace/i686-tailcall-only.S: New.
1136 2016-02-11 Pedro Alves <palves@redhat.com>
1138 * README (Parallel testing): Add missing double quotes.
1140 2016-02-11 Pedro Alves <palves@redhat.com>
1142 * README (Parallel testing): New section.
1143 (GDB_PARALLEL): Rewrite.
1144 (FORCE_PARALLEL): Document.
1146 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1148 * gdb.trace/tfile-avx.c: New test.
1149 * gdb.trace/tfile-avx.exp: New test.
1151 2016-02-09 Keith Seitz <keiths@redhat.com>
1153 PR breakpoints/19546
1154 * gdb.base/infcall-exec.c: New file.
1155 * gdb.base/infcall-exec2.c: New file.
1156 * gdb.base/infcall-exec.exp: New file.
1158 2016-02-09 Keith Seitz <keiths@redhat.com>
1160 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1161 (toplevel): Call test_bkpt_address.
1163 2016-02-09 Keith Seitz <keiths@redhat.com>
1166 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1167 (toplevel): Call test_bkpt_address.
1169 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1171 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1173 * configure: Regenerate.
1175 2016-02-09 Pedro Alves <palves@redhat.com>
1177 PR breakpoints/19548
1178 * gdb.base/execl-update-breakpoints.c (some_function): New
1181 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1182 Tighten expected GDB output.
1184 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1186 * Makefile.in (ALL_SUBDIRS): Remove.
1187 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1188 (distclean maintainer-clean realclean): Likewise.
1189 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1190 * configure: Regenerate.
1191 * gdb.ada/Makefile.in: Delete.
1192 * gdb.arch/Makefile.in: Likewise.
1193 * gdb.asm/Makefile.in: Likewise.
1194 * gdb.base/Makefile.in: Likewise.
1195 * gdb.btrace/Makefile.in: Likewise.
1196 * gdb.cell/Makefile.in: Likewise.
1197 * gdb.compile/Makefile.in: Likewise.
1198 * gdb.cp/Makefile.in: Likewise.
1199 * gdb.disasm/Makefile.in: Likewise.
1200 * gdb.dlang/Makefile.in: Likewise.
1201 * gdb.dwarf2/Makefile.in: Likewise.
1202 * gdb.fortran/Makefile.in: Likewise.
1203 * gdb.gdb/Makefile.in: Likewise.
1204 * gdb.go/Makefile.in: Likewise.
1205 * gdb.guile/Makefile.in: Likewise.
1206 * gdb.java/Makefile.in: Likewise.
1207 * gdb.linespec/Makefile.in: Likewise.
1208 * gdb.mi/Makefile.in: Likewise.
1209 * gdb.modula2/Makefile.in: Likewise.
1210 * gdb.multi/Makefile.in: Likewise.
1211 * gdb.objc/Makefile.in: Likewise.
1212 * gdb.opencl/Makefile.in: Likewise.
1213 * gdb.opt/Makefile.in: Likewise.
1214 * gdb.pascal/Makefile.in: Likewise.
1215 * gdb.perf/Makefile.in: Likewise.
1216 * gdb.python/Makefile.in: Likewise.
1217 * gdb.reverse/Makefile.in: Likewise.
1218 * gdb.server/Makefile.in: Likewise.
1219 * gdb.stabs/Makefile.in: Likewise.
1220 * gdb.threads/Makefile.in: Likewise.
1221 * gdb.trace/Makefile.in: Likewise.
1222 * gdb.xml/Makefile.in: Likewise.
1223 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1225 (standard_output_file): Remove check for GDB_PARALLEL, always
1226 return path in outputs/$subdir/$testname.
1228 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1230 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1231 (site.exp): Assign abs_srcdir to tcl's srcdir.
1233 2016-02-04 Yao Qi <yao.qi@linaro.org>
1235 * gdb.base/foll-exec-mode.c: Include limits.h.
1236 (main): Add parameters argc and argv. Get directory from
1238 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1240 * gdb.base/foll-exec.c: Include limits.h.
1241 (main): Add parameters argc and argv.
1242 Get directory from argv[0].
1243 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1244 Adjust tests on the number of lines as source code changed.
1245 * gdb.base/foll-vfork-exit.c: Include limits.h.
1246 (main): Add one line of statement before vfork.
1247 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1248 (main): Add parameters argc and argv. Get directory from
1250 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1251 (setup_gdb): Set tbreak to skip some source lines.
1252 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1253 (main): Add parameters argc and argv. Get directory from
1255 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1257 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1258 (main): Add parameters argc and argv. Get directory from
1260 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1263 2016-02-01 Doug Evans <dje@google.com>
1265 * gdb.base/skip.exp: Clean up multiple references to same test name.
1267 2016-02-01 Pedro Alves <palves@redhat.com>
1270 * gdb.threads/forking-threads-plus-breakpoint.exp
1271 (displaced_stepping_supported): New global.
1272 (probe_displaced_stepping_support): New procedure.
1273 (do_test): Add 'displaced' parameter, and use it.
1274 (top level): Check for displaced stepping support. Add displaced
1275 stepping on/off testing axis.
1277 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1279 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1280 pointer. Don't perform further tests on the unassociated pointer
1281 if the first test fails.
1283 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1285 * gdb.base/max-value-size.c: New file.
1286 * gdb.base/max-value-size.exp: New file.
1287 * gdb.base/huge.exp: Disable max-value-size for this test.
1289 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1291 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1293 2016-01-28 Yao Qi <yao.qi@linaro.org>
1295 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1297 2016-01-25 Pedro Alves <palves@redhat.com>
1300 * gdb.base/fork-running-state.c: New file.
1301 * gdb.base/fork-running-state.exp: New file.
1303 2016-01-25 Pedro Alves <palves@redhat.com>
1306 * gdb.base/catch-fork-kill.c: New file.
1307 * gdb.base/catch-fork-kill.exp: New file.
1309 2016-01-25 Pedro Alves <palves@redhat.com>
1311 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1312 Delete, moved to lib/gdb.exp.
1313 * gdb.threads/forking-threads-plus-breakpoint.exp
1314 (foreach_with_prefix): Likewise.
1315 * gdb.threads/process-dies-while-handling-bp.exp
1316 (foreach_with_prefix): Likewise.
1317 * lib/gdb.exp (foreach_with_prefix): New procedure.
1319 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1321 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1322 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1324 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1326 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1329 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1330 Pedro Alves <palves@redhat.com>
1332 Fix testsuite compatibility with Guile.
1333 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1336 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1338 Fix testsuite compatibility with Guile.
1339 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1340 (thread 1): New test for backtrace through signal handler.
1342 2016-01-22 Yao Qi <yao.qi@linaro.org>
1345 * gdb.base/multi-forks.c: Include
1346 ../lib/unbuffer_output.c
1347 (main): Call gdb_unbuffer_output.
1349 2016-01-21 Doug Evans <dje@google.com>
1351 * lib/ada.exp (gdb_compile_ada): Fix typo.
1353 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1355 * gdb.base/break-fun-addr.exp: New file.
1356 * gdb.base/break-fun-addr1.c: New file.
1357 * gdb.base/break-fun-addr2.c: New file.
1359 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1361 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1362 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1365 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1367 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1368 when GDB can not set the vector return value. Add more comments
1371 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1373 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1376 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1378 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1380 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1382 * Makefile.in (check-single): Pass --status to runtest.
1383 (check/%.exp): Likewise.
1385 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1387 * Makefile.in (check-parallel): Propagate return code from make
1390 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1392 * gdb.trace/ftrace.exp: Fix expected message on continue.
1393 * gdb.trace/pending.exp: Fix expected message on continue.
1394 * gdb.trace/trace-break.exp: Fix expected message on continue.
1396 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1398 * lib/gdb.exp (gdb_test): Remove unused global references.
1400 2016-01-18 Pedro Alves <palves@redhat.com>
1402 * gdb.base/async-shell.exp: Adjust expected output.
1403 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1404 * gdb.base/siginfo-thread.exp: Adjust expected output.
1405 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1406 * gdb.java/jnpe.exp: Adjust expected output.
1407 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1408 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1409 * gdb.threads/leader-exit.exp: Adjust expected output.
1410 * gdb.threads/manythreads.exp: Adjust expected output.
1411 * gdb.threads/pthreads.exp: Adjust expected output.
1412 * gdb.threads/schedlock.exp: Adjust expected output.
1413 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1414 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1416 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1418 * gdb.threads/sigthread.exp: Adjust expected output.
1419 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1421 2016-01-18 Yao Qi <yao.qi@linaro.org>
1423 * gdb.guile/scm-section-script.c: Replace @progbits with
1425 * gdb.python/py-section-script.c: Likewise.
1427 2016-01-15 Pedro Alves <palves@redhat.com>
1429 * gdb.multi/tids.exp: Test star wildcard ranges.
1431 2016-01-15 Pedro Alves <palves@redhat.com>
1433 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1434 command from "thread apply" invocation.
1435 (thr_apply_info_thr_invalid): Default the expected output to the
1437 (top level): Add tests that use convenience variables. Add tests
1438 for "thread apply" with a valid TID list, but missing the command.
1440 2016-01-13 Pedro Alves <palves@redhat.com>
1442 * gdb.base/default.exp: Expect $_gthread as well.
1443 * gdb.multi/tids.exp: Test $_gthread.
1444 * gdb.threads/thread-specific.exp: Test $_gthread.
1446 2016-01-13 Pedro Alves <palves@redhat.com>
1448 * gdb.multi/tids.exp: Test "info threads -gid".
1450 2016-01-13 Pedro Alves <palves@redhat.com>
1452 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1454 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1456 2016-01-07 Pedro Alves <palves@redhat.com>
1458 * gdb.base/break.exp: Adjust to output changes.
1459 * gdb.base/hbreak2.exp: Likewise.
1460 * gdb.base/sepdebug.exp: Likewise.
1461 * gdb.base/watch_thread_num.exp: Likewise.
1462 * gdb.linespec/keywords.exp: Likewise.
1463 * gdb.multi/info-threads.exp: Likewise.
1464 * gdb.threads/thread-find.exp: Likewise.
1465 * gdb.multi/tids.c: New file.
1466 * gdb.multi/tids.exp: New file.
1468 2016-01-13 Pedro Alves <palves@redhat.com>
1470 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1472 2016-01-13 Pedro Alves <palves@redhat.com>
1474 * gdb.base/default.exp: Expect $_inferior as well.
1475 * gdb.multi/base.exp: Test $_inferior.
1477 2016-01-13 Pedro Alves <palves@redhat.com>
1479 PR breakpoints/19388
1480 * gdb.base/catch-signal-siginfo-cond.c: New file.
1481 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1483 2016-01-12 Josh Stone <jistone@redhat.com>
1484 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1486 * gdb.base/catch-syscall.c (do_execve): New variable.
1487 (main): Conditionally trigger an execve.
1488 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1489 (test_catch_syscall_execve): New, check entry/return across execve.
1490 (do_syscall_tests): Call test_catch_syscall_execve.
1492 2016-01-12 Pedro Alves <palves@redhat.com>
1494 * gdb.base/random-signal.exp (do_test): New procedure, with body
1495 of testcase moved in.
1497 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1498 Pedro Alves <palves@redhat.com>
1500 * gdb.base/funcargs.exp (finish from indirectly called function):
1501 Reintroduce the case for 'First'.
1503 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1504 Pedro Alves <palves@redhat.com>
1506 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1507 (tcatch_vfork_then_child_follow_exec)
1508 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1511 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1513 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1514 and repeats to unlimited.
1515 * gdb.python/py-value.exp: Likewise.
1516 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1517 and repeats to unlimited.
1519 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1521 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1522 and reordering the functions.
1523 * gdb.multi/hangout.c: Likewise.
1524 * gdb.multi/hello.c: Likewise.
1526 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1528 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1530 (SingleStatisticTestResult.report): Use dict.keys instead of
1533 2016-01-06 Pedro Alves <palves@redhat.com>
1535 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1537 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1539 * gdb.btrace/dlopen.exp: New.
1540 * gdb.btrace/dlopen.c: New.
1541 * gdb.btrace/dlopen-dso.c: New.
1543 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1545 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1546 PATTERN argument is optional.
1548 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1550 * lib/ada.exp (target_compile_ada_from_dir): New function.
1551 (gdb_compile_ada): Reimplement avoiding the use of project files.
1552 * gdb.ada/gnat_ada.gpr: Delete.
1553 * gdb.ada/cond_lang.exp: Adjust test to make path before
1555 * gdb.ada/small_reg_param.exp: Likewise.
1557 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1559 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1561 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1563 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1566 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1568 * gdb.base/break.exp: Remove dead code.
1569 * gdb.base/sepdebug.exp: Likewise.
1571 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1573 * gdb.asm/asm-source.exp: Remove HP-UX references.
1574 * gdb.base/annota1.exp: Likewise.
1575 * gdb.base/annota3.exp: Likewise.
1576 * gdb.base/attach.exp: Likewise.
1577 * gdb.base/bigcore.exp: Likewise.
1578 * gdb.base/break.exp: Likewise.
1579 * gdb.base/call-ar-st.exp: Likewise.
1580 * gdb.base/callfuncs.exp: Likewise.
1581 * gdb.base/catch-fork-static.exp: Likewise.
1582 * gdb.base/display.exp: Likewise.
1583 * gdb.base/foll-exec-mode.exp: Likewise.
1584 * gdb.base/foll-exec.exp: Likewise.
1585 * gdb.base/foll-fork.exp: Likewise.
1586 * gdb.base/foll-vfork.exp: Likewise.
1587 * gdb.base/funcargs.exp: Likewise.
1588 * gdb.base/hbreak2.exp: Likewise.
1589 * gdb.base/inferior-died.exp: Likewise.
1590 * gdb.base/interrupt.exp: Likewise.
1591 * gdb.base/multi-forks.exp: Likewise.
1592 * gdb.base/nodebug.exp: Likewise.
1593 * gdb.base/sepdebug.exp: Likewise.
1594 * gdb.base/solib1.c: Likewise.
1595 * gdb.base/step-test.exp: Likewise.
1596 * gdb.mi/non-stop.c: Likewise.
1597 * gdb.mi/pthreads.c: Likewise.
1598 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1599 * gdb.threads/pthreads.c: Likewise.
1600 * gdb.threads/staticthreads.exp: Likewise.
1601 * lib/future.exp: Likewise.
1602 * lib/gdb.exp: Likewise.
1603 * gdb.base/so-indr-cl.c: Remove.
1604 * gdb.base/so-indr-cl.exp: Likewise.
1605 * gdb.base/solib.c: Likewise.
1606 * gdb.base/solib.exp: Likewise.
1607 * gdb.base/solib2.c: Likewise.
1609 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1611 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1612 * gdb.base/call-ar-st.exp: Likewise.
1613 * gdb.base/callfuncs.exp: Likewise.
1614 * gdb.base/condbreak.exp: Likewise.
1615 * gdb.base/constvars.exp: Likewise.
1616 * gdb.base/hbreak2.exp: Likewise.
1617 * gdb.base/langs.exp: Likewise.
1618 * gdb.base/list.exp: Likewise.
1619 * gdb.base/long_long.exp: Likewise.
1620 * gdb.base/ptype.exp: Likewise.
1621 * gdb.base/scope.exp: Likewise.
1622 * gdb.base/signals.exp: Likewise.
1623 * gdb.base/so-impl-ld.exp: Likewise.
1624 * gdb.base/varargs.exp: Likewise.
1625 * gdb.base/volatile.exp: Likewise.
1626 * gdb.base/whatis.exp: Likewise.
1627 * gdb.cp/cplusfuncs.exp: Likewise.
1628 * gdb.cp/inherit.exp: Likewise.
1629 * gdb.cp/local.exp: Likewise.
1630 * gdb.cp/member-ptr.exp: Likewise.
1631 * gdb.cp/method.exp: Likewise.
1632 * gdb.cp/overload.exp: Likewise.
1633 * gdb.cp/templates.exp: Likewise.
1634 * gdb.stabs/weird.exp: Likewise.
1635 * lib/compiler.c: Likewise.
1636 * lib/compiler.cc: Likewise.
1637 * lib/cp-support.exp: Likewise.
1638 * lib/gdb.exp: Likewise.
1640 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1642 * configure.ac: Remove HP-UX case.
1643 * configure: Regenerate.
1645 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1647 * lib/gdb.exp (gdb_compile): Add function doc.
1649 2015-12-17 Pedro Alves <palves@redhat.com>
1652 * gdb.multi/info-threads.exp: New file.
1654 2015-12-15 Yao Qi <yao.qi@linaro.org>
1656 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1659 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1661 * gdb.base/history-duplicates.exp: Skip if no readline support.
1663 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1665 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1667 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1669 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1671 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1673 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1674 ctrl-C if nointerrupts target property is set.
1675 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1676 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1677 * gdb.base/paginate-bg-execution.exp: Likewise.
1678 * gdb.base/paginate-execution-startup.exp: Likewise.
1679 * gdb.base/random-signal.exp: Likewise.
1680 * gdb.base/range-stepping.exp: Likewise.
1681 * gdb.cp/annota2.exp: Likewise.
1682 * gdb.cp/annota3.exp: Likewise.
1683 * gdb.gdb/selftest.exp: Likewise.
1684 * gdb.threads/continue-pending-status.exp: Likewise.
1685 * gdb.threads/leader-exit.exp: Likewise.
1686 * gdb.threads/manythreads.exp: Likewise.
1687 * gdb.threads/pthreads.exp: Likewise.
1688 * gdb.threads/schedlock.exp: Likewise.
1689 * gdb.threads/sigthread.exp: Likewise.
1691 2015-12-11 Don Breazeal <donb@codesourcery.com>
1693 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1695 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1696 * gdb.base/foll-exec.exp (main): Enable for target remote.
1697 * gdb.base/foll-fork.exp (main): Likewise.
1698 * gdb.base/foll-vfork.exp (main): Likewise.
1699 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1700 (proc continue_to_exit_bp_loc): Use clean_restart.
1701 * gdb.base/pie-execl.exp (main): Disable for target remote.
1702 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1703 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1704 * gdb.threads/execl.exp (main): Likewise.
1705 * gdb.threads/fork-child-threads.exp (main): Likewise.
1706 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1708 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1710 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1711 pid.tid style ptids, instead of just tid.
1712 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1713 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1714 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1715 ptids, instead of just tid.
1717 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1719 * gdb.base/list.exp (test_list_forward): Add end of file error
1721 (test_repeat_list_command): Add end of file error test.
1722 (test_list_backwards): Add beginning of file error test.
1724 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1726 * gdb.base/list.exp (test_list_invalid_args): New function,
1727 defined, and called.
1729 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1731 * gdb.base/list.exp (test_list): Make test names unique.
1733 2015-12-11 Yao Qi <yao.qi@linaro.org>
1735 * gdb.base/coremaker2.c: Remove.
1737 2015-12-10 Pedro Alves <palves@redhat.com>
1739 * gdb.multi/base.exp: Remove stale "spaces" references.
1741 2015-12-10 Pedro Alves <palves@redhat.com>
1743 * gdb.multi/base.exp: Don't use nowarnings.
1744 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1745 * gdb.multi/hangout.c: Include stdio.h.
1746 * gdb.multi/hello.c: Include stdlib.h.
1747 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1748 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1749 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1751 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1753 * gdb.dwarf2/dw2-ranges-base.c: New file.
1754 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1755 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1756 support additional line table, and debug ranges generation.
1757 (Dwarf::ranges): New function, generate .debug_ranges.
1758 (Dwarf::lines): Support generating simple line table programs.
1759 (Dwarf::assemble): Initialise new namespace variables.
1761 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1763 * gdb.base/async.exp (proc test_background): Add case for
1764 asynchronous execution not supported.
1766 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1768 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1769 format and change test names to make them unique.
1771 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1772 Pedro Alves <pedro@redhat.com>
1775 Add checking of floatformats setup on x86_64 hosts.
1776 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1777 (smallval, bigval): New labels/constants.
1778 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1779 float" after loading bigval and smallval.
1781 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1783 * gdb.ada/fun_overload_menu.exp: New testcase.
1784 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1786 2015-12-04 Josh Stone <jistone@redhat.com>
1788 * gdb.base/catch-fork-static.exp: New.
1790 2015-12-03 Yao Qi <yao.qi@linaro.org>
1792 * gdb.base/sizeof.c: Don't include stdio.h and
1793 ../lib/unbuffer_output.c.
1794 (main): New variable 'size' and 'value'. Remove printf and
1795 gdb_unbuffer_output. Assign return value to size and value.
1796 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1798 (check_sizeof): Check the result by printing variable 'size'.
1799 (check_valueof): Check the result by printing variable 'value'.
1801 2015-12-01 Yao Qi <yao.qi@linaro.org>
1803 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1804 for aarch64*-*-linux* target.
1806 2015-11-30 Pedro Alves <palves@redhat.com>
1808 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1810 2015-11-30 Pedro Alves <palves@redhat.com>
1812 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1813 Handle non-stop mode vCont replies.
1815 2015-11-30 Pedro Alves <palves@redhat.com>
1817 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1818 prepare_for_testing. Start gdb with "set non-stop on" appended to
1819 GDBFLAGS. Lax expected stop output.
1821 2015-11-27 Yao Qi <yao.qi@linaro.org>
1823 * gdb.arch/arm-neon.exp: New.
1824 * gdb.arch/arm-neon.c: New.
1826 2015-11-27 Yao Qi <yao.qi@linaro.org>
1828 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1830 2015-11-27 Yao Qi <yao.qi@linaro.org>
1832 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1833 frames-invalid annotation.
1835 2015-11-27 Yao Qi <yao.qi@linaro.org>
1837 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1839 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1841 * gdb.threads/names.exp: New file.
1842 * gdb.threads/names.c: New file.
1843 * README: Mention gdb,no_thread_names.
1845 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1848 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1851 2015-11-24 Pedro Alves <palves@redhat.com>
1854 * gdb.base/display.exp: Expect displays to be sorted in ascending
1855 order. Use multi_line.
1856 * gdb.base/solib-display.exp: Likewise.
1858 2015-11-24 Pedro Alves <palves@redhat.com>
1861 * gdb.base/display.exp: Expect displays to be sorted in ascending
1862 order. Use multi_line.
1863 * gdb.base/solib-display.exp: Likewise.
1865 2015-11-24 Pedro Alves <palves@redhat.com>
1868 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1869 threads in ascending order.
1870 * gdb.base/foll-fork.exp: Likewise.
1871 * gdb.base/foll-vfork.exp: Likewise.
1872 * gdb.base/multi-forks.exp: Likewise.
1873 * gdb.mi/mi-nonstop.exp: Likewise.
1874 * gdb.mi/mi-nsintrall.exp: Likewise.
1875 * gdb.multi/base.exp: Likewise.
1876 * gdb.multi/multi-arch.exp: Likewise.
1877 * gdb.python/py-inferior.exp: Likewise.
1878 * gdb.threads/break-while-running.exp: Likewise.
1879 * gdb.threads/execl.exp: Likewise.
1880 * gdb.threads/gcore-thread.exp: Likewise.
1881 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1882 * gdb.threads/kill.exp: Likewise.
1883 * gdb.threads/linux-dp.exp: Likewise.
1884 * gdb.threads/multiple-step-overs.exp: Likewise.
1885 * gdb.threads/next-bp-other-thread.exp: Likewise.
1886 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1887 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1888 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1889 * gdb.threads/thread-find.exp: Likewise.
1890 * gdb.threads/tls.exp: Likewise.
1891 * lib/mi-support.exp (mi_reverse_list): Delete.
1892 (mi_check_thread_states): No longer reverse list.
1894 2015-11-24 Pedro Alves <palves@redhat.com>
1896 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1899 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1901 * gdb.trace/actions.c: Include trace-common.h.
1902 (main): Add a location for a fast tracepoint.
1903 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1904 the normal tracepoints.
1905 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1907 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1909 * save-trace.exp: Factor out code to these...
1910 (gdb_save_tracepoints): New.
1911 (gdb_load_tracepoints): New.
1912 (do_save_load_test): New.
1914 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1916 * gdb.base/asmlabel.exp: New test.
1917 * gdb.base/asmlabel.c: New test case.
1919 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1921 * gdb.base/wrong_frame_bt_full-main.c: New file.
1922 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1923 * gdb.base/wrong_frame_bt_full.exp: New file.
1925 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1927 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1929 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1931 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1932 pstate register when comparing registers values in
1933 sparc64-*-linux-gnu targets to avoid spurious differences.
1935 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1937 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1939 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1941 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1942 as type argument to gdb_compile.
1943 * gdb.base/nested-subp2.exp: Likewise.
1944 * gdb.base/nested-subp3.exp: Likewise.
1946 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1948 * lib/dwarf.exp (_note): Fix left shift of negative value.
1949 * gdb.trace/trace-condition.exp: Likewise.
1951 2015-11-13 Yao Qi <yao.qi@linaro.org>
1953 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1954 comments about d10v.
1955 (test_scalar_returns): Likewise.
1956 * gdb.base/d10v.ld: Remove.
1957 * gdb.base/overlays.exp: Remove the target triplet checking for
1959 * gdb.base/structs.exp (test_struct_returns): Remove the
1960 comments about d10v.
1961 (test_struct_calls): Likewise.
1963 2015-11-13 Yao Qi <yao.qi@linaro.org>
1965 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1966 * gdb.base/gnu_vector.c: Don't include stdio.h.
1967 (main): Don't print res and call add_some_intvecs.
1969 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1971 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1974 (func4): Use FAST_TRACEPOINT_LABEL.
1975 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1978 (thread_function): Use FAST_TRACEPOINT_LABEL.
1979 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1981 (marker): Use FAST_TRACEPOINT_LABEL.
1982 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1983 (pendfunc1): Remove.
1984 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1985 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1987 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1988 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1991 (marker): Use FAST_TRACEPOINT_LABEL.
1992 * gdb.trace/trace-common.h: New header.
1993 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1996 (marker): Use FAST_TRACEPOINT_LABEL.
1997 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1999 (thread_function): Use FAST_TRACEPOINT_LABEL.
2001 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2003 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2005 * gdb.trace/change-loc.exp: Use global pcreg definition.
2006 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2007 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2009 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2010 * gdb.trace/pending.exp: Likewise.
2011 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2012 * gdb.trace/trace-break.exp: Likewise.
2013 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2015 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2016 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2018 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2020 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2022 * gdb.ada/fin_fun_out: New testcase.
2024 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2026 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2027 value associated with DW_AT_byte_size.
2028 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2029 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2032 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2034 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2035 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2037 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2038 gdb.dwarf2/dw2-canonicalize-type.exp,
2039 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2040 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2041 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2042 provided by gdb_target_symbol_prefix_flags_asm.
2043 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2044 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2045 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2046 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2047 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2048 macros where needed). Use this macro for symbols which require
2049 the prefix provided by SYMBOL_PREFIX.
2051 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2053 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2055 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2056 representing expressions, of more than one list element.
2057 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2058 to prepend linker symbol prefix to f.
2059 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2060 table_1 and table_2.
2061 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2062 Likewise, for f and g.
2063 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2065 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2067 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2068 table_1_ptr and table_2_ptr.
2070 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2071 Joel Brobecker <brobecker@adacore.com>
2073 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2075 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2077 * gdb.reverse/s390-mvcle.c: New test.
2078 * gdb.reverse/s390-mvcle.exp: New file.
2079 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2081 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2083 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2085 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2087 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2089 * gdb.reverse/getresuid-reverse.exp: Likewise.
2090 * gdb.reverse/pipe-reverse.exp: Likewise.
2091 * gdb.reverse/readv-reverse.exp: Likewise.
2092 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2093 * gdb.reverse/time-reverse.exp: Likewise.
2094 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2096 2015-10-30 Yao Qi <yao.qi@linaro.org>
2098 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2099 (empty_cycle): Remove.
2100 (main): Don't call empty_cycle. Don't use watch_count_done.
2101 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2102 empty_cycle. Rewrite the code counting HW watchpoints.
2104 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2106 * gdb.reverse/fstatat-reverse.c: New test.
2107 * gdb.reverse/fstatat-reverse.exp: New file.
2108 * gdb.reverse/getresuid-reverse.c: New test.
2109 * gdb.reverse/getresuid-reverse.exp: New file.
2110 * gdb.reverse/pipe-reverse.c: New test.
2111 * gdb.reverse/pipe-reverse.exp: New file.
2112 * gdb.reverse/readv-reverse.c: New test.
2113 * gdb.reverse/readv-reverse.exp: New file.
2114 * gdb.reverse/recvmsg-reverse.c: New test.
2115 * gdb.reverse/recvmsg-reverse.exp: New file.
2116 * gdb.reverse/time-reverse.c: New test.
2117 * gdb.reverse/time-reverse.exp: New file.
2118 * gdb.reverse/waitpid-reverse.c: New test.
2119 * gdb.reverse/waitpid-reverse.exp: New file.
2121 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2123 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2125 2015-10-26 Doug Evans <dje@google.com>
2128 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2129 * gdb.dwarf2/bad-regnum.c: New file.
2130 * gdb.dwarf2/bad-regnum.exp: New file.
2132 2015-10-26 Doug Evans <dje@google.com>
2135 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2138 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2140 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2141 for a change by "Mention language in compile error message".
2143 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2146 * gdb.python/py-type.c (C::a_method): New.
2147 (C::a_const_method): New.
2148 (C::a_static_method): New.
2150 * gdb.python/py-type.exp (test_fields): Test getting fields
2151 from function and method.
2153 2015-10-21 Keven Boell <keven.boell@intel.com>
2155 * gdb.fortran/vla-alloc-assoc.exp: New file.
2156 * gdb.fortran/vla-datatypes.exp: New file.
2157 * gdb.fortran/vla-datatypes.f90: New file.
2158 * gdb.fortran/vla-history.exp: New file.
2159 * gdb.fortran/vla-ptype-sub.exp: New file.
2160 * gdb.fortran/vla-ptype.exp: New file.
2161 * gdb.fortran/vla-sizeof.exp: New file.
2162 * gdb.fortran/vla-sub.f90: New file.
2163 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2164 * gdb.fortran/vla-value-sub-finish.exp: New file.
2165 * gdb.fortran/vla-value-sub.exp: New file.
2166 * gdb.fortran/vla-value.exp: New file.
2167 * gdb.fortran/vla-ptr-info.exp: New file.
2168 * gdb.mi/mi-vla-fortran.exp: New file.
2169 * gdb.mi/vla.f90: New file.
2171 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2173 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2174 of hardwired timeout value.
2176 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2177 Pedro Alves <palves@redhat.com>
2179 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2180 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2182 2015-10-19 Josh Stone <jistone@redhat.com>
2184 * gdb.base/catch-syscall.c: Include <sched.h>.
2185 (unknown_syscall): New variable.
2186 (main): Trigger a vfork and an unknown syscall.
2187 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2188 (unknown_syscall_number): Likewise.
2189 (check_call_to_syscall): Accept an optional syscall pattern.
2190 (check_return_from_syscall): Likewise.
2191 (check_continue): Likewise.
2192 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2193 (test_catch_syscall_skipping_return): New test toggling off 'catch
2194 syscall' to step over the syscall return, then toggling back on.
2195 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2196 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2197 (do_syscall_tests): Call test_catch_syscall_without_args and
2198 test_catch_syscall_mid_vfork.
2199 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2200 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2202 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2204 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2205 print g_vE): Add new pass patterns.
2206 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2207 print various symbol names for vptr fields.
2209 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2211 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2214 2015-10-12 Yao Qi <yao.qi@linaro.org>
2216 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2218 2015-10-12 Yao Qi <yao.qi@linaro.org>
2220 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2221 is aarch64*-*-linux*.
2223 2015-10-12 Yao Qi <yao.qi@linaro.org>
2225 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2226 (can_relocate_bcond_true): ... it.
2227 (can_relocate_bcond_false): New function.
2229 (can_relocate_bl): Likewise.
2230 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2233 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2235 * gdb.base/nested-addr.c: New file.
2236 * gdb.base/nested-addr.exp: New testcase.
2238 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2240 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2241 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2242 its output. Ignore the output of "record goto begin" and instead
2243 check that GDB is replaying.
2245 2015-10-09 Pedro Alves <palves@redhat.com>
2247 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2248 (top level): Use it in the run with no args test.
2250 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2252 * gdb.dlang/properties.exp: New file.
2254 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2256 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2257 whether or not address 0x1000 is mapped on the target.
2259 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2261 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2264 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2266 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2267 instruction-history test.
2269 2015-09-28 Doug Evans <dje@google.com>
2271 * gdb.base/gcore.c (array_func): Add reference to static_array.
2273 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2275 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2278 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2280 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2281 short or char as base type.
2283 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2285 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2286 to allow any size enum.
2288 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2290 * gdb.ada/array_ptr_renaming.exp: New testcase.
2291 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2292 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2294 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2296 * gdb.trace/ftrace-lock.c: New file.
2297 * gdb.trace/ftrace-lock.exp: New file.
2299 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2301 * gdb.arch/insn-reloc.c: New file.
2302 * gdb.arch/ftrace-insn-reloc.exp: New file.
2304 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2306 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2308 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2309 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2310 * gdb.trace/range-stepping.c: Likewise.
2311 * gdb.trace/trace-break.c: Likewise.
2312 * gdb.trace/trace-mt.c (thread_function): Likewise.
2313 * gdb.trace/ftrace.c (marker): Likewise.
2314 * gdb.trace/trace-condition.c (marker): Likewise.
2315 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2316 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2319 2015-09-18 Doug Evans <xdje42@gmail.com>
2321 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2322 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2324 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2326 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2329 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2331 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2332 the pending breakpoint. Remove timeout override for "Run till
2333 MI pending breakpoint on pendfunc3 on thread 2" test.
2335 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2337 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2340 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2342 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2343 in breakpoint filename pattern.
2345 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2347 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2349 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2351 * gdb.linespec/explicit.exp: Check for readline support for
2352 tab-completion tests. Fix obvious typo.
2354 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2356 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2359 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2361 * gdb.btrace/non-stop.c: New.
2362 * gdb.btrace/non-stop.exp: New.
2364 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2365 Yao Qi <yao.qi@linaro.org>
2367 * gdb.trace/trace-condition.c: New file.
2368 * gdb.trace/trace-condition.exp: New file.
2370 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2372 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2373 for testing bytecode compilation.
2375 2015-09-16 Pedro Alves <palves@redhat.com>
2376 Sandra Loosemore <sandra@codesourcery.com>
2378 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2379 (SECONDS): Redefine.
2380 (main): Call pthread_kill and alarm early.
2381 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2383 (test): If the target can't hardware step and doesn't support
2384 displaced stepping, increase the timeout.
2386 2015-09-16 Pedro Alves <palves@redhat.com>
2388 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2389 (enable_debug): New procedures.
2390 (test): Use them. Bail out if waiting for threads fails.
2391 (top level): Bail out if a test fails.
2393 2015-09-16 Yao Qi <yao.qi@linaro.org>
2395 * gdb.asm/asm-source.exp: Set asm-arch for
2396 aarch64*-*-* target.
2397 * gdb.asm/aarch64.inc: New file.
2399 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2401 * gdb.ada/array_of_variable_length.exp: New testcase.
2402 * gdb.ada/array_of_variable_length/foo.adb: New file.
2403 * gdb.ada/array_of_variable_length/pck.adb: New file.
2404 * gdb.ada/array_of_variable_length/pck.ads: New file.
2406 2015-09-15 Doug Evans <dje@google.com>
2408 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2409 of function static local variable.
2411 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2413 * gdb.threads/tls-so_extern.exp: New test file.
2414 * gdb.threads/tls-so_extern.c: New test file.
2415 * gdb.threads/tls-so_extern_main.c: New test file.
2417 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2419 * gdb.opt/solib-intra-step-lib.c: New file.
2420 * gdb.opt/solib-intra-step-main.c: New file.
2421 * gdb.opt/solib-intra-step.exp: New file.
2423 2015-09-15 Pedro Alves <palves@redhat.com>
2425 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2426 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2428 2015-09-14 Pedro Alves <palves@redhat.com>
2430 * gdb.base/hook-stop-continue.c: Delete.
2431 * gdb.base/hook-stop-continue.exp: Delete.
2432 * gdb.base/hook-stop-frame.c: Delete.
2433 * gdb.base/hook-stop-frame.exp: Delete.
2434 * gdb.base/hook-stop.c: New file.
2435 * gdb.base/hook-stop.exp: New file.
2437 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2439 * gdb.ada/access_to_packed_array.exp: New testcase.
2440 * gdb.ada/access_to_packed_array/foo.adb: New file.
2441 * gdb.ada/access_to_packed_array/pack.adb: New file.
2442 * gdb.ada/access_to_packed_array/pack.ads: New file.
2444 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2446 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2449 2015-09-11 Don Breazeal <donb@codesourcery.com>
2451 * gdb.base/foll-exec.c: Add copyright header. Fix
2453 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2454 (do_exec_tests): Use clean_restart in place of zap_session,
2455 and for test initialization. Fix formatting issues. Use
2456 fail in place of perror.
2457 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2458 an expect statement to match an expression with output from
2459 the program under debug.
2460 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2461 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2462 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2463 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2464 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2466 2015-09-09 Doug Evans <dje@google.com>
2468 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2470 2015-09-09 Doug Evans <dje@google.com>
2472 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2474 2015-09-09 Doug Evans <dje@google.com>
2476 * gdb.base/savedregs.exp: Fix typo.
2478 2015-09-09 Pedro Alves <palves@redhat.com>
2480 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2482 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2484 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2485 command actually switches threads. Give up on remaining
2486 tests if target fails to stop at breakpoint.
2488 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2490 * gdb.ada/funcall_char.exp: New testcase.
2491 * gdb.ada/funcall_char/foo.adb: New file.
2493 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2495 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2496 expected outputs. Add two testcases for completing ambiguous
2498 * gdb.ada/complete/aux_pck.adb: New file.
2499 * gdb.ada/complete/aux_pck.ads: New file.
2500 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2501 Ambiguous_Func functions.
2502 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2503 * gdb.ada/complete/pck.adb: Likewise.
2505 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2507 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2508 failures to run the test program under GDB.
2510 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2512 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2515 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2517 * gdb.base/run-after-attach.exp: New test file.
2518 * gdb.base/run-after-attach.c: New test file.
2520 2015-08-26 Don Breazeal <donb@codesourcery.com>
2522 * gdb.base/foll-exec-2.c: New test program.
2523 * gdb.base/foll-exec-2.exp: New test.
2525 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2527 * gdb.base/nested-subp1.exp: New file.
2528 * gdb.base/nested-subp1.c: New file.
2529 * gdb.base/nested-subp2.exp: New file.
2530 * gdb.base/nested-subp2.c: New file.
2531 * gdb.base/nested-subp3.exp: New file.
2532 * gdb.base/nested-subp3.c: New file.
2534 2015-08-24 Pedro Alves <palves@redhat.com>
2536 * gdb.server/connect-without-multi-process.c: New file.
2537 * gdb.server/connect-without-multi-process.exp: New file.
2539 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2541 * gdb.opt/inline-markers.c: Make z int.
2543 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2545 * gdb.opt/inline-markers.c: Make z volatile.
2547 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2549 * gdb.opt/inline-bt.c: New volatile global z.
2550 * gdb.opt/inline-cmds.c: Likewise.
2551 * gdb.opt/inline-locals.c: Likewise.
2552 * gdb.opt/inline-markers.c: New extern global z.
2554 (inline_fn): Likewise.
2556 2015-08-24 Pedro Alves <palves@redhat.com>
2558 * config/m32r-stub.exp: Remove file.
2559 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2560 * gdb.base/call-rt-st.exp: Likewise.
2561 * gdb.base/call-strs.exp: Likewise.
2562 * gdb.base/default.exp: Remove references to h8300-*-hms and
2564 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2566 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2568 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2569 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2570 and "return" use KFAIL when GDB can not read/write the vector
2573 2015-08-21 Gary Benson <gbenson@redhat.com>
2575 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2577 2015-08-20 Pedro Alves <palves@redhat.com>
2579 * gdb.server/solib-list.exp: No longer expect an interior stop in
2582 2015-08-20 Pedro Alves <palves@redhat.com>
2584 * gdb.server/connect-stopped-target.c: New file.
2585 * gdb.server/connect-stopped-target.exp: New file.
2587 2015-08-20 Pedro Alves <palves@redhat.com>
2589 * gdb.dwarf2/comp-unit-lang.exp: New file.
2590 * gdb.dwarf2/comp-unit-lang.c: New file.
2592 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2594 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2595 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2597 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2599 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2600 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2602 2015-08-18 Doug Evans <dje@google.com>
2603 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2605 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2606 skip_python_tests. New arg prompt_regexp.
2607 (skip_python_tests): New function.
2608 * lib/mi-support.exp (mi_skip_python_tests): New function.
2609 * gdb.python/py-mi-objfile-gdb.py: New file.
2610 * gdb.python/py-mi-objfile.c: New file.
2611 * gdb.python/py-mi-objfile.exp: New file.
2613 2015-08-17 Keith Seitz <keiths@redhat.com>
2615 * gdb.linespec/explicit.exp: Move strace test from here ...
2616 * gdb.trace/strace.exp: ... to here.
2618 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2620 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2621 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2623 2015-08-14 Doug Evans <xdje42@gmail.com>
2625 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2626 inferior before selecting a new file.
2628 2015-08-14 Doug Evans <xdje42@gmail.com>
2630 * gdb.mi/mi-disassemble.exp: Update.
2631 * gdb.base/disasm-optim.S: New file.
2632 * gdb.base/disasm-optim.c: New file.
2633 * gdb.base/disasm-optim.h: New file.
2634 * gdb.base/disasm-optim.exp: New file.
2636 2015-08-14 Keith Seitz <keiths@redhat.com>
2638 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2641 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2643 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2645 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2647 * gdb.ada/fun_renaming.exp: New testcase.
2648 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2649 * gdb.ada/fun_renaming/pack.adb: New file.
2650 * gdb.ada/fun_renaming/pack.ads: New file.
2652 2015-08-12 Keith Seitz <keiths@redhat.com>
2654 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2655 gdb_get_line_number.
2657 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2659 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2660 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2661 gdb.base/dso2dso.exp: New files.
2663 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2664 Pedro Alves <palves@redhat.com>
2665 Keith Seitz <keiths@redhat.com>
2667 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2670 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2672 * gdb.base/gdbhistsize-history.exp
2673 (test_histsize_history_setting): Use save_vars.
2674 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2676 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2677 * gdb.base/readline.exp: Use save_vars.
2679 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2681 * lib/gdb.exp (save_vars): New proc.
2683 2015-08-11 Keith Seitz <keiths@redhat.com>
2685 * gdb.base/help.exp: Update help_breakpoint_text.
2687 2015-08-11 Keith Seitz <keiths@redhat.com>
2689 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2690 (at toplevel): Call test_explicit_breakpoints.
2691 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2693 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2694 breakpoint conditions, "-cond".
2696 2015-08-11 Keith Seitz <keiths@redhat.com>
2698 * gdb.linespec/3explicit.c: New file.
2699 * gdb.linespec/cpexplicit.cc: New file.
2700 * gdb.linespec/cpexplicit.exp: New file.
2701 * gdb.linespec/explicit.c: New file.
2702 * gdb.linespec/explicit.exp: New file.
2703 * gdb.linespec/explicit2.c: New file.
2704 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2705 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2706 before using in the matching pattern.
2707 Clarify that `prefix' is a regular expression.
2709 2015-08-11 Keith Seitz <keiths@redhat.com>
2711 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2713 Add tests for missing ",FMT" and ",".
2715 2015-08-10 Doug Evans <dje@google.com>
2716 Keith Seitz <keiths@redhat.com>
2719 * gdb.base/completion.exp: Add location completer tests.
2721 2015-08-07 Pedro Alves <palves@redhat.com>
2723 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2725 (top level): Run do_test with and without displaced stepping.
2727 2015-08-07 Pedro Alves <palves@redhat.com>
2729 * gdb.base/valgrind-disp-step.c: New file.
2730 * gdb.base/valgrind-disp-step.exp: New file.
2732 2015-08-07 Pedro Alves <palves@redhat.com>
2734 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2736 (main): Add alarm. Run an infinite loop instead of calling
2738 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2740 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2742 (main): Add alarm. Run an infinite loop instead of calling
2744 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2747 2015-08-07 Pedro Alves <palves@redhat.com>
2749 * gdb.base/checkpoint-ns.exp: New file.
2750 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2753 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2755 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2756 * gdb.btrace/instruction_history.exp: Update.
2757 * gdb.btrace/tsx.exp: New.
2758 * gdb.btrace/tsx.c: New.
2760 2015-08-06 Pedro Alves <palves@redhat.com>
2762 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2764 * gdb.reverse/until-precsave.exp: Bump timeouts.
2766 2015-08-06 Pedro Alves <palves@redhat.com>
2768 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2770 2015-08-06 Pedro Alves <palves@redhat.com>
2773 * gdb.threads/process-dies-while-handling-bp.c: New file.
2774 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2776 2015-08-06 Pedro Alves <palves@redhat.com>
2778 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2779 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2781 2015-08-05 Pedro Alves <palves@redhat.com>
2783 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2784 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2786 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2788 * gdb.base/bp-permanent.exp: Report test as unsupported if
2789 the target cannot stop at the permanent breakpoint.
2791 2015-08-03 Doug Evans <dje@google.com>
2793 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2796 2015-08-03 Doug Evans <dje@google.com>
2798 * Makefile.in (workers/%.worker, build-perf): New rule.
2799 (GDB_PERFTEST_MODE): New variable.
2800 (check-perf): Use it.
2801 (clean): Clean up gdb.perf parallel build subdirs.
2802 * lib/build-piece.exp: New file.
2803 * lib/gdb.exp (make_gdb_parallel_path): New function
2804 (standard_output_file, standard_temp_file): Call it.
2805 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2807 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2809 2015-08-03 Doug Evans <dje@google.com>
2811 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2812 (LOG_FILE_NAME): New global.
2813 (TextReporter.__init__): Initialize self.txt_sum.
2814 (TextReporter.report): Add support for multiple data-points.
2815 Move report to perftest.sum, put raw data in perftest.log.
2816 (TextReporter.start): Open sum and log files.
2817 (TextReporter.end): Close sum and log files.
2818 * gdb.perf/lib/perftest/testresult.py
2819 (SingleStatisticTestResult.record): Handle multiple data-points.
2821 2015-07-31 Pedro Alves <palves@redhat.com>
2823 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2824 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2825 kill_wait_spawned_process instead of explicit "kill -9".
2826 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2827 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2828 kill_wait_spawned_process.
2829 * gdb.base/attach-twice.exp: Likewise.
2830 * gdb.base/attach.exp: Likewise.
2831 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2833 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2834 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2835 kill_wait_spawned_process.
2836 * gdb.base/valgrind-infcall.exp: Likewise.
2837 * gdb.multi/multi-attach.exp: Likewise.
2838 * gdb.python/py-prompt.exp: Likewise.
2839 * gdb.python/py-sync-interp.exp: Likewise.
2840 * gdb.server/ext-attach.exp: Likewise.
2841 * gdb.threads/attach-into-signal.exp (corefunc): Use
2842 spawn_wait_for_attach, spawn_id_get_pid and
2843 kill_wait_spawned_process.
2844 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2845 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2846 spawn_id_get_pid and kill_wait_spawned_process.
2847 * gdb.threads/attach-stopped.exp (corefunc): Use
2848 spawn_wait_for_attach, spawn_id_get_pid and
2849 kill_wait_spawned_process.
2850 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2851 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2852 kill_wait_spawned_process instead of explicit "kill -9".
2853 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2854 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2855 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2856 processes. Don't map cygwin/windows pids here. Now returns a
2859 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2861 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2862 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2865 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2867 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2869 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2872 2014-05-21 Mark Wielaard <mjw@redhat.com>
2874 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2876 2015-07-30 Pedro Alves <palves@redhat.com>
2878 * linux-low.c (handle_extended_wait): Set the child's last
2879 reported status to TARGET_WAITKIND_STOPPED.
2881 2015-07-30 Pedro Alves <palves@redhat.com>
2884 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2885 only shows inferior 1.
2887 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2888 Pedro Alves <palves@redhat.com>
2891 * gdb.threads/fork-plus-threads.c: New file.
2892 * gdb.threads/fork-plus-threads.exp: New file.
2894 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2896 * gdb.base/batch-preserve-term-settings.exp
2897 (test_terminal_settings_preserved_after_cli_exit): Use
2900 2015-07-29 Pedro Alves <palves@redhat.com>
2901 Don Breazeal <donb@codesourcery.com>
2903 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2904 output from both inferior_spawn_id and gdb_spawn_id.
2906 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2908 * gdb.threads/attach-into-signal.exp (corefunc): Use
2909 with_test_prefix on nested loops, uniquefying the test messages.
2911 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2913 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2916 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2918 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2920 (test_terminal_settings_preserved_after_sigterm): New test.
2922 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2924 * gdb.base/batch-preserve-term-settings.exp
2925 (test_terminal_settings_preserved_after_cli_exit): New test.
2927 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2929 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2930 manipulation of saved_gdbflags.
2931 (test_terminal_settings_preserved): Remove global declaration of
2932 the unused variable pagination_prompt. Remove manipulation of
2933 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2936 2015-07-29 Pedro Alves <palves@redhat.com>
2938 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2940 2015-07-29 Pedro Alves <palves@redhat.com>
2942 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2945 2015-07-29 Pedro Alves <palves@redhat.com>
2947 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2948 (main): Call gdb_unbuffer_output.
2949 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2950 (main): Call gdb_unbuffer_output.
2951 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2952 (main): Call gdb_unbuffer_output.
2953 * gdb.base/call-strs.exp: Adjust to step over the
2954 gdb_unbuffer_output call.
2955 * gdb.base/catch-gdb-caused-signals.c: Include
2956 "../lib/unbuffer_output.c".
2957 (main): Call gdb_unbuffer_output.
2958 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2959 (main): Call gdb_unbuffer_output.
2960 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2961 (main): Call gdb_unbuffer_output.
2962 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2963 (main): Call gdb_unbuffer_output.
2964 * gdb.base/shlib-call.exp: Adjust to step over the
2965 gdb_unbuffer_output call.
2966 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2967 (main): Call gdb_unbuffer_output.
2968 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2969 (main): Call gdb_unbuffer_output.
2970 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2971 (main): Rename to ...
2973 (main): Reimplement.
2974 * gdb.base/varargs.exp: Run to test instead of to main.
2975 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2976 (main): Call gdb_unbuffer_output.
2978 2015-07-29 Pedro Alves <palves@redhat.com>
2980 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2981 factore out from mi_continue_dprintf. For call-style dprintfs,
2982 expect dprintf output out of $inferior_spawn_id.
2983 (mi_continue_dprintf): Use mi_expect_dprintf.
2984 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2985 (main): Call gdb_unbuffer_output.
2987 2015-07-29 Pedro Alves <palves@redhat.com>
2989 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2990 (default_mi_gdb_start): Set inferior_spawn_id instead of
2991 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2993 (mi_gdb_test): Always expect inferior output from both
2994 $inferior_spawn_id and $gdb_spawn_id.
2996 2015-07-29 Pedro Alves <palves@redhat.com>
2998 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2999 send_inferior and $inferior_spawn_id.
3001 2015-07-29 Pedro Alves <palves@redhat.com>
3003 * gdb.gdb/complaints.exp (test_initial_complaints)
3004 (test_serial_complaints, test_short_complaints): Use
3006 (test_empty_complaint): Handle $inferior_spawn_id !=
3009 2015-07-29 Pedro Alves <palves@redhat.com>
3011 * gdb.base/varargs.exp: Use gdb_test_stdio.
3013 2015-07-29 Pedro Alves <palves@redhat.com>
3015 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3017 2015-07-29 Pedro Alves <palves@redhat.com>
3019 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3021 2015-07-29 Pedro Alves <palves@redhat.com>
3023 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3024 parameter into two new parameters, "inf_result" and "gdb_result".
3025 Expect inferior output and gdb output from $inferior_spawn_id and
3026 $gdb_spawn_id, respectively. Adjust all callers.
3028 2015-07-29 Pedro Alves <palves@redhat.com>
3030 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3031 of gdb_test_sequence.
3033 2015-07-29 Pedro Alves <palves@redhat.com>
3035 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3036 (saw_spurious_output): Expect inferior output from
3037 $inferior_spawn_id. Use gdb_test_stdio.
3039 2015-07-29 Pedro Alves <palves@redhat.com>
3041 * gdb.base/dprintf.exp: Use standard_testfile. Change
3042 prepare_for_testing call.
3043 (srcfile): Don't set.
3044 (restart): New procedure.
3045 (test_dprintf): New procecure, use to continue over dprintfs.
3046 (test_call, test_agent): New procedures, tests moved here.
3047 Restart gdb and recreate dprintfs. Adjust expected output.
3049 2015-07-29 Pedro Alves <palves@redhat.com>
3051 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3053 2015-07-29 Pedro Alves <palves@redhat.com>
3055 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3057 2015-07-29 Pedro Alves <palves@redhat.com>
3059 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3062 2015-07-29 Pedro Alves <palves@redhat.com>
3064 * lib/gdb.exp (gdb_test_stdio): New procedure.
3066 2015-07-29 Pedro Alves <palves@redhat.com>
3068 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3070 2015-07-29 Pedro Alves <palves@redhat.com>
3072 * gdb.base/call-signal-resume.exp: Remove check for
3073 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3074 * gdb.base/unwindonsignal.exp: Likewise.
3075 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3076 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3078 2015-07-29 Pedro Alves <palves@redhat.com>
3080 * gdb.base/siginfo-addr.c (pass): New function.
3081 (handler): Call it iff si_addr is correct.
3082 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3083 Set a breakpoint at "pass" and continue to it.
3085 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3087 * gdb.python/py-objfile.exp: Make some tests have unique names.
3088 * gdb.python/py-pp-registration.exp: Likewise.
3090 2015-07-28 Pedro Alves <palves@redhat.com>
3092 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3094 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3096 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3098 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3100 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3102 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3104 * gdb.base/gdb-sigterm-2.exp: New test.
3106 2015-07-25 Doug Evans <xdje42@gmail.com>
3109 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3110 (workers/%.worker, build-perf): New rule.
3111 (GDB_PERFTEST_MODE): New variable.
3112 (check-perf): Use it.
3113 (clean): Clean up gdb.perf parallel build subdirs.
3114 * lib/build-piece.exp: New file.
3115 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3116 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3118 (standard_temp_file): Ditto.
3119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3122 2015-07-24 Doug Evans <dje@google.com>
3124 * gdb.perf/lib/perftest/utils.py: New file.
3125 * gdb.perf/gm-hello.cc: New file.
3126 * gdb.perf/gm-pervasive-typedef.cc: New file.
3127 * gdb.perf/gm-pervasive-typedef.h: New file.
3128 * gdb.perf/gm-std.cc: New file.
3129 * gdb.perf/gm-std.h: New file.
3130 * gdb.perf/gm-use-cerr.cc: New file.
3131 * gdb.perf/gm-utils.h: New file.
3132 * gdb.perf/gmonster-null-lookup.py: New file.
3133 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3134 * gdb.perf/gmonster-print-cerr.py: New file.
3135 * gdb.perf/gmonster-ptype-string.py: New file.
3136 * gdb.perf/gmonster-runto-main.py: New file.
3137 * gdb.perf/gmonster-select-file.py: New file.
3138 * gdb.perf/gmonster1-null-lookup.exp: New file.
3139 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3140 * gdb.perf/gmonster1-print-cerr.exp: New file.
3141 * gdb.perf/gmonster1-ptype-string.exp: New file.
3142 * gdb.perf/gmonster1-runto-main.exp: New file.
3143 * gdb.perf/gmonster1-select-file.exp: New file.
3144 * gdb.perf/gmonster1.cc: New file.
3145 * gdb.perf/gmonster1.exp: New file.
3146 * gdb.perf/gmonster2-null-lookup.exp: New file.
3147 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3148 * gdb.perf/gmonster2-print-cerr.exp: New file.
3149 * gdb.perf/gmonster2-ptype-string.exp: New file.
3150 * gdb.perf/gmonster2-runto-main.exp: New file.
3151 * gdb.perf/gmonster2-select-file.exp: New file.
3152 * gdb.perf/gmonster2.cc: New file.
3153 * gdb.perf/gmonster2.exp: New file.
3155 2015-07-24 Doug Evans <dje@google.com>
3157 * gdb.perf/README: New file.
3158 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3159 * lib/gen-perf-test.exp: New file.
3161 2015-07-24 Doug Evans <dje@google.com>
3163 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3164 (PerfTest::startup): New function.
3165 (PerfTest::run): Return result of calling body.
3166 (PerfTest::assemble): Rewrite.
3167 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3168 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3169 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3170 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3171 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3173 2015-07-24 Doug Evans <dje@google.com>
3175 * lib/gdb.exp (clean_restart): Make executable optional.
3177 2015-07-24 Doug Evans <dje@google.com>
3179 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3180 compiler_info references.
3181 * gdb.cp/temargs.exp: Ditto.
3182 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3183 (get_compiler_info): Early exit if already computed. Set compiler_info
3184 to "unknown" if there was a problem.
3185 (test_compiler_info): Add function comment. Call get_compiler_info.
3187 2015-07-24 Doug Evans <dje@google.com>
3189 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3190 (workers/%.worker, build-perf): New rule.
3191 (GDB_PERFTEST_MODE): New variable.
3192 (check-perf): Use it.
3193 (clean): Clean up gdb.perf parallel build subdirs.
3194 * lib/build-piece.exp: New file.
3195 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3196 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3198 (standard_temp_file): Ditto.
3199 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3202 2015-07-24 Doug Evans <dje@google.com>
3204 * lib/future.exp (gdb_default_target_compile): New option
3206 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3209 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3211 * gdb.base/catch-syscall.exp: Call gdb_exit before
3214 2015-07-24 Pedro Alves <palves@redhat.com>
3216 * gdb.python/py-events.exp: Accept output between the stop event
3218 * gdb.python/py-evsignal.exp: Likewise.
3219 * gdb.python/py-evthreads.exp: Likewise.
3221 2015-07-24 Pedro Alves <palves@redhat.com>
3224 * gdb.threads/non-ldr-exit.c: New file.
3225 * gdb.threads/non-ldr-exit.exp: New file.
3227 2015-07-24 Yao Qi <yao.qi@linaro.org>
3229 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3232 2015-07-24 Yao Qi <yao.qi@linaro.org>
3234 * gdb.server/ext-restart.exp: New file.
3236 2015-07-24 Yao Qi <yao.qi@linaro.org>
3238 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3240 * gdb.server/ext-wrapper.exp: New file.
3242 2015-07-23 Doug Evans <dje@google.com>
3244 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3245 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3247 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3249 * gdb.ada/var_arr_typedef.exp: New testcase.
3250 * gdb.ada/var_arr_typedef/pack.adb: New file.
3251 * gdb.ada/var_arr_typedef/pack.ads: New file.
3252 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3254 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3256 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3258 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3260 * gdb.arch/i386-biarch-core.exp: Replace istarget
3261 by "complete set gnutarget". Remove expectation for the "core-file"
3264 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3266 Revert the previous commit:
3267 Tests for validate symbol file using build-id.
3269 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3271 Tests for validate symbol file using build-id.
3272 * gdb.base/solib-mismatch-lib.c: New file.
3273 * gdb.base/solib-mismatch-libmod.c: New file.
3274 * gdb.base/solib-mismatch.c: New file.
3275 * gdb.base/solib-mismatch.exp: New file.
3277 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3279 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3281 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3282 * gdb.base/siginfo.exp: Likewise.
3283 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3285 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3287 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3289 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3291 * gdb.trace/range-stepping.exp: Check that the target supports
3294 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3296 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3298 2015-07-14 Pedro Alves <palves@redhat.com>
3300 * gdb.base/killed-outside.exp: New file.
3301 * gdb.base/killed-outside.c: New file.
3303 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3305 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3307 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3309 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3311 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3312 infcall tests instead of setting up for KFAIL.
3314 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3316 * gdb.btrace/record_goto-step.exp: New.
3318 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3321 * gdb.compile/compile.c (struct struct_type): Add volatile to
3323 * gdb.compile/compile.exp
3324 (compile code struct_object.selffield = &struct_object): Skip further
3325 struct_object tests if this one xfails.
3327 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3330 * gdb.trace/ax.exp: Add test.
3332 2015-07-07 Yao Qi <yao.qi@linaro.org>
3334 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3335 instead of istarget "aarch64*-*-*".
3336 * gdb.arch/aarch64-fp.exp: Likewise.
3337 * gdb.base/float.exp: Likewise.
3338 * gdb.reverse/aarch64.exp: Likewise.
3339 * lib/gdb.exp (is_aarch64_target): New proc.
3341 2015-07-07 Yao Qi <yao.qi@linaro.org>
3343 * lib/gdb.exp (is_aarch32_target): New proc.
3344 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3345 instead of "istarget "arm*-*-*"".
3346 * gdb.arch/arm-disp-step.exp: Likewise.
3347 * gdb.arch/thumb-bx-pc.exp: Likewise.
3348 * gdb.arch/thumb-prologue.exp: Likewise.
3349 * gdb.arch/thumb-singlestep.exp: Likewise.
3350 * gdb.base/disp-step-syscall.exp: Likewise.
3351 * gdb.base/float.exp: Likewise.
3353 2015-07-07 Yao Qi <yao.qi@linaro.org>
3355 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3356 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3358 2015-07-07 Yao Qi <yao.qi@linaro.org>
3360 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3361 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3363 * gdb.multi/multi-arch.exp: Likewise.
3365 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3367 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3370 2015-07-07 Yao Qi <yao.qi@linaro.org>
3372 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3374 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3376 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3377 '[' and ']' characters.
3379 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3381 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3383 2015-06-29 Pedro Alves <palves@redhat.com>
3386 * gdb.threads/hand-call-new-thread.c: New file.
3387 * gdb.threads/hand-call-new-thread.c: New file.
3389 2015-06-26 Keith Seitz <keiths@redhat.com>
3390 Doug Evans <dje@google.com>
3393 * gdb.cp/var-tag-2.cc: New file.
3394 * gdb.cp/var-tag-3.cc: New file.
3395 * gdb.cp/var-tag-4.cc: New file.
3396 * gdb.cp/var-tag.cc: New file.
3397 * gdb.cp/var-tag.exp: New file.
3399 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3401 * gdb.base/history-duplicates.exp: New test.
3403 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3405 * gdb.base/completion.exp: Test the completion of the "focus"
3408 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3410 * gdb.arch/amd64-prologue-skip.S: New file.
3411 * gdb.arch/amd64-prologue-skip.exp: New file.
3413 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3415 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3416 is_address_zero_readable check.
3418 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3420 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3421 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3423 2015-06-24 Yao Qi <yao.qi@linaro.org>
3425 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3428 2015-06-24 Yao Qi <yao.qi@linaro.org>
3430 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3431 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3432 * gdb.base/siginfo-thread.exp: Likewise.
3434 2015-06-22 Yao Qi <yao.qi@linaro.org>
3436 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3438 2015-06-22 Yao Qi <yao.qi@linaro.org>
3440 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3442 (skip_hw_watchpoint_tests): Likewise.
3444 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3446 * gdb.base/gdbinit-history.exp: Test the interaction between
3447 setting GDBHISTSIZE and setting the history size via .gdbinit.
3449 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3452 * gdb.base/gdbhistsize-history.exp: New test.
3454 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3456 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3458 * gdb.base/readline.exp: Likewise.
3460 2015-06-17 Yao Qi <yao.qi@linaro.org>
3462 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3465 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3467 * gdb.base/gdbinit-history.exp: Add test case to check that
3468 an unlimited history file does not get truncated on exit.
3470 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3472 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3473 (VECTOR): New macro. Use it...
3474 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3475 ...for these typedefs.
3476 (int8, char1, int1, double1): New typedefs.
3477 (struct just_int2, struct two_int2): New structures.
3478 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3479 (add_structvecs, add_singlevecs): New functions.
3480 (main): Call add_some_intvecs twice.
3481 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3482 the compile and exit upon failure. Try compiling for the "native"
3483 architecture. Test inferior function calls with vector arguments
3484 and vector return value handling with "finish" and "return".
3486 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3488 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3489 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3491 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3493 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3495 PR breakpoints/16465
3496 * gdb.mi/mi-dprintf-pending.c: New file.
3497 * gdb.mi/mi-dprintf-pending.exp: New test.
3498 * gdb.mi/mi-dprintf-pendshr.c: New file.
3500 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3501 Mircea Gherzan <mircea.gherzan@intel.com>
3503 * gdb.arch/i386-mpx-map.c: New file.
3504 * gdb.arch/i386-mpx-map.exp: New File.
3506 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3508 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3509 * gdb.arch/i386-mpx.exp: Indentation fixed.
3511 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3513 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3514 function and improved indentation.
3515 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3516 gdb_test_multiple. Added additional tests to skip the test.
3518 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3520 * gdb.arch/i386-avx512.c: Change path in include file.
3521 * gdb.arch/i386-avx512.exp: Change include dir path
3523 * gdb.arch/i386-mpx.c: Change path in include file.
3524 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3527 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3529 * gdb.compile/compile-print.exp (compile print *vararray@3)
3530 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3532 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3534 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3535 (do not keep jit in memory): ... this.
3536 (expect 5): Change it to ...
3537 (expect no 5): ... this.
3539 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3542 * gdb.mi/mi-detach.exp: New file.
3544 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3547 * gdb.arch/amd64-tailcall-self.S: New file.
3548 * gdb.arch/amd64-tailcall-self.c: New file.
3549 * gdb.arch/amd64-tailcall-self.exp: New file.
3551 2015-05-28 Don Breazeal <donb@codesourcery.com>
3553 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3554 tests for remote targets by checking is_target_gdbserver.
3556 2015-05-27 Doug Evans <dje@google.com>
3558 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3559 * gdb.dwarf2/opaque-type-lookup.c: New file.
3560 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3562 2015-05-26 Doug Evans <dje@google.com>
3564 * gdb.cp/iostream.cc: New file.
3565 * gdb.cp/iostream.exp: New file.
3567 2015-05-26 Doug Evans <dje@google.com>
3569 * gdb.dwarf2/dw2-op-call.exp: Update.
3570 * gdb.dwarf2/dw4-sig-types.exp: Update.
3571 * gdb.dwarf2/implptr.exp: Update.
3572 * gdb.mi/mi-cmd-param-changed.exp: Update.
3574 2015-05-26 Doug Evans <dje@google.com>
3576 * gdb.python/py-lazy-string.c: New file.
3577 * gdb.python/py-lazy-string.exp: New file.
3578 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3579 (main): Update. Add estring3.
3580 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3581 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3583 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3584 Yao Qi <yao.qi@linaro.org>
3586 * gdb.reverse/aarch64.c: New.
3587 * gdb.reverse/aarch64.exp: New.
3589 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3591 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3592 (supports_reverse): Likewise.
3594 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3596 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3597 Use with_test_prefix.
3599 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3601 * gdb.base/completion.exp: Add test for completion of layout
3604 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3606 * lib/gdb.exp (skip_tui_tests): New proc.
3607 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3609 2015-05-19 Pedro Alves <palves@redhat.com>
3611 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3612 Save the whole env array instead of just HOME. Unset HISTSIZE in
3613 the environment while testing. Restore whole environment
3616 2015-05-16 Doug Evans <xdje42@gmail.com>
3618 * gdb.guile/scm-ports.c: New file.
3619 * gdb.guile/scm-ports.exp: Add memory port tests.
3621 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3623 * gdb.compile/compile-print.c: New file.
3624 * gdb.compile/compile-print.exp: New file.
3626 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3628 * gdb.compile/compile-ops.exp: Cast param to void.
3629 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3630 (compile code struct_object.selffield = &struct_object): Add xfail.
3632 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3634 * gdb.ada/arr_enum_with_gap: New testcase.
3636 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3638 * gdb.ada/byte_packed_arr: New testcase.
3640 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3642 * gdb.ada/pckd_neg: New testcase.
3644 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3647 * gdb.base/gdbinit-history.exp: New test.
3648 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3649 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3651 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3653 * gdb.python/py-xmethods.cc: Enhance test case.
3654 * gdb.python/py-xmethods.exp: New tests.
3655 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3657 (B_indexoper): Likewise.
3658 (global_dm_list) : Add new xmethod worker functions.
3660 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3662 * gdb.base/coredump-filter.exp: Correctly unset
3663 "coredump_var_addr" array.
3665 2015-05-08 Pedro Alves <palves@redhat.com>
3667 * gdb.server/non-existing-program.exp: Unset spawn_id.
3669 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3672 * gdb.python/py-xmethods.exp: Add tests.
3674 2015-05-08 Yao Qi <yao.qi@linaro.org>
3677 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3678 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3679 function set_coredump_filter, and remove remote_exec call.
3680 Remove argument ipid. Callers update.
3681 (top level): Don't get inferior's PID.
3683 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3685 * gdb.base/watch_thread_num.exp: Skip test on targets without
3688 2015-05-06 Pedro Alves <palves@redhat.com>
3691 * gdb.server/non-existing-program.exp: New file.
3693 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3695 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3697 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3699 * gdb.ada/out_of_line_in_inlined: New testcase.
3701 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3703 * gdb.ada/var_rec_arr: New testcase.
3705 2015-04-30 Yao Qi <yao.qi@linaro.org>
3707 * gdb.base/break-idempotent.exp: If
3708 skip_hw_watchpoint_multi_tests returns true, skip the tests
3709 on "rwatch" and "awatch".
3711 2015-04-30 Yao Qi <yao.qi@linaro.org>
3713 * gdb.base/relativedebug.exp: Invoke gdb command
3714 "info sharedlibrary", and if libc.so doesn't have debug info,
3717 2015-04-29 Doug Evans <dje@google.com>
3719 * gdb.python/py-xmethods.exp: Add ptype tests.
3720 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3721 get_result_type method.
3723 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3725 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3726 the target does not support hardware watchpoints.
3728 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3730 * gdb.base/break-always.exp: Abort testing if writing to memory
3733 2015-04-28 Doug Evans <dje@google.com>
3735 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3736 * gdb.python/py-pp-registration.exp: ... here. New file.
3737 * gdb.python/py-pp-registration.c: New file.
3738 * gdb.python/py-pp-registration.py: New file.
3740 2015-04-28 Doug Evans <dje@google.com>
3742 * gdb.python/py-bad-printers.c: New file.
3743 * gdb.python/py-bad-printers.py: New file.
3744 * gdb.python/py-bad-printers.exp: New file.
3746 2015-04-28 Sasha Smundak <asmundak@google.com>
3748 * gdb.python/py-type.exp: New test.
3750 2015-04-28 Andy Wingo <wingo@igalia.com>
3752 * gdb.python/py-parameter.exp:
3753 * gdb.guile/scm-parameter.exp: Escape the path that we are
3754 matching against, as it might contain characters that are special
3755 to regular expressions.
3757 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3759 * gdb.ada/rec_comp: New testcase.
3761 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3763 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3766 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3768 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3769 new tests for verilog output.
3771 2015-04-24 Yao Qi <yao.qi@linaro.org>
3773 * boards/remote-gdbserver-on-localhost.exp: New file.
3775 2015-04-23 Pedro Alves <palves@redhat.com>
3777 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3778 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3779 "end of file", remove $inferior_spawn_id from the indirect list.
3781 2015-04-23 Pedro Alves <palves@redhat.com>
3783 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3785 2015-04-23 Pedro Alves <palves@redhat.com>
3787 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3788 on $any_spawn_id instead of only on $gdb_spawn_id.
3790 2015-04-21 Pierre Muller <muller@sourceware.org>
3793 * lib/pascal.exp (gpc_compile): Add new option "class".
3794 (fpc_compile): Likewise.
3795 * gdb.pascal/case-insensitive-symbols.pas: New file.
3796 * gdb.pascal/case-insensitive-symbols.exp: New file.
3798 2015-04-20 Gary Benson <gbenson@redhat.com>
3800 * gdb.base/attach.exp: Fix three extended remote failures.
3802 2015-04-17 Gary Benson <gbenson@redhat.com>
3804 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3805 the main executable over the remote protocol.
3807 2015-04-16 Pedro Alves <palves@redhat.com>
3809 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3810 a new gdbserver if gdbserver_reconnect_p is set.
3812 2015-04-16 Pedro Alves <palves@redhat.com>
3814 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3815 is set, don't exit gdbserver.
3817 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3819 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3820 appropriate .insn, such that an older assembler can be used.
3821 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3822 the z/Architecture instruction set on 31-bit targets as well.
3824 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3826 * gdb.go/handcall.exp: Remove all logic related to the first
3827 breakpoint and rely on go_runto_main instead.
3828 * gdb.go/strings.exp: Likewise.
3829 * gdb.go/unsafe.exp: Likewise.
3830 * gdb.go/hello.exp: Likewise. Also rename the remaining
3831 breakpoint marker to "breakpoint 1".
3832 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3833 * gdb.go/strings.go: Likewise.
3834 * gdb.go/unsafe.go: Likewise.
3835 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3836 "set breakpoint 2 here" and rename the remaining breakpoint marker
3839 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3841 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3842 if itertools.imap is not present.
3843 * gdb.python/py-objfile.exp: Add parentheses.
3844 * gdb.python/py-type.exp: Same.
3845 * gdb.python/py-unwind-maint.py: Same.
3847 2015-04-15 Yao Qi <yao.qi@linaro.org>
3849 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3850 of ":$ptr_size" and set its form explicitly.
3852 2015-04-15 Pedro Alves <palves@redhat.com>
3853 Yao Qi <yao.qi@linaro.org>
3855 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3856 timeout by factor of 4.
3857 (test_regular_watch): Likewise.
3858 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3859 * gdb.reverse/sigall-reverse.exp: Likewise.
3860 * gdb.reverse/until-precsave.exp: Likewise.
3861 * lib/gdb.exp (with_timeout_factor): New proc.
3862 (gdb_expect): Move some code to ...
3863 (get_largest_timeout): ... here. New procedure.
3865 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3867 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3869 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3871 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3872 to write to the .text section.
3874 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3876 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3877 Handle the case of targets that do not provide PID information.
3879 2015-04-13 Yao Qi <yao.qi@linaro.org>
3881 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3882 and use expect instead of gdb_expect.
3884 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3886 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3887 "coredump_var_addr" to avoid naming conflict with other testcases.
3889 2015-04-10 Pedro Alves <palves@redhat.com>
3891 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3892 gdb_test_sequence and gdb_assert.
3894 2015-04-10 Pedro Alves <palves@redhat.com>
3896 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3897 test messages that don't include the breakpoint address.
3899 2015-04-10 Yao Qi <yao.qi@linaro.org>
3901 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3902 false for some offset and width combinations which aren't
3903 supported by linux kernel.
3905 2015-04-10 Pedro Alves <palves@redhat.com>
3907 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3908 procedure, factored out from ...
3909 (top level): ... here. Add "set displaced-stepping" testing axis.
3910 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3911 parameter "displaced". Use it.
3912 (top level): Use foreach and add "set displaced-stepping" testing
3915 2015-04-10 Pedro Alves <palves@redhat.com>
3917 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3919 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3920 both the address of the instruction that triggers the watchpoint
3921 and the address of the instruction immediately after, and use
3922 those addresses for the test. Fix comment.
3924 2015-04-10 Pedro Alves <palves@redhat.com>
3926 * gdb.base/sigstep.exp (breakpoint_to_handler)
3927 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3928 Test "backtrace" in handler.
3929 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3930 (top level): Add new "displaced" test axis to
3931 breakpoint_to_handler, breakpoint_to_handler_entry and
3932 breakpoint_over_handler.
3934 2015-04-10 Pedro Alves <palves@redhat.com>
3937 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3939 2015-04-10 Yao Qi <yao.qi@linaro.org>
3941 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3942 (test_add_rn_pc): New function.
3943 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3944 (top level): Invoke test_add_rn_pc.
3946 2015-04-10 Pedro Alves <palves@redhat.com>
3949 * gdb.base/step-over-no-symbols.exp: New file.
3951 2015-04-09 Andy Wingo <wingo@igalia.com>
3953 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3954 after the Python tests.
3956 2015-04-08 Keith Seitz <keiths@redhat.com>
3959 * gdb.python/py-completion.exp: New tests for completion.
3960 * gdb.python/py-completion.py (CompleteLimit1): New class.
3961 (CompleteLimit2): Likewise.
3962 (CompleteLimit3): Likewise.
3963 (CompleteLimit4): Likewise.
3964 (CompleteLimit5): Likewise.
3965 (CompleteLimit6): Likewise.
3966 (CompleteLimit7): Likewise.
3968 2015-04-08 Pedro Alves <palves@redhat.com>
3972 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3974 (main): Install it as SIGUSR1 handler.
3975 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3976 parameter. Always use "setup" as prefix. Toggle "set
3977 displaced-stepping" off/on depending on global. Don't switch to
3979 (top level): Add displaced stepping "off/on" test axis. Update
3980 "setup" calls. Wrap each subtest with with_test_prefix. Test
3981 continuing with a queued signal in each thread.
3983 2015-04-08 Pedro Alves <palves@redhat.com>
3985 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3986 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3987 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3988 Return early if running to main fails.
3989 * gdb.trace/while-stepping.exp: Likewise.
3991 2015-04-07 Pedro Alves <palves@redhat.com>
3993 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3994 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3995 interact with inferior program.
3997 2015-04-07 Pedro Alves <palves@redhat.com>
3999 * lib/gdb.exp (inferior_spawn_id): New global.
4000 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4001 spawn id after processing the user code.
4002 (default_gdb_start): Set inferior_spawn_id.
4003 (send_inferior): New procedure.
4004 * lib/gdbserver-support.exp (gdbserver_start): Set
4006 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4008 2015-04-07 Pedro Alves <palves@redhat.com>
4010 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4011 * lib/gdbserver-support.exp (gdbserver_start): Make
4012 $server_spawn_id global.
4013 (gdbserver_start): Don't wait for gdbserver's spawn id with
4015 (close_gdbserver): New procedure.
4016 (gdb_exit): Rename the default version and reimplement.
4018 2015-04-07 Pedro Alves <palves@redhat.com>
4020 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4021 append the substituted item, not the original item.
4023 2015-04-07 Pedro Alves <palves@redhat.com>
4025 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4028 2015-04-07 Pedro Alves <palves@redhat.com>
4030 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4031 output appearing once only.
4033 2015-04-07 Pedro Alves <palves@redhat.com>
4035 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4036 that doesn't expect anything. Return early if running to main
4039 2015-04-07 Yao Qi <yao.qi@linaro.org>
4041 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4042 (child_function): Call alarm.
4043 (main): Move call to alarm into the loop.
4044 * gdb.threads/non-stop-fair-events.exp: Build program with
4047 2015-04-06 Doug Evans <xdje42@gmail.com>
4049 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4050 Fix dest parameter to board_info.
4051 (fpc_compile): Ditto.
4052 (gdb_compile_pascal): Rename dest arg to destfile.
4054 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4056 * gdb.ada/funcall_ref.exp: New file.
4057 * gdb.ada/funcall_ref/foo.adb: New file.
4059 2015-04-02 Yao Qi <yao.qi@linaro.org>
4061 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4064 2015-04-02 Gary Benson <gbenson@redhat.com>
4066 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4068 2015-04-01 Sasha Smundak <asmundak@google.com>
4070 * gdb.python/py-unwind-maint.c: New file.
4071 * gdb.python/py-unwind-maint.exp: New test.
4072 * gdb.python/py-unwind-maint.py: New file.
4073 * gdb.python/py-unwind.c: New file.
4074 * gdb.python/py-unwind.exp: New test.
4075 * gdb.python/py-unwind.py: New test.
4077 2015-04-01 Pedro Alves <palves@redhat.com>
4079 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4080 to fail instead of non-existent $test.
4082 2015-04-01 Pedro Alves <palves@redhat.com>
4084 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4085 GDBFLAGS if not empty.
4087 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4089 * gdb.ada/complete.exp: Remove "multi_line".
4090 * gdb.ada/info_exc.exp: Remove "multi_line".
4091 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4092 * gdb.ada/ptype_field.exp: Remove "multi_line".
4093 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4094 * gdb.ada/tagged.exp: Remove "multi_line".
4095 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4097 * gdb.btrace/delta.exp: Likewise.
4098 * gdb.btrace/exception.exp: Likewise.
4099 * gdb.btrace/function_call_history.exp: Likewise.
4100 * gdb.btrace/instruction_history.exp: Likewise.
4101 * gdb.btrace/nohist.exp: Likewise.
4102 * gdb.btrace/record_goto.exp: Likewise.
4103 * gdb.btrace/segv.exp: Likewise.
4104 * gdb.btrace/stepi.exp: Likewise.
4105 * gdb.btrace/tailcall.exp: Likewise.
4106 * gdb.btrace/unknown_functions.exp: Likewise.
4107 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4108 * lib/gdb.exp: Add the "multi_line" helper.
4110 2015-04-01 Pedro Alves <palves@redhat.com>
4112 * gdb.threads/tid-reuse.c: New file.
4113 * gdb.threads/tid-reuse.exp: New file.
4115 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4118 * gdb.base/coredump-filter.c: New file.
4119 * gdb.base/coredump-filter.exp: Likewise.
4121 2015-03-27 Petr Machata <pmachata@redhat.com>
4123 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4124 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4125 (Dwarf::assemble): Initialize them.
4126 (Dwarf::lines): New function.
4128 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4130 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4131 SYMBOL_PREFIX for x86_64-*-cygwin.
4133 2015-03-26 Andy Wingo <wingo@igalia.com>
4136 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4137 const_value but not a location.
4138 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4139 location defined in non-main CUs are visible.
4141 2015-03-26 Yao Qi <yao.qi@linaro.org>
4144 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4145 Add a line number entry for the same line.
4146 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4147 Add a line number entry for the same line.
4149 2015-03-26 Yao Qi <yao.qi@linaro.org>
4151 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4153 (func): Likewise. Add .Lfunc_1 label.
4155 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4160 2015-03-26 Yao Qi <yao.qi@linaro.org>
4162 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4163 Call gdb_compile instead to compile each .s files without debug
4166 2015-03-26 Yao Qi <yao.qi@linaro.org>
4168 * gdb.base/savedregs.exp (process_saved_regs): Make
4169 "Saved registers:" optional in the pattern.
4171 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4173 * gdb.btrace/next.exp: Merged into step.exp.
4174 * gdb.btrace/finish.exp: Merged into step.exp.
4175 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4176 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4177 "record goto" and checking the exact replay position.
4178 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4179 check for "Recording format" in "info record" output.
4180 * gdb.btrace/record_goto.exp: Choose test file based on target.
4181 * gdb.btrace/x86-record_goto.S: Renamed into ...
4182 * gdb.btrace/x86_64-record_goto.S: ... this.
4183 * gdb.btrace/i686-record_goto.S: New.
4184 * gdb.btrace/x86-tailcall.S: Renamed into ...
4185 * gdb.btrace/x86_64-tailcall.S: ... this.
4186 * gdb.btrace/i686-tailcall.S: New.
4187 * gdb.btrace/x86-tailcall.c: Renamed into ...
4188 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4189 separate statements. Update test.
4190 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4191 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4192 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4193 * gdb.btrace/tailcall.exp: Choose test file based on target.
4194 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4196 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4198 * gdb.btrace/exception.exp: Increase BTS buffer size.
4200 2015-03-24 Pedro Alves <palves@redhat.com>
4202 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4204 2015-03-24 Pedro Alves <palves@redhat.com>
4206 * gdb.threads/schedlock.exp (test_step): No longer expect that
4207 "set scheduler-locking step" with "next" over a function call runs
4210 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4212 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4214 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4216 PR breakpoints/16466
4217 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4218 * gdb.mi/mi-pending.c (thread_func): New function.
4219 (int main): Add threading support required.
4220 * gdb.mi/mi-pending.exp: Add tests for this issue.
4221 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4222 (pendfunc2): Remove stdio dependency.
4223 * gdb.mi/mi-pendshr2.c: New file.
4225 2015-03-23 Keith Seitz <keiths@redhat.com>
4227 * gdb.linespec/keywords.c: New file.
4228 * gdb.linespec/keywords.exp: New file.
4230 2015-03-23 Keith Seitz <keiths@redhat.com>
4233 * gdb.dwarf2/staticvirtual.exp: New test.
4235 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4237 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4238 * README: Remove HP-UX and gdb.hp.
4240 * configure: Regenerate.
4241 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4242 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4243 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4244 gdb.hp/gdb.defects/Makefile.
4245 * gdb.hp/Makefile.in: File deleted.
4246 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4247 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4248 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4249 * gdb.hp/gdb.aCC/run.c: File deleted.
4250 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4251 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4252 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4253 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4254 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4255 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4256 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4257 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4258 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4259 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4260 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4261 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4262 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4263 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4264 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4265 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4266 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4267 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4268 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4269 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4270 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4271 * gdb.hp/gdb.compat/average.c: File deleted.
4272 * gdb.hp/gdb.compat/sum.c: File deleted.
4273 * gdb.hp/gdb.compat/xdb.c: File deleted.
4274 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4275 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4276 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4277 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4278 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4279 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4280 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4281 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4282 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4283 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4284 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4285 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4286 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4287 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4288 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4289 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4290 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4291 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4292 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4293 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4294 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4295 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4296 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4297 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4298 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4299 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4300 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4301 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4302 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4303 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4304 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4305 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4306 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4307 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4308 * gdb.hp/tools/odump: File deleted.
4310 2015-03-19 Pedro Alves <palves@redhat.com>
4312 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4313 (saw_thread_3): New globals.
4314 (top level): Increment them when an event for the corresponding
4316 (no thread starvation): New test.
4318 2015-03-19 Pedro Alves <palves@redhat.com>
4320 * gdb.threads/continue-pending-status.c: New file.
4321 * gdb.threads/continue-pending-status.exp: New file.
4323 2015-03-18 Pedro Alves <palves@redhat.com>
4325 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4326 Use gdb_is_target_remote instead of is_remote. Use
4327 gdb_test_multiple instead of gdb_expect. Exit early if
4328 gdb_test_multiple hits its internal matches. Tighten stepi tests
4329 expected output. Fail on exit with any signal, instead of just
4332 2015-03-18 Yao Qi <yao.qi@linaro.org>
4335 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4337 * gdb.base/catch-syscall.exp: Don't skip it on
4338 aarch64*-*-linux* target. Remove elements in all_syscalls.
4339 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4341 (setup_all_syscalls): New proc.
4343 2015-03-16 Yao Qi <yao.qi@linaro.org>
4345 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4346 (top level): Skip tests if valid_addr_p returns false for
4349 2015-03-11 Andy Wingo <wingo@igalia.com>
4351 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4353 2015-03-11 Yao Qi <yao.qi@linaro.org>
4355 * gdb.base/catch-syscall.exp: Fix typo in comments.
4357 2015-03-11 Yao Qi <yao.qi@linaro.org>
4359 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4361 2015-03-09 Pedro Alves <palves@redhat.com>
4363 * dg-extract-results.py: Delete.
4365 2015-03-09 Pedro Alves <palves@redhat.com>
4367 Merge dg-extract-results.sh from GCC upstream (r218843).
4369 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4370 * dg-extract-results.sh: Use --text with grep to avoid issues with
4371 binary files. Fall back to cat -v, if that doesn't work.
4373 2015-03-05 Pedro Alves <palves@redhat.com>
4375 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4377 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4379 * lib/mi-support.exp (mi_expect_interrupt): Accept
4380 alternative event for when in all-stop mode.
4382 2015-03-04 Pedro Alves <palves@redhat.com>
4384 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4386 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4388 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4390 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4393 regexps for GDB's current line display, accept a hex address
4394 preceding the line number.
4396 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4398 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4399 the 'arch1' variable for "s390*-linux*" targets.
4401 2015-03-04 Pedro Alves <palves@redhat.com>
4403 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4404 (main): Pass missing retval argument to pthread_join call.
4406 2015-03-02 Pedro Alves <palves@redhat.com>
4408 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4409 (top level): Call do_test with non-stop as well.
4411 2015-03-02 Pedro Alves <palves@redhat.com>
4413 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4416 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4418 * gdb.arch/s390-vregs.exp: New test.
4419 * gdb.arch/s390-vregs.S: New file.
4421 2015-02-27 Pedro Alves <palves@redhat.com>
4423 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4424 call to catch_command_errors.
4425 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4426 catch_command_errors.
4428 2015-02-27 Pedro Alves <palves@redhat.com>
4430 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4431 "true" for boolean result.
4432 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4435 2015-02-27 Pedro Alves <palves@redhat.com>
4437 * lib/unbuffer_output.c: New file.
4438 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4439 (main): Call gdb_unbuffer_output.
4441 2015-02-27 Yao Qi <yao.qi@linaro.org>
4443 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4446 2015-02-26 Doug Evans <dje@google.com>
4448 * gdb.cp/class2.cc (Dbase, D): New classes.
4449 (main): New local delta.
4450 * gdb.cp/class2.exp: Test printing delta.
4451 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4452 (dynbar): New global.
4453 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4455 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4457 * gdb.compile/compile-ifunc.c: New file.
4458 * gdb.compile/compile-ifunc.exp: New file.
4460 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4462 * gdb.base/structs.exp: Check for correct struct on finish.
4464 2015-02-26 Yao Qi <yao.qi@linaro.org>
4466 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4469 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4471 * gdb.arch/cordic.ko.bz2: New file.
4472 * gdb.arch/cordic.ko.debug.bz2: New file.
4473 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4475 2015-02-25 Yao Qi <yao.qi@linaro.org>
4477 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4478 aarch64*-*-* target.
4480 2015-02-23 Pedro Alves <palves@redhat.com>
4482 * lib/gdb.exp (delete_breakpoints): Rewrite using
4485 2015-02-23 Pedro Alves <palves@redhat.com>
4487 * gdb.base/info-os.c: Include stdlib.h.
4489 2015-02-22 Doug Evans <xdje42@gmail.com>
4492 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4493 is read after symbols have been re-read.
4494 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4495 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4497 2015-02-21 Doug Evans <dje@google.com>
4499 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4501 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4504 * gdb.arch/i386-biarch-core.core.bz2: New file.
4505 * gdb.arch/i386-biarch-core.exp: New file.
4507 2015-02-21 Pedro Alves <palves@redhat.com>
4509 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4512 2015-02-20 Pedro Alves <palves@redhat.com>
4514 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4517 2015-02-20 Pedro Alves <palves@redhat.com>
4519 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4521 2015-02-20 Pedro Alves <palves@redhat.com>
4523 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4524 clean_restart before gdb_target_supports_trace.
4526 2015-02-20 Pedro Alves <palves@redhat.com>
4529 * gdb.threads/clone-thread_db.c: New file.
4530 * gdb.threads/clone-thread_db.exp: New file.
4532 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4534 PR breakpoints/16812
4535 * gdb.base/catch-gdb-caused-signals.c: New file.
4536 * gdb.base/catch-gdb-caused-signals.exp: New file.
4538 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4540 * configure: Regenerated.
4541 * configure.ac: Use GDB_AC_TRANSFORM.
4542 * aclocal.m4: sinclude ../transform.m4.
4544 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4546 * lib/dtrace.exp: New file.
4547 * gdb.base/dtrace-probe.exp: Likewise.
4548 * gdb.base/dtrace-probe.d: Likewise.
4549 * gdb.base/dtrace-probe.c: Likewise.
4550 * lib/pdtrace.in: Likewise.
4551 * configure.ac: Output variables with the transformed names of
4552 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4553 * configure: Regenerated.
4555 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4557 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4558 expected message when trying to access $_probe_* convenience
4559 variables while not on a probe.
4561 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4563 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4565 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4567 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4568 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4570 2015-02-10 Doug Evans <xdje42@gmail.com>
4572 * lib/gdb.exp (gdb_load): Always return a result.
4574 2015-02-10 Pedro Alves <palves@redhat.com>
4576 * gdb.threads/signal-sigtrap.c: New file.
4577 * gdb.threads/signal-sigtrap.exp: New file.
4579 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4581 * gdb.trace/no-attach-trace.c: New file.
4582 * gdb.trace/no-attach-trace.exp: New file.
4584 2015-02-09 Mark Wielaard <mjw@redhat.com>
4586 * gdb.dwarf2/atomic.c: New file.
4587 * gdb.dwarf2/atomic-type.exp: Likewise.
4589 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4591 * gdb.btrace/buffer-size.exp: Update "info record" output.
4592 * gdb.btrace/delta.exp: Update "info record" output.
4593 * gdb.btrace/enable.exp: Update "info record" output.
4594 * gdb.btrace/finish.exp: Update "info record" output.
4595 * gdb.btrace/instruction_history.exp: Update "info record" output.
4596 * gdb.btrace/next.exp: Update "info record" output.
4597 * gdb.btrace/nexti.exp: Update "info record" output.
4598 * gdb.btrace/step.exp: Update "info record" output.
4599 * gdb.btrace/stepi.exp: Update "info record" output.
4600 * gdb.btrace/nohist.exp: Update "info record" output.
4602 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4604 * gdb.btrace/buffer-size: New.
4606 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4608 * gdb.btrace/delta.exp: Update "info record" output.
4609 * gdb.btrace/enable.exp: Update "info record" output.
4610 * gdb.btrace/finish.exp: Update "info record" output.
4611 * gdb.btrace/instruction_history.exp: Update "info record" output.
4612 * gdb.btrace/next.exp: Update "info record" output.
4613 * gdb.btrace/nexti.exp: Update "info record" output.
4614 * gdb.btrace/step.exp: Update "info record" output.
4615 * gdb.btrace/stepi.exp: Update "info record" output.
4616 * gdb.btrace/nohist.exp: Update "info record" output.
4618 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4621 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4623 2015-02-06 Pedro Alves <palves@redhat.com>
4625 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4627 (seconds_left, again): New globals.
4628 (main): Wait seconds_left in a 1-second sleep loop instead of
4629 sleeping 180 seconds. If 'again' is set, reset the seconds
4631 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4632 'again' in the inferior before detaching. Print the seconds left.
4633 (options): New global.
4634 (top level): Build program with -DTIMEOUT=$timeout.
4636 2015-02-06 Pedro Alves <palves@redhat.com>
4638 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4639 determine how many seconds to pass to 'alarm'.
4640 * gdb.base/gdb-sigterm.exp (top level): Build program with
4642 (do_test): Return success/failure indication. Add more verbose
4643 logging. Don't fail if 200 single steps are seen. Instead, fail
4644 when the test times out.
4645 (passes): New global.
4646 (top level): Break the testing loop if testing fails on any
4647 iteration. Use gdb_assert.
4649 2015-02-04 Don Breazeal <donb@codesourcery.com>
4651 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4652 and initialize them.
4653 (ipc_cleanup): New function.
4654 (main): Don't declare shmid, semid, and msqid. Add a call to
4655 atexit so that we call ipc_cleanup on exit.
4657 2015-02-04 Pedro Alves <palves@redhat.com>
4659 * boards/native-extended-gdbserver.exp: Remove any target variant
4660 specifications from the board name before clearing the isremote
4661 flag from board_info.
4663 2015-01-31 Doug Evans <xdje42@gmail.com>
4665 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4667 2015-01-31 Gary Benson <gbenson@redhat.com>
4669 * gdb.base/completion.exp: Disable completion limiting for
4670 existing tests. Add new tests to check completion limiting.
4671 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4673 2015-01-31 Doug Evans <xdje42@gmail.com>
4675 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4677 2015-01-31 Doug Evans <xdje42@gmail.com>
4679 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4680 entries. Duplicate file section script entries.
4681 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4682 inlined entries. Add test for safe-path rejection.
4683 * gdb.python/py-section-script.c: Add duplicate inlined section script
4684 entries. Duplicate file section script entries.
4685 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4686 inlined entries. Add test for safe-path rejection.
4688 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4690 * gdb.ada/disc_arr_bound: New testcase.
4692 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4694 * gdb.ada/mi_var_array: New testcase.
4696 2015-01-27 Doug Evans <dje@google.com>
4698 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4699 Add test for objfile.filename, objfile.username after objfile
4702 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4704 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4705 the second test to print the name attribute of value
4706 returned by the call to gdb.lookup_type, and adjust
4707 the expected output accordingly.
4709 2015-01-25 Mark Wielaard <mjw@redhat.com>
4711 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4712 * gdb.base/disp-step-fork.c: Include unistd.h.
4713 * gdb.base/siginfo-obj.c: Include stdio.h.
4714 * gdb.base/siginfo-thread.c: Likewise.
4715 * gdb.mi/non-stop.c: Include unistd.h.
4716 * gdb.mi/nsthrexec.c: Include stdio.h.
4717 * gdb.mi/pthreads.c: Include unistd.h.
4718 * gdb.modula2/unbounded1.c (main): Declare returns int.
4719 * gdb.reverse/consecutive-reverse.c: Likewise.
4720 * gdb.threads/create-fail.c: Include unistd.h.
4721 * gdb.threads/killed.c: Likewise.
4722 * gdb.threads/linux-dp.c: Likewise.
4723 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4724 * gdb.threads/non-ldr-exc-2.c: Likewise.
4725 * gdb.threads/non-ldr-exc-3.c: Likewise.
4726 * gdb.threads/non-ldr-exc-4.c: Likewise.
4727 * gdb.threads/pthreads.c: Include unistd.h.
4728 (main): Declare returns int.
4729 * gdb.threads/tls-main.c (foo): New declaration.
4730 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4732 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4734 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4735 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4737 2015-01-15 Mark Wielaard <mjw@redhat.com>
4739 * gdb.base/noreturn-return.c: New file.
4740 * gdb.base/noreturn-return.exp: New file.
4741 * gdb.base/noreturn-finish.c: New file.
4742 * gdb.base/noreturn-finish.exp: New file.
4744 2015-01-23 Pedro Alves <palves@redhat.com>
4746 * gdb.threads/continue-pending-after-query.c: New file.
4747 * gdb.threads/continue-pending-after-query.exp: New file.
4749 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4750 Simon Marchi <simon.marchi@ericsson.com>
4752 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4753 * gdb.base/valgrind-db-attach.exp: Same.
4754 * gdb.base/valgrind-infcall.exp: Same.
4755 * lib/mi-support.exp (default_mi_gdb_start): Same.
4756 * lib/prompt.exp (default_prompt_gdb_start): Same.
4757 * lib/gdb.exp (default_gdb_spawn): Same.
4758 (gdb_interact): New.
4761 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4763 * gdb.compile/compile.exp (pointer to jit function): New test.
4765 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4767 * lib/gdb.exp (supports_process_record): Return true for
4769 (supports_reverse): Likewise.
4771 2015-01-15 Don Breazeal <donb@codesourcery.com>
4773 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4774 instead of checking whether the target board is remote and
4775 use spawn_wait_for_attach instead of exec/sleep.
4776 * gdb.base/attach-twice.exp: Likewise.
4778 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4780 * gdb.ada/var_arr_attrs: New testcase.
4782 2015-01-14 Pedro Alves <palves@redhat.com>
4783 Joel Brobecker <brobecker@adacore.com>
4786 * gdb.base/bp-cmds-execution-x-script.c: New file.
4787 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4788 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4790 2015-01-14 Pedro Alves <palves@redhat.com>
4793 * gdb.base/batch-preserve-term-settings.c: New file.
4794 * gdb.base/batch-preserve-term-settings.exp: New file.
4796 2015-01-13 Doug Evans <dje@google.com>
4798 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4801 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4803 * Makefile.in (clean mostlyclean): Do not delete *.py.
4805 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4807 * gdb.python/py-lookup-type.exp: New file.
4809 2015-01-12 Pedro Alves <palves@redhat.com>
4811 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4812 restore GDBFLAGS before returning.
4814 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4816 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4817 is_amd64_regs_target and is_x86_like_target.
4819 2015-01-11 Doug Evans <xdje42@gmail.com>
4821 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4822 is given without an explicit form.
4823 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4825 * gdb.dwarf/corrupt.exp: Ditto.
4826 * gdb.dwarf2/enum-type.exp: Ditto.
4827 * gdb.trace/entry-values.exp: Ditto.
4828 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4830 2015-01-11 Doug Evans <xdje42@gmail.com>
4833 * gdb.base/maint.exp: Remove references to "maint demangle".
4834 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4835 Add tests for explicitly specifying language to demangle.
4836 * gdb.dlang/demangle.exp: Ditto.
4838 2015-01-09 Pedro Alves <palves@redhat.com>
4840 * gdb.threads/non-stop-fair-events.c: New file.
4841 * gdb.threads/non-stop-fair-events.exp: New file.
4843 2015-01-09 Pedro Alves <palves@redhat.com>
4845 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4846 the global scope. Set a breakpoint after all threads are started
4847 rather than stepping over two source lines. Expect the prompt.
4848 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4851 (main): Use threads_started_barrier to wait for all threads to
4852 start. Main thread no longer calls thread_function. Exit after
4854 (loop): New function.
4855 (thread_function): Wait on threads_started_barrier barrier. Call
4856 'loop' at each iteration.
4857 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4858 threads have started, instead of hardcoding number of "next"
4859 steps. Use an access watchpoint instead of a write watchpoint.
4861 2015-01-09 Pedro Alves <palves@redhat.com>
4863 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4864 (thread_func): Wait on barrier.
4865 (main): Wait for all threads to start before stopping GDB.
4866 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4868 (thread1_func, thread2_func): Wait on barrier.
4869 (main): Wait for all threads to start before stopping GDB.
4870 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4872 (thread1_func, thread2_func): Wait on barrier.
4873 (main): Wait for all threads to start before stopping GDB.
4875 2015-01-09 Pedro Alves <palves@redhat.com>
4877 * gdb.threads/attach-many-short-lived-threads.c: New file.
4878 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4880 2014-01-09 Pedro Alves <palves@redhat.com>
4882 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4883 instead of to thread 2.
4884 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4885 Add barrier around each pthread_create call instead of around all
4887 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4888 Set a break on thread_function and have the child threads hit it
4891 2015-01-09 Pedro Alves <palves@redhat.com>
4893 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4894 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4896 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4897 checking whether the target board is remote.
4898 * gdb.multi/multi-attach.exp: Likewise.
4899 * gdb.python/py-sync-interp.exp: Likewise.
4900 * gdb.server/ext-attach.exp: Likewise.
4901 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4902 tests that need to attach, instead of checking whether the target
4903 board is remote at the top of the file.
4905 2015-01-08 Yao Qi <yao@codesourcery.com>
4907 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4909 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4911 Fix testcase compilation.
4912 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4914 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4916 * gdb.python/py-type.exp: Add a couple test about empty
4917 array creation, and negative-length array creation.
4919 2015-01-02 Doug Evans <xdje42@gmail.com>
4921 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4923 2015-01-02 Doug Evans <dje@google.com>
4925 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4927 2014-12-29 Yao Qi <yao@codesourcery.com>
4929 * gdb.trace/entry-values.exp: Update comments. Rename variable
4930 bar_call_foo to returned_from_foo.
4932 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4935 * gdb.linespec/break-asm-file.c: New file.
4936 * gdb.linespec/break-asm-file.exp: New file.
4937 * gdb.linespec/break-asm-file0.s: New file.
4938 * gdb.linespec/break-asm-file1.s: New file.
4940 2014-12-18 Nigel Stephens <nigel@mips.com>
4941 Maciej W. Rozycki <macro@codesourcery.com>
4943 * gdb.base/float.exp: Handle the new output from "info float" on
4946 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4948 Fix MinGW compilation.
4949 * gdb.compile/compile-ops.exp: Update untested message if
4950 !skip_compile_feature_tests.
4951 * gdb.compile/compile-setjmp.exp: Likewise.
4952 * gdb.compile/compile-tls.exp: Likewise.
4953 * gdb.compile/compile.exp: Likewise.
4954 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4955 supported on this host".
4957 2014-12-16 Doug Evans <xdje42@gmail.com>
4959 * boards/stabs.exp: New file.
4961 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4963 * gdb.base/completion.exp: Adjust to format changes of "maint
4964 print user-registers".
4966 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4969 * gdb.arch/aarch64-fp.c: New file.
4970 * gdb.arch/aarch64-fp.exp: New file.
4972 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4974 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4975 r210637, r210913, r211666, r215400, r215817).
4977 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4978 * dg-extract-results.py: New file.
4979 * dg-extract-results.sh: Use it if the environment seems
4982 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4984 * dg-extract-results.py (parse_run): Handle warnings that
4985 are printed before a test harness is run.
4987 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4989 * dg-extract-results.py (Named): Remove __cmp__ method.
4990 (output_variation): Use a key to sort variation.harnesses.
4992 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4994 * dg-extract-results.py: For Python 3, force sys.stdout to
4995 handle surrogate escape sequences.
4996 (safe_open): New function.
4997 (output_segment, main): Use it.
4999 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5001 * dg-extract-results.py (Prog.result_re): Include options
5004 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5006 * dg-extract-results.py (output_variation): Always sort if
5009 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5011 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5012 as long as we get pagination notifications.
5014 2014-12-15 Jason Merrill <jason@redhat.com>
5016 * Makefile.in (check-gdb.%): Restore.
5017 * README: Mention it.
5019 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5021 * gdb.ada/str_uninit: New testcase.
5023 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5026 * gdb.base/vla-stub-define.c: New file.
5027 * gdb.base/vla-stub.c: New file.
5028 * gdb.base/vla-stub.exp: New file.
5030 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5031 Jan Kratochvil <jan.kratochvil@redhat.com>
5032 Tom Tromey <tromey@redhat.com>
5034 * configure.ac: Add gdb.compile/.
5035 * configure: Regenerate.
5036 * gdb.compile/Makefile.in: New file.
5037 * gdb.compile/compile-ops.exp: New file.
5038 * gdb.compile/compile-ops.c: New file.
5039 * gdb.compile/compile-tls.c: New file.
5040 * gdb.compile/compile-tls.exp: New file.
5041 * gdb.compile/compile-constvar.S: New file.
5042 * gdb.compile/compile-constvar.c: New file.
5043 * gdb.compile/compile-mod.c: New file.
5044 * gdb.compile/compile-nodebug.c: New file.
5045 * gdb.compile/compile-setjmp-mod.c: New file.
5046 * gdb.compile/compile-setjmp.c: New file.
5047 * gdb.compile/compile-setjmp.exp: New file.
5048 * gdb.compile/compile-shlib.c: New file.
5049 * gdb.compile/compile.c: New file.
5050 * gdb.compile/compile.exp: New file.
5051 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5053 2014-12-12 Tom Tromey <tromey@redhat.com>
5055 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5056 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5058 2014-12-12 Doug Evans <dje@google.com>
5060 * lib/gdb-python.exp (get_python_valueof): New function.
5061 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5063 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5065 * gdb.base/completion.exp: Add test for completion of "info
5068 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5070 * gdb.base/func-ptrs.c: New file.
5071 * gdb.base/func-ptrs.exp: New file.
5073 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5075 PR breakpoints/17012
5076 * gdb.base/dprintf-detach.c: New file.
5077 * gdb.base/dprintf-detach.exp: New file.
5079 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5081 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5082 * lib/gdb.exp (target_is_gdbserver): New procedure.
5084 2014-12-08 Doug Evans <dje@google.com>
5086 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5088 2014-12-05 Yao Qi <yao@codesourcery.com>
5090 * gdb.guile/scm-error.exp: Remove the third argument to
5091 gdb_remote_download.
5092 * gdb.guile/scm-frame-args.exp: Likewise.
5093 * gdb.guile/scm-section-script.exp: Likewise.
5095 2014-12-05 Yao Qi <yao@codesourcery.com>
5097 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5099 2014-12-04 Doug Evans <dje@google.com>
5101 * gdb.python/py-objfile.exp: Add tests for
5102 objfile.add_separate_debug_file.
5104 2014-12-04 Doug Evans <dje@google.com>
5106 * lib/gdb.exp (get_build_id): New function.
5107 (build_id_debug_filename_get): Rewrite to use it.
5108 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5110 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5112 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5113 `method(long)', not just 0x0.
5114 * gdb.cp/nsalias.exp: Align code labels to 4.
5115 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5116 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5117 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5118 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5119 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5120 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5122 2014-12-02 Doug Evans <dje@google.com>
5125 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5126 * gdb.cp/anon-ns2.cc: ... here. New file.
5127 * gdb.cp/anon-ns.exp: Update.
5129 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5131 * gdb.python/py-events.py (inferior_call_handler): New.
5132 (register_changed_handler, memory_changed_handler): New.
5133 (test_events.invoke): Register new handlers.
5134 * gdb.python/py-events.exp: Add tests for inferior call,
5135 memory_changed and register_changed events.
5137 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5139 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5140 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5141 if the linker doesn't understand this.
5143 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5145 * gdb.python/python.exp: Change expected reply to help().
5147 2014-12-01 Yao Qi <yao@codesourcery.com>
5149 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5150 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5151 * configure: Re-generated.
5153 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5155 * gdb.cp/chained-calls.cc: New file.
5156 * gdb.cp/chained-calls.exp: New file.
5157 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5159 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5161 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5162 * gdb.dwarf2/symtab-producer.exp: Same.
5163 * gdb.gdb/python-interrupts.exp: Same.
5164 * gdb.gdb/python-selftest.exp: Same.
5165 * gdb.python/py-linetable.exp: Same.
5166 * gdb.python/py-type.exp: Same.
5167 * gdb.python/py-value-cc.exp: Same.
5168 * gdb.python/py-value.exp: Same.
5170 2014-11-28 Yao Qi <yao@codesourcery.com>
5172 * gdb.base/break-probes.exp: Match library name prefixed with
5175 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5177 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5178 test expected output. Add parentheses for the call to print.
5179 Remove L suffix from integers.
5181 2014-11-26 Doug Evans <dje@google.com>
5183 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5185 2014-11-22 Yao Qi <yao@codesourcery.com>
5187 * gdb.trace/entry-values.c: Remove asms.
5188 (foo): Add foo_label.
5189 (bar): Add bar_label.
5190 * gdb.trace/entry-values.exp: Remove code computing foo's
5191 length and bar's length.
5192 (Dwarf::assemble): Invoke function_range for bar and use
5193 MACRO_AT_func for foo.
5195 2014-11-22 Yao Qi <yao@codesourcery.com>
5197 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5198 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5199 Use .Lgcc43_procstart instead of gcc43.
5201 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5203 * gdb.ada/n_arr_bound: New testcase.
5205 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5207 PR breakpoints/10737
5208 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5209 test_catch_syscall_multi_arch.
5210 (test_catch_syscall_multi_arch): New function.
5212 2014-11-20 Doug Evans <xdje42@gmail.com>
5214 * gdb.base/maint.exp: Update expected output.
5216 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5218 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5219 4-byte instruction on S390.
5221 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5223 * gdb.ada/arr_arr: New testcase.
5225 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5227 * gdb.ada/pkd_arr_elem: New Testcase.
5229 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5231 * gdb.reverse/break-precsave: Expect completion message for
5233 * gdb.reverse/consecutive-precsave.exp: Likewise.
5234 * gdb.reverse/finish-precsave.exp: Likewise.
5235 * gdb.reverse/i386-precsave.exp: Likewise.
5236 * gdb.reverse/machinestate-precsave.exp: Likewise.
5237 * gdb.reverse/sigall-precsave.exp: Likewise.
5238 * gdb.reverse/solib-precsave.exp: Likewise.
5239 * gdb.reverse/step-precsave.exp: Likewise.
5240 * gdb.reverse/until-precsave.exp: Likewise.
5241 * gdb.reverse/watch-precsave.exp: Likewise.
5243 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5245 * gdb.base/bp-permanent.c: Include unistd.h.
5246 * gdb.python/py-framefilter-mi.c (main): Add return type.
5247 * gdb.python/py-framefilter.c (main): Likewise.
5248 * gdb.trace/actions-changed.c (main): Likewise.
5250 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5252 * gdb.mi/until.c: Add eye-catchers.
5253 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5256 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5258 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5259 function header variants in break1.c.
5260 * gdb.base/ena-dis-br.exp: Likewise.
5261 * gdb.base/hbreak2.exp: Likewise.
5262 * gdb.reverse/until-precsave.exp: Drop references to removed
5263 non-prototype function header variants in ur1.c.
5264 * gdb.reverse/until-reverse.exp: Likewise.
5266 2014-11-17 Petr Machata <pmachata@redhat.com>
5268 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5269 ${_cu_offset_size} bytes abbrev offset.
5271 2014-11-15 Doug Evans <xdje42@gmail.com>
5274 * gdb.base/line-symtabs.exp: New file.
5275 * gdb.base/line-symtabs.c: New file.
5276 * gdb.base/line-symtabs.h: New file.
5278 2014-11-14 Yao Qi <yao@codesourcery.com>
5280 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5281 (func): Add label func_label.
5282 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5283 Replace low_pc and high_pc with MACRO_AT_range.
5284 Replace name, low_pc and high_pc with MACRO_AT_func.
5286 2014-11-14 Yao Qi <yao@codesourcery.com>
5288 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5289 Replace name, low_pc and high_pc with MACRO_AT_func.
5291 2014-11-14 Yao Qi <yao@codesourcery.com>
5293 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5294 produce debug information.
5295 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5297 2014-11-14 Yao Qi <yao@codesourcery.com>
5299 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5300 object and get function length.
5301 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5303 (top-level): Replace gdb_compile and clean_restart with
5304 prepare_for_testing.
5305 * gdb.dwarf2/main.c (main): Add label main_label.
5307 2014-11-14 Yao Qi <yao@codesourcery.com>
5309 * lib/dwarf.exp (function_range): New procedure.
5310 (Dwarf::_handle_macro_at_func): New procedure.
5311 (Dwarf::_handle_macro_at_range): New procedure.
5312 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5314 2014-11-14 Yao Qi <yao@codesourcery.com>
5316 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5317 (_handle_attribute): New procedure.
5319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5321 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5322 * gdb.base/call-sc.c (zed): Likewise.
5323 * gdb.base/checkpoint.c (main): Likewise.
5324 * gdb.base/dump.c (main): Likewise.
5325 * gdb.base/gcore.c (main): Likewise.
5326 * gdb.base/huge.c (main): Likewise.
5327 * gdb.base/multi-forks.c (main): Likewise.
5328 * gdb.base/pr10179-a.c (main): Likewise.
5329 * gdb.base/savedregs.c (main): Likewise.
5330 * gdb.base/sigaltstack.c (main): Likewise.
5331 * gdb.base/siginfo.c (main): Likewise.
5332 * gdb.base/structs.c (zed): Likewise.
5333 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5334 * gdb.mi/mi-syn-frame.c (main): Likewise.
5335 * gdb.mi/until.c (foo, main): Likewise.
5336 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5337 * gdb.base/solib-weak.c (foo): Declare.
5338 * gdb.base/attach-twice.c: Include stdio.h.
5339 * gdb.base/weaklib1.c: Likewise.
5340 * gdb.base/weaklib2.c: Likewise.
5341 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5342 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5344 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5345 * gdb.mi/mi-exit-code.c: Likewise.
5346 * gdb.base/break-interp-lib.c: Include string.h.
5347 * gdb.base/coremaker.c: Likewise.
5348 * gdb.base/testenv.c: Likewise.
5349 * gdb.python/py-finish-breakpoint.c: Likewise.
5350 * gdb.base/inferior-died.c: Include sys/wait.h.
5351 * gdb.base/fileio.c: Include time.h.
5352 * gdb.base/async-shell.c: Include unistd.h.
5353 * gdb.base/dprintf-non-stop.c: Likewise.
5354 * gdb.base/info-os.c: Likewise.
5355 * gdb.mi/mi-console.c: Likewise.
5356 * gdb.mi/watch-nonstop.c: Likewise.
5357 * gdb.python/py-events.c: Likewise.
5358 * gdb.base/async.c (baz): Move up before its invocation.
5359 * gdb.base/code_elim2.c (my_global_func): Likewise.
5360 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5361 * gdb.base/advance.c (func2): Likewise.
5363 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5365 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5367 * gdb.base/annota3.c: Likewise.
5368 * gdb.base/async.c: Likewise.
5369 * gdb.base/average.c: Likewise.
5370 * gdb.base/call-ar-st.c: Likewise.
5371 * gdb.base/call-rt-st.c: Likewise.
5372 * gdb.base/call-sc.c: Likewise.
5373 * gdb.base/call-strs.c: Likewise.
5374 * gdb.base/ending-run.c: Likewise.
5375 * gdb.base/execd-prog.c: Likewise.
5376 * gdb.base/exprs.c: Likewise.
5377 * gdb.base/foll-exec.c: Likewise.
5378 * gdb.base/foll-fork.c: Likewise.
5379 * gdb.base/foll-vfork.c: Likewise.
5380 * gdb.base/funcargs.c: Likewise.
5381 * gdb.base/gcore.c: Likewise.
5382 * gdb.base/jump.c: Likewise.
5383 * gdb.base/langs0.c: Likewise.
5384 * gdb.base/langs1.c: Likewise.
5385 * gdb.base/langs2.c: Likewise.
5386 * gdb.base/mips_pro.c: Likewise.
5387 * gdb.base/nodebug.c: Likewise.
5388 * gdb.base/opaque0.c: Likewise.
5389 * gdb.base/opaque1.c: Likewise.
5390 * gdb.base/recurse.c: Likewise.
5391 * gdb.base/run.c: Likewise.
5392 * gdb.base/scope0.c: Likewise.
5393 * gdb.base/scope1.c: Likewise.
5394 * gdb.base/setshow.c: Likewise.
5395 * gdb.base/setvar.c: Likewise.
5396 * gdb.base/shmain.c: Likewise.
5397 * gdb.base/shr1.c: Likewise.
5398 * gdb.base/shr2.c: Likewise.
5399 * gdb.base/sigall.c: Likewise.
5400 * gdb.base/signals.c: Likewise.
5401 * gdb.base/so-indr-cl.c: Likewise.
5402 * gdb.base/solib2.c: Likewise.
5403 * gdb.base/structs.c: Likewise.
5404 * gdb.base/sum.c: Likewise.
5405 * gdb.base/vforked-prog.c: Likewise.
5406 * gdb.base/watchpoint.c: Likewise.
5407 * gdb.reverse/shr2.c: Likewise.
5408 * gdb.reverse/until-reverse.c: Likewise.
5409 * gdb.reverse/ur1.c: Likewise.
5410 * gdb.reverse/watch-reverse.c: Likewise.
5412 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5414 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5416 * gdb.base/sepdebug.exp: Drop references to removed code.
5418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5420 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5421 variant. Preserve original line numbering.
5422 * gdb.base/list1.c: Likewise.
5424 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5426 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5428 * gdb.base/break1.c: Likewise.
5429 * gdb.base/break.exp: Drop references to removed code.
5431 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5433 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5436 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5438 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5442 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5443 logic into perform_all_tests() and invoke it with and without
5444 function header prototypes.
5445 (do_function_calls): Remove conditional XFAIL for PR 5318.
5446 (rerun_and_prepare): Remove duplicate code.
5447 (perform_all_tests): New. Main logic moved here.
5449 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5451 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5452 code guarded by #ifdef NO_PROTOTYPES.
5453 (t_double_many_args): Likewise.
5454 (DEF_FUNC_MANY_ARGS_1): Likewise.
5455 (DEF_FUNC_VALUES_1): Likewise.
5456 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5457 guarded by #ifdef PROTOTYPES.
5459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5461 * gdb.mi/mi-console.c: Add eye-catcher.
5462 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5463 instead of literal line number.
5465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5467 * gdb.base/shr2.c: Add eye-catcher.
5468 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5473 * gdb.base/jump.c: Add eye-catchers.
5474 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5479 * gdb.base/execd-prog.c: Add eye-catchers.
5480 * gdb.base/foll-exec.c: Likewise.
5481 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5484 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486 * gdb.base/ending-run.c: Add eye-catchers.
5487 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5488 literal line numbers.
5490 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5492 * gdb.base/call-rt-st.c: Add eye-catchers.
5493 * gdb.base/call-rt-st.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-ar-st.c: Add eye-catchers.
5499 * gdb.base/call-ar-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/average.c: Add eye-catchers.
5505 * gdb.base/sum.c: Likewise.
5506 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5507 regexps dynamically.
5509 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5511 * gdb.base/solib1.c: Add eye-catchers.
5512 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5513 literal line numbers.
5515 2014-11-12 Pedro Alves <palves@redhat.com>
5517 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5520 2014-11-12 Pedro Alves <palves@redhat.com>
5522 * gdb.arch/i386-bp_permanent.c: New file.
5523 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5524 (srcfile): Set to i386-bp_permanent.c.
5525 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5526 that stepi does not execute the 'leave' instruction, instead of
5527 testing it does execute.
5528 * gdb.base/bp-permanent.c: New file.
5529 * gdb.base/bp-permanent.exp: New file.
5531 2014-11-10 Doug Evans <xdje42@gmail.com>
5534 * gdb.base/symtab-search-order.exp: New file.
5535 * gdb.base/symtab-search-order.c: New file.
5536 * gdb.base/symtab-search-order-1.c: New file.
5537 * gdb.base/symtab-search-order-shlib-1.c: New file.
5539 2014-11-07 Pedro Alves <palves@redhat.com>
5542 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5545 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5548 * gdb.cp/pr17494.cc: New file.
5549 * gdb.cp/pr17494.exp: New file.
5551 2014-11-02 Yao Qi <yao@codesourcery.com>
5553 * gdb.python/python.exp: Get working directory and match the
5554 output of "set extended-prompt \\w " with it.
5556 2014-10-30 Doug Evans <dje@google.com>
5558 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5560 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5563 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5565 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5566 * gdb.base/realname-expand.exp: Likewise.
5567 * gdb.linespec/macro-relative.exp: Likewise.
5569 2014-10-29 Pedro Alves <palves@redhat.com>
5572 * gdb.threads/schedlock.c (some_function): New function.
5573 (call_function): New global.
5574 (MAYBE_CALL_SOME_FUNCTION): New macro.
5575 (thread_function): Call it.
5576 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5577 and use it instead of a global counter. Adjust all callers.
5578 (get_current_thread): Use "find current thread" for test message
5579 here rather than having all callers pass down the same string.
5580 (goto_loop): New procedure, factored out from ...
5581 (my_continue): ... this.
5582 (step_ten_loops): Change parameter from test message to command to
5584 (list_count): Delete global.
5585 (check_result): New procedure, factored out from duplicate top
5587 (continue tests): Wrap in with_test_prefix.
5588 (test_step): New procedure, factored out from duplicate top level
5590 (top level): Test "step" in combination with all scheduler-locking
5591 modes. Test "next" in combination with all scheduler-locking
5592 modes, and in combination with stepping over a function call or
5594 * gdb.threads/next-bp-other-thread.c: New file.
5595 * gdb.threads/next-bp-other-thread.exp: New file.
5597 2014-10-29 Pedro Alves <palves@redhat.com>
5600 * gdb.python/python.exp: Test a multi-line command that spawns
5602 * gdb.base/multi-line-starts-subshell.exp: New file.
5604 2014-10-29 Yao Qi <yao@codesourcery.com>
5606 * gdb.base/fileio.exp: Make directories on host.
5608 2014-10-29 Yao Qi <yao@codesourcery.com>
5610 * gdb.base/fileio.c (test_write): Close the file.
5612 2014-10-28 Pedro Alves <palves@redhat.com>
5615 * gdb.base/sigstep.c (no_handler): New global.
5616 (main): If 'no_handler is true, set the signal handlers to
5618 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5619 with_sw_watch and no_handler parameters. Handle them.
5620 (top level) <stepping over handler when stopped at a breakpoint
5621 test>: Add a test axis for testing with a software watchpoint, and
5622 another for testing with the signal handler set to SIG_IGN.
5623 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5624 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5626 2014-10-28 Pedro Alves <palves@redhat.com>
5629 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5630 * gdb.base/sigstep.exp (other_handler_location): New global.
5631 (advance): Support stepping into the signal handler, and running
5632 commands while in the handler.
5633 (in_handler_map): New global.
5634 (top level): In the advance test, add combinations for getting
5635 into the handler with stepping commands, and for running commands
5636 in the handler. Add comment descripting the advancei tests.
5638 2014-10-28 Pedro Alves <palves@redhat.com>
5640 * gdb.base/sigstep.exp: Use build_executable instead of
5641 prepare_for_testing.
5642 (top level): Move code that starts GDB, runs to main and creates a
5644 (restart): ... this new procedure.
5645 (top level): Move backtrace from signal handler test to ...
5646 (validate_backtrace): ... this new procedure.
5647 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5648 with_test_prefix. Always restart GDB.
5649 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5650 with_test_prefix. Always restart GDB. No need to delete
5651 breakpoints after the test.
5652 (test_skip_handler): Remove prefix parameter.
5653 (skip_over_handler, breakpoint_to_handler)
5654 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5655 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5656 restart GDB. No need to delete breakpoints after the test.
5657 (top level): Use foreach to call the test procedures with
5660 2014-10-28 Pedro Alves <palves@redhat.com>
5662 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5663 instead of GNATS numbers.
5664 * gdb.base/sigbpt.exp: Likewise.
5665 * gdb.base/siginfo.exp: Likewise.
5666 * gdb.base/sigstep.exp: Likewise.
5668 2014-10-27 Pedro Alves <palves@redhat.com>
5670 * gdb.base/sigstep.c (dummy): New global.
5671 (main): Issue a couple writes to the new global.
5672 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5674 (skip_over_handler): Use test_skip_handler.
5675 (top level): Call skip_over_handler for stepi and nexti too.
5676 (breakpoint_over_handler): Use test_skip_handler.
5677 (top level): Call breakpoint_over_handler for stepi and nexti too.
5679 2014-10-27 Yao Qi <yao@codesourcery.com>
5681 * gdb.trace/tfile.c (adjust_function_address)
5682 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5683 function descriptor.
5685 2014-10-24 Don Breazeal <donb@codesourcery.com>
5687 * gdb.base/foll-fork.exp (test_follow_fork,
5688 catch_fork_child_follow): Check for updated fork messages emitted
5690 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5691 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5692 vfork_and_exec_child_follow_through_step): Check for updated vfork
5693 messages emitted from infrun.c.
5695 2014-10-24 Pedro Alves <palves@redhat.com>
5697 * gdb.base/corefile.exp: Remove references to ultrix.
5698 * gdb.base/interrupt.exp: Likewise.
5699 * gdb.base/whatis.exp: Likewise.
5700 * gdb.gdb/selftest.exp: Likewise.
5701 * gdb.threads/manythreads.exp: Likewise.
5702 * gdb.threads/print-threads.exp: Likewise.
5703 * gdb.threads/pthreads.exp:: Likewise.
5704 * gdb.threads/schedlock.exp: Likewise.
5706 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5708 * gdb.cp/non-trivial-retval.cc: Add a test case.
5709 * gdb.cp/non-trivial-retval.exp: Add a test.
5711 2014-10-20 Yao Qi <yao@codesourcery.com>
5713 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5714 * gdb.python/py-objfile-script-gdb.py: New file.
5715 * gdb.python/py-objfile-script.exp: Update reference to
5716 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5717 of remote_download. Remove the dest file.
5719 2014-10-20 Yao Qi <yao@codesourcery.com>
5721 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5722 * gdb.base/step-line.exp: Likewise.
5723 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5724 * gdb.dwarf2/dw2-basic.exp: Likewise.
5725 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5726 * gdb.dwarf2/dw2-filename.exp: Likewise.
5727 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5728 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5729 * gdb.dwarf2/dw2-producer.exp: Likewise.
5730 * gdb.dwarf2/mac-fileno.exp: Likewise.
5731 * gdb.python/py-frame-args.exp: Likewise.
5732 * gdb.python/py-framefilter.exp: Likewise.
5733 * gdb.python/py-mi.exp: Likewise.
5734 * gdb.python/py-objfile-script.exp: Likewise
5735 * gdb.python/py-pp-integral.exp: Likewise.
5736 * gdb.python/py-pp-re-notag.exp: Likewise.
5737 * gdb.python/py-prettyprint.exp: Likewise.
5738 * gdb.python/py-section-script.exp: Likewise.
5739 * gdb.python/py-typeprint.exp: Likewise.
5740 * gdb.python/py-xmethods.exp: Likewise.
5741 * gdb.stabs/weird.exp: Likewise.
5742 * gdb.xml/tdesc-regs.exp: Likewise.
5744 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5746 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5747 (out_cu): Use addr_len for the size of addresses.
5748 (out_line): Likewise. Size DW_LNE_set_address instruction
5749 according to addr_len.
5750 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5751 (FUNC): Add START_INSNS to definition.
5753 2014-10-18 Yao Qi <yao@codesourcery.com>
5755 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5756 gdb_has_argv0 return true.
5757 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5758 check [target_info exists noargs], check [gdb_has_argv0]
5760 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5761 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5764 2014-10-17 Doug Evans <dje@google.com>
5766 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5768 * gdb.python/py-events.py: Add clear_objfiles event.
5770 2014-10-17 Doug Evans <dje@google.com>
5772 * gdb.python/py-objfile.exp: Test progspace attribute.
5774 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5776 * gdb.guile/scm-breakpoint.exp: Do not assume any
5777 directory separators when matching source file paths.
5778 * gdb.python/py-breakpoint.exp: Likewise.
5779 * gdb.reverse/break-precsave.exp: Likewise.
5780 * gdb.reverse/break-reverse.exp: Likewise.
5781 * gdb.reverse/consecutive-precsave.exp: Likewise.
5782 * gdb.reverse/finish-precsave.exp: Likewise.
5783 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5784 * gdb.reverse/finish-reverse.exp: Likewise.
5785 * gdb.reverse/i386-precsave.exp: Likewise.
5786 * gdb.reverse/i387-env-reverse.exp: Likewise.
5787 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5788 * gdb.reverse/machinestate-precsave.exp: Likewise.
5789 * gdb.reverse/machinestate.exp: Likewise.
5790 * gdb.reverse/sigall-precsave.exp: Likewise.
5791 * gdb.reverse/solib-precsave.exp: Likewise.
5792 * gdb.reverse/step-precsave.exp: Likewise.
5793 * gdb.reverse/until-precsave.exp: Likewise.
5794 * gdb.reverse/watch-precsave.exp: Likewise.
5795 * gdb.reverse/watch-reverse.exp: Likewise.
5797 2014-10-17 Yao Qi <yao@codesourcery.com>
5799 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5800 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5802 2014-10-17 Pedro Alves <palves@redhat.com>
5805 * gdb.base/bg-execution-repeat.c: New file.
5806 * gdb.base/bg-execution-repeat.exp: New file.
5808 2014-10-17 Pedro Alves <palves@redhat.com>
5811 * gdb.base/continue-all-already-running.c: New file.
5812 * gdb.base/continue-all-already-running.exp: New file.
5814 2014-10-17 Pedro Alves <palves@redhat.com>
5817 * gdb.base/annota-input-while-running.c: New file.
5818 * gdb.base/annota-input-while-running.exp: New file.
5820 2014-10-17 Pedro Alves <palves@redhat.com>
5822 * gdb.base/callfuncs.exp: emove references to osf.
5823 * gdb.base/sigall.exp: Likewise.
5824 * gdb.gdb/selftest.exp: Likewise.
5825 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5826 * gdb.mi/non-stop.c: Likewise.
5827 * gdb.mi/pthreads.c: Likewise.
5828 * gdb.reverse/sigall-precsave.exp: Likewise.
5829 * gdb.reverse/sigall-reverse.exp: Likewise.
5830 * gdb.threads/pthreads.c: Likewise.
5831 * gdb.threads/pthreads.exp: Likewise.
5833 2014-10-17 Yao Qi <yao@codesourcery.com>
5835 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5836 check 'target_info exists noargs'.
5837 (test_command_prompt_position): Likewise.
5838 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5840 (progvar_simple_while_test): Likewise.
5841 (progvar_complex_if_while_test): Likewise.
5842 (if_while_breakpoint_command_test): Likewise.
5843 (infrun_breakpoint_command_test): Likewise.
5844 (breakpoint_command_test): Likewise.
5845 (watchpoint_command_test): Likewise.
5846 (bp_deleted_in_command_test): Likewise.
5847 (temporary_breakpoint_commands): Likewise.
5849 2014-10-16 Yao Qi <yao@codesourcery.com>
5851 * gdb.base/remotetimeout.exp: Remove noargs checking.
5853 2014-10-15 Pedro Alves <palves@redhat.com>
5856 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5857 * gdb.base/breakpoint-in-ro-region.exp
5858 (probe_target_hardware_step): New procedure.
5859 (top level): Probe hardware stepping and hardware breakpoint
5860 support. Test stepping through a read-only region, with both
5861 "breakpoint auto-hw" on and off and both "always-inserted" on and
5864 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5866 * gdb.dlang/demangle.exp: Update for demangling changes.
5868 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5870 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5871 * gdb.cp/non-trivial-retval.exp: Add new tests.
5873 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5877 * gdb.cp/non-trivial-retval.cc: New file.
5878 * gdb.cp/non-trivial-retval.exp: New file.
5880 2014-10-15 Yao Qi <yao@codesourcery.com>
5882 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5885 2014-10-15 Yao Qi <yao@codesourcery.com>
5887 * gdb.python/py-symbol.exp: Match file base name if host is
5888 remote, otherwise match file name with dir name.
5889 * gdb.python/py-symtab.exp: Likewise.
5890 * gdb.python/python.exp: Likewise.
5892 2014-10-15 Yao Qi <yao@codesourcery.com>
5894 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5896 * gdb.python/py-symtab.exp: Likewise.
5897 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5900 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5902 * gdb.ada/addr_arith: New testcase.
5904 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5906 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5907 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5908 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5909 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5911 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5913 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5914 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5915 * gdb.arch/stap-eval-lang-ada.exp: New file.
5917 2014-10-14 Yao Qi <yao@codesourcery.com>
5919 * gdb.mi/mi-var-child.c (nothing1): New function.
5920 (nothing2): New function.
5921 (do_children_tests): Set function pointers by nothing1 and
5923 * gdb.mi/mi-var-child.exp: Step over new added statements.
5924 Update test to match the new output.
5925 * gdb.mi/var-cmd.c (nothing1): New function.
5926 (nothing2): New function.
5927 (do_children_tests): Set function pointers by nothing1 and
5929 * gdb.mi/mi-var-display.exp: Update test to match output.
5930 Step to the line specified by $line_dct_nothing.
5931 Increase the number of lines to step.
5933 2014-10-14 Yao Qi <yao@codesourcery.com>
5935 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5937 * gdb.mi/mi2-var-child.exp: Likewise.
5939 2014-10-13 Doug Evans <dje@google.com>
5941 * gdb.python/py-objfile.exp: Change name of file name test.
5943 2014-10-13 Doug Evans <dje@google.com>
5945 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5946 from the start of the CU.
5948 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5949 Yao Qi <yao@codesourcery.com>
5951 Fix "save breakpoints" for "catch" command.
5952 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5953 Remove -nonewline. Match also the added "main" line.
5955 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5957 Fix "save breakpoints" for "disable $bpnum" command.
5958 * gdb.base/save-bp.c (main): Add label.
5959 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5961 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5963 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5965 2014-10-11 Yao Qi <yao@codesourcery.com>
5967 * gdb.server/server-kill.exp: Execute command
5968 "set remote trace-status-packet on" before "tstatus".
5970 2014-10-11 Yao Qi <yao@codesourcery.com>
5972 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5973 (main): Call getppid.
5974 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5975 and continue to it. Read variable "server_pid".
5977 2014-10-11 Yao Qi <yao@codesourcery.com>
5979 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5981 2014-10-11 Yao Qi <yao@codesourcery.com>
5983 * gdb.threads/thread-find.exp: Don't execute command
5985 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5986 * gdb.threads/linux-dp.exp: Don't check the condition
5987 $threads_created equals to zero.
5989 2014-10-10 Pedro Alves <palves@redhat.com>
5991 * gdb.base/bigcore.exp: Remove references to IRIX.
5992 * gdb.base/funcargs.exp: Likewise.
5993 * gdb.base/interrupt.exp: Likewise.
5994 * gdb.base/mips_pro.exp: Likewise.
5995 * gdb.base/nodebug.exp: Likewise.
5996 * gdb.base/setvar.exp: Likewise.
5997 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5999 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6000 Pedro Alves <palves@redhat.com>
6003 * gdb.base/vdso-warning.c: New file.
6004 * gdb.base/vdso-warning.exp: New file.
6006 2014-10-02 Doug Evans <dje@google.com>
6008 * gdb.base/structs.c (main): Don't run forever.
6010 2014-10-02 Pedro Alves <palves@redhat.com>
6012 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6013 (top level) <stop threads 1, stop threads 2>: Use it.
6015 2014-10-02 Pedro Alves <palves@redhat.com>
6017 * gdb.threads/break-while-running.exp (test): Add new
6018 'update_thread_list' argument. Skip "info threads" if false.
6019 (top level): Add new 'update_thread_list' axis.
6021 2014-10-02 Pedro Alves <palves@redhat.com>
6023 PR breakpoints/17431
6024 * gdb.base/execl-update-breakpoints.c: New file.
6025 * gdb.base/execl-update-breakpoints.exp: New file.
6027 2014-10-01 Pedro Alves <palves@redhat.com>
6029 * gdb.base/breakpoint-in-ro-region.c: New file.
6030 * gdb.base/breakpoint-in-ro-region.exp: New file.
6032 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6034 * gdb.mi/mi-exit-code.exp: New file.
6035 * gdb.mi/mi-exit-code.c: New file.
6037 2014-09-30 Yao Qi <yao@codesourcery.com>
6039 * lib/prelink-support.exp (build_executable_own_libs): Error if
6040 the target isn't native.
6042 2014-09-30 Yao Qi <yao@codesourcery.com>
6044 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6047 2014-09-22 Pedro Alves <palves@redhat.com>
6049 * gdb.threads/break-while-running.exp: New file.
6050 * gdb.threads/break-while-running.c: New file.
6052 2014-09-19 Yao Qi <yao@codesourcery.com>
6054 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6055 Invoke test. Restart GDB with --readnow and invoke test again.
6057 2014-09-19 Yao Qi <yao@codesourcery.com>
6059 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6060 proc set_breakpoint_on_gcd_function. Invoke
6061 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6062 invoke set_breakpoint_on_gcd_function again.
6064 2014-09-18 Doug Evans <dje@google.com>
6066 * gdb.dwarf2/symtab-producer.exp: New file.
6068 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6070 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6071 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6072 * gdb.base/global-var-nested-by-dso.c: Likewise.
6073 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6075 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6076 Pedro Alves <palves@redhat.com>
6078 * gdb.base/watch-bitfields.exp: Pass string other than test file
6079 name to prepare_for_testing.
6080 (watch): New procedure.
6081 (expect_watchpoint): Use with_test_prefix.
6082 (top level): Factor out tests to ...
6083 (test_watch_location, test_regular_watch): ... these new
6084 procedures, and use with_test_prefix and gdb_continue_to_end.
6086 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6088 PR breakpoints/12526
6089 * gdb.base/watch-bitfields.exp: New file.
6090 * gdb.base/watch-bitfields.c: New file.
6092 2014-09-16 Pedro Alves <palves@redhat.com>
6094 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6095 software and hardware addresses, not software address against
6098 2014-09-16 Pedro Alves <palves@redhat.com>
6100 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6101 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6103 2014-09-16 Pedro Alves <palves@redhat.com>
6105 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6107 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6108 "*-*-vxworks*" throughout.
6109 * gdb.base/break.exp: Likewise.
6110 * gdb.base/default.exp: Likewise.
6111 * gdb.base/scope.exp: Likewise.
6112 * gdb.base/sepdebug.exp: Likewise.
6113 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6115 * gdb.base/run.c: Likewise.
6116 * gdb.base/sepdebug.c: Likewise.
6117 * gdb.hp/gdb.aCC/run.c: Likewise.
6118 * gdb.reverse/until-reverse.c: Likewise.
6119 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6121 2014-09-16 Yao Qi <yao@codesourcery.com>
6123 * boards/local-remote-host-native.exp: New file.
6125 2014-09-14 Doug Evans <xdje42@gmail.com>
6127 * gdb.threads/queue-signal.c (thread_count): New variable.
6128 (thread_count_mutex, thread_count_condvar): New variables.
6129 (incr_thread_count, wait_all_threads_running): New functions.
6130 (main): Wait for all threads to be in their thread functions.
6132 2014-09-13 Doug Evans <xdje42@gmail.com>
6134 * gdb.threads/queue-signal.c: New file.
6135 * gdb.threads/queue-signal.exp: New file.
6137 2014-09-13 Doug Evans <xdje42@gmail.com>
6139 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6140 be consistent with what default_gdb_init uses.
6141 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6142 the plain text of the prompt. Add some logging printfs.
6143 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6145 2014-09-12 Pedro Alves <palves@redhat.com>
6147 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6148 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6149 * gdb.arch/i386-size-overlap.exp: Likewise.
6150 * gdb.arch/i386-size.exp: Likewise.
6151 * gdb.arch/i386-unwind.exp: Likewise.
6152 * gdb.base/a2-run.exp: Likewise.
6153 * gdb.base/break.exp: Likewise.
6154 * gdb.base/charset.exp: Likewise.
6155 * gdb.base/chng-syms.exp: Likewise.
6156 * gdb.base/commands.exp: Likewise.
6157 * gdb.base/dbx.exp: Likewise.
6158 * gdb.base/find.exp: Likewise.
6159 * gdb.base/funcargs.exp: Likewise.
6160 * gdb.base/jit-simple.exp: Likewise.
6161 * gdb.base/reread.exp: Likewise.
6162 * gdb.base/sepdebug.exp: Likewise.
6163 * gdb.base/step-bt.exp: Likewise.
6164 * gdb.cp/mb-inline.exp: Likewise.
6165 * gdb.cp/mb-templates.exp: Likewise.
6166 * gdb.objc/basicclass.exp: Likewise.
6167 * gdb.threads/killed.exp: Likewise.
6169 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6172 * gdb.arch/powerpc-stackless.S: New file.
6173 * gdb.arch/powerpc-stackless.exp: New file.
6175 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6177 * gdb.base/attach.c: Include unistd.h.
6178 (main): Call alarm. Add label postloop.
6179 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6180 gdb_breakpoint, gdb_continue_to_breakpoint.
6181 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6183 2014-09-11 Pedro Alves <palves@redhat.com>
6186 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6187 * gdb.base/attach.exp (test_command_line_attach_run): New
6189 (top level): Call it.
6191 2014-09-11 Pedro Alves <palves@redhat.com>
6193 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6194 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6195 (do_command_attach_tests): Use spawn_wait_for_attach.
6196 * gdb.base/solib-overlap.exp: Likewise.
6197 * gdb.multi/multi-attach.exp: Likewise.
6198 * gdb.python/py-prompt.exp: Likewise.
6199 * gdb.python/py-sync-interp.exp: Likewise.
6200 * gdb.server/ext-attach.exp: Likewise.
6202 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6204 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6205 command in testcase. Simplify testcase.
6207 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6209 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6211 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6213 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6215 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6217 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6219 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6221 * gdb.dwarf2/dynarr-ptr.c: New file.
6222 * gdb.dwarf2/dynarr-ptr.exp: New file.
6224 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6226 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6227 of 30 rather than hardcoding 120 for a slow test case. Take the
6228 `gdb,timeout' target setting into account for this calculation.
6229 Don't extend the timeout for the test cases that don't need it.
6231 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6233 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6234 a factor of 2 for a slow test case. Take the `gdb,timeout'
6235 target setting into account for this calculation.
6236 * gdb.reverse/until-precsave.exp: Increase the timeout by
6237 a factor of 15 and 3 respectively rather than adding 120
6238 for a pair of slow test cases. Take the `gdb,timeout'
6239 target setting into account for this calculation.
6241 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6243 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6244 timeout, don't pass one down to gdb_expect.
6245 (gdb_expect): Rework timeout selection.
6247 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6249 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6250 exception on timeout.
6251 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6252 (gdbserver_start_extended): Catch any `gdbserver_start' error
6254 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6255 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6256 `gdbserver_gdb_load' error exceptions.
6258 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6260 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6261 120 on waiting for the TCP socket to open.
6263 2014-09-09 Doug Evans <xdje42@gmail.com>
6265 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6266 _caller_matches, _any_caller_is, _any_caller_matches.
6268 2014-09-09 Doug Evans <xdje42@gmail.com>
6270 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6272 2014-09-09 Yao Qi <yao@codesourcery.com>
6274 * gdb.mi/mi-var-display.exp: Set print symbol off.
6276 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6279 * gdb.base/commands.exp: Add tests to verify user-defined
6280 commands with empty bodies.
6281 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6282 python commands in `show user command`.
6283 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6284 scheme commands in `show user command`.
6286 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6289 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6290 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6291 * gdb.python/py-framefilter-invalidarg.exp: New file.
6292 * gdb.python/py-framefilter-invalidarg.py: New file.
6294 2014-09-06 Doug Evans <xdje42@gmail.com>
6297 * gdb.python/py-caller-is.c: New file.
6298 * gdb.python/py-caller-is.exp: New file.
6300 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6303 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6304 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6306 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6309 * gdb.fortran/print-formatted.exp: New file.
6310 * gdb.fortran/print-formatted.f90: Likewise.
6312 2014-09-03 Sasha Smundak <asmundak@google.com>
6314 * gdb.python/py-frame.exp: Test Frame.read_register.
6316 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6319 * gdb.python/py-completion.exp: New file.
6320 * gdb.python/py-completion.py: Likewise.
6322 2014-08-28 Doug Evans <dje@google.com>
6324 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6325 eax,etc. are live with values set by gdb and thus the compiler can't
6327 * gdb.arch/i386-pseudo.c (main): Ditto.
6329 2014-08-27 Doug Evans <dje@google.com>
6331 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6333 2014-08-25 Doug Evans <dje@google.com>
6335 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6338 2014-08-25 Doug Evans <dje@google.com>
6340 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6342 2014-08-24 Yao Qi <yao@codesourcery.com>
6344 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6346 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6348 2014-08-22 Doug Evans <dje@google.com>
6351 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6352 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6353 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6355 2014-08-22 Yao Qi <yao@codesourcery.com>
6357 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6358 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6359 * gdb.python/python.exp: Likewise. Use .py file on the host
6360 instead of the build.
6362 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6364 * gdb.threads/gcore-stale-thread.c: New file.
6365 * gdb.threads/gcore-stale-thread.exp: New file.
6367 2014-08-21 Pedro Alves <palves@redhat.com>
6369 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6370 * gdb.base/gcore-relro-pie.exp: Likewise.
6371 * gdb.base/gcore-relro.exp: Likewise.
6372 * gdb.base/gcore.exp: Likewise.
6373 * gdb.base/print-symbol-loading.exp: Likewise.
6374 * gdb.threads/gcore-thread.exp: Likewise.
6375 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6377 2014-08-20 Pedro Alves <palves@redhat.com>
6378 Jan Kratochvil <jan.kratochvil@redhat.com>
6380 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6382 (EXPECT): Handle READ1 being set.
6383 (all): Depend on EXTRA_RULES.
6384 (check-read1, expect-read1, read1.so, read1): New rules.
6385 * README (Testsuite Parameters): Document the READ1 make variable.
6386 (Race detection): New section.
6387 * configure: Regenerate.
6388 * configure.ac: If build==host==target, and running under a
6389 GNU/glibc system, add read1 to the extra Makefile rules.
6390 (EXTRA_RULES): AC_SUBST it.
6391 * lib/read1.c: New file.
6393 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6395 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6396 the handling of variables declared as a typedef to an array
6397 which a DW_AT_data_location attribute.
6399 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6400 Pedro Alves <palves@redhat.com>
6404 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6407 2014-08-19 Pedro Alves <palves@redhat.com>
6409 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6411 2014-08-19 Yao Qi <yao@codesourcery.com>
6413 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6416 2014-08-18 David Blaikie <dblaikie@gmail.com>
6418 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6420 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6422 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6423 attribute in array range.
6425 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6427 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6429 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6432 * gdb.cp/pr17132.cc: New file.
6433 * gdb.cp/pr17132.exp: New file.
6435 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6437 * gdb.python/py-xmethods.py (A_getarrayind)
6438 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6439 Use 'print' with function call syntax.
6440 (E_method_matcher.match): Fix tab vs space indentation mixup.
6442 2014-08-15 Yao Qi <yao@codesourcery.com>
6444 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6447 2014-08-15 Yao Qi <yao@codesourcery.com>
6449 * gdb.cp/casts.exp: Set print symbol off.
6450 * gdb.cp/class2.exp: Likewise.
6451 * gdb.cp/overload.exp: Likewise.
6452 * gdb.cp/templates.exp: Likewise.
6454 2014-08-11 Doug Evans <dje@google.com>
6456 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6457 (test_load_shlib): Update.
6459 2014-08-09 Yao Qi <yao@codesourcery.com>
6461 * gdb.base/display.exp: Invoke is_address_zero_readable.
6462 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6463 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6464 * gdb.base/hbreak-unmapped.exp: Return if
6465 is_address_zero_readable returns true.
6466 * gdb.base/signest.exp: Likewise.
6467 * gdb.base/signull.exp: Likewise.
6468 * gdb.base/sigbpt.exp: Likewise.
6469 * gdb.guile/scm-disasm.exp: Do the test if
6470 is_address_zero_readable returns false.
6471 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6472 * gdb.python/py-arch.exp: Likewise.
6473 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6474 * lib/gdb.exp (is_address_zero_readable): New proc.
6476 2014-08-09 Yao Qi <yao@codesourcery.com>
6479 * gdb.mi/mi-var-display.exp: Make test messages unique.
6481 2014-08-04 Tom Tromey <tromey@redhat.com>
6483 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6486 2014-08-04 Tom Tromey <tromey@redhat.com>
6488 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6491 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6493 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6494 inner_vla_struct_object_size.
6495 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6498 2014-07-30 Pedro Alves <palves@redhat.com>
6500 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6503 2014-07-29 Yao Qi <yao@codesourcery.com>
6506 * gdb.base/until-nodebug.exp: New.
6508 2014-07-28 Doug Evans <xdje42@gmail.com>
6511 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6512 previously existing parameter, and previously ambiguously spelled
6515 2014-07-28 Will Newton <will.newton@linaro.org>
6517 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6519 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6520 Doug Evans <xdje42@gmail.com>
6523 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6525 2014-07-25 Pedro Alves <palves@redhat.com>
6527 * gdb.threads/signal-command-handle-nopass.c: New file.
6528 * gdb.threads/signal-command-handle-nopass.exp: New file.
6529 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6530 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6531 * gdb.threads/signal-delivered-right-thread.c: New file.
6532 * gdb.threads/signal-delivered-right-thread.exp: New file.
6534 2014-07-25 Pedro Alves <palves@redhat.com>
6536 * gdb.base/double-prompt-target-event-error.exp
6537 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6539 (cancel_pagination_in_target_event): Rework double prompt
6541 * gdb.base/paginate-after-ctrl-c-running.exp
6542 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6544 * gdb.base/paginate-bg-execution.exp
6545 (test_bg_execution_pagination_return)
6546 (test_bg_execution_pagination_cancel): Remove '-notransfer
6548 * gdb.base/paginate-execution-startup.exp
6549 (test_fg_execution_pagination_return)
6550 (test_fg_execution_pagination_cancel): Remove '-notransfer
6552 * gdb.base/paginate-inferior-exit.exp
6553 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6555 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6556 * lib/gdb.exp (pagination_prompt): Run text through
6558 (gdb_test_multiple): Match $pagination_prompt instead of
6560 (string_to_regexp): Move to lib/gdb-utils.exp.
6562 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6564 * gdb.arch/amd64-entry-value-paramref.S: New file.
6565 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6566 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6567 * gdb.arch/amd64-optimout-repeat.S: New file.
6568 * gdb.arch/amd64-optimout-repeat.c: New file.
6569 * gdb.arch/amd64-optimout-repeat.exp: New file.
6571 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6574 * gdb.base/statistics.exp: New file.
6576 2014-07-17 Doug Evans <dje@google.com>
6579 * gdb.base/maint.exp: Update testing of per-command stats.
6581 2014-07-16 Pedro Alves <palves@redhat.com>
6583 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6584 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6585 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6586 (tfile_write_buf): New functions.
6587 (add_memory_block): Rewrite using the above.
6588 (adjust_function_address): New function.
6589 (FUNCTION_ADDRESS): New macro.
6590 (write_basic_trace_file): Remove short_x local, and use
6591 tfile_write_16. Change type of func_addr local to unsigned long
6592 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6593 here. Cast argument of add_memory_block to char pointer.
6594 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6595 (main): Remove parameters.
6596 * gdb.trace/tfile.exp: Remove nowarnings.
6598 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6600 * gdb.base/debug-expr.exp: Test string evaluation with
6601 "debug expression" on.
6603 2014-07-15 Pedro Alves <palves@redhat.com>
6605 * gdb.base/reread.exp: Use clean_restart.
6607 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6609 * gdb.arch/avr-flash-qualifer.c: New.
6610 * gdb.arch/avr-flash-qualifer.exp: New.
6612 2014-07-14 Pedro Alves <palves@redhat.com>
6614 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6615 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6617 2014-07-14 Pedro Alves <palves@redhat.com>
6619 * gdb.base/double-prompt-target-event-error.c: New file.
6620 * gdb.base/double-prompt-target-event-error.exp: New file.
6622 2014-07-14 Pedro Alves <palves@redhat.com>
6625 * gdb.base/paginate-inferior-exit.c: New file.
6626 * gdb.base/paginate-inferior-exit.exp: New file.
6628 2014-07-14 Pedro Alves <palves@redhat.com>
6631 * gdb.base/paginate-bg-execution.c: New file.
6632 * gdb.base/paginate-bg-execution.exp: New file.
6634 2014-07-14 Pedro Alves <palves@redhat.com>
6637 * gdb.base/paginate-execution-startup.c: New file.
6638 * gdb.base/paginate-execution-startup.exp: New file.
6639 * lib/gdb.exp (pagination_prompt): New global.
6640 (default_gdb_spawn): New procedure, factored out from
6642 (default_gdb_start): Adjust to call default_gdb_spawn.
6643 (gdb_spawn): New procedure.
6645 2014-07-14 Pedro Alves <palves@redhat.com>
6647 * lib/gdb.exp (gdb_assert): New procedure.
6648 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6650 2014-07-14 Pedro Alves <palves@redhat.com>
6652 * gdb.base/execution-termios.c: New file.
6653 * gdb.base/execution-termios.exp: New file.
6655 2014-07-14 Tom Tromey <tromey@redhat.com>
6657 * gdb.cp/vla-cxx.cc: New file.
6658 * gdb.cp/vla-cxx.exp: New file.
6660 2014-07-14 Tom Tromey <tromey@redhat.com>
6662 * gdb.reverse/rerun-prec.c: New file.
6663 * gdb.reverse/rerun-prec.exp: New file.
6665 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6666 Maciej W. Rozycki <macro@codesourcery.com>
6668 * lib/gdb-utils.exp: New file.
6669 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6670 inline `gdb_init_command' processing.
6671 (gdb_start_cmd): Likewise.
6672 * lib/mi-support.exp (mi_run_cmd): Likewise.
6673 * README: Document `gdb_init_command' and `gdb_init_commands'.
6675 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6677 Fix false FAIL running under a very long directory name.
6678 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6679 and "set print elements 10000". Twice.
6681 2014-07-11 Yao Qi <yao@codesourcery.com>
6683 * gdb.base/exprs.exp: "set print symbol off".
6685 2014-07-11 Pedro Alves <palves@redhat.com>
6687 * gdb.threads/kill.c: New file.
6688 * gdb.threads/kill.exp: New file.
6690 2014-07-10 Yao Qi <yao@codesourcery.com>
6692 * gdb.trace/tfile.c (write_basic_trace_file)
6693 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6694 address written to trace file.
6696 2014-07-09 Pedro Alves <palves@redhat.com>
6698 * gdb.base/attach-wait-input.exp: New file.
6699 * gdb.base/attach-wait-input.c: New file.
6701 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6703 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6704 setting up test structures.
6705 (main): Call new test function.
6706 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6707 test function, continue into test function and walk test
6710 2014-07-02 Yao Qi <yao@codesourcery.com>
6712 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6713 'bar_start' at the beginning of functions 'foo' and 'bar'
6715 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6716 instead of 'foo' and 'bar'.
6718 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6720 * gdb.btrace/segv.exp: New.
6721 * gdb.btrace/segv.c: New.
6723 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6725 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6728 2014-06-30 Mark Wielaard <mjw@redhat.com>
6730 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6731 vulture, vilify, villar): New volatile array constants.
6732 (vindictive, vegetation): New const volatile array constants.
6733 * gdb.base/volatile.exp: Test volatile and const volatile array
6736 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6738 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6739 target lacks support for awatch, rwatch, or hbreak.
6741 2014-06-27 Yao Qi <yao@codesourcery.com>
6743 * gdb.multi/dummy-frame-restore.exp: New.
6744 * gdb.multi/dummy-frame-restore.c: New.
6746 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6748 * gdb.btrace/gcore.exp: New.
6750 2014-06-23 Pedro Alves <palves@redhat.com>
6752 * gdb.base/watchpoint-reuse-slot.c: New file.
6753 * gdb.base/watchpoint-reuse-slot.exp: New file.
6755 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6757 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6758 progspace's filename in 'info', 'enable' and 'disable' command
6761 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6763 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6764 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6765 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6767 2014-06-20 Gary Benson <gbenson@redhat.com>
6769 * gdb.arch/i386-avx.exp: Fix include file location.
6770 * gdb.arch/i386-sse.exp: Likewise.
6772 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6774 * gdb.dlang/expression.exp: New file.
6776 2014-06-19 Pedro Alves <palves@redhat.com>
6778 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6780 (top level): ... here. Iterate running tests under different
6781 scheduler-locking settings.
6783 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6785 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6786 to DW_FORM_addr and use non-zero addresses.
6788 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6791 * gdb.python/py-xmethods.cc: Add global function call counters and
6792 increment them in their respective functions. Remove "cout"
6794 * gdb.python/py-xmethods.exp: Make tests check the global function
6795 call counters instead of depending on inferior IO.
6797 2014-06-18 Don Breazeal <donb@codesourcery.com>
6799 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6801 (explicit_fork_parent_follow): Deleted procedure.
6802 (explicit_fork_child_follow): Deleted procedure.
6803 (test_follow_fork): New procedure.
6804 (do_fork_tests): Replace calls to deleted procedures with
6805 calls to test_follow_fork and reset GDB for subsequent
6808 2014-06-17 Yao Qi <yao@codesourcery.com>
6810 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6813 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6815 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6816 Initialize ptr and S explicitly.
6817 (skip_type_update_when_not_use_rtti_test): Likewise.
6819 2014-06-16 Keith Seitz <keiths@redhat.com>
6822 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6823 the inferior is started.
6825 2014-06-16 Pedro Alves <palves@redhat.com>
6827 * gdb.base/break-main-file-remove-fail.c: New file.
6828 * gdb.base/break-main-file-remove-fail.exp: New file.
6829 * gdb.base/break-unload-file.exp: Use build_executable instead of
6830 prepare_for_testing.
6831 (test_break): New parameter "initial_load". Handle it.
6832 (top level): Add initial_load cmdline/file axis.
6834 2014-06-12 Tom Tromey <tromey@redhat.com>
6836 * gdb.base/completion.exp: Don't use directory name in test.
6838 2014-06-09 Gary Benson <gbenson@redhat.com>
6840 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6841 separate the always-available ANSI-standard signals from the
6842 signals that require checking.
6844 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6848 2014-06-07 Keith Seitz <keiths@redhat.com>
6852 * gdb.cp/var-tag.cc: New file.
6853 * gdb.cp/var-tag.exp: New file.
6854 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6855 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6856 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6857 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6859 2014-06-06 Doug Evans <xdje42@gmail.com>
6861 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6863 2014-06-06 Pedro Alves <palves@redhat.com>
6865 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6866 in target debug output instead of looking at RSP packets,
6867 disabling the test on any target that uses hardware stepping.
6870 2014-06-06 Pedro Alves <palves@redhat.com>
6872 * gdb.base/break-unload-file.exp: Fix typo.
6874 2014-06-06 Yao Qi <yao@codesourcery.com>
6876 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6877 from "jit_function" to "^jit_function".
6879 2014-06-06 Yao Qi <yao@codesourcery.com>
6881 * gdb.base/async.c (foo): Add one statement.
6882 * gdb.base/async.exp: Get the next instruction address and
6883 match the output of "nexti" by instruction address. Match
6884 the hex address in the output of "finish".
6886 2014-06-06 Gary Benson <gbenson@redhat.com>
6888 * gdb.base/call-signals.c: Remove preprocessor conditionals
6889 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6890 SIGSEGV and SIGTERM.
6891 * gdb.base/sigall.c: Likewise.
6892 * gdb.base/unwindonsignal.c: Likewise.
6893 * gdb.reverse/sigall-reverse.c: Likewise.
6895 2014-06-06 Yao Qi <yao@codesourcery.com>
6897 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6898 readable, skip the test.
6900 2014-06-06 Yao Qi <yao@codesourcery.com>
6902 * gdb.threads/staticthreads.c (thread_function): Move the line
6903 setting breakpoint on forward.
6904 * gdb.threads/staticthreads.exp: Update comments.
6906 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6908 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6909 "history-append! type error".
6911 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6913 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6914 erroneous dprintf expected input.
6916 2014-06-04 Doug Evans <xdje42@gmail.com>
6918 * gdb.guile/scm-generics.exp: Delete.
6920 2014-06-04 Doug Evans <xdje42@gmail.com>
6922 * gdb.guile/scm-breakpoint.exp: Update.
6923 Add tests for breakpoint registration.
6925 2014-06-04 Tom Tromey <tromey@redhat.com>
6927 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6929 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6930 inner_vla_struct, vla_union types. Initialize objects of those
6931 types and compute their sizes.
6933 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6934 Hui Zhu <hui@codesourcery.com>
6936 * gdb.base/fileio.exp: Add test for shell not available as well as
6938 * gdb.base/fileio.c (test_system): Check for shell twice.
6940 2014-06-04 Yao Qi <yao@codesourcery.com>
6942 * gdb.base/auto-connect-native-target.exp: Remove redundant
6943 space from the regexp pattern.
6945 2014-06-04 Yao Qi <yao@codesourcery.com>
6947 * gdb.base/default.exp: Replace "child" with "native" in
6950 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6952 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6953 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6954 * gdb.python/py-xmethods.py: Python script supporting the
6955 new testcase and tests.
6957 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6958 Pedro Alves <palves@redhat.com>
6960 PR breakpoints/17000
6961 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6962 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6964 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6966 * gdb.base/subst.exp: Add tests to verify partial path matching
6969 2014-06-03 Pedro Alves <palves@redhat.com>
6971 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6972 target that doesn't use software single-stepping.
6974 2014-06-03 Pedro Alves <palves@redhat.com>
6976 PR breakpoints/17000
6977 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6978 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6980 2014-06-02 Doug Evans <xdje42@gmail.com>
6982 * gdb.guile/scm-parameter.exp: New file.
6984 2014-06-02 Doug Evans <xdje42@gmail.com>
6986 * gdb.guile/scm-cmd.c: New file.
6987 * gdb.guile/scm-cmd.exp: New file.
6989 2014-06-02 Doug Evans <xdje42@gmail.com>
6991 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6992 pretty-printer lookup.
6993 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6994 (make-pp_s-printer): Call it.
6995 (make-pretty-printer-from-dict): New function.
6996 (lookup-pretty-printer-maker-from-dict): New function.
6997 (*pretty-printer*): Simplify.
6998 (make-objfile-pp_s-printer): New function.
6999 (install-objfile-pretty-printers!): New function.
7000 (make-progspace-pp_s-printer): New function.
7001 (install-progspace-pretty-printers!): New function.
7002 * gdb.guile/scm-progspace.c: New file.
7003 * gdb.guile/scm-progspace.exp: New file.
7005 2014-06-02 Pedro Alves <palves@redhat.com>
7007 * gdb.base/dprintf-bp-same-addr.c: New file.
7008 * gdb.base/dprintf-bp-same-addr.exp: New file.
7010 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7012 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7013 * gdb.arch/powerpc-power.s: Likewise.
7015 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7017 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7019 2014-06-01 Yao Qi <yao@codesourcery.com>
7021 * gdb.base/watchpoint.exp (test_watch_location): Check null
7022 pointer can be dereferenced. If not, do the test, otherwise
7025 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7027 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7029 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7031 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7033 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7034 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7035 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7036 * gdb.arch/amd64-invalid-stack-top.c: New file.
7037 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7039 2014-05-30 Pedro Alves <palves@redhat.com>
7041 PR breakpoints/17000
7042 * gdb.base/sss-bp-on-user-bp.c: New file.
7043 * gdb.base/sss-bp-on-user-bp.exp: New file.
7045 2014-05-30 David Blaikie <dblaikie@gmail.com>
7047 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7048 gnu_inline semantics via attribute.
7049 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7050 source explicitly specifies the required semantics.
7052 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7054 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7056 2014-05-29 Pedro Alves <palves@redhat.com>
7057 Tom Tromey <tromey@redhat.com>
7059 * gdb.base/async-shell.exp: Don't enable target-async.
7060 * gdb.base/async.exp
7061 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7063 (top level): Don't test with "target-async".
7064 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7065 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7066 * gdb.base/inferior-died.exp: Don't enable target-async.
7067 * gdb.base/interrupt-noterm.exp: Likewise.
7068 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7069 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7070 * gdb.mi/mi-nonstop.exp: Likewise.
7071 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7072 * gdb.mi/mi-nsintrall.exp: Likewise.
7073 * gdb.mi/mi-nsmoribund.exp: Likewise.
7074 * gdb.mi/mi-nsthrexec.exp: Likewise.
7075 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7076 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7077 * gdb.python/py-evsignal.exp: Don't enable target-async.
7078 * gdb.python/py-evthreads.exp: Likewise.
7079 * gdb.python/py-prompt.exp: Likewise.
7080 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7081 * gdb.server/solib-list.exp: Don't enable target-async.
7082 * gdb.threads/thread-specific-bp.exp: Likewise.
7083 * lib/mi-support.exp: Adjust to use mi-async.
7085 2014-05-29 Pedro Alves <palves@redhat.com>
7088 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7089 reason, even in sync mode.
7091 2014-05-29 Pedro Alves <palves@redhat.com>
7092 Hui Zhu <hui@codesourcery.com>
7095 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7096 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7097 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7098 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7100 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7102 * config/monitor.exp (gdb_target_monitor): Replace use of
7103 "set remotebaud" by "set serial baud".
7105 2014-05-26 Andy Wingo <wingo@igalia.com>
7107 * gdb.guile/scm-breakpoint.exp:
7108 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7109 properties instead of gdb-object-properties.
7111 2014-05-26 Yao Qi <yao@codesourcery.com>
7113 * gdb.server/no-thread-db.exp: Specify source file name
7114 explicitly when setting a breakpoint.
7116 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7118 * gdb.btrace/vdso.c: New.
7119 * gdb.btrace/vdso.exp: New.
7121 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7123 * gdb.base/gcore.exp (capture_command_output): Move ...
7124 * lib/gdb.exp (capture_command_output): ... here.
7126 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7128 * gdb.btrace/data.exp: Test memory access during btrace replay.
7130 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7132 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7134 2014-05-21 Pedro Alves <palves@redhat.com>
7137 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7138 (top level): Test that output related to execution commands is
7139 sent to the console with CLI commands, but not with MI commands.
7140 Test that breakpoint events are always mirrored to the console.
7141 Also expect the new source line to be output after a "next" in
7142 async mode too. Make it a pass/fail test.
7143 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7145 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7147 2014-05-21 Pedro Alves <palves@redhat.com>
7149 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7150 Use them to test variations of "list" after reaching a breakpoint.
7151 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7152 Test "list" with listsize 10 after reaching a breakpoint.
7153 * gdb.python/python.exp (decode_line current location line
7154 number): Adjust expected line number.
7156 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7158 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7159 behavior for $args, pass it directly to "run".
7161 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7163 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7166 2014-05-21 Pedro Alves <palves@redhat.com>
7168 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7169 auto-connect-native-target off".
7170 * gdb.base/auto-connect-native-target.c: New file.
7171 * gdb.base/auto-connect-native-target.exp: New file.
7173 2014-05-21 Pedro Alves <palves@redhat.com>
7175 * gdb.base/default.exp: Test "target native" instead of "target
7178 2014-05-21 Mark Wielaard <mjw@redhat.com>
7180 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7182 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7184 Fix TLS access for -static -pthread.
7185 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7186 <HAVE_TLS> (thread_function, main): Initialize it.
7187 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7189 <$have_tls != "">: Check TLSVAR.
7191 2014-05-21 Pedro Alves <palves@redhat.com>
7193 * gdb.base/dcache-line-read-error.c: New.
7194 * gdb.base/dcache-line-read-error.exp: New.
7196 2014-05-20 Pedro Alves <palves@redhat.com>
7198 * gdb.base/compare-sections.c: New file.
7199 * gdb.base/compare-sections.exp: New file.
7201 2014-05-20 Pedro Alves <palves@redhat.com>
7203 * gdb.base/break-idempotent.c: New file.
7204 * gdb.base/break-idempotent.exp: New file.
7206 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7208 * gdb.btrace/nohist.exp: New.
7210 2014-05-20 Yao Qi <yao@codesourcery.com>
7212 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7213 gdb.reverse directory and gdb_reverse_timeout exists in board
7215 * README: Document gdb_reverse_timeout.
7217 2014-05-20 Yao Qi <yao@codesourcery.com>
7219 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7220 'test_file_name'. Treat args as a string instead of a list.
7221 (gdb_init): Rename argument 'args' by 'test_file_name'.
7223 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7225 * gdb.arch/powerpc-power.exp: New file.
7226 * gdb.arch/powerpc-power.s: New file.
7228 2014-05-16 Doug Evans <dje@google.com>
7230 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7231 * gdb.base/completion.exp: Check that all expected files exist
7232 before doing file completion.
7234 2014-05-16 Doug Evans <dje@google.com>
7236 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7238 (do_syscall_tests_without_xml): Update.
7240 2014-05-16 Pedro Alves <palves@redhat.com>
7242 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7243 instead of "unknown output after running".
7245 2014-05-16 Yao Qi <yao@codesourcery.com>
7247 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7248 file1.txt from host at the end.
7249 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7251 2014-05-15 Doug Evans <dje@google.com>
7253 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7254 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7255 loading file. Add test for TU lookup.
7257 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7259 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7260 calling "-exec-arguments" or "set args" before running the
7263 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7265 * lib/mi-support.exp (mi_expect_stop): Expect message for
7266 inferiors that exit with non-zero exit code.
7268 2014-05-14 Yao Qi <yao@codesourcery.com>
7270 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7271 match absolute path on remote host.
7272 (test_file_list_exec_source_files): Remove "/" from the
7275 2014-05-14 Yao Qi <yao@codesourcery.com>
7277 * boards/local-remote-host-notty.exp (${board}_file): New
7280 2014-05-07 Kyle McMartin <kyle@redhat.com>
7282 Pushed by Joel Brobecker <brobecker@adacore.com>.
7283 * gdb.arch/aarch64-atomic-inst.c: New file.
7284 * gdb.arch/aarch64-atomic-inst.exp: New file.
7286 2014-05-07 Yao Qi <yao@codesourcery.com>
7288 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7289 in current context" too.
7291 2014-05-05 Keith Seitz <keiths@redhat.com>
7293 * gdb.linespec/ls-dollar.exp: Add test for linespec
7294 file:convenience_variable.
7296 2014-05-05 Yao Qi <yao@codesourcery.com>
7298 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7299 traceframes into tfile and ctf trace files. Read data from
7300 trace file and test collected data.
7301 (gdb_collect_locals_test): Likewise.
7302 (gdb_unavailable_registers_test): Likewise.
7303 (gdb_unavailable_floats): Likewise.
7304 (gdb_collect_globals_test): Likewise.
7305 (top-level): Append "ctf" to trace_file_targets if GDB
7308 2014-05-05 Yao Qi <yao@codesourcery.com>
7310 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7312 (gdb_collect_args_test_1): ... it. New proc.
7313 (gdb_collect_locals_test): Move some code to ...
7314 (gdb_collect_locals_test_1): ... it. New proc.
7315 (gdb_unavailable_registers_test): Move some code to ...
7316 (gdb_unavailable_registers_test_1): ... it. New proc.
7317 (gdb_unavailable_floats): Move some code to ...
7318 (gdb_unavailable_floats_1): ... it. New proc.
7320 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7322 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7323 probes to test for bitness recognition.
7324 * gdb.arch/amd64-stap-optional-prefix.exp
7325 (test_probe_value_without_reg): New procedure.
7326 Add code to test for different kinds of bitness.
7328 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7330 PR breakpoints/16889
7331 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7332 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7334 2014-05-01 Pedro Alves <palves@redhat.com>
7336 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7337 gdb_file_cmd if no file is specified.
7338 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7339 last_loaded_file to set the remote exec-file.
7341 2014-05-01 Pedro Alves <palves@redhat.com>
7343 * boards/local-remote-host.exp: New file.
7345 2014-05-01 Pedro Alves <palves@redhat.com>
7347 * boards/local-remote-host.exp: Rename to ...
7348 * boards/local-remote-host-notty.exp: ... this.
7350 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7352 * gdb.ada/dyn_arrayidx: New testcase.
7354 2014-04-26 Yao Qi <yao@codesourcery.com>
7356 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7357 and compute the length of function main. Save it in
7359 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7360 (top-level): Use gdb_compile to compile objects into
7361 executable and restart GDB. Remove invocation to
7362 prepare_for_testing.
7364 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7365 Pedro Alves <palves@redhat.com>
7368 * gdb.multi/multi-attach.c: New file.
7369 * gdb.multi/multi-attach.exp: New file.
7371 2014-04-25 Pedro Alves <palves@redhat.com>
7373 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7375 (top level): Test that "set remote conditional-breakpoints-packet
7376 off" works as intended.
7377 * gdb.base/dprintf.exp: Test that "set remote
7378 breakpoint-commands-packet off" works as intended.
7379 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7381 (top level): Call it.
7382 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7383 remote fast-tracepoints-packet off" works as intended.
7384 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7385 * lib/gdb.exp (gdb_is_target_remote): ... here.
7387 2014-04-24 David Blaikie <dblaikie@gmail.com>
7389 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7390 ensure clang would not discard them.
7391 * gdb.base/gdbvars.c: Ditto.
7392 * gdb.base/memattr.c: Ditto.
7393 * gdb.base/whatis.c: Ditto.
7394 * gdb.python/py-prettyprint.c: Ditto.
7395 * gdb.trace/actions.c: Ditto.
7396 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7397 ensure clang would not discard it.
7399 2014-04-24 David Blaikie <dblaikie@gmail.com>
7401 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7402 clang to emit the full definition of type required by the test
7403 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7405 2014-04-24 David Blaikie <dblaikie@gmail.com>
7407 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7408 coax Clang into emitting the definition of the type.
7409 * gdb.cp/pr10728-x.h (y): Ditto.
7410 * gdb.cp/pr10728-y.cc (y): Ditto.
7412 2014-04-24 David Blaikie <dblaikie@gmail.com>
7414 * gdb.base/label.exp: XFAIL label related tests under Clang.
7415 * gdb.cp/cplabel.exp: Ditto.
7416 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7417 under Clang those using labels.
7419 2014-04-25 Yao Qi <yao@codesourcery.com>
7421 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7423 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7424 partial_label and double_label.
7426 2014-04-24 David Blaikie <dblaikie@gmail.com>
7428 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7430 2014-04-24 David Blaikie <dblaikie@gmail.com>
7432 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7433 of the function to work across GCC and Clang.
7434 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7435 pointer types (const void ** const V void **).
7437 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7438 Walfred Tedeschi <walfred.tedeschi@intel.com>
7440 * Makefile.in (EXECUTABLES): Added i386-avx512.
7441 * gdb.arch/i386-avx512.c: New file.
7442 * gdb.arch/i386-avx512.exp: Likewise.
7444 2014-04-23 Keith Seitz <keiths@redhat.com>
7446 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7447 (mi_make_breakpoint_table): New procedure.
7448 (mi_create_breakpoint): Use mi_make_breakpoint
7449 and return the result.
7450 (mi_make_breakpoint): New procedure.
7451 (mi_build_kv_pairs): New procedure.
7453 * gdb.mi/mi-break.exp: Remove unused globals,
7454 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7455 All callers updated.
7456 * gdb.mi/mi-dprintf.exp: Use variable to track command
7458 Update all callers of mi_create_breakpoint and use
7459 mi_make_breakpoint_table.
7460 Remove any unused global variables.
7461 * gdb.mi/mi-nonstop.exp: Likewise.
7462 * gdb.mi/mi-nsintrall.exp: Likewise.
7463 * gdb.mi/mi-nsmoribund.exp: Likewise.
7464 * gdb.mi/mi-nsthrexec.exp: Likewise.
7465 * gdb.mi/mi-reverse.exp: Likewise.
7466 * gdb.mi/mi-simplerun.exp: Likewise.
7467 * gdb.mi/mi-stepn.exp: Likewise.
7468 * gdb.mi/mi-syn-frame.exp: Likewise.
7469 * gdb.mi/mi-until.exp: Likewise.
7470 * gdb.mi/mi-var-cp.exp: Likewise.
7471 * gdb.mi/mi-var-display.exp: Likewise.
7472 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7473 * gdb.mi/mi2-var-child.exp: Likewise.
7474 * gdb.mi/mi-vla-c99.exp: Likewise.
7475 * lib/mi-support.exp: Likewise.
7477 From Ian Lance Taylor <iant@cygnus.com>:
7478 * lib/gdb.exp (parse_args): New procedure.
7480 2014-04-23 Pedro Alves <palves@redhat.com>
7482 * gdb.base/break-unload-file.c: New file.
7483 * gdb.base/break-unload-file.exp: New file.
7484 * gdb.base/sym-file-lib.c (baz): New function.
7485 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7487 (load): Store the segment's mapped size.
7488 (unload): New function.
7489 (unload_shlib): New function.
7490 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7491 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7492 set a breakpoint at baz, and call it.
7493 * gdb.base/sym-file.exp: New tests for stale breakpoint
7496 2014-04-23 Pedro Alves <palves@redhat.com>
7498 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7499 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7500 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7501 * gdb.base/hbreak-unmapped.c: New file.
7502 * gdb.base/hbreak-unmapped.exp: New file.
7503 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7504 * lib/gdb.exp (gdb_is_target_remote): ... here.
7506 2014-04-22 Pedro Alves <palves@redhat.com>
7508 * gdb.base/consecutive-step-over.c: New file.
7509 * gdb.base/consecutive-step-over.exp: New file.
7511 2014-04-22 Pedro Alves <palves@redhat.com>
7513 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7514 instead of send_gdb/gdb_expect.
7516 2014-04-22 Yao Qi <yao@codesourcery.com>
7518 * lib/trace-support.exp (generate_tracefile): New procedure.
7519 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7521 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7522 if generate_tracefile returns 1.
7524 2014-04-18 Tom Tromey <palves@redhat.com>
7525 Pedro alves <tromey@redhat.com>
7528 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7529 with a backtrace limit.
7530 * gdb.python/py-frame-inline.exp: Test running to an inline
7531 function with a backtrace limit, and printing the newest frame.
7532 * gdb.python/py-frame-inline.c (main): Call f.
7534 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7536 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7538 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7540 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7541 Drop prefix from unsupported source file path.
7543 2014-04-17 Yao Qi <yao@codesourcery.com>
7545 * lib/gdb.exp (with_target_charset): New proc.
7546 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7547 with_target_charset.
7548 (test_print_strings): Likewise.
7549 (test_repeat_bytes): Likewise.
7550 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7553 2014-04-16 Keith Seitz <keiths@redhat.com>
7556 * gdb.dwarf2/corrupt.c: New file.
7557 * gdb.dwarf2/corrupt.exp: New file.
7559 2014-04-16 Keith Seitz <keiths@redhat.com>
7562 * gdb.cp/namelessclass.cc: New file.
7563 * gdb.cp/namelessclass.exp: New file.
7564 * gdb.cp/namelessclass.S: New file.
7566 2014-04-16 Doug Evans <dje@google.com>
7568 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7570 (gdbserver_default_get_comm_port): New function.
7571 (gdbserver_start): Check if board file provided
7572 "gdbserver,get_comm_port" and use it if so.
7573 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7574 (gdb,socketport): Set to "stdio".
7575 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7576 (stdio_gdbserver_template): Delete.
7577 (${board}_get_remote_address): Update.
7578 (${board}_build_remote_cmd): Delete.
7579 (${board}_get_comm_port): New function.
7580 (${board}_spawn): Update.
7581 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7583 (${board}_get_remote_address): Update.
7584 (${board}_get_comm_port): New function.
7586 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7588 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7589 appearing in any order.
7591 2014-04-15 Doug Evans <dje@google.com>
7593 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7594 uninitialized value of "description".
7596 2014-04-15 Keith Seitz <keiths@redhat.com>
7598 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7599 Remove unused globals.
7600 (test_running_the_program): Likewise.
7601 (test_controlled_execution): Likewise.
7602 (test_controlling_breakpoints): Likewise.
7603 (test_program_termination): Likewise.
7605 2014-04-15 Keith Seitz <keiths@redhat.com>
7607 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7609 (test_rbreak_creation_and_listing): Likewise.
7610 (test_ignore_count): Likewise.
7611 (test_error): Likewise.
7613 2014-04-15 Pedro Alves <palves@redhat.com>
7615 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7616 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7618 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7619 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7620 to sym-file-loader.c.
7621 (struct library): Forward declare.
7622 (load_shlib, lookup_function): Change prototypes.
7623 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7624 (translate_offset): Remove declarations.
7625 (get_text_addr): New declaration.
7626 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7627 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7629 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7630 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7631 here from sym-file-loader.h.
7632 (struct library): New structure.
7633 (load_shlib, lookup_function): Change prototypes and adjust to
7634 work with a struct library.
7635 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7636 (translate_offset): Make static.
7637 (get_text_addr): New function.
7638 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7640 2014-04-15 Pedro Alves <palves@redhat.com>
7642 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7644 2014-04-15 Pedro Alves <palves@redhat.com>
7646 * gdb.base/sym-file-loader.c: Include <limits.h>.
7647 (SELF_LINK): New define.
7648 (get_origin): New function.
7649 (load_shlib): Use it.
7650 * gdb.base/sym-file.exp: Don't early return if the target is
7651 remote. Use runto_main, and issue fail is that fails. Use
7653 (shlib_name): Delete.
7654 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7656 2014-04-15 Pedro Alves <palves@redhat.com>
7658 * gdb.base/sym-file.exp: Remove regex characters from test
7659 message. Don't refer to breakpoint numbers in test messages.
7661 2014-04-14 Keith Seitz <keiths@redhat.com>
7664 * gdb.cp/var-tag.cc: New file.
7665 * gdb.cp/var-tag.exp: New file.
7666 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7667 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7668 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7669 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7671 2014-04-14 Tom Tromey <tromey@redhat.com>
7673 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7674 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7676 * gdb.cp/enum-class.exp: New file.
7677 * gdb.cp/enum-class.cc: New file.
7679 2014-04-14 Tom Tromey <tromey@redhat.com>
7681 * gdb.dwarf2/enum-type.exp: New file.
7683 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7685 * gdb.mi/mi-vla-c99.exp: New file.
7686 * gdb.mi/vla.c: New file.
7688 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7690 * gdb.base/vla-datatypes.c: New file.
7691 * gdb.base/vla-datatypes.exp: New file.
7693 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7695 * gdb.base/vla-ptr.c: New file.
7696 * gdb.base/vla-ptr.exp: New file.
7698 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7700 * gdb.dwarf2/count.exp: New file.
7702 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7704 * gdb.base/vla-sideeffect.c: New file.
7705 * gdb.base/vla-sideeffect.exp: New file.
7707 2014-04-14 David Blaikie <dblaikie@gmail.com>
7709 * gdb.mi/non-stop.c: Add return value for non-void function return
7711 * gdb.threads/staticthreads.c: Ditto.
7713 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7714 Doug Evans <xdje42@gmail.com>
7716 * gdb.guile/scm-value.c: Improve test case.
7717 * gdb.guile/scm-value.exp: Add new test.
7719 2014-04-11 David Blaikie <dblaikie@gmail.com>
7721 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7722 override Clang's default.
7724 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7726 Revert the following changes (regressions):
7728 * gdb.base/vla-sideeffect.c: New file.
7729 * gdb.base/vla-sideeffect.exp: New file.
7731 * gdb.dwarf2/count.exp: New file.
7733 * gdb.base/vla-multi.c: New file.
7734 * gdb.base/vla-multi.exp: New file.
7736 * gdb.base/vla-ptr.c: New file.
7737 * gdb.base/vla-ptr.exp: New file.
7739 * gdb.base/vla-datatypes.c: New file.
7740 * gdb.base/vla-datatypes.exp: New file.
7742 * gdb.mi/mi-vla-c99.exp: New file.
7743 * gdb.mi/vla.c: New file.
7745 2014-04-11 Keith Seitz <keiths@redhat.com>
7748 * gdb.cp/cpsizeof.exp: New file.
7749 * gdb.cp/cpsizeof.cc: New file.
7751 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7753 * gdb.mi/mi-vla-c99.exp: New file.
7754 * gdb.mi/vla.c: New file.
7756 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7758 * gdb.base/vla-datatypes.c: New file.
7759 * gdb.base/vla-datatypes.exp: New file.
7761 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7763 * gdb.base/vla-ptr.c: New file.
7764 * gdb.base/vla-ptr.exp: New file.
7766 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7768 * gdb.base/vla-multi.c: New file.
7769 * gdb.base/vla-multi.exp: New file.
7771 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7773 * gdb.dwarf2/count.exp: New file.
7775 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7777 * gdb.base/vla-sideeffect.c: New file.
7778 * gdb.base/vla-sideeffect.exp: New file.
7780 2014-04-11 Yao Qi <yao@codesourcery.com>
7782 * gdb.base/completion.exp: Check file exists before running tests
7785 2014-04-10 Pedro Alves <palves@redhat.com>
7787 * gdb.base/cond-eval-mode.c: New file.
7788 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7789 prepare_for_testing to build the new file. Check result of
7791 (test_break, test_watch): New procedures.
7792 (top level): Use them.
7794 2014-04-08 Pierre Muller <muller@sourceware.org>
7796 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7797 Ctrl-V use for mingw hosts.
7799 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7801 * gdb.python/py-value.c: Improve test case.
7802 * gdb.python/py-value.exp: Add new test.
7804 2014-04-07 David Blaikie <dblaikie@gmail.com>
7806 * lib/compiler.c: Identify the clang compiler.
7807 * lib/compiler.cc: Ditto.
7809 2014-04-03 Yao Qi <yao@codesourcery.com>
7811 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7813 2014-04-01 Anton Blanchard <anton@samba.org>
7815 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7818 2014-04-01 Anton Blanchard <anton@samba.org>
7820 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7821 prepare_for_testing.
7823 2014-04-01 Anton Blanchard <anton@samba.org>
7825 * gdb.arch/ppc64-atomic-inst.c: Remove.
7826 * gdb.arch/ppc64-atomic-inst.S: New file.
7827 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7829 2014-03-31 Doug Evans <dje@google.com>
7831 * gdb.base/print-symbol-loading-lib.c: New file.
7832 * gdb.base/print-symbol-loading-main.c: New file.
7833 * gdb.base/print-symbol-loading.exp: New file.
7835 2014-03-31 Yao Qi <yao@codesourcery.com>
7837 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7839 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7841 * gdb.ada/mi_dyn_arr: New testcase.
7843 2014-03-27 Doug Evans <dje@google.com>
7845 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7847 2014-03-27 Yao Qi <yao@codesourcery.com>
7849 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7850 if target is nios2-*-*.
7852 2014-03-26 Yao Qi <yao@codesourcery.com>
7854 * lib/gdb.exp (readline_is_used): New proc.
7855 * gdb.base/completion.exp: Move tests on command complete up.
7856 Skip the rest of tests if readline is not used.
7857 * gdb.ada/complete.exp: Skp the test if readline is not
7859 * gdb.base/filesym.exp: Likewise.
7860 * gdb.base/macscp.exp: Likewise.
7861 * gdb.base/readline-ask.exp: Likewise.
7862 * gdb.base/readline.exp: Likewise.
7863 * gdb.python/py-cmd.exp: Likewise.
7864 * gdb.trace/tfile.exp: Likewise.
7866 2014-03-26 Yao Qi <yao@codesourcery.com>
7868 * gdb.base/macscp.exp: Fix code format issues.
7870 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7872 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7873 * gdb.asm/powerpc64le.inc: New file.
7875 2014-03-25 Pedro Alves <palves@redhat.com>
7876 Doug Evans <dje@google.com>
7878 * gdb.base/source-execution.c: New file.
7879 * gdb.base/source-execution.exp: New file.
7880 * gdb.base/source-execution.gdb: New file.
7882 2014-03-24 Doug Evans <dje@google.com>
7884 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7887 2014-03-24 Hui Zhu <hui@codesourcery.com>
7888 Pedro Alves <palves@redhat.com>
7890 PR breakpoints/16101
7891 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7892 test pass/fail messages. Detect missing support for dprintf when
7893 breakpoints are actually inserted.
7894 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7895 breakpoints are actually inserted.
7896 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7899 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7901 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7903 2014-03-22 Doug Evans <xdje42@gmail.com>
7905 * gdb.python/python.exp (python not supported): Verify multi-line
7906 python command issues an error.
7907 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7908 guile command issues an error.
7910 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7912 * gdb.threads/thread-specific.exp: Handle the lack of usable
7913 $this_breakpoint and $this_thread.
7915 2014-03-21 Hui Zhu <hui@codesourcery.com>
7917 * gdb.base/attach.exp (do_command_attach_tests): New.
7919 2014-03-20 Tom Tromey <tromey@redhat.com>
7920 Pedro Alves <palves@redhat.com>
7923 * gdb.base/condbreak-call-false.c: New file.
7924 * gdb.base/condbreak-call-false.exp: New file.
7926 2014-03-20 Pedro Alves <palves@redhat.com>
7928 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7930 (block_signals, unblock_signals): Delete.
7931 (child_function_2, main): Remove references to deleted variable
7934 2014-03-20 Pedro Alves <palves@redhat.com>
7936 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7937 Use pthread_kill to signal thread 2.
7938 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7939 Adjust to make the test send itself a signal rather than using the
7940 host's "kill" command.
7942 2014-03-20 Pedro Alves <palves@redhat.com>
7944 * gdb.threads/multiple-step-overs.c: New file.
7945 * gdb.threads/multiple-step-overs.exp: New file.
7946 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7947 Adjust expected infrun debug output.
7949 2014-03-20 Pedro Alves <palves@redhat.com>
7951 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7952 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7954 2014-03-20 Pedro Alves <palves@redhat.com>
7957 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7958 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7959 of gdb_test_multiple.
7960 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7961 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7963 2014-03-20 Pedro Alves <palves@redhat.com>
7965 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7966 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7968 2014-03-19 Pedro Alves <palves@redhat.com>
7970 * gdb.base/async.exp: Remove early return.
7972 2014-03-19 Pedro Alves <palves@redhat.com>
7974 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7976 2014-03-19 Pedro Alves <palves@redhat.com>
7978 * gdb.base/async.exp (test_background): Expect \r\n after
7979 "completed." in the fail pattern.
7981 2014-03-19 Pedro Alves <palves@redhat.com>
7983 * gdb.base/async.exp (test_background): New procedure.
7984 Use it for all background execution command tests.
7986 2014-03-19 Pedro Alves <palves@redhat.com>
7988 * gdb.base/async.exp: Use prepare_for_testing.
7990 2014-03-19 Pedro Alves <palves@redhat.com>
7992 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7995 2014-03-19 Pedro Alves <palves@redhat.com>
7997 * gdb.base/async.c (main): Add "jump here" and "until here" line
7999 * gdb.base/async.exp (jump_here): New global.
8000 (jump& test): Use it.
8001 (until_here): New global.
8002 (until& test): Use it.
8004 2014-03-19 Pedro Alves <palves@redhat.com>
8006 * gdb.base/async.exp: Don't frob gdb_protocol.
8008 2014-03-18 Doug Evans <xdje42@gmail.com>
8010 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8011 Fix spelling of exec-done-display.
8013 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8016 * gdb.base/gdb-sigterm.c: New file.
8017 * gdb.base/gdb-sigterm.exp: New file.
8019 2014-03-18 Pedro Alves <palves@redhat.com>
8022 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8023 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8026 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8028 * gdb.ada/pckd_arr_ren: New testcase.
8030 2014-03-13 Doug Evans <xdje42@gmail.com>
8033 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8034 collect after discarding symbols.
8036 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8037 Doug Evans <xdje42@gmail.com>
8039 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8040 to history survives a gc.
8042 2014-03-13 Pedro Alves <palves@redhat.com>
8044 * gdb.base/default.exp: Don't test "target procfs".
8046 2014-03-13 Pedro Alves <palves@redhat.com>
8048 * gdb.base/default.exp: Update "target child" and "target procfs"
8049 tests to not expect "Unix".
8051 2014-03-12 Tom Tromey <tromey@redhat.com>
8053 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8054 New procs. Add target-async tests.
8055 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8056 Add target-async tests.
8058 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8060 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8061 'func_start' and 'func_end' for the beginning and end of the
8062 function code, respectively.
8063 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8064 'func_end' instead of 'func' and 'main'.
8066 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8068 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8069 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8070 generate the debug info assembler source.
8072 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8074 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8075 * gdb.dwarf2/arr-subrange.exp: Likewise.
8076 * gdb.dwarf2/dwz.exp: Likewise.
8077 * gdb.dwarf2/method-ptr.exp: Likewise.
8078 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8079 * gdb.dwarf2/subrange.exp: Likewise.
8080 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8081 * gdb.dwarf2/implptrpiece.exp: Likewise.
8082 * gdb.dwarf2/nostaticblock.exp: Likewise.
8084 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8086 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8087 directory to absolute path name arguments.
8089 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8091 * gdb.ada/tagged_access: New testcase.
8093 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8095 * gdb.btrace/data.exp: Update expected output.
8097 2014-03-06 Yao Qi <yao@codesourcery.com>
8099 * gdb.trace/pr16508.exp: New file.
8101 2014-03-05 Pedro Alves <palves@redhat.com>
8104 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8106 (top level): Adjust to use it. Add tests that exercise breakpoint
8107 interaction with the code-cache.
8109 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8111 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8112 test for 'history-append!'.
8114 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8116 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8117 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8118 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8119 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8120 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8121 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8123 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8125 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8126 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8127 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8129 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8131 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8133 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8135 * gdb.dwarf2/arr-stride.c: New file.
8136 * gdb.dwarf2/arr-stride.exp: New file.
8138 2014-02-26 Pedro Alves <palves@redhat.com>
8140 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8141 that won't ever trigger. Make sure that GDB reports the correct
8142 breakpoint that caused the stop.
8144 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8147 * gdb.base/auto-load-script: New file.
8148 * gdb.base/auto-load.c: New file.
8149 * gdb.base/auto-load.exp: New file.
8152 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8154 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8156 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8157 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8159 2014-02-24 Doug Evans <dje@google.com>
8161 * lib/gdb.exp (run_on_host): Log error output if program fails.
8163 2014-02-21 Pedro Alves <palves@redhat.com>
8165 * gdb.threads/step-after-sr-lock.c: Rename to ...
8166 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8167 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8168 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8171 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8174 * gdb.arch/amd64-stap-special-operands.exp: New file.
8175 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8176 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8177 * gdb.arch/amd64-stap-triplet.S: Likewise.
8178 * gdb.arch/amd64-stap-triplet.c: Likewise.
8180 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8182 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8183 in .section pseudo-op.
8185 2014-02-20 lin zuojian <manjian2006@gmail.com>
8186 Joel Brobecker <brobecker@adacore.com>
8187 Doug Evans <xdje42@gmail.com>
8190 * gdb.dwarf2/dw2-icycle.S: New file.
8191 * gdb.dwarf2/dw2-icycle.c: New file.
8192 * gdb.dwarf2/dw2-icycle.exp: New file.
8194 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8196 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8197 operations on gdb.Value objects.
8198 * gdb.python/py-value-cc.exp: Add new test to test operations on
8201 2014-02-18 Doug Evans <dje@google.com>
8203 * Makefile.in (TESTS): New variable.
8204 (expanded_tests, expanded_tests_or_none): New variables
8205 (check-single): Pass $(expanded_tests_or_none) to runtest.
8206 (check-parallel): Only run tests in $(TESTS) if non-empty.
8207 (check/no-matching-tests-found): New rule.
8208 * README: Document TESTS makefile variable.
8210 2014-02-18 Doug Evans <dje@google.com>
8212 * Makefile.in (check-parallel): rm -rf outputs temp.
8214 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8216 Fix "ERROR: no fileid for" in the testsuite.
8217 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8219 2014-02-12 Doug Evans <dje@google.com>
8221 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8222 (MISCELLANEOUS): New variable.
8223 (clean): rm -rf $(MISCELLANEOUS).
8224 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8225 dwp live in the same directory as symlinks, with each symlink pointed
8226 to a differently named file in a different directory.
8228 2014-02-11 Doug Evans <dje@google.com>
8230 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8231 of Tcl file commands.
8233 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8235 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8238 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8240 * gdb.ada/tick_length_array_enum_idx: New testcase.
8242 2014-02-10 Doug Evans <xdje42@gmail.com>
8244 * configure.ac (AC_OUTPUT): Add gdb.guile.
8245 * configure: Regenerate.
8246 * lib/gdb-guile.exp: New file.
8247 * lib/gdb.exp (get_target_charset): New function.
8248 * gdb.base/help.exp: Update expected output from "apropos apropos".
8249 * gdb.guile/Makefile.in: New file.
8250 * gdb.guile/guile.exp: New file.
8251 * gdb.guile/scm-arch.c: New file.
8252 * gdb.guile/scm-arch.exp: New file.
8253 * gdb.guile/scm-block.c: New file.
8254 * gdb.guile/scm-block.exp: New file.
8255 * gdb.guile/scm-breakpoint.c: New file.
8256 * gdb.guile/scm-breakpoint.exp: New file.
8257 * gdb.guile/scm-disasm.c: New file.
8258 * gdb.guile/scm-disasm.exp: New file.
8259 * gdb.guile/scm-equal.c: New file.
8260 * gdb.guile/scm-equal.exp: New file.
8261 * gdb.guile/scm-error.exp: New file.
8262 * gdb.guile/scm-error.scm: New file.
8263 * gdb.guile/scm-frame-args.c: New file.
8264 * gdb.guile/scm-frame-args.exp: New file.
8265 * gdb.guile/scm-frame-args.scm: New file.
8266 * gdb.guile/scm-frame-inline.c: New file.
8267 * gdb.guile/scm-frame-inline.exp: New file.
8268 * gdb.guile/scm-frame.c: New file.
8269 * gdb.guile/scm-frame.exp: New file.
8270 * gdb.guile/scm-generics.exp: New file.
8271 * gdb.guile/scm-gsmob.exp: New file.
8272 * gdb.guile/scm-iterator.c: New file.
8273 * gdb.guile/scm-iterator.exp: New file.
8274 * gdb.guile/scm-math.c: New file.
8275 * gdb.guile/scm-math.exp: New file.
8276 * gdb.guile/scm-objfile-script-gdb.in: New file.
8277 * gdb.guile/scm-objfile-script.c: New file.
8278 * gdb.guile/scm-objfile-script.exp: New file.
8279 * gdb.guile/scm-objfile.c: New file.
8280 * gdb.guile/scm-objfile.exp: New file.
8281 * gdb.guile/scm-ports.exp: New file.
8282 * gdb.guile/scm-pretty-print.c: New file.
8283 * gdb.guile/scm-pretty-print.exp: New file.
8284 * gdb.guile/scm-pretty-print.scm: New file.
8285 * gdb.guile/scm-section-script.c: New file.
8286 * gdb.guile/scm-section-script.exp: New file.
8287 * gdb.guile/scm-section-script.scm: New file.
8288 * gdb.guile/scm-symbol.c: New file.
8289 * gdb.guile/scm-symbol.exp: New file.
8290 * gdb.guile/scm-symtab-2.c: New file.
8291 * gdb.guile/scm-symtab.c: New file.
8292 * gdb.guile/scm-symtab.exp: New file.
8293 * gdb.guile/scm-type.c: New file.
8294 * gdb.guile/scm-type.exp: New file.
8295 * gdb.guile/scm-value-cc.cc: New file.
8296 * gdb.guile/scm-value-cc.exp: New file.
8297 * gdb.guile/scm-value.c: New file.
8298 * gdb.guile/scm-value.exp: New file.
8299 * gdb.guile/source2.scm: New file.
8300 * gdb.guile/types-module.cc: New file.
8301 * gdb.guile/types-module.exp: New file.
8303 2014-02-10 Yao Qi <yao@codesourcery.com>
8306 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8307 * configure: Regenerated.
8308 * Makefile.in: New file.
8310 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8312 * gdb.python/py-framefilter.exp: Fix typo.
8314 2014-02-08 Yao Qi <yao@codesourcery.com>
8316 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8317 that no =breakpoint-modified is emitted when breakpoints are
8318 modified through MI commands.
8320 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8321 Pedro Alves <palves@redhat.com>
8323 * gdb.threads/step-after-sr-lock.c: New file.
8324 * gdb.threads/step-after-sr-lock.exp: New file.
8326 2014-02-07 Pedro Alves <palves@redhat.com>
8328 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8330 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8332 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8333 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8335 2014-02-06 Doug Evans <xdje42@gmail.com>
8337 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8340 * gdb.gdb/python-interrupts.exp: New file.
8342 2014-02-05 Yao Qi <yao@codesourcery.com>
8344 * gdb.trace/report.exp (use_collected_data): Test the output
8345 of "info threads" and "info inferiors".
8347 2014-02-05 Yao Qi <yao@codesourcery.com>
8351 2013-05-24 Yao Qi <yao@codesourcery.com>
8353 * gdb.trace/tfile.exp: Test inferior and thread.
8355 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8357 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8359 * gdb.base/step-bt.c: Call hello via function pointer to make
8360 sure its first instruction is executed on powerpc64le-linux.
8362 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8364 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8366 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8368 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8369 of the test patterns for use on little-endian systems.
8371 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8373 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8374 (decimal_vector): Fix for little-endian.
8376 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8378 * gdb.arch/sparc-sysstep.exp: New file.
8379 * gdb.arch/sparc-sysstep.c: Likewise.
8381 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8383 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8385 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8387 2014-01-23 Tom Tromey <tromey@redhat.com>
8389 * gdb.ada/array_char_idx: New testcase.
8391 2014-01-23 Tom Tromey <tromey@redhat.com>
8394 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8395 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8398 2014-01-23 Tom Tromey <tromey@redhat.com>
8401 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8402 string from an inferior frame.
8403 * gdb.python/py-framefilter-mi.exp: Update.
8405 2014-01-22 Doug Evans <dje@google.com>
8407 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8409 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8411 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8413 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8415 * gdb.trace/entry-values.exp: Remove excess space character from
8416 regex patterns. Handle s390 call instruction.
8418 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8420 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8421 define "*_start" label. Make "name" static.
8422 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8423 ${name} by references to ${name}_start.
8425 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8427 * gdb.base/info-macros.exp: Remove "debug" from the compile
8430 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8432 * gdb.dlang/demangle.exp: New file.
8434 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8436 * gdb.dlang/primitive-types.exp: New file.
8438 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8440 * configure.ac: Create gdb.dlang/Makefile.
8441 * configure: Regenerate.
8442 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8443 * gdb.dlang/Makefile.in: New file.
8444 * lib/d-support.exp: New file.
8445 * lib/gdb.exp (skip_d_tests): New proc.
8447 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8449 * gdb.btrace/delta.exp: Check reverse stepi.
8450 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8451 * gdb.btrace/finish.exp: New.
8452 * gdb.btrace/next.exp: New.
8453 * gdb.btrace/nexti.exp: New.
8454 * gdb.btrace/record_goto.c: Add comments.
8455 * gdb.btrace/step.exp: New.
8456 * gdb.btrace/stepi.exp: New.
8457 * gdb.btrace/multi-thread-step.c: New.
8458 * gdb.btrace/multi-thread-step.exp: New.
8459 * gdb.btrace/rn-dl-bind.c: New.
8460 * gdb.btrace/rn-dl-bind.exp: New.
8461 * gdb.btrace/data.c: New.
8462 * gdb.btrace/data.exp: New.
8463 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8467 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8468 * gdb.btrace/exception.exp: Update.
8469 * gdb.btrace/instruction_history.exp: Update.
8470 * gdb.btrace/record_goto.exp: Update.
8471 * gdb.btrace/tailcall.exp: Update.
8472 * gdb.btrace/unknown_functions.exp: Update.
8473 * gdb.btrace/delta.exp: New.
8475 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8477 * gdb.btrace/record_goto.exp: Add backtrace test.
8478 * gdb.btrace/tailcall.exp: Add backtrace test.
8480 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8482 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8483 * gdb.btrace/record_goto.c: New.
8484 * gdb.btrace/record_goto.exp: New.
8485 * gdb.btrace/x86-record_goto.S: New.
8487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8489 * gdb.btrace/function_call_history.exp: Update tests.
8490 * gdb.btrace/instruction_history.exp: Update tests.
8492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8494 * gdb.btrace/function_call_history.exp: Fix expected field
8495 order for "record function-call-history".
8496 Add new tests for "record function-call-history /c".
8497 * gdb.btrace/exception.cc: New.
8498 * gdb.btrace/exception.exp: New.
8499 * gdb.btrace/tailcall.exp: New.
8500 * gdb.btrace/x86-tailcall.S: New.
8501 * gdb.btrace/x86-tailcall.c: New.
8502 * gdb.btrace/unknown_functions.c: New.
8503 * gdb.btrace/unknown_functions.exp: New.
8504 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8506 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8508 * gdb.btrace/instruction_history.exp: Update.
8509 * gdb.btrace/function_call_history.exp: Update.
8511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8513 * gdb.btrace/function_call_history.exp: Fix expected function
8515 * gdb.btrace/instruction_history.exp: Initialize traced.
8516 Remove traced_functions.
8518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8520 * gdb.btrace/function_call_history.exp: Update
8521 * gdb.btrace/instruction_history.exp: Update.
8523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8525 * gdb.btrace/enable.exp: Update expected text.
8527 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8529 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8532 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8534 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8536 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8538 * lib/gdb.exp (supports_process_record): Return true for
8539 arm*-linux*. (supports_reverse): Likewise.
8541 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8545 * gdb.python/py-type.c: Enhance test case.
8546 * gdb.python/py-value-cc.cc: Likewise
8547 * gdb.python/py-type.exp: Add new tests.
8548 * gdb.python/py-value-cc.exp: Likewise
8550 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8551 Pedro Alves <palves@redhat.com>
8553 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8555 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8556 references to ${name}_start by references to ${name}.
8558 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8560 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8562 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8564 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8566 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8567 Pedro Alves <palves@redhat.com>
8569 * gdb.mi/mi-info-os.exp: Connect to the target with
8572 2014-01-08 Pedro Alves <palves@redhat.com>
8574 * gdb.threads/reconnect-signal.c: New file.
8575 * gdb.threads/reconnect-signal.exp: New file.
8577 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8579 * gdb.base/source-dir.exp: New file.
8581 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8583 * gdb.ada/mi_interface: New testcase.
8585 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8587 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8588 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8589 gdb.ada/pp-rec-component/pck.ads: New files.
8591 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8593 * gdb.python/py-pp-integral.c: New file.
8594 * gdb.python/py-pp-integral.py: New file.
8595 * gdb.python/py-pp-integral.exp: New file.
8597 For older changes see ChangeLog-1993-2013.
8603 ;; version-control: never
8606 Copyright 2014-2016 Free Software Foundation, Inc.
8607 Copying and distribution of this file, with or without modification,
8608 are permitted provided the copyright notice and this notice are preserved.