1 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4 * gdb.base/jit-main.c: Use exit after usage.
6 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9 GDBHISTSIZE prior to the tests.
10 * gdb.base/gdbinit-history.exp: Likewise.
12 2016-04-07 Pedro Alves <palves@redhat.com>
14 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15 instead of build_executable. Use gdb_load_shlibs.
17 2016-04-07 Yao Qi <yao.qi@linaro.org>
19 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
22 2016-04-07 Yao Qi <yao.qi@linaro.org>
24 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
25 number instead of the comments on some line.
27 2016-04-06 Don Breazeal <donb@codesourcery.com>
29 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
30 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
32 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
34 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
35 standard_output_file. Remove unused binfile variable.
37 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
39 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
40 * gdb.python/py-mi-objfile.exp: Match "list main" output
43 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
45 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
48 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
50 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
52 * gdb.trace/ftrace.exp: Likewise.
53 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
55 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
56 (gdb_load_shlibs): Copy libraries to test directory when testing
57 natively. Only set solib-search-path if testing remotely.
58 * lib/mi-support.exp (mi_load_shlibs): Likewise.
60 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
62 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
63 gdb_download. Use it even if the target is not remote.
64 * gdb.base/jit.exp (compile_jit_test): Likewise.
65 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
66 output directory if the destination board is local, otherwise use
67 the standard remote_download from DejaGnu.
68 (gdb_download): Remove.
69 (gdb_load_shlibs): Use gdb_remote_download instead of
71 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
72 Use gdb_remote_download instead of gdb_download. Use it even if
73 the target is not remote.
74 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
75 instead of gdb_download.
77 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
79 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
80 (test_insert_delete_modify): Call mi_load_shlibs before trying to
83 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
86 * gdb.base/printcmds.exp: Add artificial arrays tests.
88 2016-03-31 Pedro Alves <palves@redhat.com>
91 * gdb.base/jit-main.c: Include unistd.h.
92 (ATTACH): Define to 0 if not already defined.
93 (wait_for_gdb, mypid): New globals.
94 (WAIT_FOR_GDB): New macro.
95 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
96 some breakpoint locations.
97 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
99 (one_jit_test): Add REATTACH parameter, and handle it. Use
100 continue_to_test_location.
101 (top level): Test attach, and adjusts calls to one_jit_test.
103 2016-03-31 Pedro Alves <palves@redhat.com>
106 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
107 BINSUFFIX parameter, and handle it.
108 (top level): Adjust calls compile_jit_test.
110 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
113 * gdb.python/py-mi-events-gdb.py: New file.
114 * gdb.python/py-mi-events.c: New file.
115 * gdb.python/py-mi-events.exp: New file.
117 2016-03-30 Yao Qi <yao.qi@linaro.org>
119 * gdb.reverse/until-precsave.exp: Match function name only.
120 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
121 Move malloc to a condition block.
122 * gdb.reverse/until-reverse.exp: Match function name only.
124 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
126 * gdb.trace/ftrace.exp: Set arg0exp for s390.
127 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
128 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
129 variable for GPR 0 instead of assuming it is register 0.
130 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
131 * lib/trace-support.exp: Add s390 registers.
133 2016-03-29 Yao Qi <yao.qi@linaro.org>
135 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
137 2016-03-24 Yao Qi <yao.qi@linaro.org>
139 * gdb.reverse/break-reverse.exp: Add quotation mark in the
142 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
144 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
145 maintaining separate logic for constructing the output path.
147 2016-03-16 Don Breazeal <donb@codesourcery.com>
149 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
150 Retry fork and waitpid on interrupted system call errors.
151 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
152 Use with_timeout_factor to increase timeout by factor of 10.
154 2016-03-15 Don Breazeal <donb@codesourcery.com>
156 * gdb.cp/scope-err.cc: New test program.
157 * gdb.cp/scope-err.exp: New test script.
158 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
159 lines and "set breakpoint here" comment.
160 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
161 Fixed some whitespace and format issues.
162 * gdb.mi/mi-linespec-err-cp.cc: New test program.
163 * gdb.mi/mi-linespec-err-cp.exp: New test script.
165 2016-03-15 Doug Evans <dje@google.com>
167 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
168 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
169 All callers updated. Add tests for enums, mixed flags register.
171 2016-03-15 Doug Evans <dje@google.com>
173 * gdb.base/skip.c (main): Call test_skip_file_and_function.
174 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
176 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
178 * gdb.base/default.exp: Add $_as_string to the list of expected
179 convenience functions.
181 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
183 * gdb.base/maint.exp: New tests for 'maint info line-table'.
185 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
187 * gdb.python/py-as-string.exp: New file.
188 * gdb.python/py-as-string.c: New file.
190 2016-03-09 Pedro Alves <palves@redhat.com>
192 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
193 signal" -> "Thread NN received signal" output change.
194 * gdb.threads/ia64-sigill.exp: Likewise.
195 * gdb.threads/linux-dp.exp: Likewise.
196 * gdb.threads/manythreads.exp: Likewise.
197 * gdb.threads/pending-step.exp: Likewise.
198 * gdb.threads/print-threads.exp: Likewise.
199 * gdb.threads/sigstep-threads.exp: Likewise.
200 * gdb.threads/staticthreads.exp: Likewise.
201 * gdb.threads/tls.exp: Likewise.
203 2016-03-09 Pedro Alves <palves@redhat.com>
205 * gdb.base/command-line-input.exp: New file.
207 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
209 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
210 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
211 * gdb.trace/pending.exp: Accept leading dot before function name.
212 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
213 * lib/trace-support.exp: Set registers for ppc.
215 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
217 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
218 use it for disassembly; accept .main in addition to main in backtrace.
220 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
221 Marcin Kościelnicki <koriakin@0x04.net>
223 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
224 (gdb_recursion_test_ptr): New global variable.
225 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
229 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
231 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
234 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
236 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
237 (bar): Add bar_start_lbl label.
238 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
239 of foo/bar for emitting DWARF and tracing.
241 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
243 * analyze-racy-logs.py: Set executable bit.
245 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
247 * Makefile.in (DEFAULT_RACY_ITER): New variable.
248 (CHECK_TARGET_TMP): Likewise.
249 (check-single-racy): New rule.
250 (check-parallel-racy): Likewise.
251 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
252 (do-check-parallel-racy): New rule.
253 (check-racy/%.exp): Likewise.
254 * README (Racy testcases): New section.
255 * analyze-racy-logs.py: New file.
257 2016-03-03 Doug Evans <dje@google.com>
259 * gdb.base/skip.exp: Use with_test_prefix.
261 2016-03-03 Yao Qi <yao.qi@linaro.org>
263 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
264 Invoke step_over_syscall "clone" and break_cond_on_syscall
266 * gdb.base/step-over-clone.c: New file.
268 2016-03-03 Yao Qi <yao.qi@linaro.org>
270 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
273 2016-03-03 Yao Qi <yao.qi@linaro.org>
275 * gdb.base/disp-step-fork.c: Rename to ...
276 * gdb.base/step-over-fork.c: ... it. New file.
277 * gdb.base/disp-step-vfork.c: Rename to ...
278 * gdb.base/step-over-vfork.c: ... it. New file.
279 * gdb.base/disp-step-syscall.exp: Rename to ...
280 * gdb.base/step-over-syscall.exp: ... it. New file.
281 (disp_step_cross_syscall): Rename to ...
282 (step_over_syscall): ... it.
284 2016-03-03 Yao Qi <yao.qi@linaro.org>
286 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
287 If target supports condition evaluation on target, invoke
288 break_cond_on_syscall for fork and vfork.
290 2016-03-03 Yao Qi <yao.qi@linaro.org>
292 * gdb.base/disp-step-syscall.exp: Don't invoke
293 support_displaced_stepping.
294 (disp_step_cross_syscall): Test with displaced stepping off and
297 2016-03-03 Yao Qi <yao.qi@linaro.org>
299 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
302 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
305 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
307 * gdb.fortran/vla-history.exp: Remove breakpoint.
309 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
311 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
313 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
315 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
317 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
319 * gdb.mi/vla.f90: Nullify pointer after declaration.
321 2016-03-01 Pedro Alves <palves@redhat.com>
323 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
325 2016-03-01 Pedro Alves <palves@redhat.com>
327 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
328 before anything else.
329 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
331 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
332 before anything else.
333 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
335 2016-03-01 Pedro Alves <palves@redhat.com>
337 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
339 2016-03-01 Yao Qi <yao.qi@linaro.org>
341 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
344 2016-03-01 Yao Qi <yao.qi@linaro.org>
346 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
348 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
350 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
351 manually constructing the output path.
353 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
355 * gdb.arch/s390-stackless.S: New.
356 * gdb.arch/s390-stackless.exp: New.
358 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
360 * gdb.dlang/circular.c: New file.
361 * gdb.dlang/circular.exp: New file.
363 2016-02-26 Yao Qi <yao.qi@linaro.org>
365 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
366 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
369 2016-02-26 Yao Qi <yao.qi@linaro.org>
371 * gdb.reverse/aarch64.c: Rename to ...
372 * gdb.reverse/insn-reverse.c: ... it.
373 * gdb.reverse/aarch64.exp: Rename to ...
374 * gdb.reverse/insn-reverse.exp: ... it.
376 2016-02-26 Yao Qi <yao.qi@linaro.org>
378 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
379 (testcase_ftype): New.
380 (testcases): New array.
382 (main): Call each element in testcases.
383 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
384 (read_testcase): New.
385 Do the tests in a loop.
387 2016-02-25 Yao Qi <yao.qi@linaro.org>
389 * gdb.base/branches.c: Remove.
391 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
394 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
396 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
398 * gdb.trace/ftrace.exp: Remove unnecessary target check.
400 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
402 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
403 change x86_64 call_insn to 'callq'.
405 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
407 * gdb.trace/tfile-avx.c: Move to...
408 * gdb.trace/tracefile-pseudo-reg.c: Here.
409 * gdb.trace/tfile-avx.exp: Move to...
410 * gdb.trace/tracefile-pseudo-reg.exp: Here.
412 2016-02-24 Gary Benson <gbenson@redhat.com>
414 * gdb.base/attach-pie-noexec.exp: Do not expect an error
417 2016-02-23 Doug Evans <dje@google.com>
419 * gdb.base/skip.c (test_skip): New function.
420 (end_test_skip_file_and_function): New function.
421 (test_skip_file_and_function): New function.
422 * gdb.base/skip1.c (test_skip): New function.
423 (skip1_test_skip_file_and_function): New function.
424 * gdb.base/skip.exp: Add tests for new skip options.
425 * gdb.base/skip-solib.exp: Update expected output.
426 * gdb.perf/skip-command.cc: New file.
427 * gdb.perf/skip-command.exp: New file.
428 * gdb.perf/skip-command.py: New file.
430 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
432 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
433 info registers pattern.
435 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
437 * lib/future.exp: Add D support.
438 (gdb_find_gdc): New proc.
439 (gdb_default_target_compile): Add D support.
441 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
443 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
445 (trace_speed_test): Determine the iteration count for a time
446 between 15..30 seconds.
448 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
450 * gdb.arch/i386-mpx-sigsegv.c: New file.
451 * gdb.arch/i386-mpx-sigsegv.exp: New file.
452 * gdb.arch/i386-mpx-simple_segv.c: New file.
453 * gdb.arch/i386-mpx-simple_segv.exp: New file.
455 2016-02-18 Yao Qi <yao.qi@linaro.org>
457 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
458 Don't call setup_kfail.
460 2016-02-18 Yao Qi <yao.qi@linaro.org>
462 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
463 Set "set breakpoint condition-evaluation" per $cond_bp_target.
465 2016-02-16 Doug Evans <dje@google.com>
467 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
468 * gdb.base/skip1.c: Ditto.
469 * gdb.base/skip.exp: Whitespace cleanup.
471 2016-02-16 Don Breazeal <donb@codesourcery.com>
474 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
475 Remove kfail for PR remote/19496.
477 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
479 * lib/gdb.exp (standard_temp_file): Return a path specific to
480 the runtest invocation.
482 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
484 * gdb.trace/save-trace.exp: Change relative path to be in the
485 standard output directory.
487 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
489 * gdb.arch/i386-prologue.c: Add missing prototypes.
491 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
493 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
494 * gdb.arch/i386-prologue.exp: Likewise.
495 * gdb.arch/i386-size.exp: Likewise.
497 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
499 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
500 define object file path.
501 * gdb.btrace/gcore.exp: Use standard_output_file to define core
503 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
504 standard_output_file to define binfile.
506 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
508 Fix compatibility with recent gfortran-5.3.1.
509 * gdb.fortran/vla-history.exp (print vla1 allocated)
510 (print vla2 allocated, print $2, print $3): Remove
511 (print $4): Rename to ...
512 (print $2): ... here.
513 (print $9): Rename to ...
514 (print $5): ... here.
515 (print $10): Rename to ...
516 (print $6): ... here.
517 * gdb.fortran/vla.f90: Add pvla initialization.
519 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
521 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
523 * gdb.fortran/vla-value-sub.exp: Likewise.
525 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
527 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
529 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
531 * i386-biarch-core.exp: Define corefile using
532 standard_output_file.
534 2016-02-12 Yao Qi <yao.qi@linaro.org>
536 * gdb.arch/arm-single-step-kernel-helper.c: New.
537 * gdb.arch/arm-single-step-kernel-helper.exp: New.
539 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
541 * gdb.btrace/tailcall-only.exp: New.
542 * gdb.btrace/tailcall-only.c: New.
543 * gdb.btrace/x86_64-tailcall-only.S: New.
544 * gdb.btrace/i686-tailcall-only.S: New.
546 2016-02-11 Pedro Alves <palves@redhat.com>
548 * README (Parallel testing): Add missing double quotes.
550 2016-02-11 Pedro Alves <palves@redhat.com>
552 * README (Parallel testing): New section.
553 (GDB_PARALLEL): Rewrite.
554 (FORCE_PARALLEL): Document.
556 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
558 * gdb.trace/tfile-avx.c: New test.
559 * gdb.trace/tfile-avx.exp: New test.
561 2016-02-09 Keith Seitz <keiths@redhat.com>
564 * gdb.base/infcall-exec.c: New file.
565 * gdb.base/infcall-exec2.c: New file.
566 * gdb.base/infcall-exec.exp: New file.
568 2016-02-09 Keith Seitz <keiths@redhat.com>
570 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
571 (toplevel): Call test_bkpt_address.
573 2016-02-09 Keith Seitz <keiths@redhat.com>
576 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
577 (toplevel): Call test_bkpt_address.
579 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
581 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
583 * configure: Regenerate.
585 2016-02-09 Pedro Alves <palves@redhat.com>
588 * gdb.base/execl-update-breakpoints.c (some_function): New
591 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
592 Tighten expected GDB output.
594 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
596 * Makefile.in (ALL_SUBDIRS): Remove.
597 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
598 (distclean maintainer-clean realclean): Likewise.
599 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
600 * configure: Regenerate.
601 * gdb.ada/Makefile.in: Delete.
602 * gdb.arch/Makefile.in: Likewise.
603 * gdb.asm/Makefile.in: Likewise.
604 * gdb.base/Makefile.in: Likewise.
605 * gdb.btrace/Makefile.in: Likewise.
606 * gdb.cell/Makefile.in: Likewise.
607 * gdb.compile/Makefile.in: Likewise.
608 * gdb.cp/Makefile.in: Likewise.
609 * gdb.disasm/Makefile.in: Likewise.
610 * gdb.dlang/Makefile.in: Likewise.
611 * gdb.dwarf2/Makefile.in: Likewise.
612 * gdb.fortran/Makefile.in: Likewise.
613 * gdb.gdb/Makefile.in: Likewise.
614 * gdb.go/Makefile.in: Likewise.
615 * gdb.guile/Makefile.in: Likewise.
616 * gdb.java/Makefile.in: Likewise.
617 * gdb.linespec/Makefile.in: Likewise.
618 * gdb.mi/Makefile.in: Likewise.
619 * gdb.modula2/Makefile.in: Likewise.
620 * gdb.multi/Makefile.in: Likewise.
621 * gdb.objc/Makefile.in: Likewise.
622 * gdb.opencl/Makefile.in: Likewise.
623 * gdb.opt/Makefile.in: Likewise.
624 * gdb.pascal/Makefile.in: Likewise.
625 * gdb.perf/Makefile.in: Likewise.
626 * gdb.python/Makefile.in: Likewise.
627 * gdb.reverse/Makefile.in: Likewise.
628 * gdb.server/Makefile.in: Likewise.
629 * gdb.stabs/Makefile.in: Likewise.
630 * gdb.threads/Makefile.in: Likewise.
631 * gdb.trace/Makefile.in: Likewise.
632 * gdb.xml/Makefile.in: Likewise.
633 * lib/gdb.exp (make_gdb_parallel_path): Add check for
635 (standard_output_file): Remove check for GDB_PARALLEL, always
636 return path in outputs/$subdir/$testname.
638 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
640 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
641 (site.exp): Assign abs_srcdir to tcl's srcdir.
643 2016-02-04 Yao Qi <yao.qi@linaro.org>
645 * gdb.base/foll-exec-mode.c: Include limits.h.
646 (main): Add parameters argc and argv. Get directory from
648 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
650 * gdb.base/foll-exec.c: Include limits.h.
651 (main): Add parameters argc and argv.
652 Get directory from argv[0].
653 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
654 Adjust tests on the number of lines as source code changed.
655 * gdb.base/foll-vfork-exit.c: Include limits.h.
656 (main): Add one line of statement before vfork.
657 * gdb.base/foll-vfork.c: Include limits.h and string.h.
658 (main): Add parameters argc and argv. Get directory from
660 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
661 (setup_gdb): Set tbreak to skip some source lines.
662 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
663 (main): Add parameters argc and argv. Get directory from
665 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
667 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
668 (main): Add parameters argc and argv. Get directory from
670 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
673 2016-02-01 Doug Evans <dje@google.com>
675 * gdb.base/skip.exp: Clean up multiple references to same test name.
677 2016-02-01 Pedro Alves <palves@redhat.com>
680 * gdb.threads/forking-threads-plus-breakpoint.exp
681 (displaced_stepping_supported): New global.
682 (probe_displaced_stepping_support): New procedure.
683 (do_test): Add 'displaced' parameter, and use it.
684 (top level): Check for displaced stepping support. Add displaced
685 stepping on/off testing axis.
687 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
689 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
690 pointer. Don't perform further tests on the unassociated pointer
691 if the first test fails.
693 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
695 * gdb.base/max-value-size.c: New file.
696 * gdb.base/max-value-size.exp: New file.
697 * gdb.base/huge.exp: Disable max-value-size for this test.
699 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
701 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
703 2016-01-28 Yao Qi <yao.qi@linaro.org>
705 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
707 2016-01-25 Pedro Alves <palves@redhat.com>
710 * gdb.base/fork-running-state.c: New file.
711 * gdb.base/fork-running-state.exp: New file.
713 2016-01-25 Pedro Alves <palves@redhat.com>
716 * gdb.base/catch-fork-kill.c: New file.
717 * gdb.base/catch-fork-kill.exp: New file.
719 2016-01-25 Pedro Alves <palves@redhat.com>
721 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
722 Delete, moved to lib/gdb.exp.
723 * gdb.threads/forking-threads-plus-breakpoint.exp
724 (foreach_with_prefix): Likewise.
725 * gdb.threads/process-dies-while-handling-bp.exp
726 (foreach_with_prefix): Likewise.
727 * lib/gdb.exp (foreach_with_prefix): New procedure.
729 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
731 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
732 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
734 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
736 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
739 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
740 Pedro Alves <palves@redhat.com>
742 Fix testsuite compatibility with Guile.
743 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
746 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
748 Fix testsuite compatibility with Guile.
749 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
750 (thread 1): New test for backtrace through signal handler.
752 2016-01-22 Yao Qi <yao.qi@linaro.org>
755 * gdb.base/multi-forks.c: Include
756 ../lib/unbuffer_output.c
757 (main): Call gdb_unbuffer_output.
759 2016-01-21 Doug Evans <dje@google.com>
761 * lib/ada.exp (gdb_compile_ada): Fix typo.
763 2016-01-21 Joel Brobecker <brobecker@adacore.com>
765 * gdb.base/break-fun-addr.exp: New file.
766 * gdb.base/break-fun-addr1.c: New file.
767 * gdb.base/break-fun-addr2.c: New file.
769 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
771 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
772 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
775 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
777 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
778 when GDB can not set the vector return value. Add more comments
781 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
783 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
786 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
788 * Makefile.in (DO_RUNTEST): Add --status and update usages.
790 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
792 * Makefile.in (check-single): Pass --status to runtest.
793 (check/%.exp): Likewise.
795 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
797 * Makefile.in (check-parallel): Propagate return code from make
800 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
802 * gdb.trace/ftrace.exp: Fix expected message on continue.
803 * gdb.trace/pending.exp: Fix expected message on continue.
804 * gdb.trace/trace-break.exp: Fix expected message on continue.
806 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
808 * lib/gdb.exp (gdb_test): Remove unused global references.
810 2016-01-18 Pedro Alves <palves@redhat.com>
812 * gdb.base/async-shell.exp: Adjust expected output.
813 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
814 * gdb.base/siginfo-thread.exp: Adjust expected output.
815 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
816 * gdb.java/jnpe.exp: Adjust expected output.
817 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
818 * gdb.threads/continue-pending-status.exp: Adjust expected output.
819 * gdb.threads/leader-exit.exp: Adjust expected output.
820 * gdb.threads/manythreads.exp: Adjust expected output.
821 * gdb.threads/pthreads.exp: Adjust expected output.
822 * gdb.threads/schedlock.exp: Adjust expected output.
823 * gdb.threads/siginfo-threads.exp: Adjust expected output.
824 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
826 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
828 * gdb.threads/sigthread.exp: Adjust expected output.
829 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
831 2016-01-18 Yao Qi <yao.qi@linaro.org>
833 * gdb.guile/scm-section-script.c: Replace @progbits with
835 * gdb.python/py-section-script.c: Likewise.
837 2016-01-15 Pedro Alves <palves@redhat.com>
839 * gdb.multi/tids.exp: Test star wildcard ranges.
841 2016-01-15 Pedro Alves <palves@redhat.com>
843 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
844 command from "thread apply" invocation.
845 (thr_apply_info_thr_invalid): Default the expected output to the
847 (top level): Add tests that use convenience variables. Add tests
848 for "thread apply" with a valid TID list, but missing the command.
850 2016-01-13 Pedro Alves <palves@redhat.com>
852 * gdb.base/default.exp: Expect $_gthread as well.
853 * gdb.multi/tids.exp: Test $_gthread.
854 * gdb.threads/thread-specific.exp: Test $_gthread.
856 2016-01-13 Pedro Alves <palves@redhat.com>
858 * gdb.multi/tids.exp: Test "info threads -gid".
860 2016-01-13 Pedro Alves <palves@redhat.com>
862 * gdb.multi/tids.exp: Test InferiorThread.global_num and
864 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
866 2016-01-07 Pedro Alves <palves@redhat.com>
868 * gdb.base/break.exp: Adjust to output changes.
869 * gdb.base/hbreak2.exp: Likewise.
870 * gdb.base/sepdebug.exp: Likewise.
871 * gdb.base/watch_thread_num.exp: Likewise.
872 * gdb.linespec/keywords.exp: Likewise.
873 * gdb.multi/info-threads.exp: Likewise.
874 * gdb.threads/thread-find.exp: Likewise.
875 * gdb.multi/tids.c: New file.
876 * gdb.multi/tids.exp: New file.
878 2016-01-13 Pedro Alves <palves@redhat.com>
880 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
882 2016-01-13 Pedro Alves <palves@redhat.com>
884 * gdb.base/default.exp: Expect $_inferior as well.
885 * gdb.multi/base.exp: Test $_inferior.
887 2016-01-13 Pedro Alves <palves@redhat.com>
890 * gdb.base/catch-signal-siginfo-cond.c: New file.
891 * gdb.base/catch-signal-siginfo-cond.exp: New file.
893 2016-01-12 Josh Stone <jistone@redhat.com>
894 Philippe Waroquiers <philippe.waroquiers@skynet.be>
896 * gdb.base/catch-syscall.c (do_execve): New variable.
897 (main): Conditionally trigger an execve.
898 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
899 (test_catch_syscall_execve): New, check entry/return across execve.
900 (do_syscall_tests): Call test_catch_syscall_execve.
902 2016-01-12 Pedro Alves <palves@redhat.com>
904 * gdb.base/random-signal.exp (do_test): New procedure, with body
905 of testcase moved in.
907 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
908 Pedro Alves <palves@redhat.com>
910 * gdb.base/funcargs.exp (finish from indirectly called function):
911 Reintroduce the case for 'First'.
913 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
914 Pedro Alves <palves@redhat.com>
916 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
917 (tcatch_vfork_then_child_follow_exec)
918 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
921 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
923 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
924 and repeats to unlimited.
925 * gdb.python/py-value.exp: Likewise.
926 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
927 and repeats to unlimited.
929 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
931 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
932 and reordering the functions.
933 * gdb.multi/hangout.c: Likewise.
934 * gdb.multi/hello.c: Likewise.
936 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
938 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
940 (SingleStatisticTestResult.report): Use dict.keys instead of
943 2016-01-06 Pedro Alves <palves@redhat.com>
945 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
947 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
949 * gdb.btrace/dlopen.exp: New.
950 * gdb.btrace/dlopen.c: New.
951 * gdb.btrace/dlopen-dso.c: New.
953 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
955 * lib/gdb.exp (gdb_test): Update comments to clarify that the
956 PATTERN argument is optional.
958 2015-12-24 Joel Brobecker <brobecker@adacore.com>
960 * lib/ada.exp (target_compile_ada_from_dir): New function.
961 (gdb_compile_ada): Reimplement avoiding the use of project files.
962 * gdb.ada/gnat_ada.gpr: Delete.
963 * gdb.ada/cond_lang.exp: Adjust test to make path before
965 * gdb.ada/small_reg_param.exp: Likewise.
967 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
969 * gdb.base/foll-vork.exp: Remove HP-UX special case.
971 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
973 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
976 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
978 * gdb.base/break.exp: Remove dead code.
979 * gdb.base/sepdebug.exp: Likewise.
981 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
983 * gdb.asm/asm-source.exp: Remove HP-UX references.
984 * gdb.base/annota1.exp: Likewise.
985 * gdb.base/annota3.exp: Likewise.
986 * gdb.base/attach.exp: Likewise.
987 * gdb.base/bigcore.exp: Likewise.
988 * gdb.base/break.exp: Likewise.
989 * gdb.base/call-ar-st.exp: Likewise.
990 * gdb.base/callfuncs.exp: Likewise.
991 * gdb.base/catch-fork-static.exp: Likewise.
992 * gdb.base/display.exp: Likewise.
993 * gdb.base/foll-exec-mode.exp: Likewise.
994 * gdb.base/foll-exec.exp: Likewise.
995 * gdb.base/foll-fork.exp: Likewise.
996 * gdb.base/foll-vfork.exp: Likewise.
997 * gdb.base/funcargs.exp: Likewise.
998 * gdb.base/hbreak2.exp: Likewise.
999 * gdb.base/inferior-died.exp: Likewise.
1000 * gdb.base/interrupt.exp: Likewise.
1001 * gdb.base/multi-forks.exp: Likewise.
1002 * gdb.base/nodebug.exp: Likewise.
1003 * gdb.base/sepdebug.exp: Likewise.
1004 * gdb.base/solib1.c: Likewise.
1005 * gdb.base/step-test.exp: Likewise.
1006 * gdb.mi/non-stop.c: Likewise.
1007 * gdb.mi/pthreads.c: Likewise.
1008 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1009 * gdb.threads/pthreads.c: Likewise.
1010 * gdb.threads/staticthreads.exp: Likewise.
1011 * lib/future.exp: Likewise.
1012 * lib/gdb.exp: Likewise.
1013 * gdb.base/so-indr-cl.c: Remove.
1014 * gdb.base/so-indr-cl.exp: Likewise.
1015 * gdb.base/solib.c: Likewise.
1016 * gdb.base/solib.exp: Likewise.
1017 * gdb.base/solib2.c: Likewise.
1019 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1021 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1022 * gdb.base/call-ar-st.exp: Likewise.
1023 * gdb.base/callfuncs.exp: Likewise.
1024 * gdb.base/condbreak.exp: Likewise.
1025 * gdb.base/constvars.exp: Likewise.
1026 * gdb.base/hbreak2.exp: Likewise.
1027 * gdb.base/langs.exp: Likewise.
1028 * gdb.base/list.exp: Likewise.
1029 * gdb.base/long_long.exp: Likewise.
1030 * gdb.base/ptype.exp: Likewise.
1031 * gdb.base/scope.exp: Likewise.
1032 * gdb.base/signals.exp: Likewise.
1033 * gdb.base/so-impl-ld.exp: Likewise.
1034 * gdb.base/varargs.exp: Likewise.
1035 * gdb.base/volatile.exp: Likewise.
1036 * gdb.base/whatis.exp: Likewise.
1037 * gdb.cp/cplusfuncs.exp: Likewise.
1038 * gdb.cp/inherit.exp: Likewise.
1039 * gdb.cp/local.exp: Likewise.
1040 * gdb.cp/member-ptr.exp: Likewise.
1041 * gdb.cp/method.exp: Likewise.
1042 * gdb.cp/overload.exp: Likewise.
1043 * gdb.cp/templates.exp: Likewise.
1044 * gdb.stabs/weird.exp: Likewise.
1045 * lib/compiler.c: Likewise.
1046 * lib/compiler.cc: Likewise.
1047 * lib/cp-support.exp: Likewise.
1048 * lib/gdb.exp: Likewise.
1050 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1052 * configure.ac: Remove HP-UX case.
1053 * configure: Regenerate.
1055 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1057 * lib/gdb.exp (gdb_compile): Add function doc.
1059 2015-12-17 Pedro Alves <palves@redhat.com>
1062 * gdb.multi/info-threads.exp: New file.
1064 2015-12-15 Yao Qi <yao.qi@linaro.org>
1066 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1069 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1071 * gdb.base/history-duplicates.exp: Skip if no readline support.
1073 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1075 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1077 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1079 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1081 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1083 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1084 ctrl-C if nointerrupts target property is set.
1085 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1086 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1087 * gdb.base/paginate-bg-execution.exp: Likewise.
1088 * gdb.base/paginate-execution-startup.exp: Likewise.
1089 * gdb.base/random-signal.exp: Likewise.
1090 * gdb.base/range-stepping.exp: Likewise.
1091 * gdb.cp/annota2.exp: Likewise.
1092 * gdb.cp/annota3.exp: Likewise.
1093 * gdb.gdb/selftest.exp: Likewise.
1094 * gdb.threads/continue-pending-status.exp: Likewise.
1095 * gdb.threads/leader-exit.exp: Likewise.
1096 * gdb.threads/manythreads.exp: Likewise.
1097 * gdb.threads/pthreads.exp: Likewise.
1098 * gdb.threads/schedlock.exp: Likewise.
1099 * gdb.threads/sigthread.exp: Likewise.
1101 2015-12-11 Don Breazeal <donb@codesourcery.com>
1103 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1105 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1106 * gdb.base/foll-exec.exp (main): Enable for target remote.
1107 * gdb.base/foll-fork.exp (main): Likewise.
1108 * gdb.base/foll-vfork.exp (main): Likewise.
1109 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1110 (proc continue_to_exit_bp_loc): Use clean_restart.
1111 * gdb.base/pie-execl.exp (main): Disable for target remote.
1112 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1113 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1114 * gdb.threads/execl.exp (main): Likewise.
1115 * gdb.threads/fork-child-threads.exp (main): Likewise.
1116 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1118 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1120 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1121 pid.tid style ptids, instead of just tid.
1122 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1123 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1124 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1125 ptids, instead of just tid.
1127 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1129 * gdb.base/list.exp (test_list_forward): Add end of file error
1131 (test_repeat_list_command): Add end of file error test.
1132 (test_list_backwards): Add beginning of file error test.
1134 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1136 * gdb.base/list.exp (test_list_invalid_args): New function,
1137 defined, and called.
1139 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1141 * gdb.base/list.exp (test_list): Make test names unique.
1143 2015-12-11 Yao Qi <yao.qi@linaro.org>
1145 * gdb.base/coremaker2.c: Remove.
1147 2015-12-10 Pedro Alves <palves@redhat.com>
1149 * gdb.multi/base.exp: Remove stale "spaces" references.
1151 2015-12-10 Pedro Alves <palves@redhat.com>
1153 * gdb.multi/base.exp: Don't use nowarnings.
1154 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1155 * gdb.multi/hangout.c: Include stdio.h.
1156 * gdb.multi/hello.c: Include stdlib.h.
1157 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1158 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1159 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1161 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1163 * gdb.dwarf2/dw2-ranges-base.c: New file.
1164 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1165 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1166 support additional line table, and debug ranges generation.
1167 (Dwarf::ranges): New function, generate .debug_ranges.
1168 (Dwarf::lines): Support generating simple line table programs.
1169 (Dwarf::assemble): Initialise new namespace variables.
1171 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1173 * gdb.base/async.exp (proc test_background): Add case for
1174 asynchronous execution not supported.
1176 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1178 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1179 format and change test names to make them unique.
1181 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1182 Pedro Alves <pedro@redhat.com>
1185 Add checking of floatformats setup on x86_64 hosts.
1186 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1187 (smallval, bigval): New labels/constants.
1188 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1189 float" after loading bigval and smallval.
1191 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1193 * gdb.ada/fun_overload_menu.exp: New testcase.
1194 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1196 2015-12-04 Josh Stone <jistone@redhat.com>
1198 * gdb.base/catch-fork-static.exp: New.
1200 2015-12-03 Yao Qi <yao.qi@linaro.org>
1202 * gdb.base/sizeof.c: Don't include stdio.h and
1203 ../lib/unbuffer_output.c.
1204 (main): New variable 'size' and 'value'. Remove printf and
1205 gdb_unbuffer_output. Assign return value to size and value.
1206 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1208 (check_sizeof): Check the result by printing variable 'size'.
1209 (check_valueof): Check the result by printing variable 'value'.
1211 2015-12-01 Yao Qi <yao.qi@linaro.org>
1213 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1214 for aarch64*-*-linux* target.
1216 2015-11-30 Pedro Alves <palves@redhat.com>
1218 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1220 2015-11-30 Pedro Alves <palves@redhat.com>
1222 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1223 Handle non-stop mode vCont replies.
1225 2015-11-30 Pedro Alves <palves@redhat.com>
1227 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1228 prepare_for_testing. Start gdb with "set non-stop on" appended to
1229 GDBFLAGS. Lax expected stop output.
1231 2015-11-27 Yao Qi <yao.qi@linaro.org>
1233 * gdb.arch/arm-neon.exp: New.
1234 * gdb.arch/arm-neon.c: New.
1236 2015-11-27 Yao Qi <yao.qi@linaro.org>
1238 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1240 2015-11-27 Yao Qi <yao.qi@linaro.org>
1242 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1243 frames-invalid annotation.
1245 2015-11-27 Yao Qi <yao.qi@linaro.org>
1247 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1249 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1251 * gdb.threads/names.exp: New file.
1252 * gdb.threads/names.c: New file.
1253 * README: Mention gdb,no_thread_names.
1255 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1258 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1261 2015-11-24 Pedro Alves <palves@redhat.com>
1264 * gdb.base/display.exp: Expect displays to be sorted in ascending
1265 order. Use multi_line.
1266 * gdb.base/solib-display.exp: Likewise.
1268 2015-11-24 Pedro Alves <palves@redhat.com>
1271 * gdb.base/display.exp: Expect displays to be sorted in ascending
1272 order. Use multi_line.
1273 * gdb.base/solib-display.exp: Likewise.
1275 2015-11-24 Pedro Alves <palves@redhat.com>
1278 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1279 threads in ascending order.
1280 * gdb.base/foll-fork.exp: Likewise.
1281 * gdb.base/foll-vfork.exp: Likewise.
1282 * gdb.base/multi-forks.exp: Likewise.
1283 * gdb.mi/mi-nonstop.exp: Likewise.
1284 * gdb.mi/mi-nsintrall.exp: Likewise.
1285 * gdb.multi/base.exp: Likewise.
1286 * gdb.multi/multi-arch.exp: Likewise.
1287 * gdb.python/py-inferior.exp: Likewise.
1288 * gdb.threads/break-while-running.exp: Likewise.
1289 * gdb.threads/execl.exp: Likewise.
1290 * gdb.threads/gcore-thread.exp: Likewise.
1291 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1292 * gdb.threads/kill.exp: Likewise.
1293 * gdb.threads/linux-dp.exp: Likewise.
1294 * gdb.threads/multiple-step-overs.exp: Likewise.
1295 * gdb.threads/next-bp-other-thread.exp: Likewise.
1296 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1297 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1298 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1299 * gdb.threads/thread-find.exp: Likewise.
1300 * gdb.threads/tls.exp: Likewise.
1301 * lib/mi-support.exp (mi_reverse_list): Delete.
1302 (mi_check_thread_states): No longer reverse list.
1304 2015-11-24 Pedro Alves <palves@redhat.com>
1306 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1309 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1311 * gdb.trace/actions.c: Include trace-common.h.
1312 (main): Add a location for a fast tracepoint.
1313 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1314 the normal tracepoints.
1315 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1317 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1319 * save-trace.exp: Factor out code to these...
1320 (gdb_save_tracepoints): New.
1321 (gdb_load_tracepoints): New.
1322 (do_save_load_test): New.
1324 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1326 * gdb.base/asmlabel.exp: New test.
1327 * gdb.base/asmlabel.c: New test case.
1329 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1331 * gdb.base/wrong_frame_bt_full-main.c: New file.
1332 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1333 * gdb.base/wrong_frame_bt_full.exp: New file.
1335 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1337 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1339 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1341 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1342 pstate register when comparing registers values in
1343 sparc64-*-linux-gnu targets to avoid spurious differences.
1345 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1347 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1349 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1351 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1352 as type argument to gdb_compile.
1353 * gdb.base/nested-subp2.exp: Likewise.
1354 * gdb.base/nested-subp3.exp: Likewise.
1356 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1358 * lib/dwarf.exp (_note): Fix left shift of negative value.
1359 * gdb.trace/trace-condition.exp: Likewise.
1361 2015-11-13 Yao Qi <yao.qi@linaro.org>
1363 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1364 comments about d10v.
1365 (test_scalar_returns): Likewise.
1366 * gdb.base/d10v.ld: Remove.
1367 * gdb.base/overlays.exp: Remove the target triplet checking for
1369 * gdb.base/structs.exp (test_struct_returns): Remove the
1370 comments about d10v.
1371 (test_struct_calls): Likewise.
1373 2015-11-13 Yao Qi <yao.qi@linaro.org>
1375 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1376 * gdb.base/gnu_vector.c: Don't include stdio.h.
1377 (main): Don't print res and call add_some_intvecs.
1379 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1381 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1384 (func4): Use FAST_TRACEPOINT_LABEL.
1385 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1388 (thread_function): Use FAST_TRACEPOINT_LABEL.
1389 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1391 (marker): Use FAST_TRACEPOINT_LABEL.
1392 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1393 (pendfunc1): Remove.
1394 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1395 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1397 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1398 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1401 (marker): Use FAST_TRACEPOINT_LABEL.
1402 * gdb.trace/trace-common.h: New header.
1403 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1406 (marker): Use FAST_TRACEPOINT_LABEL.
1407 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1409 (thread_function): Use FAST_TRACEPOINT_LABEL.
1411 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1413 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1415 * gdb.trace/change-loc.exp: Use global pcreg definition.
1416 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1417 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1419 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1420 * gdb.trace/pending.exp: Likewise.
1421 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1422 * gdb.trace/trace-break.exp: Likewise.
1423 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1425 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1426 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1428 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1430 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1432 * gdb.ada/fin_fun_out: New testcase.
1434 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1436 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1437 value associated with DW_AT_byte_size.
1438 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1439 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1442 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1444 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1445 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1447 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1448 gdb.dwarf2/dw2-canonicalize-type.exp,
1449 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1450 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1451 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1452 provided by gdb_target_symbol_prefix_flags_asm.
1453 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1454 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1455 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1456 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1457 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1458 macros where needed). Use this macro for symbols which require
1459 the prefix provided by SYMBOL_PREFIX.
1461 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1463 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1465 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1466 representing expressions, of more than one list element.
1467 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1468 to prepend linker symbol prefix to f.
1469 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1470 table_1 and table_2.
1471 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1472 Likewise, for f and g.
1473 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1475 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1477 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1478 table_1_ptr and table_2_ptr.
1480 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1481 Joel Brobecker <brobecker@adacore.com>
1483 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1485 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1487 * gdb.reverse/s390-mvcle.c: New test.
1488 * gdb.reverse/s390-mvcle.exp: New file.
1489 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1491 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1493 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1495 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1497 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1499 * gdb.reverse/getresuid-reverse.exp: Likewise.
1500 * gdb.reverse/pipe-reverse.exp: Likewise.
1501 * gdb.reverse/readv-reverse.exp: Likewise.
1502 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1503 * gdb.reverse/time-reverse.exp: Likewise.
1504 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1506 2015-10-30 Yao Qi <yao.qi@linaro.org>
1508 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1509 (empty_cycle): Remove.
1510 (main): Don't call empty_cycle. Don't use watch_count_done.
1511 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1512 empty_cycle. Rewrite the code counting HW watchpoints.
1514 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1516 * gdb.reverse/fstatat-reverse.c: New test.
1517 * gdb.reverse/fstatat-reverse.exp: New file.
1518 * gdb.reverse/getresuid-reverse.c: New test.
1519 * gdb.reverse/getresuid-reverse.exp: New file.
1520 * gdb.reverse/pipe-reverse.c: New test.
1521 * gdb.reverse/pipe-reverse.exp: New file.
1522 * gdb.reverse/readv-reverse.c: New test.
1523 * gdb.reverse/readv-reverse.exp: New file.
1524 * gdb.reverse/recvmsg-reverse.c: New test.
1525 * gdb.reverse/recvmsg-reverse.exp: New file.
1526 * gdb.reverse/time-reverse.c: New test.
1527 * gdb.reverse/time-reverse.exp: New file.
1528 * gdb.reverse/waitpid-reverse.c: New test.
1529 * gdb.reverse/waitpid-reverse.exp: New file.
1531 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1533 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1535 2015-10-26 Doug Evans <dje@google.com>
1538 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1539 * gdb.dwarf2/bad-regnum.c: New file.
1540 * gdb.dwarf2/bad-regnum.exp: New file.
1542 2015-10-26 Doug Evans <dje@google.com>
1545 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1548 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1550 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1551 for a change by "Mention language in compile error message".
1553 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1556 * gdb.python/py-type.c (C::a_method): New.
1557 (C::a_const_method): New.
1558 (C::a_static_method): New.
1560 * gdb.python/py-type.exp (test_fields): Test getting fields
1561 from function and method.
1563 2015-10-21 Keven Boell <keven.boell@intel.com>
1565 * gdb.fortran/vla-alloc-assoc.exp: New file.
1566 * gdb.fortran/vla-datatypes.exp: New file.
1567 * gdb.fortran/vla-datatypes.f90: New file.
1568 * gdb.fortran/vla-history.exp: New file.
1569 * gdb.fortran/vla-ptype-sub.exp: New file.
1570 * gdb.fortran/vla-ptype.exp: New file.
1571 * gdb.fortran/vla-sizeof.exp: New file.
1572 * gdb.fortran/vla-sub.f90: New file.
1573 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1574 * gdb.fortran/vla-value-sub-finish.exp: New file.
1575 * gdb.fortran/vla-value-sub.exp: New file.
1576 * gdb.fortran/vla-value.exp: New file.
1577 * gdb.fortran/vla-ptr-info.exp: New file.
1578 * gdb.mi/mi-vla-fortran.exp: New file.
1579 * gdb.mi/vla.f90: New file.
1581 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1583 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1584 of hardwired timeout value.
1586 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1587 Pedro Alves <palves@redhat.com>
1589 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1590 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1592 2015-10-19 Josh Stone <jistone@redhat.com>
1594 * gdb.base/catch-syscall.c: Include <sched.h>.
1595 (unknown_syscall): New variable.
1596 (main): Trigger a vfork and an unknown syscall.
1597 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1598 (unknown_syscall_number): Likewise.
1599 (check_call_to_syscall): Accept an optional syscall pattern.
1600 (check_return_from_syscall): Likewise.
1601 (check_continue): Likewise.
1602 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1603 (test_catch_syscall_skipping_return): New test toggling off 'catch
1604 syscall' to step over the syscall return, then toggling back on.
1605 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1606 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1607 (do_syscall_tests): Call test_catch_syscall_without_args and
1608 test_catch_syscall_mid_vfork.
1609 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1610 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1612 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1614 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1615 print g_vE): Add new pass patterns.
1616 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1617 print various symbol names for vptr fields.
1619 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1621 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1624 2015-10-12 Yao Qi <yao.qi@linaro.org>
1626 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1628 2015-10-12 Yao Qi <yao.qi@linaro.org>
1630 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1631 is aarch64*-*-linux*.
1633 2015-10-12 Yao Qi <yao.qi@linaro.org>
1635 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1636 (can_relocate_bcond_true): ... it.
1637 (can_relocate_bcond_false): New function.
1639 (can_relocate_bl): Likewise.
1640 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1643 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1645 * gdb.base/nested-addr.c: New file.
1646 * gdb.base/nested-addr.exp: New testcase.
1648 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1650 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1651 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1652 its output. Ignore the output of "record goto begin" and instead
1653 check that GDB is replaying.
1655 2015-10-09 Pedro Alves <palves@redhat.com>
1657 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1658 (top level): Use it in the run with no args test.
1660 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1662 * gdb.dlang/properties.exp: New file.
1664 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1666 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1667 whether or not address 0x1000 is mapped on the target.
1669 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1671 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1674 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1676 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1677 instruction-history test.
1679 2015-09-28 Doug Evans <dje@google.com>
1681 * gdb.base/gcore.c (array_func): Add reference to static_array.
1683 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1685 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1688 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1690 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1691 short or char as base type.
1693 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1695 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1696 to allow any size enum.
1698 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1700 * gdb.ada/array_ptr_renaming.exp: New testcase.
1701 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1702 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1704 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1706 * gdb.trace/ftrace-lock.c: New file.
1707 * gdb.trace/ftrace-lock.exp: New file.
1709 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1711 * gdb.arch/insn-reloc.c: New file.
1712 * gdb.arch/ftrace-insn-reloc.exp: New file.
1714 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1716 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1718 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1719 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1720 * gdb.trace/range-stepping.c: Likewise.
1721 * gdb.trace/trace-break.c: Likewise.
1722 * gdb.trace/trace-mt.c (thread_function): Likewise.
1723 * gdb.trace/ftrace.c (marker): Likewise.
1724 * gdb.trace/trace-condition.c (marker): Likewise.
1725 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1726 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1729 2015-09-18 Doug Evans <xdje42@gmail.com>
1731 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1732 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1734 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1736 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1739 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1741 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1742 the pending breakpoint. Remove timeout override for "Run till
1743 MI pending breakpoint on pendfunc3 on thread 2" test.
1745 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1747 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1750 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1752 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1753 in breakpoint filename pattern.
1755 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1757 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1759 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1761 * gdb.linespec/explicit.exp: Check for readline support for
1762 tab-completion tests. Fix obvious typo.
1764 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1766 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1769 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1771 * gdb.btrace/non-stop.c: New.
1772 * gdb.btrace/non-stop.exp: New.
1774 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1775 Yao Qi <yao.qi@linaro.org>
1777 * gdb.trace/trace-condition.c: New file.
1778 * gdb.trace/trace-condition.exp: New file.
1780 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1782 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1783 for testing bytecode compilation.
1785 2015-09-16 Pedro Alves <palves@redhat.com>
1786 Sandra Loosemore <sandra@codesourcery.com>
1788 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1789 (SECONDS): Redefine.
1790 (main): Call pthread_kill and alarm early.
1791 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1793 (test): If the target can't hardware step and doesn't support
1794 displaced stepping, increase the timeout.
1796 2015-09-16 Pedro Alves <palves@redhat.com>
1798 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1799 (enable_debug): New procedures.
1800 (test): Use them. Bail out if waiting for threads fails.
1801 (top level): Bail out if a test fails.
1803 2015-09-16 Yao Qi <yao.qi@linaro.org>
1805 * gdb.asm/asm-source.exp: Set asm-arch for
1806 aarch64*-*-* target.
1807 * gdb.asm/aarch64.inc: New file.
1809 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1811 * gdb.ada/array_of_variable_length.exp: New testcase.
1812 * gdb.ada/array_of_variable_length/foo.adb: New file.
1813 * gdb.ada/array_of_variable_length/pck.adb: New file.
1814 * gdb.ada/array_of_variable_length/pck.ads: New file.
1816 2015-09-15 Doug Evans <dje@google.com>
1818 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1819 of function static local variable.
1821 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1823 * gdb.threads/tls-so_extern.exp: New test file.
1824 * gdb.threads/tls-so_extern.c: New test file.
1825 * gdb.threads/tls-so_extern_main.c: New test file.
1827 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1829 * gdb.opt/solib-intra-step-lib.c: New file.
1830 * gdb.opt/solib-intra-step-main.c: New file.
1831 * gdb.opt/solib-intra-step.exp: New file.
1833 2015-09-15 Pedro Alves <palves@redhat.com>
1835 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1836 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1838 2015-09-14 Pedro Alves <palves@redhat.com>
1840 * gdb.base/hook-stop-continue.c: Delete.
1841 * gdb.base/hook-stop-continue.exp: Delete.
1842 * gdb.base/hook-stop-frame.c: Delete.
1843 * gdb.base/hook-stop-frame.exp: Delete.
1844 * gdb.base/hook-stop.c: New file.
1845 * gdb.base/hook-stop.exp: New file.
1847 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1849 * gdb.ada/access_to_packed_array.exp: New testcase.
1850 * gdb.ada/access_to_packed_array/foo.adb: New file.
1851 * gdb.ada/access_to_packed_array/pack.adb: New file.
1852 * gdb.ada/access_to_packed_array/pack.ads: New file.
1854 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1856 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1859 2015-09-11 Don Breazeal <donb@codesourcery.com>
1861 * gdb.base/foll-exec.c: Add copyright header. Fix
1863 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1864 (do_exec_tests): Use clean_restart in place of zap_session,
1865 and for test initialization. Fix formatting issues. Use
1866 fail in place of perror.
1867 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1868 an expect statement to match an expression with output from
1869 the program under debug.
1870 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1871 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1872 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1873 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1874 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1876 2015-09-09 Doug Evans <dje@google.com>
1878 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1880 2015-09-09 Doug Evans <dje@google.com>
1882 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1884 2015-09-09 Doug Evans <dje@google.com>
1886 * gdb.base/savedregs.exp: Fix typo.
1888 2015-09-09 Pedro Alves <palves@redhat.com>
1890 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1892 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1894 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1895 command actually switches threads. Give up on remaining
1896 tests if target fails to stop at breakpoint.
1898 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1900 * gdb.ada/funcall_char.exp: New testcase.
1901 * gdb.ada/funcall_char/foo.adb: New file.
1903 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1905 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1906 expected outputs. Add two testcases for completing ambiguous
1908 * gdb.ada/complete/aux_pck.adb: New file.
1909 * gdb.ada/complete/aux_pck.ads: New file.
1910 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1911 Ambiguous_Func functions.
1912 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1913 * gdb.ada/complete/pck.adb: Likewise.
1915 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1917 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1918 failures to run the test program under GDB.
1920 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1922 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1925 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1927 * gdb.base/run-after-attach.exp: New test file.
1928 * gdb.base/run-after-attach.c: New test file.
1930 2015-08-26 Don Breazeal <donb@codesourcery.com>
1932 * gdb.base/foll-exec-2.c: New test program.
1933 * gdb.base/foll-exec-2.exp: New test.
1935 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1937 * gdb.base/nested-subp1.exp: New file.
1938 * gdb.base/nested-subp1.c: New file.
1939 * gdb.base/nested-subp2.exp: New file.
1940 * gdb.base/nested-subp2.c: New file.
1941 * gdb.base/nested-subp3.exp: New file.
1942 * gdb.base/nested-subp3.c: New file.
1944 2015-08-24 Pedro Alves <palves@redhat.com>
1946 * gdb.server/connect-without-multi-process.c: New file.
1947 * gdb.server/connect-without-multi-process.exp: New file.
1949 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1951 * gdb.opt/inline-markers.c: Make z int.
1953 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1955 * gdb.opt/inline-markers.c: Make z volatile.
1957 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1959 * gdb.opt/inline-bt.c: New volatile global z.
1960 * gdb.opt/inline-cmds.c: Likewise.
1961 * gdb.opt/inline-locals.c: Likewise.
1962 * gdb.opt/inline-markers.c: New extern global z.
1964 (inline_fn): Likewise.
1966 2015-08-24 Pedro Alves <palves@redhat.com>
1968 * config/m32r-stub.exp: Remove file.
1969 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1970 * gdb.base/call-rt-st.exp: Likewise.
1971 * gdb.base/call-strs.exp: Likewise.
1972 * gdb.base/default.exp: Remove references to h8300-*-hms and
1974 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1976 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1978 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1979 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1980 and "return" use KFAIL when GDB can not read/write the vector
1983 2015-08-21 Gary Benson <gbenson@redhat.com>
1985 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1987 2015-08-20 Pedro Alves <palves@redhat.com>
1989 * gdb.server/solib-list.exp: No longer expect an interior stop in
1992 2015-08-20 Pedro Alves <palves@redhat.com>
1994 * gdb.server/connect-stopped-target.c: New file.
1995 * gdb.server/connect-stopped-target.exp: New file.
1997 2015-08-20 Pedro Alves <palves@redhat.com>
1999 * gdb.dwarf2/comp-unit-lang.exp: New file.
2000 * gdb.dwarf2/comp-unit-lang.c: New file.
2002 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2004 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2005 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2007 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2009 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2010 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2012 2015-08-18 Doug Evans <dje@google.com>
2013 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2015 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2016 skip_python_tests. New arg prompt_regexp.
2017 (skip_python_tests): New function.
2018 * lib/mi-support.exp (mi_skip_python_tests): New function.
2019 * gdb.python/py-mi-objfile-gdb.py: New file.
2020 * gdb.python/py-mi-objfile.c: New file.
2021 * gdb.python/py-mi-objfile.exp: New file.
2023 2015-08-17 Keith Seitz <keiths@redhat.com>
2025 * gdb.linespec/explicit.exp: Move strace test from here ...
2026 * gdb.trace/strace.exp: ... to here.
2028 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2030 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2031 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2033 2015-08-14 Doug Evans <xdje42@gmail.com>
2035 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2036 inferior before selecting a new file.
2038 2015-08-14 Doug Evans <xdje42@gmail.com>
2040 * gdb.mi/mi-disassemble.exp: Update.
2041 * gdb.base/disasm-optim.S: New file.
2042 * gdb.base/disasm-optim.c: New file.
2043 * gdb.base/disasm-optim.h: New file.
2044 * gdb.base/disasm-optim.exp: New file.
2046 2015-08-14 Keith Seitz <keiths@redhat.com>
2048 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2051 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2053 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2055 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2057 * gdb.ada/fun_renaming.exp: New testcase.
2058 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2059 * gdb.ada/fun_renaming/pack.adb: New file.
2060 * gdb.ada/fun_renaming/pack.ads: New file.
2062 2015-08-12 Keith Seitz <keiths@redhat.com>
2064 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2065 gdb_get_line_number.
2067 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2069 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2070 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2071 gdb.base/dso2dso.exp: New files.
2073 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2074 Pedro Alves <palves@redhat.com>
2075 Keith Seitz <keiths@redhat.com>
2077 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2080 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2082 * gdb.base/gdbhistsize-history.exp
2083 (test_histsize_history_setting): Use save_vars.
2084 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2086 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2087 * gdb.base/readline.exp: Use save_vars.
2089 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2091 * lib/gdb.exp (save_vars): New proc.
2093 2015-08-11 Keith Seitz <keiths@redhat.com>
2095 * gdb.base/help.exp: Update help_breakpoint_text.
2097 2015-08-11 Keith Seitz <keiths@redhat.com>
2099 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2100 (at toplevel): Call test_explicit_breakpoints.
2101 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2103 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2104 breakpoint conditions, "-cond".
2106 2015-08-11 Keith Seitz <keiths@redhat.com>
2108 * gdb.linespec/3explicit.c: New file.
2109 * gdb.linespec/cpexplicit.cc: New file.
2110 * gdb.linespec/cpexplicit.exp: New file.
2111 * gdb.linespec/explicit.c: New file.
2112 * gdb.linespec/explicit.exp: New file.
2113 * gdb.linespec/explicit2.c: New file.
2114 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2115 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2116 before using in the matching pattern.
2117 Clarify that `prefix' is a regular expression.
2119 2015-08-11 Keith Seitz <keiths@redhat.com>
2121 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2123 Add tests for missing ",FMT" and ",".
2125 2015-08-10 Doug Evans <dje@google.com>
2126 Keith Seitz <keiths@redhat.com>
2129 * gdb.base/completion.exp: Add location completer tests.
2131 2015-08-07 Pedro Alves <palves@redhat.com>
2133 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2135 (top level): Run do_test with and without displaced stepping.
2137 2015-08-07 Pedro Alves <palves@redhat.com>
2139 * gdb.base/valgrind-disp-step.c: New file.
2140 * gdb.base/valgrind-disp-step.exp: New file.
2142 2015-08-07 Pedro Alves <palves@redhat.com>
2144 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2146 (main): Add alarm. Run an infinite loop instead of calling
2148 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2150 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2152 (main): Add alarm. Run an infinite loop instead of calling
2154 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2157 2015-08-07 Pedro Alves <palves@redhat.com>
2159 * gdb.base/checkpoint-ns.exp: New file.
2160 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2163 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2165 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2166 * gdb.btrace/instruction_history.exp: Update.
2167 * gdb.btrace/tsx.exp: New.
2168 * gdb.btrace/tsx.c: New.
2170 2015-08-06 Pedro Alves <palves@redhat.com>
2172 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2174 * gdb.reverse/until-precsave.exp: Bump timeouts.
2176 2015-08-06 Pedro Alves <palves@redhat.com>
2178 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2180 2015-08-06 Pedro Alves <palves@redhat.com>
2183 * gdb.threads/process-dies-while-handling-bp.c: New file.
2184 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2186 2015-08-06 Pedro Alves <palves@redhat.com>
2188 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2189 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2191 2015-08-05 Pedro Alves <palves@redhat.com>
2193 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2194 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2196 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2198 * gdb.base/bp-permanent.exp: Report test as unsupported if
2199 the target cannot stop at the permanent breakpoint.
2201 2015-08-03 Doug Evans <dje@google.com>
2203 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2206 2015-08-03 Doug Evans <dje@google.com>
2208 * Makefile.in (workers/%.worker, build-perf): New rule.
2209 (GDB_PERFTEST_MODE): New variable.
2210 (check-perf): Use it.
2211 (clean): Clean up gdb.perf parallel build subdirs.
2212 * lib/build-piece.exp: New file.
2213 * lib/gdb.exp (make_gdb_parallel_path): New function
2214 (standard_output_file, standard_temp_file): Call it.
2215 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2217 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2219 2015-08-03 Doug Evans <dje@google.com>
2221 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2222 (LOG_FILE_NAME): New global.
2223 (TextReporter.__init__): Initialize self.txt_sum.
2224 (TextReporter.report): Add support for multiple data-points.
2225 Move report to perftest.sum, put raw data in perftest.log.
2226 (TextReporter.start): Open sum and log files.
2227 (TextReporter.end): Close sum and log files.
2228 * gdb.perf/lib/perftest/testresult.py
2229 (SingleStatisticTestResult.record): Handle multiple data-points.
2231 2015-07-31 Pedro Alves <palves@redhat.com>
2233 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2234 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2235 kill_wait_spawned_process instead of explicit "kill -9".
2236 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2237 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2238 kill_wait_spawned_process.
2239 * gdb.base/attach-twice.exp: Likewise.
2240 * gdb.base/attach.exp: Likewise.
2241 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2243 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2244 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2245 kill_wait_spawned_process.
2246 * gdb.base/valgrind-infcall.exp: Likewise.
2247 * gdb.multi/multi-attach.exp: Likewise.
2248 * gdb.python/py-prompt.exp: Likewise.
2249 * gdb.python/py-sync-interp.exp: Likewise.
2250 * gdb.server/ext-attach.exp: Likewise.
2251 * gdb.threads/attach-into-signal.exp (corefunc): Use
2252 spawn_wait_for_attach, spawn_id_get_pid and
2253 kill_wait_spawned_process.
2254 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2255 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2256 spawn_id_get_pid and kill_wait_spawned_process.
2257 * gdb.threads/attach-stopped.exp (corefunc): Use
2258 spawn_wait_for_attach, spawn_id_get_pid and
2259 kill_wait_spawned_process.
2260 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2261 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2262 kill_wait_spawned_process instead of explicit "kill -9".
2263 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2264 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2265 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2266 processes. Don't map cygwin/windows pids here. Now returns a
2269 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2271 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2272 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2275 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2277 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2279 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2282 2014-05-21 Mark Wielaard <mjw@redhat.com>
2284 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2286 2015-07-30 Pedro Alves <palves@redhat.com>
2288 * linux-low.c (handle_extended_wait): Set the child's last
2289 reported status to TARGET_WAITKIND_STOPPED.
2291 2015-07-30 Pedro Alves <palves@redhat.com>
2294 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2295 only shows inferior 1.
2297 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2298 Pedro Alves <palves@redhat.com>
2301 * gdb.threads/fork-plus-threads.c: New file.
2302 * gdb.threads/fork-plus-threads.exp: New file.
2304 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2306 * gdb.base/batch-preserve-term-settings.exp
2307 (test_terminal_settings_preserved_after_cli_exit): Use
2310 2015-07-29 Pedro Alves <palves@redhat.com>
2311 Don Breazeal <donb@codesourcery.com>
2313 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2314 output from both inferior_spawn_id and gdb_spawn_id.
2316 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2318 * gdb.threads/attach-into-signal.exp (corefunc): Use
2319 with_test_prefix on nested loops, uniquefying the test messages.
2321 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2323 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2326 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2328 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2330 (test_terminal_settings_preserved_after_sigterm): New test.
2332 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2334 * gdb.base/batch-preserve-term-settings.exp
2335 (test_terminal_settings_preserved_after_cli_exit): New test.
2337 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2339 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2340 manipulation of saved_gdbflags.
2341 (test_terminal_settings_preserved): Remove global declaration of
2342 the unused variable pagination_prompt. Remove manipulation of
2343 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2346 2015-07-29 Pedro Alves <palves@redhat.com>
2348 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2350 2015-07-29 Pedro Alves <palves@redhat.com>
2352 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2355 2015-07-29 Pedro Alves <palves@redhat.com>
2357 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2358 (main): Call gdb_unbuffer_output.
2359 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2360 (main): Call gdb_unbuffer_output.
2361 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2362 (main): Call gdb_unbuffer_output.
2363 * gdb.base/call-strs.exp: Adjust to step over the
2364 gdb_unbuffer_output call.
2365 * gdb.base/catch-gdb-caused-signals.c: Include
2366 "../lib/unbuffer_output.c".
2367 (main): Call gdb_unbuffer_output.
2368 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2369 (main): Call gdb_unbuffer_output.
2370 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2371 (main): Call gdb_unbuffer_output.
2372 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2373 (main): Call gdb_unbuffer_output.
2374 * gdb.base/shlib-call.exp: Adjust to step over the
2375 gdb_unbuffer_output call.
2376 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2377 (main): Call gdb_unbuffer_output.
2378 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2379 (main): Call gdb_unbuffer_output.
2380 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2381 (main): Rename to ...
2383 (main): Reimplement.
2384 * gdb.base/varargs.exp: Run to test instead of to main.
2385 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2386 (main): Call gdb_unbuffer_output.
2388 2015-07-29 Pedro Alves <palves@redhat.com>
2390 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2391 factore out from mi_continue_dprintf. For call-style dprintfs,
2392 expect dprintf output out of $inferior_spawn_id.
2393 (mi_continue_dprintf): Use mi_expect_dprintf.
2394 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2395 (main): Call gdb_unbuffer_output.
2397 2015-07-29 Pedro Alves <palves@redhat.com>
2399 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2400 (default_mi_gdb_start): Set inferior_spawn_id instead of
2401 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2403 (mi_gdb_test): Always expect inferior output from both
2404 $inferior_spawn_id and $gdb_spawn_id.
2406 2015-07-29 Pedro Alves <palves@redhat.com>
2408 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2409 send_inferior and $inferior_spawn_id.
2411 2015-07-29 Pedro Alves <palves@redhat.com>
2413 * gdb.gdb/complaints.exp (test_initial_complaints)
2414 (test_serial_complaints, test_short_complaints): Use
2416 (test_empty_complaint): Handle $inferior_spawn_id !=
2419 2015-07-29 Pedro Alves <palves@redhat.com>
2421 * gdb.base/varargs.exp: Use gdb_test_stdio.
2423 2015-07-29 Pedro Alves <palves@redhat.com>
2425 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2427 2015-07-29 Pedro Alves <palves@redhat.com>
2429 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2431 2015-07-29 Pedro Alves <palves@redhat.com>
2433 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2434 parameter into two new parameters, "inf_result" and "gdb_result".
2435 Expect inferior output and gdb output from $inferior_spawn_id and
2436 $gdb_spawn_id, respectively. Adjust all callers.
2438 2015-07-29 Pedro Alves <palves@redhat.com>
2440 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2441 of gdb_test_sequence.
2443 2015-07-29 Pedro Alves <palves@redhat.com>
2445 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2446 (saw_spurious_output): Expect inferior output from
2447 $inferior_spawn_id. Use gdb_test_stdio.
2449 2015-07-29 Pedro Alves <palves@redhat.com>
2451 * gdb.base/dprintf.exp: Use standard_testfile. Change
2452 prepare_for_testing call.
2453 (srcfile): Don't set.
2454 (restart): New procedure.
2455 (test_dprintf): New procecure, use to continue over dprintfs.
2456 (test_call, test_agent): New procedures, tests moved here.
2457 Restart gdb and recreate dprintfs. Adjust expected output.
2459 2015-07-29 Pedro Alves <palves@redhat.com>
2461 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2463 2015-07-29 Pedro Alves <palves@redhat.com>
2465 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2467 2015-07-29 Pedro Alves <palves@redhat.com>
2469 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2472 2015-07-29 Pedro Alves <palves@redhat.com>
2474 * lib/gdb.exp (gdb_test_stdio): New procedure.
2476 2015-07-29 Pedro Alves <palves@redhat.com>
2478 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2480 2015-07-29 Pedro Alves <palves@redhat.com>
2482 * gdb.base/call-signal-resume.exp: Remove check for
2483 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2484 * gdb.base/unwindonsignal.exp: Likewise.
2485 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2486 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2488 2015-07-29 Pedro Alves <palves@redhat.com>
2490 * gdb.base/siginfo-addr.c (pass): New function.
2491 (handler): Call it iff si_addr is correct.
2492 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2493 Set a breakpoint at "pass" and continue to it.
2495 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2497 * gdb.python/py-objfile.exp: Make some tests have unique names.
2498 * gdb.python/py-pp-registration.exp: Likewise.
2500 2015-07-28 Pedro Alves <palves@redhat.com>
2502 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2504 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2506 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2508 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2510 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2512 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2514 * gdb.base/gdb-sigterm-2.exp: New test.
2516 2015-07-25 Doug Evans <xdje42@gmail.com>
2519 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2520 (workers/%.worker, build-perf): New rule.
2521 (GDB_PERFTEST_MODE): New variable.
2522 (check-perf): Use it.
2523 (clean): Clean up gdb.perf parallel build subdirs.
2524 * lib/build-piece.exp: New file.
2525 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2526 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2528 (standard_temp_file): Ditto.
2529 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2532 2015-07-24 Doug Evans <dje@google.com>
2534 * gdb.perf/lib/perftest/utils.py: New file.
2535 * gdb.perf/gm-hello.cc: New file.
2536 * gdb.perf/gm-pervasive-typedef.cc: New file.
2537 * gdb.perf/gm-pervasive-typedef.h: New file.
2538 * gdb.perf/gm-std.cc: New file.
2539 * gdb.perf/gm-std.h: New file.
2540 * gdb.perf/gm-use-cerr.cc: New file.
2541 * gdb.perf/gm-utils.h: New file.
2542 * gdb.perf/gmonster-null-lookup.py: New file.
2543 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2544 * gdb.perf/gmonster-print-cerr.py: New file.
2545 * gdb.perf/gmonster-ptype-string.py: New file.
2546 * gdb.perf/gmonster-runto-main.py: New file.
2547 * gdb.perf/gmonster-select-file.py: New file.
2548 * gdb.perf/gmonster1-null-lookup.exp: New file.
2549 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2550 * gdb.perf/gmonster1-print-cerr.exp: New file.
2551 * gdb.perf/gmonster1-ptype-string.exp: New file.
2552 * gdb.perf/gmonster1-runto-main.exp: New file.
2553 * gdb.perf/gmonster1-select-file.exp: New file.
2554 * gdb.perf/gmonster1.cc: New file.
2555 * gdb.perf/gmonster1.exp: New file.
2556 * gdb.perf/gmonster2-null-lookup.exp: New file.
2557 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2558 * gdb.perf/gmonster2-print-cerr.exp: New file.
2559 * gdb.perf/gmonster2-ptype-string.exp: New file.
2560 * gdb.perf/gmonster2-runto-main.exp: New file.
2561 * gdb.perf/gmonster2-select-file.exp: New file.
2562 * gdb.perf/gmonster2.cc: New file.
2563 * gdb.perf/gmonster2.exp: New file.
2565 2015-07-24 Doug Evans <dje@google.com>
2567 * gdb.perf/README: New file.
2568 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2569 * lib/gen-perf-test.exp: New file.
2571 2015-07-24 Doug Evans <dje@google.com>
2573 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2574 (PerfTest::startup): New function.
2575 (PerfTest::run): Return result of calling body.
2576 (PerfTest::assemble): Rewrite.
2577 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2578 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2579 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2580 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2581 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2583 2015-07-24 Doug Evans <dje@google.com>
2585 * lib/gdb.exp (clean_restart): Make executable optional.
2587 2015-07-24 Doug Evans <dje@google.com>
2589 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2590 compiler_info references.
2591 * gdb.cp/temargs.exp: Ditto.
2592 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2593 (get_compiler_info): Early exit if already computed. Set compiler_info
2594 to "unknown" if there was a problem.
2595 (test_compiler_info): Add function comment. Call get_compiler_info.
2597 2015-07-24 Doug Evans <dje@google.com>
2599 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2600 (workers/%.worker, build-perf): New rule.
2601 (GDB_PERFTEST_MODE): New variable.
2602 (check-perf): Use it.
2603 (clean): Clean up gdb.perf parallel build subdirs.
2604 * lib/build-piece.exp: New file.
2605 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2606 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2608 (standard_temp_file): Ditto.
2609 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2612 2015-07-24 Doug Evans <dje@google.com>
2614 * lib/future.exp (gdb_default_target_compile): New option
2616 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2619 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2621 * gdb.base/catch-syscall.exp: Call gdb_exit before
2624 2015-07-24 Pedro Alves <palves@redhat.com>
2626 * gdb.python/py-events.exp: Accept output between the stop event
2628 * gdb.python/py-evsignal.exp: Likewise.
2629 * gdb.python/py-evthreads.exp: Likewise.
2631 2015-07-24 Pedro Alves <palves@redhat.com>
2634 * gdb.threads/non-ldr-exit.c: New file.
2635 * gdb.threads/non-ldr-exit.exp: New file.
2637 2015-07-24 Yao Qi <yao.qi@linaro.org>
2639 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2642 2015-07-24 Yao Qi <yao.qi@linaro.org>
2644 * gdb.server/ext-restart.exp: New file.
2646 2015-07-24 Yao Qi <yao.qi@linaro.org>
2648 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2650 * gdb.server/ext-wrapper.exp: New file.
2652 2015-07-23 Doug Evans <dje@google.com>
2654 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2655 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2657 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2659 * gdb.ada/var_arr_typedef.exp: New testcase.
2660 * gdb.ada/var_arr_typedef/pack.adb: New file.
2661 * gdb.ada/var_arr_typedef/pack.ads: New file.
2662 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2664 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2666 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2668 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2670 * gdb.arch/i386-biarch-core.exp: Replace istarget
2671 by "complete set gnutarget". Remove expectation for the "core-file"
2674 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2676 Revert the previous commit:
2677 Tests for validate symbol file using build-id.
2679 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2681 Tests for validate symbol file using build-id.
2682 * gdb.base/solib-mismatch-lib.c: New file.
2683 * gdb.base/solib-mismatch-libmod.c: New file.
2684 * gdb.base/solib-mismatch.c: New file.
2685 * gdb.base/solib-mismatch.exp: New file.
2687 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2689 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2691 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2692 * gdb.base/siginfo.exp: Likewise.
2693 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2695 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2697 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2699 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2701 * gdb.trace/range-stepping.exp: Check that the target supports
2704 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2708 2015-07-14 Pedro Alves <palves@redhat.com>
2710 * gdb.base/killed-outside.exp: New file.
2711 * gdb.base/killed-outside.c: New file.
2713 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2715 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2717 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2719 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2721 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2722 infcall tests instead of setting up for KFAIL.
2724 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2726 * gdb.btrace/record_goto-step.exp: New.
2728 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2731 * gdb.compile/compile.c (struct struct_type): Add volatile to
2733 * gdb.compile/compile.exp
2734 (compile code struct_object.selffield = &struct_object): Skip further
2735 struct_object tests if this one xfails.
2737 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2740 * gdb.trace/ax.exp: Add test.
2742 2015-07-07 Yao Qi <yao.qi@linaro.org>
2744 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2745 instead of istarget "aarch64*-*-*".
2746 * gdb.arch/aarch64-fp.exp: Likewise.
2747 * gdb.base/float.exp: Likewise.
2748 * gdb.reverse/aarch64.exp: Likewise.
2749 * lib/gdb.exp (is_aarch64_target): New proc.
2751 2015-07-07 Yao Qi <yao.qi@linaro.org>
2753 * lib/gdb.exp (is_aarch32_target): New proc.
2754 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2755 instead of "istarget "arm*-*-*"".
2756 * gdb.arch/arm-disp-step.exp: Likewise.
2757 * gdb.arch/thumb-bx-pc.exp: Likewise.
2758 * gdb.arch/thumb-prologue.exp: Likewise.
2759 * gdb.arch/thumb-singlestep.exp: Likewise.
2760 * gdb.base/disp-step-syscall.exp: Likewise.
2761 * gdb.base/float.exp: Likewise.
2763 2015-07-07 Yao Qi <yao.qi@linaro.org>
2765 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2766 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2768 2015-07-07 Yao Qi <yao.qi@linaro.org>
2770 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2771 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2773 * gdb.multi/multi-arch.exp: Likewise.
2775 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2777 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2780 2015-07-07 Yao Qi <yao.qi@linaro.org>
2782 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2784 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2786 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2787 '[' and ']' characters.
2789 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2791 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2793 2015-06-29 Pedro Alves <palves@redhat.com>
2796 * gdb.threads/hand-call-new-thread.c: New file.
2797 * gdb.threads/hand-call-new-thread.c: New file.
2799 2015-06-26 Keith Seitz <keiths@redhat.com>
2800 Doug Evans <dje@google.com>
2803 * gdb.cp/var-tag-2.cc: New file.
2804 * gdb.cp/var-tag-3.cc: New file.
2805 * gdb.cp/var-tag-4.cc: New file.
2806 * gdb.cp/var-tag.cc: New file.
2807 * gdb.cp/var-tag.exp: New file.
2809 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2811 * gdb.base/history-duplicates.exp: New test.
2813 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2815 * gdb.base/completion.exp: Test the completion of the "focus"
2818 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2820 * gdb.arch/amd64-prologue-skip.S: New file.
2821 * gdb.arch/amd64-prologue-skip.exp: New file.
2823 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2825 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2826 is_address_zero_readable check.
2828 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2830 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2831 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2833 2015-06-24 Yao Qi <yao.qi@linaro.org>
2835 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2838 2015-06-24 Yao Qi <yao.qi@linaro.org>
2840 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2841 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2842 * gdb.base/siginfo-thread.exp: Likewise.
2844 2015-06-22 Yao Qi <yao.qi@linaro.org>
2846 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2848 2015-06-22 Yao Qi <yao.qi@linaro.org>
2850 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2852 (skip_hw_watchpoint_tests): Likewise.
2854 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2856 * gdb.base/gdbinit-history.exp: Test the interaction between
2857 setting GDBHISTSIZE and setting the history size via .gdbinit.
2859 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2862 * gdb.base/gdbhistsize-history.exp: New test.
2864 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2866 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2868 * gdb.base/readline.exp: Likewise.
2870 2015-06-17 Yao Qi <yao.qi@linaro.org>
2872 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2875 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2877 * gdb.base/gdbinit-history.exp: Add test case to check that
2878 an unlimited history file does not get truncated on exit.
2880 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2882 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2883 (VECTOR): New macro. Use it...
2884 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2885 ...for these typedefs.
2886 (int8, char1, int1, double1): New typedefs.
2887 (struct just_int2, struct two_int2): New structures.
2888 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2889 (add_structvecs, add_singlevecs): New functions.
2890 (main): Call add_some_intvecs twice.
2891 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2892 the compile and exit upon failure. Try compiling for the "native"
2893 architecture. Test inferior function calls with vector arguments
2894 and vector return value handling with "finish" and "return".
2896 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2898 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2899 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2901 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2903 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2905 PR breakpoints/16465
2906 * gdb.mi/mi-dprintf-pending.c: New file.
2907 * gdb.mi/mi-dprintf-pending.exp: New test.
2908 * gdb.mi/mi-dprintf-pendshr.c: New file.
2910 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2911 Mircea Gherzan <mircea.gherzan@intel.com>
2913 * gdb.arch/i386-mpx-map.c: New file.
2914 * gdb.arch/i386-mpx-map.exp: New File.
2916 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2918 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2919 * gdb.arch/i386-mpx.exp: Indentation fixed.
2921 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2923 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2924 function and improved indentation.
2925 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2926 gdb_test_multiple. Added additional tests to skip the test.
2928 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2930 * gdb.arch/i386-avx512.c: Change path in include file.
2931 * gdb.arch/i386-avx512.exp: Change include dir path
2933 * gdb.arch/i386-mpx.c: Change path in include file.
2934 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2937 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2939 * gdb.compile/compile-print.exp (compile print *vararray@3)
2940 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2942 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2944 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2945 (do not keep jit in memory): ... this.
2946 (expect 5): Change it to ...
2947 (expect no 5): ... this.
2949 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2952 * gdb.mi/mi-detach.exp: New file.
2954 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2957 * gdb.arch/amd64-tailcall-self.S: New file.
2958 * gdb.arch/amd64-tailcall-self.c: New file.
2959 * gdb.arch/amd64-tailcall-self.exp: New file.
2961 2015-05-28 Don Breazeal <donb@codesourcery.com>
2963 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2964 tests for remote targets by checking is_target_gdbserver.
2966 2015-05-27 Doug Evans <dje@google.com>
2968 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2969 * gdb.dwarf2/opaque-type-lookup.c: New file.
2970 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2972 2015-05-26 Doug Evans <dje@google.com>
2974 * gdb.cp/iostream.cc: New file.
2975 * gdb.cp/iostream.exp: New file.
2977 2015-05-26 Doug Evans <dje@google.com>
2979 * gdb.dwarf2/dw2-op-call.exp: Update.
2980 * gdb.dwarf2/dw4-sig-types.exp: Update.
2981 * gdb.dwarf2/implptr.exp: Update.
2982 * gdb.mi/mi-cmd-param-changed.exp: Update.
2984 2015-05-26 Doug Evans <dje@google.com>
2986 * gdb.python/py-lazy-string.c: New file.
2987 * gdb.python/py-lazy-string.exp: New file.
2988 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2989 (main): Update. Add estring3.
2990 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2991 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2993 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2994 Yao Qi <yao.qi@linaro.org>
2996 * gdb.reverse/aarch64.c: New.
2997 * gdb.reverse/aarch64.exp: New.
2999 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3001 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3002 (supports_reverse): Likewise.
3004 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3006 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3007 Use with_test_prefix.
3009 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3011 * gdb.base/completion.exp: Add test for completion of layout
3014 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3016 * lib/gdb.exp (skip_tui_tests): New proc.
3017 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3019 2015-05-19 Pedro Alves <palves@redhat.com>
3021 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3022 Save the whole env array instead of just HOME. Unset HISTSIZE in
3023 the environment while testing. Restore whole environment
3026 2015-05-16 Doug Evans <xdje42@gmail.com>
3028 * gdb.guile/scm-ports.c: New file.
3029 * gdb.guile/scm-ports.exp: Add memory port tests.
3031 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3033 * gdb.compile/compile-print.c: New file.
3034 * gdb.compile/compile-print.exp: New file.
3036 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3038 * gdb.compile/compile-ops.exp: Cast param to void.
3039 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3040 (compile code struct_object.selffield = &struct_object): Add xfail.
3042 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3044 * gdb.ada/arr_enum_with_gap: New testcase.
3046 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3048 * gdb.ada/byte_packed_arr: New testcase.
3050 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3052 * gdb.ada/pckd_neg: New testcase.
3054 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3057 * gdb.base/gdbinit-history.exp: New test.
3058 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3059 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3061 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3063 * gdb.python/py-xmethods.cc: Enhance test case.
3064 * gdb.python/py-xmethods.exp: New tests.
3065 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3067 (B_indexoper): Likewise.
3068 (global_dm_list) : Add new xmethod worker functions.
3070 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3072 * gdb.base/coredump-filter.exp: Correctly unset
3073 "coredump_var_addr" array.
3075 2015-05-08 Pedro Alves <palves@redhat.com>
3077 * gdb.server/non-existing-program.exp: Unset spawn_id.
3079 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3082 * gdb.python/py-xmethods.exp: Add tests.
3084 2015-05-08 Yao Qi <yao.qi@linaro.org>
3087 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3088 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3089 function set_coredump_filter, and remove remote_exec call.
3090 Remove argument ipid. Callers update.
3091 (top level): Don't get inferior's PID.
3093 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3095 * gdb.base/watch_thread_num.exp: Skip test on targets without
3098 2015-05-06 Pedro Alves <palves@redhat.com>
3101 * gdb.server/non-existing-program.exp: New file.
3103 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3105 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3107 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3109 * gdb.ada/out_of_line_in_inlined: New testcase.
3111 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3113 * gdb.ada/var_rec_arr: New testcase.
3115 2015-04-30 Yao Qi <yao.qi@linaro.org>
3117 * gdb.base/break-idempotent.exp: If
3118 skip_hw_watchpoint_multi_tests returns true, skip the tests
3119 on "rwatch" and "awatch".
3121 2015-04-30 Yao Qi <yao.qi@linaro.org>
3123 * gdb.base/relativedebug.exp: Invoke gdb command
3124 "info sharedlibrary", and if libc.so doesn't have debug info,
3127 2015-04-29 Doug Evans <dje@google.com>
3129 * gdb.python/py-xmethods.exp: Add ptype tests.
3130 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3131 get_result_type method.
3133 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3135 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3136 the target does not support hardware watchpoints.
3138 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3140 * gdb.base/break-always.exp: Abort testing if writing to memory
3143 2015-04-28 Doug Evans <dje@google.com>
3145 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3146 * gdb.python/py-pp-registration.exp: ... here. New file.
3147 * gdb.python/py-pp-registration.c: New file.
3148 * gdb.python/py-pp-registration.py: New file.
3150 2015-04-28 Doug Evans <dje@google.com>
3152 * gdb.python/py-bad-printers.c: New file.
3153 * gdb.python/py-bad-printers.py: New file.
3154 * gdb.python/py-bad-printers.exp: New file.
3156 2015-04-28 Sasha Smundak <asmundak@google.com>
3158 * gdb.python/py-type.exp: New test.
3160 2015-04-28 Andy Wingo <wingo@igalia.com>
3162 * gdb.python/py-parameter.exp:
3163 * gdb.guile/scm-parameter.exp: Escape the path that we are
3164 matching against, as it might contain characters that are special
3165 to regular expressions.
3167 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3169 * gdb.ada/rec_comp: New testcase.
3171 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3173 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3176 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3178 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3179 new tests for verilog output.
3181 2015-04-24 Yao Qi <yao.qi@linaro.org>
3183 * boards/remote-gdbserver-on-localhost.exp: New file.
3185 2015-04-23 Pedro Alves <palves@redhat.com>
3187 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3188 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3189 "end of file", remove $inferior_spawn_id from the indirect list.
3191 2015-04-23 Pedro Alves <palves@redhat.com>
3193 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3195 2015-04-23 Pedro Alves <palves@redhat.com>
3197 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3198 on $any_spawn_id instead of only on $gdb_spawn_id.
3200 2015-04-21 Pierre Muller <muller@sourceware.org>
3203 * lib/pascal.exp (gpc_compile): Add new option "class".
3204 (fpc_compile): Likewise.
3205 * gdb.pascal/case-insensitive-symbols.pas: New file.
3206 * gdb.pascal/case-insensitive-symbols.exp: New file.
3208 2015-04-20 Gary Benson <gbenson@redhat.com>
3210 * gdb.base/attach.exp: Fix three extended remote failures.
3212 2015-04-17 Gary Benson <gbenson@redhat.com>
3214 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3215 the main executable over the remote protocol.
3217 2015-04-16 Pedro Alves <palves@redhat.com>
3219 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3220 a new gdbserver if gdbserver_reconnect_p is set.
3222 2015-04-16 Pedro Alves <palves@redhat.com>
3224 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3225 is set, don't exit gdbserver.
3227 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3229 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3230 appropriate .insn, such that an older assembler can be used.
3231 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3232 the z/Architecture instruction set on 31-bit targets as well.
3234 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3236 * gdb.go/handcall.exp: Remove all logic related to the first
3237 breakpoint and rely on go_runto_main instead.
3238 * gdb.go/strings.exp: Likewise.
3239 * gdb.go/unsafe.exp: Likewise.
3240 * gdb.go/hello.exp: Likewise. Also rename the remaining
3241 breakpoint marker to "breakpoint 1".
3242 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3243 * gdb.go/strings.go: Likewise.
3244 * gdb.go/unsafe.go: Likewise.
3245 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3246 "set breakpoint 2 here" and rename the remaining breakpoint marker
3249 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3251 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3252 if itertools.imap is not present.
3253 * gdb.python/py-objfile.exp: Add parentheses.
3254 * gdb.python/py-type.exp: Same.
3255 * gdb.python/py-unwind-maint.py: Same.
3257 2015-04-15 Yao Qi <yao.qi@linaro.org>
3259 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3260 of ":$ptr_size" and set its form explicitly.
3262 2015-04-15 Pedro Alves <palves@redhat.com>
3263 Yao Qi <yao.qi@linaro.org>
3265 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3266 timeout by factor of 4.
3267 (test_regular_watch): Likewise.
3268 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3269 * gdb.reverse/sigall-reverse.exp: Likewise.
3270 * gdb.reverse/until-precsave.exp: Likewise.
3271 * lib/gdb.exp (with_timeout_factor): New proc.
3272 (gdb_expect): Move some code to ...
3273 (get_largest_timeout): ... here. New procedure.
3275 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3277 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3279 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3281 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3282 to write to the .text section.
3284 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3286 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3287 Handle the case of targets that do not provide PID information.
3289 2015-04-13 Yao Qi <yao.qi@linaro.org>
3291 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3292 and use expect instead of gdb_expect.
3294 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3296 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3297 "coredump_var_addr" to avoid naming conflict with other testcases.
3299 2015-04-10 Pedro Alves <palves@redhat.com>
3301 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3302 gdb_test_sequence and gdb_assert.
3304 2015-04-10 Pedro Alves <palves@redhat.com>
3306 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3307 test messages that don't include the breakpoint address.
3309 2015-04-10 Yao Qi <yao.qi@linaro.org>
3311 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3312 false for some offset and width combinations which aren't
3313 supported by linux kernel.
3315 2015-04-10 Pedro Alves <palves@redhat.com>
3317 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3318 procedure, factored out from ...
3319 (top level): ... here. Add "set displaced-stepping" testing axis.
3320 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3321 parameter "displaced". Use it.
3322 (top level): Use foreach and add "set displaced-stepping" testing
3325 2015-04-10 Pedro Alves <palves@redhat.com>
3327 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3329 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3330 both the address of the instruction that triggers the watchpoint
3331 and the address of the instruction immediately after, and use
3332 those addresses for the test. Fix comment.
3334 2015-04-10 Pedro Alves <palves@redhat.com>
3336 * gdb.base/sigstep.exp (breakpoint_to_handler)
3337 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3338 Test "backtrace" in handler.
3339 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3340 (top level): Add new "displaced" test axis to
3341 breakpoint_to_handler, breakpoint_to_handler_entry and
3342 breakpoint_over_handler.
3344 2015-04-10 Pedro Alves <palves@redhat.com>
3347 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3349 2015-04-10 Yao Qi <yao.qi@linaro.org>
3351 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3352 (test_add_rn_pc): New function.
3353 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3354 (top level): Invoke test_add_rn_pc.
3356 2015-04-10 Pedro Alves <palves@redhat.com>
3359 * gdb.base/step-over-no-symbols.exp: New file.
3361 2015-04-09 Andy Wingo <wingo@igalia.com>
3363 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3364 after the Python tests.
3366 2015-04-08 Keith Seitz <keiths@redhat.com>
3369 * gdb.python/py-completion.exp: New tests for completion.
3370 * gdb.python/py-completion.py (CompleteLimit1): New class.
3371 (CompleteLimit2): Likewise.
3372 (CompleteLimit3): Likewise.
3373 (CompleteLimit4): Likewise.
3374 (CompleteLimit5): Likewise.
3375 (CompleteLimit6): Likewise.
3376 (CompleteLimit7): Likewise.
3378 2015-04-08 Pedro Alves <palves@redhat.com>
3382 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3384 (main): Install it as SIGUSR1 handler.
3385 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3386 parameter. Always use "setup" as prefix. Toggle "set
3387 displaced-stepping" off/on depending on global. Don't switch to
3389 (top level): Add displaced stepping "off/on" test axis. Update
3390 "setup" calls. Wrap each subtest with with_test_prefix. Test
3391 continuing with a queued signal in each thread.
3393 2015-04-08 Pedro Alves <palves@redhat.com>
3395 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3396 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3397 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3398 Return early if running to main fails.
3399 * gdb.trace/while-stepping.exp: Likewise.
3401 2015-04-07 Pedro Alves <palves@redhat.com>
3403 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3404 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3405 interact with inferior program.
3407 2015-04-07 Pedro Alves <palves@redhat.com>
3409 * lib/gdb.exp (inferior_spawn_id): New global.
3410 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3411 spawn id after processing the user code.
3412 (default_gdb_start): Set inferior_spawn_id.
3413 (send_inferior): New procedure.
3414 * lib/gdbserver-support.exp (gdbserver_start): Set
3416 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3418 2015-04-07 Pedro Alves <palves@redhat.com>
3420 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3421 * lib/gdbserver-support.exp (gdbserver_start): Make
3422 $server_spawn_id global.
3423 (gdbserver_start): Don't wait for gdbserver's spawn id with
3425 (close_gdbserver): New procedure.
3426 (gdb_exit): Rename the default version and reimplement.
3428 2015-04-07 Pedro Alves <palves@redhat.com>
3430 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3431 append the substituted item, not the original item.
3433 2015-04-07 Pedro Alves <palves@redhat.com>
3435 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3438 2015-04-07 Pedro Alves <palves@redhat.com>
3440 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3441 output appearing once only.
3443 2015-04-07 Pedro Alves <palves@redhat.com>
3445 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3446 that doesn't expect anything. Return early if running to main
3449 2015-04-07 Yao Qi <yao.qi@linaro.org>
3451 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3452 (child_function): Call alarm.
3453 (main): Move call to alarm into the loop.
3454 * gdb.threads/non-stop-fair-events.exp: Build program with
3457 2015-04-06 Doug Evans <xdje42@gmail.com>
3459 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3460 Fix dest parameter to board_info.
3461 (fpc_compile): Ditto.
3462 (gdb_compile_pascal): Rename dest arg to destfile.
3464 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3466 * gdb.ada/funcall_ref.exp: New file.
3467 * gdb.ada/funcall_ref/foo.adb: New file.
3469 2015-04-02 Yao Qi <yao.qi@linaro.org>
3471 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3474 2015-04-02 Gary Benson <gbenson@redhat.com>
3476 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3478 2015-04-01 Sasha Smundak <asmundak@google.com>
3480 * gdb.python/py-unwind-maint.c: New file.
3481 * gdb.python/py-unwind-maint.exp: New test.
3482 * gdb.python/py-unwind-maint.py: New file.
3483 * gdb.python/py-unwind.c: New file.
3484 * gdb.python/py-unwind.exp: New test.
3485 * gdb.python/py-unwind.py: New test.
3487 2015-04-01 Pedro Alves <palves@redhat.com>
3489 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3490 to fail instead of non-existent $test.
3492 2015-04-01 Pedro Alves <palves@redhat.com>
3494 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3495 GDBFLAGS if not empty.
3497 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3499 * gdb.ada/complete.exp: Remove "multi_line".
3500 * gdb.ada/info_exc.exp: Remove "multi_line".
3501 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3502 * gdb.ada/ptype_field.exp: Remove "multi_line".
3503 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3504 * gdb.ada/tagged.exp: Remove "multi_line".
3505 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3507 * gdb.btrace/delta.exp: Likewise.
3508 * gdb.btrace/exception.exp: Likewise.
3509 * gdb.btrace/function_call_history.exp: Likewise.
3510 * gdb.btrace/instruction_history.exp: Likewise.
3511 * gdb.btrace/nohist.exp: Likewise.
3512 * gdb.btrace/record_goto.exp: Likewise.
3513 * gdb.btrace/segv.exp: Likewise.
3514 * gdb.btrace/stepi.exp: Likewise.
3515 * gdb.btrace/tailcall.exp: Likewise.
3516 * gdb.btrace/unknown_functions.exp: Likewise.
3517 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3518 * lib/gdb.exp: Add the "multi_line" helper.
3520 2015-04-01 Pedro Alves <palves@redhat.com>
3522 * gdb.threads/tid-reuse.c: New file.
3523 * gdb.threads/tid-reuse.exp: New file.
3525 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3528 * gdb.base/coredump-filter.c: New file.
3529 * gdb.base/coredump-filter.exp: Likewise.
3531 2015-03-27 Petr Machata <pmachata@redhat.com>
3533 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3534 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3535 (Dwarf::assemble): Initialize them.
3536 (Dwarf::lines): New function.
3538 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3540 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3541 SYMBOL_PREFIX for x86_64-*-cygwin.
3543 2015-03-26 Andy Wingo <wingo@igalia.com>
3546 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3547 const_value but not a location.
3548 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3549 location defined in non-main CUs are visible.
3551 2015-03-26 Yao Qi <yao.qi@linaro.org>
3554 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3555 Add a line number entry for the same line.
3556 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3557 Add a line number entry for the same line.
3559 2015-03-26 Yao Qi <yao.qi@linaro.org>
3561 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3563 (func): Likewise. Add .Lfunc_1 label.
3565 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3570 2015-03-26 Yao Qi <yao.qi@linaro.org>
3572 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3573 Call gdb_compile instead to compile each .s files without debug
3576 2015-03-26 Yao Qi <yao.qi@linaro.org>
3578 * gdb.base/savedregs.exp (process_saved_regs): Make
3579 "Saved registers:" optional in the pattern.
3581 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3583 * gdb.btrace/next.exp: Merged into step.exp.
3584 * gdb.btrace/finish.exp: Merged into step.exp.
3585 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3586 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3587 "record goto" and checking the exact replay position.
3588 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3589 check for "Recording format" in "info record" output.
3590 * gdb.btrace/record_goto.exp: Choose test file based on target.
3591 * gdb.btrace/x86-record_goto.S: Renamed into ...
3592 * gdb.btrace/x86_64-record_goto.S: ... this.
3593 * gdb.btrace/i686-record_goto.S: New.
3594 * gdb.btrace/x86-tailcall.S: Renamed into ...
3595 * gdb.btrace/x86_64-tailcall.S: ... this.
3596 * gdb.btrace/i686-tailcall.S: New.
3597 * gdb.btrace/x86-tailcall.c: Renamed into ...
3598 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3599 separate statements. Update test.
3600 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3601 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3602 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3603 * gdb.btrace/tailcall.exp: Choose test file based on target.
3604 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3606 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3608 * gdb.btrace/exception.exp: Increase BTS buffer size.
3610 2015-03-24 Pedro Alves <palves@redhat.com>
3612 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3614 2015-03-24 Pedro Alves <palves@redhat.com>
3616 * gdb.threads/schedlock.exp (test_step): No longer expect that
3617 "set scheduler-locking step" with "next" over a function call runs
3620 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3622 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3624 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3626 PR breakpoints/16466
3627 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3628 * gdb.mi/mi-pending.c (thread_func): New function.
3629 (int main): Add threading support required.
3630 * gdb.mi/mi-pending.exp: Add tests for this issue.
3631 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3632 (pendfunc2): Remove stdio dependency.
3633 * gdb.mi/mi-pendshr2.c: New file.
3635 2015-03-23 Keith Seitz <keiths@redhat.com>
3637 * gdb.linespec/keywords.c: New file.
3638 * gdb.linespec/keywords.exp: New file.
3640 2015-03-23 Keith Seitz <keiths@redhat.com>
3643 * gdb.dwarf2/staticvirtual.exp: New test.
3645 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3647 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3648 * README: Remove HP-UX and gdb.hp.
3650 * configure: Regenerate.
3651 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3652 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3653 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3654 gdb.hp/gdb.defects/Makefile.
3655 * gdb.hp/Makefile.in: File deleted.
3656 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3657 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3658 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3659 * gdb.hp/gdb.aCC/run.c: File deleted.
3660 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3661 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3662 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3663 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3664 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3665 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3666 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3667 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3668 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3669 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3670 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3671 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3672 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3673 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3674 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3675 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3676 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3677 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3678 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3679 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3680 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3681 * gdb.hp/gdb.compat/average.c: File deleted.
3682 * gdb.hp/gdb.compat/sum.c: File deleted.
3683 * gdb.hp/gdb.compat/xdb.c: File deleted.
3684 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3685 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3686 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3687 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3688 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3689 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3690 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3691 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3692 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3693 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3694 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3695 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3696 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3697 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3698 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3699 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3700 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3701 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3702 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3703 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3704 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3705 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3706 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3707 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3708 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3709 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3710 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3711 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3712 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3713 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3714 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3715 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3716 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3717 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3718 * gdb.hp/tools/odump: File deleted.
3720 2015-03-19 Pedro Alves <palves@redhat.com>
3722 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3723 (saw_thread_3): New globals.
3724 (top level): Increment them when an event for the corresponding
3726 (no thread starvation): New test.
3728 2015-03-19 Pedro Alves <palves@redhat.com>
3730 * gdb.threads/continue-pending-status.c: New file.
3731 * gdb.threads/continue-pending-status.exp: New file.
3733 2015-03-18 Pedro Alves <palves@redhat.com>
3735 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3736 Use gdb_is_target_remote instead of is_remote. Use
3737 gdb_test_multiple instead of gdb_expect. Exit early if
3738 gdb_test_multiple hits its internal matches. Tighten stepi tests
3739 expected output. Fail on exit with any signal, instead of just
3742 2015-03-18 Yao Qi <yao.qi@linaro.org>
3745 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3747 * gdb.base/catch-syscall.exp: Don't skip it on
3748 aarch64*-*-linux* target. Remove elements in all_syscalls.
3749 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3751 (setup_all_syscalls): New proc.
3753 2015-03-16 Yao Qi <yao.qi@linaro.org>
3755 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3756 (top level): Skip tests if valid_addr_p returns false for
3759 2015-03-11 Andy Wingo <wingo@igalia.com>
3761 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3763 2015-03-11 Yao Qi <yao.qi@linaro.org>
3765 * gdb.base/catch-syscall.exp: Fix typo in comments.
3767 2015-03-11 Yao Qi <yao.qi@linaro.org>
3769 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3771 2015-03-09 Pedro Alves <palves@redhat.com>
3773 * dg-extract-results.py: Delete.
3775 2015-03-09 Pedro Alves <palves@redhat.com>
3777 Merge dg-extract-results.sh from GCC upstream (r218843).
3779 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3780 * dg-extract-results.sh: Use --text with grep to avoid issues with
3781 binary files. Fall back to cat -v, if that doesn't work.
3783 2015-03-05 Pedro Alves <palves@redhat.com>
3785 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3787 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3789 * lib/mi-support.exp (mi_expect_interrupt): Accept
3790 alternative event for when in all-stop mode.
3792 2015-03-04 Pedro Alves <palves@redhat.com>
3794 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3796 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3798 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3800 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3802 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3803 regexps for GDB's current line display, accept a hex address
3804 preceding the line number.
3806 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3808 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3809 the 'arch1' variable for "s390*-linux*" targets.
3811 2015-03-04 Pedro Alves <palves@redhat.com>
3813 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3814 (main): Pass missing retval argument to pthread_join call.
3816 2015-03-02 Pedro Alves <palves@redhat.com>
3818 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3819 (top level): Call do_test with non-stop as well.
3821 2015-03-02 Pedro Alves <palves@redhat.com>
3823 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3826 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3828 * gdb.arch/s390-vregs.exp: New test.
3829 * gdb.arch/s390-vregs.S: New file.
3831 2015-02-27 Pedro Alves <palves@redhat.com>
3833 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3834 call to catch_command_errors.
3835 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3836 catch_command_errors.
3838 2015-02-27 Pedro Alves <palves@redhat.com>
3840 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3841 "true" for boolean result.
3842 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3845 2015-02-27 Pedro Alves <palves@redhat.com>
3847 * lib/unbuffer_output.c: New file.
3848 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3849 (main): Call gdb_unbuffer_output.
3851 2015-02-27 Yao Qi <yao.qi@linaro.org>
3853 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3856 2015-02-26 Doug Evans <dje@google.com>
3858 * gdb.cp/class2.cc (Dbase, D): New classes.
3859 (main): New local delta.
3860 * gdb.cp/class2.exp: Test printing delta.
3861 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3862 (dynbar): New global.
3863 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3865 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3867 * gdb.compile/compile-ifunc.c: New file.
3868 * gdb.compile/compile-ifunc.exp: New file.
3870 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3872 * gdb.base/structs.exp: Check for correct struct on finish.
3874 2015-02-26 Yao Qi <yao.qi@linaro.org>
3876 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3879 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3881 * gdb.arch/cordic.ko.bz2: New file.
3882 * gdb.arch/cordic.ko.debug.bz2: New file.
3883 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3885 2015-02-25 Yao Qi <yao.qi@linaro.org>
3887 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3888 aarch64*-*-* target.
3890 2015-02-23 Pedro Alves <palves@redhat.com>
3892 * lib/gdb.exp (delete_breakpoints): Rewrite using
3895 2015-02-23 Pedro Alves <palves@redhat.com>
3897 * gdb.base/info-os.c: Include stdlib.h.
3899 2015-02-22 Doug Evans <xdje42@gmail.com>
3902 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3903 is read after symbols have been re-read.
3904 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3905 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3907 2015-02-21 Doug Evans <dje@google.com>
3909 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3911 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3914 * gdb.arch/i386-biarch-core.core.bz2: New file.
3915 * gdb.arch/i386-biarch-core.exp: New file.
3917 2015-02-21 Pedro Alves <palves@redhat.com>
3919 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3922 2015-02-20 Pedro Alves <palves@redhat.com>
3924 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3927 2015-02-20 Pedro Alves <palves@redhat.com>
3929 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3931 2015-02-20 Pedro Alves <palves@redhat.com>
3933 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3934 clean_restart before gdb_target_supports_trace.
3936 2015-02-20 Pedro Alves <palves@redhat.com>
3939 * gdb.threads/clone-thread_db.c: New file.
3940 * gdb.threads/clone-thread_db.exp: New file.
3942 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3944 PR breakpoints/16812
3945 * gdb.base/catch-gdb-caused-signals.c: New file.
3946 * gdb.base/catch-gdb-caused-signals.exp: New file.
3948 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3950 * configure: Regenerated.
3951 * configure.ac: Use GDB_AC_TRANSFORM.
3952 * aclocal.m4: sinclude ../transform.m4.
3954 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3956 * lib/dtrace.exp: New file.
3957 * gdb.base/dtrace-probe.exp: Likewise.
3958 * gdb.base/dtrace-probe.d: Likewise.
3959 * gdb.base/dtrace-probe.c: Likewise.
3960 * lib/pdtrace.in: Likewise.
3961 * configure.ac: Output variables with the transformed names of
3962 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3963 * configure: Regenerated.
3965 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3967 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3968 expected message when trying to access $_probe_* convenience
3969 variables while not on a probe.
3971 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3973 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3975 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3977 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3978 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3980 2015-02-10 Doug Evans <xdje42@gmail.com>
3982 * lib/gdb.exp (gdb_load): Always return a result.
3984 2015-02-10 Pedro Alves <palves@redhat.com>
3986 * gdb.threads/signal-sigtrap.c: New file.
3987 * gdb.threads/signal-sigtrap.exp: New file.
3989 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3991 * gdb.trace/no-attach-trace.c: New file.
3992 * gdb.trace/no-attach-trace.exp: New file.
3994 2015-02-09 Mark Wielaard <mjw@redhat.com>
3996 * gdb.dwarf2/atomic.c: New file.
3997 * gdb.dwarf2/atomic-type.exp: Likewise.
3999 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4001 * gdb.btrace/buffer-size.exp: Update "info record" output.
4002 * gdb.btrace/delta.exp: Update "info record" output.
4003 * gdb.btrace/enable.exp: Update "info record" output.
4004 * gdb.btrace/finish.exp: Update "info record" output.
4005 * gdb.btrace/instruction_history.exp: Update "info record" output.
4006 * gdb.btrace/next.exp: Update "info record" output.
4007 * gdb.btrace/nexti.exp: Update "info record" output.
4008 * gdb.btrace/step.exp: Update "info record" output.
4009 * gdb.btrace/stepi.exp: Update "info record" output.
4010 * gdb.btrace/nohist.exp: Update "info record" output.
4012 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4014 * gdb.btrace/buffer-size: New.
4016 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4018 * gdb.btrace/delta.exp: Update "info record" output.
4019 * gdb.btrace/enable.exp: Update "info record" output.
4020 * gdb.btrace/finish.exp: Update "info record" output.
4021 * gdb.btrace/instruction_history.exp: Update "info record" output.
4022 * gdb.btrace/next.exp: Update "info record" output.
4023 * gdb.btrace/nexti.exp: Update "info record" output.
4024 * gdb.btrace/step.exp: Update "info record" output.
4025 * gdb.btrace/stepi.exp: Update "info record" output.
4026 * gdb.btrace/nohist.exp: Update "info record" output.
4028 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4031 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4033 2015-02-06 Pedro Alves <palves@redhat.com>
4035 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4037 (seconds_left, again): New globals.
4038 (main): Wait seconds_left in a 1-second sleep loop instead of
4039 sleeping 180 seconds. If 'again' is set, reset the seconds
4041 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4042 'again' in the inferior before detaching. Print the seconds left.
4043 (options): New global.
4044 (top level): Build program with -DTIMEOUT=$timeout.
4046 2015-02-06 Pedro Alves <palves@redhat.com>
4048 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4049 determine how many seconds to pass to 'alarm'.
4050 * gdb.base/gdb-sigterm.exp (top level): Build program with
4052 (do_test): Return success/failure indication. Add more verbose
4053 logging. Don't fail if 200 single steps are seen. Instead, fail
4054 when the test times out.
4055 (passes): New global.
4056 (top level): Break the testing loop if testing fails on any
4057 iteration. Use gdb_assert.
4059 2015-02-04 Don Breazeal <donb@codesourcery.com>
4061 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4062 and initialize them.
4063 (ipc_cleanup): New function.
4064 (main): Don't declare shmid, semid, and msqid. Add a call to
4065 atexit so that we call ipc_cleanup on exit.
4067 2015-02-04 Pedro Alves <palves@redhat.com>
4069 * boards/native-extended-gdbserver.exp: Remove any target variant
4070 specifications from the board name before clearing the isremote
4071 flag from board_info.
4073 2015-01-31 Doug Evans <xdje42@gmail.com>
4075 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4077 2015-01-31 Gary Benson <gbenson@redhat.com>
4079 * gdb.base/completion.exp: Disable completion limiting for
4080 existing tests. Add new tests to check completion limiting.
4081 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4083 2015-01-31 Doug Evans <xdje42@gmail.com>
4085 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4087 2015-01-31 Doug Evans <xdje42@gmail.com>
4089 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4090 entries. Duplicate file section script entries.
4091 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4092 inlined entries. Add test for safe-path rejection.
4093 * gdb.python/py-section-script.c: Add duplicate inlined section script
4094 entries. Duplicate file section script entries.
4095 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4096 inlined entries. Add test for safe-path rejection.
4098 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4100 * gdb.ada/disc_arr_bound: New testcase.
4102 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4104 * gdb.ada/mi_var_array: New testcase.
4106 2015-01-27 Doug Evans <dje@google.com>
4108 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4109 Add test for objfile.filename, objfile.username after objfile
4112 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4114 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4115 the second test to print the name attribute of value
4116 returned by the call to gdb.lookup_type, and adjust
4117 the expected output accordingly.
4119 2015-01-25 Mark Wielaard <mjw@redhat.com>
4121 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4122 * gdb.base/disp-step-fork.c: Include unistd.h.
4123 * gdb.base/siginfo-obj.c: Include stdio.h.
4124 * gdb.base/siginfo-thread.c: Likewise.
4125 * gdb.mi/non-stop.c: Include unistd.h.
4126 * gdb.mi/nsthrexec.c: Include stdio.h.
4127 * gdb.mi/pthreads.c: Include unistd.h.
4128 * gdb.modula2/unbounded1.c (main): Declare returns int.
4129 * gdb.reverse/consecutive-reverse.c: Likewise.
4130 * gdb.threads/create-fail.c: Include unistd.h.
4131 * gdb.threads/killed.c: Likewise.
4132 * gdb.threads/linux-dp.c: Likewise.
4133 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4134 * gdb.threads/non-ldr-exc-2.c: Likewise.
4135 * gdb.threads/non-ldr-exc-3.c: Likewise.
4136 * gdb.threads/non-ldr-exc-4.c: Likewise.
4137 * gdb.threads/pthreads.c: Include unistd.h.
4138 (main): Declare returns int.
4139 * gdb.threads/tls-main.c (foo): New declaration.
4140 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4142 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4144 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4145 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4147 2015-01-15 Mark Wielaard <mjw@redhat.com>
4149 * gdb.base/noreturn-return.c: New file.
4150 * gdb.base/noreturn-return.exp: New file.
4151 * gdb.base/noreturn-finish.c: New file.
4152 * gdb.base/noreturn-finish.exp: New file.
4154 2015-01-23 Pedro Alves <palves@redhat.com>
4156 * gdb.threads/continue-pending-after-query.c: New file.
4157 * gdb.threads/continue-pending-after-query.exp: New file.
4159 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4160 Simon Marchi <simon.marchi@ericsson.com>
4162 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4163 * gdb.base/valgrind-db-attach.exp: Same.
4164 * gdb.base/valgrind-infcall.exp: Same.
4165 * lib/mi-support.exp (default_mi_gdb_start): Same.
4166 * lib/prompt.exp (default_prompt_gdb_start): Same.
4167 * lib/gdb.exp (default_gdb_spawn): Same.
4168 (gdb_interact): New.
4171 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4173 * gdb.compile/compile.exp (pointer to jit function): New test.
4175 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4177 * lib/gdb.exp (supports_process_record): Return true for
4179 (supports_reverse): Likewise.
4181 2015-01-15 Don Breazeal <donb@codesourcery.com>
4183 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4184 instead of checking whether the target board is remote and
4185 use spawn_wait_for_attach instead of exec/sleep.
4186 * gdb.base/attach-twice.exp: Likewise.
4188 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4190 * gdb.ada/var_arr_attrs: New testcase.
4192 2015-01-14 Pedro Alves <palves@redhat.com>
4193 Joel Brobecker <brobecker@adacore.com>
4196 * gdb.base/bp-cmds-execution-x-script.c: New file.
4197 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4198 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4200 2015-01-14 Pedro Alves <palves@redhat.com>
4203 * gdb.base/batch-preserve-term-settings.c: New file.
4204 * gdb.base/batch-preserve-term-settings.exp: New file.
4206 2015-01-13 Doug Evans <dje@google.com>
4208 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4211 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4213 * Makefile.in (clean mostlyclean): Do not delete *.py.
4215 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4217 * gdb.python/py-lookup-type.exp: New file.
4219 2015-01-12 Pedro Alves <palves@redhat.com>
4221 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4222 restore GDBFLAGS before returning.
4224 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4226 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4227 is_amd64_regs_target and is_x86_like_target.
4229 2015-01-11 Doug Evans <xdje42@gmail.com>
4231 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4232 is given without an explicit form.
4233 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4235 * gdb.dwarf/corrupt.exp: Ditto.
4236 * gdb.dwarf2/enum-type.exp: Ditto.
4237 * gdb.trace/entry-values.exp: Ditto.
4238 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4240 2015-01-11 Doug Evans <xdje42@gmail.com>
4243 * gdb.base/maint.exp: Remove references to "maint demangle".
4244 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4245 Add tests for explicitly specifying language to demangle.
4246 * gdb.dlang/demangle.exp: Ditto.
4248 2015-01-09 Pedro Alves <palves@redhat.com>
4250 * gdb.threads/non-stop-fair-events.c: New file.
4251 * gdb.threads/non-stop-fair-events.exp: New file.
4253 2015-01-09 Pedro Alves <palves@redhat.com>
4255 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4256 the global scope. Set a breakpoint after all threads are started
4257 rather than stepping over two source lines. Expect the prompt.
4258 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4261 (main): Use threads_started_barrier to wait for all threads to
4262 start. Main thread no longer calls thread_function. Exit after
4264 (loop): New function.
4265 (thread_function): Wait on threads_started_barrier barrier. Call
4266 'loop' at each iteration.
4267 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4268 threads have started, instead of hardcoding number of "next"
4269 steps. Use an access watchpoint instead of a write watchpoint.
4271 2015-01-09 Pedro Alves <palves@redhat.com>
4273 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4274 (thread_func): Wait on barrier.
4275 (main): Wait for all threads to start before stopping GDB.
4276 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4278 (thread1_func, thread2_func): Wait on barrier.
4279 (main): Wait for all threads to start before stopping GDB.
4280 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4282 (thread1_func, thread2_func): Wait on barrier.
4283 (main): Wait for all threads to start before stopping GDB.
4285 2015-01-09 Pedro Alves <palves@redhat.com>
4287 * gdb.threads/attach-many-short-lived-threads.c: New file.
4288 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4290 2014-01-09 Pedro Alves <palves@redhat.com>
4292 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4293 instead of to thread 2.
4294 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4295 Add barrier around each pthread_create call instead of around all
4297 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4298 Set a break on thread_function and have the child threads hit it
4301 2015-01-09 Pedro Alves <palves@redhat.com>
4303 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4304 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4306 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4307 checking whether the target board is remote.
4308 * gdb.multi/multi-attach.exp: Likewise.
4309 * gdb.python/py-sync-interp.exp: Likewise.
4310 * gdb.server/ext-attach.exp: Likewise.
4311 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4312 tests that need to attach, instead of checking whether the target
4313 board is remote at the top of the file.
4315 2015-01-08 Yao Qi <yao@codesourcery.com>
4317 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4319 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4321 Fix testcase compilation.
4322 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4324 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4326 * gdb.python/py-type.exp: Add a couple test about empty
4327 array creation, and negative-length array creation.
4329 2015-01-02 Doug Evans <xdje42@gmail.com>
4331 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4333 2015-01-02 Doug Evans <dje@google.com>
4335 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4337 2014-12-29 Yao Qi <yao@codesourcery.com>
4339 * gdb.trace/entry-values.exp: Update comments. Rename variable
4340 bar_call_foo to returned_from_foo.
4342 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4345 * gdb.linespec/break-asm-file.c: New file.
4346 * gdb.linespec/break-asm-file.exp: New file.
4347 * gdb.linespec/break-asm-file0.s: New file.
4348 * gdb.linespec/break-asm-file1.s: New file.
4350 2014-12-18 Nigel Stephens <nigel@mips.com>
4351 Maciej W. Rozycki <macro@codesourcery.com>
4353 * gdb.base/float.exp: Handle the new output from "info float" on
4356 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4358 Fix MinGW compilation.
4359 * gdb.compile/compile-ops.exp: Update untested message if
4360 !skip_compile_feature_tests.
4361 * gdb.compile/compile-setjmp.exp: Likewise.
4362 * gdb.compile/compile-tls.exp: Likewise.
4363 * gdb.compile/compile.exp: Likewise.
4364 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4365 supported on this host".
4367 2014-12-16 Doug Evans <xdje42@gmail.com>
4369 * boards/stabs.exp: New file.
4371 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4373 * gdb.base/completion.exp: Adjust to format changes of "maint
4374 print user-registers".
4376 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4379 * gdb.arch/aarch64-fp.c: New file.
4380 * gdb.arch/aarch64-fp.exp: New file.
4382 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4384 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4385 r210637, r210913, r211666, r215400, r215817).
4387 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4388 * dg-extract-results.py: New file.
4389 * dg-extract-results.sh: Use it if the environment seems
4392 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4394 * dg-extract-results.py (parse_run): Handle warnings that
4395 are printed before a test harness is run.
4397 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4399 * dg-extract-results.py (Named): Remove __cmp__ method.
4400 (output_variation): Use a key to sort variation.harnesses.
4402 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4404 * dg-extract-results.py: For Python 3, force sys.stdout to
4405 handle surrogate escape sequences.
4406 (safe_open): New function.
4407 (output_segment, main): Use it.
4409 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4411 * dg-extract-results.py (Prog.result_re): Include options
4414 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4416 * dg-extract-results.py (output_variation): Always sort if
4419 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4421 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4422 as long as we get pagination notifications.
4424 2014-12-15 Jason Merrill <jason@redhat.com>
4426 * Makefile.in (check-gdb.%): Restore.
4427 * README: Mention it.
4429 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4431 * gdb.ada/str_uninit: New testcase.
4433 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4436 * gdb.base/vla-stub-define.c: New file.
4437 * gdb.base/vla-stub.c: New file.
4438 * gdb.base/vla-stub.exp: New file.
4440 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4441 Jan Kratochvil <jan.kratochvil@redhat.com>
4442 Tom Tromey <tromey@redhat.com>
4444 * configure.ac: Add gdb.compile/.
4445 * configure: Regenerate.
4446 * gdb.compile/Makefile.in: New file.
4447 * gdb.compile/compile-ops.exp: New file.
4448 * gdb.compile/compile-ops.c: New file.
4449 * gdb.compile/compile-tls.c: New file.
4450 * gdb.compile/compile-tls.exp: New file.
4451 * gdb.compile/compile-constvar.S: New file.
4452 * gdb.compile/compile-constvar.c: New file.
4453 * gdb.compile/compile-mod.c: New file.
4454 * gdb.compile/compile-nodebug.c: New file.
4455 * gdb.compile/compile-setjmp-mod.c: New file.
4456 * gdb.compile/compile-setjmp.c: New file.
4457 * gdb.compile/compile-setjmp.exp: New file.
4458 * gdb.compile/compile-shlib.c: New file.
4459 * gdb.compile/compile.c: New file.
4460 * gdb.compile/compile.exp: New file.
4461 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4463 2014-12-12 Tom Tromey <tromey@redhat.com>
4465 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4466 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4468 2014-12-12 Doug Evans <dje@google.com>
4470 * lib/gdb-python.exp (get_python_valueof): New function.
4471 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4473 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4475 * gdb.base/completion.exp: Add test for completion of "info
4478 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4480 * gdb.base/func-ptrs.c: New file.
4481 * gdb.base/func-ptrs.exp: New file.
4483 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4485 PR breakpoints/17012
4486 * gdb.base/dprintf-detach.c: New file.
4487 * gdb.base/dprintf-detach.exp: New file.
4489 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4491 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4492 * lib/gdb.exp (target_is_gdbserver): New procedure.
4494 2014-12-08 Doug Evans <dje@google.com>
4496 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4498 2014-12-05 Yao Qi <yao@codesourcery.com>
4500 * gdb.guile/scm-error.exp: Remove the third argument to
4501 gdb_remote_download.
4502 * gdb.guile/scm-frame-args.exp: Likewise.
4503 * gdb.guile/scm-section-script.exp: Likewise.
4505 2014-12-05 Yao Qi <yao@codesourcery.com>
4507 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4509 2014-12-04 Doug Evans <dje@google.com>
4511 * gdb.python/py-objfile.exp: Add tests for
4512 objfile.add_separate_debug_file.
4514 2014-12-04 Doug Evans <dje@google.com>
4516 * lib/gdb.exp (get_build_id): New function.
4517 (build_id_debug_filename_get): Rewrite to use it.
4518 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4520 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4522 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4523 `method(long)', not just 0x0.
4524 * gdb.cp/nsalias.exp: Align code labels to 4.
4525 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4526 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4527 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4528 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4529 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4530 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4532 2014-12-02 Doug Evans <dje@google.com>
4535 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4536 * gdb.cp/anon-ns2.cc: ... here. New file.
4537 * gdb.cp/anon-ns.exp: Update.
4539 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4541 * gdb.python/py-events.py (inferior_call_handler): New.
4542 (register_changed_handler, memory_changed_handler): New.
4543 (test_events.invoke): Register new handlers.
4544 * gdb.python/py-events.exp: Add tests for inferior call,
4545 memory_changed and register_changed events.
4547 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4549 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4550 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4551 if the linker doesn't understand this.
4553 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4555 * gdb.python/python.exp: Change expected reply to help().
4557 2014-12-01 Yao Qi <yao@codesourcery.com>
4559 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4560 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4561 * configure: Re-generated.
4563 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4565 * gdb.cp/chained-calls.cc: New file.
4566 * gdb.cp/chained-calls.exp: New file.
4567 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4569 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4571 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4572 * gdb.dwarf2/symtab-producer.exp: Same.
4573 * gdb.gdb/python-interrupts.exp: Same.
4574 * gdb.gdb/python-selftest.exp: Same.
4575 * gdb.python/py-linetable.exp: Same.
4576 * gdb.python/py-type.exp: Same.
4577 * gdb.python/py-value-cc.exp: Same.
4578 * gdb.python/py-value.exp: Same.
4580 2014-11-28 Yao Qi <yao@codesourcery.com>
4582 * gdb.base/break-probes.exp: Match library name prefixed with
4585 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4587 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4588 test expected output. Add parentheses for the call to print.
4589 Remove L suffix from integers.
4591 2014-11-26 Doug Evans <dje@google.com>
4593 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4595 2014-11-22 Yao Qi <yao@codesourcery.com>
4597 * gdb.trace/entry-values.c: Remove asms.
4598 (foo): Add foo_label.
4599 (bar): Add bar_label.
4600 * gdb.trace/entry-values.exp: Remove code computing foo's
4601 length and bar's length.
4602 (Dwarf::assemble): Invoke function_range for bar and use
4603 MACRO_AT_func for foo.
4605 2014-11-22 Yao Qi <yao@codesourcery.com>
4607 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4608 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4609 Use .Lgcc43_procstart instead of gcc43.
4611 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4613 * gdb.ada/n_arr_bound: New testcase.
4615 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4617 PR breakpoints/10737
4618 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4619 test_catch_syscall_multi_arch.
4620 (test_catch_syscall_multi_arch): New function.
4622 2014-11-20 Doug Evans <xdje42@gmail.com>
4624 * gdb.base/maint.exp: Update expected output.
4626 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4628 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4629 4-byte instruction on S390.
4631 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4633 * gdb.ada/arr_arr: New testcase.
4635 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4637 * gdb.ada/pkd_arr_elem: New Testcase.
4639 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4641 * gdb.reverse/break-precsave: Expect completion message for
4643 * gdb.reverse/consecutive-precsave.exp: Likewise.
4644 * gdb.reverse/finish-precsave.exp: Likewise.
4645 * gdb.reverse/i386-precsave.exp: Likewise.
4646 * gdb.reverse/machinestate-precsave.exp: Likewise.
4647 * gdb.reverse/sigall-precsave.exp: Likewise.
4648 * gdb.reverse/solib-precsave.exp: Likewise.
4649 * gdb.reverse/step-precsave.exp: Likewise.
4650 * gdb.reverse/until-precsave.exp: Likewise.
4651 * gdb.reverse/watch-precsave.exp: Likewise.
4653 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4655 * gdb.base/bp-permanent.c: Include unistd.h.
4656 * gdb.python/py-framefilter-mi.c (main): Add return type.
4657 * gdb.python/py-framefilter.c (main): Likewise.
4658 * gdb.trace/actions-changed.c (main): Likewise.
4660 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4662 * gdb.mi/until.c: Add eye-catchers.
4663 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4666 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4668 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4669 function header variants in break1.c.
4670 * gdb.base/ena-dis-br.exp: Likewise.
4671 * gdb.base/hbreak2.exp: Likewise.
4672 * gdb.reverse/until-precsave.exp: Drop references to removed
4673 non-prototype function header variants in ur1.c.
4674 * gdb.reverse/until-reverse.exp: Likewise.
4676 2014-11-17 Petr Machata <pmachata@redhat.com>
4678 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4679 ${_cu_offset_size} bytes abbrev offset.
4681 2014-11-15 Doug Evans <xdje42@gmail.com>
4684 * gdb.base/line-symtabs.exp: New file.
4685 * gdb.base/line-symtabs.c: New file.
4686 * gdb.base/line-symtabs.h: New file.
4688 2014-11-14 Yao Qi <yao@codesourcery.com>
4690 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4691 (func): Add label func_label.
4692 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4693 Replace low_pc and high_pc with MACRO_AT_range.
4694 Replace name, low_pc and high_pc with MACRO_AT_func.
4696 2014-11-14 Yao Qi <yao@codesourcery.com>
4698 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4699 Replace name, low_pc and high_pc with MACRO_AT_func.
4701 2014-11-14 Yao Qi <yao@codesourcery.com>
4703 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4704 produce debug information.
4705 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4707 2014-11-14 Yao Qi <yao@codesourcery.com>
4709 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4710 object and get function length.
4711 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4713 (top-level): Replace gdb_compile and clean_restart with
4714 prepare_for_testing.
4715 * gdb.dwarf2/main.c (main): Add label main_label.
4717 2014-11-14 Yao Qi <yao@codesourcery.com>
4719 * lib/dwarf.exp (function_range): New procedure.
4720 (Dwarf::_handle_macro_at_func): New procedure.
4721 (Dwarf::_handle_macro_at_range): New procedure.
4722 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4724 2014-11-14 Yao Qi <yao@codesourcery.com>
4726 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4727 (_handle_attribute): New procedure.
4729 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4731 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4732 * gdb.base/call-sc.c (zed): Likewise.
4733 * gdb.base/checkpoint.c (main): Likewise.
4734 * gdb.base/dump.c (main): Likewise.
4735 * gdb.base/gcore.c (main): Likewise.
4736 * gdb.base/huge.c (main): Likewise.
4737 * gdb.base/multi-forks.c (main): Likewise.
4738 * gdb.base/pr10179-a.c (main): Likewise.
4739 * gdb.base/savedregs.c (main): Likewise.
4740 * gdb.base/sigaltstack.c (main): Likewise.
4741 * gdb.base/siginfo.c (main): Likewise.
4742 * gdb.base/structs.c (zed): Likewise.
4743 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4744 * gdb.mi/mi-syn-frame.c (main): Likewise.
4745 * gdb.mi/until.c (foo, main): Likewise.
4746 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4747 * gdb.base/solib-weak.c (foo): Declare.
4748 * gdb.base/attach-twice.c: Include stdio.h.
4749 * gdb.base/weaklib1.c: Likewise.
4750 * gdb.base/weaklib2.c: Likewise.
4751 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4752 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4754 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4755 * gdb.mi/mi-exit-code.c: Likewise.
4756 * gdb.base/break-interp-lib.c: Include string.h.
4757 * gdb.base/coremaker.c: Likewise.
4758 * gdb.base/testenv.c: Likewise.
4759 * gdb.python/py-finish-breakpoint.c: Likewise.
4760 * gdb.base/inferior-died.c: Include sys/wait.h.
4761 * gdb.base/fileio.c: Include time.h.
4762 * gdb.base/async-shell.c: Include unistd.h.
4763 * gdb.base/dprintf-non-stop.c: Likewise.
4764 * gdb.base/info-os.c: Likewise.
4765 * gdb.mi/mi-console.c: Likewise.
4766 * gdb.mi/watch-nonstop.c: Likewise.
4767 * gdb.python/py-events.c: Likewise.
4768 * gdb.base/async.c (baz): Move up before its invocation.
4769 * gdb.base/code_elim2.c (my_global_func): Likewise.
4770 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4771 * gdb.base/advance.c (func2): Likewise.
4773 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4775 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4777 * gdb.base/annota3.c: Likewise.
4778 * gdb.base/async.c: Likewise.
4779 * gdb.base/average.c: Likewise.
4780 * gdb.base/call-ar-st.c: Likewise.
4781 * gdb.base/call-rt-st.c: Likewise.
4782 * gdb.base/call-sc.c: Likewise.
4783 * gdb.base/call-strs.c: Likewise.
4784 * gdb.base/ending-run.c: Likewise.
4785 * gdb.base/execd-prog.c: Likewise.
4786 * gdb.base/exprs.c: Likewise.
4787 * gdb.base/foll-exec.c: Likewise.
4788 * gdb.base/foll-fork.c: Likewise.
4789 * gdb.base/foll-vfork.c: Likewise.
4790 * gdb.base/funcargs.c: Likewise.
4791 * gdb.base/gcore.c: Likewise.
4792 * gdb.base/jump.c: Likewise.
4793 * gdb.base/langs0.c: Likewise.
4794 * gdb.base/langs1.c: Likewise.
4795 * gdb.base/langs2.c: Likewise.
4796 * gdb.base/mips_pro.c: Likewise.
4797 * gdb.base/nodebug.c: Likewise.
4798 * gdb.base/opaque0.c: Likewise.
4799 * gdb.base/opaque1.c: Likewise.
4800 * gdb.base/recurse.c: Likewise.
4801 * gdb.base/run.c: Likewise.
4802 * gdb.base/scope0.c: Likewise.
4803 * gdb.base/scope1.c: Likewise.
4804 * gdb.base/setshow.c: Likewise.
4805 * gdb.base/setvar.c: Likewise.
4806 * gdb.base/shmain.c: Likewise.
4807 * gdb.base/shr1.c: Likewise.
4808 * gdb.base/shr2.c: Likewise.
4809 * gdb.base/sigall.c: Likewise.
4810 * gdb.base/signals.c: Likewise.
4811 * gdb.base/so-indr-cl.c: Likewise.
4812 * gdb.base/solib2.c: Likewise.
4813 * gdb.base/structs.c: Likewise.
4814 * gdb.base/sum.c: Likewise.
4815 * gdb.base/vforked-prog.c: Likewise.
4816 * gdb.base/watchpoint.c: Likewise.
4817 * gdb.reverse/shr2.c: Likewise.
4818 * gdb.reverse/until-reverse.c: Likewise.
4819 * gdb.reverse/ur1.c: Likewise.
4820 * gdb.reverse/watch-reverse.c: Likewise.
4822 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4824 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4826 * gdb.base/sepdebug.exp: Drop references to removed code.
4828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4830 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4831 variant. Preserve original line numbering.
4832 * gdb.base/list1.c: Likewise.
4834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4836 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4838 * gdb.base/break1.c: Likewise.
4839 * gdb.base/break.exp: Drop references to removed code.
4841 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4843 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4848 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4850 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4852 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4853 logic into perform_all_tests() and invoke it with and without
4854 function header prototypes.
4855 (do_function_calls): Remove conditional XFAIL for PR 5318.
4856 (rerun_and_prepare): Remove duplicate code.
4857 (perform_all_tests): New. Main logic moved here.
4859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4861 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4862 code guarded by #ifdef NO_PROTOTYPES.
4863 (t_double_many_args): Likewise.
4864 (DEF_FUNC_MANY_ARGS_1): Likewise.
4865 (DEF_FUNC_VALUES_1): Likewise.
4866 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4867 guarded by #ifdef PROTOTYPES.
4869 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4871 * gdb.mi/mi-console.c: Add eye-catcher.
4872 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4873 instead of literal line number.
4875 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877 * gdb.base/shr2.c: Add eye-catcher.
4878 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4883 * gdb.base/jump.c: Add eye-catchers.
4884 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4887 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4889 * gdb.base/execd-prog.c: Add eye-catchers.
4890 * gdb.base/foll-exec.c: Likewise.
4891 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4894 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4896 * gdb.base/ending-run.c: Add eye-catchers.
4897 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4898 literal line numbers.
4900 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4902 * gdb.base/call-rt-st.c: Add eye-catchers.
4903 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4904 literal line numbers.
4906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4908 * gdb.base/call-ar-st.c: Add eye-catchers.
4909 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4910 literal line numbers.
4912 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914 * gdb.base/average.c: Add eye-catchers.
4915 * gdb.base/sum.c: Likewise.
4916 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4917 regexps dynamically.
4919 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4921 * gdb.base/solib1.c: Add eye-catchers.
4922 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4923 literal line numbers.
4925 2014-11-12 Pedro Alves <palves@redhat.com>
4927 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4930 2014-11-12 Pedro Alves <palves@redhat.com>
4932 * gdb.arch/i386-bp_permanent.c: New file.
4933 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4934 (srcfile): Set to i386-bp_permanent.c.
4935 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4936 that stepi does not execute the 'leave' instruction, instead of
4937 testing it does execute.
4938 * gdb.base/bp-permanent.c: New file.
4939 * gdb.base/bp-permanent.exp: New file.
4941 2014-11-10 Doug Evans <xdje42@gmail.com>
4944 * gdb.base/symtab-search-order.exp: New file.
4945 * gdb.base/symtab-search-order.c: New file.
4946 * gdb.base/symtab-search-order-1.c: New file.
4947 * gdb.base/symtab-search-order-shlib-1.c: New file.
4949 2014-11-07 Pedro Alves <palves@redhat.com>
4952 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4955 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4958 * gdb.cp/pr17494.cc: New file.
4959 * gdb.cp/pr17494.exp: New file.
4961 2014-11-02 Yao Qi <yao@codesourcery.com>
4963 * gdb.python/python.exp: Get working directory and match the
4964 output of "set extended-prompt \\w " with it.
4966 2014-10-30 Doug Evans <dje@google.com>
4968 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4970 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4973 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4975 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4976 * gdb.base/realname-expand.exp: Likewise.
4977 * gdb.linespec/macro-relative.exp: Likewise.
4979 2014-10-29 Pedro Alves <palves@redhat.com>
4982 * gdb.threads/schedlock.c (some_function): New function.
4983 (call_function): New global.
4984 (MAYBE_CALL_SOME_FUNCTION): New macro.
4985 (thread_function): Call it.
4986 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4987 and use it instead of a global counter. Adjust all callers.
4988 (get_current_thread): Use "find current thread" for test message
4989 here rather than having all callers pass down the same string.
4990 (goto_loop): New procedure, factored out from ...
4991 (my_continue): ... this.
4992 (step_ten_loops): Change parameter from test message to command to
4994 (list_count): Delete global.
4995 (check_result): New procedure, factored out from duplicate top
4997 (continue tests): Wrap in with_test_prefix.
4998 (test_step): New procedure, factored out from duplicate top level
5000 (top level): Test "step" in combination with all scheduler-locking
5001 modes. Test "next" in combination with all scheduler-locking
5002 modes, and in combination with stepping over a function call or
5004 * gdb.threads/next-bp-other-thread.c: New file.
5005 * gdb.threads/next-bp-other-thread.exp: New file.
5007 2014-10-29 Pedro Alves <palves@redhat.com>
5010 * gdb.python/python.exp: Test a multi-line command that spawns
5012 * gdb.base/multi-line-starts-subshell.exp: New file.
5014 2014-10-29 Yao Qi <yao@codesourcery.com>
5016 * gdb.base/fileio.exp: Make directories on host.
5018 2014-10-29 Yao Qi <yao@codesourcery.com>
5020 * gdb.base/fileio.c (test_write): Close the file.
5022 2014-10-28 Pedro Alves <palves@redhat.com>
5025 * gdb.base/sigstep.c (no_handler): New global.
5026 (main): If 'no_handler is true, set the signal handlers to
5028 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5029 with_sw_watch and no_handler parameters. Handle them.
5030 (top level) <stepping over handler when stopped at a breakpoint
5031 test>: Add a test axis for testing with a software watchpoint, and
5032 another for testing with the signal handler set to SIG_IGN.
5033 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5034 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5036 2014-10-28 Pedro Alves <palves@redhat.com>
5039 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5040 * gdb.base/sigstep.exp (other_handler_location): New global.
5041 (advance): Support stepping into the signal handler, and running
5042 commands while in the handler.
5043 (in_handler_map): New global.
5044 (top level): In the advance test, add combinations for getting
5045 into the handler with stepping commands, and for running commands
5046 in the handler. Add comment descripting the advancei tests.
5048 2014-10-28 Pedro Alves <palves@redhat.com>
5050 * gdb.base/sigstep.exp: Use build_executable instead of
5051 prepare_for_testing.
5052 (top level): Move code that starts GDB, runs to main and creates a
5054 (restart): ... this new procedure.
5055 (top level): Move backtrace from signal handler test to ...
5056 (validate_backtrace): ... this new procedure.
5057 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5058 with_test_prefix. Always restart GDB.
5059 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5060 with_test_prefix. Always restart GDB. No need to delete
5061 breakpoints after the test.
5062 (test_skip_handler): Remove prefix parameter.
5063 (skip_over_handler, breakpoint_to_handler)
5064 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5065 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5066 restart GDB. No need to delete breakpoints after the test.
5067 (top level): Use foreach to call the test procedures with
5070 2014-10-28 Pedro Alves <palves@redhat.com>
5072 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5073 instead of GNATS numbers.
5074 * gdb.base/sigbpt.exp: Likewise.
5075 * gdb.base/siginfo.exp: Likewise.
5076 * gdb.base/sigstep.exp: Likewise.
5078 2014-10-27 Pedro Alves <palves@redhat.com>
5080 * gdb.base/sigstep.c (dummy): New global.
5081 (main): Issue a couple writes to the new global.
5082 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5084 (skip_over_handler): Use test_skip_handler.
5085 (top level): Call skip_over_handler for stepi and nexti too.
5086 (breakpoint_over_handler): Use test_skip_handler.
5087 (top level): Call breakpoint_over_handler for stepi and nexti too.
5089 2014-10-27 Yao Qi <yao@codesourcery.com>
5091 * gdb.trace/tfile.c (adjust_function_address)
5092 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5093 function descriptor.
5095 2014-10-24 Don Breazeal <donb@codesourcery.com>
5097 * gdb.base/foll-fork.exp (test_follow_fork,
5098 catch_fork_child_follow): Check for updated fork messages emitted
5100 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5101 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5102 vfork_and_exec_child_follow_through_step): Check for updated vfork
5103 messages emitted from infrun.c.
5105 2014-10-24 Pedro Alves <palves@redhat.com>
5107 * gdb.base/corefile.exp: Remove references to ultrix.
5108 * gdb.base/interrupt.exp: Likewise.
5109 * gdb.base/whatis.exp: Likewise.
5110 * gdb.gdb/selftest.exp: Likewise.
5111 * gdb.threads/manythreads.exp: Likewise.
5112 * gdb.threads/print-threads.exp: Likewise.
5113 * gdb.threads/pthreads.exp:: Likewise.
5114 * gdb.threads/schedlock.exp: Likewise.
5116 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5118 * gdb.cp/non-trivial-retval.cc: Add a test case.
5119 * gdb.cp/non-trivial-retval.exp: Add a test.
5121 2014-10-20 Yao Qi <yao@codesourcery.com>
5123 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5124 * gdb.python/py-objfile-script-gdb.py: New file.
5125 * gdb.python/py-objfile-script.exp: Update reference to
5126 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5127 of remote_download. Remove the dest file.
5129 2014-10-20 Yao Qi <yao@codesourcery.com>
5131 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5132 * gdb.base/step-line.exp: Likewise.
5133 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5134 * gdb.dwarf2/dw2-basic.exp: Likewise.
5135 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5136 * gdb.dwarf2/dw2-filename.exp: Likewise.
5137 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5138 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5139 * gdb.dwarf2/dw2-producer.exp: Likewise.
5140 * gdb.dwarf2/mac-fileno.exp: Likewise.
5141 * gdb.python/py-frame-args.exp: Likewise.
5142 * gdb.python/py-framefilter.exp: Likewise.
5143 * gdb.python/py-mi.exp: Likewise.
5144 * gdb.python/py-objfile-script.exp: Likewise
5145 * gdb.python/py-pp-integral.exp: Likewise.
5146 * gdb.python/py-pp-re-notag.exp: Likewise.
5147 * gdb.python/py-prettyprint.exp: Likewise.
5148 * gdb.python/py-section-script.exp: Likewise.
5149 * gdb.python/py-typeprint.exp: Likewise.
5150 * gdb.python/py-xmethods.exp: Likewise.
5151 * gdb.stabs/weird.exp: Likewise.
5152 * gdb.xml/tdesc-regs.exp: Likewise.
5154 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5156 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5157 (out_cu): Use addr_len for the size of addresses.
5158 (out_line): Likewise. Size DW_LNE_set_address instruction
5159 according to addr_len.
5160 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5161 (FUNC): Add START_INSNS to definition.
5163 2014-10-18 Yao Qi <yao@codesourcery.com>
5165 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5166 gdb_has_argv0 return true.
5167 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5168 check [target_info exists noargs], check [gdb_has_argv0]
5170 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5171 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5174 2014-10-17 Doug Evans <dje@google.com>
5176 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5178 * gdb.python/py-events.py: Add clear_objfiles event.
5180 2014-10-17 Doug Evans <dje@google.com>
5182 * gdb.python/py-objfile.exp: Test progspace attribute.
5184 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5186 * gdb.guile/scm-breakpoint.exp: Do not assume any
5187 directory separators when matching source file paths.
5188 * gdb.python/py-breakpoint.exp: Likewise.
5189 * gdb.reverse/break-precsave.exp: Likewise.
5190 * gdb.reverse/break-reverse.exp: Likewise.
5191 * gdb.reverse/consecutive-precsave.exp: Likewise.
5192 * gdb.reverse/finish-precsave.exp: Likewise.
5193 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5194 * gdb.reverse/finish-reverse.exp: Likewise.
5195 * gdb.reverse/i386-precsave.exp: Likewise.
5196 * gdb.reverse/i387-env-reverse.exp: Likewise.
5197 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5198 * gdb.reverse/machinestate-precsave.exp: Likewise.
5199 * gdb.reverse/machinestate.exp: Likewise.
5200 * gdb.reverse/sigall-precsave.exp: Likewise.
5201 * gdb.reverse/solib-precsave.exp: Likewise.
5202 * gdb.reverse/step-precsave.exp: Likewise.
5203 * gdb.reverse/until-precsave.exp: Likewise.
5204 * gdb.reverse/watch-precsave.exp: Likewise.
5205 * gdb.reverse/watch-reverse.exp: Likewise.
5207 2014-10-17 Yao Qi <yao@codesourcery.com>
5209 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5210 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5212 2014-10-17 Pedro Alves <palves@redhat.com>
5215 * gdb.base/bg-execution-repeat.c: New file.
5216 * gdb.base/bg-execution-repeat.exp: New file.
5218 2014-10-17 Pedro Alves <palves@redhat.com>
5221 * gdb.base/continue-all-already-running.c: New file.
5222 * gdb.base/continue-all-already-running.exp: New file.
5224 2014-10-17 Pedro Alves <palves@redhat.com>
5227 * gdb.base/annota-input-while-running.c: New file.
5228 * gdb.base/annota-input-while-running.exp: New file.
5230 2014-10-17 Pedro Alves <palves@redhat.com>
5232 * gdb.base/callfuncs.exp: emove references to osf.
5233 * gdb.base/sigall.exp: Likewise.
5234 * gdb.gdb/selftest.exp: Likewise.
5235 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5236 * gdb.mi/non-stop.c: Likewise.
5237 * gdb.mi/pthreads.c: Likewise.
5238 * gdb.reverse/sigall-precsave.exp: Likewise.
5239 * gdb.reverse/sigall-reverse.exp: Likewise.
5240 * gdb.threads/pthreads.c: Likewise.
5241 * gdb.threads/pthreads.exp: Likewise.
5243 2014-10-17 Yao Qi <yao@codesourcery.com>
5245 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5246 check 'target_info exists noargs'.
5247 (test_command_prompt_position): Likewise.
5248 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5250 (progvar_simple_while_test): Likewise.
5251 (progvar_complex_if_while_test): Likewise.
5252 (if_while_breakpoint_command_test): Likewise.
5253 (infrun_breakpoint_command_test): Likewise.
5254 (breakpoint_command_test): Likewise.
5255 (watchpoint_command_test): Likewise.
5256 (bp_deleted_in_command_test): Likewise.
5257 (temporary_breakpoint_commands): Likewise.
5259 2014-10-16 Yao Qi <yao@codesourcery.com>
5261 * gdb.base/remotetimeout.exp: Remove noargs checking.
5263 2014-10-15 Pedro Alves <palves@redhat.com>
5266 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5267 * gdb.base/breakpoint-in-ro-region.exp
5268 (probe_target_hardware_step): New procedure.
5269 (top level): Probe hardware stepping and hardware breakpoint
5270 support. Test stepping through a read-only region, with both
5271 "breakpoint auto-hw" on and off and both "always-inserted" on and
5274 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5276 * gdb.dlang/demangle.exp: Update for demangling changes.
5278 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5280 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5281 * gdb.cp/non-trivial-retval.exp: Add new tests.
5283 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5287 * gdb.cp/non-trivial-retval.cc: New file.
5288 * gdb.cp/non-trivial-retval.exp: New file.
5290 2014-10-15 Yao Qi <yao@codesourcery.com>
5292 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5295 2014-10-15 Yao Qi <yao@codesourcery.com>
5297 * gdb.python/py-symbol.exp: Match file base name if host is
5298 remote, otherwise match file name with dir name.
5299 * gdb.python/py-symtab.exp: Likewise.
5300 * gdb.python/python.exp: Likewise.
5302 2014-10-15 Yao Qi <yao@codesourcery.com>
5304 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5306 * gdb.python/py-symtab.exp: Likewise.
5307 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5310 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5312 * gdb.ada/addr_arith: New testcase.
5314 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5316 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5317 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5318 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5319 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5321 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5323 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5324 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5325 * gdb.arch/stap-eval-lang-ada.exp: New file.
5327 2014-10-14 Yao Qi <yao@codesourcery.com>
5329 * gdb.mi/mi-var-child.c (nothing1): New function.
5330 (nothing2): New function.
5331 (do_children_tests): Set function pointers by nothing1 and
5333 * gdb.mi/mi-var-child.exp: Step over new added statements.
5334 Update test to match the new output.
5335 * gdb.mi/var-cmd.c (nothing1): New function.
5336 (nothing2): New function.
5337 (do_children_tests): Set function pointers by nothing1 and
5339 * gdb.mi/mi-var-display.exp: Update test to match output.
5340 Step to the line specified by $line_dct_nothing.
5341 Increase the number of lines to step.
5343 2014-10-14 Yao Qi <yao@codesourcery.com>
5345 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5347 * gdb.mi/mi2-var-child.exp: Likewise.
5349 2014-10-13 Doug Evans <dje@google.com>
5351 * gdb.python/py-objfile.exp: Change name of file name test.
5353 2014-10-13 Doug Evans <dje@google.com>
5355 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5356 from the start of the CU.
5358 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5359 Yao Qi <yao@codesourcery.com>
5361 Fix "save breakpoints" for "catch" command.
5362 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5363 Remove -nonewline. Match also the added "main" line.
5365 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5367 Fix "save breakpoints" for "disable $bpnum" command.
5368 * gdb.base/save-bp.c (main): Add label.
5369 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5371 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5373 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5375 2014-10-11 Yao Qi <yao@codesourcery.com>
5377 * gdb.server/server-kill.exp: Execute command
5378 "set remote trace-status-packet on" before "tstatus".
5380 2014-10-11 Yao Qi <yao@codesourcery.com>
5382 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5383 (main): Call getppid.
5384 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5385 and continue to it. Read variable "server_pid".
5387 2014-10-11 Yao Qi <yao@codesourcery.com>
5389 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5391 2014-10-11 Yao Qi <yao@codesourcery.com>
5393 * gdb.threads/thread-find.exp: Don't execute command
5395 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5396 * gdb.threads/linux-dp.exp: Don't check the condition
5397 $threads_created equals to zero.
5399 2014-10-10 Pedro Alves <palves@redhat.com>
5401 * gdb.base/bigcore.exp: Remove references to IRIX.
5402 * gdb.base/funcargs.exp: Likewise.
5403 * gdb.base/interrupt.exp: Likewise.
5404 * gdb.base/mips_pro.exp: Likewise.
5405 * gdb.base/nodebug.exp: Likewise.
5406 * gdb.base/setvar.exp: Likewise.
5407 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5409 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5410 Pedro Alves <palves@redhat.com>
5413 * gdb.base/vdso-warning.c: New file.
5414 * gdb.base/vdso-warning.exp: New file.
5416 2014-10-02 Doug Evans <dje@google.com>
5418 * gdb.base/structs.c (main): Don't run forever.
5420 2014-10-02 Pedro Alves <palves@redhat.com>
5422 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5423 (top level) <stop threads 1, stop threads 2>: Use it.
5425 2014-10-02 Pedro Alves <palves@redhat.com>
5427 * gdb.threads/break-while-running.exp (test): Add new
5428 'update_thread_list' argument. Skip "info threads" if false.
5429 (top level): Add new 'update_thread_list' axis.
5431 2014-10-02 Pedro Alves <palves@redhat.com>
5433 PR breakpoints/17431
5434 * gdb.base/execl-update-breakpoints.c: New file.
5435 * gdb.base/execl-update-breakpoints.exp: New file.
5437 2014-10-01 Pedro Alves <palves@redhat.com>
5439 * gdb.base/breakpoint-in-ro-region.c: New file.
5440 * gdb.base/breakpoint-in-ro-region.exp: New file.
5442 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5444 * gdb.mi/mi-exit-code.exp: New file.
5445 * gdb.mi/mi-exit-code.c: New file.
5447 2014-09-30 Yao Qi <yao@codesourcery.com>
5449 * lib/prelink-support.exp (build_executable_own_libs): Error if
5450 the target isn't native.
5452 2014-09-30 Yao Qi <yao@codesourcery.com>
5454 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5457 2014-09-22 Pedro Alves <palves@redhat.com>
5459 * gdb.threads/break-while-running.exp: New file.
5460 * gdb.threads/break-while-running.c: New file.
5462 2014-09-19 Yao Qi <yao@codesourcery.com>
5464 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5465 Invoke test. Restart GDB with --readnow and invoke test again.
5467 2014-09-19 Yao Qi <yao@codesourcery.com>
5469 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5470 proc set_breakpoint_on_gcd_function. Invoke
5471 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5472 invoke set_breakpoint_on_gcd_function again.
5474 2014-09-18 Doug Evans <dje@google.com>
5476 * gdb.dwarf2/symtab-producer.exp: New file.
5478 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5480 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5481 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5482 * gdb.base/global-var-nested-by-dso.c: Likewise.
5483 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5485 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5486 Pedro Alves <palves@redhat.com>
5488 * gdb.base/watch-bitfields.exp: Pass string other than test file
5489 name to prepare_for_testing.
5490 (watch): New procedure.
5491 (expect_watchpoint): Use with_test_prefix.
5492 (top level): Factor out tests to ...
5493 (test_watch_location, test_regular_watch): ... these new
5494 procedures, and use with_test_prefix and gdb_continue_to_end.
5496 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5498 PR breakpoints/12526
5499 * gdb.base/watch-bitfields.exp: New file.
5500 * gdb.base/watch-bitfields.c: New file.
5502 2014-09-16 Pedro Alves <palves@redhat.com>
5504 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5505 software and hardware addresses, not software address against
5508 2014-09-16 Pedro Alves <palves@redhat.com>
5510 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5511 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5513 2014-09-16 Pedro Alves <palves@redhat.com>
5515 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5517 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5518 "*-*-vxworks*" throughout.
5519 * gdb.base/break.exp: Likewise.
5520 * gdb.base/default.exp: Likewise.
5521 * gdb.base/scope.exp: Likewise.
5522 * gdb.base/sepdebug.exp: Likewise.
5523 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5525 * gdb.base/run.c: Likewise.
5526 * gdb.base/sepdebug.c: Likewise.
5527 * gdb.hp/gdb.aCC/run.c: Likewise.
5528 * gdb.reverse/until-reverse.c: Likewise.
5529 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5531 2014-09-16 Yao Qi <yao@codesourcery.com>
5533 * boards/local-remote-host-native.exp: New file.
5535 2014-09-14 Doug Evans <xdje42@gmail.com>
5537 * gdb.threads/queue-signal.c (thread_count): New variable.
5538 (thread_count_mutex, thread_count_condvar): New variables.
5539 (incr_thread_count, wait_all_threads_running): New functions.
5540 (main): Wait for all threads to be in their thread functions.
5542 2014-09-13 Doug Evans <xdje42@gmail.com>
5544 * gdb.threads/queue-signal.c: New file.
5545 * gdb.threads/queue-signal.exp: New file.
5547 2014-09-13 Doug Evans <xdje42@gmail.com>
5549 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5550 be consistent with what default_gdb_init uses.
5551 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5552 the plain text of the prompt. Add some logging printfs.
5553 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5555 2014-09-12 Pedro Alves <palves@redhat.com>
5557 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5558 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5559 * gdb.arch/i386-size-overlap.exp: Likewise.
5560 * gdb.arch/i386-size.exp: Likewise.
5561 * gdb.arch/i386-unwind.exp: Likewise.
5562 * gdb.base/a2-run.exp: Likewise.
5563 * gdb.base/break.exp: Likewise.
5564 * gdb.base/charset.exp: Likewise.
5565 * gdb.base/chng-syms.exp: Likewise.
5566 * gdb.base/commands.exp: Likewise.
5567 * gdb.base/dbx.exp: Likewise.
5568 * gdb.base/find.exp: Likewise.
5569 * gdb.base/funcargs.exp: Likewise.
5570 * gdb.base/jit-simple.exp: Likewise.
5571 * gdb.base/reread.exp: Likewise.
5572 * gdb.base/sepdebug.exp: Likewise.
5573 * gdb.base/step-bt.exp: Likewise.
5574 * gdb.cp/mb-inline.exp: Likewise.
5575 * gdb.cp/mb-templates.exp: Likewise.
5576 * gdb.objc/basicclass.exp: Likewise.
5577 * gdb.threads/killed.exp: Likewise.
5579 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5582 * gdb.arch/powerpc-stackless.S: New file.
5583 * gdb.arch/powerpc-stackless.exp: New file.
5585 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5587 * gdb.base/attach.c: Include unistd.h.
5588 (main): Call alarm. Add label postloop.
5589 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5590 gdb_breakpoint, gdb_continue_to_breakpoint.
5591 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5593 2014-09-11 Pedro Alves <palves@redhat.com>
5596 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5597 * gdb.base/attach.exp (test_command_line_attach_run): New
5599 (top level): Call it.
5601 2014-09-11 Pedro Alves <palves@redhat.com>
5603 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5604 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5605 (do_command_attach_tests): Use spawn_wait_for_attach.
5606 * gdb.base/solib-overlap.exp: Likewise.
5607 * gdb.multi/multi-attach.exp: Likewise.
5608 * gdb.python/py-prompt.exp: Likewise.
5609 * gdb.python/py-sync-interp.exp: Likewise.
5610 * gdb.server/ext-attach.exp: Likewise.
5612 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5614 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5615 command in testcase. Simplify testcase.
5617 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5619 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5621 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5623 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5625 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5627 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5629 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5631 * gdb.dwarf2/dynarr-ptr.c: New file.
5632 * gdb.dwarf2/dynarr-ptr.exp: New file.
5634 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5636 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5637 of 30 rather than hardcoding 120 for a slow test case. Take the
5638 `gdb,timeout' target setting into account for this calculation.
5639 Don't extend the timeout for the test cases that don't need it.
5641 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5643 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5644 a factor of 2 for a slow test case. Take the `gdb,timeout'
5645 target setting into account for this calculation.
5646 * gdb.reverse/until-precsave.exp: Increase the timeout by
5647 a factor of 15 and 3 respectively rather than adding 120
5648 for a pair of slow test cases. Take the `gdb,timeout'
5649 target setting into account for this calculation.
5651 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5653 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5654 timeout, don't pass one down to gdb_expect.
5655 (gdb_expect): Rework timeout selection.
5657 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5659 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5660 exception on timeout.
5661 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5662 (gdbserver_start_extended): Catch any `gdbserver_start' error
5664 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5665 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5666 `gdbserver_gdb_load' error exceptions.
5668 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5670 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5671 120 on waiting for the TCP socket to open.
5673 2014-09-09 Doug Evans <xdje42@gmail.com>
5675 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5676 _caller_matches, _any_caller_is, _any_caller_matches.
5678 2014-09-09 Doug Evans <xdje42@gmail.com>
5680 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5682 2014-09-09 Yao Qi <yao@codesourcery.com>
5684 * gdb.mi/mi-var-display.exp: Set print symbol off.
5686 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5689 * gdb.base/commands.exp: Add tests to verify user-defined
5690 commands with empty bodies.
5691 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5692 python commands in `show user command`.
5693 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5694 scheme commands in `show user command`.
5696 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5699 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5700 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5701 * gdb.python/py-framefilter-invalidarg.exp: New file.
5702 * gdb.python/py-framefilter-invalidarg.py: New file.
5704 2014-09-06 Doug Evans <xdje42@gmail.com>
5707 * gdb.python/py-caller-is.c: New file.
5708 * gdb.python/py-caller-is.exp: New file.
5710 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5713 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5714 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5716 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5719 * gdb.fortran/print-formatted.exp: New file.
5720 * gdb.fortran/print-formatted.f90: Likewise.
5722 2014-09-03 Sasha Smundak <asmundak@google.com>
5724 * gdb.python/py-frame.exp: Test Frame.read_register.
5726 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5729 * gdb.python/py-completion.exp: New file.
5730 * gdb.python/py-completion.py: Likewise.
5732 2014-08-28 Doug Evans <dje@google.com>
5734 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5735 eax,etc. are live with values set by gdb and thus the compiler can't
5737 * gdb.arch/i386-pseudo.c (main): Ditto.
5739 2014-08-27 Doug Evans <dje@google.com>
5741 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5743 2014-08-25 Doug Evans <dje@google.com>
5745 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5748 2014-08-25 Doug Evans <dje@google.com>
5750 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5752 2014-08-24 Yao Qi <yao@codesourcery.com>
5754 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5756 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5758 2014-08-22 Doug Evans <dje@google.com>
5761 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5762 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5763 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5765 2014-08-22 Yao Qi <yao@codesourcery.com>
5767 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5768 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5769 * gdb.python/python.exp: Likewise. Use .py file on the host
5770 instead of the build.
5772 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5774 * gdb.threads/gcore-stale-thread.c: New file.
5775 * gdb.threads/gcore-stale-thread.exp: New file.
5777 2014-08-21 Pedro Alves <palves@redhat.com>
5779 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5780 * gdb.base/gcore-relro-pie.exp: Likewise.
5781 * gdb.base/gcore-relro.exp: Likewise.
5782 * gdb.base/gcore.exp: Likewise.
5783 * gdb.base/print-symbol-loading.exp: Likewise.
5784 * gdb.threads/gcore-thread.exp: Likewise.
5785 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5787 2014-08-20 Pedro Alves <palves@redhat.com>
5788 Jan Kratochvil <jan.kratochvil@redhat.com>
5790 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5792 (EXPECT): Handle READ1 being set.
5793 (all): Depend on EXTRA_RULES.
5794 (check-read1, expect-read1, read1.so, read1): New rules.
5795 * README (Testsuite Parameters): Document the READ1 make variable.
5796 (Race detection): New section.
5797 * configure: Regenerate.
5798 * configure.ac: If build==host==target, and running under a
5799 GNU/glibc system, add read1 to the extra Makefile rules.
5800 (EXTRA_RULES): AC_SUBST it.
5801 * lib/read1.c: New file.
5803 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5805 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5806 the handling of variables declared as a typedef to an array
5807 which a DW_AT_data_location attribute.
5809 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5810 Pedro Alves <palves@redhat.com>
5814 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5817 2014-08-19 Pedro Alves <palves@redhat.com>
5819 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5821 2014-08-19 Yao Qi <yao@codesourcery.com>
5823 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5826 2014-08-18 David Blaikie <dblaikie@gmail.com>
5828 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5830 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5832 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5833 attribute in array range.
5835 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5837 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5839 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5842 * gdb.cp/pr17132.cc: New file.
5843 * gdb.cp/pr17132.exp: New file.
5845 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5847 * gdb.python/py-xmethods.py (A_getarrayind)
5848 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5849 Use 'print' with function call syntax.
5850 (E_method_matcher.match): Fix tab vs space indentation mixup.
5852 2014-08-15 Yao Qi <yao@codesourcery.com>
5854 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5857 2014-08-15 Yao Qi <yao@codesourcery.com>
5859 * gdb.cp/casts.exp: Set print symbol off.
5860 * gdb.cp/class2.exp: Likewise.
5861 * gdb.cp/overload.exp: Likewise.
5862 * gdb.cp/templates.exp: Likewise.
5864 2014-08-11 Doug Evans <dje@google.com>
5866 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5867 (test_load_shlib): Update.
5869 2014-08-09 Yao Qi <yao@codesourcery.com>
5871 * gdb.base/display.exp: Invoke is_address_zero_readable.
5872 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5873 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5874 * gdb.base/hbreak-unmapped.exp: Return if
5875 is_address_zero_readable returns true.
5876 * gdb.base/signest.exp: Likewise.
5877 * gdb.base/signull.exp: Likewise.
5878 * gdb.base/sigbpt.exp: Likewise.
5879 * gdb.guile/scm-disasm.exp: Do the test if
5880 is_address_zero_readable returns false.
5881 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5882 * gdb.python/py-arch.exp: Likewise.
5883 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5884 * lib/gdb.exp (is_address_zero_readable): New proc.
5886 2014-08-09 Yao Qi <yao@codesourcery.com>
5889 * gdb.mi/mi-var-display.exp: Make test messages unique.
5891 2014-08-04 Tom Tromey <tromey@redhat.com>
5893 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5896 2014-08-04 Tom Tromey <tromey@redhat.com>
5898 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5901 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5903 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5904 inner_vla_struct_object_size.
5905 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5908 2014-07-30 Pedro Alves <palves@redhat.com>
5910 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5913 2014-07-29 Yao Qi <yao@codesourcery.com>
5916 * gdb.base/until-nodebug.exp: New.
5918 2014-07-28 Doug Evans <xdje42@gmail.com>
5921 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5922 previously existing parameter, and previously ambiguously spelled
5925 2014-07-28 Will Newton <will.newton@linaro.org>
5927 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5929 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5930 Doug Evans <xdje42@gmail.com>
5933 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5935 2014-07-25 Pedro Alves <palves@redhat.com>
5937 * gdb.threads/signal-command-handle-nopass.c: New file.
5938 * gdb.threads/signal-command-handle-nopass.exp: New file.
5939 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5940 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5941 * gdb.threads/signal-delivered-right-thread.c: New file.
5942 * gdb.threads/signal-delivered-right-thread.exp: New file.
5944 2014-07-25 Pedro Alves <palves@redhat.com>
5946 * gdb.base/double-prompt-target-event-error.exp
5947 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5949 (cancel_pagination_in_target_event): Rework double prompt
5951 * gdb.base/paginate-after-ctrl-c-running.exp
5952 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5954 * gdb.base/paginate-bg-execution.exp
5955 (test_bg_execution_pagination_return)
5956 (test_bg_execution_pagination_cancel): Remove '-notransfer
5958 * gdb.base/paginate-execution-startup.exp
5959 (test_fg_execution_pagination_return)
5960 (test_fg_execution_pagination_cancel): Remove '-notransfer
5962 * gdb.base/paginate-inferior-exit.exp
5963 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5965 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5966 * lib/gdb.exp (pagination_prompt): Run text through
5968 (gdb_test_multiple): Match $pagination_prompt instead of
5970 (string_to_regexp): Move to lib/gdb-utils.exp.
5972 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5974 * gdb.arch/amd64-entry-value-paramref.S: New file.
5975 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5976 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5977 * gdb.arch/amd64-optimout-repeat.S: New file.
5978 * gdb.arch/amd64-optimout-repeat.c: New file.
5979 * gdb.arch/amd64-optimout-repeat.exp: New file.
5981 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5984 * gdb.base/statistics.exp: New file.
5986 2014-07-17 Doug Evans <dje@google.com>
5989 * gdb.base/maint.exp: Update testing of per-command stats.
5991 2014-07-16 Pedro Alves <palves@redhat.com>
5993 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5994 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5995 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5996 (tfile_write_buf): New functions.
5997 (add_memory_block): Rewrite using the above.
5998 (adjust_function_address): New function.
5999 (FUNCTION_ADDRESS): New macro.
6000 (write_basic_trace_file): Remove short_x local, and use
6001 tfile_write_16. Change type of func_addr local to unsigned long
6002 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6003 here. Cast argument of add_memory_block to char pointer.
6004 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6005 (main): Remove parameters.
6006 * gdb.trace/tfile.exp: Remove nowarnings.
6008 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6010 * gdb.base/debug-expr.exp: Test string evaluation with
6011 "debug expression" on.
6013 2014-07-15 Pedro Alves <palves@redhat.com>
6015 * gdb.base/reread.exp: Use clean_restart.
6017 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6019 * gdb.arch/avr-flash-qualifer.c: New.
6020 * gdb.arch/avr-flash-qualifer.exp: New.
6022 2014-07-14 Pedro Alves <palves@redhat.com>
6024 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6025 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6027 2014-07-14 Pedro Alves <palves@redhat.com>
6029 * gdb.base/double-prompt-target-event-error.c: New file.
6030 * gdb.base/double-prompt-target-event-error.exp: New file.
6032 2014-07-14 Pedro Alves <palves@redhat.com>
6035 * gdb.base/paginate-inferior-exit.c: New file.
6036 * gdb.base/paginate-inferior-exit.exp: New file.
6038 2014-07-14 Pedro Alves <palves@redhat.com>
6041 * gdb.base/paginate-bg-execution.c: New file.
6042 * gdb.base/paginate-bg-execution.exp: New file.
6044 2014-07-14 Pedro Alves <palves@redhat.com>
6047 * gdb.base/paginate-execution-startup.c: New file.
6048 * gdb.base/paginate-execution-startup.exp: New file.
6049 * lib/gdb.exp (pagination_prompt): New global.
6050 (default_gdb_spawn): New procedure, factored out from
6052 (default_gdb_start): Adjust to call default_gdb_spawn.
6053 (gdb_spawn): New procedure.
6055 2014-07-14 Pedro Alves <palves@redhat.com>
6057 * lib/gdb.exp (gdb_assert): New procedure.
6058 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6060 2014-07-14 Pedro Alves <palves@redhat.com>
6062 * gdb.base/execution-termios.c: New file.
6063 * gdb.base/execution-termios.exp: New file.
6065 2014-07-14 Tom Tromey <tromey@redhat.com>
6067 * gdb.cp/vla-cxx.cc: New file.
6068 * gdb.cp/vla-cxx.exp: New file.
6070 2014-07-14 Tom Tromey <tromey@redhat.com>
6072 * gdb.reverse/rerun-prec.c: New file.
6073 * gdb.reverse/rerun-prec.exp: New file.
6075 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6076 Maciej W. Rozycki <macro@codesourcery.com>
6078 * lib/gdb-utils.exp: New file.
6079 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6080 inline `gdb_init_command' processing.
6081 (gdb_start_cmd): Likewise.
6082 * lib/mi-support.exp (mi_run_cmd): Likewise.
6083 * README: Document `gdb_init_command' and `gdb_init_commands'.
6085 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6087 Fix false FAIL running under a very long directory name.
6088 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6089 and "set print elements 10000". Twice.
6091 2014-07-11 Yao Qi <yao@codesourcery.com>
6093 * gdb.base/exprs.exp: "set print symbol off".
6095 2014-07-11 Pedro Alves <palves@redhat.com>
6097 * gdb.threads/kill.c: New file.
6098 * gdb.threads/kill.exp: New file.
6100 2014-07-10 Yao Qi <yao@codesourcery.com>
6102 * gdb.trace/tfile.c (write_basic_trace_file)
6103 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6104 address written to trace file.
6106 2014-07-09 Pedro Alves <palves@redhat.com>
6108 * gdb.base/attach-wait-input.exp: New file.
6109 * gdb.base/attach-wait-input.c: New file.
6111 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6113 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6114 setting up test structures.
6115 (main): Call new test function.
6116 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6117 test function, continue into test function and walk test
6120 2014-07-02 Yao Qi <yao@codesourcery.com>
6122 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6123 'bar_start' at the beginning of functions 'foo' and 'bar'
6125 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6126 instead of 'foo' and 'bar'.
6128 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6130 * gdb.btrace/segv.exp: New.
6131 * gdb.btrace/segv.c: New.
6133 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6135 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6138 2014-06-30 Mark Wielaard <mjw@redhat.com>
6140 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6141 vulture, vilify, villar): New volatile array constants.
6142 (vindictive, vegetation): New const volatile array constants.
6143 * gdb.base/volatile.exp: Test volatile and const volatile array
6146 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6148 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6149 target lacks support for awatch, rwatch, or hbreak.
6151 2014-06-27 Yao Qi <yao@codesourcery.com>
6153 * gdb.multi/dummy-frame-restore.exp: New.
6154 * gdb.multi/dummy-frame-restore.c: New.
6156 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6158 * gdb.btrace/gcore.exp: New.
6160 2014-06-23 Pedro Alves <palves@redhat.com>
6162 * gdb.base/watchpoint-reuse-slot.c: New file.
6163 * gdb.base/watchpoint-reuse-slot.exp: New file.
6165 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6167 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6168 progspace's filename in 'info', 'enable' and 'disable' command
6171 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6173 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6174 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6175 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6177 2014-06-20 Gary Benson <gbenson@redhat.com>
6179 * gdb.arch/i386-avx.exp: Fix include file location.
6180 * gdb.arch/i386-sse.exp: Likewise.
6182 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6184 * gdb.dlang/expression.exp: New file.
6186 2014-06-19 Pedro Alves <palves@redhat.com>
6188 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6190 (top level): ... here. Iterate running tests under different
6191 scheduler-locking settings.
6193 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6195 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6196 to DW_FORM_addr and use non-zero addresses.
6198 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6201 * gdb.python/py-xmethods.cc: Add global function call counters and
6202 increment them in their respective functions. Remove "cout"
6204 * gdb.python/py-xmethods.exp: Make tests check the global function
6205 call counters instead of depending on inferior IO.
6207 2014-06-18 Don Breazeal <donb@codesourcery.com>
6209 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6211 (explicit_fork_parent_follow): Deleted procedure.
6212 (explicit_fork_child_follow): Deleted procedure.
6213 (test_follow_fork): New procedure.
6214 (do_fork_tests): Replace calls to deleted procedures with
6215 calls to test_follow_fork and reset GDB for subsequent
6218 2014-06-17 Yao Qi <yao@codesourcery.com>
6220 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6223 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6225 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6226 Initialize ptr and S explicitly.
6227 (skip_type_update_when_not_use_rtti_test): Likewise.
6229 2014-06-16 Keith Seitz <keiths@redhat.com>
6232 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6233 the inferior is started.
6235 2014-06-16 Pedro Alves <palves@redhat.com>
6237 * gdb.base/break-main-file-remove-fail.c: New file.
6238 * gdb.base/break-main-file-remove-fail.exp: New file.
6239 * gdb.base/break-unload-file.exp: Use build_executable instead of
6240 prepare_for_testing.
6241 (test_break): New parameter "initial_load". Handle it.
6242 (top level): Add initial_load cmdline/file axis.
6244 2014-06-12 Tom Tromey <tromey@redhat.com>
6246 * gdb.base/completion.exp: Don't use directory name in test.
6248 2014-06-09 Gary Benson <gbenson@redhat.com>
6250 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6251 separate the always-available ANSI-standard signals from the
6252 signals that require checking.
6254 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6258 2014-06-07 Keith Seitz <keiths@redhat.com>
6262 * gdb.cp/var-tag.cc: New file.
6263 * gdb.cp/var-tag.exp: New file.
6264 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6265 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6266 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6267 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6269 2014-06-06 Doug Evans <xdje42@gmail.com>
6271 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6273 2014-06-06 Pedro Alves <palves@redhat.com>
6275 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6276 in target debug output instead of looking at RSP packets,
6277 disabling the test on any target that uses hardware stepping.
6280 2014-06-06 Pedro Alves <palves@redhat.com>
6282 * gdb.base/break-unload-file.exp: Fix typo.
6284 2014-06-06 Yao Qi <yao@codesourcery.com>
6286 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6287 from "jit_function" to "^jit_function".
6289 2014-06-06 Yao Qi <yao@codesourcery.com>
6291 * gdb.base/async.c (foo): Add one statement.
6292 * gdb.base/async.exp: Get the next instruction address and
6293 match the output of "nexti" by instruction address. Match
6294 the hex address in the output of "finish".
6296 2014-06-06 Gary Benson <gbenson@redhat.com>
6298 * gdb.base/call-signals.c: Remove preprocessor conditionals
6299 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6300 SIGSEGV and SIGTERM.
6301 * gdb.base/sigall.c: Likewise.
6302 * gdb.base/unwindonsignal.c: Likewise.
6303 * gdb.reverse/sigall-reverse.c: Likewise.
6305 2014-06-06 Yao Qi <yao@codesourcery.com>
6307 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6308 readable, skip the test.
6310 2014-06-06 Yao Qi <yao@codesourcery.com>
6312 * gdb.threads/staticthreads.c (thread_function): Move the line
6313 setting breakpoint on forward.
6314 * gdb.threads/staticthreads.exp: Update comments.
6316 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6318 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6319 "history-append! type error".
6321 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6323 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6324 erroneous dprintf expected input.
6326 2014-06-04 Doug Evans <xdje42@gmail.com>
6328 * gdb.guile/scm-generics.exp: Delete.
6330 2014-06-04 Doug Evans <xdje42@gmail.com>
6332 * gdb.guile/scm-breakpoint.exp: Update.
6333 Add tests for breakpoint registration.
6335 2014-06-04 Tom Tromey <tromey@redhat.com>
6337 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6339 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6340 inner_vla_struct, vla_union types. Initialize objects of those
6341 types and compute their sizes.
6343 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6344 Hui Zhu <hui@codesourcery.com>
6346 * gdb.base/fileio.exp: Add test for shell not available as well as
6348 * gdb.base/fileio.c (test_system): Check for shell twice.
6350 2014-06-04 Yao Qi <yao@codesourcery.com>
6352 * gdb.base/auto-connect-native-target.exp: Remove redundant
6353 space from the regexp pattern.
6355 2014-06-04 Yao Qi <yao@codesourcery.com>
6357 * gdb.base/default.exp: Replace "child" with "native" in
6360 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6362 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6363 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6364 * gdb.python/py-xmethods.py: Python script supporting the
6365 new testcase and tests.
6367 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6368 Pedro Alves <palves@redhat.com>
6370 PR breakpoints/17000
6371 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6372 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6374 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6376 * gdb.base/subst.exp: Add tests to verify partial path matching
6379 2014-06-03 Pedro Alves <palves@redhat.com>
6381 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6382 target that doesn't use software single-stepping.
6384 2014-06-03 Pedro Alves <palves@redhat.com>
6386 PR breakpoints/17000
6387 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6388 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6390 2014-06-02 Doug Evans <xdje42@gmail.com>
6392 * gdb.guile/scm-parameter.exp: New file.
6394 2014-06-02 Doug Evans <xdje42@gmail.com>
6396 * gdb.guile/scm-cmd.c: New file.
6397 * gdb.guile/scm-cmd.exp: New file.
6399 2014-06-02 Doug Evans <xdje42@gmail.com>
6401 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6402 pretty-printer lookup.
6403 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6404 (make-pp_s-printer): Call it.
6405 (make-pretty-printer-from-dict): New function.
6406 (lookup-pretty-printer-maker-from-dict): New function.
6407 (*pretty-printer*): Simplify.
6408 (make-objfile-pp_s-printer): New function.
6409 (install-objfile-pretty-printers!): New function.
6410 (make-progspace-pp_s-printer): New function.
6411 (install-progspace-pretty-printers!): New function.
6412 * gdb.guile/scm-progspace.c: New file.
6413 * gdb.guile/scm-progspace.exp: New file.
6415 2014-06-02 Pedro Alves <palves@redhat.com>
6417 * gdb.base/dprintf-bp-same-addr.c: New file.
6418 * gdb.base/dprintf-bp-same-addr.exp: New file.
6420 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6422 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6423 * gdb.arch/powerpc-power.s: Likewise.
6425 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6427 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6429 2014-06-01 Yao Qi <yao@codesourcery.com>
6431 * gdb.base/watchpoint.exp (test_watch_location): Check null
6432 pointer can be dereferenced. If not, do the test, otherwise
6435 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6437 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6439 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6441 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6443 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6444 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6445 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6446 * gdb.arch/amd64-invalid-stack-top.c: New file.
6447 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6449 2014-05-30 Pedro Alves <palves@redhat.com>
6451 PR breakpoints/17000
6452 * gdb.base/sss-bp-on-user-bp.c: New file.
6453 * gdb.base/sss-bp-on-user-bp.exp: New file.
6455 2014-05-30 David Blaikie <dblaikie@gmail.com>
6457 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6458 gnu_inline semantics via attribute.
6459 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6460 source explicitly specifies the required semantics.
6462 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6464 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6466 2014-05-29 Pedro Alves <palves@redhat.com>
6467 Tom Tromey <tromey@redhat.com>
6469 * gdb.base/async-shell.exp: Don't enable target-async.
6470 * gdb.base/async.exp
6471 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6473 (top level): Don't test with "target-async".
6474 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6475 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6476 * gdb.base/inferior-died.exp: Don't enable target-async.
6477 * gdb.base/interrupt-noterm.exp: Likewise.
6478 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6479 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6480 * gdb.mi/mi-nonstop.exp: Likewise.
6481 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6482 * gdb.mi/mi-nsintrall.exp: Likewise.
6483 * gdb.mi/mi-nsmoribund.exp: Likewise.
6484 * gdb.mi/mi-nsthrexec.exp: Likewise.
6485 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6486 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6487 * gdb.python/py-evsignal.exp: Don't enable target-async.
6488 * gdb.python/py-evthreads.exp: Likewise.
6489 * gdb.python/py-prompt.exp: Likewise.
6490 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6491 * gdb.server/solib-list.exp: Don't enable target-async.
6492 * gdb.threads/thread-specific-bp.exp: Likewise.
6493 * lib/mi-support.exp: Adjust to use mi-async.
6495 2014-05-29 Pedro Alves <palves@redhat.com>
6498 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6499 reason, even in sync mode.
6501 2014-05-29 Pedro Alves <palves@redhat.com>
6502 Hui Zhu <hui@codesourcery.com>
6505 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6506 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6507 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6508 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6510 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6512 * config/monitor.exp (gdb_target_monitor): Replace use of
6513 "set remotebaud" by "set serial baud".
6515 2014-05-26 Andy Wingo <wingo@igalia.com>
6517 * gdb.guile/scm-breakpoint.exp:
6518 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6519 properties instead of gdb-object-properties.
6521 2014-05-26 Yao Qi <yao@codesourcery.com>
6523 * gdb.server/no-thread-db.exp: Specify source file name
6524 explicitly when setting a breakpoint.
6526 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6528 * gdb.btrace/vdso.c: New.
6529 * gdb.btrace/vdso.exp: New.
6531 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6533 * gdb.base/gcore.exp (capture_command_output): Move ...
6534 * lib/gdb.exp (capture_command_output): ... here.
6536 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6538 * gdb.btrace/data.exp: Test memory access during btrace replay.
6540 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6542 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6544 2014-05-21 Pedro Alves <palves@redhat.com>
6547 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6548 (top level): Test that output related to execution commands is
6549 sent to the console with CLI commands, but not with MI commands.
6550 Test that breakpoint events are always mirrored to the console.
6551 Also expect the new source line to be output after a "next" in
6552 async mode too. Make it a pass/fail test.
6553 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6555 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6557 2014-05-21 Pedro Alves <palves@redhat.com>
6559 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6560 Use them to test variations of "list" after reaching a breakpoint.
6561 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6562 Test "list" with listsize 10 after reaching a breakpoint.
6563 * gdb.python/python.exp (decode_line current location line
6564 number): Adjust expected line number.
6566 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6568 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6569 behavior for $args, pass it directly to "run".
6571 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6573 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6576 2014-05-21 Pedro Alves <palves@redhat.com>
6578 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6579 auto-connect-native-target off".
6580 * gdb.base/auto-connect-native-target.c: New file.
6581 * gdb.base/auto-connect-native-target.exp: New file.
6583 2014-05-21 Pedro Alves <palves@redhat.com>
6585 * gdb.base/default.exp: Test "target native" instead of "target
6588 2014-05-21 Mark Wielaard <mjw@redhat.com>
6590 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6592 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6594 Fix TLS access for -static -pthread.
6595 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6596 <HAVE_TLS> (thread_function, main): Initialize it.
6597 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6599 <$have_tls != "">: Check TLSVAR.
6601 2014-05-21 Pedro Alves <palves@redhat.com>
6603 * gdb.base/dcache-line-read-error.c: New.
6604 * gdb.base/dcache-line-read-error.exp: New.
6606 2014-05-20 Pedro Alves <palves@redhat.com>
6608 * gdb.base/compare-sections.c: New file.
6609 * gdb.base/compare-sections.exp: New file.
6611 2014-05-20 Pedro Alves <palves@redhat.com>
6613 * gdb.base/break-idempotent.c: New file.
6614 * gdb.base/break-idempotent.exp: New file.
6616 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6618 * gdb.btrace/nohist.exp: New.
6620 2014-05-20 Yao Qi <yao@codesourcery.com>
6622 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6623 gdb.reverse directory and gdb_reverse_timeout exists in board
6625 * README: Document gdb_reverse_timeout.
6627 2014-05-20 Yao Qi <yao@codesourcery.com>
6629 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6630 'test_file_name'. Treat args as a string instead of a list.
6631 (gdb_init): Rename argument 'args' by 'test_file_name'.
6633 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6635 * gdb.arch/powerpc-power.exp: New file.
6636 * gdb.arch/powerpc-power.s: New file.
6638 2014-05-16 Doug Evans <dje@google.com>
6640 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6641 * gdb.base/completion.exp: Check that all expected files exist
6642 before doing file completion.
6644 2014-05-16 Doug Evans <dje@google.com>
6646 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6648 (do_syscall_tests_without_xml): Update.
6650 2014-05-16 Pedro Alves <palves@redhat.com>
6652 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6653 instead of "unknown output after running".
6655 2014-05-16 Yao Qi <yao@codesourcery.com>
6657 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6658 file1.txt from host at the end.
6659 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6661 2014-05-15 Doug Evans <dje@google.com>
6663 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6664 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6665 loading file. Add test for TU lookup.
6667 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6669 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6670 calling "-exec-arguments" or "set args" before running the
6673 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6675 * lib/mi-support.exp (mi_expect_stop): Expect message for
6676 inferiors that exit with non-zero exit code.
6678 2014-05-14 Yao Qi <yao@codesourcery.com>
6680 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6681 match absolute path on remote host.
6682 (test_file_list_exec_source_files): Remove "/" from the
6685 2014-05-14 Yao Qi <yao@codesourcery.com>
6687 * boards/local-remote-host-notty.exp (${board}_file): New
6690 2014-05-07 Kyle McMartin <kyle@redhat.com>
6692 Pushed by Joel Brobecker <brobecker@adacore.com>.
6693 * gdb.arch/aarch64-atomic-inst.c: New file.
6694 * gdb.arch/aarch64-atomic-inst.exp: New file.
6696 2014-05-07 Yao Qi <yao@codesourcery.com>
6698 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6699 in current context" too.
6701 2014-05-05 Keith Seitz <keiths@redhat.com>
6703 * gdb.linespec/ls-dollar.exp: Add test for linespec
6704 file:convenience_variable.
6706 2014-05-05 Yao Qi <yao@codesourcery.com>
6708 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6709 traceframes into tfile and ctf trace files. Read data from
6710 trace file and test collected data.
6711 (gdb_collect_locals_test): Likewise.
6712 (gdb_unavailable_registers_test): Likewise.
6713 (gdb_unavailable_floats): Likewise.
6714 (gdb_collect_globals_test): Likewise.
6715 (top-level): Append "ctf" to trace_file_targets if GDB
6718 2014-05-05 Yao Qi <yao@codesourcery.com>
6720 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6722 (gdb_collect_args_test_1): ... it. New proc.
6723 (gdb_collect_locals_test): Move some code to ...
6724 (gdb_collect_locals_test_1): ... it. New proc.
6725 (gdb_unavailable_registers_test): Move some code to ...
6726 (gdb_unavailable_registers_test_1): ... it. New proc.
6727 (gdb_unavailable_floats): Move some code to ...
6728 (gdb_unavailable_floats_1): ... it. New proc.
6730 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6732 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6733 probes to test for bitness recognition.
6734 * gdb.arch/amd64-stap-optional-prefix.exp
6735 (test_probe_value_without_reg): New procedure.
6736 Add code to test for different kinds of bitness.
6738 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6740 PR breakpoints/16889
6741 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6742 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6744 2014-05-01 Pedro Alves <palves@redhat.com>
6746 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6747 gdb_file_cmd if no file is specified.
6748 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6749 last_loaded_file to set the remote exec-file.
6751 2014-05-01 Pedro Alves <palves@redhat.com>
6753 * boards/local-remote-host.exp: New file.
6755 2014-05-01 Pedro Alves <palves@redhat.com>
6757 * boards/local-remote-host.exp: Rename to ...
6758 * boards/local-remote-host-notty.exp: ... this.
6760 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6762 * gdb.ada/dyn_arrayidx: New testcase.
6764 2014-04-26 Yao Qi <yao@codesourcery.com>
6766 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6767 and compute the length of function main. Save it in
6769 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6770 (top-level): Use gdb_compile to compile objects into
6771 executable and restart GDB. Remove invocation to
6772 prepare_for_testing.
6774 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6775 Pedro Alves <palves@redhat.com>
6778 * gdb.multi/multi-attach.c: New file.
6779 * gdb.multi/multi-attach.exp: New file.
6781 2014-04-25 Pedro Alves <palves@redhat.com>
6783 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6785 (top level): Test that "set remote conditional-breakpoints-packet
6786 off" works as intended.
6787 * gdb.base/dprintf.exp: Test that "set remote
6788 breakpoint-commands-packet off" works as intended.
6789 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6791 (top level): Call it.
6792 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6793 remote fast-tracepoints-packet off" works as intended.
6794 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6795 * lib/gdb.exp (gdb_is_target_remote): ... here.
6797 2014-04-24 David Blaikie <dblaikie@gmail.com>
6799 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6800 ensure clang would not discard them.
6801 * gdb.base/gdbvars.c: Ditto.
6802 * gdb.base/memattr.c: Ditto.
6803 * gdb.base/whatis.c: Ditto.
6804 * gdb.python/py-prettyprint.c: Ditto.
6805 * gdb.trace/actions.c: Ditto.
6806 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6807 ensure clang would not discard it.
6809 2014-04-24 David Blaikie <dblaikie@gmail.com>
6811 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6812 clang to emit the full definition of type required by the test
6813 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6815 2014-04-24 David Blaikie <dblaikie@gmail.com>
6817 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6818 coax Clang into emitting the definition of the type.
6819 * gdb.cp/pr10728-x.h (y): Ditto.
6820 * gdb.cp/pr10728-y.cc (y): Ditto.
6822 2014-04-24 David Blaikie <dblaikie@gmail.com>
6824 * gdb.base/label.exp: XFAIL label related tests under Clang.
6825 * gdb.cp/cplabel.exp: Ditto.
6826 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6827 under Clang those using labels.
6829 2014-04-25 Yao Qi <yao@codesourcery.com>
6831 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6833 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6834 partial_label and double_label.
6836 2014-04-24 David Blaikie <dblaikie@gmail.com>
6838 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6840 2014-04-24 David Blaikie <dblaikie@gmail.com>
6842 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6843 of the function to work across GCC and Clang.
6844 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6845 pointer types (const void ** const V void **).
6847 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6848 Walfred Tedeschi <walfred.tedeschi@intel.com>
6850 * Makefile.in (EXECUTABLES): Added i386-avx512.
6851 * gdb.arch/i386-avx512.c: New file.
6852 * gdb.arch/i386-avx512.exp: Likewise.
6854 2014-04-23 Keith Seitz <keiths@redhat.com>
6856 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6857 (mi_make_breakpoint_table): New procedure.
6858 (mi_create_breakpoint): Use mi_make_breakpoint
6859 and return the result.
6860 (mi_make_breakpoint): New procedure.
6861 (mi_build_kv_pairs): New procedure.
6863 * gdb.mi/mi-break.exp: Remove unused globals,
6864 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6865 All callers updated.
6866 * gdb.mi/mi-dprintf.exp: Use variable to track command
6868 Update all callers of mi_create_breakpoint and use
6869 mi_make_breakpoint_table.
6870 Remove any unused global variables.
6871 * gdb.mi/mi-nonstop.exp: Likewise.
6872 * gdb.mi/mi-nsintrall.exp: Likewise.
6873 * gdb.mi/mi-nsmoribund.exp: Likewise.
6874 * gdb.mi/mi-nsthrexec.exp: Likewise.
6875 * gdb.mi/mi-reverse.exp: Likewise.
6876 * gdb.mi/mi-simplerun.exp: Likewise.
6877 * gdb.mi/mi-stepn.exp: Likewise.
6878 * gdb.mi/mi-syn-frame.exp: Likewise.
6879 * gdb.mi/mi-until.exp: Likewise.
6880 * gdb.mi/mi-var-cp.exp: Likewise.
6881 * gdb.mi/mi-var-display.exp: Likewise.
6882 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6883 * gdb.mi/mi2-var-child.exp: Likewise.
6884 * gdb.mi/mi-vla-c99.exp: Likewise.
6885 * lib/mi-support.exp: Likewise.
6887 From Ian Lance Taylor <iant@cygnus.com>:
6888 * lib/gdb.exp (parse_args): New procedure.
6890 2014-04-23 Pedro Alves <palves@redhat.com>
6892 * gdb.base/break-unload-file.c: New file.
6893 * gdb.base/break-unload-file.exp: New file.
6894 * gdb.base/sym-file-lib.c (baz): New function.
6895 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6897 (load): Store the segment's mapped size.
6898 (unload): New function.
6899 (unload_shlib): New function.
6900 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6901 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6902 set a breakpoint at baz, and call it.
6903 * gdb.base/sym-file.exp: New tests for stale breakpoint
6906 2014-04-23 Pedro Alves <palves@redhat.com>
6908 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6909 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6910 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6911 * gdb.base/hbreak-unmapped.c: New file.
6912 * gdb.base/hbreak-unmapped.exp: New file.
6913 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6914 * lib/gdb.exp (gdb_is_target_remote): ... here.
6916 2014-04-22 Pedro Alves <palves@redhat.com>
6918 * gdb.base/consecutive-step-over.c: New file.
6919 * gdb.base/consecutive-step-over.exp: New file.
6921 2014-04-22 Pedro Alves <palves@redhat.com>
6923 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6924 instead of send_gdb/gdb_expect.
6926 2014-04-22 Yao Qi <yao@codesourcery.com>
6928 * lib/trace-support.exp (generate_tracefile): New procedure.
6929 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6931 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6932 if generate_tracefile returns 1.
6934 2014-04-18 Tom Tromey <palves@redhat.com>
6935 Pedro alves <tromey@redhat.com>
6938 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6939 with a backtrace limit.
6940 * gdb.python/py-frame-inline.exp: Test running to an inline
6941 function with a backtrace limit, and printing the newest frame.
6942 * gdb.python/py-frame-inline.c (main): Call f.
6944 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6946 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6948 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6950 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6951 Drop prefix from unsupported source file path.
6953 2014-04-17 Yao Qi <yao@codesourcery.com>
6955 * lib/gdb.exp (with_target_charset): New proc.
6956 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6957 with_target_charset.
6958 (test_print_strings): Likewise.
6959 (test_repeat_bytes): Likewise.
6960 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6963 2014-04-16 Keith Seitz <keiths@redhat.com>
6966 * gdb.dwarf2/corrupt.c: New file.
6967 * gdb.dwarf2/corrupt.exp: New file.
6969 2014-04-16 Keith Seitz <keiths@redhat.com>
6972 * gdb.cp/namelessclass.cc: New file.
6973 * gdb.cp/namelessclass.exp: New file.
6974 * gdb.cp/namelessclass.S: New file.
6976 2014-04-16 Doug Evans <dje@google.com>
6978 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6980 (gdbserver_default_get_comm_port): New function.
6981 (gdbserver_start): Check if board file provided
6982 "gdbserver,get_comm_port" and use it if so.
6983 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6984 (gdb,socketport): Set to "stdio".
6985 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6986 (stdio_gdbserver_template): Delete.
6987 (${board}_get_remote_address): Update.
6988 (${board}_build_remote_cmd): Delete.
6989 (${board}_get_comm_port): New function.
6990 (${board}_spawn): Update.
6991 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6993 (${board}_get_remote_address): Update.
6994 (${board}_get_comm_port): New function.
6996 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6998 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6999 appearing in any order.
7001 2014-04-15 Doug Evans <dje@google.com>
7003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7004 uninitialized value of "description".
7006 2014-04-15 Keith Seitz <keiths@redhat.com>
7008 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7009 Remove unused globals.
7010 (test_running_the_program): Likewise.
7011 (test_controlled_execution): Likewise.
7012 (test_controlling_breakpoints): Likewise.
7013 (test_program_termination): Likewise.
7015 2014-04-15 Keith Seitz <keiths@redhat.com>
7017 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7019 (test_rbreak_creation_and_listing): Likewise.
7020 (test_ignore_count): Likewise.
7021 (test_error): Likewise.
7023 2014-04-15 Pedro Alves <palves@redhat.com>
7025 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7026 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7028 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7029 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7030 to sym-file-loader.c.
7031 (struct library): Forward declare.
7032 (load_shlib, lookup_function): Change prototypes.
7033 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7034 (translate_offset): Remove declarations.
7035 (get_text_addr): New declaration.
7036 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7037 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7039 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7040 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7041 here from sym-file-loader.h.
7042 (struct library): New structure.
7043 (load_shlib, lookup_function): Change prototypes and adjust to
7044 work with a struct library.
7045 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7046 (translate_offset): Make static.
7047 (get_text_addr): New function.
7048 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7050 2014-04-15 Pedro Alves <palves@redhat.com>
7052 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7054 2014-04-15 Pedro Alves <palves@redhat.com>
7056 * gdb.base/sym-file-loader.c: Include <limits.h>.
7057 (SELF_LINK): New define.
7058 (get_origin): New function.
7059 (load_shlib): Use it.
7060 * gdb.base/sym-file.exp: Don't early return if the target is
7061 remote. Use runto_main, and issue fail is that fails. Use
7063 (shlib_name): Delete.
7064 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7066 2014-04-15 Pedro Alves <palves@redhat.com>
7068 * gdb.base/sym-file.exp: Remove regex characters from test
7069 message. Don't refer to breakpoint numbers in test messages.
7071 2014-04-14 Keith Seitz <keiths@redhat.com>
7074 * gdb.cp/var-tag.cc: New file.
7075 * gdb.cp/var-tag.exp: New file.
7076 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7077 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7078 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7079 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7081 2014-04-14 Tom Tromey <tromey@redhat.com>
7083 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7084 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7086 * gdb.cp/enum-class.exp: New file.
7087 * gdb.cp/enum-class.cc: New file.
7089 2014-04-14 Tom Tromey <tromey@redhat.com>
7091 * gdb.dwarf2/enum-type.exp: New file.
7093 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7095 * gdb.mi/mi-vla-c99.exp: New file.
7096 * gdb.mi/vla.c: New file.
7098 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7100 * gdb.base/vla-datatypes.c: New file.
7101 * gdb.base/vla-datatypes.exp: New file.
7103 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7105 * gdb.base/vla-ptr.c: New file.
7106 * gdb.base/vla-ptr.exp: New file.
7108 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7110 * gdb.dwarf2/count.exp: New file.
7112 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7114 * gdb.base/vla-sideeffect.c: New file.
7115 * gdb.base/vla-sideeffect.exp: New file.
7117 2014-04-14 David Blaikie <dblaikie@gmail.com>
7119 * gdb.mi/non-stop.c: Add return value for non-void function return
7121 * gdb.threads/staticthreads.c: Ditto.
7123 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7124 Doug Evans <xdje42@gmail.com>
7126 * gdb.guile/scm-value.c: Improve test case.
7127 * gdb.guile/scm-value.exp: Add new test.
7129 2014-04-11 David Blaikie <dblaikie@gmail.com>
7131 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7132 override Clang's default.
7134 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7136 Revert the following changes (regressions):
7138 * gdb.base/vla-sideeffect.c: New file.
7139 * gdb.base/vla-sideeffect.exp: New file.
7141 * gdb.dwarf2/count.exp: New file.
7143 * gdb.base/vla-multi.c: New file.
7144 * gdb.base/vla-multi.exp: New file.
7146 * gdb.base/vla-ptr.c: New file.
7147 * gdb.base/vla-ptr.exp: New file.
7149 * gdb.base/vla-datatypes.c: New file.
7150 * gdb.base/vla-datatypes.exp: New file.
7152 * gdb.mi/mi-vla-c99.exp: New file.
7153 * gdb.mi/vla.c: New file.
7155 2014-04-11 Keith Seitz <keiths@redhat.com>
7158 * gdb.cp/cpsizeof.exp: New file.
7159 * gdb.cp/cpsizeof.cc: New file.
7161 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7163 * gdb.mi/mi-vla-c99.exp: New file.
7164 * gdb.mi/vla.c: New file.
7166 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7168 * gdb.base/vla-datatypes.c: New file.
7169 * gdb.base/vla-datatypes.exp: New file.
7171 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7173 * gdb.base/vla-ptr.c: New file.
7174 * gdb.base/vla-ptr.exp: New file.
7176 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7178 * gdb.base/vla-multi.c: New file.
7179 * gdb.base/vla-multi.exp: New file.
7181 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7183 * gdb.dwarf2/count.exp: New file.
7185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7187 * gdb.base/vla-sideeffect.c: New file.
7188 * gdb.base/vla-sideeffect.exp: New file.
7190 2014-04-11 Yao Qi <yao@codesourcery.com>
7192 * gdb.base/completion.exp: Check file exists before running tests
7195 2014-04-10 Pedro Alves <palves@redhat.com>
7197 * gdb.base/cond-eval-mode.c: New file.
7198 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7199 prepare_for_testing to build the new file. Check result of
7201 (test_break, test_watch): New procedures.
7202 (top level): Use them.
7204 2014-04-08 Pierre Muller <muller@sourceware.org>
7206 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7207 Ctrl-V use for mingw hosts.
7209 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7211 * gdb.python/py-value.c: Improve test case.
7212 * gdb.python/py-value.exp: Add new test.
7214 2014-04-07 David Blaikie <dblaikie@gmail.com>
7216 * lib/compiler.c: Identify the clang compiler.
7217 * lib/compiler.cc: Ditto.
7219 2014-04-03 Yao Qi <yao@codesourcery.com>
7221 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7223 2014-04-01 Anton Blanchard <anton@samba.org>
7225 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7228 2014-04-01 Anton Blanchard <anton@samba.org>
7230 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7231 prepare_for_testing.
7233 2014-04-01 Anton Blanchard <anton@samba.org>
7235 * gdb.arch/ppc64-atomic-inst.c: Remove.
7236 * gdb.arch/ppc64-atomic-inst.S: New file.
7237 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7239 2014-03-31 Doug Evans <dje@google.com>
7241 * gdb.base/print-symbol-loading-lib.c: New file.
7242 * gdb.base/print-symbol-loading-main.c: New file.
7243 * gdb.base/print-symbol-loading.exp: New file.
7245 2014-03-31 Yao Qi <yao@codesourcery.com>
7247 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7249 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7251 * gdb.ada/mi_dyn_arr: New testcase.
7253 2014-03-27 Doug Evans <dje@google.com>
7255 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7257 2014-03-27 Yao Qi <yao@codesourcery.com>
7259 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7260 if target is nios2-*-*.
7262 2014-03-26 Yao Qi <yao@codesourcery.com>
7264 * lib/gdb.exp (readline_is_used): New proc.
7265 * gdb.base/completion.exp: Move tests on command complete up.
7266 Skip the rest of tests if readline is not used.
7267 * gdb.ada/complete.exp: Skp the test if readline is not
7269 * gdb.base/filesym.exp: Likewise.
7270 * gdb.base/macscp.exp: Likewise.
7271 * gdb.base/readline-ask.exp: Likewise.
7272 * gdb.base/readline.exp: Likewise.
7273 * gdb.python/py-cmd.exp: Likewise.
7274 * gdb.trace/tfile.exp: Likewise.
7276 2014-03-26 Yao Qi <yao@codesourcery.com>
7278 * gdb.base/macscp.exp: Fix code format issues.
7280 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7282 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7283 * gdb.asm/powerpc64le.inc: New file.
7285 2014-03-25 Pedro Alves <palves@redhat.com>
7286 Doug Evans <dje@google.com>
7288 * gdb.base/source-execution.c: New file.
7289 * gdb.base/source-execution.exp: New file.
7290 * gdb.base/source-execution.gdb: New file.
7292 2014-03-24 Doug Evans <dje@google.com>
7294 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7297 2014-03-24 Hui Zhu <hui@codesourcery.com>
7298 Pedro Alves <palves@redhat.com>
7300 PR breakpoints/16101
7301 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7302 test pass/fail messages. Detect missing support for dprintf when
7303 breakpoints are actually inserted.
7304 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7305 breakpoints are actually inserted.
7306 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7309 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7311 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7313 2014-03-22 Doug Evans <xdje42@gmail.com>
7315 * gdb.python/python.exp (python not supported): Verify multi-line
7316 python command issues an error.
7317 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7318 guile command issues an error.
7320 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7322 * gdb.threads/thread-specific.exp: Handle the lack of usable
7323 $this_breakpoint and $this_thread.
7325 2014-03-21 Hui Zhu <hui@codesourcery.com>
7327 * gdb.base/attach.exp (do_command_attach_tests): New.
7329 2014-03-20 Tom Tromey <tromey@redhat.com>
7330 Pedro Alves <palves@redhat.com>
7333 * gdb.base/condbreak-call-false.c: New file.
7334 * gdb.base/condbreak-call-false.exp: New file.
7336 2014-03-20 Pedro Alves <palves@redhat.com>
7338 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7340 (block_signals, unblock_signals): Delete.
7341 (child_function_2, main): Remove references to deleted variable
7344 2014-03-20 Pedro Alves <palves@redhat.com>
7346 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7347 Use pthread_kill to signal thread 2.
7348 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7349 Adjust to make the test send itself a signal rather than using the
7350 host's "kill" command.
7352 2014-03-20 Pedro Alves <palves@redhat.com>
7354 * gdb.threads/multiple-step-overs.c: New file.
7355 * gdb.threads/multiple-step-overs.exp: New file.
7356 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7357 Adjust expected infrun debug output.
7359 2014-03-20 Pedro Alves <palves@redhat.com>
7361 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7362 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7364 2014-03-20 Pedro Alves <palves@redhat.com>
7367 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7368 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7369 of gdb_test_multiple.
7370 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7371 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7373 2014-03-20 Pedro Alves <palves@redhat.com>
7375 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7376 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7378 2014-03-19 Pedro Alves <palves@redhat.com>
7380 * gdb.base/async.exp: Remove early return.
7382 2014-03-19 Pedro Alves <palves@redhat.com>
7384 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7386 2014-03-19 Pedro Alves <palves@redhat.com>
7388 * gdb.base/async.exp (test_background): Expect \r\n after
7389 "completed." in the fail pattern.
7391 2014-03-19 Pedro Alves <palves@redhat.com>
7393 * gdb.base/async.exp (test_background): New procedure.
7394 Use it for all background execution command tests.
7396 2014-03-19 Pedro Alves <palves@redhat.com>
7398 * gdb.base/async.exp: Use prepare_for_testing.
7400 2014-03-19 Pedro Alves <palves@redhat.com>
7402 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7405 2014-03-19 Pedro Alves <palves@redhat.com>
7407 * gdb.base/async.c (main): Add "jump here" and "until here" line
7409 * gdb.base/async.exp (jump_here): New global.
7410 (jump& test): Use it.
7411 (until_here): New global.
7412 (until& test): Use it.
7414 2014-03-19 Pedro Alves <palves@redhat.com>
7416 * gdb.base/async.exp: Don't frob gdb_protocol.
7418 2014-03-18 Doug Evans <xdje42@gmail.com>
7420 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7421 Fix spelling of exec-done-display.
7423 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7426 * gdb.base/gdb-sigterm.c: New file.
7427 * gdb.base/gdb-sigterm.exp: New file.
7429 2014-03-18 Pedro Alves <palves@redhat.com>
7432 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7433 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7436 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7438 * gdb.ada/pckd_arr_ren: New testcase.
7440 2014-03-13 Doug Evans <xdje42@gmail.com>
7443 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7444 collect after discarding symbols.
7446 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7447 Doug Evans <xdje42@gmail.com>
7449 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7450 to history survives a gc.
7452 2014-03-13 Pedro Alves <palves@redhat.com>
7454 * gdb.base/default.exp: Don't test "target procfs".
7456 2014-03-13 Pedro Alves <palves@redhat.com>
7458 * gdb.base/default.exp: Update "target child" and "target procfs"
7459 tests to not expect "Unix".
7461 2014-03-12 Tom Tromey <tromey@redhat.com>
7463 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7464 New procs. Add target-async tests.
7465 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7466 Add target-async tests.
7468 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7470 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7471 'func_start' and 'func_end' for the beginning and end of the
7472 function code, respectively.
7473 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7474 'func_end' instead of 'func' and 'main'.
7476 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7478 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7479 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7480 generate the debug info assembler source.
7482 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7484 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7485 * gdb.dwarf2/arr-subrange.exp: Likewise.
7486 * gdb.dwarf2/dwz.exp: Likewise.
7487 * gdb.dwarf2/method-ptr.exp: Likewise.
7488 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7489 * gdb.dwarf2/subrange.exp: Likewise.
7490 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7491 * gdb.dwarf2/implptrpiece.exp: Likewise.
7492 * gdb.dwarf2/nostaticblock.exp: Likewise.
7494 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7496 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7497 directory to absolute path name arguments.
7499 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7501 * gdb.ada/tagged_access: New testcase.
7503 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7505 * gdb.btrace/data.exp: Update expected output.
7507 2014-03-06 Yao Qi <yao@codesourcery.com>
7509 * gdb.trace/pr16508.exp: New file.
7511 2014-03-05 Pedro Alves <palves@redhat.com>
7514 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7516 (top level): Adjust to use it. Add tests that exercise breakpoint
7517 interaction with the code-cache.
7519 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7521 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7522 test for 'history-append!'.
7524 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7526 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7527 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7528 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7529 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7530 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7531 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7533 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7535 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7536 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7537 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7539 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7541 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7543 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7545 * gdb.dwarf2/arr-stride.c: New file.
7546 * gdb.dwarf2/arr-stride.exp: New file.
7548 2014-02-26 Pedro Alves <palves@redhat.com>
7550 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7551 that won't ever trigger. Make sure that GDB reports the correct
7552 breakpoint that caused the stop.
7554 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7557 * gdb.base/auto-load-script: New file.
7558 * gdb.base/auto-load.c: New file.
7559 * gdb.base/auto-load.exp: New file.
7562 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7564 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7566 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7567 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7569 2014-02-24 Doug Evans <dje@google.com>
7571 * lib/gdb.exp (run_on_host): Log error output if program fails.
7573 2014-02-21 Pedro Alves <palves@redhat.com>
7575 * gdb.threads/step-after-sr-lock.c: Rename to ...
7576 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7577 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7578 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7581 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7584 * gdb.arch/amd64-stap-special-operands.exp: New file.
7585 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7586 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7587 * gdb.arch/amd64-stap-triplet.S: Likewise.
7588 * gdb.arch/amd64-stap-triplet.c: Likewise.
7590 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7592 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7593 in .section pseudo-op.
7595 2014-02-20 lin zuojian <manjian2006@gmail.com>
7596 Joel Brobecker <brobecker@adacore.com>
7597 Doug Evans <xdje42@gmail.com>
7600 * gdb.dwarf2/dw2-icycle.S: New file.
7601 * gdb.dwarf2/dw2-icycle.c: New file.
7602 * gdb.dwarf2/dw2-icycle.exp: New file.
7604 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7606 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7607 operations on gdb.Value objects.
7608 * gdb.python/py-value-cc.exp: Add new test to test operations on
7611 2014-02-18 Doug Evans <dje@google.com>
7613 * Makefile.in (TESTS): New variable.
7614 (expanded_tests, expanded_tests_or_none): New variables
7615 (check-single): Pass $(expanded_tests_or_none) to runtest.
7616 (check-parallel): Only run tests in $(TESTS) if non-empty.
7617 (check/no-matching-tests-found): New rule.
7618 * README: Document TESTS makefile variable.
7620 2014-02-18 Doug Evans <dje@google.com>
7622 * Makefile.in (check-parallel): rm -rf outputs temp.
7624 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7626 Fix "ERROR: no fileid for" in the testsuite.
7627 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7629 2014-02-12 Doug Evans <dje@google.com>
7631 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7632 (MISCELLANEOUS): New variable.
7633 (clean): rm -rf $(MISCELLANEOUS).
7634 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7635 dwp live in the same directory as symlinks, with each symlink pointed
7636 to a differently named file in a different directory.
7638 2014-02-11 Doug Evans <dje@google.com>
7640 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7641 of Tcl file commands.
7643 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7645 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7648 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7650 * gdb.ada/tick_length_array_enum_idx: New testcase.
7652 2014-02-10 Doug Evans <xdje42@gmail.com>
7654 * configure.ac (AC_OUTPUT): Add gdb.guile.
7655 * configure: Regenerate.
7656 * lib/gdb-guile.exp: New file.
7657 * lib/gdb.exp (get_target_charset): New function.
7658 * gdb.base/help.exp: Update expected output from "apropos apropos".
7659 * gdb.guile/Makefile.in: New file.
7660 * gdb.guile/guile.exp: New file.
7661 * gdb.guile/scm-arch.c: New file.
7662 * gdb.guile/scm-arch.exp: New file.
7663 * gdb.guile/scm-block.c: New file.
7664 * gdb.guile/scm-block.exp: New file.
7665 * gdb.guile/scm-breakpoint.c: New file.
7666 * gdb.guile/scm-breakpoint.exp: New file.
7667 * gdb.guile/scm-disasm.c: New file.
7668 * gdb.guile/scm-disasm.exp: New file.
7669 * gdb.guile/scm-equal.c: New file.
7670 * gdb.guile/scm-equal.exp: New file.
7671 * gdb.guile/scm-error.exp: New file.
7672 * gdb.guile/scm-error.scm: New file.
7673 * gdb.guile/scm-frame-args.c: New file.
7674 * gdb.guile/scm-frame-args.exp: New file.
7675 * gdb.guile/scm-frame-args.scm: New file.
7676 * gdb.guile/scm-frame-inline.c: New file.
7677 * gdb.guile/scm-frame-inline.exp: New file.
7678 * gdb.guile/scm-frame.c: New file.
7679 * gdb.guile/scm-frame.exp: New file.
7680 * gdb.guile/scm-generics.exp: New file.
7681 * gdb.guile/scm-gsmob.exp: New file.
7682 * gdb.guile/scm-iterator.c: New file.
7683 * gdb.guile/scm-iterator.exp: New file.
7684 * gdb.guile/scm-math.c: New file.
7685 * gdb.guile/scm-math.exp: New file.
7686 * gdb.guile/scm-objfile-script-gdb.in: New file.
7687 * gdb.guile/scm-objfile-script.c: New file.
7688 * gdb.guile/scm-objfile-script.exp: New file.
7689 * gdb.guile/scm-objfile.c: New file.
7690 * gdb.guile/scm-objfile.exp: New file.
7691 * gdb.guile/scm-ports.exp: New file.
7692 * gdb.guile/scm-pretty-print.c: New file.
7693 * gdb.guile/scm-pretty-print.exp: New file.
7694 * gdb.guile/scm-pretty-print.scm: New file.
7695 * gdb.guile/scm-section-script.c: New file.
7696 * gdb.guile/scm-section-script.exp: New file.
7697 * gdb.guile/scm-section-script.scm: New file.
7698 * gdb.guile/scm-symbol.c: New file.
7699 * gdb.guile/scm-symbol.exp: New file.
7700 * gdb.guile/scm-symtab-2.c: New file.
7701 * gdb.guile/scm-symtab.c: New file.
7702 * gdb.guile/scm-symtab.exp: New file.
7703 * gdb.guile/scm-type.c: New file.
7704 * gdb.guile/scm-type.exp: New file.
7705 * gdb.guile/scm-value-cc.cc: New file.
7706 * gdb.guile/scm-value-cc.exp: New file.
7707 * gdb.guile/scm-value.c: New file.
7708 * gdb.guile/scm-value.exp: New file.
7709 * gdb.guile/source2.scm: New file.
7710 * gdb.guile/types-module.cc: New file.
7711 * gdb.guile/types-module.exp: New file.
7713 2014-02-10 Yao Qi <yao@codesourcery.com>
7716 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7717 * configure: Regenerated.
7718 * Makefile.in: New file.
7720 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7722 * gdb.python/py-framefilter.exp: Fix typo.
7724 2014-02-08 Yao Qi <yao@codesourcery.com>
7726 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7727 that no =breakpoint-modified is emitted when breakpoints are
7728 modified through MI commands.
7730 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7731 Pedro Alves <palves@redhat.com>
7733 * gdb.threads/step-after-sr-lock.c: New file.
7734 * gdb.threads/step-after-sr-lock.exp: New file.
7736 2014-02-07 Pedro Alves <palves@redhat.com>
7738 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7740 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7742 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7743 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7745 2014-02-06 Doug Evans <xdje42@gmail.com>
7747 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7750 * gdb.gdb/python-interrupts.exp: New file.
7752 2014-02-05 Yao Qi <yao@codesourcery.com>
7754 * gdb.trace/report.exp (use_collected_data): Test the output
7755 of "info threads" and "info inferiors".
7757 2014-02-05 Yao Qi <yao@codesourcery.com>
7761 2013-05-24 Yao Qi <yao@codesourcery.com>
7763 * gdb.trace/tfile.exp: Test inferior and thread.
7765 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7767 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7769 * gdb.base/step-bt.c: Call hello via function pointer to make
7770 sure its first instruction is executed on powerpc64le-linux.
7772 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7774 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7776 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7778 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7779 of the test patterns for use on little-endian systems.
7781 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7783 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7784 (decimal_vector): Fix for little-endian.
7786 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7788 * gdb.arch/sparc-sysstep.exp: New file.
7789 * gdb.arch/sparc-sysstep.c: Likewise.
7791 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7793 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7795 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7797 2014-01-23 Tom Tromey <tromey@redhat.com>
7799 * gdb.ada/array_char_idx: New testcase.
7801 2014-01-23 Tom Tromey <tromey@redhat.com>
7804 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7805 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7808 2014-01-23 Tom Tromey <tromey@redhat.com>
7811 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7812 string from an inferior frame.
7813 * gdb.python/py-framefilter-mi.exp: Update.
7815 2014-01-22 Doug Evans <dje@google.com>
7817 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7819 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7821 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7823 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7825 * gdb.trace/entry-values.exp: Remove excess space character from
7826 regex patterns. Handle s390 call instruction.
7828 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7830 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7831 define "*_start" label. Make "name" static.
7832 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7833 ${name} by references to ${name}_start.
7835 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7837 * gdb.base/info-macros.exp: Remove "debug" from the compile
7840 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7842 * gdb.dlang/demangle.exp: New file.
7844 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7846 * gdb.dlang/primitive-types.exp: New file.
7848 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7850 * configure.ac: Create gdb.dlang/Makefile.
7851 * configure: Regenerate.
7852 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7853 * gdb.dlang/Makefile.in: New file.
7854 * lib/d-support.exp: New file.
7855 * lib/gdb.exp (skip_d_tests): New proc.
7857 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7859 * gdb.btrace/delta.exp: Check reverse stepi.
7860 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7861 * gdb.btrace/finish.exp: New.
7862 * gdb.btrace/next.exp: New.
7863 * gdb.btrace/nexti.exp: New.
7864 * gdb.btrace/record_goto.c: Add comments.
7865 * gdb.btrace/step.exp: New.
7866 * gdb.btrace/stepi.exp: New.
7867 * gdb.btrace/multi-thread-step.c: New.
7868 * gdb.btrace/multi-thread-step.exp: New.
7869 * gdb.btrace/rn-dl-bind.c: New.
7870 * gdb.btrace/rn-dl-bind.exp: New.
7871 * gdb.btrace/data.c: New.
7872 * gdb.btrace/data.exp: New.
7873 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7875 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7877 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7878 * gdb.btrace/exception.exp: Update.
7879 * gdb.btrace/instruction_history.exp: Update.
7880 * gdb.btrace/record_goto.exp: Update.
7881 * gdb.btrace/tailcall.exp: Update.
7882 * gdb.btrace/unknown_functions.exp: Update.
7883 * gdb.btrace/delta.exp: New.
7885 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7887 * gdb.btrace/record_goto.exp: Add backtrace test.
7888 * gdb.btrace/tailcall.exp: Add backtrace test.
7890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7892 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7893 * gdb.btrace/record_goto.c: New.
7894 * gdb.btrace/record_goto.exp: New.
7895 * gdb.btrace/x86-record_goto.S: New.
7897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7899 * gdb.btrace/function_call_history.exp: Update tests.
7900 * gdb.btrace/instruction_history.exp: Update tests.
7902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7904 * gdb.btrace/function_call_history.exp: Fix expected field
7905 order for "record function-call-history".
7906 Add new tests for "record function-call-history /c".
7907 * gdb.btrace/exception.cc: New.
7908 * gdb.btrace/exception.exp: New.
7909 * gdb.btrace/tailcall.exp: New.
7910 * gdb.btrace/x86-tailcall.S: New.
7911 * gdb.btrace/x86-tailcall.c: New.
7912 * gdb.btrace/unknown_functions.c: New.
7913 * gdb.btrace/unknown_functions.exp: New.
7914 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7916 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7918 * gdb.btrace/instruction_history.exp: Update.
7919 * gdb.btrace/function_call_history.exp: Update.
7921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7923 * gdb.btrace/function_call_history.exp: Fix expected function
7925 * gdb.btrace/instruction_history.exp: Initialize traced.
7926 Remove traced_functions.
7928 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7930 * gdb.btrace/function_call_history.exp: Update
7931 * gdb.btrace/instruction_history.exp: Update.
7933 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7935 * gdb.btrace/enable.exp: Update expected text.
7937 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7939 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7942 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7944 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7946 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7948 * lib/gdb.exp (supports_process_record): Return true for
7949 arm*-linux*. (supports_reverse): Likewise.
7951 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7955 * gdb.python/py-type.c: Enhance test case.
7956 * gdb.python/py-value-cc.cc: Likewise
7957 * gdb.python/py-type.exp: Add new tests.
7958 * gdb.python/py-value-cc.exp: Likewise
7960 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7961 Pedro Alves <palves@redhat.com>
7963 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7965 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7966 references to ${name}_start by references to ${name}.
7968 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7970 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7972 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7974 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7976 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7977 Pedro Alves <palves@redhat.com>
7979 * gdb.mi/mi-info-os.exp: Connect to the target with
7982 2014-01-08 Pedro Alves <palves@redhat.com>
7984 * gdb.threads/reconnect-signal.c: New file.
7985 * gdb.threads/reconnect-signal.exp: New file.
7987 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7989 * gdb.base/source-dir.exp: New file.
7991 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7993 * gdb.ada/mi_interface: New testcase.
7995 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7997 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7998 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7999 gdb.ada/pp-rec-component/pck.ads: New files.
8001 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8003 * gdb.python/py-pp-integral.c: New file.
8004 * gdb.python/py-pp-integral.py: New file.
8005 * gdb.python/py-pp-integral.exp: New file.
8007 For older changes see ChangeLog-1993-2013.
8013 ;; version-control: never
8016 Copyright 2014-2016 Free Software Foundation, Inc.
8017 Copying and distribution of this file, with or without modification,
8018 are permitted provided the copyright notice and this notice are preserved.