1 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3 * gdb.rust/simple.rs: Add test for returning unit in a function
4 * gdb.rust/simple.exp: Add expectation for functions returning unit
6 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8 * gdb.python/py-breakpoint-create-fail.c,
9 gdb.python/py-breakpoint-create-fail.exp,
10 gdb.python/py-breakpoint-create-fail.py: New testcase.
12 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
16 * gdb.rust/simple.exp: Add test expectations for new NonZero tests.
18 2016-06-24 David Taylor <dtaylor@emc.com>
20 * gdb.base/offsets.exp: New file.
21 * gdb.base/offsets.c: New file.
23 2016-06-23 Tom Tromey <tom@tromey.com>
26 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
27 before any filters are loaded.
29 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
31 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
32 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
34 * gdb.fortran/derived-type-function.exp: New file.
35 * gdb.fortran/derived-type-function.f90: New file.
38 2016-06-21 Pedro Alves <palves@redhat.com>
40 * gdb.base/new-ui.exp: New file.
41 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
42 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
43 (with_spawn_id): New procedure.
45 2016-06-21 Pedro Alves <palves@redhat.com>
47 * gdb.mi/mi-exec-run.exp: New file.
49 2016-06-21 Pedro Alves <palves@redhat.com>
51 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
52 breakpoint command's output on the main UI.
53 (test_break): New procedure, factored out from calls in the top
55 (top level): Use foreach_with_prefix to test MI as main UI and as
58 2016-06-21 Pedro Alves <palves@redhat.com>
60 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
61 (test_awatch_creation_and_listing)
62 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
63 Remove 'type' parameter.
64 (test_watchpoint_all): New parameter mi_mode. Remove
66 (top level): Use foreach_with_prefix, and add main/separate UI MI
69 2016-06-21 Pedro Alves <palves@redhat.com>
71 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
72 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
73 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
74 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
75 (gdb_main_spawn_id, mi_spawn_id): Declare and
77 (mi_create_inferior_pty): New procedure,
78 factored out from default_mi_gdb_start.
79 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
81 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
82 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
83 Use mi_create_inferior_pty.
84 (mi_gdb_start): Use eval to pass down args list.
86 2016-06-21 Pedro Alves <palves@redhat.com>
88 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
89 * gdb.opt/inline-cmds.exp: Add MI tests.
91 2016-06-21 Pedro Alves <palves@redhat.com>
93 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
95 2016-06-21 Pedro Alves <palves@redhat.com>
97 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
98 (top level): Use it instead of mi_execute_to.
100 2016-06-21 Pedro Alves <palves@redhat.com>
102 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
103 (cont_handler_str): New.
104 (signal_stop_handler): Set stop_handler_str instead of printing to
106 (continue_handler): Set cont_handler_str instead of printing to
108 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
109 mi_send_resuming_command. Print stop_handler_str and
110 cont_handler_str instead of expecting the python events print
113 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
115 * gdb.base/jit-reader.exp: New file.
116 * gdb.base/jithost.c: New file.
117 * gdb.base/jithost.h: New file.
118 * gdb.base/jitreader.c : New file.
119 * gdb.base/jit-protocol.h: New file.
121 2016-06-17 Yao Qi <yao.qi@linaro.org>
123 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
124 parameters follow_fork and detach_on_fork. Set follow-fork-mode
125 and detach-on-fork. Adjust tests.
126 (top level): Invoke break_cond_on_syscall with combinations of
127 syscall, follow-fork-mode and detach-on-fork.
129 2016-06-17 Yao Qi <yao.qi@linaro.org>
131 * gdb.base/step-over-exit.c: New.
132 * gdb.base/step-over-exit.exp: New.
134 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
136 * gdb.base/float.exp: Add target check for nds32*-*-*.
137 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
139 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
141 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
142 for unsupported target features.
143 * gdb.base/call-rt-st.exp: Likewise.
144 * gdb.base/call-sc.exp: Likewise.
145 * gdb.base/call-signal-resume.exp: Likewise.
146 * gdb.base/call-strs.exp: Likewise.
147 * gdb.base/callexit.exp: Likewise.
148 * gdb.base/callfuncs.exp: Likewise.
149 * gdb.base/nodebug.exp: Likewise.
150 * gdb.base/printcmds.exp: Likewise.
151 * gdb.base/ptype.exp: Likewise.
152 * gdb.base/structs.exp: Likewise.
153 * gdb.base/unwindonsignal.exp: Likewise.
154 * gdb.cp/gdb2495.exp: Likewise.
155 * gdb.cp/templates.exp: Likewise.
156 * gdb.cp/virtfunc.exp: Likewise.
157 * gdb.threads/hand-call-in-threads.exp: Likewise.
158 * gdb.threads/interrupted-hand-call.exp: Likewise.
159 * gdb.threads/thread-unwindonsignal.exp: Likewise.
161 2016-06-10 Tom Tromey <tom@tromey.com>
164 * gdb.rust/expr.exp: Add test for integer constant larger than
167 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
169 * gdb.fortran/nested-funcs.exp: New.
170 * gdb.fortran/nested-funcs.f90: New.
172 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
174 * gdb.base/examine-backward.c: New file.
175 * gdb.base/examine-backward.exp: New file.
177 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
179 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
182 2016-06-02 Tom Tromey <tom@tromey.com>
185 * gdb.python/py-shared.exp: Add solib_name test.
187 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
189 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
191 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
194 * gdb.dwarf2/implref.exp: Rename to...
195 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
196 * gdb.dwarf2/implref-array.c: New file.
197 * gdb.dwarf2/implref-array.exp: Likewise.
198 * gdb.dwarf2/implref-global.c: Likewise.
199 * gdb.dwarf2/implref-global.exp: Likewise.
200 * gdb.dwarf2/implref-struct.c: Likewise.
201 * gdb.dwarf2/implref-struct.exp: Likewise.
203 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
205 * gdb.trace/trace-condition.exp: Add 64bit tests.
207 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
209 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
211 (main): Adapt to 8 to 64 bits types.
212 * gdb.trace/trace-condition.exp: Add new tests.
214 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
216 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
218 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
220 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
221 Move condition tests...
222 * gdb.trace/trace-condition.exp: Here.
224 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
226 * gdb.trace/trace-condition.exp: Add counter-case tests.
228 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
231 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
232 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
234 2016-05-27 Pedro Alves <palves@redhat.com>
236 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
238 (top level): Call it, and bail out of DejaGnu is known to be bad.
240 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
242 * gdb.base/whatis.c: Extend the test case.
243 * gdb.base/whatis.exp: Add additional tests.
245 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
247 * gdb.fortran/type.f90: Add pointer variable.
248 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
250 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
252 * gdb.fortran/vla-type.exp: Fix testcase name.
254 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
256 * gdb.fortran/vla-type.exp: Access elements in nested structs.
258 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
260 * gdb.fortran/type.f90: Add nested structures.
261 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
262 * gdb.fortran/derived-type.exp: Adapt expected output.
263 * gdb.fortran/vla-type.exp: Adapt expected output.
265 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
267 * gdb.fortran/whatis_type.exp: Adapt expected output.
269 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
271 * gdb.fortran/print_type.exp: Fix expected output.
272 * gdb.fortran/whatis_type.exp: Fix expected output.
274 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
276 * gdb.fortran/whatis_type.exp: Use multi_line.
278 2016-05-24 Tom Tromey <tom@tromey.com>
281 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
282 use value as an index.
284 2016-05-23 Tom Tromey <tom@tromey.com>
287 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
290 2016-05-24 Pedro Alves <palves@redhat.com>
293 * gdb.threads/clone-attach-detach.c: New file.
294 * gdb.threads/clone-attach-detach.exp: New file.
296 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
298 * gdb.base/annota-input-while-running.exp: Fix syntax error.
300 2016-05-23 Tom Tromey <tom@tromey.com>
302 PR python/19438, PR python/18393:
303 * gdb.python/py-progspace.exp: Add "dir" test.
304 * gdb.python/py-objfile.exp: Add "dir" test.
306 2016-05-23 Yao Qi <yao.qi@linaro.org>
308 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
309 * gdb.arch/thumb2-it.exp: Likewise.
311 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
313 * gdb.mi/mi-threads-interrupt.c: New file.
314 * gdb.mi/mi-threads-interrupt.exp: New file.
316 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
319 * gdb.mi/mi-async-run.exp: New file.
320 * gdb.mi/mi-async-run.c: New file.
322 2016-05-17 Tom Tromey <tom@tromey.com>
323 Manish Goregaokar <manishsmail@gmail.com>
325 * lib/rust-support.exp: New file.
326 * lib/gdb.exp (skip_rust_tests): New proc.
327 (build_executable_from_specs): Handle rust.
328 * lib/future.exp (gdb_find_rustc): New proc.
329 (gdb_default_target_compile): Handle rust.
330 * gdb.rust/expr.exp: New file.
331 * gdb.rust/generics.exp: New file.
332 * gdb.rust/generics.rs: New file.
333 * gdb.rust/methods.exp: New file.
334 * gdb.rust/methods.rs: New file.
335 * gdb.rust/modules.exp: New file.
336 * gdb.rust/modules.rs: New file.
337 * gdb.rust/simple.exp: New file.
338 * gdb.rust/simple.rs: New file.
340 2016-05-17 Tom Tromey <tom@tromey.com>
342 * gdb.base/default.exp (set language): Add rust.
344 2016-05-17 Tom Tromey <tom@tromey.com>
346 * gdb.gdb/unittest.exp: New file.
348 2016-05-16 Yao Qi <yao.qi@linaro.org>
350 * gdb.base/batch-preserve-term-settings.exp: Remove variable
351 shell_prompt. Update shell_prompt_re.
353 2016-05-12 Doug Evans <dje@google.com>
356 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
357 $options when building executable.
358 * gdb.dwarf2/fission-loclists-pie.S: New file.
359 * gdb.dwarf2/fission-loclists-pie.exp: New file.
361 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
363 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
364 of [is_remote target],
366 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
368 * lib/gdb.exp (use_gdb_stub): New procedure.
370 2016-05-03 Yunlian Jiang <yunlian@google.com>
371 Doug Evans <dje@google.com>
374 * gdb.dwarf2/dwp-sepdebug.c: New file.
375 * gdb.dwarf2/dwp-sepdebug.exp: New file.
377 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
379 * gdb.base/detach.exp: Remove is_remote check.
381 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
383 * gdb.base/annota-input-while-running.exp: Don't check for
384 [is_remote target]. Enable annotations after running to main.
385 Remove unused "set test..." line.
387 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
389 * gdb.trace/trace-enable-disable.exp: New file.
390 * gdb.trace/trace-enable-disable.c: New file.
392 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
394 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
395 use it in info sharedlibrary test.
396 * gdb.trace/ftrace-lock.exp: Likewise.
397 * gdb.trace/ftrace.exp: Likewise.
398 * gdb.trace/range-stepping.exp: Likewise.
399 * gdb.trace/trace-break.exp: Likewise.
400 * gdb.trace/trace-condition.exp: Likewise.
401 * gdb.trace/trace-mt.exp: Likewise.
403 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
405 * lib/gdb.exp (gdb_load_shlibs): Rename to...
406 (gdb_load_shlib): ... this.
407 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
409 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
410 * gdb.base/ctxobj.exp: Likewise.
411 * gdb.base/dprintf-pending.exp: Likewise.
412 * gdb.base/dso2dso.exp: Likewise.
413 * gdb.base/fixsection.exp: Likewise.
414 * gdb.base/gcore-relro.exp: Likewise.
415 * gdb.base/gdb1555.exp: Likewise.
416 * gdb.base/global-var-nested-by-dso.exp: Likewise.
417 * gdb.base/gnu-ifunc.exp: Likewise.
418 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
419 * gdb.base/jit-so.exp (one_jit_test): Likewise.
420 * gdb.base/pending.exp: Likewise.
421 * gdb.base/print-file-var.exp: Likewise.
422 * gdb.base/print-symbol-loading.exp: Likewise.
423 * gdb.base/shlib-call.exp: Likewise.
424 * gdb.base/shreloc.exp: Likewise.
425 * gdb.base/so-impl-ld.exp: Likewise.
426 * gdb.base/solib-disc.exp: Likewise.
427 * gdb.base/solib-nodir.exp: Likewise.
428 * gdb.base/solib-overlap.exp: Likewise.
429 * gdb.base/solib-symbol.exp: Likewise.
430 * gdb.base/solib-weak.exp (do_test): Likewise.
431 * gdb.base/sym-file.exp: Likewise.
432 * gdb.base/symtab-search-order.exp: Likewise.
433 * gdb.base/type-opaque.exp: Likewise.
434 * gdb.base/unload.exp: Likewise.
435 * gdb.base/watchpoint-solib.exp: Likewise.
436 * gdb.compile/compile.exp: Likewise.
437 * gdb.cp/gdb2384.exp: Likewise.
438 * gdb.cp/infcall-dlopen.exp: Likewise.
439 * gdb.cp/re-set-overloaded.exp: Likewise.
440 * gdb.fortran/library-module.exp: Likewise.
441 * gdb.opt/solib-intra-step.exp: Likewise.
442 * gdb.python/py-finish-breakpoint.exp: Likewise.
443 * gdb.python/py-shared.exp: Likewise.
444 * gdb.reverse/solib-precsave.exp: Likewise.
445 * gdb.reverse/solib-reverse.exp: Likewise.
446 * gdb.server/solib-list.exp: Likewise.
447 * gdb.threads/dlopen-libpthread.exp: Likewise.
448 * gdb.threads/tls-shared.exp: Likewise.
449 * gdb.threads/tls-so_extern.exp: Likewise.
450 * gdb.trace/change-loc.exp: Likewise.
451 * gdb.trace/ftrace-lock.exp: Likewise.
452 * gdb.trace/ftrace.exp: Likewise.
453 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
454 * gdb.trace/pending.exp: Likewise.
455 * gdb.trace/range-stepping.exp: Likewise.
456 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
457 (strace_info_marker): Likewise.
458 (strace_probe_marker): Likewise.
459 (strace_trace_on_same_addr): Likewise.
460 (strace_trace_on_diff_addr): Likewise.
461 * gdb.trace/trace-break.exp: Likewise.
462 * gdb.trace/trace-condition.exp: Likewise.
463 * gdb.trace/trace-mt.exp: Likewise.
465 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
467 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
468 result of gdb_remote_download.
469 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
470 * gdb.base/dso2dso.exp: Likewise.
471 * gdb.base/global-var-nested-by-dso.exp: Likewise.
472 * gdb.base/print-file-var.exp: Likewise.
473 * gdb.base/shlib-call.exp: Likewise.
474 * gdb.base/shreloc.exp: Likewise.
475 * gdb.base/solib-overlap.exp: Likewise.
476 * gdb.base/solib-weak.exp (do_test): Likewise.
477 * gdb.base/unload.exp: Likewise.
479 2016-04-27 Yao Qi <yao.qi@linaro.org>
481 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
484 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
486 * vla-type.exp: Print structure from toplevel.
488 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
490 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
492 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
495 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
497 * gdb.fortran/vla-type.f90: New file.
498 * gdb.fortran/vla-type.exp: New file.
500 2016-04-25 Yao Qi <yao.qi@linaro.org>
502 * gdb.base/branch-to-self.c: New file.
503 * gdb.base/branch-to-self.exp: New file.
505 2016-04-22 Yao Qi <yao.qi@linaro.org>
507 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
510 2016-04-22 Yao Qi <yao.qi@linaro.org>
512 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
513 * gdb.base/annota3.exp: Likewise.
515 2016-04-22 Yao Qi <yao.qi@linaro.org>
517 * gdb.reverse/step-precsave.exp: Do one step and test program
518 stops in "callee" and do multiple steps until program goes out
520 * gdb.reverse/step-reverse.exp: Likewise.
522 2016-04-22 Yao Qi <yao.qi@linaro.org>
524 * gdb.trace/signal.exp: Also pass if
525 $tracepoint_hits($i) > $iterations.
527 2016-04-22 Yao Qi <yao.qi@linaro.org>
529 * gdb.trace/signal.c: New file.
530 * gdb.trace/signal.exp: New file.
532 2016-04-19 Doug Evans <xdje42@gmail.com>
534 * gdb.base/bad-file.exp: New file.
536 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
538 * gdb.dwarf2/implref.exp: New file.
540 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
542 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
543 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
544 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
545 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
546 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
547 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
548 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
549 * lib/fortran.exp (fortran_int4): New procedure.
550 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
551 (fortran_logical4): Likewise.
553 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
555 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
557 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
559 * lib/compiler.c: Add Intel specific preprocessor macros.
560 * lib/compiler.cc: Likewise.
562 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
564 * gdb.server/connect-with-no-symbol-file.c: New file.
565 * gdb.server/connect-with-no-symbol-file.exp: New file.
567 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
569 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
571 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
573 * boards/gdbserver-base.exp (${board}_download): Copy source file to
574 standard output directory.
576 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
578 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
580 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
582 * gdb.btrace/instruction_history.c (loop): Add declaration.
584 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
586 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
588 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
590 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
591 parentheses to print.
592 (continue_handler): Likewise.
594 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
596 * gdb.server/solib-list.exp: Remove is_remote check.
597 Pass shlib= to gdb_compile. Don't link shared library with
598 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
599 Run binary filename through "readlink -f" on the target.
601 2016-04-08 Pedro Alves <palves@redhat.com>
603 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
604 interpreter filename as argument to gdbserver_spawn.
605 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
606 Return empty if $last_loaded_file does not exist.
608 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
610 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
611 * gdb.base/jit-main.c: Use exit after usage.
613 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
615 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
616 GDBHISTSIZE prior to the tests.
617 * gdb.base/gdbinit-history.exp: Likewise.
619 2016-04-07 Pedro Alves <palves@redhat.com>
621 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
622 instead of build_executable. Use gdb_load_shlibs.
624 2016-04-07 Yao Qi <yao.qi@linaro.org>
626 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
627 Execute "si" command.
629 2016-04-07 Yao Qi <yao.qi@linaro.org>
631 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
632 number instead of the comments on some line.
634 2016-04-06 Don Breazeal <donb@codesourcery.com>
636 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
637 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
639 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
641 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
642 standard_output_file. Remove unused binfile variable.
644 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
646 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
647 * gdb.python/py-mi-objfile.exp: Match "list main" output
650 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
652 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
655 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
657 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
659 * gdb.trace/ftrace.exp: Likewise.
660 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
662 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
663 (gdb_load_shlibs): Copy libraries to test directory when testing
664 natively. Only set solib-search-path if testing remotely.
665 * lib/mi-support.exp (mi_load_shlibs): Likewise.
667 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
669 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
670 gdb_download. Use it even if the target is not remote.
671 * gdb.base/jit.exp (compile_jit_test): Likewise.
672 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
673 output directory if the destination board is local, otherwise use
674 the standard remote_download from DejaGnu.
675 (gdb_download): Remove.
676 (gdb_load_shlibs): Use gdb_remote_download instead of
678 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
679 Use gdb_remote_download instead of gdb_download. Use it even if
680 the target is not remote.
681 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
682 instead of gdb_download.
684 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
686 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
687 (test_insert_delete_modify): Call mi_load_shlibs before trying to
690 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
693 * gdb.base/printcmds.exp: Add artificial arrays tests.
695 2016-03-31 Pedro Alves <palves@redhat.com>
698 * gdb.base/jit-main.c: Include unistd.h.
699 (ATTACH): Define to 0 if not already defined.
700 (wait_for_gdb, mypid): New globals.
701 (WAIT_FOR_GDB): New macro.
702 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
703 some breakpoint locations.
704 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
706 (one_jit_test): Add REATTACH parameter, and handle it. Use
707 continue_to_test_location.
708 (top level): Test attach, and adjusts calls to one_jit_test.
710 2016-03-31 Pedro Alves <palves@redhat.com>
713 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
714 BINSUFFIX parameter, and handle it.
715 (top level): Adjust calls compile_jit_test.
717 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
720 * gdb.python/py-mi-events-gdb.py: New file.
721 * gdb.python/py-mi-events.c: New file.
722 * gdb.python/py-mi-events.exp: New file.
724 2016-03-30 Yao Qi <yao.qi@linaro.org>
726 * gdb.reverse/until-precsave.exp: Match function name only.
727 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
728 Move malloc to a condition block.
729 * gdb.reverse/until-reverse.exp: Match function name only.
731 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
733 * gdb.trace/ftrace.exp: Set arg0exp for s390.
734 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
735 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
736 variable for GPR 0 instead of assuming it is register 0.
737 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
738 * lib/trace-support.exp: Add s390 registers.
740 2016-03-29 Yao Qi <yao.qi@linaro.org>
742 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
744 2016-03-24 Yao Qi <yao.qi@linaro.org>
746 * gdb.reverse/break-reverse.exp: Add quotation mark in the
749 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
751 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
752 maintaining separate logic for constructing the output path.
754 2016-03-16 Don Breazeal <donb@codesourcery.com>
756 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
757 Retry fork and waitpid on interrupted system call errors.
758 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
759 Use with_timeout_factor to increase timeout by factor of 10.
761 2016-03-15 Don Breazeal <donb@codesourcery.com>
763 * gdb.cp/scope-err.cc: New test program.
764 * gdb.cp/scope-err.exp: New test script.
765 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
766 lines and "set breakpoint here" comment.
767 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
768 Fixed some whitespace and format issues.
769 * gdb.mi/mi-linespec-err-cp.cc: New test program.
770 * gdb.mi/mi-linespec-err-cp.exp: New test script.
772 2016-03-15 Doug Evans <dje@google.com>
774 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
775 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
776 All callers updated. Add tests for enums, mixed flags register.
778 2016-03-15 Doug Evans <dje@google.com>
780 * gdb.base/skip.c (main): Call test_skip_file_and_function.
781 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
783 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
785 * gdb.base/default.exp: Add $_as_string to the list of expected
786 convenience functions.
788 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
790 * gdb.base/maint.exp: New tests for 'maint info line-table'.
792 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
794 * gdb.python/py-as-string.exp: New file.
795 * gdb.python/py-as-string.c: New file.
797 2016-03-09 Pedro Alves <palves@redhat.com>
799 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
800 signal" -> "Thread NN received signal" output change.
801 * gdb.threads/ia64-sigill.exp: Likewise.
802 * gdb.threads/linux-dp.exp: Likewise.
803 * gdb.threads/manythreads.exp: Likewise.
804 * gdb.threads/pending-step.exp: Likewise.
805 * gdb.threads/print-threads.exp: Likewise.
806 * gdb.threads/sigstep-threads.exp: Likewise.
807 * gdb.threads/staticthreads.exp: Likewise.
808 * gdb.threads/tls.exp: Likewise.
810 2016-03-09 Pedro Alves <palves@redhat.com>
812 * gdb.base/command-line-input.exp: New file.
814 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
816 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
817 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
818 * gdb.trace/pending.exp: Accept leading dot before function name.
819 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
820 * lib/trace-support.exp: Set registers for ppc.
822 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
824 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
825 use it for disassembly; accept .main in addition to main in backtrace.
827 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
828 Marcin Kościelnicki <koriakin@0x04.net>
830 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
831 (gdb_recursion_test_ptr): New global variable.
832 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
836 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
838 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
841 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
843 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
844 (bar): Add bar_start_lbl label.
845 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
846 of foo/bar for emitting DWARF and tracing.
848 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
850 * analyze-racy-logs.py: Set executable bit.
852 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
854 * Makefile.in (DEFAULT_RACY_ITER): New variable.
855 (CHECK_TARGET_TMP): Likewise.
856 (check-single-racy): New rule.
857 (check-parallel-racy): Likewise.
858 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
859 (do-check-parallel-racy): New rule.
860 (check-racy/%.exp): Likewise.
861 * README (Racy testcases): New section.
862 * analyze-racy-logs.py: New file.
864 2016-03-03 Doug Evans <dje@google.com>
866 * gdb.base/skip.exp: Use with_test_prefix.
868 2016-03-03 Yao Qi <yao.qi@linaro.org>
870 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
871 Invoke step_over_syscall "clone" and break_cond_on_syscall
873 * gdb.base/step-over-clone.c: New file.
875 2016-03-03 Yao Qi <yao.qi@linaro.org>
877 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
880 2016-03-03 Yao Qi <yao.qi@linaro.org>
882 * gdb.base/disp-step-fork.c: Rename to ...
883 * gdb.base/step-over-fork.c: ... it. New file.
884 * gdb.base/disp-step-vfork.c: Rename to ...
885 * gdb.base/step-over-vfork.c: ... it. New file.
886 * gdb.base/disp-step-syscall.exp: Rename to ...
887 * gdb.base/step-over-syscall.exp: ... it. New file.
888 (disp_step_cross_syscall): Rename to ...
889 (step_over_syscall): ... it.
891 2016-03-03 Yao Qi <yao.qi@linaro.org>
893 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
894 If target supports condition evaluation on target, invoke
895 break_cond_on_syscall for fork and vfork.
897 2016-03-03 Yao Qi <yao.qi@linaro.org>
899 * gdb.base/disp-step-syscall.exp: Don't invoke
900 support_displaced_stepping.
901 (disp_step_cross_syscall): Test with displaced stepping off and
904 2016-03-03 Yao Qi <yao.qi@linaro.org>
906 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
909 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
912 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
914 * gdb.fortran/vla-history.exp: Remove breakpoint.
916 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
918 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
920 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
922 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
924 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
926 * gdb.mi/vla.f90: Nullify pointer after declaration.
928 2016-03-01 Pedro Alves <palves@redhat.com>
930 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
932 2016-03-01 Pedro Alves <palves@redhat.com>
934 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
935 before anything else.
936 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
938 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
939 before anything else.
940 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
942 2016-03-01 Pedro Alves <palves@redhat.com>
944 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
946 2016-03-01 Yao Qi <yao.qi@linaro.org>
948 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
951 2016-03-01 Yao Qi <yao.qi@linaro.org>
953 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
955 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
957 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
958 manually constructing the output path.
960 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
962 * gdb.arch/s390-stackless.S: New.
963 * gdb.arch/s390-stackless.exp: New.
965 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
967 * gdb.dlang/circular.c: New file.
968 * gdb.dlang/circular.exp: New file.
970 2016-02-26 Yao Qi <yao.qi@linaro.org>
972 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
973 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
976 2016-02-26 Yao Qi <yao.qi@linaro.org>
978 * gdb.reverse/aarch64.c: Rename to ...
979 * gdb.reverse/insn-reverse.c: ... it.
980 * gdb.reverse/aarch64.exp: Rename to ...
981 * gdb.reverse/insn-reverse.exp: ... it.
983 2016-02-26 Yao Qi <yao.qi@linaro.org>
985 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
986 (testcase_ftype): New.
987 (testcases): New array.
989 (main): Call each element in testcases.
990 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
991 (read_testcase): New.
992 Do the tests in a loop.
994 2016-02-25 Yao Qi <yao.qi@linaro.org>
996 * gdb.base/branches.c: Remove.
998 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1001 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1003 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1005 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1007 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1009 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1010 change x86_64 call_insn to 'callq'.
1012 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1014 * gdb.trace/tfile-avx.c: Move to...
1015 * gdb.trace/tracefile-pseudo-reg.c: Here.
1016 * gdb.trace/tfile-avx.exp: Move to...
1017 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1019 2016-02-24 Gary Benson <gbenson@redhat.com>
1021 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1024 2016-02-23 Doug Evans <dje@google.com>
1026 * gdb.base/skip.c (test_skip): New function.
1027 (end_test_skip_file_and_function): New function.
1028 (test_skip_file_and_function): New function.
1029 * gdb.base/skip1.c (test_skip): New function.
1030 (skip1_test_skip_file_and_function): New function.
1031 * gdb.base/skip.exp: Add tests for new skip options.
1032 * gdb.base/skip-solib.exp: Update expected output.
1033 * gdb.perf/skip-command.cc: New file.
1034 * gdb.perf/skip-command.exp: New file.
1035 * gdb.perf/skip-command.py: New file.
1037 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1039 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1040 info registers pattern.
1042 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1044 * lib/future.exp: Add D support.
1045 (gdb_find_gdc): New proc.
1046 (gdb_default_target_compile): Add D support.
1048 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1050 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1052 (trace_speed_test): Determine the iteration count for a time
1053 between 15..30 seconds.
1055 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1057 * gdb.arch/i386-mpx-sigsegv.c: New file.
1058 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1059 * gdb.arch/i386-mpx-simple_segv.c: New file.
1060 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1062 2016-02-18 Yao Qi <yao.qi@linaro.org>
1064 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1065 Don't call setup_kfail.
1067 2016-02-18 Yao Qi <yao.qi@linaro.org>
1069 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1070 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1072 2016-02-16 Doug Evans <dje@google.com>
1074 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1075 * gdb.base/skip1.c: Ditto.
1076 * gdb.base/skip.exp: Whitespace cleanup.
1078 2016-02-16 Don Breazeal <donb@codesourcery.com>
1081 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1082 Remove kfail for PR remote/19496.
1084 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1086 * lib/gdb.exp (standard_temp_file): Return a path specific to
1087 the runtest invocation.
1089 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1091 * gdb.trace/save-trace.exp: Change relative path to be in the
1092 standard output directory.
1094 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1096 * gdb.arch/i386-prologue.c: Add missing prototypes.
1098 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1100 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1101 * gdb.arch/i386-prologue.exp: Likewise.
1102 * gdb.arch/i386-size.exp: Likewise.
1104 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1106 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1107 define object file path.
1108 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1110 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1111 standard_output_file to define binfile.
1113 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1115 Fix compatibility with recent gfortran-5.3.1.
1116 * gdb.fortran/vla-history.exp (print vla1 allocated)
1117 (print vla2 allocated, print $2, print $3): Remove
1118 (print $4): Rename to ...
1119 (print $2): ... here.
1120 (print $9): Rename to ...
1121 (print $5): ... here.
1122 (print $10): Rename to ...
1123 (print $6): ... here.
1124 * gdb.fortran/vla.f90: Add pvla initialization.
1126 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1128 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1130 * gdb.fortran/vla-value-sub.exp: Likewise.
1132 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1134 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1136 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1138 * i386-biarch-core.exp: Define corefile using
1139 standard_output_file.
1141 2016-02-12 Yao Qi <yao.qi@linaro.org>
1143 * gdb.arch/arm-single-step-kernel-helper.c: New.
1144 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1146 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1148 * gdb.btrace/tailcall-only.exp: New.
1149 * gdb.btrace/tailcall-only.c: New.
1150 * gdb.btrace/x86_64-tailcall-only.S: New.
1151 * gdb.btrace/i686-tailcall-only.S: New.
1153 2016-02-11 Pedro Alves <palves@redhat.com>
1155 * README (Parallel testing): Add missing double quotes.
1157 2016-02-11 Pedro Alves <palves@redhat.com>
1159 * README (Parallel testing): New section.
1160 (GDB_PARALLEL): Rewrite.
1161 (FORCE_PARALLEL): Document.
1163 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1165 * gdb.trace/tfile-avx.c: New test.
1166 * gdb.trace/tfile-avx.exp: New test.
1168 2016-02-09 Keith Seitz <keiths@redhat.com>
1170 PR breakpoints/19546
1171 * gdb.base/infcall-exec.c: New file.
1172 * gdb.base/infcall-exec2.c: New file.
1173 * gdb.base/infcall-exec.exp: New file.
1175 2016-02-09 Keith Seitz <keiths@redhat.com>
1177 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1178 (toplevel): Call test_bkpt_address.
1180 2016-02-09 Keith Seitz <keiths@redhat.com>
1183 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1184 (toplevel): Call test_bkpt_address.
1186 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1188 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1190 * configure: Regenerate.
1192 2016-02-09 Pedro Alves <palves@redhat.com>
1194 PR breakpoints/19548
1195 * gdb.base/execl-update-breakpoints.c (some_function): New
1198 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1199 Tighten expected GDB output.
1201 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1203 * Makefile.in (ALL_SUBDIRS): Remove.
1204 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1205 (distclean maintainer-clean realclean): Likewise.
1206 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1207 * configure: Regenerate.
1208 * gdb.ada/Makefile.in: Delete.
1209 * gdb.arch/Makefile.in: Likewise.
1210 * gdb.asm/Makefile.in: Likewise.
1211 * gdb.base/Makefile.in: Likewise.
1212 * gdb.btrace/Makefile.in: Likewise.
1213 * gdb.cell/Makefile.in: Likewise.
1214 * gdb.compile/Makefile.in: Likewise.
1215 * gdb.cp/Makefile.in: Likewise.
1216 * gdb.disasm/Makefile.in: Likewise.
1217 * gdb.dlang/Makefile.in: Likewise.
1218 * gdb.dwarf2/Makefile.in: Likewise.
1219 * gdb.fortran/Makefile.in: Likewise.
1220 * gdb.gdb/Makefile.in: Likewise.
1221 * gdb.go/Makefile.in: Likewise.
1222 * gdb.guile/Makefile.in: Likewise.
1223 * gdb.java/Makefile.in: Likewise.
1224 * gdb.linespec/Makefile.in: Likewise.
1225 * gdb.mi/Makefile.in: Likewise.
1226 * gdb.modula2/Makefile.in: Likewise.
1227 * gdb.multi/Makefile.in: Likewise.
1228 * gdb.objc/Makefile.in: Likewise.
1229 * gdb.opencl/Makefile.in: Likewise.
1230 * gdb.opt/Makefile.in: Likewise.
1231 * gdb.pascal/Makefile.in: Likewise.
1232 * gdb.perf/Makefile.in: Likewise.
1233 * gdb.python/Makefile.in: Likewise.
1234 * gdb.reverse/Makefile.in: Likewise.
1235 * gdb.server/Makefile.in: Likewise.
1236 * gdb.stabs/Makefile.in: Likewise.
1237 * gdb.threads/Makefile.in: Likewise.
1238 * gdb.trace/Makefile.in: Likewise.
1239 * gdb.xml/Makefile.in: Likewise.
1240 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1242 (standard_output_file): Remove check for GDB_PARALLEL, always
1243 return path in outputs/$subdir/$testname.
1245 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1247 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1248 (site.exp): Assign abs_srcdir to tcl's srcdir.
1250 2016-02-04 Yao Qi <yao.qi@linaro.org>
1252 * gdb.base/foll-exec-mode.c: Include limits.h.
1253 (main): Add parameters argc and argv. Get directory from
1255 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1257 * gdb.base/foll-exec.c: Include limits.h.
1258 (main): Add parameters argc and argv.
1259 Get directory from argv[0].
1260 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1261 Adjust tests on the number of lines as source code changed.
1262 * gdb.base/foll-vfork-exit.c: Include limits.h.
1263 (main): Add one line of statement before vfork.
1264 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1265 (main): Add parameters argc and argv. Get directory from
1267 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1268 (setup_gdb): Set tbreak to skip some source lines.
1269 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1270 (main): Add parameters argc and argv. Get directory from
1272 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1274 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1275 (main): Add parameters argc and argv. Get directory from
1277 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1280 2016-02-01 Doug Evans <dje@google.com>
1282 * gdb.base/skip.exp: Clean up multiple references to same test name.
1284 2016-02-01 Pedro Alves <palves@redhat.com>
1287 * gdb.threads/forking-threads-plus-breakpoint.exp
1288 (displaced_stepping_supported): New global.
1289 (probe_displaced_stepping_support): New procedure.
1290 (do_test): Add 'displaced' parameter, and use it.
1291 (top level): Check for displaced stepping support. Add displaced
1292 stepping on/off testing axis.
1294 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1296 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1297 pointer. Don't perform further tests on the unassociated pointer
1298 if the first test fails.
1300 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1302 * gdb.base/max-value-size.c: New file.
1303 * gdb.base/max-value-size.exp: New file.
1304 * gdb.base/huge.exp: Disable max-value-size for this test.
1306 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1308 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1310 2016-01-28 Yao Qi <yao.qi@linaro.org>
1312 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1314 2016-01-25 Pedro Alves <palves@redhat.com>
1317 * gdb.base/fork-running-state.c: New file.
1318 * gdb.base/fork-running-state.exp: New file.
1320 2016-01-25 Pedro Alves <palves@redhat.com>
1323 * gdb.base/catch-fork-kill.c: New file.
1324 * gdb.base/catch-fork-kill.exp: New file.
1326 2016-01-25 Pedro Alves <palves@redhat.com>
1328 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1329 Delete, moved to lib/gdb.exp.
1330 * gdb.threads/forking-threads-plus-breakpoint.exp
1331 (foreach_with_prefix): Likewise.
1332 * gdb.threads/process-dies-while-handling-bp.exp
1333 (foreach_with_prefix): Likewise.
1334 * lib/gdb.exp (foreach_with_prefix): New procedure.
1336 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1338 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1339 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1341 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1343 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1346 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1347 Pedro Alves <palves@redhat.com>
1349 Fix testsuite compatibility with Guile.
1350 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1353 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1355 Fix testsuite compatibility with Guile.
1356 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1357 (thread 1): New test for backtrace through signal handler.
1359 2016-01-22 Yao Qi <yao.qi@linaro.org>
1362 * gdb.base/multi-forks.c: Include
1363 ../lib/unbuffer_output.c
1364 (main): Call gdb_unbuffer_output.
1366 2016-01-21 Doug Evans <dje@google.com>
1368 * lib/ada.exp (gdb_compile_ada): Fix typo.
1370 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1372 * gdb.base/break-fun-addr.exp: New file.
1373 * gdb.base/break-fun-addr1.c: New file.
1374 * gdb.base/break-fun-addr2.c: New file.
1376 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1378 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1379 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1382 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1384 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1385 when GDB can not set the vector return value. Add more comments
1388 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1390 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1393 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1395 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1397 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1399 * Makefile.in (check-single): Pass --status to runtest.
1400 (check/%.exp): Likewise.
1402 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1404 * Makefile.in (check-parallel): Propagate return code from make
1407 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1409 * gdb.trace/ftrace.exp: Fix expected message on continue.
1410 * gdb.trace/pending.exp: Fix expected message on continue.
1411 * gdb.trace/trace-break.exp: Fix expected message on continue.
1413 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1415 * lib/gdb.exp (gdb_test): Remove unused global references.
1417 2016-01-18 Pedro Alves <palves@redhat.com>
1419 * gdb.base/async-shell.exp: Adjust expected output.
1420 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1421 * gdb.base/siginfo-thread.exp: Adjust expected output.
1422 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1423 * gdb.java/jnpe.exp: Adjust expected output.
1424 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1425 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1426 * gdb.threads/leader-exit.exp: Adjust expected output.
1427 * gdb.threads/manythreads.exp: Adjust expected output.
1428 * gdb.threads/pthreads.exp: Adjust expected output.
1429 * gdb.threads/schedlock.exp: Adjust expected output.
1430 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1431 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1433 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1435 * gdb.threads/sigthread.exp: Adjust expected output.
1436 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1438 2016-01-18 Yao Qi <yao.qi@linaro.org>
1440 * gdb.guile/scm-section-script.c: Replace @progbits with
1442 * gdb.python/py-section-script.c: Likewise.
1444 2016-01-15 Pedro Alves <palves@redhat.com>
1446 * gdb.multi/tids.exp: Test star wildcard ranges.
1448 2016-01-15 Pedro Alves <palves@redhat.com>
1450 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1451 command from "thread apply" invocation.
1452 (thr_apply_info_thr_invalid): Default the expected output to the
1454 (top level): Add tests that use convenience variables. Add tests
1455 for "thread apply" with a valid TID list, but missing the command.
1457 2016-01-13 Pedro Alves <palves@redhat.com>
1459 * gdb.base/default.exp: Expect $_gthread as well.
1460 * gdb.multi/tids.exp: Test $_gthread.
1461 * gdb.threads/thread-specific.exp: Test $_gthread.
1463 2016-01-13 Pedro Alves <palves@redhat.com>
1465 * gdb.multi/tids.exp: Test "info threads -gid".
1467 2016-01-13 Pedro Alves <palves@redhat.com>
1469 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1471 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1473 2016-01-07 Pedro Alves <palves@redhat.com>
1475 * gdb.base/break.exp: Adjust to output changes.
1476 * gdb.base/hbreak2.exp: Likewise.
1477 * gdb.base/sepdebug.exp: Likewise.
1478 * gdb.base/watch_thread_num.exp: Likewise.
1479 * gdb.linespec/keywords.exp: Likewise.
1480 * gdb.multi/info-threads.exp: Likewise.
1481 * gdb.threads/thread-find.exp: Likewise.
1482 * gdb.multi/tids.c: New file.
1483 * gdb.multi/tids.exp: New file.
1485 2016-01-13 Pedro Alves <palves@redhat.com>
1487 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1489 2016-01-13 Pedro Alves <palves@redhat.com>
1491 * gdb.base/default.exp: Expect $_inferior as well.
1492 * gdb.multi/base.exp: Test $_inferior.
1494 2016-01-13 Pedro Alves <palves@redhat.com>
1496 PR breakpoints/19388
1497 * gdb.base/catch-signal-siginfo-cond.c: New file.
1498 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1500 2016-01-12 Josh Stone <jistone@redhat.com>
1501 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1503 * gdb.base/catch-syscall.c (do_execve): New variable.
1504 (main): Conditionally trigger an execve.
1505 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1506 (test_catch_syscall_execve): New, check entry/return across execve.
1507 (do_syscall_tests): Call test_catch_syscall_execve.
1509 2016-01-12 Pedro Alves <palves@redhat.com>
1511 * gdb.base/random-signal.exp (do_test): New procedure, with body
1512 of testcase moved in.
1514 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1515 Pedro Alves <palves@redhat.com>
1517 * gdb.base/funcargs.exp (finish from indirectly called function):
1518 Reintroduce the case for 'First'.
1520 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1521 Pedro Alves <palves@redhat.com>
1523 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1524 (tcatch_vfork_then_child_follow_exec)
1525 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1528 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1530 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1531 and repeats to unlimited.
1532 * gdb.python/py-value.exp: Likewise.
1533 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1534 and repeats to unlimited.
1536 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1538 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1539 and reordering the functions.
1540 * gdb.multi/hangout.c: Likewise.
1541 * gdb.multi/hello.c: Likewise.
1543 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1545 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1547 (SingleStatisticTestResult.report): Use dict.keys instead of
1550 2016-01-06 Pedro Alves <palves@redhat.com>
1552 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1554 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1556 * gdb.btrace/dlopen.exp: New.
1557 * gdb.btrace/dlopen.c: New.
1558 * gdb.btrace/dlopen-dso.c: New.
1560 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1562 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1563 PATTERN argument is optional.
1565 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1567 * lib/ada.exp (target_compile_ada_from_dir): New function.
1568 (gdb_compile_ada): Reimplement avoiding the use of project files.
1569 * gdb.ada/gnat_ada.gpr: Delete.
1570 * gdb.ada/cond_lang.exp: Adjust test to make path before
1572 * gdb.ada/small_reg_param.exp: Likewise.
1574 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1576 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1578 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1580 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1583 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1585 * gdb.base/break.exp: Remove dead code.
1586 * gdb.base/sepdebug.exp: Likewise.
1588 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1590 * gdb.asm/asm-source.exp: Remove HP-UX references.
1591 * gdb.base/annota1.exp: Likewise.
1592 * gdb.base/annota3.exp: Likewise.
1593 * gdb.base/attach.exp: Likewise.
1594 * gdb.base/bigcore.exp: Likewise.
1595 * gdb.base/break.exp: Likewise.
1596 * gdb.base/call-ar-st.exp: Likewise.
1597 * gdb.base/callfuncs.exp: Likewise.
1598 * gdb.base/catch-fork-static.exp: Likewise.
1599 * gdb.base/display.exp: Likewise.
1600 * gdb.base/foll-exec-mode.exp: Likewise.
1601 * gdb.base/foll-exec.exp: Likewise.
1602 * gdb.base/foll-fork.exp: Likewise.
1603 * gdb.base/foll-vfork.exp: Likewise.
1604 * gdb.base/funcargs.exp: Likewise.
1605 * gdb.base/hbreak2.exp: Likewise.
1606 * gdb.base/inferior-died.exp: Likewise.
1607 * gdb.base/interrupt.exp: Likewise.
1608 * gdb.base/multi-forks.exp: Likewise.
1609 * gdb.base/nodebug.exp: Likewise.
1610 * gdb.base/sepdebug.exp: Likewise.
1611 * gdb.base/solib1.c: Likewise.
1612 * gdb.base/step-test.exp: Likewise.
1613 * gdb.mi/non-stop.c: Likewise.
1614 * gdb.mi/pthreads.c: Likewise.
1615 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1616 * gdb.threads/pthreads.c: Likewise.
1617 * gdb.threads/staticthreads.exp: Likewise.
1618 * lib/future.exp: Likewise.
1619 * lib/gdb.exp: Likewise.
1620 * gdb.base/so-indr-cl.c: Remove.
1621 * gdb.base/so-indr-cl.exp: Likewise.
1622 * gdb.base/solib.c: Likewise.
1623 * gdb.base/solib.exp: Likewise.
1624 * gdb.base/solib2.c: Likewise.
1626 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1628 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1629 * gdb.base/call-ar-st.exp: Likewise.
1630 * gdb.base/callfuncs.exp: Likewise.
1631 * gdb.base/condbreak.exp: Likewise.
1632 * gdb.base/constvars.exp: Likewise.
1633 * gdb.base/hbreak2.exp: Likewise.
1634 * gdb.base/langs.exp: Likewise.
1635 * gdb.base/list.exp: Likewise.
1636 * gdb.base/long_long.exp: Likewise.
1637 * gdb.base/ptype.exp: Likewise.
1638 * gdb.base/scope.exp: Likewise.
1639 * gdb.base/signals.exp: Likewise.
1640 * gdb.base/so-impl-ld.exp: Likewise.
1641 * gdb.base/varargs.exp: Likewise.
1642 * gdb.base/volatile.exp: Likewise.
1643 * gdb.base/whatis.exp: Likewise.
1644 * gdb.cp/cplusfuncs.exp: Likewise.
1645 * gdb.cp/inherit.exp: Likewise.
1646 * gdb.cp/local.exp: Likewise.
1647 * gdb.cp/member-ptr.exp: Likewise.
1648 * gdb.cp/method.exp: Likewise.
1649 * gdb.cp/overload.exp: Likewise.
1650 * gdb.cp/templates.exp: Likewise.
1651 * gdb.stabs/weird.exp: Likewise.
1652 * lib/compiler.c: Likewise.
1653 * lib/compiler.cc: Likewise.
1654 * lib/cp-support.exp: Likewise.
1655 * lib/gdb.exp: Likewise.
1657 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1659 * configure.ac: Remove HP-UX case.
1660 * configure: Regenerate.
1662 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1664 * lib/gdb.exp (gdb_compile): Add function doc.
1666 2015-12-17 Pedro Alves <palves@redhat.com>
1669 * gdb.multi/info-threads.exp: New file.
1671 2015-12-15 Yao Qi <yao.qi@linaro.org>
1673 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1676 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1678 * gdb.base/history-duplicates.exp: Skip if no readline support.
1680 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1682 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1684 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1686 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1688 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1690 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1691 ctrl-C if nointerrupts target property is set.
1692 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1693 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1694 * gdb.base/paginate-bg-execution.exp: Likewise.
1695 * gdb.base/paginate-execution-startup.exp: Likewise.
1696 * gdb.base/random-signal.exp: Likewise.
1697 * gdb.base/range-stepping.exp: Likewise.
1698 * gdb.cp/annota2.exp: Likewise.
1699 * gdb.cp/annota3.exp: Likewise.
1700 * gdb.gdb/selftest.exp: Likewise.
1701 * gdb.threads/continue-pending-status.exp: Likewise.
1702 * gdb.threads/leader-exit.exp: Likewise.
1703 * gdb.threads/manythreads.exp: Likewise.
1704 * gdb.threads/pthreads.exp: Likewise.
1705 * gdb.threads/schedlock.exp: Likewise.
1706 * gdb.threads/sigthread.exp: Likewise.
1708 2015-12-11 Don Breazeal <donb@codesourcery.com>
1710 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1712 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1713 * gdb.base/foll-exec.exp (main): Enable for target remote.
1714 * gdb.base/foll-fork.exp (main): Likewise.
1715 * gdb.base/foll-vfork.exp (main): Likewise.
1716 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1717 (proc continue_to_exit_bp_loc): Use clean_restart.
1718 * gdb.base/pie-execl.exp (main): Disable for target remote.
1719 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1720 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1721 * gdb.threads/execl.exp (main): Likewise.
1722 * gdb.threads/fork-child-threads.exp (main): Likewise.
1723 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1725 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1727 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1728 pid.tid style ptids, instead of just tid.
1729 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1730 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1731 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1732 ptids, instead of just tid.
1734 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1736 * gdb.base/list.exp (test_list_forward): Add end of file error
1738 (test_repeat_list_command): Add end of file error test.
1739 (test_list_backwards): Add beginning of file error test.
1741 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * gdb.base/list.exp (test_list_invalid_args): New function,
1744 defined, and called.
1746 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1748 * gdb.base/list.exp (test_list): Make test names unique.
1750 2015-12-11 Yao Qi <yao.qi@linaro.org>
1752 * gdb.base/coremaker2.c: Remove.
1754 2015-12-10 Pedro Alves <palves@redhat.com>
1756 * gdb.multi/base.exp: Remove stale "spaces" references.
1758 2015-12-10 Pedro Alves <palves@redhat.com>
1760 * gdb.multi/base.exp: Don't use nowarnings.
1761 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1762 * gdb.multi/hangout.c: Include stdio.h.
1763 * gdb.multi/hello.c: Include stdlib.h.
1764 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1765 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1766 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1768 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1770 * gdb.dwarf2/dw2-ranges-base.c: New file.
1771 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1772 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1773 support additional line table, and debug ranges generation.
1774 (Dwarf::ranges): New function, generate .debug_ranges.
1775 (Dwarf::lines): Support generating simple line table programs.
1776 (Dwarf::assemble): Initialise new namespace variables.
1778 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1780 * gdb.base/async.exp (proc test_background): Add case for
1781 asynchronous execution not supported.
1783 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1785 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1786 format and change test names to make them unique.
1788 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1789 Pedro Alves <pedro@redhat.com>
1792 Add checking of floatformats setup on x86_64 hosts.
1793 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1794 (smallval, bigval): New labels/constants.
1795 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1796 float" after loading bigval and smallval.
1798 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1800 * gdb.ada/fun_overload_menu.exp: New testcase.
1801 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1803 2015-12-04 Josh Stone <jistone@redhat.com>
1805 * gdb.base/catch-fork-static.exp: New.
1807 2015-12-03 Yao Qi <yao.qi@linaro.org>
1809 * gdb.base/sizeof.c: Don't include stdio.h and
1810 ../lib/unbuffer_output.c.
1811 (main): New variable 'size' and 'value'. Remove printf and
1812 gdb_unbuffer_output. Assign return value to size and value.
1813 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1815 (check_sizeof): Check the result by printing variable 'size'.
1816 (check_valueof): Check the result by printing variable 'value'.
1818 2015-12-01 Yao Qi <yao.qi@linaro.org>
1820 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1821 for aarch64*-*-linux* target.
1823 2015-11-30 Pedro Alves <palves@redhat.com>
1825 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1827 2015-11-30 Pedro Alves <palves@redhat.com>
1829 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1830 Handle non-stop mode vCont replies.
1832 2015-11-30 Pedro Alves <palves@redhat.com>
1834 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1835 prepare_for_testing. Start gdb with "set non-stop on" appended to
1836 GDBFLAGS. Lax expected stop output.
1838 2015-11-27 Yao Qi <yao.qi@linaro.org>
1840 * gdb.arch/arm-neon.exp: New.
1841 * gdb.arch/arm-neon.c: New.
1843 2015-11-27 Yao Qi <yao.qi@linaro.org>
1845 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1847 2015-11-27 Yao Qi <yao.qi@linaro.org>
1849 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1850 frames-invalid annotation.
1852 2015-11-27 Yao Qi <yao.qi@linaro.org>
1854 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1856 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1858 * gdb.threads/names.exp: New file.
1859 * gdb.threads/names.c: New file.
1860 * README: Mention gdb,no_thread_names.
1862 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1865 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1868 2015-11-24 Pedro Alves <palves@redhat.com>
1871 * gdb.base/display.exp: Expect displays to be sorted in ascending
1872 order. Use multi_line.
1873 * gdb.base/solib-display.exp: Likewise.
1875 2015-11-24 Pedro Alves <palves@redhat.com>
1878 * gdb.base/display.exp: Expect displays to be sorted in ascending
1879 order. Use multi_line.
1880 * gdb.base/solib-display.exp: Likewise.
1882 2015-11-24 Pedro Alves <palves@redhat.com>
1885 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1886 threads in ascending order.
1887 * gdb.base/foll-fork.exp: Likewise.
1888 * gdb.base/foll-vfork.exp: Likewise.
1889 * gdb.base/multi-forks.exp: Likewise.
1890 * gdb.mi/mi-nonstop.exp: Likewise.
1891 * gdb.mi/mi-nsintrall.exp: Likewise.
1892 * gdb.multi/base.exp: Likewise.
1893 * gdb.multi/multi-arch.exp: Likewise.
1894 * gdb.python/py-inferior.exp: Likewise.
1895 * gdb.threads/break-while-running.exp: Likewise.
1896 * gdb.threads/execl.exp: Likewise.
1897 * gdb.threads/gcore-thread.exp: Likewise.
1898 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1899 * gdb.threads/kill.exp: Likewise.
1900 * gdb.threads/linux-dp.exp: Likewise.
1901 * gdb.threads/multiple-step-overs.exp: Likewise.
1902 * gdb.threads/next-bp-other-thread.exp: Likewise.
1903 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1904 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1905 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1906 * gdb.threads/thread-find.exp: Likewise.
1907 * gdb.threads/tls.exp: Likewise.
1908 * lib/mi-support.exp (mi_reverse_list): Delete.
1909 (mi_check_thread_states): No longer reverse list.
1911 2015-11-24 Pedro Alves <palves@redhat.com>
1913 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1916 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1918 * gdb.trace/actions.c: Include trace-common.h.
1919 (main): Add a location for a fast tracepoint.
1920 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1921 the normal tracepoints.
1922 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1924 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1926 * save-trace.exp: Factor out code to these...
1927 (gdb_save_tracepoints): New.
1928 (gdb_load_tracepoints): New.
1929 (do_save_load_test): New.
1931 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1933 * gdb.base/asmlabel.exp: New test.
1934 * gdb.base/asmlabel.c: New test case.
1936 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1938 * gdb.base/wrong_frame_bt_full-main.c: New file.
1939 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1940 * gdb.base/wrong_frame_bt_full.exp: New file.
1942 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1944 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1946 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1948 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1949 pstate register when comparing registers values in
1950 sparc64-*-linux-gnu targets to avoid spurious differences.
1952 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1954 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1956 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1958 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1959 as type argument to gdb_compile.
1960 * gdb.base/nested-subp2.exp: Likewise.
1961 * gdb.base/nested-subp3.exp: Likewise.
1963 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1965 * lib/dwarf.exp (_note): Fix left shift of negative value.
1966 * gdb.trace/trace-condition.exp: Likewise.
1968 2015-11-13 Yao Qi <yao.qi@linaro.org>
1970 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1971 comments about d10v.
1972 (test_scalar_returns): Likewise.
1973 * gdb.base/d10v.ld: Remove.
1974 * gdb.base/overlays.exp: Remove the target triplet checking for
1976 * gdb.base/structs.exp (test_struct_returns): Remove the
1977 comments about d10v.
1978 (test_struct_calls): Likewise.
1980 2015-11-13 Yao Qi <yao.qi@linaro.org>
1982 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1983 * gdb.base/gnu_vector.c: Don't include stdio.h.
1984 (main): Don't print res and call add_some_intvecs.
1986 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1988 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1991 (func4): Use FAST_TRACEPOINT_LABEL.
1992 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1995 (thread_function): Use FAST_TRACEPOINT_LABEL.
1996 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1998 (marker): Use FAST_TRACEPOINT_LABEL.
1999 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2000 (pendfunc1): Remove.
2001 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2002 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2004 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2005 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2008 (marker): Use FAST_TRACEPOINT_LABEL.
2009 * gdb.trace/trace-common.h: New header.
2010 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2013 (marker): Use FAST_TRACEPOINT_LABEL.
2014 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2016 (thread_function): Use FAST_TRACEPOINT_LABEL.
2018 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2020 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2022 * gdb.trace/change-loc.exp: Use global pcreg definition.
2023 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2024 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2026 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2027 * gdb.trace/pending.exp: Likewise.
2028 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2029 * gdb.trace/trace-break.exp: Likewise.
2030 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2032 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2033 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2035 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2037 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2039 * gdb.ada/fin_fun_out: New testcase.
2041 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2043 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2044 value associated with DW_AT_byte_size.
2045 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2046 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2049 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2051 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2052 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2054 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2055 gdb.dwarf2/dw2-canonicalize-type.exp,
2056 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2057 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2058 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2059 provided by gdb_target_symbol_prefix_flags_asm.
2060 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2061 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2062 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2063 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2064 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2065 macros where needed). Use this macro for symbols which require
2066 the prefix provided by SYMBOL_PREFIX.
2068 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2070 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2072 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2073 representing expressions, of more than one list element.
2074 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2075 to prepend linker symbol prefix to f.
2076 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2077 table_1 and table_2.
2078 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2079 Likewise, for f and g.
2080 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2082 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2084 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2085 table_1_ptr and table_2_ptr.
2087 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2088 Joel Brobecker <brobecker@adacore.com>
2090 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2092 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2094 * gdb.reverse/s390-mvcle.c: New test.
2095 * gdb.reverse/s390-mvcle.exp: New file.
2096 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2098 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2100 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2102 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2104 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2106 * gdb.reverse/getresuid-reverse.exp: Likewise.
2107 * gdb.reverse/pipe-reverse.exp: Likewise.
2108 * gdb.reverse/readv-reverse.exp: Likewise.
2109 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2110 * gdb.reverse/time-reverse.exp: Likewise.
2111 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2113 2015-10-30 Yao Qi <yao.qi@linaro.org>
2115 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2116 (empty_cycle): Remove.
2117 (main): Don't call empty_cycle. Don't use watch_count_done.
2118 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2119 empty_cycle. Rewrite the code counting HW watchpoints.
2121 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2123 * gdb.reverse/fstatat-reverse.c: New test.
2124 * gdb.reverse/fstatat-reverse.exp: New file.
2125 * gdb.reverse/getresuid-reverse.c: New test.
2126 * gdb.reverse/getresuid-reverse.exp: New file.
2127 * gdb.reverse/pipe-reverse.c: New test.
2128 * gdb.reverse/pipe-reverse.exp: New file.
2129 * gdb.reverse/readv-reverse.c: New test.
2130 * gdb.reverse/readv-reverse.exp: New file.
2131 * gdb.reverse/recvmsg-reverse.c: New test.
2132 * gdb.reverse/recvmsg-reverse.exp: New file.
2133 * gdb.reverse/time-reverse.c: New test.
2134 * gdb.reverse/time-reverse.exp: New file.
2135 * gdb.reverse/waitpid-reverse.c: New test.
2136 * gdb.reverse/waitpid-reverse.exp: New file.
2138 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2140 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2142 2015-10-26 Doug Evans <dje@google.com>
2145 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2146 * gdb.dwarf2/bad-regnum.c: New file.
2147 * gdb.dwarf2/bad-regnum.exp: New file.
2149 2015-10-26 Doug Evans <dje@google.com>
2152 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2155 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2157 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2158 for a change by "Mention language in compile error message".
2160 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2163 * gdb.python/py-type.c (C::a_method): New.
2164 (C::a_const_method): New.
2165 (C::a_static_method): New.
2167 * gdb.python/py-type.exp (test_fields): Test getting fields
2168 from function and method.
2170 2015-10-21 Keven Boell <keven.boell@intel.com>
2172 * gdb.fortran/vla-alloc-assoc.exp: New file.
2173 * gdb.fortran/vla-datatypes.exp: New file.
2174 * gdb.fortran/vla-datatypes.f90: New file.
2175 * gdb.fortran/vla-history.exp: New file.
2176 * gdb.fortran/vla-ptype-sub.exp: New file.
2177 * gdb.fortran/vla-ptype.exp: New file.
2178 * gdb.fortran/vla-sizeof.exp: New file.
2179 * gdb.fortran/vla-sub.f90: New file.
2180 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2181 * gdb.fortran/vla-value-sub-finish.exp: New file.
2182 * gdb.fortran/vla-value-sub.exp: New file.
2183 * gdb.fortran/vla-value.exp: New file.
2184 * gdb.fortran/vla-ptr-info.exp: New file.
2185 * gdb.mi/mi-vla-fortran.exp: New file.
2186 * gdb.mi/vla.f90: New file.
2188 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2190 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2191 of hardwired timeout value.
2193 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2194 Pedro Alves <palves@redhat.com>
2196 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2197 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2199 2015-10-19 Josh Stone <jistone@redhat.com>
2201 * gdb.base/catch-syscall.c: Include <sched.h>.
2202 (unknown_syscall): New variable.
2203 (main): Trigger a vfork and an unknown syscall.
2204 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2205 (unknown_syscall_number): Likewise.
2206 (check_call_to_syscall): Accept an optional syscall pattern.
2207 (check_return_from_syscall): Likewise.
2208 (check_continue): Likewise.
2209 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2210 (test_catch_syscall_skipping_return): New test toggling off 'catch
2211 syscall' to step over the syscall return, then toggling back on.
2212 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2213 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2214 (do_syscall_tests): Call test_catch_syscall_without_args and
2215 test_catch_syscall_mid_vfork.
2216 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2217 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2219 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2221 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2222 print g_vE): Add new pass patterns.
2223 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2224 print various symbol names for vptr fields.
2226 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2228 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2231 2015-10-12 Yao Qi <yao.qi@linaro.org>
2233 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2235 2015-10-12 Yao Qi <yao.qi@linaro.org>
2237 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2238 is aarch64*-*-linux*.
2240 2015-10-12 Yao Qi <yao.qi@linaro.org>
2242 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2243 (can_relocate_bcond_true): ... it.
2244 (can_relocate_bcond_false): New function.
2246 (can_relocate_bl): Likewise.
2247 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2250 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2252 * gdb.base/nested-addr.c: New file.
2253 * gdb.base/nested-addr.exp: New testcase.
2255 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2257 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2258 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2259 its output. Ignore the output of "record goto begin" and instead
2260 check that GDB is replaying.
2262 2015-10-09 Pedro Alves <palves@redhat.com>
2264 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2265 (top level): Use it in the run with no args test.
2267 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2269 * gdb.dlang/properties.exp: New file.
2271 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2273 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2274 whether or not address 0x1000 is mapped on the target.
2276 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2278 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2281 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2283 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2284 instruction-history test.
2286 2015-09-28 Doug Evans <dje@google.com>
2288 * gdb.base/gcore.c (array_func): Add reference to static_array.
2290 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2292 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2295 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2297 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2298 short or char as base type.
2300 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2302 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2303 to allow any size enum.
2305 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2307 * gdb.ada/array_ptr_renaming.exp: New testcase.
2308 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2309 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2311 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2313 * gdb.trace/ftrace-lock.c: New file.
2314 * gdb.trace/ftrace-lock.exp: New file.
2316 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2318 * gdb.arch/insn-reloc.c: New file.
2319 * gdb.arch/ftrace-insn-reloc.exp: New file.
2321 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2323 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2325 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2326 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2327 * gdb.trace/range-stepping.c: Likewise.
2328 * gdb.trace/trace-break.c: Likewise.
2329 * gdb.trace/trace-mt.c (thread_function): Likewise.
2330 * gdb.trace/ftrace.c (marker): Likewise.
2331 * gdb.trace/trace-condition.c (marker): Likewise.
2332 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2333 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2336 2015-09-18 Doug Evans <xdje42@gmail.com>
2338 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2339 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2341 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2343 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2346 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2348 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2349 the pending breakpoint. Remove timeout override for "Run till
2350 MI pending breakpoint on pendfunc3 on thread 2" test.
2352 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2354 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2357 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2359 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2360 in breakpoint filename pattern.
2362 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2364 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2366 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2368 * gdb.linespec/explicit.exp: Check for readline support for
2369 tab-completion tests. Fix obvious typo.
2371 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2373 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2376 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2378 * gdb.btrace/non-stop.c: New.
2379 * gdb.btrace/non-stop.exp: New.
2381 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2382 Yao Qi <yao.qi@linaro.org>
2384 * gdb.trace/trace-condition.c: New file.
2385 * gdb.trace/trace-condition.exp: New file.
2387 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2389 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2390 for testing bytecode compilation.
2392 2015-09-16 Pedro Alves <palves@redhat.com>
2393 Sandra Loosemore <sandra@codesourcery.com>
2395 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2396 (SECONDS): Redefine.
2397 (main): Call pthread_kill and alarm early.
2398 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2400 (test): If the target can't hardware step and doesn't support
2401 displaced stepping, increase the timeout.
2403 2015-09-16 Pedro Alves <palves@redhat.com>
2405 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2406 (enable_debug): New procedures.
2407 (test): Use them. Bail out if waiting for threads fails.
2408 (top level): Bail out if a test fails.
2410 2015-09-16 Yao Qi <yao.qi@linaro.org>
2412 * gdb.asm/asm-source.exp: Set asm-arch for
2413 aarch64*-*-* target.
2414 * gdb.asm/aarch64.inc: New file.
2416 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2418 * gdb.ada/array_of_variable_length.exp: New testcase.
2419 * gdb.ada/array_of_variable_length/foo.adb: New file.
2420 * gdb.ada/array_of_variable_length/pck.adb: New file.
2421 * gdb.ada/array_of_variable_length/pck.ads: New file.
2423 2015-09-15 Doug Evans <dje@google.com>
2425 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2426 of function static local variable.
2428 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2430 * gdb.threads/tls-so_extern.exp: New test file.
2431 * gdb.threads/tls-so_extern.c: New test file.
2432 * gdb.threads/tls-so_extern_main.c: New test file.
2434 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2436 * gdb.opt/solib-intra-step-lib.c: New file.
2437 * gdb.opt/solib-intra-step-main.c: New file.
2438 * gdb.opt/solib-intra-step.exp: New file.
2440 2015-09-15 Pedro Alves <palves@redhat.com>
2442 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2443 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2445 2015-09-14 Pedro Alves <palves@redhat.com>
2447 * gdb.base/hook-stop-continue.c: Delete.
2448 * gdb.base/hook-stop-continue.exp: Delete.
2449 * gdb.base/hook-stop-frame.c: Delete.
2450 * gdb.base/hook-stop-frame.exp: Delete.
2451 * gdb.base/hook-stop.c: New file.
2452 * gdb.base/hook-stop.exp: New file.
2454 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2456 * gdb.ada/access_to_packed_array.exp: New testcase.
2457 * gdb.ada/access_to_packed_array/foo.adb: New file.
2458 * gdb.ada/access_to_packed_array/pack.adb: New file.
2459 * gdb.ada/access_to_packed_array/pack.ads: New file.
2461 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2463 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2466 2015-09-11 Don Breazeal <donb@codesourcery.com>
2468 * gdb.base/foll-exec.c: Add copyright header. Fix
2470 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2471 (do_exec_tests): Use clean_restart in place of zap_session,
2472 and for test initialization. Fix formatting issues. Use
2473 fail in place of perror.
2474 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2475 an expect statement to match an expression with output from
2476 the program under debug.
2477 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2478 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2479 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2480 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2481 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2483 2015-09-09 Doug Evans <dje@google.com>
2485 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2487 2015-09-09 Doug Evans <dje@google.com>
2489 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2491 2015-09-09 Doug Evans <dje@google.com>
2493 * gdb.base/savedregs.exp: Fix typo.
2495 2015-09-09 Pedro Alves <palves@redhat.com>
2497 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2499 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2501 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2502 command actually switches threads. Give up on remaining
2503 tests if target fails to stop at breakpoint.
2505 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2507 * gdb.ada/funcall_char.exp: New testcase.
2508 * gdb.ada/funcall_char/foo.adb: New file.
2510 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2512 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2513 expected outputs. Add two testcases for completing ambiguous
2515 * gdb.ada/complete/aux_pck.adb: New file.
2516 * gdb.ada/complete/aux_pck.ads: New file.
2517 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2518 Ambiguous_Func functions.
2519 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2520 * gdb.ada/complete/pck.adb: Likewise.
2522 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2524 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2525 failures to run the test program under GDB.
2527 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2529 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2532 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2534 * gdb.base/run-after-attach.exp: New test file.
2535 * gdb.base/run-after-attach.c: New test file.
2537 2015-08-26 Don Breazeal <donb@codesourcery.com>
2539 * gdb.base/foll-exec-2.c: New test program.
2540 * gdb.base/foll-exec-2.exp: New test.
2542 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2544 * gdb.base/nested-subp1.exp: New file.
2545 * gdb.base/nested-subp1.c: New file.
2546 * gdb.base/nested-subp2.exp: New file.
2547 * gdb.base/nested-subp2.c: New file.
2548 * gdb.base/nested-subp3.exp: New file.
2549 * gdb.base/nested-subp3.c: New file.
2551 2015-08-24 Pedro Alves <palves@redhat.com>
2553 * gdb.server/connect-without-multi-process.c: New file.
2554 * gdb.server/connect-without-multi-process.exp: New file.
2556 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2558 * gdb.opt/inline-markers.c: Make z int.
2560 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2562 * gdb.opt/inline-markers.c: Make z volatile.
2564 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2566 * gdb.opt/inline-bt.c: New volatile global z.
2567 * gdb.opt/inline-cmds.c: Likewise.
2568 * gdb.opt/inline-locals.c: Likewise.
2569 * gdb.opt/inline-markers.c: New extern global z.
2571 (inline_fn): Likewise.
2573 2015-08-24 Pedro Alves <palves@redhat.com>
2575 * config/m32r-stub.exp: Remove file.
2576 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2577 * gdb.base/call-rt-st.exp: Likewise.
2578 * gdb.base/call-strs.exp: Likewise.
2579 * gdb.base/default.exp: Remove references to h8300-*-hms and
2581 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2583 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2585 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2586 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2587 and "return" use KFAIL when GDB can not read/write the vector
2590 2015-08-21 Gary Benson <gbenson@redhat.com>
2592 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2594 2015-08-20 Pedro Alves <palves@redhat.com>
2596 * gdb.server/solib-list.exp: No longer expect an interior stop in
2599 2015-08-20 Pedro Alves <palves@redhat.com>
2601 * gdb.server/connect-stopped-target.c: New file.
2602 * gdb.server/connect-stopped-target.exp: New file.
2604 2015-08-20 Pedro Alves <palves@redhat.com>
2606 * gdb.dwarf2/comp-unit-lang.exp: New file.
2607 * gdb.dwarf2/comp-unit-lang.c: New file.
2609 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2611 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2612 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2614 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2616 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2617 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2619 2015-08-18 Doug Evans <dje@google.com>
2620 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2622 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2623 skip_python_tests. New arg prompt_regexp.
2624 (skip_python_tests): New function.
2625 * lib/mi-support.exp (mi_skip_python_tests): New function.
2626 * gdb.python/py-mi-objfile-gdb.py: New file.
2627 * gdb.python/py-mi-objfile.c: New file.
2628 * gdb.python/py-mi-objfile.exp: New file.
2630 2015-08-17 Keith Seitz <keiths@redhat.com>
2632 * gdb.linespec/explicit.exp: Move strace test from here ...
2633 * gdb.trace/strace.exp: ... to here.
2635 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2637 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2638 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2640 2015-08-14 Doug Evans <xdje42@gmail.com>
2642 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2643 inferior before selecting a new file.
2645 2015-08-14 Doug Evans <xdje42@gmail.com>
2647 * gdb.mi/mi-disassemble.exp: Update.
2648 * gdb.base/disasm-optim.S: New file.
2649 * gdb.base/disasm-optim.c: New file.
2650 * gdb.base/disasm-optim.h: New file.
2651 * gdb.base/disasm-optim.exp: New file.
2653 2015-08-14 Keith Seitz <keiths@redhat.com>
2655 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2658 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2660 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2662 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2664 * gdb.ada/fun_renaming.exp: New testcase.
2665 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2666 * gdb.ada/fun_renaming/pack.adb: New file.
2667 * gdb.ada/fun_renaming/pack.ads: New file.
2669 2015-08-12 Keith Seitz <keiths@redhat.com>
2671 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2672 gdb_get_line_number.
2674 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2676 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2677 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2678 gdb.base/dso2dso.exp: New files.
2680 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2681 Pedro Alves <palves@redhat.com>
2682 Keith Seitz <keiths@redhat.com>
2684 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2687 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2689 * gdb.base/gdbhistsize-history.exp
2690 (test_histsize_history_setting): Use save_vars.
2691 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2693 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2694 * gdb.base/readline.exp: Use save_vars.
2696 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2698 * lib/gdb.exp (save_vars): New proc.
2700 2015-08-11 Keith Seitz <keiths@redhat.com>
2702 * gdb.base/help.exp: Update help_breakpoint_text.
2704 2015-08-11 Keith Seitz <keiths@redhat.com>
2706 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2707 (at toplevel): Call test_explicit_breakpoints.
2708 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2710 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2711 breakpoint conditions, "-cond".
2713 2015-08-11 Keith Seitz <keiths@redhat.com>
2715 * gdb.linespec/3explicit.c: New file.
2716 * gdb.linespec/cpexplicit.cc: New file.
2717 * gdb.linespec/cpexplicit.exp: New file.
2718 * gdb.linespec/explicit.c: New file.
2719 * gdb.linespec/explicit.exp: New file.
2720 * gdb.linespec/explicit2.c: New file.
2721 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2722 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2723 before using in the matching pattern.
2724 Clarify that `prefix' is a regular expression.
2726 2015-08-11 Keith Seitz <keiths@redhat.com>
2728 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2730 Add tests for missing ",FMT" and ",".
2732 2015-08-10 Doug Evans <dje@google.com>
2733 Keith Seitz <keiths@redhat.com>
2736 * gdb.base/completion.exp: Add location completer tests.
2738 2015-08-07 Pedro Alves <palves@redhat.com>
2740 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2742 (top level): Run do_test with and without displaced stepping.
2744 2015-08-07 Pedro Alves <palves@redhat.com>
2746 * gdb.base/valgrind-disp-step.c: New file.
2747 * gdb.base/valgrind-disp-step.exp: New file.
2749 2015-08-07 Pedro Alves <palves@redhat.com>
2751 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2753 (main): Add alarm. Run an infinite loop instead of calling
2755 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2757 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2759 (main): Add alarm. Run an infinite loop instead of calling
2761 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2764 2015-08-07 Pedro Alves <palves@redhat.com>
2766 * gdb.base/checkpoint-ns.exp: New file.
2767 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2770 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2772 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2773 * gdb.btrace/instruction_history.exp: Update.
2774 * gdb.btrace/tsx.exp: New.
2775 * gdb.btrace/tsx.c: New.
2777 2015-08-06 Pedro Alves <palves@redhat.com>
2779 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2781 * gdb.reverse/until-precsave.exp: Bump timeouts.
2783 2015-08-06 Pedro Alves <palves@redhat.com>
2785 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2787 2015-08-06 Pedro Alves <palves@redhat.com>
2790 * gdb.threads/process-dies-while-handling-bp.c: New file.
2791 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2793 2015-08-06 Pedro Alves <palves@redhat.com>
2795 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2796 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2798 2015-08-05 Pedro Alves <palves@redhat.com>
2800 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2801 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2803 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2805 * gdb.base/bp-permanent.exp: Report test as unsupported if
2806 the target cannot stop at the permanent breakpoint.
2808 2015-08-03 Doug Evans <dje@google.com>
2810 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2813 2015-08-03 Doug Evans <dje@google.com>
2815 * Makefile.in (workers/%.worker, build-perf): New rule.
2816 (GDB_PERFTEST_MODE): New variable.
2817 (check-perf): Use it.
2818 (clean): Clean up gdb.perf parallel build subdirs.
2819 * lib/build-piece.exp: New file.
2820 * lib/gdb.exp (make_gdb_parallel_path): New function
2821 (standard_output_file, standard_temp_file): Call it.
2822 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2824 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2826 2015-08-03 Doug Evans <dje@google.com>
2828 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2829 (LOG_FILE_NAME): New global.
2830 (TextReporter.__init__): Initialize self.txt_sum.
2831 (TextReporter.report): Add support for multiple data-points.
2832 Move report to perftest.sum, put raw data in perftest.log.
2833 (TextReporter.start): Open sum and log files.
2834 (TextReporter.end): Close sum and log files.
2835 * gdb.perf/lib/perftest/testresult.py
2836 (SingleStatisticTestResult.record): Handle multiple data-points.
2838 2015-07-31 Pedro Alves <palves@redhat.com>
2840 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2841 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2842 kill_wait_spawned_process instead of explicit "kill -9".
2843 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2844 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2845 kill_wait_spawned_process.
2846 * gdb.base/attach-twice.exp: Likewise.
2847 * gdb.base/attach.exp: Likewise.
2848 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2850 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2851 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2852 kill_wait_spawned_process.
2853 * gdb.base/valgrind-infcall.exp: Likewise.
2854 * gdb.multi/multi-attach.exp: Likewise.
2855 * gdb.python/py-prompt.exp: Likewise.
2856 * gdb.python/py-sync-interp.exp: Likewise.
2857 * gdb.server/ext-attach.exp: Likewise.
2858 * gdb.threads/attach-into-signal.exp (corefunc): Use
2859 spawn_wait_for_attach, spawn_id_get_pid and
2860 kill_wait_spawned_process.
2861 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2862 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2863 spawn_id_get_pid and kill_wait_spawned_process.
2864 * gdb.threads/attach-stopped.exp (corefunc): Use
2865 spawn_wait_for_attach, spawn_id_get_pid and
2866 kill_wait_spawned_process.
2867 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2868 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2869 kill_wait_spawned_process instead of explicit "kill -9".
2870 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2871 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2872 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2873 processes. Don't map cygwin/windows pids here. Now returns a
2876 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2878 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2879 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2882 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2884 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2886 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2889 2014-05-21 Mark Wielaard <mjw@redhat.com>
2891 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2893 2015-07-30 Pedro Alves <palves@redhat.com>
2895 * linux-low.c (handle_extended_wait): Set the child's last
2896 reported status to TARGET_WAITKIND_STOPPED.
2898 2015-07-30 Pedro Alves <palves@redhat.com>
2901 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2902 only shows inferior 1.
2904 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2905 Pedro Alves <palves@redhat.com>
2908 * gdb.threads/fork-plus-threads.c: New file.
2909 * gdb.threads/fork-plus-threads.exp: New file.
2911 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2913 * gdb.base/batch-preserve-term-settings.exp
2914 (test_terminal_settings_preserved_after_cli_exit): Use
2917 2015-07-29 Pedro Alves <palves@redhat.com>
2918 Don Breazeal <donb@codesourcery.com>
2920 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2921 output from both inferior_spawn_id and gdb_spawn_id.
2923 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2925 * gdb.threads/attach-into-signal.exp (corefunc): Use
2926 with_test_prefix on nested loops, uniquefying the test messages.
2928 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2930 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2933 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2935 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2937 (test_terminal_settings_preserved_after_sigterm): New test.
2939 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2941 * gdb.base/batch-preserve-term-settings.exp
2942 (test_terminal_settings_preserved_after_cli_exit): New test.
2944 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2946 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2947 manipulation of saved_gdbflags.
2948 (test_terminal_settings_preserved): Remove global declaration of
2949 the unused variable pagination_prompt. Remove manipulation of
2950 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2953 2015-07-29 Pedro Alves <palves@redhat.com>
2955 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2957 2015-07-29 Pedro Alves <palves@redhat.com>
2959 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2962 2015-07-29 Pedro Alves <palves@redhat.com>
2964 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2965 (main): Call gdb_unbuffer_output.
2966 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2967 (main): Call gdb_unbuffer_output.
2968 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2969 (main): Call gdb_unbuffer_output.
2970 * gdb.base/call-strs.exp: Adjust to step over the
2971 gdb_unbuffer_output call.
2972 * gdb.base/catch-gdb-caused-signals.c: Include
2973 "../lib/unbuffer_output.c".
2974 (main): Call gdb_unbuffer_output.
2975 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2976 (main): Call gdb_unbuffer_output.
2977 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2978 (main): Call gdb_unbuffer_output.
2979 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2980 (main): Call gdb_unbuffer_output.
2981 * gdb.base/shlib-call.exp: Adjust to step over the
2982 gdb_unbuffer_output call.
2983 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2984 (main): Call gdb_unbuffer_output.
2985 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2986 (main): Call gdb_unbuffer_output.
2987 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2988 (main): Rename to ...
2990 (main): Reimplement.
2991 * gdb.base/varargs.exp: Run to test instead of to main.
2992 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2993 (main): Call gdb_unbuffer_output.
2995 2015-07-29 Pedro Alves <palves@redhat.com>
2997 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2998 factore out from mi_continue_dprintf. For call-style dprintfs,
2999 expect dprintf output out of $inferior_spawn_id.
3000 (mi_continue_dprintf): Use mi_expect_dprintf.
3001 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3002 (main): Call gdb_unbuffer_output.
3004 2015-07-29 Pedro Alves <palves@redhat.com>
3006 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3007 (default_mi_gdb_start): Set inferior_spawn_id instead of
3008 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3010 (mi_gdb_test): Always expect inferior output from both
3011 $inferior_spawn_id and $gdb_spawn_id.
3013 2015-07-29 Pedro Alves <palves@redhat.com>
3015 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3016 send_inferior and $inferior_spawn_id.
3018 2015-07-29 Pedro Alves <palves@redhat.com>
3020 * gdb.gdb/complaints.exp (test_initial_complaints)
3021 (test_serial_complaints, test_short_complaints): Use
3023 (test_empty_complaint): Handle $inferior_spawn_id !=
3026 2015-07-29 Pedro Alves <palves@redhat.com>
3028 * gdb.base/varargs.exp: Use gdb_test_stdio.
3030 2015-07-29 Pedro Alves <palves@redhat.com>
3032 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3034 2015-07-29 Pedro Alves <palves@redhat.com>
3036 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3038 2015-07-29 Pedro Alves <palves@redhat.com>
3040 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3041 parameter into two new parameters, "inf_result" and "gdb_result".
3042 Expect inferior output and gdb output from $inferior_spawn_id and
3043 $gdb_spawn_id, respectively. Adjust all callers.
3045 2015-07-29 Pedro Alves <palves@redhat.com>
3047 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3048 of gdb_test_sequence.
3050 2015-07-29 Pedro Alves <palves@redhat.com>
3052 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3053 (saw_spurious_output): Expect inferior output from
3054 $inferior_spawn_id. Use gdb_test_stdio.
3056 2015-07-29 Pedro Alves <palves@redhat.com>
3058 * gdb.base/dprintf.exp: Use standard_testfile. Change
3059 prepare_for_testing call.
3060 (srcfile): Don't set.
3061 (restart): New procedure.
3062 (test_dprintf): New procecure, use to continue over dprintfs.
3063 (test_call, test_agent): New procedures, tests moved here.
3064 Restart gdb and recreate dprintfs. Adjust expected output.
3066 2015-07-29 Pedro Alves <palves@redhat.com>
3068 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3070 2015-07-29 Pedro Alves <palves@redhat.com>
3072 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3074 2015-07-29 Pedro Alves <palves@redhat.com>
3076 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3079 2015-07-29 Pedro Alves <palves@redhat.com>
3081 * lib/gdb.exp (gdb_test_stdio): New procedure.
3083 2015-07-29 Pedro Alves <palves@redhat.com>
3085 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3087 2015-07-29 Pedro Alves <palves@redhat.com>
3089 * gdb.base/call-signal-resume.exp: Remove check for
3090 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3091 * gdb.base/unwindonsignal.exp: Likewise.
3092 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3093 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3095 2015-07-29 Pedro Alves <palves@redhat.com>
3097 * gdb.base/siginfo-addr.c (pass): New function.
3098 (handler): Call it iff si_addr is correct.
3099 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3100 Set a breakpoint at "pass" and continue to it.
3102 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3104 * gdb.python/py-objfile.exp: Make some tests have unique names.
3105 * gdb.python/py-pp-registration.exp: Likewise.
3107 2015-07-28 Pedro Alves <palves@redhat.com>
3109 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3111 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3113 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3115 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3117 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3119 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3121 * gdb.base/gdb-sigterm-2.exp: New test.
3123 2015-07-25 Doug Evans <xdje42@gmail.com>
3126 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3127 (workers/%.worker, build-perf): New rule.
3128 (GDB_PERFTEST_MODE): New variable.
3129 (check-perf): Use it.
3130 (clean): Clean up gdb.perf parallel build subdirs.
3131 * lib/build-piece.exp: New file.
3132 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3133 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3135 (standard_temp_file): Ditto.
3136 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3139 2015-07-24 Doug Evans <dje@google.com>
3141 * gdb.perf/lib/perftest/utils.py: New file.
3142 * gdb.perf/gm-hello.cc: New file.
3143 * gdb.perf/gm-pervasive-typedef.cc: New file.
3144 * gdb.perf/gm-pervasive-typedef.h: New file.
3145 * gdb.perf/gm-std.cc: New file.
3146 * gdb.perf/gm-std.h: New file.
3147 * gdb.perf/gm-use-cerr.cc: New file.
3148 * gdb.perf/gm-utils.h: New file.
3149 * gdb.perf/gmonster-null-lookup.py: New file.
3150 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3151 * gdb.perf/gmonster-print-cerr.py: New file.
3152 * gdb.perf/gmonster-ptype-string.py: New file.
3153 * gdb.perf/gmonster-runto-main.py: New file.
3154 * gdb.perf/gmonster-select-file.py: New file.
3155 * gdb.perf/gmonster1-null-lookup.exp: New file.
3156 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3157 * gdb.perf/gmonster1-print-cerr.exp: New file.
3158 * gdb.perf/gmonster1-ptype-string.exp: New file.
3159 * gdb.perf/gmonster1-runto-main.exp: New file.
3160 * gdb.perf/gmonster1-select-file.exp: New file.
3161 * gdb.perf/gmonster1.cc: New file.
3162 * gdb.perf/gmonster1.exp: New file.
3163 * gdb.perf/gmonster2-null-lookup.exp: New file.
3164 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3165 * gdb.perf/gmonster2-print-cerr.exp: New file.
3166 * gdb.perf/gmonster2-ptype-string.exp: New file.
3167 * gdb.perf/gmonster2-runto-main.exp: New file.
3168 * gdb.perf/gmonster2-select-file.exp: New file.
3169 * gdb.perf/gmonster2.cc: New file.
3170 * gdb.perf/gmonster2.exp: New file.
3172 2015-07-24 Doug Evans <dje@google.com>
3174 * gdb.perf/README: New file.
3175 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3176 * lib/gen-perf-test.exp: New file.
3178 2015-07-24 Doug Evans <dje@google.com>
3180 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3181 (PerfTest::startup): New function.
3182 (PerfTest::run): Return result of calling body.
3183 (PerfTest::assemble): Rewrite.
3184 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3185 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3186 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3187 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3188 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3190 2015-07-24 Doug Evans <dje@google.com>
3192 * lib/gdb.exp (clean_restart): Make executable optional.
3194 2015-07-24 Doug Evans <dje@google.com>
3196 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3197 compiler_info references.
3198 * gdb.cp/temargs.exp: Ditto.
3199 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3200 (get_compiler_info): Early exit if already computed. Set compiler_info
3201 to "unknown" if there was a problem.
3202 (test_compiler_info): Add function comment. Call get_compiler_info.
3204 2015-07-24 Doug Evans <dje@google.com>
3206 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3207 (workers/%.worker, build-perf): New rule.
3208 (GDB_PERFTEST_MODE): New variable.
3209 (check-perf): Use it.
3210 (clean): Clean up gdb.perf parallel build subdirs.
3211 * lib/build-piece.exp: New file.
3212 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3213 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3215 (standard_temp_file): Ditto.
3216 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3219 2015-07-24 Doug Evans <dje@google.com>
3221 * lib/future.exp (gdb_default_target_compile): New option
3223 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3226 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3228 * gdb.base/catch-syscall.exp: Call gdb_exit before
3231 2015-07-24 Pedro Alves <palves@redhat.com>
3233 * gdb.python/py-events.exp: Accept output between the stop event
3235 * gdb.python/py-evsignal.exp: Likewise.
3236 * gdb.python/py-evthreads.exp: Likewise.
3238 2015-07-24 Pedro Alves <palves@redhat.com>
3241 * gdb.threads/non-ldr-exit.c: New file.
3242 * gdb.threads/non-ldr-exit.exp: New file.
3244 2015-07-24 Yao Qi <yao.qi@linaro.org>
3246 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3249 2015-07-24 Yao Qi <yao.qi@linaro.org>
3251 * gdb.server/ext-restart.exp: New file.
3253 2015-07-24 Yao Qi <yao.qi@linaro.org>
3255 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3257 * gdb.server/ext-wrapper.exp: New file.
3259 2015-07-23 Doug Evans <dje@google.com>
3261 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3262 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3264 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3266 * gdb.ada/var_arr_typedef.exp: New testcase.
3267 * gdb.ada/var_arr_typedef/pack.adb: New file.
3268 * gdb.ada/var_arr_typedef/pack.ads: New file.
3269 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3271 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3273 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3275 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3277 * gdb.arch/i386-biarch-core.exp: Replace istarget
3278 by "complete set gnutarget". Remove expectation for the "core-file"
3281 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3283 Revert the previous commit:
3284 Tests for validate symbol file using build-id.
3286 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3288 Tests for validate symbol file using build-id.
3289 * gdb.base/solib-mismatch-lib.c: New file.
3290 * gdb.base/solib-mismatch-libmod.c: New file.
3291 * gdb.base/solib-mismatch.c: New file.
3292 * gdb.base/solib-mismatch.exp: New file.
3294 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3296 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3298 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3299 * gdb.base/siginfo.exp: Likewise.
3300 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3302 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3304 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3306 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3308 * gdb.trace/range-stepping.exp: Check that the target supports
3311 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3313 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3315 2015-07-14 Pedro Alves <palves@redhat.com>
3317 * gdb.base/killed-outside.exp: New file.
3318 * gdb.base/killed-outside.c: New file.
3320 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3322 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3324 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3326 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3328 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3329 infcall tests instead of setting up for KFAIL.
3331 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3333 * gdb.btrace/record_goto-step.exp: New.
3335 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3338 * gdb.compile/compile.c (struct struct_type): Add volatile to
3340 * gdb.compile/compile.exp
3341 (compile code struct_object.selffield = &struct_object): Skip further
3342 struct_object tests if this one xfails.
3344 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3347 * gdb.trace/ax.exp: Add test.
3349 2015-07-07 Yao Qi <yao.qi@linaro.org>
3351 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3352 instead of istarget "aarch64*-*-*".
3353 * gdb.arch/aarch64-fp.exp: Likewise.
3354 * gdb.base/float.exp: Likewise.
3355 * gdb.reverse/aarch64.exp: Likewise.
3356 * lib/gdb.exp (is_aarch64_target): New proc.
3358 2015-07-07 Yao Qi <yao.qi@linaro.org>
3360 * lib/gdb.exp (is_aarch32_target): New proc.
3361 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3362 instead of "istarget "arm*-*-*"".
3363 * gdb.arch/arm-disp-step.exp: Likewise.
3364 * gdb.arch/thumb-bx-pc.exp: Likewise.
3365 * gdb.arch/thumb-prologue.exp: Likewise.
3366 * gdb.arch/thumb-singlestep.exp: Likewise.
3367 * gdb.base/disp-step-syscall.exp: Likewise.
3368 * gdb.base/float.exp: Likewise.
3370 2015-07-07 Yao Qi <yao.qi@linaro.org>
3372 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3373 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3375 2015-07-07 Yao Qi <yao.qi@linaro.org>
3377 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3378 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3380 * gdb.multi/multi-arch.exp: Likewise.
3382 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3384 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3387 2015-07-07 Yao Qi <yao.qi@linaro.org>
3389 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3391 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3393 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3394 '[' and ']' characters.
3396 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3398 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3400 2015-06-29 Pedro Alves <palves@redhat.com>
3403 * gdb.threads/hand-call-new-thread.c: New file.
3404 * gdb.threads/hand-call-new-thread.c: New file.
3406 2015-06-26 Keith Seitz <keiths@redhat.com>
3407 Doug Evans <dje@google.com>
3410 * gdb.cp/var-tag-2.cc: New file.
3411 * gdb.cp/var-tag-3.cc: New file.
3412 * gdb.cp/var-tag-4.cc: New file.
3413 * gdb.cp/var-tag.cc: New file.
3414 * gdb.cp/var-tag.exp: New file.
3416 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3418 * gdb.base/history-duplicates.exp: New test.
3420 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3422 * gdb.base/completion.exp: Test the completion of the "focus"
3425 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3427 * gdb.arch/amd64-prologue-skip.S: New file.
3428 * gdb.arch/amd64-prologue-skip.exp: New file.
3430 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3432 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3433 is_address_zero_readable check.
3435 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3437 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3438 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3440 2015-06-24 Yao Qi <yao.qi@linaro.org>
3442 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3445 2015-06-24 Yao Qi <yao.qi@linaro.org>
3447 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3448 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3449 * gdb.base/siginfo-thread.exp: Likewise.
3451 2015-06-22 Yao Qi <yao.qi@linaro.org>
3453 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3455 2015-06-22 Yao Qi <yao.qi@linaro.org>
3457 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3459 (skip_hw_watchpoint_tests): Likewise.
3461 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3463 * gdb.base/gdbinit-history.exp: Test the interaction between
3464 setting GDBHISTSIZE and setting the history size via .gdbinit.
3466 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3469 * gdb.base/gdbhistsize-history.exp: New test.
3471 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3473 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3475 * gdb.base/readline.exp: Likewise.
3477 2015-06-17 Yao Qi <yao.qi@linaro.org>
3479 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3482 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3484 * gdb.base/gdbinit-history.exp: Add test case to check that
3485 an unlimited history file does not get truncated on exit.
3487 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3489 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3490 (VECTOR): New macro. Use it...
3491 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3492 ...for these typedefs.
3493 (int8, char1, int1, double1): New typedefs.
3494 (struct just_int2, struct two_int2): New structures.
3495 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3496 (add_structvecs, add_singlevecs): New functions.
3497 (main): Call add_some_intvecs twice.
3498 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3499 the compile and exit upon failure. Try compiling for the "native"
3500 architecture. Test inferior function calls with vector arguments
3501 and vector return value handling with "finish" and "return".
3503 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3505 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3506 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3508 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3510 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3512 PR breakpoints/16465
3513 * gdb.mi/mi-dprintf-pending.c: New file.
3514 * gdb.mi/mi-dprintf-pending.exp: New test.
3515 * gdb.mi/mi-dprintf-pendshr.c: New file.
3517 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3518 Mircea Gherzan <mircea.gherzan@intel.com>
3520 * gdb.arch/i386-mpx-map.c: New file.
3521 * gdb.arch/i386-mpx-map.exp: New File.
3523 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3525 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3526 * gdb.arch/i386-mpx.exp: Indentation fixed.
3528 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3530 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3531 function and improved indentation.
3532 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3533 gdb_test_multiple. Added additional tests to skip the test.
3535 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3537 * gdb.arch/i386-avx512.c: Change path in include file.
3538 * gdb.arch/i386-avx512.exp: Change include dir path
3540 * gdb.arch/i386-mpx.c: Change path in include file.
3541 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3544 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3546 * gdb.compile/compile-print.exp (compile print *vararray@3)
3547 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3549 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3551 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3552 (do not keep jit in memory): ... this.
3553 (expect 5): Change it to ...
3554 (expect no 5): ... this.
3556 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3559 * gdb.mi/mi-detach.exp: New file.
3561 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3564 * gdb.arch/amd64-tailcall-self.S: New file.
3565 * gdb.arch/amd64-tailcall-self.c: New file.
3566 * gdb.arch/amd64-tailcall-self.exp: New file.
3568 2015-05-28 Don Breazeal <donb@codesourcery.com>
3570 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3571 tests for remote targets by checking is_target_gdbserver.
3573 2015-05-27 Doug Evans <dje@google.com>
3575 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3576 * gdb.dwarf2/opaque-type-lookup.c: New file.
3577 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3579 2015-05-26 Doug Evans <dje@google.com>
3581 * gdb.cp/iostream.cc: New file.
3582 * gdb.cp/iostream.exp: New file.
3584 2015-05-26 Doug Evans <dje@google.com>
3586 * gdb.dwarf2/dw2-op-call.exp: Update.
3587 * gdb.dwarf2/dw4-sig-types.exp: Update.
3588 * gdb.dwarf2/implptr.exp: Update.
3589 * gdb.mi/mi-cmd-param-changed.exp: Update.
3591 2015-05-26 Doug Evans <dje@google.com>
3593 * gdb.python/py-lazy-string.c: New file.
3594 * gdb.python/py-lazy-string.exp: New file.
3595 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3596 (main): Update. Add estring3.
3597 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3598 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3600 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3601 Yao Qi <yao.qi@linaro.org>
3603 * gdb.reverse/aarch64.c: New.
3604 * gdb.reverse/aarch64.exp: New.
3606 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3608 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3609 (supports_reverse): Likewise.
3611 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3613 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3614 Use with_test_prefix.
3616 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3618 * gdb.base/completion.exp: Add test for completion of layout
3621 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3623 * lib/gdb.exp (skip_tui_tests): New proc.
3624 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3626 2015-05-19 Pedro Alves <palves@redhat.com>
3628 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3629 Save the whole env array instead of just HOME. Unset HISTSIZE in
3630 the environment while testing. Restore whole environment
3633 2015-05-16 Doug Evans <xdje42@gmail.com>
3635 * gdb.guile/scm-ports.c: New file.
3636 * gdb.guile/scm-ports.exp: Add memory port tests.
3638 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3640 * gdb.compile/compile-print.c: New file.
3641 * gdb.compile/compile-print.exp: New file.
3643 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3645 * gdb.compile/compile-ops.exp: Cast param to void.
3646 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3647 (compile code struct_object.selffield = &struct_object): Add xfail.
3649 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3651 * gdb.ada/arr_enum_with_gap: New testcase.
3653 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3655 * gdb.ada/byte_packed_arr: New testcase.
3657 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3659 * gdb.ada/pckd_neg: New testcase.
3661 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3664 * gdb.base/gdbinit-history.exp: New test.
3665 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3666 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3668 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3670 * gdb.python/py-xmethods.cc: Enhance test case.
3671 * gdb.python/py-xmethods.exp: New tests.
3672 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3674 (B_indexoper): Likewise.
3675 (global_dm_list) : Add new xmethod worker functions.
3677 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3679 * gdb.base/coredump-filter.exp: Correctly unset
3680 "coredump_var_addr" array.
3682 2015-05-08 Pedro Alves <palves@redhat.com>
3684 * gdb.server/non-existing-program.exp: Unset spawn_id.
3686 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3689 * gdb.python/py-xmethods.exp: Add tests.
3691 2015-05-08 Yao Qi <yao.qi@linaro.org>
3694 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3695 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3696 function set_coredump_filter, and remove remote_exec call.
3697 Remove argument ipid. Callers update.
3698 (top level): Don't get inferior's PID.
3700 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3702 * gdb.base/watch_thread_num.exp: Skip test on targets without
3705 2015-05-06 Pedro Alves <palves@redhat.com>
3708 * gdb.server/non-existing-program.exp: New file.
3710 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3712 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3714 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3716 * gdb.ada/out_of_line_in_inlined: New testcase.
3718 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3720 * gdb.ada/var_rec_arr: New testcase.
3722 2015-04-30 Yao Qi <yao.qi@linaro.org>
3724 * gdb.base/break-idempotent.exp: If
3725 skip_hw_watchpoint_multi_tests returns true, skip the tests
3726 on "rwatch" and "awatch".
3728 2015-04-30 Yao Qi <yao.qi@linaro.org>
3730 * gdb.base/relativedebug.exp: Invoke gdb command
3731 "info sharedlibrary", and if libc.so doesn't have debug info,
3734 2015-04-29 Doug Evans <dje@google.com>
3736 * gdb.python/py-xmethods.exp: Add ptype tests.
3737 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3738 get_result_type method.
3740 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3742 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3743 the target does not support hardware watchpoints.
3745 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3747 * gdb.base/break-always.exp: Abort testing if writing to memory
3750 2015-04-28 Doug Evans <dje@google.com>
3752 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3753 * gdb.python/py-pp-registration.exp: ... here. New file.
3754 * gdb.python/py-pp-registration.c: New file.
3755 * gdb.python/py-pp-registration.py: New file.
3757 2015-04-28 Doug Evans <dje@google.com>
3759 * gdb.python/py-bad-printers.c: New file.
3760 * gdb.python/py-bad-printers.py: New file.
3761 * gdb.python/py-bad-printers.exp: New file.
3763 2015-04-28 Sasha Smundak <asmundak@google.com>
3765 * gdb.python/py-type.exp: New test.
3767 2015-04-28 Andy Wingo <wingo@igalia.com>
3769 * gdb.python/py-parameter.exp:
3770 * gdb.guile/scm-parameter.exp: Escape the path that we are
3771 matching against, as it might contain characters that are special
3772 to regular expressions.
3774 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3776 * gdb.ada/rec_comp: New testcase.
3778 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3780 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3783 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3785 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3786 new tests for verilog output.
3788 2015-04-24 Yao Qi <yao.qi@linaro.org>
3790 * boards/remote-gdbserver-on-localhost.exp: New file.
3792 2015-04-23 Pedro Alves <palves@redhat.com>
3794 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3795 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3796 "end of file", remove $inferior_spawn_id from the indirect list.
3798 2015-04-23 Pedro Alves <palves@redhat.com>
3800 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3802 2015-04-23 Pedro Alves <palves@redhat.com>
3804 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3805 on $any_spawn_id instead of only on $gdb_spawn_id.
3807 2015-04-21 Pierre Muller <muller@sourceware.org>
3810 * lib/pascal.exp (gpc_compile): Add new option "class".
3811 (fpc_compile): Likewise.
3812 * gdb.pascal/case-insensitive-symbols.pas: New file.
3813 * gdb.pascal/case-insensitive-symbols.exp: New file.
3815 2015-04-20 Gary Benson <gbenson@redhat.com>
3817 * gdb.base/attach.exp: Fix three extended remote failures.
3819 2015-04-17 Gary Benson <gbenson@redhat.com>
3821 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3822 the main executable over the remote protocol.
3824 2015-04-16 Pedro Alves <palves@redhat.com>
3826 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3827 a new gdbserver if gdbserver_reconnect_p is set.
3829 2015-04-16 Pedro Alves <palves@redhat.com>
3831 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3832 is set, don't exit gdbserver.
3834 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3836 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3837 appropriate .insn, such that an older assembler can be used.
3838 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3839 the z/Architecture instruction set on 31-bit targets as well.
3841 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3843 * gdb.go/handcall.exp: Remove all logic related to the first
3844 breakpoint and rely on go_runto_main instead.
3845 * gdb.go/strings.exp: Likewise.
3846 * gdb.go/unsafe.exp: Likewise.
3847 * gdb.go/hello.exp: Likewise. Also rename the remaining
3848 breakpoint marker to "breakpoint 1".
3849 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3850 * gdb.go/strings.go: Likewise.
3851 * gdb.go/unsafe.go: Likewise.
3852 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3853 "set breakpoint 2 here" and rename the remaining breakpoint marker
3856 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3858 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3859 if itertools.imap is not present.
3860 * gdb.python/py-objfile.exp: Add parentheses.
3861 * gdb.python/py-type.exp: Same.
3862 * gdb.python/py-unwind-maint.py: Same.
3864 2015-04-15 Yao Qi <yao.qi@linaro.org>
3866 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3867 of ":$ptr_size" and set its form explicitly.
3869 2015-04-15 Pedro Alves <palves@redhat.com>
3870 Yao Qi <yao.qi@linaro.org>
3872 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3873 timeout by factor of 4.
3874 (test_regular_watch): Likewise.
3875 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3876 * gdb.reverse/sigall-reverse.exp: Likewise.
3877 * gdb.reverse/until-precsave.exp: Likewise.
3878 * lib/gdb.exp (with_timeout_factor): New proc.
3879 (gdb_expect): Move some code to ...
3880 (get_largest_timeout): ... here. New procedure.
3882 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3884 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3886 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3888 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3889 to write to the .text section.
3891 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3893 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3894 Handle the case of targets that do not provide PID information.
3896 2015-04-13 Yao Qi <yao.qi@linaro.org>
3898 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3899 and use expect instead of gdb_expect.
3901 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3903 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3904 "coredump_var_addr" to avoid naming conflict with other testcases.
3906 2015-04-10 Pedro Alves <palves@redhat.com>
3908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3909 gdb_test_sequence and gdb_assert.
3911 2015-04-10 Pedro Alves <palves@redhat.com>
3913 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3914 test messages that don't include the breakpoint address.
3916 2015-04-10 Yao Qi <yao.qi@linaro.org>
3918 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3919 false for some offset and width combinations which aren't
3920 supported by linux kernel.
3922 2015-04-10 Pedro Alves <palves@redhat.com>
3924 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3925 procedure, factored out from ...
3926 (top level): ... here. Add "set displaced-stepping" testing axis.
3927 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3928 parameter "displaced". Use it.
3929 (top level): Use foreach and add "set displaced-stepping" testing
3932 2015-04-10 Pedro Alves <palves@redhat.com>
3934 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3936 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3937 both the address of the instruction that triggers the watchpoint
3938 and the address of the instruction immediately after, and use
3939 those addresses for the test. Fix comment.
3941 2015-04-10 Pedro Alves <palves@redhat.com>
3943 * gdb.base/sigstep.exp (breakpoint_to_handler)
3944 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3945 Test "backtrace" in handler.
3946 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3947 (top level): Add new "displaced" test axis to
3948 breakpoint_to_handler, breakpoint_to_handler_entry and
3949 breakpoint_over_handler.
3951 2015-04-10 Pedro Alves <palves@redhat.com>
3954 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3956 2015-04-10 Yao Qi <yao.qi@linaro.org>
3958 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3959 (test_add_rn_pc): New function.
3960 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3961 (top level): Invoke test_add_rn_pc.
3963 2015-04-10 Pedro Alves <palves@redhat.com>
3966 * gdb.base/step-over-no-symbols.exp: New file.
3968 2015-04-09 Andy Wingo <wingo@igalia.com>
3970 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3971 after the Python tests.
3973 2015-04-08 Keith Seitz <keiths@redhat.com>
3976 * gdb.python/py-completion.exp: New tests for completion.
3977 * gdb.python/py-completion.py (CompleteLimit1): New class.
3978 (CompleteLimit2): Likewise.
3979 (CompleteLimit3): Likewise.
3980 (CompleteLimit4): Likewise.
3981 (CompleteLimit5): Likewise.
3982 (CompleteLimit6): Likewise.
3983 (CompleteLimit7): Likewise.
3985 2015-04-08 Pedro Alves <palves@redhat.com>
3989 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3991 (main): Install it as SIGUSR1 handler.
3992 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3993 parameter. Always use "setup" as prefix. Toggle "set
3994 displaced-stepping" off/on depending on global. Don't switch to
3996 (top level): Add displaced stepping "off/on" test axis. Update
3997 "setup" calls. Wrap each subtest with with_test_prefix. Test
3998 continuing with a queued signal in each thread.
4000 2015-04-08 Pedro Alves <palves@redhat.com>
4002 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4003 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4004 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4005 Return early if running to main fails.
4006 * gdb.trace/while-stepping.exp: Likewise.
4008 2015-04-07 Pedro Alves <palves@redhat.com>
4010 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4011 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4012 interact with inferior program.
4014 2015-04-07 Pedro Alves <palves@redhat.com>
4016 * lib/gdb.exp (inferior_spawn_id): New global.
4017 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4018 spawn id after processing the user code.
4019 (default_gdb_start): Set inferior_spawn_id.
4020 (send_inferior): New procedure.
4021 * lib/gdbserver-support.exp (gdbserver_start): Set
4023 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4025 2015-04-07 Pedro Alves <palves@redhat.com>
4027 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4028 * lib/gdbserver-support.exp (gdbserver_start): Make
4029 $server_spawn_id global.
4030 (gdbserver_start): Don't wait for gdbserver's spawn id with
4032 (close_gdbserver): New procedure.
4033 (gdb_exit): Rename the default version and reimplement.
4035 2015-04-07 Pedro Alves <palves@redhat.com>
4037 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4038 append the substituted item, not the original item.
4040 2015-04-07 Pedro Alves <palves@redhat.com>
4042 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4045 2015-04-07 Pedro Alves <palves@redhat.com>
4047 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4048 output appearing once only.
4050 2015-04-07 Pedro Alves <palves@redhat.com>
4052 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4053 that doesn't expect anything. Return early if running to main
4056 2015-04-07 Yao Qi <yao.qi@linaro.org>
4058 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4059 (child_function): Call alarm.
4060 (main): Move call to alarm into the loop.
4061 * gdb.threads/non-stop-fair-events.exp: Build program with
4064 2015-04-06 Doug Evans <xdje42@gmail.com>
4066 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4067 Fix dest parameter to board_info.
4068 (fpc_compile): Ditto.
4069 (gdb_compile_pascal): Rename dest arg to destfile.
4071 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4073 * gdb.ada/funcall_ref.exp: New file.
4074 * gdb.ada/funcall_ref/foo.adb: New file.
4076 2015-04-02 Yao Qi <yao.qi@linaro.org>
4078 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4081 2015-04-02 Gary Benson <gbenson@redhat.com>
4083 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4085 2015-04-01 Sasha Smundak <asmundak@google.com>
4087 * gdb.python/py-unwind-maint.c: New file.
4088 * gdb.python/py-unwind-maint.exp: New test.
4089 * gdb.python/py-unwind-maint.py: New file.
4090 * gdb.python/py-unwind.c: New file.
4091 * gdb.python/py-unwind.exp: New test.
4092 * gdb.python/py-unwind.py: New test.
4094 2015-04-01 Pedro Alves <palves@redhat.com>
4096 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4097 to fail instead of non-existent $test.
4099 2015-04-01 Pedro Alves <palves@redhat.com>
4101 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4102 GDBFLAGS if not empty.
4104 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4106 * gdb.ada/complete.exp: Remove "multi_line".
4107 * gdb.ada/info_exc.exp: Remove "multi_line".
4108 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4109 * gdb.ada/ptype_field.exp: Remove "multi_line".
4110 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4111 * gdb.ada/tagged.exp: Remove "multi_line".
4112 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4114 * gdb.btrace/delta.exp: Likewise.
4115 * gdb.btrace/exception.exp: Likewise.
4116 * gdb.btrace/function_call_history.exp: Likewise.
4117 * gdb.btrace/instruction_history.exp: Likewise.
4118 * gdb.btrace/nohist.exp: Likewise.
4119 * gdb.btrace/record_goto.exp: Likewise.
4120 * gdb.btrace/segv.exp: Likewise.
4121 * gdb.btrace/stepi.exp: Likewise.
4122 * gdb.btrace/tailcall.exp: Likewise.
4123 * gdb.btrace/unknown_functions.exp: Likewise.
4124 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4125 * lib/gdb.exp: Add the "multi_line" helper.
4127 2015-04-01 Pedro Alves <palves@redhat.com>
4129 * gdb.threads/tid-reuse.c: New file.
4130 * gdb.threads/tid-reuse.exp: New file.
4132 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4135 * gdb.base/coredump-filter.c: New file.
4136 * gdb.base/coredump-filter.exp: Likewise.
4138 2015-03-27 Petr Machata <pmachata@redhat.com>
4140 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4141 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4142 (Dwarf::assemble): Initialize them.
4143 (Dwarf::lines): New function.
4145 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4147 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4148 SYMBOL_PREFIX for x86_64-*-cygwin.
4150 2015-03-26 Andy Wingo <wingo@igalia.com>
4153 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4154 const_value but not a location.
4155 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4156 location defined in non-main CUs are visible.
4158 2015-03-26 Yao Qi <yao.qi@linaro.org>
4161 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4162 Add a line number entry for the same line.
4163 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4164 Add a line number entry for the same line.
4166 2015-03-26 Yao Qi <yao.qi@linaro.org>
4168 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4170 (func): Likewise. Add .Lfunc_1 label.
4172 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4177 2015-03-26 Yao Qi <yao.qi@linaro.org>
4179 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4180 Call gdb_compile instead to compile each .s files without debug
4183 2015-03-26 Yao Qi <yao.qi@linaro.org>
4185 * gdb.base/savedregs.exp (process_saved_regs): Make
4186 "Saved registers:" optional in the pattern.
4188 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4190 * gdb.btrace/next.exp: Merged into step.exp.
4191 * gdb.btrace/finish.exp: Merged into step.exp.
4192 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4193 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4194 "record goto" and checking the exact replay position.
4195 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4196 check for "Recording format" in "info record" output.
4197 * gdb.btrace/record_goto.exp: Choose test file based on target.
4198 * gdb.btrace/x86-record_goto.S: Renamed into ...
4199 * gdb.btrace/x86_64-record_goto.S: ... this.
4200 * gdb.btrace/i686-record_goto.S: New.
4201 * gdb.btrace/x86-tailcall.S: Renamed into ...
4202 * gdb.btrace/x86_64-tailcall.S: ... this.
4203 * gdb.btrace/i686-tailcall.S: New.
4204 * gdb.btrace/x86-tailcall.c: Renamed into ...
4205 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4206 separate statements. Update test.
4207 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4208 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4209 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4210 * gdb.btrace/tailcall.exp: Choose test file based on target.
4211 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4213 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4215 * gdb.btrace/exception.exp: Increase BTS buffer size.
4217 2015-03-24 Pedro Alves <palves@redhat.com>
4219 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4221 2015-03-24 Pedro Alves <palves@redhat.com>
4223 * gdb.threads/schedlock.exp (test_step): No longer expect that
4224 "set scheduler-locking step" with "next" over a function call runs
4227 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4229 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4231 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4233 PR breakpoints/16466
4234 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4235 * gdb.mi/mi-pending.c (thread_func): New function.
4236 (int main): Add threading support required.
4237 * gdb.mi/mi-pending.exp: Add tests for this issue.
4238 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4239 (pendfunc2): Remove stdio dependency.
4240 * gdb.mi/mi-pendshr2.c: New file.
4242 2015-03-23 Keith Seitz <keiths@redhat.com>
4244 * gdb.linespec/keywords.c: New file.
4245 * gdb.linespec/keywords.exp: New file.
4247 2015-03-23 Keith Seitz <keiths@redhat.com>
4250 * gdb.dwarf2/staticvirtual.exp: New test.
4252 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4254 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4255 * README: Remove HP-UX and gdb.hp.
4257 * configure: Regenerate.
4258 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4259 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4260 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4261 gdb.hp/gdb.defects/Makefile.
4262 * gdb.hp/Makefile.in: File deleted.
4263 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4264 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4265 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4266 * gdb.hp/gdb.aCC/run.c: File deleted.
4267 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4268 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4269 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4270 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4271 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4272 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4273 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4274 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4275 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4276 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4277 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4278 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4279 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4280 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4281 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4282 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4283 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4284 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4285 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4286 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4287 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4288 * gdb.hp/gdb.compat/average.c: File deleted.
4289 * gdb.hp/gdb.compat/sum.c: File deleted.
4290 * gdb.hp/gdb.compat/xdb.c: File deleted.
4291 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4292 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4293 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4294 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4295 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4296 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4297 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4298 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4299 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4300 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4301 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4302 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4303 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4304 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4305 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4306 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4307 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4308 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4309 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4310 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4311 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4312 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4313 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4314 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4315 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4316 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4317 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4318 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4319 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4320 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4321 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4322 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4323 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4324 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4325 * gdb.hp/tools/odump: File deleted.
4327 2015-03-19 Pedro Alves <palves@redhat.com>
4329 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4330 (saw_thread_3): New globals.
4331 (top level): Increment them when an event for the corresponding
4333 (no thread starvation): New test.
4335 2015-03-19 Pedro Alves <palves@redhat.com>
4337 * gdb.threads/continue-pending-status.c: New file.
4338 * gdb.threads/continue-pending-status.exp: New file.
4340 2015-03-18 Pedro Alves <palves@redhat.com>
4342 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4343 Use gdb_is_target_remote instead of is_remote. Use
4344 gdb_test_multiple instead of gdb_expect. Exit early if
4345 gdb_test_multiple hits its internal matches. Tighten stepi tests
4346 expected output. Fail on exit with any signal, instead of just
4349 2015-03-18 Yao Qi <yao.qi@linaro.org>
4352 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4354 * gdb.base/catch-syscall.exp: Don't skip it on
4355 aarch64*-*-linux* target. Remove elements in all_syscalls.
4356 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4358 (setup_all_syscalls): New proc.
4360 2015-03-16 Yao Qi <yao.qi@linaro.org>
4362 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4363 (top level): Skip tests if valid_addr_p returns false for
4366 2015-03-11 Andy Wingo <wingo@igalia.com>
4368 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4370 2015-03-11 Yao Qi <yao.qi@linaro.org>
4372 * gdb.base/catch-syscall.exp: Fix typo in comments.
4374 2015-03-11 Yao Qi <yao.qi@linaro.org>
4376 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4378 2015-03-09 Pedro Alves <palves@redhat.com>
4380 * dg-extract-results.py: Delete.
4382 2015-03-09 Pedro Alves <palves@redhat.com>
4384 Merge dg-extract-results.sh from GCC upstream (r218843).
4386 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4387 * dg-extract-results.sh: Use --text with grep to avoid issues with
4388 binary files. Fall back to cat -v, if that doesn't work.
4390 2015-03-05 Pedro Alves <palves@redhat.com>
4392 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4394 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4396 * lib/mi-support.exp (mi_expect_interrupt): Accept
4397 alternative event for when in all-stop mode.
4399 2015-03-04 Pedro Alves <palves@redhat.com>
4401 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4403 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4405 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4407 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4409 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4410 regexps for GDB's current line display, accept a hex address
4411 preceding the line number.
4413 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4415 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4416 the 'arch1' variable for "s390*-linux*" targets.
4418 2015-03-04 Pedro Alves <palves@redhat.com>
4420 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4421 (main): Pass missing retval argument to pthread_join call.
4423 2015-03-02 Pedro Alves <palves@redhat.com>
4425 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4426 (top level): Call do_test with non-stop as well.
4428 2015-03-02 Pedro Alves <palves@redhat.com>
4430 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4433 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4435 * gdb.arch/s390-vregs.exp: New test.
4436 * gdb.arch/s390-vregs.S: New file.
4438 2015-02-27 Pedro Alves <palves@redhat.com>
4440 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4441 call to catch_command_errors.
4442 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4443 catch_command_errors.
4445 2015-02-27 Pedro Alves <palves@redhat.com>
4447 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4448 "true" for boolean result.
4449 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4452 2015-02-27 Pedro Alves <palves@redhat.com>
4454 * lib/unbuffer_output.c: New file.
4455 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4456 (main): Call gdb_unbuffer_output.
4458 2015-02-27 Yao Qi <yao.qi@linaro.org>
4460 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4463 2015-02-26 Doug Evans <dje@google.com>
4465 * gdb.cp/class2.cc (Dbase, D): New classes.
4466 (main): New local delta.
4467 * gdb.cp/class2.exp: Test printing delta.
4468 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4469 (dynbar): New global.
4470 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4472 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4474 * gdb.compile/compile-ifunc.c: New file.
4475 * gdb.compile/compile-ifunc.exp: New file.
4477 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4479 * gdb.base/structs.exp: Check for correct struct on finish.
4481 2015-02-26 Yao Qi <yao.qi@linaro.org>
4483 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4486 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4488 * gdb.arch/cordic.ko.bz2: New file.
4489 * gdb.arch/cordic.ko.debug.bz2: New file.
4490 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4492 2015-02-25 Yao Qi <yao.qi@linaro.org>
4494 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4495 aarch64*-*-* target.
4497 2015-02-23 Pedro Alves <palves@redhat.com>
4499 * lib/gdb.exp (delete_breakpoints): Rewrite using
4502 2015-02-23 Pedro Alves <palves@redhat.com>
4504 * gdb.base/info-os.c: Include stdlib.h.
4506 2015-02-22 Doug Evans <xdje42@gmail.com>
4509 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4510 is read after symbols have been re-read.
4511 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4512 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4514 2015-02-21 Doug Evans <dje@google.com>
4516 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4518 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4521 * gdb.arch/i386-biarch-core.core.bz2: New file.
4522 * gdb.arch/i386-biarch-core.exp: New file.
4524 2015-02-21 Pedro Alves <palves@redhat.com>
4526 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4529 2015-02-20 Pedro Alves <palves@redhat.com>
4531 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4534 2015-02-20 Pedro Alves <palves@redhat.com>
4536 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4538 2015-02-20 Pedro Alves <palves@redhat.com>
4540 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4541 clean_restart before gdb_target_supports_trace.
4543 2015-02-20 Pedro Alves <palves@redhat.com>
4546 * gdb.threads/clone-thread_db.c: New file.
4547 * gdb.threads/clone-thread_db.exp: New file.
4549 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4551 PR breakpoints/16812
4552 * gdb.base/catch-gdb-caused-signals.c: New file.
4553 * gdb.base/catch-gdb-caused-signals.exp: New file.
4555 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4557 * configure: Regenerated.
4558 * configure.ac: Use GDB_AC_TRANSFORM.
4559 * aclocal.m4: sinclude ../transform.m4.
4561 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4563 * lib/dtrace.exp: New file.
4564 * gdb.base/dtrace-probe.exp: Likewise.
4565 * gdb.base/dtrace-probe.d: Likewise.
4566 * gdb.base/dtrace-probe.c: Likewise.
4567 * lib/pdtrace.in: Likewise.
4568 * configure.ac: Output variables with the transformed names of
4569 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4570 * configure: Regenerated.
4572 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4574 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4575 expected message when trying to access $_probe_* convenience
4576 variables while not on a probe.
4578 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4580 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4582 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4584 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4585 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4587 2015-02-10 Doug Evans <xdje42@gmail.com>
4589 * lib/gdb.exp (gdb_load): Always return a result.
4591 2015-02-10 Pedro Alves <palves@redhat.com>
4593 * gdb.threads/signal-sigtrap.c: New file.
4594 * gdb.threads/signal-sigtrap.exp: New file.
4596 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4598 * gdb.trace/no-attach-trace.c: New file.
4599 * gdb.trace/no-attach-trace.exp: New file.
4601 2015-02-09 Mark Wielaard <mjw@redhat.com>
4603 * gdb.dwarf2/atomic.c: New file.
4604 * gdb.dwarf2/atomic-type.exp: Likewise.
4606 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4608 * gdb.btrace/buffer-size.exp: Update "info record" output.
4609 * gdb.btrace/delta.exp: Update "info record" output.
4610 * gdb.btrace/enable.exp: Update "info record" output.
4611 * gdb.btrace/finish.exp: Update "info record" output.
4612 * gdb.btrace/instruction_history.exp: Update "info record" output.
4613 * gdb.btrace/next.exp: Update "info record" output.
4614 * gdb.btrace/nexti.exp: Update "info record" output.
4615 * gdb.btrace/step.exp: Update "info record" output.
4616 * gdb.btrace/stepi.exp: Update "info record" output.
4617 * gdb.btrace/nohist.exp: Update "info record" output.
4619 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4621 * gdb.btrace/buffer-size: New.
4623 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4625 * gdb.btrace/delta.exp: Update "info record" output.
4626 * gdb.btrace/enable.exp: Update "info record" output.
4627 * gdb.btrace/finish.exp: Update "info record" output.
4628 * gdb.btrace/instruction_history.exp: Update "info record" output.
4629 * gdb.btrace/next.exp: Update "info record" output.
4630 * gdb.btrace/nexti.exp: Update "info record" output.
4631 * gdb.btrace/step.exp: Update "info record" output.
4632 * gdb.btrace/stepi.exp: Update "info record" output.
4633 * gdb.btrace/nohist.exp: Update "info record" output.
4635 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4638 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4640 2015-02-06 Pedro Alves <palves@redhat.com>
4642 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4644 (seconds_left, again): New globals.
4645 (main): Wait seconds_left in a 1-second sleep loop instead of
4646 sleeping 180 seconds. If 'again' is set, reset the seconds
4648 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4649 'again' in the inferior before detaching. Print the seconds left.
4650 (options): New global.
4651 (top level): Build program with -DTIMEOUT=$timeout.
4653 2015-02-06 Pedro Alves <palves@redhat.com>
4655 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4656 determine how many seconds to pass to 'alarm'.
4657 * gdb.base/gdb-sigterm.exp (top level): Build program with
4659 (do_test): Return success/failure indication. Add more verbose
4660 logging. Don't fail if 200 single steps are seen. Instead, fail
4661 when the test times out.
4662 (passes): New global.
4663 (top level): Break the testing loop if testing fails on any
4664 iteration. Use gdb_assert.
4666 2015-02-04 Don Breazeal <donb@codesourcery.com>
4668 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4669 and initialize them.
4670 (ipc_cleanup): New function.
4671 (main): Don't declare shmid, semid, and msqid. Add a call to
4672 atexit so that we call ipc_cleanup on exit.
4674 2015-02-04 Pedro Alves <palves@redhat.com>
4676 * boards/native-extended-gdbserver.exp: Remove any target variant
4677 specifications from the board name before clearing the isremote
4678 flag from board_info.
4680 2015-01-31 Doug Evans <xdje42@gmail.com>
4682 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4684 2015-01-31 Gary Benson <gbenson@redhat.com>
4686 * gdb.base/completion.exp: Disable completion limiting for
4687 existing tests. Add new tests to check completion limiting.
4688 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4690 2015-01-31 Doug Evans <xdje42@gmail.com>
4692 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4694 2015-01-31 Doug Evans <xdje42@gmail.com>
4696 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4697 entries. Duplicate file section script entries.
4698 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4699 inlined entries. Add test for safe-path rejection.
4700 * gdb.python/py-section-script.c: Add duplicate inlined section script
4701 entries. Duplicate file section script entries.
4702 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4703 inlined entries. Add test for safe-path rejection.
4705 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4707 * gdb.ada/disc_arr_bound: New testcase.
4709 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4711 * gdb.ada/mi_var_array: New testcase.
4713 2015-01-27 Doug Evans <dje@google.com>
4715 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4716 Add test for objfile.filename, objfile.username after objfile
4719 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4721 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4722 the second test to print the name attribute of value
4723 returned by the call to gdb.lookup_type, and adjust
4724 the expected output accordingly.
4726 2015-01-25 Mark Wielaard <mjw@redhat.com>
4728 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4729 * gdb.base/disp-step-fork.c: Include unistd.h.
4730 * gdb.base/siginfo-obj.c: Include stdio.h.
4731 * gdb.base/siginfo-thread.c: Likewise.
4732 * gdb.mi/non-stop.c: Include unistd.h.
4733 * gdb.mi/nsthrexec.c: Include stdio.h.
4734 * gdb.mi/pthreads.c: Include unistd.h.
4735 * gdb.modula2/unbounded1.c (main): Declare returns int.
4736 * gdb.reverse/consecutive-reverse.c: Likewise.
4737 * gdb.threads/create-fail.c: Include unistd.h.
4738 * gdb.threads/killed.c: Likewise.
4739 * gdb.threads/linux-dp.c: Likewise.
4740 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4741 * gdb.threads/non-ldr-exc-2.c: Likewise.
4742 * gdb.threads/non-ldr-exc-3.c: Likewise.
4743 * gdb.threads/non-ldr-exc-4.c: Likewise.
4744 * gdb.threads/pthreads.c: Include unistd.h.
4745 (main): Declare returns int.
4746 * gdb.threads/tls-main.c (foo): New declaration.
4747 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4749 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4751 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4752 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4754 2015-01-15 Mark Wielaard <mjw@redhat.com>
4756 * gdb.base/noreturn-return.c: New file.
4757 * gdb.base/noreturn-return.exp: New file.
4758 * gdb.base/noreturn-finish.c: New file.
4759 * gdb.base/noreturn-finish.exp: New file.
4761 2015-01-23 Pedro Alves <palves@redhat.com>
4763 * gdb.threads/continue-pending-after-query.c: New file.
4764 * gdb.threads/continue-pending-after-query.exp: New file.
4766 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4767 Simon Marchi <simon.marchi@ericsson.com>
4769 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4770 * gdb.base/valgrind-db-attach.exp: Same.
4771 * gdb.base/valgrind-infcall.exp: Same.
4772 * lib/mi-support.exp (default_mi_gdb_start): Same.
4773 * lib/prompt.exp (default_prompt_gdb_start): Same.
4774 * lib/gdb.exp (default_gdb_spawn): Same.
4775 (gdb_interact): New.
4778 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 * gdb.compile/compile.exp (pointer to jit function): New test.
4782 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4784 * lib/gdb.exp (supports_process_record): Return true for
4786 (supports_reverse): Likewise.
4788 2015-01-15 Don Breazeal <donb@codesourcery.com>
4790 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4791 instead of checking whether the target board is remote and
4792 use spawn_wait_for_attach instead of exec/sleep.
4793 * gdb.base/attach-twice.exp: Likewise.
4795 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4797 * gdb.ada/var_arr_attrs: New testcase.
4799 2015-01-14 Pedro Alves <palves@redhat.com>
4800 Joel Brobecker <brobecker@adacore.com>
4803 * gdb.base/bp-cmds-execution-x-script.c: New file.
4804 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4805 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4807 2015-01-14 Pedro Alves <palves@redhat.com>
4810 * gdb.base/batch-preserve-term-settings.c: New file.
4811 * gdb.base/batch-preserve-term-settings.exp: New file.
4813 2015-01-13 Doug Evans <dje@google.com>
4815 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4818 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4820 * Makefile.in (clean mostlyclean): Do not delete *.py.
4822 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4824 * gdb.python/py-lookup-type.exp: New file.
4826 2015-01-12 Pedro Alves <palves@redhat.com>
4828 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4829 restore GDBFLAGS before returning.
4831 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4833 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4834 is_amd64_regs_target and is_x86_like_target.
4836 2015-01-11 Doug Evans <xdje42@gmail.com>
4838 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4839 is given without an explicit form.
4840 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4842 * gdb.dwarf/corrupt.exp: Ditto.
4843 * gdb.dwarf2/enum-type.exp: Ditto.
4844 * gdb.trace/entry-values.exp: Ditto.
4845 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4847 2015-01-11 Doug Evans <xdje42@gmail.com>
4850 * gdb.base/maint.exp: Remove references to "maint demangle".
4851 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4852 Add tests for explicitly specifying language to demangle.
4853 * gdb.dlang/demangle.exp: Ditto.
4855 2015-01-09 Pedro Alves <palves@redhat.com>
4857 * gdb.threads/non-stop-fair-events.c: New file.
4858 * gdb.threads/non-stop-fair-events.exp: New file.
4860 2015-01-09 Pedro Alves <palves@redhat.com>
4862 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4863 the global scope. Set a breakpoint after all threads are started
4864 rather than stepping over two source lines. Expect the prompt.
4865 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4868 (main): Use threads_started_barrier to wait for all threads to
4869 start. Main thread no longer calls thread_function. Exit after
4871 (loop): New function.
4872 (thread_function): Wait on threads_started_barrier barrier. Call
4873 'loop' at each iteration.
4874 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4875 threads have started, instead of hardcoding number of "next"
4876 steps. Use an access watchpoint instead of a write watchpoint.
4878 2015-01-09 Pedro Alves <palves@redhat.com>
4880 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4881 (thread_func): Wait on barrier.
4882 (main): Wait for all threads to start before stopping GDB.
4883 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4885 (thread1_func, thread2_func): Wait on barrier.
4886 (main): Wait for all threads to start before stopping GDB.
4887 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4889 (thread1_func, thread2_func): Wait on barrier.
4890 (main): Wait for all threads to start before stopping GDB.
4892 2015-01-09 Pedro Alves <palves@redhat.com>
4894 * gdb.threads/attach-many-short-lived-threads.c: New file.
4895 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4897 2014-01-09 Pedro Alves <palves@redhat.com>
4899 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4900 instead of to thread 2.
4901 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4902 Add barrier around each pthread_create call instead of around all
4904 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4905 Set a break on thread_function and have the child threads hit it
4908 2015-01-09 Pedro Alves <palves@redhat.com>
4910 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4911 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4913 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4914 checking whether the target board is remote.
4915 * gdb.multi/multi-attach.exp: Likewise.
4916 * gdb.python/py-sync-interp.exp: Likewise.
4917 * gdb.server/ext-attach.exp: Likewise.
4918 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4919 tests that need to attach, instead of checking whether the target
4920 board is remote at the top of the file.
4922 2015-01-08 Yao Qi <yao@codesourcery.com>
4924 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4926 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4928 Fix testcase compilation.
4929 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4931 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4933 * gdb.python/py-type.exp: Add a couple test about empty
4934 array creation, and negative-length array creation.
4936 2015-01-02 Doug Evans <xdje42@gmail.com>
4938 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4940 2015-01-02 Doug Evans <dje@google.com>
4942 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4944 2014-12-29 Yao Qi <yao@codesourcery.com>
4946 * gdb.trace/entry-values.exp: Update comments. Rename variable
4947 bar_call_foo to returned_from_foo.
4949 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4952 * gdb.linespec/break-asm-file.c: New file.
4953 * gdb.linespec/break-asm-file.exp: New file.
4954 * gdb.linespec/break-asm-file0.s: New file.
4955 * gdb.linespec/break-asm-file1.s: New file.
4957 2014-12-18 Nigel Stephens <nigel@mips.com>
4958 Maciej W. Rozycki <macro@codesourcery.com>
4960 * gdb.base/float.exp: Handle the new output from "info float" on
4963 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4965 Fix MinGW compilation.
4966 * gdb.compile/compile-ops.exp: Update untested message if
4967 !skip_compile_feature_tests.
4968 * gdb.compile/compile-setjmp.exp: Likewise.
4969 * gdb.compile/compile-tls.exp: Likewise.
4970 * gdb.compile/compile.exp: Likewise.
4971 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4972 supported on this host".
4974 2014-12-16 Doug Evans <xdje42@gmail.com>
4976 * boards/stabs.exp: New file.
4978 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4980 * gdb.base/completion.exp: Adjust to format changes of "maint
4981 print user-registers".
4983 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4986 * gdb.arch/aarch64-fp.c: New file.
4987 * gdb.arch/aarch64-fp.exp: New file.
4989 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4991 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4992 r210637, r210913, r211666, r215400, r215817).
4994 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4995 * dg-extract-results.py: New file.
4996 * dg-extract-results.sh: Use it if the environment seems
4999 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5001 * dg-extract-results.py (parse_run): Handle warnings that
5002 are printed before a test harness is run.
5004 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5006 * dg-extract-results.py (Named): Remove __cmp__ method.
5007 (output_variation): Use a key to sort variation.harnesses.
5009 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5011 * dg-extract-results.py: For Python 3, force sys.stdout to
5012 handle surrogate escape sequences.
5013 (safe_open): New function.
5014 (output_segment, main): Use it.
5016 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5018 * dg-extract-results.py (Prog.result_re): Include options
5021 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5023 * dg-extract-results.py (output_variation): Always sort if
5026 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5028 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5029 as long as we get pagination notifications.
5031 2014-12-15 Jason Merrill <jason@redhat.com>
5033 * Makefile.in (check-gdb.%): Restore.
5034 * README: Mention it.
5036 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5038 * gdb.ada/str_uninit: New testcase.
5040 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5043 * gdb.base/vla-stub-define.c: New file.
5044 * gdb.base/vla-stub.c: New file.
5045 * gdb.base/vla-stub.exp: New file.
5047 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5048 Jan Kratochvil <jan.kratochvil@redhat.com>
5049 Tom Tromey <tromey@redhat.com>
5051 * configure.ac: Add gdb.compile/.
5052 * configure: Regenerate.
5053 * gdb.compile/Makefile.in: New file.
5054 * gdb.compile/compile-ops.exp: New file.
5055 * gdb.compile/compile-ops.c: New file.
5056 * gdb.compile/compile-tls.c: New file.
5057 * gdb.compile/compile-tls.exp: New file.
5058 * gdb.compile/compile-constvar.S: New file.
5059 * gdb.compile/compile-constvar.c: New file.
5060 * gdb.compile/compile-mod.c: New file.
5061 * gdb.compile/compile-nodebug.c: New file.
5062 * gdb.compile/compile-setjmp-mod.c: New file.
5063 * gdb.compile/compile-setjmp.c: New file.
5064 * gdb.compile/compile-setjmp.exp: New file.
5065 * gdb.compile/compile-shlib.c: New file.
5066 * gdb.compile/compile.c: New file.
5067 * gdb.compile/compile.exp: New file.
5068 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5070 2014-12-12 Tom Tromey <tromey@redhat.com>
5072 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5073 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5075 2014-12-12 Doug Evans <dje@google.com>
5077 * lib/gdb-python.exp (get_python_valueof): New function.
5078 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5080 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5082 * gdb.base/completion.exp: Add test for completion of "info
5085 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5087 * gdb.base/func-ptrs.c: New file.
5088 * gdb.base/func-ptrs.exp: New file.
5090 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5092 PR breakpoints/17012
5093 * gdb.base/dprintf-detach.c: New file.
5094 * gdb.base/dprintf-detach.exp: New file.
5096 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5098 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5099 * lib/gdb.exp (target_is_gdbserver): New procedure.
5101 2014-12-08 Doug Evans <dje@google.com>
5103 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5105 2014-12-05 Yao Qi <yao@codesourcery.com>
5107 * gdb.guile/scm-error.exp: Remove the third argument to
5108 gdb_remote_download.
5109 * gdb.guile/scm-frame-args.exp: Likewise.
5110 * gdb.guile/scm-section-script.exp: Likewise.
5112 2014-12-05 Yao Qi <yao@codesourcery.com>
5114 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5116 2014-12-04 Doug Evans <dje@google.com>
5118 * gdb.python/py-objfile.exp: Add tests for
5119 objfile.add_separate_debug_file.
5121 2014-12-04 Doug Evans <dje@google.com>
5123 * lib/gdb.exp (get_build_id): New function.
5124 (build_id_debug_filename_get): Rewrite to use it.
5125 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5127 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5129 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5130 `method(long)', not just 0x0.
5131 * gdb.cp/nsalias.exp: Align code labels to 4.
5132 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5133 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5134 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5135 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5136 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5137 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5139 2014-12-02 Doug Evans <dje@google.com>
5142 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5143 * gdb.cp/anon-ns2.cc: ... here. New file.
5144 * gdb.cp/anon-ns.exp: Update.
5146 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5148 * gdb.python/py-events.py (inferior_call_handler): New.
5149 (register_changed_handler, memory_changed_handler): New.
5150 (test_events.invoke): Register new handlers.
5151 * gdb.python/py-events.exp: Add tests for inferior call,
5152 memory_changed and register_changed events.
5154 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5156 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5157 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5158 if the linker doesn't understand this.
5160 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5162 * gdb.python/python.exp: Change expected reply to help().
5164 2014-12-01 Yao Qi <yao@codesourcery.com>
5166 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5167 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5168 * configure: Re-generated.
5170 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5172 * gdb.cp/chained-calls.cc: New file.
5173 * gdb.cp/chained-calls.exp: New file.
5174 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5176 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5178 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5179 * gdb.dwarf2/symtab-producer.exp: Same.
5180 * gdb.gdb/python-interrupts.exp: Same.
5181 * gdb.gdb/python-selftest.exp: Same.
5182 * gdb.python/py-linetable.exp: Same.
5183 * gdb.python/py-type.exp: Same.
5184 * gdb.python/py-value-cc.exp: Same.
5185 * gdb.python/py-value.exp: Same.
5187 2014-11-28 Yao Qi <yao@codesourcery.com>
5189 * gdb.base/break-probes.exp: Match library name prefixed with
5192 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5194 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5195 test expected output. Add parentheses for the call to print.
5196 Remove L suffix from integers.
5198 2014-11-26 Doug Evans <dje@google.com>
5200 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5202 2014-11-22 Yao Qi <yao@codesourcery.com>
5204 * gdb.trace/entry-values.c: Remove asms.
5205 (foo): Add foo_label.
5206 (bar): Add bar_label.
5207 * gdb.trace/entry-values.exp: Remove code computing foo's
5208 length and bar's length.
5209 (Dwarf::assemble): Invoke function_range for bar and use
5210 MACRO_AT_func for foo.
5212 2014-11-22 Yao Qi <yao@codesourcery.com>
5214 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5215 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5216 Use .Lgcc43_procstart instead of gcc43.
5218 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5220 * gdb.ada/n_arr_bound: New testcase.
5222 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5224 PR breakpoints/10737
5225 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5226 test_catch_syscall_multi_arch.
5227 (test_catch_syscall_multi_arch): New function.
5229 2014-11-20 Doug Evans <xdje42@gmail.com>
5231 * gdb.base/maint.exp: Update expected output.
5233 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5235 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5236 4-byte instruction on S390.
5238 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5240 * gdb.ada/arr_arr: New testcase.
5242 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5244 * gdb.ada/pkd_arr_elem: New Testcase.
5246 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5248 * gdb.reverse/break-precsave: Expect completion message for
5250 * gdb.reverse/consecutive-precsave.exp: Likewise.
5251 * gdb.reverse/finish-precsave.exp: Likewise.
5252 * gdb.reverse/i386-precsave.exp: Likewise.
5253 * gdb.reverse/machinestate-precsave.exp: Likewise.
5254 * gdb.reverse/sigall-precsave.exp: Likewise.
5255 * gdb.reverse/solib-precsave.exp: Likewise.
5256 * gdb.reverse/step-precsave.exp: Likewise.
5257 * gdb.reverse/until-precsave.exp: Likewise.
5258 * gdb.reverse/watch-precsave.exp: Likewise.
5260 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5262 * gdb.base/bp-permanent.c: Include unistd.h.
5263 * gdb.python/py-framefilter-mi.c (main): Add return type.
5264 * gdb.python/py-framefilter.c (main): Likewise.
5265 * gdb.trace/actions-changed.c (main): Likewise.
5267 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5269 * gdb.mi/until.c: Add eye-catchers.
5270 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5273 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5275 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5276 function header variants in break1.c.
5277 * gdb.base/ena-dis-br.exp: Likewise.
5278 * gdb.base/hbreak2.exp: Likewise.
5279 * gdb.reverse/until-precsave.exp: Drop references to removed
5280 non-prototype function header variants in ur1.c.
5281 * gdb.reverse/until-reverse.exp: Likewise.
5283 2014-11-17 Petr Machata <pmachata@redhat.com>
5285 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5286 ${_cu_offset_size} bytes abbrev offset.
5288 2014-11-15 Doug Evans <xdje42@gmail.com>
5291 * gdb.base/line-symtabs.exp: New file.
5292 * gdb.base/line-symtabs.c: New file.
5293 * gdb.base/line-symtabs.h: New file.
5295 2014-11-14 Yao Qi <yao@codesourcery.com>
5297 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5298 (func): Add label func_label.
5299 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5300 Replace low_pc and high_pc with MACRO_AT_range.
5301 Replace name, low_pc and high_pc with MACRO_AT_func.
5303 2014-11-14 Yao Qi <yao@codesourcery.com>
5305 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5306 Replace name, low_pc and high_pc with MACRO_AT_func.
5308 2014-11-14 Yao Qi <yao@codesourcery.com>
5310 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5311 produce debug information.
5312 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5314 2014-11-14 Yao Qi <yao@codesourcery.com>
5316 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5317 object and get function length.
5318 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5320 (top-level): Replace gdb_compile and clean_restart with
5321 prepare_for_testing.
5322 * gdb.dwarf2/main.c (main): Add label main_label.
5324 2014-11-14 Yao Qi <yao@codesourcery.com>
5326 * lib/dwarf.exp (function_range): New procedure.
5327 (Dwarf::_handle_macro_at_func): New procedure.
5328 (Dwarf::_handle_macro_at_range): New procedure.
5329 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5331 2014-11-14 Yao Qi <yao@codesourcery.com>
5333 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5334 (_handle_attribute): New procedure.
5336 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5338 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5339 * gdb.base/call-sc.c (zed): Likewise.
5340 * gdb.base/checkpoint.c (main): Likewise.
5341 * gdb.base/dump.c (main): Likewise.
5342 * gdb.base/gcore.c (main): Likewise.
5343 * gdb.base/huge.c (main): Likewise.
5344 * gdb.base/multi-forks.c (main): Likewise.
5345 * gdb.base/pr10179-a.c (main): Likewise.
5346 * gdb.base/savedregs.c (main): Likewise.
5347 * gdb.base/sigaltstack.c (main): Likewise.
5348 * gdb.base/siginfo.c (main): Likewise.
5349 * gdb.base/structs.c (zed): Likewise.
5350 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5351 * gdb.mi/mi-syn-frame.c (main): Likewise.
5352 * gdb.mi/until.c (foo, main): Likewise.
5353 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5354 * gdb.base/solib-weak.c (foo): Declare.
5355 * gdb.base/attach-twice.c: Include stdio.h.
5356 * gdb.base/weaklib1.c: Likewise.
5357 * gdb.base/weaklib2.c: Likewise.
5358 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5359 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5361 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5362 * gdb.mi/mi-exit-code.c: Likewise.
5363 * gdb.base/break-interp-lib.c: Include string.h.
5364 * gdb.base/coremaker.c: Likewise.
5365 * gdb.base/testenv.c: Likewise.
5366 * gdb.python/py-finish-breakpoint.c: Likewise.
5367 * gdb.base/inferior-died.c: Include sys/wait.h.
5368 * gdb.base/fileio.c: Include time.h.
5369 * gdb.base/async-shell.c: Include unistd.h.
5370 * gdb.base/dprintf-non-stop.c: Likewise.
5371 * gdb.base/info-os.c: Likewise.
5372 * gdb.mi/mi-console.c: Likewise.
5373 * gdb.mi/watch-nonstop.c: Likewise.
5374 * gdb.python/py-events.c: Likewise.
5375 * gdb.base/async.c (baz): Move up before its invocation.
5376 * gdb.base/code_elim2.c (my_global_func): Likewise.
5377 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5378 * gdb.base/advance.c (func2): Likewise.
5380 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5382 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5384 * gdb.base/annota3.c: Likewise.
5385 * gdb.base/async.c: Likewise.
5386 * gdb.base/average.c: Likewise.
5387 * gdb.base/call-ar-st.c: Likewise.
5388 * gdb.base/call-rt-st.c: Likewise.
5389 * gdb.base/call-sc.c: Likewise.
5390 * gdb.base/call-strs.c: Likewise.
5391 * gdb.base/ending-run.c: Likewise.
5392 * gdb.base/execd-prog.c: Likewise.
5393 * gdb.base/exprs.c: Likewise.
5394 * gdb.base/foll-exec.c: Likewise.
5395 * gdb.base/foll-fork.c: Likewise.
5396 * gdb.base/foll-vfork.c: Likewise.
5397 * gdb.base/funcargs.c: Likewise.
5398 * gdb.base/gcore.c: Likewise.
5399 * gdb.base/jump.c: Likewise.
5400 * gdb.base/langs0.c: Likewise.
5401 * gdb.base/langs1.c: Likewise.
5402 * gdb.base/langs2.c: Likewise.
5403 * gdb.base/mips_pro.c: Likewise.
5404 * gdb.base/nodebug.c: Likewise.
5405 * gdb.base/opaque0.c: Likewise.
5406 * gdb.base/opaque1.c: Likewise.
5407 * gdb.base/recurse.c: Likewise.
5408 * gdb.base/run.c: Likewise.
5409 * gdb.base/scope0.c: Likewise.
5410 * gdb.base/scope1.c: Likewise.
5411 * gdb.base/setshow.c: Likewise.
5412 * gdb.base/setvar.c: Likewise.
5413 * gdb.base/shmain.c: Likewise.
5414 * gdb.base/shr1.c: Likewise.
5415 * gdb.base/shr2.c: Likewise.
5416 * gdb.base/sigall.c: Likewise.
5417 * gdb.base/signals.c: Likewise.
5418 * gdb.base/so-indr-cl.c: Likewise.
5419 * gdb.base/solib2.c: Likewise.
5420 * gdb.base/structs.c: Likewise.
5421 * gdb.base/sum.c: Likewise.
5422 * gdb.base/vforked-prog.c: Likewise.
5423 * gdb.base/watchpoint.c: Likewise.
5424 * gdb.reverse/shr2.c: Likewise.
5425 * gdb.reverse/until-reverse.c: Likewise.
5426 * gdb.reverse/ur1.c: Likewise.
5427 * gdb.reverse/watch-reverse.c: Likewise.
5429 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5431 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5433 * gdb.base/sepdebug.exp: Drop references to removed code.
5435 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5437 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5438 variant. Preserve original line numbering.
5439 * gdb.base/list1.c: Likewise.
5441 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5443 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5445 * gdb.base/break1.c: Likewise.
5446 * gdb.base/break.exp: Drop references to removed code.
5448 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5450 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5453 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5455 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5457 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5459 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5460 logic into perform_all_tests() and invoke it with and without
5461 function header prototypes.
5462 (do_function_calls): Remove conditional XFAIL for PR 5318.
5463 (rerun_and_prepare): Remove duplicate code.
5464 (perform_all_tests): New. Main logic moved here.
5466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5468 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5469 code guarded by #ifdef NO_PROTOTYPES.
5470 (t_double_many_args): Likewise.
5471 (DEF_FUNC_MANY_ARGS_1): Likewise.
5472 (DEF_FUNC_VALUES_1): Likewise.
5473 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5474 guarded by #ifdef PROTOTYPES.
5476 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5478 * gdb.mi/mi-console.c: Add eye-catcher.
5479 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5480 instead of literal line number.
5482 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5484 * gdb.base/shr2.c: Add eye-catcher.
5485 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5488 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5490 * gdb.base/jump.c: Add eye-catchers.
5491 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5494 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5496 * gdb.base/execd-prog.c: Add eye-catchers.
5497 * gdb.base/foll-exec.c: Likewise.
5498 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5501 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5503 * gdb.base/ending-run.c: Add eye-catchers.
5504 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5505 literal line numbers.
5507 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5509 * gdb.base/call-rt-st.c: Add eye-catchers.
5510 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5511 literal line numbers.
5513 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5515 * gdb.base/call-ar-st.c: Add eye-catchers.
5516 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5517 literal line numbers.
5519 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5521 * gdb.base/average.c: Add eye-catchers.
5522 * gdb.base/sum.c: Likewise.
5523 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5524 regexps dynamically.
5526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5528 * gdb.base/solib1.c: Add eye-catchers.
5529 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5530 literal line numbers.
5532 2014-11-12 Pedro Alves <palves@redhat.com>
5534 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5537 2014-11-12 Pedro Alves <palves@redhat.com>
5539 * gdb.arch/i386-bp_permanent.c: New file.
5540 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5541 (srcfile): Set to i386-bp_permanent.c.
5542 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5543 that stepi does not execute the 'leave' instruction, instead of
5544 testing it does execute.
5545 * gdb.base/bp-permanent.c: New file.
5546 * gdb.base/bp-permanent.exp: New file.
5548 2014-11-10 Doug Evans <xdje42@gmail.com>
5551 * gdb.base/symtab-search-order.exp: New file.
5552 * gdb.base/symtab-search-order.c: New file.
5553 * gdb.base/symtab-search-order-1.c: New file.
5554 * gdb.base/symtab-search-order-shlib-1.c: New file.
5556 2014-11-07 Pedro Alves <palves@redhat.com>
5559 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5562 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5565 * gdb.cp/pr17494.cc: New file.
5566 * gdb.cp/pr17494.exp: New file.
5568 2014-11-02 Yao Qi <yao@codesourcery.com>
5570 * gdb.python/python.exp: Get working directory and match the
5571 output of "set extended-prompt \\w " with it.
5573 2014-10-30 Doug Evans <dje@google.com>
5575 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5577 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5580 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5582 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5583 * gdb.base/realname-expand.exp: Likewise.
5584 * gdb.linespec/macro-relative.exp: Likewise.
5586 2014-10-29 Pedro Alves <palves@redhat.com>
5589 * gdb.threads/schedlock.c (some_function): New function.
5590 (call_function): New global.
5591 (MAYBE_CALL_SOME_FUNCTION): New macro.
5592 (thread_function): Call it.
5593 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5594 and use it instead of a global counter. Adjust all callers.
5595 (get_current_thread): Use "find current thread" for test message
5596 here rather than having all callers pass down the same string.
5597 (goto_loop): New procedure, factored out from ...
5598 (my_continue): ... this.
5599 (step_ten_loops): Change parameter from test message to command to
5601 (list_count): Delete global.
5602 (check_result): New procedure, factored out from duplicate top
5604 (continue tests): Wrap in with_test_prefix.
5605 (test_step): New procedure, factored out from duplicate top level
5607 (top level): Test "step" in combination with all scheduler-locking
5608 modes. Test "next" in combination with all scheduler-locking
5609 modes, and in combination with stepping over a function call or
5611 * gdb.threads/next-bp-other-thread.c: New file.
5612 * gdb.threads/next-bp-other-thread.exp: New file.
5614 2014-10-29 Pedro Alves <palves@redhat.com>
5617 * gdb.python/python.exp: Test a multi-line command that spawns
5619 * gdb.base/multi-line-starts-subshell.exp: New file.
5621 2014-10-29 Yao Qi <yao@codesourcery.com>
5623 * gdb.base/fileio.exp: Make directories on host.
5625 2014-10-29 Yao Qi <yao@codesourcery.com>
5627 * gdb.base/fileio.c (test_write): Close the file.
5629 2014-10-28 Pedro Alves <palves@redhat.com>
5632 * gdb.base/sigstep.c (no_handler): New global.
5633 (main): If 'no_handler is true, set the signal handlers to
5635 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5636 with_sw_watch and no_handler parameters. Handle them.
5637 (top level) <stepping over handler when stopped at a breakpoint
5638 test>: Add a test axis for testing with a software watchpoint, and
5639 another for testing with the signal handler set to SIG_IGN.
5640 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5641 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5643 2014-10-28 Pedro Alves <palves@redhat.com>
5646 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5647 * gdb.base/sigstep.exp (other_handler_location): New global.
5648 (advance): Support stepping into the signal handler, and running
5649 commands while in the handler.
5650 (in_handler_map): New global.
5651 (top level): In the advance test, add combinations for getting
5652 into the handler with stepping commands, and for running commands
5653 in the handler. Add comment descripting the advancei tests.
5655 2014-10-28 Pedro Alves <palves@redhat.com>
5657 * gdb.base/sigstep.exp: Use build_executable instead of
5658 prepare_for_testing.
5659 (top level): Move code that starts GDB, runs to main and creates a
5661 (restart): ... this new procedure.
5662 (top level): Move backtrace from signal handler test to ...
5663 (validate_backtrace): ... this new procedure.
5664 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5665 with_test_prefix. Always restart GDB.
5666 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5667 with_test_prefix. Always restart GDB. No need to delete
5668 breakpoints after the test.
5669 (test_skip_handler): Remove prefix parameter.
5670 (skip_over_handler, breakpoint_to_handler)
5671 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5672 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5673 restart GDB. No need to delete breakpoints after the test.
5674 (top level): Use foreach to call the test procedures with
5677 2014-10-28 Pedro Alves <palves@redhat.com>
5679 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5680 instead of GNATS numbers.
5681 * gdb.base/sigbpt.exp: Likewise.
5682 * gdb.base/siginfo.exp: Likewise.
5683 * gdb.base/sigstep.exp: Likewise.
5685 2014-10-27 Pedro Alves <palves@redhat.com>
5687 * gdb.base/sigstep.c (dummy): New global.
5688 (main): Issue a couple writes to the new global.
5689 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5691 (skip_over_handler): Use test_skip_handler.
5692 (top level): Call skip_over_handler for stepi and nexti too.
5693 (breakpoint_over_handler): Use test_skip_handler.
5694 (top level): Call breakpoint_over_handler for stepi and nexti too.
5696 2014-10-27 Yao Qi <yao@codesourcery.com>
5698 * gdb.trace/tfile.c (adjust_function_address)
5699 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5700 function descriptor.
5702 2014-10-24 Don Breazeal <donb@codesourcery.com>
5704 * gdb.base/foll-fork.exp (test_follow_fork,
5705 catch_fork_child_follow): Check for updated fork messages emitted
5707 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5708 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5709 vfork_and_exec_child_follow_through_step): Check for updated vfork
5710 messages emitted from infrun.c.
5712 2014-10-24 Pedro Alves <palves@redhat.com>
5714 * gdb.base/corefile.exp: Remove references to ultrix.
5715 * gdb.base/interrupt.exp: Likewise.
5716 * gdb.base/whatis.exp: Likewise.
5717 * gdb.gdb/selftest.exp: Likewise.
5718 * gdb.threads/manythreads.exp: Likewise.
5719 * gdb.threads/print-threads.exp: Likewise.
5720 * gdb.threads/pthreads.exp:: Likewise.
5721 * gdb.threads/schedlock.exp: Likewise.
5723 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5725 * gdb.cp/non-trivial-retval.cc: Add a test case.
5726 * gdb.cp/non-trivial-retval.exp: Add a test.
5728 2014-10-20 Yao Qi <yao@codesourcery.com>
5730 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5731 * gdb.python/py-objfile-script-gdb.py: New file.
5732 * gdb.python/py-objfile-script.exp: Update reference to
5733 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5734 of remote_download. Remove the dest file.
5736 2014-10-20 Yao Qi <yao@codesourcery.com>
5738 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5739 * gdb.base/step-line.exp: Likewise.
5740 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5741 * gdb.dwarf2/dw2-basic.exp: Likewise.
5742 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5743 * gdb.dwarf2/dw2-filename.exp: Likewise.
5744 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5745 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5746 * gdb.dwarf2/dw2-producer.exp: Likewise.
5747 * gdb.dwarf2/mac-fileno.exp: Likewise.
5748 * gdb.python/py-frame-args.exp: Likewise.
5749 * gdb.python/py-framefilter.exp: Likewise.
5750 * gdb.python/py-mi.exp: Likewise.
5751 * gdb.python/py-objfile-script.exp: Likewise
5752 * gdb.python/py-pp-integral.exp: Likewise.
5753 * gdb.python/py-pp-re-notag.exp: Likewise.
5754 * gdb.python/py-prettyprint.exp: Likewise.
5755 * gdb.python/py-section-script.exp: Likewise.
5756 * gdb.python/py-typeprint.exp: Likewise.
5757 * gdb.python/py-xmethods.exp: Likewise.
5758 * gdb.stabs/weird.exp: Likewise.
5759 * gdb.xml/tdesc-regs.exp: Likewise.
5761 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5763 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5764 (out_cu): Use addr_len for the size of addresses.
5765 (out_line): Likewise. Size DW_LNE_set_address instruction
5766 according to addr_len.
5767 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5768 (FUNC): Add START_INSNS to definition.
5770 2014-10-18 Yao Qi <yao@codesourcery.com>
5772 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5773 gdb_has_argv0 return true.
5774 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5775 check [target_info exists noargs], check [gdb_has_argv0]
5777 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5778 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5781 2014-10-17 Doug Evans <dje@google.com>
5783 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5785 * gdb.python/py-events.py: Add clear_objfiles event.
5787 2014-10-17 Doug Evans <dje@google.com>
5789 * gdb.python/py-objfile.exp: Test progspace attribute.
5791 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5793 * gdb.guile/scm-breakpoint.exp: Do not assume any
5794 directory separators when matching source file paths.
5795 * gdb.python/py-breakpoint.exp: Likewise.
5796 * gdb.reverse/break-precsave.exp: Likewise.
5797 * gdb.reverse/break-reverse.exp: Likewise.
5798 * gdb.reverse/consecutive-precsave.exp: Likewise.
5799 * gdb.reverse/finish-precsave.exp: Likewise.
5800 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5801 * gdb.reverse/finish-reverse.exp: Likewise.
5802 * gdb.reverse/i386-precsave.exp: Likewise.
5803 * gdb.reverse/i387-env-reverse.exp: Likewise.
5804 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5805 * gdb.reverse/machinestate-precsave.exp: Likewise.
5806 * gdb.reverse/machinestate.exp: Likewise.
5807 * gdb.reverse/sigall-precsave.exp: Likewise.
5808 * gdb.reverse/solib-precsave.exp: Likewise.
5809 * gdb.reverse/step-precsave.exp: Likewise.
5810 * gdb.reverse/until-precsave.exp: Likewise.
5811 * gdb.reverse/watch-precsave.exp: Likewise.
5812 * gdb.reverse/watch-reverse.exp: Likewise.
5814 2014-10-17 Yao Qi <yao@codesourcery.com>
5816 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5817 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5819 2014-10-17 Pedro Alves <palves@redhat.com>
5822 * gdb.base/bg-execution-repeat.c: New file.
5823 * gdb.base/bg-execution-repeat.exp: New file.
5825 2014-10-17 Pedro Alves <palves@redhat.com>
5828 * gdb.base/continue-all-already-running.c: New file.
5829 * gdb.base/continue-all-already-running.exp: New file.
5831 2014-10-17 Pedro Alves <palves@redhat.com>
5834 * gdb.base/annota-input-while-running.c: New file.
5835 * gdb.base/annota-input-while-running.exp: New file.
5837 2014-10-17 Pedro Alves <palves@redhat.com>
5839 * gdb.base/callfuncs.exp: emove references to osf.
5840 * gdb.base/sigall.exp: Likewise.
5841 * gdb.gdb/selftest.exp: Likewise.
5842 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5843 * gdb.mi/non-stop.c: Likewise.
5844 * gdb.mi/pthreads.c: Likewise.
5845 * gdb.reverse/sigall-precsave.exp: Likewise.
5846 * gdb.reverse/sigall-reverse.exp: Likewise.
5847 * gdb.threads/pthreads.c: Likewise.
5848 * gdb.threads/pthreads.exp: Likewise.
5850 2014-10-17 Yao Qi <yao@codesourcery.com>
5852 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5853 check 'target_info exists noargs'.
5854 (test_command_prompt_position): Likewise.
5855 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5857 (progvar_simple_while_test): Likewise.
5858 (progvar_complex_if_while_test): Likewise.
5859 (if_while_breakpoint_command_test): Likewise.
5860 (infrun_breakpoint_command_test): Likewise.
5861 (breakpoint_command_test): Likewise.
5862 (watchpoint_command_test): Likewise.
5863 (bp_deleted_in_command_test): Likewise.
5864 (temporary_breakpoint_commands): Likewise.
5866 2014-10-16 Yao Qi <yao@codesourcery.com>
5868 * gdb.base/remotetimeout.exp: Remove noargs checking.
5870 2014-10-15 Pedro Alves <palves@redhat.com>
5873 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5874 * gdb.base/breakpoint-in-ro-region.exp
5875 (probe_target_hardware_step): New procedure.
5876 (top level): Probe hardware stepping and hardware breakpoint
5877 support. Test stepping through a read-only region, with both
5878 "breakpoint auto-hw" on and off and both "always-inserted" on and
5881 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5883 * gdb.dlang/demangle.exp: Update for demangling changes.
5885 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5887 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5888 * gdb.cp/non-trivial-retval.exp: Add new tests.
5890 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5894 * gdb.cp/non-trivial-retval.cc: New file.
5895 * gdb.cp/non-trivial-retval.exp: New file.
5897 2014-10-15 Yao Qi <yao@codesourcery.com>
5899 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5902 2014-10-15 Yao Qi <yao@codesourcery.com>
5904 * gdb.python/py-symbol.exp: Match file base name if host is
5905 remote, otherwise match file name with dir name.
5906 * gdb.python/py-symtab.exp: Likewise.
5907 * gdb.python/python.exp: Likewise.
5909 2014-10-15 Yao Qi <yao@codesourcery.com>
5911 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5913 * gdb.python/py-symtab.exp: Likewise.
5914 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5917 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5919 * gdb.ada/addr_arith: New testcase.
5921 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5923 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5924 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5925 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5926 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5928 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5930 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5931 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5932 * gdb.arch/stap-eval-lang-ada.exp: New file.
5934 2014-10-14 Yao Qi <yao@codesourcery.com>
5936 * gdb.mi/mi-var-child.c (nothing1): New function.
5937 (nothing2): New function.
5938 (do_children_tests): Set function pointers by nothing1 and
5940 * gdb.mi/mi-var-child.exp: Step over new added statements.
5941 Update test to match the new output.
5942 * gdb.mi/var-cmd.c (nothing1): New function.
5943 (nothing2): New function.
5944 (do_children_tests): Set function pointers by nothing1 and
5946 * gdb.mi/mi-var-display.exp: Update test to match output.
5947 Step to the line specified by $line_dct_nothing.
5948 Increase the number of lines to step.
5950 2014-10-14 Yao Qi <yao@codesourcery.com>
5952 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5954 * gdb.mi/mi2-var-child.exp: Likewise.
5956 2014-10-13 Doug Evans <dje@google.com>
5958 * gdb.python/py-objfile.exp: Change name of file name test.
5960 2014-10-13 Doug Evans <dje@google.com>
5962 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5963 from the start of the CU.
5965 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5966 Yao Qi <yao@codesourcery.com>
5968 Fix "save breakpoints" for "catch" command.
5969 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5970 Remove -nonewline. Match also the added "main" line.
5972 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5974 Fix "save breakpoints" for "disable $bpnum" command.
5975 * gdb.base/save-bp.c (main): Add label.
5976 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5978 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5980 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5982 2014-10-11 Yao Qi <yao@codesourcery.com>
5984 * gdb.server/server-kill.exp: Execute command
5985 "set remote trace-status-packet on" before "tstatus".
5987 2014-10-11 Yao Qi <yao@codesourcery.com>
5989 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5990 (main): Call getppid.
5991 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5992 and continue to it. Read variable "server_pid".
5994 2014-10-11 Yao Qi <yao@codesourcery.com>
5996 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5998 2014-10-11 Yao Qi <yao@codesourcery.com>
6000 * gdb.threads/thread-find.exp: Don't execute command
6002 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6003 * gdb.threads/linux-dp.exp: Don't check the condition
6004 $threads_created equals to zero.
6006 2014-10-10 Pedro Alves <palves@redhat.com>
6008 * gdb.base/bigcore.exp: Remove references to IRIX.
6009 * gdb.base/funcargs.exp: Likewise.
6010 * gdb.base/interrupt.exp: Likewise.
6011 * gdb.base/mips_pro.exp: Likewise.
6012 * gdb.base/nodebug.exp: Likewise.
6013 * gdb.base/setvar.exp: Likewise.
6014 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6016 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6017 Pedro Alves <palves@redhat.com>
6020 * gdb.base/vdso-warning.c: New file.
6021 * gdb.base/vdso-warning.exp: New file.
6023 2014-10-02 Doug Evans <dje@google.com>
6025 * gdb.base/structs.c (main): Don't run forever.
6027 2014-10-02 Pedro Alves <palves@redhat.com>
6029 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6030 (top level) <stop threads 1, stop threads 2>: Use it.
6032 2014-10-02 Pedro Alves <palves@redhat.com>
6034 * gdb.threads/break-while-running.exp (test): Add new
6035 'update_thread_list' argument. Skip "info threads" if false.
6036 (top level): Add new 'update_thread_list' axis.
6038 2014-10-02 Pedro Alves <palves@redhat.com>
6040 PR breakpoints/17431
6041 * gdb.base/execl-update-breakpoints.c: New file.
6042 * gdb.base/execl-update-breakpoints.exp: New file.
6044 2014-10-01 Pedro Alves <palves@redhat.com>
6046 * gdb.base/breakpoint-in-ro-region.c: New file.
6047 * gdb.base/breakpoint-in-ro-region.exp: New file.
6049 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6051 * gdb.mi/mi-exit-code.exp: New file.
6052 * gdb.mi/mi-exit-code.c: New file.
6054 2014-09-30 Yao Qi <yao@codesourcery.com>
6056 * lib/prelink-support.exp (build_executable_own_libs): Error if
6057 the target isn't native.
6059 2014-09-30 Yao Qi <yao@codesourcery.com>
6061 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6064 2014-09-22 Pedro Alves <palves@redhat.com>
6066 * gdb.threads/break-while-running.exp: New file.
6067 * gdb.threads/break-while-running.c: New file.
6069 2014-09-19 Yao Qi <yao@codesourcery.com>
6071 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6072 Invoke test. Restart GDB with --readnow and invoke test again.
6074 2014-09-19 Yao Qi <yao@codesourcery.com>
6076 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6077 proc set_breakpoint_on_gcd_function. Invoke
6078 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6079 invoke set_breakpoint_on_gcd_function again.
6081 2014-09-18 Doug Evans <dje@google.com>
6083 * gdb.dwarf2/symtab-producer.exp: New file.
6085 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6087 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6088 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6089 * gdb.base/global-var-nested-by-dso.c: Likewise.
6090 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6092 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6093 Pedro Alves <palves@redhat.com>
6095 * gdb.base/watch-bitfields.exp: Pass string other than test file
6096 name to prepare_for_testing.
6097 (watch): New procedure.
6098 (expect_watchpoint): Use with_test_prefix.
6099 (top level): Factor out tests to ...
6100 (test_watch_location, test_regular_watch): ... these new
6101 procedures, and use with_test_prefix and gdb_continue_to_end.
6103 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6105 PR breakpoints/12526
6106 * gdb.base/watch-bitfields.exp: New file.
6107 * gdb.base/watch-bitfields.c: New file.
6109 2014-09-16 Pedro Alves <palves@redhat.com>
6111 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6112 software and hardware addresses, not software address against
6115 2014-09-16 Pedro Alves <palves@redhat.com>
6117 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6118 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6120 2014-09-16 Pedro Alves <palves@redhat.com>
6122 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6124 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6125 "*-*-vxworks*" throughout.
6126 * gdb.base/break.exp: Likewise.
6127 * gdb.base/default.exp: Likewise.
6128 * gdb.base/scope.exp: Likewise.
6129 * gdb.base/sepdebug.exp: Likewise.
6130 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6132 * gdb.base/run.c: Likewise.
6133 * gdb.base/sepdebug.c: Likewise.
6134 * gdb.hp/gdb.aCC/run.c: Likewise.
6135 * gdb.reverse/until-reverse.c: Likewise.
6136 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6138 2014-09-16 Yao Qi <yao@codesourcery.com>
6140 * boards/local-remote-host-native.exp: New file.
6142 2014-09-14 Doug Evans <xdje42@gmail.com>
6144 * gdb.threads/queue-signal.c (thread_count): New variable.
6145 (thread_count_mutex, thread_count_condvar): New variables.
6146 (incr_thread_count, wait_all_threads_running): New functions.
6147 (main): Wait for all threads to be in their thread functions.
6149 2014-09-13 Doug Evans <xdje42@gmail.com>
6151 * gdb.threads/queue-signal.c: New file.
6152 * gdb.threads/queue-signal.exp: New file.
6154 2014-09-13 Doug Evans <xdje42@gmail.com>
6156 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6157 be consistent with what default_gdb_init uses.
6158 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6159 the plain text of the prompt. Add some logging printfs.
6160 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6162 2014-09-12 Pedro Alves <palves@redhat.com>
6164 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6165 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6166 * gdb.arch/i386-size-overlap.exp: Likewise.
6167 * gdb.arch/i386-size.exp: Likewise.
6168 * gdb.arch/i386-unwind.exp: Likewise.
6169 * gdb.base/a2-run.exp: Likewise.
6170 * gdb.base/break.exp: Likewise.
6171 * gdb.base/charset.exp: Likewise.
6172 * gdb.base/chng-syms.exp: Likewise.
6173 * gdb.base/commands.exp: Likewise.
6174 * gdb.base/dbx.exp: Likewise.
6175 * gdb.base/find.exp: Likewise.
6176 * gdb.base/funcargs.exp: Likewise.
6177 * gdb.base/jit-simple.exp: Likewise.
6178 * gdb.base/reread.exp: Likewise.
6179 * gdb.base/sepdebug.exp: Likewise.
6180 * gdb.base/step-bt.exp: Likewise.
6181 * gdb.cp/mb-inline.exp: Likewise.
6182 * gdb.cp/mb-templates.exp: Likewise.
6183 * gdb.objc/basicclass.exp: Likewise.
6184 * gdb.threads/killed.exp: Likewise.
6186 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6189 * gdb.arch/powerpc-stackless.S: New file.
6190 * gdb.arch/powerpc-stackless.exp: New file.
6192 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6194 * gdb.base/attach.c: Include unistd.h.
6195 (main): Call alarm. Add label postloop.
6196 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6197 gdb_breakpoint, gdb_continue_to_breakpoint.
6198 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6200 2014-09-11 Pedro Alves <palves@redhat.com>
6203 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6204 * gdb.base/attach.exp (test_command_line_attach_run): New
6206 (top level): Call it.
6208 2014-09-11 Pedro Alves <palves@redhat.com>
6210 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6211 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6212 (do_command_attach_tests): Use spawn_wait_for_attach.
6213 * gdb.base/solib-overlap.exp: Likewise.
6214 * gdb.multi/multi-attach.exp: Likewise.
6215 * gdb.python/py-prompt.exp: Likewise.
6216 * gdb.python/py-sync-interp.exp: Likewise.
6217 * gdb.server/ext-attach.exp: Likewise.
6219 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6221 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6222 command in testcase. Simplify testcase.
6224 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6226 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6228 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6230 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6232 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6234 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6236 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6238 * gdb.dwarf2/dynarr-ptr.c: New file.
6239 * gdb.dwarf2/dynarr-ptr.exp: New file.
6241 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6243 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6244 of 30 rather than hardcoding 120 for a slow test case. Take the
6245 `gdb,timeout' target setting into account for this calculation.
6246 Don't extend the timeout for the test cases that don't need it.
6248 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6250 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6251 a factor of 2 for a slow test case. Take the `gdb,timeout'
6252 target setting into account for this calculation.
6253 * gdb.reverse/until-precsave.exp: Increase the timeout by
6254 a factor of 15 and 3 respectively rather than adding 120
6255 for a pair of slow test cases. Take the `gdb,timeout'
6256 target setting into account for this calculation.
6258 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6260 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6261 timeout, don't pass one down to gdb_expect.
6262 (gdb_expect): Rework timeout selection.
6264 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6266 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6267 exception on timeout.
6268 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6269 (gdbserver_start_extended): Catch any `gdbserver_start' error
6271 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6272 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6273 `gdbserver_gdb_load' error exceptions.
6275 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6277 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6278 120 on waiting for the TCP socket to open.
6280 2014-09-09 Doug Evans <xdje42@gmail.com>
6282 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6283 _caller_matches, _any_caller_is, _any_caller_matches.
6285 2014-09-09 Doug Evans <xdje42@gmail.com>
6287 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6289 2014-09-09 Yao Qi <yao@codesourcery.com>
6291 * gdb.mi/mi-var-display.exp: Set print symbol off.
6293 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6296 * gdb.base/commands.exp: Add tests to verify user-defined
6297 commands with empty bodies.
6298 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6299 python commands in `show user command`.
6300 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6301 scheme commands in `show user command`.
6303 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6306 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6307 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6308 * gdb.python/py-framefilter-invalidarg.exp: New file.
6309 * gdb.python/py-framefilter-invalidarg.py: New file.
6311 2014-09-06 Doug Evans <xdje42@gmail.com>
6314 * gdb.python/py-caller-is.c: New file.
6315 * gdb.python/py-caller-is.exp: New file.
6317 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6320 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6321 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6323 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6326 * gdb.fortran/print-formatted.exp: New file.
6327 * gdb.fortran/print-formatted.f90: Likewise.
6329 2014-09-03 Sasha Smundak <asmundak@google.com>
6331 * gdb.python/py-frame.exp: Test Frame.read_register.
6333 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6336 * gdb.python/py-completion.exp: New file.
6337 * gdb.python/py-completion.py: Likewise.
6339 2014-08-28 Doug Evans <dje@google.com>
6341 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6342 eax,etc. are live with values set by gdb and thus the compiler can't
6344 * gdb.arch/i386-pseudo.c (main): Ditto.
6346 2014-08-27 Doug Evans <dje@google.com>
6348 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6350 2014-08-25 Doug Evans <dje@google.com>
6352 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6355 2014-08-25 Doug Evans <dje@google.com>
6357 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6359 2014-08-24 Yao Qi <yao@codesourcery.com>
6361 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6363 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6365 2014-08-22 Doug Evans <dje@google.com>
6368 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6369 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6370 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6372 2014-08-22 Yao Qi <yao@codesourcery.com>
6374 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6375 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6376 * gdb.python/python.exp: Likewise. Use .py file on the host
6377 instead of the build.
6379 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6381 * gdb.threads/gcore-stale-thread.c: New file.
6382 * gdb.threads/gcore-stale-thread.exp: New file.
6384 2014-08-21 Pedro Alves <palves@redhat.com>
6386 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6387 * gdb.base/gcore-relro-pie.exp: Likewise.
6388 * gdb.base/gcore-relro.exp: Likewise.
6389 * gdb.base/gcore.exp: Likewise.
6390 * gdb.base/print-symbol-loading.exp: Likewise.
6391 * gdb.threads/gcore-thread.exp: Likewise.
6392 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6394 2014-08-20 Pedro Alves <palves@redhat.com>
6395 Jan Kratochvil <jan.kratochvil@redhat.com>
6397 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6399 (EXPECT): Handle READ1 being set.
6400 (all): Depend on EXTRA_RULES.
6401 (check-read1, expect-read1, read1.so, read1): New rules.
6402 * README (Testsuite Parameters): Document the READ1 make variable.
6403 (Race detection): New section.
6404 * configure: Regenerate.
6405 * configure.ac: If build==host==target, and running under a
6406 GNU/glibc system, add read1 to the extra Makefile rules.
6407 (EXTRA_RULES): AC_SUBST it.
6408 * lib/read1.c: New file.
6410 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6412 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6413 the handling of variables declared as a typedef to an array
6414 which a DW_AT_data_location attribute.
6416 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6417 Pedro Alves <palves@redhat.com>
6421 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6424 2014-08-19 Pedro Alves <palves@redhat.com>
6426 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6428 2014-08-19 Yao Qi <yao@codesourcery.com>
6430 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6433 2014-08-18 David Blaikie <dblaikie@gmail.com>
6435 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6437 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6439 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6440 attribute in array range.
6442 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6444 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6446 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6449 * gdb.cp/pr17132.cc: New file.
6450 * gdb.cp/pr17132.exp: New file.
6452 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6454 * gdb.python/py-xmethods.py (A_getarrayind)
6455 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6456 Use 'print' with function call syntax.
6457 (E_method_matcher.match): Fix tab vs space indentation mixup.
6459 2014-08-15 Yao Qi <yao@codesourcery.com>
6461 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6464 2014-08-15 Yao Qi <yao@codesourcery.com>
6466 * gdb.cp/casts.exp: Set print symbol off.
6467 * gdb.cp/class2.exp: Likewise.
6468 * gdb.cp/overload.exp: Likewise.
6469 * gdb.cp/templates.exp: Likewise.
6471 2014-08-11 Doug Evans <dje@google.com>
6473 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6474 (test_load_shlib): Update.
6476 2014-08-09 Yao Qi <yao@codesourcery.com>
6478 * gdb.base/display.exp: Invoke is_address_zero_readable.
6479 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6480 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6481 * gdb.base/hbreak-unmapped.exp: Return if
6482 is_address_zero_readable returns true.
6483 * gdb.base/signest.exp: Likewise.
6484 * gdb.base/signull.exp: Likewise.
6485 * gdb.base/sigbpt.exp: Likewise.
6486 * gdb.guile/scm-disasm.exp: Do the test if
6487 is_address_zero_readable returns false.
6488 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6489 * gdb.python/py-arch.exp: Likewise.
6490 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6491 * lib/gdb.exp (is_address_zero_readable): New proc.
6493 2014-08-09 Yao Qi <yao@codesourcery.com>
6496 * gdb.mi/mi-var-display.exp: Make test messages unique.
6498 2014-08-04 Tom Tromey <tromey@redhat.com>
6500 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6503 2014-08-04 Tom Tromey <tromey@redhat.com>
6505 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6508 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6510 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6511 inner_vla_struct_object_size.
6512 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6515 2014-07-30 Pedro Alves <palves@redhat.com>
6517 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6520 2014-07-29 Yao Qi <yao@codesourcery.com>
6523 * gdb.base/until-nodebug.exp: New.
6525 2014-07-28 Doug Evans <xdje42@gmail.com>
6528 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6529 previously existing parameter, and previously ambiguously spelled
6532 2014-07-28 Will Newton <will.newton@linaro.org>
6534 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6536 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6537 Doug Evans <xdje42@gmail.com>
6540 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6542 2014-07-25 Pedro Alves <palves@redhat.com>
6544 * gdb.threads/signal-command-handle-nopass.c: New file.
6545 * gdb.threads/signal-command-handle-nopass.exp: New file.
6546 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6547 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6548 * gdb.threads/signal-delivered-right-thread.c: New file.
6549 * gdb.threads/signal-delivered-right-thread.exp: New file.
6551 2014-07-25 Pedro Alves <palves@redhat.com>
6553 * gdb.base/double-prompt-target-event-error.exp
6554 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6556 (cancel_pagination_in_target_event): Rework double prompt
6558 * gdb.base/paginate-after-ctrl-c-running.exp
6559 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6561 * gdb.base/paginate-bg-execution.exp
6562 (test_bg_execution_pagination_return)
6563 (test_bg_execution_pagination_cancel): Remove '-notransfer
6565 * gdb.base/paginate-execution-startup.exp
6566 (test_fg_execution_pagination_return)
6567 (test_fg_execution_pagination_cancel): Remove '-notransfer
6569 * gdb.base/paginate-inferior-exit.exp
6570 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6572 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6573 * lib/gdb.exp (pagination_prompt): Run text through
6575 (gdb_test_multiple): Match $pagination_prompt instead of
6577 (string_to_regexp): Move to lib/gdb-utils.exp.
6579 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6581 * gdb.arch/amd64-entry-value-paramref.S: New file.
6582 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6583 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6584 * gdb.arch/amd64-optimout-repeat.S: New file.
6585 * gdb.arch/amd64-optimout-repeat.c: New file.
6586 * gdb.arch/amd64-optimout-repeat.exp: New file.
6588 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6591 * gdb.base/statistics.exp: New file.
6593 2014-07-17 Doug Evans <dje@google.com>
6596 * gdb.base/maint.exp: Update testing of per-command stats.
6598 2014-07-16 Pedro Alves <palves@redhat.com>
6600 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6601 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6602 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6603 (tfile_write_buf): New functions.
6604 (add_memory_block): Rewrite using the above.
6605 (adjust_function_address): New function.
6606 (FUNCTION_ADDRESS): New macro.
6607 (write_basic_trace_file): Remove short_x local, and use
6608 tfile_write_16. Change type of func_addr local to unsigned long
6609 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6610 here. Cast argument of add_memory_block to char pointer.
6611 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6612 (main): Remove parameters.
6613 * gdb.trace/tfile.exp: Remove nowarnings.
6615 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6617 * gdb.base/debug-expr.exp: Test string evaluation with
6618 "debug expression" on.
6620 2014-07-15 Pedro Alves <palves@redhat.com>
6622 * gdb.base/reread.exp: Use clean_restart.
6624 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6626 * gdb.arch/avr-flash-qualifer.c: New.
6627 * gdb.arch/avr-flash-qualifer.exp: New.
6629 2014-07-14 Pedro Alves <palves@redhat.com>
6631 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6632 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6634 2014-07-14 Pedro Alves <palves@redhat.com>
6636 * gdb.base/double-prompt-target-event-error.c: New file.
6637 * gdb.base/double-prompt-target-event-error.exp: New file.
6639 2014-07-14 Pedro Alves <palves@redhat.com>
6642 * gdb.base/paginate-inferior-exit.c: New file.
6643 * gdb.base/paginate-inferior-exit.exp: New file.
6645 2014-07-14 Pedro Alves <palves@redhat.com>
6648 * gdb.base/paginate-bg-execution.c: New file.
6649 * gdb.base/paginate-bg-execution.exp: New file.
6651 2014-07-14 Pedro Alves <palves@redhat.com>
6654 * gdb.base/paginate-execution-startup.c: New file.
6655 * gdb.base/paginate-execution-startup.exp: New file.
6656 * lib/gdb.exp (pagination_prompt): New global.
6657 (default_gdb_spawn): New procedure, factored out from
6659 (default_gdb_start): Adjust to call default_gdb_spawn.
6660 (gdb_spawn): New procedure.
6662 2014-07-14 Pedro Alves <palves@redhat.com>
6664 * lib/gdb.exp (gdb_assert): New procedure.
6665 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6667 2014-07-14 Pedro Alves <palves@redhat.com>
6669 * gdb.base/execution-termios.c: New file.
6670 * gdb.base/execution-termios.exp: New file.
6672 2014-07-14 Tom Tromey <tromey@redhat.com>
6674 * gdb.cp/vla-cxx.cc: New file.
6675 * gdb.cp/vla-cxx.exp: New file.
6677 2014-07-14 Tom Tromey <tromey@redhat.com>
6679 * gdb.reverse/rerun-prec.c: New file.
6680 * gdb.reverse/rerun-prec.exp: New file.
6682 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6683 Maciej W. Rozycki <macro@codesourcery.com>
6685 * lib/gdb-utils.exp: New file.
6686 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6687 inline `gdb_init_command' processing.
6688 (gdb_start_cmd): Likewise.
6689 * lib/mi-support.exp (mi_run_cmd): Likewise.
6690 * README: Document `gdb_init_command' and `gdb_init_commands'.
6692 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6694 Fix false FAIL running under a very long directory name.
6695 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6696 and "set print elements 10000". Twice.
6698 2014-07-11 Yao Qi <yao@codesourcery.com>
6700 * gdb.base/exprs.exp: "set print symbol off".
6702 2014-07-11 Pedro Alves <palves@redhat.com>
6704 * gdb.threads/kill.c: New file.
6705 * gdb.threads/kill.exp: New file.
6707 2014-07-10 Yao Qi <yao@codesourcery.com>
6709 * gdb.trace/tfile.c (write_basic_trace_file)
6710 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6711 address written to trace file.
6713 2014-07-09 Pedro Alves <palves@redhat.com>
6715 * gdb.base/attach-wait-input.exp: New file.
6716 * gdb.base/attach-wait-input.c: New file.
6718 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6720 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6721 setting up test structures.
6722 (main): Call new test function.
6723 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6724 test function, continue into test function and walk test
6727 2014-07-02 Yao Qi <yao@codesourcery.com>
6729 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6730 'bar_start' at the beginning of functions 'foo' and 'bar'
6732 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6733 instead of 'foo' and 'bar'.
6735 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6737 * gdb.btrace/segv.exp: New.
6738 * gdb.btrace/segv.c: New.
6740 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6742 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6745 2014-06-30 Mark Wielaard <mjw@redhat.com>
6747 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6748 vulture, vilify, villar): New volatile array constants.
6749 (vindictive, vegetation): New const volatile array constants.
6750 * gdb.base/volatile.exp: Test volatile and const volatile array
6753 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6755 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6756 target lacks support for awatch, rwatch, or hbreak.
6758 2014-06-27 Yao Qi <yao@codesourcery.com>
6760 * gdb.multi/dummy-frame-restore.exp: New.
6761 * gdb.multi/dummy-frame-restore.c: New.
6763 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6765 * gdb.btrace/gcore.exp: New.
6767 2014-06-23 Pedro Alves <palves@redhat.com>
6769 * gdb.base/watchpoint-reuse-slot.c: New file.
6770 * gdb.base/watchpoint-reuse-slot.exp: New file.
6772 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6774 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6775 progspace's filename in 'info', 'enable' and 'disable' command
6778 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6780 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6781 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6782 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6784 2014-06-20 Gary Benson <gbenson@redhat.com>
6786 * gdb.arch/i386-avx.exp: Fix include file location.
6787 * gdb.arch/i386-sse.exp: Likewise.
6789 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6791 * gdb.dlang/expression.exp: New file.
6793 2014-06-19 Pedro Alves <palves@redhat.com>
6795 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6797 (top level): ... here. Iterate running tests under different
6798 scheduler-locking settings.
6800 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6802 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6803 to DW_FORM_addr and use non-zero addresses.
6805 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6808 * gdb.python/py-xmethods.cc: Add global function call counters and
6809 increment them in their respective functions. Remove "cout"
6811 * gdb.python/py-xmethods.exp: Make tests check the global function
6812 call counters instead of depending on inferior IO.
6814 2014-06-18 Don Breazeal <donb@codesourcery.com>
6816 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6818 (explicit_fork_parent_follow): Deleted procedure.
6819 (explicit_fork_child_follow): Deleted procedure.
6820 (test_follow_fork): New procedure.
6821 (do_fork_tests): Replace calls to deleted procedures with
6822 calls to test_follow_fork and reset GDB for subsequent
6825 2014-06-17 Yao Qi <yao@codesourcery.com>
6827 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6830 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6832 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6833 Initialize ptr and S explicitly.
6834 (skip_type_update_when_not_use_rtti_test): Likewise.
6836 2014-06-16 Keith Seitz <keiths@redhat.com>
6839 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6840 the inferior is started.
6842 2014-06-16 Pedro Alves <palves@redhat.com>
6844 * gdb.base/break-main-file-remove-fail.c: New file.
6845 * gdb.base/break-main-file-remove-fail.exp: New file.
6846 * gdb.base/break-unload-file.exp: Use build_executable instead of
6847 prepare_for_testing.
6848 (test_break): New parameter "initial_load". Handle it.
6849 (top level): Add initial_load cmdline/file axis.
6851 2014-06-12 Tom Tromey <tromey@redhat.com>
6853 * gdb.base/completion.exp: Don't use directory name in test.
6855 2014-06-09 Gary Benson <gbenson@redhat.com>
6857 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6858 separate the always-available ANSI-standard signals from the
6859 signals that require checking.
6861 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6865 2014-06-07 Keith Seitz <keiths@redhat.com>
6869 * gdb.cp/var-tag.cc: New file.
6870 * gdb.cp/var-tag.exp: New file.
6871 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6872 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6873 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6874 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6876 2014-06-06 Doug Evans <xdje42@gmail.com>
6878 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6880 2014-06-06 Pedro Alves <palves@redhat.com>
6882 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6883 in target debug output instead of looking at RSP packets,
6884 disabling the test on any target that uses hardware stepping.
6887 2014-06-06 Pedro Alves <palves@redhat.com>
6889 * gdb.base/break-unload-file.exp: Fix typo.
6891 2014-06-06 Yao Qi <yao@codesourcery.com>
6893 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6894 from "jit_function" to "^jit_function".
6896 2014-06-06 Yao Qi <yao@codesourcery.com>
6898 * gdb.base/async.c (foo): Add one statement.
6899 * gdb.base/async.exp: Get the next instruction address and
6900 match the output of "nexti" by instruction address. Match
6901 the hex address in the output of "finish".
6903 2014-06-06 Gary Benson <gbenson@redhat.com>
6905 * gdb.base/call-signals.c: Remove preprocessor conditionals
6906 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6907 SIGSEGV and SIGTERM.
6908 * gdb.base/sigall.c: Likewise.
6909 * gdb.base/unwindonsignal.c: Likewise.
6910 * gdb.reverse/sigall-reverse.c: Likewise.
6912 2014-06-06 Yao Qi <yao@codesourcery.com>
6914 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6915 readable, skip the test.
6917 2014-06-06 Yao Qi <yao@codesourcery.com>
6919 * gdb.threads/staticthreads.c (thread_function): Move the line
6920 setting breakpoint on forward.
6921 * gdb.threads/staticthreads.exp: Update comments.
6923 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6925 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6926 "history-append! type error".
6928 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6930 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6931 erroneous dprintf expected input.
6933 2014-06-04 Doug Evans <xdje42@gmail.com>
6935 * gdb.guile/scm-generics.exp: Delete.
6937 2014-06-04 Doug Evans <xdje42@gmail.com>
6939 * gdb.guile/scm-breakpoint.exp: Update.
6940 Add tests for breakpoint registration.
6942 2014-06-04 Tom Tromey <tromey@redhat.com>
6944 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6946 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6947 inner_vla_struct, vla_union types. Initialize objects of those
6948 types and compute their sizes.
6950 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6951 Hui Zhu <hui@codesourcery.com>
6953 * gdb.base/fileio.exp: Add test for shell not available as well as
6955 * gdb.base/fileio.c (test_system): Check for shell twice.
6957 2014-06-04 Yao Qi <yao@codesourcery.com>
6959 * gdb.base/auto-connect-native-target.exp: Remove redundant
6960 space from the regexp pattern.
6962 2014-06-04 Yao Qi <yao@codesourcery.com>
6964 * gdb.base/default.exp: Replace "child" with "native" in
6967 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6969 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6970 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6971 * gdb.python/py-xmethods.py: Python script supporting the
6972 new testcase and tests.
6974 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6975 Pedro Alves <palves@redhat.com>
6977 PR breakpoints/17000
6978 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6979 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6981 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6983 * gdb.base/subst.exp: Add tests to verify partial path matching
6986 2014-06-03 Pedro Alves <palves@redhat.com>
6988 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6989 target that doesn't use software single-stepping.
6991 2014-06-03 Pedro Alves <palves@redhat.com>
6993 PR breakpoints/17000
6994 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6995 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6997 2014-06-02 Doug Evans <xdje42@gmail.com>
6999 * gdb.guile/scm-parameter.exp: New file.
7001 2014-06-02 Doug Evans <xdje42@gmail.com>
7003 * gdb.guile/scm-cmd.c: New file.
7004 * gdb.guile/scm-cmd.exp: New file.
7006 2014-06-02 Doug Evans <xdje42@gmail.com>
7008 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7009 pretty-printer lookup.
7010 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7011 (make-pp_s-printer): Call it.
7012 (make-pretty-printer-from-dict): New function.
7013 (lookup-pretty-printer-maker-from-dict): New function.
7014 (*pretty-printer*): Simplify.
7015 (make-objfile-pp_s-printer): New function.
7016 (install-objfile-pretty-printers!): New function.
7017 (make-progspace-pp_s-printer): New function.
7018 (install-progspace-pretty-printers!): New function.
7019 * gdb.guile/scm-progspace.c: New file.
7020 * gdb.guile/scm-progspace.exp: New file.
7022 2014-06-02 Pedro Alves <palves@redhat.com>
7024 * gdb.base/dprintf-bp-same-addr.c: New file.
7025 * gdb.base/dprintf-bp-same-addr.exp: New file.
7027 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7029 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7030 * gdb.arch/powerpc-power.s: Likewise.
7032 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7034 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7036 2014-06-01 Yao Qi <yao@codesourcery.com>
7038 * gdb.base/watchpoint.exp (test_watch_location): Check null
7039 pointer can be dereferenced. If not, do the test, otherwise
7042 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7044 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7046 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7048 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7050 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7051 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7052 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7053 * gdb.arch/amd64-invalid-stack-top.c: New file.
7054 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7056 2014-05-30 Pedro Alves <palves@redhat.com>
7058 PR breakpoints/17000
7059 * gdb.base/sss-bp-on-user-bp.c: New file.
7060 * gdb.base/sss-bp-on-user-bp.exp: New file.
7062 2014-05-30 David Blaikie <dblaikie@gmail.com>
7064 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7065 gnu_inline semantics via attribute.
7066 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7067 source explicitly specifies the required semantics.
7069 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7071 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7073 2014-05-29 Pedro Alves <palves@redhat.com>
7074 Tom Tromey <tromey@redhat.com>
7076 * gdb.base/async-shell.exp: Don't enable target-async.
7077 * gdb.base/async.exp
7078 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7080 (top level): Don't test with "target-async".
7081 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7082 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7083 * gdb.base/inferior-died.exp: Don't enable target-async.
7084 * gdb.base/interrupt-noterm.exp: Likewise.
7085 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7086 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7087 * gdb.mi/mi-nonstop.exp: Likewise.
7088 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7089 * gdb.mi/mi-nsintrall.exp: Likewise.
7090 * gdb.mi/mi-nsmoribund.exp: Likewise.
7091 * gdb.mi/mi-nsthrexec.exp: Likewise.
7092 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7093 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7094 * gdb.python/py-evsignal.exp: Don't enable target-async.
7095 * gdb.python/py-evthreads.exp: Likewise.
7096 * gdb.python/py-prompt.exp: Likewise.
7097 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7098 * gdb.server/solib-list.exp: Don't enable target-async.
7099 * gdb.threads/thread-specific-bp.exp: Likewise.
7100 * lib/mi-support.exp: Adjust to use mi-async.
7102 2014-05-29 Pedro Alves <palves@redhat.com>
7105 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7106 reason, even in sync mode.
7108 2014-05-29 Pedro Alves <palves@redhat.com>
7109 Hui Zhu <hui@codesourcery.com>
7112 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7113 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7114 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7115 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7117 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7119 * config/monitor.exp (gdb_target_monitor): Replace use of
7120 "set remotebaud" by "set serial baud".
7122 2014-05-26 Andy Wingo <wingo@igalia.com>
7124 * gdb.guile/scm-breakpoint.exp:
7125 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7126 properties instead of gdb-object-properties.
7128 2014-05-26 Yao Qi <yao@codesourcery.com>
7130 * gdb.server/no-thread-db.exp: Specify source file name
7131 explicitly when setting a breakpoint.
7133 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7135 * gdb.btrace/vdso.c: New.
7136 * gdb.btrace/vdso.exp: New.
7138 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7140 * gdb.base/gcore.exp (capture_command_output): Move ...
7141 * lib/gdb.exp (capture_command_output): ... here.
7143 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7145 * gdb.btrace/data.exp: Test memory access during btrace replay.
7147 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7149 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7151 2014-05-21 Pedro Alves <palves@redhat.com>
7154 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7155 (top level): Test that output related to execution commands is
7156 sent to the console with CLI commands, but not with MI commands.
7157 Test that breakpoint events are always mirrored to the console.
7158 Also expect the new source line to be output after a "next" in
7159 async mode too. Make it a pass/fail test.
7160 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7162 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7164 2014-05-21 Pedro Alves <palves@redhat.com>
7166 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7167 Use them to test variations of "list" after reaching a breakpoint.
7168 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7169 Test "list" with listsize 10 after reaching a breakpoint.
7170 * gdb.python/python.exp (decode_line current location line
7171 number): Adjust expected line number.
7173 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7175 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7176 behavior for $args, pass it directly to "run".
7178 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7180 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7183 2014-05-21 Pedro Alves <palves@redhat.com>
7185 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7186 auto-connect-native-target off".
7187 * gdb.base/auto-connect-native-target.c: New file.
7188 * gdb.base/auto-connect-native-target.exp: New file.
7190 2014-05-21 Pedro Alves <palves@redhat.com>
7192 * gdb.base/default.exp: Test "target native" instead of "target
7195 2014-05-21 Mark Wielaard <mjw@redhat.com>
7197 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7199 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7201 Fix TLS access for -static -pthread.
7202 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7203 <HAVE_TLS> (thread_function, main): Initialize it.
7204 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7206 <$have_tls != "">: Check TLSVAR.
7208 2014-05-21 Pedro Alves <palves@redhat.com>
7210 * gdb.base/dcache-line-read-error.c: New.
7211 * gdb.base/dcache-line-read-error.exp: New.
7213 2014-05-20 Pedro Alves <palves@redhat.com>
7215 * gdb.base/compare-sections.c: New file.
7216 * gdb.base/compare-sections.exp: New file.
7218 2014-05-20 Pedro Alves <palves@redhat.com>
7220 * gdb.base/break-idempotent.c: New file.
7221 * gdb.base/break-idempotent.exp: New file.
7223 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7225 * gdb.btrace/nohist.exp: New.
7227 2014-05-20 Yao Qi <yao@codesourcery.com>
7229 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7230 gdb.reverse directory and gdb_reverse_timeout exists in board
7232 * README: Document gdb_reverse_timeout.
7234 2014-05-20 Yao Qi <yao@codesourcery.com>
7236 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7237 'test_file_name'. Treat args as a string instead of a list.
7238 (gdb_init): Rename argument 'args' by 'test_file_name'.
7240 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7242 * gdb.arch/powerpc-power.exp: New file.
7243 * gdb.arch/powerpc-power.s: New file.
7245 2014-05-16 Doug Evans <dje@google.com>
7247 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7248 * gdb.base/completion.exp: Check that all expected files exist
7249 before doing file completion.
7251 2014-05-16 Doug Evans <dje@google.com>
7253 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7255 (do_syscall_tests_without_xml): Update.
7257 2014-05-16 Pedro Alves <palves@redhat.com>
7259 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7260 instead of "unknown output after running".
7262 2014-05-16 Yao Qi <yao@codesourcery.com>
7264 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7265 file1.txt from host at the end.
7266 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7268 2014-05-15 Doug Evans <dje@google.com>
7270 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7271 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7272 loading file. Add test for TU lookup.
7274 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7276 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7277 calling "-exec-arguments" or "set args" before running the
7280 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7282 * lib/mi-support.exp (mi_expect_stop): Expect message for
7283 inferiors that exit with non-zero exit code.
7285 2014-05-14 Yao Qi <yao@codesourcery.com>
7287 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7288 match absolute path on remote host.
7289 (test_file_list_exec_source_files): Remove "/" from the
7292 2014-05-14 Yao Qi <yao@codesourcery.com>
7294 * boards/local-remote-host-notty.exp (${board}_file): New
7297 2014-05-07 Kyle McMartin <kyle@redhat.com>
7299 Pushed by Joel Brobecker <brobecker@adacore.com>.
7300 * gdb.arch/aarch64-atomic-inst.c: New file.
7301 * gdb.arch/aarch64-atomic-inst.exp: New file.
7303 2014-05-07 Yao Qi <yao@codesourcery.com>
7305 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7306 in current context" too.
7308 2014-05-05 Keith Seitz <keiths@redhat.com>
7310 * gdb.linespec/ls-dollar.exp: Add test for linespec
7311 file:convenience_variable.
7313 2014-05-05 Yao Qi <yao@codesourcery.com>
7315 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7316 traceframes into tfile and ctf trace files. Read data from
7317 trace file and test collected data.
7318 (gdb_collect_locals_test): Likewise.
7319 (gdb_unavailable_registers_test): Likewise.
7320 (gdb_unavailable_floats): Likewise.
7321 (gdb_collect_globals_test): Likewise.
7322 (top-level): Append "ctf" to trace_file_targets if GDB
7325 2014-05-05 Yao Qi <yao@codesourcery.com>
7327 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7329 (gdb_collect_args_test_1): ... it. New proc.
7330 (gdb_collect_locals_test): Move some code to ...
7331 (gdb_collect_locals_test_1): ... it. New proc.
7332 (gdb_unavailable_registers_test): Move some code to ...
7333 (gdb_unavailable_registers_test_1): ... it. New proc.
7334 (gdb_unavailable_floats): Move some code to ...
7335 (gdb_unavailable_floats_1): ... it. New proc.
7337 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7339 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7340 probes to test for bitness recognition.
7341 * gdb.arch/amd64-stap-optional-prefix.exp
7342 (test_probe_value_without_reg): New procedure.
7343 Add code to test for different kinds of bitness.
7345 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7347 PR breakpoints/16889
7348 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7349 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7351 2014-05-01 Pedro Alves <palves@redhat.com>
7353 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7354 gdb_file_cmd if no file is specified.
7355 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7356 last_loaded_file to set the remote exec-file.
7358 2014-05-01 Pedro Alves <palves@redhat.com>
7360 * boards/local-remote-host.exp: New file.
7362 2014-05-01 Pedro Alves <palves@redhat.com>
7364 * boards/local-remote-host.exp: Rename to ...
7365 * boards/local-remote-host-notty.exp: ... this.
7367 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7369 * gdb.ada/dyn_arrayidx: New testcase.
7371 2014-04-26 Yao Qi <yao@codesourcery.com>
7373 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7374 and compute the length of function main. Save it in
7376 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7377 (top-level): Use gdb_compile to compile objects into
7378 executable and restart GDB. Remove invocation to
7379 prepare_for_testing.
7381 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7382 Pedro Alves <palves@redhat.com>
7385 * gdb.multi/multi-attach.c: New file.
7386 * gdb.multi/multi-attach.exp: New file.
7388 2014-04-25 Pedro Alves <palves@redhat.com>
7390 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7392 (top level): Test that "set remote conditional-breakpoints-packet
7393 off" works as intended.
7394 * gdb.base/dprintf.exp: Test that "set remote
7395 breakpoint-commands-packet off" works as intended.
7396 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7398 (top level): Call it.
7399 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7400 remote fast-tracepoints-packet off" works as intended.
7401 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7402 * lib/gdb.exp (gdb_is_target_remote): ... here.
7404 2014-04-24 David Blaikie <dblaikie@gmail.com>
7406 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7407 ensure clang would not discard them.
7408 * gdb.base/gdbvars.c: Ditto.
7409 * gdb.base/memattr.c: Ditto.
7410 * gdb.base/whatis.c: Ditto.
7411 * gdb.python/py-prettyprint.c: Ditto.
7412 * gdb.trace/actions.c: Ditto.
7413 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7414 ensure clang would not discard it.
7416 2014-04-24 David Blaikie <dblaikie@gmail.com>
7418 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7419 clang to emit the full definition of type required by the test
7420 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7422 2014-04-24 David Blaikie <dblaikie@gmail.com>
7424 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7425 coax Clang into emitting the definition of the type.
7426 * gdb.cp/pr10728-x.h (y): Ditto.
7427 * gdb.cp/pr10728-y.cc (y): Ditto.
7429 2014-04-24 David Blaikie <dblaikie@gmail.com>
7431 * gdb.base/label.exp: XFAIL label related tests under Clang.
7432 * gdb.cp/cplabel.exp: Ditto.
7433 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7434 under Clang those using labels.
7436 2014-04-25 Yao Qi <yao@codesourcery.com>
7438 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7440 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7441 partial_label and double_label.
7443 2014-04-24 David Blaikie <dblaikie@gmail.com>
7445 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7447 2014-04-24 David Blaikie <dblaikie@gmail.com>
7449 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7450 of the function to work across GCC and Clang.
7451 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7452 pointer types (const void ** const V void **).
7454 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7455 Walfred Tedeschi <walfred.tedeschi@intel.com>
7457 * Makefile.in (EXECUTABLES): Added i386-avx512.
7458 * gdb.arch/i386-avx512.c: New file.
7459 * gdb.arch/i386-avx512.exp: Likewise.
7461 2014-04-23 Keith Seitz <keiths@redhat.com>
7463 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7464 (mi_make_breakpoint_table): New procedure.
7465 (mi_create_breakpoint): Use mi_make_breakpoint
7466 and return the result.
7467 (mi_make_breakpoint): New procedure.
7468 (mi_build_kv_pairs): New procedure.
7470 * gdb.mi/mi-break.exp: Remove unused globals,
7471 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7472 All callers updated.
7473 * gdb.mi/mi-dprintf.exp: Use variable to track command
7475 Update all callers of mi_create_breakpoint and use
7476 mi_make_breakpoint_table.
7477 Remove any unused global variables.
7478 * gdb.mi/mi-nonstop.exp: Likewise.
7479 * gdb.mi/mi-nsintrall.exp: Likewise.
7480 * gdb.mi/mi-nsmoribund.exp: Likewise.
7481 * gdb.mi/mi-nsthrexec.exp: Likewise.
7482 * gdb.mi/mi-reverse.exp: Likewise.
7483 * gdb.mi/mi-simplerun.exp: Likewise.
7484 * gdb.mi/mi-stepn.exp: Likewise.
7485 * gdb.mi/mi-syn-frame.exp: Likewise.
7486 * gdb.mi/mi-until.exp: Likewise.
7487 * gdb.mi/mi-var-cp.exp: Likewise.
7488 * gdb.mi/mi-var-display.exp: Likewise.
7489 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7490 * gdb.mi/mi2-var-child.exp: Likewise.
7491 * gdb.mi/mi-vla-c99.exp: Likewise.
7492 * lib/mi-support.exp: Likewise.
7494 From Ian Lance Taylor <iant@cygnus.com>:
7495 * lib/gdb.exp (parse_args): New procedure.
7497 2014-04-23 Pedro Alves <palves@redhat.com>
7499 * gdb.base/break-unload-file.c: New file.
7500 * gdb.base/break-unload-file.exp: New file.
7501 * gdb.base/sym-file-lib.c (baz): New function.
7502 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7504 (load): Store the segment's mapped size.
7505 (unload): New function.
7506 (unload_shlib): New function.
7507 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7508 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7509 set a breakpoint at baz, and call it.
7510 * gdb.base/sym-file.exp: New tests for stale breakpoint
7513 2014-04-23 Pedro Alves <palves@redhat.com>
7515 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7516 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7517 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7518 * gdb.base/hbreak-unmapped.c: New file.
7519 * gdb.base/hbreak-unmapped.exp: New file.
7520 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7521 * lib/gdb.exp (gdb_is_target_remote): ... here.
7523 2014-04-22 Pedro Alves <palves@redhat.com>
7525 * gdb.base/consecutive-step-over.c: New file.
7526 * gdb.base/consecutive-step-over.exp: New file.
7528 2014-04-22 Pedro Alves <palves@redhat.com>
7530 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7531 instead of send_gdb/gdb_expect.
7533 2014-04-22 Yao Qi <yao@codesourcery.com>
7535 * lib/trace-support.exp (generate_tracefile): New procedure.
7536 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7538 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7539 if generate_tracefile returns 1.
7541 2014-04-18 Tom Tromey <palves@redhat.com>
7542 Pedro alves <tromey@redhat.com>
7545 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7546 with a backtrace limit.
7547 * gdb.python/py-frame-inline.exp: Test running to an inline
7548 function with a backtrace limit, and printing the newest frame.
7549 * gdb.python/py-frame-inline.c (main): Call f.
7551 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7553 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7555 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7557 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7558 Drop prefix from unsupported source file path.
7560 2014-04-17 Yao Qi <yao@codesourcery.com>
7562 * lib/gdb.exp (with_target_charset): New proc.
7563 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7564 with_target_charset.
7565 (test_print_strings): Likewise.
7566 (test_repeat_bytes): Likewise.
7567 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7570 2014-04-16 Keith Seitz <keiths@redhat.com>
7573 * gdb.dwarf2/corrupt.c: New file.
7574 * gdb.dwarf2/corrupt.exp: New file.
7576 2014-04-16 Keith Seitz <keiths@redhat.com>
7579 * gdb.cp/namelessclass.cc: New file.
7580 * gdb.cp/namelessclass.exp: New file.
7581 * gdb.cp/namelessclass.S: New file.
7583 2014-04-16 Doug Evans <dje@google.com>
7585 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7587 (gdbserver_default_get_comm_port): New function.
7588 (gdbserver_start): Check if board file provided
7589 "gdbserver,get_comm_port" and use it if so.
7590 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7591 (gdb,socketport): Set to "stdio".
7592 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7593 (stdio_gdbserver_template): Delete.
7594 (${board}_get_remote_address): Update.
7595 (${board}_build_remote_cmd): Delete.
7596 (${board}_get_comm_port): New function.
7597 (${board}_spawn): Update.
7598 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7600 (${board}_get_remote_address): Update.
7601 (${board}_get_comm_port): New function.
7603 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7605 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7606 appearing in any order.
7608 2014-04-15 Doug Evans <dje@google.com>
7610 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7611 uninitialized value of "description".
7613 2014-04-15 Keith Seitz <keiths@redhat.com>
7615 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7616 Remove unused globals.
7617 (test_running_the_program): Likewise.
7618 (test_controlled_execution): Likewise.
7619 (test_controlling_breakpoints): Likewise.
7620 (test_program_termination): Likewise.
7622 2014-04-15 Keith Seitz <keiths@redhat.com>
7624 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7626 (test_rbreak_creation_and_listing): Likewise.
7627 (test_ignore_count): Likewise.
7628 (test_error): Likewise.
7630 2014-04-15 Pedro Alves <palves@redhat.com>
7632 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7633 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7635 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7636 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7637 to sym-file-loader.c.
7638 (struct library): Forward declare.
7639 (load_shlib, lookup_function): Change prototypes.
7640 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7641 (translate_offset): Remove declarations.
7642 (get_text_addr): New declaration.
7643 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7644 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7646 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7647 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7648 here from sym-file-loader.h.
7649 (struct library): New structure.
7650 (load_shlib, lookup_function): Change prototypes and adjust to
7651 work with a struct library.
7652 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7653 (translate_offset): Make static.
7654 (get_text_addr): New function.
7655 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7657 2014-04-15 Pedro Alves <palves@redhat.com>
7659 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7661 2014-04-15 Pedro Alves <palves@redhat.com>
7663 * gdb.base/sym-file-loader.c: Include <limits.h>.
7664 (SELF_LINK): New define.
7665 (get_origin): New function.
7666 (load_shlib): Use it.
7667 * gdb.base/sym-file.exp: Don't early return if the target is
7668 remote. Use runto_main, and issue fail is that fails. Use
7670 (shlib_name): Delete.
7671 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7673 2014-04-15 Pedro Alves <palves@redhat.com>
7675 * gdb.base/sym-file.exp: Remove regex characters from test
7676 message. Don't refer to breakpoint numbers in test messages.
7678 2014-04-14 Keith Seitz <keiths@redhat.com>
7681 * gdb.cp/var-tag.cc: New file.
7682 * gdb.cp/var-tag.exp: New file.
7683 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7684 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7685 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7686 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7688 2014-04-14 Tom Tromey <tromey@redhat.com>
7690 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7691 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7693 * gdb.cp/enum-class.exp: New file.
7694 * gdb.cp/enum-class.cc: New file.
7696 2014-04-14 Tom Tromey <tromey@redhat.com>
7698 * gdb.dwarf2/enum-type.exp: New file.
7700 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7702 * gdb.mi/mi-vla-c99.exp: New file.
7703 * gdb.mi/vla.c: New file.
7705 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7707 * gdb.base/vla-datatypes.c: New file.
7708 * gdb.base/vla-datatypes.exp: New file.
7710 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7712 * gdb.base/vla-ptr.c: New file.
7713 * gdb.base/vla-ptr.exp: New file.
7715 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7717 * gdb.dwarf2/count.exp: New file.
7719 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7721 * gdb.base/vla-sideeffect.c: New file.
7722 * gdb.base/vla-sideeffect.exp: New file.
7724 2014-04-14 David Blaikie <dblaikie@gmail.com>
7726 * gdb.mi/non-stop.c: Add return value for non-void function return
7728 * gdb.threads/staticthreads.c: Ditto.
7730 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7731 Doug Evans <xdje42@gmail.com>
7733 * gdb.guile/scm-value.c: Improve test case.
7734 * gdb.guile/scm-value.exp: Add new test.
7736 2014-04-11 David Blaikie <dblaikie@gmail.com>
7738 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7739 override Clang's default.
7741 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7743 Revert the following changes (regressions):
7745 * gdb.base/vla-sideeffect.c: New file.
7746 * gdb.base/vla-sideeffect.exp: New file.
7748 * gdb.dwarf2/count.exp: New file.
7750 * gdb.base/vla-multi.c: New file.
7751 * gdb.base/vla-multi.exp: New file.
7753 * gdb.base/vla-ptr.c: New file.
7754 * gdb.base/vla-ptr.exp: New file.
7756 * gdb.base/vla-datatypes.c: New file.
7757 * gdb.base/vla-datatypes.exp: New file.
7759 * gdb.mi/mi-vla-c99.exp: New file.
7760 * gdb.mi/vla.c: New file.
7762 2014-04-11 Keith Seitz <keiths@redhat.com>
7765 * gdb.cp/cpsizeof.exp: New file.
7766 * gdb.cp/cpsizeof.cc: New file.
7768 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7770 * gdb.mi/mi-vla-c99.exp: New file.
7771 * gdb.mi/vla.c: New file.
7773 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7775 * gdb.base/vla-datatypes.c: New file.
7776 * gdb.base/vla-datatypes.exp: New file.
7778 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7780 * gdb.base/vla-ptr.c: New file.
7781 * gdb.base/vla-ptr.exp: New file.
7783 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7785 * gdb.base/vla-multi.c: New file.
7786 * gdb.base/vla-multi.exp: New file.
7788 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7790 * gdb.dwarf2/count.exp: New file.
7792 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7794 * gdb.base/vla-sideeffect.c: New file.
7795 * gdb.base/vla-sideeffect.exp: New file.
7797 2014-04-11 Yao Qi <yao@codesourcery.com>
7799 * gdb.base/completion.exp: Check file exists before running tests
7802 2014-04-10 Pedro Alves <palves@redhat.com>
7804 * gdb.base/cond-eval-mode.c: New file.
7805 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7806 prepare_for_testing to build the new file. Check result of
7808 (test_break, test_watch): New procedures.
7809 (top level): Use them.
7811 2014-04-08 Pierre Muller <muller@sourceware.org>
7813 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7814 Ctrl-V use for mingw hosts.
7816 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7818 * gdb.python/py-value.c: Improve test case.
7819 * gdb.python/py-value.exp: Add new test.
7821 2014-04-07 David Blaikie <dblaikie@gmail.com>
7823 * lib/compiler.c: Identify the clang compiler.
7824 * lib/compiler.cc: Ditto.
7826 2014-04-03 Yao Qi <yao@codesourcery.com>
7828 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7830 2014-04-01 Anton Blanchard <anton@samba.org>
7832 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7835 2014-04-01 Anton Blanchard <anton@samba.org>
7837 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7838 prepare_for_testing.
7840 2014-04-01 Anton Blanchard <anton@samba.org>
7842 * gdb.arch/ppc64-atomic-inst.c: Remove.
7843 * gdb.arch/ppc64-atomic-inst.S: New file.
7844 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7846 2014-03-31 Doug Evans <dje@google.com>
7848 * gdb.base/print-symbol-loading-lib.c: New file.
7849 * gdb.base/print-symbol-loading-main.c: New file.
7850 * gdb.base/print-symbol-loading.exp: New file.
7852 2014-03-31 Yao Qi <yao@codesourcery.com>
7854 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7856 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7858 * gdb.ada/mi_dyn_arr: New testcase.
7860 2014-03-27 Doug Evans <dje@google.com>
7862 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7864 2014-03-27 Yao Qi <yao@codesourcery.com>
7866 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7867 if target is nios2-*-*.
7869 2014-03-26 Yao Qi <yao@codesourcery.com>
7871 * lib/gdb.exp (readline_is_used): New proc.
7872 * gdb.base/completion.exp: Move tests on command complete up.
7873 Skip the rest of tests if readline is not used.
7874 * gdb.ada/complete.exp: Skp the test if readline is not
7876 * gdb.base/filesym.exp: Likewise.
7877 * gdb.base/macscp.exp: Likewise.
7878 * gdb.base/readline-ask.exp: Likewise.
7879 * gdb.base/readline.exp: Likewise.
7880 * gdb.python/py-cmd.exp: Likewise.
7881 * gdb.trace/tfile.exp: Likewise.
7883 2014-03-26 Yao Qi <yao@codesourcery.com>
7885 * gdb.base/macscp.exp: Fix code format issues.
7887 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7889 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7890 * gdb.asm/powerpc64le.inc: New file.
7892 2014-03-25 Pedro Alves <palves@redhat.com>
7893 Doug Evans <dje@google.com>
7895 * gdb.base/source-execution.c: New file.
7896 * gdb.base/source-execution.exp: New file.
7897 * gdb.base/source-execution.gdb: New file.
7899 2014-03-24 Doug Evans <dje@google.com>
7901 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7904 2014-03-24 Hui Zhu <hui@codesourcery.com>
7905 Pedro Alves <palves@redhat.com>
7907 PR breakpoints/16101
7908 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7909 test pass/fail messages. Detect missing support for dprintf when
7910 breakpoints are actually inserted.
7911 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7912 breakpoints are actually inserted.
7913 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7916 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7918 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7920 2014-03-22 Doug Evans <xdje42@gmail.com>
7922 * gdb.python/python.exp (python not supported): Verify multi-line
7923 python command issues an error.
7924 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7925 guile command issues an error.
7927 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7929 * gdb.threads/thread-specific.exp: Handle the lack of usable
7930 $this_breakpoint and $this_thread.
7932 2014-03-21 Hui Zhu <hui@codesourcery.com>
7934 * gdb.base/attach.exp (do_command_attach_tests): New.
7936 2014-03-20 Tom Tromey <tromey@redhat.com>
7937 Pedro Alves <palves@redhat.com>
7940 * gdb.base/condbreak-call-false.c: New file.
7941 * gdb.base/condbreak-call-false.exp: New file.
7943 2014-03-20 Pedro Alves <palves@redhat.com>
7945 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7947 (block_signals, unblock_signals): Delete.
7948 (child_function_2, main): Remove references to deleted variable
7951 2014-03-20 Pedro Alves <palves@redhat.com>
7953 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7954 Use pthread_kill to signal thread 2.
7955 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7956 Adjust to make the test send itself a signal rather than using the
7957 host's "kill" command.
7959 2014-03-20 Pedro Alves <palves@redhat.com>
7961 * gdb.threads/multiple-step-overs.c: New file.
7962 * gdb.threads/multiple-step-overs.exp: New file.
7963 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7964 Adjust expected infrun debug output.
7966 2014-03-20 Pedro Alves <palves@redhat.com>
7968 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7969 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7971 2014-03-20 Pedro Alves <palves@redhat.com>
7974 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7975 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7976 of gdb_test_multiple.
7977 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7978 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7980 2014-03-20 Pedro Alves <palves@redhat.com>
7982 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7983 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7985 2014-03-19 Pedro Alves <palves@redhat.com>
7987 * gdb.base/async.exp: Remove early return.
7989 2014-03-19 Pedro Alves <palves@redhat.com>
7991 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7993 2014-03-19 Pedro Alves <palves@redhat.com>
7995 * gdb.base/async.exp (test_background): Expect \r\n after
7996 "completed." in the fail pattern.
7998 2014-03-19 Pedro Alves <palves@redhat.com>
8000 * gdb.base/async.exp (test_background): New procedure.
8001 Use it for all background execution command tests.
8003 2014-03-19 Pedro Alves <palves@redhat.com>
8005 * gdb.base/async.exp: Use prepare_for_testing.
8007 2014-03-19 Pedro Alves <palves@redhat.com>
8009 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8012 2014-03-19 Pedro Alves <palves@redhat.com>
8014 * gdb.base/async.c (main): Add "jump here" and "until here" line
8016 * gdb.base/async.exp (jump_here): New global.
8017 (jump& test): Use it.
8018 (until_here): New global.
8019 (until& test): Use it.
8021 2014-03-19 Pedro Alves <palves@redhat.com>
8023 * gdb.base/async.exp: Don't frob gdb_protocol.
8025 2014-03-18 Doug Evans <xdje42@gmail.com>
8027 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8028 Fix spelling of exec-done-display.
8030 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8033 * gdb.base/gdb-sigterm.c: New file.
8034 * gdb.base/gdb-sigterm.exp: New file.
8036 2014-03-18 Pedro Alves <palves@redhat.com>
8039 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8040 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8043 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8045 * gdb.ada/pckd_arr_ren: New testcase.
8047 2014-03-13 Doug Evans <xdje42@gmail.com>
8050 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8051 collect after discarding symbols.
8053 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8054 Doug Evans <xdje42@gmail.com>
8056 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8057 to history survives a gc.
8059 2014-03-13 Pedro Alves <palves@redhat.com>
8061 * gdb.base/default.exp: Don't test "target procfs".
8063 2014-03-13 Pedro Alves <palves@redhat.com>
8065 * gdb.base/default.exp: Update "target child" and "target procfs"
8066 tests to not expect "Unix".
8068 2014-03-12 Tom Tromey <tromey@redhat.com>
8070 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8071 New procs. Add target-async tests.
8072 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8073 Add target-async tests.
8075 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8077 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8078 'func_start' and 'func_end' for the beginning and end of the
8079 function code, respectively.
8080 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8081 'func_end' instead of 'func' and 'main'.
8083 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8085 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8086 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8087 generate the debug info assembler source.
8089 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8091 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8092 * gdb.dwarf2/arr-subrange.exp: Likewise.
8093 * gdb.dwarf2/dwz.exp: Likewise.
8094 * gdb.dwarf2/method-ptr.exp: Likewise.
8095 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8096 * gdb.dwarf2/subrange.exp: Likewise.
8097 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8098 * gdb.dwarf2/implptrpiece.exp: Likewise.
8099 * gdb.dwarf2/nostaticblock.exp: Likewise.
8101 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8103 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8104 directory to absolute path name arguments.
8106 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8108 * gdb.ada/tagged_access: New testcase.
8110 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8112 * gdb.btrace/data.exp: Update expected output.
8114 2014-03-06 Yao Qi <yao@codesourcery.com>
8116 * gdb.trace/pr16508.exp: New file.
8118 2014-03-05 Pedro Alves <palves@redhat.com>
8121 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8123 (top level): Adjust to use it. Add tests that exercise breakpoint
8124 interaction with the code-cache.
8126 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8128 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8129 test for 'history-append!'.
8131 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8133 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8134 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8135 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8136 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8137 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8138 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8140 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8142 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8143 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8144 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8146 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8148 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8150 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8152 * gdb.dwarf2/arr-stride.c: New file.
8153 * gdb.dwarf2/arr-stride.exp: New file.
8155 2014-02-26 Pedro Alves <palves@redhat.com>
8157 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8158 that won't ever trigger. Make sure that GDB reports the correct
8159 breakpoint that caused the stop.
8161 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8164 * gdb.base/auto-load-script: New file.
8165 * gdb.base/auto-load.c: New file.
8166 * gdb.base/auto-load.exp: New file.
8169 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8171 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8173 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8174 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8176 2014-02-24 Doug Evans <dje@google.com>
8178 * lib/gdb.exp (run_on_host): Log error output if program fails.
8180 2014-02-21 Pedro Alves <palves@redhat.com>
8182 * gdb.threads/step-after-sr-lock.c: Rename to ...
8183 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8184 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8185 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8188 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8191 * gdb.arch/amd64-stap-special-operands.exp: New file.
8192 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8193 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8194 * gdb.arch/amd64-stap-triplet.S: Likewise.
8195 * gdb.arch/amd64-stap-triplet.c: Likewise.
8197 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8199 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8200 in .section pseudo-op.
8202 2014-02-20 lin zuojian <manjian2006@gmail.com>
8203 Joel Brobecker <brobecker@adacore.com>
8204 Doug Evans <xdje42@gmail.com>
8207 * gdb.dwarf2/dw2-icycle.S: New file.
8208 * gdb.dwarf2/dw2-icycle.c: New file.
8209 * gdb.dwarf2/dw2-icycle.exp: New file.
8211 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8213 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8214 operations on gdb.Value objects.
8215 * gdb.python/py-value-cc.exp: Add new test to test operations on
8218 2014-02-18 Doug Evans <dje@google.com>
8220 * Makefile.in (TESTS): New variable.
8221 (expanded_tests, expanded_tests_or_none): New variables
8222 (check-single): Pass $(expanded_tests_or_none) to runtest.
8223 (check-parallel): Only run tests in $(TESTS) if non-empty.
8224 (check/no-matching-tests-found): New rule.
8225 * README: Document TESTS makefile variable.
8227 2014-02-18 Doug Evans <dje@google.com>
8229 * Makefile.in (check-parallel): rm -rf outputs temp.
8231 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8233 Fix "ERROR: no fileid for" in the testsuite.
8234 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8236 2014-02-12 Doug Evans <dje@google.com>
8238 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8239 (MISCELLANEOUS): New variable.
8240 (clean): rm -rf $(MISCELLANEOUS).
8241 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8242 dwp live in the same directory as symlinks, with each symlink pointed
8243 to a differently named file in a different directory.
8245 2014-02-11 Doug Evans <dje@google.com>
8247 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8248 of Tcl file commands.
8250 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8252 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8255 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8257 * gdb.ada/tick_length_array_enum_idx: New testcase.
8259 2014-02-10 Doug Evans <xdje42@gmail.com>
8261 * configure.ac (AC_OUTPUT): Add gdb.guile.
8262 * configure: Regenerate.
8263 * lib/gdb-guile.exp: New file.
8264 * lib/gdb.exp (get_target_charset): New function.
8265 * gdb.base/help.exp: Update expected output from "apropos apropos".
8266 * gdb.guile/Makefile.in: New file.
8267 * gdb.guile/guile.exp: New file.
8268 * gdb.guile/scm-arch.c: New file.
8269 * gdb.guile/scm-arch.exp: New file.
8270 * gdb.guile/scm-block.c: New file.
8271 * gdb.guile/scm-block.exp: New file.
8272 * gdb.guile/scm-breakpoint.c: New file.
8273 * gdb.guile/scm-breakpoint.exp: New file.
8274 * gdb.guile/scm-disasm.c: New file.
8275 * gdb.guile/scm-disasm.exp: New file.
8276 * gdb.guile/scm-equal.c: New file.
8277 * gdb.guile/scm-equal.exp: New file.
8278 * gdb.guile/scm-error.exp: New file.
8279 * gdb.guile/scm-error.scm: New file.
8280 * gdb.guile/scm-frame-args.c: New file.
8281 * gdb.guile/scm-frame-args.exp: New file.
8282 * gdb.guile/scm-frame-args.scm: New file.
8283 * gdb.guile/scm-frame-inline.c: New file.
8284 * gdb.guile/scm-frame-inline.exp: New file.
8285 * gdb.guile/scm-frame.c: New file.
8286 * gdb.guile/scm-frame.exp: New file.
8287 * gdb.guile/scm-generics.exp: New file.
8288 * gdb.guile/scm-gsmob.exp: New file.
8289 * gdb.guile/scm-iterator.c: New file.
8290 * gdb.guile/scm-iterator.exp: New file.
8291 * gdb.guile/scm-math.c: New file.
8292 * gdb.guile/scm-math.exp: New file.
8293 * gdb.guile/scm-objfile-script-gdb.in: New file.
8294 * gdb.guile/scm-objfile-script.c: New file.
8295 * gdb.guile/scm-objfile-script.exp: New file.
8296 * gdb.guile/scm-objfile.c: New file.
8297 * gdb.guile/scm-objfile.exp: New file.
8298 * gdb.guile/scm-ports.exp: New file.
8299 * gdb.guile/scm-pretty-print.c: New file.
8300 * gdb.guile/scm-pretty-print.exp: New file.
8301 * gdb.guile/scm-pretty-print.scm: New file.
8302 * gdb.guile/scm-section-script.c: New file.
8303 * gdb.guile/scm-section-script.exp: New file.
8304 * gdb.guile/scm-section-script.scm: New file.
8305 * gdb.guile/scm-symbol.c: New file.
8306 * gdb.guile/scm-symbol.exp: New file.
8307 * gdb.guile/scm-symtab-2.c: New file.
8308 * gdb.guile/scm-symtab.c: New file.
8309 * gdb.guile/scm-symtab.exp: New file.
8310 * gdb.guile/scm-type.c: New file.
8311 * gdb.guile/scm-type.exp: New file.
8312 * gdb.guile/scm-value-cc.cc: New file.
8313 * gdb.guile/scm-value-cc.exp: New file.
8314 * gdb.guile/scm-value.c: New file.
8315 * gdb.guile/scm-value.exp: New file.
8316 * gdb.guile/source2.scm: New file.
8317 * gdb.guile/types-module.cc: New file.
8318 * gdb.guile/types-module.exp: New file.
8320 2014-02-10 Yao Qi <yao@codesourcery.com>
8323 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8324 * configure: Regenerated.
8325 * Makefile.in: New file.
8327 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8329 * gdb.python/py-framefilter.exp: Fix typo.
8331 2014-02-08 Yao Qi <yao@codesourcery.com>
8333 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8334 that no =breakpoint-modified is emitted when breakpoints are
8335 modified through MI commands.
8337 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8338 Pedro Alves <palves@redhat.com>
8340 * gdb.threads/step-after-sr-lock.c: New file.
8341 * gdb.threads/step-after-sr-lock.exp: New file.
8343 2014-02-07 Pedro Alves <palves@redhat.com>
8345 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8347 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8349 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8350 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8352 2014-02-06 Doug Evans <xdje42@gmail.com>
8354 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8357 * gdb.gdb/python-interrupts.exp: New file.
8359 2014-02-05 Yao Qi <yao@codesourcery.com>
8361 * gdb.trace/report.exp (use_collected_data): Test the output
8362 of "info threads" and "info inferiors".
8364 2014-02-05 Yao Qi <yao@codesourcery.com>
8368 2013-05-24 Yao Qi <yao@codesourcery.com>
8370 * gdb.trace/tfile.exp: Test inferior and thread.
8372 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8374 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8376 * gdb.base/step-bt.c: Call hello via function pointer to make
8377 sure its first instruction is executed on powerpc64le-linux.
8379 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8381 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8383 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8385 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8386 of the test patterns for use on little-endian systems.
8388 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8390 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8391 (decimal_vector): Fix for little-endian.
8393 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8395 * gdb.arch/sparc-sysstep.exp: New file.
8396 * gdb.arch/sparc-sysstep.c: Likewise.
8398 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8400 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8402 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8404 2014-01-23 Tom Tromey <tromey@redhat.com>
8406 * gdb.ada/array_char_idx: New testcase.
8408 2014-01-23 Tom Tromey <tromey@redhat.com>
8411 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8412 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8415 2014-01-23 Tom Tromey <tromey@redhat.com>
8418 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8419 string from an inferior frame.
8420 * gdb.python/py-framefilter-mi.exp: Update.
8422 2014-01-22 Doug Evans <dje@google.com>
8424 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8426 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8428 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8430 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8432 * gdb.trace/entry-values.exp: Remove excess space character from
8433 regex patterns. Handle s390 call instruction.
8435 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8437 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8438 define "*_start" label. Make "name" static.
8439 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8440 ${name} by references to ${name}_start.
8442 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8444 * gdb.base/info-macros.exp: Remove "debug" from the compile
8447 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8449 * gdb.dlang/demangle.exp: New file.
8451 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8453 * gdb.dlang/primitive-types.exp: New file.
8455 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8457 * configure.ac: Create gdb.dlang/Makefile.
8458 * configure: Regenerate.
8459 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8460 * gdb.dlang/Makefile.in: New file.
8461 * lib/d-support.exp: New file.
8462 * lib/gdb.exp (skip_d_tests): New proc.
8464 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8466 * gdb.btrace/delta.exp: Check reverse stepi.
8467 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8468 * gdb.btrace/finish.exp: New.
8469 * gdb.btrace/next.exp: New.
8470 * gdb.btrace/nexti.exp: New.
8471 * gdb.btrace/record_goto.c: Add comments.
8472 * gdb.btrace/step.exp: New.
8473 * gdb.btrace/stepi.exp: New.
8474 * gdb.btrace/multi-thread-step.c: New.
8475 * gdb.btrace/multi-thread-step.exp: New.
8476 * gdb.btrace/rn-dl-bind.c: New.
8477 * gdb.btrace/rn-dl-bind.exp: New.
8478 * gdb.btrace/data.c: New.
8479 * gdb.btrace/data.exp: New.
8480 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8482 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8484 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8485 * gdb.btrace/exception.exp: Update.
8486 * gdb.btrace/instruction_history.exp: Update.
8487 * gdb.btrace/record_goto.exp: Update.
8488 * gdb.btrace/tailcall.exp: Update.
8489 * gdb.btrace/unknown_functions.exp: Update.
8490 * gdb.btrace/delta.exp: New.
8492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8494 * gdb.btrace/record_goto.exp: Add backtrace test.
8495 * gdb.btrace/tailcall.exp: Add backtrace test.
8497 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8499 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8500 * gdb.btrace/record_goto.c: New.
8501 * gdb.btrace/record_goto.exp: New.
8502 * gdb.btrace/x86-record_goto.S: New.
8504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8506 * gdb.btrace/function_call_history.exp: Update tests.
8507 * gdb.btrace/instruction_history.exp: Update tests.
8509 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8511 * gdb.btrace/function_call_history.exp: Fix expected field
8512 order for "record function-call-history".
8513 Add new tests for "record function-call-history /c".
8514 * gdb.btrace/exception.cc: New.
8515 * gdb.btrace/exception.exp: New.
8516 * gdb.btrace/tailcall.exp: New.
8517 * gdb.btrace/x86-tailcall.S: New.
8518 * gdb.btrace/x86-tailcall.c: New.
8519 * gdb.btrace/unknown_functions.c: New.
8520 * gdb.btrace/unknown_functions.exp: New.
8521 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8525 * gdb.btrace/instruction_history.exp: Update.
8526 * gdb.btrace/function_call_history.exp: Update.
8528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8530 * gdb.btrace/function_call_history.exp: Fix expected function
8532 * gdb.btrace/instruction_history.exp: Initialize traced.
8533 Remove traced_functions.
8535 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8537 * gdb.btrace/function_call_history.exp: Update
8538 * gdb.btrace/instruction_history.exp: Update.
8540 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8542 * gdb.btrace/enable.exp: Update expected text.
8544 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8546 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8549 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8551 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8553 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8555 * lib/gdb.exp (supports_process_record): Return true for
8556 arm*-linux*. (supports_reverse): Likewise.
8558 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8562 * gdb.python/py-type.c: Enhance test case.
8563 * gdb.python/py-value-cc.cc: Likewise
8564 * gdb.python/py-type.exp: Add new tests.
8565 * gdb.python/py-value-cc.exp: Likewise
8567 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8568 Pedro Alves <palves@redhat.com>
8570 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8572 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8573 references to ${name}_start by references to ${name}.
8575 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8577 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8579 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8581 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8583 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8584 Pedro Alves <palves@redhat.com>
8586 * gdb.mi/mi-info-os.exp: Connect to the target with
8589 2014-01-08 Pedro Alves <palves@redhat.com>
8591 * gdb.threads/reconnect-signal.c: New file.
8592 * gdb.threads/reconnect-signal.exp: New file.
8594 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8596 * gdb.base/source-dir.exp: New file.
8598 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8600 * gdb.ada/mi_interface: New testcase.
8602 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8604 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8605 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8606 gdb.ada/pp-rec-component/pck.ads: New files.
8608 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8610 * gdb.python/py-pp-integral.c: New file.
8611 * gdb.python/py-pp-integral.py: New file.
8612 * gdb.python/py-pp-integral.exp: New file.
8614 For older changes see ChangeLog-1993-2013.
8620 ;; version-control: never
8623 Copyright 2014-2016 Free Software Foundation, Inc.
8624 Copying and distribution of this file, with or without modification,
8625 are permitted provided the copyright notice and this notice are preserved.