1 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5 * gdb.trace/ftrace.exp: Likewise.
6 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9 (gdb_load_shlibs): Copy libraries to test directory when testing
10 natively. Only set solib-search-path if testing remotely.
11 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
16 gdb_download. Use it even if the target is not remote.
17 * gdb.base/jit.exp (compile_jit_test): Likewise.
18 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
19 output directory if the destination board is local, otherwise use
20 the standard remote_download from DejaGnu.
21 (gdb_download): Remove.
22 (gdb_load_shlibs): Use gdb_remote_download instead of
24 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
25 Use gdb_remote_download instead of gdb_download. Use it even if
26 the target is not remote.
27 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
28 instead of gdb_download.
30 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
32 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
33 (test_insert_delete_modify): Call mi_load_shlibs before trying to
36 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
39 * gdb.base/printcmds.exp: Add artificial arrays tests.
41 2016-03-31 Pedro Alves <palves@redhat.com>
44 * gdb.base/jit-main.c: Include unistd.h.
45 (ATTACH): Define to 0 if not already defined.
46 (wait_for_gdb, mypid): New globals.
47 (WAIT_FOR_GDB): New macro.
48 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
49 some breakpoint locations.
50 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
52 (one_jit_test): Add REATTACH parameter, and handle it. Use
53 continue_to_test_location.
54 (top level): Test attach, and adjusts calls to one_jit_test.
56 2016-03-31 Pedro Alves <palves@redhat.com>
59 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
60 BINSUFFIX parameter, and handle it.
61 (top level): Adjust calls compile_jit_test.
63 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
66 * gdb.python/py-mi-events-gdb.py: New file.
67 * gdb.python/py-mi-events.c: New file.
68 * gdb.python/py-mi-events.exp: New file.
70 2016-03-30 Yao Qi <yao.qi@linaro.org>
72 * gdb.reverse/until-precsave.exp: Match function name only.
73 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
74 Move malloc to a condition block.
75 * gdb.reverse/until-reverse.exp: Match function name only.
77 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
79 * gdb.trace/ftrace.exp: Set arg0exp for s390.
80 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
81 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
82 variable for GPR 0 instead of assuming it is register 0.
83 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
84 * lib/trace-support.exp: Add s390 registers.
86 2016-03-29 Yao Qi <yao.qi@linaro.org>
88 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
90 2016-03-24 Yao Qi <yao.qi@linaro.org>
92 * gdb.reverse/break-reverse.exp: Add quotation mark in the
95 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
97 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
98 maintaining separate logic for constructing the output path.
100 2016-03-16 Don Breazeal <donb@codesourcery.com>
102 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
103 Retry fork and waitpid on interrupted system call errors.
104 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
105 Use with_timeout_factor to increase timeout by factor of 10.
107 2016-03-15 Don Breazeal <donb@codesourcery.com>
109 * gdb.cp/scope-err.cc: New test program.
110 * gdb.cp/scope-err.exp: New test script.
111 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
112 lines and "set breakpoint here" comment.
113 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
114 Fixed some whitespace and format issues.
115 * gdb.mi/mi-linespec-err-cp.cc: New test program.
116 * gdb.mi/mi-linespec-err-cp.exp: New test script.
118 2016-03-15 Doug Evans <dje@google.com>
120 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
121 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
122 All callers updated. Add tests for enums, mixed flags register.
124 2016-03-15 Doug Evans <dje@google.com>
126 * gdb.base/skip.c (main): Call test_skip_file_and_function.
127 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
129 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
131 * gdb.base/default.exp: Add $_as_string to the list of expected
132 convenience functions.
134 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
136 * gdb.base/maint.exp: New tests for 'maint info line-table'.
138 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
140 * gdb.python/py-as-string.exp: New file.
141 * gdb.python/py-as-string.c: New file.
143 2016-03-09 Pedro Alves <palves@redhat.com>
145 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
146 signal" -> "Thread NN received signal" output change.
147 * gdb.threads/ia64-sigill.exp: Likewise.
148 * gdb.threads/linux-dp.exp: Likewise.
149 * gdb.threads/manythreads.exp: Likewise.
150 * gdb.threads/pending-step.exp: Likewise.
151 * gdb.threads/print-threads.exp: Likewise.
152 * gdb.threads/sigstep-threads.exp: Likewise.
153 * gdb.threads/staticthreads.exp: Likewise.
154 * gdb.threads/tls.exp: Likewise.
156 2016-03-09 Pedro Alves <palves@redhat.com>
158 * gdb.base/command-line-input.exp: New file.
160 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
162 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
163 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
164 * gdb.trace/pending.exp: Accept leading dot before function name.
165 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
166 * lib/trace-support.exp: Set registers for ppc.
168 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
170 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
171 use it for disassembly; accept .main in addition to main in backtrace.
173 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
174 Marcin Kościelnicki <koriakin@0x04.net>
176 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
177 (gdb_recursion_test_ptr): New global variable.
178 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
182 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
184 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
187 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
189 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
190 (bar): Add bar_start_lbl label.
191 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
192 of foo/bar for emitting DWARF and tracing.
194 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
196 * analyze-racy-logs.py: Set executable bit.
198 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
200 * Makefile.in (DEFAULT_RACY_ITER): New variable.
201 (CHECK_TARGET_TMP): Likewise.
202 (check-single-racy): New rule.
203 (check-parallel-racy): Likewise.
204 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
205 (do-check-parallel-racy): New rule.
206 (check-racy/%.exp): Likewise.
207 * README (Racy testcases): New section.
208 * analyze-racy-logs.py: New file.
210 2016-03-03 Doug Evans <dje@google.com>
212 * gdb.base/skip.exp: Use with_test_prefix.
214 2016-03-03 Yao Qi <yao.qi@linaro.org>
216 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
217 Invoke step_over_syscall "clone" and break_cond_on_syscall
219 * gdb.base/step-over-clone.c: New file.
221 2016-03-03 Yao Qi <yao.qi@linaro.org>
223 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
226 2016-03-03 Yao Qi <yao.qi@linaro.org>
228 * gdb.base/disp-step-fork.c: Rename to ...
229 * gdb.base/step-over-fork.c: ... it. New file.
230 * gdb.base/disp-step-vfork.c: Rename to ...
231 * gdb.base/step-over-vfork.c: ... it. New file.
232 * gdb.base/disp-step-syscall.exp: Rename to ...
233 * gdb.base/step-over-syscall.exp: ... it. New file.
234 (disp_step_cross_syscall): Rename to ...
235 (step_over_syscall): ... it.
237 2016-03-03 Yao Qi <yao.qi@linaro.org>
239 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
240 If target supports condition evaluation on target, invoke
241 break_cond_on_syscall for fork and vfork.
243 2016-03-03 Yao Qi <yao.qi@linaro.org>
245 * gdb.base/disp-step-syscall.exp: Don't invoke
246 support_displaced_stepping.
247 (disp_step_cross_syscall): Test with displaced stepping off and
250 2016-03-03 Yao Qi <yao.qi@linaro.org>
252 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
255 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
258 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
260 * gdb.fortran/vla-history.exp: Remove breakpoint.
262 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
264 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
266 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
268 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
270 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
272 * gdb.mi/vla.f90: Nullify pointer after declaration.
274 2016-03-01 Pedro Alves <palves@redhat.com>
276 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
278 2016-03-01 Pedro Alves <palves@redhat.com>
280 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
281 before anything else.
282 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
284 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
285 before anything else.
286 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
288 2016-03-01 Pedro Alves <palves@redhat.com>
290 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
292 2016-03-01 Yao Qi <yao.qi@linaro.org>
294 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
297 2016-03-01 Yao Qi <yao.qi@linaro.org>
299 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
301 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
303 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
304 manually constructing the output path.
306 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
308 * gdb.arch/s390-stackless.S: New.
309 * gdb.arch/s390-stackless.exp: New.
311 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
313 * gdb.dlang/circular.c: New file.
314 * gdb.dlang/circular.exp: New file.
316 2016-02-26 Yao Qi <yao.qi@linaro.org>
318 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
319 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
322 2016-02-26 Yao Qi <yao.qi@linaro.org>
324 * gdb.reverse/aarch64.c: Rename to ...
325 * gdb.reverse/insn-reverse.c: ... it.
326 * gdb.reverse/aarch64.exp: Rename to ...
327 * gdb.reverse/insn-reverse.exp: ... it.
329 2016-02-26 Yao Qi <yao.qi@linaro.org>
331 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
332 (testcase_ftype): New.
333 (testcases): New array.
335 (main): Call each element in testcases.
336 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
337 (read_testcase): New.
338 Do the tests in a loop.
340 2016-02-25 Yao Qi <yao.qi@linaro.org>
342 * gdb.base/branches.c: Remove.
344 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
347 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
349 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
351 * gdb.trace/ftrace.exp: Remove unnecessary target check.
353 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
355 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
356 change x86_64 call_insn to 'callq'.
358 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
360 * gdb.trace/tfile-avx.c: Move to...
361 * gdb.trace/tracefile-pseudo-reg.c: Here.
362 * gdb.trace/tfile-avx.exp: Move to...
363 * gdb.trace/tracefile-pseudo-reg.exp: Here.
365 2016-02-24 Gary Benson <gbenson@redhat.com>
367 * gdb.base/attach-pie-noexec.exp: Do not expect an error
370 2016-02-23 Doug Evans <dje@google.com>
372 * gdb.base/skip.c (test_skip): New function.
373 (end_test_skip_file_and_function): New function.
374 (test_skip_file_and_function): New function.
375 * gdb.base/skip1.c (test_skip): New function.
376 (skip1_test_skip_file_and_function): New function.
377 * gdb.base/skip.exp: Add tests for new skip options.
378 * gdb.base/skip-solib.exp: Update expected output.
379 * gdb.perf/skip-command.cc: New file.
380 * gdb.perf/skip-command.exp: New file.
381 * gdb.perf/skip-command.py: New file.
383 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
385 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
386 info registers pattern.
388 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
390 * lib/future.exp: Add D support.
391 (gdb_find_gdc): New proc.
392 (gdb_default_target_compile): Add D support.
394 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
396 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
398 (trace_speed_test): Determine the iteration count for a time
399 between 15..30 seconds.
401 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
403 * gdb.arch/i386-mpx-sigsegv.c: New file.
404 * gdb.arch/i386-mpx-sigsegv.exp: New file.
405 * gdb.arch/i386-mpx-simple_segv.c: New file.
406 * gdb.arch/i386-mpx-simple_segv.exp: New file.
408 2016-02-18 Yao Qi <yao.qi@linaro.org>
410 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
411 Don't call setup_kfail.
413 2016-02-18 Yao Qi <yao.qi@linaro.org>
415 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
416 Set "set breakpoint condition-evaluation" per $cond_bp_target.
418 2016-02-16 Doug Evans <dje@google.com>
420 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
421 * gdb.base/skip1.c: Ditto.
422 * gdb.base/skip.exp: Whitespace cleanup.
424 2016-02-16 Don Breazeal <donb@codesourcery.com>
427 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
428 Remove kfail for PR remote/19496.
430 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
432 * lib/gdb.exp (standard_temp_file): Return a path specific to
433 the runtest invocation.
435 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
437 * gdb.trace/save-trace.exp: Change relative path to be in the
438 standard output directory.
440 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
442 * gdb.arch/i386-prologue.c: Add missing prototypes.
444 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
446 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
447 * gdb.arch/i386-prologue.exp: Likewise.
448 * gdb.arch/i386-size.exp: Likewise.
450 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
452 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
453 define object file path.
454 * gdb.btrace/gcore.exp: Use standard_output_file to define core
456 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
457 standard_output_file to define binfile.
459 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
461 Fix compatibility with recent gfortran-5.3.1.
462 * gdb.fortran/vla-history.exp (print vla1 allocated)
463 (print vla2 allocated, print $2, print $3): Remove
464 (print $4): Rename to ...
465 (print $2): ... here.
466 (print $9): Rename to ...
467 (print $5): ... here.
468 (print $10): Rename to ...
469 (print $6): ... here.
470 * gdb.fortran/vla.f90: Add pvla initialization.
472 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
474 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
476 * gdb.fortran/vla-value-sub.exp: Likewise.
478 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
480 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
482 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
484 * i386-biarch-core.exp: Define corefile using
485 standard_output_file.
487 2016-02-12 Yao Qi <yao.qi@linaro.org>
489 * gdb.arch/arm-single-step-kernel-helper.c: New.
490 * gdb.arch/arm-single-step-kernel-helper.exp: New.
492 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
494 * gdb.btrace/tailcall-only.exp: New.
495 * gdb.btrace/tailcall-only.c: New.
496 * gdb.btrace/x86_64-tailcall-only.S: New.
497 * gdb.btrace/i686-tailcall-only.S: New.
499 2016-02-11 Pedro Alves <palves@redhat.com>
501 * README (Parallel testing): Add missing double quotes.
503 2016-02-11 Pedro Alves <palves@redhat.com>
505 * README (Parallel testing): New section.
506 (GDB_PARALLEL): Rewrite.
507 (FORCE_PARALLEL): Document.
509 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
511 * gdb.trace/tfile-avx.c: New test.
512 * gdb.trace/tfile-avx.exp: New test.
514 2016-02-09 Keith Seitz <keiths@redhat.com>
517 * gdb.base/infcall-exec.c: New file.
518 * gdb.base/infcall-exec2.c: New file.
519 * gdb.base/infcall-exec.exp: New file.
521 2016-02-09 Keith Seitz <keiths@redhat.com>
523 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
524 (toplevel): Call test_bkpt_address.
526 2016-02-09 Keith Seitz <keiths@redhat.com>
529 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
530 (toplevel): Call test_bkpt_address.
532 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
534 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
536 * configure: Regenerate.
538 2016-02-09 Pedro Alves <palves@redhat.com>
541 * gdb.base/execl-update-breakpoints.c (some_function): New
544 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
545 Tighten expected GDB output.
547 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
549 * Makefile.in (ALL_SUBDIRS): Remove.
550 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
551 (distclean maintainer-clean realclean): Likewise.
552 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
553 * configure: Regenerate.
554 * gdb.ada/Makefile.in: Delete.
555 * gdb.arch/Makefile.in: Likewise.
556 * gdb.asm/Makefile.in: Likewise.
557 * gdb.base/Makefile.in: Likewise.
558 * gdb.btrace/Makefile.in: Likewise.
559 * gdb.cell/Makefile.in: Likewise.
560 * gdb.compile/Makefile.in: Likewise.
561 * gdb.cp/Makefile.in: Likewise.
562 * gdb.disasm/Makefile.in: Likewise.
563 * gdb.dlang/Makefile.in: Likewise.
564 * gdb.dwarf2/Makefile.in: Likewise.
565 * gdb.fortran/Makefile.in: Likewise.
566 * gdb.gdb/Makefile.in: Likewise.
567 * gdb.go/Makefile.in: Likewise.
568 * gdb.guile/Makefile.in: Likewise.
569 * gdb.java/Makefile.in: Likewise.
570 * gdb.linespec/Makefile.in: Likewise.
571 * gdb.mi/Makefile.in: Likewise.
572 * gdb.modula2/Makefile.in: Likewise.
573 * gdb.multi/Makefile.in: Likewise.
574 * gdb.objc/Makefile.in: Likewise.
575 * gdb.opencl/Makefile.in: Likewise.
576 * gdb.opt/Makefile.in: Likewise.
577 * gdb.pascal/Makefile.in: Likewise.
578 * gdb.perf/Makefile.in: Likewise.
579 * gdb.python/Makefile.in: Likewise.
580 * gdb.reverse/Makefile.in: Likewise.
581 * gdb.server/Makefile.in: Likewise.
582 * gdb.stabs/Makefile.in: Likewise.
583 * gdb.threads/Makefile.in: Likewise.
584 * gdb.trace/Makefile.in: Likewise.
585 * gdb.xml/Makefile.in: Likewise.
586 * lib/gdb.exp (make_gdb_parallel_path): Add check for
588 (standard_output_file): Remove check for GDB_PARALLEL, always
589 return path in outputs/$subdir/$testname.
591 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
593 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
594 (site.exp): Assign abs_srcdir to tcl's srcdir.
596 2016-02-04 Yao Qi <yao.qi@linaro.org>
598 * gdb.base/foll-exec-mode.c: Include limits.h.
599 (main): Add parameters argc and argv. Get directory from
601 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
603 * gdb.base/foll-exec.c: Include limits.h.
604 (main): Add parameters argc and argv.
605 Get directory from argv[0].
606 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
607 Adjust tests on the number of lines as source code changed.
608 * gdb.base/foll-vfork-exit.c: Include limits.h.
609 (main): Add one line of statement before vfork.
610 * gdb.base/foll-vfork.c: Include limits.h and string.h.
611 (main): Add parameters argc and argv. Get directory from
613 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
614 (setup_gdb): Set tbreak to skip some source lines.
615 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
616 (main): Add parameters argc and argv. Get directory from
618 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
620 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
621 (main): Add parameters argc and argv. Get directory from
623 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
626 2016-02-01 Doug Evans <dje@google.com>
628 * gdb.base/skip.exp: Clean up multiple references to same test name.
630 2016-02-01 Pedro Alves <palves@redhat.com>
633 * gdb.threads/forking-threads-plus-breakpoint.exp
634 (displaced_stepping_supported): New global.
635 (probe_displaced_stepping_support): New procedure.
636 (do_test): Add 'displaced' parameter, and use it.
637 (top level): Check for displaced stepping support. Add displaced
638 stepping on/off testing axis.
640 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
642 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
643 pointer. Don't perform further tests on the unassociated pointer
644 if the first test fails.
646 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
648 * gdb.base/max-value-size.c: New file.
649 * gdb.base/max-value-size.exp: New file.
650 * gdb.base/huge.exp: Disable max-value-size for this test.
652 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
654 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
656 2016-01-28 Yao Qi <yao.qi@linaro.org>
658 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
660 2016-01-25 Pedro Alves <palves@redhat.com>
663 * gdb.base/fork-running-state.c: New file.
664 * gdb.base/fork-running-state.exp: New file.
666 2016-01-25 Pedro Alves <palves@redhat.com>
669 * gdb.base/catch-fork-kill.c: New file.
670 * gdb.base/catch-fork-kill.exp: New file.
672 2016-01-25 Pedro Alves <palves@redhat.com>
674 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
675 Delete, moved to lib/gdb.exp.
676 * gdb.threads/forking-threads-plus-breakpoint.exp
677 (foreach_with_prefix): Likewise.
678 * gdb.threads/process-dies-while-handling-bp.exp
679 (foreach_with_prefix): Likewise.
680 * lib/gdb.exp (foreach_with_prefix): New procedure.
682 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
684 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
685 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
687 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
689 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
692 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
693 Pedro Alves <palves@redhat.com>
695 Fix testsuite compatibility with Guile.
696 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
699 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
701 Fix testsuite compatibility with Guile.
702 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
703 (thread 1): New test for backtrace through signal handler.
705 2016-01-22 Yao Qi <yao.qi@linaro.org>
708 * gdb.base/multi-forks.c: Include
709 ../lib/unbuffer_output.c
710 (main): Call gdb_unbuffer_output.
712 2016-01-21 Doug Evans <dje@google.com>
714 * lib/ada.exp (gdb_compile_ada): Fix typo.
716 2016-01-21 Joel Brobecker <brobecker@adacore.com>
718 * gdb.base/break-fun-addr.exp: New file.
719 * gdb.base/break-fun-addr1.c: New file.
720 * gdb.base/break-fun-addr2.c: New file.
722 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
724 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
725 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
728 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
730 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
731 when GDB can not set the vector return value. Add more comments
734 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
736 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
739 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
741 * Makefile.in (DO_RUNTEST): Add --status and update usages.
743 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
745 * Makefile.in (check-single): Pass --status to runtest.
746 (check/%.exp): Likewise.
748 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
750 * Makefile.in (check-parallel): Propagate return code from make
753 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
755 * gdb.trace/ftrace.exp: Fix expected message on continue.
756 * gdb.trace/pending.exp: Fix expected message on continue.
757 * gdb.trace/trace-break.exp: Fix expected message on continue.
759 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
761 * lib/gdb.exp (gdb_test): Remove unused global references.
763 2016-01-18 Pedro Alves <palves@redhat.com>
765 * gdb.base/async-shell.exp: Adjust expected output.
766 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
767 * gdb.base/siginfo-thread.exp: Adjust expected output.
768 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
769 * gdb.java/jnpe.exp: Adjust expected output.
770 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
771 * gdb.threads/continue-pending-status.exp: Adjust expected output.
772 * gdb.threads/leader-exit.exp: Adjust expected output.
773 * gdb.threads/manythreads.exp: Adjust expected output.
774 * gdb.threads/pthreads.exp: Adjust expected output.
775 * gdb.threads/schedlock.exp: Adjust expected output.
776 * gdb.threads/siginfo-threads.exp: Adjust expected output.
777 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
779 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
781 * gdb.threads/sigthread.exp: Adjust expected output.
782 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
784 2016-01-18 Yao Qi <yao.qi@linaro.org>
786 * gdb.guile/scm-section-script.c: Replace @progbits with
788 * gdb.python/py-section-script.c: Likewise.
790 2016-01-15 Pedro Alves <palves@redhat.com>
792 * gdb.multi/tids.exp: Test star wildcard ranges.
794 2016-01-15 Pedro Alves <palves@redhat.com>
796 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
797 command from "thread apply" invocation.
798 (thr_apply_info_thr_invalid): Default the expected output to the
800 (top level): Add tests that use convenience variables. Add tests
801 for "thread apply" with a valid TID list, but missing the command.
803 2016-01-13 Pedro Alves <palves@redhat.com>
805 * gdb.base/default.exp: Expect $_gthread as well.
806 * gdb.multi/tids.exp: Test $_gthread.
807 * gdb.threads/thread-specific.exp: Test $_gthread.
809 2016-01-13 Pedro Alves <palves@redhat.com>
811 * gdb.multi/tids.exp: Test "info threads -gid".
813 2016-01-13 Pedro Alves <palves@redhat.com>
815 * gdb.multi/tids.exp: Test InferiorThread.global_num and
817 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
819 2016-01-07 Pedro Alves <palves@redhat.com>
821 * gdb.base/break.exp: Adjust to output changes.
822 * gdb.base/hbreak2.exp: Likewise.
823 * gdb.base/sepdebug.exp: Likewise.
824 * gdb.base/watch_thread_num.exp: Likewise.
825 * gdb.linespec/keywords.exp: Likewise.
826 * gdb.multi/info-threads.exp: Likewise.
827 * gdb.threads/thread-find.exp: Likewise.
828 * gdb.multi/tids.c: New file.
829 * gdb.multi/tids.exp: New file.
831 2016-01-13 Pedro Alves <palves@redhat.com>
833 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
835 2016-01-13 Pedro Alves <palves@redhat.com>
837 * gdb.base/default.exp: Expect $_inferior as well.
838 * gdb.multi/base.exp: Test $_inferior.
840 2016-01-13 Pedro Alves <palves@redhat.com>
843 * gdb.base/catch-signal-siginfo-cond.c: New file.
844 * gdb.base/catch-signal-siginfo-cond.exp: New file.
846 2016-01-12 Josh Stone <jistone@redhat.com>
847 Philippe Waroquiers <philippe.waroquiers@skynet.be>
849 * gdb.base/catch-syscall.c (do_execve): New variable.
850 (main): Conditionally trigger an execve.
851 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
852 (test_catch_syscall_execve): New, check entry/return across execve.
853 (do_syscall_tests): Call test_catch_syscall_execve.
855 2016-01-12 Pedro Alves <palves@redhat.com>
857 * gdb.base/random-signal.exp (do_test): New procedure, with body
858 of testcase moved in.
860 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
861 Pedro Alves <palves@redhat.com>
863 * gdb.base/funcargs.exp (finish from indirectly called function):
864 Reintroduce the case for 'First'.
866 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
867 Pedro Alves <palves@redhat.com>
869 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
870 (tcatch_vfork_then_child_follow_exec)
871 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
874 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
876 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
877 and repeats to unlimited.
878 * gdb.python/py-value.exp: Likewise.
879 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
880 and repeats to unlimited.
882 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
884 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
885 and reordering the functions.
886 * gdb.multi/hangout.c: Likewise.
887 * gdb.multi/hello.c: Likewise.
889 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
891 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
893 (SingleStatisticTestResult.report): Use dict.keys instead of
896 2016-01-06 Pedro Alves <palves@redhat.com>
898 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
900 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
902 * gdb.btrace/dlopen.exp: New.
903 * gdb.btrace/dlopen.c: New.
904 * gdb.btrace/dlopen-dso.c: New.
906 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
908 * lib/gdb.exp (gdb_test): Update comments to clarify that the
909 PATTERN argument is optional.
911 2015-12-24 Joel Brobecker <brobecker@adacore.com>
913 * lib/ada.exp (target_compile_ada_from_dir): New function.
914 (gdb_compile_ada): Reimplement avoiding the use of project files.
915 * gdb.ada/gnat_ada.gpr: Delete.
916 * gdb.ada/cond_lang.exp: Adjust test to make path before
918 * gdb.ada/small_reg_param.exp: Likewise.
920 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
922 * gdb.base/foll-vork.exp: Remove HP-UX special case.
924 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
926 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
929 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
931 * gdb.base/break.exp: Remove dead code.
932 * gdb.base/sepdebug.exp: Likewise.
934 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
936 * gdb.asm/asm-source.exp: Remove HP-UX references.
937 * gdb.base/annota1.exp: Likewise.
938 * gdb.base/annota3.exp: Likewise.
939 * gdb.base/attach.exp: Likewise.
940 * gdb.base/bigcore.exp: Likewise.
941 * gdb.base/break.exp: Likewise.
942 * gdb.base/call-ar-st.exp: Likewise.
943 * gdb.base/callfuncs.exp: Likewise.
944 * gdb.base/catch-fork-static.exp: Likewise.
945 * gdb.base/display.exp: Likewise.
946 * gdb.base/foll-exec-mode.exp: Likewise.
947 * gdb.base/foll-exec.exp: Likewise.
948 * gdb.base/foll-fork.exp: Likewise.
949 * gdb.base/foll-vfork.exp: Likewise.
950 * gdb.base/funcargs.exp: Likewise.
951 * gdb.base/hbreak2.exp: Likewise.
952 * gdb.base/inferior-died.exp: Likewise.
953 * gdb.base/interrupt.exp: Likewise.
954 * gdb.base/multi-forks.exp: Likewise.
955 * gdb.base/nodebug.exp: Likewise.
956 * gdb.base/sepdebug.exp: Likewise.
957 * gdb.base/solib1.c: Likewise.
958 * gdb.base/step-test.exp: Likewise.
959 * gdb.mi/non-stop.c: Likewise.
960 * gdb.mi/pthreads.c: Likewise.
961 * gdb.multi/bkpt-multi-exec.ex: Likewise.
962 * gdb.threads/pthreads.c: Likewise.
963 * gdb.threads/staticthreads.exp: Likewise.
964 * lib/future.exp: Likewise.
965 * lib/gdb.exp: Likewise.
966 * gdb.base/so-indr-cl.c: Remove.
967 * gdb.base/so-indr-cl.exp: Likewise.
968 * gdb.base/solib.c: Likewise.
969 * gdb.base/solib.exp: Likewise.
970 * gdb.base/solib2.c: Likewise.
972 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
974 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
975 * gdb.base/call-ar-st.exp: Likewise.
976 * gdb.base/callfuncs.exp: Likewise.
977 * gdb.base/condbreak.exp: Likewise.
978 * gdb.base/constvars.exp: Likewise.
979 * gdb.base/hbreak2.exp: Likewise.
980 * gdb.base/langs.exp: Likewise.
981 * gdb.base/list.exp: Likewise.
982 * gdb.base/long_long.exp: Likewise.
983 * gdb.base/ptype.exp: Likewise.
984 * gdb.base/scope.exp: Likewise.
985 * gdb.base/signals.exp: Likewise.
986 * gdb.base/so-impl-ld.exp: Likewise.
987 * gdb.base/varargs.exp: Likewise.
988 * gdb.base/volatile.exp: Likewise.
989 * gdb.base/whatis.exp: Likewise.
990 * gdb.cp/cplusfuncs.exp: Likewise.
991 * gdb.cp/inherit.exp: Likewise.
992 * gdb.cp/local.exp: Likewise.
993 * gdb.cp/member-ptr.exp: Likewise.
994 * gdb.cp/method.exp: Likewise.
995 * gdb.cp/overload.exp: Likewise.
996 * gdb.cp/templates.exp: Likewise.
997 * gdb.stabs/weird.exp: Likewise.
998 * lib/compiler.c: Likewise.
999 * lib/compiler.cc: Likewise.
1000 * lib/cp-support.exp: Likewise.
1001 * lib/gdb.exp: Likewise.
1003 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1005 * configure.ac: Remove HP-UX case.
1006 * configure: Regenerate.
1008 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1010 * lib/gdb.exp (gdb_compile): Add function doc.
1012 2015-12-17 Pedro Alves <palves@redhat.com>
1015 * gdb.multi/info-threads.exp: New file.
1017 2015-12-15 Yao Qi <yao.qi@linaro.org>
1019 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1022 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1024 * gdb.base/history-duplicates.exp: Skip if no readline support.
1026 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1028 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1030 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1032 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1034 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1036 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1037 ctrl-C if nointerrupts target property is set.
1038 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1039 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1040 * gdb.base/paginate-bg-execution.exp: Likewise.
1041 * gdb.base/paginate-execution-startup.exp: Likewise.
1042 * gdb.base/random-signal.exp: Likewise.
1043 * gdb.base/range-stepping.exp: Likewise.
1044 * gdb.cp/annota2.exp: Likewise.
1045 * gdb.cp/annota3.exp: Likewise.
1046 * gdb.gdb/selftest.exp: Likewise.
1047 * gdb.threads/continue-pending-status.exp: Likewise.
1048 * gdb.threads/leader-exit.exp: Likewise.
1049 * gdb.threads/manythreads.exp: Likewise.
1050 * gdb.threads/pthreads.exp: Likewise.
1051 * gdb.threads/schedlock.exp: Likewise.
1052 * gdb.threads/sigthread.exp: Likewise.
1054 2015-12-11 Don Breazeal <donb@codesourcery.com>
1056 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1058 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1059 * gdb.base/foll-exec.exp (main): Enable for target remote.
1060 * gdb.base/foll-fork.exp (main): Likewise.
1061 * gdb.base/foll-vfork.exp (main): Likewise.
1062 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1063 (proc continue_to_exit_bp_loc): Use clean_restart.
1064 * gdb.base/pie-execl.exp (main): Disable for target remote.
1065 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1066 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1067 * gdb.threads/execl.exp (main): Likewise.
1068 * gdb.threads/fork-child-threads.exp (main): Likewise.
1069 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1071 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1073 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1074 pid.tid style ptids, instead of just tid.
1075 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1076 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1077 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1078 ptids, instead of just tid.
1080 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * gdb.base/list.exp (test_list_forward): Add end of file error
1084 (test_repeat_list_command): Add end of file error test.
1085 (test_list_backwards): Add beginning of file error test.
1087 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1089 * gdb.base/list.exp (test_list_invalid_args): New function,
1090 defined, and called.
1092 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1094 * gdb.base/list.exp (test_list): Make test names unique.
1096 2015-12-11 Yao Qi <yao.qi@linaro.org>
1098 * gdb.base/coremaker2.c: Remove.
1100 2015-12-10 Pedro Alves <palves@redhat.com>
1102 * gdb.multi/base.exp: Remove stale "spaces" references.
1104 2015-12-10 Pedro Alves <palves@redhat.com>
1106 * gdb.multi/base.exp: Don't use nowarnings.
1107 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1108 * gdb.multi/hangout.c: Include stdio.h.
1109 * gdb.multi/hello.c: Include stdlib.h.
1110 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1111 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1112 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1114 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1116 * gdb.dwarf2/dw2-ranges-base.c: New file.
1117 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1118 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1119 support additional line table, and debug ranges generation.
1120 (Dwarf::ranges): New function, generate .debug_ranges.
1121 (Dwarf::lines): Support generating simple line table programs.
1122 (Dwarf::assemble): Initialise new namespace variables.
1124 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1126 * gdb.base/async.exp (proc test_background): Add case for
1127 asynchronous execution not supported.
1129 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1131 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1132 format and change test names to make them unique.
1134 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1135 Pedro Alves <pedro@redhat.com>
1138 Add checking of floatformats setup on x86_64 hosts.
1139 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1140 (smallval, bigval): New labels/constants.
1141 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1142 float" after loading bigval and smallval.
1144 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1146 * gdb.ada/fun_overload_menu.exp: New testcase.
1147 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1149 2015-12-04 Josh Stone <jistone@redhat.com>
1151 * gdb.base/catch-fork-static.exp: New.
1153 2015-12-03 Yao Qi <yao.qi@linaro.org>
1155 * gdb.base/sizeof.c: Don't include stdio.h and
1156 ../lib/unbuffer_output.c.
1157 (main): New variable 'size' and 'value'. Remove printf and
1158 gdb_unbuffer_output. Assign return value to size and value.
1159 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1161 (check_sizeof): Check the result by printing variable 'size'.
1162 (check_valueof): Check the result by printing variable 'value'.
1164 2015-12-01 Yao Qi <yao.qi@linaro.org>
1166 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1167 for aarch64*-*-linux* target.
1169 2015-11-30 Pedro Alves <palves@redhat.com>
1171 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1173 2015-11-30 Pedro Alves <palves@redhat.com>
1175 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1176 Handle non-stop mode vCont replies.
1178 2015-11-30 Pedro Alves <palves@redhat.com>
1180 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1181 prepare_for_testing. Start gdb with "set non-stop on" appended to
1182 GDBFLAGS. Lax expected stop output.
1184 2015-11-27 Yao Qi <yao.qi@linaro.org>
1186 * gdb.arch/arm-neon.exp: New.
1187 * gdb.arch/arm-neon.c: New.
1189 2015-11-27 Yao Qi <yao.qi@linaro.org>
1191 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1193 2015-11-27 Yao Qi <yao.qi@linaro.org>
1195 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1196 frames-invalid annotation.
1198 2015-11-27 Yao Qi <yao.qi@linaro.org>
1200 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1202 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1204 * gdb.threads/names.exp: New file.
1205 * gdb.threads/names.c: New file.
1206 * README: Mention gdb,no_thread_names.
1208 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1211 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1214 2015-11-24 Pedro Alves <palves@redhat.com>
1217 * gdb.base/display.exp: Expect displays to be sorted in ascending
1218 order. Use multi_line.
1219 * gdb.base/solib-display.exp: Likewise.
1221 2015-11-24 Pedro Alves <palves@redhat.com>
1224 * gdb.base/display.exp: Expect displays to be sorted in ascending
1225 order. Use multi_line.
1226 * gdb.base/solib-display.exp: Likewise.
1228 2015-11-24 Pedro Alves <palves@redhat.com>
1231 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1232 threads in ascending order.
1233 * gdb.base/foll-fork.exp: Likewise.
1234 * gdb.base/foll-vfork.exp: Likewise.
1235 * gdb.base/multi-forks.exp: Likewise.
1236 * gdb.mi/mi-nonstop.exp: Likewise.
1237 * gdb.mi/mi-nsintrall.exp: Likewise.
1238 * gdb.multi/base.exp: Likewise.
1239 * gdb.multi/multi-arch.exp: Likewise.
1240 * gdb.python/py-inferior.exp: Likewise.
1241 * gdb.threads/break-while-running.exp: Likewise.
1242 * gdb.threads/execl.exp: Likewise.
1243 * gdb.threads/gcore-thread.exp: Likewise.
1244 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1245 * gdb.threads/kill.exp: Likewise.
1246 * gdb.threads/linux-dp.exp: Likewise.
1247 * gdb.threads/multiple-step-overs.exp: Likewise.
1248 * gdb.threads/next-bp-other-thread.exp: Likewise.
1249 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1250 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1251 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1252 * gdb.threads/thread-find.exp: Likewise.
1253 * gdb.threads/tls.exp: Likewise.
1254 * lib/mi-support.exp (mi_reverse_list): Delete.
1255 (mi_check_thread_states): No longer reverse list.
1257 2015-11-24 Pedro Alves <palves@redhat.com>
1259 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1262 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1264 * gdb.trace/actions.c: Include trace-common.h.
1265 (main): Add a location for a fast tracepoint.
1266 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1267 the normal tracepoints.
1268 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1270 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1272 * save-trace.exp: Factor out code to these...
1273 (gdb_save_tracepoints): New.
1274 (gdb_load_tracepoints): New.
1275 (do_save_load_test): New.
1277 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1279 * gdb.base/asmlabel.exp: New test.
1280 * gdb.base/asmlabel.c: New test case.
1282 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1284 * gdb.base/wrong_frame_bt_full-main.c: New file.
1285 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1286 * gdb.base/wrong_frame_bt_full.exp: New file.
1288 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1290 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1292 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1294 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1295 pstate register when comparing registers values in
1296 sparc64-*-linux-gnu targets to avoid spurious differences.
1298 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1300 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1302 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1304 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1305 as type argument to gdb_compile.
1306 * gdb.base/nested-subp2.exp: Likewise.
1307 * gdb.base/nested-subp3.exp: Likewise.
1309 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1311 * lib/dwarf.exp (_note): Fix left shift of negative value.
1312 * gdb.trace/trace-condition.exp: Likewise.
1314 2015-11-13 Yao Qi <yao.qi@linaro.org>
1316 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1317 comments about d10v.
1318 (test_scalar_returns): Likewise.
1319 * gdb.base/d10v.ld: Remove.
1320 * gdb.base/overlays.exp: Remove the target triplet checking for
1322 * gdb.base/structs.exp (test_struct_returns): Remove the
1323 comments about d10v.
1324 (test_struct_calls): Likewise.
1326 2015-11-13 Yao Qi <yao.qi@linaro.org>
1328 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1329 * gdb.base/gnu_vector.c: Don't include stdio.h.
1330 (main): Don't print res and call add_some_intvecs.
1332 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1334 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1337 (func4): Use FAST_TRACEPOINT_LABEL.
1338 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1341 (thread_function): Use FAST_TRACEPOINT_LABEL.
1342 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1344 (marker): Use FAST_TRACEPOINT_LABEL.
1345 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1346 (pendfunc1): Remove.
1347 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1348 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1350 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1351 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1354 (marker): Use FAST_TRACEPOINT_LABEL.
1355 * gdb.trace/trace-common.h: New header.
1356 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1359 (marker): Use FAST_TRACEPOINT_LABEL.
1360 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1362 (thread_function): Use FAST_TRACEPOINT_LABEL.
1364 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1366 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1368 * gdb.trace/change-loc.exp: Use global pcreg definition.
1369 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1370 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1372 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1373 * gdb.trace/pending.exp: Likewise.
1374 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1375 * gdb.trace/trace-break.exp: Likewise.
1376 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1378 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1379 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1381 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1383 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1385 * gdb.ada/fin_fun_out: New testcase.
1387 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1389 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1390 value associated with DW_AT_byte_size.
1391 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1392 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1395 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1397 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1398 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1400 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1401 gdb.dwarf2/dw2-canonicalize-type.exp,
1402 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1403 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1404 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1405 provided by gdb_target_symbol_prefix_flags_asm.
1406 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1407 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1408 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1409 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1410 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1411 macros where needed). Use this macro for symbols which require
1412 the prefix provided by SYMBOL_PREFIX.
1414 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1416 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1418 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1419 representing expressions, of more than one list element.
1420 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1421 to prepend linker symbol prefix to f.
1422 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1423 table_1 and table_2.
1424 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1425 Likewise, for f and g.
1426 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1428 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1430 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1431 table_1_ptr and table_2_ptr.
1433 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1434 Joel Brobecker <brobecker@adacore.com>
1436 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1438 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1440 * gdb.reverse/s390-mvcle.c: New test.
1441 * gdb.reverse/s390-mvcle.exp: New file.
1442 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1444 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1446 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1448 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1450 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1452 * gdb.reverse/getresuid-reverse.exp: Likewise.
1453 * gdb.reverse/pipe-reverse.exp: Likewise.
1454 * gdb.reverse/readv-reverse.exp: Likewise.
1455 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1456 * gdb.reverse/time-reverse.exp: Likewise.
1457 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1459 2015-10-30 Yao Qi <yao.qi@linaro.org>
1461 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1462 (empty_cycle): Remove.
1463 (main): Don't call empty_cycle. Don't use watch_count_done.
1464 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1465 empty_cycle. Rewrite the code counting HW watchpoints.
1467 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1469 * gdb.reverse/fstatat-reverse.c: New test.
1470 * gdb.reverse/fstatat-reverse.exp: New file.
1471 * gdb.reverse/getresuid-reverse.c: New test.
1472 * gdb.reverse/getresuid-reverse.exp: New file.
1473 * gdb.reverse/pipe-reverse.c: New test.
1474 * gdb.reverse/pipe-reverse.exp: New file.
1475 * gdb.reverse/readv-reverse.c: New test.
1476 * gdb.reverse/readv-reverse.exp: New file.
1477 * gdb.reverse/recvmsg-reverse.c: New test.
1478 * gdb.reverse/recvmsg-reverse.exp: New file.
1479 * gdb.reverse/time-reverse.c: New test.
1480 * gdb.reverse/time-reverse.exp: New file.
1481 * gdb.reverse/waitpid-reverse.c: New test.
1482 * gdb.reverse/waitpid-reverse.exp: New file.
1484 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1486 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1488 2015-10-26 Doug Evans <dje@google.com>
1491 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1492 * gdb.dwarf2/bad-regnum.c: New file.
1493 * gdb.dwarf2/bad-regnum.exp: New file.
1495 2015-10-26 Doug Evans <dje@google.com>
1498 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1501 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1503 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1504 for a change by "Mention language in compile error message".
1506 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1509 * gdb.python/py-type.c (C::a_method): New.
1510 (C::a_const_method): New.
1511 (C::a_static_method): New.
1513 * gdb.python/py-type.exp (test_fields): Test getting fields
1514 from function and method.
1516 2015-10-21 Keven Boell <keven.boell@intel.com>
1518 * gdb.fortran/vla-alloc-assoc.exp: New file.
1519 * gdb.fortran/vla-datatypes.exp: New file.
1520 * gdb.fortran/vla-datatypes.f90: New file.
1521 * gdb.fortran/vla-history.exp: New file.
1522 * gdb.fortran/vla-ptype-sub.exp: New file.
1523 * gdb.fortran/vla-ptype.exp: New file.
1524 * gdb.fortran/vla-sizeof.exp: New file.
1525 * gdb.fortran/vla-sub.f90: New file.
1526 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1527 * gdb.fortran/vla-value-sub-finish.exp: New file.
1528 * gdb.fortran/vla-value-sub.exp: New file.
1529 * gdb.fortran/vla-value.exp: New file.
1530 * gdb.fortran/vla-ptr-info.exp: New file.
1531 * gdb.mi/mi-vla-fortran.exp: New file.
1532 * gdb.mi/vla.f90: New file.
1534 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1536 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1537 of hardwired timeout value.
1539 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1540 Pedro Alves <palves@redhat.com>
1542 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1543 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1545 2015-10-19 Josh Stone <jistone@redhat.com>
1547 * gdb.base/catch-syscall.c: Include <sched.h>.
1548 (unknown_syscall): New variable.
1549 (main): Trigger a vfork and an unknown syscall.
1550 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1551 (unknown_syscall_number): Likewise.
1552 (check_call_to_syscall): Accept an optional syscall pattern.
1553 (check_return_from_syscall): Likewise.
1554 (check_continue): Likewise.
1555 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1556 (test_catch_syscall_skipping_return): New test toggling off 'catch
1557 syscall' to step over the syscall return, then toggling back on.
1558 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1559 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1560 (do_syscall_tests): Call test_catch_syscall_without_args and
1561 test_catch_syscall_mid_vfork.
1562 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1563 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1565 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1567 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1568 print g_vE): Add new pass patterns.
1569 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1570 print various symbol names for vptr fields.
1572 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1574 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1577 2015-10-12 Yao Qi <yao.qi@linaro.org>
1579 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1581 2015-10-12 Yao Qi <yao.qi@linaro.org>
1583 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1584 is aarch64*-*-linux*.
1586 2015-10-12 Yao Qi <yao.qi@linaro.org>
1588 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1589 (can_relocate_bcond_true): ... it.
1590 (can_relocate_bcond_false): New function.
1592 (can_relocate_bl): Likewise.
1593 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1596 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1598 * gdb.base/nested-addr.c: New file.
1599 * gdb.base/nested-addr.exp: New testcase.
1601 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1603 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1604 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1605 its output. Ignore the output of "record goto begin" and instead
1606 check that GDB is replaying.
1608 2015-10-09 Pedro Alves <palves@redhat.com>
1610 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1611 (top level): Use it in the run with no args test.
1613 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1615 * gdb.dlang/properties.exp: New file.
1617 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1619 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1620 whether or not address 0x1000 is mapped on the target.
1622 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1624 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1627 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1629 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1630 instruction-history test.
1632 2015-09-28 Doug Evans <dje@google.com>
1634 * gdb.base/gcore.c (array_func): Add reference to static_array.
1636 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1638 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1641 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1643 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1644 short or char as base type.
1646 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1648 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1649 to allow any size enum.
1651 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1653 * gdb.ada/array_ptr_renaming.exp: New testcase.
1654 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1655 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1657 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1659 * gdb.trace/ftrace-lock.c: New file.
1660 * gdb.trace/ftrace-lock.exp: New file.
1662 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1664 * gdb.arch/insn-reloc.c: New file.
1665 * gdb.arch/ftrace-insn-reloc.exp: New file.
1667 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1669 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1671 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1672 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1673 * gdb.trace/range-stepping.c: Likewise.
1674 * gdb.trace/trace-break.c: Likewise.
1675 * gdb.trace/trace-mt.c (thread_function): Likewise.
1676 * gdb.trace/ftrace.c (marker): Likewise.
1677 * gdb.trace/trace-condition.c (marker): Likewise.
1678 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1679 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1682 2015-09-18 Doug Evans <xdje42@gmail.com>
1684 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1685 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1687 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1689 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1692 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1694 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1695 the pending breakpoint. Remove timeout override for "Run till
1696 MI pending breakpoint on pendfunc3 on thread 2" test.
1698 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1700 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1703 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1705 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1706 in breakpoint filename pattern.
1708 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1710 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1712 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1714 * gdb.linespec/explicit.exp: Check for readline support for
1715 tab-completion tests. Fix obvious typo.
1717 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1719 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1722 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1724 * gdb.btrace/non-stop.c: New.
1725 * gdb.btrace/non-stop.exp: New.
1727 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1728 Yao Qi <yao.qi@linaro.org>
1730 * gdb.trace/trace-condition.c: New file.
1731 * gdb.trace/trace-condition.exp: New file.
1733 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1735 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1736 for testing bytecode compilation.
1738 2015-09-16 Pedro Alves <palves@redhat.com>
1739 Sandra Loosemore <sandra@codesourcery.com>
1741 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1742 (SECONDS): Redefine.
1743 (main): Call pthread_kill and alarm early.
1744 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1746 (test): If the target can't hardware step and doesn't support
1747 displaced stepping, increase the timeout.
1749 2015-09-16 Pedro Alves <palves@redhat.com>
1751 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1752 (enable_debug): New procedures.
1753 (test): Use them. Bail out if waiting for threads fails.
1754 (top level): Bail out if a test fails.
1756 2015-09-16 Yao Qi <yao.qi@linaro.org>
1758 * gdb.asm/asm-source.exp: Set asm-arch for
1759 aarch64*-*-* target.
1760 * gdb.asm/aarch64.inc: New file.
1762 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1764 * gdb.ada/array_of_variable_length.exp: New testcase.
1765 * gdb.ada/array_of_variable_length/foo.adb: New file.
1766 * gdb.ada/array_of_variable_length/pck.adb: New file.
1767 * gdb.ada/array_of_variable_length/pck.ads: New file.
1769 2015-09-15 Doug Evans <dje@google.com>
1771 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1772 of function static local variable.
1774 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1776 * gdb.threads/tls-so_extern.exp: New test file.
1777 * gdb.threads/tls-so_extern.c: New test file.
1778 * gdb.threads/tls-so_extern_main.c: New test file.
1780 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1782 * gdb.opt/solib-intra-step-lib.c: New file.
1783 * gdb.opt/solib-intra-step-main.c: New file.
1784 * gdb.opt/solib-intra-step.exp: New file.
1786 2015-09-15 Pedro Alves <palves@redhat.com>
1788 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1789 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1791 2015-09-14 Pedro Alves <palves@redhat.com>
1793 * gdb.base/hook-stop-continue.c: Delete.
1794 * gdb.base/hook-stop-continue.exp: Delete.
1795 * gdb.base/hook-stop-frame.c: Delete.
1796 * gdb.base/hook-stop-frame.exp: Delete.
1797 * gdb.base/hook-stop.c: New file.
1798 * gdb.base/hook-stop.exp: New file.
1800 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1802 * gdb.ada/access_to_packed_array.exp: New testcase.
1803 * gdb.ada/access_to_packed_array/foo.adb: New file.
1804 * gdb.ada/access_to_packed_array/pack.adb: New file.
1805 * gdb.ada/access_to_packed_array/pack.ads: New file.
1807 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1809 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1812 2015-09-11 Don Breazeal <donb@codesourcery.com>
1814 * gdb.base/foll-exec.c: Add copyright header. Fix
1816 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1817 (do_exec_tests): Use clean_restart in place of zap_session,
1818 and for test initialization. Fix formatting issues. Use
1819 fail in place of perror.
1820 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1821 an expect statement to match an expression with output from
1822 the program under debug.
1823 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1824 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1825 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1826 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1827 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1829 2015-09-09 Doug Evans <dje@google.com>
1831 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1833 2015-09-09 Doug Evans <dje@google.com>
1835 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1837 2015-09-09 Doug Evans <dje@google.com>
1839 * gdb.base/savedregs.exp: Fix typo.
1841 2015-09-09 Pedro Alves <palves@redhat.com>
1843 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1845 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1847 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1848 command actually switches threads. Give up on remaining
1849 tests if target fails to stop at breakpoint.
1851 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1853 * gdb.ada/funcall_char.exp: New testcase.
1854 * gdb.ada/funcall_char/foo.adb: New file.
1856 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1858 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1859 expected outputs. Add two testcases for completing ambiguous
1861 * gdb.ada/complete/aux_pck.adb: New file.
1862 * gdb.ada/complete/aux_pck.ads: New file.
1863 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1864 Ambiguous_Func functions.
1865 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1866 * gdb.ada/complete/pck.adb: Likewise.
1868 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1870 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1871 failures to run the test program under GDB.
1873 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1875 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1878 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1880 * gdb.base/run-after-attach.exp: New test file.
1881 * gdb.base/run-after-attach.c: New test file.
1883 2015-08-26 Don Breazeal <donb@codesourcery.com>
1885 * gdb.base/foll-exec-2.c: New test program.
1886 * gdb.base/foll-exec-2.exp: New test.
1888 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1890 * gdb.base/nested-subp1.exp: New file.
1891 * gdb.base/nested-subp1.c: New file.
1892 * gdb.base/nested-subp2.exp: New file.
1893 * gdb.base/nested-subp2.c: New file.
1894 * gdb.base/nested-subp3.exp: New file.
1895 * gdb.base/nested-subp3.c: New file.
1897 2015-08-24 Pedro Alves <palves@redhat.com>
1899 * gdb.server/connect-without-multi-process.c: New file.
1900 * gdb.server/connect-without-multi-process.exp: New file.
1902 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1904 * gdb.opt/inline-markers.c: Make z int.
1906 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1908 * gdb.opt/inline-markers.c: Make z volatile.
1910 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1912 * gdb.opt/inline-bt.c: New volatile global z.
1913 * gdb.opt/inline-cmds.c: Likewise.
1914 * gdb.opt/inline-locals.c: Likewise.
1915 * gdb.opt/inline-markers.c: New extern global z.
1917 (inline_fn): Likewise.
1919 2015-08-24 Pedro Alves <palves@redhat.com>
1921 * config/m32r-stub.exp: Remove file.
1922 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1923 * gdb.base/call-rt-st.exp: Likewise.
1924 * gdb.base/call-strs.exp: Likewise.
1925 * gdb.base/default.exp: Remove references to h8300-*-hms and
1927 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1929 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1931 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1932 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1933 and "return" use KFAIL when GDB can not read/write the vector
1936 2015-08-21 Gary Benson <gbenson@redhat.com>
1938 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1940 2015-08-20 Pedro Alves <palves@redhat.com>
1942 * gdb.server/solib-list.exp: No longer expect an interior stop in
1945 2015-08-20 Pedro Alves <palves@redhat.com>
1947 * gdb.server/connect-stopped-target.c: New file.
1948 * gdb.server/connect-stopped-target.exp: New file.
1950 2015-08-20 Pedro Alves <palves@redhat.com>
1952 * gdb.dwarf2/comp-unit-lang.exp: New file.
1953 * gdb.dwarf2/comp-unit-lang.c: New file.
1955 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1957 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1958 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1960 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1962 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1963 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1965 2015-08-18 Doug Evans <dje@google.com>
1966 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1968 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1969 skip_python_tests. New arg prompt_regexp.
1970 (skip_python_tests): New function.
1971 * lib/mi-support.exp (mi_skip_python_tests): New function.
1972 * gdb.python/py-mi-objfile-gdb.py: New file.
1973 * gdb.python/py-mi-objfile.c: New file.
1974 * gdb.python/py-mi-objfile.exp: New file.
1976 2015-08-17 Keith Seitz <keiths@redhat.com>
1978 * gdb.linespec/explicit.exp: Move strace test from here ...
1979 * gdb.trace/strace.exp: ... to here.
1981 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1983 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1984 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1986 2015-08-14 Doug Evans <xdje42@gmail.com>
1988 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1989 inferior before selecting a new file.
1991 2015-08-14 Doug Evans <xdje42@gmail.com>
1993 * gdb.mi/mi-disassemble.exp: Update.
1994 * gdb.base/disasm-optim.S: New file.
1995 * gdb.base/disasm-optim.c: New file.
1996 * gdb.base/disasm-optim.h: New file.
1997 * gdb.base/disasm-optim.exp: New file.
1999 2015-08-14 Keith Seitz <keiths@redhat.com>
2001 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2004 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2006 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2008 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2010 * gdb.ada/fun_renaming.exp: New testcase.
2011 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2012 * gdb.ada/fun_renaming/pack.adb: New file.
2013 * gdb.ada/fun_renaming/pack.ads: New file.
2015 2015-08-12 Keith Seitz <keiths@redhat.com>
2017 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2018 gdb_get_line_number.
2020 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2022 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2023 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2024 gdb.base/dso2dso.exp: New files.
2026 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2027 Pedro Alves <palves@redhat.com>
2028 Keith Seitz <keiths@redhat.com>
2030 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2033 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2035 * gdb.base/gdbhistsize-history.exp
2036 (test_histsize_history_setting): Use save_vars.
2037 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2039 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2040 * gdb.base/readline.exp: Use save_vars.
2042 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2044 * lib/gdb.exp (save_vars): New proc.
2046 2015-08-11 Keith Seitz <keiths@redhat.com>
2048 * gdb.base/help.exp: Update help_breakpoint_text.
2050 2015-08-11 Keith Seitz <keiths@redhat.com>
2052 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2053 (at toplevel): Call test_explicit_breakpoints.
2054 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2056 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2057 breakpoint conditions, "-cond".
2059 2015-08-11 Keith Seitz <keiths@redhat.com>
2061 * gdb.linespec/3explicit.c: New file.
2062 * gdb.linespec/cpexplicit.cc: New file.
2063 * gdb.linespec/cpexplicit.exp: New file.
2064 * gdb.linespec/explicit.c: New file.
2065 * gdb.linespec/explicit.exp: New file.
2066 * gdb.linespec/explicit2.c: New file.
2067 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2068 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2069 before using in the matching pattern.
2070 Clarify that `prefix' is a regular expression.
2072 2015-08-11 Keith Seitz <keiths@redhat.com>
2074 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2076 Add tests for missing ",FMT" and ",".
2078 2015-08-10 Doug Evans <dje@google.com>
2079 Keith Seitz <keiths@redhat.com>
2082 * gdb.base/completion.exp: Add location completer tests.
2084 2015-08-07 Pedro Alves <palves@redhat.com>
2086 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2088 (top level): Run do_test with and without displaced stepping.
2090 2015-08-07 Pedro Alves <palves@redhat.com>
2092 * gdb.base/valgrind-disp-step.c: New file.
2093 * gdb.base/valgrind-disp-step.exp: New file.
2095 2015-08-07 Pedro Alves <palves@redhat.com>
2097 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2099 (main): Add alarm. Run an infinite loop instead of calling
2101 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2103 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2105 (main): Add alarm. Run an infinite loop instead of calling
2107 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2110 2015-08-07 Pedro Alves <palves@redhat.com>
2112 * gdb.base/checkpoint-ns.exp: New file.
2113 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2116 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2118 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2119 * gdb.btrace/instruction_history.exp: Update.
2120 * gdb.btrace/tsx.exp: New.
2121 * gdb.btrace/tsx.c: New.
2123 2015-08-06 Pedro Alves <palves@redhat.com>
2125 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2127 * gdb.reverse/until-precsave.exp: Bump timeouts.
2129 2015-08-06 Pedro Alves <palves@redhat.com>
2131 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2133 2015-08-06 Pedro Alves <palves@redhat.com>
2136 * gdb.threads/process-dies-while-handling-bp.c: New file.
2137 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2139 2015-08-06 Pedro Alves <palves@redhat.com>
2141 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2142 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2144 2015-08-05 Pedro Alves <palves@redhat.com>
2146 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2147 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2149 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2151 * gdb.base/bp-permanent.exp: Report test as unsupported if
2152 the target cannot stop at the permanent breakpoint.
2154 2015-08-03 Doug Evans <dje@google.com>
2156 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2159 2015-08-03 Doug Evans <dje@google.com>
2161 * Makefile.in (workers/%.worker, build-perf): New rule.
2162 (GDB_PERFTEST_MODE): New variable.
2163 (check-perf): Use it.
2164 (clean): Clean up gdb.perf parallel build subdirs.
2165 * lib/build-piece.exp: New file.
2166 * lib/gdb.exp (make_gdb_parallel_path): New function
2167 (standard_output_file, standard_temp_file): Call it.
2168 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2170 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2172 2015-08-03 Doug Evans <dje@google.com>
2174 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2175 (LOG_FILE_NAME): New global.
2176 (TextReporter.__init__): Initialize self.txt_sum.
2177 (TextReporter.report): Add support for multiple data-points.
2178 Move report to perftest.sum, put raw data in perftest.log.
2179 (TextReporter.start): Open sum and log files.
2180 (TextReporter.end): Close sum and log files.
2181 * gdb.perf/lib/perftest/testresult.py
2182 (SingleStatisticTestResult.record): Handle multiple data-points.
2184 2015-07-31 Pedro Alves <palves@redhat.com>
2186 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2187 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2188 kill_wait_spawned_process instead of explicit "kill -9".
2189 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2190 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2191 kill_wait_spawned_process.
2192 * gdb.base/attach-twice.exp: Likewise.
2193 * gdb.base/attach.exp: Likewise.
2194 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2196 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2197 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2198 kill_wait_spawned_process.
2199 * gdb.base/valgrind-infcall.exp: Likewise.
2200 * gdb.multi/multi-attach.exp: Likewise.
2201 * gdb.python/py-prompt.exp: Likewise.
2202 * gdb.python/py-sync-interp.exp: Likewise.
2203 * gdb.server/ext-attach.exp: Likewise.
2204 * gdb.threads/attach-into-signal.exp (corefunc): Use
2205 spawn_wait_for_attach, spawn_id_get_pid and
2206 kill_wait_spawned_process.
2207 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2208 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2209 spawn_id_get_pid and kill_wait_spawned_process.
2210 * gdb.threads/attach-stopped.exp (corefunc): Use
2211 spawn_wait_for_attach, spawn_id_get_pid and
2212 kill_wait_spawned_process.
2213 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2214 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2215 kill_wait_spawned_process instead of explicit "kill -9".
2216 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2217 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2218 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2219 processes. Don't map cygwin/windows pids here. Now returns a
2222 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2224 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2225 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2228 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2230 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2232 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2235 2014-05-21 Mark Wielaard <mjw@redhat.com>
2237 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2239 2015-07-30 Pedro Alves <palves@redhat.com>
2241 * linux-low.c (handle_extended_wait): Set the child's last
2242 reported status to TARGET_WAITKIND_STOPPED.
2244 2015-07-30 Pedro Alves <palves@redhat.com>
2247 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2248 only shows inferior 1.
2250 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2251 Pedro Alves <palves@redhat.com>
2254 * gdb.threads/fork-plus-threads.c: New file.
2255 * gdb.threads/fork-plus-threads.exp: New file.
2257 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2259 * gdb.base/batch-preserve-term-settings.exp
2260 (test_terminal_settings_preserved_after_cli_exit): Use
2263 2015-07-29 Pedro Alves <palves@redhat.com>
2264 Don Breazeal <donb@codesourcery.com>
2266 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2267 output from both inferior_spawn_id and gdb_spawn_id.
2269 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2271 * gdb.threads/attach-into-signal.exp (corefunc): Use
2272 with_test_prefix on nested loops, uniquefying the test messages.
2274 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2276 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2279 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2281 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2283 (test_terminal_settings_preserved_after_sigterm): New test.
2285 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2287 * gdb.base/batch-preserve-term-settings.exp
2288 (test_terminal_settings_preserved_after_cli_exit): New test.
2290 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2292 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2293 manipulation of saved_gdbflags.
2294 (test_terminal_settings_preserved): Remove global declaration of
2295 the unused variable pagination_prompt. Remove manipulation of
2296 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2299 2015-07-29 Pedro Alves <palves@redhat.com>
2301 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2303 2015-07-29 Pedro Alves <palves@redhat.com>
2305 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2308 2015-07-29 Pedro Alves <palves@redhat.com>
2310 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2311 (main): Call gdb_unbuffer_output.
2312 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2313 (main): Call gdb_unbuffer_output.
2314 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2315 (main): Call gdb_unbuffer_output.
2316 * gdb.base/call-strs.exp: Adjust to step over the
2317 gdb_unbuffer_output call.
2318 * gdb.base/catch-gdb-caused-signals.c: Include
2319 "../lib/unbuffer_output.c".
2320 (main): Call gdb_unbuffer_output.
2321 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2322 (main): Call gdb_unbuffer_output.
2323 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2324 (main): Call gdb_unbuffer_output.
2325 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2326 (main): Call gdb_unbuffer_output.
2327 * gdb.base/shlib-call.exp: Adjust to step over the
2328 gdb_unbuffer_output call.
2329 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2330 (main): Call gdb_unbuffer_output.
2331 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2332 (main): Call gdb_unbuffer_output.
2333 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2334 (main): Rename to ...
2336 (main): Reimplement.
2337 * gdb.base/varargs.exp: Run to test instead of to main.
2338 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2339 (main): Call gdb_unbuffer_output.
2341 2015-07-29 Pedro Alves <palves@redhat.com>
2343 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2344 factore out from mi_continue_dprintf. For call-style dprintfs,
2345 expect dprintf output out of $inferior_spawn_id.
2346 (mi_continue_dprintf): Use mi_expect_dprintf.
2347 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2348 (main): Call gdb_unbuffer_output.
2350 2015-07-29 Pedro Alves <palves@redhat.com>
2352 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2353 (default_mi_gdb_start): Set inferior_spawn_id instead of
2354 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2356 (mi_gdb_test): Always expect inferior output from both
2357 $inferior_spawn_id and $gdb_spawn_id.
2359 2015-07-29 Pedro Alves <palves@redhat.com>
2361 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2362 send_inferior and $inferior_spawn_id.
2364 2015-07-29 Pedro Alves <palves@redhat.com>
2366 * gdb.gdb/complaints.exp (test_initial_complaints)
2367 (test_serial_complaints, test_short_complaints): Use
2369 (test_empty_complaint): Handle $inferior_spawn_id !=
2372 2015-07-29 Pedro Alves <palves@redhat.com>
2374 * gdb.base/varargs.exp: Use gdb_test_stdio.
2376 2015-07-29 Pedro Alves <palves@redhat.com>
2378 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2380 2015-07-29 Pedro Alves <palves@redhat.com>
2382 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2384 2015-07-29 Pedro Alves <palves@redhat.com>
2386 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2387 parameter into two new parameters, "inf_result" and "gdb_result".
2388 Expect inferior output and gdb output from $inferior_spawn_id and
2389 $gdb_spawn_id, respectively. Adjust all callers.
2391 2015-07-29 Pedro Alves <palves@redhat.com>
2393 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2394 of gdb_test_sequence.
2396 2015-07-29 Pedro Alves <palves@redhat.com>
2398 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2399 (saw_spurious_output): Expect inferior output from
2400 $inferior_spawn_id. Use gdb_test_stdio.
2402 2015-07-29 Pedro Alves <palves@redhat.com>
2404 * gdb.base/dprintf.exp: Use standard_testfile. Change
2405 prepare_for_testing call.
2406 (srcfile): Don't set.
2407 (restart): New procedure.
2408 (test_dprintf): New procecure, use to continue over dprintfs.
2409 (test_call, test_agent): New procedures, tests moved here.
2410 Restart gdb and recreate dprintfs. Adjust expected output.
2412 2015-07-29 Pedro Alves <palves@redhat.com>
2414 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2416 2015-07-29 Pedro Alves <palves@redhat.com>
2418 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2420 2015-07-29 Pedro Alves <palves@redhat.com>
2422 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2425 2015-07-29 Pedro Alves <palves@redhat.com>
2427 * lib/gdb.exp (gdb_test_stdio): New procedure.
2429 2015-07-29 Pedro Alves <palves@redhat.com>
2431 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2433 2015-07-29 Pedro Alves <palves@redhat.com>
2435 * gdb.base/call-signal-resume.exp: Remove check for
2436 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2437 * gdb.base/unwindonsignal.exp: Likewise.
2438 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2439 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2441 2015-07-29 Pedro Alves <palves@redhat.com>
2443 * gdb.base/siginfo-addr.c (pass): New function.
2444 (handler): Call it iff si_addr is correct.
2445 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2446 Set a breakpoint at "pass" and continue to it.
2448 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2450 * gdb.python/py-objfile.exp: Make some tests have unique names.
2451 * gdb.python/py-pp-registration.exp: Likewise.
2453 2015-07-28 Pedro Alves <palves@redhat.com>
2455 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2457 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2459 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2461 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2463 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2465 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2467 * gdb.base/gdb-sigterm-2.exp: New test.
2469 2015-07-25 Doug Evans <xdje42@gmail.com>
2472 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2473 (workers/%.worker, build-perf): New rule.
2474 (GDB_PERFTEST_MODE): New variable.
2475 (check-perf): Use it.
2476 (clean): Clean up gdb.perf parallel build subdirs.
2477 * lib/build-piece.exp: New file.
2478 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2479 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2481 (standard_temp_file): Ditto.
2482 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2485 2015-07-24 Doug Evans <dje@google.com>
2487 * gdb.perf/lib/perftest/utils.py: New file.
2488 * gdb.perf/gm-hello.cc: New file.
2489 * gdb.perf/gm-pervasive-typedef.cc: New file.
2490 * gdb.perf/gm-pervasive-typedef.h: New file.
2491 * gdb.perf/gm-std.cc: New file.
2492 * gdb.perf/gm-std.h: New file.
2493 * gdb.perf/gm-use-cerr.cc: New file.
2494 * gdb.perf/gm-utils.h: New file.
2495 * gdb.perf/gmonster-null-lookup.py: New file.
2496 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2497 * gdb.perf/gmonster-print-cerr.py: New file.
2498 * gdb.perf/gmonster-ptype-string.py: New file.
2499 * gdb.perf/gmonster-runto-main.py: New file.
2500 * gdb.perf/gmonster-select-file.py: New file.
2501 * gdb.perf/gmonster1-null-lookup.exp: New file.
2502 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2503 * gdb.perf/gmonster1-print-cerr.exp: New file.
2504 * gdb.perf/gmonster1-ptype-string.exp: New file.
2505 * gdb.perf/gmonster1-runto-main.exp: New file.
2506 * gdb.perf/gmonster1-select-file.exp: New file.
2507 * gdb.perf/gmonster1.cc: New file.
2508 * gdb.perf/gmonster1.exp: New file.
2509 * gdb.perf/gmonster2-null-lookup.exp: New file.
2510 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2511 * gdb.perf/gmonster2-print-cerr.exp: New file.
2512 * gdb.perf/gmonster2-ptype-string.exp: New file.
2513 * gdb.perf/gmonster2-runto-main.exp: New file.
2514 * gdb.perf/gmonster2-select-file.exp: New file.
2515 * gdb.perf/gmonster2.cc: New file.
2516 * gdb.perf/gmonster2.exp: New file.
2518 2015-07-24 Doug Evans <dje@google.com>
2520 * gdb.perf/README: New file.
2521 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2522 * lib/gen-perf-test.exp: New file.
2524 2015-07-24 Doug Evans <dje@google.com>
2526 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2527 (PerfTest::startup): New function.
2528 (PerfTest::run): Return result of calling body.
2529 (PerfTest::assemble): Rewrite.
2530 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2531 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2532 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2533 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2534 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2536 2015-07-24 Doug Evans <dje@google.com>
2538 * lib/gdb.exp (clean_restart): Make executable optional.
2540 2015-07-24 Doug Evans <dje@google.com>
2542 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2543 compiler_info references.
2544 * gdb.cp/temargs.exp: Ditto.
2545 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2546 (get_compiler_info): Early exit if already computed. Set compiler_info
2547 to "unknown" if there was a problem.
2548 (test_compiler_info): Add function comment. Call get_compiler_info.
2550 2015-07-24 Doug Evans <dje@google.com>
2552 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2553 (workers/%.worker, build-perf): New rule.
2554 (GDB_PERFTEST_MODE): New variable.
2555 (check-perf): Use it.
2556 (clean): Clean up gdb.perf parallel build subdirs.
2557 * lib/build-piece.exp: New file.
2558 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2559 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2561 (standard_temp_file): Ditto.
2562 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2565 2015-07-24 Doug Evans <dje@google.com>
2567 * lib/future.exp (gdb_default_target_compile): New option
2569 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2572 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2574 * gdb.base/catch-syscall.exp: Call gdb_exit before
2577 2015-07-24 Pedro Alves <palves@redhat.com>
2579 * gdb.python/py-events.exp: Accept output between the stop event
2581 * gdb.python/py-evsignal.exp: Likewise.
2582 * gdb.python/py-evthreads.exp: Likewise.
2584 2015-07-24 Pedro Alves <palves@redhat.com>
2587 * gdb.threads/non-ldr-exit.c: New file.
2588 * gdb.threads/non-ldr-exit.exp: New file.
2590 2015-07-24 Yao Qi <yao.qi@linaro.org>
2592 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2595 2015-07-24 Yao Qi <yao.qi@linaro.org>
2597 * gdb.server/ext-restart.exp: New file.
2599 2015-07-24 Yao Qi <yao.qi@linaro.org>
2601 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2603 * gdb.server/ext-wrapper.exp: New file.
2605 2015-07-23 Doug Evans <dje@google.com>
2607 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2608 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2610 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2612 * gdb.ada/var_arr_typedef.exp: New testcase.
2613 * gdb.ada/var_arr_typedef/pack.adb: New file.
2614 * gdb.ada/var_arr_typedef/pack.ads: New file.
2615 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2617 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2619 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2621 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2623 * gdb.arch/i386-biarch-core.exp: Replace istarget
2624 by "complete set gnutarget". Remove expectation for the "core-file"
2627 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2629 Revert the previous commit:
2630 Tests for validate symbol file using build-id.
2632 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2634 Tests for validate symbol file using build-id.
2635 * gdb.base/solib-mismatch-lib.c: New file.
2636 * gdb.base/solib-mismatch-libmod.c: New file.
2637 * gdb.base/solib-mismatch.c: New file.
2638 * gdb.base/solib-mismatch.exp: New file.
2640 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2642 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2644 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2645 * gdb.base/siginfo.exp: Likewise.
2646 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2648 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2650 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2652 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2654 * gdb.trace/range-stepping.exp: Check that the target supports
2657 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2659 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2661 2015-07-14 Pedro Alves <palves@redhat.com>
2663 * gdb.base/killed-outside.exp: New file.
2664 * gdb.base/killed-outside.c: New file.
2666 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2668 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2670 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2672 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2674 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2675 infcall tests instead of setting up for KFAIL.
2677 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2679 * gdb.btrace/record_goto-step.exp: New.
2681 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2684 * gdb.compile/compile.c (struct struct_type): Add volatile to
2686 * gdb.compile/compile.exp
2687 (compile code struct_object.selffield = &struct_object): Skip further
2688 struct_object tests if this one xfails.
2690 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2693 * gdb.trace/ax.exp: Add test.
2695 2015-07-07 Yao Qi <yao.qi@linaro.org>
2697 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2698 instead of istarget "aarch64*-*-*".
2699 * gdb.arch/aarch64-fp.exp: Likewise.
2700 * gdb.base/float.exp: Likewise.
2701 * gdb.reverse/aarch64.exp: Likewise.
2702 * lib/gdb.exp (is_aarch64_target): New proc.
2704 2015-07-07 Yao Qi <yao.qi@linaro.org>
2706 * lib/gdb.exp (is_aarch32_target): New proc.
2707 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2708 instead of "istarget "arm*-*-*"".
2709 * gdb.arch/arm-disp-step.exp: Likewise.
2710 * gdb.arch/thumb-bx-pc.exp: Likewise.
2711 * gdb.arch/thumb-prologue.exp: Likewise.
2712 * gdb.arch/thumb-singlestep.exp: Likewise.
2713 * gdb.base/disp-step-syscall.exp: Likewise.
2714 * gdb.base/float.exp: Likewise.
2716 2015-07-07 Yao Qi <yao.qi@linaro.org>
2718 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2719 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2721 2015-07-07 Yao Qi <yao.qi@linaro.org>
2723 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2724 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2726 * gdb.multi/multi-arch.exp: Likewise.
2728 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2730 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2733 2015-07-07 Yao Qi <yao.qi@linaro.org>
2735 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2737 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2739 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2740 '[' and ']' characters.
2742 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2744 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2746 2015-06-29 Pedro Alves <palves@redhat.com>
2749 * gdb.threads/hand-call-new-thread.c: New file.
2750 * gdb.threads/hand-call-new-thread.c: New file.
2752 2015-06-26 Keith Seitz <keiths@redhat.com>
2753 Doug Evans <dje@google.com>
2756 * gdb.cp/var-tag-2.cc: New file.
2757 * gdb.cp/var-tag-3.cc: New file.
2758 * gdb.cp/var-tag-4.cc: New file.
2759 * gdb.cp/var-tag.cc: New file.
2760 * gdb.cp/var-tag.exp: New file.
2762 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2764 * gdb.base/history-duplicates.exp: New test.
2766 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2768 * gdb.base/completion.exp: Test the completion of the "focus"
2771 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2773 * gdb.arch/amd64-prologue-skip.S: New file.
2774 * gdb.arch/amd64-prologue-skip.exp: New file.
2776 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2778 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2779 is_address_zero_readable check.
2781 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2783 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2784 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2786 2015-06-24 Yao Qi <yao.qi@linaro.org>
2788 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2791 2015-06-24 Yao Qi <yao.qi@linaro.org>
2793 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2794 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2795 * gdb.base/siginfo-thread.exp: Likewise.
2797 2015-06-22 Yao Qi <yao.qi@linaro.org>
2799 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2801 2015-06-22 Yao Qi <yao.qi@linaro.org>
2803 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2805 (skip_hw_watchpoint_tests): Likewise.
2807 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2809 * gdb.base/gdbinit-history.exp: Test the interaction between
2810 setting GDBHISTSIZE and setting the history size via .gdbinit.
2812 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2815 * gdb.base/gdbhistsize-history.exp: New test.
2817 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2819 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2821 * gdb.base/readline.exp: Likewise.
2823 2015-06-17 Yao Qi <yao.qi@linaro.org>
2825 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2828 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2830 * gdb.base/gdbinit-history.exp: Add test case to check that
2831 an unlimited history file does not get truncated on exit.
2833 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2835 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2836 (VECTOR): New macro. Use it...
2837 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2838 ...for these typedefs.
2839 (int8, char1, int1, double1): New typedefs.
2840 (struct just_int2, struct two_int2): New structures.
2841 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2842 (add_structvecs, add_singlevecs): New functions.
2843 (main): Call add_some_intvecs twice.
2844 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2845 the compile and exit upon failure. Try compiling for the "native"
2846 architecture. Test inferior function calls with vector arguments
2847 and vector return value handling with "finish" and "return".
2849 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2851 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2852 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2854 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2856 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2858 PR breakpoints/16465
2859 * gdb.mi/mi-dprintf-pending.c: New file.
2860 * gdb.mi/mi-dprintf-pending.exp: New test.
2861 * gdb.mi/mi-dprintf-pendshr.c: New file.
2863 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2864 Mircea Gherzan <mircea.gherzan@intel.com>
2866 * gdb.arch/i386-mpx-map.c: New file.
2867 * gdb.arch/i386-mpx-map.exp: New File.
2869 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2871 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2872 * gdb.arch/i386-mpx.exp: Indentation fixed.
2874 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2876 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2877 function and improved indentation.
2878 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2879 gdb_test_multiple. Added additional tests to skip the test.
2881 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2883 * gdb.arch/i386-avx512.c: Change path in include file.
2884 * gdb.arch/i386-avx512.exp: Change include dir path
2886 * gdb.arch/i386-mpx.c: Change path in include file.
2887 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2890 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2892 * gdb.compile/compile-print.exp (compile print *vararray@3)
2893 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2895 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2897 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2898 (do not keep jit in memory): ... this.
2899 (expect 5): Change it to ...
2900 (expect no 5): ... this.
2902 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2905 * gdb.mi/mi-detach.exp: New file.
2907 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2910 * gdb.arch/amd64-tailcall-self.S: New file.
2911 * gdb.arch/amd64-tailcall-self.c: New file.
2912 * gdb.arch/amd64-tailcall-self.exp: New file.
2914 2015-05-28 Don Breazeal <donb@codesourcery.com>
2916 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2917 tests for remote targets by checking is_target_gdbserver.
2919 2015-05-27 Doug Evans <dje@google.com>
2921 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2922 * gdb.dwarf2/opaque-type-lookup.c: New file.
2923 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2925 2015-05-26 Doug Evans <dje@google.com>
2927 * gdb.cp/iostream.cc: New file.
2928 * gdb.cp/iostream.exp: New file.
2930 2015-05-26 Doug Evans <dje@google.com>
2932 * gdb.dwarf2/dw2-op-call.exp: Update.
2933 * gdb.dwarf2/dw4-sig-types.exp: Update.
2934 * gdb.dwarf2/implptr.exp: Update.
2935 * gdb.mi/mi-cmd-param-changed.exp: Update.
2937 2015-05-26 Doug Evans <dje@google.com>
2939 * gdb.python/py-lazy-string.c: New file.
2940 * gdb.python/py-lazy-string.exp: New file.
2941 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2942 (main): Update. Add estring3.
2943 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2944 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2946 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2947 Yao Qi <yao.qi@linaro.org>
2949 * gdb.reverse/aarch64.c: New.
2950 * gdb.reverse/aarch64.exp: New.
2952 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2954 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2955 (supports_reverse): Likewise.
2957 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2959 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2960 Use with_test_prefix.
2962 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2964 * gdb.base/completion.exp: Add test for completion of layout
2967 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2969 * lib/gdb.exp (skip_tui_tests): New proc.
2970 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2972 2015-05-19 Pedro Alves <palves@redhat.com>
2974 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2975 Save the whole env array instead of just HOME. Unset HISTSIZE in
2976 the environment while testing. Restore whole environment
2979 2015-05-16 Doug Evans <xdje42@gmail.com>
2981 * gdb.guile/scm-ports.c: New file.
2982 * gdb.guile/scm-ports.exp: Add memory port tests.
2984 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2986 * gdb.compile/compile-print.c: New file.
2987 * gdb.compile/compile-print.exp: New file.
2989 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2991 * gdb.compile/compile-ops.exp: Cast param to void.
2992 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2993 (compile code struct_object.selffield = &struct_object): Add xfail.
2995 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2997 * gdb.ada/arr_enum_with_gap: New testcase.
2999 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3001 * gdb.ada/byte_packed_arr: New testcase.
3003 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3005 * gdb.ada/pckd_neg: New testcase.
3007 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3010 * gdb.base/gdbinit-history.exp: New test.
3011 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3012 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3014 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3016 * gdb.python/py-xmethods.cc: Enhance test case.
3017 * gdb.python/py-xmethods.exp: New tests.
3018 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3020 (B_indexoper): Likewise.
3021 (global_dm_list) : Add new xmethod worker functions.
3023 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3025 * gdb.base/coredump-filter.exp: Correctly unset
3026 "coredump_var_addr" array.
3028 2015-05-08 Pedro Alves <palves@redhat.com>
3030 * gdb.server/non-existing-program.exp: Unset spawn_id.
3032 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3035 * gdb.python/py-xmethods.exp: Add tests.
3037 2015-05-08 Yao Qi <yao.qi@linaro.org>
3040 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3041 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3042 function set_coredump_filter, and remove remote_exec call.
3043 Remove argument ipid. Callers update.
3044 (top level): Don't get inferior's PID.
3046 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3048 * gdb.base/watch_thread_num.exp: Skip test on targets without
3051 2015-05-06 Pedro Alves <palves@redhat.com>
3054 * gdb.server/non-existing-program.exp: New file.
3056 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3058 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3060 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3062 * gdb.ada/out_of_line_in_inlined: New testcase.
3064 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3066 * gdb.ada/var_rec_arr: New testcase.
3068 2015-04-30 Yao Qi <yao.qi@linaro.org>
3070 * gdb.base/break-idempotent.exp: If
3071 skip_hw_watchpoint_multi_tests returns true, skip the tests
3072 on "rwatch" and "awatch".
3074 2015-04-30 Yao Qi <yao.qi@linaro.org>
3076 * gdb.base/relativedebug.exp: Invoke gdb command
3077 "info sharedlibrary", and if libc.so doesn't have debug info,
3080 2015-04-29 Doug Evans <dje@google.com>
3082 * gdb.python/py-xmethods.exp: Add ptype tests.
3083 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3084 get_result_type method.
3086 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3088 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3089 the target does not support hardware watchpoints.
3091 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3093 * gdb.base/break-always.exp: Abort testing if writing to memory
3096 2015-04-28 Doug Evans <dje@google.com>
3098 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3099 * gdb.python/py-pp-registration.exp: ... here. New file.
3100 * gdb.python/py-pp-registration.c: New file.
3101 * gdb.python/py-pp-registration.py: New file.
3103 2015-04-28 Doug Evans <dje@google.com>
3105 * gdb.python/py-bad-printers.c: New file.
3106 * gdb.python/py-bad-printers.py: New file.
3107 * gdb.python/py-bad-printers.exp: New file.
3109 2015-04-28 Sasha Smundak <asmundak@google.com>
3111 * gdb.python/py-type.exp: New test.
3113 2015-04-28 Andy Wingo <wingo@igalia.com>
3115 * gdb.python/py-parameter.exp:
3116 * gdb.guile/scm-parameter.exp: Escape the path that we are
3117 matching against, as it might contain characters that are special
3118 to regular expressions.
3120 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3122 * gdb.ada/rec_comp: New testcase.
3124 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3126 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3129 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3131 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3132 new tests for verilog output.
3134 2015-04-24 Yao Qi <yao.qi@linaro.org>
3136 * boards/remote-gdbserver-on-localhost.exp: New file.
3138 2015-04-23 Pedro Alves <palves@redhat.com>
3140 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3141 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3142 "end of file", remove $inferior_spawn_id from the indirect list.
3144 2015-04-23 Pedro Alves <palves@redhat.com>
3146 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3148 2015-04-23 Pedro Alves <palves@redhat.com>
3150 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3151 on $any_spawn_id instead of only on $gdb_spawn_id.
3153 2015-04-21 Pierre Muller <muller@sourceware.org>
3156 * lib/pascal.exp (gpc_compile): Add new option "class".
3157 (fpc_compile): Likewise.
3158 * gdb.pascal/case-insensitive-symbols.pas: New file.
3159 * gdb.pascal/case-insensitive-symbols.exp: New file.
3161 2015-04-20 Gary Benson <gbenson@redhat.com>
3163 * gdb.base/attach.exp: Fix three extended remote failures.
3165 2015-04-17 Gary Benson <gbenson@redhat.com>
3167 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3168 the main executable over the remote protocol.
3170 2015-04-16 Pedro Alves <palves@redhat.com>
3172 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3173 a new gdbserver if gdbserver_reconnect_p is set.
3175 2015-04-16 Pedro Alves <palves@redhat.com>
3177 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3178 is set, don't exit gdbserver.
3180 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3182 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3183 appropriate .insn, such that an older assembler can be used.
3184 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3185 the z/Architecture instruction set on 31-bit targets as well.
3187 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3189 * gdb.go/handcall.exp: Remove all logic related to the first
3190 breakpoint and rely on go_runto_main instead.
3191 * gdb.go/strings.exp: Likewise.
3192 * gdb.go/unsafe.exp: Likewise.
3193 * gdb.go/hello.exp: Likewise. Also rename the remaining
3194 breakpoint marker to "breakpoint 1".
3195 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3196 * gdb.go/strings.go: Likewise.
3197 * gdb.go/unsafe.go: Likewise.
3198 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3199 "set breakpoint 2 here" and rename the remaining breakpoint marker
3202 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3204 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3205 if itertools.imap is not present.
3206 * gdb.python/py-objfile.exp: Add parentheses.
3207 * gdb.python/py-type.exp: Same.
3208 * gdb.python/py-unwind-maint.py: Same.
3210 2015-04-15 Yao Qi <yao.qi@linaro.org>
3212 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3213 of ":$ptr_size" and set its form explicitly.
3215 2015-04-15 Pedro Alves <palves@redhat.com>
3216 Yao Qi <yao.qi@linaro.org>
3218 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3219 timeout by factor of 4.
3220 (test_regular_watch): Likewise.
3221 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3222 * gdb.reverse/sigall-reverse.exp: Likewise.
3223 * gdb.reverse/until-precsave.exp: Likewise.
3224 * lib/gdb.exp (with_timeout_factor): New proc.
3225 (gdb_expect): Move some code to ...
3226 (get_largest_timeout): ... here. New procedure.
3228 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3230 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3232 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3234 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3235 to write to the .text section.
3237 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3239 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3240 Handle the case of targets that do not provide PID information.
3242 2015-04-13 Yao Qi <yao.qi@linaro.org>
3244 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3245 and use expect instead of gdb_expect.
3247 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3249 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3250 "coredump_var_addr" to avoid naming conflict with other testcases.
3252 2015-04-10 Pedro Alves <palves@redhat.com>
3254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3255 gdb_test_sequence and gdb_assert.
3257 2015-04-10 Pedro Alves <palves@redhat.com>
3259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3260 test messages that don't include the breakpoint address.
3262 2015-04-10 Yao Qi <yao.qi@linaro.org>
3264 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3265 false for some offset and width combinations which aren't
3266 supported by linux kernel.
3268 2015-04-10 Pedro Alves <palves@redhat.com>
3270 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3271 procedure, factored out from ...
3272 (top level): ... here. Add "set displaced-stepping" testing axis.
3273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3274 parameter "displaced". Use it.
3275 (top level): Use foreach and add "set displaced-stepping" testing
3278 2015-04-10 Pedro Alves <palves@redhat.com>
3280 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3282 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3283 both the address of the instruction that triggers the watchpoint
3284 and the address of the instruction immediately after, and use
3285 those addresses for the test. Fix comment.
3287 2015-04-10 Pedro Alves <palves@redhat.com>
3289 * gdb.base/sigstep.exp (breakpoint_to_handler)
3290 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3291 Test "backtrace" in handler.
3292 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3293 (top level): Add new "displaced" test axis to
3294 breakpoint_to_handler, breakpoint_to_handler_entry and
3295 breakpoint_over_handler.
3297 2015-04-10 Pedro Alves <palves@redhat.com>
3300 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3302 2015-04-10 Yao Qi <yao.qi@linaro.org>
3304 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3305 (test_add_rn_pc): New function.
3306 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3307 (top level): Invoke test_add_rn_pc.
3309 2015-04-10 Pedro Alves <palves@redhat.com>
3312 * gdb.base/step-over-no-symbols.exp: New file.
3314 2015-04-09 Andy Wingo <wingo@igalia.com>
3316 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3317 after the Python tests.
3319 2015-04-08 Keith Seitz <keiths@redhat.com>
3322 * gdb.python/py-completion.exp: New tests for completion.
3323 * gdb.python/py-completion.py (CompleteLimit1): New class.
3324 (CompleteLimit2): Likewise.
3325 (CompleteLimit3): Likewise.
3326 (CompleteLimit4): Likewise.
3327 (CompleteLimit5): Likewise.
3328 (CompleteLimit6): Likewise.
3329 (CompleteLimit7): Likewise.
3331 2015-04-08 Pedro Alves <palves@redhat.com>
3335 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3337 (main): Install it as SIGUSR1 handler.
3338 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3339 parameter. Always use "setup" as prefix. Toggle "set
3340 displaced-stepping" off/on depending on global. Don't switch to
3342 (top level): Add displaced stepping "off/on" test axis. Update
3343 "setup" calls. Wrap each subtest with with_test_prefix. Test
3344 continuing with a queued signal in each thread.
3346 2015-04-08 Pedro Alves <palves@redhat.com>
3348 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3349 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3350 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3351 Return early if running to main fails.
3352 * gdb.trace/while-stepping.exp: Likewise.
3354 2015-04-07 Pedro Alves <palves@redhat.com>
3356 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3357 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3358 interact with inferior program.
3360 2015-04-07 Pedro Alves <palves@redhat.com>
3362 * lib/gdb.exp (inferior_spawn_id): New global.
3363 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3364 spawn id after processing the user code.
3365 (default_gdb_start): Set inferior_spawn_id.
3366 (send_inferior): New procedure.
3367 * lib/gdbserver-support.exp (gdbserver_start): Set
3369 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3371 2015-04-07 Pedro Alves <palves@redhat.com>
3373 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3374 * lib/gdbserver-support.exp (gdbserver_start): Make
3375 $server_spawn_id global.
3376 (gdbserver_start): Don't wait for gdbserver's spawn id with
3378 (close_gdbserver): New procedure.
3379 (gdb_exit): Rename the default version and reimplement.
3381 2015-04-07 Pedro Alves <palves@redhat.com>
3383 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3384 append the substituted item, not the original item.
3386 2015-04-07 Pedro Alves <palves@redhat.com>
3388 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3391 2015-04-07 Pedro Alves <palves@redhat.com>
3393 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3394 output appearing once only.
3396 2015-04-07 Pedro Alves <palves@redhat.com>
3398 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3399 that doesn't expect anything. Return early if running to main
3402 2015-04-07 Yao Qi <yao.qi@linaro.org>
3404 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3405 (child_function): Call alarm.
3406 (main): Move call to alarm into the loop.
3407 * gdb.threads/non-stop-fair-events.exp: Build program with
3410 2015-04-06 Doug Evans <xdje42@gmail.com>
3412 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3413 Fix dest parameter to board_info.
3414 (fpc_compile): Ditto.
3415 (gdb_compile_pascal): Rename dest arg to destfile.
3417 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3419 * gdb.ada/funcall_ref.exp: New file.
3420 * gdb.ada/funcall_ref/foo.adb: New file.
3422 2015-04-02 Yao Qi <yao.qi@linaro.org>
3424 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3427 2015-04-02 Gary Benson <gbenson@redhat.com>
3429 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3431 2015-04-01 Sasha Smundak <asmundak@google.com>
3433 * gdb.python/py-unwind-maint.c: New file.
3434 * gdb.python/py-unwind-maint.exp: New test.
3435 * gdb.python/py-unwind-maint.py: New file.
3436 * gdb.python/py-unwind.c: New file.
3437 * gdb.python/py-unwind.exp: New test.
3438 * gdb.python/py-unwind.py: New test.
3440 2015-04-01 Pedro Alves <palves@redhat.com>
3442 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3443 to fail instead of non-existent $test.
3445 2015-04-01 Pedro Alves <palves@redhat.com>
3447 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3448 GDBFLAGS if not empty.
3450 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3452 * gdb.ada/complete.exp: Remove "multi_line".
3453 * gdb.ada/info_exc.exp: Remove "multi_line".
3454 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3455 * gdb.ada/ptype_field.exp: Remove "multi_line".
3456 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3457 * gdb.ada/tagged.exp: Remove "multi_line".
3458 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3460 * gdb.btrace/delta.exp: Likewise.
3461 * gdb.btrace/exception.exp: Likewise.
3462 * gdb.btrace/function_call_history.exp: Likewise.
3463 * gdb.btrace/instruction_history.exp: Likewise.
3464 * gdb.btrace/nohist.exp: Likewise.
3465 * gdb.btrace/record_goto.exp: Likewise.
3466 * gdb.btrace/segv.exp: Likewise.
3467 * gdb.btrace/stepi.exp: Likewise.
3468 * gdb.btrace/tailcall.exp: Likewise.
3469 * gdb.btrace/unknown_functions.exp: Likewise.
3470 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3471 * lib/gdb.exp: Add the "multi_line" helper.
3473 2015-04-01 Pedro Alves <palves@redhat.com>
3475 * gdb.threads/tid-reuse.c: New file.
3476 * gdb.threads/tid-reuse.exp: New file.
3478 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3481 * gdb.base/coredump-filter.c: New file.
3482 * gdb.base/coredump-filter.exp: Likewise.
3484 2015-03-27 Petr Machata <pmachata@redhat.com>
3486 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3487 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3488 (Dwarf::assemble): Initialize them.
3489 (Dwarf::lines): New function.
3491 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3493 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3494 SYMBOL_PREFIX for x86_64-*-cygwin.
3496 2015-03-26 Andy Wingo <wingo@igalia.com>
3499 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3500 const_value but not a location.
3501 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3502 location defined in non-main CUs are visible.
3504 2015-03-26 Yao Qi <yao.qi@linaro.org>
3507 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3508 Add a line number entry for the same line.
3509 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3510 Add a line number entry for the same line.
3512 2015-03-26 Yao Qi <yao.qi@linaro.org>
3514 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3516 (func): Likewise. Add .Lfunc_1 label.
3518 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3523 2015-03-26 Yao Qi <yao.qi@linaro.org>
3525 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3526 Call gdb_compile instead to compile each .s files without debug
3529 2015-03-26 Yao Qi <yao.qi@linaro.org>
3531 * gdb.base/savedregs.exp (process_saved_regs): Make
3532 "Saved registers:" optional in the pattern.
3534 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3536 * gdb.btrace/next.exp: Merged into step.exp.
3537 * gdb.btrace/finish.exp: Merged into step.exp.
3538 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3539 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3540 "record goto" and checking the exact replay position.
3541 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3542 check for "Recording format" in "info record" output.
3543 * gdb.btrace/record_goto.exp: Choose test file based on target.
3544 * gdb.btrace/x86-record_goto.S: Renamed into ...
3545 * gdb.btrace/x86_64-record_goto.S: ... this.
3546 * gdb.btrace/i686-record_goto.S: New.
3547 * gdb.btrace/x86-tailcall.S: Renamed into ...
3548 * gdb.btrace/x86_64-tailcall.S: ... this.
3549 * gdb.btrace/i686-tailcall.S: New.
3550 * gdb.btrace/x86-tailcall.c: Renamed into ...
3551 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3552 separate statements. Update test.
3553 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3554 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3555 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3556 * gdb.btrace/tailcall.exp: Choose test file based on target.
3557 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3559 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3561 * gdb.btrace/exception.exp: Increase BTS buffer size.
3563 2015-03-24 Pedro Alves <palves@redhat.com>
3565 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3567 2015-03-24 Pedro Alves <palves@redhat.com>
3569 * gdb.threads/schedlock.exp (test_step): No longer expect that
3570 "set scheduler-locking step" with "next" over a function call runs
3573 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3575 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3577 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3579 PR breakpoints/16466
3580 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3581 * gdb.mi/mi-pending.c (thread_func): New function.
3582 (int main): Add threading support required.
3583 * gdb.mi/mi-pending.exp: Add tests for this issue.
3584 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3585 (pendfunc2): Remove stdio dependency.
3586 * gdb.mi/mi-pendshr2.c: New file.
3588 2015-03-23 Keith Seitz <keiths@redhat.com>
3590 * gdb.linespec/keywords.c: New file.
3591 * gdb.linespec/keywords.exp: New file.
3593 2015-03-23 Keith Seitz <keiths@redhat.com>
3596 * gdb.dwarf2/staticvirtual.exp: New test.
3598 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3600 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3601 * README: Remove HP-UX and gdb.hp.
3603 * configure: Regenerate.
3604 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3605 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3606 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3607 gdb.hp/gdb.defects/Makefile.
3608 * gdb.hp/Makefile.in: File deleted.
3609 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3610 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3611 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3612 * gdb.hp/gdb.aCC/run.c: File deleted.
3613 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3614 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3615 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3616 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3617 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3618 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3619 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3620 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3621 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3622 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3623 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3624 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3625 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3626 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3627 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3628 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3629 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3630 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3631 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3632 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3633 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3634 * gdb.hp/gdb.compat/average.c: File deleted.
3635 * gdb.hp/gdb.compat/sum.c: File deleted.
3636 * gdb.hp/gdb.compat/xdb.c: File deleted.
3637 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3638 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3639 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3640 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3641 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3642 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3643 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3644 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3645 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3646 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3647 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3648 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3649 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3650 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3651 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3652 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3653 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3654 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3655 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3656 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3657 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3658 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3659 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3660 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3661 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3662 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3663 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3664 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3665 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3666 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3667 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3668 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3669 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3670 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3671 * gdb.hp/tools/odump: File deleted.
3673 2015-03-19 Pedro Alves <palves@redhat.com>
3675 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3676 (saw_thread_3): New globals.
3677 (top level): Increment them when an event for the corresponding
3679 (no thread starvation): New test.
3681 2015-03-19 Pedro Alves <palves@redhat.com>
3683 * gdb.threads/continue-pending-status.c: New file.
3684 * gdb.threads/continue-pending-status.exp: New file.
3686 2015-03-18 Pedro Alves <palves@redhat.com>
3688 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3689 Use gdb_is_target_remote instead of is_remote. Use
3690 gdb_test_multiple instead of gdb_expect. Exit early if
3691 gdb_test_multiple hits its internal matches. Tighten stepi tests
3692 expected output. Fail on exit with any signal, instead of just
3695 2015-03-18 Yao Qi <yao.qi@linaro.org>
3698 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3700 * gdb.base/catch-syscall.exp: Don't skip it on
3701 aarch64*-*-linux* target. Remove elements in all_syscalls.
3702 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3704 (setup_all_syscalls): New proc.
3706 2015-03-16 Yao Qi <yao.qi@linaro.org>
3708 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3709 (top level): Skip tests if valid_addr_p returns false for
3712 2015-03-11 Andy Wingo <wingo@igalia.com>
3714 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3716 2015-03-11 Yao Qi <yao.qi@linaro.org>
3718 * gdb.base/catch-syscall.exp: Fix typo in comments.
3720 2015-03-11 Yao Qi <yao.qi@linaro.org>
3722 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3724 2015-03-09 Pedro Alves <palves@redhat.com>
3726 * dg-extract-results.py: Delete.
3728 2015-03-09 Pedro Alves <palves@redhat.com>
3730 Merge dg-extract-results.sh from GCC upstream (r218843).
3732 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3733 * dg-extract-results.sh: Use --text with grep to avoid issues with
3734 binary files. Fall back to cat -v, if that doesn't work.
3736 2015-03-05 Pedro Alves <palves@redhat.com>
3738 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3740 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3742 * lib/mi-support.exp (mi_expect_interrupt): Accept
3743 alternative event for when in all-stop mode.
3745 2015-03-04 Pedro Alves <palves@redhat.com>
3747 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3749 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3751 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3753 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3755 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3756 regexps for GDB's current line display, accept a hex address
3757 preceding the line number.
3759 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3761 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3762 the 'arch1' variable for "s390*-linux*" targets.
3764 2015-03-04 Pedro Alves <palves@redhat.com>
3766 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3767 (main): Pass missing retval argument to pthread_join call.
3769 2015-03-02 Pedro Alves <palves@redhat.com>
3771 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3772 (top level): Call do_test with non-stop as well.
3774 2015-03-02 Pedro Alves <palves@redhat.com>
3776 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3779 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3781 * gdb.arch/s390-vregs.exp: New test.
3782 * gdb.arch/s390-vregs.S: New file.
3784 2015-02-27 Pedro Alves <palves@redhat.com>
3786 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3787 call to catch_command_errors.
3788 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3789 catch_command_errors.
3791 2015-02-27 Pedro Alves <palves@redhat.com>
3793 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3794 "true" for boolean result.
3795 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3798 2015-02-27 Pedro Alves <palves@redhat.com>
3800 * lib/unbuffer_output.c: New file.
3801 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3802 (main): Call gdb_unbuffer_output.
3804 2015-02-27 Yao Qi <yao.qi@linaro.org>
3806 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3809 2015-02-26 Doug Evans <dje@google.com>
3811 * gdb.cp/class2.cc (Dbase, D): New classes.
3812 (main): New local delta.
3813 * gdb.cp/class2.exp: Test printing delta.
3814 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3815 (dynbar): New global.
3816 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3818 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3820 * gdb.compile/compile-ifunc.c: New file.
3821 * gdb.compile/compile-ifunc.exp: New file.
3823 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3825 * gdb.base/structs.exp: Check for correct struct on finish.
3827 2015-02-26 Yao Qi <yao.qi@linaro.org>
3829 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3832 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3834 * gdb.arch/cordic.ko.bz2: New file.
3835 * gdb.arch/cordic.ko.debug.bz2: New file.
3836 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3838 2015-02-25 Yao Qi <yao.qi@linaro.org>
3840 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3841 aarch64*-*-* target.
3843 2015-02-23 Pedro Alves <palves@redhat.com>
3845 * lib/gdb.exp (delete_breakpoints): Rewrite using
3848 2015-02-23 Pedro Alves <palves@redhat.com>
3850 * gdb.base/info-os.c: Include stdlib.h.
3852 2015-02-22 Doug Evans <xdje42@gmail.com>
3855 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3856 is read after symbols have been re-read.
3857 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3858 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3860 2015-02-21 Doug Evans <dje@google.com>
3862 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3864 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3867 * gdb.arch/i386-biarch-core.core.bz2: New file.
3868 * gdb.arch/i386-biarch-core.exp: New file.
3870 2015-02-21 Pedro Alves <palves@redhat.com>
3872 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3875 2015-02-20 Pedro Alves <palves@redhat.com>
3877 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3880 2015-02-20 Pedro Alves <palves@redhat.com>
3882 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3884 2015-02-20 Pedro Alves <palves@redhat.com>
3886 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3887 clean_restart before gdb_target_supports_trace.
3889 2015-02-20 Pedro Alves <palves@redhat.com>
3892 * gdb.threads/clone-thread_db.c: New file.
3893 * gdb.threads/clone-thread_db.exp: New file.
3895 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3897 PR breakpoints/16812
3898 * gdb.base/catch-gdb-caused-signals.c: New file.
3899 * gdb.base/catch-gdb-caused-signals.exp: New file.
3901 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3903 * configure: Regenerated.
3904 * configure.ac: Use GDB_AC_TRANSFORM.
3905 * aclocal.m4: sinclude ../transform.m4.
3907 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3909 * lib/dtrace.exp: New file.
3910 * gdb.base/dtrace-probe.exp: Likewise.
3911 * gdb.base/dtrace-probe.d: Likewise.
3912 * gdb.base/dtrace-probe.c: Likewise.
3913 * lib/pdtrace.in: Likewise.
3914 * configure.ac: Output variables with the transformed names of
3915 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3916 * configure: Regenerated.
3918 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3920 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3921 expected message when trying to access $_probe_* convenience
3922 variables while not on a probe.
3924 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3926 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3928 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3930 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3931 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3933 2015-02-10 Doug Evans <xdje42@gmail.com>
3935 * lib/gdb.exp (gdb_load): Always return a result.
3937 2015-02-10 Pedro Alves <palves@redhat.com>
3939 * gdb.threads/signal-sigtrap.c: New file.
3940 * gdb.threads/signal-sigtrap.exp: New file.
3942 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3944 * gdb.trace/no-attach-trace.c: New file.
3945 * gdb.trace/no-attach-trace.exp: New file.
3947 2015-02-09 Mark Wielaard <mjw@redhat.com>
3949 * gdb.dwarf2/atomic.c: New file.
3950 * gdb.dwarf2/atomic-type.exp: Likewise.
3952 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3954 * gdb.btrace/buffer-size.exp: Update "info record" output.
3955 * gdb.btrace/delta.exp: Update "info record" output.
3956 * gdb.btrace/enable.exp: Update "info record" output.
3957 * gdb.btrace/finish.exp: Update "info record" output.
3958 * gdb.btrace/instruction_history.exp: Update "info record" output.
3959 * gdb.btrace/next.exp: Update "info record" output.
3960 * gdb.btrace/nexti.exp: Update "info record" output.
3961 * gdb.btrace/step.exp: Update "info record" output.
3962 * gdb.btrace/stepi.exp: Update "info record" output.
3963 * gdb.btrace/nohist.exp: Update "info record" output.
3965 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3967 * gdb.btrace/buffer-size: New.
3969 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3971 * gdb.btrace/delta.exp: Update "info record" output.
3972 * gdb.btrace/enable.exp: Update "info record" output.
3973 * gdb.btrace/finish.exp: Update "info record" output.
3974 * gdb.btrace/instruction_history.exp: Update "info record" output.
3975 * gdb.btrace/next.exp: Update "info record" output.
3976 * gdb.btrace/nexti.exp: Update "info record" output.
3977 * gdb.btrace/step.exp: Update "info record" output.
3978 * gdb.btrace/stepi.exp: Update "info record" output.
3979 * gdb.btrace/nohist.exp: Update "info record" output.
3981 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3984 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3986 2015-02-06 Pedro Alves <palves@redhat.com>
3988 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3990 (seconds_left, again): New globals.
3991 (main): Wait seconds_left in a 1-second sleep loop instead of
3992 sleeping 180 seconds. If 'again' is set, reset the seconds
3994 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3995 'again' in the inferior before detaching. Print the seconds left.
3996 (options): New global.
3997 (top level): Build program with -DTIMEOUT=$timeout.
3999 2015-02-06 Pedro Alves <palves@redhat.com>
4001 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4002 determine how many seconds to pass to 'alarm'.
4003 * gdb.base/gdb-sigterm.exp (top level): Build program with
4005 (do_test): Return success/failure indication. Add more verbose
4006 logging. Don't fail if 200 single steps are seen. Instead, fail
4007 when the test times out.
4008 (passes): New global.
4009 (top level): Break the testing loop if testing fails on any
4010 iteration. Use gdb_assert.
4012 2015-02-04 Don Breazeal <donb@codesourcery.com>
4014 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4015 and initialize them.
4016 (ipc_cleanup): New function.
4017 (main): Don't declare shmid, semid, and msqid. Add a call to
4018 atexit so that we call ipc_cleanup on exit.
4020 2015-02-04 Pedro Alves <palves@redhat.com>
4022 * boards/native-extended-gdbserver.exp: Remove any target variant
4023 specifications from the board name before clearing the isremote
4024 flag from board_info.
4026 2015-01-31 Doug Evans <xdje42@gmail.com>
4028 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4030 2015-01-31 Gary Benson <gbenson@redhat.com>
4032 * gdb.base/completion.exp: Disable completion limiting for
4033 existing tests. Add new tests to check completion limiting.
4034 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4036 2015-01-31 Doug Evans <xdje42@gmail.com>
4038 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4040 2015-01-31 Doug Evans <xdje42@gmail.com>
4042 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4043 entries. Duplicate file section script entries.
4044 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4045 inlined entries. Add test for safe-path rejection.
4046 * gdb.python/py-section-script.c: Add duplicate inlined section script
4047 entries. Duplicate file section script entries.
4048 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4049 inlined entries. Add test for safe-path rejection.
4051 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4053 * gdb.ada/disc_arr_bound: New testcase.
4055 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4057 * gdb.ada/mi_var_array: New testcase.
4059 2015-01-27 Doug Evans <dje@google.com>
4061 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4062 Add test for objfile.filename, objfile.username after objfile
4065 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4067 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4068 the second test to print the name attribute of value
4069 returned by the call to gdb.lookup_type, and adjust
4070 the expected output accordingly.
4072 2015-01-25 Mark Wielaard <mjw@redhat.com>
4074 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4075 * gdb.base/disp-step-fork.c: Include unistd.h.
4076 * gdb.base/siginfo-obj.c: Include stdio.h.
4077 * gdb.base/siginfo-thread.c: Likewise.
4078 * gdb.mi/non-stop.c: Include unistd.h.
4079 * gdb.mi/nsthrexec.c: Include stdio.h.
4080 * gdb.mi/pthreads.c: Include unistd.h.
4081 * gdb.modula2/unbounded1.c (main): Declare returns int.
4082 * gdb.reverse/consecutive-reverse.c: Likewise.
4083 * gdb.threads/create-fail.c: Include unistd.h.
4084 * gdb.threads/killed.c: Likewise.
4085 * gdb.threads/linux-dp.c: Likewise.
4086 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4087 * gdb.threads/non-ldr-exc-2.c: Likewise.
4088 * gdb.threads/non-ldr-exc-3.c: Likewise.
4089 * gdb.threads/non-ldr-exc-4.c: Likewise.
4090 * gdb.threads/pthreads.c: Include unistd.h.
4091 (main): Declare returns int.
4092 * gdb.threads/tls-main.c (foo): New declaration.
4093 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4095 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4097 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4098 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4100 2015-01-15 Mark Wielaard <mjw@redhat.com>
4102 * gdb.base/noreturn-return.c: New file.
4103 * gdb.base/noreturn-return.exp: New file.
4104 * gdb.base/noreturn-finish.c: New file.
4105 * gdb.base/noreturn-finish.exp: New file.
4107 2015-01-23 Pedro Alves <palves@redhat.com>
4109 * gdb.threads/continue-pending-after-query.c: New file.
4110 * gdb.threads/continue-pending-after-query.exp: New file.
4112 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4113 Simon Marchi <simon.marchi@ericsson.com>
4115 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4116 * gdb.base/valgrind-db-attach.exp: Same.
4117 * gdb.base/valgrind-infcall.exp: Same.
4118 * lib/mi-support.exp (default_mi_gdb_start): Same.
4119 * lib/prompt.exp (default_prompt_gdb_start): Same.
4120 * lib/gdb.exp (default_gdb_spawn): Same.
4121 (gdb_interact): New.
4124 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4126 * gdb.compile/compile.exp (pointer to jit function): New test.
4128 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4130 * lib/gdb.exp (supports_process_record): Return true for
4132 (supports_reverse): Likewise.
4134 2015-01-15 Don Breazeal <donb@codesourcery.com>
4136 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4137 instead of checking whether the target board is remote and
4138 use spawn_wait_for_attach instead of exec/sleep.
4139 * gdb.base/attach-twice.exp: Likewise.
4141 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4143 * gdb.ada/var_arr_attrs: New testcase.
4145 2015-01-14 Pedro Alves <palves@redhat.com>
4146 Joel Brobecker <brobecker@adacore.com>
4149 * gdb.base/bp-cmds-execution-x-script.c: New file.
4150 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4151 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4153 2015-01-14 Pedro Alves <palves@redhat.com>
4156 * gdb.base/batch-preserve-term-settings.c: New file.
4157 * gdb.base/batch-preserve-term-settings.exp: New file.
4159 2015-01-13 Doug Evans <dje@google.com>
4161 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4164 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4166 * Makefile.in (clean mostlyclean): Do not delete *.py.
4168 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4170 * gdb.python/py-lookup-type.exp: New file.
4172 2015-01-12 Pedro Alves <palves@redhat.com>
4174 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4175 restore GDBFLAGS before returning.
4177 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4179 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4180 is_amd64_regs_target and is_x86_like_target.
4182 2015-01-11 Doug Evans <xdje42@gmail.com>
4184 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4185 is given without an explicit form.
4186 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4188 * gdb.dwarf/corrupt.exp: Ditto.
4189 * gdb.dwarf2/enum-type.exp: Ditto.
4190 * gdb.trace/entry-values.exp: Ditto.
4191 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4193 2015-01-11 Doug Evans <xdje42@gmail.com>
4196 * gdb.base/maint.exp: Remove references to "maint demangle".
4197 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4198 Add tests for explicitly specifying language to demangle.
4199 * gdb.dlang/demangle.exp: Ditto.
4201 2015-01-09 Pedro Alves <palves@redhat.com>
4203 * gdb.threads/non-stop-fair-events.c: New file.
4204 * gdb.threads/non-stop-fair-events.exp: New file.
4206 2015-01-09 Pedro Alves <palves@redhat.com>
4208 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4209 the global scope. Set a breakpoint after all threads are started
4210 rather than stepping over two source lines. Expect the prompt.
4211 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4214 (main): Use threads_started_barrier to wait for all threads to
4215 start. Main thread no longer calls thread_function. Exit after
4217 (loop): New function.
4218 (thread_function): Wait on threads_started_barrier barrier. Call
4219 'loop' at each iteration.
4220 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4221 threads have started, instead of hardcoding number of "next"
4222 steps. Use an access watchpoint instead of a write watchpoint.
4224 2015-01-09 Pedro Alves <palves@redhat.com>
4226 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4227 (thread_func): Wait on barrier.
4228 (main): Wait for all threads to start before stopping GDB.
4229 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4231 (thread1_func, thread2_func): Wait on barrier.
4232 (main): Wait for all threads to start before stopping GDB.
4233 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4235 (thread1_func, thread2_func): Wait on barrier.
4236 (main): Wait for all threads to start before stopping GDB.
4238 2015-01-09 Pedro Alves <palves@redhat.com>
4240 * gdb.threads/attach-many-short-lived-threads.c: New file.
4241 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4243 2014-01-09 Pedro Alves <palves@redhat.com>
4245 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4246 instead of to thread 2.
4247 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4248 Add barrier around each pthread_create call instead of around all
4250 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4251 Set a break on thread_function and have the child threads hit it
4254 2015-01-09 Pedro Alves <palves@redhat.com>
4256 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4257 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4259 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4260 checking whether the target board is remote.
4261 * gdb.multi/multi-attach.exp: Likewise.
4262 * gdb.python/py-sync-interp.exp: Likewise.
4263 * gdb.server/ext-attach.exp: Likewise.
4264 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4265 tests that need to attach, instead of checking whether the target
4266 board is remote at the top of the file.
4268 2015-01-08 Yao Qi <yao@codesourcery.com>
4270 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4272 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4274 Fix testcase compilation.
4275 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4277 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4279 * gdb.python/py-type.exp: Add a couple test about empty
4280 array creation, and negative-length array creation.
4282 2015-01-02 Doug Evans <xdje42@gmail.com>
4284 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4286 2015-01-02 Doug Evans <dje@google.com>
4288 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4290 2014-12-29 Yao Qi <yao@codesourcery.com>
4292 * gdb.trace/entry-values.exp: Update comments. Rename variable
4293 bar_call_foo to returned_from_foo.
4295 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4298 * gdb.linespec/break-asm-file.c: New file.
4299 * gdb.linespec/break-asm-file.exp: New file.
4300 * gdb.linespec/break-asm-file0.s: New file.
4301 * gdb.linespec/break-asm-file1.s: New file.
4303 2014-12-18 Nigel Stephens <nigel@mips.com>
4304 Maciej W. Rozycki <macro@codesourcery.com>
4306 * gdb.base/float.exp: Handle the new output from "info float" on
4309 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4311 Fix MinGW compilation.
4312 * gdb.compile/compile-ops.exp: Update untested message if
4313 !skip_compile_feature_tests.
4314 * gdb.compile/compile-setjmp.exp: Likewise.
4315 * gdb.compile/compile-tls.exp: Likewise.
4316 * gdb.compile/compile.exp: Likewise.
4317 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4318 supported on this host".
4320 2014-12-16 Doug Evans <xdje42@gmail.com>
4322 * boards/stabs.exp: New file.
4324 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4326 * gdb.base/completion.exp: Adjust to format changes of "maint
4327 print user-registers".
4329 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4332 * gdb.arch/aarch64-fp.c: New file.
4333 * gdb.arch/aarch64-fp.exp: New file.
4335 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4337 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4338 r210637, r210913, r211666, r215400, r215817).
4340 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4341 * dg-extract-results.py: New file.
4342 * dg-extract-results.sh: Use it if the environment seems
4345 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4347 * dg-extract-results.py (parse_run): Handle warnings that
4348 are printed before a test harness is run.
4350 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4352 * dg-extract-results.py (Named): Remove __cmp__ method.
4353 (output_variation): Use a key to sort variation.harnesses.
4355 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4357 * dg-extract-results.py: For Python 3, force sys.stdout to
4358 handle surrogate escape sequences.
4359 (safe_open): New function.
4360 (output_segment, main): Use it.
4362 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4364 * dg-extract-results.py (Prog.result_re): Include options
4367 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4369 * dg-extract-results.py (output_variation): Always sort if
4372 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4374 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4375 as long as we get pagination notifications.
4377 2014-12-15 Jason Merrill <jason@redhat.com>
4379 * Makefile.in (check-gdb.%): Restore.
4380 * README: Mention it.
4382 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4384 * gdb.ada/str_uninit: New testcase.
4386 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4389 * gdb.base/vla-stub-define.c: New file.
4390 * gdb.base/vla-stub.c: New file.
4391 * gdb.base/vla-stub.exp: New file.
4393 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4394 Jan Kratochvil <jan.kratochvil@redhat.com>
4395 Tom Tromey <tromey@redhat.com>
4397 * configure.ac: Add gdb.compile/.
4398 * configure: Regenerate.
4399 * gdb.compile/Makefile.in: New file.
4400 * gdb.compile/compile-ops.exp: New file.
4401 * gdb.compile/compile-ops.c: New file.
4402 * gdb.compile/compile-tls.c: New file.
4403 * gdb.compile/compile-tls.exp: New file.
4404 * gdb.compile/compile-constvar.S: New file.
4405 * gdb.compile/compile-constvar.c: New file.
4406 * gdb.compile/compile-mod.c: New file.
4407 * gdb.compile/compile-nodebug.c: New file.
4408 * gdb.compile/compile-setjmp-mod.c: New file.
4409 * gdb.compile/compile-setjmp.c: New file.
4410 * gdb.compile/compile-setjmp.exp: New file.
4411 * gdb.compile/compile-shlib.c: New file.
4412 * gdb.compile/compile.c: New file.
4413 * gdb.compile/compile.exp: New file.
4414 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4416 2014-12-12 Tom Tromey <tromey@redhat.com>
4418 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4419 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4421 2014-12-12 Doug Evans <dje@google.com>
4423 * lib/gdb-python.exp (get_python_valueof): New function.
4424 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4426 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4428 * gdb.base/completion.exp: Add test for completion of "info
4431 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4433 * gdb.base/func-ptrs.c: New file.
4434 * gdb.base/func-ptrs.exp: New file.
4436 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4438 PR breakpoints/17012
4439 * gdb.base/dprintf-detach.c: New file.
4440 * gdb.base/dprintf-detach.exp: New file.
4442 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4444 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4445 * lib/gdb.exp (target_is_gdbserver): New procedure.
4447 2014-12-08 Doug Evans <dje@google.com>
4449 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4451 2014-12-05 Yao Qi <yao@codesourcery.com>
4453 * gdb.guile/scm-error.exp: Remove the third argument to
4454 gdb_remote_download.
4455 * gdb.guile/scm-frame-args.exp: Likewise.
4456 * gdb.guile/scm-section-script.exp: Likewise.
4458 2014-12-05 Yao Qi <yao@codesourcery.com>
4460 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4462 2014-12-04 Doug Evans <dje@google.com>
4464 * gdb.python/py-objfile.exp: Add tests for
4465 objfile.add_separate_debug_file.
4467 2014-12-04 Doug Evans <dje@google.com>
4469 * lib/gdb.exp (get_build_id): New function.
4470 (build_id_debug_filename_get): Rewrite to use it.
4471 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4473 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4475 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4476 `method(long)', not just 0x0.
4477 * gdb.cp/nsalias.exp: Align code labels to 4.
4478 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4479 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4480 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4481 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4482 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4483 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4485 2014-12-02 Doug Evans <dje@google.com>
4488 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4489 * gdb.cp/anon-ns2.cc: ... here. New file.
4490 * gdb.cp/anon-ns.exp: Update.
4492 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4494 * gdb.python/py-events.py (inferior_call_handler): New.
4495 (register_changed_handler, memory_changed_handler): New.
4496 (test_events.invoke): Register new handlers.
4497 * gdb.python/py-events.exp: Add tests for inferior call,
4498 memory_changed and register_changed events.
4500 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4503 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4504 if the linker doesn't understand this.
4506 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4508 * gdb.python/python.exp: Change expected reply to help().
4510 2014-12-01 Yao Qi <yao@codesourcery.com>
4512 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4513 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4514 * configure: Re-generated.
4516 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4518 * gdb.cp/chained-calls.cc: New file.
4519 * gdb.cp/chained-calls.exp: New file.
4520 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4522 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4524 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4525 * gdb.dwarf2/symtab-producer.exp: Same.
4526 * gdb.gdb/python-interrupts.exp: Same.
4527 * gdb.gdb/python-selftest.exp: Same.
4528 * gdb.python/py-linetable.exp: Same.
4529 * gdb.python/py-type.exp: Same.
4530 * gdb.python/py-value-cc.exp: Same.
4531 * gdb.python/py-value.exp: Same.
4533 2014-11-28 Yao Qi <yao@codesourcery.com>
4535 * gdb.base/break-probes.exp: Match library name prefixed with
4538 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4540 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4541 test expected output. Add parentheses for the call to print.
4542 Remove L suffix from integers.
4544 2014-11-26 Doug Evans <dje@google.com>
4546 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4548 2014-11-22 Yao Qi <yao@codesourcery.com>
4550 * gdb.trace/entry-values.c: Remove asms.
4551 (foo): Add foo_label.
4552 (bar): Add bar_label.
4553 * gdb.trace/entry-values.exp: Remove code computing foo's
4554 length and bar's length.
4555 (Dwarf::assemble): Invoke function_range for bar and use
4556 MACRO_AT_func for foo.
4558 2014-11-22 Yao Qi <yao@codesourcery.com>
4560 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4561 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4562 Use .Lgcc43_procstart instead of gcc43.
4564 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4566 * gdb.ada/n_arr_bound: New testcase.
4568 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4570 PR breakpoints/10737
4571 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4572 test_catch_syscall_multi_arch.
4573 (test_catch_syscall_multi_arch): New function.
4575 2014-11-20 Doug Evans <xdje42@gmail.com>
4577 * gdb.base/maint.exp: Update expected output.
4579 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4581 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4582 4-byte instruction on S390.
4584 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4586 * gdb.ada/arr_arr: New testcase.
4588 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4590 * gdb.ada/pkd_arr_elem: New Testcase.
4592 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4594 * gdb.reverse/break-precsave: Expect completion message for
4596 * gdb.reverse/consecutive-precsave.exp: Likewise.
4597 * gdb.reverse/finish-precsave.exp: Likewise.
4598 * gdb.reverse/i386-precsave.exp: Likewise.
4599 * gdb.reverse/machinestate-precsave.exp: Likewise.
4600 * gdb.reverse/sigall-precsave.exp: Likewise.
4601 * gdb.reverse/solib-precsave.exp: Likewise.
4602 * gdb.reverse/step-precsave.exp: Likewise.
4603 * gdb.reverse/until-precsave.exp: Likewise.
4604 * gdb.reverse/watch-precsave.exp: Likewise.
4606 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4608 * gdb.base/bp-permanent.c: Include unistd.h.
4609 * gdb.python/py-framefilter-mi.c (main): Add return type.
4610 * gdb.python/py-framefilter.c (main): Likewise.
4611 * gdb.trace/actions-changed.c (main): Likewise.
4613 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4615 * gdb.mi/until.c: Add eye-catchers.
4616 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4619 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4621 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4622 function header variants in break1.c.
4623 * gdb.base/ena-dis-br.exp: Likewise.
4624 * gdb.base/hbreak2.exp: Likewise.
4625 * gdb.reverse/until-precsave.exp: Drop references to removed
4626 non-prototype function header variants in ur1.c.
4627 * gdb.reverse/until-reverse.exp: Likewise.
4629 2014-11-17 Petr Machata <pmachata@redhat.com>
4631 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4632 ${_cu_offset_size} bytes abbrev offset.
4634 2014-11-15 Doug Evans <xdje42@gmail.com>
4637 * gdb.base/line-symtabs.exp: New file.
4638 * gdb.base/line-symtabs.c: New file.
4639 * gdb.base/line-symtabs.h: New file.
4641 2014-11-14 Yao Qi <yao@codesourcery.com>
4643 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4644 (func): Add label func_label.
4645 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4646 Replace low_pc and high_pc with MACRO_AT_range.
4647 Replace name, low_pc and high_pc with MACRO_AT_func.
4649 2014-11-14 Yao Qi <yao@codesourcery.com>
4651 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4652 Replace name, low_pc and high_pc with MACRO_AT_func.
4654 2014-11-14 Yao Qi <yao@codesourcery.com>
4656 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4657 produce debug information.
4658 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4660 2014-11-14 Yao Qi <yao@codesourcery.com>
4662 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4663 object and get function length.
4664 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4666 (top-level): Replace gdb_compile and clean_restart with
4667 prepare_for_testing.
4668 * gdb.dwarf2/main.c (main): Add label main_label.
4670 2014-11-14 Yao Qi <yao@codesourcery.com>
4672 * lib/dwarf.exp (function_range): New procedure.
4673 (Dwarf::_handle_macro_at_func): New procedure.
4674 (Dwarf::_handle_macro_at_range): New procedure.
4675 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4677 2014-11-14 Yao Qi <yao@codesourcery.com>
4679 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4680 (_handle_attribute): New procedure.
4682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4684 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4685 * gdb.base/call-sc.c (zed): Likewise.
4686 * gdb.base/checkpoint.c (main): Likewise.
4687 * gdb.base/dump.c (main): Likewise.
4688 * gdb.base/gcore.c (main): Likewise.
4689 * gdb.base/huge.c (main): Likewise.
4690 * gdb.base/multi-forks.c (main): Likewise.
4691 * gdb.base/pr10179-a.c (main): Likewise.
4692 * gdb.base/savedregs.c (main): Likewise.
4693 * gdb.base/sigaltstack.c (main): Likewise.
4694 * gdb.base/siginfo.c (main): Likewise.
4695 * gdb.base/structs.c (zed): Likewise.
4696 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4697 * gdb.mi/mi-syn-frame.c (main): Likewise.
4698 * gdb.mi/until.c (foo, main): Likewise.
4699 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4700 * gdb.base/solib-weak.c (foo): Declare.
4701 * gdb.base/attach-twice.c: Include stdio.h.
4702 * gdb.base/weaklib1.c: Likewise.
4703 * gdb.base/weaklib2.c: Likewise.
4704 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4705 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4707 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4708 * gdb.mi/mi-exit-code.c: Likewise.
4709 * gdb.base/break-interp-lib.c: Include string.h.
4710 * gdb.base/coremaker.c: Likewise.
4711 * gdb.base/testenv.c: Likewise.
4712 * gdb.python/py-finish-breakpoint.c: Likewise.
4713 * gdb.base/inferior-died.c: Include sys/wait.h.
4714 * gdb.base/fileio.c: Include time.h.
4715 * gdb.base/async-shell.c: Include unistd.h.
4716 * gdb.base/dprintf-non-stop.c: Likewise.
4717 * gdb.base/info-os.c: Likewise.
4718 * gdb.mi/mi-console.c: Likewise.
4719 * gdb.mi/watch-nonstop.c: Likewise.
4720 * gdb.python/py-events.c: Likewise.
4721 * gdb.base/async.c (baz): Move up before its invocation.
4722 * gdb.base/code_elim2.c (my_global_func): Likewise.
4723 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4724 * gdb.base/advance.c (func2): Likewise.
4726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4730 * gdb.base/annota3.c: Likewise.
4731 * gdb.base/async.c: Likewise.
4732 * gdb.base/average.c: Likewise.
4733 * gdb.base/call-ar-st.c: Likewise.
4734 * gdb.base/call-rt-st.c: Likewise.
4735 * gdb.base/call-sc.c: Likewise.
4736 * gdb.base/call-strs.c: Likewise.
4737 * gdb.base/ending-run.c: Likewise.
4738 * gdb.base/execd-prog.c: Likewise.
4739 * gdb.base/exprs.c: Likewise.
4740 * gdb.base/foll-exec.c: Likewise.
4741 * gdb.base/foll-fork.c: Likewise.
4742 * gdb.base/foll-vfork.c: Likewise.
4743 * gdb.base/funcargs.c: Likewise.
4744 * gdb.base/gcore.c: Likewise.
4745 * gdb.base/jump.c: Likewise.
4746 * gdb.base/langs0.c: Likewise.
4747 * gdb.base/langs1.c: Likewise.
4748 * gdb.base/langs2.c: Likewise.
4749 * gdb.base/mips_pro.c: Likewise.
4750 * gdb.base/nodebug.c: Likewise.
4751 * gdb.base/opaque0.c: Likewise.
4752 * gdb.base/opaque1.c: Likewise.
4753 * gdb.base/recurse.c: Likewise.
4754 * gdb.base/run.c: Likewise.
4755 * gdb.base/scope0.c: Likewise.
4756 * gdb.base/scope1.c: Likewise.
4757 * gdb.base/setshow.c: Likewise.
4758 * gdb.base/setvar.c: Likewise.
4759 * gdb.base/shmain.c: Likewise.
4760 * gdb.base/shr1.c: Likewise.
4761 * gdb.base/shr2.c: Likewise.
4762 * gdb.base/sigall.c: Likewise.
4763 * gdb.base/signals.c: Likewise.
4764 * gdb.base/so-indr-cl.c: Likewise.
4765 * gdb.base/solib2.c: Likewise.
4766 * gdb.base/structs.c: Likewise.
4767 * gdb.base/sum.c: Likewise.
4768 * gdb.base/vforked-prog.c: Likewise.
4769 * gdb.base/watchpoint.c: Likewise.
4770 * gdb.reverse/shr2.c: Likewise.
4771 * gdb.reverse/until-reverse.c: Likewise.
4772 * gdb.reverse/ur1.c: Likewise.
4773 * gdb.reverse/watch-reverse.c: Likewise.
4775 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4777 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4779 * gdb.base/sepdebug.exp: Drop references to removed code.
4781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4783 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4784 variant. Preserve original line numbering.
4785 * gdb.base/list1.c: Likewise.
4787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4789 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4791 * gdb.base/break1.c: Likewise.
4792 * gdb.base/break.exp: Drop references to removed code.
4794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4796 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4801 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4805 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4806 logic into perform_all_tests() and invoke it with and without
4807 function header prototypes.
4808 (do_function_calls): Remove conditional XFAIL for PR 5318.
4809 (rerun_and_prepare): Remove duplicate code.
4810 (perform_all_tests): New. Main logic moved here.
4812 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4814 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4815 code guarded by #ifdef NO_PROTOTYPES.
4816 (t_double_many_args): Likewise.
4817 (DEF_FUNC_MANY_ARGS_1): Likewise.
4818 (DEF_FUNC_VALUES_1): Likewise.
4819 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4820 guarded by #ifdef PROTOTYPES.
4822 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4824 * gdb.mi/mi-console.c: Add eye-catcher.
4825 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4826 instead of literal line number.
4828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4830 * gdb.base/shr2.c: Add eye-catcher.
4831 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4836 * gdb.base/jump.c: Add eye-catchers.
4837 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4842 * gdb.base/execd-prog.c: Add eye-catchers.
4843 * gdb.base/foll-exec.c: Likewise.
4844 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4847 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4849 * gdb.base/ending-run.c: Add eye-catchers.
4850 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4851 literal line numbers.
4853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4855 * gdb.base/call-rt-st.c: Add eye-catchers.
4856 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4857 literal line numbers.
4859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4861 * gdb.base/call-ar-st.c: Add eye-catchers.
4862 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4863 literal line numbers.
4865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4867 * gdb.base/average.c: Add eye-catchers.
4868 * gdb.base/sum.c: Likewise.
4869 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4870 regexps dynamically.
4872 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4874 * gdb.base/solib1.c: Add eye-catchers.
4875 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4876 literal line numbers.
4878 2014-11-12 Pedro Alves <palves@redhat.com>
4880 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4883 2014-11-12 Pedro Alves <palves@redhat.com>
4885 * gdb.arch/i386-bp_permanent.c: New file.
4886 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4887 (srcfile): Set to i386-bp_permanent.c.
4888 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4889 that stepi does not execute the 'leave' instruction, instead of
4890 testing it does execute.
4891 * gdb.base/bp-permanent.c: New file.
4892 * gdb.base/bp-permanent.exp: New file.
4894 2014-11-10 Doug Evans <xdje42@gmail.com>
4897 * gdb.base/symtab-search-order.exp: New file.
4898 * gdb.base/symtab-search-order.c: New file.
4899 * gdb.base/symtab-search-order-1.c: New file.
4900 * gdb.base/symtab-search-order-shlib-1.c: New file.
4902 2014-11-07 Pedro Alves <palves@redhat.com>
4905 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4908 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4911 * gdb.cp/pr17494.cc: New file.
4912 * gdb.cp/pr17494.exp: New file.
4914 2014-11-02 Yao Qi <yao@codesourcery.com>
4916 * gdb.python/python.exp: Get working directory and match the
4917 output of "set extended-prompt \\w " with it.
4919 2014-10-30 Doug Evans <dje@google.com>
4921 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4923 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4926 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4928 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4929 * gdb.base/realname-expand.exp: Likewise.
4930 * gdb.linespec/macro-relative.exp: Likewise.
4932 2014-10-29 Pedro Alves <palves@redhat.com>
4935 * gdb.threads/schedlock.c (some_function): New function.
4936 (call_function): New global.
4937 (MAYBE_CALL_SOME_FUNCTION): New macro.
4938 (thread_function): Call it.
4939 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4940 and use it instead of a global counter. Adjust all callers.
4941 (get_current_thread): Use "find current thread" for test message
4942 here rather than having all callers pass down the same string.
4943 (goto_loop): New procedure, factored out from ...
4944 (my_continue): ... this.
4945 (step_ten_loops): Change parameter from test message to command to
4947 (list_count): Delete global.
4948 (check_result): New procedure, factored out from duplicate top
4950 (continue tests): Wrap in with_test_prefix.
4951 (test_step): New procedure, factored out from duplicate top level
4953 (top level): Test "step" in combination with all scheduler-locking
4954 modes. Test "next" in combination with all scheduler-locking
4955 modes, and in combination with stepping over a function call or
4957 * gdb.threads/next-bp-other-thread.c: New file.
4958 * gdb.threads/next-bp-other-thread.exp: New file.
4960 2014-10-29 Pedro Alves <palves@redhat.com>
4963 * gdb.python/python.exp: Test a multi-line command that spawns
4965 * gdb.base/multi-line-starts-subshell.exp: New file.
4967 2014-10-29 Yao Qi <yao@codesourcery.com>
4969 * gdb.base/fileio.exp: Make directories on host.
4971 2014-10-29 Yao Qi <yao@codesourcery.com>
4973 * gdb.base/fileio.c (test_write): Close the file.
4975 2014-10-28 Pedro Alves <palves@redhat.com>
4978 * gdb.base/sigstep.c (no_handler): New global.
4979 (main): If 'no_handler is true, set the signal handlers to
4981 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4982 with_sw_watch and no_handler parameters. Handle them.
4983 (top level) <stepping over handler when stopped at a breakpoint
4984 test>: Add a test axis for testing with a software watchpoint, and
4985 another for testing with the signal handler set to SIG_IGN.
4986 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4987 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4989 2014-10-28 Pedro Alves <palves@redhat.com>
4992 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4993 * gdb.base/sigstep.exp (other_handler_location): New global.
4994 (advance): Support stepping into the signal handler, and running
4995 commands while in the handler.
4996 (in_handler_map): New global.
4997 (top level): In the advance test, add combinations for getting
4998 into the handler with stepping commands, and for running commands
4999 in the handler. Add comment descripting the advancei tests.
5001 2014-10-28 Pedro Alves <palves@redhat.com>
5003 * gdb.base/sigstep.exp: Use build_executable instead of
5004 prepare_for_testing.
5005 (top level): Move code that starts GDB, runs to main and creates a
5007 (restart): ... this new procedure.
5008 (top level): Move backtrace from signal handler test to ...
5009 (validate_backtrace): ... this new procedure.
5010 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5011 with_test_prefix. Always restart GDB.
5012 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5013 with_test_prefix. Always restart GDB. No need to delete
5014 breakpoints after the test.
5015 (test_skip_handler): Remove prefix parameter.
5016 (skip_over_handler, breakpoint_to_handler)
5017 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5018 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5019 restart GDB. No need to delete breakpoints after the test.
5020 (top level): Use foreach to call the test procedures with
5023 2014-10-28 Pedro Alves <palves@redhat.com>
5025 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5026 instead of GNATS numbers.
5027 * gdb.base/sigbpt.exp: Likewise.
5028 * gdb.base/siginfo.exp: Likewise.
5029 * gdb.base/sigstep.exp: Likewise.
5031 2014-10-27 Pedro Alves <palves@redhat.com>
5033 * gdb.base/sigstep.c (dummy): New global.
5034 (main): Issue a couple writes to the new global.
5035 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5037 (skip_over_handler): Use test_skip_handler.
5038 (top level): Call skip_over_handler for stepi and nexti too.
5039 (breakpoint_over_handler): Use test_skip_handler.
5040 (top level): Call breakpoint_over_handler for stepi and nexti too.
5042 2014-10-27 Yao Qi <yao@codesourcery.com>
5044 * gdb.trace/tfile.c (adjust_function_address)
5045 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5046 function descriptor.
5048 2014-10-24 Don Breazeal <donb@codesourcery.com>
5050 * gdb.base/foll-fork.exp (test_follow_fork,
5051 catch_fork_child_follow): Check for updated fork messages emitted
5053 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5054 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5055 vfork_and_exec_child_follow_through_step): Check for updated vfork
5056 messages emitted from infrun.c.
5058 2014-10-24 Pedro Alves <palves@redhat.com>
5060 * gdb.base/corefile.exp: Remove references to ultrix.
5061 * gdb.base/interrupt.exp: Likewise.
5062 * gdb.base/whatis.exp: Likewise.
5063 * gdb.gdb/selftest.exp: Likewise.
5064 * gdb.threads/manythreads.exp: Likewise.
5065 * gdb.threads/print-threads.exp: Likewise.
5066 * gdb.threads/pthreads.exp:: Likewise.
5067 * gdb.threads/schedlock.exp: Likewise.
5069 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5071 * gdb.cp/non-trivial-retval.cc: Add a test case.
5072 * gdb.cp/non-trivial-retval.exp: Add a test.
5074 2014-10-20 Yao Qi <yao@codesourcery.com>
5076 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5077 * gdb.python/py-objfile-script-gdb.py: New file.
5078 * gdb.python/py-objfile-script.exp: Update reference to
5079 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5080 of remote_download. Remove the dest file.
5082 2014-10-20 Yao Qi <yao@codesourcery.com>
5084 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5085 * gdb.base/step-line.exp: Likewise.
5086 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5087 * gdb.dwarf2/dw2-basic.exp: Likewise.
5088 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5089 * gdb.dwarf2/dw2-filename.exp: Likewise.
5090 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5091 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5092 * gdb.dwarf2/dw2-producer.exp: Likewise.
5093 * gdb.dwarf2/mac-fileno.exp: Likewise.
5094 * gdb.python/py-frame-args.exp: Likewise.
5095 * gdb.python/py-framefilter.exp: Likewise.
5096 * gdb.python/py-mi.exp: Likewise.
5097 * gdb.python/py-objfile-script.exp: Likewise
5098 * gdb.python/py-pp-integral.exp: Likewise.
5099 * gdb.python/py-pp-re-notag.exp: Likewise.
5100 * gdb.python/py-prettyprint.exp: Likewise.
5101 * gdb.python/py-section-script.exp: Likewise.
5102 * gdb.python/py-typeprint.exp: Likewise.
5103 * gdb.python/py-xmethods.exp: Likewise.
5104 * gdb.stabs/weird.exp: Likewise.
5105 * gdb.xml/tdesc-regs.exp: Likewise.
5107 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5109 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5110 (out_cu): Use addr_len for the size of addresses.
5111 (out_line): Likewise. Size DW_LNE_set_address instruction
5112 according to addr_len.
5113 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5114 (FUNC): Add START_INSNS to definition.
5116 2014-10-18 Yao Qi <yao@codesourcery.com>
5118 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5119 gdb_has_argv0 return true.
5120 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5121 check [target_info exists noargs], check [gdb_has_argv0]
5123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5124 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5127 2014-10-17 Doug Evans <dje@google.com>
5129 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5131 * gdb.python/py-events.py: Add clear_objfiles event.
5133 2014-10-17 Doug Evans <dje@google.com>
5135 * gdb.python/py-objfile.exp: Test progspace attribute.
5137 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5139 * gdb.guile/scm-breakpoint.exp: Do not assume any
5140 directory separators when matching source file paths.
5141 * gdb.python/py-breakpoint.exp: Likewise.
5142 * gdb.reverse/break-precsave.exp: Likewise.
5143 * gdb.reverse/break-reverse.exp: Likewise.
5144 * gdb.reverse/consecutive-precsave.exp: Likewise.
5145 * gdb.reverse/finish-precsave.exp: Likewise.
5146 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5147 * gdb.reverse/finish-reverse.exp: Likewise.
5148 * gdb.reverse/i386-precsave.exp: Likewise.
5149 * gdb.reverse/i387-env-reverse.exp: Likewise.
5150 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5151 * gdb.reverse/machinestate-precsave.exp: Likewise.
5152 * gdb.reverse/machinestate.exp: Likewise.
5153 * gdb.reverse/sigall-precsave.exp: Likewise.
5154 * gdb.reverse/solib-precsave.exp: Likewise.
5155 * gdb.reverse/step-precsave.exp: Likewise.
5156 * gdb.reverse/until-precsave.exp: Likewise.
5157 * gdb.reverse/watch-precsave.exp: Likewise.
5158 * gdb.reverse/watch-reverse.exp: Likewise.
5160 2014-10-17 Yao Qi <yao@codesourcery.com>
5162 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5163 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5165 2014-10-17 Pedro Alves <palves@redhat.com>
5168 * gdb.base/bg-execution-repeat.c: New file.
5169 * gdb.base/bg-execution-repeat.exp: New file.
5171 2014-10-17 Pedro Alves <palves@redhat.com>
5174 * gdb.base/continue-all-already-running.c: New file.
5175 * gdb.base/continue-all-already-running.exp: New file.
5177 2014-10-17 Pedro Alves <palves@redhat.com>
5180 * gdb.base/annota-input-while-running.c: New file.
5181 * gdb.base/annota-input-while-running.exp: New file.
5183 2014-10-17 Pedro Alves <palves@redhat.com>
5185 * gdb.base/callfuncs.exp: emove references to osf.
5186 * gdb.base/sigall.exp: Likewise.
5187 * gdb.gdb/selftest.exp: Likewise.
5188 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5189 * gdb.mi/non-stop.c: Likewise.
5190 * gdb.mi/pthreads.c: Likewise.
5191 * gdb.reverse/sigall-precsave.exp: Likewise.
5192 * gdb.reverse/sigall-reverse.exp: Likewise.
5193 * gdb.threads/pthreads.c: Likewise.
5194 * gdb.threads/pthreads.exp: Likewise.
5196 2014-10-17 Yao Qi <yao@codesourcery.com>
5198 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5199 check 'target_info exists noargs'.
5200 (test_command_prompt_position): Likewise.
5201 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5203 (progvar_simple_while_test): Likewise.
5204 (progvar_complex_if_while_test): Likewise.
5205 (if_while_breakpoint_command_test): Likewise.
5206 (infrun_breakpoint_command_test): Likewise.
5207 (breakpoint_command_test): Likewise.
5208 (watchpoint_command_test): Likewise.
5209 (bp_deleted_in_command_test): Likewise.
5210 (temporary_breakpoint_commands): Likewise.
5212 2014-10-16 Yao Qi <yao@codesourcery.com>
5214 * gdb.base/remotetimeout.exp: Remove noargs checking.
5216 2014-10-15 Pedro Alves <palves@redhat.com>
5219 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5220 * gdb.base/breakpoint-in-ro-region.exp
5221 (probe_target_hardware_step): New procedure.
5222 (top level): Probe hardware stepping and hardware breakpoint
5223 support. Test stepping through a read-only region, with both
5224 "breakpoint auto-hw" on and off and both "always-inserted" on and
5227 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5229 * gdb.dlang/demangle.exp: Update for demangling changes.
5231 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5233 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5234 * gdb.cp/non-trivial-retval.exp: Add new tests.
5236 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5240 * gdb.cp/non-trivial-retval.cc: New file.
5241 * gdb.cp/non-trivial-retval.exp: New file.
5243 2014-10-15 Yao Qi <yao@codesourcery.com>
5245 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5248 2014-10-15 Yao Qi <yao@codesourcery.com>
5250 * gdb.python/py-symbol.exp: Match file base name if host is
5251 remote, otherwise match file name with dir name.
5252 * gdb.python/py-symtab.exp: Likewise.
5253 * gdb.python/python.exp: Likewise.
5255 2014-10-15 Yao Qi <yao@codesourcery.com>
5257 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5259 * gdb.python/py-symtab.exp: Likewise.
5260 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5263 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5265 * gdb.ada/addr_arith: New testcase.
5267 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5269 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5270 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5271 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5272 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5274 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5276 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5277 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5278 * gdb.arch/stap-eval-lang-ada.exp: New file.
5280 2014-10-14 Yao Qi <yao@codesourcery.com>
5282 * gdb.mi/mi-var-child.c (nothing1): New function.
5283 (nothing2): New function.
5284 (do_children_tests): Set function pointers by nothing1 and
5286 * gdb.mi/mi-var-child.exp: Step over new added statements.
5287 Update test to match the new output.
5288 * gdb.mi/var-cmd.c (nothing1): New function.
5289 (nothing2): New function.
5290 (do_children_tests): Set function pointers by nothing1 and
5292 * gdb.mi/mi-var-display.exp: Update test to match output.
5293 Step to the line specified by $line_dct_nothing.
5294 Increase the number of lines to step.
5296 2014-10-14 Yao Qi <yao@codesourcery.com>
5298 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5300 * gdb.mi/mi2-var-child.exp: Likewise.
5302 2014-10-13 Doug Evans <dje@google.com>
5304 * gdb.python/py-objfile.exp: Change name of file name test.
5306 2014-10-13 Doug Evans <dje@google.com>
5308 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5309 from the start of the CU.
5311 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5312 Yao Qi <yao@codesourcery.com>
5314 Fix "save breakpoints" for "catch" command.
5315 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5316 Remove -nonewline. Match also the added "main" line.
5318 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5320 Fix "save breakpoints" for "disable $bpnum" command.
5321 * gdb.base/save-bp.c (main): Add label.
5322 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5324 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5326 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5328 2014-10-11 Yao Qi <yao@codesourcery.com>
5330 * gdb.server/server-kill.exp: Execute command
5331 "set remote trace-status-packet on" before "tstatus".
5333 2014-10-11 Yao Qi <yao@codesourcery.com>
5335 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5336 (main): Call getppid.
5337 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5338 and continue to it. Read variable "server_pid".
5340 2014-10-11 Yao Qi <yao@codesourcery.com>
5342 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5344 2014-10-11 Yao Qi <yao@codesourcery.com>
5346 * gdb.threads/thread-find.exp: Don't execute command
5348 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5349 * gdb.threads/linux-dp.exp: Don't check the condition
5350 $threads_created equals to zero.
5352 2014-10-10 Pedro Alves <palves@redhat.com>
5354 * gdb.base/bigcore.exp: Remove references to IRIX.
5355 * gdb.base/funcargs.exp: Likewise.
5356 * gdb.base/interrupt.exp: Likewise.
5357 * gdb.base/mips_pro.exp: Likewise.
5358 * gdb.base/nodebug.exp: Likewise.
5359 * gdb.base/setvar.exp: Likewise.
5360 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5362 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5363 Pedro Alves <palves@redhat.com>
5366 * gdb.base/vdso-warning.c: New file.
5367 * gdb.base/vdso-warning.exp: New file.
5369 2014-10-02 Doug Evans <dje@google.com>
5371 * gdb.base/structs.c (main): Don't run forever.
5373 2014-10-02 Pedro Alves <palves@redhat.com>
5375 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5376 (top level) <stop threads 1, stop threads 2>: Use it.
5378 2014-10-02 Pedro Alves <palves@redhat.com>
5380 * gdb.threads/break-while-running.exp (test): Add new
5381 'update_thread_list' argument. Skip "info threads" if false.
5382 (top level): Add new 'update_thread_list' axis.
5384 2014-10-02 Pedro Alves <palves@redhat.com>
5386 PR breakpoints/17431
5387 * gdb.base/execl-update-breakpoints.c: New file.
5388 * gdb.base/execl-update-breakpoints.exp: New file.
5390 2014-10-01 Pedro Alves <palves@redhat.com>
5392 * gdb.base/breakpoint-in-ro-region.c: New file.
5393 * gdb.base/breakpoint-in-ro-region.exp: New file.
5395 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5397 * gdb.mi/mi-exit-code.exp: New file.
5398 * gdb.mi/mi-exit-code.c: New file.
5400 2014-09-30 Yao Qi <yao@codesourcery.com>
5402 * lib/prelink-support.exp (build_executable_own_libs): Error if
5403 the target isn't native.
5405 2014-09-30 Yao Qi <yao@codesourcery.com>
5407 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5410 2014-09-22 Pedro Alves <palves@redhat.com>
5412 * gdb.threads/break-while-running.exp: New file.
5413 * gdb.threads/break-while-running.c: New file.
5415 2014-09-19 Yao Qi <yao@codesourcery.com>
5417 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5418 Invoke test. Restart GDB with --readnow and invoke test again.
5420 2014-09-19 Yao Qi <yao@codesourcery.com>
5422 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5423 proc set_breakpoint_on_gcd_function. Invoke
5424 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5425 invoke set_breakpoint_on_gcd_function again.
5427 2014-09-18 Doug Evans <dje@google.com>
5429 * gdb.dwarf2/symtab-producer.exp: New file.
5431 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5433 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5434 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5435 * gdb.base/global-var-nested-by-dso.c: Likewise.
5436 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5438 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5439 Pedro Alves <palves@redhat.com>
5441 * gdb.base/watch-bitfields.exp: Pass string other than test file
5442 name to prepare_for_testing.
5443 (watch): New procedure.
5444 (expect_watchpoint): Use with_test_prefix.
5445 (top level): Factor out tests to ...
5446 (test_watch_location, test_regular_watch): ... these new
5447 procedures, and use with_test_prefix and gdb_continue_to_end.
5449 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5451 PR breakpoints/12526
5452 * gdb.base/watch-bitfields.exp: New file.
5453 * gdb.base/watch-bitfields.c: New file.
5455 2014-09-16 Pedro Alves <palves@redhat.com>
5457 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5458 software and hardware addresses, not software address against
5461 2014-09-16 Pedro Alves <palves@redhat.com>
5463 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5464 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5466 2014-09-16 Pedro Alves <palves@redhat.com>
5468 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5470 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5471 "*-*-vxworks*" throughout.
5472 * gdb.base/break.exp: Likewise.
5473 * gdb.base/default.exp: Likewise.
5474 * gdb.base/scope.exp: Likewise.
5475 * gdb.base/sepdebug.exp: Likewise.
5476 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5478 * gdb.base/run.c: Likewise.
5479 * gdb.base/sepdebug.c: Likewise.
5480 * gdb.hp/gdb.aCC/run.c: Likewise.
5481 * gdb.reverse/until-reverse.c: Likewise.
5482 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5484 2014-09-16 Yao Qi <yao@codesourcery.com>
5486 * boards/local-remote-host-native.exp: New file.
5488 2014-09-14 Doug Evans <xdje42@gmail.com>
5490 * gdb.threads/queue-signal.c (thread_count): New variable.
5491 (thread_count_mutex, thread_count_condvar): New variables.
5492 (incr_thread_count, wait_all_threads_running): New functions.
5493 (main): Wait for all threads to be in their thread functions.
5495 2014-09-13 Doug Evans <xdje42@gmail.com>
5497 * gdb.threads/queue-signal.c: New file.
5498 * gdb.threads/queue-signal.exp: New file.
5500 2014-09-13 Doug Evans <xdje42@gmail.com>
5502 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5503 be consistent with what default_gdb_init uses.
5504 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5505 the plain text of the prompt. Add some logging printfs.
5506 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5508 2014-09-12 Pedro Alves <palves@redhat.com>
5510 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5511 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5512 * gdb.arch/i386-size-overlap.exp: Likewise.
5513 * gdb.arch/i386-size.exp: Likewise.
5514 * gdb.arch/i386-unwind.exp: Likewise.
5515 * gdb.base/a2-run.exp: Likewise.
5516 * gdb.base/break.exp: Likewise.
5517 * gdb.base/charset.exp: Likewise.
5518 * gdb.base/chng-syms.exp: Likewise.
5519 * gdb.base/commands.exp: Likewise.
5520 * gdb.base/dbx.exp: Likewise.
5521 * gdb.base/find.exp: Likewise.
5522 * gdb.base/funcargs.exp: Likewise.
5523 * gdb.base/jit-simple.exp: Likewise.
5524 * gdb.base/reread.exp: Likewise.
5525 * gdb.base/sepdebug.exp: Likewise.
5526 * gdb.base/step-bt.exp: Likewise.
5527 * gdb.cp/mb-inline.exp: Likewise.
5528 * gdb.cp/mb-templates.exp: Likewise.
5529 * gdb.objc/basicclass.exp: Likewise.
5530 * gdb.threads/killed.exp: Likewise.
5532 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5535 * gdb.arch/powerpc-stackless.S: New file.
5536 * gdb.arch/powerpc-stackless.exp: New file.
5538 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5540 * gdb.base/attach.c: Include unistd.h.
5541 (main): Call alarm. Add label postloop.
5542 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5543 gdb_breakpoint, gdb_continue_to_breakpoint.
5544 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5546 2014-09-11 Pedro Alves <palves@redhat.com>
5549 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5550 * gdb.base/attach.exp (test_command_line_attach_run): New
5552 (top level): Call it.
5554 2014-09-11 Pedro Alves <palves@redhat.com>
5556 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5557 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5558 (do_command_attach_tests): Use spawn_wait_for_attach.
5559 * gdb.base/solib-overlap.exp: Likewise.
5560 * gdb.multi/multi-attach.exp: Likewise.
5561 * gdb.python/py-prompt.exp: Likewise.
5562 * gdb.python/py-sync-interp.exp: Likewise.
5563 * gdb.server/ext-attach.exp: Likewise.
5565 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5567 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5568 command in testcase. Simplify testcase.
5570 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5572 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5574 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5576 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5578 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5580 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5582 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5584 * gdb.dwarf2/dynarr-ptr.c: New file.
5585 * gdb.dwarf2/dynarr-ptr.exp: New file.
5587 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5589 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5590 of 30 rather than hardcoding 120 for a slow test case. Take the
5591 `gdb,timeout' target setting into account for this calculation.
5592 Don't extend the timeout for the test cases that don't need it.
5594 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5596 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5597 a factor of 2 for a slow test case. Take the `gdb,timeout'
5598 target setting into account for this calculation.
5599 * gdb.reverse/until-precsave.exp: Increase the timeout by
5600 a factor of 15 and 3 respectively rather than adding 120
5601 for a pair of slow test cases. Take the `gdb,timeout'
5602 target setting into account for this calculation.
5604 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5606 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5607 timeout, don't pass one down to gdb_expect.
5608 (gdb_expect): Rework timeout selection.
5610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5612 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5613 exception on timeout.
5614 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5615 (gdbserver_start_extended): Catch any `gdbserver_start' error
5617 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5618 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5619 `gdbserver_gdb_load' error exceptions.
5621 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5623 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5624 120 on waiting for the TCP socket to open.
5626 2014-09-09 Doug Evans <xdje42@gmail.com>
5628 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5629 _caller_matches, _any_caller_is, _any_caller_matches.
5631 2014-09-09 Doug Evans <xdje42@gmail.com>
5633 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5635 2014-09-09 Yao Qi <yao@codesourcery.com>
5637 * gdb.mi/mi-var-display.exp: Set print symbol off.
5639 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5642 * gdb.base/commands.exp: Add tests to verify user-defined
5643 commands with empty bodies.
5644 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5645 python commands in `show user command`.
5646 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5647 scheme commands in `show user command`.
5649 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5652 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5653 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5654 * gdb.python/py-framefilter-invalidarg.exp: New file.
5655 * gdb.python/py-framefilter-invalidarg.py: New file.
5657 2014-09-06 Doug Evans <xdje42@gmail.com>
5660 * gdb.python/py-caller-is.c: New file.
5661 * gdb.python/py-caller-is.exp: New file.
5663 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5666 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5667 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5669 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5672 * gdb.fortran/print-formatted.exp: New file.
5673 * gdb.fortran/print-formatted.f90: Likewise.
5675 2014-09-03 Sasha Smundak <asmundak@google.com>
5677 * gdb.python/py-frame.exp: Test Frame.read_register.
5679 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5682 * gdb.python/py-completion.exp: New file.
5683 * gdb.python/py-completion.py: Likewise.
5685 2014-08-28 Doug Evans <dje@google.com>
5687 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5688 eax,etc. are live with values set by gdb and thus the compiler can't
5690 * gdb.arch/i386-pseudo.c (main): Ditto.
5692 2014-08-27 Doug Evans <dje@google.com>
5694 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5696 2014-08-25 Doug Evans <dje@google.com>
5698 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5701 2014-08-25 Doug Evans <dje@google.com>
5703 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5705 2014-08-24 Yao Qi <yao@codesourcery.com>
5707 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5709 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5711 2014-08-22 Doug Evans <dje@google.com>
5714 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5715 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5716 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5718 2014-08-22 Yao Qi <yao@codesourcery.com>
5720 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5721 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5722 * gdb.python/python.exp: Likewise. Use .py file on the host
5723 instead of the build.
5725 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5727 * gdb.threads/gcore-stale-thread.c: New file.
5728 * gdb.threads/gcore-stale-thread.exp: New file.
5730 2014-08-21 Pedro Alves <palves@redhat.com>
5732 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5733 * gdb.base/gcore-relro-pie.exp: Likewise.
5734 * gdb.base/gcore-relro.exp: Likewise.
5735 * gdb.base/gcore.exp: Likewise.
5736 * gdb.base/print-symbol-loading.exp: Likewise.
5737 * gdb.threads/gcore-thread.exp: Likewise.
5738 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5740 2014-08-20 Pedro Alves <palves@redhat.com>
5741 Jan Kratochvil <jan.kratochvil@redhat.com>
5743 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5745 (EXPECT): Handle READ1 being set.
5746 (all): Depend on EXTRA_RULES.
5747 (check-read1, expect-read1, read1.so, read1): New rules.
5748 * README (Testsuite Parameters): Document the READ1 make variable.
5749 (Race detection): New section.
5750 * configure: Regenerate.
5751 * configure.ac: If build==host==target, and running under a
5752 GNU/glibc system, add read1 to the extra Makefile rules.
5753 (EXTRA_RULES): AC_SUBST it.
5754 * lib/read1.c: New file.
5756 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5758 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5759 the handling of variables declared as a typedef to an array
5760 which a DW_AT_data_location attribute.
5762 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5763 Pedro Alves <palves@redhat.com>
5767 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5770 2014-08-19 Pedro Alves <palves@redhat.com>
5772 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5774 2014-08-19 Yao Qi <yao@codesourcery.com>
5776 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5779 2014-08-18 David Blaikie <dblaikie@gmail.com>
5781 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5783 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5785 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5786 attribute in array range.
5788 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5790 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5792 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5795 * gdb.cp/pr17132.cc: New file.
5796 * gdb.cp/pr17132.exp: New file.
5798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5800 * gdb.python/py-xmethods.py (A_getarrayind)
5801 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5802 Use 'print' with function call syntax.
5803 (E_method_matcher.match): Fix tab vs space indentation mixup.
5805 2014-08-15 Yao Qi <yao@codesourcery.com>
5807 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5810 2014-08-15 Yao Qi <yao@codesourcery.com>
5812 * gdb.cp/casts.exp: Set print symbol off.
5813 * gdb.cp/class2.exp: Likewise.
5814 * gdb.cp/overload.exp: Likewise.
5815 * gdb.cp/templates.exp: Likewise.
5817 2014-08-11 Doug Evans <dje@google.com>
5819 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5820 (test_load_shlib): Update.
5822 2014-08-09 Yao Qi <yao@codesourcery.com>
5824 * gdb.base/display.exp: Invoke is_address_zero_readable.
5825 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5826 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5827 * gdb.base/hbreak-unmapped.exp: Return if
5828 is_address_zero_readable returns true.
5829 * gdb.base/signest.exp: Likewise.
5830 * gdb.base/signull.exp: Likewise.
5831 * gdb.base/sigbpt.exp: Likewise.
5832 * gdb.guile/scm-disasm.exp: Do the test if
5833 is_address_zero_readable returns false.
5834 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5835 * gdb.python/py-arch.exp: Likewise.
5836 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5837 * lib/gdb.exp (is_address_zero_readable): New proc.
5839 2014-08-09 Yao Qi <yao@codesourcery.com>
5842 * gdb.mi/mi-var-display.exp: Make test messages unique.
5844 2014-08-04 Tom Tromey <tromey@redhat.com>
5846 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5849 2014-08-04 Tom Tromey <tromey@redhat.com>
5851 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5854 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5856 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5857 inner_vla_struct_object_size.
5858 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5861 2014-07-30 Pedro Alves <palves@redhat.com>
5863 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5866 2014-07-29 Yao Qi <yao@codesourcery.com>
5869 * gdb.base/until-nodebug.exp: New.
5871 2014-07-28 Doug Evans <xdje42@gmail.com>
5874 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5875 previously existing parameter, and previously ambiguously spelled
5878 2014-07-28 Will Newton <will.newton@linaro.org>
5880 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5882 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5883 Doug Evans <xdje42@gmail.com>
5886 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5888 2014-07-25 Pedro Alves <palves@redhat.com>
5890 * gdb.threads/signal-command-handle-nopass.c: New file.
5891 * gdb.threads/signal-command-handle-nopass.exp: New file.
5892 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5893 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5894 * gdb.threads/signal-delivered-right-thread.c: New file.
5895 * gdb.threads/signal-delivered-right-thread.exp: New file.
5897 2014-07-25 Pedro Alves <palves@redhat.com>
5899 * gdb.base/double-prompt-target-event-error.exp
5900 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5902 (cancel_pagination_in_target_event): Rework double prompt
5904 * gdb.base/paginate-after-ctrl-c-running.exp
5905 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5907 * gdb.base/paginate-bg-execution.exp
5908 (test_bg_execution_pagination_return)
5909 (test_bg_execution_pagination_cancel): Remove '-notransfer
5911 * gdb.base/paginate-execution-startup.exp
5912 (test_fg_execution_pagination_return)
5913 (test_fg_execution_pagination_cancel): Remove '-notransfer
5915 * gdb.base/paginate-inferior-exit.exp
5916 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5918 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5919 * lib/gdb.exp (pagination_prompt): Run text through
5921 (gdb_test_multiple): Match $pagination_prompt instead of
5923 (string_to_regexp): Move to lib/gdb-utils.exp.
5925 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5927 * gdb.arch/amd64-entry-value-paramref.S: New file.
5928 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5929 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5930 * gdb.arch/amd64-optimout-repeat.S: New file.
5931 * gdb.arch/amd64-optimout-repeat.c: New file.
5932 * gdb.arch/amd64-optimout-repeat.exp: New file.
5934 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5937 * gdb.base/statistics.exp: New file.
5939 2014-07-17 Doug Evans <dje@google.com>
5942 * gdb.base/maint.exp: Update testing of per-command stats.
5944 2014-07-16 Pedro Alves <palves@redhat.com>
5946 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5947 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5948 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5949 (tfile_write_buf): New functions.
5950 (add_memory_block): Rewrite using the above.
5951 (adjust_function_address): New function.
5952 (FUNCTION_ADDRESS): New macro.
5953 (write_basic_trace_file): Remove short_x local, and use
5954 tfile_write_16. Change type of func_addr local to unsigned long
5955 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5956 here. Cast argument of add_memory_block to char pointer.
5957 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5958 (main): Remove parameters.
5959 * gdb.trace/tfile.exp: Remove nowarnings.
5961 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5963 * gdb.base/debug-expr.exp: Test string evaluation with
5964 "debug expression" on.
5966 2014-07-15 Pedro Alves <palves@redhat.com>
5968 * gdb.base/reread.exp: Use clean_restart.
5970 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5972 * gdb.arch/avr-flash-qualifer.c: New.
5973 * gdb.arch/avr-flash-qualifer.exp: New.
5975 2014-07-14 Pedro Alves <palves@redhat.com>
5977 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5978 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5980 2014-07-14 Pedro Alves <palves@redhat.com>
5982 * gdb.base/double-prompt-target-event-error.c: New file.
5983 * gdb.base/double-prompt-target-event-error.exp: New file.
5985 2014-07-14 Pedro Alves <palves@redhat.com>
5988 * gdb.base/paginate-inferior-exit.c: New file.
5989 * gdb.base/paginate-inferior-exit.exp: New file.
5991 2014-07-14 Pedro Alves <palves@redhat.com>
5994 * gdb.base/paginate-bg-execution.c: New file.
5995 * gdb.base/paginate-bg-execution.exp: New file.
5997 2014-07-14 Pedro Alves <palves@redhat.com>
6000 * gdb.base/paginate-execution-startup.c: New file.
6001 * gdb.base/paginate-execution-startup.exp: New file.
6002 * lib/gdb.exp (pagination_prompt): New global.
6003 (default_gdb_spawn): New procedure, factored out from
6005 (default_gdb_start): Adjust to call default_gdb_spawn.
6006 (gdb_spawn): New procedure.
6008 2014-07-14 Pedro Alves <palves@redhat.com>
6010 * lib/gdb.exp (gdb_assert): New procedure.
6011 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6013 2014-07-14 Pedro Alves <palves@redhat.com>
6015 * gdb.base/execution-termios.c: New file.
6016 * gdb.base/execution-termios.exp: New file.
6018 2014-07-14 Tom Tromey <tromey@redhat.com>
6020 * gdb.cp/vla-cxx.cc: New file.
6021 * gdb.cp/vla-cxx.exp: New file.
6023 2014-07-14 Tom Tromey <tromey@redhat.com>
6025 * gdb.reverse/rerun-prec.c: New file.
6026 * gdb.reverse/rerun-prec.exp: New file.
6028 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6029 Maciej W. Rozycki <macro@codesourcery.com>
6031 * lib/gdb-utils.exp: New file.
6032 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6033 inline `gdb_init_command' processing.
6034 (gdb_start_cmd): Likewise.
6035 * lib/mi-support.exp (mi_run_cmd): Likewise.
6036 * README: Document `gdb_init_command' and `gdb_init_commands'.
6038 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6040 Fix false FAIL running under a very long directory name.
6041 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6042 and "set print elements 10000". Twice.
6044 2014-07-11 Yao Qi <yao@codesourcery.com>
6046 * gdb.base/exprs.exp: "set print symbol off".
6048 2014-07-11 Pedro Alves <palves@redhat.com>
6050 * gdb.threads/kill.c: New file.
6051 * gdb.threads/kill.exp: New file.
6053 2014-07-10 Yao Qi <yao@codesourcery.com>
6055 * gdb.trace/tfile.c (write_basic_trace_file)
6056 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6057 address written to trace file.
6059 2014-07-09 Pedro Alves <palves@redhat.com>
6061 * gdb.base/attach-wait-input.exp: New file.
6062 * gdb.base/attach-wait-input.c: New file.
6064 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6066 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6067 setting up test structures.
6068 (main): Call new test function.
6069 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6070 test function, continue into test function and walk test
6073 2014-07-02 Yao Qi <yao@codesourcery.com>
6075 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6076 'bar_start' at the beginning of functions 'foo' and 'bar'
6078 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6079 instead of 'foo' and 'bar'.
6081 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6083 * gdb.btrace/segv.exp: New.
6084 * gdb.btrace/segv.c: New.
6086 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6088 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6091 2014-06-30 Mark Wielaard <mjw@redhat.com>
6093 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6094 vulture, vilify, villar): New volatile array constants.
6095 (vindictive, vegetation): New const volatile array constants.
6096 * gdb.base/volatile.exp: Test volatile and const volatile array
6099 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6101 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6102 target lacks support for awatch, rwatch, or hbreak.
6104 2014-06-27 Yao Qi <yao@codesourcery.com>
6106 * gdb.multi/dummy-frame-restore.exp: New.
6107 * gdb.multi/dummy-frame-restore.c: New.
6109 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6111 * gdb.btrace/gcore.exp: New.
6113 2014-06-23 Pedro Alves <palves@redhat.com>
6115 * gdb.base/watchpoint-reuse-slot.c: New file.
6116 * gdb.base/watchpoint-reuse-slot.exp: New file.
6118 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6120 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6121 progspace's filename in 'info', 'enable' and 'disable' command
6124 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6126 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6127 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6128 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6130 2014-06-20 Gary Benson <gbenson@redhat.com>
6132 * gdb.arch/i386-avx.exp: Fix include file location.
6133 * gdb.arch/i386-sse.exp: Likewise.
6135 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6137 * gdb.dlang/expression.exp: New file.
6139 2014-06-19 Pedro Alves <palves@redhat.com>
6141 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6143 (top level): ... here. Iterate running tests under different
6144 scheduler-locking settings.
6146 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6148 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6149 to DW_FORM_addr and use non-zero addresses.
6151 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6154 * gdb.python/py-xmethods.cc: Add global function call counters and
6155 increment them in their respective functions. Remove "cout"
6157 * gdb.python/py-xmethods.exp: Make tests check the global function
6158 call counters instead of depending on inferior IO.
6160 2014-06-18 Don Breazeal <donb@codesourcery.com>
6162 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6164 (explicit_fork_parent_follow): Deleted procedure.
6165 (explicit_fork_child_follow): Deleted procedure.
6166 (test_follow_fork): New procedure.
6167 (do_fork_tests): Replace calls to deleted procedures with
6168 calls to test_follow_fork and reset GDB for subsequent
6171 2014-06-17 Yao Qi <yao@codesourcery.com>
6173 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6176 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6178 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6179 Initialize ptr and S explicitly.
6180 (skip_type_update_when_not_use_rtti_test): Likewise.
6182 2014-06-16 Keith Seitz <keiths@redhat.com>
6185 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6186 the inferior is started.
6188 2014-06-16 Pedro Alves <palves@redhat.com>
6190 * gdb.base/break-main-file-remove-fail.c: New file.
6191 * gdb.base/break-main-file-remove-fail.exp: New file.
6192 * gdb.base/break-unload-file.exp: Use build_executable instead of
6193 prepare_for_testing.
6194 (test_break): New parameter "initial_load". Handle it.
6195 (top level): Add initial_load cmdline/file axis.
6197 2014-06-12 Tom Tromey <tromey@redhat.com>
6199 * gdb.base/completion.exp: Don't use directory name in test.
6201 2014-06-09 Gary Benson <gbenson@redhat.com>
6203 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6204 separate the always-available ANSI-standard signals from the
6205 signals that require checking.
6207 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6211 2014-06-07 Keith Seitz <keiths@redhat.com>
6215 * gdb.cp/var-tag.cc: New file.
6216 * gdb.cp/var-tag.exp: New file.
6217 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6218 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6219 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6222 2014-06-06 Doug Evans <xdje42@gmail.com>
6224 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6226 2014-06-06 Pedro Alves <palves@redhat.com>
6228 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6229 in target debug output instead of looking at RSP packets,
6230 disabling the test on any target that uses hardware stepping.
6233 2014-06-06 Pedro Alves <palves@redhat.com>
6235 * gdb.base/break-unload-file.exp: Fix typo.
6237 2014-06-06 Yao Qi <yao@codesourcery.com>
6239 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6240 from "jit_function" to "^jit_function".
6242 2014-06-06 Yao Qi <yao@codesourcery.com>
6244 * gdb.base/async.c (foo): Add one statement.
6245 * gdb.base/async.exp: Get the next instruction address and
6246 match the output of "nexti" by instruction address. Match
6247 the hex address in the output of "finish".
6249 2014-06-06 Gary Benson <gbenson@redhat.com>
6251 * gdb.base/call-signals.c: Remove preprocessor conditionals
6252 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6253 SIGSEGV and SIGTERM.
6254 * gdb.base/sigall.c: Likewise.
6255 * gdb.base/unwindonsignal.c: Likewise.
6256 * gdb.reverse/sigall-reverse.c: Likewise.
6258 2014-06-06 Yao Qi <yao@codesourcery.com>
6260 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6261 readable, skip the test.
6263 2014-06-06 Yao Qi <yao@codesourcery.com>
6265 * gdb.threads/staticthreads.c (thread_function): Move the line
6266 setting breakpoint on forward.
6267 * gdb.threads/staticthreads.exp: Update comments.
6269 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6271 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6272 "history-append! type error".
6274 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6276 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6277 erroneous dprintf expected input.
6279 2014-06-04 Doug Evans <xdje42@gmail.com>
6281 * gdb.guile/scm-generics.exp: Delete.
6283 2014-06-04 Doug Evans <xdje42@gmail.com>
6285 * gdb.guile/scm-breakpoint.exp: Update.
6286 Add tests for breakpoint registration.
6288 2014-06-04 Tom Tromey <tromey@redhat.com>
6290 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6292 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6293 inner_vla_struct, vla_union types. Initialize objects of those
6294 types and compute their sizes.
6296 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6297 Hui Zhu <hui@codesourcery.com>
6299 * gdb.base/fileio.exp: Add test for shell not available as well as
6301 * gdb.base/fileio.c (test_system): Check for shell twice.
6303 2014-06-04 Yao Qi <yao@codesourcery.com>
6305 * gdb.base/auto-connect-native-target.exp: Remove redundant
6306 space from the regexp pattern.
6308 2014-06-04 Yao Qi <yao@codesourcery.com>
6310 * gdb.base/default.exp: Replace "child" with "native" in
6313 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6315 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6316 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6317 * gdb.python/py-xmethods.py: Python script supporting the
6318 new testcase and tests.
6320 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6321 Pedro Alves <palves@redhat.com>
6323 PR breakpoints/17000
6324 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6325 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6327 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6329 * gdb.base/subst.exp: Add tests to verify partial path matching
6332 2014-06-03 Pedro Alves <palves@redhat.com>
6334 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6335 target that doesn't use software single-stepping.
6337 2014-06-03 Pedro Alves <palves@redhat.com>
6339 PR breakpoints/17000
6340 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6341 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6343 2014-06-02 Doug Evans <xdje42@gmail.com>
6345 * gdb.guile/scm-parameter.exp: New file.
6347 2014-06-02 Doug Evans <xdje42@gmail.com>
6349 * gdb.guile/scm-cmd.c: New file.
6350 * gdb.guile/scm-cmd.exp: New file.
6352 2014-06-02 Doug Evans <xdje42@gmail.com>
6354 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6355 pretty-printer lookup.
6356 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6357 (make-pp_s-printer): Call it.
6358 (make-pretty-printer-from-dict): New function.
6359 (lookup-pretty-printer-maker-from-dict): New function.
6360 (*pretty-printer*): Simplify.
6361 (make-objfile-pp_s-printer): New function.
6362 (install-objfile-pretty-printers!): New function.
6363 (make-progspace-pp_s-printer): New function.
6364 (install-progspace-pretty-printers!): New function.
6365 * gdb.guile/scm-progspace.c: New file.
6366 * gdb.guile/scm-progspace.exp: New file.
6368 2014-06-02 Pedro Alves <palves@redhat.com>
6370 * gdb.base/dprintf-bp-same-addr.c: New file.
6371 * gdb.base/dprintf-bp-same-addr.exp: New file.
6373 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6375 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6376 * gdb.arch/powerpc-power.s: Likewise.
6378 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6380 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6382 2014-06-01 Yao Qi <yao@codesourcery.com>
6384 * gdb.base/watchpoint.exp (test_watch_location): Check null
6385 pointer can be dereferenced. If not, do the test, otherwise
6388 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6390 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6392 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6394 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6396 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6397 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6398 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6399 * gdb.arch/amd64-invalid-stack-top.c: New file.
6400 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6402 2014-05-30 Pedro Alves <palves@redhat.com>
6404 PR breakpoints/17000
6405 * gdb.base/sss-bp-on-user-bp.c: New file.
6406 * gdb.base/sss-bp-on-user-bp.exp: New file.
6408 2014-05-30 David Blaikie <dblaikie@gmail.com>
6410 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6411 gnu_inline semantics via attribute.
6412 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6413 source explicitly specifies the required semantics.
6415 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6417 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6419 2014-05-29 Pedro Alves <palves@redhat.com>
6420 Tom Tromey <tromey@redhat.com>
6422 * gdb.base/async-shell.exp: Don't enable target-async.
6423 * gdb.base/async.exp
6424 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6426 (top level): Don't test with "target-async".
6427 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6428 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6429 * gdb.base/inferior-died.exp: Don't enable target-async.
6430 * gdb.base/interrupt-noterm.exp: Likewise.
6431 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6432 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6433 * gdb.mi/mi-nonstop.exp: Likewise.
6434 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6435 * gdb.mi/mi-nsintrall.exp: Likewise.
6436 * gdb.mi/mi-nsmoribund.exp: Likewise.
6437 * gdb.mi/mi-nsthrexec.exp: Likewise.
6438 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6439 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6440 * gdb.python/py-evsignal.exp: Don't enable target-async.
6441 * gdb.python/py-evthreads.exp: Likewise.
6442 * gdb.python/py-prompt.exp: Likewise.
6443 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6444 * gdb.server/solib-list.exp: Don't enable target-async.
6445 * gdb.threads/thread-specific-bp.exp: Likewise.
6446 * lib/mi-support.exp: Adjust to use mi-async.
6448 2014-05-29 Pedro Alves <palves@redhat.com>
6451 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6452 reason, even in sync mode.
6454 2014-05-29 Pedro Alves <palves@redhat.com>
6455 Hui Zhu <hui@codesourcery.com>
6458 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6459 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6460 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6461 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6463 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6465 * config/monitor.exp (gdb_target_monitor): Replace use of
6466 "set remotebaud" by "set serial baud".
6468 2014-05-26 Andy Wingo <wingo@igalia.com>
6470 * gdb.guile/scm-breakpoint.exp:
6471 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6472 properties instead of gdb-object-properties.
6474 2014-05-26 Yao Qi <yao@codesourcery.com>
6476 * gdb.server/no-thread-db.exp: Specify source file name
6477 explicitly when setting a breakpoint.
6479 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6481 * gdb.btrace/vdso.c: New.
6482 * gdb.btrace/vdso.exp: New.
6484 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6486 * gdb.base/gcore.exp (capture_command_output): Move ...
6487 * lib/gdb.exp (capture_command_output): ... here.
6489 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6491 * gdb.btrace/data.exp: Test memory access during btrace replay.
6493 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6495 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6497 2014-05-21 Pedro Alves <palves@redhat.com>
6500 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6501 (top level): Test that output related to execution commands is
6502 sent to the console with CLI commands, but not with MI commands.
6503 Test that breakpoint events are always mirrored to the console.
6504 Also expect the new source line to be output after a "next" in
6505 async mode too. Make it a pass/fail test.
6506 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6508 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6510 2014-05-21 Pedro Alves <palves@redhat.com>
6512 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6513 Use them to test variations of "list" after reaching a breakpoint.
6514 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6515 Test "list" with listsize 10 after reaching a breakpoint.
6516 * gdb.python/python.exp (decode_line current location line
6517 number): Adjust expected line number.
6519 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6521 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6522 behavior for $args, pass it directly to "run".
6524 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6526 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6529 2014-05-21 Pedro Alves <palves@redhat.com>
6531 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6532 auto-connect-native-target off".
6533 * gdb.base/auto-connect-native-target.c: New file.
6534 * gdb.base/auto-connect-native-target.exp: New file.
6536 2014-05-21 Pedro Alves <palves@redhat.com>
6538 * gdb.base/default.exp: Test "target native" instead of "target
6541 2014-05-21 Mark Wielaard <mjw@redhat.com>
6543 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6545 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6547 Fix TLS access for -static -pthread.
6548 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6549 <HAVE_TLS> (thread_function, main): Initialize it.
6550 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6552 <$have_tls != "">: Check TLSVAR.
6554 2014-05-21 Pedro Alves <palves@redhat.com>
6556 * gdb.base/dcache-line-read-error.c: New.
6557 * gdb.base/dcache-line-read-error.exp: New.
6559 2014-05-20 Pedro Alves <palves@redhat.com>
6561 * gdb.base/compare-sections.c: New file.
6562 * gdb.base/compare-sections.exp: New file.
6564 2014-05-20 Pedro Alves <palves@redhat.com>
6566 * gdb.base/break-idempotent.c: New file.
6567 * gdb.base/break-idempotent.exp: New file.
6569 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6571 * gdb.btrace/nohist.exp: New.
6573 2014-05-20 Yao Qi <yao@codesourcery.com>
6575 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6576 gdb.reverse directory and gdb_reverse_timeout exists in board
6578 * README: Document gdb_reverse_timeout.
6580 2014-05-20 Yao Qi <yao@codesourcery.com>
6582 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6583 'test_file_name'. Treat args as a string instead of a list.
6584 (gdb_init): Rename argument 'args' by 'test_file_name'.
6586 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6588 * gdb.arch/powerpc-power.exp: New file.
6589 * gdb.arch/powerpc-power.s: New file.
6591 2014-05-16 Doug Evans <dje@google.com>
6593 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6594 * gdb.base/completion.exp: Check that all expected files exist
6595 before doing file completion.
6597 2014-05-16 Doug Evans <dje@google.com>
6599 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6601 (do_syscall_tests_without_xml): Update.
6603 2014-05-16 Pedro Alves <palves@redhat.com>
6605 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6606 instead of "unknown output after running".
6608 2014-05-16 Yao Qi <yao@codesourcery.com>
6610 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6611 file1.txt from host at the end.
6612 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6614 2014-05-15 Doug Evans <dje@google.com>
6616 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6617 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6618 loading file. Add test for TU lookup.
6620 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6622 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6623 calling "-exec-arguments" or "set args" before running the
6626 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6628 * lib/mi-support.exp (mi_expect_stop): Expect message for
6629 inferiors that exit with non-zero exit code.
6631 2014-05-14 Yao Qi <yao@codesourcery.com>
6633 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6634 match absolute path on remote host.
6635 (test_file_list_exec_source_files): Remove "/" from the
6638 2014-05-14 Yao Qi <yao@codesourcery.com>
6640 * boards/local-remote-host-notty.exp (${board}_file): New
6643 2014-05-07 Kyle McMartin <kyle@redhat.com>
6645 Pushed by Joel Brobecker <brobecker@adacore.com>.
6646 * gdb.arch/aarch64-atomic-inst.c: New file.
6647 * gdb.arch/aarch64-atomic-inst.exp: New file.
6649 2014-05-07 Yao Qi <yao@codesourcery.com>
6651 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6652 in current context" too.
6654 2014-05-05 Keith Seitz <keiths@redhat.com>
6656 * gdb.linespec/ls-dollar.exp: Add test for linespec
6657 file:convenience_variable.
6659 2014-05-05 Yao Qi <yao@codesourcery.com>
6661 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6662 traceframes into tfile and ctf trace files. Read data from
6663 trace file and test collected data.
6664 (gdb_collect_locals_test): Likewise.
6665 (gdb_unavailable_registers_test): Likewise.
6666 (gdb_unavailable_floats): Likewise.
6667 (gdb_collect_globals_test): Likewise.
6668 (top-level): Append "ctf" to trace_file_targets if GDB
6671 2014-05-05 Yao Qi <yao@codesourcery.com>
6673 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6675 (gdb_collect_args_test_1): ... it. New proc.
6676 (gdb_collect_locals_test): Move some code to ...
6677 (gdb_collect_locals_test_1): ... it. New proc.
6678 (gdb_unavailable_registers_test): Move some code to ...
6679 (gdb_unavailable_registers_test_1): ... it. New proc.
6680 (gdb_unavailable_floats): Move some code to ...
6681 (gdb_unavailable_floats_1): ... it. New proc.
6683 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6685 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6686 probes to test for bitness recognition.
6687 * gdb.arch/amd64-stap-optional-prefix.exp
6688 (test_probe_value_without_reg): New procedure.
6689 Add code to test for different kinds of bitness.
6691 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6693 PR breakpoints/16889
6694 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6695 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6697 2014-05-01 Pedro Alves <palves@redhat.com>
6699 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6700 gdb_file_cmd if no file is specified.
6701 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6702 last_loaded_file to set the remote exec-file.
6704 2014-05-01 Pedro Alves <palves@redhat.com>
6706 * boards/local-remote-host.exp: New file.
6708 2014-05-01 Pedro Alves <palves@redhat.com>
6710 * boards/local-remote-host.exp: Rename to ...
6711 * boards/local-remote-host-notty.exp: ... this.
6713 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6715 * gdb.ada/dyn_arrayidx: New testcase.
6717 2014-04-26 Yao Qi <yao@codesourcery.com>
6719 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6720 and compute the length of function main. Save it in
6722 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6723 (top-level): Use gdb_compile to compile objects into
6724 executable and restart GDB. Remove invocation to
6725 prepare_for_testing.
6727 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6728 Pedro Alves <palves@redhat.com>
6731 * gdb.multi/multi-attach.c: New file.
6732 * gdb.multi/multi-attach.exp: New file.
6734 2014-04-25 Pedro Alves <palves@redhat.com>
6736 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6738 (top level): Test that "set remote conditional-breakpoints-packet
6739 off" works as intended.
6740 * gdb.base/dprintf.exp: Test that "set remote
6741 breakpoint-commands-packet off" works as intended.
6742 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6744 (top level): Call it.
6745 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6746 remote fast-tracepoints-packet off" works as intended.
6747 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6748 * lib/gdb.exp (gdb_is_target_remote): ... here.
6750 2014-04-24 David Blaikie <dblaikie@gmail.com>
6752 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6753 ensure clang would not discard them.
6754 * gdb.base/gdbvars.c: Ditto.
6755 * gdb.base/memattr.c: Ditto.
6756 * gdb.base/whatis.c: Ditto.
6757 * gdb.python/py-prettyprint.c: Ditto.
6758 * gdb.trace/actions.c: Ditto.
6759 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6760 ensure clang would not discard it.
6762 2014-04-24 David Blaikie <dblaikie@gmail.com>
6764 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6765 clang to emit the full definition of type required by the test
6766 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6768 2014-04-24 David Blaikie <dblaikie@gmail.com>
6770 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6771 coax Clang into emitting the definition of the type.
6772 * gdb.cp/pr10728-x.h (y): Ditto.
6773 * gdb.cp/pr10728-y.cc (y): Ditto.
6775 2014-04-24 David Blaikie <dblaikie@gmail.com>
6777 * gdb.base/label.exp: XFAIL label related tests under Clang.
6778 * gdb.cp/cplabel.exp: Ditto.
6779 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6780 under Clang those using labels.
6782 2014-04-25 Yao Qi <yao@codesourcery.com>
6784 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6786 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6787 partial_label and double_label.
6789 2014-04-24 David Blaikie <dblaikie@gmail.com>
6791 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6793 2014-04-24 David Blaikie <dblaikie@gmail.com>
6795 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6796 of the function to work across GCC and Clang.
6797 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6798 pointer types (const void ** const V void **).
6800 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6801 Walfred Tedeschi <walfred.tedeschi@intel.com>
6803 * Makefile.in (EXECUTABLES): Added i386-avx512.
6804 * gdb.arch/i386-avx512.c: New file.
6805 * gdb.arch/i386-avx512.exp: Likewise.
6807 2014-04-23 Keith Seitz <keiths@redhat.com>
6809 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6810 (mi_make_breakpoint_table): New procedure.
6811 (mi_create_breakpoint): Use mi_make_breakpoint
6812 and return the result.
6813 (mi_make_breakpoint): New procedure.
6814 (mi_build_kv_pairs): New procedure.
6816 * gdb.mi/mi-break.exp: Remove unused globals,
6817 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6818 All callers updated.
6819 * gdb.mi/mi-dprintf.exp: Use variable to track command
6821 Update all callers of mi_create_breakpoint and use
6822 mi_make_breakpoint_table.
6823 Remove any unused global variables.
6824 * gdb.mi/mi-nonstop.exp: Likewise.
6825 * gdb.mi/mi-nsintrall.exp: Likewise.
6826 * gdb.mi/mi-nsmoribund.exp: Likewise.
6827 * gdb.mi/mi-nsthrexec.exp: Likewise.
6828 * gdb.mi/mi-reverse.exp: Likewise.
6829 * gdb.mi/mi-simplerun.exp: Likewise.
6830 * gdb.mi/mi-stepn.exp: Likewise.
6831 * gdb.mi/mi-syn-frame.exp: Likewise.
6832 * gdb.mi/mi-until.exp: Likewise.
6833 * gdb.mi/mi-var-cp.exp: Likewise.
6834 * gdb.mi/mi-var-display.exp: Likewise.
6835 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6836 * gdb.mi/mi2-var-child.exp: Likewise.
6837 * gdb.mi/mi-vla-c99.exp: Likewise.
6838 * lib/mi-support.exp: Likewise.
6840 From Ian Lance Taylor <iant@cygnus.com>:
6841 * lib/gdb.exp (parse_args): New procedure.
6843 2014-04-23 Pedro Alves <palves@redhat.com>
6845 * gdb.base/break-unload-file.c: New file.
6846 * gdb.base/break-unload-file.exp: New file.
6847 * gdb.base/sym-file-lib.c (baz): New function.
6848 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6850 (load): Store the segment's mapped size.
6851 (unload): New function.
6852 (unload_shlib): New function.
6853 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6854 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6855 set a breakpoint at baz, and call it.
6856 * gdb.base/sym-file.exp: New tests for stale breakpoint
6859 2014-04-23 Pedro Alves <palves@redhat.com>
6861 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6862 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6863 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6864 * gdb.base/hbreak-unmapped.c: New file.
6865 * gdb.base/hbreak-unmapped.exp: New file.
6866 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6867 * lib/gdb.exp (gdb_is_target_remote): ... here.
6869 2014-04-22 Pedro Alves <palves@redhat.com>
6871 * gdb.base/consecutive-step-over.c: New file.
6872 * gdb.base/consecutive-step-over.exp: New file.
6874 2014-04-22 Pedro Alves <palves@redhat.com>
6876 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6877 instead of send_gdb/gdb_expect.
6879 2014-04-22 Yao Qi <yao@codesourcery.com>
6881 * lib/trace-support.exp (generate_tracefile): New procedure.
6882 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6884 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6885 if generate_tracefile returns 1.
6887 2014-04-18 Tom Tromey <palves@redhat.com>
6888 Pedro alves <tromey@redhat.com>
6891 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6892 with a backtrace limit.
6893 * gdb.python/py-frame-inline.exp: Test running to an inline
6894 function with a backtrace limit, and printing the newest frame.
6895 * gdb.python/py-frame-inline.c (main): Call f.
6897 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6899 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6901 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6903 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6904 Drop prefix from unsupported source file path.
6906 2014-04-17 Yao Qi <yao@codesourcery.com>
6908 * lib/gdb.exp (with_target_charset): New proc.
6909 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6910 with_target_charset.
6911 (test_print_strings): Likewise.
6912 (test_repeat_bytes): Likewise.
6913 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6916 2014-04-16 Keith Seitz <keiths@redhat.com>
6919 * gdb.dwarf2/corrupt.c: New file.
6920 * gdb.dwarf2/corrupt.exp: New file.
6922 2014-04-16 Keith Seitz <keiths@redhat.com>
6925 * gdb.cp/namelessclass.cc: New file.
6926 * gdb.cp/namelessclass.exp: New file.
6927 * gdb.cp/namelessclass.S: New file.
6929 2014-04-16 Doug Evans <dje@google.com>
6931 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6933 (gdbserver_default_get_comm_port): New function.
6934 (gdbserver_start): Check if board file provided
6935 "gdbserver,get_comm_port" and use it if so.
6936 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6937 (gdb,socketport): Set to "stdio".
6938 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6939 (stdio_gdbserver_template): Delete.
6940 (${board}_get_remote_address): Update.
6941 (${board}_build_remote_cmd): Delete.
6942 (${board}_get_comm_port): New function.
6943 (${board}_spawn): Update.
6944 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6946 (${board}_get_remote_address): Update.
6947 (${board}_get_comm_port): New function.
6949 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6951 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6952 appearing in any order.
6954 2014-04-15 Doug Evans <dje@google.com>
6956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6957 uninitialized value of "description".
6959 2014-04-15 Keith Seitz <keiths@redhat.com>
6961 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6962 Remove unused globals.
6963 (test_running_the_program): Likewise.
6964 (test_controlled_execution): Likewise.
6965 (test_controlling_breakpoints): Likewise.
6966 (test_program_termination): Likewise.
6968 2014-04-15 Keith Seitz <keiths@redhat.com>
6970 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6972 (test_rbreak_creation_and_listing): Likewise.
6973 (test_ignore_count): Likewise.
6974 (test_error): Likewise.
6976 2014-04-15 Pedro Alves <palves@redhat.com>
6978 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6979 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6981 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6982 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6983 to sym-file-loader.c.
6984 (struct library): Forward declare.
6985 (load_shlib, lookup_function): Change prototypes.
6986 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6987 (translate_offset): Remove declarations.
6988 (get_text_addr): New declaration.
6989 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6990 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6992 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6993 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6994 here from sym-file-loader.h.
6995 (struct library): New structure.
6996 (load_shlib, lookup_function): Change prototypes and adjust to
6997 work with a struct library.
6998 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6999 (translate_offset): Make static.
7000 (get_text_addr): New function.
7001 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7003 2014-04-15 Pedro Alves <palves@redhat.com>
7005 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7007 2014-04-15 Pedro Alves <palves@redhat.com>
7009 * gdb.base/sym-file-loader.c: Include <limits.h>.
7010 (SELF_LINK): New define.
7011 (get_origin): New function.
7012 (load_shlib): Use it.
7013 * gdb.base/sym-file.exp: Don't early return if the target is
7014 remote. Use runto_main, and issue fail is that fails. Use
7016 (shlib_name): Delete.
7017 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7019 2014-04-15 Pedro Alves <palves@redhat.com>
7021 * gdb.base/sym-file.exp: Remove regex characters from test
7022 message. Don't refer to breakpoint numbers in test messages.
7024 2014-04-14 Keith Seitz <keiths@redhat.com>
7027 * gdb.cp/var-tag.cc: New file.
7028 * gdb.cp/var-tag.exp: New file.
7029 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7030 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7031 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7032 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7034 2014-04-14 Tom Tromey <tromey@redhat.com>
7036 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7037 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7039 * gdb.cp/enum-class.exp: New file.
7040 * gdb.cp/enum-class.cc: New file.
7042 2014-04-14 Tom Tromey <tromey@redhat.com>
7044 * gdb.dwarf2/enum-type.exp: New file.
7046 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7048 * gdb.mi/mi-vla-c99.exp: New file.
7049 * gdb.mi/vla.c: New file.
7051 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7053 * gdb.base/vla-datatypes.c: New file.
7054 * gdb.base/vla-datatypes.exp: New file.
7056 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7058 * gdb.base/vla-ptr.c: New file.
7059 * gdb.base/vla-ptr.exp: New file.
7061 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7063 * gdb.dwarf2/count.exp: New file.
7065 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7067 * gdb.base/vla-sideeffect.c: New file.
7068 * gdb.base/vla-sideeffect.exp: New file.
7070 2014-04-14 David Blaikie <dblaikie@gmail.com>
7072 * gdb.mi/non-stop.c: Add return value for non-void function return
7074 * gdb.threads/staticthreads.c: Ditto.
7076 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7077 Doug Evans <xdje42@gmail.com>
7079 * gdb.guile/scm-value.c: Improve test case.
7080 * gdb.guile/scm-value.exp: Add new test.
7082 2014-04-11 David Blaikie <dblaikie@gmail.com>
7084 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7085 override Clang's default.
7087 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7089 Revert the following changes (regressions):
7091 * gdb.base/vla-sideeffect.c: New file.
7092 * gdb.base/vla-sideeffect.exp: New file.
7094 * gdb.dwarf2/count.exp: New file.
7096 * gdb.base/vla-multi.c: New file.
7097 * gdb.base/vla-multi.exp: New file.
7099 * gdb.base/vla-ptr.c: New file.
7100 * gdb.base/vla-ptr.exp: New file.
7102 * gdb.base/vla-datatypes.c: New file.
7103 * gdb.base/vla-datatypes.exp: New file.
7105 * gdb.mi/mi-vla-c99.exp: New file.
7106 * gdb.mi/vla.c: New file.
7108 2014-04-11 Keith Seitz <keiths@redhat.com>
7111 * gdb.cp/cpsizeof.exp: New file.
7112 * gdb.cp/cpsizeof.cc: New file.
7114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7116 * gdb.mi/mi-vla-c99.exp: New file.
7117 * gdb.mi/vla.c: New file.
7119 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7121 * gdb.base/vla-datatypes.c: New file.
7122 * gdb.base/vla-datatypes.exp: New file.
7124 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7126 * gdb.base/vla-ptr.c: New file.
7127 * gdb.base/vla-ptr.exp: New file.
7129 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7131 * gdb.base/vla-multi.c: New file.
7132 * gdb.base/vla-multi.exp: New file.
7134 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7136 * gdb.dwarf2/count.exp: New file.
7138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7140 * gdb.base/vla-sideeffect.c: New file.
7141 * gdb.base/vla-sideeffect.exp: New file.
7143 2014-04-11 Yao Qi <yao@codesourcery.com>
7145 * gdb.base/completion.exp: Check file exists before running tests
7148 2014-04-10 Pedro Alves <palves@redhat.com>
7150 * gdb.base/cond-eval-mode.c: New file.
7151 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7152 prepare_for_testing to build the new file. Check result of
7154 (test_break, test_watch): New procedures.
7155 (top level): Use them.
7157 2014-04-08 Pierre Muller <muller@sourceware.org>
7159 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7160 Ctrl-V use for mingw hosts.
7162 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7164 * gdb.python/py-value.c: Improve test case.
7165 * gdb.python/py-value.exp: Add new test.
7167 2014-04-07 David Blaikie <dblaikie@gmail.com>
7169 * lib/compiler.c: Identify the clang compiler.
7170 * lib/compiler.cc: Ditto.
7172 2014-04-03 Yao Qi <yao@codesourcery.com>
7174 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7176 2014-04-01 Anton Blanchard <anton@samba.org>
7178 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7181 2014-04-01 Anton Blanchard <anton@samba.org>
7183 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7184 prepare_for_testing.
7186 2014-04-01 Anton Blanchard <anton@samba.org>
7188 * gdb.arch/ppc64-atomic-inst.c: Remove.
7189 * gdb.arch/ppc64-atomic-inst.S: New file.
7190 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7192 2014-03-31 Doug Evans <dje@google.com>
7194 * gdb.base/print-symbol-loading-lib.c: New file.
7195 * gdb.base/print-symbol-loading-main.c: New file.
7196 * gdb.base/print-symbol-loading.exp: New file.
7198 2014-03-31 Yao Qi <yao@codesourcery.com>
7200 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7202 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7204 * gdb.ada/mi_dyn_arr: New testcase.
7206 2014-03-27 Doug Evans <dje@google.com>
7208 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7210 2014-03-27 Yao Qi <yao@codesourcery.com>
7212 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7213 if target is nios2-*-*.
7215 2014-03-26 Yao Qi <yao@codesourcery.com>
7217 * lib/gdb.exp (readline_is_used): New proc.
7218 * gdb.base/completion.exp: Move tests on command complete up.
7219 Skip the rest of tests if readline is not used.
7220 * gdb.ada/complete.exp: Skp the test if readline is not
7222 * gdb.base/filesym.exp: Likewise.
7223 * gdb.base/macscp.exp: Likewise.
7224 * gdb.base/readline-ask.exp: Likewise.
7225 * gdb.base/readline.exp: Likewise.
7226 * gdb.python/py-cmd.exp: Likewise.
7227 * gdb.trace/tfile.exp: Likewise.
7229 2014-03-26 Yao Qi <yao@codesourcery.com>
7231 * gdb.base/macscp.exp: Fix code format issues.
7233 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7235 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7236 * gdb.asm/powerpc64le.inc: New file.
7238 2014-03-25 Pedro Alves <palves@redhat.com>
7239 Doug Evans <dje@google.com>
7241 * gdb.base/source-execution.c: New file.
7242 * gdb.base/source-execution.exp: New file.
7243 * gdb.base/source-execution.gdb: New file.
7245 2014-03-24 Doug Evans <dje@google.com>
7247 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7250 2014-03-24 Hui Zhu <hui@codesourcery.com>
7251 Pedro Alves <palves@redhat.com>
7253 PR breakpoints/16101
7254 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7255 test pass/fail messages. Detect missing support for dprintf when
7256 breakpoints are actually inserted.
7257 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7258 breakpoints are actually inserted.
7259 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7262 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7264 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7266 2014-03-22 Doug Evans <xdje42@gmail.com>
7268 * gdb.python/python.exp (python not supported): Verify multi-line
7269 python command issues an error.
7270 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7271 guile command issues an error.
7273 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7275 * gdb.threads/thread-specific.exp: Handle the lack of usable
7276 $this_breakpoint and $this_thread.
7278 2014-03-21 Hui Zhu <hui@codesourcery.com>
7280 * gdb.base/attach.exp (do_command_attach_tests): New.
7282 2014-03-20 Tom Tromey <tromey@redhat.com>
7283 Pedro Alves <palves@redhat.com>
7286 * gdb.base/condbreak-call-false.c: New file.
7287 * gdb.base/condbreak-call-false.exp: New file.
7289 2014-03-20 Pedro Alves <palves@redhat.com>
7291 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7293 (block_signals, unblock_signals): Delete.
7294 (child_function_2, main): Remove references to deleted variable
7297 2014-03-20 Pedro Alves <palves@redhat.com>
7299 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7300 Use pthread_kill to signal thread 2.
7301 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7302 Adjust to make the test send itself a signal rather than using the
7303 host's "kill" command.
7305 2014-03-20 Pedro Alves <palves@redhat.com>
7307 * gdb.threads/multiple-step-overs.c: New file.
7308 * gdb.threads/multiple-step-overs.exp: New file.
7309 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7310 Adjust expected infrun debug output.
7312 2014-03-20 Pedro Alves <palves@redhat.com>
7314 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7315 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7317 2014-03-20 Pedro Alves <palves@redhat.com>
7320 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7321 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7322 of gdb_test_multiple.
7323 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7324 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7326 2014-03-20 Pedro Alves <palves@redhat.com>
7328 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7329 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7331 2014-03-19 Pedro Alves <palves@redhat.com>
7333 * gdb.base/async.exp: Remove early return.
7335 2014-03-19 Pedro Alves <palves@redhat.com>
7337 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7339 2014-03-19 Pedro Alves <palves@redhat.com>
7341 * gdb.base/async.exp (test_background): Expect \r\n after
7342 "completed." in the fail pattern.
7344 2014-03-19 Pedro Alves <palves@redhat.com>
7346 * gdb.base/async.exp (test_background): New procedure.
7347 Use it for all background execution command tests.
7349 2014-03-19 Pedro Alves <palves@redhat.com>
7351 * gdb.base/async.exp: Use prepare_for_testing.
7353 2014-03-19 Pedro Alves <palves@redhat.com>
7355 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7358 2014-03-19 Pedro Alves <palves@redhat.com>
7360 * gdb.base/async.c (main): Add "jump here" and "until here" line
7362 * gdb.base/async.exp (jump_here): New global.
7363 (jump& test): Use it.
7364 (until_here): New global.
7365 (until& test): Use it.
7367 2014-03-19 Pedro Alves <palves@redhat.com>
7369 * gdb.base/async.exp: Don't frob gdb_protocol.
7371 2014-03-18 Doug Evans <xdje42@gmail.com>
7373 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7374 Fix spelling of exec-done-display.
7376 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7379 * gdb.base/gdb-sigterm.c: New file.
7380 * gdb.base/gdb-sigterm.exp: New file.
7382 2014-03-18 Pedro Alves <palves@redhat.com>
7385 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7386 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7389 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7391 * gdb.ada/pckd_arr_ren: New testcase.
7393 2014-03-13 Doug Evans <xdje42@gmail.com>
7396 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7397 collect after discarding symbols.
7399 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7400 Doug Evans <xdje42@gmail.com>
7402 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7403 to history survives a gc.
7405 2014-03-13 Pedro Alves <palves@redhat.com>
7407 * gdb.base/default.exp: Don't test "target procfs".
7409 2014-03-13 Pedro Alves <palves@redhat.com>
7411 * gdb.base/default.exp: Update "target child" and "target procfs"
7412 tests to not expect "Unix".
7414 2014-03-12 Tom Tromey <tromey@redhat.com>
7416 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7417 New procs. Add target-async tests.
7418 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7419 Add target-async tests.
7421 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7423 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7424 'func_start' and 'func_end' for the beginning and end of the
7425 function code, respectively.
7426 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7427 'func_end' instead of 'func' and 'main'.
7429 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7431 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7432 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7433 generate the debug info assembler source.
7435 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7437 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7438 * gdb.dwarf2/arr-subrange.exp: Likewise.
7439 * gdb.dwarf2/dwz.exp: Likewise.
7440 * gdb.dwarf2/method-ptr.exp: Likewise.
7441 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7442 * gdb.dwarf2/subrange.exp: Likewise.
7443 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7444 * gdb.dwarf2/implptrpiece.exp: Likewise.
7445 * gdb.dwarf2/nostaticblock.exp: Likewise.
7447 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7449 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7450 directory to absolute path name arguments.
7452 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7454 * gdb.ada/tagged_access: New testcase.
7456 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7458 * gdb.btrace/data.exp: Update expected output.
7460 2014-03-06 Yao Qi <yao@codesourcery.com>
7462 * gdb.trace/pr16508.exp: New file.
7464 2014-03-05 Pedro Alves <palves@redhat.com>
7467 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7469 (top level): Adjust to use it. Add tests that exercise breakpoint
7470 interaction with the code-cache.
7472 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7474 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7475 test for 'history-append!'.
7477 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7479 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7480 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7481 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7482 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7483 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7484 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7486 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7488 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7489 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7490 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7492 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7494 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7496 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7498 * gdb.dwarf2/arr-stride.c: New file.
7499 * gdb.dwarf2/arr-stride.exp: New file.
7501 2014-02-26 Pedro Alves <palves@redhat.com>
7503 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7504 that won't ever trigger. Make sure that GDB reports the correct
7505 breakpoint that caused the stop.
7507 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7510 * gdb.base/auto-load-script: New file.
7511 * gdb.base/auto-load.c: New file.
7512 * gdb.base/auto-load.exp: New file.
7515 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7517 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7519 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7520 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7522 2014-02-24 Doug Evans <dje@google.com>
7524 * lib/gdb.exp (run_on_host): Log error output if program fails.
7526 2014-02-21 Pedro Alves <palves@redhat.com>
7528 * gdb.threads/step-after-sr-lock.c: Rename to ...
7529 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7530 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7531 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7534 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7537 * gdb.arch/amd64-stap-special-operands.exp: New file.
7538 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7539 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7540 * gdb.arch/amd64-stap-triplet.S: Likewise.
7541 * gdb.arch/amd64-stap-triplet.c: Likewise.
7543 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7545 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7546 in .section pseudo-op.
7548 2014-02-20 lin zuojian <manjian2006@gmail.com>
7549 Joel Brobecker <brobecker@adacore.com>
7550 Doug Evans <xdje42@gmail.com>
7553 * gdb.dwarf2/dw2-icycle.S: New file.
7554 * gdb.dwarf2/dw2-icycle.c: New file.
7555 * gdb.dwarf2/dw2-icycle.exp: New file.
7557 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7559 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7560 operations on gdb.Value objects.
7561 * gdb.python/py-value-cc.exp: Add new test to test operations on
7564 2014-02-18 Doug Evans <dje@google.com>
7566 * Makefile.in (TESTS): New variable.
7567 (expanded_tests, expanded_tests_or_none): New variables
7568 (check-single): Pass $(expanded_tests_or_none) to runtest.
7569 (check-parallel): Only run tests in $(TESTS) if non-empty.
7570 (check/no-matching-tests-found): New rule.
7571 * README: Document TESTS makefile variable.
7573 2014-02-18 Doug Evans <dje@google.com>
7575 * Makefile.in (check-parallel): rm -rf outputs temp.
7577 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7579 Fix "ERROR: no fileid for" in the testsuite.
7580 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7582 2014-02-12 Doug Evans <dje@google.com>
7584 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7585 (MISCELLANEOUS): New variable.
7586 (clean): rm -rf $(MISCELLANEOUS).
7587 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7588 dwp live in the same directory as symlinks, with each symlink pointed
7589 to a differently named file in a different directory.
7591 2014-02-11 Doug Evans <dje@google.com>
7593 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7594 of Tcl file commands.
7596 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7598 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7601 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7603 * gdb.ada/tick_length_array_enum_idx: New testcase.
7605 2014-02-10 Doug Evans <xdje42@gmail.com>
7607 * configure.ac (AC_OUTPUT): Add gdb.guile.
7608 * configure: Regenerate.
7609 * lib/gdb-guile.exp: New file.
7610 * lib/gdb.exp (get_target_charset): New function.
7611 * gdb.base/help.exp: Update expected output from "apropos apropos".
7612 * gdb.guile/Makefile.in: New file.
7613 * gdb.guile/guile.exp: New file.
7614 * gdb.guile/scm-arch.c: New file.
7615 * gdb.guile/scm-arch.exp: New file.
7616 * gdb.guile/scm-block.c: New file.
7617 * gdb.guile/scm-block.exp: New file.
7618 * gdb.guile/scm-breakpoint.c: New file.
7619 * gdb.guile/scm-breakpoint.exp: New file.
7620 * gdb.guile/scm-disasm.c: New file.
7621 * gdb.guile/scm-disasm.exp: New file.
7622 * gdb.guile/scm-equal.c: New file.
7623 * gdb.guile/scm-equal.exp: New file.
7624 * gdb.guile/scm-error.exp: New file.
7625 * gdb.guile/scm-error.scm: New file.
7626 * gdb.guile/scm-frame-args.c: New file.
7627 * gdb.guile/scm-frame-args.exp: New file.
7628 * gdb.guile/scm-frame-args.scm: New file.
7629 * gdb.guile/scm-frame-inline.c: New file.
7630 * gdb.guile/scm-frame-inline.exp: New file.
7631 * gdb.guile/scm-frame.c: New file.
7632 * gdb.guile/scm-frame.exp: New file.
7633 * gdb.guile/scm-generics.exp: New file.
7634 * gdb.guile/scm-gsmob.exp: New file.
7635 * gdb.guile/scm-iterator.c: New file.
7636 * gdb.guile/scm-iterator.exp: New file.
7637 * gdb.guile/scm-math.c: New file.
7638 * gdb.guile/scm-math.exp: New file.
7639 * gdb.guile/scm-objfile-script-gdb.in: New file.
7640 * gdb.guile/scm-objfile-script.c: New file.
7641 * gdb.guile/scm-objfile-script.exp: New file.
7642 * gdb.guile/scm-objfile.c: New file.
7643 * gdb.guile/scm-objfile.exp: New file.
7644 * gdb.guile/scm-ports.exp: New file.
7645 * gdb.guile/scm-pretty-print.c: New file.
7646 * gdb.guile/scm-pretty-print.exp: New file.
7647 * gdb.guile/scm-pretty-print.scm: New file.
7648 * gdb.guile/scm-section-script.c: New file.
7649 * gdb.guile/scm-section-script.exp: New file.
7650 * gdb.guile/scm-section-script.scm: New file.
7651 * gdb.guile/scm-symbol.c: New file.
7652 * gdb.guile/scm-symbol.exp: New file.
7653 * gdb.guile/scm-symtab-2.c: New file.
7654 * gdb.guile/scm-symtab.c: New file.
7655 * gdb.guile/scm-symtab.exp: New file.
7656 * gdb.guile/scm-type.c: New file.
7657 * gdb.guile/scm-type.exp: New file.
7658 * gdb.guile/scm-value-cc.cc: New file.
7659 * gdb.guile/scm-value-cc.exp: New file.
7660 * gdb.guile/scm-value.c: New file.
7661 * gdb.guile/scm-value.exp: New file.
7662 * gdb.guile/source2.scm: New file.
7663 * gdb.guile/types-module.cc: New file.
7664 * gdb.guile/types-module.exp: New file.
7666 2014-02-10 Yao Qi <yao@codesourcery.com>
7669 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7670 * configure: Regenerated.
7671 * Makefile.in: New file.
7673 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7675 * gdb.python/py-framefilter.exp: Fix typo.
7677 2014-02-08 Yao Qi <yao@codesourcery.com>
7679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7680 that no =breakpoint-modified is emitted when breakpoints are
7681 modified through MI commands.
7683 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7684 Pedro Alves <palves@redhat.com>
7686 * gdb.threads/step-after-sr-lock.c: New file.
7687 * gdb.threads/step-after-sr-lock.exp: New file.
7689 2014-02-07 Pedro Alves <palves@redhat.com>
7691 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7693 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7695 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7696 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7698 2014-02-06 Doug Evans <xdje42@gmail.com>
7700 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7703 * gdb.gdb/python-interrupts.exp: New file.
7705 2014-02-05 Yao Qi <yao@codesourcery.com>
7707 * gdb.trace/report.exp (use_collected_data): Test the output
7708 of "info threads" and "info inferiors".
7710 2014-02-05 Yao Qi <yao@codesourcery.com>
7714 2013-05-24 Yao Qi <yao@codesourcery.com>
7716 * gdb.trace/tfile.exp: Test inferior and thread.
7718 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7720 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7722 * gdb.base/step-bt.c: Call hello via function pointer to make
7723 sure its first instruction is executed on powerpc64le-linux.
7725 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7727 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7731 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7732 of the test patterns for use on little-endian systems.
7734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7736 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7737 (decimal_vector): Fix for little-endian.
7739 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7741 * gdb.arch/sparc-sysstep.exp: New file.
7742 * gdb.arch/sparc-sysstep.c: Likewise.
7744 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7746 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7748 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7750 2014-01-23 Tom Tromey <tromey@redhat.com>
7752 * gdb.ada/array_char_idx: New testcase.
7754 2014-01-23 Tom Tromey <tromey@redhat.com>
7757 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7758 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7761 2014-01-23 Tom Tromey <tromey@redhat.com>
7764 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7765 string from an inferior frame.
7766 * gdb.python/py-framefilter-mi.exp: Update.
7768 2014-01-22 Doug Evans <dje@google.com>
7770 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7772 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7774 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7776 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7778 * gdb.trace/entry-values.exp: Remove excess space character from
7779 regex patterns. Handle s390 call instruction.
7781 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7783 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7784 define "*_start" label. Make "name" static.
7785 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7786 ${name} by references to ${name}_start.
7788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7790 * gdb.base/info-macros.exp: Remove "debug" from the compile
7793 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7795 * gdb.dlang/demangle.exp: New file.
7797 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7799 * gdb.dlang/primitive-types.exp: New file.
7801 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7803 * configure.ac: Create gdb.dlang/Makefile.
7804 * configure: Regenerate.
7805 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7806 * gdb.dlang/Makefile.in: New file.
7807 * lib/d-support.exp: New file.
7808 * lib/gdb.exp (skip_d_tests): New proc.
7810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7812 * gdb.btrace/delta.exp: Check reverse stepi.
7813 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7814 * gdb.btrace/finish.exp: New.
7815 * gdb.btrace/next.exp: New.
7816 * gdb.btrace/nexti.exp: New.
7817 * gdb.btrace/record_goto.c: Add comments.
7818 * gdb.btrace/step.exp: New.
7819 * gdb.btrace/stepi.exp: New.
7820 * gdb.btrace/multi-thread-step.c: New.
7821 * gdb.btrace/multi-thread-step.exp: New.
7822 * gdb.btrace/rn-dl-bind.c: New.
7823 * gdb.btrace/rn-dl-bind.exp: New.
7824 * gdb.btrace/data.c: New.
7825 * gdb.btrace/data.exp: New.
7826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7830 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7831 * gdb.btrace/exception.exp: Update.
7832 * gdb.btrace/instruction_history.exp: Update.
7833 * gdb.btrace/record_goto.exp: Update.
7834 * gdb.btrace/tailcall.exp: Update.
7835 * gdb.btrace/unknown_functions.exp: Update.
7836 * gdb.btrace/delta.exp: New.
7838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7840 * gdb.btrace/record_goto.exp: Add backtrace test.
7841 * gdb.btrace/tailcall.exp: Add backtrace test.
7843 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7845 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7846 * gdb.btrace/record_goto.c: New.
7847 * gdb.btrace/record_goto.exp: New.
7848 * gdb.btrace/x86-record_goto.S: New.
7850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7852 * gdb.btrace/function_call_history.exp: Update tests.
7853 * gdb.btrace/instruction_history.exp: Update tests.
7855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7857 * gdb.btrace/function_call_history.exp: Fix expected field
7858 order for "record function-call-history".
7859 Add new tests for "record function-call-history /c".
7860 * gdb.btrace/exception.cc: New.
7861 * gdb.btrace/exception.exp: New.
7862 * gdb.btrace/tailcall.exp: New.
7863 * gdb.btrace/x86-tailcall.S: New.
7864 * gdb.btrace/x86-tailcall.c: New.
7865 * gdb.btrace/unknown_functions.c: New.
7866 * gdb.btrace/unknown_functions.exp: New.
7867 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7869 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7871 * gdb.btrace/instruction_history.exp: Update.
7872 * gdb.btrace/function_call_history.exp: Update.
7874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7876 * gdb.btrace/function_call_history.exp: Fix expected function
7878 * gdb.btrace/instruction_history.exp: Initialize traced.
7879 Remove traced_functions.
7881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7883 * gdb.btrace/function_call_history.exp: Update
7884 * gdb.btrace/instruction_history.exp: Update.
7886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7888 * gdb.btrace/enable.exp: Update expected text.
7890 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7892 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7895 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7897 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7899 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7901 * lib/gdb.exp (supports_process_record): Return true for
7902 arm*-linux*. (supports_reverse): Likewise.
7904 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7908 * gdb.python/py-type.c: Enhance test case.
7909 * gdb.python/py-value-cc.cc: Likewise
7910 * gdb.python/py-type.exp: Add new tests.
7911 * gdb.python/py-value-cc.exp: Likewise
7913 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7914 Pedro Alves <palves@redhat.com>
7916 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7918 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7919 references to ${name}_start by references to ${name}.
7921 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7923 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7925 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7927 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7929 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7930 Pedro Alves <palves@redhat.com>
7932 * gdb.mi/mi-info-os.exp: Connect to the target with
7935 2014-01-08 Pedro Alves <palves@redhat.com>
7937 * gdb.threads/reconnect-signal.c: New file.
7938 * gdb.threads/reconnect-signal.exp: New file.
7940 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7942 * gdb.base/source-dir.exp: New file.
7944 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7946 * gdb.ada/mi_interface: New testcase.
7948 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7950 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7951 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7952 gdb.ada/pp-rec-component/pck.ads: New files.
7954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7956 * gdb.python/py-pp-integral.c: New file.
7957 * gdb.python/py-pp-integral.py: New file.
7958 * gdb.python/py-pp-integral.exp: New file.
7960 For older changes see ChangeLog-1993-2013.
7966 ;; version-control: never
7969 Copyright 2014-2016 Free Software Foundation, Inc.
7970 Copying and distribution of this file, with or without modification,
7971 are permitted provided the copyright notice and this notice are preserved.