1 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4 standard_output_file. Remove unused binfile variable.
6 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9 * gdb.python/py-mi-objfile.exp: Match "list main" output
12 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
17 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
19 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
21 * gdb.trace/ftrace.exp: Likewise.
22 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
24 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
25 (gdb_load_shlibs): Copy libraries to test directory when testing
26 natively. Only set solib-search-path if testing remotely.
27 * lib/mi-support.exp (mi_load_shlibs): Likewise.
29 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
31 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
32 gdb_download. Use it even if the target is not remote.
33 * gdb.base/jit.exp (compile_jit_test): Likewise.
34 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
35 output directory if the destination board is local, otherwise use
36 the standard remote_download from DejaGnu.
37 (gdb_download): Remove.
38 (gdb_load_shlibs): Use gdb_remote_download instead of
40 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
41 Use gdb_remote_download instead of gdb_download. Use it even if
42 the target is not remote.
43 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
44 instead of gdb_download.
46 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
48 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
49 (test_insert_delete_modify): Call mi_load_shlibs before trying to
52 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
55 * gdb.base/printcmds.exp: Add artificial arrays tests.
57 2016-03-31 Pedro Alves <palves@redhat.com>
60 * gdb.base/jit-main.c: Include unistd.h.
61 (ATTACH): Define to 0 if not already defined.
62 (wait_for_gdb, mypid): New globals.
63 (WAIT_FOR_GDB): New macro.
64 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
65 some breakpoint locations.
66 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
68 (one_jit_test): Add REATTACH parameter, and handle it. Use
69 continue_to_test_location.
70 (top level): Test attach, and adjusts calls to one_jit_test.
72 2016-03-31 Pedro Alves <palves@redhat.com>
75 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
76 BINSUFFIX parameter, and handle it.
77 (top level): Adjust calls compile_jit_test.
79 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
82 * gdb.python/py-mi-events-gdb.py: New file.
83 * gdb.python/py-mi-events.c: New file.
84 * gdb.python/py-mi-events.exp: New file.
86 2016-03-30 Yao Qi <yao.qi@linaro.org>
88 * gdb.reverse/until-precsave.exp: Match function name only.
89 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
90 Move malloc to a condition block.
91 * gdb.reverse/until-reverse.exp: Match function name only.
93 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
95 * gdb.trace/ftrace.exp: Set arg0exp for s390.
96 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
97 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
98 variable for GPR 0 instead of assuming it is register 0.
99 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
100 * lib/trace-support.exp: Add s390 registers.
102 2016-03-29 Yao Qi <yao.qi@linaro.org>
104 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
106 2016-03-24 Yao Qi <yao.qi@linaro.org>
108 * gdb.reverse/break-reverse.exp: Add quotation mark in the
111 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
113 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
114 maintaining separate logic for constructing the output path.
116 2016-03-16 Don Breazeal <donb@codesourcery.com>
118 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
119 Retry fork and waitpid on interrupted system call errors.
120 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
121 Use with_timeout_factor to increase timeout by factor of 10.
123 2016-03-15 Don Breazeal <donb@codesourcery.com>
125 * gdb.cp/scope-err.cc: New test program.
126 * gdb.cp/scope-err.exp: New test script.
127 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
128 lines and "set breakpoint here" comment.
129 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
130 Fixed some whitespace and format issues.
131 * gdb.mi/mi-linespec-err-cp.cc: New test program.
132 * gdb.mi/mi-linespec-err-cp.exp: New test script.
134 2016-03-15 Doug Evans <dje@google.com>
136 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
137 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
138 All callers updated. Add tests for enums, mixed flags register.
140 2016-03-15 Doug Evans <dje@google.com>
142 * gdb.base/skip.c (main): Call test_skip_file_and_function.
143 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
145 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
147 * gdb.base/default.exp: Add $_as_string to the list of expected
148 convenience functions.
150 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
152 * gdb.base/maint.exp: New tests for 'maint info line-table'.
154 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
156 * gdb.python/py-as-string.exp: New file.
157 * gdb.python/py-as-string.c: New file.
159 2016-03-09 Pedro Alves <palves@redhat.com>
161 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
162 signal" -> "Thread NN received signal" output change.
163 * gdb.threads/ia64-sigill.exp: Likewise.
164 * gdb.threads/linux-dp.exp: Likewise.
165 * gdb.threads/manythreads.exp: Likewise.
166 * gdb.threads/pending-step.exp: Likewise.
167 * gdb.threads/print-threads.exp: Likewise.
168 * gdb.threads/sigstep-threads.exp: Likewise.
169 * gdb.threads/staticthreads.exp: Likewise.
170 * gdb.threads/tls.exp: Likewise.
172 2016-03-09 Pedro Alves <palves@redhat.com>
174 * gdb.base/command-line-input.exp: New file.
176 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
178 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
179 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
180 * gdb.trace/pending.exp: Accept leading dot before function name.
181 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
182 * lib/trace-support.exp: Set registers for ppc.
184 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
186 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
187 use it for disassembly; accept .main in addition to main in backtrace.
189 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
190 Marcin Kościelnicki <koriakin@0x04.net>
192 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
193 (gdb_recursion_test_ptr): New global variable.
194 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
198 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
200 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
203 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
205 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
206 (bar): Add bar_start_lbl label.
207 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
208 of foo/bar for emitting DWARF and tracing.
210 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
212 * analyze-racy-logs.py: Set executable bit.
214 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
216 * Makefile.in (DEFAULT_RACY_ITER): New variable.
217 (CHECK_TARGET_TMP): Likewise.
218 (check-single-racy): New rule.
219 (check-parallel-racy): Likewise.
220 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
221 (do-check-parallel-racy): New rule.
222 (check-racy/%.exp): Likewise.
223 * README (Racy testcases): New section.
224 * analyze-racy-logs.py: New file.
226 2016-03-03 Doug Evans <dje@google.com>
228 * gdb.base/skip.exp: Use with_test_prefix.
230 2016-03-03 Yao Qi <yao.qi@linaro.org>
232 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
233 Invoke step_over_syscall "clone" and break_cond_on_syscall
235 * gdb.base/step-over-clone.c: New file.
237 2016-03-03 Yao Qi <yao.qi@linaro.org>
239 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
242 2016-03-03 Yao Qi <yao.qi@linaro.org>
244 * gdb.base/disp-step-fork.c: Rename to ...
245 * gdb.base/step-over-fork.c: ... it. New file.
246 * gdb.base/disp-step-vfork.c: Rename to ...
247 * gdb.base/step-over-vfork.c: ... it. New file.
248 * gdb.base/disp-step-syscall.exp: Rename to ...
249 * gdb.base/step-over-syscall.exp: ... it. New file.
250 (disp_step_cross_syscall): Rename to ...
251 (step_over_syscall): ... it.
253 2016-03-03 Yao Qi <yao.qi@linaro.org>
255 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
256 If target supports condition evaluation on target, invoke
257 break_cond_on_syscall for fork and vfork.
259 2016-03-03 Yao Qi <yao.qi@linaro.org>
261 * gdb.base/disp-step-syscall.exp: Don't invoke
262 support_displaced_stepping.
263 (disp_step_cross_syscall): Test with displaced stepping off and
266 2016-03-03 Yao Qi <yao.qi@linaro.org>
268 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
271 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
274 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
276 * gdb.fortran/vla-history.exp: Remove breakpoint.
278 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
280 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
282 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
284 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
286 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
288 * gdb.mi/vla.f90: Nullify pointer after declaration.
290 2016-03-01 Pedro Alves <palves@redhat.com>
292 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
294 2016-03-01 Pedro Alves <palves@redhat.com>
296 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
297 before anything else.
298 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
300 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
301 before anything else.
302 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
304 2016-03-01 Pedro Alves <palves@redhat.com>
306 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
308 2016-03-01 Yao Qi <yao.qi@linaro.org>
310 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
313 2016-03-01 Yao Qi <yao.qi@linaro.org>
315 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
317 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
319 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
320 manually constructing the output path.
322 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
324 * gdb.arch/s390-stackless.S: New.
325 * gdb.arch/s390-stackless.exp: New.
327 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
329 * gdb.dlang/circular.c: New file.
330 * gdb.dlang/circular.exp: New file.
332 2016-02-26 Yao Qi <yao.qi@linaro.org>
334 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
335 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
338 2016-02-26 Yao Qi <yao.qi@linaro.org>
340 * gdb.reverse/aarch64.c: Rename to ...
341 * gdb.reverse/insn-reverse.c: ... it.
342 * gdb.reverse/aarch64.exp: Rename to ...
343 * gdb.reverse/insn-reverse.exp: ... it.
345 2016-02-26 Yao Qi <yao.qi@linaro.org>
347 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
348 (testcase_ftype): New.
349 (testcases): New array.
351 (main): Call each element in testcases.
352 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
353 (read_testcase): New.
354 Do the tests in a loop.
356 2016-02-25 Yao Qi <yao.qi@linaro.org>
358 * gdb.base/branches.c: Remove.
360 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
363 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
365 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
367 * gdb.trace/ftrace.exp: Remove unnecessary target check.
369 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
371 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
372 change x86_64 call_insn to 'callq'.
374 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
376 * gdb.trace/tfile-avx.c: Move to...
377 * gdb.trace/tracefile-pseudo-reg.c: Here.
378 * gdb.trace/tfile-avx.exp: Move to...
379 * gdb.trace/tracefile-pseudo-reg.exp: Here.
381 2016-02-24 Gary Benson <gbenson@redhat.com>
383 * gdb.base/attach-pie-noexec.exp: Do not expect an error
386 2016-02-23 Doug Evans <dje@google.com>
388 * gdb.base/skip.c (test_skip): New function.
389 (end_test_skip_file_and_function): New function.
390 (test_skip_file_and_function): New function.
391 * gdb.base/skip1.c (test_skip): New function.
392 (skip1_test_skip_file_and_function): New function.
393 * gdb.base/skip.exp: Add tests for new skip options.
394 * gdb.base/skip-solib.exp: Update expected output.
395 * gdb.perf/skip-command.cc: New file.
396 * gdb.perf/skip-command.exp: New file.
397 * gdb.perf/skip-command.py: New file.
399 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
401 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
402 info registers pattern.
404 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
406 * lib/future.exp: Add D support.
407 (gdb_find_gdc): New proc.
408 (gdb_default_target_compile): Add D support.
410 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
412 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
414 (trace_speed_test): Determine the iteration count for a time
415 between 15..30 seconds.
417 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
419 * gdb.arch/i386-mpx-sigsegv.c: New file.
420 * gdb.arch/i386-mpx-sigsegv.exp: New file.
421 * gdb.arch/i386-mpx-simple_segv.c: New file.
422 * gdb.arch/i386-mpx-simple_segv.exp: New file.
424 2016-02-18 Yao Qi <yao.qi@linaro.org>
426 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
427 Don't call setup_kfail.
429 2016-02-18 Yao Qi <yao.qi@linaro.org>
431 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
432 Set "set breakpoint condition-evaluation" per $cond_bp_target.
434 2016-02-16 Doug Evans <dje@google.com>
436 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
437 * gdb.base/skip1.c: Ditto.
438 * gdb.base/skip.exp: Whitespace cleanup.
440 2016-02-16 Don Breazeal <donb@codesourcery.com>
443 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
444 Remove kfail for PR remote/19496.
446 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
448 * lib/gdb.exp (standard_temp_file): Return a path specific to
449 the runtest invocation.
451 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
453 * gdb.trace/save-trace.exp: Change relative path to be in the
454 standard output directory.
456 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
458 * gdb.arch/i386-prologue.c: Add missing prototypes.
460 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
462 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
463 * gdb.arch/i386-prologue.exp: Likewise.
464 * gdb.arch/i386-size.exp: Likewise.
466 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
468 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
469 define object file path.
470 * gdb.btrace/gcore.exp: Use standard_output_file to define core
472 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
473 standard_output_file to define binfile.
475 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
477 Fix compatibility with recent gfortran-5.3.1.
478 * gdb.fortran/vla-history.exp (print vla1 allocated)
479 (print vla2 allocated, print $2, print $3): Remove
480 (print $4): Rename to ...
481 (print $2): ... here.
482 (print $9): Rename to ...
483 (print $5): ... here.
484 (print $10): Rename to ...
485 (print $6): ... here.
486 * gdb.fortran/vla.f90: Add pvla initialization.
488 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
490 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
492 * gdb.fortran/vla-value-sub.exp: Likewise.
494 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
496 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
498 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
500 * i386-biarch-core.exp: Define corefile using
501 standard_output_file.
503 2016-02-12 Yao Qi <yao.qi@linaro.org>
505 * gdb.arch/arm-single-step-kernel-helper.c: New.
506 * gdb.arch/arm-single-step-kernel-helper.exp: New.
508 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
510 * gdb.btrace/tailcall-only.exp: New.
511 * gdb.btrace/tailcall-only.c: New.
512 * gdb.btrace/x86_64-tailcall-only.S: New.
513 * gdb.btrace/i686-tailcall-only.S: New.
515 2016-02-11 Pedro Alves <palves@redhat.com>
517 * README (Parallel testing): Add missing double quotes.
519 2016-02-11 Pedro Alves <palves@redhat.com>
521 * README (Parallel testing): New section.
522 (GDB_PARALLEL): Rewrite.
523 (FORCE_PARALLEL): Document.
525 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
527 * gdb.trace/tfile-avx.c: New test.
528 * gdb.trace/tfile-avx.exp: New test.
530 2016-02-09 Keith Seitz <keiths@redhat.com>
533 * gdb.base/infcall-exec.c: New file.
534 * gdb.base/infcall-exec2.c: New file.
535 * gdb.base/infcall-exec.exp: New file.
537 2016-02-09 Keith Seitz <keiths@redhat.com>
539 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
540 (toplevel): Call test_bkpt_address.
542 2016-02-09 Keith Seitz <keiths@redhat.com>
545 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
546 (toplevel): Call test_bkpt_address.
548 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
550 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
552 * configure: Regenerate.
554 2016-02-09 Pedro Alves <palves@redhat.com>
557 * gdb.base/execl-update-breakpoints.c (some_function): New
560 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
561 Tighten expected GDB output.
563 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
565 * Makefile.in (ALL_SUBDIRS): Remove.
566 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
567 (distclean maintainer-clean realclean): Likewise.
568 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
569 * configure: Regenerate.
570 * gdb.ada/Makefile.in: Delete.
571 * gdb.arch/Makefile.in: Likewise.
572 * gdb.asm/Makefile.in: Likewise.
573 * gdb.base/Makefile.in: Likewise.
574 * gdb.btrace/Makefile.in: Likewise.
575 * gdb.cell/Makefile.in: Likewise.
576 * gdb.compile/Makefile.in: Likewise.
577 * gdb.cp/Makefile.in: Likewise.
578 * gdb.disasm/Makefile.in: Likewise.
579 * gdb.dlang/Makefile.in: Likewise.
580 * gdb.dwarf2/Makefile.in: Likewise.
581 * gdb.fortran/Makefile.in: Likewise.
582 * gdb.gdb/Makefile.in: Likewise.
583 * gdb.go/Makefile.in: Likewise.
584 * gdb.guile/Makefile.in: Likewise.
585 * gdb.java/Makefile.in: Likewise.
586 * gdb.linespec/Makefile.in: Likewise.
587 * gdb.mi/Makefile.in: Likewise.
588 * gdb.modula2/Makefile.in: Likewise.
589 * gdb.multi/Makefile.in: Likewise.
590 * gdb.objc/Makefile.in: Likewise.
591 * gdb.opencl/Makefile.in: Likewise.
592 * gdb.opt/Makefile.in: Likewise.
593 * gdb.pascal/Makefile.in: Likewise.
594 * gdb.perf/Makefile.in: Likewise.
595 * gdb.python/Makefile.in: Likewise.
596 * gdb.reverse/Makefile.in: Likewise.
597 * gdb.server/Makefile.in: Likewise.
598 * gdb.stabs/Makefile.in: Likewise.
599 * gdb.threads/Makefile.in: Likewise.
600 * gdb.trace/Makefile.in: Likewise.
601 * gdb.xml/Makefile.in: Likewise.
602 * lib/gdb.exp (make_gdb_parallel_path): Add check for
604 (standard_output_file): Remove check for GDB_PARALLEL, always
605 return path in outputs/$subdir/$testname.
607 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
609 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
610 (site.exp): Assign abs_srcdir to tcl's srcdir.
612 2016-02-04 Yao Qi <yao.qi@linaro.org>
614 * gdb.base/foll-exec-mode.c: Include limits.h.
615 (main): Add parameters argc and argv. Get directory from
617 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
619 * gdb.base/foll-exec.c: Include limits.h.
620 (main): Add parameters argc and argv.
621 Get directory from argv[0].
622 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
623 Adjust tests on the number of lines as source code changed.
624 * gdb.base/foll-vfork-exit.c: Include limits.h.
625 (main): Add one line of statement before vfork.
626 * gdb.base/foll-vfork.c: Include limits.h and string.h.
627 (main): Add parameters argc and argv. Get directory from
629 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
630 (setup_gdb): Set tbreak to skip some source lines.
631 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
632 (main): Add parameters argc and argv. Get directory from
634 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
636 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
637 (main): Add parameters argc and argv. Get directory from
639 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
642 2016-02-01 Doug Evans <dje@google.com>
644 * gdb.base/skip.exp: Clean up multiple references to same test name.
646 2016-02-01 Pedro Alves <palves@redhat.com>
649 * gdb.threads/forking-threads-plus-breakpoint.exp
650 (displaced_stepping_supported): New global.
651 (probe_displaced_stepping_support): New procedure.
652 (do_test): Add 'displaced' parameter, and use it.
653 (top level): Check for displaced stepping support. Add displaced
654 stepping on/off testing axis.
656 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
658 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
659 pointer. Don't perform further tests on the unassociated pointer
660 if the first test fails.
662 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
664 * gdb.base/max-value-size.c: New file.
665 * gdb.base/max-value-size.exp: New file.
666 * gdb.base/huge.exp: Disable max-value-size for this test.
668 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
670 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
672 2016-01-28 Yao Qi <yao.qi@linaro.org>
674 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
676 2016-01-25 Pedro Alves <palves@redhat.com>
679 * gdb.base/fork-running-state.c: New file.
680 * gdb.base/fork-running-state.exp: New file.
682 2016-01-25 Pedro Alves <palves@redhat.com>
685 * gdb.base/catch-fork-kill.c: New file.
686 * gdb.base/catch-fork-kill.exp: New file.
688 2016-01-25 Pedro Alves <palves@redhat.com>
690 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
691 Delete, moved to lib/gdb.exp.
692 * gdb.threads/forking-threads-plus-breakpoint.exp
693 (foreach_with_prefix): Likewise.
694 * gdb.threads/process-dies-while-handling-bp.exp
695 (foreach_with_prefix): Likewise.
696 * lib/gdb.exp (foreach_with_prefix): New procedure.
698 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
700 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
701 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
703 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
705 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
708 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
709 Pedro Alves <palves@redhat.com>
711 Fix testsuite compatibility with Guile.
712 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
715 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
717 Fix testsuite compatibility with Guile.
718 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
719 (thread 1): New test for backtrace through signal handler.
721 2016-01-22 Yao Qi <yao.qi@linaro.org>
724 * gdb.base/multi-forks.c: Include
725 ../lib/unbuffer_output.c
726 (main): Call gdb_unbuffer_output.
728 2016-01-21 Doug Evans <dje@google.com>
730 * lib/ada.exp (gdb_compile_ada): Fix typo.
732 2016-01-21 Joel Brobecker <brobecker@adacore.com>
734 * gdb.base/break-fun-addr.exp: New file.
735 * gdb.base/break-fun-addr1.c: New file.
736 * gdb.base/break-fun-addr2.c: New file.
738 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
740 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
741 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
744 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
746 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
747 when GDB can not set the vector return value. Add more comments
750 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
752 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
755 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
757 * Makefile.in (DO_RUNTEST): Add --status and update usages.
759 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
761 * Makefile.in (check-single): Pass --status to runtest.
762 (check/%.exp): Likewise.
764 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
766 * Makefile.in (check-parallel): Propagate return code from make
769 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
771 * gdb.trace/ftrace.exp: Fix expected message on continue.
772 * gdb.trace/pending.exp: Fix expected message on continue.
773 * gdb.trace/trace-break.exp: Fix expected message on continue.
775 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
777 * lib/gdb.exp (gdb_test): Remove unused global references.
779 2016-01-18 Pedro Alves <palves@redhat.com>
781 * gdb.base/async-shell.exp: Adjust expected output.
782 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
783 * gdb.base/siginfo-thread.exp: Adjust expected output.
784 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
785 * gdb.java/jnpe.exp: Adjust expected output.
786 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
787 * gdb.threads/continue-pending-status.exp: Adjust expected output.
788 * gdb.threads/leader-exit.exp: Adjust expected output.
789 * gdb.threads/manythreads.exp: Adjust expected output.
790 * gdb.threads/pthreads.exp: Adjust expected output.
791 * gdb.threads/schedlock.exp: Adjust expected output.
792 * gdb.threads/siginfo-threads.exp: Adjust expected output.
793 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
795 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
797 * gdb.threads/sigthread.exp: Adjust expected output.
798 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
800 2016-01-18 Yao Qi <yao.qi@linaro.org>
802 * gdb.guile/scm-section-script.c: Replace @progbits with
804 * gdb.python/py-section-script.c: Likewise.
806 2016-01-15 Pedro Alves <palves@redhat.com>
808 * gdb.multi/tids.exp: Test star wildcard ranges.
810 2016-01-15 Pedro Alves <palves@redhat.com>
812 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
813 command from "thread apply" invocation.
814 (thr_apply_info_thr_invalid): Default the expected output to the
816 (top level): Add tests that use convenience variables. Add tests
817 for "thread apply" with a valid TID list, but missing the command.
819 2016-01-13 Pedro Alves <palves@redhat.com>
821 * gdb.base/default.exp: Expect $_gthread as well.
822 * gdb.multi/tids.exp: Test $_gthread.
823 * gdb.threads/thread-specific.exp: Test $_gthread.
825 2016-01-13 Pedro Alves <palves@redhat.com>
827 * gdb.multi/tids.exp: Test "info threads -gid".
829 2016-01-13 Pedro Alves <palves@redhat.com>
831 * gdb.multi/tids.exp: Test InferiorThread.global_num and
833 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
835 2016-01-07 Pedro Alves <palves@redhat.com>
837 * gdb.base/break.exp: Adjust to output changes.
838 * gdb.base/hbreak2.exp: Likewise.
839 * gdb.base/sepdebug.exp: Likewise.
840 * gdb.base/watch_thread_num.exp: Likewise.
841 * gdb.linespec/keywords.exp: Likewise.
842 * gdb.multi/info-threads.exp: Likewise.
843 * gdb.threads/thread-find.exp: Likewise.
844 * gdb.multi/tids.c: New file.
845 * gdb.multi/tids.exp: New file.
847 2016-01-13 Pedro Alves <palves@redhat.com>
849 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
851 2016-01-13 Pedro Alves <palves@redhat.com>
853 * gdb.base/default.exp: Expect $_inferior as well.
854 * gdb.multi/base.exp: Test $_inferior.
856 2016-01-13 Pedro Alves <palves@redhat.com>
859 * gdb.base/catch-signal-siginfo-cond.c: New file.
860 * gdb.base/catch-signal-siginfo-cond.exp: New file.
862 2016-01-12 Josh Stone <jistone@redhat.com>
863 Philippe Waroquiers <philippe.waroquiers@skynet.be>
865 * gdb.base/catch-syscall.c (do_execve): New variable.
866 (main): Conditionally trigger an execve.
867 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
868 (test_catch_syscall_execve): New, check entry/return across execve.
869 (do_syscall_tests): Call test_catch_syscall_execve.
871 2016-01-12 Pedro Alves <palves@redhat.com>
873 * gdb.base/random-signal.exp (do_test): New procedure, with body
874 of testcase moved in.
876 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
877 Pedro Alves <palves@redhat.com>
879 * gdb.base/funcargs.exp (finish from indirectly called function):
880 Reintroduce the case for 'First'.
882 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
883 Pedro Alves <palves@redhat.com>
885 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
886 (tcatch_vfork_then_child_follow_exec)
887 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
890 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
892 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
893 and repeats to unlimited.
894 * gdb.python/py-value.exp: Likewise.
895 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
896 and repeats to unlimited.
898 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
900 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
901 and reordering the functions.
902 * gdb.multi/hangout.c: Likewise.
903 * gdb.multi/hello.c: Likewise.
905 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
907 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
909 (SingleStatisticTestResult.report): Use dict.keys instead of
912 2016-01-06 Pedro Alves <palves@redhat.com>
914 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
916 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
918 * gdb.btrace/dlopen.exp: New.
919 * gdb.btrace/dlopen.c: New.
920 * gdb.btrace/dlopen-dso.c: New.
922 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
924 * lib/gdb.exp (gdb_test): Update comments to clarify that the
925 PATTERN argument is optional.
927 2015-12-24 Joel Brobecker <brobecker@adacore.com>
929 * lib/ada.exp (target_compile_ada_from_dir): New function.
930 (gdb_compile_ada): Reimplement avoiding the use of project files.
931 * gdb.ada/gnat_ada.gpr: Delete.
932 * gdb.ada/cond_lang.exp: Adjust test to make path before
934 * gdb.ada/small_reg_param.exp: Likewise.
936 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
938 * gdb.base/foll-vork.exp: Remove HP-UX special case.
940 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
942 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
945 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
947 * gdb.base/break.exp: Remove dead code.
948 * gdb.base/sepdebug.exp: Likewise.
950 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
952 * gdb.asm/asm-source.exp: Remove HP-UX references.
953 * gdb.base/annota1.exp: Likewise.
954 * gdb.base/annota3.exp: Likewise.
955 * gdb.base/attach.exp: Likewise.
956 * gdb.base/bigcore.exp: Likewise.
957 * gdb.base/break.exp: Likewise.
958 * gdb.base/call-ar-st.exp: Likewise.
959 * gdb.base/callfuncs.exp: Likewise.
960 * gdb.base/catch-fork-static.exp: Likewise.
961 * gdb.base/display.exp: Likewise.
962 * gdb.base/foll-exec-mode.exp: Likewise.
963 * gdb.base/foll-exec.exp: Likewise.
964 * gdb.base/foll-fork.exp: Likewise.
965 * gdb.base/foll-vfork.exp: Likewise.
966 * gdb.base/funcargs.exp: Likewise.
967 * gdb.base/hbreak2.exp: Likewise.
968 * gdb.base/inferior-died.exp: Likewise.
969 * gdb.base/interrupt.exp: Likewise.
970 * gdb.base/multi-forks.exp: Likewise.
971 * gdb.base/nodebug.exp: Likewise.
972 * gdb.base/sepdebug.exp: Likewise.
973 * gdb.base/solib1.c: Likewise.
974 * gdb.base/step-test.exp: Likewise.
975 * gdb.mi/non-stop.c: Likewise.
976 * gdb.mi/pthreads.c: Likewise.
977 * gdb.multi/bkpt-multi-exec.ex: Likewise.
978 * gdb.threads/pthreads.c: Likewise.
979 * gdb.threads/staticthreads.exp: Likewise.
980 * lib/future.exp: Likewise.
981 * lib/gdb.exp: Likewise.
982 * gdb.base/so-indr-cl.c: Remove.
983 * gdb.base/so-indr-cl.exp: Likewise.
984 * gdb.base/solib.c: Likewise.
985 * gdb.base/solib.exp: Likewise.
986 * gdb.base/solib2.c: Likewise.
988 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
990 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
991 * gdb.base/call-ar-st.exp: Likewise.
992 * gdb.base/callfuncs.exp: Likewise.
993 * gdb.base/condbreak.exp: Likewise.
994 * gdb.base/constvars.exp: Likewise.
995 * gdb.base/hbreak2.exp: Likewise.
996 * gdb.base/langs.exp: Likewise.
997 * gdb.base/list.exp: Likewise.
998 * gdb.base/long_long.exp: Likewise.
999 * gdb.base/ptype.exp: Likewise.
1000 * gdb.base/scope.exp: Likewise.
1001 * gdb.base/signals.exp: Likewise.
1002 * gdb.base/so-impl-ld.exp: Likewise.
1003 * gdb.base/varargs.exp: Likewise.
1004 * gdb.base/volatile.exp: Likewise.
1005 * gdb.base/whatis.exp: Likewise.
1006 * gdb.cp/cplusfuncs.exp: Likewise.
1007 * gdb.cp/inherit.exp: Likewise.
1008 * gdb.cp/local.exp: Likewise.
1009 * gdb.cp/member-ptr.exp: Likewise.
1010 * gdb.cp/method.exp: Likewise.
1011 * gdb.cp/overload.exp: Likewise.
1012 * gdb.cp/templates.exp: Likewise.
1013 * gdb.stabs/weird.exp: Likewise.
1014 * lib/compiler.c: Likewise.
1015 * lib/compiler.cc: Likewise.
1016 * lib/cp-support.exp: Likewise.
1017 * lib/gdb.exp: Likewise.
1019 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1021 * configure.ac: Remove HP-UX case.
1022 * configure: Regenerate.
1024 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1026 * lib/gdb.exp (gdb_compile): Add function doc.
1028 2015-12-17 Pedro Alves <palves@redhat.com>
1031 * gdb.multi/info-threads.exp: New file.
1033 2015-12-15 Yao Qi <yao.qi@linaro.org>
1035 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1038 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1040 * gdb.base/history-duplicates.exp: Skip if no readline support.
1042 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1044 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1046 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1048 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1050 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1052 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1053 ctrl-C if nointerrupts target property is set.
1054 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1055 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1056 * gdb.base/paginate-bg-execution.exp: Likewise.
1057 * gdb.base/paginate-execution-startup.exp: Likewise.
1058 * gdb.base/random-signal.exp: Likewise.
1059 * gdb.base/range-stepping.exp: Likewise.
1060 * gdb.cp/annota2.exp: Likewise.
1061 * gdb.cp/annota3.exp: Likewise.
1062 * gdb.gdb/selftest.exp: Likewise.
1063 * gdb.threads/continue-pending-status.exp: Likewise.
1064 * gdb.threads/leader-exit.exp: Likewise.
1065 * gdb.threads/manythreads.exp: Likewise.
1066 * gdb.threads/pthreads.exp: Likewise.
1067 * gdb.threads/schedlock.exp: Likewise.
1068 * gdb.threads/sigthread.exp: Likewise.
1070 2015-12-11 Don Breazeal <donb@codesourcery.com>
1072 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1074 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1075 * gdb.base/foll-exec.exp (main): Enable for target remote.
1076 * gdb.base/foll-fork.exp (main): Likewise.
1077 * gdb.base/foll-vfork.exp (main): Likewise.
1078 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1079 (proc continue_to_exit_bp_loc): Use clean_restart.
1080 * gdb.base/pie-execl.exp (main): Disable for target remote.
1081 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1082 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1083 * gdb.threads/execl.exp (main): Likewise.
1084 * gdb.threads/fork-child-threads.exp (main): Likewise.
1085 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1087 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1089 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1090 pid.tid style ptids, instead of just tid.
1091 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1092 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1093 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1094 ptids, instead of just tid.
1096 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1098 * gdb.base/list.exp (test_list_forward): Add end of file error
1100 (test_repeat_list_command): Add end of file error test.
1101 (test_list_backwards): Add beginning of file error test.
1103 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * gdb.base/list.exp (test_list_invalid_args): New function,
1106 defined, and called.
1108 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1110 * gdb.base/list.exp (test_list): Make test names unique.
1112 2015-12-11 Yao Qi <yao.qi@linaro.org>
1114 * gdb.base/coremaker2.c: Remove.
1116 2015-12-10 Pedro Alves <palves@redhat.com>
1118 * gdb.multi/base.exp: Remove stale "spaces" references.
1120 2015-12-10 Pedro Alves <palves@redhat.com>
1122 * gdb.multi/base.exp: Don't use nowarnings.
1123 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1124 * gdb.multi/hangout.c: Include stdio.h.
1125 * gdb.multi/hello.c: Include stdlib.h.
1126 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1127 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1128 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1130 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1132 * gdb.dwarf2/dw2-ranges-base.c: New file.
1133 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1134 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1135 support additional line table, and debug ranges generation.
1136 (Dwarf::ranges): New function, generate .debug_ranges.
1137 (Dwarf::lines): Support generating simple line table programs.
1138 (Dwarf::assemble): Initialise new namespace variables.
1140 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1142 * gdb.base/async.exp (proc test_background): Add case for
1143 asynchronous execution not supported.
1145 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1147 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1148 format and change test names to make them unique.
1150 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1151 Pedro Alves <pedro@redhat.com>
1154 Add checking of floatformats setup on x86_64 hosts.
1155 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1156 (smallval, bigval): New labels/constants.
1157 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1158 float" after loading bigval and smallval.
1160 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1162 * gdb.ada/fun_overload_menu.exp: New testcase.
1163 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1165 2015-12-04 Josh Stone <jistone@redhat.com>
1167 * gdb.base/catch-fork-static.exp: New.
1169 2015-12-03 Yao Qi <yao.qi@linaro.org>
1171 * gdb.base/sizeof.c: Don't include stdio.h and
1172 ../lib/unbuffer_output.c.
1173 (main): New variable 'size' and 'value'. Remove printf and
1174 gdb_unbuffer_output. Assign return value to size and value.
1175 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1177 (check_sizeof): Check the result by printing variable 'size'.
1178 (check_valueof): Check the result by printing variable 'value'.
1180 2015-12-01 Yao Qi <yao.qi@linaro.org>
1182 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1183 for aarch64*-*-linux* target.
1185 2015-11-30 Pedro Alves <palves@redhat.com>
1187 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1189 2015-11-30 Pedro Alves <palves@redhat.com>
1191 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1192 Handle non-stop mode vCont replies.
1194 2015-11-30 Pedro Alves <palves@redhat.com>
1196 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1197 prepare_for_testing. Start gdb with "set non-stop on" appended to
1198 GDBFLAGS. Lax expected stop output.
1200 2015-11-27 Yao Qi <yao.qi@linaro.org>
1202 * gdb.arch/arm-neon.exp: New.
1203 * gdb.arch/arm-neon.c: New.
1205 2015-11-27 Yao Qi <yao.qi@linaro.org>
1207 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1209 2015-11-27 Yao Qi <yao.qi@linaro.org>
1211 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1212 frames-invalid annotation.
1214 2015-11-27 Yao Qi <yao.qi@linaro.org>
1216 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1218 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1220 * gdb.threads/names.exp: New file.
1221 * gdb.threads/names.c: New file.
1222 * README: Mention gdb,no_thread_names.
1224 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1227 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1230 2015-11-24 Pedro Alves <palves@redhat.com>
1233 * gdb.base/display.exp: Expect displays to be sorted in ascending
1234 order. Use multi_line.
1235 * gdb.base/solib-display.exp: Likewise.
1237 2015-11-24 Pedro Alves <palves@redhat.com>
1240 * gdb.base/display.exp: Expect displays to be sorted in ascending
1241 order. Use multi_line.
1242 * gdb.base/solib-display.exp: Likewise.
1244 2015-11-24 Pedro Alves <palves@redhat.com>
1247 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1248 threads in ascending order.
1249 * gdb.base/foll-fork.exp: Likewise.
1250 * gdb.base/foll-vfork.exp: Likewise.
1251 * gdb.base/multi-forks.exp: Likewise.
1252 * gdb.mi/mi-nonstop.exp: Likewise.
1253 * gdb.mi/mi-nsintrall.exp: Likewise.
1254 * gdb.multi/base.exp: Likewise.
1255 * gdb.multi/multi-arch.exp: Likewise.
1256 * gdb.python/py-inferior.exp: Likewise.
1257 * gdb.threads/break-while-running.exp: Likewise.
1258 * gdb.threads/execl.exp: Likewise.
1259 * gdb.threads/gcore-thread.exp: Likewise.
1260 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1261 * gdb.threads/kill.exp: Likewise.
1262 * gdb.threads/linux-dp.exp: Likewise.
1263 * gdb.threads/multiple-step-overs.exp: Likewise.
1264 * gdb.threads/next-bp-other-thread.exp: Likewise.
1265 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1266 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1267 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1268 * gdb.threads/thread-find.exp: Likewise.
1269 * gdb.threads/tls.exp: Likewise.
1270 * lib/mi-support.exp (mi_reverse_list): Delete.
1271 (mi_check_thread_states): No longer reverse list.
1273 2015-11-24 Pedro Alves <palves@redhat.com>
1275 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1278 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1280 * gdb.trace/actions.c: Include trace-common.h.
1281 (main): Add a location for a fast tracepoint.
1282 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1283 the normal tracepoints.
1284 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1286 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1288 * save-trace.exp: Factor out code to these...
1289 (gdb_save_tracepoints): New.
1290 (gdb_load_tracepoints): New.
1291 (do_save_load_test): New.
1293 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1295 * gdb.base/asmlabel.exp: New test.
1296 * gdb.base/asmlabel.c: New test case.
1298 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1300 * gdb.base/wrong_frame_bt_full-main.c: New file.
1301 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1302 * gdb.base/wrong_frame_bt_full.exp: New file.
1304 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1306 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1308 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1310 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1311 pstate register when comparing registers values in
1312 sparc64-*-linux-gnu targets to avoid spurious differences.
1314 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1316 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1318 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1320 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1321 as type argument to gdb_compile.
1322 * gdb.base/nested-subp2.exp: Likewise.
1323 * gdb.base/nested-subp3.exp: Likewise.
1325 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1327 * lib/dwarf.exp (_note): Fix left shift of negative value.
1328 * gdb.trace/trace-condition.exp: Likewise.
1330 2015-11-13 Yao Qi <yao.qi@linaro.org>
1332 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1333 comments about d10v.
1334 (test_scalar_returns): Likewise.
1335 * gdb.base/d10v.ld: Remove.
1336 * gdb.base/overlays.exp: Remove the target triplet checking for
1338 * gdb.base/structs.exp (test_struct_returns): Remove the
1339 comments about d10v.
1340 (test_struct_calls): Likewise.
1342 2015-11-13 Yao Qi <yao.qi@linaro.org>
1344 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1345 * gdb.base/gnu_vector.c: Don't include stdio.h.
1346 (main): Don't print res and call add_some_intvecs.
1348 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1350 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1353 (func4): Use FAST_TRACEPOINT_LABEL.
1354 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1357 (thread_function): Use FAST_TRACEPOINT_LABEL.
1358 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1360 (marker): Use FAST_TRACEPOINT_LABEL.
1361 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1362 (pendfunc1): Remove.
1363 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1364 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1366 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1367 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1370 (marker): Use FAST_TRACEPOINT_LABEL.
1371 * gdb.trace/trace-common.h: New header.
1372 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1375 (marker): Use FAST_TRACEPOINT_LABEL.
1376 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1378 (thread_function): Use FAST_TRACEPOINT_LABEL.
1380 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1382 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1384 * gdb.trace/change-loc.exp: Use global pcreg definition.
1385 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1386 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1388 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1389 * gdb.trace/pending.exp: Likewise.
1390 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1391 * gdb.trace/trace-break.exp: Likewise.
1392 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1394 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1395 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1397 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1399 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1401 * gdb.ada/fin_fun_out: New testcase.
1403 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1405 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1406 value associated with DW_AT_byte_size.
1407 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1408 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1411 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1413 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1414 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1416 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1417 gdb.dwarf2/dw2-canonicalize-type.exp,
1418 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1419 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1420 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1421 provided by gdb_target_symbol_prefix_flags_asm.
1422 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1423 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1424 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1425 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1426 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1427 macros where needed). Use this macro for symbols which require
1428 the prefix provided by SYMBOL_PREFIX.
1430 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1432 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1434 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1435 representing expressions, of more than one list element.
1436 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1437 to prepend linker symbol prefix to f.
1438 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1439 table_1 and table_2.
1440 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1441 Likewise, for f and g.
1442 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1444 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1446 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1447 table_1_ptr and table_2_ptr.
1449 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1450 Joel Brobecker <brobecker@adacore.com>
1452 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1454 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1456 * gdb.reverse/s390-mvcle.c: New test.
1457 * gdb.reverse/s390-mvcle.exp: New file.
1458 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1460 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1462 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1464 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1466 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1468 * gdb.reverse/getresuid-reverse.exp: Likewise.
1469 * gdb.reverse/pipe-reverse.exp: Likewise.
1470 * gdb.reverse/readv-reverse.exp: Likewise.
1471 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1472 * gdb.reverse/time-reverse.exp: Likewise.
1473 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1475 2015-10-30 Yao Qi <yao.qi@linaro.org>
1477 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1478 (empty_cycle): Remove.
1479 (main): Don't call empty_cycle. Don't use watch_count_done.
1480 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1481 empty_cycle. Rewrite the code counting HW watchpoints.
1483 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1485 * gdb.reverse/fstatat-reverse.c: New test.
1486 * gdb.reverse/fstatat-reverse.exp: New file.
1487 * gdb.reverse/getresuid-reverse.c: New test.
1488 * gdb.reverse/getresuid-reverse.exp: New file.
1489 * gdb.reverse/pipe-reverse.c: New test.
1490 * gdb.reverse/pipe-reverse.exp: New file.
1491 * gdb.reverse/readv-reverse.c: New test.
1492 * gdb.reverse/readv-reverse.exp: New file.
1493 * gdb.reverse/recvmsg-reverse.c: New test.
1494 * gdb.reverse/recvmsg-reverse.exp: New file.
1495 * gdb.reverse/time-reverse.c: New test.
1496 * gdb.reverse/time-reverse.exp: New file.
1497 * gdb.reverse/waitpid-reverse.c: New test.
1498 * gdb.reverse/waitpid-reverse.exp: New file.
1500 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1502 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1504 2015-10-26 Doug Evans <dje@google.com>
1507 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1508 * gdb.dwarf2/bad-regnum.c: New file.
1509 * gdb.dwarf2/bad-regnum.exp: New file.
1511 2015-10-26 Doug Evans <dje@google.com>
1514 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1517 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1519 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1520 for a change by "Mention language in compile error message".
1522 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1525 * gdb.python/py-type.c (C::a_method): New.
1526 (C::a_const_method): New.
1527 (C::a_static_method): New.
1529 * gdb.python/py-type.exp (test_fields): Test getting fields
1530 from function and method.
1532 2015-10-21 Keven Boell <keven.boell@intel.com>
1534 * gdb.fortran/vla-alloc-assoc.exp: New file.
1535 * gdb.fortran/vla-datatypes.exp: New file.
1536 * gdb.fortran/vla-datatypes.f90: New file.
1537 * gdb.fortran/vla-history.exp: New file.
1538 * gdb.fortran/vla-ptype-sub.exp: New file.
1539 * gdb.fortran/vla-ptype.exp: New file.
1540 * gdb.fortran/vla-sizeof.exp: New file.
1541 * gdb.fortran/vla-sub.f90: New file.
1542 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1543 * gdb.fortran/vla-value-sub-finish.exp: New file.
1544 * gdb.fortran/vla-value-sub.exp: New file.
1545 * gdb.fortran/vla-value.exp: New file.
1546 * gdb.fortran/vla-ptr-info.exp: New file.
1547 * gdb.mi/mi-vla-fortran.exp: New file.
1548 * gdb.mi/vla.f90: New file.
1550 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1552 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1553 of hardwired timeout value.
1555 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1556 Pedro Alves <palves@redhat.com>
1558 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1559 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1561 2015-10-19 Josh Stone <jistone@redhat.com>
1563 * gdb.base/catch-syscall.c: Include <sched.h>.
1564 (unknown_syscall): New variable.
1565 (main): Trigger a vfork and an unknown syscall.
1566 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1567 (unknown_syscall_number): Likewise.
1568 (check_call_to_syscall): Accept an optional syscall pattern.
1569 (check_return_from_syscall): Likewise.
1570 (check_continue): Likewise.
1571 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1572 (test_catch_syscall_skipping_return): New test toggling off 'catch
1573 syscall' to step over the syscall return, then toggling back on.
1574 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1575 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1576 (do_syscall_tests): Call test_catch_syscall_without_args and
1577 test_catch_syscall_mid_vfork.
1578 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1579 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1581 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1583 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1584 print g_vE): Add new pass patterns.
1585 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1586 print various symbol names for vptr fields.
1588 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1593 2015-10-12 Yao Qi <yao.qi@linaro.org>
1595 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1597 2015-10-12 Yao Qi <yao.qi@linaro.org>
1599 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1600 is aarch64*-*-linux*.
1602 2015-10-12 Yao Qi <yao.qi@linaro.org>
1604 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1605 (can_relocate_bcond_true): ... it.
1606 (can_relocate_bcond_false): New function.
1608 (can_relocate_bl): Likewise.
1609 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1612 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1614 * gdb.base/nested-addr.c: New file.
1615 * gdb.base/nested-addr.exp: New testcase.
1617 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1619 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1620 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1621 its output. Ignore the output of "record goto begin" and instead
1622 check that GDB is replaying.
1624 2015-10-09 Pedro Alves <palves@redhat.com>
1626 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1627 (top level): Use it in the run with no args test.
1629 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1631 * gdb.dlang/properties.exp: New file.
1633 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1635 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1636 whether or not address 0x1000 is mapped on the target.
1638 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1640 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1643 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1645 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1646 instruction-history test.
1648 2015-09-28 Doug Evans <dje@google.com>
1650 * gdb.base/gcore.c (array_func): Add reference to static_array.
1652 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1654 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1657 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1659 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1660 short or char as base type.
1662 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1664 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1665 to allow any size enum.
1667 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1669 * gdb.ada/array_ptr_renaming.exp: New testcase.
1670 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1671 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1673 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1675 * gdb.trace/ftrace-lock.c: New file.
1676 * gdb.trace/ftrace-lock.exp: New file.
1678 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1680 * gdb.arch/insn-reloc.c: New file.
1681 * gdb.arch/ftrace-insn-reloc.exp: New file.
1683 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1685 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1687 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1688 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1689 * gdb.trace/range-stepping.c: Likewise.
1690 * gdb.trace/trace-break.c: Likewise.
1691 * gdb.trace/trace-mt.c (thread_function): Likewise.
1692 * gdb.trace/ftrace.c (marker): Likewise.
1693 * gdb.trace/trace-condition.c (marker): Likewise.
1694 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1695 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1698 2015-09-18 Doug Evans <xdje42@gmail.com>
1700 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1701 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1703 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1705 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1708 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1710 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1711 the pending breakpoint. Remove timeout override for "Run till
1712 MI pending breakpoint on pendfunc3 on thread 2" test.
1714 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1716 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1719 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1721 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1722 in breakpoint filename pattern.
1724 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1726 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1728 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1730 * gdb.linespec/explicit.exp: Check for readline support for
1731 tab-completion tests. Fix obvious typo.
1733 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1735 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1738 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1740 * gdb.btrace/non-stop.c: New.
1741 * gdb.btrace/non-stop.exp: New.
1743 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1744 Yao Qi <yao.qi@linaro.org>
1746 * gdb.trace/trace-condition.c: New file.
1747 * gdb.trace/trace-condition.exp: New file.
1749 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1751 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1752 for testing bytecode compilation.
1754 2015-09-16 Pedro Alves <palves@redhat.com>
1755 Sandra Loosemore <sandra@codesourcery.com>
1757 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1758 (SECONDS): Redefine.
1759 (main): Call pthread_kill and alarm early.
1760 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1762 (test): If the target can't hardware step and doesn't support
1763 displaced stepping, increase the timeout.
1765 2015-09-16 Pedro Alves <palves@redhat.com>
1767 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1768 (enable_debug): New procedures.
1769 (test): Use them. Bail out if waiting for threads fails.
1770 (top level): Bail out if a test fails.
1772 2015-09-16 Yao Qi <yao.qi@linaro.org>
1774 * gdb.asm/asm-source.exp: Set asm-arch for
1775 aarch64*-*-* target.
1776 * gdb.asm/aarch64.inc: New file.
1778 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1780 * gdb.ada/array_of_variable_length.exp: New testcase.
1781 * gdb.ada/array_of_variable_length/foo.adb: New file.
1782 * gdb.ada/array_of_variable_length/pck.adb: New file.
1783 * gdb.ada/array_of_variable_length/pck.ads: New file.
1785 2015-09-15 Doug Evans <dje@google.com>
1787 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1788 of function static local variable.
1790 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1792 * gdb.threads/tls-so_extern.exp: New test file.
1793 * gdb.threads/tls-so_extern.c: New test file.
1794 * gdb.threads/tls-so_extern_main.c: New test file.
1796 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1798 * gdb.opt/solib-intra-step-lib.c: New file.
1799 * gdb.opt/solib-intra-step-main.c: New file.
1800 * gdb.opt/solib-intra-step.exp: New file.
1802 2015-09-15 Pedro Alves <palves@redhat.com>
1804 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1805 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1807 2015-09-14 Pedro Alves <palves@redhat.com>
1809 * gdb.base/hook-stop-continue.c: Delete.
1810 * gdb.base/hook-stop-continue.exp: Delete.
1811 * gdb.base/hook-stop-frame.c: Delete.
1812 * gdb.base/hook-stop-frame.exp: Delete.
1813 * gdb.base/hook-stop.c: New file.
1814 * gdb.base/hook-stop.exp: New file.
1816 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1818 * gdb.ada/access_to_packed_array.exp: New testcase.
1819 * gdb.ada/access_to_packed_array/foo.adb: New file.
1820 * gdb.ada/access_to_packed_array/pack.adb: New file.
1821 * gdb.ada/access_to_packed_array/pack.ads: New file.
1823 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1825 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1828 2015-09-11 Don Breazeal <donb@codesourcery.com>
1830 * gdb.base/foll-exec.c: Add copyright header. Fix
1832 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1833 (do_exec_tests): Use clean_restart in place of zap_session,
1834 and for test initialization. Fix formatting issues. Use
1835 fail in place of perror.
1836 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1837 an expect statement to match an expression with output from
1838 the program under debug.
1839 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1840 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1841 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1842 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1843 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1845 2015-09-09 Doug Evans <dje@google.com>
1847 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1849 2015-09-09 Doug Evans <dje@google.com>
1851 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1853 2015-09-09 Doug Evans <dje@google.com>
1855 * gdb.base/savedregs.exp: Fix typo.
1857 2015-09-09 Pedro Alves <palves@redhat.com>
1859 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1861 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1863 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1864 command actually switches threads. Give up on remaining
1865 tests if target fails to stop at breakpoint.
1867 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1869 * gdb.ada/funcall_char.exp: New testcase.
1870 * gdb.ada/funcall_char/foo.adb: New file.
1872 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1874 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1875 expected outputs. Add two testcases for completing ambiguous
1877 * gdb.ada/complete/aux_pck.adb: New file.
1878 * gdb.ada/complete/aux_pck.ads: New file.
1879 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1880 Ambiguous_Func functions.
1881 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1882 * gdb.ada/complete/pck.adb: Likewise.
1884 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1886 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1887 failures to run the test program under GDB.
1889 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1891 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1894 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1896 * gdb.base/run-after-attach.exp: New test file.
1897 * gdb.base/run-after-attach.c: New test file.
1899 2015-08-26 Don Breazeal <donb@codesourcery.com>
1901 * gdb.base/foll-exec-2.c: New test program.
1902 * gdb.base/foll-exec-2.exp: New test.
1904 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1906 * gdb.base/nested-subp1.exp: New file.
1907 * gdb.base/nested-subp1.c: New file.
1908 * gdb.base/nested-subp2.exp: New file.
1909 * gdb.base/nested-subp2.c: New file.
1910 * gdb.base/nested-subp3.exp: New file.
1911 * gdb.base/nested-subp3.c: New file.
1913 2015-08-24 Pedro Alves <palves@redhat.com>
1915 * gdb.server/connect-without-multi-process.c: New file.
1916 * gdb.server/connect-without-multi-process.exp: New file.
1918 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1920 * gdb.opt/inline-markers.c: Make z int.
1922 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1924 * gdb.opt/inline-markers.c: Make z volatile.
1926 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1928 * gdb.opt/inline-bt.c: New volatile global z.
1929 * gdb.opt/inline-cmds.c: Likewise.
1930 * gdb.opt/inline-locals.c: Likewise.
1931 * gdb.opt/inline-markers.c: New extern global z.
1933 (inline_fn): Likewise.
1935 2015-08-24 Pedro Alves <palves@redhat.com>
1937 * config/m32r-stub.exp: Remove file.
1938 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1939 * gdb.base/call-rt-st.exp: Likewise.
1940 * gdb.base/call-strs.exp: Likewise.
1941 * gdb.base/default.exp: Remove references to h8300-*-hms and
1943 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1945 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1947 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1948 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1949 and "return" use KFAIL when GDB can not read/write the vector
1952 2015-08-21 Gary Benson <gbenson@redhat.com>
1954 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1956 2015-08-20 Pedro Alves <palves@redhat.com>
1958 * gdb.server/solib-list.exp: No longer expect an interior stop in
1961 2015-08-20 Pedro Alves <palves@redhat.com>
1963 * gdb.server/connect-stopped-target.c: New file.
1964 * gdb.server/connect-stopped-target.exp: New file.
1966 2015-08-20 Pedro Alves <palves@redhat.com>
1968 * gdb.dwarf2/comp-unit-lang.exp: New file.
1969 * gdb.dwarf2/comp-unit-lang.c: New file.
1971 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1973 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1974 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1976 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1978 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1979 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1981 2015-08-18 Doug Evans <dje@google.com>
1982 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1984 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1985 skip_python_tests. New arg prompt_regexp.
1986 (skip_python_tests): New function.
1987 * lib/mi-support.exp (mi_skip_python_tests): New function.
1988 * gdb.python/py-mi-objfile-gdb.py: New file.
1989 * gdb.python/py-mi-objfile.c: New file.
1990 * gdb.python/py-mi-objfile.exp: New file.
1992 2015-08-17 Keith Seitz <keiths@redhat.com>
1994 * gdb.linespec/explicit.exp: Move strace test from here ...
1995 * gdb.trace/strace.exp: ... to here.
1997 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1999 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2000 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2002 2015-08-14 Doug Evans <xdje42@gmail.com>
2004 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2005 inferior before selecting a new file.
2007 2015-08-14 Doug Evans <xdje42@gmail.com>
2009 * gdb.mi/mi-disassemble.exp: Update.
2010 * gdb.base/disasm-optim.S: New file.
2011 * gdb.base/disasm-optim.c: New file.
2012 * gdb.base/disasm-optim.h: New file.
2013 * gdb.base/disasm-optim.exp: New file.
2015 2015-08-14 Keith Seitz <keiths@redhat.com>
2017 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2020 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2022 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2024 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2026 * gdb.ada/fun_renaming.exp: New testcase.
2027 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2028 * gdb.ada/fun_renaming/pack.adb: New file.
2029 * gdb.ada/fun_renaming/pack.ads: New file.
2031 2015-08-12 Keith Seitz <keiths@redhat.com>
2033 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2034 gdb_get_line_number.
2036 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2038 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2039 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2040 gdb.base/dso2dso.exp: New files.
2042 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2043 Pedro Alves <palves@redhat.com>
2044 Keith Seitz <keiths@redhat.com>
2046 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2049 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2051 * gdb.base/gdbhistsize-history.exp
2052 (test_histsize_history_setting): Use save_vars.
2053 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2055 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2056 * gdb.base/readline.exp: Use save_vars.
2058 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2060 * lib/gdb.exp (save_vars): New proc.
2062 2015-08-11 Keith Seitz <keiths@redhat.com>
2064 * gdb.base/help.exp: Update help_breakpoint_text.
2066 2015-08-11 Keith Seitz <keiths@redhat.com>
2068 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2069 (at toplevel): Call test_explicit_breakpoints.
2070 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2072 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2073 breakpoint conditions, "-cond".
2075 2015-08-11 Keith Seitz <keiths@redhat.com>
2077 * gdb.linespec/3explicit.c: New file.
2078 * gdb.linespec/cpexplicit.cc: New file.
2079 * gdb.linespec/cpexplicit.exp: New file.
2080 * gdb.linespec/explicit.c: New file.
2081 * gdb.linespec/explicit.exp: New file.
2082 * gdb.linespec/explicit2.c: New file.
2083 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2084 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2085 before using in the matching pattern.
2086 Clarify that `prefix' is a regular expression.
2088 2015-08-11 Keith Seitz <keiths@redhat.com>
2090 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2092 Add tests for missing ",FMT" and ",".
2094 2015-08-10 Doug Evans <dje@google.com>
2095 Keith Seitz <keiths@redhat.com>
2098 * gdb.base/completion.exp: Add location completer tests.
2100 2015-08-07 Pedro Alves <palves@redhat.com>
2102 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2104 (top level): Run do_test with and without displaced stepping.
2106 2015-08-07 Pedro Alves <palves@redhat.com>
2108 * gdb.base/valgrind-disp-step.c: New file.
2109 * gdb.base/valgrind-disp-step.exp: New file.
2111 2015-08-07 Pedro Alves <palves@redhat.com>
2113 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2115 (main): Add alarm. Run an infinite loop instead of calling
2117 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2119 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2121 (main): Add alarm. Run an infinite loop instead of calling
2123 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2126 2015-08-07 Pedro Alves <palves@redhat.com>
2128 * gdb.base/checkpoint-ns.exp: New file.
2129 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2132 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2134 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2135 * gdb.btrace/instruction_history.exp: Update.
2136 * gdb.btrace/tsx.exp: New.
2137 * gdb.btrace/tsx.c: New.
2139 2015-08-06 Pedro Alves <palves@redhat.com>
2141 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2143 * gdb.reverse/until-precsave.exp: Bump timeouts.
2145 2015-08-06 Pedro Alves <palves@redhat.com>
2147 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2149 2015-08-06 Pedro Alves <palves@redhat.com>
2152 * gdb.threads/process-dies-while-handling-bp.c: New file.
2153 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2155 2015-08-06 Pedro Alves <palves@redhat.com>
2157 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2158 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2160 2015-08-05 Pedro Alves <palves@redhat.com>
2162 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2163 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2165 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2167 * gdb.base/bp-permanent.exp: Report test as unsupported if
2168 the target cannot stop at the permanent breakpoint.
2170 2015-08-03 Doug Evans <dje@google.com>
2172 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2175 2015-08-03 Doug Evans <dje@google.com>
2177 * Makefile.in (workers/%.worker, build-perf): New rule.
2178 (GDB_PERFTEST_MODE): New variable.
2179 (check-perf): Use it.
2180 (clean): Clean up gdb.perf parallel build subdirs.
2181 * lib/build-piece.exp: New file.
2182 * lib/gdb.exp (make_gdb_parallel_path): New function
2183 (standard_output_file, standard_temp_file): Call it.
2184 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2186 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2188 2015-08-03 Doug Evans <dje@google.com>
2190 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2191 (LOG_FILE_NAME): New global.
2192 (TextReporter.__init__): Initialize self.txt_sum.
2193 (TextReporter.report): Add support for multiple data-points.
2194 Move report to perftest.sum, put raw data in perftest.log.
2195 (TextReporter.start): Open sum and log files.
2196 (TextReporter.end): Close sum and log files.
2197 * gdb.perf/lib/perftest/testresult.py
2198 (SingleStatisticTestResult.record): Handle multiple data-points.
2200 2015-07-31 Pedro Alves <palves@redhat.com>
2202 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2203 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2204 kill_wait_spawned_process instead of explicit "kill -9".
2205 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2206 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2207 kill_wait_spawned_process.
2208 * gdb.base/attach-twice.exp: Likewise.
2209 * gdb.base/attach.exp: Likewise.
2210 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2212 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2213 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2214 kill_wait_spawned_process.
2215 * gdb.base/valgrind-infcall.exp: Likewise.
2216 * gdb.multi/multi-attach.exp: Likewise.
2217 * gdb.python/py-prompt.exp: Likewise.
2218 * gdb.python/py-sync-interp.exp: Likewise.
2219 * gdb.server/ext-attach.exp: Likewise.
2220 * gdb.threads/attach-into-signal.exp (corefunc): Use
2221 spawn_wait_for_attach, spawn_id_get_pid and
2222 kill_wait_spawned_process.
2223 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2224 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2225 spawn_id_get_pid and kill_wait_spawned_process.
2226 * gdb.threads/attach-stopped.exp (corefunc): Use
2227 spawn_wait_for_attach, spawn_id_get_pid and
2228 kill_wait_spawned_process.
2229 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2230 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2231 kill_wait_spawned_process instead of explicit "kill -9".
2232 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2233 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2234 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2235 processes. Don't map cygwin/windows pids here. Now returns a
2238 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2240 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2241 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2244 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2246 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2248 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2251 2014-05-21 Mark Wielaard <mjw@redhat.com>
2253 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2255 2015-07-30 Pedro Alves <palves@redhat.com>
2257 * linux-low.c (handle_extended_wait): Set the child's last
2258 reported status to TARGET_WAITKIND_STOPPED.
2260 2015-07-30 Pedro Alves <palves@redhat.com>
2263 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2264 only shows inferior 1.
2266 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2267 Pedro Alves <palves@redhat.com>
2270 * gdb.threads/fork-plus-threads.c: New file.
2271 * gdb.threads/fork-plus-threads.exp: New file.
2273 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2275 * gdb.base/batch-preserve-term-settings.exp
2276 (test_terminal_settings_preserved_after_cli_exit): Use
2279 2015-07-29 Pedro Alves <palves@redhat.com>
2280 Don Breazeal <donb@codesourcery.com>
2282 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2283 output from both inferior_spawn_id and gdb_spawn_id.
2285 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2287 * gdb.threads/attach-into-signal.exp (corefunc): Use
2288 with_test_prefix on nested loops, uniquefying the test messages.
2290 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2292 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2295 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2297 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2299 (test_terminal_settings_preserved_after_sigterm): New test.
2301 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2303 * gdb.base/batch-preserve-term-settings.exp
2304 (test_terminal_settings_preserved_after_cli_exit): New test.
2306 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2308 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2309 manipulation of saved_gdbflags.
2310 (test_terminal_settings_preserved): Remove global declaration of
2311 the unused variable pagination_prompt. Remove manipulation of
2312 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2315 2015-07-29 Pedro Alves <palves@redhat.com>
2317 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2319 2015-07-29 Pedro Alves <palves@redhat.com>
2321 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2324 2015-07-29 Pedro Alves <palves@redhat.com>
2326 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2327 (main): Call gdb_unbuffer_output.
2328 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2329 (main): Call gdb_unbuffer_output.
2330 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2331 (main): Call gdb_unbuffer_output.
2332 * gdb.base/call-strs.exp: Adjust to step over the
2333 gdb_unbuffer_output call.
2334 * gdb.base/catch-gdb-caused-signals.c: Include
2335 "../lib/unbuffer_output.c".
2336 (main): Call gdb_unbuffer_output.
2337 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2338 (main): Call gdb_unbuffer_output.
2339 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2340 (main): Call gdb_unbuffer_output.
2341 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2342 (main): Call gdb_unbuffer_output.
2343 * gdb.base/shlib-call.exp: Adjust to step over the
2344 gdb_unbuffer_output call.
2345 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2346 (main): Call gdb_unbuffer_output.
2347 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2348 (main): Call gdb_unbuffer_output.
2349 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2350 (main): Rename to ...
2352 (main): Reimplement.
2353 * gdb.base/varargs.exp: Run to test instead of to main.
2354 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2355 (main): Call gdb_unbuffer_output.
2357 2015-07-29 Pedro Alves <palves@redhat.com>
2359 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2360 factore out from mi_continue_dprintf. For call-style dprintfs,
2361 expect dprintf output out of $inferior_spawn_id.
2362 (mi_continue_dprintf): Use mi_expect_dprintf.
2363 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2364 (main): Call gdb_unbuffer_output.
2366 2015-07-29 Pedro Alves <palves@redhat.com>
2368 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2369 (default_mi_gdb_start): Set inferior_spawn_id instead of
2370 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2372 (mi_gdb_test): Always expect inferior output from both
2373 $inferior_spawn_id and $gdb_spawn_id.
2375 2015-07-29 Pedro Alves <palves@redhat.com>
2377 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2378 send_inferior and $inferior_spawn_id.
2380 2015-07-29 Pedro Alves <palves@redhat.com>
2382 * gdb.gdb/complaints.exp (test_initial_complaints)
2383 (test_serial_complaints, test_short_complaints): Use
2385 (test_empty_complaint): Handle $inferior_spawn_id !=
2388 2015-07-29 Pedro Alves <palves@redhat.com>
2390 * gdb.base/varargs.exp: Use gdb_test_stdio.
2392 2015-07-29 Pedro Alves <palves@redhat.com>
2394 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2396 2015-07-29 Pedro Alves <palves@redhat.com>
2398 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2400 2015-07-29 Pedro Alves <palves@redhat.com>
2402 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2403 parameter into two new parameters, "inf_result" and "gdb_result".
2404 Expect inferior output and gdb output from $inferior_spawn_id and
2405 $gdb_spawn_id, respectively. Adjust all callers.
2407 2015-07-29 Pedro Alves <palves@redhat.com>
2409 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2410 of gdb_test_sequence.
2412 2015-07-29 Pedro Alves <palves@redhat.com>
2414 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2415 (saw_spurious_output): Expect inferior output from
2416 $inferior_spawn_id. Use gdb_test_stdio.
2418 2015-07-29 Pedro Alves <palves@redhat.com>
2420 * gdb.base/dprintf.exp: Use standard_testfile. Change
2421 prepare_for_testing call.
2422 (srcfile): Don't set.
2423 (restart): New procedure.
2424 (test_dprintf): New procecure, use to continue over dprintfs.
2425 (test_call, test_agent): New procedures, tests moved here.
2426 Restart gdb and recreate dprintfs. Adjust expected output.
2428 2015-07-29 Pedro Alves <palves@redhat.com>
2430 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2432 2015-07-29 Pedro Alves <palves@redhat.com>
2434 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2436 2015-07-29 Pedro Alves <palves@redhat.com>
2438 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2441 2015-07-29 Pedro Alves <palves@redhat.com>
2443 * lib/gdb.exp (gdb_test_stdio): New procedure.
2445 2015-07-29 Pedro Alves <palves@redhat.com>
2447 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2449 2015-07-29 Pedro Alves <palves@redhat.com>
2451 * gdb.base/call-signal-resume.exp: Remove check for
2452 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2453 * gdb.base/unwindonsignal.exp: Likewise.
2454 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2455 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2457 2015-07-29 Pedro Alves <palves@redhat.com>
2459 * gdb.base/siginfo-addr.c (pass): New function.
2460 (handler): Call it iff si_addr is correct.
2461 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2462 Set a breakpoint at "pass" and continue to it.
2464 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2466 * gdb.python/py-objfile.exp: Make some tests have unique names.
2467 * gdb.python/py-pp-registration.exp: Likewise.
2469 2015-07-28 Pedro Alves <palves@redhat.com>
2471 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2473 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2475 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2477 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2479 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2481 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2483 * gdb.base/gdb-sigterm-2.exp: New test.
2485 2015-07-25 Doug Evans <xdje42@gmail.com>
2488 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2489 (workers/%.worker, build-perf): New rule.
2490 (GDB_PERFTEST_MODE): New variable.
2491 (check-perf): Use it.
2492 (clean): Clean up gdb.perf parallel build subdirs.
2493 * lib/build-piece.exp: New file.
2494 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2495 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2497 (standard_temp_file): Ditto.
2498 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2501 2015-07-24 Doug Evans <dje@google.com>
2503 * gdb.perf/lib/perftest/utils.py: New file.
2504 * gdb.perf/gm-hello.cc: New file.
2505 * gdb.perf/gm-pervasive-typedef.cc: New file.
2506 * gdb.perf/gm-pervasive-typedef.h: New file.
2507 * gdb.perf/gm-std.cc: New file.
2508 * gdb.perf/gm-std.h: New file.
2509 * gdb.perf/gm-use-cerr.cc: New file.
2510 * gdb.perf/gm-utils.h: New file.
2511 * gdb.perf/gmonster-null-lookup.py: New file.
2512 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2513 * gdb.perf/gmonster-print-cerr.py: New file.
2514 * gdb.perf/gmonster-ptype-string.py: New file.
2515 * gdb.perf/gmonster-runto-main.py: New file.
2516 * gdb.perf/gmonster-select-file.py: New file.
2517 * gdb.perf/gmonster1-null-lookup.exp: New file.
2518 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2519 * gdb.perf/gmonster1-print-cerr.exp: New file.
2520 * gdb.perf/gmonster1-ptype-string.exp: New file.
2521 * gdb.perf/gmonster1-runto-main.exp: New file.
2522 * gdb.perf/gmonster1-select-file.exp: New file.
2523 * gdb.perf/gmonster1.cc: New file.
2524 * gdb.perf/gmonster1.exp: New file.
2525 * gdb.perf/gmonster2-null-lookup.exp: New file.
2526 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2527 * gdb.perf/gmonster2-print-cerr.exp: New file.
2528 * gdb.perf/gmonster2-ptype-string.exp: New file.
2529 * gdb.perf/gmonster2-runto-main.exp: New file.
2530 * gdb.perf/gmonster2-select-file.exp: New file.
2531 * gdb.perf/gmonster2.cc: New file.
2532 * gdb.perf/gmonster2.exp: New file.
2534 2015-07-24 Doug Evans <dje@google.com>
2536 * gdb.perf/README: New file.
2537 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2538 * lib/gen-perf-test.exp: New file.
2540 2015-07-24 Doug Evans <dje@google.com>
2542 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2543 (PerfTest::startup): New function.
2544 (PerfTest::run): Return result of calling body.
2545 (PerfTest::assemble): Rewrite.
2546 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2547 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2548 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2549 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2550 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2552 2015-07-24 Doug Evans <dje@google.com>
2554 * lib/gdb.exp (clean_restart): Make executable optional.
2556 2015-07-24 Doug Evans <dje@google.com>
2558 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2559 compiler_info references.
2560 * gdb.cp/temargs.exp: Ditto.
2561 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2562 (get_compiler_info): Early exit if already computed. Set compiler_info
2563 to "unknown" if there was a problem.
2564 (test_compiler_info): Add function comment. Call get_compiler_info.
2566 2015-07-24 Doug Evans <dje@google.com>
2568 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2569 (workers/%.worker, build-perf): New rule.
2570 (GDB_PERFTEST_MODE): New variable.
2571 (check-perf): Use it.
2572 (clean): Clean up gdb.perf parallel build subdirs.
2573 * lib/build-piece.exp: New file.
2574 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2575 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2577 (standard_temp_file): Ditto.
2578 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2581 2015-07-24 Doug Evans <dje@google.com>
2583 * lib/future.exp (gdb_default_target_compile): New option
2585 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2588 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2590 * gdb.base/catch-syscall.exp: Call gdb_exit before
2593 2015-07-24 Pedro Alves <palves@redhat.com>
2595 * gdb.python/py-events.exp: Accept output between the stop event
2597 * gdb.python/py-evsignal.exp: Likewise.
2598 * gdb.python/py-evthreads.exp: Likewise.
2600 2015-07-24 Pedro Alves <palves@redhat.com>
2603 * gdb.threads/non-ldr-exit.c: New file.
2604 * gdb.threads/non-ldr-exit.exp: New file.
2606 2015-07-24 Yao Qi <yao.qi@linaro.org>
2608 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2611 2015-07-24 Yao Qi <yao.qi@linaro.org>
2613 * gdb.server/ext-restart.exp: New file.
2615 2015-07-24 Yao Qi <yao.qi@linaro.org>
2617 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2619 * gdb.server/ext-wrapper.exp: New file.
2621 2015-07-23 Doug Evans <dje@google.com>
2623 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2624 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2626 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2628 * gdb.ada/var_arr_typedef.exp: New testcase.
2629 * gdb.ada/var_arr_typedef/pack.adb: New file.
2630 * gdb.ada/var_arr_typedef/pack.ads: New file.
2631 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2633 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2635 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2637 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2639 * gdb.arch/i386-biarch-core.exp: Replace istarget
2640 by "complete set gnutarget". Remove expectation for the "core-file"
2643 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2645 Revert the previous commit:
2646 Tests for validate symbol file using build-id.
2648 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2650 Tests for validate symbol file using build-id.
2651 * gdb.base/solib-mismatch-lib.c: New file.
2652 * gdb.base/solib-mismatch-libmod.c: New file.
2653 * gdb.base/solib-mismatch.c: New file.
2654 * gdb.base/solib-mismatch.exp: New file.
2656 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2658 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2660 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2661 * gdb.base/siginfo.exp: Likewise.
2662 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2664 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2666 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2668 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2670 * gdb.trace/range-stepping.exp: Check that the target supports
2673 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2675 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2677 2015-07-14 Pedro Alves <palves@redhat.com>
2679 * gdb.base/killed-outside.exp: New file.
2680 * gdb.base/killed-outside.c: New file.
2682 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2684 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2686 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2688 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2690 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2691 infcall tests instead of setting up for KFAIL.
2693 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2695 * gdb.btrace/record_goto-step.exp: New.
2697 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2700 * gdb.compile/compile.c (struct struct_type): Add volatile to
2702 * gdb.compile/compile.exp
2703 (compile code struct_object.selffield = &struct_object): Skip further
2704 struct_object tests if this one xfails.
2706 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2709 * gdb.trace/ax.exp: Add test.
2711 2015-07-07 Yao Qi <yao.qi@linaro.org>
2713 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2714 instead of istarget "aarch64*-*-*".
2715 * gdb.arch/aarch64-fp.exp: Likewise.
2716 * gdb.base/float.exp: Likewise.
2717 * gdb.reverse/aarch64.exp: Likewise.
2718 * lib/gdb.exp (is_aarch64_target): New proc.
2720 2015-07-07 Yao Qi <yao.qi@linaro.org>
2722 * lib/gdb.exp (is_aarch32_target): New proc.
2723 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2724 instead of "istarget "arm*-*-*"".
2725 * gdb.arch/arm-disp-step.exp: Likewise.
2726 * gdb.arch/thumb-bx-pc.exp: Likewise.
2727 * gdb.arch/thumb-prologue.exp: Likewise.
2728 * gdb.arch/thumb-singlestep.exp: Likewise.
2729 * gdb.base/disp-step-syscall.exp: Likewise.
2730 * gdb.base/float.exp: Likewise.
2732 2015-07-07 Yao Qi <yao.qi@linaro.org>
2734 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2735 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2737 2015-07-07 Yao Qi <yao.qi@linaro.org>
2739 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2740 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2742 * gdb.multi/multi-arch.exp: Likewise.
2744 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2746 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2749 2015-07-07 Yao Qi <yao.qi@linaro.org>
2751 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2753 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2755 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2756 '[' and ']' characters.
2758 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2760 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2762 2015-06-29 Pedro Alves <palves@redhat.com>
2765 * gdb.threads/hand-call-new-thread.c: New file.
2766 * gdb.threads/hand-call-new-thread.c: New file.
2768 2015-06-26 Keith Seitz <keiths@redhat.com>
2769 Doug Evans <dje@google.com>
2772 * gdb.cp/var-tag-2.cc: New file.
2773 * gdb.cp/var-tag-3.cc: New file.
2774 * gdb.cp/var-tag-4.cc: New file.
2775 * gdb.cp/var-tag.cc: New file.
2776 * gdb.cp/var-tag.exp: New file.
2778 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2780 * gdb.base/history-duplicates.exp: New test.
2782 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2784 * gdb.base/completion.exp: Test the completion of the "focus"
2787 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2789 * gdb.arch/amd64-prologue-skip.S: New file.
2790 * gdb.arch/amd64-prologue-skip.exp: New file.
2792 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2794 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2795 is_address_zero_readable check.
2797 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2799 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2800 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2802 2015-06-24 Yao Qi <yao.qi@linaro.org>
2804 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2807 2015-06-24 Yao Qi <yao.qi@linaro.org>
2809 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2810 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2811 * gdb.base/siginfo-thread.exp: Likewise.
2813 2015-06-22 Yao Qi <yao.qi@linaro.org>
2815 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2817 2015-06-22 Yao Qi <yao.qi@linaro.org>
2819 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2821 (skip_hw_watchpoint_tests): Likewise.
2823 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2825 * gdb.base/gdbinit-history.exp: Test the interaction between
2826 setting GDBHISTSIZE and setting the history size via .gdbinit.
2828 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2831 * gdb.base/gdbhistsize-history.exp: New test.
2833 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2835 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2837 * gdb.base/readline.exp: Likewise.
2839 2015-06-17 Yao Qi <yao.qi@linaro.org>
2841 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2844 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2846 * gdb.base/gdbinit-history.exp: Add test case to check that
2847 an unlimited history file does not get truncated on exit.
2849 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2851 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2852 (VECTOR): New macro. Use it...
2853 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2854 ...for these typedefs.
2855 (int8, char1, int1, double1): New typedefs.
2856 (struct just_int2, struct two_int2): New structures.
2857 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2858 (add_structvecs, add_singlevecs): New functions.
2859 (main): Call add_some_intvecs twice.
2860 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2861 the compile and exit upon failure. Try compiling for the "native"
2862 architecture. Test inferior function calls with vector arguments
2863 and vector return value handling with "finish" and "return".
2865 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2867 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2868 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2870 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2872 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2874 PR breakpoints/16465
2875 * gdb.mi/mi-dprintf-pending.c: New file.
2876 * gdb.mi/mi-dprintf-pending.exp: New test.
2877 * gdb.mi/mi-dprintf-pendshr.c: New file.
2879 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2880 Mircea Gherzan <mircea.gherzan@intel.com>
2882 * gdb.arch/i386-mpx-map.c: New file.
2883 * gdb.arch/i386-mpx-map.exp: New File.
2885 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2887 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2888 * gdb.arch/i386-mpx.exp: Indentation fixed.
2890 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2892 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2893 function and improved indentation.
2894 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2895 gdb_test_multiple. Added additional tests to skip the test.
2897 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2899 * gdb.arch/i386-avx512.c: Change path in include file.
2900 * gdb.arch/i386-avx512.exp: Change include dir path
2902 * gdb.arch/i386-mpx.c: Change path in include file.
2903 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2906 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2908 * gdb.compile/compile-print.exp (compile print *vararray@3)
2909 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2911 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2913 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2914 (do not keep jit in memory): ... this.
2915 (expect 5): Change it to ...
2916 (expect no 5): ... this.
2918 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2921 * gdb.mi/mi-detach.exp: New file.
2923 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2926 * gdb.arch/amd64-tailcall-self.S: New file.
2927 * gdb.arch/amd64-tailcall-self.c: New file.
2928 * gdb.arch/amd64-tailcall-self.exp: New file.
2930 2015-05-28 Don Breazeal <donb@codesourcery.com>
2932 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2933 tests for remote targets by checking is_target_gdbserver.
2935 2015-05-27 Doug Evans <dje@google.com>
2937 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2938 * gdb.dwarf2/opaque-type-lookup.c: New file.
2939 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2941 2015-05-26 Doug Evans <dje@google.com>
2943 * gdb.cp/iostream.cc: New file.
2944 * gdb.cp/iostream.exp: New file.
2946 2015-05-26 Doug Evans <dje@google.com>
2948 * gdb.dwarf2/dw2-op-call.exp: Update.
2949 * gdb.dwarf2/dw4-sig-types.exp: Update.
2950 * gdb.dwarf2/implptr.exp: Update.
2951 * gdb.mi/mi-cmd-param-changed.exp: Update.
2953 2015-05-26 Doug Evans <dje@google.com>
2955 * gdb.python/py-lazy-string.c: New file.
2956 * gdb.python/py-lazy-string.exp: New file.
2957 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2958 (main): Update. Add estring3.
2959 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2960 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2962 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2963 Yao Qi <yao.qi@linaro.org>
2965 * gdb.reverse/aarch64.c: New.
2966 * gdb.reverse/aarch64.exp: New.
2968 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2970 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2971 (supports_reverse): Likewise.
2973 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2975 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2976 Use with_test_prefix.
2978 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2980 * gdb.base/completion.exp: Add test for completion of layout
2983 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2985 * lib/gdb.exp (skip_tui_tests): New proc.
2986 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2988 2015-05-19 Pedro Alves <palves@redhat.com>
2990 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2991 Save the whole env array instead of just HOME. Unset HISTSIZE in
2992 the environment while testing. Restore whole environment
2995 2015-05-16 Doug Evans <xdje42@gmail.com>
2997 * gdb.guile/scm-ports.c: New file.
2998 * gdb.guile/scm-ports.exp: Add memory port tests.
3000 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3002 * gdb.compile/compile-print.c: New file.
3003 * gdb.compile/compile-print.exp: New file.
3005 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3007 * gdb.compile/compile-ops.exp: Cast param to void.
3008 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3009 (compile code struct_object.selffield = &struct_object): Add xfail.
3011 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3013 * gdb.ada/arr_enum_with_gap: New testcase.
3015 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3017 * gdb.ada/byte_packed_arr: New testcase.
3019 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3021 * gdb.ada/pckd_neg: New testcase.
3023 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3026 * gdb.base/gdbinit-history.exp: New test.
3027 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3028 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3030 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3032 * gdb.python/py-xmethods.cc: Enhance test case.
3033 * gdb.python/py-xmethods.exp: New tests.
3034 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3036 (B_indexoper): Likewise.
3037 (global_dm_list) : Add new xmethod worker functions.
3039 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3041 * gdb.base/coredump-filter.exp: Correctly unset
3042 "coredump_var_addr" array.
3044 2015-05-08 Pedro Alves <palves@redhat.com>
3046 * gdb.server/non-existing-program.exp: Unset spawn_id.
3048 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3051 * gdb.python/py-xmethods.exp: Add tests.
3053 2015-05-08 Yao Qi <yao.qi@linaro.org>
3056 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3057 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3058 function set_coredump_filter, and remove remote_exec call.
3059 Remove argument ipid. Callers update.
3060 (top level): Don't get inferior's PID.
3062 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3064 * gdb.base/watch_thread_num.exp: Skip test on targets without
3067 2015-05-06 Pedro Alves <palves@redhat.com>
3070 * gdb.server/non-existing-program.exp: New file.
3072 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3074 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3076 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3078 * gdb.ada/out_of_line_in_inlined: New testcase.
3080 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3082 * gdb.ada/var_rec_arr: New testcase.
3084 2015-04-30 Yao Qi <yao.qi@linaro.org>
3086 * gdb.base/break-idempotent.exp: If
3087 skip_hw_watchpoint_multi_tests returns true, skip the tests
3088 on "rwatch" and "awatch".
3090 2015-04-30 Yao Qi <yao.qi@linaro.org>
3092 * gdb.base/relativedebug.exp: Invoke gdb command
3093 "info sharedlibrary", and if libc.so doesn't have debug info,
3096 2015-04-29 Doug Evans <dje@google.com>
3098 * gdb.python/py-xmethods.exp: Add ptype tests.
3099 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3100 get_result_type method.
3102 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3104 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3105 the target does not support hardware watchpoints.
3107 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3109 * gdb.base/break-always.exp: Abort testing if writing to memory
3112 2015-04-28 Doug Evans <dje@google.com>
3114 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3115 * gdb.python/py-pp-registration.exp: ... here. New file.
3116 * gdb.python/py-pp-registration.c: New file.
3117 * gdb.python/py-pp-registration.py: New file.
3119 2015-04-28 Doug Evans <dje@google.com>
3121 * gdb.python/py-bad-printers.c: New file.
3122 * gdb.python/py-bad-printers.py: New file.
3123 * gdb.python/py-bad-printers.exp: New file.
3125 2015-04-28 Sasha Smundak <asmundak@google.com>
3127 * gdb.python/py-type.exp: New test.
3129 2015-04-28 Andy Wingo <wingo@igalia.com>
3131 * gdb.python/py-parameter.exp:
3132 * gdb.guile/scm-parameter.exp: Escape the path that we are
3133 matching against, as it might contain characters that are special
3134 to regular expressions.
3136 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3138 * gdb.ada/rec_comp: New testcase.
3140 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3142 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3145 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3147 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3148 new tests for verilog output.
3150 2015-04-24 Yao Qi <yao.qi@linaro.org>
3152 * boards/remote-gdbserver-on-localhost.exp: New file.
3154 2015-04-23 Pedro Alves <palves@redhat.com>
3156 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3157 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3158 "end of file", remove $inferior_spawn_id from the indirect list.
3160 2015-04-23 Pedro Alves <palves@redhat.com>
3162 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3164 2015-04-23 Pedro Alves <palves@redhat.com>
3166 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3167 on $any_spawn_id instead of only on $gdb_spawn_id.
3169 2015-04-21 Pierre Muller <muller@sourceware.org>
3172 * lib/pascal.exp (gpc_compile): Add new option "class".
3173 (fpc_compile): Likewise.
3174 * gdb.pascal/case-insensitive-symbols.pas: New file.
3175 * gdb.pascal/case-insensitive-symbols.exp: New file.
3177 2015-04-20 Gary Benson <gbenson@redhat.com>
3179 * gdb.base/attach.exp: Fix three extended remote failures.
3181 2015-04-17 Gary Benson <gbenson@redhat.com>
3183 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3184 the main executable over the remote protocol.
3186 2015-04-16 Pedro Alves <palves@redhat.com>
3188 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3189 a new gdbserver if gdbserver_reconnect_p is set.
3191 2015-04-16 Pedro Alves <palves@redhat.com>
3193 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3194 is set, don't exit gdbserver.
3196 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3198 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3199 appropriate .insn, such that an older assembler can be used.
3200 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3201 the z/Architecture instruction set on 31-bit targets as well.
3203 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3205 * gdb.go/handcall.exp: Remove all logic related to the first
3206 breakpoint and rely on go_runto_main instead.
3207 * gdb.go/strings.exp: Likewise.
3208 * gdb.go/unsafe.exp: Likewise.
3209 * gdb.go/hello.exp: Likewise. Also rename the remaining
3210 breakpoint marker to "breakpoint 1".
3211 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3212 * gdb.go/strings.go: Likewise.
3213 * gdb.go/unsafe.go: Likewise.
3214 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3215 "set breakpoint 2 here" and rename the remaining breakpoint marker
3218 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3220 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3221 if itertools.imap is not present.
3222 * gdb.python/py-objfile.exp: Add parentheses.
3223 * gdb.python/py-type.exp: Same.
3224 * gdb.python/py-unwind-maint.py: Same.
3226 2015-04-15 Yao Qi <yao.qi@linaro.org>
3228 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3229 of ":$ptr_size" and set its form explicitly.
3231 2015-04-15 Pedro Alves <palves@redhat.com>
3232 Yao Qi <yao.qi@linaro.org>
3234 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3235 timeout by factor of 4.
3236 (test_regular_watch): Likewise.
3237 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3238 * gdb.reverse/sigall-reverse.exp: Likewise.
3239 * gdb.reverse/until-precsave.exp: Likewise.
3240 * lib/gdb.exp (with_timeout_factor): New proc.
3241 (gdb_expect): Move some code to ...
3242 (get_largest_timeout): ... here. New procedure.
3244 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3246 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3248 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3250 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3251 to write to the .text section.
3253 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3255 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3256 Handle the case of targets that do not provide PID information.
3258 2015-04-13 Yao Qi <yao.qi@linaro.org>
3260 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3261 and use expect instead of gdb_expect.
3263 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3265 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3266 "coredump_var_addr" to avoid naming conflict with other testcases.
3268 2015-04-10 Pedro Alves <palves@redhat.com>
3270 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3271 gdb_test_sequence and gdb_assert.
3273 2015-04-10 Pedro Alves <palves@redhat.com>
3275 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3276 test messages that don't include the breakpoint address.
3278 2015-04-10 Yao Qi <yao.qi@linaro.org>
3280 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3281 false for some offset and width combinations which aren't
3282 supported by linux kernel.
3284 2015-04-10 Pedro Alves <palves@redhat.com>
3286 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3287 procedure, factored out from ...
3288 (top level): ... here. Add "set displaced-stepping" testing axis.
3289 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3290 parameter "displaced". Use it.
3291 (top level): Use foreach and add "set displaced-stepping" testing
3294 2015-04-10 Pedro Alves <palves@redhat.com>
3296 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3298 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3299 both the address of the instruction that triggers the watchpoint
3300 and the address of the instruction immediately after, and use
3301 those addresses for the test. Fix comment.
3303 2015-04-10 Pedro Alves <palves@redhat.com>
3305 * gdb.base/sigstep.exp (breakpoint_to_handler)
3306 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3307 Test "backtrace" in handler.
3308 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3309 (top level): Add new "displaced" test axis to
3310 breakpoint_to_handler, breakpoint_to_handler_entry and
3311 breakpoint_over_handler.
3313 2015-04-10 Pedro Alves <palves@redhat.com>
3316 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3318 2015-04-10 Yao Qi <yao.qi@linaro.org>
3320 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3321 (test_add_rn_pc): New function.
3322 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3323 (top level): Invoke test_add_rn_pc.
3325 2015-04-10 Pedro Alves <palves@redhat.com>
3328 * gdb.base/step-over-no-symbols.exp: New file.
3330 2015-04-09 Andy Wingo <wingo@igalia.com>
3332 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3333 after the Python tests.
3335 2015-04-08 Keith Seitz <keiths@redhat.com>
3338 * gdb.python/py-completion.exp: New tests for completion.
3339 * gdb.python/py-completion.py (CompleteLimit1): New class.
3340 (CompleteLimit2): Likewise.
3341 (CompleteLimit3): Likewise.
3342 (CompleteLimit4): Likewise.
3343 (CompleteLimit5): Likewise.
3344 (CompleteLimit6): Likewise.
3345 (CompleteLimit7): Likewise.
3347 2015-04-08 Pedro Alves <palves@redhat.com>
3351 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3353 (main): Install it as SIGUSR1 handler.
3354 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3355 parameter. Always use "setup" as prefix. Toggle "set
3356 displaced-stepping" off/on depending on global. Don't switch to
3358 (top level): Add displaced stepping "off/on" test axis. Update
3359 "setup" calls. Wrap each subtest with with_test_prefix. Test
3360 continuing with a queued signal in each thread.
3362 2015-04-08 Pedro Alves <palves@redhat.com>
3364 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3365 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3366 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3367 Return early if running to main fails.
3368 * gdb.trace/while-stepping.exp: Likewise.
3370 2015-04-07 Pedro Alves <palves@redhat.com>
3372 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3373 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3374 interact with inferior program.
3376 2015-04-07 Pedro Alves <palves@redhat.com>
3378 * lib/gdb.exp (inferior_spawn_id): New global.
3379 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3380 spawn id after processing the user code.
3381 (default_gdb_start): Set inferior_spawn_id.
3382 (send_inferior): New procedure.
3383 * lib/gdbserver-support.exp (gdbserver_start): Set
3385 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3387 2015-04-07 Pedro Alves <palves@redhat.com>
3389 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3390 * lib/gdbserver-support.exp (gdbserver_start): Make
3391 $server_spawn_id global.
3392 (gdbserver_start): Don't wait for gdbserver's spawn id with
3394 (close_gdbserver): New procedure.
3395 (gdb_exit): Rename the default version and reimplement.
3397 2015-04-07 Pedro Alves <palves@redhat.com>
3399 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3400 append the substituted item, not the original item.
3402 2015-04-07 Pedro Alves <palves@redhat.com>
3404 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3407 2015-04-07 Pedro Alves <palves@redhat.com>
3409 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3410 output appearing once only.
3412 2015-04-07 Pedro Alves <palves@redhat.com>
3414 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3415 that doesn't expect anything. Return early if running to main
3418 2015-04-07 Yao Qi <yao.qi@linaro.org>
3420 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3421 (child_function): Call alarm.
3422 (main): Move call to alarm into the loop.
3423 * gdb.threads/non-stop-fair-events.exp: Build program with
3426 2015-04-06 Doug Evans <xdje42@gmail.com>
3428 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3429 Fix dest parameter to board_info.
3430 (fpc_compile): Ditto.
3431 (gdb_compile_pascal): Rename dest arg to destfile.
3433 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3435 * gdb.ada/funcall_ref.exp: New file.
3436 * gdb.ada/funcall_ref/foo.adb: New file.
3438 2015-04-02 Yao Qi <yao.qi@linaro.org>
3440 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3443 2015-04-02 Gary Benson <gbenson@redhat.com>
3445 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3447 2015-04-01 Sasha Smundak <asmundak@google.com>
3449 * gdb.python/py-unwind-maint.c: New file.
3450 * gdb.python/py-unwind-maint.exp: New test.
3451 * gdb.python/py-unwind-maint.py: New file.
3452 * gdb.python/py-unwind.c: New file.
3453 * gdb.python/py-unwind.exp: New test.
3454 * gdb.python/py-unwind.py: New test.
3456 2015-04-01 Pedro Alves <palves@redhat.com>
3458 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3459 to fail instead of non-existent $test.
3461 2015-04-01 Pedro Alves <palves@redhat.com>
3463 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3464 GDBFLAGS if not empty.
3466 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3468 * gdb.ada/complete.exp: Remove "multi_line".
3469 * gdb.ada/info_exc.exp: Remove "multi_line".
3470 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3471 * gdb.ada/ptype_field.exp: Remove "multi_line".
3472 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3473 * gdb.ada/tagged.exp: Remove "multi_line".
3474 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3476 * gdb.btrace/delta.exp: Likewise.
3477 * gdb.btrace/exception.exp: Likewise.
3478 * gdb.btrace/function_call_history.exp: Likewise.
3479 * gdb.btrace/instruction_history.exp: Likewise.
3480 * gdb.btrace/nohist.exp: Likewise.
3481 * gdb.btrace/record_goto.exp: Likewise.
3482 * gdb.btrace/segv.exp: Likewise.
3483 * gdb.btrace/stepi.exp: Likewise.
3484 * gdb.btrace/tailcall.exp: Likewise.
3485 * gdb.btrace/unknown_functions.exp: Likewise.
3486 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3487 * lib/gdb.exp: Add the "multi_line" helper.
3489 2015-04-01 Pedro Alves <palves@redhat.com>
3491 * gdb.threads/tid-reuse.c: New file.
3492 * gdb.threads/tid-reuse.exp: New file.
3494 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3497 * gdb.base/coredump-filter.c: New file.
3498 * gdb.base/coredump-filter.exp: Likewise.
3500 2015-03-27 Petr Machata <pmachata@redhat.com>
3502 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3503 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3504 (Dwarf::assemble): Initialize them.
3505 (Dwarf::lines): New function.
3507 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3509 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3510 SYMBOL_PREFIX for x86_64-*-cygwin.
3512 2015-03-26 Andy Wingo <wingo@igalia.com>
3515 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3516 const_value but not a location.
3517 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3518 location defined in non-main CUs are visible.
3520 2015-03-26 Yao Qi <yao.qi@linaro.org>
3523 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3524 Add a line number entry for the same line.
3525 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3526 Add a line number entry for the same line.
3528 2015-03-26 Yao Qi <yao.qi@linaro.org>
3530 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3532 (func): Likewise. Add .Lfunc_1 label.
3534 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3539 2015-03-26 Yao Qi <yao.qi@linaro.org>
3541 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3542 Call gdb_compile instead to compile each .s files without debug
3545 2015-03-26 Yao Qi <yao.qi@linaro.org>
3547 * gdb.base/savedregs.exp (process_saved_regs): Make
3548 "Saved registers:" optional in the pattern.
3550 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3552 * gdb.btrace/next.exp: Merged into step.exp.
3553 * gdb.btrace/finish.exp: Merged into step.exp.
3554 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3555 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3556 "record goto" and checking the exact replay position.
3557 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3558 check for "Recording format" in "info record" output.
3559 * gdb.btrace/record_goto.exp: Choose test file based on target.
3560 * gdb.btrace/x86-record_goto.S: Renamed into ...
3561 * gdb.btrace/x86_64-record_goto.S: ... this.
3562 * gdb.btrace/i686-record_goto.S: New.
3563 * gdb.btrace/x86-tailcall.S: Renamed into ...
3564 * gdb.btrace/x86_64-tailcall.S: ... this.
3565 * gdb.btrace/i686-tailcall.S: New.
3566 * gdb.btrace/x86-tailcall.c: Renamed into ...
3567 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3568 separate statements. Update test.
3569 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3570 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3571 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3572 * gdb.btrace/tailcall.exp: Choose test file based on target.
3573 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3575 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3577 * gdb.btrace/exception.exp: Increase BTS buffer size.
3579 2015-03-24 Pedro Alves <palves@redhat.com>
3581 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3583 2015-03-24 Pedro Alves <palves@redhat.com>
3585 * gdb.threads/schedlock.exp (test_step): No longer expect that
3586 "set scheduler-locking step" with "next" over a function call runs
3589 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3591 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3593 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3595 PR breakpoints/16466
3596 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3597 * gdb.mi/mi-pending.c (thread_func): New function.
3598 (int main): Add threading support required.
3599 * gdb.mi/mi-pending.exp: Add tests for this issue.
3600 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3601 (pendfunc2): Remove stdio dependency.
3602 * gdb.mi/mi-pendshr2.c: New file.
3604 2015-03-23 Keith Seitz <keiths@redhat.com>
3606 * gdb.linespec/keywords.c: New file.
3607 * gdb.linespec/keywords.exp: New file.
3609 2015-03-23 Keith Seitz <keiths@redhat.com>
3612 * gdb.dwarf2/staticvirtual.exp: New test.
3614 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3616 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3617 * README: Remove HP-UX and gdb.hp.
3619 * configure: Regenerate.
3620 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3621 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3622 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3623 gdb.hp/gdb.defects/Makefile.
3624 * gdb.hp/Makefile.in: File deleted.
3625 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3626 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3627 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3628 * gdb.hp/gdb.aCC/run.c: File deleted.
3629 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3630 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3631 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3632 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3633 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3634 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3635 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3636 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3637 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3638 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3639 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3640 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3641 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3642 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3643 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3644 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3645 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3646 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3647 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3648 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3649 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3650 * gdb.hp/gdb.compat/average.c: File deleted.
3651 * gdb.hp/gdb.compat/sum.c: File deleted.
3652 * gdb.hp/gdb.compat/xdb.c: File deleted.
3653 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3654 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3655 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3656 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3657 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3658 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3659 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3660 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3661 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3662 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3663 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3664 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3665 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3666 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3667 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3668 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3669 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3670 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3671 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3672 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3673 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3674 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3675 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3676 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3677 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3678 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3679 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3680 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3681 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3682 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3683 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3684 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3685 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3686 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3687 * gdb.hp/tools/odump: File deleted.
3689 2015-03-19 Pedro Alves <palves@redhat.com>
3691 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3692 (saw_thread_3): New globals.
3693 (top level): Increment them when an event for the corresponding
3695 (no thread starvation): New test.
3697 2015-03-19 Pedro Alves <palves@redhat.com>
3699 * gdb.threads/continue-pending-status.c: New file.
3700 * gdb.threads/continue-pending-status.exp: New file.
3702 2015-03-18 Pedro Alves <palves@redhat.com>
3704 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3705 Use gdb_is_target_remote instead of is_remote. Use
3706 gdb_test_multiple instead of gdb_expect. Exit early if
3707 gdb_test_multiple hits its internal matches. Tighten stepi tests
3708 expected output. Fail on exit with any signal, instead of just
3711 2015-03-18 Yao Qi <yao.qi@linaro.org>
3714 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3716 * gdb.base/catch-syscall.exp: Don't skip it on
3717 aarch64*-*-linux* target. Remove elements in all_syscalls.
3718 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3720 (setup_all_syscalls): New proc.
3722 2015-03-16 Yao Qi <yao.qi@linaro.org>
3724 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3725 (top level): Skip tests if valid_addr_p returns false for
3728 2015-03-11 Andy Wingo <wingo@igalia.com>
3730 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3732 2015-03-11 Yao Qi <yao.qi@linaro.org>
3734 * gdb.base/catch-syscall.exp: Fix typo in comments.
3736 2015-03-11 Yao Qi <yao.qi@linaro.org>
3738 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3740 2015-03-09 Pedro Alves <palves@redhat.com>
3742 * dg-extract-results.py: Delete.
3744 2015-03-09 Pedro Alves <palves@redhat.com>
3746 Merge dg-extract-results.sh from GCC upstream (r218843).
3748 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3749 * dg-extract-results.sh: Use --text with grep to avoid issues with
3750 binary files. Fall back to cat -v, if that doesn't work.
3752 2015-03-05 Pedro Alves <palves@redhat.com>
3754 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3756 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3758 * lib/mi-support.exp (mi_expect_interrupt): Accept
3759 alternative event for when in all-stop mode.
3761 2015-03-04 Pedro Alves <palves@redhat.com>
3763 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3765 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3767 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3769 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3771 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3772 regexps for GDB's current line display, accept a hex address
3773 preceding the line number.
3775 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3777 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3778 the 'arch1' variable for "s390*-linux*" targets.
3780 2015-03-04 Pedro Alves <palves@redhat.com>
3782 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3783 (main): Pass missing retval argument to pthread_join call.
3785 2015-03-02 Pedro Alves <palves@redhat.com>
3787 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3788 (top level): Call do_test with non-stop as well.
3790 2015-03-02 Pedro Alves <palves@redhat.com>
3792 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3795 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3797 * gdb.arch/s390-vregs.exp: New test.
3798 * gdb.arch/s390-vregs.S: New file.
3800 2015-02-27 Pedro Alves <palves@redhat.com>
3802 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3803 call to catch_command_errors.
3804 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3805 catch_command_errors.
3807 2015-02-27 Pedro Alves <palves@redhat.com>
3809 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3810 "true" for boolean result.
3811 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3814 2015-02-27 Pedro Alves <palves@redhat.com>
3816 * lib/unbuffer_output.c: New file.
3817 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3818 (main): Call gdb_unbuffer_output.
3820 2015-02-27 Yao Qi <yao.qi@linaro.org>
3822 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3825 2015-02-26 Doug Evans <dje@google.com>
3827 * gdb.cp/class2.cc (Dbase, D): New classes.
3828 (main): New local delta.
3829 * gdb.cp/class2.exp: Test printing delta.
3830 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3831 (dynbar): New global.
3832 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3834 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 * gdb.compile/compile-ifunc.c: New file.
3837 * gdb.compile/compile-ifunc.exp: New file.
3839 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3841 * gdb.base/structs.exp: Check for correct struct on finish.
3843 2015-02-26 Yao Qi <yao.qi@linaro.org>
3845 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3848 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3850 * gdb.arch/cordic.ko.bz2: New file.
3851 * gdb.arch/cordic.ko.debug.bz2: New file.
3852 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3854 2015-02-25 Yao Qi <yao.qi@linaro.org>
3856 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3857 aarch64*-*-* target.
3859 2015-02-23 Pedro Alves <palves@redhat.com>
3861 * lib/gdb.exp (delete_breakpoints): Rewrite using
3864 2015-02-23 Pedro Alves <palves@redhat.com>
3866 * gdb.base/info-os.c: Include stdlib.h.
3868 2015-02-22 Doug Evans <xdje42@gmail.com>
3871 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3872 is read after symbols have been re-read.
3873 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3874 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3876 2015-02-21 Doug Evans <dje@google.com>
3878 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3880 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3883 * gdb.arch/i386-biarch-core.core.bz2: New file.
3884 * gdb.arch/i386-biarch-core.exp: New file.
3886 2015-02-21 Pedro Alves <palves@redhat.com>
3888 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3891 2015-02-20 Pedro Alves <palves@redhat.com>
3893 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3896 2015-02-20 Pedro Alves <palves@redhat.com>
3898 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3900 2015-02-20 Pedro Alves <palves@redhat.com>
3902 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3903 clean_restart before gdb_target_supports_trace.
3905 2015-02-20 Pedro Alves <palves@redhat.com>
3908 * gdb.threads/clone-thread_db.c: New file.
3909 * gdb.threads/clone-thread_db.exp: New file.
3911 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3913 PR breakpoints/16812
3914 * gdb.base/catch-gdb-caused-signals.c: New file.
3915 * gdb.base/catch-gdb-caused-signals.exp: New file.
3917 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3919 * configure: Regenerated.
3920 * configure.ac: Use GDB_AC_TRANSFORM.
3921 * aclocal.m4: sinclude ../transform.m4.
3923 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3925 * lib/dtrace.exp: New file.
3926 * gdb.base/dtrace-probe.exp: Likewise.
3927 * gdb.base/dtrace-probe.d: Likewise.
3928 * gdb.base/dtrace-probe.c: Likewise.
3929 * lib/pdtrace.in: Likewise.
3930 * configure.ac: Output variables with the transformed names of
3931 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3932 * configure: Regenerated.
3934 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3936 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3937 expected message when trying to access $_probe_* convenience
3938 variables while not on a probe.
3940 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3942 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3944 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3946 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3947 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3949 2015-02-10 Doug Evans <xdje42@gmail.com>
3951 * lib/gdb.exp (gdb_load): Always return a result.
3953 2015-02-10 Pedro Alves <palves@redhat.com>
3955 * gdb.threads/signal-sigtrap.c: New file.
3956 * gdb.threads/signal-sigtrap.exp: New file.
3958 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3960 * gdb.trace/no-attach-trace.c: New file.
3961 * gdb.trace/no-attach-trace.exp: New file.
3963 2015-02-09 Mark Wielaard <mjw@redhat.com>
3965 * gdb.dwarf2/atomic.c: New file.
3966 * gdb.dwarf2/atomic-type.exp: Likewise.
3968 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3970 * gdb.btrace/buffer-size.exp: Update "info record" output.
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-09 Markus Metzger <markus.t.metzger@intel.com>
3983 * gdb.btrace/buffer-size: New.
3985 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3987 * gdb.btrace/delta.exp: Update "info record" output.
3988 * gdb.btrace/enable.exp: Update "info record" output.
3989 * gdb.btrace/finish.exp: Update "info record" output.
3990 * gdb.btrace/instruction_history.exp: Update "info record" output.
3991 * gdb.btrace/next.exp: Update "info record" output.
3992 * gdb.btrace/nexti.exp: Update "info record" output.
3993 * gdb.btrace/step.exp: Update "info record" output.
3994 * gdb.btrace/stepi.exp: Update "info record" output.
3995 * gdb.btrace/nohist.exp: Update "info record" output.
3997 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4000 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4002 2015-02-06 Pedro Alves <palves@redhat.com>
4004 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4006 (seconds_left, again): New globals.
4007 (main): Wait seconds_left in a 1-second sleep loop instead of
4008 sleeping 180 seconds. If 'again' is set, reset the seconds
4010 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4011 'again' in the inferior before detaching. Print the seconds left.
4012 (options): New global.
4013 (top level): Build program with -DTIMEOUT=$timeout.
4015 2015-02-06 Pedro Alves <palves@redhat.com>
4017 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4018 determine how many seconds to pass to 'alarm'.
4019 * gdb.base/gdb-sigterm.exp (top level): Build program with
4021 (do_test): Return success/failure indication. Add more verbose
4022 logging. Don't fail if 200 single steps are seen. Instead, fail
4023 when the test times out.
4024 (passes): New global.
4025 (top level): Break the testing loop if testing fails on any
4026 iteration. Use gdb_assert.
4028 2015-02-04 Don Breazeal <donb@codesourcery.com>
4030 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4031 and initialize them.
4032 (ipc_cleanup): New function.
4033 (main): Don't declare shmid, semid, and msqid. Add a call to
4034 atexit so that we call ipc_cleanup on exit.
4036 2015-02-04 Pedro Alves <palves@redhat.com>
4038 * boards/native-extended-gdbserver.exp: Remove any target variant
4039 specifications from the board name before clearing the isremote
4040 flag from board_info.
4042 2015-01-31 Doug Evans <xdje42@gmail.com>
4044 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4046 2015-01-31 Gary Benson <gbenson@redhat.com>
4048 * gdb.base/completion.exp: Disable completion limiting for
4049 existing tests. Add new tests to check completion limiting.
4050 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4052 2015-01-31 Doug Evans <xdje42@gmail.com>
4054 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4056 2015-01-31 Doug Evans <xdje42@gmail.com>
4058 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4059 entries. Duplicate file section script entries.
4060 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4061 inlined entries. Add test for safe-path rejection.
4062 * gdb.python/py-section-script.c: Add duplicate inlined section script
4063 entries. Duplicate file section script entries.
4064 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4065 inlined entries. Add test for safe-path rejection.
4067 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4069 * gdb.ada/disc_arr_bound: New testcase.
4071 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4073 * gdb.ada/mi_var_array: New testcase.
4075 2015-01-27 Doug Evans <dje@google.com>
4077 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4078 Add test for objfile.filename, objfile.username after objfile
4081 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4083 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4084 the second test to print the name attribute of value
4085 returned by the call to gdb.lookup_type, and adjust
4086 the expected output accordingly.
4088 2015-01-25 Mark Wielaard <mjw@redhat.com>
4090 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4091 * gdb.base/disp-step-fork.c: Include unistd.h.
4092 * gdb.base/siginfo-obj.c: Include stdio.h.
4093 * gdb.base/siginfo-thread.c: Likewise.
4094 * gdb.mi/non-stop.c: Include unistd.h.
4095 * gdb.mi/nsthrexec.c: Include stdio.h.
4096 * gdb.mi/pthreads.c: Include unistd.h.
4097 * gdb.modula2/unbounded1.c (main): Declare returns int.
4098 * gdb.reverse/consecutive-reverse.c: Likewise.
4099 * gdb.threads/create-fail.c: Include unistd.h.
4100 * gdb.threads/killed.c: Likewise.
4101 * gdb.threads/linux-dp.c: Likewise.
4102 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4103 * gdb.threads/non-ldr-exc-2.c: Likewise.
4104 * gdb.threads/non-ldr-exc-3.c: Likewise.
4105 * gdb.threads/non-ldr-exc-4.c: Likewise.
4106 * gdb.threads/pthreads.c: Include unistd.h.
4107 (main): Declare returns int.
4108 * gdb.threads/tls-main.c (foo): New declaration.
4109 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4111 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4113 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4114 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4116 2015-01-15 Mark Wielaard <mjw@redhat.com>
4118 * gdb.base/noreturn-return.c: New file.
4119 * gdb.base/noreturn-return.exp: New file.
4120 * gdb.base/noreturn-finish.c: New file.
4121 * gdb.base/noreturn-finish.exp: New file.
4123 2015-01-23 Pedro Alves <palves@redhat.com>
4125 * gdb.threads/continue-pending-after-query.c: New file.
4126 * gdb.threads/continue-pending-after-query.exp: New file.
4128 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4129 Simon Marchi <simon.marchi@ericsson.com>
4131 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4132 * gdb.base/valgrind-db-attach.exp: Same.
4133 * gdb.base/valgrind-infcall.exp: Same.
4134 * lib/mi-support.exp (default_mi_gdb_start): Same.
4135 * lib/prompt.exp (default_prompt_gdb_start): Same.
4136 * lib/gdb.exp (default_gdb_spawn): Same.
4137 (gdb_interact): New.
4140 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4142 * gdb.compile/compile.exp (pointer to jit function): New test.
4144 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4146 * lib/gdb.exp (supports_process_record): Return true for
4148 (supports_reverse): Likewise.
4150 2015-01-15 Don Breazeal <donb@codesourcery.com>
4152 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4153 instead of checking whether the target board is remote and
4154 use spawn_wait_for_attach instead of exec/sleep.
4155 * gdb.base/attach-twice.exp: Likewise.
4157 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4159 * gdb.ada/var_arr_attrs: New testcase.
4161 2015-01-14 Pedro Alves <palves@redhat.com>
4162 Joel Brobecker <brobecker@adacore.com>
4165 * gdb.base/bp-cmds-execution-x-script.c: New file.
4166 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4167 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4169 2015-01-14 Pedro Alves <palves@redhat.com>
4172 * gdb.base/batch-preserve-term-settings.c: New file.
4173 * gdb.base/batch-preserve-term-settings.exp: New file.
4175 2015-01-13 Doug Evans <dje@google.com>
4177 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4180 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4182 * Makefile.in (clean mostlyclean): Do not delete *.py.
4184 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4186 * gdb.python/py-lookup-type.exp: New file.
4188 2015-01-12 Pedro Alves <palves@redhat.com>
4190 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4191 restore GDBFLAGS before returning.
4193 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4195 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4196 is_amd64_regs_target and is_x86_like_target.
4198 2015-01-11 Doug Evans <xdje42@gmail.com>
4200 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4201 is given without an explicit form.
4202 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4204 * gdb.dwarf/corrupt.exp: Ditto.
4205 * gdb.dwarf2/enum-type.exp: Ditto.
4206 * gdb.trace/entry-values.exp: Ditto.
4207 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4209 2015-01-11 Doug Evans <xdje42@gmail.com>
4212 * gdb.base/maint.exp: Remove references to "maint demangle".
4213 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4214 Add tests for explicitly specifying language to demangle.
4215 * gdb.dlang/demangle.exp: Ditto.
4217 2015-01-09 Pedro Alves <palves@redhat.com>
4219 * gdb.threads/non-stop-fair-events.c: New file.
4220 * gdb.threads/non-stop-fair-events.exp: New file.
4222 2015-01-09 Pedro Alves <palves@redhat.com>
4224 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4225 the global scope. Set a breakpoint after all threads are started
4226 rather than stepping over two source lines. Expect the prompt.
4227 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4230 (main): Use threads_started_barrier to wait for all threads to
4231 start. Main thread no longer calls thread_function. Exit after
4233 (loop): New function.
4234 (thread_function): Wait on threads_started_barrier barrier. Call
4235 'loop' at each iteration.
4236 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4237 threads have started, instead of hardcoding number of "next"
4238 steps. Use an access watchpoint instead of a write watchpoint.
4240 2015-01-09 Pedro Alves <palves@redhat.com>
4242 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4243 (thread_func): Wait on barrier.
4244 (main): Wait for all threads to start before stopping GDB.
4245 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4247 (thread1_func, thread2_func): Wait on barrier.
4248 (main): Wait for all threads to start before stopping GDB.
4249 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4251 (thread1_func, thread2_func): Wait on barrier.
4252 (main): Wait for all threads to start before stopping GDB.
4254 2015-01-09 Pedro Alves <palves@redhat.com>
4256 * gdb.threads/attach-many-short-lived-threads.c: New file.
4257 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4259 2014-01-09 Pedro Alves <palves@redhat.com>
4261 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4262 instead of to thread 2.
4263 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4264 Add barrier around each pthread_create call instead of around all
4266 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4267 Set a break on thread_function and have the child threads hit it
4270 2015-01-09 Pedro Alves <palves@redhat.com>
4272 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4273 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4275 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4276 checking whether the target board is remote.
4277 * gdb.multi/multi-attach.exp: Likewise.
4278 * gdb.python/py-sync-interp.exp: Likewise.
4279 * gdb.server/ext-attach.exp: Likewise.
4280 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4281 tests that need to attach, instead of checking whether the target
4282 board is remote at the top of the file.
4284 2015-01-08 Yao Qi <yao@codesourcery.com>
4286 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4288 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4290 Fix testcase compilation.
4291 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4293 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4295 * gdb.python/py-type.exp: Add a couple test about empty
4296 array creation, and negative-length array creation.
4298 2015-01-02 Doug Evans <xdje42@gmail.com>
4300 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4302 2015-01-02 Doug Evans <dje@google.com>
4304 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4306 2014-12-29 Yao Qi <yao@codesourcery.com>
4308 * gdb.trace/entry-values.exp: Update comments. Rename variable
4309 bar_call_foo to returned_from_foo.
4311 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4314 * gdb.linespec/break-asm-file.c: New file.
4315 * gdb.linespec/break-asm-file.exp: New file.
4316 * gdb.linespec/break-asm-file0.s: New file.
4317 * gdb.linespec/break-asm-file1.s: New file.
4319 2014-12-18 Nigel Stephens <nigel@mips.com>
4320 Maciej W. Rozycki <macro@codesourcery.com>
4322 * gdb.base/float.exp: Handle the new output from "info float" on
4325 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4327 Fix MinGW compilation.
4328 * gdb.compile/compile-ops.exp: Update untested message if
4329 !skip_compile_feature_tests.
4330 * gdb.compile/compile-setjmp.exp: Likewise.
4331 * gdb.compile/compile-tls.exp: Likewise.
4332 * gdb.compile/compile.exp: Likewise.
4333 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4334 supported on this host".
4336 2014-12-16 Doug Evans <xdje42@gmail.com>
4338 * boards/stabs.exp: New file.
4340 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4342 * gdb.base/completion.exp: Adjust to format changes of "maint
4343 print user-registers".
4345 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4348 * gdb.arch/aarch64-fp.c: New file.
4349 * gdb.arch/aarch64-fp.exp: New file.
4351 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4353 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4354 r210637, r210913, r211666, r215400, r215817).
4356 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4357 * dg-extract-results.py: New file.
4358 * dg-extract-results.sh: Use it if the environment seems
4361 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4363 * dg-extract-results.py (parse_run): Handle warnings that
4364 are printed before a test harness is run.
4366 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4368 * dg-extract-results.py (Named): Remove __cmp__ method.
4369 (output_variation): Use a key to sort variation.harnesses.
4371 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4373 * dg-extract-results.py: For Python 3, force sys.stdout to
4374 handle surrogate escape sequences.
4375 (safe_open): New function.
4376 (output_segment, main): Use it.
4378 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4380 * dg-extract-results.py (Prog.result_re): Include options
4383 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4385 * dg-extract-results.py (output_variation): Always sort if
4388 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4390 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4391 as long as we get pagination notifications.
4393 2014-12-15 Jason Merrill <jason@redhat.com>
4395 * Makefile.in (check-gdb.%): Restore.
4396 * README: Mention it.
4398 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4400 * gdb.ada/str_uninit: New testcase.
4402 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4405 * gdb.base/vla-stub-define.c: New file.
4406 * gdb.base/vla-stub.c: New file.
4407 * gdb.base/vla-stub.exp: New file.
4409 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4410 Jan Kratochvil <jan.kratochvil@redhat.com>
4411 Tom Tromey <tromey@redhat.com>
4413 * configure.ac: Add gdb.compile/.
4414 * configure: Regenerate.
4415 * gdb.compile/Makefile.in: New file.
4416 * gdb.compile/compile-ops.exp: New file.
4417 * gdb.compile/compile-ops.c: New file.
4418 * gdb.compile/compile-tls.c: New file.
4419 * gdb.compile/compile-tls.exp: New file.
4420 * gdb.compile/compile-constvar.S: New file.
4421 * gdb.compile/compile-constvar.c: New file.
4422 * gdb.compile/compile-mod.c: New file.
4423 * gdb.compile/compile-nodebug.c: New file.
4424 * gdb.compile/compile-setjmp-mod.c: New file.
4425 * gdb.compile/compile-setjmp.c: New file.
4426 * gdb.compile/compile-setjmp.exp: New file.
4427 * gdb.compile/compile-shlib.c: New file.
4428 * gdb.compile/compile.c: New file.
4429 * gdb.compile/compile.exp: New file.
4430 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4432 2014-12-12 Tom Tromey <tromey@redhat.com>
4434 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4435 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4437 2014-12-12 Doug Evans <dje@google.com>
4439 * lib/gdb-python.exp (get_python_valueof): New function.
4440 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4442 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4444 * gdb.base/completion.exp: Add test for completion of "info
4447 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4449 * gdb.base/func-ptrs.c: New file.
4450 * gdb.base/func-ptrs.exp: New file.
4452 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4454 PR breakpoints/17012
4455 * gdb.base/dprintf-detach.c: New file.
4456 * gdb.base/dprintf-detach.exp: New file.
4458 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4460 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4461 * lib/gdb.exp (target_is_gdbserver): New procedure.
4463 2014-12-08 Doug Evans <dje@google.com>
4465 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4467 2014-12-05 Yao Qi <yao@codesourcery.com>
4469 * gdb.guile/scm-error.exp: Remove the third argument to
4470 gdb_remote_download.
4471 * gdb.guile/scm-frame-args.exp: Likewise.
4472 * gdb.guile/scm-section-script.exp: Likewise.
4474 2014-12-05 Yao Qi <yao@codesourcery.com>
4476 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4478 2014-12-04 Doug Evans <dje@google.com>
4480 * gdb.python/py-objfile.exp: Add tests for
4481 objfile.add_separate_debug_file.
4483 2014-12-04 Doug Evans <dje@google.com>
4485 * lib/gdb.exp (get_build_id): New function.
4486 (build_id_debug_filename_get): Rewrite to use it.
4487 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4489 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4491 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4492 `method(long)', not just 0x0.
4493 * gdb.cp/nsalias.exp: Align code labels to 4.
4494 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4495 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4496 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4497 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4498 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4499 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4501 2014-12-02 Doug Evans <dje@google.com>
4504 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4505 * gdb.cp/anon-ns2.cc: ... here. New file.
4506 * gdb.cp/anon-ns.exp: Update.
4508 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4510 * gdb.python/py-events.py (inferior_call_handler): New.
4511 (register_changed_handler, memory_changed_handler): New.
4512 (test_events.invoke): Register new handlers.
4513 * gdb.python/py-events.exp: Add tests for inferior call,
4514 memory_changed and register_changed events.
4516 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4519 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4520 if the linker doesn't understand this.
4522 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4524 * gdb.python/python.exp: Change expected reply to help().
4526 2014-12-01 Yao Qi <yao@codesourcery.com>
4528 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4529 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4530 * configure: Re-generated.
4532 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4534 * gdb.cp/chained-calls.cc: New file.
4535 * gdb.cp/chained-calls.exp: New file.
4536 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4538 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4540 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4541 * gdb.dwarf2/symtab-producer.exp: Same.
4542 * gdb.gdb/python-interrupts.exp: Same.
4543 * gdb.gdb/python-selftest.exp: Same.
4544 * gdb.python/py-linetable.exp: Same.
4545 * gdb.python/py-type.exp: Same.
4546 * gdb.python/py-value-cc.exp: Same.
4547 * gdb.python/py-value.exp: Same.
4549 2014-11-28 Yao Qi <yao@codesourcery.com>
4551 * gdb.base/break-probes.exp: Match library name prefixed with
4554 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4556 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4557 test expected output. Add parentheses for the call to print.
4558 Remove L suffix from integers.
4560 2014-11-26 Doug Evans <dje@google.com>
4562 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4564 2014-11-22 Yao Qi <yao@codesourcery.com>
4566 * gdb.trace/entry-values.c: Remove asms.
4567 (foo): Add foo_label.
4568 (bar): Add bar_label.
4569 * gdb.trace/entry-values.exp: Remove code computing foo's
4570 length and bar's length.
4571 (Dwarf::assemble): Invoke function_range for bar and use
4572 MACRO_AT_func for foo.
4574 2014-11-22 Yao Qi <yao@codesourcery.com>
4576 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4577 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4578 Use .Lgcc43_procstart instead of gcc43.
4580 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4582 * gdb.ada/n_arr_bound: New testcase.
4584 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4586 PR breakpoints/10737
4587 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4588 test_catch_syscall_multi_arch.
4589 (test_catch_syscall_multi_arch): New function.
4591 2014-11-20 Doug Evans <xdje42@gmail.com>
4593 * gdb.base/maint.exp: Update expected output.
4595 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4597 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4598 4-byte instruction on S390.
4600 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4602 * gdb.ada/arr_arr: New testcase.
4604 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4606 * gdb.ada/pkd_arr_elem: New Testcase.
4608 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4610 * gdb.reverse/break-precsave: Expect completion message for
4612 * gdb.reverse/consecutive-precsave.exp: Likewise.
4613 * gdb.reverse/finish-precsave.exp: Likewise.
4614 * gdb.reverse/i386-precsave.exp: Likewise.
4615 * gdb.reverse/machinestate-precsave.exp: Likewise.
4616 * gdb.reverse/sigall-precsave.exp: Likewise.
4617 * gdb.reverse/solib-precsave.exp: Likewise.
4618 * gdb.reverse/step-precsave.exp: Likewise.
4619 * gdb.reverse/until-precsave.exp: Likewise.
4620 * gdb.reverse/watch-precsave.exp: Likewise.
4622 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4624 * gdb.base/bp-permanent.c: Include unistd.h.
4625 * gdb.python/py-framefilter-mi.c (main): Add return type.
4626 * gdb.python/py-framefilter.c (main): Likewise.
4627 * gdb.trace/actions-changed.c (main): Likewise.
4629 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4631 * gdb.mi/until.c: Add eye-catchers.
4632 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4635 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4637 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4638 function header variants in break1.c.
4639 * gdb.base/ena-dis-br.exp: Likewise.
4640 * gdb.base/hbreak2.exp: Likewise.
4641 * gdb.reverse/until-precsave.exp: Drop references to removed
4642 non-prototype function header variants in ur1.c.
4643 * gdb.reverse/until-reverse.exp: Likewise.
4645 2014-11-17 Petr Machata <pmachata@redhat.com>
4647 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4648 ${_cu_offset_size} bytes abbrev offset.
4650 2014-11-15 Doug Evans <xdje42@gmail.com>
4653 * gdb.base/line-symtabs.exp: New file.
4654 * gdb.base/line-symtabs.c: New file.
4655 * gdb.base/line-symtabs.h: New file.
4657 2014-11-14 Yao Qi <yao@codesourcery.com>
4659 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4660 (func): Add label func_label.
4661 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4662 Replace low_pc and high_pc with MACRO_AT_range.
4663 Replace name, low_pc and high_pc with MACRO_AT_func.
4665 2014-11-14 Yao Qi <yao@codesourcery.com>
4667 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4668 Replace name, low_pc and high_pc with MACRO_AT_func.
4670 2014-11-14 Yao Qi <yao@codesourcery.com>
4672 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4673 produce debug information.
4674 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4676 2014-11-14 Yao Qi <yao@codesourcery.com>
4678 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4679 object and get function length.
4680 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4682 (top-level): Replace gdb_compile and clean_restart with
4683 prepare_for_testing.
4684 * gdb.dwarf2/main.c (main): Add label main_label.
4686 2014-11-14 Yao Qi <yao@codesourcery.com>
4688 * lib/dwarf.exp (function_range): New procedure.
4689 (Dwarf::_handle_macro_at_func): New procedure.
4690 (Dwarf::_handle_macro_at_range): New procedure.
4691 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4693 2014-11-14 Yao Qi <yao@codesourcery.com>
4695 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4696 (_handle_attribute): New procedure.
4698 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4700 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4701 * gdb.base/call-sc.c (zed): Likewise.
4702 * gdb.base/checkpoint.c (main): Likewise.
4703 * gdb.base/dump.c (main): Likewise.
4704 * gdb.base/gcore.c (main): Likewise.
4705 * gdb.base/huge.c (main): Likewise.
4706 * gdb.base/multi-forks.c (main): Likewise.
4707 * gdb.base/pr10179-a.c (main): Likewise.
4708 * gdb.base/savedregs.c (main): Likewise.
4709 * gdb.base/sigaltstack.c (main): Likewise.
4710 * gdb.base/siginfo.c (main): Likewise.
4711 * gdb.base/structs.c (zed): Likewise.
4712 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4713 * gdb.mi/mi-syn-frame.c (main): Likewise.
4714 * gdb.mi/until.c (foo, main): Likewise.
4715 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4716 * gdb.base/solib-weak.c (foo): Declare.
4717 * gdb.base/attach-twice.c: Include stdio.h.
4718 * gdb.base/weaklib1.c: Likewise.
4719 * gdb.base/weaklib2.c: Likewise.
4720 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4721 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4723 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4724 * gdb.mi/mi-exit-code.c: Likewise.
4725 * gdb.base/break-interp-lib.c: Include string.h.
4726 * gdb.base/coremaker.c: Likewise.
4727 * gdb.base/testenv.c: Likewise.
4728 * gdb.python/py-finish-breakpoint.c: Likewise.
4729 * gdb.base/inferior-died.c: Include sys/wait.h.
4730 * gdb.base/fileio.c: Include time.h.
4731 * gdb.base/async-shell.c: Include unistd.h.
4732 * gdb.base/dprintf-non-stop.c: Likewise.
4733 * gdb.base/info-os.c: Likewise.
4734 * gdb.mi/mi-console.c: Likewise.
4735 * gdb.mi/watch-nonstop.c: Likewise.
4736 * gdb.python/py-events.c: Likewise.
4737 * gdb.base/async.c (baz): Move up before its invocation.
4738 * gdb.base/code_elim2.c (my_global_func): Likewise.
4739 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4740 * gdb.base/advance.c (func2): Likewise.
4742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4744 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4746 * gdb.base/annota3.c: Likewise.
4747 * gdb.base/async.c: Likewise.
4748 * gdb.base/average.c: Likewise.
4749 * gdb.base/call-ar-st.c: Likewise.
4750 * gdb.base/call-rt-st.c: Likewise.
4751 * gdb.base/call-sc.c: Likewise.
4752 * gdb.base/call-strs.c: Likewise.
4753 * gdb.base/ending-run.c: Likewise.
4754 * gdb.base/execd-prog.c: Likewise.
4755 * gdb.base/exprs.c: Likewise.
4756 * gdb.base/foll-exec.c: Likewise.
4757 * gdb.base/foll-fork.c: Likewise.
4758 * gdb.base/foll-vfork.c: Likewise.
4759 * gdb.base/funcargs.c: Likewise.
4760 * gdb.base/gcore.c: Likewise.
4761 * gdb.base/jump.c: Likewise.
4762 * gdb.base/langs0.c: Likewise.
4763 * gdb.base/langs1.c: Likewise.
4764 * gdb.base/langs2.c: Likewise.
4765 * gdb.base/mips_pro.c: Likewise.
4766 * gdb.base/nodebug.c: Likewise.
4767 * gdb.base/opaque0.c: Likewise.
4768 * gdb.base/opaque1.c: Likewise.
4769 * gdb.base/recurse.c: Likewise.
4770 * gdb.base/run.c: Likewise.
4771 * gdb.base/scope0.c: Likewise.
4772 * gdb.base/scope1.c: Likewise.
4773 * gdb.base/setshow.c: Likewise.
4774 * gdb.base/setvar.c: Likewise.
4775 * gdb.base/shmain.c: Likewise.
4776 * gdb.base/shr1.c: Likewise.
4777 * gdb.base/shr2.c: Likewise.
4778 * gdb.base/sigall.c: Likewise.
4779 * gdb.base/signals.c: Likewise.
4780 * gdb.base/so-indr-cl.c: Likewise.
4781 * gdb.base/solib2.c: Likewise.
4782 * gdb.base/structs.c: Likewise.
4783 * gdb.base/sum.c: Likewise.
4784 * gdb.base/vforked-prog.c: Likewise.
4785 * gdb.base/watchpoint.c: Likewise.
4786 * gdb.reverse/shr2.c: Likewise.
4787 * gdb.reverse/until-reverse.c: Likewise.
4788 * gdb.reverse/ur1.c: Likewise.
4789 * gdb.reverse/watch-reverse.c: Likewise.
4791 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4793 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4795 * gdb.base/sepdebug.exp: Drop references to removed code.
4797 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4799 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4800 variant. Preserve original line numbering.
4801 * gdb.base/list1.c: Likewise.
4803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4805 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4807 * gdb.base/break1.c: Likewise.
4808 * gdb.base/break.exp: Drop references to removed code.
4810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4812 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4815 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4817 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4819 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4821 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4822 logic into perform_all_tests() and invoke it with and without
4823 function header prototypes.
4824 (do_function_calls): Remove conditional XFAIL for PR 5318.
4825 (rerun_and_prepare): Remove duplicate code.
4826 (perform_all_tests): New. Main logic moved here.
4828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4830 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4831 code guarded by #ifdef NO_PROTOTYPES.
4832 (t_double_many_args): Likewise.
4833 (DEF_FUNC_MANY_ARGS_1): Likewise.
4834 (DEF_FUNC_VALUES_1): Likewise.
4835 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4836 guarded by #ifdef PROTOTYPES.
4838 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4840 * gdb.mi/mi-console.c: Add eye-catcher.
4841 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4842 instead of literal line number.
4844 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4846 * gdb.base/shr2.c: Add eye-catcher.
4847 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4850 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4852 * gdb.base/jump.c: Add eye-catchers.
4853 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4856 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4858 * gdb.base/execd-prog.c: Add eye-catchers.
4859 * gdb.base/foll-exec.c: Likewise.
4860 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4863 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4865 * gdb.base/ending-run.c: Add eye-catchers.
4866 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4867 literal line numbers.
4869 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4871 * gdb.base/call-rt-st.c: Add eye-catchers.
4872 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4873 literal line numbers.
4875 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877 * gdb.base/call-ar-st.c: Add eye-catchers.
4878 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4879 literal line numbers.
4881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4883 * gdb.base/average.c: Add eye-catchers.
4884 * gdb.base/sum.c: Likewise.
4885 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4886 regexps dynamically.
4888 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4890 * gdb.base/solib1.c: Add eye-catchers.
4891 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4892 literal line numbers.
4894 2014-11-12 Pedro Alves <palves@redhat.com>
4896 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4899 2014-11-12 Pedro Alves <palves@redhat.com>
4901 * gdb.arch/i386-bp_permanent.c: New file.
4902 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4903 (srcfile): Set to i386-bp_permanent.c.
4904 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4905 that stepi does not execute the 'leave' instruction, instead of
4906 testing it does execute.
4907 * gdb.base/bp-permanent.c: New file.
4908 * gdb.base/bp-permanent.exp: New file.
4910 2014-11-10 Doug Evans <xdje42@gmail.com>
4913 * gdb.base/symtab-search-order.exp: New file.
4914 * gdb.base/symtab-search-order.c: New file.
4915 * gdb.base/symtab-search-order-1.c: New file.
4916 * gdb.base/symtab-search-order-shlib-1.c: New file.
4918 2014-11-07 Pedro Alves <palves@redhat.com>
4921 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4924 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4927 * gdb.cp/pr17494.cc: New file.
4928 * gdb.cp/pr17494.exp: New file.
4930 2014-11-02 Yao Qi <yao@codesourcery.com>
4932 * gdb.python/python.exp: Get working directory and match the
4933 output of "set extended-prompt \\w " with it.
4935 2014-10-30 Doug Evans <dje@google.com>
4937 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4939 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4942 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4944 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4945 * gdb.base/realname-expand.exp: Likewise.
4946 * gdb.linespec/macro-relative.exp: Likewise.
4948 2014-10-29 Pedro Alves <palves@redhat.com>
4951 * gdb.threads/schedlock.c (some_function): New function.
4952 (call_function): New global.
4953 (MAYBE_CALL_SOME_FUNCTION): New macro.
4954 (thread_function): Call it.
4955 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4956 and use it instead of a global counter. Adjust all callers.
4957 (get_current_thread): Use "find current thread" for test message
4958 here rather than having all callers pass down the same string.
4959 (goto_loop): New procedure, factored out from ...
4960 (my_continue): ... this.
4961 (step_ten_loops): Change parameter from test message to command to
4963 (list_count): Delete global.
4964 (check_result): New procedure, factored out from duplicate top
4966 (continue tests): Wrap in with_test_prefix.
4967 (test_step): New procedure, factored out from duplicate top level
4969 (top level): Test "step" in combination with all scheduler-locking
4970 modes. Test "next" in combination with all scheduler-locking
4971 modes, and in combination with stepping over a function call or
4973 * gdb.threads/next-bp-other-thread.c: New file.
4974 * gdb.threads/next-bp-other-thread.exp: New file.
4976 2014-10-29 Pedro Alves <palves@redhat.com>
4979 * gdb.python/python.exp: Test a multi-line command that spawns
4981 * gdb.base/multi-line-starts-subshell.exp: New file.
4983 2014-10-29 Yao Qi <yao@codesourcery.com>
4985 * gdb.base/fileio.exp: Make directories on host.
4987 2014-10-29 Yao Qi <yao@codesourcery.com>
4989 * gdb.base/fileio.c (test_write): Close the file.
4991 2014-10-28 Pedro Alves <palves@redhat.com>
4994 * gdb.base/sigstep.c (no_handler): New global.
4995 (main): If 'no_handler is true, set the signal handlers to
4997 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4998 with_sw_watch and no_handler parameters. Handle them.
4999 (top level) <stepping over handler when stopped at a breakpoint
5000 test>: Add a test axis for testing with a software watchpoint, and
5001 another for testing with the signal handler set to SIG_IGN.
5002 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5003 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5005 2014-10-28 Pedro Alves <palves@redhat.com>
5008 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5009 * gdb.base/sigstep.exp (other_handler_location): New global.
5010 (advance): Support stepping into the signal handler, and running
5011 commands while in the handler.
5012 (in_handler_map): New global.
5013 (top level): In the advance test, add combinations for getting
5014 into the handler with stepping commands, and for running commands
5015 in the handler. Add comment descripting the advancei tests.
5017 2014-10-28 Pedro Alves <palves@redhat.com>
5019 * gdb.base/sigstep.exp: Use build_executable instead of
5020 prepare_for_testing.
5021 (top level): Move code that starts GDB, runs to main and creates a
5023 (restart): ... this new procedure.
5024 (top level): Move backtrace from signal handler test to ...
5025 (validate_backtrace): ... this new procedure.
5026 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5027 with_test_prefix. Always restart GDB.
5028 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5029 with_test_prefix. Always restart GDB. No need to delete
5030 breakpoints after the test.
5031 (test_skip_handler): Remove prefix parameter.
5032 (skip_over_handler, breakpoint_to_handler)
5033 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5034 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5035 restart GDB. No need to delete breakpoints after the test.
5036 (top level): Use foreach to call the test procedures with
5039 2014-10-28 Pedro Alves <palves@redhat.com>
5041 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5042 instead of GNATS numbers.
5043 * gdb.base/sigbpt.exp: Likewise.
5044 * gdb.base/siginfo.exp: Likewise.
5045 * gdb.base/sigstep.exp: Likewise.
5047 2014-10-27 Pedro Alves <palves@redhat.com>
5049 * gdb.base/sigstep.c (dummy): New global.
5050 (main): Issue a couple writes to the new global.
5051 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5053 (skip_over_handler): Use test_skip_handler.
5054 (top level): Call skip_over_handler for stepi and nexti too.
5055 (breakpoint_over_handler): Use test_skip_handler.
5056 (top level): Call breakpoint_over_handler for stepi and nexti too.
5058 2014-10-27 Yao Qi <yao@codesourcery.com>
5060 * gdb.trace/tfile.c (adjust_function_address)
5061 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5062 function descriptor.
5064 2014-10-24 Don Breazeal <donb@codesourcery.com>
5066 * gdb.base/foll-fork.exp (test_follow_fork,
5067 catch_fork_child_follow): Check for updated fork messages emitted
5069 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5070 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5071 vfork_and_exec_child_follow_through_step): Check for updated vfork
5072 messages emitted from infrun.c.
5074 2014-10-24 Pedro Alves <palves@redhat.com>
5076 * gdb.base/corefile.exp: Remove references to ultrix.
5077 * gdb.base/interrupt.exp: Likewise.
5078 * gdb.base/whatis.exp: Likewise.
5079 * gdb.gdb/selftest.exp: Likewise.
5080 * gdb.threads/manythreads.exp: Likewise.
5081 * gdb.threads/print-threads.exp: Likewise.
5082 * gdb.threads/pthreads.exp:: Likewise.
5083 * gdb.threads/schedlock.exp: Likewise.
5085 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5087 * gdb.cp/non-trivial-retval.cc: Add a test case.
5088 * gdb.cp/non-trivial-retval.exp: Add a test.
5090 2014-10-20 Yao Qi <yao@codesourcery.com>
5092 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5093 * gdb.python/py-objfile-script-gdb.py: New file.
5094 * gdb.python/py-objfile-script.exp: Update reference to
5095 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5096 of remote_download. Remove the dest file.
5098 2014-10-20 Yao Qi <yao@codesourcery.com>
5100 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5101 * gdb.base/step-line.exp: Likewise.
5102 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5103 * gdb.dwarf2/dw2-basic.exp: Likewise.
5104 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5105 * gdb.dwarf2/dw2-filename.exp: Likewise.
5106 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5107 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5108 * gdb.dwarf2/dw2-producer.exp: Likewise.
5109 * gdb.dwarf2/mac-fileno.exp: Likewise.
5110 * gdb.python/py-frame-args.exp: Likewise.
5111 * gdb.python/py-framefilter.exp: Likewise.
5112 * gdb.python/py-mi.exp: Likewise.
5113 * gdb.python/py-objfile-script.exp: Likewise
5114 * gdb.python/py-pp-integral.exp: Likewise.
5115 * gdb.python/py-pp-re-notag.exp: Likewise.
5116 * gdb.python/py-prettyprint.exp: Likewise.
5117 * gdb.python/py-section-script.exp: Likewise.
5118 * gdb.python/py-typeprint.exp: Likewise.
5119 * gdb.python/py-xmethods.exp: Likewise.
5120 * gdb.stabs/weird.exp: Likewise.
5121 * gdb.xml/tdesc-regs.exp: Likewise.
5123 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5125 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5126 (out_cu): Use addr_len for the size of addresses.
5127 (out_line): Likewise. Size DW_LNE_set_address instruction
5128 according to addr_len.
5129 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5130 (FUNC): Add START_INSNS to definition.
5132 2014-10-18 Yao Qi <yao@codesourcery.com>
5134 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5135 gdb_has_argv0 return true.
5136 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5137 check [target_info exists noargs], check [gdb_has_argv0]
5139 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5140 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5143 2014-10-17 Doug Evans <dje@google.com>
5145 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5147 * gdb.python/py-events.py: Add clear_objfiles event.
5149 2014-10-17 Doug Evans <dje@google.com>
5151 * gdb.python/py-objfile.exp: Test progspace attribute.
5153 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5155 * gdb.guile/scm-breakpoint.exp: Do not assume any
5156 directory separators when matching source file paths.
5157 * gdb.python/py-breakpoint.exp: Likewise.
5158 * gdb.reverse/break-precsave.exp: Likewise.
5159 * gdb.reverse/break-reverse.exp: Likewise.
5160 * gdb.reverse/consecutive-precsave.exp: Likewise.
5161 * gdb.reverse/finish-precsave.exp: Likewise.
5162 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5163 * gdb.reverse/finish-reverse.exp: Likewise.
5164 * gdb.reverse/i386-precsave.exp: Likewise.
5165 * gdb.reverse/i387-env-reverse.exp: Likewise.
5166 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5167 * gdb.reverse/machinestate-precsave.exp: Likewise.
5168 * gdb.reverse/machinestate.exp: Likewise.
5169 * gdb.reverse/sigall-precsave.exp: Likewise.
5170 * gdb.reverse/solib-precsave.exp: Likewise.
5171 * gdb.reverse/step-precsave.exp: Likewise.
5172 * gdb.reverse/until-precsave.exp: Likewise.
5173 * gdb.reverse/watch-precsave.exp: Likewise.
5174 * gdb.reverse/watch-reverse.exp: Likewise.
5176 2014-10-17 Yao Qi <yao@codesourcery.com>
5178 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5179 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5181 2014-10-17 Pedro Alves <palves@redhat.com>
5184 * gdb.base/bg-execution-repeat.c: New file.
5185 * gdb.base/bg-execution-repeat.exp: New file.
5187 2014-10-17 Pedro Alves <palves@redhat.com>
5190 * gdb.base/continue-all-already-running.c: New file.
5191 * gdb.base/continue-all-already-running.exp: New file.
5193 2014-10-17 Pedro Alves <palves@redhat.com>
5196 * gdb.base/annota-input-while-running.c: New file.
5197 * gdb.base/annota-input-while-running.exp: New file.
5199 2014-10-17 Pedro Alves <palves@redhat.com>
5201 * gdb.base/callfuncs.exp: emove references to osf.
5202 * gdb.base/sigall.exp: Likewise.
5203 * gdb.gdb/selftest.exp: Likewise.
5204 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5205 * gdb.mi/non-stop.c: Likewise.
5206 * gdb.mi/pthreads.c: Likewise.
5207 * gdb.reverse/sigall-precsave.exp: Likewise.
5208 * gdb.reverse/sigall-reverse.exp: Likewise.
5209 * gdb.threads/pthreads.c: Likewise.
5210 * gdb.threads/pthreads.exp: Likewise.
5212 2014-10-17 Yao Qi <yao@codesourcery.com>
5214 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5215 check 'target_info exists noargs'.
5216 (test_command_prompt_position): Likewise.
5217 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5219 (progvar_simple_while_test): Likewise.
5220 (progvar_complex_if_while_test): Likewise.
5221 (if_while_breakpoint_command_test): Likewise.
5222 (infrun_breakpoint_command_test): Likewise.
5223 (breakpoint_command_test): Likewise.
5224 (watchpoint_command_test): Likewise.
5225 (bp_deleted_in_command_test): Likewise.
5226 (temporary_breakpoint_commands): Likewise.
5228 2014-10-16 Yao Qi <yao@codesourcery.com>
5230 * gdb.base/remotetimeout.exp: Remove noargs checking.
5232 2014-10-15 Pedro Alves <palves@redhat.com>
5235 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5236 * gdb.base/breakpoint-in-ro-region.exp
5237 (probe_target_hardware_step): New procedure.
5238 (top level): Probe hardware stepping and hardware breakpoint
5239 support. Test stepping through a read-only region, with both
5240 "breakpoint auto-hw" on and off and both "always-inserted" on and
5243 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5245 * gdb.dlang/demangle.exp: Update for demangling changes.
5247 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5249 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5250 * gdb.cp/non-trivial-retval.exp: Add new tests.
5252 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5256 * gdb.cp/non-trivial-retval.cc: New file.
5257 * gdb.cp/non-trivial-retval.exp: New file.
5259 2014-10-15 Yao Qi <yao@codesourcery.com>
5261 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5264 2014-10-15 Yao Qi <yao@codesourcery.com>
5266 * gdb.python/py-symbol.exp: Match file base name if host is
5267 remote, otherwise match file name with dir name.
5268 * gdb.python/py-symtab.exp: Likewise.
5269 * gdb.python/python.exp: Likewise.
5271 2014-10-15 Yao Qi <yao@codesourcery.com>
5273 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5275 * gdb.python/py-symtab.exp: Likewise.
5276 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5279 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5281 * gdb.ada/addr_arith: New testcase.
5283 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5285 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5286 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5287 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5288 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5290 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5292 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5293 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5294 * gdb.arch/stap-eval-lang-ada.exp: New file.
5296 2014-10-14 Yao Qi <yao@codesourcery.com>
5298 * gdb.mi/mi-var-child.c (nothing1): New function.
5299 (nothing2): New function.
5300 (do_children_tests): Set function pointers by nothing1 and
5302 * gdb.mi/mi-var-child.exp: Step over new added statements.
5303 Update test to match the new output.
5304 * gdb.mi/var-cmd.c (nothing1): New function.
5305 (nothing2): New function.
5306 (do_children_tests): Set function pointers by nothing1 and
5308 * gdb.mi/mi-var-display.exp: Update test to match output.
5309 Step to the line specified by $line_dct_nothing.
5310 Increase the number of lines to step.
5312 2014-10-14 Yao Qi <yao@codesourcery.com>
5314 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5316 * gdb.mi/mi2-var-child.exp: Likewise.
5318 2014-10-13 Doug Evans <dje@google.com>
5320 * gdb.python/py-objfile.exp: Change name of file name test.
5322 2014-10-13 Doug Evans <dje@google.com>
5324 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5325 from the start of the CU.
5327 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5328 Yao Qi <yao@codesourcery.com>
5330 Fix "save breakpoints" for "catch" command.
5331 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5332 Remove -nonewline. Match also the added "main" line.
5334 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5336 Fix "save breakpoints" for "disable $bpnum" command.
5337 * gdb.base/save-bp.c (main): Add label.
5338 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5340 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5342 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5344 2014-10-11 Yao Qi <yao@codesourcery.com>
5346 * gdb.server/server-kill.exp: Execute command
5347 "set remote trace-status-packet on" before "tstatus".
5349 2014-10-11 Yao Qi <yao@codesourcery.com>
5351 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5352 (main): Call getppid.
5353 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5354 and continue to it. Read variable "server_pid".
5356 2014-10-11 Yao Qi <yao@codesourcery.com>
5358 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5360 2014-10-11 Yao Qi <yao@codesourcery.com>
5362 * gdb.threads/thread-find.exp: Don't execute command
5364 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5365 * gdb.threads/linux-dp.exp: Don't check the condition
5366 $threads_created equals to zero.
5368 2014-10-10 Pedro Alves <palves@redhat.com>
5370 * gdb.base/bigcore.exp: Remove references to IRIX.
5371 * gdb.base/funcargs.exp: Likewise.
5372 * gdb.base/interrupt.exp: Likewise.
5373 * gdb.base/mips_pro.exp: Likewise.
5374 * gdb.base/nodebug.exp: Likewise.
5375 * gdb.base/setvar.exp: Likewise.
5376 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5378 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5379 Pedro Alves <palves@redhat.com>
5382 * gdb.base/vdso-warning.c: New file.
5383 * gdb.base/vdso-warning.exp: New file.
5385 2014-10-02 Doug Evans <dje@google.com>
5387 * gdb.base/structs.c (main): Don't run forever.
5389 2014-10-02 Pedro Alves <palves@redhat.com>
5391 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5392 (top level) <stop threads 1, stop threads 2>: Use it.
5394 2014-10-02 Pedro Alves <palves@redhat.com>
5396 * gdb.threads/break-while-running.exp (test): Add new
5397 'update_thread_list' argument. Skip "info threads" if false.
5398 (top level): Add new 'update_thread_list' axis.
5400 2014-10-02 Pedro Alves <palves@redhat.com>
5402 PR breakpoints/17431
5403 * gdb.base/execl-update-breakpoints.c: New file.
5404 * gdb.base/execl-update-breakpoints.exp: New file.
5406 2014-10-01 Pedro Alves <palves@redhat.com>
5408 * gdb.base/breakpoint-in-ro-region.c: New file.
5409 * gdb.base/breakpoint-in-ro-region.exp: New file.
5411 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5413 * gdb.mi/mi-exit-code.exp: New file.
5414 * gdb.mi/mi-exit-code.c: New file.
5416 2014-09-30 Yao Qi <yao@codesourcery.com>
5418 * lib/prelink-support.exp (build_executable_own_libs): Error if
5419 the target isn't native.
5421 2014-09-30 Yao Qi <yao@codesourcery.com>
5423 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5426 2014-09-22 Pedro Alves <palves@redhat.com>
5428 * gdb.threads/break-while-running.exp: New file.
5429 * gdb.threads/break-while-running.c: New file.
5431 2014-09-19 Yao Qi <yao@codesourcery.com>
5433 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5434 Invoke test. Restart GDB with --readnow and invoke test again.
5436 2014-09-19 Yao Qi <yao@codesourcery.com>
5438 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5439 proc set_breakpoint_on_gcd_function. Invoke
5440 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5441 invoke set_breakpoint_on_gcd_function again.
5443 2014-09-18 Doug Evans <dje@google.com>
5445 * gdb.dwarf2/symtab-producer.exp: New file.
5447 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5449 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5450 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5451 * gdb.base/global-var-nested-by-dso.c: Likewise.
5452 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5454 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5455 Pedro Alves <palves@redhat.com>
5457 * gdb.base/watch-bitfields.exp: Pass string other than test file
5458 name to prepare_for_testing.
5459 (watch): New procedure.
5460 (expect_watchpoint): Use with_test_prefix.
5461 (top level): Factor out tests to ...
5462 (test_watch_location, test_regular_watch): ... these new
5463 procedures, and use with_test_prefix and gdb_continue_to_end.
5465 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5467 PR breakpoints/12526
5468 * gdb.base/watch-bitfields.exp: New file.
5469 * gdb.base/watch-bitfields.c: New file.
5471 2014-09-16 Pedro Alves <palves@redhat.com>
5473 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5474 software and hardware addresses, not software address against
5477 2014-09-16 Pedro Alves <palves@redhat.com>
5479 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5480 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5482 2014-09-16 Pedro Alves <palves@redhat.com>
5484 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5486 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5487 "*-*-vxworks*" throughout.
5488 * gdb.base/break.exp: Likewise.
5489 * gdb.base/default.exp: Likewise.
5490 * gdb.base/scope.exp: Likewise.
5491 * gdb.base/sepdebug.exp: Likewise.
5492 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5494 * gdb.base/run.c: Likewise.
5495 * gdb.base/sepdebug.c: Likewise.
5496 * gdb.hp/gdb.aCC/run.c: Likewise.
5497 * gdb.reverse/until-reverse.c: Likewise.
5498 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5500 2014-09-16 Yao Qi <yao@codesourcery.com>
5502 * boards/local-remote-host-native.exp: New file.
5504 2014-09-14 Doug Evans <xdje42@gmail.com>
5506 * gdb.threads/queue-signal.c (thread_count): New variable.
5507 (thread_count_mutex, thread_count_condvar): New variables.
5508 (incr_thread_count, wait_all_threads_running): New functions.
5509 (main): Wait for all threads to be in their thread functions.
5511 2014-09-13 Doug Evans <xdje42@gmail.com>
5513 * gdb.threads/queue-signal.c: New file.
5514 * gdb.threads/queue-signal.exp: New file.
5516 2014-09-13 Doug Evans <xdje42@gmail.com>
5518 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5519 be consistent with what default_gdb_init uses.
5520 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5521 the plain text of the prompt. Add some logging printfs.
5522 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5524 2014-09-12 Pedro Alves <palves@redhat.com>
5526 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5527 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5528 * gdb.arch/i386-size-overlap.exp: Likewise.
5529 * gdb.arch/i386-size.exp: Likewise.
5530 * gdb.arch/i386-unwind.exp: Likewise.
5531 * gdb.base/a2-run.exp: Likewise.
5532 * gdb.base/break.exp: Likewise.
5533 * gdb.base/charset.exp: Likewise.
5534 * gdb.base/chng-syms.exp: Likewise.
5535 * gdb.base/commands.exp: Likewise.
5536 * gdb.base/dbx.exp: Likewise.
5537 * gdb.base/find.exp: Likewise.
5538 * gdb.base/funcargs.exp: Likewise.
5539 * gdb.base/jit-simple.exp: Likewise.
5540 * gdb.base/reread.exp: Likewise.
5541 * gdb.base/sepdebug.exp: Likewise.
5542 * gdb.base/step-bt.exp: Likewise.
5543 * gdb.cp/mb-inline.exp: Likewise.
5544 * gdb.cp/mb-templates.exp: Likewise.
5545 * gdb.objc/basicclass.exp: Likewise.
5546 * gdb.threads/killed.exp: Likewise.
5548 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5551 * gdb.arch/powerpc-stackless.S: New file.
5552 * gdb.arch/powerpc-stackless.exp: New file.
5554 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5556 * gdb.base/attach.c: Include unistd.h.
5557 (main): Call alarm. Add label postloop.
5558 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5559 gdb_breakpoint, gdb_continue_to_breakpoint.
5560 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5562 2014-09-11 Pedro Alves <palves@redhat.com>
5565 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5566 * gdb.base/attach.exp (test_command_line_attach_run): New
5568 (top level): Call it.
5570 2014-09-11 Pedro Alves <palves@redhat.com>
5572 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5573 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5574 (do_command_attach_tests): Use spawn_wait_for_attach.
5575 * gdb.base/solib-overlap.exp: Likewise.
5576 * gdb.multi/multi-attach.exp: Likewise.
5577 * gdb.python/py-prompt.exp: Likewise.
5578 * gdb.python/py-sync-interp.exp: Likewise.
5579 * gdb.server/ext-attach.exp: Likewise.
5581 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5583 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5584 command in testcase. Simplify testcase.
5586 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5588 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5590 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5592 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5594 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5596 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5598 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5600 * gdb.dwarf2/dynarr-ptr.c: New file.
5601 * gdb.dwarf2/dynarr-ptr.exp: New file.
5603 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5605 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5606 of 30 rather than hardcoding 120 for a slow test case. Take the
5607 `gdb,timeout' target setting into account for this calculation.
5608 Don't extend the timeout for the test cases that don't need it.
5610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5612 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5613 a factor of 2 for a slow test case. Take the `gdb,timeout'
5614 target setting into account for this calculation.
5615 * gdb.reverse/until-precsave.exp: Increase the timeout by
5616 a factor of 15 and 3 respectively rather than adding 120
5617 for a pair of slow test cases. Take the `gdb,timeout'
5618 target setting into account for this calculation.
5620 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5622 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5623 timeout, don't pass one down to gdb_expect.
5624 (gdb_expect): Rework timeout selection.
5626 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5628 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5629 exception on timeout.
5630 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5631 (gdbserver_start_extended): Catch any `gdbserver_start' error
5633 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5634 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5635 `gdbserver_gdb_load' error exceptions.
5637 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5639 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5640 120 on waiting for the TCP socket to open.
5642 2014-09-09 Doug Evans <xdje42@gmail.com>
5644 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5645 _caller_matches, _any_caller_is, _any_caller_matches.
5647 2014-09-09 Doug Evans <xdje42@gmail.com>
5649 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5651 2014-09-09 Yao Qi <yao@codesourcery.com>
5653 * gdb.mi/mi-var-display.exp: Set print symbol off.
5655 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5658 * gdb.base/commands.exp: Add tests to verify user-defined
5659 commands with empty bodies.
5660 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5661 python commands in `show user command`.
5662 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5663 scheme commands in `show user command`.
5665 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5668 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5669 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5670 * gdb.python/py-framefilter-invalidarg.exp: New file.
5671 * gdb.python/py-framefilter-invalidarg.py: New file.
5673 2014-09-06 Doug Evans <xdje42@gmail.com>
5676 * gdb.python/py-caller-is.c: New file.
5677 * gdb.python/py-caller-is.exp: New file.
5679 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5682 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5683 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5685 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5688 * gdb.fortran/print-formatted.exp: New file.
5689 * gdb.fortran/print-formatted.f90: Likewise.
5691 2014-09-03 Sasha Smundak <asmundak@google.com>
5693 * gdb.python/py-frame.exp: Test Frame.read_register.
5695 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5698 * gdb.python/py-completion.exp: New file.
5699 * gdb.python/py-completion.py: Likewise.
5701 2014-08-28 Doug Evans <dje@google.com>
5703 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5704 eax,etc. are live with values set by gdb and thus the compiler can't
5706 * gdb.arch/i386-pseudo.c (main): Ditto.
5708 2014-08-27 Doug Evans <dje@google.com>
5710 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5712 2014-08-25 Doug Evans <dje@google.com>
5714 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5717 2014-08-25 Doug Evans <dje@google.com>
5719 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5721 2014-08-24 Yao Qi <yao@codesourcery.com>
5723 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5725 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5727 2014-08-22 Doug Evans <dje@google.com>
5730 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5731 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5732 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5734 2014-08-22 Yao Qi <yao@codesourcery.com>
5736 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5737 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5738 * gdb.python/python.exp: Likewise. Use .py file on the host
5739 instead of the build.
5741 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5743 * gdb.threads/gcore-stale-thread.c: New file.
5744 * gdb.threads/gcore-stale-thread.exp: New file.
5746 2014-08-21 Pedro Alves <palves@redhat.com>
5748 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5749 * gdb.base/gcore-relro-pie.exp: Likewise.
5750 * gdb.base/gcore-relro.exp: Likewise.
5751 * gdb.base/gcore.exp: Likewise.
5752 * gdb.base/print-symbol-loading.exp: Likewise.
5753 * gdb.threads/gcore-thread.exp: Likewise.
5754 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5756 2014-08-20 Pedro Alves <palves@redhat.com>
5757 Jan Kratochvil <jan.kratochvil@redhat.com>
5759 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5761 (EXPECT): Handle READ1 being set.
5762 (all): Depend on EXTRA_RULES.
5763 (check-read1, expect-read1, read1.so, read1): New rules.
5764 * README (Testsuite Parameters): Document the READ1 make variable.
5765 (Race detection): New section.
5766 * configure: Regenerate.
5767 * configure.ac: If build==host==target, and running under a
5768 GNU/glibc system, add read1 to the extra Makefile rules.
5769 (EXTRA_RULES): AC_SUBST it.
5770 * lib/read1.c: New file.
5772 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5774 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5775 the handling of variables declared as a typedef to an array
5776 which a DW_AT_data_location attribute.
5778 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5779 Pedro Alves <palves@redhat.com>
5783 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5786 2014-08-19 Pedro Alves <palves@redhat.com>
5788 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5790 2014-08-19 Yao Qi <yao@codesourcery.com>
5792 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5795 2014-08-18 David Blaikie <dblaikie@gmail.com>
5797 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5799 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5801 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5802 attribute in array range.
5804 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5806 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5808 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5811 * gdb.cp/pr17132.cc: New file.
5812 * gdb.cp/pr17132.exp: New file.
5814 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5816 * gdb.python/py-xmethods.py (A_getarrayind)
5817 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5818 Use 'print' with function call syntax.
5819 (E_method_matcher.match): Fix tab vs space indentation mixup.
5821 2014-08-15 Yao Qi <yao@codesourcery.com>
5823 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5826 2014-08-15 Yao Qi <yao@codesourcery.com>
5828 * gdb.cp/casts.exp: Set print symbol off.
5829 * gdb.cp/class2.exp: Likewise.
5830 * gdb.cp/overload.exp: Likewise.
5831 * gdb.cp/templates.exp: Likewise.
5833 2014-08-11 Doug Evans <dje@google.com>
5835 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5836 (test_load_shlib): Update.
5838 2014-08-09 Yao Qi <yao@codesourcery.com>
5840 * gdb.base/display.exp: Invoke is_address_zero_readable.
5841 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5842 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5843 * gdb.base/hbreak-unmapped.exp: Return if
5844 is_address_zero_readable returns true.
5845 * gdb.base/signest.exp: Likewise.
5846 * gdb.base/signull.exp: Likewise.
5847 * gdb.base/sigbpt.exp: Likewise.
5848 * gdb.guile/scm-disasm.exp: Do the test if
5849 is_address_zero_readable returns false.
5850 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5851 * gdb.python/py-arch.exp: Likewise.
5852 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5853 * lib/gdb.exp (is_address_zero_readable): New proc.
5855 2014-08-09 Yao Qi <yao@codesourcery.com>
5858 * gdb.mi/mi-var-display.exp: Make test messages unique.
5860 2014-08-04 Tom Tromey <tromey@redhat.com>
5862 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5865 2014-08-04 Tom Tromey <tromey@redhat.com>
5867 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5870 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5872 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5873 inner_vla_struct_object_size.
5874 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5877 2014-07-30 Pedro Alves <palves@redhat.com>
5879 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5882 2014-07-29 Yao Qi <yao@codesourcery.com>
5885 * gdb.base/until-nodebug.exp: New.
5887 2014-07-28 Doug Evans <xdje42@gmail.com>
5890 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5891 previously existing parameter, and previously ambiguously spelled
5894 2014-07-28 Will Newton <will.newton@linaro.org>
5896 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5898 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5899 Doug Evans <xdje42@gmail.com>
5902 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5904 2014-07-25 Pedro Alves <palves@redhat.com>
5906 * gdb.threads/signal-command-handle-nopass.c: New file.
5907 * gdb.threads/signal-command-handle-nopass.exp: New file.
5908 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5909 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5910 * gdb.threads/signal-delivered-right-thread.c: New file.
5911 * gdb.threads/signal-delivered-right-thread.exp: New file.
5913 2014-07-25 Pedro Alves <palves@redhat.com>
5915 * gdb.base/double-prompt-target-event-error.exp
5916 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5918 (cancel_pagination_in_target_event): Rework double prompt
5920 * gdb.base/paginate-after-ctrl-c-running.exp
5921 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5923 * gdb.base/paginate-bg-execution.exp
5924 (test_bg_execution_pagination_return)
5925 (test_bg_execution_pagination_cancel): Remove '-notransfer
5927 * gdb.base/paginate-execution-startup.exp
5928 (test_fg_execution_pagination_return)
5929 (test_fg_execution_pagination_cancel): Remove '-notransfer
5931 * gdb.base/paginate-inferior-exit.exp
5932 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5934 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5935 * lib/gdb.exp (pagination_prompt): Run text through
5937 (gdb_test_multiple): Match $pagination_prompt instead of
5939 (string_to_regexp): Move to lib/gdb-utils.exp.
5941 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5943 * gdb.arch/amd64-entry-value-paramref.S: New file.
5944 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5945 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5946 * gdb.arch/amd64-optimout-repeat.S: New file.
5947 * gdb.arch/amd64-optimout-repeat.c: New file.
5948 * gdb.arch/amd64-optimout-repeat.exp: New file.
5950 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5953 * gdb.base/statistics.exp: New file.
5955 2014-07-17 Doug Evans <dje@google.com>
5958 * gdb.base/maint.exp: Update testing of per-command stats.
5960 2014-07-16 Pedro Alves <palves@redhat.com>
5962 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5963 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5964 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5965 (tfile_write_buf): New functions.
5966 (add_memory_block): Rewrite using the above.
5967 (adjust_function_address): New function.
5968 (FUNCTION_ADDRESS): New macro.
5969 (write_basic_trace_file): Remove short_x local, and use
5970 tfile_write_16. Change type of func_addr local to unsigned long
5971 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5972 here. Cast argument of add_memory_block to char pointer.
5973 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5974 (main): Remove parameters.
5975 * gdb.trace/tfile.exp: Remove nowarnings.
5977 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5979 * gdb.base/debug-expr.exp: Test string evaluation with
5980 "debug expression" on.
5982 2014-07-15 Pedro Alves <palves@redhat.com>
5984 * gdb.base/reread.exp: Use clean_restart.
5986 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5988 * gdb.arch/avr-flash-qualifer.c: New.
5989 * gdb.arch/avr-flash-qualifer.exp: New.
5991 2014-07-14 Pedro Alves <palves@redhat.com>
5993 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5994 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5996 2014-07-14 Pedro Alves <palves@redhat.com>
5998 * gdb.base/double-prompt-target-event-error.c: New file.
5999 * gdb.base/double-prompt-target-event-error.exp: New file.
6001 2014-07-14 Pedro Alves <palves@redhat.com>
6004 * gdb.base/paginate-inferior-exit.c: New file.
6005 * gdb.base/paginate-inferior-exit.exp: New file.
6007 2014-07-14 Pedro Alves <palves@redhat.com>
6010 * gdb.base/paginate-bg-execution.c: New file.
6011 * gdb.base/paginate-bg-execution.exp: New file.
6013 2014-07-14 Pedro Alves <palves@redhat.com>
6016 * gdb.base/paginate-execution-startup.c: New file.
6017 * gdb.base/paginate-execution-startup.exp: New file.
6018 * lib/gdb.exp (pagination_prompt): New global.
6019 (default_gdb_spawn): New procedure, factored out from
6021 (default_gdb_start): Adjust to call default_gdb_spawn.
6022 (gdb_spawn): New procedure.
6024 2014-07-14 Pedro Alves <palves@redhat.com>
6026 * lib/gdb.exp (gdb_assert): New procedure.
6027 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6029 2014-07-14 Pedro Alves <palves@redhat.com>
6031 * gdb.base/execution-termios.c: New file.
6032 * gdb.base/execution-termios.exp: New file.
6034 2014-07-14 Tom Tromey <tromey@redhat.com>
6036 * gdb.cp/vla-cxx.cc: New file.
6037 * gdb.cp/vla-cxx.exp: New file.
6039 2014-07-14 Tom Tromey <tromey@redhat.com>
6041 * gdb.reverse/rerun-prec.c: New file.
6042 * gdb.reverse/rerun-prec.exp: New file.
6044 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6045 Maciej W. Rozycki <macro@codesourcery.com>
6047 * lib/gdb-utils.exp: New file.
6048 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6049 inline `gdb_init_command' processing.
6050 (gdb_start_cmd): Likewise.
6051 * lib/mi-support.exp (mi_run_cmd): Likewise.
6052 * README: Document `gdb_init_command' and `gdb_init_commands'.
6054 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 Fix false FAIL running under a very long directory name.
6057 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6058 and "set print elements 10000". Twice.
6060 2014-07-11 Yao Qi <yao@codesourcery.com>
6062 * gdb.base/exprs.exp: "set print symbol off".
6064 2014-07-11 Pedro Alves <palves@redhat.com>
6066 * gdb.threads/kill.c: New file.
6067 * gdb.threads/kill.exp: New file.
6069 2014-07-10 Yao Qi <yao@codesourcery.com>
6071 * gdb.trace/tfile.c (write_basic_trace_file)
6072 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6073 address written to trace file.
6075 2014-07-09 Pedro Alves <palves@redhat.com>
6077 * gdb.base/attach-wait-input.exp: New file.
6078 * gdb.base/attach-wait-input.c: New file.
6080 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6082 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6083 setting up test structures.
6084 (main): Call new test function.
6085 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6086 test function, continue into test function and walk test
6089 2014-07-02 Yao Qi <yao@codesourcery.com>
6091 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6092 'bar_start' at the beginning of functions 'foo' and 'bar'
6094 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6095 instead of 'foo' and 'bar'.
6097 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6099 * gdb.btrace/segv.exp: New.
6100 * gdb.btrace/segv.c: New.
6102 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6104 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6107 2014-06-30 Mark Wielaard <mjw@redhat.com>
6109 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6110 vulture, vilify, villar): New volatile array constants.
6111 (vindictive, vegetation): New const volatile array constants.
6112 * gdb.base/volatile.exp: Test volatile and const volatile array
6115 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6117 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6118 target lacks support for awatch, rwatch, or hbreak.
6120 2014-06-27 Yao Qi <yao@codesourcery.com>
6122 * gdb.multi/dummy-frame-restore.exp: New.
6123 * gdb.multi/dummy-frame-restore.c: New.
6125 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6127 * gdb.btrace/gcore.exp: New.
6129 2014-06-23 Pedro Alves <palves@redhat.com>
6131 * gdb.base/watchpoint-reuse-slot.c: New file.
6132 * gdb.base/watchpoint-reuse-slot.exp: New file.
6134 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6136 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6137 progspace's filename in 'info', 'enable' and 'disable' command
6140 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6142 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6143 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6144 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6146 2014-06-20 Gary Benson <gbenson@redhat.com>
6148 * gdb.arch/i386-avx.exp: Fix include file location.
6149 * gdb.arch/i386-sse.exp: Likewise.
6151 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6153 * gdb.dlang/expression.exp: New file.
6155 2014-06-19 Pedro Alves <palves@redhat.com>
6157 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6159 (top level): ... here. Iterate running tests under different
6160 scheduler-locking settings.
6162 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6164 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6165 to DW_FORM_addr and use non-zero addresses.
6167 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6170 * gdb.python/py-xmethods.cc: Add global function call counters and
6171 increment them in their respective functions. Remove "cout"
6173 * gdb.python/py-xmethods.exp: Make tests check the global function
6174 call counters instead of depending on inferior IO.
6176 2014-06-18 Don Breazeal <donb@codesourcery.com>
6178 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6180 (explicit_fork_parent_follow): Deleted procedure.
6181 (explicit_fork_child_follow): Deleted procedure.
6182 (test_follow_fork): New procedure.
6183 (do_fork_tests): Replace calls to deleted procedures with
6184 calls to test_follow_fork and reset GDB for subsequent
6187 2014-06-17 Yao Qi <yao@codesourcery.com>
6189 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6192 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6194 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6195 Initialize ptr and S explicitly.
6196 (skip_type_update_when_not_use_rtti_test): Likewise.
6198 2014-06-16 Keith Seitz <keiths@redhat.com>
6201 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6202 the inferior is started.
6204 2014-06-16 Pedro Alves <palves@redhat.com>
6206 * gdb.base/break-main-file-remove-fail.c: New file.
6207 * gdb.base/break-main-file-remove-fail.exp: New file.
6208 * gdb.base/break-unload-file.exp: Use build_executable instead of
6209 prepare_for_testing.
6210 (test_break): New parameter "initial_load". Handle it.
6211 (top level): Add initial_load cmdline/file axis.
6213 2014-06-12 Tom Tromey <tromey@redhat.com>
6215 * gdb.base/completion.exp: Don't use directory name in test.
6217 2014-06-09 Gary Benson <gbenson@redhat.com>
6219 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6220 separate the always-available ANSI-standard signals from the
6221 signals that require checking.
6223 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6227 2014-06-07 Keith Seitz <keiths@redhat.com>
6231 * gdb.cp/var-tag.cc: New file.
6232 * gdb.cp/var-tag.exp: New file.
6233 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6234 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6235 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6236 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6238 2014-06-06 Doug Evans <xdje42@gmail.com>
6240 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6242 2014-06-06 Pedro Alves <palves@redhat.com>
6244 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6245 in target debug output instead of looking at RSP packets,
6246 disabling the test on any target that uses hardware stepping.
6249 2014-06-06 Pedro Alves <palves@redhat.com>
6251 * gdb.base/break-unload-file.exp: Fix typo.
6253 2014-06-06 Yao Qi <yao@codesourcery.com>
6255 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6256 from "jit_function" to "^jit_function".
6258 2014-06-06 Yao Qi <yao@codesourcery.com>
6260 * gdb.base/async.c (foo): Add one statement.
6261 * gdb.base/async.exp: Get the next instruction address and
6262 match the output of "nexti" by instruction address. Match
6263 the hex address in the output of "finish".
6265 2014-06-06 Gary Benson <gbenson@redhat.com>
6267 * gdb.base/call-signals.c: Remove preprocessor conditionals
6268 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6269 SIGSEGV and SIGTERM.
6270 * gdb.base/sigall.c: Likewise.
6271 * gdb.base/unwindonsignal.c: Likewise.
6272 * gdb.reverse/sigall-reverse.c: Likewise.
6274 2014-06-06 Yao Qi <yao@codesourcery.com>
6276 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6277 readable, skip the test.
6279 2014-06-06 Yao Qi <yao@codesourcery.com>
6281 * gdb.threads/staticthreads.c (thread_function): Move the line
6282 setting breakpoint on forward.
6283 * gdb.threads/staticthreads.exp: Update comments.
6285 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6287 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6288 "history-append! type error".
6290 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6292 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6293 erroneous dprintf expected input.
6295 2014-06-04 Doug Evans <xdje42@gmail.com>
6297 * gdb.guile/scm-generics.exp: Delete.
6299 2014-06-04 Doug Evans <xdje42@gmail.com>
6301 * gdb.guile/scm-breakpoint.exp: Update.
6302 Add tests for breakpoint registration.
6304 2014-06-04 Tom Tromey <tromey@redhat.com>
6306 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6308 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6309 inner_vla_struct, vla_union types. Initialize objects of those
6310 types and compute their sizes.
6312 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6313 Hui Zhu <hui@codesourcery.com>
6315 * gdb.base/fileio.exp: Add test for shell not available as well as
6317 * gdb.base/fileio.c (test_system): Check for shell twice.
6319 2014-06-04 Yao Qi <yao@codesourcery.com>
6321 * gdb.base/auto-connect-native-target.exp: Remove redundant
6322 space from the regexp pattern.
6324 2014-06-04 Yao Qi <yao@codesourcery.com>
6326 * gdb.base/default.exp: Replace "child" with "native" in
6329 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6331 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6332 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6333 * gdb.python/py-xmethods.py: Python script supporting the
6334 new testcase and tests.
6336 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6337 Pedro Alves <palves@redhat.com>
6339 PR breakpoints/17000
6340 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6341 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6343 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6345 * gdb.base/subst.exp: Add tests to verify partial path matching
6348 2014-06-03 Pedro Alves <palves@redhat.com>
6350 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6351 target that doesn't use software single-stepping.
6353 2014-06-03 Pedro Alves <palves@redhat.com>
6355 PR breakpoints/17000
6356 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6357 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6359 2014-06-02 Doug Evans <xdje42@gmail.com>
6361 * gdb.guile/scm-parameter.exp: New file.
6363 2014-06-02 Doug Evans <xdje42@gmail.com>
6365 * gdb.guile/scm-cmd.c: New file.
6366 * gdb.guile/scm-cmd.exp: New file.
6368 2014-06-02 Doug Evans <xdje42@gmail.com>
6370 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6371 pretty-printer lookup.
6372 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6373 (make-pp_s-printer): Call it.
6374 (make-pretty-printer-from-dict): New function.
6375 (lookup-pretty-printer-maker-from-dict): New function.
6376 (*pretty-printer*): Simplify.
6377 (make-objfile-pp_s-printer): New function.
6378 (install-objfile-pretty-printers!): New function.
6379 (make-progspace-pp_s-printer): New function.
6380 (install-progspace-pretty-printers!): New function.
6381 * gdb.guile/scm-progspace.c: New file.
6382 * gdb.guile/scm-progspace.exp: New file.
6384 2014-06-02 Pedro Alves <palves@redhat.com>
6386 * gdb.base/dprintf-bp-same-addr.c: New file.
6387 * gdb.base/dprintf-bp-same-addr.exp: New file.
6389 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6391 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6392 * gdb.arch/powerpc-power.s: Likewise.
6394 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6396 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6398 2014-06-01 Yao Qi <yao@codesourcery.com>
6400 * gdb.base/watchpoint.exp (test_watch_location): Check null
6401 pointer can be dereferenced. If not, do the test, otherwise
6404 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6406 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6408 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6410 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6412 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6413 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6414 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6415 * gdb.arch/amd64-invalid-stack-top.c: New file.
6416 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6418 2014-05-30 Pedro Alves <palves@redhat.com>
6420 PR breakpoints/17000
6421 * gdb.base/sss-bp-on-user-bp.c: New file.
6422 * gdb.base/sss-bp-on-user-bp.exp: New file.
6424 2014-05-30 David Blaikie <dblaikie@gmail.com>
6426 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6427 gnu_inline semantics via attribute.
6428 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6429 source explicitly specifies the required semantics.
6431 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6433 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6435 2014-05-29 Pedro Alves <palves@redhat.com>
6436 Tom Tromey <tromey@redhat.com>
6438 * gdb.base/async-shell.exp: Don't enable target-async.
6439 * gdb.base/async.exp
6440 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6442 (top level): Don't test with "target-async".
6443 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6444 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6445 * gdb.base/inferior-died.exp: Don't enable target-async.
6446 * gdb.base/interrupt-noterm.exp: Likewise.
6447 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6448 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6449 * gdb.mi/mi-nonstop.exp: Likewise.
6450 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6451 * gdb.mi/mi-nsintrall.exp: Likewise.
6452 * gdb.mi/mi-nsmoribund.exp: Likewise.
6453 * gdb.mi/mi-nsthrexec.exp: Likewise.
6454 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6455 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6456 * gdb.python/py-evsignal.exp: Don't enable target-async.
6457 * gdb.python/py-evthreads.exp: Likewise.
6458 * gdb.python/py-prompt.exp: Likewise.
6459 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6460 * gdb.server/solib-list.exp: Don't enable target-async.
6461 * gdb.threads/thread-specific-bp.exp: Likewise.
6462 * lib/mi-support.exp: Adjust to use mi-async.
6464 2014-05-29 Pedro Alves <palves@redhat.com>
6467 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6468 reason, even in sync mode.
6470 2014-05-29 Pedro Alves <palves@redhat.com>
6471 Hui Zhu <hui@codesourcery.com>
6474 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6475 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6476 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6477 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6479 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6481 * config/monitor.exp (gdb_target_monitor): Replace use of
6482 "set remotebaud" by "set serial baud".
6484 2014-05-26 Andy Wingo <wingo@igalia.com>
6486 * gdb.guile/scm-breakpoint.exp:
6487 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6488 properties instead of gdb-object-properties.
6490 2014-05-26 Yao Qi <yao@codesourcery.com>
6492 * gdb.server/no-thread-db.exp: Specify source file name
6493 explicitly when setting a breakpoint.
6495 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6497 * gdb.btrace/vdso.c: New.
6498 * gdb.btrace/vdso.exp: New.
6500 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6502 * gdb.base/gcore.exp (capture_command_output): Move ...
6503 * lib/gdb.exp (capture_command_output): ... here.
6505 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6507 * gdb.btrace/data.exp: Test memory access during btrace replay.
6509 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6511 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6513 2014-05-21 Pedro Alves <palves@redhat.com>
6516 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6517 (top level): Test that output related to execution commands is
6518 sent to the console with CLI commands, but not with MI commands.
6519 Test that breakpoint events are always mirrored to the console.
6520 Also expect the new source line to be output after a "next" in
6521 async mode too. Make it a pass/fail test.
6522 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6524 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6526 2014-05-21 Pedro Alves <palves@redhat.com>
6528 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6529 Use them to test variations of "list" after reaching a breakpoint.
6530 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6531 Test "list" with listsize 10 after reaching a breakpoint.
6532 * gdb.python/python.exp (decode_line current location line
6533 number): Adjust expected line number.
6535 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6537 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6538 behavior for $args, pass it directly to "run".
6540 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6542 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6545 2014-05-21 Pedro Alves <palves@redhat.com>
6547 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6548 auto-connect-native-target off".
6549 * gdb.base/auto-connect-native-target.c: New file.
6550 * gdb.base/auto-connect-native-target.exp: New file.
6552 2014-05-21 Pedro Alves <palves@redhat.com>
6554 * gdb.base/default.exp: Test "target native" instead of "target
6557 2014-05-21 Mark Wielaard <mjw@redhat.com>
6559 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6561 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6563 Fix TLS access for -static -pthread.
6564 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6565 <HAVE_TLS> (thread_function, main): Initialize it.
6566 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6568 <$have_tls != "">: Check TLSVAR.
6570 2014-05-21 Pedro Alves <palves@redhat.com>
6572 * gdb.base/dcache-line-read-error.c: New.
6573 * gdb.base/dcache-line-read-error.exp: New.
6575 2014-05-20 Pedro Alves <palves@redhat.com>
6577 * gdb.base/compare-sections.c: New file.
6578 * gdb.base/compare-sections.exp: New file.
6580 2014-05-20 Pedro Alves <palves@redhat.com>
6582 * gdb.base/break-idempotent.c: New file.
6583 * gdb.base/break-idempotent.exp: New file.
6585 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6587 * gdb.btrace/nohist.exp: New.
6589 2014-05-20 Yao Qi <yao@codesourcery.com>
6591 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6592 gdb.reverse directory and gdb_reverse_timeout exists in board
6594 * README: Document gdb_reverse_timeout.
6596 2014-05-20 Yao Qi <yao@codesourcery.com>
6598 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6599 'test_file_name'. Treat args as a string instead of a list.
6600 (gdb_init): Rename argument 'args' by 'test_file_name'.
6602 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6604 * gdb.arch/powerpc-power.exp: New file.
6605 * gdb.arch/powerpc-power.s: New file.
6607 2014-05-16 Doug Evans <dje@google.com>
6609 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6610 * gdb.base/completion.exp: Check that all expected files exist
6611 before doing file completion.
6613 2014-05-16 Doug Evans <dje@google.com>
6615 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6617 (do_syscall_tests_without_xml): Update.
6619 2014-05-16 Pedro Alves <palves@redhat.com>
6621 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6622 instead of "unknown output after running".
6624 2014-05-16 Yao Qi <yao@codesourcery.com>
6626 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6627 file1.txt from host at the end.
6628 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6630 2014-05-15 Doug Evans <dje@google.com>
6632 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6633 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6634 loading file. Add test for TU lookup.
6636 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6638 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6639 calling "-exec-arguments" or "set args" before running the
6642 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6644 * lib/mi-support.exp (mi_expect_stop): Expect message for
6645 inferiors that exit with non-zero exit code.
6647 2014-05-14 Yao Qi <yao@codesourcery.com>
6649 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6650 match absolute path on remote host.
6651 (test_file_list_exec_source_files): Remove "/" from the
6654 2014-05-14 Yao Qi <yao@codesourcery.com>
6656 * boards/local-remote-host-notty.exp (${board}_file): New
6659 2014-05-07 Kyle McMartin <kyle@redhat.com>
6661 Pushed by Joel Brobecker <brobecker@adacore.com>.
6662 * gdb.arch/aarch64-atomic-inst.c: New file.
6663 * gdb.arch/aarch64-atomic-inst.exp: New file.
6665 2014-05-07 Yao Qi <yao@codesourcery.com>
6667 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6668 in current context" too.
6670 2014-05-05 Keith Seitz <keiths@redhat.com>
6672 * gdb.linespec/ls-dollar.exp: Add test for linespec
6673 file:convenience_variable.
6675 2014-05-05 Yao Qi <yao@codesourcery.com>
6677 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6678 traceframes into tfile and ctf trace files. Read data from
6679 trace file and test collected data.
6680 (gdb_collect_locals_test): Likewise.
6681 (gdb_unavailable_registers_test): Likewise.
6682 (gdb_unavailable_floats): Likewise.
6683 (gdb_collect_globals_test): Likewise.
6684 (top-level): Append "ctf" to trace_file_targets if GDB
6687 2014-05-05 Yao Qi <yao@codesourcery.com>
6689 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6691 (gdb_collect_args_test_1): ... it. New proc.
6692 (gdb_collect_locals_test): Move some code to ...
6693 (gdb_collect_locals_test_1): ... it. New proc.
6694 (gdb_unavailable_registers_test): Move some code to ...
6695 (gdb_unavailable_registers_test_1): ... it. New proc.
6696 (gdb_unavailable_floats): Move some code to ...
6697 (gdb_unavailable_floats_1): ... it. New proc.
6699 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6701 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6702 probes to test for bitness recognition.
6703 * gdb.arch/amd64-stap-optional-prefix.exp
6704 (test_probe_value_without_reg): New procedure.
6705 Add code to test for different kinds of bitness.
6707 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6709 PR breakpoints/16889
6710 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6711 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6713 2014-05-01 Pedro Alves <palves@redhat.com>
6715 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6716 gdb_file_cmd if no file is specified.
6717 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6718 last_loaded_file to set the remote exec-file.
6720 2014-05-01 Pedro Alves <palves@redhat.com>
6722 * boards/local-remote-host.exp: New file.
6724 2014-05-01 Pedro Alves <palves@redhat.com>
6726 * boards/local-remote-host.exp: Rename to ...
6727 * boards/local-remote-host-notty.exp: ... this.
6729 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6731 * gdb.ada/dyn_arrayidx: New testcase.
6733 2014-04-26 Yao Qi <yao@codesourcery.com>
6735 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6736 and compute the length of function main. Save it in
6738 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6739 (top-level): Use gdb_compile to compile objects into
6740 executable and restart GDB. Remove invocation to
6741 prepare_for_testing.
6743 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6744 Pedro Alves <palves@redhat.com>
6747 * gdb.multi/multi-attach.c: New file.
6748 * gdb.multi/multi-attach.exp: New file.
6750 2014-04-25 Pedro Alves <palves@redhat.com>
6752 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6754 (top level): Test that "set remote conditional-breakpoints-packet
6755 off" works as intended.
6756 * gdb.base/dprintf.exp: Test that "set remote
6757 breakpoint-commands-packet off" works as intended.
6758 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6760 (top level): Call it.
6761 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6762 remote fast-tracepoints-packet off" works as intended.
6763 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6764 * lib/gdb.exp (gdb_is_target_remote): ... here.
6766 2014-04-24 David Blaikie <dblaikie@gmail.com>
6768 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6769 ensure clang would not discard them.
6770 * gdb.base/gdbvars.c: Ditto.
6771 * gdb.base/memattr.c: Ditto.
6772 * gdb.base/whatis.c: Ditto.
6773 * gdb.python/py-prettyprint.c: Ditto.
6774 * gdb.trace/actions.c: Ditto.
6775 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6776 ensure clang would not discard it.
6778 2014-04-24 David Blaikie <dblaikie@gmail.com>
6780 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6781 clang to emit the full definition of type required by the test
6782 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6784 2014-04-24 David Blaikie <dblaikie@gmail.com>
6786 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6787 coax Clang into emitting the definition of the type.
6788 * gdb.cp/pr10728-x.h (y): Ditto.
6789 * gdb.cp/pr10728-y.cc (y): Ditto.
6791 2014-04-24 David Blaikie <dblaikie@gmail.com>
6793 * gdb.base/label.exp: XFAIL label related tests under Clang.
6794 * gdb.cp/cplabel.exp: Ditto.
6795 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6796 under Clang those using labels.
6798 2014-04-25 Yao Qi <yao@codesourcery.com>
6800 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6802 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6803 partial_label and double_label.
6805 2014-04-24 David Blaikie <dblaikie@gmail.com>
6807 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6809 2014-04-24 David Blaikie <dblaikie@gmail.com>
6811 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6812 of the function to work across GCC and Clang.
6813 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6814 pointer types (const void ** const V void **).
6816 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6817 Walfred Tedeschi <walfred.tedeschi@intel.com>
6819 * Makefile.in (EXECUTABLES): Added i386-avx512.
6820 * gdb.arch/i386-avx512.c: New file.
6821 * gdb.arch/i386-avx512.exp: Likewise.
6823 2014-04-23 Keith Seitz <keiths@redhat.com>
6825 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6826 (mi_make_breakpoint_table): New procedure.
6827 (mi_create_breakpoint): Use mi_make_breakpoint
6828 and return the result.
6829 (mi_make_breakpoint): New procedure.
6830 (mi_build_kv_pairs): New procedure.
6832 * gdb.mi/mi-break.exp: Remove unused globals,
6833 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6834 All callers updated.
6835 * gdb.mi/mi-dprintf.exp: Use variable to track command
6837 Update all callers of mi_create_breakpoint and use
6838 mi_make_breakpoint_table.
6839 Remove any unused global variables.
6840 * gdb.mi/mi-nonstop.exp: Likewise.
6841 * gdb.mi/mi-nsintrall.exp: Likewise.
6842 * gdb.mi/mi-nsmoribund.exp: Likewise.
6843 * gdb.mi/mi-nsthrexec.exp: Likewise.
6844 * gdb.mi/mi-reverse.exp: Likewise.
6845 * gdb.mi/mi-simplerun.exp: Likewise.
6846 * gdb.mi/mi-stepn.exp: Likewise.
6847 * gdb.mi/mi-syn-frame.exp: Likewise.
6848 * gdb.mi/mi-until.exp: Likewise.
6849 * gdb.mi/mi-var-cp.exp: Likewise.
6850 * gdb.mi/mi-var-display.exp: Likewise.
6851 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6852 * gdb.mi/mi2-var-child.exp: Likewise.
6853 * gdb.mi/mi-vla-c99.exp: Likewise.
6854 * lib/mi-support.exp: Likewise.
6856 From Ian Lance Taylor <iant@cygnus.com>:
6857 * lib/gdb.exp (parse_args): New procedure.
6859 2014-04-23 Pedro Alves <palves@redhat.com>
6861 * gdb.base/break-unload-file.c: New file.
6862 * gdb.base/break-unload-file.exp: New file.
6863 * gdb.base/sym-file-lib.c (baz): New function.
6864 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6866 (load): Store the segment's mapped size.
6867 (unload): New function.
6868 (unload_shlib): New function.
6869 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6870 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6871 set a breakpoint at baz, and call it.
6872 * gdb.base/sym-file.exp: New tests for stale breakpoint
6875 2014-04-23 Pedro Alves <palves@redhat.com>
6877 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6878 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6879 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6880 * gdb.base/hbreak-unmapped.c: New file.
6881 * gdb.base/hbreak-unmapped.exp: New file.
6882 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6883 * lib/gdb.exp (gdb_is_target_remote): ... here.
6885 2014-04-22 Pedro Alves <palves@redhat.com>
6887 * gdb.base/consecutive-step-over.c: New file.
6888 * gdb.base/consecutive-step-over.exp: New file.
6890 2014-04-22 Pedro Alves <palves@redhat.com>
6892 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6893 instead of send_gdb/gdb_expect.
6895 2014-04-22 Yao Qi <yao@codesourcery.com>
6897 * lib/trace-support.exp (generate_tracefile): New procedure.
6898 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6900 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6901 if generate_tracefile returns 1.
6903 2014-04-18 Tom Tromey <palves@redhat.com>
6904 Pedro alves <tromey@redhat.com>
6907 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6908 with a backtrace limit.
6909 * gdb.python/py-frame-inline.exp: Test running to an inline
6910 function with a backtrace limit, and printing the newest frame.
6911 * gdb.python/py-frame-inline.c (main): Call f.
6913 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6915 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6917 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6919 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6920 Drop prefix from unsupported source file path.
6922 2014-04-17 Yao Qi <yao@codesourcery.com>
6924 * lib/gdb.exp (with_target_charset): New proc.
6925 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6926 with_target_charset.
6927 (test_print_strings): Likewise.
6928 (test_repeat_bytes): Likewise.
6929 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6932 2014-04-16 Keith Seitz <keiths@redhat.com>
6935 * gdb.dwarf2/corrupt.c: New file.
6936 * gdb.dwarf2/corrupt.exp: New file.
6938 2014-04-16 Keith Seitz <keiths@redhat.com>
6941 * gdb.cp/namelessclass.cc: New file.
6942 * gdb.cp/namelessclass.exp: New file.
6943 * gdb.cp/namelessclass.S: New file.
6945 2014-04-16 Doug Evans <dje@google.com>
6947 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6949 (gdbserver_default_get_comm_port): New function.
6950 (gdbserver_start): Check if board file provided
6951 "gdbserver,get_comm_port" and use it if so.
6952 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6953 (gdb,socketport): Set to "stdio".
6954 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6955 (stdio_gdbserver_template): Delete.
6956 (${board}_get_remote_address): Update.
6957 (${board}_build_remote_cmd): Delete.
6958 (${board}_get_comm_port): New function.
6959 (${board}_spawn): Update.
6960 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6962 (${board}_get_remote_address): Update.
6963 (${board}_get_comm_port): New function.
6965 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6967 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6968 appearing in any order.
6970 2014-04-15 Doug Evans <dje@google.com>
6972 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6973 uninitialized value of "description".
6975 2014-04-15 Keith Seitz <keiths@redhat.com>
6977 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6978 Remove unused globals.
6979 (test_running_the_program): Likewise.
6980 (test_controlled_execution): Likewise.
6981 (test_controlling_breakpoints): Likewise.
6982 (test_program_termination): Likewise.
6984 2014-04-15 Keith Seitz <keiths@redhat.com>
6986 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6988 (test_rbreak_creation_and_listing): Likewise.
6989 (test_ignore_count): Likewise.
6990 (test_error): Likewise.
6992 2014-04-15 Pedro Alves <palves@redhat.com>
6994 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6995 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6997 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6998 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6999 to sym-file-loader.c.
7000 (struct library): Forward declare.
7001 (load_shlib, lookup_function): Change prototypes.
7002 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7003 (translate_offset): Remove declarations.
7004 (get_text_addr): New declaration.
7005 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7006 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7008 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7009 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7010 here from sym-file-loader.h.
7011 (struct library): New structure.
7012 (load_shlib, lookup_function): Change prototypes and adjust to
7013 work with a struct library.
7014 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7015 (translate_offset): Make static.
7016 (get_text_addr): New function.
7017 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7019 2014-04-15 Pedro Alves <palves@redhat.com>
7021 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7023 2014-04-15 Pedro Alves <palves@redhat.com>
7025 * gdb.base/sym-file-loader.c: Include <limits.h>.
7026 (SELF_LINK): New define.
7027 (get_origin): New function.
7028 (load_shlib): Use it.
7029 * gdb.base/sym-file.exp: Don't early return if the target is
7030 remote. Use runto_main, and issue fail is that fails. Use
7032 (shlib_name): Delete.
7033 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7035 2014-04-15 Pedro Alves <palves@redhat.com>
7037 * gdb.base/sym-file.exp: Remove regex characters from test
7038 message. Don't refer to breakpoint numbers in test messages.
7040 2014-04-14 Keith Seitz <keiths@redhat.com>
7043 * gdb.cp/var-tag.cc: New file.
7044 * gdb.cp/var-tag.exp: New file.
7045 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7046 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7047 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7048 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7050 2014-04-14 Tom Tromey <tromey@redhat.com>
7052 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7053 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7055 * gdb.cp/enum-class.exp: New file.
7056 * gdb.cp/enum-class.cc: New file.
7058 2014-04-14 Tom Tromey <tromey@redhat.com>
7060 * gdb.dwarf2/enum-type.exp: New file.
7062 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7064 * gdb.mi/mi-vla-c99.exp: New file.
7065 * gdb.mi/vla.c: New file.
7067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7069 * gdb.base/vla-datatypes.c: New file.
7070 * gdb.base/vla-datatypes.exp: New file.
7072 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7074 * gdb.base/vla-ptr.c: New file.
7075 * gdb.base/vla-ptr.exp: New file.
7077 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7079 * gdb.dwarf2/count.exp: New file.
7081 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7083 * gdb.base/vla-sideeffect.c: New file.
7084 * gdb.base/vla-sideeffect.exp: New file.
7086 2014-04-14 David Blaikie <dblaikie@gmail.com>
7088 * gdb.mi/non-stop.c: Add return value for non-void function return
7090 * gdb.threads/staticthreads.c: Ditto.
7092 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7093 Doug Evans <xdje42@gmail.com>
7095 * gdb.guile/scm-value.c: Improve test case.
7096 * gdb.guile/scm-value.exp: Add new test.
7098 2014-04-11 David Blaikie <dblaikie@gmail.com>
7100 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7101 override Clang's default.
7103 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7105 Revert the following changes (regressions):
7107 * gdb.base/vla-sideeffect.c: New file.
7108 * gdb.base/vla-sideeffect.exp: New file.
7110 * gdb.dwarf2/count.exp: New file.
7112 * gdb.base/vla-multi.c: New file.
7113 * gdb.base/vla-multi.exp: New file.
7115 * gdb.base/vla-ptr.c: New file.
7116 * gdb.base/vla-ptr.exp: New file.
7118 * gdb.base/vla-datatypes.c: New file.
7119 * gdb.base/vla-datatypes.exp: New file.
7121 * gdb.mi/mi-vla-c99.exp: New file.
7122 * gdb.mi/vla.c: New file.
7124 2014-04-11 Keith Seitz <keiths@redhat.com>
7127 * gdb.cp/cpsizeof.exp: New file.
7128 * gdb.cp/cpsizeof.cc: New file.
7130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7132 * gdb.mi/mi-vla-c99.exp: New file.
7133 * gdb.mi/vla.c: New file.
7135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7137 * gdb.base/vla-datatypes.c: New file.
7138 * gdb.base/vla-datatypes.exp: New file.
7140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7142 * gdb.base/vla-ptr.c: New file.
7143 * gdb.base/vla-ptr.exp: New file.
7145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7147 * gdb.base/vla-multi.c: New file.
7148 * gdb.base/vla-multi.exp: New file.
7150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7152 * gdb.dwarf2/count.exp: New file.
7154 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7156 * gdb.base/vla-sideeffect.c: New file.
7157 * gdb.base/vla-sideeffect.exp: New file.
7159 2014-04-11 Yao Qi <yao@codesourcery.com>
7161 * gdb.base/completion.exp: Check file exists before running tests
7164 2014-04-10 Pedro Alves <palves@redhat.com>
7166 * gdb.base/cond-eval-mode.c: New file.
7167 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7168 prepare_for_testing to build the new file. Check result of
7170 (test_break, test_watch): New procedures.
7171 (top level): Use them.
7173 2014-04-08 Pierre Muller <muller@sourceware.org>
7175 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7176 Ctrl-V use for mingw hosts.
7178 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7180 * gdb.python/py-value.c: Improve test case.
7181 * gdb.python/py-value.exp: Add new test.
7183 2014-04-07 David Blaikie <dblaikie@gmail.com>
7185 * lib/compiler.c: Identify the clang compiler.
7186 * lib/compiler.cc: Ditto.
7188 2014-04-03 Yao Qi <yao@codesourcery.com>
7190 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7192 2014-04-01 Anton Blanchard <anton@samba.org>
7194 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7197 2014-04-01 Anton Blanchard <anton@samba.org>
7199 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7200 prepare_for_testing.
7202 2014-04-01 Anton Blanchard <anton@samba.org>
7204 * gdb.arch/ppc64-atomic-inst.c: Remove.
7205 * gdb.arch/ppc64-atomic-inst.S: New file.
7206 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7208 2014-03-31 Doug Evans <dje@google.com>
7210 * gdb.base/print-symbol-loading-lib.c: New file.
7211 * gdb.base/print-symbol-loading-main.c: New file.
7212 * gdb.base/print-symbol-loading.exp: New file.
7214 2014-03-31 Yao Qi <yao@codesourcery.com>
7216 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7218 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7220 * gdb.ada/mi_dyn_arr: New testcase.
7222 2014-03-27 Doug Evans <dje@google.com>
7224 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7226 2014-03-27 Yao Qi <yao@codesourcery.com>
7228 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7229 if target is nios2-*-*.
7231 2014-03-26 Yao Qi <yao@codesourcery.com>
7233 * lib/gdb.exp (readline_is_used): New proc.
7234 * gdb.base/completion.exp: Move tests on command complete up.
7235 Skip the rest of tests if readline is not used.
7236 * gdb.ada/complete.exp: Skp the test if readline is not
7238 * gdb.base/filesym.exp: Likewise.
7239 * gdb.base/macscp.exp: Likewise.
7240 * gdb.base/readline-ask.exp: Likewise.
7241 * gdb.base/readline.exp: Likewise.
7242 * gdb.python/py-cmd.exp: Likewise.
7243 * gdb.trace/tfile.exp: Likewise.
7245 2014-03-26 Yao Qi <yao@codesourcery.com>
7247 * gdb.base/macscp.exp: Fix code format issues.
7249 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7251 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7252 * gdb.asm/powerpc64le.inc: New file.
7254 2014-03-25 Pedro Alves <palves@redhat.com>
7255 Doug Evans <dje@google.com>
7257 * gdb.base/source-execution.c: New file.
7258 * gdb.base/source-execution.exp: New file.
7259 * gdb.base/source-execution.gdb: New file.
7261 2014-03-24 Doug Evans <dje@google.com>
7263 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7266 2014-03-24 Hui Zhu <hui@codesourcery.com>
7267 Pedro Alves <palves@redhat.com>
7269 PR breakpoints/16101
7270 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7271 test pass/fail messages. Detect missing support for dprintf when
7272 breakpoints are actually inserted.
7273 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7274 breakpoints are actually inserted.
7275 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7278 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7280 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7282 2014-03-22 Doug Evans <xdje42@gmail.com>
7284 * gdb.python/python.exp (python not supported): Verify multi-line
7285 python command issues an error.
7286 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7287 guile command issues an error.
7289 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7291 * gdb.threads/thread-specific.exp: Handle the lack of usable
7292 $this_breakpoint and $this_thread.
7294 2014-03-21 Hui Zhu <hui@codesourcery.com>
7296 * gdb.base/attach.exp (do_command_attach_tests): New.
7298 2014-03-20 Tom Tromey <tromey@redhat.com>
7299 Pedro Alves <palves@redhat.com>
7302 * gdb.base/condbreak-call-false.c: New file.
7303 * gdb.base/condbreak-call-false.exp: New file.
7305 2014-03-20 Pedro Alves <palves@redhat.com>
7307 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7309 (block_signals, unblock_signals): Delete.
7310 (child_function_2, main): Remove references to deleted variable
7313 2014-03-20 Pedro Alves <palves@redhat.com>
7315 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7316 Use pthread_kill to signal thread 2.
7317 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7318 Adjust to make the test send itself a signal rather than using the
7319 host's "kill" command.
7321 2014-03-20 Pedro Alves <palves@redhat.com>
7323 * gdb.threads/multiple-step-overs.c: New file.
7324 * gdb.threads/multiple-step-overs.exp: New file.
7325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7326 Adjust expected infrun debug output.
7328 2014-03-20 Pedro Alves <palves@redhat.com>
7330 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7331 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7333 2014-03-20 Pedro Alves <palves@redhat.com>
7336 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7337 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7338 of gdb_test_multiple.
7339 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7340 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7342 2014-03-20 Pedro Alves <palves@redhat.com>
7344 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7345 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7347 2014-03-19 Pedro Alves <palves@redhat.com>
7349 * gdb.base/async.exp: Remove early return.
7351 2014-03-19 Pedro Alves <palves@redhat.com>
7353 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7355 2014-03-19 Pedro Alves <palves@redhat.com>
7357 * gdb.base/async.exp (test_background): Expect \r\n after
7358 "completed." in the fail pattern.
7360 2014-03-19 Pedro Alves <palves@redhat.com>
7362 * gdb.base/async.exp (test_background): New procedure.
7363 Use it for all background execution command tests.
7365 2014-03-19 Pedro Alves <palves@redhat.com>
7367 * gdb.base/async.exp: Use prepare_for_testing.
7369 2014-03-19 Pedro Alves <palves@redhat.com>
7371 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7374 2014-03-19 Pedro Alves <palves@redhat.com>
7376 * gdb.base/async.c (main): Add "jump here" and "until here" line
7378 * gdb.base/async.exp (jump_here): New global.
7379 (jump& test): Use it.
7380 (until_here): New global.
7381 (until& test): Use it.
7383 2014-03-19 Pedro Alves <palves@redhat.com>
7385 * gdb.base/async.exp: Don't frob gdb_protocol.
7387 2014-03-18 Doug Evans <xdje42@gmail.com>
7389 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7390 Fix spelling of exec-done-display.
7392 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7395 * gdb.base/gdb-sigterm.c: New file.
7396 * gdb.base/gdb-sigterm.exp: New file.
7398 2014-03-18 Pedro Alves <palves@redhat.com>
7401 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7402 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7405 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7407 * gdb.ada/pckd_arr_ren: New testcase.
7409 2014-03-13 Doug Evans <xdje42@gmail.com>
7412 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7413 collect after discarding symbols.
7415 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7416 Doug Evans <xdje42@gmail.com>
7418 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7419 to history survives a gc.
7421 2014-03-13 Pedro Alves <palves@redhat.com>
7423 * gdb.base/default.exp: Don't test "target procfs".
7425 2014-03-13 Pedro Alves <palves@redhat.com>
7427 * gdb.base/default.exp: Update "target child" and "target procfs"
7428 tests to not expect "Unix".
7430 2014-03-12 Tom Tromey <tromey@redhat.com>
7432 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7433 New procs. Add target-async tests.
7434 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7435 Add target-async tests.
7437 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7439 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7440 'func_start' and 'func_end' for the beginning and end of the
7441 function code, respectively.
7442 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7443 'func_end' instead of 'func' and 'main'.
7445 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7447 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7448 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7449 generate the debug info assembler source.
7451 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7453 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7454 * gdb.dwarf2/arr-subrange.exp: Likewise.
7455 * gdb.dwarf2/dwz.exp: Likewise.
7456 * gdb.dwarf2/method-ptr.exp: Likewise.
7457 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7458 * gdb.dwarf2/subrange.exp: Likewise.
7459 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7460 * gdb.dwarf2/implptrpiece.exp: Likewise.
7461 * gdb.dwarf2/nostaticblock.exp: Likewise.
7463 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7465 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7466 directory to absolute path name arguments.
7468 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7470 * gdb.ada/tagged_access: New testcase.
7472 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7474 * gdb.btrace/data.exp: Update expected output.
7476 2014-03-06 Yao Qi <yao@codesourcery.com>
7478 * gdb.trace/pr16508.exp: New file.
7480 2014-03-05 Pedro Alves <palves@redhat.com>
7483 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7485 (top level): Adjust to use it. Add tests that exercise breakpoint
7486 interaction with the code-cache.
7488 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7490 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7491 test for 'history-append!'.
7493 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7495 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7496 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7497 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7498 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7499 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7500 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7502 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7504 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7505 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7506 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7508 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7510 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7512 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7514 * gdb.dwarf2/arr-stride.c: New file.
7515 * gdb.dwarf2/arr-stride.exp: New file.
7517 2014-02-26 Pedro Alves <palves@redhat.com>
7519 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7520 that won't ever trigger. Make sure that GDB reports the correct
7521 breakpoint that caused the stop.
7523 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7526 * gdb.base/auto-load-script: New file.
7527 * gdb.base/auto-load.c: New file.
7528 * gdb.base/auto-load.exp: New file.
7531 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7533 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7535 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7536 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7538 2014-02-24 Doug Evans <dje@google.com>
7540 * lib/gdb.exp (run_on_host): Log error output if program fails.
7542 2014-02-21 Pedro Alves <palves@redhat.com>
7544 * gdb.threads/step-after-sr-lock.c: Rename to ...
7545 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7546 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7547 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7550 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7553 * gdb.arch/amd64-stap-special-operands.exp: New file.
7554 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7555 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7556 * gdb.arch/amd64-stap-triplet.S: Likewise.
7557 * gdb.arch/amd64-stap-triplet.c: Likewise.
7559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7561 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7562 in .section pseudo-op.
7564 2014-02-20 lin zuojian <manjian2006@gmail.com>
7565 Joel Brobecker <brobecker@adacore.com>
7566 Doug Evans <xdje42@gmail.com>
7569 * gdb.dwarf2/dw2-icycle.S: New file.
7570 * gdb.dwarf2/dw2-icycle.c: New file.
7571 * gdb.dwarf2/dw2-icycle.exp: New file.
7573 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7575 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7576 operations on gdb.Value objects.
7577 * gdb.python/py-value-cc.exp: Add new test to test operations on
7580 2014-02-18 Doug Evans <dje@google.com>
7582 * Makefile.in (TESTS): New variable.
7583 (expanded_tests, expanded_tests_or_none): New variables
7584 (check-single): Pass $(expanded_tests_or_none) to runtest.
7585 (check-parallel): Only run tests in $(TESTS) if non-empty.
7586 (check/no-matching-tests-found): New rule.
7587 * README: Document TESTS makefile variable.
7589 2014-02-18 Doug Evans <dje@google.com>
7591 * Makefile.in (check-parallel): rm -rf outputs temp.
7593 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7595 Fix "ERROR: no fileid for" in the testsuite.
7596 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7598 2014-02-12 Doug Evans <dje@google.com>
7600 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7601 (MISCELLANEOUS): New variable.
7602 (clean): rm -rf $(MISCELLANEOUS).
7603 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7604 dwp live in the same directory as symlinks, with each symlink pointed
7605 to a differently named file in a different directory.
7607 2014-02-11 Doug Evans <dje@google.com>
7609 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7610 of Tcl file commands.
7612 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7614 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7617 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7619 * gdb.ada/tick_length_array_enum_idx: New testcase.
7621 2014-02-10 Doug Evans <xdje42@gmail.com>
7623 * configure.ac (AC_OUTPUT): Add gdb.guile.
7624 * configure: Regenerate.
7625 * lib/gdb-guile.exp: New file.
7626 * lib/gdb.exp (get_target_charset): New function.
7627 * gdb.base/help.exp: Update expected output from "apropos apropos".
7628 * gdb.guile/Makefile.in: New file.
7629 * gdb.guile/guile.exp: New file.
7630 * gdb.guile/scm-arch.c: New file.
7631 * gdb.guile/scm-arch.exp: New file.
7632 * gdb.guile/scm-block.c: New file.
7633 * gdb.guile/scm-block.exp: New file.
7634 * gdb.guile/scm-breakpoint.c: New file.
7635 * gdb.guile/scm-breakpoint.exp: New file.
7636 * gdb.guile/scm-disasm.c: New file.
7637 * gdb.guile/scm-disasm.exp: New file.
7638 * gdb.guile/scm-equal.c: New file.
7639 * gdb.guile/scm-equal.exp: New file.
7640 * gdb.guile/scm-error.exp: New file.
7641 * gdb.guile/scm-error.scm: New file.
7642 * gdb.guile/scm-frame-args.c: New file.
7643 * gdb.guile/scm-frame-args.exp: New file.
7644 * gdb.guile/scm-frame-args.scm: New file.
7645 * gdb.guile/scm-frame-inline.c: New file.
7646 * gdb.guile/scm-frame-inline.exp: New file.
7647 * gdb.guile/scm-frame.c: New file.
7648 * gdb.guile/scm-frame.exp: New file.
7649 * gdb.guile/scm-generics.exp: New file.
7650 * gdb.guile/scm-gsmob.exp: New file.
7651 * gdb.guile/scm-iterator.c: New file.
7652 * gdb.guile/scm-iterator.exp: New file.
7653 * gdb.guile/scm-math.c: New file.
7654 * gdb.guile/scm-math.exp: New file.
7655 * gdb.guile/scm-objfile-script-gdb.in: New file.
7656 * gdb.guile/scm-objfile-script.c: New file.
7657 * gdb.guile/scm-objfile-script.exp: New file.
7658 * gdb.guile/scm-objfile.c: New file.
7659 * gdb.guile/scm-objfile.exp: New file.
7660 * gdb.guile/scm-ports.exp: New file.
7661 * gdb.guile/scm-pretty-print.c: New file.
7662 * gdb.guile/scm-pretty-print.exp: New file.
7663 * gdb.guile/scm-pretty-print.scm: New file.
7664 * gdb.guile/scm-section-script.c: New file.
7665 * gdb.guile/scm-section-script.exp: New file.
7666 * gdb.guile/scm-section-script.scm: New file.
7667 * gdb.guile/scm-symbol.c: New file.
7668 * gdb.guile/scm-symbol.exp: New file.
7669 * gdb.guile/scm-symtab-2.c: New file.
7670 * gdb.guile/scm-symtab.c: New file.
7671 * gdb.guile/scm-symtab.exp: New file.
7672 * gdb.guile/scm-type.c: New file.
7673 * gdb.guile/scm-type.exp: New file.
7674 * gdb.guile/scm-value-cc.cc: New file.
7675 * gdb.guile/scm-value-cc.exp: New file.
7676 * gdb.guile/scm-value.c: New file.
7677 * gdb.guile/scm-value.exp: New file.
7678 * gdb.guile/source2.scm: New file.
7679 * gdb.guile/types-module.cc: New file.
7680 * gdb.guile/types-module.exp: New file.
7682 2014-02-10 Yao Qi <yao@codesourcery.com>
7685 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7686 * configure: Regenerated.
7687 * Makefile.in: New file.
7689 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7691 * gdb.python/py-framefilter.exp: Fix typo.
7693 2014-02-08 Yao Qi <yao@codesourcery.com>
7695 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7696 that no =breakpoint-modified is emitted when breakpoints are
7697 modified through MI commands.
7699 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7700 Pedro Alves <palves@redhat.com>
7702 * gdb.threads/step-after-sr-lock.c: New file.
7703 * gdb.threads/step-after-sr-lock.exp: New file.
7705 2014-02-07 Pedro Alves <palves@redhat.com>
7707 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7709 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7711 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7712 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7714 2014-02-06 Doug Evans <xdje42@gmail.com>
7716 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7719 * gdb.gdb/python-interrupts.exp: New file.
7721 2014-02-05 Yao Qi <yao@codesourcery.com>
7723 * gdb.trace/report.exp (use_collected_data): Test the output
7724 of "info threads" and "info inferiors".
7726 2014-02-05 Yao Qi <yao@codesourcery.com>
7730 2013-05-24 Yao Qi <yao@codesourcery.com>
7732 * gdb.trace/tfile.exp: Test inferior and thread.
7734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7736 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7738 * gdb.base/step-bt.c: Call hello via function pointer to make
7739 sure its first instruction is executed on powerpc64le-linux.
7741 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7743 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7745 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7747 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7748 of the test patterns for use on little-endian systems.
7750 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7752 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7753 (decimal_vector): Fix for little-endian.
7755 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7757 * gdb.arch/sparc-sysstep.exp: New file.
7758 * gdb.arch/sparc-sysstep.c: Likewise.
7760 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7762 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7764 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7766 2014-01-23 Tom Tromey <tromey@redhat.com>
7768 * gdb.ada/array_char_idx: New testcase.
7770 2014-01-23 Tom Tromey <tromey@redhat.com>
7773 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7774 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7777 2014-01-23 Tom Tromey <tromey@redhat.com>
7780 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7781 string from an inferior frame.
7782 * gdb.python/py-framefilter-mi.exp: Update.
7784 2014-01-22 Doug Evans <dje@google.com>
7786 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7790 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7792 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7794 * gdb.trace/entry-values.exp: Remove excess space character from
7795 regex patterns. Handle s390 call instruction.
7797 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7799 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7800 define "*_start" label. Make "name" static.
7801 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7802 ${name} by references to ${name}_start.
7804 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7806 * gdb.base/info-macros.exp: Remove "debug" from the compile
7809 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7811 * gdb.dlang/demangle.exp: New file.
7813 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7815 * gdb.dlang/primitive-types.exp: New file.
7817 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7819 * configure.ac: Create gdb.dlang/Makefile.
7820 * configure: Regenerate.
7821 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7822 * gdb.dlang/Makefile.in: New file.
7823 * lib/d-support.exp: New file.
7824 * lib/gdb.exp (skip_d_tests): New proc.
7826 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7828 * gdb.btrace/delta.exp: Check reverse stepi.
7829 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7830 * gdb.btrace/finish.exp: New.
7831 * gdb.btrace/next.exp: New.
7832 * gdb.btrace/nexti.exp: New.
7833 * gdb.btrace/record_goto.c: Add comments.
7834 * gdb.btrace/step.exp: New.
7835 * gdb.btrace/stepi.exp: New.
7836 * gdb.btrace/multi-thread-step.c: New.
7837 * gdb.btrace/multi-thread-step.exp: New.
7838 * gdb.btrace/rn-dl-bind.c: New.
7839 * gdb.btrace/rn-dl-bind.exp: New.
7840 * gdb.btrace/data.c: New.
7841 * gdb.btrace/data.exp: New.
7842 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7846 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7847 * gdb.btrace/exception.exp: Update.
7848 * gdb.btrace/instruction_history.exp: Update.
7849 * gdb.btrace/record_goto.exp: Update.
7850 * gdb.btrace/tailcall.exp: Update.
7851 * gdb.btrace/unknown_functions.exp: Update.
7852 * gdb.btrace/delta.exp: New.
7854 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7856 * gdb.btrace/record_goto.exp: Add backtrace test.
7857 * gdb.btrace/tailcall.exp: Add backtrace test.
7859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7861 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7862 * gdb.btrace/record_goto.c: New.
7863 * gdb.btrace/record_goto.exp: New.
7864 * gdb.btrace/x86-record_goto.S: New.
7866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7868 * gdb.btrace/function_call_history.exp: Update tests.
7869 * gdb.btrace/instruction_history.exp: Update tests.
7871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7873 * gdb.btrace/function_call_history.exp: Fix expected field
7874 order for "record function-call-history".
7875 Add new tests for "record function-call-history /c".
7876 * gdb.btrace/exception.cc: New.
7877 * gdb.btrace/exception.exp: New.
7878 * gdb.btrace/tailcall.exp: New.
7879 * gdb.btrace/x86-tailcall.S: New.
7880 * gdb.btrace/x86-tailcall.c: New.
7881 * gdb.btrace/unknown_functions.c: New.
7882 * gdb.btrace/unknown_functions.exp: New.
7883 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7885 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7887 * gdb.btrace/instruction_history.exp: Update.
7888 * gdb.btrace/function_call_history.exp: Update.
7890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7892 * gdb.btrace/function_call_history.exp: Fix expected function
7894 * gdb.btrace/instruction_history.exp: Initialize traced.
7895 Remove traced_functions.
7897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7899 * gdb.btrace/function_call_history.exp: Update
7900 * gdb.btrace/instruction_history.exp: Update.
7902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7904 * gdb.btrace/enable.exp: Update expected text.
7906 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7908 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7911 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7913 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7915 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7917 * lib/gdb.exp (supports_process_record): Return true for
7918 arm*-linux*. (supports_reverse): Likewise.
7920 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7924 * gdb.python/py-type.c: Enhance test case.
7925 * gdb.python/py-value-cc.cc: Likewise
7926 * gdb.python/py-type.exp: Add new tests.
7927 * gdb.python/py-value-cc.exp: Likewise
7929 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7930 Pedro Alves <palves@redhat.com>
7932 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7934 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7935 references to ${name}_start by references to ${name}.
7937 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7939 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7941 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7943 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7945 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7946 Pedro Alves <palves@redhat.com>
7948 * gdb.mi/mi-info-os.exp: Connect to the target with
7951 2014-01-08 Pedro Alves <palves@redhat.com>
7953 * gdb.threads/reconnect-signal.c: New file.
7954 * gdb.threads/reconnect-signal.exp: New file.
7956 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7958 * gdb.base/source-dir.exp: New file.
7960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7962 * gdb.ada/mi_interface: New testcase.
7964 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7966 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7967 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7968 gdb.ada/pp-rec-component/pck.ads: New files.
7970 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7972 * gdb.python/py-pp-integral.c: New file.
7973 * gdb.python/py-pp-integral.py: New file.
7974 * gdb.python/py-pp-integral.exp: New file.
7976 For older changes see ChangeLog-1993-2013.
7982 ;; version-control: never
7985 Copyright 2014-2016 Free Software Foundation, Inc.
7986 Copying and distribution of this file, with or without modification,
7987 are permitted provided the copyright notice and this notice are preserved.