1 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3 * lib/ada.exp: Remove extra directory level in build directory.
4 * gdb.ada/cond_lang.exp: Likewise.
5 * gdb.ada/exec_changed.exp: Likewise.
6 * gdb.ada/lang_switch.exp: Likewise.
8 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10 * simple.rs: Add test for raw pointer subscripting
11 * simple.exp: Add test expectations
13 2016-07-05 Yao Qi <yao.qi@linaro.org>
15 * gdb.mi/mi-reverse.exp: Match =record-started output.
17 2016-07-01 Pedro Alves <palves@redhat.com>
19 * gdb.base/jit-reader.exp (info_registers_current_frame): New
21 (jit_reader_test): Test the jit reader's unwinder.
22 * gdb.base/jithost.c (jit_function_00_code): New global.
23 (main): Use memcpy to fill in the mmapped code, instead of poking
25 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
27 (read_debug_info): Save the function's range.
28 (read_sp): New function.
29 (unwind_frame): Use it. Also unwind RBP.
30 (get_frame_id): Use read_sp.
31 (gdb_init_reader): Use calloc instead of malloc.
32 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
33 parameter. Use gdb_test_multiple.
35 2016-07-01 Pedro Alves <palves@redhat.com>
36 Antoine Tremblay <antoine.tremblay@ericsson.com>
38 * gdb.threads/process-dies-while-detaching.c: New file.
39 * gdb.threads/process-dies-while-detaching.exp: New file.
41 2016-07-01 Pedro Alves <palves@redhat.com>
43 * gdb.multi/watchpoint-multi-exit.c: New file.
44 * gdb.multi/watchpoint-multi-exit.exp: New file.
46 2016-06-30 Pedro Alves <palves@redhat.com>
48 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
49 unset inferior_spawn_id.
51 2016-06-30 Pedro Alves <palves@redhat.com>
53 * lib/mi-support.exp (default_mi_gdb_start): Declare global
54 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
56 2016-06-29 Yao Qi <yao.qi@linaro.org>
58 * gdb.base/return.c: Add copyright header.
60 2016-06-29 Tom Tromey <tom@tromey.com>
63 * gdb.python/py-framefilter.exp: Add tests for setting priority
64 and disabling of non-existent frame filter.
66 2016-06-29 Yao Qi <yao.qi@linaro.org>
68 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
71 2016-06-28 Yao Qi <yao.qi@linaro.org>
73 * gdb.base/catch-syscall.exp: Remove check on isnative and target
74 triplets. Start gdb, execute catch syscall, and continue. Check
75 gdb's output to determine catch syscall is supported.
77 2016-06-27 Manish Goregaokar <manish@mozilla.com>
79 * gdb.rust/simple.rs: Add test for returning unit in a function.
80 * gdb.rust/simple.exp: Add expectation for functions returning
83 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
85 * gdb.python/py-breakpoint-create-fail.c,
86 gdb.python/py-breakpoint-create-fail.exp,
87 gdb.python/py-breakpoint-create-fail.py: New testcase.
89 2016-06-25 Manish Goregaokar <manish@mozilla.com>
92 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
93 * gdb.rust/simple.exp: Add test expectations for new NonZero
96 2016-06-24 David Taylor <dtaylor@emc.com>
98 * gdb.base/offsets.exp: New file.
99 * gdb.base/offsets.c: New file.
101 2016-06-23 Tom Tromey <tom@tromey.com>
104 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
105 before any filters are loaded.
107 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
109 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
110 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
112 * gdb.fortran/derived-type-function.exp: New file.
113 * gdb.fortran/derived-type-function.f90: New file.
116 2016-06-21 Pedro Alves <palves@redhat.com>
118 * gdb.base/new-ui.exp: New file.
119 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
120 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
121 (with_spawn_id): New procedure.
123 2016-06-21 Pedro Alves <palves@redhat.com>
125 * gdb.mi/mi-exec-run.exp: New file.
127 2016-06-21 Pedro Alves <palves@redhat.com>
129 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
130 breakpoint command's output on the main UI.
131 (test_break): New procedure, factored out from calls in the top
133 (top level): Use foreach_with_prefix to test MI as main UI and as
136 2016-06-21 Pedro Alves <palves@redhat.com>
138 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
139 (test_awatch_creation_and_listing)
140 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
141 Remove 'type' parameter.
142 (test_watchpoint_all): New parameter mi_mode. Remove
144 (top level): Use foreach_with_prefix, and add main/separate UI MI
147 2016-06-21 Pedro Alves <palves@redhat.com>
149 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
150 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
151 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
152 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
153 (gdb_main_spawn_id, mi_spawn_id): Declare and
155 (mi_create_inferior_pty): New procedure,
156 factored out from default_mi_gdb_start.
157 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
159 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
160 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
161 Use mi_create_inferior_pty.
162 (mi_gdb_start): Use eval to pass down args list.
164 2016-06-21 Pedro Alves <palves@redhat.com>
166 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
167 * gdb.opt/inline-cmds.exp: Add MI tests.
169 2016-06-21 Pedro Alves <palves@redhat.com>
171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
173 2016-06-21 Pedro Alves <palves@redhat.com>
175 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
176 (top level): Use it instead of mi_execute_to.
178 2016-06-21 Pedro Alves <palves@redhat.com>
180 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
181 (cont_handler_str): New.
182 (signal_stop_handler): Set stop_handler_str instead of printing to
184 (continue_handler): Set cont_handler_str instead of printing to
186 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
187 mi_send_resuming_command. Print stop_handler_str and
188 cont_handler_str instead of expecting the python events print
191 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
193 * gdb.base/jit-reader.exp: New file.
194 * gdb.base/jithost.c: New file.
195 * gdb.base/jithost.h: New file.
196 * gdb.base/jitreader.c : New file.
197 * gdb.base/jit-protocol.h: New file.
199 2016-06-17 Yao Qi <yao.qi@linaro.org>
201 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
202 parameters follow_fork and detach_on_fork. Set follow-fork-mode
203 and detach-on-fork. Adjust tests.
204 (top level): Invoke break_cond_on_syscall with combinations of
205 syscall, follow-fork-mode and detach-on-fork.
207 2016-06-17 Yao Qi <yao.qi@linaro.org>
209 * gdb.base/step-over-exit.c: New.
210 * gdb.base/step-over-exit.exp: New.
212 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
214 * gdb.base/float.exp: Add target check for nds32*-*-*.
215 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
217 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
219 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
220 for unsupported target features.
221 * gdb.base/call-rt-st.exp: Likewise.
222 * gdb.base/call-sc.exp: Likewise.
223 * gdb.base/call-signal-resume.exp: Likewise.
224 * gdb.base/call-strs.exp: Likewise.
225 * gdb.base/callexit.exp: Likewise.
226 * gdb.base/callfuncs.exp: Likewise.
227 * gdb.base/nodebug.exp: Likewise.
228 * gdb.base/printcmds.exp: Likewise.
229 * gdb.base/ptype.exp: Likewise.
230 * gdb.base/structs.exp: Likewise.
231 * gdb.base/unwindonsignal.exp: Likewise.
232 * gdb.cp/gdb2495.exp: Likewise.
233 * gdb.cp/templates.exp: Likewise.
234 * gdb.cp/virtfunc.exp: Likewise.
235 * gdb.threads/hand-call-in-threads.exp: Likewise.
236 * gdb.threads/interrupted-hand-call.exp: Likewise.
237 * gdb.threads/thread-unwindonsignal.exp: Likewise.
239 2016-06-10 Tom Tromey <tom@tromey.com>
242 * gdb.rust/expr.exp: Add test for integer constant larger than
245 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
247 * gdb.fortran/nested-funcs.exp: New.
248 * gdb.fortran/nested-funcs.f90: New.
250 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
252 * gdb.base/examine-backward.c: New file.
253 * gdb.base/examine-backward.exp: New file.
255 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
257 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
260 2016-06-02 Tom Tromey <tom@tromey.com>
263 * gdb.python/py-shared.exp: Add solib_name test.
265 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
267 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
269 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
272 * gdb.dwarf2/implref.exp: Rename to...
273 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
274 * gdb.dwarf2/implref-array.c: New file.
275 * gdb.dwarf2/implref-array.exp: Likewise.
276 * gdb.dwarf2/implref-global.c: Likewise.
277 * gdb.dwarf2/implref-global.exp: Likewise.
278 * gdb.dwarf2/implref-struct.c: Likewise.
279 * gdb.dwarf2/implref-struct.exp: Likewise.
281 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
283 * gdb.trace/trace-condition.exp: Add 64bit tests.
285 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
287 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
289 (main): Adapt to 8 to 64 bits types.
290 * gdb.trace/trace-condition.exp: Add new tests.
292 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
294 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
296 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
298 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
299 Move condition tests...
300 * gdb.trace/trace-condition.exp: Here.
302 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
304 * gdb.trace/trace-condition.exp: Add counter-case tests.
306 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
309 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
310 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
312 2016-05-27 Pedro Alves <palves@redhat.com>
314 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
316 (top level): Call it, and bail out of DejaGnu is known to be bad.
318 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
320 * gdb.base/whatis.c: Extend the test case.
321 * gdb.base/whatis.exp: Add additional tests.
323 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
325 * gdb.fortran/type.f90: Add pointer variable.
326 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
328 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
330 * gdb.fortran/vla-type.exp: Fix testcase name.
332 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
334 * gdb.fortran/vla-type.exp: Access elements in nested structs.
336 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
338 * gdb.fortran/type.f90: Add nested structures.
339 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
340 * gdb.fortran/derived-type.exp: Adapt expected output.
341 * gdb.fortran/vla-type.exp: Adapt expected output.
343 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
345 * gdb.fortran/whatis_type.exp: Adapt expected output.
347 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
349 * gdb.fortran/print_type.exp: Fix expected output.
350 * gdb.fortran/whatis_type.exp: Fix expected output.
352 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
354 * gdb.fortran/whatis_type.exp: Use multi_line.
356 2016-05-24 Tom Tromey <tom@tromey.com>
359 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
360 use value as an index.
362 2016-05-23 Tom Tromey <tom@tromey.com>
365 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
368 2016-05-24 Pedro Alves <palves@redhat.com>
371 * gdb.threads/clone-attach-detach.c: New file.
372 * gdb.threads/clone-attach-detach.exp: New file.
374 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
376 * gdb.base/annota-input-while-running.exp: Fix syntax error.
378 2016-05-23 Tom Tromey <tom@tromey.com>
380 PR python/19438, PR python/18393:
381 * gdb.python/py-progspace.exp: Add "dir" test.
382 * gdb.python/py-objfile.exp: Add "dir" test.
384 2016-05-23 Yao Qi <yao.qi@linaro.org>
386 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
387 * gdb.arch/thumb2-it.exp: Likewise.
389 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
391 * gdb.mi/mi-threads-interrupt.c: New file.
392 * gdb.mi/mi-threads-interrupt.exp: New file.
394 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
397 * gdb.mi/mi-async-run.exp: New file.
398 * gdb.mi/mi-async-run.c: New file.
400 2016-05-17 Tom Tromey <tom@tromey.com>
401 Manish Goregaokar <manishsmail@gmail.com>
403 * lib/rust-support.exp: New file.
404 * lib/gdb.exp (skip_rust_tests): New proc.
405 (build_executable_from_specs): Handle rust.
406 * lib/future.exp (gdb_find_rustc): New proc.
407 (gdb_default_target_compile): Handle rust.
408 * gdb.rust/expr.exp: New file.
409 * gdb.rust/generics.exp: New file.
410 * gdb.rust/generics.rs: New file.
411 * gdb.rust/methods.exp: New file.
412 * gdb.rust/methods.rs: New file.
413 * gdb.rust/modules.exp: New file.
414 * gdb.rust/modules.rs: New file.
415 * gdb.rust/simple.exp: New file.
416 * gdb.rust/simple.rs: New file.
418 2016-05-17 Tom Tromey <tom@tromey.com>
420 * gdb.base/default.exp (set language): Add rust.
422 2016-05-17 Tom Tromey <tom@tromey.com>
424 * gdb.gdb/unittest.exp: New file.
426 2016-05-16 Yao Qi <yao.qi@linaro.org>
428 * gdb.base/batch-preserve-term-settings.exp: Remove variable
429 shell_prompt. Update shell_prompt_re.
431 2016-05-12 Doug Evans <dje@google.com>
434 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
435 $options when building executable.
436 * gdb.dwarf2/fission-loclists-pie.S: New file.
437 * gdb.dwarf2/fission-loclists-pie.exp: New file.
439 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
441 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
442 of [is_remote target],
444 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
446 * lib/gdb.exp (use_gdb_stub): New procedure.
448 2016-05-03 Yunlian Jiang <yunlian@google.com>
449 Doug Evans <dje@google.com>
452 * gdb.dwarf2/dwp-sepdebug.c: New file.
453 * gdb.dwarf2/dwp-sepdebug.exp: New file.
455 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
457 * gdb.base/detach.exp: Remove is_remote check.
459 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
461 * gdb.base/annota-input-while-running.exp: Don't check for
462 [is_remote target]. Enable annotations after running to main.
463 Remove unused "set test..." line.
465 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
467 * gdb.trace/trace-enable-disable.exp: New file.
468 * gdb.trace/trace-enable-disable.c: New file.
470 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
472 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
473 use it in info sharedlibrary test.
474 * gdb.trace/ftrace-lock.exp: Likewise.
475 * gdb.trace/ftrace.exp: Likewise.
476 * gdb.trace/range-stepping.exp: Likewise.
477 * gdb.trace/trace-break.exp: Likewise.
478 * gdb.trace/trace-condition.exp: Likewise.
479 * gdb.trace/trace-mt.exp: Likewise.
481 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
483 * lib/gdb.exp (gdb_load_shlibs): Rename to...
484 (gdb_load_shlib): ... this.
485 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
487 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
488 * gdb.base/ctxobj.exp: Likewise.
489 * gdb.base/dprintf-pending.exp: Likewise.
490 * gdb.base/dso2dso.exp: Likewise.
491 * gdb.base/fixsection.exp: Likewise.
492 * gdb.base/gcore-relro.exp: Likewise.
493 * gdb.base/gdb1555.exp: Likewise.
494 * gdb.base/global-var-nested-by-dso.exp: Likewise.
495 * gdb.base/gnu-ifunc.exp: Likewise.
496 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
497 * gdb.base/jit-so.exp (one_jit_test): Likewise.
498 * gdb.base/pending.exp: Likewise.
499 * gdb.base/print-file-var.exp: Likewise.
500 * gdb.base/print-symbol-loading.exp: Likewise.
501 * gdb.base/shlib-call.exp: Likewise.
502 * gdb.base/shreloc.exp: Likewise.
503 * gdb.base/so-impl-ld.exp: Likewise.
504 * gdb.base/solib-disc.exp: Likewise.
505 * gdb.base/solib-nodir.exp: Likewise.
506 * gdb.base/solib-overlap.exp: Likewise.
507 * gdb.base/solib-symbol.exp: Likewise.
508 * gdb.base/solib-weak.exp (do_test): Likewise.
509 * gdb.base/sym-file.exp: Likewise.
510 * gdb.base/symtab-search-order.exp: Likewise.
511 * gdb.base/type-opaque.exp: Likewise.
512 * gdb.base/unload.exp: Likewise.
513 * gdb.base/watchpoint-solib.exp: Likewise.
514 * gdb.compile/compile.exp: Likewise.
515 * gdb.cp/gdb2384.exp: Likewise.
516 * gdb.cp/infcall-dlopen.exp: Likewise.
517 * gdb.cp/re-set-overloaded.exp: Likewise.
518 * gdb.fortran/library-module.exp: Likewise.
519 * gdb.opt/solib-intra-step.exp: Likewise.
520 * gdb.python/py-finish-breakpoint.exp: Likewise.
521 * gdb.python/py-shared.exp: Likewise.
522 * gdb.reverse/solib-precsave.exp: Likewise.
523 * gdb.reverse/solib-reverse.exp: Likewise.
524 * gdb.server/solib-list.exp: Likewise.
525 * gdb.threads/dlopen-libpthread.exp: Likewise.
526 * gdb.threads/tls-shared.exp: Likewise.
527 * gdb.threads/tls-so_extern.exp: Likewise.
528 * gdb.trace/change-loc.exp: Likewise.
529 * gdb.trace/ftrace-lock.exp: Likewise.
530 * gdb.trace/ftrace.exp: Likewise.
531 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
532 * gdb.trace/pending.exp: Likewise.
533 * gdb.trace/range-stepping.exp: Likewise.
534 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
535 (strace_info_marker): Likewise.
536 (strace_probe_marker): Likewise.
537 (strace_trace_on_same_addr): Likewise.
538 (strace_trace_on_diff_addr): Likewise.
539 * gdb.trace/trace-break.exp: Likewise.
540 * gdb.trace/trace-condition.exp: Likewise.
541 * gdb.trace/trace-mt.exp: Likewise.
543 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
545 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
546 result of gdb_remote_download.
547 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
548 * gdb.base/dso2dso.exp: Likewise.
549 * gdb.base/global-var-nested-by-dso.exp: Likewise.
550 * gdb.base/print-file-var.exp: Likewise.
551 * gdb.base/shlib-call.exp: Likewise.
552 * gdb.base/shreloc.exp: Likewise.
553 * gdb.base/solib-overlap.exp: Likewise.
554 * gdb.base/solib-weak.exp (do_test): Likewise.
555 * gdb.base/unload.exp: Likewise.
557 2016-04-27 Yao Qi <yao.qi@linaro.org>
559 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
562 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
564 * vla-type.exp: Print structure from toplevel.
566 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
568 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
570 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
573 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
575 * gdb.fortran/vla-type.f90: New file.
576 * gdb.fortran/vla-type.exp: New file.
578 2016-04-25 Yao Qi <yao.qi@linaro.org>
580 * gdb.base/branch-to-self.c: New file.
581 * gdb.base/branch-to-self.exp: New file.
583 2016-04-22 Yao Qi <yao.qi@linaro.org>
585 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
588 2016-04-22 Yao Qi <yao.qi@linaro.org>
590 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
591 * gdb.base/annota3.exp: Likewise.
593 2016-04-22 Yao Qi <yao.qi@linaro.org>
595 * gdb.reverse/step-precsave.exp: Do one step and test program
596 stops in "callee" and do multiple steps until program goes out
598 * gdb.reverse/step-reverse.exp: Likewise.
600 2016-04-22 Yao Qi <yao.qi@linaro.org>
602 * gdb.trace/signal.exp: Also pass if
603 $tracepoint_hits($i) > $iterations.
605 2016-04-22 Yao Qi <yao.qi@linaro.org>
607 * gdb.trace/signal.c: New file.
608 * gdb.trace/signal.exp: New file.
610 2016-04-19 Doug Evans <xdje42@gmail.com>
612 * gdb.base/bad-file.exp: New file.
614 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
616 * gdb.dwarf2/implref.exp: New file.
618 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
620 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
621 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
622 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
623 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
624 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
625 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
626 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
627 * lib/fortran.exp (fortran_int4): New procedure.
628 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
629 (fortran_logical4): Likewise.
631 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
633 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
635 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
637 * lib/compiler.c: Add Intel specific preprocessor macros.
638 * lib/compiler.cc: Likewise.
640 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
642 * gdb.server/connect-with-no-symbol-file.c: New file.
643 * gdb.server/connect-with-no-symbol-file.exp: New file.
645 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
647 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
649 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
651 * boards/gdbserver-base.exp (${board}_download): Copy source file to
652 standard output directory.
654 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
656 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
658 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
660 * gdb.btrace/instruction_history.c (loop): Add declaration.
662 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
664 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
666 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
668 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
669 parentheses to print.
670 (continue_handler): Likewise.
672 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
674 * gdb.server/solib-list.exp: Remove is_remote check.
675 Pass shlib= to gdb_compile. Don't link shared library with
676 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
677 Run binary filename through "readlink -f" on the target.
679 2016-04-08 Pedro Alves <palves@redhat.com>
681 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
682 interpreter filename as argument to gdbserver_spawn.
683 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
684 Return empty if $last_loaded_file does not exist.
686 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
688 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
689 * gdb.base/jit-main.c: Use exit after usage.
691 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
693 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
694 GDBHISTSIZE prior to the tests.
695 * gdb.base/gdbinit-history.exp: Likewise.
697 2016-04-07 Pedro Alves <palves@redhat.com>
699 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
700 instead of build_executable. Use gdb_load_shlibs.
702 2016-04-07 Yao Qi <yao.qi@linaro.org>
704 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
705 Execute "si" command.
707 2016-04-07 Yao Qi <yao.qi@linaro.org>
709 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
710 number instead of the comments on some line.
712 2016-04-06 Don Breazeal <donb@codesourcery.com>
714 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
715 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
717 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
719 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
720 standard_output_file. Remove unused binfile variable.
722 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
724 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
725 * gdb.python/py-mi-objfile.exp: Match "list main" output
728 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
730 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
733 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
735 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
737 * gdb.trace/ftrace.exp: Likewise.
738 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
740 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
741 (gdb_load_shlibs): Copy libraries to test directory when testing
742 natively. Only set solib-search-path if testing remotely.
743 * lib/mi-support.exp (mi_load_shlibs): Likewise.
745 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
747 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
748 gdb_download. Use it even if the target is not remote.
749 * gdb.base/jit.exp (compile_jit_test): Likewise.
750 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
751 output directory if the destination board is local, otherwise use
752 the standard remote_download from DejaGnu.
753 (gdb_download): Remove.
754 (gdb_load_shlibs): Use gdb_remote_download instead of
756 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
757 Use gdb_remote_download instead of gdb_download. Use it even if
758 the target is not remote.
759 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
760 instead of gdb_download.
762 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
764 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
765 (test_insert_delete_modify): Call mi_load_shlibs before trying to
768 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
771 * gdb.base/printcmds.exp: Add artificial arrays tests.
773 2016-03-31 Pedro Alves <palves@redhat.com>
776 * gdb.base/jit-main.c: Include unistd.h.
777 (ATTACH): Define to 0 if not already defined.
778 (wait_for_gdb, mypid): New globals.
779 (WAIT_FOR_GDB): New macro.
780 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
781 some breakpoint locations.
782 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
784 (one_jit_test): Add REATTACH parameter, and handle it. Use
785 continue_to_test_location.
786 (top level): Test attach, and adjusts calls to one_jit_test.
788 2016-03-31 Pedro Alves <palves@redhat.com>
791 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
792 BINSUFFIX parameter, and handle it.
793 (top level): Adjust calls compile_jit_test.
795 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
798 * gdb.python/py-mi-events-gdb.py: New file.
799 * gdb.python/py-mi-events.c: New file.
800 * gdb.python/py-mi-events.exp: New file.
802 2016-03-30 Yao Qi <yao.qi@linaro.org>
804 * gdb.reverse/until-precsave.exp: Match function name only.
805 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
806 Move malloc to a condition block.
807 * gdb.reverse/until-reverse.exp: Match function name only.
809 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
811 * gdb.trace/ftrace.exp: Set arg0exp for s390.
812 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
813 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
814 variable for GPR 0 instead of assuming it is register 0.
815 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
816 * lib/trace-support.exp: Add s390 registers.
818 2016-03-29 Yao Qi <yao.qi@linaro.org>
820 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
822 2016-03-24 Yao Qi <yao.qi@linaro.org>
824 * gdb.reverse/break-reverse.exp: Add quotation mark in the
827 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
829 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
830 maintaining separate logic for constructing the output path.
832 2016-03-16 Don Breazeal <donb@codesourcery.com>
834 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
835 Retry fork and waitpid on interrupted system call errors.
836 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
837 Use with_timeout_factor to increase timeout by factor of 10.
839 2016-03-15 Don Breazeal <donb@codesourcery.com>
841 * gdb.cp/scope-err.cc: New test program.
842 * gdb.cp/scope-err.exp: New test script.
843 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
844 lines and "set breakpoint here" comment.
845 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
846 Fixed some whitespace and format issues.
847 * gdb.mi/mi-linespec-err-cp.cc: New test program.
848 * gdb.mi/mi-linespec-err-cp.exp: New test script.
850 2016-03-15 Doug Evans <dje@google.com>
852 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
853 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
854 All callers updated. Add tests for enums, mixed flags register.
856 2016-03-15 Doug Evans <dje@google.com>
858 * gdb.base/skip.c (main): Call test_skip_file_and_function.
859 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
861 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
863 * gdb.base/default.exp: Add $_as_string to the list of expected
864 convenience functions.
866 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
868 * gdb.base/maint.exp: New tests for 'maint info line-table'.
870 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
872 * gdb.python/py-as-string.exp: New file.
873 * gdb.python/py-as-string.c: New file.
875 2016-03-09 Pedro Alves <palves@redhat.com>
877 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
878 signal" -> "Thread NN received signal" output change.
879 * gdb.threads/ia64-sigill.exp: Likewise.
880 * gdb.threads/linux-dp.exp: Likewise.
881 * gdb.threads/manythreads.exp: Likewise.
882 * gdb.threads/pending-step.exp: Likewise.
883 * gdb.threads/print-threads.exp: Likewise.
884 * gdb.threads/sigstep-threads.exp: Likewise.
885 * gdb.threads/staticthreads.exp: Likewise.
886 * gdb.threads/tls.exp: Likewise.
888 2016-03-09 Pedro Alves <palves@redhat.com>
890 * gdb.base/command-line-input.exp: New file.
892 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
894 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
895 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
896 * gdb.trace/pending.exp: Accept leading dot before function name.
897 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
898 * lib/trace-support.exp: Set registers for ppc.
900 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
902 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
903 use it for disassembly; accept .main in addition to main in backtrace.
905 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
906 Marcin Kościelnicki <koriakin@0x04.net>
908 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
909 (gdb_recursion_test_ptr): New global variable.
910 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
914 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
916 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
919 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
921 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
922 (bar): Add bar_start_lbl label.
923 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
924 of foo/bar for emitting DWARF and tracing.
926 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
928 * analyze-racy-logs.py: Set executable bit.
930 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
932 * Makefile.in (DEFAULT_RACY_ITER): New variable.
933 (CHECK_TARGET_TMP): Likewise.
934 (check-single-racy): New rule.
935 (check-parallel-racy): Likewise.
936 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
937 (do-check-parallel-racy): New rule.
938 (check-racy/%.exp): Likewise.
939 * README (Racy testcases): New section.
940 * analyze-racy-logs.py: New file.
942 2016-03-03 Doug Evans <dje@google.com>
944 * gdb.base/skip.exp: Use with_test_prefix.
946 2016-03-03 Yao Qi <yao.qi@linaro.org>
948 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
949 Invoke step_over_syscall "clone" and break_cond_on_syscall
951 * gdb.base/step-over-clone.c: New file.
953 2016-03-03 Yao Qi <yao.qi@linaro.org>
955 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
958 2016-03-03 Yao Qi <yao.qi@linaro.org>
960 * gdb.base/disp-step-fork.c: Rename to ...
961 * gdb.base/step-over-fork.c: ... it. New file.
962 * gdb.base/disp-step-vfork.c: Rename to ...
963 * gdb.base/step-over-vfork.c: ... it. New file.
964 * gdb.base/disp-step-syscall.exp: Rename to ...
965 * gdb.base/step-over-syscall.exp: ... it. New file.
966 (disp_step_cross_syscall): Rename to ...
967 (step_over_syscall): ... it.
969 2016-03-03 Yao Qi <yao.qi@linaro.org>
971 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
972 If target supports condition evaluation on target, invoke
973 break_cond_on_syscall for fork and vfork.
975 2016-03-03 Yao Qi <yao.qi@linaro.org>
977 * gdb.base/disp-step-syscall.exp: Don't invoke
978 support_displaced_stepping.
979 (disp_step_cross_syscall): Test with displaced stepping off and
982 2016-03-03 Yao Qi <yao.qi@linaro.org>
984 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
987 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
990 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
992 * gdb.fortran/vla-history.exp: Remove breakpoint.
994 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
996 * gdb.fortran/vla-history.exp: Lookup array elements and printing
999 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1001 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
1004 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
1006 * gdb.mi/vla.f90: Nullify pointer after declaration.
1008 2016-03-01 Pedro Alves <palves@redhat.com>
1010 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
1012 2016-03-01 Pedro Alves <palves@redhat.com>
1014 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
1015 before anything else.
1016 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
1018 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
1019 before anything else.
1020 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
1022 2016-03-01 Pedro Alves <palves@redhat.com>
1024 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
1026 2016-03-01 Yao Qi <yao.qi@linaro.org>
1028 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
1029 prepare_for_testing.
1031 2016-03-01 Yao Qi <yao.qi@linaro.org>
1033 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
1035 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1037 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
1038 manually constructing the output path.
1040 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1042 * gdb.arch/s390-stackless.S: New.
1043 * gdb.arch/s390-stackless.exp: New.
1045 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
1047 * gdb.dlang/circular.c: New file.
1048 * gdb.dlang/circular.exp: New file.
1050 2016-02-26 Yao Qi <yao.qi@linaro.org>
1052 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
1053 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
1054 (testcases): Update.
1056 2016-02-26 Yao Qi <yao.qi@linaro.org>
1058 * gdb.reverse/aarch64.c: Rename to ...
1059 * gdb.reverse/insn-reverse.c: ... it.
1060 * gdb.reverse/aarch64.exp: Rename to ...
1061 * gdb.reverse/insn-reverse.exp: ... it.
1063 2016-02-26 Yao Qi <yao.qi@linaro.org>
1065 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
1066 (testcase_ftype): New.
1067 (testcases): New array.
1069 (main): Call each element in testcases.
1070 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
1071 (read_testcase): New.
1072 Do the tests in a loop.
1074 2016-02-25 Yao Qi <yao.qi@linaro.org>
1076 * gdb.base/branches.c: Remove.
1078 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1081 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
1083 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1085 * gdb.trace/ftrace.exp: Remove unnecessary target check.
1087 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
1089 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
1090 change x86_64 call_insn to 'callq'.
1092 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
1094 * gdb.trace/tfile-avx.c: Move to...
1095 * gdb.trace/tracefile-pseudo-reg.c: Here.
1096 * gdb.trace/tfile-avx.exp: Move to...
1097 * gdb.trace/tracefile-pseudo-reg.exp: Here.
1099 2016-02-24 Gary Benson <gbenson@redhat.com>
1101 * gdb.base/attach-pie-noexec.exp: Do not expect an error
1104 2016-02-23 Doug Evans <dje@google.com>
1106 * gdb.base/skip.c (test_skip): New function.
1107 (end_test_skip_file_and_function): New function.
1108 (test_skip_file_and_function): New function.
1109 * gdb.base/skip1.c (test_skip): New function.
1110 (skip1_test_skip_file_and_function): New function.
1111 * gdb.base/skip.exp: Add tests for new skip options.
1112 * gdb.base/skip-solib.exp: Update expected output.
1113 * gdb.perf/skip-command.cc: New file.
1114 * gdb.perf/skip-command.exp: New file.
1115 * gdb.perf/skip-command.py: New file.
1117 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
1119 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
1120 info registers pattern.
1122 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
1124 * lib/future.exp: Add D support.
1125 (gdb_find_gdc): New proc.
1126 (gdb_default_target_compile): Add D support.
1128 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
1130 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
1132 (trace_speed_test): Determine the iteration count for a time
1133 between 15..30 seconds.
1135 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
1137 * gdb.arch/i386-mpx-sigsegv.c: New file.
1138 * gdb.arch/i386-mpx-sigsegv.exp: New file.
1139 * gdb.arch/i386-mpx-simple_segv.c: New file.
1140 * gdb.arch/i386-mpx-simple_segv.exp: New file.
1142 2016-02-18 Yao Qi <yao.qi@linaro.org>
1144 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1145 Don't call setup_kfail.
1147 2016-02-18 Yao Qi <yao.qi@linaro.org>
1149 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1150 Set "set breakpoint condition-evaluation" per $cond_bp_target.
1152 2016-02-16 Doug Evans <dje@google.com>
1154 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
1155 * gdb.base/skip1.c: Ditto.
1156 * gdb.base/skip.exp: Whitespace cleanup.
1158 2016-02-16 Don Breazeal <donb@codesourcery.com>
1161 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
1162 Remove kfail for PR remote/19496.
1164 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1166 * lib/gdb.exp (standard_temp_file): Return a path specific to
1167 the runtest invocation.
1169 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
1171 * gdb.trace/save-trace.exp: Change relative path to be in the
1172 standard output directory.
1174 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * gdb.arch/i386-prologue.c: Add missing prototypes.
1178 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1180 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
1181 * gdb.arch/i386-prologue.exp: Likewise.
1182 * gdb.arch/i386-size.exp: Likewise.
1184 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
1186 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
1187 define object file path.
1188 * gdb.btrace/gcore.exp: Use standard_output_file to define core
1190 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
1191 standard_output_file to define binfile.
1193 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1195 Fix compatibility with recent gfortran-5.3.1.
1196 * gdb.fortran/vla-history.exp (print vla1 allocated)
1197 (print vla2 allocated, print $2, print $3): Remove
1198 (print $4): Rename to ...
1199 (print $2): ... here.
1200 (print $9): Rename to ...
1201 (print $5): ... here.
1202 (print $10): Rename to ...
1203 (print $6): ... here.
1204 * gdb.fortran/vla.f90: Add pvla initialization.
1206 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1208 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
1210 * gdb.fortran/vla-value-sub.exp: Likewise.
1212 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
1214 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
1216 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
1218 * i386-biarch-core.exp: Define corefile using
1219 standard_output_file.
1221 2016-02-12 Yao Qi <yao.qi@linaro.org>
1223 * gdb.arch/arm-single-step-kernel-helper.c: New.
1224 * gdb.arch/arm-single-step-kernel-helper.exp: New.
1226 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
1228 * gdb.btrace/tailcall-only.exp: New.
1229 * gdb.btrace/tailcall-only.c: New.
1230 * gdb.btrace/x86_64-tailcall-only.S: New.
1231 * gdb.btrace/i686-tailcall-only.S: New.
1233 2016-02-11 Pedro Alves <palves@redhat.com>
1235 * README (Parallel testing): Add missing double quotes.
1237 2016-02-11 Pedro Alves <palves@redhat.com>
1239 * README (Parallel testing): New section.
1240 (GDB_PARALLEL): Rewrite.
1241 (FORCE_PARALLEL): Document.
1243 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
1245 * gdb.trace/tfile-avx.c: New test.
1246 * gdb.trace/tfile-avx.exp: New test.
1248 2016-02-09 Keith Seitz <keiths@redhat.com>
1250 PR breakpoints/19546
1251 * gdb.base/infcall-exec.c: New file.
1252 * gdb.base/infcall-exec2.c: New file.
1253 * gdb.base/infcall-exec.exp: New file.
1255 2016-02-09 Keith Seitz <keiths@redhat.com>
1257 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1258 (toplevel): Call test_bkpt_address.
1260 2016-02-09 Keith Seitz <keiths@redhat.com>
1263 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1264 (toplevel): Call test_bkpt_address.
1266 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1268 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1270 * configure: Regenerate.
1272 2016-02-09 Pedro Alves <palves@redhat.com>
1274 PR breakpoints/19548
1275 * gdb.base/execl-update-breakpoints.c (some_function): New
1278 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1279 Tighten expected GDB output.
1281 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1283 * Makefile.in (ALL_SUBDIRS): Remove.
1284 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1285 (distclean maintainer-clean realclean): Likewise.
1286 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1287 * configure: Regenerate.
1288 * gdb.ada/Makefile.in: Delete.
1289 * gdb.arch/Makefile.in: Likewise.
1290 * gdb.asm/Makefile.in: Likewise.
1291 * gdb.base/Makefile.in: Likewise.
1292 * gdb.btrace/Makefile.in: Likewise.
1293 * gdb.cell/Makefile.in: Likewise.
1294 * gdb.compile/Makefile.in: Likewise.
1295 * gdb.cp/Makefile.in: Likewise.
1296 * gdb.disasm/Makefile.in: Likewise.
1297 * gdb.dlang/Makefile.in: Likewise.
1298 * gdb.dwarf2/Makefile.in: Likewise.
1299 * gdb.fortran/Makefile.in: Likewise.
1300 * gdb.gdb/Makefile.in: Likewise.
1301 * gdb.go/Makefile.in: Likewise.
1302 * gdb.guile/Makefile.in: Likewise.
1303 * gdb.java/Makefile.in: Likewise.
1304 * gdb.linespec/Makefile.in: Likewise.
1305 * gdb.mi/Makefile.in: Likewise.
1306 * gdb.modula2/Makefile.in: Likewise.
1307 * gdb.multi/Makefile.in: Likewise.
1308 * gdb.objc/Makefile.in: Likewise.
1309 * gdb.opencl/Makefile.in: Likewise.
1310 * gdb.opt/Makefile.in: Likewise.
1311 * gdb.pascal/Makefile.in: Likewise.
1312 * gdb.perf/Makefile.in: Likewise.
1313 * gdb.python/Makefile.in: Likewise.
1314 * gdb.reverse/Makefile.in: Likewise.
1315 * gdb.server/Makefile.in: Likewise.
1316 * gdb.stabs/Makefile.in: Likewise.
1317 * gdb.threads/Makefile.in: Likewise.
1318 * gdb.trace/Makefile.in: Likewise.
1319 * gdb.xml/Makefile.in: Likewise.
1320 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1322 (standard_output_file): Remove check for GDB_PARALLEL, always
1323 return path in outputs/$subdir/$testname.
1325 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1327 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1328 (site.exp): Assign abs_srcdir to tcl's srcdir.
1330 2016-02-04 Yao Qi <yao.qi@linaro.org>
1332 * gdb.base/foll-exec-mode.c: Include limits.h.
1333 (main): Add parameters argc and argv. Get directory from
1335 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1337 * gdb.base/foll-exec.c: Include limits.h.
1338 (main): Add parameters argc and argv.
1339 Get directory from argv[0].
1340 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1341 Adjust tests on the number of lines as source code changed.
1342 * gdb.base/foll-vfork-exit.c: Include limits.h.
1343 (main): Add one line of statement before vfork.
1344 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1345 (main): Add parameters argc and argv. Get directory from
1347 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1348 (setup_gdb): Set tbreak to skip some source lines.
1349 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1350 (main): Add parameters argc and argv. Get directory from
1352 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1354 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1355 (main): Add parameters argc and argv. Get directory from
1357 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1360 2016-02-01 Doug Evans <dje@google.com>
1362 * gdb.base/skip.exp: Clean up multiple references to same test name.
1364 2016-02-01 Pedro Alves <palves@redhat.com>
1367 * gdb.threads/forking-threads-plus-breakpoint.exp
1368 (displaced_stepping_supported): New global.
1369 (probe_displaced_stepping_support): New procedure.
1370 (do_test): Add 'displaced' parameter, and use it.
1371 (top level): Check for displaced stepping support. Add displaced
1372 stepping on/off testing axis.
1374 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1376 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1377 pointer. Don't perform further tests on the unassociated pointer
1378 if the first test fails.
1380 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1382 * gdb.base/max-value-size.c: New file.
1383 * gdb.base/max-value-size.exp: New file.
1384 * gdb.base/huge.exp: Disable max-value-size for this test.
1386 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1388 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1390 2016-01-28 Yao Qi <yao.qi@linaro.org>
1392 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1394 2016-01-25 Pedro Alves <palves@redhat.com>
1397 * gdb.base/fork-running-state.c: New file.
1398 * gdb.base/fork-running-state.exp: New file.
1400 2016-01-25 Pedro Alves <palves@redhat.com>
1403 * gdb.base/catch-fork-kill.c: New file.
1404 * gdb.base/catch-fork-kill.exp: New file.
1406 2016-01-25 Pedro Alves <palves@redhat.com>
1408 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1409 Delete, moved to lib/gdb.exp.
1410 * gdb.threads/forking-threads-plus-breakpoint.exp
1411 (foreach_with_prefix): Likewise.
1412 * gdb.threads/process-dies-while-handling-bp.exp
1413 (foreach_with_prefix): Likewise.
1414 * lib/gdb.exp (foreach_with_prefix): New procedure.
1416 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1418 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1419 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1421 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1423 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1426 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1427 Pedro Alves <palves@redhat.com>
1429 Fix testsuite compatibility with Guile.
1430 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1433 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1435 Fix testsuite compatibility with Guile.
1436 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1437 (thread 1): New test for backtrace through signal handler.
1439 2016-01-22 Yao Qi <yao.qi@linaro.org>
1442 * gdb.base/multi-forks.c: Include
1443 ../lib/unbuffer_output.c
1444 (main): Call gdb_unbuffer_output.
1446 2016-01-21 Doug Evans <dje@google.com>
1448 * lib/ada.exp (gdb_compile_ada): Fix typo.
1450 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1452 * gdb.base/break-fun-addr.exp: New file.
1453 * gdb.base/break-fun-addr1.c: New file.
1454 * gdb.base/break-fun-addr2.c: New file.
1456 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1458 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1459 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1462 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1464 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1465 when GDB can not set the vector return value. Add more comments
1468 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1470 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1473 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1475 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1477 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1479 * Makefile.in (check-single): Pass --status to runtest.
1480 (check/%.exp): Likewise.
1482 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1484 * Makefile.in (check-parallel): Propagate return code from make
1487 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1489 * gdb.trace/ftrace.exp: Fix expected message on continue.
1490 * gdb.trace/pending.exp: Fix expected message on continue.
1491 * gdb.trace/trace-break.exp: Fix expected message on continue.
1493 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1495 * lib/gdb.exp (gdb_test): Remove unused global references.
1497 2016-01-18 Pedro Alves <palves@redhat.com>
1499 * gdb.base/async-shell.exp: Adjust expected output.
1500 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1501 * gdb.base/siginfo-thread.exp: Adjust expected output.
1502 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1503 * gdb.java/jnpe.exp: Adjust expected output.
1504 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1505 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1506 * gdb.threads/leader-exit.exp: Adjust expected output.
1507 * gdb.threads/manythreads.exp: Adjust expected output.
1508 * gdb.threads/pthreads.exp: Adjust expected output.
1509 * gdb.threads/schedlock.exp: Adjust expected output.
1510 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1511 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1513 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1515 * gdb.threads/sigthread.exp: Adjust expected output.
1516 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1518 2016-01-18 Yao Qi <yao.qi@linaro.org>
1520 * gdb.guile/scm-section-script.c: Replace @progbits with
1522 * gdb.python/py-section-script.c: Likewise.
1524 2016-01-15 Pedro Alves <palves@redhat.com>
1526 * gdb.multi/tids.exp: Test star wildcard ranges.
1528 2016-01-15 Pedro Alves <palves@redhat.com>
1530 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1531 command from "thread apply" invocation.
1532 (thr_apply_info_thr_invalid): Default the expected output to the
1534 (top level): Add tests that use convenience variables. Add tests
1535 for "thread apply" with a valid TID list, but missing the command.
1537 2016-01-13 Pedro Alves <palves@redhat.com>
1539 * gdb.base/default.exp: Expect $_gthread as well.
1540 * gdb.multi/tids.exp: Test $_gthread.
1541 * gdb.threads/thread-specific.exp: Test $_gthread.
1543 2016-01-13 Pedro Alves <palves@redhat.com>
1545 * gdb.multi/tids.exp: Test "info threads -gid".
1547 2016-01-13 Pedro Alves <palves@redhat.com>
1549 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1551 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1553 2016-01-07 Pedro Alves <palves@redhat.com>
1555 * gdb.base/break.exp: Adjust to output changes.
1556 * gdb.base/hbreak2.exp: Likewise.
1557 * gdb.base/sepdebug.exp: Likewise.
1558 * gdb.base/watch_thread_num.exp: Likewise.
1559 * gdb.linespec/keywords.exp: Likewise.
1560 * gdb.multi/info-threads.exp: Likewise.
1561 * gdb.threads/thread-find.exp: Likewise.
1562 * gdb.multi/tids.c: New file.
1563 * gdb.multi/tids.exp: New file.
1565 2016-01-13 Pedro Alves <palves@redhat.com>
1567 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1569 2016-01-13 Pedro Alves <palves@redhat.com>
1571 * gdb.base/default.exp: Expect $_inferior as well.
1572 * gdb.multi/base.exp: Test $_inferior.
1574 2016-01-13 Pedro Alves <palves@redhat.com>
1576 PR breakpoints/19388
1577 * gdb.base/catch-signal-siginfo-cond.c: New file.
1578 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1580 2016-01-12 Josh Stone <jistone@redhat.com>
1581 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1583 * gdb.base/catch-syscall.c (do_execve): New variable.
1584 (main): Conditionally trigger an execve.
1585 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1586 (test_catch_syscall_execve): New, check entry/return across execve.
1587 (do_syscall_tests): Call test_catch_syscall_execve.
1589 2016-01-12 Pedro Alves <palves@redhat.com>
1591 * gdb.base/random-signal.exp (do_test): New procedure, with body
1592 of testcase moved in.
1594 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1595 Pedro Alves <palves@redhat.com>
1597 * gdb.base/funcargs.exp (finish from indirectly called function):
1598 Reintroduce the case for 'First'.
1600 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1601 Pedro Alves <palves@redhat.com>
1603 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1604 (tcatch_vfork_then_child_follow_exec)
1605 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1608 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1610 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1611 and repeats to unlimited.
1612 * gdb.python/py-value.exp: Likewise.
1613 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1614 and repeats to unlimited.
1616 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1618 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1619 and reordering the functions.
1620 * gdb.multi/hangout.c: Likewise.
1621 * gdb.multi/hello.c: Likewise.
1623 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1625 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1627 (SingleStatisticTestResult.report): Use dict.keys instead of
1630 2016-01-06 Pedro Alves <palves@redhat.com>
1632 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1634 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1636 * gdb.btrace/dlopen.exp: New.
1637 * gdb.btrace/dlopen.c: New.
1638 * gdb.btrace/dlopen-dso.c: New.
1640 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1642 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1643 PATTERN argument is optional.
1645 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1647 * lib/ada.exp (target_compile_ada_from_dir): New function.
1648 (gdb_compile_ada): Reimplement avoiding the use of project files.
1649 * gdb.ada/gnat_ada.gpr: Delete.
1650 * gdb.ada/cond_lang.exp: Adjust test to make path before
1652 * gdb.ada/small_reg_param.exp: Likewise.
1654 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1656 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1658 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1660 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1663 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1665 * gdb.base/break.exp: Remove dead code.
1666 * gdb.base/sepdebug.exp: Likewise.
1668 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1670 * gdb.asm/asm-source.exp: Remove HP-UX references.
1671 * gdb.base/annota1.exp: Likewise.
1672 * gdb.base/annota3.exp: Likewise.
1673 * gdb.base/attach.exp: Likewise.
1674 * gdb.base/bigcore.exp: Likewise.
1675 * gdb.base/break.exp: Likewise.
1676 * gdb.base/call-ar-st.exp: Likewise.
1677 * gdb.base/callfuncs.exp: Likewise.
1678 * gdb.base/catch-fork-static.exp: Likewise.
1679 * gdb.base/display.exp: Likewise.
1680 * gdb.base/foll-exec-mode.exp: Likewise.
1681 * gdb.base/foll-exec.exp: Likewise.
1682 * gdb.base/foll-fork.exp: Likewise.
1683 * gdb.base/foll-vfork.exp: Likewise.
1684 * gdb.base/funcargs.exp: Likewise.
1685 * gdb.base/hbreak2.exp: Likewise.
1686 * gdb.base/inferior-died.exp: Likewise.
1687 * gdb.base/interrupt.exp: Likewise.
1688 * gdb.base/multi-forks.exp: Likewise.
1689 * gdb.base/nodebug.exp: Likewise.
1690 * gdb.base/sepdebug.exp: Likewise.
1691 * gdb.base/solib1.c: Likewise.
1692 * gdb.base/step-test.exp: Likewise.
1693 * gdb.mi/non-stop.c: Likewise.
1694 * gdb.mi/pthreads.c: Likewise.
1695 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1696 * gdb.threads/pthreads.c: Likewise.
1697 * gdb.threads/staticthreads.exp: Likewise.
1698 * lib/future.exp: Likewise.
1699 * lib/gdb.exp: Likewise.
1700 * gdb.base/so-indr-cl.c: Remove.
1701 * gdb.base/so-indr-cl.exp: Likewise.
1702 * gdb.base/solib.c: Likewise.
1703 * gdb.base/solib.exp: Likewise.
1704 * gdb.base/solib2.c: Likewise.
1706 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1708 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1709 * gdb.base/call-ar-st.exp: Likewise.
1710 * gdb.base/callfuncs.exp: Likewise.
1711 * gdb.base/condbreak.exp: Likewise.
1712 * gdb.base/constvars.exp: Likewise.
1713 * gdb.base/hbreak2.exp: Likewise.
1714 * gdb.base/langs.exp: Likewise.
1715 * gdb.base/list.exp: Likewise.
1716 * gdb.base/long_long.exp: Likewise.
1717 * gdb.base/ptype.exp: Likewise.
1718 * gdb.base/scope.exp: Likewise.
1719 * gdb.base/signals.exp: Likewise.
1720 * gdb.base/so-impl-ld.exp: Likewise.
1721 * gdb.base/varargs.exp: Likewise.
1722 * gdb.base/volatile.exp: Likewise.
1723 * gdb.base/whatis.exp: Likewise.
1724 * gdb.cp/cplusfuncs.exp: Likewise.
1725 * gdb.cp/inherit.exp: Likewise.
1726 * gdb.cp/local.exp: Likewise.
1727 * gdb.cp/member-ptr.exp: Likewise.
1728 * gdb.cp/method.exp: Likewise.
1729 * gdb.cp/overload.exp: Likewise.
1730 * gdb.cp/templates.exp: Likewise.
1731 * gdb.stabs/weird.exp: Likewise.
1732 * lib/compiler.c: Likewise.
1733 * lib/compiler.cc: Likewise.
1734 * lib/cp-support.exp: Likewise.
1735 * lib/gdb.exp: Likewise.
1737 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1739 * configure.ac: Remove HP-UX case.
1740 * configure: Regenerate.
1742 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1744 * lib/gdb.exp (gdb_compile): Add function doc.
1746 2015-12-17 Pedro Alves <palves@redhat.com>
1749 * gdb.multi/info-threads.exp: New file.
1751 2015-12-15 Yao Qi <yao.qi@linaro.org>
1753 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1756 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1758 * gdb.base/history-duplicates.exp: Skip if no readline support.
1760 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1762 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1764 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1766 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1768 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1770 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1771 ctrl-C if nointerrupts target property is set.
1772 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1773 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1774 * gdb.base/paginate-bg-execution.exp: Likewise.
1775 * gdb.base/paginate-execution-startup.exp: Likewise.
1776 * gdb.base/random-signal.exp: Likewise.
1777 * gdb.base/range-stepping.exp: Likewise.
1778 * gdb.cp/annota2.exp: Likewise.
1779 * gdb.cp/annota3.exp: Likewise.
1780 * gdb.gdb/selftest.exp: Likewise.
1781 * gdb.threads/continue-pending-status.exp: Likewise.
1782 * gdb.threads/leader-exit.exp: Likewise.
1783 * gdb.threads/manythreads.exp: Likewise.
1784 * gdb.threads/pthreads.exp: Likewise.
1785 * gdb.threads/schedlock.exp: Likewise.
1786 * gdb.threads/sigthread.exp: Likewise.
1788 2015-12-11 Don Breazeal <donb@codesourcery.com>
1790 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1792 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1793 * gdb.base/foll-exec.exp (main): Enable for target remote.
1794 * gdb.base/foll-fork.exp (main): Likewise.
1795 * gdb.base/foll-vfork.exp (main): Likewise.
1796 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1797 (proc continue_to_exit_bp_loc): Use clean_restart.
1798 * gdb.base/pie-execl.exp (main): Disable for target remote.
1799 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1800 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1801 * gdb.threads/execl.exp (main): Likewise.
1802 * gdb.threads/fork-child-threads.exp (main): Likewise.
1803 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1805 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1807 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1808 pid.tid style ptids, instead of just tid.
1809 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1810 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1811 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1812 ptids, instead of just tid.
1814 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1816 * gdb.base/list.exp (test_list_forward): Add end of file error
1818 (test_repeat_list_command): Add end of file error test.
1819 (test_list_backwards): Add beginning of file error test.
1821 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1823 * gdb.base/list.exp (test_list_invalid_args): New function,
1824 defined, and called.
1826 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1828 * gdb.base/list.exp (test_list): Make test names unique.
1830 2015-12-11 Yao Qi <yao.qi@linaro.org>
1832 * gdb.base/coremaker2.c: Remove.
1834 2015-12-10 Pedro Alves <palves@redhat.com>
1836 * gdb.multi/base.exp: Remove stale "spaces" references.
1838 2015-12-10 Pedro Alves <palves@redhat.com>
1840 * gdb.multi/base.exp: Don't use nowarnings.
1841 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1842 * gdb.multi/hangout.c: Include stdio.h.
1843 * gdb.multi/hello.c: Include stdlib.h.
1844 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1845 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1846 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1848 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1850 * gdb.dwarf2/dw2-ranges-base.c: New file.
1851 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1852 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1853 support additional line table, and debug ranges generation.
1854 (Dwarf::ranges): New function, generate .debug_ranges.
1855 (Dwarf::lines): Support generating simple line table programs.
1856 (Dwarf::assemble): Initialise new namespace variables.
1858 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1860 * gdb.base/async.exp (proc test_background): Add case for
1861 asynchronous execution not supported.
1863 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1865 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1866 format and change test names to make them unique.
1868 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1869 Pedro Alves <pedro@redhat.com>
1872 Add checking of floatformats setup on x86_64 hosts.
1873 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1874 (smallval, bigval): New labels/constants.
1875 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1876 float" after loading bigval and smallval.
1878 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1880 * gdb.ada/fun_overload_menu.exp: New testcase.
1881 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1883 2015-12-04 Josh Stone <jistone@redhat.com>
1885 * gdb.base/catch-fork-static.exp: New.
1887 2015-12-03 Yao Qi <yao.qi@linaro.org>
1889 * gdb.base/sizeof.c: Don't include stdio.h and
1890 ../lib/unbuffer_output.c.
1891 (main): New variable 'size' and 'value'. Remove printf and
1892 gdb_unbuffer_output. Assign return value to size and value.
1893 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1895 (check_sizeof): Check the result by printing variable 'size'.
1896 (check_valueof): Check the result by printing variable 'value'.
1898 2015-12-01 Yao Qi <yao.qi@linaro.org>
1900 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1901 for aarch64*-*-linux* target.
1903 2015-11-30 Pedro Alves <palves@redhat.com>
1905 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1907 2015-11-30 Pedro Alves <palves@redhat.com>
1909 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1910 Handle non-stop mode vCont replies.
1912 2015-11-30 Pedro Alves <palves@redhat.com>
1914 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1915 prepare_for_testing. Start gdb with "set non-stop on" appended to
1916 GDBFLAGS. Lax expected stop output.
1918 2015-11-27 Yao Qi <yao.qi@linaro.org>
1920 * gdb.arch/arm-neon.exp: New.
1921 * gdb.arch/arm-neon.c: New.
1923 2015-11-27 Yao Qi <yao.qi@linaro.org>
1925 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1927 2015-11-27 Yao Qi <yao.qi@linaro.org>
1929 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1930 frames-invalid annotation.
1932 2015-11-27 Yao Qi <yao.qi@linaro.org>
1934 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1936 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1938 * gdb.threads/names.exp: New file.
1939 * gdb.threads/names.c: New file.
1940 * README: Mention gdb,no_thread_names.
1942 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1945 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1948 2015-11-24 Pedro Alves <palves@redhat.com>
1951 * gdb.base/display.exp: Expect displays to be sorted in ascending
1952 order. Use multi_line.
1953 * gdb.base/solib-display.exp: Likewise.
1955 2015-11-24 Pedro Alves <palves@redhat.com>
1958 * gdb.base/display.exp: Expect displays to be sorted in ascending
1959 order. Use multi_line.
1960 * gdb.base/solib-display.exp: Likewise.
1962 2015-11-24 Pedro Alves <palves@redhat.com>
1965 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1966 threads in ascending order.
1967 * gdb.base/foll-fork.exp: Likewise.
1968 * gdb.base/foll-vfork.exp: Likewise.
1969 * gdb.base/multi-forks.exp: Likewise.
1970 * gdb.mi/mi-nonstop.exp: Likewise.
1971 * gdb.mi/mi-nsintrall.exp: Likewise.
1972 * gdb.multi/base.exp: Likewise.
1973 * gdb.multi/multi-arch.exp: Likewise.
1974 * gdb.python/py-inferior.exp: Likewise.
1975 * gdb.threads/break-while-running.exp: Likewise.
1976 * gdb.threads/execl.exp: Likewise.
1977 * gdb.threads/gcore-thread.exp: Likewise.
1978 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1979 * gdb.threads/kill.exp: Likewise.
1980 * gdb.threads/linux-dp.exp: Likewise.
1981 * gdb.threads/multiple-step-overs.exp: Likewise.
1982 * gdb.threads/next-bp-other-thread.exp: Likewise.
1983 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1984 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1985 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1986 * gdb.threads/thread-find.exp: Likewise.
1987 * gdb.threads/tls.exp: Likewise.
1988 * lib/mi-support.exp (mi_reverse_list): Delete.
1989 (mi_check_thread_states): No longer reverse list.
1991 2015-11-24 Pedro Alves <palves@redhat.com>
1993 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1996 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1998 * gdb.trace/actions.c: Include trace-common.h.
1999 (main): Add a location for a fast tracepoint.
2000 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
2001 the normal tracepoints.
2002 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
2004 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
2006 * save-trace.exp: Factor out code to these...
2007 (gdb_save_tracepoints): New.
2008 (gdb_load_tracepoints): New.
2009 (do_save_load_test): New.
2011 2015-11-23 Kevin Buettner <kevinb@redhat.com>
2013 * gdb.base/asmlabel.exp: New test.
2014 * gdb.base/asmlabel.c: New test case.
2016 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2018 * gdb.base/wrong_frame_bt_full-main.c: New file.
2019 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
2020 * gdb.base/wrong_frame_bt_full.exp: New file.
2022 2015-11-23 Joel Brobecker <brobecker@adacore.com>
2024 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
2026 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2028 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
2029 pstate register when comparing registers values in
2030 sparc64-*-linux-gnu targets to avoid spurious differences.
2032 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
2034 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
2036 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
2038 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
2039 as type argument to gdb_compile.
2040 * gdb.base/nested-subp2.exp: Likewise.
2041 * gdb.base/nested-subp3.exp: Likewise.
2043 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
2045 * lib/dwarf.exp (_note): Fix left shift of negative value.
2046 * gdb.trace/trace-condition.exp: Likewise.
2048 2015-11-13 Yao Qi <yao.qi@linaro.org>
2050 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
2051 comments about d10v.
2052 (test_scalar_returns): Likewise.
2053 * gdb.base/d10v.ld: Remove.
2054 * gdb.base/overlays.exp: Remove the target triplet checking for
2056 * gdb.base/structs.exp (test_struct_returns): Remove the
2057 comments about d10v.
2058 (test_struct_calls): Likewise.
2060 2015-11-13 Yao Qi <yao.qi@linaro.org>
2062 * gdb.base/gnu_vector.exp: Check the return value by "p res".
2063 * gdb.base/gnu_vector.c: Don't include stdio.h.
2064 (main): Don't print res and call add_some_intvecs.
2066 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
2068 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
2071 (func4): Use FAST_TRACEPOINT_LABEL.
2072 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
2075 (thread_function): Use FAST_TRACEPOINT_LABEL.
2076 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
2078 (marker): Use FAST_TRACEPOINT_LABEL.
2079 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
2080 (pendfunc1): Remove.
2081 (pendfunc): Use FAST_TRACEPOINT_LABEL.
2082 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
2084 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
2085 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
2088 (marker): Use FAST_TRACEPOINT_LABEL.
2089 * gdb.trace/trace-common.h: New header.
2090 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
2093 (marker): Use FAST_TRACEPOINT_LABEL.
2094 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
2096 (thread_function): Use FAST_TRACEPOINT_LABEL.
2098 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
2100 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
2102 * gdb.trace/change-loc.exp: Use global pcreg definition.
2103 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
2104 * gdb.trace/entry-values.exp: Use global spreg definition, add $
2106 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
2107 * gdb.trace/pending.exp: Likewise.
2108 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
2109 * gdb.trace/trace-break.exp: Likewise.
2110 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
2112 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
2113 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
2115 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
2117 2015-11-09 Joel Brobecker <brobecker@adacore.com>
2119 * gdb.ada/fin_fun_out: New testcase.
2121 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2123 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
2124 value associated with DW_AT_byte_size.
2125 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
2126 constants for DW_AT_byte_size, DW_AT_lower_bound, and
2129 2015-11-07 Kevin Buettner <kevinb@redhat.com>
2131 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
2132 (gdb_target_symbol_prefix_flags): Define in terms of _asm
2134 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
2135 gdb.dwarf2/dw2-canonicalize-type.exp,
2136 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
2137 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
2138 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
2139 provided by gdb_target_symbol_prefix_flags_asm.
2140 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
2141 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
2142 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
2143 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
2144 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
2145 macros where needed). Use this macro for symbols which require
2146 the prefix provided by SYMBOL_PREFIX.
2148 2015-11-05 Kevin Buettner <kevinb@redhat.com>
2150 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
2152 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
2153 representing expressions, of more than one list element.
2154 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
2155 to prepend linker symbol prefix to f.
2156 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
2157 table_1 and table_2.
2158 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
2159 Likewise, for f and g.
2160 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
2162 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
2164 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
2165 table_1_ptr and table_2_ptr.
2167 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2168 Joel Brobecker <brobecker@adacore.com>
2170 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
2172 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
2174 * gdb.reverse/s390-mvcle.c: New test.
2175 * gdb.reverse/s390-mvcle.exp: New file.
2176 * lib/gdb.exp: Enable reverse tests on s390*-linux.
2178 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2180 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
2182 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
2184 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
2186 * gdb.reverse/getresuid-reverse.exp: Likewise.
2187 * gdb.reverse/pipe-reverse.exp: Likewise.
2188 * gdb.reverse/readv-reverse.exp: Likewise.
2189 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2190 * gdb.reverse/time-reverse.exp: Likewise.
2191 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
2193 2015-10-30 Yao Qi <yao.qi@linaro.org>
2195 * gdb.threads/wp-replication.c (watch_count_done): Remove.
2196 (empty_cycle): Remove.
2197 (main): Don't call empty_cycle. Don't use watch_count_done.
2198 * gdb.threads/wp-replication.exp: Don't set breakpoint on
2199 empty_cycle. Rewrite the code counting HW watchpoints.
2201 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
2203 * gdb.reverse/fstatat-reverse.c: New test.
2204 * gdb.reverse/fstatat-reverse.exp: New file.
2205 * gdb.reverse/getresuid-reverse.c: New test.
2206 * gdb.reverse/getresuid-reverse.exp: New file.
2207 * gdb.reverse/pipe-reverse.c: New test.
2208 * gdb.reverse/pipe-reverse.exp: New file.
2209 * gdb.reverse/readv-reverse.c: New test.
2210 * gdb.reverse/readv-reverse.exp: New file.
2211 * gdb.reverse/recvmsg-reverse.c: New test.
2212 * gdb.reverse/recvmsg-reverse.exp: New file.
2213 * gdb.reverse/time-reverse.c: New test.
2214 * gdb.reverse/time-reverse.exp: New file.
2215 * gdb.reverse/waitpid-reverse.c: New test.
2216 * gdb.reverse/waitpid-reverse.exp: New file.
2218 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2220 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
2222 2015-10-26 Doug Evans <dje@google.com>
2225 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
2226 * gdb.dwarf2/bad-regnum.c: New file.
2227 * gdb.dwarf2/bad-regnum.exp: New file.
2229 2015-10-26 Doug Evans <dje@google.com>
2232 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
2235 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2237 * gdb.compile/compile.exp (compile code globalvar): Update expectation
2238 for a change by "Mention language in compile error message".
2240 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
2243 * gdb.python/py-type.c (C::a_method): New.
2244 (C::a_const_method): New.
2245 (C::a_static_method): New.
2247 * gdb.python/py-type.exp (test_fields): Test getting fields
2248 from function and method.
2250 2015-10-21 Keven Boell <keven.boell@intel.com>
2252 * gdb.fortran/vla-alloc-assoc.exp: New file.
2253 * gdb.fortran/vla-datatypes.exp: New file.
2254 * gdb.fortran/vla-datatypes.f90: New file.
2255 * gdb.fortran/vla-history.exp: New file.
2256 * gdb.fortran/vla-ptype-sub.exp: New file.
2257 * gdb.fortran/vla-ptype.exp: New file.
2258 * gdb.fortran/vla-sizeof.exp: New file.
2259 * gdb.fortran/vla-sub.f90: New file.
2260 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2261 * gdb.fortran/vla-value-sub-finish.exp: New file.
2262 * gdb.fortran/vla-value-sub.exp: New file.
2263 * gdb.fortran/vla-value.exp: New file.
2264 * gdb.fortran/vla-ptr-info.exp: New file.
2265 * gdb.mi/mi-vla-fortran.exp: New file.
2266 * gdb.mi/vla.f90: New file.
2268 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2270 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2271 of hardwired timeout value.
2273 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2274 Pedro Alves <palves@redhat.com>
2276 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2277 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2279 2015-10-19 Josh Stone <jistone@redhat.com>
2281 * gdb.base/catch-syscall.c: Include <sched.h>.
2282 (unknown_syscall): New variable.
2283 (main): Trigger a vfork and an unknown syscall.
2284 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2285 (unknown_syscall_number): Likewise.
2286 (check_call_to_syscall): Accept an optional syscall pattern.
2287 (check_return_from_syscall): Likewise.
2288 (check_continue): Likewise.
2289 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2290 (test_catch_syscall_skipping_return): New test toggling off 'catch
2291 syscall' to step over the syscall return, then toggling back on.
2292 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2293 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2294 (do_syscall_tests): Call test_catch_syscall_without_args and
2295 test_catch_syscall_mid_vfork.
2296 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2297 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2299 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2301 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2302 print g_vE): Add new pass patterns.
2303 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2304 print various symbol names for vptr fields.
2306 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2308 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2311 2015-10-12 Yao Qi <yao.qi@linaro.org>
2313 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2315 2015-10-12 Yao Qi <yao.qi@linaro.org>
2317 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2318 is aarch64*-*-linux*.
2320 2015-10-12 Yao Qi <yao.qi@linaro.org>
2322 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2323 (can_relocate_bcond_true): ... it.
2324 (can_relocate_bcond_false): New function.
2326 (can_relocate_bl): Likewise.
2327 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2330 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2332 * gdb.base/nested-addr.c: New file.
2333 * gdb.base/nested-addr.exp: New testcase.
2335 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2337 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2338 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2339 its output. Ignore the output of "record goto begin" and instead
2340 check that GDB is replaying.
2342 2015-10-09 Pedro Alves <palves@redhat.com>
2344 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2345 (top level): Use it in the run with no args test.
2347 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2349 * gdb.dlang/properties.exp: New file.
2351 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2353 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2354 whether or not address 0x1000 is mapped on the target.
2356 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2358 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2361 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2363 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2364 instruction-history test.
2366 2015-09-28 Doug Evans <dje@google.com>
2368 * gdb.base/gcore.c (array_func): Add reference to static_array.
2370 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2372 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2375 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2377 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2378 short or char as base type.
2380 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2382 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2383 to allow any size enum.
2385 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2387 * gdb.ada/array_ptr_renaming.exp: New testcase.
2388 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2389 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2391 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2393 * gdb.trace/ftrace-lock.c: New file.
2394 * gdb.trace/ftrace-lock.exp: New file.
2396 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2398 * gdb.arch/insn-reloc.c: New file.
2399 * gdb.arch/ftrace-insn-reloc.exp: New file.
2401 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2403 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2405 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2406 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2407 * gdb.trace/range-stepping.c: Likewise.
2408 * gdb.trace/trace-break.c: Likewise.
2409 * gdb.trace/trace-mt.c (thread_function): Likewise.
2410 * gdb.trace/ftrace.c (marker): Likewise.
2411 * gdb.trace/trace-condition.c (marker): Likewise.
2412 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2413 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2416 2015-09-18 Doug Evans <xdje42@gmail.com>
2418 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2419 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2421 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2423 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2426 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2428 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2429 the pending breakpoint. Remove timeout override for "Run till
2430 MI pending breakpoint on pendfunc3 on thread 2" test.
2432 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2434 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2437 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2439 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2440 in breakpoint filename pattern.
2442 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2444 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2446 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2448 * gdb.linespec/explicit.exp: Check for readline support for
2449 tab-completion tests. Fix obvious typo.
2451 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2453 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2456 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2458 * gdb.btrace/non-stop.c: New.
2459 * gdb.btrace/non-stop.exp: New.
2461 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2462 Yao Qi <yao.qi@linaro.org>
2464 * gdb.trace/trace-condition.c: New file.
2465 * gdb.trace/trace-condition.exp: New file.
2467 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2469 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2470 for testing bytecode compilation.
2472 2015-09-16 Pedro Alves <palves@redhat.com>
2473 Sandra Loosemore <sandra@codesourcery.com>
2475 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2476 (SECONDS): Redefine.
2477 (main): Call pthread_kill and alarm early.
2478 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2480 (test): If the target can't hardware step and doesn't support
2481 displaced stepping, increase the timeout.
2483 2015-09-16 Pedro Alves <palves@redhat.com>
2485 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2486 (enable_debug): New procedures.
2487 (test): Use them. Bail out if waiting for threads fails.
2488 (top level): Bail out if a test fails.
2490 2015-09-16 Yao Qi <yao.qi@linaro.org>
2492 * gdb.asm/asm-source.exp: Set asm-arch for
2493 aarch64*-*-* target.
2494 * gdb.asm/aarch64.inc: New file.
2496 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2498 * gdb.ada/array_of_variable_length.exp: New testcase.
2499 * gdb.ada/array_of_variable_length/foo.adb: New file.
2500 * gdb.ada/array_of_variable_length/pck.adb: New file.
2501 * gdb.ada/array_of_variable_length/pck.ads: New file.
2503 2015-09-15 Doug Evans <dje@google.com>
2505 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2506 of function static local variable.
2508 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2510 * gdb.threads/tls-so_extern.exp: New test file.
2511 * gdb.threads/tls-so_extern.c: New test file.
2512 * gdb.threads/tls-so_extern_main.c: New test file.
2514 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2516 * gdb.opt/solib-intra-step-lib.c: New file.
2517 * gdb.opt/solib-intra-step-main.c: New file.
2518 * gdb.opt/solib-intra-step.exp: New file.
2520 2015-09-15 Pedro Alves <palves@redhat.com>
2522 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2523 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2525 2015-09-14 Pedro Alves <palves@redhat.com>
2527 * gdb.base/hook-stop-continue.c: Delete.
2528 * gdb.base/hook-stop-continue.exp: Delete.
2529 * gdb.base/hook-stop-frame.c: Delete.
2530 * gdb.base/hook-stop-frame.exp: Delete.
2531 * gdb.base/hook-stop.c: New file.
2532 * gdb.base/hook-stop.exp: New file.
2534 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2536 * gdb.ada/access_to_packed_array.exp: New testcase.
2537 * gdb.ada/access_to_packed_array/foo.adb: New file.
2538 * gdb.ada/access_to_packed_array/pack.adb: New file.
2539 * gdb.ada/access_to_packed_array/pack.ads: New file.
2541 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2543 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2546 2015-09-11 Don Breazeal <donb@codesourcery.com>
2548 * gdb.base/foll-exec.c: Add copyright header. Fix
2550 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2551 (do_exec_tests): Use clean_restart in place of zap_session,
2552 and for test initialization. Fix formatting issues. Use
2553 fail in place of perror.
2554 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2555 an expect statement to match an expression with output from
2556 the program under debug.
2557 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2558 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2559 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2560 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2561 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2563 2015-09-09 Doug Evans <dje@google.com>
2565 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2567 2015-09-09 Doug Evans <dje@google.com>
2569 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2571 2015-09-09 Doug Evans <dje@google.com>
2573 * gdb.base/savedregs.exp: Fix typo.
2575 2015-09-09 Pedro Alves <palves@redhat.com>
2577 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2579 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2581 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2582 command actually switches threads. Give up on remaining
2583 tests if target fails to stop at breakpoint.
2585 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2587 * gdb.ada/funcall_char.exp: New testcase.
2588 * gdb.ada/funcall_char/foo.adb: New file.
2590 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2592 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2593 expected outputs. Add two testcases for completing ambiguous
2595 * gdb.ada/complete/aux_pck.adb: New file.
2596 * gdb.ada/complete/aux_pck.ads: New file.
2597 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2598 Ambiguous_Func functions.
2599 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2600 * gdb.ada/complete/pck.adb: Likewise.
2602 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2604 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2605 failures to run the test program under GDB.
2607 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2609 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2612 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2614 * gdb.base/run-after-attach.exp: New test file.
2615 * gdb.base/run-after-attach.c: New test file.
2617 2015-08-26 Don Breazeal <donb@codesourcery.com>
2619 * gdb.base/foll-exec-2.c: New test program.
2620 * gdb.base/foll-exec-2.exp: New test.
2622 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2624 * gdb.base/nested-subp1.exp: New file.
2625 * gdb.base/nested-subp1.c: New file.
2626 * gdb.base/nested-subp2.exp: New file.
2627 * gdb.base/nested-subp2.c: New file.
2628 * gdb.base/nested-subp3.exp: New file.
2629 * gdb.base/nested-subp3.c: New file.
2631 2015-08-24 Pedro Alves <palves@redhat.com>
2633 * gdb.server/connect-without-multi-process.c: New file.
2634 * gdb.server/connect-without-multi-process.exp: New file.
2636 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2638 * gdb.opt/inline-markers.c: Make z int.
2640 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2642 * gdb.opt/inline-markers.c: Make z volatile.
2644 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2646 * gdb.opt/inline-bt.c: New volatile global z.
2647 * gdb.opt/inline-cmds.c: Likewise.
2648 * gdb.opt/inline-locals.c: Likewise.
2649 * gdb.opt/inline-markers.c: New extern global z.
2651 (inline_fn): Likewise.
2653 2015-08-24 Pedro Alves <palves@redhat.com>
2655 * config/m32r-stub.exp: Remove file.
2656 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2657 * gdb.base/call-rt-st.exp: Likewise.
2658 * gdb.base/call-strs.exp: Likewise.
2659 * gdb.base/default.exp: Remove references to h8300-*-hms and
2661 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2663 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2665 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2666 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2667 and "return" use KFAIL when GDB can not read/write the vector
2670 2015-08-21 Gary Benson <gbenson@redhat.com>
2672 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2674 2015-08-20 Pedro Alves <palves@redhat.com>
2676 * gdb.server/solib-list.exp: No longer expect an interior stop in
2679 2015-08-20 Pedro Alves <palves@redhat.com>
2681 * gdb.server/connect-stopped-target.c: New file.
2682 * gdb.server/connect-stopped-target.exp: New file.
2684 2015-08-20 Pedro Alves <palves@redhat.com>
2686 * gdb.dwarf2/comp-unit-lang.exp: New file.
2687 * gdb.dwarf2/comp-unit-lang.c: New file.
2689 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2691 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2692 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2694 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2696 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2697 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2699 2015-08-18 Doug Evans <dje@google.com>
2700 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2702 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2703 skip_python_tests. New arg prompt_regexp.
2704 (skip_python_tests): New function.
2705 * lib/mi-support.exp (mi_skip_python_tests): New function.
2706 * gdb.python/py-mi-objfile-gdb.py: New file.
2707 * gdb.python/py-mi-objfile.c: New file.
2708 * gdb.python/py-mi-objfile.exp: New file.
2710 2015-08-17 Keith Seitz <keiths@redhat.com>
2712 * gdb.linespec/explicit.exp: Move strace test from here ...
2713 * gdb.trace/strace.exp: ... to here.
2715 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2717 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2718 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2720 2015-08-14 Doug Evans <xdje42@gmail.com>
2722 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2723 inferior before selecting a new file.
2725 2015-08-14 Doug Evans <xdje42@gmail.com>
2727 * gdb.mi/mi-disassemble.exp: Update.
2728 * gdb.base/disasm-optim.S: New file.
2729 * gdb.base/disasm-optim.c: New file.
2730 * gdb.base/disasm-optim.h: New file.
2731 * gdb.base/disasm-optim.exp: New file.
2733 2015-08-14 Keith Seitz <keiths@redhat.com>
2735 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2738 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2740 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2742 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2744 * gdb.ada/fun_renaming.exp: New testcase.
2745 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2746 * gdb.ada/fun_renaming/pack.adb: New file.
2747 * gdb.ada/fun_renaming/pack.ads: New file.
2749 2015-08-12 Keith Seitz <keiths@redhat.com>
2751 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2752 gdb_get_line_number.
2754 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2756 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2757 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2758 gdb.base/dso2dso.exp: New files.
2760 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2761 Pedro Alves <palves@redhat.com>
2762 Keith Seitz <keiths@redhat.com>
2764 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2767 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2769 * gdb.base/gdbhistsize-history.exp
2770 (test_histsize_history_setting): Use save_vars.
2771 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2773 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2774 * gdb.base/readline.exp: Use save_vars.
2776 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2778 * lib/gdb.exp (save_vars): New proc.
2780 2015-08-11 Keith Seitz <keiths@redhat.com>
2782 * gdb.base/help.exp: Update help_breakpoint_text.
2784 2015-08-11 Keith Seitz <keiths@redhat.com>
2786 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2787 (at toplevel): Call test_explicit_breakpoints.
2788 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2790 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2791 breakpoint conditions, "-cond".
2793 2015-08-11 Keith Seitz <keiths@redhat.com>
2795 * gdb.linespec/3explicit.c: New file.
2796 * gdb.linespec/cpexplicit.cc: New file.
2797 * gdb.linespec/cpexplicit.exp: New file.
2798 * gdb.linespec/explicit.c: New file.
2799 * gdb.linespec/explicit.exp: New file.
2800 * gdb.linespec/explicit2.c: New file.
2801 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2802 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2803 before using in the matching pattern.
2804 Clarify that `prefix' is a regular expression.
2806 2015-08-11 Keith Seitz <keiths@redhat.com>
2808 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2810 Add tests for missing ",FMT" and ",".
2812 2015-08-10 Doug Evans <dje@google.com>
2813 Keith Seitz <keiths@redhat.com>
2816 * gdb.base/completion.exp: Add location completer tests.
2818 2015-08-07 Pedro Alves <palves@redhat.com>
2820 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2822 (top level): Run do_test with and without displaced stepping.
2824 2015-08-07 Pedro Alves <palves@redhat.com>
2826 * gdb.base/valgrind-disp-step.c: New file.
2827 * gdb.base/valgrind-disp-step.exp: New file.
2829 2015-08-07 Pedro Alves <palves@redhat.com>
2831 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2833 (main): Add alarm. Run an infinite loop instead of calling
2835 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2837 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2839 (main): Add alarm. Run an infinite loop instead of calling
2841 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2844 2015-08-07 Pedro Alves <palves@redhat.com>
2846 * gdb.base/checkpoint-ns.exp: New file.
2847 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2850 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2852 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2853 * gdb.btrace/instruction_history.exp: Update.
2854 * gdb.btrace/tsx.exp: New.
2855 * gdb.btrace/tsx.c: New.
2857 2015-08-06 Pedro Alves <palves@redhat.com>
2859 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2861 * gdb.reverse/until-precsave.exp: Bump timeouts.
2863 2015-08-06 Pedro Alves <palves@redhat.com>
2865 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2867 2015-08-06 Pedro Alves <palves@redhat.com>
2870 * gdb.threads/process-dies-while-handling-bp.c: New file.
2871 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2873 2015-08-06 Pedro Alves <palves@redhat.com>
2875 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2876 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2878 2015-08-05 Pedro Alves <palves@redhat.com>
2880 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2881 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2883 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2885 * gdb.base/bp-permanent.exp: Report test as unsupported if
2886 the target cannot stop at the permanent breakpoint.
2888 2015-08-03 Doug Evans <dje@google.com>
2890 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2893 2015-08-03 Doug Evans <dje@google.com>
2895 * Makefile.in (workers/%.worker, build-perf): New rule.
2896 (GDB_PERFTEST_MODE): New variable.
2897 (check-perf): Use it.
2898 (clean): Clean up gdb.perf parallel build subdirs.
2899 * lib/build-piece.exp: New file.
2900 * lib/gdb.exp (make_gdb_parallel_path): New function
2901 (standard_output_file, standard_temp_file): Call it.
2902 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2904 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2906 2015-08-03 Doug Evans <dje@google.com>
2908 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2909 (LOG_FILE_NAME): New global.
2910 (TextReporter.__init__): Initialize self.txt_sum.
2911 (TextReporter.report): Add support for multiple data-points.
2912 Move report to perftest.sum, put raw data in perftest.log.
2913 (TextReporter.start): Open sum and log files.
2914 (TextReporter.end): Close sum and log files.
2915 * gdb.perf/lib/perftest/testresult.py
2916 (SingleStatisticTestResult.record): Handle multiple data-points.
2918 2015-07-31 Pedro Alves <palves@redhat.com>
2920 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2921 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2922 kill_wait_spawned_process instead of explicit "kill -9".
2923 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2924 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2925 kill_wait_spawned_process.
2926 * gdb.base/attach-twice.exp: Likewise.
2927 * gdb.base/attach.exp: Likewise.
2928 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2930 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2931 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2932 kill_wait_spawned_process.
2933 * gdb.base/valgrind-infcall.exp: Likewise.
2934 * gdb.multi/multi-attach.exp: Likewise.
2935 * gdb.python/py-prompt.exp: Likewise.
2936 * gdb.python/py-sync-interp.exp: Likewise.
2937 * gdb.server/ext-attach.exp: Likewise.
2938 * gdb.threads/attach-into-signal.exp (corefunc): Use
2939 spawn_wait_for_attach, spawn_id_get_pid and
2940 kill_wait_spawned_process.
2941 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2942 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2943 spawn_id_get_pid and kill_wait_spawned_process.
2944 * gdb.threads/attach-stopped.exp (corefunc): Use
2945 spawn_wait_for_attach, spawn_id_get_pid and
2946 kill_wait_spawned_process.
2947 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2948 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2949 kill_wait_spawned_process instead of explicit "kill -9".
2950 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2951 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2952 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2953 processes. Don't map cygwin/windows pids here. Now returns a
2956 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2958 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2959 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2962 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2964 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2966 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2969 2014-05-21 Mark Wielaard <mjw@redhat.com>
2971 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2973 2015-07-30 Pedro Alves <palves@redhat.com>
2975 * linux-low.c (handle_extended_wait): Set the child's last
2976 reported status to TARGET_WAITKIND_STOPPED.
2978 2015-07-30 Pedro Alves <palves@redhat.com>
2981 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2982 only shows inferior 1.
2984 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2985 Pedro Alves <palves@redhat.com>
2988 * gdb.threads/fork-plus-threads.c: New file.
2989 * gdb.threads/fork-plus-threads.exp: New file.
2991 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2993 * gdb.base/batch-preserve-term-settings.exp
2994 (test_terminal_settings_preserved_after_cli_exit): Use
2997 2015-07-29 Pedro Alves <palves@redhat.com>
2998 Don Breazeal <donb@codesourcery.com>
3000 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
3001 output from both inferior_spawn_id and gdb_spawn_id.
3003 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3005 * gdb.threads/attach-into-signal.exp (corefunc): Use
3006 with_test_prefix on nested loops, uniquefying the test messages.
3008 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
3010 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
3013 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3015 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
3017 (test_terminal_settings_preserved_after_sigterm): New test.
3019 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3021 * gdb.base/batch-preserve-term-settings.exp
3022 (test_terminal_settings_preserved_after_cli_exit): New test.
3024 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
3026 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
3027 manipulation of saved_gdbflags.
3028 (test_terminal_settings_preserved): Remove global declaration of
3029 the unused variable pagination_prompt. Remove manipulation of
3030 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
3033 2015-07-29 Pedro Alves <palves@redhat.com>
3035 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
3037 2015-07-29 Pedro Alves <palves@redhat.com>
3039 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
3042 2015-07-29 Pedro Alves <palves@redhat.com>
3044 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
3045 (main): Call gdb_unbuffer_output.
3046 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
3047 (main): Call gdb_unbuffer_output.
3048 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
3049 (main): Call gdb_unbuffer_output.
3050 * gdb.base/call-strs.exp: Adjust to step over the
3051 gdb_unbuffer_output call.
3052 * gdb.base/catch-gdb-caused-signals.c: Include
3053 "../lib/unbuffer_output.c".
3054 (main): Call gdb_unbuffer_output.
3055 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
3056 (main): Call gdb_unbuffer_output.
3057 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
3058 (main): Call gdb_unbuffer_output.
3059 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
3060 (main): Call gdb_unbuffer_output.
3061 * gdb.base/shlib-call.exp: Adjust to step over the
3062 gdb_unbuffer_output call.
3063 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
3064 (main): Call gdb_unbuffer_output.
3065 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
3066 (main): Call gdb_unbuffer_output.
3067 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
3068 (main): Rename to ...
3070 (main): Reimplement.
3071 * gdb.base/varargs.exp: Run to test instead of to main.
3072 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3073 (main): Call gdb_unbuffer_output.
3075 2015-07-29 Pedro Alves <palves@redhat.com>
3077 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
3078 factore out from mi_continue_dprintf. For call-style dprintfs,
3079 expect dprintf output out of $inferior_spawn_id.
3080 (mi_continue_dprintf): Use mi_expect_dprintf.
3081 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
3082 (main): Call gdb_unbuffer_output.
3084 2015-07-29 Pedro Alves <palves@redhat.com>
3086 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
3087 (default_mi_gdb_start): Set inferior_spawn_id instead of
3088 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
3090 (mi_gdb_test): Always expect inferior output from both
3091 $inferior_spawn_id and $gdb_spawn_id.
3093 2015-07-29 Pedro Alves <palves@redhat.com>
3095 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
3096 send_inferior and $inferior_spawn_id.
3098 2015-07-29 Pedro Alves <palves@redhat.com>
3100 * gdb.gdb/complaints.exp (test_initial_complaints)
3101 (test_serial_complaints, test_short_complaints): Use
3103 (test_empty_complaint): Handle $inferior_spawn_id !=
3106 2015-07-29 Pedro Alves <palves@redhat.com>
3108 * gdb.base/varargs.exp: Use gdb_test_stdio.
3110 2015-07-29 Pedro Alves <palves@redhat.com>
3112 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
3114 2015-07-29 Pedro Alves <palves@redhat.com>
3116 * gdb.base/ending-run.exp: Use gdb_test_stdio.
3118 2015-07-29 Pedro Alves <palves@redhat.com>
3120 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
3121 parameter into two new parameters, "inf_result" and "gdb_result".
3122 Expect inferior output and gdb output from $inferior_spawn_id and
3123 $gdb_spawn_id, respectively. Adjust all callers.
3125 2015-07-29 Pedro Alves <palves@redhat.com>
3127 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
3128 of gdb_test_sequence.
3130 2015-07-29 Pedro Alves <palves@redhat.com>
3132 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
3133 (saw_spurious_output): Expect inferior output from
3134 $inferior_spawn_id. Use gdb_test_stdio.
3136 2015-07-29 Pedro Alves <palves@redhat.com>
3138 * gdb.base/dprintf.exp: Use standard_testfile. Change
3139 prepare_for_testing call.
3140 (srcfile): Don't set.
3141 (restart): New procedure.
3142 (test_dprintf): New procecure, use to continue over dprintfs.
3143 (test_call, test_agent): New procedures, tests moved here.
3144 Restart gdb and recreate dprintfs. Adjust expected output.
3146 2015-07-29 Pedro Alves <palves@redhat.com>
3148 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
3150 2015-07-29 Pedro Alves <palves@redhat.com>
3152 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
3154 2015-07-29 Pedro Alves <palves@redhat.com>
3156 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
3159 2015-07-29 Pedro Alves <palves@redhat.com>
3161 * lib/gdb.exp (gdb_test_stdio): New procedure.
3163 2015-07-29 Pedro Alves <palves@redhat.com>
3165 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
3167 2015-07-29 Pedro Alves <palves@redhat.com>
3169 * gdb.base/call-signal-resume.exp: Remove check for
3170 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
3171 * gdb.base/unwindonsignal.exp: Likewise.
3172 * gdb.base/call-signals.c (gen_signal): Remove printf call.
3173 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
3175 2015-07-29 Pedro Alves <palves@redhat.com>
3177 * gdb.base/siginfo-addr.c (pass): New function.
3178 (handler): Call it iff si_addr is correct.
3179 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
3180 Set a breakpoint at "pass" and continue to it.
3182 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
3184 * gdb.python/py-objfile.exp: Make some tests have unique names.
3185 * gdb.python/py-pp-registration.exp: Likewise.
3187 2015-07-28 Pedro Alves <palves@redhat.com>
3189 * gdb.server/server-exec-info.exp: Issue a "disconnect".
3191 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3193 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
3195 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
3197 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
3199 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
3201 * gdb.base/gdb-sigterm-2.exp: New test.
3203 2015-07-25 Doug Evans <xdje42@gmail.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 * gdb.perf/lib/perftest/utils.py: New file.
3222 * gdb.perf/gm-hello.cc: New file.
3223 * gdb.perf/gm-pervasive-typedef.cc: New file.
3224 * gdb.perf/gm-pervasive-typedef.h: New file.
3225 * gdb.perf/gm-std.cc: New file.
3226 * gdb.perf/gm-std.h: New file.
3227 * gdb.perf/gm-use-cerr.cc: New file.
3228 * gdb.perf/gm-utils.h: New file.
3229 * gdb.perf/gmonster-null-lookup.py: New file.
3230 * gdb.perf/gmonster-pervasive-typedef.py: New file.
3231 * gdb.perf/gmonster-print-cerr.py: New file.
3232 * gdb.perf/gmonster-ptype-string.py: New file.
3233 * gdb.perf/gmonster-runto-main.py: New file.
3234 * gdb.perf/gmonster-select-file.py: New file.
3235 * gdb.perf/gmonster1-null-lookup.exp: New file.
3236 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
3237 * gdb.perf/gmonster1-print-cerr.exp: New file.
3238 * gdb.perf/gmonster1-ptype-string.exp: New file.
3239 * gdb.perf/gmonster1-runto-main.exp: New file.
3240 * gdb.perf/gmonster1-select-file.exp: New file.
3241 * gdb.perf/gmonster1.cc: New file.
3242 * gdb.perf/gmonster1.exp: New file.
3243 * gdb.perf/gmonster2-null-lookup.exp: New file.
3244 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
3245 * gdb.perf/gmonster2-print-cerr.exp: New file.
3246 * gdb.perf/gmonster2-ptype-string.exp: New file.
3247 * gdb.perf/gmonster2-runto-main.exp: New file.
3248 * gdb.perf/gmonster2-select-file.exp: New file.
3249 * gdb.perf/gmonster2.cc: New file.
3250 * gdb.perf/gmonster2.exp: New file.
3252 2015-07-24 Doug Evans <dje@google.com>
3254 * gdb.perf/README: New file.
3255 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3256 * lib/gen-perf-test.exp: New file.
3258 2015-07-24 Doug Evans <dje@google.com>
3260 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3261 (PerfTest::startup): New function.
3262 (PerfTest::run): Return result of calling body.
3263 (PerfTest::assemble): Rewrite.
3264 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3265 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3266 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3267 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3268 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3270 2015-07-24 Doug Evans <dje@google.com>
3272 * lib/gdb.exp (clean_restart): Make executable optional.
3274 2015-07-24 Doug Evans <dje@google.com>
3276 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3277 compiler_info references.
3278 * gdb.cp/temargs.exp: Ditto.
3279 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3280 (get_compiler_info): Early exit if already computed. Set compiler_info
3281 to "unknown" if there was a problem.
3282 (test_compiler_info): Add function comment. Call get_compiler_info.
3284 2015-07-24 Doug Evans <dje@google.com>
3286 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3287 (workers/%.worker, build-perf): New rule.
3288 (GDB_PERFTEST_MODE): New variable.
3289 (check-perf): Use it.
3290 (clean): Clean up gdb.perf parallel build subdirs.
3291 * lib/build-piece.exp: New file.
3292 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3293 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3295 (standard_temp_file): Ditto.
3296 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3299 2015-07-24 Doug Evans <dje@google.com>
3301 * lib/future.exp (gdb_default_target_compile): New option
3303 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3306 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3308 * gdb.base/catch-syscall.exp: Call gdb_exit before
3311 2015-07-24 Pedro Alves <palves@redhat.com>
3313 * gdb.python/py-events.exp: Accept output between the stop event
3315 * gdb.python/py-evsignal.exp: Likewise.
3316 * gdb.python/py-evthreads.exp: Likewise.
3318 2015-07-24 Pedro Alves <palves@redhat.com>
3321 * gdb.threads/non-ldr-exit.c: New file.
3322 * gdb.threads/non-ldr-exit.exp: New file.
3324 2015-07-24 Yao Qi <yao.qi@linaro.org>
3326 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3329 2015-07-24 Yao Qi <yao.qi@linaro.org>
3331 * gdb.server/ext-restart.exp: New file.
3333 2015-07-24 Yao Qi <yao.qi@linaro.org>
3335 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3337 * gdb.server/ext-wrapper.exp: New file.
3339 2015-07-23 Doug Evans <dje@google.com>
3341 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3342 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3344 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3346 * gdb.ada/var_arr_typedef.exp: New testcase.
3347 * gdb.ada/var_arr_typedef/pack.adb: New file.
3348 * gdb.ada/var_arr_typedef/pack.ads: New file.
3349 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3351 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3353 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3355 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3357 * gdb.arch/i386-biarch-core.exp: Replace istarget
3358 by "complete set gnutarget". Remove expectation for the "core-file"
3361 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3363 Revert the previous commit:
3364 Tests for validate symbol file using build-id.
3366 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3368 Tests for validate symbol file using build-id.
3369 * gdb.base/solib-mismatch-lib.c: New file.
3370 * gdb.base/solib-mismatch-libmod.c: New file.
3371 * gdb.base/solib-mismatch.c: New file.
3372 * gdb.base/solib-mismatch.exp: New file.
3374 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3376 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3378 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3379 * gdb.base/siginfo.exp: Likewise.
3380 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3382 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3384 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3386 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3388 * gdb.trace/range-stepping.exp: Check that the target supports
3391 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3393 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3395 2015-07-14 Pedro Alves <palves@redhat.com>
3397 * gdb.base/killed-outside.exp: New file.
3398 * gdb.base/killed-outside.c: New file.
3400 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3402 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3404 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3406 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3408 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3409 infcall tests instead of setting up for KFAIL.
3411 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3413 * gdb.btrace/record_goto-step.exp: New.
3415 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3418 * gdb.compile/compile.c (struct struct_type): Add volatile to
3420 * gdb.compile/compile.exp
3421 (compile code struct_object.selffield = &struct_object): Skip further
3422 struct_object tests if this one xfails.
3424 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3427 * gdb.trace/ax.exp: Add test.
3429 2015-07-07 Yao Qi <yao.qi@linaro.org>
3431 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3432 instead of istarget "aarch64*-*-*".
3433 * gdb.arch/aarch64-fp.exp: Likewise.
3434 * gdb.base/float.exp: Likewise.
3435 * gdb.reverse/aarch64.exp: Likewise.
3436 * lib/gdb.exp (is_aarch64_target): New proc.
3438 2015-07-07 Yao Qi <yao.qi@linaro.org>
3440 * lib/gdb.exp (is_aarch32_target): New proc.
3441 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3442 instead of "istarget "arm*-*-*"".
3443 * gdb.arch/arm-disp-step.exp: Likewise.
3444 * gdb.arch/thumb-bx-pc.exp: Likewise.
3445 * gdb.arch/thumb-prologue.exp: Likewise.
3446 * gdb.arch/thumb-singlestep.exp: Likewise.
3447 * gdb.base/disp-step-syscall.exp: Likewise.
3448 * gdb.base/float.exp: Likewise.
3450 2015-07-07 Yao Qi <yao.qi@linaro.org>
3452 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3453 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3455 2015-07-07 Yao Qi <yao.qi@linaro.org>
3457 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3458 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3460 * gdb.multi/multi-arch.exp: Likewise.
3462 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3464 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3467 2015-07-07 Yao Qi <yao.qi@linaro.org>
3469 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3471 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3473 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3474 '[' and ']' characters.
3476 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3478 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3480 2015-06-29 Pedro Alves <palves@redhat.com>
3483 * gdb.threads/hand-call-new-thread.c: New file.
3484 * gdb.threads/hand-call-new-thread.c: New file.
3486 2015-06-26 Keith Seitz <keiths@redhat.com>
3487 Doug Evans <dje@google.com>
3490 * gdb.cp/var-tag-2.cc: New file.
3491 * gdb.cp/var-tag-3.cc: New file.
3492 * gdb.cp/var-tag-4.cc: New file.
3493 * gdb.cp/var-tag.cc: New file.
3494 * gdb.cp/var-tag.exp: New file.
3496 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3498 * gdb.base/history-duplicates.exp: New test.
3500 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3502 * gdb.base/completion.exp: Test the completion of the "focus"
3505 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3507 * gdb.arch/amd64-prologue-skip.S: New file.
3508 * gdb.arch/amd64-prologue-skip.exp: New file.
3510 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3512 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3513 is_address_zero_readable check.
3515 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3517 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3518 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3520 2015-06-24 Yao Qi <yao.qi@linaro.org>
3522 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3525 2015-06-24 Yao Qi <yao.qi@linaro.org>
3527 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3528 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3529 * gdb.base/siginfo-thread.exp: Likewise.
3531 2015-06-22 Yao Qi <yao.qi@linaro.org>
3533 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3535 2015-06-22 Yao Qi <yao.qi@linaro.org>
3537 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3539 (skip_hw_watchpoint_tests): Likewise.
3541 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3543 * gdb.base/gdbinit-history.exp: Test the interaction between
3544 setting GDBHISTSIZE and setting the history size via .gdbinit.
3546 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3549 * gdb.base/gdbhistsize-history.exp: New test.
3551 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3553 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3555 * gdb.base/readline.exp: Likewise.
3557 2015-06-17 Yao Qi <yao.qi@linaro.org>
3559 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3562 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3564 * gdb.base/gdbinit-history.exp: Add test case to check that
3565 an unlimited history file does not get truncated on exit.
3567 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3569 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3570 (VECTOR): New macro. Use it...
3571 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3572 ...for these typedefs.
3573 (int8, char1, int1, double1): New typedefs.
3574 (struct just_int2, struct two_int2): New structures.
3575 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3576 (add_structvecs, add_singlevecs): New functions.
3577 (main): Call add_some_intvecs twice.
3578 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3579 the compile and exit upon failure. Try compiling for the "native"
3580 architecture. Test inferior function calls with vector arguments
3581 and vector return value handling with "finish" and "return".
3583 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3585 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3586 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3588 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3590 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3592 PR breakpoints/16465
3593 * gdb.mi/mi-dprintf-pending.c: New file.
3594 * gdb.mi/mi-dprintf-pending.exp: New test.
3595 * gdb.mi/mi-dprintf-pendshr.c: New file.
3597 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3598 Mircea Gherzan <mircea.gherzan@intel.com>
3600 * gdb.arch/i386-mpx-map.c: New file.
3601 * gdb.arch/i386-mpx-map.exp: New File.
3603 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3605 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3606 * gdb.arch/i386-mpx.exp: Indentation fixed.
3608 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3610 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3611 function and improved indentation.
3612 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3613 gdb_test_multiple. Added additional tests to skip the test.
3615 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3617 * gdb.arch/i386-avx512.c: Change path in include file.
3618 * gdb.arch/i386-avx512.exp: Change include dir path
3620 * gdb.arch/i386-mpx.c: Change path in include file.
3621 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3624 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3626 * gdb.compile/compile-print.exp (compile print *vararray@3)
3627 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3629 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3631 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3632 (do not keep jit in memory): ... this.
3633 (expect 5): Change it to ...
3634 (expect no 5): ... this.
3636 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3639 * gdb.mi/mi-detach.exp: New file.
3641 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3644 * gdb.arch/amd64-tailcall-self.S: New file.
3645 * gdb.arch/amd64-tailcall-self.c: New file.
3646 * gdb.arch/amd64-tailcall-self.exp: New file.
3648 2015-05-28 Don Breazeal <donb@codesourcery.com>
3650 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3651 tests for remote targets by checking is_target_gdbserver.
3653 2015-05-27 Doug Evans <dje@google.com>
3655 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3656 * gdb.dwarf2/opaque-type-lookup.c: New file.
3657 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3659 2015-05-26 Doug Evans <dje@google.com>
3661 * gdb.cp/iostream.cc: New file.
3662 * gdb.cp/iostream.exp: New file.
3664 2015-05-26 Doug Evans <dje@google.com>
3666 * gdb.dwarf2/dw2-op-call.exp: Update.
3667 * gdb.dwarf2/dw4-sig-types.exp: Update.
3668 * gdb.dwarf2/implptr.exp: Update.
3669 * gdb.mi/mi-cmd-param-changed.exp: Update.
3671 2015-05-26 Doug Evans <dje@google.com>
3673 * gdb.python/py-lazy-string.c: New file.
3674 * gdb.python/py-lazy-string.exp: New file.
3675 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3676 (main): Update. Add estring3.
3677 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3678 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3680 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3681 Yao Qi <yao.qi@linaro.org>
3683 * gdb.reverse/aarch64.c: New.
3684 * gdb.reverse/aarch64.exp: New.
3686 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3688 * lib/gdb.exp (supports_process_record): Return true for
3690 (supports_reverse): Likewise.
3692 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3694 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3695 Use with_test_prefix.
3697 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3699 * gdb.base/completion.exp: Add test for completion of layout
3702 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3704 * lib/gdb.exp (skip_tui_tests): New proc.
3705 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3707 2015-05-19 Pedro Alves <palves@redhat.com>
3709 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3710 Save the whole env array instead of just HOME. Unset HISTSIZE in
3711 the environment while testing. Restore whole environment
3714 2015-05-16 Doug Evans <xdje42@gmail.com>
3716 * gdb.guile/scm-ports.c: New file.
3717 * gdb.guile/scm-ports.exp: Add memory port tests.
3719 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3721 * gdb.compile/compile-print.c: New file.
3722 * gdb.compile/compile-print.exp: New file.
3724 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3726 * gdb.compile/compile-ops.exp: Cast param to void.
3727 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3728 (compile code struct_object.selffield = &struct_object): Add xfail.
3730 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3732 * gdb.ada/arr_enum_with_gap: New testcase.
3734 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3736 * gdb.ada/byte_packed_arr: New testcase.
3738 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3740 * gdb.ada/pckd_neg: New testcase.
3742 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3745 * gdb.base/gdbinit-history.exp: New test.
3746 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3747 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3749 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3751 * gdb.python/py-xmethods.cc: Enhance test case.
3752 * gdb.python/py-xmethods.exp: New tests.
3753 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3755 (B_indexoper): Likewise.
3756 (global_dm_list) : Add new xmethod worker functions.
3758 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3760 * gdb.base/coredump-filter.exp: Correctly unset
3761 "coredump_var_addr" array.
3763 2015-05-08 Pedro Alves <palves@redhat.com>
3765 * gdb.server/non-existing-program.exp: Unset spawn_id.
3767 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3770 * gdb.python/py-xmethods.exp: Add tests.
3772 2015-05-08 Yao Qi <yao.qi@linaro.org>
3775 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3776 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3777 function set_coredump_filter, and remove remote_exec call.
3778 Remove argument ipid. Callers update.
3779 (top level): Don't get inferior's PID.
3781 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3783 * gdb.base/watch_thread_num.exp: Skip test on targets without
3786 2015-05-06 Pedro Alves <palves@redhat.com>
3789 * gdb.server/non-existing-program.exp: New file.
3791 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3793 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3795 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3797 * gdb.ada/out_of_line_in_inlined: New testcase.
3799 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3801 * gdb.ada/var_rec_arr: New testcase.
3803 2015-04-30 Yao Qi <yao.qi@linaro.org>
3805 * gdb.base/break-idempotent.exp: If
3806 skip_hw_watchpoint_multi_tests returns true, skip the tests
3807 on "rwatch" and "awatch".
3809 2015-04-30 Yao Qi <yao.qi@linaro.org>
3811 * gdb.base/relativedebug.exp: Invoke gdb command
3812 "info sharedlibrary", and if libc.so doesn't have debug info,
3815 2015-04-29 Doug Evans <dje@google.com>
3817 * gdb.python/py-xmethods.exp: Add ptype tests.
3818 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3819 get_result_type method.
3821 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3823 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3824 the target does not support hardware watchpoints.
3826 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3828 * gdb.base/break-always.exp: Abort testing if writing to memory
3831 2015-04-28 Doug Evans <dje@google.com>
3833 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3834 * gdb.python/py-pp-registration.exp: ... here. New file.
3835 * gdb.python/py-pp-registration.c: New file.
3836 * gdb.python/py-pp-registration.py: New file.
3838 2015-04-28 Doug Evans <dje@google.com>
3840 * gdb.python/py-bad-printers.c: New file.
3841 * gdb.python/py-bad-printers.py: New file.
3842 * gdb.python/py-bad-printers.exp: New file.
3844 2015-04-28 Sasha Smundak <asmundak@google.com>
3846 * gdb.python/py-type.exp: New test.
3848 2015-04-28 Andy Wingo <wingo@igalia.com>
3850 * gdb.python/py-parameter.exp:
3851 * gdb.guile/scm-parameter.exp: Escape the path that we are
3852 matching against, as it might contain characters that are special
3853 to regular expressions.
3855 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3857 * gdb.ada/rec_comp: New testcase.
3859 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3861 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3864 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3866 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3867 new tests for verilog output.
3869 2015-04-24 Yao Qi <yao.qi@linaro.org>
3871 * boards/remote-gdbserver-on-localhost.exp: New file.
3873 2015-04-23 Pedro Alves <palves@redhat.com>
3875 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3876 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3877 "end of file", remove $inferior_spawn_id from the indirect list.
3879 2015-04-23 Pedro Alves <palves@redhat.com>
3881 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3883 2015-04-23 Pedro Alves <palves@redhat.com>
3885 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3886 on $any_spawn_id instead of only on $gdb_spawn_id.
3888 2015-04-21 Pierre Muller <muller@sourceware.org>
3891 * lib/pascal.exp (gpc_compile): Add new option "class".
3892 (fpc_compile): Likewise.
3893 * gdb.pascal/case-insensitive-symbols.pas: New file.
3894 * gdb.pascal/case-insensitive-symbols.exp: New file.
3896 2015-04-20 Gary Benson <gbenson@redhat.com>
3898 * gdb.base/attach.exp: Fix three extended remote failures.
3900 2015-04-17 Gary Benson <gbenson@redhat.com>
3902 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3903 the main executable over the remote protocol.
3905 2015-04-16 Pedro Alves <palves@redhat.com>
3907 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3908 a new gdbserver if gdbserver_reconnect_p is set.
3910 2015-04-16 Pedro Alves <palves@redhat.com>
3912 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3913 is set, don't exit gdbserver.
3915 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3917 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3918 appropriate .insn, such that an older assembler can be used.
3919 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3920 the z/Architecture instruction set on 31-bit targets as well.
3922 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3924 * gdb.go/handcall.exp: Remove all logic related to the first
3925 breakpoint and rely on go_runto_main instead.
3926 * gdb.go/strings.exp: Likewise.
3927 * gdb.go/unsafe.exp: Likewise.
3928 * gdb.go/hello.exp: Likewise. Also rename the remaining
3929 breakpoint marker to "breakpoint 1".
3930 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3931 * gdb.go/strings.go: Likewise.
3932 * gdb.go/unsafe.go: Likewise.
3933 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3934 "set breakpoint 2 here" and rename the remaining breakpoint marker
3937 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3939 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3940 if itertools.imap is not present.
3941 * gdb.python/py-objfile.exp: Add parentheses.
3942 * gdb.python/py-type.exp: Same.
3943 * gdb.python/py-unwind-maint.py: Same.
3945 2015-04-15 Yao Qi <yao.qi@linaro.org>
3947 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3948 of ":$ptr_size" and set its form explicitly.
3950 2015-04-15 Pedro Alves <palves@redhat.com>
3951 Yao Qi <yao.qi@linaro.org>
3953 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3954 timeout by factor of 4.
3955 (test_regular_watch): Likewise.
3956 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3957 * gdb.reverse/sigall-reverse.exp: Likewise.
3958 * gdb.reverse/until-precsave.exp: Likewise.
3959 * lib/gdb.exp (with_timeout_factor): New proc.
3960 (gdb_expect): Move some code to ...
3961 (get_largest_timeout): ... here. New procedure.
3963 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3965 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3967 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3969 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3970 to write to the .text section.
3972 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3974 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3975 Handle the case of targets that do not provide PID information.
3977 2015-04-13 Yao Qi <yao.qi@linaro.org>
3979 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3980 and use expect instead of gdb_expect.
3982 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3984 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3985 "coredump_var_addr" to avoid naming conflict with other testcases.
3987 2015-04-10 Pedro Alves <palves@redhat.com>
3989 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3990 gdb_test_sequence and gdb_assert.
3992 2015-04-10 Pedro Alves <palves@redhat.com>
3994 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3995 test messages that don't include the breakpoint address.
3997 2015-04-10 Yao Qi <yao.qi@linaro.org>
3999 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
4000 false for some offset and width combinations which aren't
4001 supported by linux kernel.
4003 2015-04-10 Pedro Alves <palves@redhat.com>
4005 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
4006 procedure, factored out from ...
4007 (top level): ... here. Add "set displaced-stepping" testing axis.
4008 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
4009 parameter "displaced". Use it.
4010 (top level): Use foreach and add "set displaced-stepping" testing
4013 2015-04-10 Pedro Alves <palves@redhat.com>
4015 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
4017 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
4018 both the address of the instruction that triggers the watchpoint
4019 and the address of the instruction immediately after, and use
4020 those addresses for the test. Fix comment.
4022 2015-04-10 Pedro Alves <palves@redhat.com>
4024 * gdb.base/sigstep.exp (breakpoint_to_handler)
4025 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
4026 Test "backtrace" in handler.
4027 (breakpoint_over_handler): New parameter 'displaced'. Use it.
4028 (top level): Add new "displaced" test axis to
4029 breakpoint_to_handler, breakpoint_to_handler_entry and
4030 breakpoint_over_handler.
4032 2015-04-10 Pedro Alves <palves@redhat.com>
4035 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
4037 2015-04-10 Yao Qi <yao.qi@linaro.org>
4039 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
4040 (test_add_rn_pc): New function.
4041 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
4042 (top level): Invoke test_add_rn_pc.
4044 2015-04-10 Pedro Alves <palves@redhat.com>
4047 * gdb.base/step-over-no-symbols.exp: New file.
4049 2015-04-09 Andy Wingo <wingo@igalia.com>
4051 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
4052 after the Python tests.
4054 2015-04-08 Keith Seitz <keiths@redhat.com>
4057 * gdb.python/py-completion.exp: New tests for completion.
4058 * gdb.python/py-completion.py (CompleteLimit1): New class.
4059 (CompleteLimit2): Likewise.
4060 (CompleteLimit3): Likewise.
4061 (CompleteLimit4): Likewise.
4062 (CompleteLimit5): Likewise.
4063 (CompleteLimit6): Likewise.
4064 (CompleteLimit7): Likewise.
4066 2015-04-08 Pedro Alves <palves@redhat.com>
4070 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
4072 (main): Install it as SIGUSR1 handler.
4073 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
4074 parameter. Always use "setup" as prefix. Toggle "set
4075 displaced-stepping" off/on depending on global. Don't switch to
4077 (top level): Add displaced stepping "off/on" test axis. Update
4078 "setup" calls. Wrap each subtest with with_test_prefix. Test
4079 continuing with a queued signal in each thread.
4081 2015-04-08 Pedro Alves <palves@redhat.com>
4083 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
4084 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
4085 gdb_breakpoint instead of gdb_test that doesn't expect anything.
4086 Return early if running to main fails.
4087 * gdb.trace/while-stepping.exp: Likewise.
4089 2015-04-07 Pedro Alves <palves@redhat.com>
4091 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
4092 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
4093 interact with inferior program.
4095 2015-04-07 Pedro Alves <palves@redhat.com>
4097 * lib/gdb.exp (inferior_spawn_id): New global.
4098 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
4099 spawn id after processing the user code.
4100 (default_gdb_start): Set inferior_spawn_id.
4101 (send_inferior): New procedure.
4102 * lib/gdbserver-support.exp (gdbserver_start): Set
4104 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
4106 2015-04-07 Pedro Alves <palves@redhat.com>
4108 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
4109 * lib/gdbserver-support.exp (gdbserver_start): Make
4110 $server_spawn_id global.
4111 (gdbserver_start): Don't wait for gdbserver's spawn id with
4113 (close_gdbserver): New procedure.
4114 (gdb_exit): Rename the default version and reimplement.
4116 2015-04-07 Pedro Alves <palves@redhat.com>
4118 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
4119 append the substituted item, not the original item.
4121 2015-04-07 Pedro Alves <palves@redhat.com>
4123 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
4126 2015-04-07 Pedro Alves <palves@redhat.com>
4128 * gdb.base/interrupt.exp: Don't handle the case of the inferior
4129 output appearing once only.
4131 2015-04-07 Pedro Alves <palves@redhat.com>
4133 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
4134 that doesn't expect anything. Return early if running to main
4137 2015-04-07 Yao Qi <yao.qi@linaro.org>
4139 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
4140 (child_function): Call alarm.
4141 (main): Move call to alarm into the loop.
4142 * gdb.threads/non-stop-fair-events.exp: Build program with
4145 2015-04-06 Doug Evans <xdje42@gmail.com>
4147 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
4148 Fix dest parameter to board_info.
4149 (fpc_compile): Ditto.
4150 (gdb_compile_pascal): Rename dest arg to destfile.
4152 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
4154 * gdb.ada/funcall_ref.exp: New file.
4155 * gdb.ada/funcall_ref/foo.adb: New file.
4157 2015-04-02 Yao Qi <yao.qi@linaro.org>
4159 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
4162 2015-04-02 Gary Benson <gbenson@redhat.com>
4164 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
4166 2015-04-01 Sasha Smundak <asmundak@google.com>
4168 * gdb.python/py-unwind-maint.c: New file.
4169 * gdb.python/py-unwind-maint.exp: New test.
4170 * gdb.python/py-unwind-maint.py: New file.
4171 * gdb.python/py-unwind.c: New file.
4172 * gdb.python/py-unwind.exp: New test.
4173 * gdb.python/py-unwind.py: New test.
4175 2015-04-01 Pedro Alves <palves@redhat.com>
4177 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
4178 to fail instead of non-existent $test.
4180 2015-04-01 Pedro Alves <palves@redhat.com>
4182 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
4183 GDBFLAGS if not empty.
4185 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
4187 * gdb.ada/complete.exp: Remove "multi_line".
4188 * gdb.ada/info_exc.exp: Remove "multi_line".
4189 * gdb.ada/packed_tagged.exp: Remove "multi_line".
4190 * gdb.ada/ptype_field.exp: Remove "multi_line".
4191 * gdb.ada/sym_print_name.exp: Remove "multi_line".
4192 * gdb.ada/tagged.exp: Remove "multi_line".
4193 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
4195 * gdb.btrace/delta.exp: Likewise.
4196 * gdb.btrace/exception.exp: Likewise.
4197 * gdb.btrace/function_call_history.exp: Likewise.
4198 * gdb.btrace/instruction_history.exp: Likewise.
4199 * gdb.btrace/nohist.exp: Likewise.
4200 * gdb.btrace/record_goto.exp: Likewise.
4201 * gdb.btrace/segv.exp: Likewise.
4202 * gdb.btrace/stepi.exp: Likewise.
4203 * gdb.btrace/tailcall.exp: Likewise.
4204 * gdb.btrace/unknown_functions.exp: Likewise.
4205 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
4206 * lib/gdb.exp: Add the "multi_line" helper.
4208 2015-04-01 Pedro Alves <palves@redhat.com>
4210 * gdb.threads/tid-reuse.c: New file.
4211 * gdb.threads/tid-reuse.exp: New file.
4213 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
4216 * gdb.base/coredump-filter.c: New file.
4217 * gdb.base/coredump-filter.exp: Likewise.
4219 2015-03-27 Petr Machata <pmachata@redhat.com>
4221 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
4222 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
4223 (Dwarf::assemble): Initialize them.
4224 (Dwarf::lines): New function.
4226 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
4228 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
4229 SYMBOL_PREFIX for x86_64-*-cygwin.
4231 2015-03-26 Andy Wingo <wingo@igalia.com>
4234 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
4235 const_value but not a location.
4236 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
4237 location defined in non-main CUs are visible.
4239 2015-03-26 Yao Qi <yao.qi@linaro.org>
4242 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
4243 Add a line number entry for the same line.
4244 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
4245 Add a line number entry for the same line.
4247 2015-03-26 Yao Qi <yao.qi@linaro.org>
4249 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
4251 (func): Likewise. Add .Lfunc_1 label.
4253 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4258 2015-03-26 Yao Qi <yao.qi@linaro.org>
4260 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4261 Call gdb_compile instead to compile each .s files without debug
4264 2015-03-26 Yao Qi <yao.qi@linaro.org>
4266 * gdb.base/savedregs.exp (process_saved_regs): Make
4267 "Saved registers:" optional in the pattern.
4269 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4271 * gdb.btrace/next.exp: Merged into step.exp.
4272 * gdb.btrace/finish.exp: Merged into step.exp.
4273 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4274 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4275 "record goto" and checking the exact replay position.
4276 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4277 check for "Recording format" in "info record" output.
4278 * gdb.btrace/record_goto.exp: Choose test file based on target.
4279 * gdb.btrace/x86-record_goto.S: Renamed into ...
4280 * gdb.btrace/x86_64-record_goto.S: ... this.
4281 * gdb.btrace/i686-record_goto.S: New.
4282 * gdb.btrace/x86-tailcall.S: Renamed into ...
4283 * gdb.btrace/x86_64-tailcall.S: ... this.
4284 * gdb.btrace/i686-tailcall.S: New.
4285 * gdb.btrace/x86-tailcall.c: Renamed into ...
4286 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4287 separate statements. Update test.
4288 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4289 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4290 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4291 * gdb.btrace/tailcall.exp: Choose test file based on target.
4292 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4294 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4296 * gdb.btrace/exception.exp: Increase BTS buffer size.
4298 2015-03-24 Pedro Alves <palves@redhat.com>
4300 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4302 2015-03-24 Pedro Alves <palves@redhat.com>
4304 * gdb.threads/schedlock.exp (test_step): No longer expect that
4305 "set scheduler-locking step" with "next" over a function call runs
4308 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4310 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4312 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4314 PR breakpoints/16466
4315 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4316 * gdb.mi/mi-pending.c (thread_func): New function.
4317 (int main): Add threading support required.
4318 * gdb.mi/mi-pending.exp: Add tests for this issue.
4319 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4320 (pendfunc2): Remove stdio dependency.
4321 * gdb.mi/mi-pendshr2.c: New file.
4323 2015-03-23 Keith Seitz <keiths@redhat.com>
4325 * gdb.linespec/keywords.c: New file.
4326 * gdb.linespec/keywords.exp: New file.
4328 2015-03-23 Keith Seitz <keiths@redhat.com>
4331 * gdb.dwarf2/staticvirtual.exp: New test.
4333 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4335 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4336 * README: Remove HP-UX and gdb.hp.
4338 * configure: Regenerate.
4339 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4340 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4341 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4342 gdb.hp/gdb.defects/Makefile.
4343 * gdb.hp/Makefile.in: File deleted.
4344 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4345 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4346 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4347 * gdb.hp/gdb.aCC/run.c: File deleted.
4348 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4349 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4350 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4351 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4352 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4353 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4354 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4355 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4356 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4357 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4358 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4359 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4360 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4361 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4362 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4363 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4364 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4365 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4366 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4367 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4368 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4369 * gdb.hp/gdb.compat/average.c: File deleted.
4370 * gdb.hp/gdb.compat/sum.c: File deleted.
4371 * gdb.hp/gdb.compat/xdb.c: File deleted.
4372 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4373 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4374 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4375 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4376 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4377 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4378 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4379 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4380 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4381 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4382 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4383 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4384 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4385 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4386 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4387 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4388 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4389 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4390 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4391 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4392 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4393 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4394 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4395 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4396 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4397 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4398 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4399 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4400 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4401 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4402 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4403 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4404 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4405 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4406 * gdb.hp/tools/odump: File deleted.
4408 2015-03-19 Pedro Alves <palves@redhat.com>
4410 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4411 (saw_thread_3): New globals.
4412 (top level): Increment them when an event for the corresponding
4414 (no thread starvation): New test.
4416 2015-03-19 Pedro Alves <palves@redhat.com>
4418 * gdb.threads/continue-pending-status.c: New file.
4419 * gdb.threads/continue-pending-status.exp: New file.
4421 2015-03-18 Pedro Alves <palves@redhat.com>
4423 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4424 Use gdb_is_target_remote instead of is_remote. Use
4425 gdb_test_multiple instead of gdb_expect. Exit early if
4426 gdb_test_multiple hits its internal matches. Tighten stepi tests
4427 expected output. Fail on exit with any signal, instead of just
4430 2015-03-18 Yao Qi <yao.qi@linaro.org>
4433 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4435 * gdb.base/catch-syscall.exp: Don't skip it on
4436 aarch64*-*-linux* target. Remove elements in all_syscalls.
4437 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4439 (setup_all_syscalls): New proc.
4441 2015-03-16 Yao Qi <yao.qi@linaro.org>
4443 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4444 (top level): Skip tests if valid_addr_p returns false for
4447 2015-03-11 Andy Wingo <wingo@igalia.com>
4449 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4451 2015-03-11 Yao Qi <yao.qi@linaro.org>
4453 * gdb.base/catch-syscall.exp: Fix typo in comments.
4455 2015-03-11 Yao Qi <yao.qi@linaro.org>
4457 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4459 2015-03-09 Pedro Alves <palves@redhat.com>
4461 * dg-extract-results.py: Delete.
4463 2015-03-09 Pedro Alves <palves@redhat.com>
4465 Merge dg-extract-results.sh from GCC upstream (r218843).
4467 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4468 * dg-extract-results.sh: Use --text with grep to avoid issues with
4469 binary files. Fall back to cat -v, if that doesn't work.
4471 2015-03-05 Pedro Alves <palves@redhat.com>
4473 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4475 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4477 * lib/mi-support.exp (mi_expect_interrupt): Accept
4478 alternative event for when in all-stop mode.
4480 2015-03-04 Pedro Alves <palves@redhat.com>
4482 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4484 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4486 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4488 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4490 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4491 regexps for GDB's current line display, accept a hex address
4492 preceding the line number.
4494 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4496 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4497 the 'arch1' variable for "s390*-linux*" targets.
4499 2015-03-04 Pedro Alves <palves@redhat.com>
4501 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4502 (main): Pass missing retval argument to pthread_join call.
4504 2015-03-02 Pedro Alves <palves@redhat.com>
4506 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4507 (top level): Call do_test with non-stop as well.
4509 2015-03-02 Pedro Alves <palves@redhat.com>
4511 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4514 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4516 * gdb.arch/s390-vregs.exp: New test.
4517 * gdb.arch/s390-vregs.S: New file.
4519 2015-02-27 Pedro Alves <palves@redhat.com>
4521 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4522 call to catch_command_errors.
4523 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4524 catch_command_errors.
4526 2015-02-27 Pedro Alves <palves@redhat.com>
4528 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4529 "true" for boolean result.
4530 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4533 2015-02-27 Pedro Alves <palves@redhat.com>
4535 * lib/unbuffer_output.c: New file.
4536 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4537 (main): Call gdb_unbuffer_output.
4539 2015-02-27 Yao Qi <yao.qi@linaro.org>
4541 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4544 2015-02-26 Doug Evans <dje@google.com>
4546 * gdb.cp/class2.cc (Dbase, D): New classes.
4547 (main): New local delta.
4548 * gdb.cp/class2.exp: Test printing delta.
4549 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4550 (dynbar): New global.
4551 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4553 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4555 * gdb.compile/compile-ifunc.c: New file.
4556 * gdb.compile/compile-ifunc.exp: New file.
4558 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4560 * gdb.base/structs.exp: Check for correct struct on finish.
4562 2015-02-26 Yao Qi <yao.qi@linaro.org>
4564 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4567 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4569 * gdb.arch/cordic.ko.bz2: New file.
4570 * gdb.arch/cordic.ko.debug.bz2: New file.
4571 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4573 2015-02-25 Yao Qi <yao.qi@linaro.org>
4575 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4576 aarch64*-*-* target.
4578 2015-02-23 Pedro Alves <palves@redhat.com>
4580 * lib/gdb.exp (delete_breakpoints): Rewrite using
4583 2015-02-23 Pedro Alves <palves@redhat.com>
4585 * gdb.base/info-os.c: Include stdlib.h.
4587 2015-02-22 Doug Evans <xdje42@gmail.com>
4590 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4591 is read after symbols have been re-read.
4592 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4593 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4595 2015-02-21 Doug Evans <dje@google.com>
4597 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4599 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4602 * gdb.arch/i386-biarch-core.core.bz2: New file.
4603 * gdb.arch/i386-biarch-core.exp: New file.
4605 2015-02-21 Pedro Alves <palves@redhat.com>
4607 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4610 2015-02-20 Pedro Alves <palves@redhat.com>
4612 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4615 2015-02-20 Pedro Alves <palves@redhat.com>
4617 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4619 2015-02-20 Pedro Alves <palves@redhat.com>
4621 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4622 clean_restart before gdb_target_supports_trace.
4624 2015-02-20 Pedro Alves <palves@redhat.com>
4627 * gdb.threads/clone-thread_db.c: New file.
4628 * gdb.threads/clone-thread_db.exp: New file.
4630 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4632 PR breakpoints/16812
4633 * gdb.base/catch-gdb-caused-signals.c: New file.
4634 * gdb.base/catch-gdb-caused-signals.exp: New file.
4636 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4638 * configure: Regenerated.
4639 * configure.ac: Use GDB_AC_TRANSFORM.
4640 * aclocal.m4: sinclude ../transform.m4.
4642 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4644 * lib/dtrace.exp: New file.
4645 * gdb.base/dtrace-probe.exp: Likewise.
4646 * gdb.base/dtrace-probe.d: Likewise.
4647 * gdb.base/dtrace-probe.c: Likewise.
4648 * lib/pdtrace.in: Likewise.
4649 * configure.ac: Output variables with the transformed names of
4650 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4651 * configure: Regenerated.
4653 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4655 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4656 expected message when trying to access $_probe_* convenience
4657 variables while not on a probe.
4659 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4661 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4663 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4665 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4666 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4668 2015-02-10 Doug Evans <xdje42@gmail.com>
4670 * lib/gdb.exp (gdb_load): Always return a result.
4672 2015-02-10 Pedro Alves <palves@redhat.com>
4674 * gdb.threads/signal-sigtrap.c: New file.
4675 * gdb.threads/signal-sigtrap.exp: New file.
4677 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4679 * gdb.trace/no-attach-trace.c: New file.
4680 * gdb.trace/no-attach-trace.exp: New file.
4682 2015-02-09 Mark Wielaard <mjw@redhat.com>
4684 * gdb.dwarf2/atomic.c: New file.
4685 * gdb.dwarf2/atomic-type.exp: Likewise.
4687 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4689 * gdb.btrace/buffer-size.exp: Update "info record" output.
4690 * gdb.btrace/delta.exp: Update "info record" output.
4691 * gdb.btrace/enable.exp: Update "info record" output.
4692 * gdb.btrace/finish.exp: Update "info record" output.
4693 * gdb.btrace/instruction_history.exp: Update "info record" output.
4694 * gdb.btrace/next.exp: Update "info record" output.
4695 * gdb.btrace/nexti.exp: Update "info record" output.
4696 * gdb.btrace/step.exp: Update "info record" output.
4697 * gdb.btrace/stepi.exp: Update "info record" output.
4698 * gdb.btrace/nohist.exp: Update "info record" output.
4700 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4702 * gdb.btrace/buffer-size: New.
4704 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4706 * gdb.btrace/delta.exp: Update "info record" output.
4707 * gdb.btrace/enable.exp: Update "info record" output.
4708 * gdb.btrace/finish.exp: Update "info record" output.
4709 * gdb.btrace/instruction_history.exp: Update "info record" output.
4710 * gdb.btrace/next.exp: Update "info record" output.
4711 * gdb.btrace/nexti.exp: Update "info record" output.
4712 * gdb.btrace/step.exp: Update "info record" output.
4713 * gdb.btrace/stepi.exp: Update "info record" output.
4714 * gdb.btrace/nohist.exp: Update "info record" output.
4716 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4719 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4721 2015-02-06 Pedro Alves <palves@redhat.com>
4723 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4725 (seconds_left, again): New globals.
4726 (main): Wait seconds_left in a 1-second sleep loop instead of
4727 sleeping 180 seconds. If 'again' is set, reset the seconds
4729 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4730 'again' in the inferior before detaching. Print the seconds left.
4731 (options): New global.
4732 (top level): Build program with -DTIMEOUT=$timeout.
4734 2015-02-06 Pedro Alves <palves@redhat.com>
4736 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4737 determine how many seconds to pass to 'alarm'.
4738 * gdb.base/gdb-sigterm.exp (top level): Build program with
4740 (do_test): Return success/failure indication. Add more verbose
4741 logging. Don't fail if 200 single steps are seen. Instead, fail
4742 when the test times out.
4743 (passes): New global.
4744 (top level): Break the testing loop if testing fails on any
4745 iteration. Use gdb_assert.
4747 2015-02-04 Don Breazeal <donb@codesourcery.com>
4749 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4750 and initialize them.
4751 (ipc_cleanup): New function.
4752 (main): Don't declare shmid, semid, and msqid. Add a call to
4753 atexit so that we call ipc_cleanup on exit.
4755 2015-02-04 Pedro Alves <palves@redhat.com>
4757 * boards/native-extended-gdbserver.exp: Remove any target variant
4758 specifications from the board name before clearing the isremote
4759 flag from board_info.
4761 2015-01-31 Doug Evans <xdje42@gmail.com>
4763 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4765 2015-01-31 Gary Benson <gbenson@redhat.com>
4767 * gdb.base/completion.exp: Disable completion limiting for
4768 existing tests. Add new tests to check completion limiting.
4769 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4771 2015-01-31 Doug Evans <xdje42@gmail.com>
4773 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4775 2015-01-31 Doug Evans <xdje42@gmail.com>
4777 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4778 entries. Duplicate file section script entries.
4779 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4780 inlined entries. Add test for safe-path rejection.
4781 * gdb.python/py-section-script.c: Add duplicate inlined section script
4782 entries. Duplicate file section script entries.
4783 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4784 inlined entries. Add test for safe-path rejection.
4786 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4788 * gdb.ada/disc_arr_bound: New testcase.
4790 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4792 * gdb.ada/mi_var_array: New testcase.
4794 2015-01-27 Doug Evans <dje@google.com>
4796 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4797 Add test for objfile.filename, objfile.username after objfile
4800 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4802 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4803 the second test to print the name attribute of value
4804 returned by the call to gdb.lookup_type, and adjust
4805 the expected output accordingly.
4807 2015-01-25 Mark Wielaard <mjw@redhat.com>
4809 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4810 * gdb.base/disp-step-fork.c: Include unistd.h.
4811 * gdb.base/siginfo-obj.c: Include stdio.h.
4812 * gdb.base/siginfo-thread.c: Likewise.
4813 * gdb.mi/non-stop.c: Include unistd.h.
4814 * gdb.mi/nsthrexec.c: Include stdio.h.
4815 * gdb.mi/pthreads.c: Include unistd.h.
4816 * gdb.modula2/unbounded1.c (main): Declare returns int.
4817 * gdb.reverse/consecutive-reverse.c: Likewise.
4818 * gdb.threads/create-fail.c: Include unistd.h.
4819 * gdb.threads/killed.c: Likewise.
4820 * gdb.threads/linux-dp.c: Likewise.
4821 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4822 * gdb.threads/non-ldr-exc-2.c: Likewise.
4823 * gdb.threads/non-ldr-exc-3.c: Likewise.
4824 * gdb.threads/non-ldr-exc-4.c: Likewise.
4825 * gdb.threads/pthreads.c: Include unistd.h.
4826 (main): Declare returns int.
4827 * gdb.threads/tls-main.c (foo): New declaration.
4828 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4830 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4832 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4833 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4835 2015-01-15 Mark Wielaard <mjw@redhat.com>
4837 * gdb.base/noreturn-return.c: New file.
4838 * gdb.base/noreturn-return.exp: New file.
4839 * gdb.base/noreturn-finish.c: New file.
4840 * gdb.base/noreturn-finish.exp: New file.
4842 2015-01-23 Pedro Alves <palves@redhat.com>
4844 * gdb.threads/continue-pending-after-query.c: New file.
4845 * gdb.threads/continue-pending-after-query.exp: New file.
4847 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4848 Simon Marchi <simon.marchi@ericsson.com>
4850 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4851 * gdb.base/valgrind-db-attach.exp: Same.
4852 * gdb.base/valgrind-infcall.exp: Same.
4853 * lib/mi-support.exp (default_mi_gdb_start): Same.
4854 * lib/prompt.exp (default_prompt_gdb_start): Same.
4855 * lib/gdb.exp (default_gdb_spawn): Same.
4856 (gdb_interact): New.
4859 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4861 * gdb.compile/compile.exp (pointer to jit function): New test.
4863 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4865 * lib/gdb.exp (supports_process_record): Return true for
4867 (supports_reverse): Likewise.
4869 2015-01-15 Don Breazeal <donb@codesourcery.com>
4871 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4872 instead of checking whether the target board is remote and
4873 use spawn_wait_for_attach instead of exec/sleep.
4874 * gdb.base/attach-twice.exp: Likewise.
4876 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4878 * gdb.ada/var_arr_attrs: New testcase.
4880 2015-01-14 Pedro Alves <palves@redhat.com>
4881 Joel Brobecker <brobecker@adacore.com>
4884 * gdb.base/bp-cmds-execution-x-script.c: New file.
4885 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4886 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4888 2015-01-14 Pedro Alves <palves@redhat.com>
4891 * gdb.base/batch-preserve-term-settings.c: New file.
4892 * gdb.base/batch-preserve-term-settings.exp: New file.
4894 2015-01-13 Doug Evans <dje@google.com>
4896 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4899 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4901 * Makefile.in (clean mostlyclean): Do not delete *.py.
4903 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4905 * gdb.python/py-lookup-type.exp: New file.
4907 2015-01-12 Pedro Alves <palves@redhat.com>
4909 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4910 restore GDBFLAGS before returning.
4912 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4914 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4915 is_amd64_regs_target and is_x86_like_target.
4917 2015-01-11 Doug Evans <xdje42@gmail.com>
4919 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4920 is given without an explicit form.
4921 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4923 * gdb.dwarf/corrupt.exp: Ditto.
4924 * gdb.dwarf2/enum-type.exp: Ditto.
4925 * gdb.trace/entry-values.exp: Ditto.
4926 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4928 2015-01-11 Doug Evans <xdje42@gmail.com>
4931 * gdb.base/maint.exp: Remove references to "maint demangle".
4932 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4933 Add tests for explicitly specifying language to demangle.
4934 * gdb.dlang/demangle.exp: Ditto.
4936 2015-01-09 Pedro Alves <palves@redhat.com>
4938 * gdb.threads/non-stop-fair-events.c: New file.
4939 * gdb.threads/non-stop-fair-events.exp: New file.
4941 2015-01-09 Pedro Alves <palves@redhat.com>
4943 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4944 the global scope. Set a breakpoint after all threads are started
4945 rather than stepping over two source lines. Expect the prompt.
4946 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4949 (main): Use threads_started_barrier to wait for all threads to
4950 start. Main thread no longer calls thread_function. Exit after
4952 (loop): New function.
4953 (thread_function): Wait on threads_started_barrier barrier. Call
4954 'loop' at each iteration.
4955 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4956 threads have started, instead of hardcoding number of "next"
4957 steps. Use an access watchpoint instead of a write watchpoint.
4959 2015-01-09 Pedro Alves <palves@redhat.com>
4961 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4962 (thread_func): Wait on barrier.
4963 (main): Wait for all threads to start before stopping GDB.
4964 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4966 (thread1_func, thread2_func): Wait on barrier.
4967 (main): Wait for all threads to start before stopping GDB.
4968 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4970 (thread1_func, thread2_func): Wait on barrier.
4971 (main): Wait for all threads to start before stopping GDB.
4973 2015-01-09 Pedro Alves <palves@redhat.com>
4975 * gdb.threads/attach-many-short-lived-threads.c: New file.
4976 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4978 2014-01-09 Pedro Alves <palves@redhat.com>
4980 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4981 instead of to thread 2.
4982 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4983 Add barrier around each pthread_create call instead of around all
4985 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4986 Set a break on thread_function and have the child threads hit it
4989 2015-01-09 Pedro Alves <palves@redhat.com>
4991 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4992 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4994 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4995 checking whether the target board is remote.
4996 * gdb.multi/multi-attach.exp: Likewise.
4997 * gdb.python/py-sync-interp.exp: Likewise.
4998 * gdb.server/ext-attach.exp: Likewise.
4999 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
5000 tests that need to attach, instead of checking whether the target
5001 board is remote at the top of the file.
5003 2015-01-08 Yao Qi <yao@codesourcery.com>
5005 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
5007 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5009 Fix testcase compilation.
5010 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
5012 2015-01-06 Joel Brobecker <brobecker@adacore.com>
5014 * gdb.python/py-type.exp: Add a couple test about empty
5015 array creation, and negative-length array creation.
5017 2015-01-02 Doug Evans <xdje42@gmail.com>
5019 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
5021 2015-01-02 Doug Evans <dje@google.com>
5023 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
5025 2014-12-29 Yao Qi <yao@codesourcery.com>
5027 * gdb.trace/entry-values.exp: Update comments. Rename variable
5028 bar_call_foo to returned_from_foo.
5030 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
5033 * gdb.linespec/break-asm-file.c: New file.
5034 * gdb.linespec/break-asm-file.exp: New file.
5035 * gdb.linespec/break-asm-file0.s: New file.
5036 * gdb.linespec/break-asm-file1.s: New file.
5038 2014-12-18 Nigel Stephens <nigel@mips.com>
5039 Maciej W. Rozycki <macro@codesourcery.com>
5041 * gdb.base/float.exp: Handle the new output from "info float" on
5044 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5046 Fix MinGW compilation.
5047 * gdb.compile/compile-ops.exp: Update untested message if
5048 !skip_compile_feature_tests.
5049 * gdb.compile/compile-setjmp.exp: Likewise.
5050 * gdb.compile/compile-tls.exp: Likewise.
5051 * gdb.compile/compile.exp: Likewise.
5052 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
5053 supported on this host".
5055 2014-12-16 Doug Evans <xdje42@gmail.com>
5057 * boards/stabs.exp: New file.
5059 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
5061 * gdb.base/completion.exp: Adjust to format changes of "maint
5062 print user-registers".
5064 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
5067 * gdb.arch/aarch64-fp.c: New file.
5068 * gdb.arch/aarch64-fp.exp: New file.
5070 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5072 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
5073 r210637, r210913, r211666, r215400, r215817).
5075 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
5076 * dg-extract-results.py: New file.
5077 * dg-extract-results.sh: Use it if the environment seems
5080 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
5082 * dg-extract-results.py (parse_run): Handle warnings that
5083 are printed before a test harness is run.
5085 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
5087 * dg-extract-results.py (Named): Remove __cmp__ method.
5088 (output_variation): Use a key to sort variation.harnesses.
5090 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
5092 * dg-extract-results.py: For Python 3, force sys.stdout to
5093 handle surrogate escape sequences.
5094 (safe_open): New function.
5095 (output_segment, main): Use it.
5097 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
5099 * dg-extract-results.py (Prog.result_re): Include options
5102 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
5104 * dg-extract-results.py (output_variation): Always sort if
5107 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
5109 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
5110 as long as we get pagination notifications.
5112 2014-12-15 Jason Merrill <jason@redhat.com>
5114 * Makefile.in (check-gdb.%): Restore.
5115 * README: Mention it.
5117 2014-12-13 Joel Brobecker <brobecker@adacore.com>
5119 * gdb.ada/str_uninit: New testcase.
5121 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5124 * gdb.base/vla-stub-define.c: New file.
5125 * gdb.base/vla-stub.c: New file.
5126 * gdb.base/vla-stub.exp: New file.
5128 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
5129 Jan Kratochvil <jan.kratochvil@redhat.com>
5130 Tom Tromey <tromey@redhat.com>
5132 * configure.ac: Add gdb.compile/.
5133 * configure: Regenerate.
5134 * gdb.compile/Makefile.in: New file.
5135 * gdb.compile/compile-ops.exp: New file.
5136 * gdb.compile/compile-ops.c: New file.
5137 * gdb.compile/compile-tls.c: New file.
5138 * gdb.compile/compile-tls.exp: New file.
5139 * gdb.compile/compile-constvar.S: New file.
5140 * gdb.compile/compile-constvar.c: New file.
5141 * gdb.compile/compile-mod.c: New file.
5142 * gdb.compile/compile-nodebug.c: New file.
5143 * gdb.compile/compile-setjmp-mod.c: New file.
5144 * gdb.compile/compile-setjmp.c: New file.
5145 * gdb.compile/compile-setjmp.exp: New file.
5146 * gdb.compile/compile-shlib.c: New file.
5147 * gdb.compile/compile.c: New file.
5148 * gdb.compile/compile.exp: New file.
5149 * lib/gdb.exp (skip_compile_feature_tests): New proc.
5151 2014-12-12 Tom Tromey <tromey@redhat.com>
5153 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
5154 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
5156 2014-12-12 Doug Evans <dje@google.com>
5158 * lib/gdb-python.exp (get_python_valueof): New function.
5159 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
5161 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
5163 * gdb.base/completion.exp: Add test for completion of "info
5166 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
5168 * gdb.base/func-ptrs.c: New file.
5169 * gdb.base/func-ptrs.exp: New file.
5171 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5173 PR breakpoints/17012
5174 * gdb.base/dprintf-detach.c: New file.
5175 * gdb.base/dprintf-detach.exp: New file.
5177 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
5179 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
5180 * lib/gdb.exp (target_is_gdbserver): New procedure.
5182 2014-12-08 Doug Evans <dje@google.com>
5184 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
5186 2014-12-05 Yao Qi <yao@codesourcery.com>
5188 * gdb.guile/scm-error.exp: Remove the third argument to
5189 gdb_remote_download.
5190 * gdb.guile/scm-frame-args.exp: Likewise.
5191 * gdb.guile/scm-section-script.exp: Likewise.
5193 2014-12-05 Yao Qi <yao@codesourcery.com>
5195 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
5197 2014-12-04 Doug Evans <dje@google.com>
5199 * gdb.python/py-objfile.exp: Add tests for
5200 objfile.add_separate_debug_file.
5202 2014-12-04 Doug Evans <dje@google.com>
5204 * lib/gdb.exp (get_build_id): New function.
5205 (build_id_debug_filename_get): Rewrite to use it.
5206 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
5208 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
5210 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
5211 `method(long)', not just 0x0.
5212 * gdb.cp/nsalias.exp: Align code labels to 4.
5213 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
5214 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
5215 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
5216 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
5217 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
5218 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
5220 2014-12-02 Doug Evans <dje@google.com>
5223 * gdb.cp/anon-ns.cc: Move guts of this file to ...
5224 * gdb.cp/anon-ns2.cc: ... here. New file.
5225 * gdb.cp/anon-ns.exp: Update.
5227 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
5229 * gdb.python/py-events.py (inferior_call_handler): New.
5230 (register_changed_handler, memory_changed_handler): New.
5231 (test_events.invoke): Register new handlers.
5232 * gdb.python/py-events.exp: Add tests for inferior call,
5233 memory_changed and register_changed events.
5235 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
5237 * gdb.base/execl-update-breakpoints.exp: Specify the link address
5238 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
5239 if the linker doesn't understand this.
5241 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
5243 * gdb.python/python.exp: Change expected reply to help().
5245 2014-12-01 Yao Qi <yao@codesourcery.com>
5247 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
5248 AC_CONFIG_SUBDIRS(gdb.gdbtk).
5249 * configure: Re-generated.
5251 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
5253 * gdb.cp/chained-calls.cc: New file.
5254 * gdb.cp/chained-calls.exp: New file.
5255 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5257 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5259 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5260 * gdb.dwarf2/symtab-producer.exp: Same.
5261 * gdb.gdb/python-interrupts.exp: Same.
5262 * gdb.gdb/python-selftest.exp: Same.
5263 * gdb.python/py-linetable.exp: Same.
5264 * gdb.python/py-type.exp: Same.
5265 * gdb.python/py-value-cc.exp: Same.
5266 * gdb.python/py-value.exp: Same.
5268 2014-11-28 Yao Qi <yao@codesourcery.com>
5270 * gdb.base/break-probes.exp: Match library name prefixed with
5273 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5275 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5276 test expected output. Add parentheses for the call to print.
5277 Remove L suffix from integers.
5279 2014-11-26 Doug Evans <dje@google.com>
5281 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5283 2014-11-22 Yao Qi <yao@codesourcery.com>
5285 * gdb.trace/entry-values.c: Remove asms.
5286 (foo): Add foo_label.
5287 (bar): Add bar_label.
5288 * gdb.trace/entry-values.exp: Remove code computing foo's
5289 length and bar's length.
5290 (Dwarf::assemble): Invoke function_range for bar and use
5291 MACRO_AT_func for foo.
5293 2014-11-22 Yao Qi <yao@codesourcery.com>
5295 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5296 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5297 Use .Lgcc43_procstart instead of gcc43.
5299 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5301 * gdb.ada/n_arr_bound: New testcase.
5303 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5305 PR breakpoints/10737
5306 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5307 test_catch_syscall_multi_arch.
5308 (test_catch_syscall_multi_arch): New function.
5310 2014-11-20 Doug Evans <xdje42@gmail.com>
5312 * gdb.base/maint.exp: Update expected output.
5314 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5316 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5317 4-byte instruction on S390.
5319 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5321 * gdb.ada/arr_arr: New testcase.
5323 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5325 * gdb.ada/pkd_arr_elem: New Testcase.
5327 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5329 * gdb.reverse/break-precsave: Expect completion message for
5331 * gdb.reverse/consecutive-precsave.exp: Likewise.
5332 * gdb.reverse/finish-precsave.exp: Likewise.
5333 * gdb.reverse/i386-precsave.exp: Likewise.
5334 * gdb.reverse/machinestate-precsave.exp: Likewise.
5335 * gdb.reverse/sigall-precsave.exp: Likewise.
5336 * gdb.reverse/solib-precsave.exp: Likewise.
5337 * gdb.reverse/step-precsave.exp: Likewise.
5338 * gdb.reverse/until-precsave.exp: Likewise.
5339 * gdb.reverse/watch-precsave.exp: Likewise.
5341 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5343 * gdb.base/bp-permanent.c: Include unistd.h.
5344 * gdb.python/py-framefilter-mi.c (main): Add return type.
5345 * gdb.python/py-framefilter.c (main): Likewise.
5346 * gdb.trace/actions-changed.c (main): Likewise.
5348 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5350 * gdb.mi/until.c: Add eye-catchers.
5351 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5354 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5356 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5357 function header variants in break1.c.
5358 * gdb.base/ena-dis-br.exp: Likewise.
5359 * gdb.base/hbreak2.exp: Likewise.
5360 * gdb.reverse/until-precsave.exp: Drop references to removed
5361 non-prototype function header variants in ur1.c.
5362 * gdb.reverse/until-reverse.exp: Likewise.
5364 2014-11-17 Petr Machata <pmachata@redhat.com>
5366 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5367 ${_cu_offset_size} bytes abbrev offset.
5369 2014-11-15 Doug Evans <xdje42@gmail.com>
5372 * gdb.base/line-symtabs.exp: New file.
5373 * gdb.base/line-symtabs.c: New file.
5374 * gdb.base/line-symtabs.h: New file.
5376 2014-11-14 Yao Qi <yao@codesourcery.com>
5378 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5379 (func): Add label func_label.
5380 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5381 Replace low_pc and high_pc with MACRO_AT_range.
5382 Replace name, low_pc and high_pc with MACRO_AT_func.
5384 2014-11-14 Yao Qi <yao@codesourcery.com>
5386 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5387 Replace name, low_pc and high_pc with MACRO_AT_func.
5389 2014-11-14 Yao Qi <yao@codesourcery.com>
5391 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5392 produce debug information.
5393 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5395 2014-11-14 Yao Qi <yao@codesourcery.com>
5397 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5398 object and get function length.
5399 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5401 (top-level): Replace gdb_compile and clean_restart with
5402 prepare_for_testing.
5403 * gdb.dwarf2/main.c (main): Add label main_label.
5405 2014-11-14 Yao Qi <yao@codesourcery.com>
5407 * lib/dwarf.exp (function_range): New procedure.
5408 (Dwarf::_handle_macro_at_func): New procedure.
5409 (Dwarf::_handle_macro_at_range): New procedure.
5410 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5412 2014-11-14 Yao Qi <yao@codesourcery.com>
5414 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5415 (_handle_attribute): New procedure.
5417 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5419 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5420 * gdb.base/call-sc.c (zed): Likewise.
5421 * gdb.base/checkpoint.c (main): Likewise.
5422 * gdb.base/dump.c (main): Likewise.
5423 * gdb.base/gcore.c (main): Likewise.
5424 * gdb.base/huge.c (main): Likewise.
5425 * gdb.base/multi-forks.c (main): Likewise.
5426 * gdb.base/pr10179-a.c (main): Likewise.
5427 * gdb.base/savedregs.c (main): Likewise.
5428 * gdb.base/sigaltstack.c (main): Likewise.
5429 * gdb.base/siginfo.c (main): Likewise.
5430 * gdb.base/structs.c (zed): Likewise.
5431 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5432 * gdb.mi/mi-syn-frame.c (main): Likewise.
5433 * gdb.mi/until.c (foo, main): Likewise.
5434 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5435 * gdb.base/solib-weak.c (foo): Declare.
5436 * gdb.base/attach-twice.c: Include stdio.h.
5437 * gdb.base/weaklib1.c: Likewise.
5438 * gdb.base/weaklib2.c: Likewise.
5439 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5440 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5442 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5443 * gdb.mi/mi-exit-code.c: Likewise.
5444 * gdb.base/break-interp-lib.c: Include string.h.
5445 * gdb.base/coremaker.c: Likewise.
5446 * gdb.base/testenv.c: Likewise.
5447 * gdb.python/py-finish-breakpoint.c: Likewise.
5448 * gdb.base/inferior-died.c: Include sys/wait.h.
5449 * gdb.base/fileio.c: Include time.h.
5450 * gdb.base/async-shell.c: Include unistd.h.
5451 * gdb.base/dprintf-non-stop.c: Likewise.
5452 * gdb.base/info-os.c: Likewise.
5453 * gdb.mi/mi-console.c: Likewise.
5454 * gdb.mi/watch-nonstop.c: Likewise.
5455 * gdb.python/py-events.c: Likewise.
5456 * gdb.base/async.c (baz): Move up before its invocation.
5457 * gdb.base/code_elim2.c (my_global_func): Likewise.
5458 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5459 * gdb.base/advance.c (func2): Likewise.
5461 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5463 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5465 * gdb.base/annota3.c: Likewise.
5466 * gdb.base/async.c: Likewise.
5467 * gdb.base/average.c: Likewise.
5468 * gdb.base/call-ar-st.c: Likewise.
5469 * gdb.base/call-rt-st.c: Likewise.
5470 * gdb.base/call-sc.c: Likewise.
5471 * gdb.base/call-strs.c: Likewise.
5472 * gdb.base/ending-run.c: Likewise.
5473 * gdb.base/execd-prog.c: Likewise.
5474 * gdb.base/exprs.c: Likewise.
5475 * gdb.base/foll-exec.c: Likewise.
5476 * gdb.base/foll-fork.c: Likewise.
5477 * gdb.base/foll-vfork.c: Likewise.
5478 * gdb.base/funcargs.c: Likewise.
5479 * gdb.base/gcore.c: Likewise.
5480 * gdb.base/jump.c: Likewise.
5481 * gdb.base/langs0.c: Likewise.
5482 * gdb.base/langs1.c: Likewise.
5483 * gdb.base/langs2.c: Likewise.
5484 * gdb.base/mips_pro.c: Likewise.
5485 * gdb.base/nodebug.c: Likewise.
5486 * gdb.base/opaque0.c: Likewise.
5487 * gdb.base/opaque1.c: Likewise.
5488 * gdb.base/recurse.c: Likewise.
5489 * gdb.base/run.c: Likewise.
5490 * gdb.base/scope0.c: Likewise.
5491 * gdb.base/scope1.c: Likewise.
5492 * gdb.base/setshow.c: Likewise.
5493 * gdb.base/setvar.c: Likewise.
5494 * gdb.base/shmain.c: Likewise.
5495 * gdb.base/shr1.c: Likewise.
5496 * gdb.base/shr2.c: Likewise.
5497 * gdb.base/sigall.c: Likewise.
5498 * gdb.base/signals.c: Likewise.
5499 * gdb.base/so-indr-cl.c: Likewise.
5500 * gdb.base/solib2.c: Likewise.
5501 * gdb.base/structs.c: Likewise.
5502 * gdb.base/sum.c: Likewise.
5503 * gdb.base/vforked-prog.c: Likewise.
5504 * gdb.base/watchpoint.c: Likewise.
5505 * gdb.reverse/shr2.c: Likewise.
5506 * gdb.reverse/until-reverse.c: Likewise.
5507 * gdb.reverse/ur1.c: Likewise.
5508 * gdb.reverse/watch-reverse.c: Likewise.
5510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5512 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5514 * gdb.base/sepdebug.exp: Drop references to removed code.
5516 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5518 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5519 variant. Preserve original line numbering.
5520 * gdb.base/list1.c: Likewise.
5522 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5524 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5526 * gdb.base/break1.c: Likewise.
5527 * gdb.base/break.exp: Drop references to removed code.
5529 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5531 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5534 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5536 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5540 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5541 logic into perform_all_tests() and invoke it with and without
5542 function header prototypes.
5543 (do_function_calls): Remove conditional XFAIL for PR 5318.
5544 (rerun_and_prepare): Remove duplicate code.
5545 (perform_all_tests): New. Main logic moved here.
5547 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5549 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5550 code guarded by #ifdef NO_PROTOTYPES.
5551 (t_double_many_args): Likewise.
5552 (DEF_FUNC_MANY_ARGS_1): Likewise.
5553 (DEF_FUNC_VALUES_1): Likewise.
5554 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5555 guarded by #ifdef PROTOTYPES.
5557 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5559 * gdb.mi/mi-console.c: Add eye-catcher.
5560 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5561 instead of literal line number.
5563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5565 * gdb.base/shr2.c: Add eye-catcher.
5566 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5571 * gdb.base/jump.c: Add eye-catchers.
5572 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5577 * gdb.base/execd-prog.c: Add eye-catchers.
5578 * gdb.base/foll-exec.c: Likewise.
5579 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5582 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5584 * gdb.base/ending-run.c: Add eye-catchers.
5585 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5586 literal line numbers.
5588 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5590 * gdb.base/call-rt-st.c: Add eye-catchers.
5591 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5592 literal line numbers.
5594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5596 * gdb.base/call-ar-st.c: Add eye-catchers.
5597 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5598 literal line numbers.
5600 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5602 * gdb.base/average.c: Add eye-catchers.
5603 * gdb.base/sum.c: Likewise.
5604 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5605 regexps dynamically.
5607 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5609 * gdb.base/solib1.c: Add eye-catchers.
5610 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5611 literal line numbers.
5613 2014-11-12 Pedro Alves <palves@redhat.com>
5615 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5618 2014-11-12 Pedro Alves <palves@redhat.com>
5620 * gdb.arch/i386-bp_permanent.c: New file.
5621 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5622 (srcfile): Set to i386-bp_permanent.c.
5623 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5624 that stepi does not execute the 'leave' instruction, instead of
5625 testing it does execute.
5626 * gdb.base/bp-permanent.c: New file.
5627 * gdb.base/bp-permanent.exp: New file.
5629 2014-11-10 Doug Evans <xdje42@gmail.com>
5632 * gdb.base/symtab-search-order.exp: New file.
5633 * gdb.base/symtab-search-order.c: New file.
5634 * gdb.base/symtab-search-order-1.c: New file.
5635 * gdb.base/symtab-search-order-shlib-1.c: New file.
5637 2014-11-07 Pedro Alves <palves@redhat.com>
5640 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5643 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5646 * gdb.cp/pr17494.cc: New file.
5647 * gdb.cp/pr17494.exp: New file.
5649 2014-11-02 Yao Qi <yao@codesourcery.com>
5651 * gdb.python/python.exp: Get working directory and match the
5652 output of "set extended-prompt \\w " with it.
5654 2014-10-30 Doug Evans <dje@google.com>
5656 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5658 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5661 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5663 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5664 * gdb.base/realname-expand.exp: Likewise.
5665 * gdb.linespec/macro-relative.exp: Likewise.
5667 2014-10-29 Pedro Alves <palves@redhat.com>
5670 * gdb.threads/schedlock.c (some_function): New function.
5671 (call_function): New global.
5672 (MAYBE_CALL_SOME_FUNCTION): New macro.
5673 (thread_function): Call it.
5674 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5675 and use it instead of a global counter. Adjust all callers.
5676 (get_current_thread): Use "find current thread" for test message
5677 here rather than having all callers pass down the same string.
5678 (goto_loop): New procedure, factored out from ...
5679 (my_continue): ... this.
5680 (step_ten_loops): Change parameter from test message to command to
5682 (list_count): Delete global.
5683 (check_result): New procedure, factored out from duplicate top
5685 (continue tests): Wrap in with_test_prefix.
5686 (test_step): New procedure, factored out from duplicate top level
5688 (top level): Test "step" in combination with all scheduler-locking
5689 modes. Test "next" in combination with all scheduler-locking
5690 modes, and in combination with stepping over a function call or
5692 * gdb.threads/next-bp-other-thread.c: New file.
5693 * gdb.threads/next-bp-other-thread.exp: New file.
5695 2014-10-29 Pedro Alves <palves@redhat.com>
5698 * gdb.python/python.exp: Test a multi-line command that spawns
5700 * gdb.base/multi-line-starts-subshell.exp: New file.
5702 2014-10-29 Yao Qi <yao@codesourcery.com>
5704 * gdb.base/fileio.exp: Make directories on host.
5706 2014-10-29 Yao Qi <yao@codesourcery.com>
5708 * gdb.base/fileio.c (test_write): Close the file.
5710 2014-10-28 Pedro Alves <palves@redhat.com>
5713 * gdb.base/sigstep.c (no_handler): New global.
5714 (main): If 'no_handler is true, set the signal handlers to
5716 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5717 with_sw_watch and no_handler parameters. Handle them.
5718 (top level) <stepping over handler when stopped at a breakpoint
5719 test>: Add a test axis for testing with a software watchpoint, and
5720 another for testing with the signal handler set to SIG_IGN.
5721 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5722 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5724 2014-10-28 Pedro Alves <palves@redhat.com>
5727 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5728 * gdb.base/sigstep.exp (other_handler_location): New global.
5729 (advance): Support stepping into the signal handler, and running
5730 commands while in the handler.
5731 (in_handler_map): New global.
5732 (top level): In the advance test, add combinations for getting
5733 into the handler with stepping commands, and for running commands
5734 in the handler. Add comment descripting the advancei tests.
5736 2014-10-28 Pedro Alves <palves@redhat.com>
5738 * gdb.base/sigstep.exp: Use build_executable instead of
5739 prepare_for_testing.
5740 (top level): Move code that starts GDB, runs to main and creates a
5742 (restart): ... this new procedure.
5743 (top level): Move backtrace from signal handler test to ...
5744 (validate_backtrace): ... this new procedure.
5745 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5746 with_test_prefix. Always restart GDB.
5747 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5748 with_test_prefix. Always restart GDB. No need to delete
5749 breakpoints after the test.
5750 (test_skip_handler): Remove prefix parameter.
5751 (skip_over_handler, breakpoint_to_handler)
5752 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5753 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5754 restart GDB. No need to delete breakpoints after the test.
5755 (top level): Use foreach to call the test procedures with
5758 2014-10-28 Pedro Alves <palves@redhat.com>
5760 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5761 instead of GNATS numbers.
5762 * gdb.base/sigbpt.exp: Likewise.
5763 * gdb.base/siginfo.exp: Likewise.
5764 * gdb.base/sigstep.exp: Likewise.
5766 2014-10-27 Pedro Alves <palves@redhat.com>
5768 * gdb.base/sigstep.c (dummy): New global.
5769 (main): Issue a couple writes to the new global.
5770 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5772 (skip_over_handler): Use test_skip_handler.
5773 (top level): Call skip_over_handler for stepi and nexti too.
5774 (breakpoint_over_handler): Use test_skip_handler.
5775 (top level): Call breakpoint_over_handler for stepi and nexti too.
5777 2014-10-27 Yao Qi <yao@codesourcery.com>
5779 * gdb.trace/tfile.c (adjust_function_address)
5780 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5781 function descriptor.
5783 2014-10-24 Don Breazeal <donb@codesourcery.com>
5785 * gdb.base/foll-fork.exp (test_follow_fork,
5786 catch_fork_child_follow): Check for updated fork messages emitted
5788 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5789 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5790 vfork_and_exec_child_follow_through_step): Check for updated vfork
5791 messages emitted from infrun.c.
5793 2014-10-24 Pedro Alves <palves@redhat.com>
5795 * gdb.base/corefile.exp: Remove references to ultrix.
5796 * gdb.base/interrupt.exp: Likewise.
5797 * gdb.base/whatis.exp: Likewise.
5798 * gdb.gdb/selftest.exp: Likewise.
5799 * gdb.threads/manythreads.exp: Likewise.
5800 * gdb.threads/print-threads.exp: Likewise.
5801 * gdb.threads/pthreads.exp:: Likewise.
5802 * gdb.threads/schedlock.exp: Likewise.
5804 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5806 * gdb.cp/non-trivial-retval.cc: Add a test case.
5807 * gdb.cp/non-trivial-retval.exp: Add a test.
5809 2014-10-20 Yao Qi <yao@codesourcery.com>
5811 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5812 * gdb.python/py-objfile-script-gdb.py: New file.
5813 * gdb.python/py-objfile-script.exp: Update reference to
5814 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5815 of remote_download. Remove the dest file.
5817 2014-10-20 Yao Qi <yao@codesourcery.com>
5819 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5820 * gdb.base/step-line.exp: Likewise.
5821 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5822 * gdb.dwarf2/dw2-basic.exp: Likewise.
5823 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5824 * gdb.dwarf2/dw2-filename.exp: Likewise.
5825 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5826 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5827 * gdb.dwarf2/dw2-producer.exp: Likewise.
5828 * gdb.dwarf2/mac-fileno.exp: Likewise.
5829 * gdb.python/py-frame-args.exp: Likewise.
5830 * gdb.python/py-framefilter.exp: Likewise.
5831 * gdb.python/py-mi.exp: Likewise.
5832 * gdb.python/py-objfile-script.exp: Likewise
5833 * gdb.python/py-pp-integral.exp: Likewise.
5834 * gdb.python/py-pp-re-notag.exp: Likewise.
5835 * gdb.python/py-prettyprint.exp: Likewise.
5836 * gdb.python/py-section-script.exp: Likewise.
5837 * gdb.python/py-typeprint.exp: Likewise.
5838 * gdb.python/py-xmethods.exp: Likewise.
5839 * gdb.stabs/weird.exp: Likewise.
5840 * gdb.xml/tdesc-regs.exp: Likewise.
5842 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5844 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5845 (out_cu): Use addr_len for the size of addresses.
5846 (out_line): Likewise. Size DW_LNE_set_address instruction
5847 according to addr_len.
5848 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5849 (FUNC): Add START_INSNS to definition.
5851 2014-10-18 Yao Qi <yao@codesourcery.com>
5853 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5854 gdb_has_argv0 return true.
5855 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5856 check [target_info exists noargs], check [gdb_has_argv0]
5858 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5859 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5862 2014-10-17 Doug Evans <dje@google.com>
5864 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5866 * gdb.python/py-events.py: Add clear_objfiles event.
5868 2014-10-17 Doug Evans <dje@google.com>
5870 * gdb.python/py-objfile.exp: Test progspace attribute.
5872 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5874 * gdb.guile/scm-breakpoint.exp: Do not assume any
5875 directory separators when matching source file paths.
5876 * gdb.python/py-breakpoint.exp: Likewise.
5877 * gdb.reverse/break-precsave.exp: Likewise.
5878 * gdb.reverse/break-reverse.exp: Likewise.
5879 * gdb.reverse/consecutive-precsave.exp: Likewise.
5880 * gdb.reverse/finish-precsave.exp: Likewise.
5881 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5882 * gdb.reverse/finish-reverse.exp: Likewise.
5883 * gdb.reverse/i386-precsave.exp: Likewise.
5884 * gdb.reverse/i387-env-reverse.exp: Likewise.
5885 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5886 * gdb.reverse/machinestate-precsave.exp: Likewise.
5887 * gdb.reverse/machinestate.exp: Likewise.
5888 * gdb.reverse/sigall-precsave.exp: Likewise.
5889 * gdb.reverse/solib-precsave.exp: Likewise.
5890 * gdb.reverse/step-precsave.exp: Likewise.
5891 * gdb.reverse/until-precsave.exp: Likewise.
5892 * gdb.reverse/watch-precsave.exp: Likewise.
5893 * gdb.reverse/watch-reverse.exp: Likewise.
5895 2014-10-17 Yao Qi <yao@codesourcery.com>
5897 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5898 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5900 2014-10-17 Pedro Alves <palves@redhat.com>
5903 * gdb.base/bg-execution-repeat.c: New file.
5904 * gdb.base/bg-execution-repeat.exp: New file.
5906 2014-10-17 Pedro Alves <palves@redhat.com>
5909 * gdb.base/continue-all-already-running.c: New file.
5910 * gdb.base/continue-all-already-running.exp: New file.
5912 2014-10-17 Pedro Alves <palves@redhat.com>
5915 * gdb.base/annota-input-while-running.c: New file.
5916 * gdb.base/annota-input-while-running.exp: New file.
5918 2014-10-17 Pedro Alves <palves@redhat.com>
5920 * gdb.base/callfuncs.exp: emove references to osf.
5921 * gdb.base/sigall.exp: Likewise.
5922 * gdb.gdb/selftest.exp: Likewise.
5923 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5924 * gdb.mi/non-stop.c: Likewise.
5925 * gdb.mi/pthreads.c: Likewise.
5926 * gdb.reverse/sigall-precsave.exp: Likewise.
5927 * gdb.reverse/sigall-reverse.exp: Likewise.
5928 * gdb.threads/pthreads.c: Likewise.
5929 * gdb.threads/pthreads.exp: Likewise.
5931 2014-10-17 Yao Qi <yao@codesourcery.com>
5933 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5934 check 'target_info exists noargs'.
5935 (test_command_prompt_position): Likewise.
5936 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5938 (progvar_simple_while_test): Likewise.
5939 (progvar_complex_if_while_test): Likewise.
5940 (if_while_breakpoint_command_test): Likewise.
5941 (infrun_breakpoint_command_test): Likewise.
5942 (breakpoint_command_test): Likewise.
5943 (watchpoint_command_test): Likewise.
5944 (bp_deleted_in_command_test): Likewise.
5945 (temporary_breakpoint_commands): Likewise.
5947 2014-10-16 Yao Qi <yao@codesourcery.com>
5949 * gdb.base/remotetimeout.exp: Remove noargs checking.
5951 2014-10-15 Pedro Alves <palves@redhat.com>
5954 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5955 * gdb.base/breakpoint-in-ro-region.exp
5956 (probe_target_hardware_step): New procedure.
5957 (top level): Probe hardware stepping and hardware breakpoint
5958 support. Test stepping through a read-only region, with both
5959 "breakpoint auto-hw" on and off and both "always-inserted" on and
5962 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5964 * gdb.dlang/demangle.exp: Update for demangling changes.
5966 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5968 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5969 * gdb.cp/non-trivial-retval.exp: Add new tests.
5971 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5975 * gdb.cp/non-trivial-retval.cc: New file.
5976 * gdb.cp/non-trivial-retval.exp: New file.
5978 2014-10-15 Yao Qi <yao@codesourcery.com>
5980 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5983 2014-10-15 Yao Qi <yao@codesourcery.com>
5985 * gdb.python/py-symbol.exp: Match file base name if host is
5986 remote, otherwise match file name with dir name.
5987 * gdb.python/py-symtab.exp: Likewise.
5988 * gdb.python/python.exp: Likewise.
5990 2014-10-15 Yao Qi <yao@codesourcery.com>
5992 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5994 * gdb.python/py-symtab.exp: Likewise.
5995 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5998 2014-10-14 Joel Brobecker <brobecker@adacore.com>
6000 * gdb.ada/addr_arith: New testcase.
6002 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
6004 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
6005 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
6006 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
6007 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
6009 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
6011 * gdb.arch/stap-eval-lang-ada.S: Likewise.
6012 * gdb.arch/stap-eval-lang-ada.c: Likewise.
6013 * gdb.arch/stap-eval-lang-ada.exp: New file.
6015 2014-10-14 Yao Qi <yao@codesourcery.com>
6017 * gdb.mi/mi-var-child.c (nothing1): New function.
6018 (nothing2): New function.
6019 (do_children_tests): Set function pointers by nothing1 and
6021 * gdb.mi/mi-var-child.exp: Step over new added statements.
6022 Update test to match the new output.
6023 * gdb.mi/var-cmd.c (nothing1): New function.
6024 (nothing2): New function.
6025 (do_children_tests): Set function pointers by nothing1 and
6027 * gdb.mi/mi-var-display.exp: Update test to match output.
6028 Step to the line specified by $line_dct_nothing.
6029 Increase the number of lines to step.
6031 2014-10-14 Yao Qi <yao@codesourcery.com>
6033 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
6035 * gdb.mi/mi2-var-child.exp: Likewise.
6037 2014-10-13 Doug Evans <dje@google.com>
6039 * gdb.python/py-objfile.exp: Change name of file name test.
6041 2014-10-13 Doug Evans <dje@google.com>
6043 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
6044 from the start of the CU.
6046 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6047 Yao Qi <yao@codesourcery.com>
6049 Fix "save breakpoints" for "catch" command.
6050 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
6051 Remove -nonewline. Match also the added "main" line.
6053 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6055 Fix "save breakpoints" for "disable $bpnum" command.
6056 * gdb.base/save-bp.c (main): Add label.
6057 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
6059 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6061 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
6063 2014-10-11 Yao Qi <yao@codesourcery.com>
6065 * gdb.server/server-kill.exp: Execute command
6066 "set remote trace-status-packet on" before "tstatus".
6068 2014-10-11 Yao Qi <yao@codesourcery.com>
6070 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
6071 (main): Call getppid.
6072 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
6073 and continue to it. Read variable "server_pid".
6075 2014-10-11 Yao Qi <yao@codesourcery.com>
6077 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
6079 2014-10-11 Yao Qi <yao@codesourcery.com>
6081 * gdb.threads/thread-find.exp: Don't execute command
6083 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
6084 * gdb.threads/linux-dp.exp: Don't check the condition
6085 $threads_created equals to zero.
6087 2014-10-10 Pedro Alves <palves@redhat.com>
6089 * gdb.base/bigcore.exp: Remove references to IRIX.
6090 * gdb.base/funcargs.exp: Likewise.
6091 * gdb.base/interrupt.exp: Likewise.
6092 * gdb.base/mips_pro.exp: Likewise.
6093 * gdb.base/nodebug.exp: Likewise.
6094 * gdb.base/setvar.exp: Likewise.
6095 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
6097 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6098 Pedro Alves <palves@redhat.com>
6101 * gdb.base/vdso-warning.c: New file.
6102 * gdb.base/vdso-warning.exp: New file.
6104 2014-10-02 Doug Evans <dje@google.com>
6106 * gdb.base/structs.c (main): Don't run forever.
6108 2014-10-02 Pedro Alves <palves@redhat.com>
6110 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
6111 (top level) <stop threads 1, stop threads 2>: Use it.
6113 2014-10-02 Pedro Alves <palves@redhat.com>
6115 * gdb.threads/break-while-running.exp (test): Add new
6116 'update_thread_list' argument. Skip "info threads" if false.
6117 (top level): Add new 'update_thread_list' axis.
6119 2014-10-02 Pedro Alves <palves@redhat.com>
6121 PR breakpoints/17431
6122 * gdb.base/execl-update-breakpoints.c: New file.
6123 * gdb.base/execl-update-breakpoints.exp: New file.
6125 2014-10-01 Pedro Alves <palves@redhat.com>
6127 * gdb.base/breakpoint-in-ro-region.c: New file.
6128 * gdb.base/breakpoint-in-ro-region.exp: New file.
6130 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
6132 * gdb.mi/mi-exit-code.exp: New file.
6133 * gdb.mi/mi-exit-code.c: New file.
6135 2014-09-30 Yao Qi <yao@codesourcery.com>
6137 * lib/prelink-support.exp (build_executable_own_libs): Error if
6138 the target isn't native.
6140 2014-09-30 Yao Qi <yao@codesourcery.com>
6142 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
6145 2014-09-22 Pedro Alves <palves@redhat.com>
6147 * gdb.threads/break-while-running.exp: New file.
6148 * gdb.threads/break-while-running.c: New file.
6150 2014-09-19 Yao Qi <yao@codesourcery.com>
6152 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
6153 Invoke test. Restart GDB with --readnow and invoke test again.
6155 2014-09-19 Yao Qi <yao@codesourcery.com>
6157 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
6158 proc set_breakpoint_on_gcd_function. Invoke
6159 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6160 invoke set_breakpoint_on_gcd_function again.
6162 2014-09-18 Doug Evans <dje@google.com>
6164 * gdb.dwarf2/symtab-producer.exp: New file.
6166 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6168 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
6169 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
6170 * gdb.base/global-var-nested-by-dso.c: Likewise.
6171 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6173 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
6174 Pedro Alves <palves@redhat.com>
6176 * gdb.base/watch-bitfields.exp: Pass string other than test file
6177 name to prepare_for_testing.
6178 (watch): New procedure.
6179 (expect_watchpoint): Use with_test_prefix.
6180 (top level): Factor out tests to ...
6181 (test_watch_location, test_regular_watch): ... these new
6182 procedures, and use with_test_prefix and gdb_continue_to_end.
6184 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
6186 PR breakpoints/12526
6187 * gdb.base/watch-bitfields.exp: New file.
6188 * gdb.base/watch-bitfields.c: New file.
6190 2014-09-16 Pedro Alves <palves@redhat.com>
6192 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
6193 software and hardware addresses, not software address against
6196 2014-09-16 Pedro Alves <palves@redhat.com>
6198 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
6199 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
6201 2014-09-16 Pedro Alves <palves@redhat.com>
6203 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
6205 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6206 "*-*-vxworks*" throughout.
6207 * gdb.base/break.exp: Likewise.
6208 * gdb.base/default.exp: Likewise.
6209 * gdb.base/scope.exp: Likewise.
6210 * gdb.base/sepdebug.exp: Likewise.
6211 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
6213 * gdb.base/run.c: Likewise.
6214 * gdb.base/sepdebug.c: Likewise.
6215 * gdb.hp/gdb.aCC/run.c: Likewise.
6216 * gdb.reverse/until-reverse.c: Likewise.
6217 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
6219 2014-09-16 Yao Qi <yao@codesourcery.com>
6221 * boards/local-remote-host-native.exp: New file.
6223 2014-09-14 Doug Evans <xdje42@gmail.com>
6225 * gdb.threads/queue-signal.c (thread_count): New variable.
6226 (thread_count_mutex, thread_count_condvar): New variables.
6227 (incr_thread_count, wait_all_threads_running): New functions.
6228 (main): Wait for all threads to be in their thread functions.
6230 2014-09-13 Doug Evans <xdje42@gmail.com>
6232 * gdb.threads/queue-signal.c: New file.
6233 * gdb.threads/queue-signal.exp: New file.
6235 2014-09-13 Doug Evans <xdje42@gmail.com>
6237 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
6238 be consistent with what default_gdb_init uses.
6239 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
6240 the plain text of the prompt. Add some logging printfs.
6241 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
6243 2014-09-12 Pedro Alves <palves@redhat.com>
6245 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
6246 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
6247 * gdb.arch/i386-size-overlap.exp: Likewise.
6248 * gdb.arch/i386-size.exp: Likewise.
6249 * gdb.arch/i386-unwind.exp: Likewise.
6250 * gdb.base/a2-run.exp: Likewise.
6251 * gdb.base/break.exp: Likewise.
6252 * gdb.base/charset.exp: Likewise.
6253 * gdb.base/chng-syms.exp: Likewise.
6254 * gdb.base/commands.exp: Likewise.
6255 * gdb.base/dbx.exp: Likewise.
6256 * gdb.base/find.exp: Likewise.
6257 * gdb.base/funcargs.exp: Likewise.
6258 * gdb.base/jit-simple.exp: Likewise.
6259 * gdb.base/reread.exp: Likewise.
6260 * gdb.base/sepdebug.exp: Likewise.
6261 * gdb.base/step-bt.exp: Likewise.
6262 * gdb.cp/mb-inline.exp: Likewise.
6263 * gdb.cp/mb-templates.exp: Likewise.
6264 * gdb.objc/basicclass.exp: Likewise.
6265 * gdb.threads/killed.exp: Likewise.
6267 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6270 * gdb.arch/powerpc-stackless.S: New file.
6271 * gdb.arch/powerpc-stackless.exp: New file.
6273 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6275 * gdb.base/attach.c: Include unistd.h.
6276 (main): Call alarm. Add label postloop.
6277 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6278 gdb_breakpoint, gdb_continue_to_breakpoint.
6279 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6281 2014-09-11 Pedro Alves <palves@redhat.com>
6284 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6285 * gdb.base/attach.exp (test_command_line_attach_run): New
6287 (top level): Call it.
6289 2014-09-11 Pedro Alves <palves@redhat.com>
6291 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6292 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6293 (do_command_attach_tests): Use spawn_wait_for_attach.
6294 * gdb.base/solib-overlap.exp: Likewise.
6295 * gdb.multi/multi-attach.exp: Likewise.
6296 * gdb.python/py-prompt.exp: Likewise.
6297 * gdb.python/py-sync-interp.exp: Likewise.
6298 * gdb.server/ext-attach.exp: Likewise.
6300 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6302 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6303 command in testcase. Simplify testcase.
6305 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6307 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6309 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6311 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6313 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6315 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6317 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6319 * gdb.dwarf2/dynarr-ptr.c: New file.
6320 * gdb.dwarf2/dynarr-ptr.exp: New file.
6322 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6324 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6325 of 30 rather than hardcoding 120 for a slow test case. Take the
6326 `gdb,timeout' target setting into account for this calculation.
6327 Don't extend the timeout for the test cases that don't need it.
6329 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6331 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6332 a factor of 2 for a slow test case. Take the `gdb,timeout'
6333 target setting into account for this calculation.
6334 * gdb.reverse/until-precsave.exp: Increase the timeout by
6335 a factor of 15 and 3 respectively rather than adding 120
6336 for a pair of slow test cases. Take the `gdb,timeout'
6337 target setting into account for this calculation.
6339 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6341 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6342 timeout, don't pass one down to gdb_expect.
6343 (gdb_expect): Rework timeout selection.
6345 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6347 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6348 exception on timeout.
6349 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6350 (gdbserver_start_extended): Catch any `gdbserver_start' error
6352 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6353 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6354 `gdbserver_gdb_load' error exceptions.
6356 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6358 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6359 120 on waiting for the TCP socket to open.
6361 2014-09-09 Doug Evans <xdje42@gmail.com>
6363 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6364 _caller_matches, _any_caller_is, _any_caller_matches.
6366 2014-09-09 Doug Evans <xdje42@gmail.com>
6368 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6370 2014-09-09 Yao Qi <yao@codesourcery.com>
6372 * gdb.mi/mi-var-display.exp: Set print symbol off.
6374 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6377 * gdb.base/commands.exp: Add tests to verify user-defined
6378 commands with empty bodies.
6379 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6380 python commands in `show user command`.
6381 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6382 scheme commands in `show user command`.
6384 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6387 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6388 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6389 * gdb.python/py-framefilter-invalidarg.exp: New file.
6390 * gdb.python/py-framefilter-invalidarg.py: New file.
6392 2014-09-06 Doug Evans <xdje42@gmail.com>
6395 * gdb.python/py-caller-is.c: New file.
6396 * gdb.python/py-caller-is.exp: New file.
6398 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6401 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6402 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6404 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6407 * gdb.fortran/print-formatted.exp: New file.
6408 * gdb.fortran/print-formatted.f90: Likewise.
6410 2014-09-03 Sasha Smundak <asmundak@google.com>
6412 * gdb.python/py-frame.exp: Test Frame.read_register.
6414 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6417 * gdb.python/py-completion.exp: New file.
6418 * gdb.python/py-completion.py: Likewise.
6420 2014-08-28 Doug Evans <dje@google.com>
6422 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6423 eax,etc. are live with values set by gdb and thus the compiler can't
6425 * gdb.arch/i386-pseudo.c (main): Ditto.
6427 2014-08-27 Doug Evans <dje@google.com>
6429 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6431 2014-08-25 Doug Evans <dje@google.com>
6433 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6436 2014-08-25 Doug Evans <dje@google.com>
6438 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6440 2014-08-24 Yao Qi <yao@codesourcery.com>
6442 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6444 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6446 2014-08-22 Doug Evans <dje@google.com>
6449 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6450 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6451 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6453 2014-08-22 Yao Qi <yao@codesourcery.com>
6455 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6456 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6457 * gdb.python/python.exp: Likewise. Use .py file on the host
6458 instead of the build.
6460 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6462 * gdb.threads/gcore-stale-thread.c: New file.
6463 * gdb.threads/gcore-stale-thread.exp: New file.
6465 2014-08-21 Pedro Alves <palves@redhat.com>
6467 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6468 * gdb.base/gcore-relro-pie.exp: Likewise.
6469 * gdb.base/gcore-relro.exp: Likewise.
6470 * gdb.base/gcore.exp: Likewise.
6471 * gdb.base/print-symbol-loading.exp: Likewise.
6472 * gdb.threads/gcore-thread.exp: Likewise.
6473 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6475 2014-08-20 Pedro Alves <palves@redhat.com>
6476 Jan Kratochvil <jan.kratochvil@redhat.com>
6478 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6480 (EXPECT): Handle READ1 being set.
6481 (all): Depend on EXTRA_RULES.
6482 (check-read1, expect-read1, read1.so, read1): New rules.
6483 * README (Testsuite Parameters): Document the READ1 make variable.
6484 (Race detection): New section.
6485 * configure: Regenerate.
6486 * configure.ac: If build==host==target, and running under a
6487 GNU/glibc system, add read1 to the extra Makefile rules.
6488 (EXTRA_RULES): AC_SUBST it.
6489 * lib/read1.c: New file.
6491 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6493 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6494 the handling of variables declared as a typedef to an array
6495 which a DW_AT_data_location attribute.
6497 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6498 Pedro Alves <palves@redhat.com>
6502 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6505 2014-08-19 Pedro Alves <palves@redhat.com>
6507 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6509 2014-08-19 Yao Qi <yao@codesourcery.com>
6511 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6514 2014-08-18 David Blaikie <dblaikie@gmail.com>
6516 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6518 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6520 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6521 attribute in array range.
6523 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6525 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6527 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6530 * gdb.cp/pr17132.cc: New file.
6531 * gdb.cp/pr17132.exp: New file.
6533 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6535 * gdb.python/py-xmethods.py (A_getarrayind)
6536 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6537 Use 'print' with function call syntax.
6538 (E_method_matcher.match): Fix tab vs space indentation mixup.
6540 2014-08-15 Yao Qi <yao@codesourcery.com>
6542 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6545 2014-08-15 Yao Qi <yao@codesourcery.com>
6547 * gdb.cp/casts.exp: Set print symbol off.
6548 * gdb.cp/class2.exp: Likewise.
6549 * gdb.cp/overload.exp: Likewise.
6550 * gdb.cp/templates.exp: Likewise.
6552 2014-08-11 Doug Evans <dje@google.com>
6554 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6555 (test_load_shlib): Update.
6557 2014-08-09 Yao Qi <yao@codesourcery.com>
6559 * gdb.base/display.exp: Invoke is_address_zero_readable.
6560 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6561 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6562 * gdb.base/hbreak-unmapped.exp: Return if
6563 is_address_zero_readable returns true.
6564 * gdb.base/signest.exp: Likewise.
6565 * gdb.base/signull.exp: Likewise.
6566 * gdb.base/sigbpt.exp: Likewise.
6567 * gdb.guile/scm-disasm.exp: Do the test if
6568 is_address_zero_readable returns false.
6569 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6570 * gdb.python/py-arch.exp: Likewise.
6571 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6572 * lib/gdb.exp (is_address_zero_readable): New proc.
6574 2014-08-09 Yao Qi <yao@codesourcery.com>
6577 * gdb.mi/mi-var-display.exp: Make test messages unique.
6579 2014-08-04 Tom Tromey <tromey@redhat.com>
6581 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6584 2014-08-04 Tom Tromey <tromey@redhat.com>
6586 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6589 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6591 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6592 inner_vla_struct_object_size.
6593 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6596 2014-07-30 Pedro Alves <palves@redhat.com>
6598 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6601 2014-07-29 Yao Qi <yao@codesourcery.com>
6604 * gdb.base/until-nodebug.exp: New.
6606 2014-07-28 Doug Evans <xdje42@gmail.com>
6609 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6610 previously existing parameter, and previously ambiguously spelled
6613 2014-07-28 Will Newton <will.newton@linaro.org>
6615 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6617 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6618 Doug Evans <xdje42@gmail.com>
6621 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6623 2014-07-25 Pedro Alves <palves@redhat.com>
6625 * gdb.threads/signal-command-handle-nopass.c: New file.
6626 * gdb.threads/signal-command-handle-nopass.exp: New file.
6627 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6628 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6629 * gdb.threads/signal-delivered-right-thread.c: New file.
6630 * gdb.threads/signal-delivered-right-thread.exp: New file.
6632 2014-07-25 Pedro Alves <palves@redhat.com>
6634 * gdb.base/double-prompt-target-event-error.exp
6635 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6637 (cancel_pagination_in_target_event): Rework double prompt
6639 * gdb.base/paginate-after-ctrl-c-running.exp
6640 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6642 * gdb.base/paginate-bg-execution.exp
6643 (test_bg_execution_pagination_return)
6644 (test_bg_execution_pagination_cancel): Remove '-notransfer
6646 * gdb.base/paginate-execution-startup.exp
6647 (test_fg_execution_pagination_return)
6648 (test_fg_execution_pagination_cancel): Remove '-notransfer
6650 * gdb.base/paginate-inferior-exit.exp
6651 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6653 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6654 * lib/gdb.exp (pagination_prompt): Run text through
6656 (gdb_test_multiple): Match $pagination_prompt instead of
6658 (string_to_regexp): Move to lib/gdb-utils.exp.
6660 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6662 * gdb.arch/amd64-entry-value-paramref.S: New file.
6663 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6664 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6665 * gdb.arch/amd64-optimout-repeat.S: New file.
6666 * gdb.arch/amd64-optimout-repeat.c: New file.
6667 * gdb.arch/amd64-optimout-repeat.exp: New file.
6669 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6672 * gdb.base/statistics.exp: New file.
6674 2014-07-17 Doug Evans <dje@google.com>
6677 * gdb.base/maint.exp: Update testing of per-command stats.
6679 2014-07-16 Pedro Alves <palves@redhat.com>
6681 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6682 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6683 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6684 (tfile_write_buf): New functions.
6685 (add_memory_block): Rewrite using the above.
6686 (adjust_function_address): New function.
6687 (FUNCTION_ADDRESS): New macro.
6688 (write_basic_trace_file): Remove short_x local, and use
6689 tfile_write_16. Change type of func_addr local to unsigned long
6690 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6691 here. Cast argument of add_memory_block to char pointer.
6692 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6693 (main): Remove parameters.
6694 * gdb.trace/tfile.exp: Remove nowarnings.
6696 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6698 * gdb.base/debug-expr.exp: Test string evaluation with
6699 "debug expression" on.
6701 2014-07-15 Pedro Alves <palves@redhat.com>
6703 * gdb.base/reread.exp: Use clean_restart.
6705 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6707 * gdb.arch/avr-flash-qualifer.c: New.
6708 * gdb.arch/avr-flash-qualifer.exp: New.
6710 2014-07-14 Pedro Alves <palves@redhat.com>
6712 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6713 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6715 2014-07-14 Pedro Alves <palves@redhat.com>
6717 * gdb.base/double-prompt-target-event-error.c: New file.
6718 * gdb.base/double-prompt-target-event-error.exp: New file.
6720 2014-07-14 Pedro Alves <palves@redhat.com>
6723 * gdb.base/paginate-inferior-exit.c: New file.
6724 * gdb.base/paginate-inferior-exit.exp: New file.
6726 2014-07-14 Pedro Alves <palves@redhat.com>
6729 * gdb.base/paginate-bg-execution.c: New file.
6730 * gdb.base/paginate-bg-execution.exp: New file.
6732 2014-07-14 Pedro Alves <palves@redhat.com>
6735 * gdb.base/paginate-execution-startup.c: New file.
6736 * gdb.base/paginate-execution-startup.exp: New file.
6737 * lib/gdb.exp (pagination_prompt): New global.
6738 (default_gdb_spawn): New procedure, factored out from
6740 (default_gdb_start): Adjust to call default_gdb_spawn.
6741 (gdb_spawn): New procedure.
6743 2014-07-14 Pedro Alves <palves@redhat.com>
6745 * lib/gdb.exp (gdb_assert): New procedure.
6746 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6748 2014-07-14 Pedro Alves <palves@redhat.com>
6750 * gdb.base/execution-termios.c: New file.
6751 * gdb.base/execution-termios.exp: New file.
6753 2014-07-14 Tom Tromey <tromey@redhat.com>
6755 * gdb.cp/vla-cxx.cc: New file.
6756 * gdb.cp/vla-cxx.exp: New file.
6758 2014-07-14 Tom Tromey <tromey@redhat.com>
6760 * gdb.reverse/rerun-prec.c: New file.
6761 * gdb.reverse/rerun-prec.exp: New file.
6763 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6764 Maciej W. Rozycki <macro@codesourcery.com>
6766 * lib/gdb-utils.exp: New file.
6767 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6768 inline `gdb_init_command' processing.
6769 (gdb_start_cmd): Likewise.
6770 * lib/mi-support.exp (mi_run_cmd): Likewise.
6771 * README: Document `gdb_init_command' and `gdb_init_commands'.
6773 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6775 Fix false FAIL running under a very long directory name.
6776 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6777 and "set print elements 10000". Twice.
6779 2014-07-11 Yao Qi <yao@codesourcery.com>
6781 * gdb.base/exprs.exp: "set print symbol off".
6783 2014-07-11 Pedro Alves <palves@redhat.com>
6785 * gdb.threads/kill.c: New file.
6786 * gdb.threads/kill.exp: New file.
6788 2014-07-10 Yao Qi <yao@codesourcery.com>
6790 * gdb.trace/tfile.c (write_basic_trace_file)
6791 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6792 address written to trace file.
6794 2014-07-09 Pedro Alves <palves@redhat.com>
6796 * gdb.base/attach-wait-input.exp: New file.
6797 * gdb.base/attach-wait-input.c: New file.
6799 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6801 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6802 setting up test structures.
6803 (main): Call new test function.
6804 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6805 test function, continue into test function and walk test
6808 2014-07-02 Yao Qi <yao@codesourcery.com>
6810 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6811 'bar_start' at the beginning of functions 'foo' and 'bar'
6813 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6814 instead of 'foo' and 'bar'.
6816 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6818 * gdb.btrace/segv.exp: New.
6819 * gdb.btrace/segv.c: New.
6821 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6823 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6826 2014-06-30 Mark Wielaard <mjw@redhat.com>
6828 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6829 vulture, vilify, villar): New volatile array constants.
6830 (vindictive, vegetation): New const volatile array constants.
6831 * gdb.base/volatile.exp: Test volatile and const volatile array
6834 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6836 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6837 target lacks support for awatch, rwatch, or hbreak.
6839 2014-06-27 Yao Qi <yao@codesourcery.com>
6841 * gdb.multi/dummy-frame-restore.exp: New.
6842 * gdb.multi/dummy-frame-restore.c: New.
6844 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6846 * gdb.btrace/gcore.exp: New.
6848 2014-06-23 Pedro Alves <palves@redhat.com>
6850 * gdb.base/watchpoint-reuse-slot.c: New file.
6851 * gdb.base/watchpoint-reuse-slot.exp: New file.
6853 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6855 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6856 progspace's filename in 'info', 'enable' and 'disable' command
6859 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6861 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6862 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6863 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6865 2014-06-20 Gary Benson <gbenson@redhat.com>
6867 * gdb.arch/i386-avx.exp: Fix include file location.
6868 * gdb.arch/i386-sse.exp: Likewise.
6870 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6872 * gdb.dlang/expression.exp: New file.
6874 2014-06-19 Pedro Alves <palves@redhat.com>
6876 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6878 (top level): ... here. Iterate running tests under different
6879 scheduler-locking settings.
6881 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6883 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6884 to DW_FORM_addr and use non-zero addresses.
6886 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6889 * gdb.python/py-xmethods.cc: Add global function call counters and
6890 increment them in their respective functions. Remove "cout"
6892 * gdb.python/py-xmethods.exp: Make tests check the global function
6893 call counters instead of depending on inferior IO.
6895 2014-06-18 Don Breazeal <donb@codesourcery.com>
6897 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6899 (explicit_fork_parent_follow): Deleted procedure.
6900 (explicit_fork_child_follow): Deleted procedure.
6901 (test_follow_fork): New procedure.
6902 (do_fork_tests): Replace calls to deleted procedures with
6903 calls to test_follow_fork and reset GDB for subsequent
6906 2014-06-17 Yao Qi <yao@codesourcery.com>
6908 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6911 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6913 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6914 Initialize ptr and S explicitly.
6915 (skip_type_update_when_not_use_rtti_test): Likewise.
6917 2014-06-16 Keith Seitz <keiths@redhat.com>
6920 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6921 the inferior is started.
6923 2014-06-16 Pedro Alves <palves@redhat.com>
6925 * gdb.base/break-main-file-remove-fail.c: New file.
6926 * gdb.base/break-main-file-remove-fail.exp: New file.
6927 * gdb.base/break-unload-file.exp: Use build_executable instead of
6928 prepare_for_testing.
6929 (test_break): New parameter "initial_load". Handle it.
6930 (top level): Add initial_load cmdline/file axis.
6932 2014-06-12 Tom Tromey <tromey@redhat.com>
6934 * gdb.base/completion.exp: Don't use directory name in test.
6936 2014-06-09 Gary Benson <gbenson@redhat.com>
6938 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6939 separate the always-available ANSI-standard signals from the
6940 signals that require checking.
6942 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6946 2014-06-07 Keith Seitz <keiths@redhat.com>
6950 * gdb.cp/var-tag.cc: New file.
6951 * gdb.cp/var-tag.exp: New file.
6952 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6953 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6954 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6955 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6957 2014-06-06 Doug Evans <xdje42@gmail.com>
6959 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6961 2014-06-06 Pedro Alves <palves@redhat.com>
6963 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6964 in target debug output instead of looking at RSP packets,
6965 disabling the test on any target that uses hardware stepping.
6968 2014-06-06 Pedro Alves <palves@redhat.com>
6970 * gdb.base/break-unload-file.exp: Fix typo.
6972 2014-06-06 Yao Qi <yao@codesourcery.com>
6974 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6975 from "jit_function" to "^jit_function".
6977 2014-06-06 Yao Qi <yao@codesourcery.com>
6979 * gdb.base/async.c (foo): Add one statement.
6980 * gdb.base/async.exp: Get the next instruction address and
6981 match the output of "nexti" by instruction address. Match
6982 the hex address in the output of "finish".
6984 2014-06-06 Gary Benson <gbenson@redhat.com>
6986 * gdb.base/call-signals.c: Remove preprocessor conditionals
6987 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6988 SIGSEGV and SIGTERM.
6989 * gdb.base/sigall.c: Likewise.
6990 * gdb.base/unwindonsignal.c: Likewise.
6991 * gdb.reverse/sigall-reverse.c: Likewise.
6993 2014-06-06 Yao Qi <yao@codesourcery.com>
6995 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6996 readable, skip the test.
6998 2014-06-06 Yao Qi <yao@codesourcery.com>
7000 * gdb.threads/staticthreads.c (thread_function): Move the line
7001 setting breakpoint on forward.
7002 * gdb.threads/staticthreads.exp: Update comments.
7004 2014-06-05 Ludovic Courtès <ludo@gnu.org>
7006 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
7007 "history-append! type error".
7009 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
7011 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
7012 erroneous dprintf expected input.
7014 2014-06-04 Doug Evans <xdje42@gmail.com>
7016 * gdb.guile/scm-generics.exp: Delete.
7018 2014-06-04 Doug Evans <xdje42@gmail.com>
7020 * gdb.guile/scm-breakpoint.exp: Update.
7021 Add tests for breakpoint registration.
7023 2014-06-04 Tom Tromey <tromey@redhat.com>
7025 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
7027 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
7028 inner_vla_struct, vla_union types. Initialize objects of those
7029 types and compute their sizes.
7031 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
7032 Hui Zhu <hui@codesourcery.com>
7034 * gdb.base/fileio.exp: Add test for shell not available as well as
7036 * gdb.base/fileio.c (test_system): Check for shell twice.
7038 2014-06-04 Yao Qi <yao@codesourcery.com>
7040 * gdb.base/auto-connect-native-target.exp: Remove redundant
7041 space from the regexp pattern.
7043 2014-06-04 Yao Qi <yao@codesourcery.com>
7045 * gdb.base/default.exp: Replace "child" with "native" in
7048 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
7050 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
7051 * gdb.python/py-xmethods.exp: New tests to test xmethods.
7052 * gdb.python/py-xmethods.py: Python script supporting the
7053 new testcase and tests.
7055 2014-06-03 Joel Brobecker <brobecker@adacore.com>
7056 Pedro Alves <palves@redhat.com>
7058 PR breakpoints/17000
7059 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
7060 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
7062 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7064 * gdb.base/subst.exp: Add tests to verify partial path matching
7067 2014-06-03 Pedro Alves <palves@redhat.com>
7069 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
7070 target that doesn't use software single-stepping.
7072 2014-06-03 Pedro Alves <palves@redhat.com>
7074 PR breakpoints/17000
7075 * gdb.base/sss-bp-on-user-bp-2.c: New file.
7076 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
7078 2014-06-02 Doug Evans <xdje42@gmail.com>
7080 * gdb.guile/scm-parameter.exp: New file.
7082 2014-06-02 Doug Evans <xdje42@gmail.com>
7084 * gdb.guile/scm-cmd.c: New file.
7085 * gdb.guile/scm-cmd.exp: New file.
7087 2014-06-02 Doug Evans <xdje42@gmail.com>
7089 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
7090 pretty-printer lookup.
7091 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
7092 (make-pp_s-printer): Call it.
7093 (make-pretty-printer-from-dict): New function.
7094 (lookup-pretty-printer-maker-from-dict): New function.
7095 (*pretty-printer*): Simplify.
7096 (make-objfile-pp_s-printer): New function.
7097 (install-objfile-pretty-printers!): New function.
7098 (make-progspace-pp_s-printer): New function.
7099 (install-progspace-pretty-printers!): New function.
7100 * gdb.guile/scm-progspace.c: New file.
7101 * gdb.guile/scm-progspace.exp: New file.
7103 2014-06-02 Pedro Alves <palves@redhat.com>
7105 * gdb.base/dprintf-bp-same-addr.c: New file.
7106 * gdb.base/dprintf-bp-same-addr.exp: New file.
7108 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7110 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
7111 * gdb.arch/powerpc-power.s: Likewise.
7113 2014-06-02 Joel Brobecker <brobecker@adacore.com>
7115 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
7117 2014-06-01 Yao Qi <yao@codesourcery.com>
7119 * gdb.base/watchpoint.exp (test_watch_location): Check null
7120 pointer can be dereferenced. If not, do the test, otherwise
7123 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7125 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
7127 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
7129 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
7131 * gdb.arch/amd64-invalid-stack-middle.S: New file.
7132 * gdb.arch/amd64-invalid-stack-middle.c: New file.
7133 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
7134 * gdb.arch/amd64-invalid-stack-top.c: New file.
7135 * gdb.arch/amd64-invalid-stack-top.exp: New file.
7137 2014-05-30 Pedro Alves <palves@redhat.com>
7139 PR breakpoints/17000
7140 * gdb.base/sss-bp-on-user-bp.c: New file.
7141 * gdb.base/sss-bp-on-user-bp.exp: New file.
7143 2014-05-30 David Blaikie <dblaikie@gmail.com>
7145 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
7146 gnu_inline semantics via attribute.
7147 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
7148 source explicitly specifies the required semantics.
7150 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
7152 * gdb.reverse/sigall-reverse.exp: Fix a typo.
7154 2014-05-29 Pedro Alves <palves@redhat.com>
7155 Tom Tromey <tromey@redhat.com>
7157 * gdb.base/async-shell.exp: Don't enable target-async.
7158 * gdb.base/async.exp
7159 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
7161 (top level): Don't test with "target-async".
7162 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
7163 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
7164 * gdb.base/inferior-died.exp: Don't enable target-async.
7165 * gdb.base/interrupt-noterm.exp: Likewise.
7166 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
7167 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7168 * gdb.mi/mi-nonstop.exp: Likewise.
7169 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7170 * gdb.mi/mi-nsintrall.exp: Likewise.
7171 * gdb.mi/mi-nsmoribund.exp: Likewise.
7172 * gdb.mi/mi-nsthrexec.exp: Likewise.
7173 * gdb.mi/mi-watch-nonstop.exp: Likewise.
7174 * gdb.multi/watchpoint-multi.exp: Adjust comment.
7175 * gdb.python/py-evsignal.exp: Don't enable target-async.
7176 * gdb.python/py-evthreads.exp: Likewise.
7177 * gdb.python/py-prompt.exp: Likewise.
7178 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
7179 * gdb.server/solib-list.exp: Don't enable target-async.
7180 * gdb.threads/thread-specific-bp.exp: Likewise.
7181 * lib/mi-support.exp: Adjust to use mi-async.
7183 2014-05-29 Pedro Alves <palves@redhat.com>
7186 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
7187 reason, even in sync mode.
7189 2014-05-29 Pedro Alves <palves@redhat.com>
7190 Hui Zhu <hui@codesourcery.com>
7193 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
7194 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
7195 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
7196 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
7198 2014-05-28 Joel Brobecker <brobecker@adacore.com>
7200 * config/monitor.exp (gdb_target_monitor): Replace use of
7201 "set remotebaud" by "set serial baud".
7203 2014-05-26 Andy Wingo <wingo@igalia.com>
7205 * gdb.guile/scm-breakpoint.exp:
7206 * gdb.guile/scm-gsmob.exp: Update to use plain old object
7207 properties instead of gdb-object-properties.
7209 2014-05-26 Yao Qi <yao@codesourcery.com>
7211 * gdb.server/no-thread-db.exp: Specify source file name
7212 explicitly when setting a breakpoint.
7214 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7216 * gdb.btrace/vdso.c: New.
7217 * gdb.btrace/vdso.exp: New.
7219 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7221 * gdb.base/gcore.exp (capture_command_output): Move ...
7222 * lib/gdb.exp (capture_command_output): ... here.
7224 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7226 * gdb.btrace/data.exp: Test memory access during btrace replay.
7228 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
7230 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
7232 2014-05-21 Pedro Alves <palves@redhat.com>
7235 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
7236 (top level): Test that output related to execution commands is
7237 sent to the console with CLI commands, but not with MI commands.
7238 Test that breakpoint events are always mirrored to the console.
7239 Also expect the new source line to be output after a "next" in
7240 async mode too. Make it a pass/fail test.
7241 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
7243 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
7245 2014-05-21 Pedro Alves <palves@redhat.com>
7247 * gdb.base/list.exp (build_pattern, test_list): New procedures.
7248 Use them to test variations of "list" after reaching a breakpoint.
7249 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
7250 Test "list" with listsize 10 after reaching a breakpoint.
7251 * gdb.python/python.exp (decode_line current location line
7252 number): Adjust expected line number.
7254 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
7256 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7257 behavior for $args, pass it directly to "run".
7259 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7261 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7264 2014-05-21 Pedro Alves <palves@redhat.com>
7266 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7267 auto-connect-native-target off".
7268 * gdb.base/auto-connect-native-target.c: New file.
7269 * gdb.base/auto-connect-native-target.exp: New file.
7271 2014-05-21 Pedro Alves <palves@redhat.com>
7273 * gdb.base/default.exp: Test "target native" instead of "target
7276 2014-05-21 Mark Wielaard <mjw@redhat.com>
7278 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7280 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7282 Fix TLS access for -static -pthread.
7283 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7284 <HAVE_TLS> (thread_function, main): Initialize it.
7285 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7287 <$have_tls != "">: Check TLSVAR.
7289 2014-05-21 Pedro Alves <palves@redhat.com>
7291 * gdb.base/dcache-line-read-error.c: New.
7292 * gdb.base/dcache-line-read-error.exp: New.
7294 2014-05-20 Pedro Alves <palves@redhat.com>
7296 * gdb.base/compare-sections.c: New file.
7297 * gdb.base/compare-sections.exp: New file.
7299 2014-05-20 Pedro Alves <palves@redhat.com>
7301 * gdb.base/break-idempotent.c: New file.
7302 * gdb.base/break-idempotent.exp: New file.
7304 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7306 * gdb.btrace/nohist.exp: New.
7308 2014-05-20 Yao Qi <yao@codesourcery.com>
7310 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7311 gdb.reverse directory and gdb_reverse_timeout exists in board
7313 * README: Document gdb_reverse_timeout.
7315 2014-05-20 Yao Qi <yao@codesourcery.com>
7317 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7318 'test_file_name'. Treat args as a string instead of a list.
7319 (gdb_init): Rename argument 'args' by 'test_file_name'.
7321 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7323 * gdb.arch/powerpc-power.exp: New file.
7324 * gdb.arch/powerpc-power.s: New file.
7326 2014-05-16 Doug Evans <dje@google.com>
7328 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7329 * gdb.base/completion.exp: Check that all expected files exist
7330 before doing file completion.
7332 2014-05-16 Doug Evans <dje@google.com>
7334 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7336 (do_syscall_tests_without_xml): Update.
7338 2014-05-16 Pedro Alves <palves@redhat.com>
7340 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7341 instead of "unknown output after running".
7343 2014-05-16 Yao Qi <yao@codesourcery.com>
7345 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7346 file1.txt from host at the end.
7347 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7349 2014-05-15 Doug Evans <dje@google.com>
7351 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7352 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7353 loading file. Add test for TU lookup.
7355 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7357 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7358 calling "-exec-arguments" or "set args" before running the
7361 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7363 * lib/mi-support.exp (mi_expect_stop): Expect message for
7364 inferiors that exit with non-zero exit code.
7366 2014-05-14 Yao Qi <yao@codesourcery.com>
7368 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7369 match absolute path on remote host.
7370 (test_file_list_exec_source_files): Remove "/" from the
7373 2014-05-14 Yao Qi <yao@codesourcery.com>
7375 * boards/local-remote-host-notty.exp (${board}_file): New
7378 2014-05-07 Kyle McMartin <kyle@redhat.com>
7380 Pushed by Joel Brobecker <brobecker@adacore.com>.
7381 * gdb.arch/aarch64-atomic-inst.c: New file.
7382 * gdb.arch/aarch64-atomic-inst.exp: New file.
7384 2014-05-07 Yao Qi <yao@codesourcery.com>
7386 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7387 in current context" too.
7389 2014-05-05 Keith Seitz <keiths@redhat.com>
7391 * gdb.linespec/ls-dollar.exp: Add test for linespec
7392 file:convenience_variable.
7394 2014-05-05 Yao Qi <yao@codesourcery.com>
7396 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7397 traceframes into tfile and ctf trace files. Read data from
7398 trace file and test collected data.
7399 (gdb_collect_locals_test): Likewise.
7400 (gdb_unavailable_registers_test): Likewise.
7401 (gdb_unavailable_floats): Likewise.
7402 (gdb_collect_globals_test): Likewise.
7403 (top-level): Append "ctf" to trace_file_targets if GDB
7406 2014-05-05 Yao Qi <yao@codesourcery.com>
7408 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7410 (gdb_collect_args_test_1): ... it. New proc.
7411 (gdb_collect_locals_test): Move some code to ...
7412 (gdb_collect_locals_test_1): ... it. New proc.
7413 (gdb_unavailable_registers_test): Move some code to ...
7414 (gdb_unavailable_registers_test_1): ... it. New proc.
7415 (gdb_unavailable_floats): Move some code to ...
7416 (gdb_unavailable_floats_1): ... it. New proc.
7418 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7420 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7421 probes to test for bitness recognition.
7422 * gdb.arch/amd64-stap-optional-prefix.exp
7423 (test_probe_value_without_reg): New procedure.
7424 Add code to test for different kinds of bitness.
7426 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7428 PR breakpoints/16889
7429 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7430 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7432 2014-05-01 Pedro Alves <palves@redhat.com>
7434 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7435 gdb_file_cmd if no file is specified.
7436 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7437 last_loaded_file to set the remote exec-file.
7439 2014-05-01 Pedro Alves <palves@redhat.com>
7441 * boards/local-remote-host.exp: New file.
7443 2014-05-01 Pedro Alves <palves@redhat.com>
7445 * boards/local-remote-host.exp: Rename to ...
7446 * boards/local-remote-host-notty.exp: ... this.
7448 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7450 * gdb.ada/dyn_arrayidx: New testcase.
7452 2014-04-26 Yao Qi <yao@codesourcery.com>
7454 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7455 and compute the length of function main. Save it in
7457 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7458 (top-level): Use gdb_compile to compile objects into
7459 executable and restart GDB. Remove invocation to
7460 prepare_for_testing.
7462 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7463 Pedro Alves <palves@redhat.com>
7466 * gdb.multi/multi-attach.c: New file.
7467 * gdb.multi/multi-attach.exp: New file.
7469 2014-04-25 Pedro Alves <palves@redhat.com>
7471 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7473 (top level): Test that "set remote conditional-breakpoints-packet
7474 off" works as intended.
7475 * gdb.base/dprintf.exp: Test that "set remote
7476 breakpoint-commands-packet off" works as intended.
7477 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7479 (top level): Call it.
7480 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7481 remote fast-tracepoints-packet off" works as intended.
7482 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7483 * lib/gdb.exp (gdb_is_target_remote): ... here.
7485 2014-04-24 David Blaikie <dblaikie@gmail.com>
7487 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7488 ensure clang would not discard them.
7489 * gdb.base/gdbvars.c: Ditto.
7490 * gdb.base/memattr.c: Ditto.
7491 * gdb.base/whatis.c: Ditto.
7492 * gdb.python/py-prettyprint.c: Ditto.
7493 * gdb.trace/actions.c: Ditto.
7494 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7495 ensure clang would not discard it.
7497 2014-04-24 David Blaikie <dblaikie@gmail.com>
7499 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7500 clang to emit the full definition of type required by the test
7501 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7503 2014-04-24 David Blaikie <dblaikie@gmail.com>
7505 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7506 coax Clang into emitting the definition of the type.
7507 * gdb.cp/pr10728-x.h (y): Ditto.
7508 * gdb.cp/pr10728-y.cc (y): Ditto.
7510 2014-04-24 David Blaikie <dblaikie@gmail.com>
7512 * gdb.base/label.exp: XFAIL label related tests under Clang.
7513 * gdb.cp/cplabel.exp: Ditto.
7514 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7515 under Clang those using labels.
7517 2014-04-25 Yao Qi <yao@codesourcery.com>
7519 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7521 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7522 partial_label and double_label.
7524 2014-04-24 David Blaikie <dblaikie@gmail.com>
7526 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7528 2014-04-24 David Blaikie <dblaikie@gmail.com>
7530 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7531 of the function to work across GCC and Clang.
7532 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7533 pointer types (const void ** const V void **).
7535 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7536 Walfred Tedeschi <walfred.tedeschi@intel.com>
7538 * Makefile.in (EXECUTABLES): Added i386-avx512.
7539 * gdb.arch/i386-avx512.c: New file.
7540 * gdb.arch/i386-avx512.exp: Likewise.
7542 2014-04-23 Keith Seitz <keiths@redhat.com>
7544 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7545 (mi_make_breakpoint_table): New procedure.
7546 (mi_create_breakpoint): Use mi_make_breakpoint
7547 and return the result.
7548 (mi_make_breakpoint): New procedure.
7549 (mi_build_kv_pairs): New procedure.
7551 * gdb.mi/mi-break.exp: Remove unused globals,
7552 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7553 All callers updated.
7554 * gdb.mi/mi-dprintf.exp: Use variable to track command
7556 Update all callers of mi_create_breakpoint and use
7557 mi_make_breakpoint_table.
7558 Remove any unused global variables.
7559 * gdb.mi/mi-nonstop.exp: Likewise.
7560 * gdb.mi/mi-nsintrall.exp: Likewise.
7561 * gdb.mi/mi-nsmoribund.exp: Likewise.
7562 * gdb.mi/mi-nsthrexec.exp: Likewise.
7563 * gdb.mi/mi-reverse.exp: Likewise.
7564 * gdb.mi/mi-simplerun.exp: Likewise.
7565 * gdb.mi/mi-stepn.exp: Likewise.
7566 * gdb.mi/mi-syn-frame.exp: Likewise.
7567 * gdb.mi/mi-until.exp: Likewise.
7568 * gdb.mi/mi-var-cp.exp: Likewise.
7569 * gdb.mi/mi-var-display.exp: Likewise.
7570 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7571 * gdb.mi/mi2-var-child.exp: Likewise.
7572 * gdb.mi/mi-vla-c99.exp: Likewise.
7573 * lib/mi-support.exp: Likewise.
7575 From Ian Lance Taylor <iant@cygnus.com>:
7576 * lib/gdb.exp (parse_args): New procedure.
7578 2014-04-23 Pedro Alves <palves@redhat.com>
7580 * gdb.base/break-unload-file.c: New file.
7581 * gdb.base/break-unload-file.exp: New file.
7582 * gdb.base/sym-file-lib.c (baz): New function.
7583 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7585 (load): Store the segment's mapped size.
7586 (unload): New function.
7587 (unload_shlib): New function.
7588 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7589 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7590 set a breakpoint at baz, and call it.
7591 * gdb.base/sym-file.exp: New tests for stale breakpoint
7594 2014-04-23 Pedro Alves <palves@redhat.com>
7596 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7597 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7598 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7599 * gdb.base/hbreak-unmapped.c: New file.
7600 * gdb.base/hbreak-unmapped.exp: New file.
7601 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7602 * lib/gdb.exp (gdb_is_target_remote): ... here.
7604 2014-04-22 Pedro Alves <palves@redhat.com>
7606 * gdb.base/consecutive-step-over.c: New file.
7607 * gdb.base/consecutive-step-over.exp: New file.
7609 2014-04-22 Pedro Alves <palves@redhat.com>
7611 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7612 instead of send_gdb/gdb_expect.
7614 2014-04-22 Yao Qi <yao@codesourcery.com>
7616 * lib/trace-support.exp (generate_tracefile): New procedure.
7617 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7619 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7620 if generate_tracefile returns 1.
7622 2014-04-18 Tom Tromey <palves@redhat.com>
7623 Pedro alves <tromey@redhat.com>
7626 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7627 with a backtrace limit.
7628 * gdb.python/py-frame-inline.exp: Test running to an inline
7629 function with a backtrace limit, and printing the newest frame.
7630 * gdb.python/py-frame-inline.c (main): Call f.
7632 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7634 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7636 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7638 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7639 Drop prefix from unsupported source file path.
7641 2014-04-17 Yao Qi <yao@codesourcery.com>
7643 * lib/gdb.exp (with_target_charset): New proc.
7644 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7645 with_target_charset.
7646 (test_print_strings): Likewise.
7647 (test_repeat_bytes): Likewise.
7648 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7651 2014-04-16 Keith Seitz <keiths@redhat.com>
7654 * gdb.dwarf2/corrupt.c: New file.
7655 * gdb.dwarf2/corrupt.exp: New file.
7657 2014-04-16 Keith Seitz <keiths@redhat.com>
7660 * gdb.cp/namelessclass.cc: New file.
7661 * gdb.cp/namelessclass.exp: New file.
7662 * gdb.cp/namelessclass.S: New file.
7664 2014-04-16 Doug Evans <dje@google.com>
7666 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7668 (gdbserver_default_get_comm_port): New function.
7669 (gdbserver_start): Check if board file provided
7670 "gdbserver,get_comm_port" and use it if so.
7671 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7672 (gdb,socketport): Set to "stdio".
7673 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7674 (stdio_gdbserver_template): Delete.
7675 (${board}_get_remote_address): Update.
7676 (${board}_build_remote_cmd): Delete.
7677 (${board}_get_comm_port): New function.
7678 (${board}_spawn): Update.
7679 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7681 (${board}_get_remote_address): Update.
7682 (${board}_get_comm_port): New function.
7684 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7686 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7687 appearing in any order.
7689 2014-04-15 Doug Evans <dje@google.com>
7691 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7692 uninitialized value of "description".
7694 2014-04-15 Keith Seitz <keiths@redhat.com>
7696 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7697 Remove unused globals.
7698 (test_running_the_program): Likewise.
7699 (test_controlled_execution): Likewise.
7700 (test_controlling_breakpoints): Likewise.
7701 (test_program_termination): Likewise.
7703 2014-04-15 Keith Seitz <keiths@redhat.com>
7705 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7707 (test_rbreak_creation_and_listing): Likewise.
7708 (test_ignore_count): Likewise.
7709 (test_error): Likewise.
7711 2014-04-15 Pedro Alves <palves@redhat.com>
7713 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7714 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7716 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7717 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7718 to sym-file-loader.c.
7719 (struct library): Forward declare.
7720 (load_shlib, lookup_function): Change prototypes.
7721 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7722 (translate_offset): Remove declarations.
7723 (get_text_addr): New declaration.
7724 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7725 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7727 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7728 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7729 here from sym-file-loader.h.
7730 (struct library): New structure.
7731 (load_shlib, lookup_function): Change prototypes and adjust to
7732 work with a struct library.
7733 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7734 (translate_offset): Make static.
7735 (get_text_addr): New function.
7736 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7738 2014-04-15 Pedro Alves <palves@redhat.com>
7740 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7742 2014-04-15 Pedro Alves <palves@redhat.com>
7744 * gdb.base/sym-file-loader.c: Include <limits.h>.
7745 (SELF_LINK): New define.
7746 (get_origin): New function.
7747 (load_shlib): Use it.
7748 * gdb.base/sym-file.exp: Don't early return if the target is
7749 remote. Use runto_main, and issue fail is that fails. Use
7751 (shlib_name): Delete.
7752 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7754 2014-04-15 Pedro Alves <palves@redhat.com>
7756 * gdb.base/sym-file.exp: Remove regex characters from test
7757 message. Don't refer to breakpoint numbers in test messages.
7759 2014-04-14 Keith Seitz <keiths@redhat.com>
7762 * gdb.cp/var-tag.cc: New file.
7763 * gdb.cp/var-tag.exp: New file.
7764 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7765 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7766 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7767 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7769 2014-04-14 Tom Tromey <tromey@redhat.com>
7771 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7772 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7774 * gdb.cp/enum-class.exp: New file.
7775 * gdb.cp/enum-class.cc: New file.
7777 2014-04-14 Tom Tromey <tromey@redhat.com>
7779 * gdb.dwarf2/enum-type.exp: New file.
7781 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7783 * gdb.mi/mi-vla-c99.exp: New file.
7784 * gdb.mi/vla.c: New file.
7786 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7788 * gdb.base/vla-datatypes.c: New file.
7789 * gdb.base/vla-datatypes.exp: New file.
7791 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7793 * gdb.base/vla-ptr.c: New file.
7794 * gdb.base/vla-ptr.exp: New file.
7796 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7798 * gdb.dwarf2/count.exp: New file.
7800 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7802 * gdb.base/vla-sideeffect.c: New file.
7803 * gdb.base/vla-sideeffect.exp: New file.
7805 2014-04-14 David Blaikie <dblaikie@gmail.com>
7807 * gdb.mi/non-stop.c: Add return value for non-void function return
7809 * gdb.threads/staticthreads.c: Ditto.
7811 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7812 Doug Evans <xdje42@gmail.com>
7814 * gdb.guile/scm-value.c: Improve test case.
7815 * gdb.guile/scm-value.exp: Add new test.
7817 2014-04-11 David Blaikie <dblaikie@gmail.com>
7819 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7820 override Clang's default.
7822 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7824 Revert the following changes (regressions):
7826 * gdb.base/vla-sideeffect.c: New file.
7827 * gdb.base/vla-sideeffect.exp: New file.
7829 * gdb.dwarf2/count.exp: New file.
7831 * gdb.base/vla-multi.c: New file.
7832 * gdb.base/vla-multi.exp: New file.
7834 * gdb.base/vla-ptr.c: New file.
7835 * gdb.base/vla-ptr.exp: New file.
7837 * gdb.base/vla-datatypes.c: New file.
7838 * gdb.base/vla-datatypes.exp: New file.
7840 * gdb.mi/mi-vla-c99.exp: New file.
7841 * gdb.mi/vla.c: New file.
7843 2014-04-11 Keith Seitz <keiths@redhat.com>
7846 * gdb.cp/cpsizeof.exp: New file.
7847 * gdb.cp/cpsizeof.cc: New file.
7849 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7851 * gdb.mi/mi-vla-c99.exp: New file.
7852 * gdb.mi/vla.c: New file.
7854 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7856 * gdb.base/vla-datatypes.c: New file.
7857 * gdb.base/vla-datatypes.exp: New file.
7859 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7861 * gdb.base/vla-ptr.c: New file.
7862 * gdb.base/vla-ptr.exp: New file.
7864 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7866 * gdb.base/vla-multi.c: New file.
7867 * gdb.base/vla-multi.exp: New file.
7869 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7871 * gdb.dwarf2/count.exp: New file.
7873 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7875 * gdb.base/vla-sideeffect.c: New file.
7876 * gdb.base/vla-sideeffect.exp: New file.
7878 2014-04-11 Yao Qi <yao@codesourcery.com>
7880 * gdb.base/completion.exp: Check file exists before running tests
7883 2014-04-10 Pedro Alves <palves@redhat.com>
7885 * gdb.base/cond-eval-mode.c: New file.
7886 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7887 prepare_for_testing to build the new file. Check result of
7889 (test_break, test_watch): New procedures.
7890 (top level): Use them.
7892 2014-04-08 Pierre Muller <muller@sourceware.org>
7894 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7895 Ctrl-V use for mingw hosts.
7897 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7899 * gdb.python/py-value.c: Improve test case.
7900 * gdb.python/py-value.exp: Add new test.
7902 2014-04-07 David Blaikie <dblaikie@gmail.com>
7904 * lib/compiler.c: Identify the clang compiler.
7905 * lib/compiler.cc: Ditto.
7907 2014-04-03 Yao Qi <yao@codesourcery.com>
7909 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7911 2014-04-01 Anton Blanchard <anton@samba.org>
7913 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7916 2014-04-01 Anton Blanchard <anton@samba.org>
7918 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7919 prepare_for_testing.
7921 2014-04-01 Anton Blanchard <anton@samba.org>
7923 * gdb.arch/ppc64-atomic-inst.c: Remove.
7924 * gdb.arch/ppc64-atomic-inst.S: New file.
7925 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7927 2014-03-31 Doug Evans <dje@google.com>
7929 * gdb.base/print-symbol-loading-lib.c: New file.
7930 * gdb.base/print-symbol-loading-main.c: New file.
7931 * gdb.base/print-symbol-loading.exp: New file.
7933 2014-03-31 Yao Qi <yao@codesourcery.com>
7935 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7937 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7939 * gdb.ada/mi_dyn_arr: New testcase.
7941 2014-03-27 Doug Evans <dje@google.com>
7943 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7945 2014-03-27 Yao Qi <yao@codesourcery.com>
7947 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7948 if target is nios2-*-*.
7950 2014-03-26 Yao Qi <yao@codesourcery.com>
7952 * lib/gdb.exp (readline_is_used): New proc.
7953 * gdb.base/completion.exp: Move tests on command complete up.
7954 Skip the rest of tests if readline is not used.
7955 * gdb.ada/complete.exp: Skp the test if readline is not
7957 * gdb.base/filesym.exp: Likewise.
7958 * gdb.base/macscp.exp: Likewise.
7959 * gdb.base/readline-ask.exp: Likewise.
7960 * gdb.base/readline.exp: Likewise.
7961 * gdb.python/py-cmd.exp: Likewise.
7962 * gdb.trace/tfile.exp: Likewise.
7964 2014-03-26 Yao Qi <yao@codesourcery.com>
7966 * gdb.base/macscp.exp: Fix code format issues.
7968 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7970 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7971 * gdb.asm/powerpc64le.inc: New file.
7973 2014-03-25 Pedro Alves <palves@redhat.com>
7974 Doug Evans <dje@google.com>
7976 * gdb.base/source-execution.c: New file.
7977 * gdb.base/source-execution.exp: New file.
7978 * gdb.base/source-execution.gdb: New file.
7980 2014-03-24 Doug Evans <dje@google.com>
7982 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7985 2014-03-24 Hui Zhu <hui@codesourcery.com>
7986 Pedro Alves <palves@redhat.com>
7988 PR breakpoints/16101
7989 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7990 test pass/fail messages. Detect missing support for dprintf when
7991 breakpoints are actually inserted.
7992 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7993 breakpoints are actually inserted.
7994 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7997 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7999 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
8001 2014-03-22 Doug Evans <xdje42@gmail.com>
8003 * gdb.python/python.exp (python not supported): Verify multi-line
8004 python command issues an error.
8005 * gdb.guile/guile.exp (guile not supported): Verify multi-line
8006 guile command issues an error.
8008 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
8010 * gdb.threads/thread-specific.exp: Handle the lack of usable
8011 $this_breakpoint and $this_thread.
8013 2014-03-21 Hui Zhu <hui@codesourcery.com>
8015 * gdb.base/attach.exp (do_command_attach_tests): New.
8017 2014-03-20 Tom Tromey <tromey@redhat.com>
8018 Pedro Alves <palves@redhat.com>
8021 * gdb.base/condbreak-call-false.c: New file.
8022 * gdb.base/condbreak-call-false.exp: New file.
8024 2014-03-20 Pedro Alves <palves@redhat.com>
8026 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
8028 (block_signals, unblock_signals): Delete.
8029 (child_function_2, main): Remove references to deleted variable
8032 2014-03-20 Pedro Alves <palves@redhat.com>
8034 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
8035 Use pthread_kill to signal thread 2.
8036 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8037 Adjust to make the test send itself a signal rather than using the
8038 host's "kill" command.
8040 2014-03-20 Pedro Alves <palves@redhat.com>
8042 * gdb.threads/multiple-step-overs.c: New file.
8043 * gdb.threads/multiple-step-overs.exp: New file.
8044 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8045 Adjust expected infrun debug output.
8047 2014-03-20 Pedro Alves <palves@redhat.com>
8049 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
8050 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
8052 2014-03-20 Pedro Alves <palves@redhat.com>
8055 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
8056 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
8057 of gdb_test_multiple.
8058 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
8059 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
8061 2014-03-20 Pedro Alves <palves@redhat.com>
8063 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
8064 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
8066 2014-03-19 Pedro Alves <palves@redhat.com>
8068 * gdb.base/async.exp: Remove early return.
8070 2014-03-19 Pedro Alves <palves@redhat.com>
8072 * gdb.base/async.exp (step& tests): Pass explicit test messages.
8074 2014-03-19 Pedro Alves <palves@redhat.com>
8076 * gdb.base/async.exp (test_background): Expect \r\n after
8077 "completed." in the fail pattern.
8079 2014-03-19 Pedro Alves <palves@redhat.com>
8081 * gdb.base/async.exp (test_background): New procedure.
8082 Use it for all background execution command tests.
8084 2014-03-19 Pedro Alves <palves@redhat.com>
8086 * gdb.base/async.exp: Use prepare_for_testing.
8088 2014-03-19 Pedro Alves <palves@redhat.com>
8090 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
8093 2014-03-19 Pedro Alves <palves@redhat.com>
8095 * gdb.base/async.c (main): Add "jump here" and "until here" line
8097 * gdb.base/async.exp (jump_here): New global.
8098 (jump& test): Use it.
8099 (until_here): New global.
8100 (until& test): Use it.
8102 2014-03-19 Pedro Alves <palves@redhat.com>
8104 * gdb.base/async.exp: Don't frob gdb_protocol.
8106 2014-03-18 Doug Evans <xdje42@gmail.com>
8108 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
8109 Fix spelling of exec-done-display.
8111 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8114 * gdb.base/gdb-sigterm.c: New file.
8115 * gdb.base/gdb-sigterm.exp: New file.
8117 2014-03-18 Pedro Alves <palves@redhat.com>
8120 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
8121 * lib/mi-support.exp (mi_expect_stop): Add special handling for
8124 2014-03-17 Joel Brobecker <brobecker@adacore.com>
8126 * gdb.ada/pckd_arr_ren: New testcase.
8128 2014-03-13 Doug Evans <xdje42@gmail.com>
8131 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
8132 collect after discarding symbols.
8134 2014-03-13 Ludovic Courtès <ludo@gnu.org>
8135 Doug Evans <xdje42@gmail.com>
8137 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
8138 to history survives a gc.
8140 2014-03-13 Pedro Alves <palves@redhat.com>
8142 * gdb.base/default.exp: Don't test "target procfs".
8144 2014-03-13 Pedro Alves <palves@redhat.com>
8146 * gdb.base/default.exp: Update "target child" and "target procfs"
8147 tests to not expect "Unix".
8149 2014-03-12 Tom Tromey <tromey@redhat.com>
8151 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
8152 New procs. Add target-async tests.
8153 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
8154 Add target-async tests.
8156 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8158 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
8159 'func_start' and 'func_end' for the beginning and end of the
8160 function code, respectively.
8161 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
8162 'func_end' instead of 'func' and 'main'.
8164 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8166 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
8167 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
8168 generate the debug info assembler source.
8170 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8172 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
8173 * gdb.dwarf2/arr-subrange.exp: Likewise.
8174 * gdb.dwarf2/dwz.exp: Likewise.
8175 * gdb.dwarf2/method-ptr.exp: Likewise.
8176 * gdb.dwarf2/missing-sig-type.exp: Likewise.
8177 * gdb.dwarf2/subrange.exp: Likewise.
8178 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
8179 * gdb.dwarf2/implptrpiece.exp: Likewise.
8180 * gdb.dwarf2/nostaticblock.exp: Likewise.
8182 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8184 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
8185 directory to absolute path name arguments.
8187 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8189 * gdb.ada/tagged_access: New testcase.
8191 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
8193 * gdb.btrace/data.exp: Update expected output.
8195 2014-03-06 Yao Qi <yao@codesourcery.com>
8197 * gdb.trace/pr16508.exp: New file.
8199 2014-03-05 Pedro Alves <palves@redhat.com>
8202 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
8204 (top level): Adjust to use it. Add tests that exercise breakpoint
8205 interaction with the code-cache.
8207 2014-02-26 Ludovic Courtès <ludo@gnu.org>
8209 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
8210 test for 'history-append!'.
8212 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8214 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
8215 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
8216 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
8217 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
8218 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8219 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
8221 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8223 * testsuite/gdb.python/py-pp-re-notag.c: New file.
8224 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
8225 * testsuite/gdb.python/py-pp-re-notag.p: New file.
8227 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8229 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
8231 2014-02-26 Joel Brobecker <brobecker@adacore.com>
8233 * gdb.dwarf2/arr-stride.c: New file.
8234 * gdb.dwarf2/arr-stride.exp: New file.
8236 2014-02-26 Pedro Alves <palves@redhat.com>
8238 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
8239 that won't ever trigger. Make sure that GDB reports the correct
8240 breakpoint that caused the stop.
8242 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8245 * gdb.base/auto-load-script: New file.
8246 * gdb.base/auto-load.c: New file.
8247 * gdb.base/auto-load.exp: New file.
8250 * gdb.base/auto-load.exp: Fix out-of-srctree run.
8252 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8254 Fix dw2-icycle.exp -fsanitize=address GDB crash.
8255 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8257 2014-02-24 Doug Evans <dje@google.com>
8259 * lib/gdb.exp (run_on_host): Log error output if program fails.
8261 2014-02-21 Pedro Alves <palves@redhat.com>
8263 * gdb.threads/step-after-sr-lock.c: Rename to ...
8264 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8265 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8266 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8269 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8272 * gdb.arch/amd64-stap-special-operands.exp: New file.
8273 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8274 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8275 * gdb.arch/amd64-stap-triplet.S: Likewise.
8276 * gdb.arch/amd64-stap-triplet.c: Likewise.
8278 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8280 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8281 in .section pseudo-op.
8283 2014-02-20 lin zuojian <manjian2006@gmail.com>
8284 Joel Brobecker <brobecker@adacore.com>
8285 Doug Evans <xdje42@gmail.com>
8288 * gdb.dwarf2/dw2-icycle.S: New file.
8289 * gdb.dwarf2/dw2-icycle.c: New file.
8290 * gdb.dwarf2/dw2-icycle.exp: New file.
8292 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8294 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8295 operations on gdb.Value objects.
8296 * gdb.python/py-value-cc.exp: Add new test to test operations on
8299 2014-02-18 Doug Evans <dje@google.com>
8301 * Makefile.in (TESTS): New variable.
8302 (expanded_tests, expanded_tests_or_none): New variables
8303 (check-single): Pass $(expanded_tests_or_none) to runtest.
8304 (check-parallel): Only run tests in $(TESTS) if non-empty.
8305 (check/no-matching-tests-found): New rule.
8306 * README: Document TESTS makefile variable.
8308 2014-02-18 Doug Evans <dje@google.com>
8310 * Makefile.in (check-parallel): rm -rf outputs temp.
8312 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8314 Fix "ERROR: no fileid for" in the testsuite.
8315 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8317 2014-02-12 Doug Evans <dje@google.com>
8319 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8320 (MISCELLANEOUS): New variable.
8321 (clean): rm -rf $(MISCELLANEOUS).
8322 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8323 dwp live in the same directory as symlinks, with each symlink pointed
8324 to a differently named file in a different directory.
8326 2014-02-11 Doug Evans <dje@google.com>
8328 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8329 of Tcl file commands.
8331 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8333 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8336 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8338 * gdb.ada/tick_length_array_enum_idx: New testcase.
8340 2014-02-10 Doug Evans <xdje42@gmail.com>
8342 * configure.ac (AC_OUTPUT): Add gdb.guile.
8343 * configure: Regenerate.
8344 * lib/gdb-guile.exp: New file.
8345 * lib/gdb.exp (get_target_charset): New function.
8346 * gdb.base/help.exp: Update expected output from "apropos apropos".
8347 * gdb.guile/Makefile.in: New file.
8348 * gdb.guile/guile.exp: New file.
8349 * gdb.guile/scm-arch.c: New file.
8350 * gdb.guile/scm-arch.exp: New file.
8351 * gdb.guile/scm-block.c: New file.
8352 * gdb.guile/scm-block.exp: New file.
8353 * gdb.guile/scm-breakpoint.c: New file.
8354 * gdb.guile/scm-breakpoint.exp: New file.
8355 * gdb.guile/scm-disasm.c: New file.
8356 * gdb.guile/scm-disasm.exp: New file.
8357 * gdb.guile/scm-equal.c: New file.
8358 * gdb.guile/scm-equal.exp: New file.
8359 * gdb.guile/scm-error.exp: New file.
8360 * gdb.guile/scm-error.scm: New file.
8361 * gdb.guile/scm-frame-args.c: New file.
8362 * gdb.guile/scm-frame-args.exp: New file.
8363 * gdb.guile/scm-frame-args.scm: New file.
8364 * gdb.guile/scm-frame-inline.c: New file.
8365 * gdb.guile/scm-frame-inline.exp: New file.
8366 * gdb.guile/scm-frame.c: New file.
8367 * gdb.guile/scm-frame.exp: New file.
8368 * gdb.guile/scm-generics.exp: New file.
8369 * gdb.guile/scm-gsmob.exp: New file.
8370 * gdb.guile/scm-iterator.c: New file.
8371 * gdb.guile/scm-iterator.exp: New file.
8372 * gdb.guile/scm-math.c: New file.
8373 * gdb.guile/scm-math.exp: New file.
8374 * gdb.guile/scm-objfile-script-gdb.in: New file.
8375 * gdb.guile/scm-objfile-script.c: New file.
8376 * gdb.guile/scm-objfile-script.exp: New file.
8377 * gdb.guile/scm-objfile.c: New file.
8378 * gdb.guile/scm-objfile.exp: New file.
8379 * gdb.guile/scm-ports.exp: New file.
8380 * gdb.guile/scm-pretty-print.c: New file.
8381 * gdb.guile/scm-pretty-print.exp: New file.
8382 * gdb.guile/scm-pretty-print.scm: New file.
8383 * gdb.guile/scm-section-script.c: New file.
8384 * gdb.guile/scm-section-script.exp: New file.
8385 * gdb.guile/scm-section-script.scm: New file.
8386 * gdb.guile/scm-symbol.c: New file.
8387 * gdb.guile/scm-symbol.exp: New file.
8388 * gdb.guile/scm-symtab-2.c: New file.
8389 * gdb.guile/scm-symtab.c: New file.
8390 * gdb.guile/scm-symtab.exp: New file.
8391 * gdb.guile/scm-type.c: New file.
8392 * gdb.guile/scm-type.exp: New file.
8393 * gdb.guile/scm-value-cc.cc: New file.
8394 * gdb.guile/scm-value-cc.exp: New file.
8395 * gdb.guile/scm-value.c: New file.
8396 * gdb.guile/scm-value.exp: New file.
8397 * gdb.guile/source2.scm: New file.
8398 * gdb.guile/types-module.cc: New file.
8399 * gdb.guile/types-module.exp: New file.
8401 2014-02-10 Yao Qi <yao@codesourcery.com>
8404 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8405 * configure: Regenerated.
8406 * Makefile.in: New file.
8408 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8410 * gdb.python/py-framefilter.exp: Fix typo.
8412 2014-02-08 Yao Qi <yao@codesourcery.com>
8414 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8415 that no =breakpoint-modified is emitted when breakpoints are
8416 modified through MI commands.
8418 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8419 Pedro Alves <palves@redhat.com>
8421 * gdb.threads/step-after-sr-lock.c: New file.
8422 * gdb.threads/step-after-sr-lock.exp: New file.
8424 2014-02-07 Pedro Alves <palves@redhat.com>
8426 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8428 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8430 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8431 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8433 2014-02-06 Doug Evans <xdje42@gmail.com>
8435 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8438 * gdb.gdb/python-interrupts.exp: New file.
8440 2014-02-05 Yao Qi <yao@codesourcery.com>
8442 * gdb.trace/report.exp (use_collected_data): Test the output
8443 of "info threads" and "info inferiors".
8445 2014-02-05 Yao Qi <yao@codesourcery.com>
8449 2013-05-24 Yao Qi <yao@codesourcery.com>
8451 * gdb.trace/tfile.exp: Test inferior and thread.
8453 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8455 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8457 * gdb.base/step-bt.c: Call hello via function pointer to make
8458 sure its first instruction is executed on powerpc64le-linux.
8460 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8462 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8464 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8466 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8467 of the test patterns for use on little-endian systems.
8469 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8471 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8472 (decimal_vector): Fix for little-endian.
8474 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8476 * gdb.arch/sparc-sysstep.exp: New file.
8477 * gdb.arch/sparc-sysstep.c: Likewise.
8479 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8481 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8483 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8485 2014-01-23 Tom Tromey <tromey@redhat.com>
8487 * gdb.ada/array_char_idx: New testcase.
8489 2014-01-23 Tom Tromey <tromey@redhat.com>
8492 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8493 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8496 2014-01-23 Tom Tromey <tromey@redhat.com>
8499 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8500 string from an inferior frame.
8501 * gdb.python/py-framefilter-mi.exp: Update.
8503 2014-01-22 Doug Evans <dje@google.com>
8505 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8507 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8509 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8511 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8513 * gdb.trace/entry-values.exp: Remove excess space character from
8514 regex patterns. Handle s390 call instruction.
8516 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8518 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8519 define "*_start" label. Make "name" static.
8520 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8521 ${name} by references to ${name}_start.
8523 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8525 * gdb.base/info-macros.exp: Remove "debug" from the compile
8528 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8530 * gdb.dlang/demangle.exp: New file.
8532 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8534 * gdb.dlang/primitive-types.exp: New file.
8536 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8538 * configure.ac: Create gdb.dlang/Makefile.
8539 * configure: Regenerate.
8540 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8541 * gdb.dlang/Makefile.in: New file.
8542 * lib/d-support.exp: New file.
8543 * lib/gdb.exp (skip_d_tests): New proc.
8545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8547 * gdb.btrace/delta.exp: Check reverse stepi.
8548 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8549 * gdb.btrace/finish.exp: New.
8550 * gdb.btrace/next.exp: New.
8551 * gdb.btrace/nexti.exp: New.
8552 * gdb.btrace/record_goto.c: Add comments.
8553 * gdb.btrace/step.exp: New.
8554 * gdb.btrace/stepi.exp: New.
8555 * gdb.btrace/multi-thread-step.c: New.
8556 * gdb.btrace/multi-thread-step.exp: New.
8557 * gdb.btrace/rn-dl-bind.c: New.
8558 * gdb.btrace/rn-dl-bind.exp: New.
8559 * gdb.btrace/data.c: New.
8560 * gdb.btrace/data.exp: New.
8561 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8565 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8566 * gdb.btrace/exception.exp: Update.
8567 * gdb.btrace/instruction_history.exp: Update.
8568 * gdb.btrace/record_goto.exp: Update.
8569 * gdb.btrace/tailcall.exp: Update.
8570 * gdb.btrace/unknown_functions.exp: Update.
8571 * gdb.btrace/delta.exp: New.
8573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8575 * gdb.btrace/record_goto.exp: Add backtrace test.
8576 * gdb.btrace/tailcall.exp: Add backtrace test.
8578 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8580 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8581 * gdb.btrace/record_goto.c: New.
8582 * gdb.btrace/record_goto.exp: New.
8583 * gdb.btrace/x86-record_goto.S: New.
8585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8587 * gdb.btrace/function_call_history.exp: Update tests.
8588 * gdb.btrace/instruction_history.exp: Update tests.
8590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8592 * gdb.btrace/function_call_history.exp: Fix expected field
8593 order for "record function-call-history".
8594 Add new tests for "record function-call-history /c".
8595 * gdb.btrace/exception.cc: New.
8596 * gdb.btrace/exception.exp: New.
8597 * gdb.btrace/tailcall.exp: New.
8598 * gdb.btrace/x86-tailcall.S: New.
8599 * gdb.btrace/x86-tailcall.c: New.
8600 * gdb.btrace/unknown_functions.c: New.
8601 * gdb.btrace/unknown_functions.exp: New.
8602 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8606 * gdb.btrace/instruction_history.exp: Update.
8607 * gdb.btrace/function_call_history.exp: Update.
8609 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8611 * gdb.btrace/function_call_history.exp: Fix expected function
8613 * gdb.btrace/instruction_history.exp: Initialize traced.
8614 Remove traced_functions.
8616 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8618 * gdb.btrace/function_call_history.exp: Update
8619 * gdb.btrace/instruction_history.exp: Update.
8621 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8623 * gdb.btrace/enable.exp: Update expected text.
8625 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8627 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8630 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8632 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8634 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8636 * lib/gdb.exp (supports_process_record): Return true for
8637 arm*-linux*. (supports_reverse): Likewise.
8639 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8643 * gdb.python/py-type.c: Enhance test case.
8644 * gdb.python/py-value-cc.cc: Likewise
8645 * gdb.python/py-type.exp: Add new tests.
8646 * gdb.python/py-value-cc.exp: Likewise
8648 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8649 Pedro Alves <palves@redhat.com>
8651 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8653 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8654 references to ${name}_start by references to ${name}.
8656 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8658 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8660 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8662 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8664 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8665 Pedro Alves <palves@redhat.com>
8667 * gdb.mi/mi-info-os.exp: Connect to the target with
8670 2014-01-08 Pedro Alves <palves@redhat.com>
8672 * gdb.threads/reconnect-signal.c: New file.
8673 * gdb.threads/reconnect-signal.exp: New file.
8675 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8677 * gdb.base/source-dir.exp: New file.
8679 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8681 * gdb.ada/mi_interface: New testcase.
8683 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8685 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8686 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8687 gdb.ada/pp-rec-component/pck.ads: New files.
8689 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8691 * gdb.python/py-pp-integral.c: New file.
8692 * gdb.python/py-pp-integral.py: New file.
8693 * gdb.python/py-pp-integral.exp: New file.
8695 For older changes see ChangeLog-1993-2013.
8701 ;; version-control: never
8704 Copyright 2014-2016 Free Software Foundation, Inc.
8705 Copying and distribution of this file, with or without modification,
8706 are permitted provided the copyright notice and this notice are preserved.